Documentation

HexRootsMathlib.Completeness.RefinementCompleteness

Every worklist square remains inside the starting atom neighborhood.

Equations
Instances For

    A globally reglued subdivision round preserves confinement.

    Every square emitted by refineAll failed the executable T₀ test.

    A retained separation-depth square confined to a refined atom's doubled square has that atom's locally simple root as its sharp nearby root.

    theorem HexRootsMathlib.root_mem_glueCovered {squares component : Array Hex.DyadicSquare} {prec : } {z : } (hprec : usquares.toList, u.prec = prec) (hnear : usquares.toList, z - DyadicSquare.center u 65 / 32 * Dyadic.toReal u.radiusHi) (hcover : tsquares.toList, z DyadicSquare.closedSquare t) (hc : component (Hex.glueCovered squares).toList) :
    z Component.region { squares := component, candidateK := 1 }

    If every retained square is sharply near the same root and one survivor actually contains that root, maximal gluing puts the root in every output component.

    theorem HexRootsMathlib.refineAll_carries_root {p : Hex.ZPoly} (rep : Hex.RefinedIsolation p) {work : Array Hex.Component} {prec : } (hdepth : (Hex.separationDepth p) prec + 1) (hprec : Worklist.AtPrec work prec) (hwithin : Worklist.Within work (↑rep).square.doubled) (hcover : RefinedIsolation.root rep Worklist.region work) {c : Hex.Component} (hc : c (Hex.Component.refineAll p work).toList) :

    Every component of a sufficiently fine confined refinement round contains the represented simple root.

    theorem HexRootsMathlib.refineAll_success {p : Hex.ZPoly} (rep : Hex.RefinedIsolation p) {work : Array Hex.Component} {prec target : } (hdepth : (Hex.separationDepth p) + 5 prec + 1) (htarget : target + 5 prec + 1) (hprec : Worklist.AtPrec work prec) (hwithin : Worklist.Within work (↑rep).square.doubled) (hcover : RefinedIsolation.root rep Worklist.region work) :

    At the last normalized round, a confined one-atom worklist becomes one component and that component returns a target-ready mixed-strategy atom.

    theorem HexRootsMathlib.refineLoop_complete {p : Hex.ZPoly} (rep : Hex.RefinedIsolation p) {target prec : } {work : Array Hex.Component} (hprec : Worklist.AtPrec work prec) (hwithin : Worklist.Within work (↑rep).square.doubled) (hcover : RefinedIsolation.root rep Worklist.region work) (hlt : prec < Hex.completenessDepth p target) {fuel : } (hfuel : (Hex.completenessDepth p target - prec).toNat < fuel) :

    Sufficient fuel carries a confined one-atom worklist through the globally reglued prefix and emits its unique target-ready mixed-strategy atom.

    Raw refinement of an already separation-refined atom is total for the mixed strategy. The bounded speculative pass may return first; otherwise the globally reglued NK-complete loop discharges the fallback. Pure Pellet completeness is deliberately not claimed here.

    Refined-level refinement is total for the default mixed strategy.