Status: release-bounded public specification repository, rewritten on 2026-07-01.
legal-math-modeling is the mathematical companion and specification boundary for selected legal-reasoning structures. It is not a runtime certificate for a complete deployed system.
The public boundary covers:
- 11 canonical legal types: LegalFact, LegalRule, LegalNorm, LegalClaim, Argument, Attack, Priority, Violation, Reparation, DecisionStatus, ProofTrace.
- 4 DDL modalities: OBLIGATION, PROHIBITION, PERMISSION, CONSTITUTIVE.
- 4 slices: contract breach, license, permission, priority.
- A minimal DDL core, a task-bounded Horn-to-AAF translation witness, and a content-bound certificate/checker v2 boundary.
- Lean source inventory under
proofs/lean/juris_lean/JurisLean/.
The generated source inventory currently records 33 Lean files and 141 theorem declarations. These counts are source facts, not a current-head release certificate; only a verified CI FormalReleaseCertificate can establish the release gate for its named commit.
Formal claims require Lean source plus current build evidence. Engineering claims require tests or certificate-checker evidence. Narrative papers and generated reports are explanatory only. Unknown, skipped, timed-out, unavailable, or stale evidence is fail-closed.
The 2026-07-03 juris-calculus absorption of transferable LSC ideas is a runtime-boundary event, not a new Lean theorem family. The transferable ideas are limited to fact trust envelopes, downgrade states for user-assumed/disputed/unknown inputs, auxiliary or conflict certificate states, provenance fields such as used fact keys, rule ids, source snapshots, derived taint, renderer/output firewalls, cross-module IO declarations, conflict certificates, review packets, and boundary tests.
These items are engineering metadata and disclosure controls. They do not add a twelfth canonical legal type, do not extend the four public slices, and do not change DecisionStatus, verified-fact gates, Horn closure, attack/exception/priority/permission semantics, certificate checker acceptance, or any formal proof claim. If a downstream runtime change needs any of those semantic changes, the change must return to this repository first.
docs/formal-release/FORMAL_RELEASE_REPORT.mddocs/formal-release/theorem_manifest.jsondocs/spec/canonical_legal_schema.mddocs/spec/ddl_minimal_core.mddocs/spec/horn_to_aaf_contract.mddocs/spec/certificate_checker_boundary.mddocs/disclosure/PUBLIC_PRIVATE_BOUNDARY.mdpaper/README.md
docs/ rewritten public documentation and manifests
paper/ rewritten papers and LaTeX sources
proofs/ Lean and engineering proof artifacts
runtime/ machine runtime fixtures; not prose documentation
scripts/ helper scripts
tests/ Python tests
theory/ Python theory/spec modules
verification/ verification helpers
reports/ archived generated analysis reports
The public repository keeps the auditable specification kernel and public explanatory material. Customer data, commercial rule libraries, lawyer workflows, litigation strategy, and private benchmarks stay out of the public repository by default.
python -m pytest -q
python scripts/scan_lean_guards.py proofs/lean/juris_lean/JurisLean
cd proofs/lean/juris_lean && lake buildRun commands on the relevant commit before making release claims.
External runtime agreement is a separate gate. It requires an independently checked
RuntimeRefinementReceipt; the LMM formal release certificate cannot substitute for it.