RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Inserting a block into a parameter

New.UpperBound.Objects.InsertBlock.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

The parameters of all chains and grids of spaces are built in one way. There are a stem and a finite set C of centres, each with a length and a kind, down or up. For B ⊆ C the vector λ⁺_B consists of the stem and the blocks c + [l_c], c ∈ B, and the sign of an entry is −1 to the power of the number of centres outside B that are down and above it or up and below it. The parameter λ_B is λ⁺_B lowered by ½ or by 0, as the parity of the rank requires. Everything is at one infinite place, and entries are doubled.

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

Rest of upstream introduction

Rest of upstream introduction
  • New.CentreSystem, New.CentreSystem.IsSeparated, New.CentreSystem.IsParam: the data, the conditions on parities and distances, and the parameter λ_B on a space with these signs, up to a common sign σ.
  • New.CentreSystem.IsParam.isBlockRule_insert_of_down, New.CentreSystem.IsParam.isBlockRule_neg_insert_of_up: the parameters before and after the insertion of a block correspond (New.IsBlockRule): the parameters themselves for a down centre, their negatives for an up centre.

Notions from other files:

  • HCParam s: integer vectors l = 2λ indexed by the coordinates of a space with signs s.
  • HCParam.HasGap l h: the entries of λ are distinct and lie in (n − 1)/2 + ℤ, n the rank, and entries at coordinates of opposite signs are at least h apart.
  • centredBlock e d: the doubled entries of e + [d], where [d] = ((d−1)/2, (d−3)/2, …, (1−d)/2).
  • IsBlockRule γ γ' l l', for spaces of ranks n, n': both parameters have a large gap; after shifting λ by n'/2 − γ' and λ' by n/2 − γ, the longer one is the shorter one together with a block centred at 0; and the two coordinates of a common shifted entry have equal signs if the entry is positive and opposite signs if it is negative.

Pinned source lines

Declarations

  • theorem IsParam.isBlockRule_neg_insert_of_up {B' : Finset ι} (hl : X.IsParam B σ l)
        (hl' : X.IsParam B' σ l') (h_insert : B' = insert c B) (hX : X.IsSeparated h)
        (hB : B ⊆ X.centres) (hc : c ∈ X.centres) (hcB : c ∉ B)
        (h_gap : 500 * (card n + card n') ^ 3 ≤ h) (h_up : X.isUp c = true) :
        IsBlockRule (-X.centre c + ((card n : ℤ) + 1) / 2) (-X.centre c + ((card n' : ℤ) + 1) / 2)
          (-l) (-l')
    

Import route to Main

New.UpperBound.Objects.InsertBlock → New.UpperBound.Objects.Parameters (pinned import) → New.UpperBound.Objects.Rows (pinned import) → New.UpperBound.Objects.RowChain (pinned import) → New.UpperBound.Size.ArchimedeanSize (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