Component architecture

Article input and parallel checking

Input reading and parallel proof verification are cleanly separated:

  • Article input (judgment_store). ArticleInput and SeekableArticleInput stream OpenTheory article text under explicit ArticleLimits (bytes, line length, stack/dictionary bounds) and Budget charges, and Article exposes checked import and export over a Session (ST6).
  • Parallel proof checking (judgment_core + termbank.dag). Instead of parallelizing file reads around a single mutable kernel, article and library loading builds immutable termbank.dag row tables and checks disjoint row chunks concurrently across workers via check_dag_chunk against one shared read-only DagCheckView and per-worker Scratch (KC1.12, ST9). Concurrency never alters proof semantics, deduplication, or published library bytes (G1).
judgment v1.0.0 for Mojo 1.2 · Apache License 2.0 with LLVM Exceptions · Source on GitHub