Repository navigation
G-cert: Lean-checked certificates for the geo-bound network enumeration - #133
Merged
Merged
Conversation
The geo_bound.rs enumerator's minimum (levers + class-network cost) rested on an argument that the enumeration is complete. This replaces the argument with a certificate tree that Rust emits and a Lean checker with a soundness theorem, without SAT, so the class-network lower bound becomes a Lean result relative to the checked certificate. - Domain/GeoCert.lean: geo-cert/1 trees over node and lever-attachment atoms, obligations computed from the instance (ranked, unranked, single-torch, lever exclusivity), checkCert with check_sound/check_bound, checkCertFast proved equal (checkCertFast_eq, checkFast_sound). - Domain/GeoCertBound.lean: physics -> projection -> certificate chain (phys_cert_bound, phi_cert_bound_default). - Domain/GeoCertExamples.lean: A-tier bounds (not/nor2/or2/and2/nand2, both modes) checked by kernel decide; generated by tools/geo_cert/to_lean.py. - GeoCertCheck.lean (lake exe geo-cert-check), exact/geo_cert.rs emitter and the A-tier test against the enumerator. - XOR2 2x6x4 default-Phi bound 15: 20.9M-node certificate (702 MB) VERIFIED in 390 s by the compiled checker (measured, docs 11.4). - Audit guards for all new theorems; docs/geometric_network_bound.md 11절. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in the G5 xor_tight5r option; the geo_cert test's Options literal gets the new field and the import/Audit lists keep both sides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rollrat
added a commit
that referenced
this pull request
Dec 6, 2026
…t doc section Intent: geo_cert.rs (#133) constructs geo_bound Options without G5b's new fields; the G-cert section collided with G4's number 11 and becomes 14. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turns the class-network enumerator's completeness from argued into checked, for the cases with certificates.
Domain/GeoCert.lean:check_sound: if the certificate checks, everyClassNetsatisfies b ≤ inputs + cost.checkCertFast_eq,checkFast_sound.Domain/GeoCertBound.lean:phys_cert_boundandphi_cert_bound_defaultcomplete the chain physics → projection → certificate → block bound.decide.lake exe geo-cert-check. Emitter:exact/geo_cert.rs.WireRankedfails in merged mode.Docs:
docs/geometric_network_bound.md(geo-cert section). No sorry or native_decide; no SAT.🤖 Generated with Claude Code