Code language
Component architecture
Article input and parallel checking¶
Input reading and parallel proof verification are cleanly separated:
- Article input (
judgment_store).ArticleInputandSeekableArticleInputstream OpenTheory article text under explicitArticleLimits(bytes, line length, stack/dictionary bounds) andBudgetcharges, andArticleexposes checked import and export over aSession(ST6). - Parallel proof checking (
judgment_core+termbank.dag). Instead of parallelizing file reads around a single mutable kernel, article and library loading builds immutabletermbank.dagrow tables and checks disjoint row chunks concurrently across workers viacheck_dag_chunkagainst one shared read-onlyDagCheckViewand per-workerScratch(KC1.12, ST9). Concurrency never alters proof semantics, deduplication, or published library bytes (G1).