RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Turning path data, and turns off the diagonal

New.Determinant.AuxiliaryForms.Turns.lean

Open interactive viewer Raw Lean source · Pinned source

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 from D.untwistedLiftChar j, of weight -D.liftWeight j, and the vertical edges, whose character carries a power of ϑ, go from Y^i_j to Y^i_(j+1) and from Ỹ^i_j to Ỹ^i_(j+1). The forms that move in the grid of the Y are conjugate forms.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

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 exchange New.Exchange.one_square_identity_of_isEdgeFamily on a square of a grid, with a constant κ / c ϑ whose denominator has, up to a power of the norm, the absolute value New.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 node Y^a_b if z = false and Ỹ^b_a if z = true. Its index set is D.NodeIndex, which is D.GridIndex z a b.
  • New.Data.EdgeTuple: a matrix over the residue ring modulo gridModulus ϑ for each pair of nodes. The modulus is that of the twist ϑ times a power of the product of the chosen places. A New.Data.NodeFamily is an invertible matrix g q for each node q; it takes the matrix S e on an edge e = (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 is g ⊕ 1 for its element g at (false, a, a).
  • New.Data.IsPathDatum N w: a function of the matrices on the edges w that admissible families fix up to edgeCharProd, that vanishes unless the vertical edges carry split injective matrices, and whose values are sums of at most N roots of unity.
  • New.AreMatched: matched functions, Φ(x_γ) = χ(det γ) Ψ(y_γ) with both supported on such matrices, y_γ being the first columns of γ and x_γ the last rows of γ⁻¹. The subring argument, here ⊤, is where the entries of γ and γ⁻¹ lie. New.Exchange.matchOf is the match of a function.
  • New.Exchange.SquareLaw with constant C, for functions L and L' on matrices over a finite ring: ∑ Ψ L' = C ∑ Φ L for all matched Φ, Ψ.

Pinned source lines

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)

X Reddit Email LinkedIn