riemannHypothesistheoremMain.lean:4
theorem riemannHypothesis : RiemannHypothesis
¶RH from the half-plane statement for every character · L0 endpoints · chapter 1 · 46 steps folded
rhOfAlltheoremKernels/MainTheorems.lean:9
theorem rhOfAll : RiemannHypothesis
¶RH follows from: no zeros right of the line · L1 analytic bridge · chapter 5 · 1 step folded
Formalism.VW.rh_of_everytheoremGammaFactorNonvanishing/CritLine.lean:29
theorem Formalism.VW.rh_of_every (h : UpperTheory.EveryCharacter) : RiemannHypothesis
Full declaration with proof
theorem Formalism.VW.rh_of_every (h : UpperTheory.EveryCharacter) : RiemannHypothesis :=
Formalism.VW.rh_of_right fun s hs hs1 => by
have := h 1 (1 : DirichletCharacter ℂ 1) s hs (Or.inr hs1)
rwa [LFunction_modOne_eq] at this¶Reflection: zeros left of the line are mirror images · L1 analytic bridge · chapter 5
Formalism.VW.rh_of_righttheoremGammaFactorNonvanishing/RhOfRight.lean:5
theorem Formalism.VW.rh_of_right (hz : ∀ s : ℂ, 1 / 2 < s.re → s ≠ 1 → riemannZeta s ≠ 0) : RiemannHypothesis
Full declaration with proof
theorem Formalism.VW.rh_of_right (hz : ∀ s : ℂ, 1 / 2 < s.re → s ≠ 1 → riemannZeta s ≠ 0) : RiemannHypothesis := by
unfold RiemannHypothesis
intro s hs htriv hs1
rcases lt_trichotomy s.re (1 / 2) with hlt | heq | hgt
· exfalso
have hpi : (Real.pi : ℂ) ≠ 0 := by exact_mod_cast Real.pi_ne_zero
have hs0 : s ≠ 0 := by
rintro rfl
rw [riemannZeta_zero] at hs
norm_num at hs
have ht : 1 / 2 < (1 - s).re := by
rw [Complex.sub_re, Complex.one_re]
linarith
have h1 : (1 - s) ≠ 1 := by
intro h
apply hs0
linear_combination -h
have hnat : ∀ n : ℕ, (1 - s) ≠ -(n : ℂ) := by
intro n h
have hr := congrArg Complex.re h
rw [Complex.sub_re, Complex.one_re, Complex.neg_re, Complex.natCast_re] at hr
have : (0 : ℝ) ≤ n := n.cast_nonneg
linarith
have key := riemannZeta_one_sub hnat h1
rw [sub_sub_cancel, hs] at key
have hz' := hz (1 - s) ht h1
have h2pi : (2 : ℂ) * (2 * (Real.pi : ℂ)) ^ (-(1 - s)) ≠ 0 :=
mul_ne_zero two_ne_zero (Complex.cpow_ne_zero_iff.2 (Or.inl (mul_ne_zero two_ne_zero hpi)))
have hG : Complex.Gamma (1 - s) ≠ 0 := Complex.Gamma_ne_zero_of_re_pos (by linarith)
have hcos : Complex.cos ((Real.pi : ℂ) * (1 - s) / 2) ≠ 0 := by
rw [Ne, Complex.cos_eq_zero_iff]
rintro ⟨k, hk⟩
have h3 : ((1 - s) - (2 * (k : ℂ) + 1)) * (Real.pi : ℂ) = 0 := by
linear_combination 2 * hk
rcases mul_eq_zero.1 h3 with h | h
· have hsk : s = -2 * (k : ℂ) := by linear_combination -h
have hre : s.re = -2 * (k : ℝ) := by
rw [hsk, Complex.mul_re]
simp
rcases lt_trichotomy k 0 with hk0 | hk0 | hk0
· have : (k : ℝ) ≤ -1 := by exact_mod_cast (show k ≤ -1 by omega)
linarith
· apply hs0
rw [hsk, hk0]
simp
· apply htriv
refine ⟨(k - 1).toNat, ?_⟩
have hnk : ((k - 1).toNat : ℤ) = k - 1 := Int.toNat_of_nonneg (by omega)
have h' : (((k - 1).toNat : ℕ) : ℂ) = (k : ℂ) - 1 := by
have := congrArg (fun m : ℤ => (m : ℂ)) hnk
push_cast at this
exact this
rw [hsk, h']
ring
· exact hpi h
exact (mul_ne_zero (mul_ne_zero (mul_ne_zero h2pi hG) hcos) hz') key.symm
· exact heq
· exact absurd hs (hz s hgt hs1)¶Every Dirichlet -function has no zero with · L0 endpoints · chapter 6 · 43 steps folded
allChitheoremKernels/MainTheorems.lean:7
theorem allChi : UpperTheory.EveryCharacter
¶Every character, from the Galois row · L2 reduction to one inequality · chapter 6 · 42 steps folded
UpperTheory.FinalTheorems.everyCharactertheoremCharacterBoxes/MainConclusion.lean:10
theorem UpperTheory.FinalTheorems.everyCharacter : UpperTheory.EveryCharacter
Full declaration with proof
theorem UpperTheory.FinalTheorems.everyCharacter : UpperTheory.EveryCharacter := UpperTheory.FinalTheorems.everyCharacter_of_row UpperTheory.Gal.Int.galoisLocalGlobalStrong_recParameter
¶From a Galois row to every character · L2 reduction to one inequality · chapter 6 · 41 steps folded
UpperTheory.FinalTheorems.everyCharacter_of_rowtheoremCharacterBoxes/MainConclusion.lean:7
theorem UpperTheory.FinalTheorems.everyCharacter_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.EveryCharacter
Full declaration with proof
theorem UpperTheory.FinalTheorems.everyCharacter_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.EveryCharacter := UpperTheory.LiteratureTheorems.every_character_of_literature_of_vWin ⟨h, UpperTheory.Zero.LLC.recTExists, h⟩ (UpperTheory.One.vwin_of_row h)
¶Literature theorems + window ⇒ every character · L2 reduction to one inequality · chapter 6 · 35 steps folded
UpperTheory.LiteratureTheorems.every_character_of_literature_of_vWintheoremThirdPlaceSeries/EveryCharacterOfLiteratureOfVWin.lean:810
theorem UpperTheory.LiteratureTheorems.every_character_of_literature_of_vWin (O : _root_.UpperTheory.LiteratureTheorems.OpenLiteratureStatements) (hV : UpperTheory.Top.VWin) : UpperTheory.EveryCharacter
Full declaration with proof
theorem UpperTheory.LiteratureTheorems.every_character_of_literature_of_vWin (O : _root_.UpperTheory.LiteratureTheorems.OpenLiteratureStatements) (hV : UpperTheory.Top.VWin) : UpperTheory.EveryCharacter :=
_root_.UpperTheory.Lit.every_character_of_theta_integrals_local_matching (_root_.UpperTheory.LiteratureTheorems.published_results_eigen O) (_root_.UpperTheory.LiteratureTheorems.published_results_first O) (_root_.UpperTheory.LiteratureTheorems.theta_integrals_agree_and_local_matching_of_literature O).1 (_root_.UpperTheory.LiteratureTheorems.theta_integrals_agree_and_local_matching_of_literature O).2
(_root_.SelfIntersectionVolumeEstimates.topCovolSlim2_use_alt_alt (_root_.UpperTheory.LiteratureTheorems.resolution_char_zero_of_literature O) (_root_.UpperTheory.LiteratureTheorems.principalisation_char_zero_of_literature O) (_root_.UpperTheory.LiteratureTheorems.poincare_lelong_inv_of_literature O) PositivityTheory.Pf1.HilbertSamuelMoriwaki.hsUse_outright PositivityTheory.Pf1.HilbertSamuelMoriwaki.moriwakiBig_outright (_root_.UpperTheory.LiteratureTheorems.fargues_exact_of_literature O) (_root_.UpperTheory.LiteratureTheorems.zarhin_statement O) (_root_.UpperTheory.LiteratureTheorems.nef_rr_of_literature O) (_root_.UpperTheory.LiteratureTheorems.siegel_toroidal_integral_of_literature O) (_root_.UpperTheory.LiteratureTheorems.toroidal_for_fan_ks_of_literature O) (_root_.UpperTheory.LiteratureTheorems.semi_abelian_lie_seminegative_of_literature O) (_root_.UpperTheory.LiteratureTheorems.point_separation_pair_of_literature O) (_root_.UpperTheory.LiteratureTheorems.ar_degree_of_literature O) (_root_.UpperTheory.LiteratureTheorems.published_results_arithmetic O) (_root_.UpperTheory.LiteratureTheorems.grothendieck_deformation_of_literature O))
(_root_.UpperTheory.LiteratureTheorems.local_langlands_gl_recT_exists_of_literature O) hV¶Conductor descent closes the loop · L2 reduction to one inequality · chapter 5 · 34 steps folded
UpperTheory.Top.plugAlltheoremCharacterBoxes/EveryCharacter.lean:16
theorem UpperTheory.Top.plugAll (hG : GlobalTheory.GLq.Green) (hV : UpperTheory.Top.VWin) (h : Nonempty (Hyps (fun 𝒞 => Closed 𝒞 fun Fm _ => LinkN Fm) DRS)) : UpperTheory.EveryCharacter
Full declaration with proof
theorem UpperTheory.Top.plugAll (hG : GlobalTheory.GLq.Green) (hV : UpperTheory.Top.VWin)
(h : Nonempty (Hyps (fun 𝒞 => Closed 𝒞 fun Fm _ => LinkN Fm) DRS)) : UpperTheory.EveryCharacter :=
UpperTheory.Top.imprimitive (UpperTheory.Top.plugWin hG hV h)¶Imprimitive characters reduce to primitive ones · L1 analytic bridge · chapter 5
UpperTheory.Top.imprimitivetheoremCharacterBoxes/Imprimitive.lean:5
theorem UpperTheory.Top.imprimitive : ZeroFreeAll → ∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N) (s : ℂ), 1 / 2 < s.re → (χ ≠ 1 ∨ s ≠ 1) → DirichletCharacter.LFunction χ s ≠ 0
Full declaration with proof
theorem UpperTheory.Top.imprimitive :
ZeroFreeAll → ∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N) (s : ℂ), 1 / 2 < s.re → (χ ≠ 1 ∨ s ≠ 1) →
DirichletCharacter.LFunction χ s ≠ 0 := by
intro h N _ χ s hs hχs
haveI : NeZero χ.conductor := (PChar.of χ).ne
have hL : DirichletCharacter.LFunction χ.primitiveCharacter s ≠ 0 := h (PChar.of χ) trivial s hs
have hχ' : χ.primitiveCharacter ≠ 1 ∨ s ≠ 1 := by
rcases hχs with hχ | hs1
· left
intro h1
apply hχ
rw [← χ.changeLevel_primitiveCharacter, h1, DirichletCharacter.changeLevel_one]
· exact Or.inr hs1
have hrw := DirichletCharacter.LFunction_changeLevel χ.conductor_dvd_level χ.primitiveCharacter hχ'
rw [χ.changeLevel_primitiveCharacter] at hrw
rw [hrw]
refine mul_ne_zero hL (Finset.prod_ne_zero_iff.mpr fun p hp => ?_)
have hp' := Nat.prime_of_mem_primeFactors hp
intro h0
have key : χ.primitiveCharacter p * (p : ℂ) ^ (-s) = 1 := by linear_combination -h0
have h1 : ‖χ.primitiveCharacter (p : ZMod χ.conductor)‖ ≤ 1 := DirichletCharacter.norm_le_one _ _
have h2 : ‖(p : ℂ) ^ (-s)‖ < 1 := by
rw [Complex.norm_natCast_cpow_of_pos hp'.pos, Complex.neg_re]
exact Real.rpow_lt_one_of_one_lt_of_neg (by exact_mod_cast hp'.one_lt) (by linarith)
have hn : ‖χ.primitiveCharacter p * (p : ℂ) ^ (-s)‖ < 1 := by
rw [norm_mul]
calc ‖χ.primitiveCharacter (p : ZMod χ.conductor)‖ * ‖(p : ℂ) ^ (-s)‖
≤ 1 * ‖(p : ℂ) ^ (-s)‖ := by gcongr
_ < 1 := by simpa using h2
rw [key, norm_one] at hn
exact lt_irrefl _ hn¶Green, the cohomological window and the links give ZeroFreeAll · L2 reduction to one inequality · chapter 12 · 32 steps folded
UpperTheory.Top.plugWintheoremCharacterBoxes/EveryCharacter.lean:8
theorem UpperTheory.Top.plugWin (hG : GlobalTheory.GLq.Green) (hV : UpperTheory.Top.VWin) (h : Nonempty (Hyps (fun 𝒞 => Closed 𝒞 fun Fm _ => LinkN Fm) DRS)) : Formalism.HC.ZeroFreeAll
Full declaration with proof
theorem UpperTheory.Top.plugWin (hG : GlobalTheory.GLq.Green) (hV : UpperTheory.Top.VWin)
(h : Nonempty (Hyps (fun 𝒞 => Closed 𝒞 fun Fm _ => LinkN Fm) DRS)) : Formalism.HC.ZeroFreeAll :=
h.elim fun h => UpperTheory.Top.zeroFreeAll_of_topG (la := 3 / 2) (by norm_num)
(GlobalTheory.Fc.shape_of _ _ _ _ (UpperTheory.Top.shapeWin hG) trivial trivial h) fun ψ => UpperTheory.Top.supplyChi ψ (hV ψ)¶The window criterion applied to the family · L2 reduction to one inequality · chapter 6 · 17 steps folded
UpperTheory.Top.zeroFreeAll_of_topGtheoremCharacterBoxes/ZeroFreeAllOfTopG.lean:26
theorem zeroFreeAll_of_topG {la : ℝ} (hla : 1 < la) (h : TopG) (hS : ∀ ψ : PChar, HostExW la (GChi ψ).req) : ZeroFreeAll
Full declaration with proof
theorem zeroFreeAll_of_topG {la : ℝ} (hla : 1 < la) (h : TopG) (hS : ∀ ψ : PChar, HostExW la (GChi ψ).req) : ZeroFreeAll := by
have key : ZeroFreeOn fun _ => True :=
zeroFreeOn_of_tiedWin_cyc (Fam := FamP) (core := fun Fm => Fm.toFamCore) (Tied := fun Fm => ChainTied Fm) hla
(fun ψ _ => UpperTheory.Comparison₂.level_gm_le_on_family_scales _) (fun ψ _ => UpperTheory.Comparison₂.formB _) fun ψ _ => by
obtain ⟨eD, eL, ε₁, h1, h2⟩ := h la (GChi ψ) hla (hS ψ) (hypV_of_cls ψ la)
refine ⟨eD, eL, ε₁, h1, fun eps a b => ?_⟩
obtain ⟨Fm, c, d⟩ := h2 eps a b
exact ⟨Fm, eFamC_of_cls ψ la Fm c, c.1, d⟩
exact key¶A one-sided bound on windows excludes zeros · L1 analytic bridge · chapter 4 · 2 steps folded
Deduction.zeroFree_of_rpow_windowtheoremLandauTheorems/ZeroFreeOfRpowWindow.lean:11
theorem zeroFree_of_rpow_window (F : CharFamily) {θ δ C : ℝ} (hθ : 0 < θ) (hθ1 : θ < 1) (hδ : 0 < δ) (h : ∀ Y₀ : ℝ, ∃ Y : ℝ, Y₀ ≤ Y ∧ ∀ y ∈ Set.Icc Y (Y ^ (1 + δ)), Gm F y ≤ C * y ^ θ) : ZeroFree F θ
Full declaration with proof
theorem zeroFree_of_rpow_window (F : CharFamily) {θ δ C : ℝ} (hθ : 0 < θ) (hθ1 : θ < 1) (hδ : 0 < δ)
(h : ∀ Y₀ : ℝ, ∃ Y : ℝ, Y₀ ≤ Y ∧ ∀ y ∈ Set.Icc Y (Y ^ (1 + δ)), Gm F y ≤ C * y ^ θ) :
ZeroFree F θ :=
lemmaL F hθ hθ1 hδ (windowHyp_of_rpow F hδ h)¶Landau's lemma on an interval (the window lemma) · L1 analytic bridge · chapter 4 · 1 step folded
Deduction.landau_windowtheoremLandauTheorems/landauWindow.lean:83
theorem landau_window {g : ℝ → ℝ} {Φ : ℂ → ℂ} {Z : Set ℂ} (hP : PoleData g Φ Z) {θ δ : ℝ} (hθ : 0 < θ) (hθ1 : θ < 1) (hδ : 0 < δ) (hW : WindowHypU g θ δ) : ∀ ρ ∈ Z, ρ.re ≤ θ
Excerpt: the first 60 of 84 lines
theorem landau_window {g : ℝ → ℝ} {Φ : ℂ → ℂ} {Z : Set ℂ} (hP : PoleData g Φ Z) {θ δ : ℝ}
(hθ : 0 < θ) (hθ1 : θ < 1) (hδ : 0 < δ) (hW : WindowHypU g θ δ) : ∀ ρ ∈ Z, ρ.re ≤ θ := by
intro ρ₀ h₀
by_contra hρ₀
rw [not_le] at hρ₀
obtain ⟨σ, hσ, C, hkey⟩ := landau_window_key hP hθ hθ1 hδ hW
have hle : ∀ ρ ∈ Z, ρ.re < σ := fun ρ hρ => (landau_pole_re_le hP ρ hρ).trans_lt hσ
rcases landau_dichotomy hP.iso hle hθ (by linarith) h₀ hρ₀ with
⟨D, hD, hfree, ρ₁, h₁, hρ₁⟩ | ⟨β, hβZ, hβ, r, hr1, hr2, huniq⟩
· obtain ⟨γ, ρ, hρ, r, hr1, hr2, huniq⟩ := landau_nearest hP.iso hle (by linarith : D < σ) h₁ hρ₁
obtain ⟨c, hc, -, hp⟩ := hP.pole ρ hρ
set z : ℂ := (σ : ℂ) + γ * I with hz
have hzre : z.re = σ := by simp [hz]
have hne : ρ ≠ z := by
intro h
have := hle ρ hρ
rw [h, hzre] at this
exact lt_irrefl _ this
have hd : 0 < ‖z - ρ‖ := norm_pos_iff.2 (sub_ne_zero.2 hne.symm)
set d := ‖z - ρ‖ with hddef
have hball : ρ ∈ Metric.ball z r := by
rw [Metric.mem_ball, dist_comm, dist_eq_norm]; exact hr1
have hdiff : DifferentiableOn ℂ Φ (Metric.ball z r \ {ρ}) := by
refine hP.diff.mono ?_
rintro w ⟨hw, hw'⟩
exact ⟨landau_window_re_pos (by rw [hzre]; linarith) hw, fun hZ => hw' (huniq w hZ hw)⟩
have hdiff' : DifferentiableOn ℂ Φ (Metric.ball (σ : ℂ) D) := by
refine hP.diff.mono ?_
intro w hw
exact ⟨landau_window_re_pos (by rw [Complex.ofReal_re]; linarith) hw, fun hZ => hfree w hZ hw⟩
obtain ⟨M, hM⟩ := landau_pole_asym (r' := (d + r) / 2) hball hne hdiff hp (by linarith) (by linarith)
obtain ⟨M', hM'⟩ := landau_cauchy (r' := (d + r) / 2) hdiff' (by linarith) (by linarith)
refine landau_window_contra (c := ‖c‖ / d) (d := d) (e := (d + r) / 2) (E := σ - θ) (M := M + M') (C := C)
(div_pos (norm_pos_iff.2 hc) hd) hd (by linarith) (by linarith) fun η hη U₀ => ?_
obtain ⟨U, hU, k, hk, hb⟩ := hkey η hη U₀
refine ⟨U, hU, k, hk, ?_⟩
have h1 := hb γ
have h2 := hM k
have h3 := hM' k
have h4 : ‖c / (z - ρ) ^ (k + 1)‖ = ‖c‖ / d / d ^ k := by
rw [norm_div, norm_pow, pow_succ', div_div]
have h5 : ‖(-1) ^ k * iteratedDeriv k Φ (σ : ℂ) / (k.factorial : ℂ)‖
= ‖iteratedDeriv k Φ (σ : ℂ) / (k.factorial : ℂ)‖ := by
rw [mul_div_assoc, norm_mul, norm_pow, norm_neg, norm_one, one_pow, one_mul]
have h6 := (abs_le.mp (Complex.abs_re_le_norm
((-1) ^ k * iteratedDeriv k Φ (σ : ℂ) / (k.factorial : ℂ)))).1
have h7 := norm_sub_norm_le (c / (z - ρ) ^ (k + 1))
((-1) ^ k * iteratedDeriv k Φ z / (k.factorial : ℂ))
rw [norm_sub_rev] at h7
rw [add_div]
linarith
· obtain ⟨c, -, hc, hp⟩ := hP.pole β hβZ
obtain ⟨hc1, hc2⟩ := hc (Complex.ofReal_im β)
have hd : 0 < σ - β := by
have := hle β hβZ
rw [Complex.ofReal_re] at this
linarith
have hne : (β : ℂ) ≠ (σ : ℂ) := by
intro h
have : β = σ := by exact_mod_cast h
…The complete declaration runs to line 166 of Development/AutomorphicArithmetic/DedekindLFunctions/LandauTheorems/landauWindow.lean in the archive; the statement above is its full header.
¶The arithmetic input: a growth bound from theta lifts · L3 the heart: inequality (M) · chapter 6
UpperTheory.Top.TopGdefCharacterBoxes/ZeroFreeAllOfTopG.lean:12
def TopG : Prop
Full declaration with proof
def TopG : Prop :=
∀ (la : ℝ) (G : FReq), 1 < la → HostExW la G.req →
(∀ {eps : ℝ} (Fm : FamP eps), G.cls la Fm → HypV Fm.toFamCore) → FamilyClassConnected (G.cls la)¶The bound on (Estimates A, B, C assembled): the family statistic is at most (reached through the family-scale window inequality) · L2 reduction to one inequality · chapter 12 · 12 steps folded
UpperTheory.Comparison₂.core_gmtheoremPrimitiveCosets/CoreGm.lean:12
theorem UpperTheory.Comparison₂.core_gm : ∀ (Λ : Level) (eD eL K cHH eK C eps : ℝ), 0 < eps → ∃ x1 : ℝ, ∀ x ≥ x1, ∀ (φ : Frame) (H : HostAx φ) (TT : Finset φ.A), EAtH Λ H.toHostRaw TT x eps C → CoreAtH H.toHostRaw TT eD eL K cHH eK eps x → Λ.Gm x ≤ x ^ ((1 : ℝ) / 2 + (eD + eL + 7) * eps)
Excerpt: the first 60 of 63 lines
theorem UpperTheory.Comparison₂.core_gm :
∀ (Λ : Level) (eD eL K cHH eK C eps : ℝ), 0 < eps → ∃ x1 : ℝ, ∀ x ≥ x1, ∀ (φ : Frame) (H : HostAx φ) (TT : Finset φ.A),
EAtH Λ H.toHostRaw TT x eps C → CoreAtH H.toHostRaw TT eD eL K cHH eK eps x →
Λ.Gm x ≤ x ^ ((1 : ℝ) / 2 + (eD + eL + 7) * eps) := by
intro Λ eD eL K cHH eK C eps heps
have ho : (0 : ℝ) ≤ Λ.o := Nat.cast_nonneg _
have hc : |(3 * (Λ.o : ℝ) + 1)⁻¹| ≤ 1 := by
rw [abs_of_nonneg (by positivity)]
exact inv_le_one_of_one_le₀ (by linarith)
obtain ⟨x₁, hx₁⟩ := Deduction.ch_core (max (eD + eL) 0 + 3) eps C (koOf Λ) (3 * (Λ.o : ℝ) + 1)⁻¹ (4 * (Λ.o : ℝ))
(by positivity) heps hc
obtain ⟨x₂, hx₂⟩ := large_x_eventually eps K cHH eK heps
obtain ⟨x₃, hx₃⟩ := Filter.eventually_atTop.1
((tendsto_rpow_atTop heps).eventually_ge_atTop (1 + 4 * (Λ.o : ℝ)))
refine ⟨max x₁ (max x₂ x₃), fun x hx φ H TT hE hCore => ?_⟩
have g1 : x₁ ≤ x := le_trans (le_max_left _ _) hx
have g2 : x₂ ≤ x := le_trans (le_trans (le_max_left _ _) (le_max_right _ _)) hx
have g3 : x₃ ≤ x := le_trans (le_trans (le_max_right _ _) (le_max_right _ _)) hx
obtain ⟨U0, i0, tr, W, i4, i5, Top, i6, m, f, Dd, Cc, Xpp, ell, N, T2, a, w, eT, eP, η, X', θ,
hell, hxx, hε, heD, heL, hcHH, hcov, hId, hLed, hWin, hBN, hSz, hThin, hCost, hRest, hT2⟩ := hCore
subst hxx hε
have hLX := hx₂ _ g2
have hWin' := hWin
obtain ⟨⟨w1, w2, w3, w4, w5, w6, w7, w8, w9, w10, w11, w12, w13, w14, w15, w16, w17, w18, w19, w20, w21, w22,
w23, w24, w25, w26, w27, wC⟩, wEta⟩ := hWin'
obtain ⟨c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17⟩ := wC
have hLX' : LargeX Dd.x Dd.ε K Cc.cHH eK := by
refine ⟨hLX.1, le_trans ?_ hLX.2⟩
unfold KBig
exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (by linarith) (by positivity)) (by linarith)
have hb : 0 < Dd.b := by linarith
have hx0 : 0 < Dd.x := by linarith
have hk : 0 < Dd.k := by linarith
have ha : 0 ≤ Dd.a := le_trans (by positivity) w5
have hE0 : 0 ≤ eD + eL := by linarith
rw [max_eq_left hE0] at hx₁
have hBr : 0 ≤ errorBracketSizeWindows Dd.x Dd.ε (Fintype.card φ.A) TT.card T2.card m Dd.b Dd.k Dd.a := by
unfold errorBracketSizeWindows
positivity
have hExp : Dd.x ^ (CErr Cc * Dd.ε) ≤ Dd.x ^ ((eD + eL + 3) * Dd.ε) := by
refine Real.rpow_le_rpow_of_exponent_le w1 (mul_le_mul_of_nonneg_right ?_ w2.le)
unfold CErr
linarith
have hmain := hx₁ _ g1 φ.A m (arith H.toHostRaw) _ ell N TT T2 a w Dd.b Dd.b' Dd.k Dd.a η X' θ φ.A0
(keptA Λ H.toHostRaw) (hostFactsS φ H) hb ha hk w7 w8 hSz hThin hCost hRest hT2
(charsA Λ φ H TT _ _ C ell hx0 hE hell) (fun u hu => by
obtain ⟨v, rfl⟩ := hcov u hu
exact le_trans (Deduction.ch_top Dd tr Cc Xpp eK K _ ell N TT T2 a w eT eP hId hLed hWin hBN hLX' v)
(mul_le_mul_of_nonneg_right hExp hBr))
rw [gmA_eq Λ φ H TT _ _ C ell hE hell] at hmain
have hs := sigA_le Λ φ H TT _ _ C ell hx0 hE hell
have h1 : Dd.x ^ ((1 : ℝ) / 2 + Dd.ε) ≤ Dd.x ^ ((1 : ℝ) / 2 + (eD + eL + 3 + 3) * Dd.ε) :=
Real.rpow_le_rpow_of_exponent_le w1 (by nlinarith)
have h2 : Dd.x ^ ((1 : ℝ) / 2 + (eD + eL + 7) * Dd.ε)
= Dd.x ^ Dd.ε * Dd.x ^ ((1 : ℝ) / 2 + (eD + eL + 3 + 3) * Dd.ε) := by
rw [← Real.rpow_add hx0]
congr 1
ring
have h3 := mul_le_mul_of_nonneg_right (hx₃ _ g3)
(Real.rpow_nonneg hx0.le ((1 : ℝ) / 2 + (eD + eL + 3 + 3) * Dd.ε))
…The complete declaration runs to line 74 of Development/AutomorphicArithmetic/PrimitiveCosets/CoreGm.lean in the archive; the statement above is its full header.
¶At each translate, is at most the error bracket · L3 the heart: inequality (M) · chapter 11 · 9 steps folded
Deduction.ch_toptheoremLandauTheorems/ChTop.lean:37
theorem ch_top {H : Type} [AddCommGroup H] [Fintype H] [DecidableEq H] {U0 : Type} [Fintype U0] {W : U0 → Type} [∀ u0, Fintype (W u0)] [∀ u0, Nonempty (W u0)] {Top : Type} [Fintype Top] {m f : ℕ} (Dd : Data U0 W Top m f) (tr : U0 → H) (C : Consts) (Xpp eK K : ℝ) (D : ArithData H) (ell : AddChar (E0 × H) ℂ → ℂ) (N : ℕ) (TT T2 : Finset H) (a : H → ℝ) (w : H → Fin m → E0 × H → ℝ) (eT : Top ≃ TT) (eP : Fin f ≃ PhiSet (H
Full declaration with proof
theorem ch_top {H : Type} [AddCommGroup H] [Fintype H] [DecidableEq H] {U0 : Type} [Fintype U0] {W : U0 → Type} [∀ u0, Fintype (W u0)] [∀ u0, Nonempty (W u0)]
{Top : Type} [Fintype Top] {m f : ℕ} (Dd : Data U0 W Top m f) (tr : U0 → H) (C : Consts) (Xpp eK K : ℝ)
(D : ArithData H) (ell : AddChar (E0 × H) ℂ → ℂ) (N : ℕ) (TT T2 : Finset H) (a : H → ℝ)
(w : H → Fin m → E0 × H → ℝ) (eT : Top ≃ TT) (eP : Fin f ≃ PhiSet (H := H))
(h1 : IdentU Dd tr D N ell TT a w eT eP) (h2 : SizeData₂ Dd C Xpp) (h3 : ErrWindows Dd C Xpp eK K) (h4 : BNBoundsU Dd T2)
(h5 : LargeX Dd.x Dd.ε K C.cHH eK) (u : U0) :
gapA D N ell TT a w (tr u) ≤
Dd.x ^ (CErr C * Dd.ε) * errorBracketSizeWindows Dd.x Dd.ε (Fintype.card H) TT.card T2.card m Dd.b Dd.k Dd.a := by
have hmain := ch_top_main_eq Dd tr D N ell TT a w eT eP h1 u
have hask := h1.2.2.2.2 u
have hgap : gapA D N ell TT a w (tr u) = Dd.ASK u - Dd.Main u := by
rw [hask, hmain]
unfold gapA
rw [← Finset.sum_sub_distrib]
refine Finset.sum_congr rfl fun t _ => ?_
rw [← Finset.sum_sub_distrib]
obtain ⟨s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11⟩ := h2
have hle := each_unit_bound_statement Dd C Xpp s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 u
have herr := errX5at_le Dd C Xpp eK K h3 h5 u
have hnT : Dd.nT = (TT.card : ℝ) := by
unfold Data.nT
have := Fintype.card_congr eT
rw [Fintype.card_coe] at this
exact_mod_cast this
have htext : ErrText Dd ≤ errorBracketSizeWindows Dd.x Dd.ε (Fintype.card H) TT.card T2.card m Dd.b Dd.k Dd.a := by
unfold ErrText errorBracketSizeWindows
rw [hnT]
have hm : (0 : ℝ) ≤ m := Nat.cast_nonneg m
gcongr
· exact h4.1
· exact h4.2
have hpow : 0 ≤ Dd.x ^ (CErr C * Dd.ε) := Real.rpow_nonneg s1.1.le _
rw [hgap]
calc Dd.ASK u - Dd.Main u ≤ _ := by linarith
_ ≤ _ := herr
_ ≤ _ := mul_le_mul_of_nonneg_left htext hpow¶The comparison per translate, from the record of hypotheses · L3 the heart: inequality (M) · chapter 11 · 7 steps folded
Formalism.LFunctionChainParameters.WeightedSlopeBounds.each_unit_bound_statementtheoremChainSlopeWindows/LevelOfCongruence.lean:175
theorem each_unit_bound_statement {U0 : Type} [Fintype U0] {W : U0 → Type} [∀ u0, Fintype (W u0)] [∀ u0, Nonempty (W u0)] {Top : Type} [Fintype Top] {m f : ℕ} (D : Data U0 W Top m f) (C : Consts) (Xpp : ℝ) : PointwiseBoundVariant D C Xpp
Full declaration with proof
theorem each_unit_bound_statement {U0 : Type} [Fintype U0] {W : U0 → Type}
[∀ u0, Fintype (W u0)] [∀ u0, Nonempty (W u0)] {Top : Type} [Fintype Top] {m f : ℕ}
(D : Data U0 W Top m f) (C : Consts) (Xpp : ℝ) : PointwiseBoundVariant D C Xpp := by
intro hS hDIV hE hH hCount hSl hSN hLoss hSI hHH hFP u0
have hx : 0 < D.x := hS.1
have hdelBar : D.delBar < 1 := hS.2.2.2.2.2.2.2.2.2.2.2.2.2.1
have hcSl1 : 0 ≤ C.cSl1 := hS.2.2.2.2.2.2.2.2.2.2.2.2.1
have hinv0 : 0 ≤ (1 - D.delBar)⁻¹ := inv_nonneg.mpr (by linarith)
have hX : 0 < D.x ^ C.cHH := Real.rpow_pos_of_pos hx _
have hLX : 0 ≤ Real.log (1 + D.x ^ C.cHH) := Real.log_nonneg (by linarith)
have hc4 : 0 ≤ (1 - D.delBar)⁻¹ * (4 * Real.log (1 + D.x ^ C.cHH)) :=
mul_nonneg hinv0 (mul_nonneg (by norm_num) hLX)
have h1 := Ga_bound5 D C Xpp hS hDIV hE hH hCount hSl hSN hSI hHH hFP u0
have h2 := weighted_mean_lower_bound_le D C Xpp hS hCount u0
have hIO := mul_le_mul_of_nonneg_left (hLoss u0).2 hcSl1
have hML : wmean (D.d u0) (Lo5 D C Xpp u0) ≤ MLo5 D C Xpp := by
unfold MLo5; unfold K7v5 at h2; linarith
have h3 := mul_le_mul_of_nonneg_left hML hc4
have h4 := (hLoss u0).1
unfold Data.K3 at h1
unfold K0v5 Data.EDiv at h1
unfold ErrX5at UBar5
linarith¶The size inequality (input to the comparison) · L3 the heart: inequality (M) · chapter 13 · 2 steps folded
Formalism.RankGapBounds.WeightedMeanData.Data.DIVdefRankGapBounds/MeanBoundSecondForm.lean:118
def DIV : Prop
Full declaration with proof
def DIV : Prop :=
∀ u0 (u : W u0), D.muCC u0 + D.h u0 u - D.Fo u0 ≤
(∑ t, ((m : ℝ) * (ph (D.aT t) - D.aT t * D.logOm) - D.aT t * Real.log (D.T u0 u)))
+ C.cDiv * D.nT * D.a * D.La + C.cDiv * (m : ℝ) * (D.B0 + D.Nc) * D.x ^ (C.eDiv * D.ε)¶The period: Kronecker's limit formula (Chowla–Selberg) · L5 automorphic and Galois foundations · chapter 13
GlobalTheory.T.chowla_selberg_periodtheoremGeometryProofs/ChowlaSelbergPeriodStatement.lean:9
theorem _root_.GlobalTheory.T.chowla_selberg_period : ∀ (E : Type) [Field E] [NumberField E] [IsCMField E] (H : Host E) [NeZero H.d] (χ : DirichletCharacter ℂ H.d), IsKroneckerChar χ → ∀ ρ : ℂ, ρ ^ 2 = -(H.d : ℂ) → ∃ (Z : Curve0 H ρ) (x : ℝ), Z.z ≠ 0 ∧ Z.C.HasPeriod x ∧ (x : ℂ) = (Real.eulerMascheroniConstant + Real.log (2 * Real.pi / √H.d) : ℝ) - deriv χ.LFunction 1 / χ.LFunction 1
Full declaration with proof
theorem _root_.GlobalTheory.T.chowla_selberg_period : ∀ (E : Type) [Field E] [NumberField E] [IsCMField E] (H : Host E) [NeZero H.d] (χ : DirichletCharacter ℂ H.d), IsKroneckerChar χ → ∀ ρ : ℂ, ρ ^ 2 = -(H.d : ℂ) → ∃ (Z : Curve0 H ρ) (x : ℝ), Z.z ≠ 0 ∧ Z.C.HasPeriod x ∧ (x : ℂ) = (Real.eulerMascheroniConstant + Real.log (2 * Real.pi / √H.d) : ℝ) - deriv χ.LFunction 1 / χ.LFunction 1 := by first | exact @GlobalTheory.CompanionTheory.Ar.Fl.exists_curve0_hasPeriod | exact GlobalTheory.CompanionTheory.Ar.Fl.exists_curve0_hasPeriod | (intros; apply GlobalTheory.CompanionTheory.Ar.Fl.exists_curve0_hasPeriod <;> assumption)
¶Siegel's mass formula for consecutive ranks · L3 the heart: inequality (M) · chapter 13
Formalism.HermitianLattices.Ext.L3.siegelMassRatiotheoremUnimodularClassRepresentatives/SiegelMassRatioOfLI.lean:59
theorem siegelMassRatio : Formalism.HermitianLatticesTheory.SiegelMassRatio
¶The mean-slope inequality per translate (input to the comparison) · L3 the heart: inequality (M) · chapter 15 · 3 steps folded
Formalism.RankGapBounds.WeightedMeanData.Data.SlopeIneqdefRankGapBounds/MeanBoundSecondForm.lean:151
def SlopeIneq : Prop
Full declaration with proof
def SlopeIneq : Prop :=
∀ u0, 0 ≤ D.del u0 → D.del u0 < 1 → 0 ≤ D.η u0 → 0 ≤ D.e u0 → D.e u0 ≤ 1 / 4 →
D.s u0 - D.muMinCC u0 ≤ D.HH u0 → 0 < D.HH u0 →
D.s u0 - Real.log (Fintype.card (W u0) : ℝ)
- (1 - D.del u0)⁻¹ * (4 * D.uF u0 * Real.log (1 + D.HH u0 / D.uF u0)
+ (D.η u0 + 4 * Real.sqrt (D.e u0)) * D.HH u0) ≤ D.muCC u0¶Evenly spread images fill the target: the rank lemma · L3 the heart: inequality (M) · chapter 15
Formalism.HN.frame_linear_algebra_firsttheoremHarderNarasimhanProofs/FrameLinearAlgebraFirst.lean:77
theorem frame_linear_algebra_first : FrameLA1
Excerpt: the first 60 of 145 lines
theorem frame_linear_algebra_first : FrameLA1 := by
intro ι _ V _ _ _ H _ _ _ B c Nτ e η ε hc hd hK he0 he hη hQ hN
set W : Submodule ℂ H := (⨆ i, (Nτ i).map (B i))ᗮ with hW
have hwD : (finrank ℂ W : ℝ) ≤ (finrank ℂ H : ℝ) := by exact_mod_cast Submodule.finrank_le W
by_cases hD0 : finrank ℂ H = 0
· have h0 : finrank ℂ W = 0 := by have := Submodule.finrank_le W; omega
simp [h0, hD0]
have hD : 0 < (finrank ℂ H : ℝ) := by exact_mod_cast Nat.pos_of_ne_zero hD0
have hR : 0 < ∑ i, (finrank ℂ (V i) : ℝ) := by rw [← Nat.cast_sum]; exact_mod_cast hd
have hnk : ∀ i, (finrank ℂ (Nτ i) : ℝ) ≤ finrank ℂ (V i) := fun i => by
exact_mod_cast Submodule.finrank_le (Nτ i)
have hKnn : 0 ≤ ∑ i, ((finrank ℂ (V i) : ℝ) - finrank ℂ (Nτ i)) :=
Finset.sum_nonneg (fun i _ => sub_nonneg.mpr (hnk i))
have hε : 0 ≤ ε := by
by_contra h
push_neg at h
have : ε * ∑ i, (finrank ℂ (V i) : ℝ) < 0 := mul_neg_of_neg_of_pos h hR
linarith
have hfull : ∀ i, (finrank ℂ (V i) : ℝ) - √(finrank ℂ (V i) : ℝ) * √(hs2 (frK (c i) (B i) - LinearMap.id))
≤ c i * ∑ m, ‖B i (stdOrthonormalBasis ℂ (V i) m)‖ ^ 2 := by
intro i
have h := fam_bound (c i) (B i) (stdOrthonormalBasis ℂ (V i)).orthonormal
simp only [Fintype.card_fin] at h
have := (abs_le.mp h).1
linarith
have hCS1 : ∑ i, √(finrank ℂ (V i) : ℝ) * √(hs2 (frK (c i) (B i) - LinearMap.id))
≤ (∑ i, (finrank ℂ (V i) : ℝ)) * √e := by
calc _ ≤ √(∑ i, (finrank ℂ (V i) : ℝ)) * √(∑ i, hs2 (frK (c i) (B i) - LinearMap.id)) :=
Real.sum_sqrt_mul_sqrt_le Finset.univ (fun i => Nat.cast_nonneg _) (fun i => hs2_nonneg _)
_ ≤ √(∑ i, (finrank ℂ (V i) : ℝ)) * √(e * ∑ i, (finrank ℂ (V i) : ℝ)) :=
mul_le_mul_of_nonneg_left (Real.sqrt_le_sqrt hK) (Real.sqrt_nonneg _)
_ = (∑ i, (finrank ℂ (V i) : ℝ)) * √e := by
rw [Real.sqrt_mul he0]
have := Real.mul_self_sqrt hR.le
linear_combination √e * this
have ht : (∑ i, (finrank ℂ (V i) : ℝ)) * (1 - √e) ≤ (LinearMap.trace ℂ H (frQ c B)).re := by
rw [tQ_eq c B]
have h2 := Finset.sum_le_sum (fun i (_ : i ∈ Finset.univ) => hfull i)
rw [Finset.sum_sub_distrib] at h2
nlinarith [hCS1]
set b := stdOrthonormalBasis ℂ W with hb
set g : Fin (finrank ℂ W) → H := fun l => (b l : H) with hgdef
have hg : Orthonormal ℂ g := b.orthonormal.comp_linearIsometry W.subtypeₗᵢ
set tW : ℝ := ∑ l, (⟪g l, frQ c B (g l)⟫_ℂ).re with htWdef
have htW : tW = ∑ i, c i * ∑ l, ‖adjoint (B i) (g l)‖ ^ 2 := by
rw [htWdef]
simp only [re_inner_Q, Finset.mul_sum]
exact Finset.sum_comm
have hWi : ∀ i, c i * ∑ l, ‖adjoint (B i) (g l)‖ ^ 2 ≤
((finrank ℂ (V i) : ℝ) - finrank ℂ (Nτ i)) +
√((finrank ℂ (V i) : ℝ) - finrank ℂ (Nτ i)) * √(hs2 (frK (c i) (B i) - LinearMap.id)) := by
intro i
have hperp : ∀ l, ∀ n ∈ Nτ i, ⟪B i n, g l⟫_ℂ = 0 := by
intro l n hn
have hmem : B i n ∈ ⨆ j, (Nτ j).map (B j) :=
Submodule.mem_iSup_of_mem i (Submodule.mem_map_of_mem hn)
exact (Submodule.mem_orthogonal _ _).mp (b l).2 _ hmem
have h1 := W_upper (B i) (Nτ i) hg hperp
…The complete declaration runs to line 221 of Formalism/HarderNarasimhan/HarderNarasimhanProofs/FrameLinearAlgebraFirst.lean in the archive; the statement above is its full header.
¶The slope inequality with minimal and maximal sizes, over the field · L3 the heart: inequality (M) · chapter 14 · 1 step folded
Formalism.HN.sizeIneqtheoremHarderNarasimhan/ShiftInvariance.lean:57
theorem sizeIneq : SizeIneq
¶The elementary slope inequality for lattices · L3 the heart: inequality (M) · chapter 14
Formalism.F.slopeInequality_oftheoremLatticeSlopesProofs/SlopeInequality.lean:111
theorem slopeInequality_of (h : SlopeLeMuMax.{v}) : SlopeInequality.{u, v}
Excerpt: the first 60 of 81 lines
theorem slopeInequality_of (h : SlopeLeMuMax.{v}) : SlopeInequality.{u, v} := by
intro E F _ _ _ _ _ _ L M hL hM hne φ C hφ hC
classical
let g : L →ₗ[ℤ] F := M.subtype.comp φ
have ginj : Function.Injective g := M.injective_subtype.comp hφ
let N : Submodule ℤ F := LinearMap.range g
have hNM : N ≤ M := by
rintro _ ⟨x, rfl⟩
exact (φ x).2
haveI : DiscreteTopology L := hL
haveI : DiscreteTopology M := hM
haveI : DiscreteTopology N :=
DiscreteTopology.of_continuous_injective (continuous_inclusion hNM)
(Submodule.inclusion_injective hNM)
let e : L ≃ₗ[ℤ] N := LinearEquiv.ofInjective g ginj
obtain ⟨x, hxL, hx0⟩ := Submodule.exists_mem_ne_zero_of_ne_bot hne
have hφx : ((φ ⟨x, hxL⟩ : M) : F) ≠ 0 := by
intro h0
apply hx0
have h1 : φ ⟨x, hxL⟩ = φ 0 := by
rw [map_zero]
exact Subtype.ext h0
exact congrArg Subtype.val (hφ h1)
have hNne : N ≠ ⊥ := by
intro h0
apply hφx
have hmem : g ⟨x, hxL⟩ ∈ N := LinearMap.mem_range_self g _
rw [h0, Submodule.mem_bot] at hmem
exact hmem
have hCpos : 0 < C := by
have h1 : ‖((φ ⟨x, hxL⟩ : M) : F)‖ ≤ C * ‖x‖ := hC ⟨x, hxL⟩
have h2 : 0 < ‖((φ ⟨x, hxL⟩ : M) : F)‖ := norm_pos_iff.mpr hφx
have h3 : 0 < ‖x‖ := norm_pos_iff.mpr hx0
by_contra hc
push_neg at hc
nlinarith [mul_nonpos_of_nonpos_of_nonneg hc h3.le]
have h1 : slope N ≤ muMax M := h F M N hM hNM hNne
set r := Module.finrank ℤ L with hr_def
have hrkL : rk L = r := rfl
have hrkN : rk N = r := by
show Module.finrank ℤ N = Module.finrank ℤ L
exact e.finrank_eq.symm
haveI : Nontrivial L := Submodule.nontrivial_iff_ne_bot.mpr hne
have hrpos : 0 < r := Module.finrank_pos
let b := Module.finBasis ℤ L
have hcL : covol L = Real.sqrt (Matrix.gram ℝ (fun i => (b i : E))).det :=
covol_eq_gram E L (Fin r) b
have hcN : covol N = Real.sqrt (Matrix.gram ℝ (fun i => ((φ (b i) : M) : F))).det :=
covol_eq_gram F N (Fin r) (b.map e)
have hint : ∀ n : Fin r → ℤ,
‖∑ i, (n i : ℝ) • ((φ (b i) : M) : F)‖ ≤ C * ‖∑ i, (n i : ℝ) • (b i : E)‖ := by
intro n
have h2 := hC (∑ i, n i • b i)
simp only [map_sum, map_zsmul, Submodule.coe_sum, Submodule.coe_smul] at h2
simpa only [Int.cast_smul_eq_zsmul] using h2
have hreal := norm_sum_smul_le_of_int (fun i => (b i : E))
(fun i => ((φ (b i) : M) : F)) C hint
…The complete declaration runs to line 191 of Formalism/LatticeSlopes/LatticeSlopesProofs/SlopeInequality.lean in the archive; the statement above is its full header.
¶The exact identity · L3 the heart: inequality (M) · chapter 11
Formalism.LFunctionChainParameters.characterSumData.AskMainBalancedefSizeWindowBrackets/FirstPrimeNeSecondPrime.lean:98
def AskMainBalance : Prop
Full declaration with proof
def AskMainBalance : Prop :=
∀ (D : ArithData H), HostFacts D → ∀ (ell : AddChar (E0 × H) ℂ → ℂ) (a : ℝ) (t : H) (w : E0 × H → ℝ),
0 < a → (∀ ρ, InPhi ρ → 0 < w ρ) → ∀ N : ℕ, (∀ ρ, InPhi ρ → a / w ρ ≤ N) →
(ASK D N a t w : ℂ) - MAIN ell a w = De D ell a t w¶Estimate B: the auxiliary primes , exist · L2 reduction to one inequality · chapter 12
QH.pairExtheoremMeanSquareBounds/pairEx.lean:112
theorem pairEx : UpperTheory.Top.PairEx
Full declaration with proof
theorem pairEx :
UpperTheory.Top.PairEx := by
intro M hM eps A heps heps' hA
obtain ⟨C, hC, hpair⟩ := pair_exists
obtain ⟨Y₀, hY₀⟩ := hpair eps (eps / 2) A (8 * M) heps heps' (by linarith) hA (by omega)
obtain ⟨Y₁, hY₁⟩ := kappa4 eps 3 heps heps' (by norm_num)
refine ⟨max (max Y₀ Y₁) (Real.exp (1 + Real.log (8 * M))), fun Y hY => ?_⟩
have hYa : Y₀ ≤ Y := le_trans (le_trans (le_max_left _ _) (le_max_left _ _)) hY
have hYb : Y₁ ≤ Y := le_trans (le_trans (le_max_right _ _) (le_max_left _ _)) hY
have hYc : Real.exp (1 + Real.log (8 * M)) ≤ Y := le_trans (le_max_right _ _) hY
have hM1 : (1 : ℝ) ≤ M := by exact_mod_cast hM
have hlog8 : 0 ≤ Real.log (8 * M) := Real.log_nonneg (by linarith)
have hY1 : 1 ≤ Y := le_trans (Real.one_le_exp (by linarith)) hYc
have hz0 : 0 ≤ Y ^ (eps / 5) * Real.log Y ^ 2 := by
have := Real.log_nonneg hY1
positivity
have hA2 : 1 ≤ A ^ 2 := by nlinarith
obtain ⟨q, d, hR, hq, hQ, hD⟩ := hY₀ Y hYa (Y ^ A) (Y ^ (eps / 5) * Real.log Y ^ 2) le_rfl le_rfl
(le_mul_of_one_le_left hz0 hA2)
have hq2 : q ≠ 2 := by
intro h2
have hm := hR.q_mod
rw [h2] at hm
norm_num at hm
haveI : NeZero (8 * M) := ⟨by omega⟩
have hM8 : M ∣ 8 * M := Dvd.intro_left 8 rfl
refine ⟨q, d, ?_, ?_, ?_, ?_⟩
· refine ⟨hR.q_prime, hR.q_mod, hR.q_gt, hR.q_le, hR.d_prime, hR.d_mod, hR.d_gt, hR.d_le, ?_, ?_⟩
· exact Nat.dvd_of_mod_eq_zero (hR.d_class q hR.q_prime hq2 (Or.inr rfl))
· intro p hp hp2 hpl
exact Nat.dvd_of_mod_eq_zero (hR.d_class p hp hp2 (Or.inl hpl))
· have hqM : ¬ q ∣ M := fun h => by
have := Nat.le_of_dvd hM h
omega
have hdM : ¬ d ∣ M := fun h => by
have := Nat.le_of_dvd hM h
have := hR.q_lt_d
omega
exact Nat.Coprime.mul_right ((Nat.Prime.coprime_iff_not_dvd hR.q_prime).mpr hqM).symm
((Nat.Prime.coprime_iff_not_dvd hR.d_prime).mpr hdM).symm
· intro ξ i j hij N _ χ hI y hy1 hy2
have hB := pairEx_box M hM C (eps / 2) Y (Y ^ A) (Y ^ (eps / 5)) (Y ^ (eps / 5) * Real.log Y ^ 2) q d
hR hq hQ hD (fun a ↦ ξ a) (DirichletCharacter.changeLevel hM8 ξ)
(fun n hn => pairEx_lift hM8 ξ n hn) i j hij N χ hI
obtain ⟨hgood, _, hG⟩ := hB
have hne : χ ≠ 1 := hgood.1
constructor
· rw [pairEx_g χ hne]
exact hG y ⟨hy1, hy2⟩
· obtain ⟨hk1, hk2⟩ := log_exp_product_bounds M hM eps Y heps hYc (j : ℕ) (Nat.lt_succ_iff.mp j.isLt)
have hk := hY₁ Y hYb _ N χ hk1 hk2 hgood
have hlog : Real.log Y ≤ Real.log y := Real.log_le_log (by linarith) hy1
exact le_trans hk (by linarith)
· intro ρ hρ hρN i j hij N _ χ hI
have hB := pairEx_box M hM C (eps / 2) Y (Y ^ A) (Y ^ (eps / 5)) (Y ^ (eps / 5) * Real.log Y ^ 2) q d
hR hq hQ hD ρ.val (DirichletCharacter.changeLevel hρN ρ.χ)
(fun n hn => pairEx_lift hρN ρ.χ n hn) i j hij N χ hI
exact hB.1.2.2¶Estimate C: the large scale is negligible · L2 reduction to one inequality · chapter 12
QH.thinHtheoremMeanSquareBounds/GaussSumFunctionEq.lean:55
theorem thinH : UpperTheory.Top.ThinH
Full declaration with proof
theorem thinH :
UpperTheory.Top.ThinH := by
refine ⟨1, one_pos, fun B eps he he52 => ?_⟩
obtain ⟨c₀s, hc₀s, hsmall⟩ := small_zeros (8 * ⌊B⌋₊)
have hc₀ : 0 < min c₀s (1 / 400) := lt_min hc₀s (by norm_num)
obtain ⟨x₀, hx₀⟩ := thin eps 2 1 (min c₀s (1 / 400)) he two_pos one_pos hc₀
refine ⟨x₀, fun x hx φ H hB hlog hRB => ?_⟩
intro N _ χ hχ y hy
rw [gauss_sum_function_eq]
have hprim : χ.IsPrimitive := by
obtain ⟨θ, hθ⟩ := hχ
exact hθ.1
have hNd : N ∣ H.condN := level_dvd H χ hχ
have hNpos : 0 < N := Nat.pos_of_ne_zero (NeZero.ne N)
have hlogN : Real.log N ≤ 2 * x ^ (eps / 5) * Real.log x ^ 2 :=
(Real.log_le_log (by exact_mod_cast hNpos)
(by exact_mod_cast Nat.le_of_dvd H.condN_pos hNd)).trans hlog
refine hx₀ x hx N χ hprim hlogN ?_ y hy
intro h2 h1 β hβ hβ1
have hq : H.q.Prime := H.hyp.1
have hd : H.d.Prime := H.hyp.2.1
by_cases hqd : H.q ∣ N ∨ H.d ∣ N
· exact hRB (Formalism.HC.PChar.mk N χ hprim) hχ (isReal_of_sq χ h2) hqd β
(by have := min_le_right c₀s (1 / 400); linarith)
· push_neg at hqd
have hQ0 : H.QS ≠ 0 := (H.QS_pos).ne'
have hsplitQ := Nat.ordProj_mul_ordCompl_eq_self H.QS 2
have hprimes : ∀ p : ℕ, p.Prime → p ∣ N → p ∣ 8 * (H.QS / 2 ^ H.QS.factorization 2) ∨ p = H.q ∨ p = H.d := by
intro p hp hpN
have hpc : p ∣ H.QS * H.q * H.d := hpN.trans hNd
rcases (Nat.Prime.dvd_mul hp).1 hpc with h | h
· rcases (Nat.Prime.dvd_mul hp).1 h with h' | h'
· left
by_cases hp2 : p = 2
· subst hp2
exact Dvd.dvd.mul_right (by norm_num) _
· apply Dvd.dvd.mul_left
rw [← hsplitQ] at h'
have hcop : Nat.Coprime p (2 ^ H.QS.factorization 2) :=
Nat.Coprime.pow_right _ ((Nat.coprime_primes hp Nat.prime_two).2 hp2)
exact hcop.dvd_of_dvd_mul_left h'
· exact Or.inr (Or.inl ((Nat.prime_dvd_prime_iff_eq hp hq).1 h'))
· exact Or.inr (Or.inr ((Nat.prime_dvd_prime_iff_eq hp hd).1 h))
have hdiv := real_cond (8 * (H.QS / 2 ^ H.QS.factorization 2)) H.q H.d N χ hprim h2
(dvd_mul_right 8 _) hq hd hprimes
have hcq : Nat.Coprime N H.q := ((Nat.Prime.coprime_iff_not_dvd hq).2 hqd.1).symm
have hcd : Nat.Coprime N H.d := ((Nat.Prime.coprime_iff_not_dvd hd).2 hqd.2).symm
have hN0 : N ∣ 8 * (H.QS / 2 ^ H.QS.factorization 2) :=
hcq.dvd_of_dvd_mul_right (hcd.dvd_of_dvd_mul_right hdiv)
have hopos : 0 < H.QS / 2 ^ H.QS.factorization 2 := Nat.ordCompl_pos 2 hQ0
have hofl : H.QS / 2 ^ H.QS.factorization 2 ≤ ⌊B⌋₊ := Nat.le_floor hB
have hNle : N ≤ 8 * ⌊B⌋₊ := (Nat.le_of_dvd (by omega) hN0).trans (by omega)
exact hsmall N χ hNle h1 β (by have := min_le_left c₀s (1 / 400); linarith) hβ1¶TopG, proved from the links of the construction · L3 the heart: inequality (M) · chapter 12 · 6 steps folded
UpperTheory.Top.shapeWintheoremCharacterBoxes/ShapeWin.lean:27
theorem UpperTheory.Top.shapeWin : GlobalTheory.GLq.Green → GlobalTheory.Fc.TopShape True True (fun 𝒞 => Closed 𝒞 fun Fm _ => LinkN Fm) UpperTheory.Top.TopG
Full declaration with proof
theorem UpperTheory.Top.shapeWin : GlobalTheory.GLq.Green → GlobalTheory.Fc.TopShape True True (fun 𝒞 => Closed 𝒞 fun Fm _ => LinkN Fm) UpperTheory.Top.TopG := by
intro hGreen 𝒜 cT hEx sel hduty selS selP selDH selC selB hRB hTw hPA hLamP hDivG hDcPtG hTu hn4 hLit hVC hWu hRF hTF c30 hc30 sTy sNG sM sLp sO h30 hInstR selJ jOn hMt rRows aPt0 aPtTw aPer0 aPerTw aP10 aAtG aC2 hServ nR nRest cIc hcI irrC zL tie hU hG la G hla hH hV
have hgl := GlobalTheory.Top.link_gl 𝒜 hduty tie hU hG
have bRest := GlobalTheory.Top.link_brest 𝒜 sel selS selP selDH selC selB hRB hPA hDivG hDcPtG rRows tie
have hCsz : Closed (D3 3 𝒜) fun Fm _ => 0 ≤ Fm.Csz := Formalism.MainNotions.DIV.closed_Csz_ge_fn (D3 3 𝒜) fun _ => 0
have oneMap : Closed (D3 3 𝒜) fun Fm _ => ∀ hc : D3 3 𝒜 Fm, EvSel sel Fm (d3_a hc) ((OneMapOf selB) Fm (d3_a hc)) :=
Closed.of_class fun Fm _ _ hc => ⟨0, fun x hx h _ i j => (hRB Fm (d3_a hc) x hx h i).oneMap j⟩
have hA2 := GlobalTheory.Top.closed_family_admissible_twist_link 𝒜 sel aPt0 aPtTw aPer0 aPerTw aP10 aAtG hServ
have hC5 := GlobalTheory.Top.selection_closed_of_wu_decay 𝒜 sel selS selP selDH selC selB hWu hRF selJ jOn rRows
have hBR : Closed (D3 3 𝒜) fun Fm CH => ∀ hc : D3 3 𝒜 Fm, TuSize Fm → DGamSize Fm →
Formalism.L2.DIV.BridgeRowsK Fm (RkOf sel selS selP selDH selC (selKOf selB) (selIOf selB) hPA Fm hc) 2 CH :=
(bRest.and ((Closed.of_class fun Fm _ hc => cut_of_stable (hMt Fm (d3_a hc))).and (rRows.and (oneMap.and (hCsz.and (hA2.and (aC2.and hC5))))))).imp
fun Fm CH _ ⟨r, o, rr, om, cz, a, c, c5⟩ hc hT hD =>
(r hc hT hD).toRows (fun hN => GlobalTheory.Top.wire_sel 𝒜 sel selS selP selDH selC selB hTw hPA hDivG hDcPtG Fm hc CH cz hD (rr hc) (om hc) (r hc hT hD).bu hN) o a (complement_two_of_items c) c5
have hDIV := Formalism.L2.DIV.linkDIVt_closedK (D3 3 𝒜) 2 (RkOf sel selS selP selDH selC (selKOf selB) (selIOf selB) hPA) hBR
have hsub : ∀ {eps : ℝ} (Fm : FamP eps), WithTw (WithSm (WithChN fun Fm => 𝒜 Fm ∧ G.cls la Fm)) Fm →
WithTw (WithSm (WithChN 𝒜)) Fm := fun _ hc => ⟨⟨⟨hc.1.1.1.1, hc.1.1.2⟩, hc.1.2⟩, hc.2⟩
have hE := GlobalTheory.Top.link_ex (fun Fm => 𝒜 Fm ∧ G.cls la Fm) cT (fun hM => hEx hM la G hla hH) (fun Fm hc => sel Fm hc.1)
(fun Fm hc => hduty Fm hc.1) (Pk.Closed.sub hTu hsub) (Pk.Closed.sub hn4 hsub) hLit
exact UpperTheory.Top.topDesWin (WithChN 𝒜) (WithChN fun Fm => 𝒜 Fm ∧ G.cls la Fm) (G.cls la) 2 3 2 0 hE
(fun _ hc => ⟨hc.1.1, hc.2⟩) (fun _ hc => hc.1.2) hV nRest (GlobalTheory.Top.link_eta 𝒜 sel hduty)
(GlobalTheory.Top.Irr.link_irr hGreen 𝒜 sel cIc hcI irrC) (GlobalTheory.Top.smallLevelRankEq_closed_of_levelProjection_surjective 𝒜 sel selS selP selDH selC selB hPA hLamP hDivG zL) hDIV hgl.1 (GlobalTheory.Top.link_g 𝒜 sel hduty)
(GlobalTheory.Top.link_alt 𝒜 sel selS hWu hRF hTF c30 hc30 sTy sNG sM sLp sO h30 hInstR) hgl.2The arithmetic input: a growth bound from theta lifts · L3 the heart: inequality (M) · chapter 6
UpperTheory.Top.TopG (shown above)
¶The links a family must satisfy (quoted inputs) · L3 the heart: inequality (M) · chapter 15 · 4 steps folded
Formalism.MainNotions.GlobalTheoremInputsdefSharpRestriction/GlobalTheoremInputs.lean:158
def GlobalTheoremInputs {eps : ℝ} (Fm : FamP eps) (Cabs CH C0 : ℝ) : Prop
Full declaration with proof
def GlobalTheoremInputs {eps : ℝ} (Fm : FamP eps) (Cabs CH C0 : ℝ) : Prop :=
LinkG Fm ∧ LinkS Fm C0 ∧ LinkIRR Fm ∧ LinkDIV Fm Cabs CH ∧
LinkMu Fm¶The divisibility link: gains per prime minus losses · L3 the heart: inequality (M) · chapter 10 · 2 steps folded
Formalism.MainNotions.LinkGdefSharpRestriction/GlobalTheoremInputs.lean:138
def LinkG {eps : ℝ} (Fm : FamP eps) : Prop
Full declaration with proof
def LinkG {eps : ℝ} (Fm : FamP eps) : Prop :=
∃ (C x0 : ℝ) (δ : ℝ → ℝ), Filter.Tendsto δ Filter.atTop (nhds 0) ∧
∀ x ≥ x0, ∀ i : Fm.Ix x, LinkG_at (Fm.Gx x i) Fm.GK C ((Fm.L x i).sc.b ^ δ x)¶The factorial count with digit losses · L3 the heart: inequality (M) · chapter 10
Formalism.InvariantFactorPaths.G7.gainFactorialInequalitytheoremFrobeniusLiftNorms/ABArith.lean:103
theorem gainFactorialInequality : StarArith
Excerpt: the first 60 of 81 lines
theorem gainFactorialInequality : StarArith := by
intro S _ p r0 r1 TT al ls e a i E i0 i2 hp halT he ha hiE hiT hpi htot hi2
have hp1 : (1 : ℝ) < p := by exact_mod_cast hp.one_lt
have hp0 : (0 : ℝ) < p := by linarith
obtain ⟨-, hgam⟩ := Formalism.GrowthSums.oddPowerInvSumIdentity (p : ℝ) hp1
set c : ℝ := 1 / ((p : ℝ) - 1) with hc
have H1 : ∀ s, (al s : ℝ) * c - (r1 : ℝ) * lgN p (al s) ≤
∑ b, (padicValNat p (e s b).factorial : ℝ) := by
intro s
have h := sum_factorial_ge p hp univ (e s) (al s)
(fun x _ => by rw [← he s]; exact Finset.single_le_sum (fun _ _ => Nat.zero_le _) (mem_univ x))
rw [he s, card_univ, Fintype.card_fin] at h
rw [hc, mul_one_div]
exact h
have H3 : ∀ s, ((∑ x, a s x : ℕ) : ℝ) * c - (r0 : ℝ) * r1 * lgN p (ls s) ≤
∑ x, (padicValNat p (a s x).factorial : ℝ) := by
intro s
have h := sum_factorial_ge p hp univ (a s) (ls s)
(fun x _ => le_trans (Finset.single_le_sum (fun _ _ => Nat.zero_le _) (mem_univ x)) (ha s))
rw [card_univ, Fintype.card_prod, Fintype.card_fin, Fintype.card_fin, Nat.cast_mul] at h
rw [hc, mul_one_div]
exact h
have H2 : ∀ s, ((∑ e' ∈ E, i s e' : ℕ) : ℝ) * c - ((lgN p (al s) : ℝ)) ^ 2 ≤
∑ e' ∈ E, (padicValNat p (i s e').factorial : ℝ) := by
intro s
have h1 : ∑ e' ∈ E, ((i s e' : ℝ) / ((p : ℝ) - 1) - lgN p (i s e')) ≤
∑ e' ∈ E, (padicValNat p (i s e').factorial : ℝ) :=
Finset.sum_le_sum (fun e' _ => factorialValuationLowerBound p (i s e') hp)
have h2 : ((∑ e' ∈ E, lgN p (i s e') : ℕ) : ℝ) ≤ ((lgN p (al s) : ℝ)) ^ 2 := by
exact_mod_cast sum_lgN_le p hp.one_lt (al s) (i s) E (hpi s)
rw [Finset.sum_sub_distrib, ← Finset.sum_div] at h1
rw [Nat.cast_sum] at h2
rw [hc, mul_one_div, Nat.cast_sum]
linarith
have hlg0 : ∀ s, s ∉ TT → ((lgN p (al s) : ℝ)) ^ 2 = 0 := by
intro s hs
simp [lgN, halT s hs]
have hTT_lg : ∑ s ∈ TT, ((lgN p (al s) : ℝ)) ^ 2 = ∑ s, ((lgN p (al s) : ℝ)) ^ 2 :=
Finset.sum_subset (subset_univ _) (fun s _ hs => hlg0 s hs)
have hTT_al : ∑ s ∈ TT, (al s : ℝ) = ∑ s, (al s : ℝ) :=
Finset.sum_subset (subset_univ _) (fun s _ hs => by rw [halT s hs, Nat.cast_zero])
have hTT_i : ∑ s ∈ TT, ∑ e' ∈ E, (i s e' : ℝ) = ∑ s, ∑ e' ∈ E, (i s e' : ℝ) :=
Finset.sum_subset (subset_univ _) (fun s _ hs => by simp [hiT s hs])
have S1 := Finset.sum_le_sum (fun s (_ : s ∈ (univ : Finset S)) => H1 s)
have S2 := Finset.sum_le_sum (fun s (_ : s ∈ (univ : Finset S)) => H2 s)
have S3 := Finset.sum_le_sum (fun s (_ : s ∈ (univ : Finset S)) => H3 s)
rw [Finset.sum_sub_distrib, ← Finset.sum_mul] at S1 S2 S3
have htotR : (∑ s, ((∑ x, a s x : ℕ) : ℝ)) + ∑ s, ((∑ e' ∈ E, i s e' : ℕ) : ℝ) =
∑ s, (ls s : ℝ) := by
exact_mod_cast htot
have hiR : ∑ s, ((∑ e' ∈ E, i s e' : ℕ) : ℝ) = ∑ s, ∑ e' ∈ E, (i s e' : ℝ) := by
push_cast
rfl
have hi2R : (p : ℝ) * i2 ≤ ∑ s, (ls s : ℝ) := by exact_mod_cast hi2
have hL0 : (0 : ℝ) ≤ ∑ s, (ls s : ℝ) := Finset.sum_nonneg (fun _ _ => Nat.cast_nonneg _)
have hgp : 1 / (p : ℝ) ≤ gamP p := by
…The complete declaration runs to line 183 of Formalism/ThetaLogCoordinates/UniformThetaSubstitution/FrobeniusLiftNorms/ABArith.lean in the archive; the statement above is its full header.
¶The minor congruence · L3 the heart: inequality (M) · chapter 10
Formalism.MainNotions.ColumnSystems.Pf.key_pow_dvdtheoremCoarseMultiplicity/KeyMinorDvd.lean:11
theorem key_pow_dvd {A : Type} [CommRing A] (p : ℕ) (hp : p.Prime) (w : A) (hw : w ^ 2 = (p : A)) (k e : ℕ) (u v : Fin (k + 1) → A) (M N' N : Fin (k + 1) → Fin (k + 1) → A) (hMN : ∀ b a, ∃ T, M b a ^ (p ^ e) = N' b a + p * T) (hinv : ∀ b b', ∑ a, N' b a * N a b' = if b = b' then 1 else 0) (hu : ∀ b, b ≠ 0 → w ∣ u b) (hv0 : w ∣ v 0) : w ∣ ∑ a, (∑ b, u b * M b a) ^ (p ^ e) * (∑ b', v b' * N a b')
Full declaration with proof
theorem key_pow_dvd {A : Type} [CommRing A] (p : ℕ) (hp : p.Prime) (w : A) (hw : w ^ 2 = (p : A)) (k e : ℕ)
(u v : Fin (k + 1) → A) (M N' N : Fin (k + 1) → Fin (k + 1) → A)
(hMN : ∀ b a, ∃ T, M b a ^ (p ^ e) = N' b a + p * T)
(hinv : ∀ b b', ∑ a, N' b a * N a b' = if b = b' then 1 else 0)
(hu : ∀ b, b ≠ 0 → w ∣ u b) (hv0 : w ∣ v 0) :
w ∣ ∑ a, (∑ b, u b * M b a) ^ (p ^ e) * (∑ b', v b' * N a b') := by
apply (Ideal.Quotient.eq_zero_iff_dvd w _).mp
set φ := Ideal.Quotient.mk (Ideal.span {w}) with hφ
have hw0 : φ w = 0 := (Ideal.Quotient.eq_zero_iff_dvd w w).mpr dvd_rfl
have hp0 : φ (p : A) = 0 := by rw [← hw, map_pow, hw0, zero_pow two_ne_zero]
have hu0 : ∀ b, b ≠ 0 → φ (u b) = 0 := fun b hb => (Ideal.Quotient.eq_zero_iff_dvd w _).mpr (hu b hb)
have hv0' : φ (v 0) = 0 := (Ideal.Quotient.eq_zero_iff_dvd w _).mpr hv0
have hrow : ∀ a, φ (∑ b, u b * M b a) = φ (u 0) * φ (M 0 a) := by
intro a
have hz : ∀ i : Fin k, φ (u i.succ) = 0 := fun i => hu0 _ (Fin.succ_ne_zero _)
rw [map_sum, Fin.sum_univ_succ, map_mul]
simp [hz]
have hpow : ∀ a, φ (M 0 a) ^ (p ^ e) = φ (N' 0 a) := by
intro a
obtain ⟨T, hT⟩ := hMN 0 a
rw [← map_pow, hT, map_add, map_mul, hp0, zero_mul, add_zero]
have hδ : ∀ b', ∑ a, φ (N' 0 a) * φ (N a b') = if (0 : Fin (k + 1)) = b' then 1 else 0 := by
intro b'
have h := congrArg φ (hinv 0 b')
rw [map_sum] at h
simp_rw [map_mul] at h
rw [h]
split_ifs <;> simp
rw [map_sum]
simp_rw [map_mul, map_pow, hrow, mul_pow, hpow, map_sum, map_mul]
have e : ∑ a, φ (u 0) ^ (p ^ e) * φ (N' 0 a) * ∑ b', φ (v b') * φ (N a b') =
φ (u 0) ^ (p ^ e) * ∑ b', φ (v b') * ∑ a, φ (N' 0 a) * φ (N a b') := by
simp_rw [Finset.mul_sum]
rw [Finset.sum_comm]
refine Finset.sum_congr rfl fun b' _ => Finset.sum_congr rfl fun a _ => ?_
ring
rw [e]
simp_rw [hδ]
simp [hv0']¶The trace statement: Gram blocks of the family of maps · L5 automorphic and Galois foundations · chapter 15
Formalism.MainNotions.LinkS_atdefSharpRestriction/GlobalTheoremInputs.lean:145
def LinkS_at {D : D7} (L : SizeData₂ D) (C0 Gam eta0 eta1 e0 : ℝ) : Prop
Full declaration with proof
def LinkS_at {D : D7} (L : SizeData₂ D) (C0 Gam eta0 eta1 e0 : ℝ) : Prop :=
(∀ u, C0⁻¹ ≤ (D.duS u : ℝ) * Gam ^ 2 / D.what₂.Dstar ∧ (D.duS u : ℝ) * Gam ^ 2 / D.what₂.Dstar ≤ C0) →
(∀ u u', u ≠ u' → L.hsSq u u' ≤ (1 + eta0) * (D.duS u : ℝ) * (D.duS u' : ℝ) / D.what₂.Dstar) ∧
(∀ u, hsDiagFull D u ≤ e0 * (D.duS u : ℝ)) ∧ (D.what₂.Dall : ℝ) ≤ (1 + eta1) * D.what₂.Dstar¶Theorem G: the Galois-cohomology window · L4 denominators: Galois cohomology window · chapter 6 · 2 steps folded
UpperTheory.One.vwin_of_rowtheoremDenseThresholdCases/VwinOfRow.lean:4
theorem UpperTheory.One.vwin_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.Top.VWin
Full declaration with proof
theorem UpperTheory.One.vwin_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.Top.VWin := UpperTheory.One.Join.automorphic_window_of_inputs (UpperTheory.LiteratureTheorems.OpenImageCondition.mk h) UpperTheory.BaseChangeIdentities.baseChangeN h
¶VWin: denominators are bounded by · L4 denominators: Galois cohomology window · chapter 6
UpperTheory.Top.VWindefCharacterBoxes/ExistsPageN.lean:49
def VWin : Prop
¶Row0b: Galois representations attached to polarized cuspidal representations · L5 automorphic and Galois foundations · chapter 6
UpperTheory.GalStar.Row0bdefTypeConditions/WeightsConjBis.lean:69
def Row0b : Prop
Full declaration with proof
def Row0b : Prop :=
∀ (E Ω : Type) [Field E] [NumberField E] [IsCMField E] [Field Ω] [Algebra E Ω] [IsAlgClosure E Ω]
(l : ℕ) [Fact l.Prime] (ι : Qbar l ≃+* ℂ) (a : ℕ), 1 ≤ a →
∀ (π : CuspSub E a) (χ : HChar (maximalRealSubfield E)), (CG.mk π).IsRegAlg → GlobalTheory.ContraPair.PolarizedPair π χ →
∃ (r : G E Ω →* GL (Fin a) (Qbar l)) (wt : ℤ) (HT : (E →+* Qbar l) → Multiset ℤ), PropsB Rc π ι r wt HT¶Local Langlands parameters exist · L5 automorphic and Galois foundations · chapter 6
UpperTheory.Zero.LLC.recTExiststheoremLocalCentralUnits/RecTExists.lean:20
theorem UpperTheory.Zero.LLC.recTExists : UpperTheory.Zero.LLC.RecTExists
Full declaration with proof
theorem UpperTheory.Zero.LLC.recTExists :
UpperTheory.Zero.LLC.RecTExists := by
intro E Ω _ _ _ _ _ A w h
obtain ⟨a, ha, -⟩ := UpperTheory.Zero.LLC.artEx E Ω A w h
obtain ⟨r, hr⟩ := UpperTheory.Zero.LLC.cuspEx E Ω A w h a ha
obtain ⟨⟨rc, hrc⟩, hcu⟩ :=
GlobalTheory.LocLanglands.exists_isLExt UpperTheory.Zero.LLC.Pr.exh UpperTheory.Zero.LLC.Pr.multi E Ω A w h r
have hcusp : ∀ x : IrrGL (HeightOneSpectrum.adicCompletion E w), x.IsCusp → rc x = r x :=
hcu rc hrc
have hD := UpperTheory.Zero.LLC.extDim E Ω A w h a ha r rc hr hrc
have hT := UpperTheory.Zero.LLC.extTw E Ω A w h a ha r rc hr hrc
refine ⟨rc, a, ha, ?_⟩
refine
{ dim := fun x => (hD x).1.1
one := fun χ hχ => (hcusp _ (IrrGL.isCusp_ofChar χ hχ)).trans (hr.one χ hχ)
langlands := ?_
cusp := ?_
nu := hT.1
absCentral := fun x ω hω σ => ((hD x).2 ω hω σ).1
twist := ?_
central := fun x ω hg hω σ => ((hD x).2 ω hω σ).2 hg
dual := UpperTheory.Zero.LLC.extDual E Ω A w h a ha r rc hr hrc
inj := UpperTheory.Zero.LLC.extInj E Ω A w h a ha r rc hr hrc
depth := fun x hg hx => UpperTheory.Zero.LLC.extDepth E Ω A w h a ha r rc hr hrc x hg hx
type := ?_ }
· intro l x hl
rw [hrc l x hl]
unfold GlobalTheory.LocLanglands.segSum
congr 1
refine List.map_congr_left ?_
intro Δ _
rw [hcusp _ Δ.isCusp_first]
· intro x hx
rw [hcusp x hx]
exact hr.irr x hx
· intro x χ hχ hg
rw [hcusp _ (IrrGL.isCusp_ofChar χ hχ), hr.one χ hχ]
exact hT.2 x χ hχ hg
· refine (UpperTheory.Zero.LLC.typeIff E Ω A w h rc).2 ?_
intro x
unfold UpperTheory.Zero.LLC.TypeAt
intro g _ i hi n hn D R hR θ hθ τ hτ hN σ hσ hinf
have hx : x.IsCusp := by
subst hσ
exact IrrGL.isCusp_of.2 ⟨hn, DiscreteGroups.sglob.DzLc.isCuspidal_of_inflates i hi τ hτ σ hinf⟩
rw [hcusp x hx]
exact hr.type x hx g i hi n hn D R hR θ hθ τ hτ hN σ hσ hinfRow0b: Galois representations attached to polarized cuspidal representations · L5 automorphic and Galois foundations · chapter 6
UpperTheory.GalStar.Row0b (shown above)