A native selected reference descent retaining uniformity at and below the saved all-same boundary. Every step is the literal cached child operation, with its own bounded scratch and complete refinement code.
- leaf {n : Nat} {G : SparseGraph n} {tcLevel boundary level : Nat} {st : RefineSt n} (label : Label n) (discrete : discreteAt st.ptn level n = true) (parse : Label.ofArray? n st.lab = some label) : RefPath G tcLevel boundary level st [] { codes := [st.longcode, codeSentinel], graph := G.relabel label.perm }
- step {n : Nat} {G : SparseGraph n} {tcLevel boundary level tc len o : Nat} {st : RefineSt n} {scratch : Scratch} {targets : List Nat} {key : Key n} (cell : IsCell st.ptn level tc len) (range : tc + len ≤ n) (nontrivial : 1 < len) (offset : o < len) (bounded : Scratch.Bounded n scratch) (target : tc = targetcell (Graph.ofGraph G) st.lab st.ptn level tcLevel (-1)) (child : RefPath G tcLevel boundary (level + 1) (RefineSt.child (Graph.ofGraph G) level st tc st.lab[tc + o]! scratch) targets key) (uniform : boundary ≤ level → Uniform G tcLevel level st (tc :: targets) { codes := st.longcode :: key.codes, graph := key.graph }) : RefPath G tcLevel boundary level st (tc :: targets) { codes := st.longcode :: key.codes, graph := key.graph }
Instances For
Forgetting boundary uniformity retains the literal selected descent.
Moving the boundary deeper retains all required uniform subtrees.
Every occurrence inside a uniform native subtree retains uniformity along its whole actual path, at any chosen later boundary.
Isomorphism transports the reference occurrence and every uniform subtree retained at its boundary, preserving the full native key.
Isomorphic native refined states have the same richer reference occurrences, retaining all uniformity obligations in both directions.
An arbitrary checked cell stabilizer carries the richer reference between literal cached children before any generation theorem is known.
Forward transport through a checked cell stabilizer retains the native reference and its saved uniformity boundary.