Routing between independently checked gadget certificates #
Large coloring trees are split into small, default-heartbeat certificates. This checker verifies that the roots of those certificates cover every unblocked color branch. Certificate soundness remains a theorem of Lean, while each small tree is independently reduced by the kernel.
A routing node either selects a checked certificate or branches on a color.
- leaf {certificateCount : ℕ} (certificate : Fin certificateCount) : PartsGadgetCaseNode certificateCount
- branch {certificateCount : ℕ} (vertex : Fin 73) (children : Fin 4 → ℕ) : PartsGadgetCaseNode certificateCount
Instances For
Decode zero as no child and n + 1 as child index n.
Equations
- (HadwigerNelsonBounds.PartsGadgetCaseNode.leaf certificate).child color = none
- (HadwigerNelsonBounds.PartsGadgetCaseNode.branch vertex children).child color = match children color with | 0 => none | index.succ => some index
Instances For
A finite router covering a normalized root path by small certificates.
- roots : List PartsGadgetAssignment
Fixed normalized assignments shared by every routed case.
- nodeCount : ℕ
Number of routing nodes.
- nodes : Array (PartsGadgetCaseNode certificateCount)
Branch and certificate-leaf nodes.
Instances For
Check routing, but leave each selected certificate proof as a separate fact.
Equations
- One or more equations did not get rendered due to their size.
- HadwigerNelsonBounds.PartsGadgetCaseVerifiesNodeB certificates nodes 0 x✝¹ x✝ = false
Instances For
The root-routing check for a case tree.
Equations
- tree.VerifiesRouting certificates = (HadwigerNelsonBounds.PartsGadgetCaseVerifiesNodeB certificates tree.nodes (tree.nodeCount + 1) tree.roots 0 = true)
Instances For
Equations
- HadwigerNelsonBounds.instDecidableVerifiesRouting tree certificates = id inferInstance
A routed family of verified certificates rules out its normalized roots.