Turning path data, and turns off the diagonal
New.Determinant.AuxiliaryForms.Turns.lean
Reading
Upstream documentation written by Claude
A turn of a path replaces two sides of a square by the two other sides. The
m-fold twist isϑ, the characters of the edges are built fromD.untwistedLiftChar j, of weight-D.liftWeight j, and the vertical edges, whose character carries a power ofϑ, go fromY^i_jtoY^i_(j+1)and fromỸ^i_jtoỸ^i_(j+1). The forms that move in the grid of theYare conjugate forms.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Data.Corner.IsTurn.exists_isPathDatum: the match of a path datum, after a Fourier transform in the column of the line if the turn is on the diagonal, is a path datum.New.Data.exists_squareLaw_grid_hasAbsUpToNormPower: the exchangeNew.Exchange.one_square_identity_of_isEdgeFamilyon a square of a grid, with a constantκ / c ϑwhose denominator has, up to a power of the norm, the absolute valueNew.Data.turnRatio.New.Data.TransfersPeriods: path data pass forwards, and proportionality of periods passes backwards.New.Data.exists_transfersPeriods_off_diagonal: a turn off the diagonal transfers periods.
Notions from other files:
New.Data.GridNode: a triple(z, a, b), the nodeY^a_bifz = falseandỸ^b_aifz = true. Its index set isD.NodeIndex, which isD.GridIndex z a b.New.Data.EdgeTuple: a matrix over the residue ring modulogridModulus ϑfor each pair of nodes. The modulus is that of the twistϑtimes a power of the product of the chosen places. ANew.Data.NodeFamilyis an invertible matrixg qfor each nodeq; it takes the matrixS eon an edgee = (p, q)to(g q)⁻¹ * S e * g p. It is admissible (New.Data.IsAdmissibleFamily) if at each of the two starting nodes it lies in the level of the node and at each node(true, a, a)it isg ⊕ 1for its elementgat(false, a, a).New.Data.IsPathDatum N w: a function of the matrices on the edgeswthat admissible families fix up toedgeCharProd, that vanishes unless the vertical edges carry split injective matrices, and whose values are sums of at mostNroots of unity.New.AreMatched: matched functions,Φ(x_γ) = χ(det γ) Ψ(y_γ)with both supported on such matrices,y_γbeing the first columns ofγandx_γthe last rows ofγ⁻¹. The subring argument, here⊤, is where the entries ofγandγ⁻¹lie.New.Exchange.matchOfis the match of a function.New.Exchange.SquareLawwith constantC, for functionsLandL'on matrices over a finite ring:∑ Ψ L' = C ∑ Φ Lfor all matchedΦ,Ψ.
Declarations
lemma exists_transfersPeriods_off_diagonal (z : Bool) (hab : a < b) (hb : b < D.m) : ∃ c : D.MFoldTwist → ℂˣ, D.HasAbsUpToNormPower (fun ϑ : D.MFoldTwist ↦ c ϑ) (if z then D.turnRatio b a else D.turnRatio a b) ∧ ∀ (Γ' : TwoGridPath D.m) (q : GridPath 0 D.m a (b + 1)) (r : GridPath (a + 1) b Γ'.diagonalIndex Γ'.diagonalIndex), Γ'.half z = q.down.right.append r → TransfersPeriods Γ' ⟨Γ'.diagonalIndex, update Γ'.half z (q.right.down.append r)⟩ 1 c
Import route to Main
New.Determinant.AuxiliaryForms.Turns → New.Determinant.AuxiliaryForms.DiagonalTurns (pinned import) → New.Determinant.AuxiliaryForms.SpanningForms (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)