Documentation

Anderson4D.PermSum.SingleScalePosition

Position bookkeeping for the fixed-class inner estimate #

This file isolates the part of paper (5.87) which depends on the position of the distinguished (minimal parent-scale) leaf in the permutation.

There are two independent issues.

The last section records the orientation issue on the left of the cut. Its gain is the forward gain of the reversed class pair, and the concrete retained-edge interface preserves that orientation. The exact reindexing to the bidirectional sequence product is proved in SingleScaleAnchorGlue; no pointwise forward/reverse comparison is assumed here.

The two scalar losses in a rough local target #

noncomputable def Anderson4D.XYCluster.paperDyadicXiInv {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) (a : NXClass) (skipped : Bool) :

The inverse of the paper factor Xi. We keep it as a separate atom so that the 20-loss ledger counts sqrt Y and Xi⁻¹ separately.

Equations
Instances For
    noncomputable def Anderson4D.XYCluster.paperDyadicRoughScaleGain (R : ℝ) (a : NXClass) (skipped : Bool) :

    The explicit (N/R)² supplied by a rough estimate when the incoming edge is skipped.

    Equations
    Instances For
      theorem Anderson4D.XYCluster.paperDyadicXiInv_nonneg {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) (a : NXClass) (skipped : Bool) :
      0 ≤ paperDyadicXiInv Nm mu a skipped
      theorem Anderson4D.XYCluster.paperDyadicSkipXi_mul_XiInv {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) {a : NXClass} (ha : a ∈ nxCarrier Nm mu) (skipped : Bool) :
      paperDyadicSkipXi Nm mu a skipped * paperDyadicXiInv Nm mu a skipped = 1

      On an active class, Xi * Xi⁻¹ = 1.

      theorem Anderson4D.XYCluster.paperDyadicSingleRoughTarget_eq_common_mul_losses {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) (R : ℝ) (hR : 0 < R) {a : NXClass} (ha : a ∈ nxCarrier Nm mu) (skipped : Bool) :
      paperDyadicSingleRoughTarget Nm mu R a skipped = paperDyadicLocalTarget Nm mu a skipped * √(paperDyadicY Nm mu a) * paperDyadicXiInv Nm mu a skipped * paperDyadicRoughScaleGain R a skipped

      Exact comparison of a one-variable rough target with the common local factor of (5.87). No Y or Xi loss is hidden in a constant.

      theorem Anderson4D.XYCluster.paperDyadicPairRoughTarget_eq_common_mul_losses {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) (R : ℝ) (hR : 0 < R) {a b : NXClass} (ha : a ∈ nxCarrier Nm mu) (hb : b ∈ nxCarrier Nm mu) (skipA skipB : Bool) :
      paperDyadicPairRoughTarget Nm mu R a b skipA skipB = paperDyadicLocalTarget Nm mu a skipA * paperDyadicLocalTarget Nm mu b skipB * (√(paperDyadicY Nm mu a) * paperDyadicXiInv Nm mu a skipA) * (√(paperDyadicY Nm mu b) * paperDyadicXiInv Nm mu b skipB) * (paperDyadicRoughScaleGain R a skipA * paperDyadicRoughScaleGain R b skipB)

      Exact rough-pair conversion. It exposes four possible scalar loss atoms (sqrt Y and Xi⁻¹ for each endpoint) and the two scale gains.

      Every scalar loss is at most the total multiplicity #

      The explicit m^20 <= C^m absorption #

      The concrete universal base used to absorb the twenty polynomial losses.

      Equations
      Instances For
        theorem Anderson4D.XYCluster.prod_lossAtoms_le_positionLossBase_pow {ι : Type u_1} (s : Finset ι) (loss : ι → ℝ) (m : ℕ) (hcard : s.card ≤ 20) (hnonneg : ∀ i ∈ s, 0 ≤ loss i) (hle : ∀ i ∈ s, loss i ≤ ↑m) :
        ∏ i ∈ s, loss i ≤ ↑positionLossBase ^ m

        A product of at most twenty nonnegative atoms, each at most m, is absorbed by the same universal exponential.

        Pairing the two runs cut at the distinguished position #

        inductive Anderson4D.XYCluster.PositionBlock (α : Type u_1) :
        Type u_1

        A purely positional single or consecutive-pair block.

        Instances For

          Positions contained in a block, in traversal order.

          Equations
          Instances For
            @[simp]
            theorem Anderson4D.XYCluster.pairPositionRun_map {α : Type u_1} {β : Type u_2} (phase : Bool) (f : α → β) (xs : List α) :
            theorem Anderson4D.XYCluster.pairPositionRun_pair_endpoints_mem {α : Type u_1} (phase : Bool) (xs : List α) (x y : α) (h : PositionBlock.pair x y ∈ pairPositionRun phase xs) :
            x ∈ xs ∧ y ∈ xs

            Both endpoints of a pair block really occur in the run it was built from. This small interface avoids reopening the recursive pairing definition in later geometric arguments.

            Number of one-variable estimates in a schedule.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Anderson4D.XYCluster.anchorPositionSchedule {α : Type u_1} (phase : Bool) (left right : List α) :

              Pair both sides of a cut. The lists are ordered away from the anchor; the left list is therefore the mirrored traversal.

              Equations
              Instances For
                def Anderson4D.XYCluster.anchorPositionScheduleWithPhases {α : Type u_1} (leftPhase rightPhase : Bool) (left right : List α) :

                Independent phases are required after reversing the left run.

                Equations
                Instances For

                  The promised at-most-four one-variable blocks.

                  theorem Anderson4D.XYCluster.anchorPositionScheduleWithPhases_singleCount_le_four {α : Type u_1} (leftPhase rightPhase : Bool) (left right : List α) :
                  positionSingleCount (anchorPositionScheduleWithPhases leftPhase rightPhase left right) ≤ 4
                  @[simp]
                  theorem Anderson4D.XYCluster.flatten_anchorPositionSchedule {α : Type u_1} (phase : Bool) (left right : List α) :
                  @[simp]
                  theorem Anderson4D.XYCluster.flatten_anchorPositionScheduleWithPhases {α : Type u_1} (leftPhase rightPhase : Bool) (left right : List α) :
                  List.flatMap PositionBlock.entries (anchorPositionScheduleWithPhases leftPhase rightPhase left right) = left ++ right
                  def Anderson4D.XYCluster.positionBlockToNXParityBlock {α : Type u_1} {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) (cls : α → ActiveNXClass Nm mu) (incomingSkipped : α → Bool) :

                  A schedule whose blocks remember the active (N,X) class at every position.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Number of one-variable blocks after classes have been attached.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For

                      Number of pair blocks deliberately assigned the rough estimate (5.90).

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem Anderson4D.XYCluster.nxParitySingleCount_map_positionBlockToNXParityBlock {α : Type u_1} {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) (cls : α → ActiveNXClass Nm mu) (incomingSkipped : α → Bool) (bs : List (PositionBlock α)) :
                        theorem Anderson4D.XYCluster.nxParityRoughPairCount_map_positionBlockToNXParityBlock {α : Type u_1} {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) (cls : α → ActiveNXClass Nm mu) (incomingSkipped : α → Bool) (bs : List (PositionBlock α)) :

                        Whether a refined pair touches a skipped edge and is therefore eligible for one of the paper's at-most-three rough estimates.

                        Equations
                        Instances For

                          Mark the first fuel eligible refined pairs as rough. This is the literal "choose three (or all if fewer)" operation following (5.92).

                          Equations
                          Instances For
                            def Anderson4D.XYCluster.positionLossAtomBudget (singleBlocks roughPairs : ℕ) :

                            The scalar-loss ledger has two atoms for each single block and four for each rough pair.

                            Equations
                            Instances For
                              theorem Anderson4D.XYCluster.positionLossAtomBudget_le_twenty {singleBlocks roughPairs : ℕ} (hsingle : singleBlocks ≤ 4) (hrough : roughPairs ≤ 3) :
                              positionLossAtomBudget singleBlocks roughPairs ≤ 20

                              The concrete cut of Fin m at an anchor #

                              Positions strictly to the left of the anchor, ordered away from the anchor. Thus this list is decreasing in the original word order.

                              Equations
                              Instances For

                                Positions strictly to the right of the anchor, ordered away from the anchor (increasing in the original word order).

                                Equations
                                Instances For

                                  Zero-based position inside the outward run on the position's side.

                                  Equations
                                  Instances For
                                    @[simp]
                                    @[simp]
                                    theorem Anderson4D.XYCluster.length_rightAnchorPositions {m : ℕ} (anchor : Fin m) :
                                    (rightAnchorPositions anchor).length = m - (↑anchor + 1)
                                    theorem Anderson4D.XYCluster.mem_leftAnchorPositions_iff {m : ℕ} (anchor i : Fin m) :
                                    i ∈ leftAnchorPositions anchor ↔ ↑i < ↑anchor
                                    theorem Anderson4D.XYCluster.mem_rightAnchorPositions_iff {m : ℕ} (anchor i : Fin m) :
                                    i ∈ rightAnchorPositions anchor ↔ ↑anchor < ↑i

                                    The two concrete runs contain every position except the anchor, exactly as a set.

                                    The concrete schedule obtained by cutting Fin m at anchor.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      def Anderson4D.XYCluster.finAnchorPositionScheduleWithPhases {m : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin m) :

                                      Concrete anchor schedule with the independently selectable phases used on the reversed left and forward right runs.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For

                                        Counting entries after the cut gives exactly m-1; the anchor is the single omitted position.

                                        Direction of traversal away from the anchor.

                                        Instances For

                                          Incoming adjacency in the original left-to-right orientation.

                                          Equations
                                          Instances For

                                            Incoming adjacency when traversing the word from right to left.

                                            Equations
                                            Instances For

                                              Whether the edge entering a position in the chosen traversal direction belongs to the skipped set O.

                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For

                                                Position-preserving exceptional-gain ledger #

                                                The original chain edges incident to a position. These are the only ratio gains whose local argument can use that position.

                                                Equations
                                                Instances For

                                                  The original ratio-gain edges touched by a one- or two-variable local operation. This definition is geometric: an edge is recorded only when one of its endpoints is actually eliminated by the block.

                                                  Equations
                                                  Instances For

                                                    The genuine even/odd carrier in original edge coordinates #

                                                    Distance of an original adjacency edge from the anchor, measured outward on its own side. Both boundary edges adjacent to the anchor have distance zero.

                                                    Equations
                                                    Instances For
                                                      def Anderson4D.XYCluster.anchorEdgeSelectedPhase {m : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin m) (j : AdjacentIndex m) :

                                                      The phase selected on the side containing an original adjacency edge.

                                                      Equations
                                                      Instances For
                                                        @[simp]
                                                        theorem Anderson4D.XYCluster.anchorEdgeSelectedPhase_flip {m : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin m) (j : AdjacentIndex m) :
                                                        anchorEdgeSelectedPhase (!leftPhase) (!rightPhase) anchor j = !anchorEdgeSelectedPhase leftPhase rightPhase anchor j

                                                        The original edges matched by one parity schedule. Shifted phase true selects even outward distances (including the anchor boundary), while ordinary phase false selects odd outward distances.

                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          @[simp]
                                                          theorem Anderson4D.XYCluster.mem_finAnchorPositionPhaseCarrierWithPhases {m : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin m) (j : AdjacentIndex m) :
                                                          j ∈ finAnchorPositionPhaseCarrierWithPhases leftPhase rightPhase anchor ↔ decide (anchorEdgeOutwardDistance anchor j % 2 = 0) = anchorEdgeSelectedPhase leftPhase rightPhase anchor j
                                                          theorem Anderson4D.XYCluster.finAnchorPositionPhaseCarrier_union_flip {m : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin m) :
                                                          finAnchorPositionPhaseCarrierWithPhases leftPhase rightPhase anchor ∪ finAnchorPositionPhaseCarrierWithPhases (!leftPhase) (!rightPhase) anchor = Finset.univ

                                                          Flipping both independently chosen side phases gives the complementary carrier of original edges.

                                                          theorem Anderson4D.XYCluster.finAnchorPositionPhaseCarrier_disjoint_flip {m : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin m) :
                                                          Disjoint (finAnchorPositionPhaseCarrierWithPhases leftPhase rightPhase anchor) (finAnchorPositionPhaseCarrierWithPhases (!leftPhase) (!rightPhase) anchor)
                                                          theorem Anderson4D.XYCluster.finAnchorPositionPhaseCarrier_pair_or_single {m : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin m) (edge : AdjacentIndex m) (hedge : edge ∈ finAnchorPositionPhaseCarrierWithPhases leftPhase rightPhase anchor) :
                                                          (∃ (i : Fin m), PositionBlock.single i ∈ finAnchorPositionScheduleWithPhases leftPhase rightPhase anchor ∧ edge ∈ (PositionBlock.single i).affectedEdges) ∨ ∃ (i : Fin m) (j : Fin m), PositionBlock.pair i j ∈ finAnchorPositionScheduleWithPhases leftPhase rightPhase anchor ∧ (↑edge = i ∧ ↑i + 1 = ↑j ∨ ↑edge = j ∧ ↑j + 1 = ↑i)

                                                          Every edge selected by a phase schedule is accounted for by a concrete block: either it is incident to a singleton, or it is the internal edge of a pair. This is the converse coverage statement missing from the earlier pair-to-carrier interface.

                                                          theorem Anderson4D.XYCluster.finAnchorPositionSchedule_pair_internalEdge_mem_phaseCarrier {m : ℕ} (leftPhase rightPhase : Bool) (anchor i j : Fin m) (hpair : PositionBlock.pair i j ∈ finAnchorPositionScheduleWithPhases leftPhase rightPhase anchor) :
                                                          ∃ edge ∈ finAnchorPositionPhaseCarrierWithPhases leftPhase rightPhase anchor, ↑edge = i ∧ ↑i + 1 = ↑j ∨ ↑edge = j ∧ ↑j + 1 = ↑i

                                                          Every concrete pair block contributes its internal original-word edge to the phase carrier selected for that side of the anchor. The disjunction records the reversal of the left run: right-run pairs are (i,i+1), while left-run pairs are (i,i-1) in traversal order.

                                                          Consecutive positions share their connecting edge, so their incident edge union has cardinality at most three.

                                                          An analytic parity block together with the exact original positions it eliminates. Unlike NXParityBlock, this type retains enough information to state which gain indices are discarded. The constructors enforce matching one- and two-variable arity.

                                                          Instances For
                                                            def Anderson4D.XYCluster.locatePositionBlock {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (cls : Fin m → ActiveNXClass Nm mu) (incomingSkipped : Fin m → Bool) :
                                                            Equations
                                                            Instances For
                                                              @[simp]
                                                              theorem Anderson4D.XYCluster.analyticBlock_locatePositionBlock {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (cls : Fin m → ActiveNXClass Nm mu) (incomingSkipped : Fin m → Bool) (b : PositionBlock (Fin m)) :
                                                              (locatePositionBlock Nm mu cls incomingSkipped b).analyticBlock = positionBlockToNXParityBlock Nm mu cls incomingSkipped b
                                                              @[simp]
                                                              theorem Anderson4D.XYCluster.positionBlock_locatePositionBlock {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (cls : Fin m → ActiveNXClass Nm mu) (incomingSkipped : Fin m → Bool) (b : PositionBlock (Fin m)) :
                                                              (locatePositionBlock Nm mu cls incomingSkipped b).positionBlock = b

                                                              Position-preserving version of markFirstSkippedPairsRough.

                                                              Equations
                                                              Instances For

                                                                Union of the actual original chain edges affected by single and rough blocks. Precise pair blocks do not discard any gain.

                                                                Equations
                                                                Instances For

                                                                  The explicit edge union is bounded by exactly the same 2·single + 4·rough budget used for the scalar losses. The proof does not infer an exception count from prose: every recorded edge is incident to a concrete position in an exceptional block.

                                                                  Erasing the analytic class payload from the exception ledger #

                                                                  The positional and skipped-edge data which alone controls rough marking.

                                                                  Instances For
                                                                    Equations
                                                                    • One or more equations did not get rendered due to their size.
                                                                    Instances For
                                                                      Equations
                                                                      Instances For
                                                                        @[simp]
                                                                        theorem Anderson4D.XYCluster.exceptionControl_locatePositionBlock {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (cls : Fin m → ActiveNXClass Nm mu) (incomingSkipped : Fin m → Bool) (b : PositionBlock (Fin m)) :
                                                                        (locatePositionBlock Nm mu cls incomingSkipped b).exceptionControl = positionBlockToExceptionControl incomingSkipped b

                                                                        Pure positional copy of “mark the first three eligible pairs rough”.

                                                                        Equations
                                                                        Instances For

                                                                          Exceptional original edges computed with no analytic class payload.

                                                                          Equations
                                                                          Instances For

                                                                            The two analytic runs must remain separate: concatenating them and feeding the result to conditionedNXParityChainSum would invent an edge between the two outer endpoints.

                                                                            Instances For

                                                                              Flatten the two runs only for block counting. This list is a ledger, not an analytic chain.

                                                                              Equations
                                                                              Instances For
                                                                                def Anderson4D.XYCluster.finAnchorNXParityRunsWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :

                                                                                The paper class runs on the two sides of an anchored word. The left run uses the reverse incoming edge; the right run uses the ordinary incoming edge.

                                                                                Equations
                                                                                • One or more equations did not get rendered due to their size.
                                                                                Instances For
                                                                                  def Anderson4D.XYCluster.finAnchorNXParityRuns {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (phase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :

                                                                                  Equal-phase convenience wrapper. The paper-facing parity constructor below may instead use finAnchorNXParityRunsWithPhases, since reversal can change the phase on the left run.

                                                                                  Equations
                                                                                  Instances For
                                                                                    def Anderson4D.XYCluster.finAnchorNXParityLedgerWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :

                                                                                    Flattened raw-run ledger, used only for the finite block counts.

                                                                                    Equations
                                                                                    • One or more equations did not get rendered due to their size.
                                                                                    Instances For
                                                                                      def Anderson4D.XYCluster.finAnchorNXParityLedger {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (phase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                      Equations
                                                                                      Instances For
                                                                                        def Anderson4D.XYCluster.finAnchorNXLocatedParityLedgerWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :

                                                                                        Raw parity ledger which retains the concrete original positions. The two directions use their respective incoming edges before the lists are flattened for counting.

                                                                                        Equations
                                                                                        • One or more equations did not get rendered due to their size.
                                                                                        Instances For
                                                                                          theorem Anderson4D.XYCluster.map_analyticBlock_finAnchorNXLocatedParityLedgerWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                          List.map LocatedNXParityBlock.analyticBlock (finAnchorNXLocatedParityLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O) = finAnchorNXParityLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O
                                                                                          theorem Anderson4D.XYCluster.map_positionBlock_finAnchorNXLocatedParityLedgerWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :

                                                                                          The raw anchor ledger after erasing every analytic (N,X) class.

                                                                                          Equations
                                                                                          • One or more equations did not get rendered due to their size.
                                                                                          Instances For

                                                                                            Pure positional coarse ledger, including the global first-three rule.

                                                                                            Equations
                                                                                            • One or more equations did not get rendered due to their size.
                                                                                            Instances For

                                                                                              Raw exceptional edges before restricting them to the selected phase.

                                                                                              Equations
                                                                                              • One or more equations did not get rendered due to their size.
                                                                                              Instances For
                                                                                                theorem Anderson4D.XYCluster.finAnchorNXParityLedgerWithPhases_singleCount_le_four {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                nxParitySingleCount (finAnchorNXParityLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O) ≤ 4
                                                                                                theorem Anderson4D.XYCluster.finAnchorNXParityLedger_singleCount_le_four {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (phase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                nxParitySingleCount (finAnchorNXParityLedger Nm mu phase anchor cls O) ≤ 4
                                                                                                theorem Anderson4D.XYCluster.finAnchorNXParityLedgerWithPhases_roughPairCount_eq_zero {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                nxParityRoughPairCount (finAnchorNXParityLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O) = 0
                                                                                                theorem Anderson4D.XYCluster.finAnchorNXParityLedger_roughPairCount_eq_zero {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (phase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                nxParityRoughPairCount (finAnchorNXParityLedger Nm mu phase anchor cls O) = 0
                                                                                                def Anderson4D.XYCluster.finAnchorNXCoarseLedgerWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :

                                                                                                Flattened coarse ledger: select the first three eligible pair blocks (or all of them if fewer). As above, this is not itself an analytic chain.

                                                                                                Equations
                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                Instances For
                                                                                                  def Anderson4D.XYCluster.finAnchorNXCoarseLedger {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (phase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                  Equations
                                                                                                  Instances For
                                                                                                    def Anderson4D.XYCluster.finAnchorNXLocatedCoarseLedgerWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :

                                                                                                    Mark the first three eligible concrete pair blocks while retaining their positions.

                                                                                                    Equations
                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                    Instances For
                                                                                                      theorem Anderson4D.XYCluster.map_analyticBlock_finAnchorNXLocatedCoarseLedgerWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                      List.map LocatedNXParityBlock.analyticBlock (finAnchorNXLocatedCoarseLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O) = finAnchorNXCoarseLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O
                                                                                                      theorem Anderson4D.XYCluster.map_positionBlock_finAnchorNXLocatedCoarseLedgerWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                      theorem Anderson4D.XYCluster.locatedExceptionalEdges_finAnchorNXCoarse_eq_pure {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                      locatedExceptionalEdges (finAnchorNXLocatedCoarseLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O) = finAnchorPureRawExceptionalEdgesWithPhases leftPhase rightPhase anchor O

                                                                                                      Rough marking changes estimates but neither loses nor duplicates a position: the concrete coarse ledger contains exactly all non-anchor positions.

                                                                                                      def Anderson4D.XYCluster.finAnchorNXCoarseRunsWithPhases {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :

                                                                                                      Split the marked ledger back into two analytic runs at the original left run length. length_markFirstSkippedPairsRough guarantees that no block is lost; in particular the two runs are never concatenated analytically.

                                                                                                      Equations
                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                      Instances For
                                                                                                        def Anderson4D.XYCluster.finAnchorNXCoarseRuns {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (phase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                        Equations
                                                                                                        Instances For
                                                                                                          theorem Anderson4D.XYCluster.finAnchorNXCoarseRunsWithPhases_ledger {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                          (finAnchorNXCoarseRunsWithPhases Nm mu leftPhase rightPhase anchor cls O).ledger = finAnchorNXCoarseLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O
                                                                                                          theorem Anderson4D.XYCluster.finAnchorNXCoarseRuns_ledger {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (phase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                          (finAnchorNXCoarseRuns Nm mu phase anchor cls O).ledger = finAnchorNXCoarseLedger Nm mu phase anchor cls O
                                                                                                          theorem Anderson4D.XYCluster.finAnchorNXCoarseLedgerWithPhases_singleCount_le_four {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                          nxParitySingleCount (finAnchorNXCoarseLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O) ≤ 4
                                                                                                          theorem Anderson4D.XYCluster.finAnchorNXCoarseLedger_singleCount_le_four {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (phase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                          nxParitySingleCount (finAnchorNXCoarseLedger Nm mu phase anchor cls O) ≤ 4
                                                                                                          theorem Anderson4D.XYCluster.finAnchorNXCoarseLedgerWithPhases_roughPairCount_le_three {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                          nxParityRoughPairCount (finAnchorNXCoarseLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O) ≤ 3
                                                                                                          theorem Anderson4D.XYCluster.finAnchorNXCoarseLedger_roughPairCount_le_three {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (phase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                          theorem Anderson4D.XYCluster.finAnchorNXCoarseLedgerWithPhases_lossAtomBudget_le_twenty {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                          positionLossAtomBudget (nxParitySingleCount (finAnchorNXCoarseLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O)) (nxParityRoughPairCount (finAnchorNXCoarseLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O)) ≤ 20

                                                                                                          The phase-matched exceptional set, defined solely from positions, phases, and O. Intersecting with the genuine carrier is essential: a local block may be incident to an edge belonging to the opposite parity.

                                                                                                          Equations
                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                          Instances For
                                                                                                            def Anderson4D.XYCluster.finAnchorNXExceptionalEdgesWithPhases {t : PlaneTree} {m : ℕ} (_Nm : t.HeppMarking) (_mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (_cls : Fin m → ActiveNXClass _Nm _mu) (O : Finset (AdjacentIndex m)) :

                                                                                                            Compatibility wrapper for analytic schedules. The class word is deliberately ignored, so the exception set can be moved outside its sum.

                                                                                                            Equations
                                                                                                            Instances For
                                                                                                              theorem Anderson4D.XYCluster.positionPhase_exceptionalEdges_independent_cls {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls₁ cls₂ : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                              finAnchorNXExceptionalEdgesWithPhases Nm mu leftPhase rightPhase anchor cls₁ O = finAnchorNXExceptionalEdgesWithPhases Nm mu leftPhase rightPhase anchor cls₂ O
                                                                                                              theorem Anderson4D.XYCluster.finAnchorNXExceptionalEdgesWithPhases_subset_carrier {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                              finAnchorNXExceptionalEdgesWithPhases Nm mu leftPhase rightPhase anchor cls O ⊆ finAnchorPositionPhaseCarrierWithPhases leftPhase rightPhase anchor
                                                                                                              theorem Anderson4D.XYCluster.finAnchorNX_retained_phaseCarrier_mem_precisePair {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) (edge : AdjacentIndex m) (hcarrier : edge ∈ finAnchorPositionPhaseCarrierWithPhases leftPhase rightPhase anchor) (hnotExceptional : edge ∉ finAnchorNXExceptionalEdgesWithPhases Nm mu leftPhase rightPhase anchor cls O) :
                                                                                                              ∃ (i : Fin m) (j : Fin m) (p : NXPairBlock Nm mu), LocatedNXParityBlock.pair i j p ∈ finAnchorNXLocatedCoarseLedgerWithPhases Nm mu leftPhase rightPhase anchor cls O ∧ p.left = cls i ∧ p.right = cls j ∧ (i ∈ leftAnchorPositions anchor ∧ j ∈ leftAnchorPositions anchor ∧ ↑edge = j ∧ ↑j + 1 = ↑i ∧ p.skipRight = decide (edge ∈ O) ∨ i ∈ rightAnchorPositions anchor ∧ j ∈ rightAnchorPositions anchor ∧ ↑edge = i ∧ ↑i + 1 = ↑j ∧ p.skipRight = decide (edge ∈ O))

                                                                                                              Hard retained-edge interface for the position layer. Every carrier edge which is not charged to the explicit exceptional set is the internal edge of a concrete precise coarse-ledger pair. The conclusion also restores the exact endpoint classes, the outward side and orientation, and the incoming skip bit used by the local pair estimate.

                                                                                                              Existence with full metadata is the interface needed by the analytic glue. Uniqueness is deliberately not asserted here; it can be derived separately from the no-duplication schedule invariant if a later consumer needs it.

                                                                                                              theorem Anderson4D.XYCluster.card_finAnchorNXExceptionalEdgesWithPhases_le_twenty {t : PlaneTree} {m : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) :
                                                                                                              (finAnchorNXExceptionalEdgesWithPhases Nm mu leftPhase rightPhase anchor cls O).card ≤ 20

                                                                                                              Fully concrete version of the paper's “at most 20 skipped gains” audit. Each member of the finset is an original adjacency incident to a single or rough pair block; the cardinality bound follows from 4 single blocks and 3 rough pair blocks, with costs 2 and 4 respectively.

                                                                                                              Reindexing the concrete exceptions into the anchored sequence bound #

                                                                                                              The zero-based paper adjacency indices of a word of length n+1 are canonically Fin n.

                                                                                                              Equations
                                                                                                              Instances For

                                                                                                                Reindex an original adjacency exception set for the sequence lemmas.

                                                                                                                Equations
                                                                                                                Instances For
                                                                                                                  def Anderson4D.XYCluster.finAnchorPositionPhaseFinCarrierWithPhases {n : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) :

                                                                                                                  The phase carrier in the Fin n coordinates used by sequence bounds.

                                                                                                                  Equations
                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                  Instances For
                                                                                                                    theorem Anderson4D.XYCluster.finAnchorPositionPhaseFinCarrier_union_flip {n : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) :
                                                                                                                    theorem Anderson4D.XYCluster.finAnchorPositionPhaseFinCarrier_disjoint_flip {n : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) :
                                                                                                                    Disjoint (finAnchorPositionPhaseFinCarrierWithPhases leftPhase rightPhase anchor) (finAnchorPositionPhaseFinCarrierWithPhases (!leftPhase) (!rightPhase) anchor)
                                                                                                                    theorem Anderson4D.XYCluster.anchoredBidirectional_code_sum_le_varyingExceptions (θ : ℝ) (hθ : 0 < θ) (B : ℕ) :
                                                                                                                    ∃ (C : ℝ), 1 ≤ C ∧ ∀ (n ν : ℕ) (e : Fin ν → ℤ), ν ≤ n + 1 → Function.Injective e → ∀ (E : Fin (n + 1) → Finset (Fin n)), (∀ (anchor : Fin (n + 1)), (E anchor).card ≤ B) → ∑ anchor : Fin (n + 1), ∑ w : Fin (n + 1) → Fin ν, anchoredBidirectionalCodeWeight θ e (E anchor) anchor w ≤ C ^ (n + 1)

                                                                                                                    The anchored sequence estimate remains uniform when the exceptional set depends on the anchor position. This is the form required here because the one-variable boundary blocks move with the minimal-scale position.

                                                                                                                    def Anderson4D.XYCluster.finAnchorPureExceptionalFinEdgesWithPhases {n : ℕ} (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (O : Finset (AdjacentIndex (n + 1))) :

                                                                                                                    Pure positional exception set in the sequence theorem's coordinates.

                                                                                                                    Equations
                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                    Instances For
                                                                                                                      def Anderson4D.XYCluster.finAnchorNXExceptionalFinEdgesWithPhases {t : PlaneTree} {n : ℕ} (_Nm : t.HeppMarking) (_mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (_cls : Fin (n + 1) → ActiveNXClass _Nm _mu) (O : Finset (AdjacentIndex (n + 1))) :

                                                                                                                      Compatibility wrapper for the analytic class schedule.

                                                                                                                      Equations
                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                      Instances For
                                                                                                                        theorem Anderson4D.XYCluster.positionPhase_exceptionalFinEdges_independent_cls {t : PlaneTree} {n : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (cls₁ cls₂ : Fin (n + 1) → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex (n + 1))) :
                                                                                                                        finAnchorNXExceptionalFinEdgesWithPhases Nm mu leftPhase rightPhase anchor cls₁ O = finAnchorNXExceptionalFinEdgesWithPhases Nm mu leftPhase rightPhase anchor cls₂ O
                                                                                                                        theorem Anderson4D.XYCluster.finAnchorNXExceptionalFinEdgesWithPhases_subset_carrier {t : PlaneTree} {n : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (cls : Fin (n + 1) → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex (n + 1))) :
                                                                                                                        finAnchorNXExceptionalFinEdgesWithPhases Nm mu leftPhase rightPhase anchor cls O ⊆ finAnchorPositionPhaseFinCarrierWithPhases leftPhase rightPhase anchor
                                                                                                                        theorem Anderson4D.XYCluster.card_finAnchorNXExceptionalFinEdgesWithPhases_le_twenty {t : PlaneTree} {n : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (cls : Fin (n + 1) → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex (n + 1))) :
                                                                                                                        (finAnchorNXExceptionalFinEdgesWithPhases Nm mu leftPhase rightPhase anchor cls O).card ≤ 20
                                                                                                                        def Anderson4D.XYCluster.finAnchorNXInterpolatedExceptionalFinEdges {t : PlaneTree} {n : ℕ} (_Nm : t.HeppMarking) (_mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (_cls : Fin (n + 1) → ActiveNXClass _Nm _mu) (O : Finset (AdjacentIndex (n + 1))) :

                                                                                                                        Union of a phase's exceptions with those of its genuine flipped phase.

                                                                                                                        Equations
                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                        Instances For
                                                                                                                          theorem Anderson4D.XYCluster.positionPhase_interpolatedExceptionalFinEdges_independent_cls {t : PlaneTree} {n : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (cls₁ cls₂ : Fin (n + 1) → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex (n + 1))) :
                                                                                                                          finAnchorNXInterpolatedExceptionalFinEdges Nm mu leftPhase rightPhase anchor cls₁ O = finAnchorNXInterpolatedExceptionalFinEdges Nm mu leftPhase rightPhase anchor cls₂ O
                                                                                                                          theorem Anderson4D.XYCluster.card_finAnchorNXInterpolatedExceptionalFinEdges_le_forty {t : PlaneTree} {n : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (cls : Fin (n + 1) → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex (n + 1))) :
                                                                                                                          (finAnchorNXInterpolatedExceptionalFinEdges Nm mu leftPhase rightPhase anchor cls O).card ≤ 40
                                                                                                                          theorem Anderson4D.XYCluster.finAnchorNX_sqrt_phase_gain_eq_sixteenth {t : PlaneTree} {n : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (cls : Fin (n + 1) → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex (n + 1))) (ratio : Fin n → ℝ) (hratio : ∀ (j : Fin n), 0 ≤ ratio j) :
                                                                                                                          √((∏ j ∈ finAnchorPositionPhaseFinCarrierWithPhases leftPhase rightPhase anchor \ finAnchorNXExceptionalFinEdgesWithPhases Nm mu leftPhase rightPhase anchor cls O, ratioGain (1 / 8) (ratio j)) * ∏ j ∈ finAnchorPositionPhaseFinCarrierWithPhases (!leftPhase) (!rightPhase) anchor \ finAnchorNXExceptionalFinEdgesWithPhases Nm mu (!leftPhase) (!rightPhase) anchor cls O, ratioGain (1 / 8) (ratio j)) = ∏ j ∈ Finset.univ \ finAnchorNXInterpolatedExceptionalFinEdges Nm mu leftPhase rightPhase anchor cls O, ratioGain (1 / 16) (ratio j)

                                                                                                                          Exact interpolation of the two complementary phase carriers. This is the concrete instantiation of sqrt_even_mul_odd_gain_eq_sixteenth; neither the partition nor exception containment is left as an assumption.

                                                                                                                          theorem Anderson4D.XYCluster.finAnchorNX_two_phase_gain_bounds_le_sixteenth {t : PlaneTree} {n : ℕ} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Bool) (anchor : Fin (n + 1)) (cls : Fin (n + 1) → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex (n + 1))) (ratio : Fin n → ℝ) (hratio : ∀ (j : Fin n), 0 ≤ ratio j) (x : ℝ) (hx : 0 ≤ x) (hphase : x ≤ ∏ j ∈ finAnchorPositionPhaseFinCarrierWithPhases leftPhase rightPhase anchor \ finAnchorNXExceptionalFinEdgesWithPhases Nm mu leftPhase rightPhase anchor cls O, ratioGain (1 / 8) (ratio j)) (hflip : x ≤ ∏ j ∈ finAnchorPositionPhaseFinCarrierWithPhases (!leftPhase) (!rightPhase) anchor \ finAnchorNXExceptionalFinEdgesWithPhases Nm mu (!leftPhase) (!rightPhase) anchor cls O, ratioGain (1 / 8) (ratio j)) :
                                                                                                                          x ≤ ∏ j ∈ Finset.univ \ finAnchorNXInterpolatedExceptionalFinEdges Nm mu leftPhase rightPhase anchor cls O, ratioGain (1 / 16) (ratio j)

                                                                                                                          Concrete geometric-mean bridge for the two complementary local estimates. Once the same nonnegative quantity is bounded by each retained 1/8 phase product, it is bounded by the common 1/16 target with the union of their positional exceptions.

                                                                                                                          theorem Anderson4D.XYCluster.finAnchorNX_sixteenth_positionGain_sum_le :
                                                                                                                          ∃ (C : ℝ), 1 ≤ C ∧ ∀ (n ν : ℕ) (e : Fin ν → ℤ), ν ≤ n + 1 → Function.Injective e → ∀ {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) (leftPhase rightPhase : Fin (n + 1) → Bool) (cls : Fin (n + 1) → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex (n + 1))), ∑ anchor : Fin (n + 1), ∑ w : Fin (n + 1) → Fin ν, anchoredBidirectionalCodeWeight (1 / 16) e (finAnchorNXInterpolatedExceptionalFinEdges Nm mu (leftPhase anchor) (rightPhase anchor) anchor cls O) anchor w ≤ C ^ (n + 1)

                                                                                                                          Paper-facing 1/16 gain bound after even/odd interpolation. The exception set is the union of the two concrete one-parity sets and therefore has budget 40. This exponent is unrelated to the Step-3 outer exponent 1/20.

                                                                                                                          Shared anchor and used-copy state #

                                                                                                                          The used set at the moment the two sides start: it contains the single distinguished labeled copy. Both side eliminations must extend this same set, rather than using two independent copies of the anchor.

                                                                                                                          Equations
                                                                                                                          Instances For
                                                                                                                            theorem Anderson4D.XYCluster.arrangement_nonanchor_mem_conditionedNX {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) {M : ℕ} (σ : Fin M ≃ HeppLabeledCopy mu) (anchor j : Fin M) (hj : j ≠ anchor) (a : NXClass) (ha : singleScaleSigma1 Nm mu (σ j).fst = a) :

                                                                                                                            Every non-anchor position is an honest conditioned choice when the shared used set initially contains the anchor.

                                                                                                                            theorem Anderson4D.XYCluster.arrangement_crossSide_pair_mem_conditionedNX {t : PlaneTree} (Nm : t.HeppMarking) (mu : t.Multiplicities) {M : ℕ} (σ : Fin M ≃ HeppLabeledCopy mu) (anchor j k : Fin M) (hj : j ≠ anchor) (hk : k ≠ anchor) (hjk : j ≠ k) (a b : NXClass) (ha : singleScaleSigma1 Nm mu (σ j).fst = a) (hb : singleScaleSigma1 Nm mu (σ k).fst = b) :

                                                                                                                            Choices on opposite sides of the cut remain distinct after the first one is inserted into the common used set. This is the anchor/cross-side bookkeeping required by the global finite-Fubini step.

                                                                                                                            theorem Anderson4D.XYCluster.finAnchorNXCoarseRunsWithPhases_sharedAnchor_le_targetProducts :
                                                                                                                            ∃ (C : ℝ), 256 ≤ C ∧ ∀ {t : PlaneTree} {m : ℕ} (ht : t.isValid = true) (hroot : t.rootV ∈ t.BranchNodes) (Nm : t.HeppMarking) (mu : t.Multiplicities) (z : HeppLeaf t → Fin 4 → ℤ) (hz : IsSeparatedEmbedding Nm z) (R : ℕ), accumulatedScale Nm mu t.rootV ≤ R → ∀ (leftPhase rightPhase : Bool) (anchor : Fin m) (cls : Fin m → ActiveNXClass Nm mu) (O : Finset (AdjacentIndex m)) (σ : Fin m ≃ HeppLabeledCopy mu), conditionedNXParityChainSum ht hroot Nm mu z hz (↑R) (finAnchorNXCoarseRunsWithPhases Nm mu leftPhase rightPhase anchor cls O).left (arrangementAnchorUsedCopies σ anchor) (labeledCopyPoint z (σ anchor)) ≤ (List.map (fun (p : NXParityBlock Nm mu) => C * nxParityBlockTarget Nm mu (↑R) p) (finAnchorNXCoarseRunsWithPhases Nm mu leftPhase rightPhase anchor cls O).left).prod ∧ conditionedNXParityChainSum ht hroot Nm mu z hz (↑R) (finAnchorNXCoarseRunsWithPhases Nm mu leftPhase rightPhase anchor cls O).right (arrangementAnchorUsedCopies σ anchor) (labeledCopyPoint z (σ anchor)) ≤ (List.map (fun (p : NXParityBlock Nm mu) => C * nxParityBlockTarget Nm mu (↑R) p) (finAnchorNXCoarseRunsWithPhases Nm mu leftPhase rightPhase anchor cls O).right).prod

                                                                                                                            Both outward analytic runs may be fed to the mixed one-parity local estimate with the same anchored used-copy state and anchored lattice point. The theorem gives separate bounds; their product is obtained through the arrangement/Fubini lemma without duplicating the anchor or introducing an edge between the outer endpoints.

                                                                                                                            Bidirectional gain interface #

                                                                                                                            noncomputable def Anderson4D.XYCluster.positionCodeGain {ν : ℕ} (e : Fin ν → ℤ) (a b : Fin ν) :

                                                                                                                            One dyadic gain on an enumerated class family.

                                                                                                                            Equations
                                                                                                                            Instances For
                                                                                                                              theorem Anderson4D.XYCluster.positionCodeGain_nonneg {ν : ℕ} (e : Fin ν → ℤ) (a b : Fin ν) :
                                                                                                                              def Anderson4D.XYCluster.anchoredSideCodeWord {ν k : ℕ} (anchor : Fin ν) (x : Fin k → Fin ν) :
                                                                                                                              Fin (k + 1) → Fin ν

                                                                                                                              Gain product on one side, with the side word ordered away from the anchor. For the left side this is the reverse of original word order; for the right side it is the original order.

                                                                                                                              Equations
                                                                                                                              Instances For
                                                                                                                                noncomputable def Anderson4D.XYCluster.anchoredSideCodeGain {ν k : ℕ} (e : Fin ν → ℤ) (anchor : Fin ν) (x : Fin k → Fin ν) :
                                                                                                                                Equations
                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                Instances For
                                                                                                                                  theorem Anderson4D.XYCluster.anchoredSideCodeGain_nonneg {ν k : ℕ} (e : Fin ν → ℤ) (anchor : Fin ν) (x : Fin k → Fin ν) :
                                                                                                                                  noncomputable def Anderson4D.XYCluster.anchoredSideCodeSum {ν : ℕ} (e : Fin ν → ℤ) (k : ℕ) (anchor : Fin ν) :

                                                                                                                                  Sum over all class words on one side of a fixed anchor class.

                                                                                                                                  Equations
                                                                                                                                  Instances For
                                                                                                                                    theorem Anderson4D.XYCluster.anchoredSideCodeSum_nonneg {ν : ℕ} (e : Fin ν → ℤ) (k : ℕ) (anchor : Fin ν) :
                                                                                                                                    noncomputable def Anderson4D.XYCluster.anchoredBidirectionalCodeSum {ν : ℕ} (e : Fin ν → ℤ) (leftLength rightLength : ℕ) :

                                                                                                                                    The gain sum prescribed by the paper's "going left and right separately": both words are ordered away from the common anchor. Thus the left product uses original-order reverse gains and the right product uses original-order forward gains.

                                                                                                                                    Equations
                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                    Instances For
                                                                                                                                      theorem Anderson4D.XYCluster.anchoredBidirectionalCodeSum_le_of_side_bounds {ν : ℕ} (e : Fin ν → ℤ) (leftLength rightLength M : ℕ) (hν : ν ≤ M) (C : ℝ) (hC : 0 ≤ C) (hleft : ∀ (anchor : Fin ν), anchoredSideCodeSum e leftLength anchor ≤ C ^ M) (hright : ∀ (anchor : Fin ν), anchoredSideCodeSum e rightLength anchor ≤ C ^ M) :
                                                                                                                                      anchoredBidirectionalCodeSum e leftLength rightLength ≤ (2 * C ^ 2) ^ M

                                                                                                                                      Once the two padded one-sided applications of Lemma 5.13 are available, the sum over the at-most-M anchor classes costs only another 2^M. This is the global replacement for the invalid pointwise comparison between forward and reverse gains.

                                                                                                                                      Exact cross-module boundary #

                                                                                                                                      This file now closes the position layer itself:

                                                                                                                                      SingleScaleAnchorGlue and the final P-5.10 assembly use these positional facts to:

                                                                                                                                      The statement-weight-to-local-kernel inequalities in the first item live in SingleScaleWeightBridge. No pointwise comparison between original forward and traversal-forward gains is valid or assumed; the left run is handled globally by reversal, as in SingleScaleAnchoredSequence.