The path ledger for the repair move #
The corrected per-move target for Proposition 3: the
path-sign-weighted constrained summand
pathSign κ * throughSummand … o κ.openCircuitCount under one
elementary repair move. The RepairInvariance ledger
handles the summand factor; this file supplies the pathSign
factor and the case analysis that controls it.
Main results #
third_chord_reparity— the third-chord parity lemma (chord combinatorics, self-contained): re-pairing four fixed points of a linear order into chords in any two ways changes the number of crossings with any third chord by an even amount.chain_meet— chain rigidity: two boundary-terminated chains sharing a walk flag have the same starting boundary flag (walks are forward- and backward-deterministic).pathMatch_repair_of_avoid— a chain whose pairing arguments avoid the four flags of the square walks identically in the repaired system.periodicFlag_pairing/periodicFlag_match— the periodic flags are closed under the edge pairing and the matching.pathMatch_repair_of_periodic— case 1: a square on periodic (circuit) components leaves every path matching unchanged.pathMatch_repair_of_chainLocal— cases 2–3: a square whose four flags are each periodic or on the chain of one boundary flagβleaves every path matching unchanged — untouched chains avoid the square by rigidity, and the two ends ofβ's chain must re-pair with each other becausepathMatchremains a fixed-point-free involution (pathMatch_ne_self).pathSign_congr/pathSign_matchEq— the crossing sign only depends on the path matching, so it is unchanged in cases 1–3 and invariant underMatchEq.RelTransitionSystem.Orientation.flipOrbitandthroughSummand_flipOrbit— reversing one whole circuit, and the summand's invariance under doing so.SeparatedCountParityandNonSeparatedStep— the two per-case hypotheses the move analysis is stated over, discharged inSeparatedParity.leanandNonSeparatedStep.leanrespectively.
(i) Chord combinatorics: the third-chord parity lemma #
Crossing a chord is interleaving: exactly one endpoint inside.
The crossing indicator of one chord has the parity of the number of its endpoints inside the third chord.
The third-chord parity lemma: re-pairing the same four points of a linear order into two chords in any two ways (the same multiset of endpoints, each chord recorded low-to-high, no endpoint shared with the third chord) preserves the parity of the number of crossings with the third chord.
(ii) Walk rigidity #
The exit step of a boundary-terminated chain is unique.
Chain rigidity: the walk is forward- and backward-deterministic, so two boundary-terminated chains sharing a walk flag start at the same boundary flag, at the same step.
Walk transfer under square avoidance #
A walk whose pairing arguments avoid the four flags of the square is untouched by the repair.
The path matching is untouched at a boundary flag whose chain avoids the square.
Closure of the periodic flags #
The edge pairing of a periodic flag is periodic (the reversed traversal of its circuit).
The matching image of a periodic flag is periodic.
No boundary chain hits a periodic flag in its pairing-argument position: chains are non-periodic.
Avoidance of a foreign chain #
A chain distinct from β and from β's far end never hits a
flag of β's chain in its pairing-argument position.
Membership on a boundary chain #
Membership on the boundary chain of β: the flag appears on
the walk from β (on either side of an edge) before the chain
exits.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The chain membership is closed under the matching (on internal flags).
Case 1: squares on circuits #
Case 1: a square on periodic (circuit) components leaves every path matching unchanged.
Cases 2–3: squares localized to one chain #
Cases 2–3: a square whose four flags are each periodic or on
the chain of one boundary flag β leaves every path matching
unchanged. Untouched chains avoid the square by rigidity
(chain_meet); the two ends of β's chain must then re-pair with
each other, because the repaired path matching is a fixed-point-free
involution and every other boundary end is already taken.
The localized case predicate #
The square is localized (cases 1–3 of the path ledger): the two re-paired edges lie on periodic components, or each of the four flags is periodic or on the chain of a single boundary flag. The complement is the genuine two-path case (case 4).
Equations
- One or more equations did not get rendered due to their size.
Instances For
(ii) pathMatch invariance in cases 1–3: a localized square leaves every path matching unchanged.
The crossing sign under pathMatch-preserving moves #
The chord-interleaving relation only depends on the path matching.
The chord-crossing count only depends on the path matching.
The path sign only depends on the path matching.
The MatchEq layer for the path sign #
Matching-equal systems have equal path matchings.
Matching-equal systems have equal chord-crossing counts.
Matching-equal systems have equal path signs.
Classification: periodic, one chain, or two chains #
Every internal flag is periodic or lies on the chain of some boundary flag.
Chain membership from the far end of a chain is chain membership from the near end.
The two-path classification: a non-localized square has its two re-paired edges on two genuinely distinct boundary chains.
Circuit flips: orbit-supported orientation gauges #
The flags of the walk orbit through g, on both sides of each
visited edge.
Equations
- RS.EdgeSubset.OrbitFlag κ g f = ∃ (m : ℕ), f = RS.EdgeSubset.iterWalk κ g m ∨ f = W.pairing (RS.EdgeSubset.iterWalk κ g m)
Instances For
A flag lies on its own orbit.
Orbits are closed under the edge pairing.
And under it backwards.
Every flag on a periodic flag's orbit is internal: a closed circuit never reaches the boundary.
So is each such flag's edge partner.
A periodic orbit is closed under the matching.
And under it backwards.
Flip an orientation on the walk orbit of a periodic flag: a circuit-supported orientation gauge.
Equations
Instances For
Flipping an orbit reverses the orientation on it.
And leaves it alone elsewhere.
An orbit flip is a circuit-supported gauge, so the constrained summand is invariant under it: the difference is supported on closed circuits.
The per-move interface and its inputs #
The count-parity hypothesis (cases 1–3): a separated
square on a localized configuration flips the circuit-count parity
(the splice merges two circuits, Δ = −1, or splits one component,
Δ = +1). Discharged in SeparatedParity.lean.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The flipped-segment hypothesis (non-separated moves): a
non-separated square (isOut c = isOut a) admits an
orientation on the repaired system realizing the same
pathSign-weighted summand. The structure: the repaired walk
reverses a segment (Δ = 0), the transported orientation flips on
the reversed segment, and the vertex transposition (−1) cancels
against the segment-reversal telescope (+1 total). Discharged in
NonSeparatedStep.lean.
Equations
- One or more equations did not get rendered due to their size.