Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.RepresentationTheory.Theta.Adelic.IntegralUnitaryFactorization |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.IntegralScalarFamily |
| 3 | |
| 4 | /-! # Local Integral Factorization -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace RepresentationTheory.Theta.Adelic.LocalIntegralFactorization |
| 11 | |
| 12 | /-! The actual integral quadratic order at a finite completion admits |
| 13 | uniform unitary open-cell factorization from the rational scalar family. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.QuadraticIntegralCoefficients |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.IntegralUnitaryFactorization OAI.RepresentationTheory.Theta.Adelic.IntegralScalarFamily.Family |
| 19 | |
| 20 | variable (F : Type) [Field F] [NumberField F] (d : F) (hns : ¬ IsSquare d) |
| 21 | variable (v : IsDedekindDomain.HeightOneSpectrum (𝓞 F)) |
| 22 | variable (hdv : Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v) d ∈ Weil.AdelicSplitting.Integral.Construction.localIntegerRing F (.inr v)) |
| 23 | variable (R N : ℕ) (hR : 2 * N < R) |
| 24 | variable (hz : IntegralScalarFamily.Family.IntegralScalarFamilyAt F d hns R (.inr v)) |
| 25 | |
| 26 | def LocalIntegralOpenCell (H : Matrix (Fin N) (Fin N) (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic F d (.inr v))) (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H) : Prop := |
| 27 | ∃ u : (Matrix (Fin N) (Fin N) (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic F d (.inr v)))ˣ, u.val = g.val.val - 1 ∧ |
| 28 | (∀ i j, u.val i j ∈ Weil.AdelicSplitting.Integral.Construction.quadraticOrder F d (.inr v)) ∧ |
| 29 | (∀ i j, u.inv i j ∈ Weil.AdelicSplitting.Integral.Construction.quadraticOrder F d (.inr v)) |
| 30 | |
| 31 | include hdv hR hz in |
| 32 | theorem local_integral_unitary_factorization |
| 33 | (H : Matrix (Fin N) (Fin N) (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic F d (.inr v))) (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H) |
| 34 | (hg : ∀ i j, g.val.val i j ∈ Weil.AdelicSplitting.Integral.Construction.quadraticOrder F d (.inr v)) : |
| 35 | ∃ a b : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H, g = a * b ∧ LocalIntegralOpenCell F d v N H a ∧ LocalIntegralOpenCell F d v N H b := by |
| 36 | let S := Weil.AdelicSplitting.Integral.Construction.localIntegerRing F (.inr v) |
| 37 | let : IsLocalRing S := inferInstanceAs (IsLocalRing (v.adicCompletionIntegers F)) |
| 38 | let dv := Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v) d |
| 39 | let T := QuadraticIntegralCoefficients.coefficientOrder S dv hdv |
| 40 | have he (x : Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic F d (.inr v)) : x ∈ Weil.AdelicSplitting.Integral.Construction.quadraticOrder F d (.inr v) ↔ x ∈ T := |
| 41 | QuadraticIntegralCoefficients.quadraticOrder_coefficients F d (.inr v) hdv x |
| 42 | obtain ⟨a, b, hab, ha, hb⟩ := IntegralUnitaryFactorization.integral_unitary_factorization S dv hdv H g |
| 43 | (fun i j => (he _).mp (hg i j)) (IntegralScalarFamily.Family.localScalarFamily F d hns R (.inr v)) |
| 44 | (IntegralScalarFamily.Family.localScalarFamily_unitary F d hns R (.inr v)) |
| 45 | (fun i => ⟨(he _).mp (hz.integral i).1, (he _).mp (hz.integral i).2⟩) |
| 46 | (fun i => by |
| 47 | obtain ⟨u, hu, hv, hi⟩ := hz.minus_one i |
| 48 | exact ⟨u, hu, (he _).mp hv, (he _).mp hi⟩) |
| 49 | (fun i j hij => by |
| 50 | obtain ⟨u, hu, hv, hi⟩ := hz.differences i j hij |
| 51 | exact ⟨u, hu, (he _).mp hv, (he _).mp hi⟩) |
| 52 | (by simpa only [Fintype.card_fin] using hR) |
| 53 | refine ⟨a, b, hab, ?_, ?_⟩ |
| 54 | · obtain ⟨u, hu, hv, hi⟩ := ha |
| 55 | exact ⟨u, hu, fun i j => (he _).mpr (hv i j), fun i j => (he _).mpr (hi i j)⟩ |
| 56 | · obtain ⟨u, hu, hv, hi⟩ := hb |
| 57 | exact ⟨u, hu, fun i j => (he _).mpr (hv i j), fun i j => (he _).mpr (hi i j)⟩ |
| 58 | |
| 59 | end RepresentationTheory.Theta.Adelic.LocalIntegralFactorization |
| 60 | |
| 61 | namespace RepresentationTheory.Theta.Adelic.LocalIntegralFactorization.OpenGeneration |
| 62 | |
| 63 | /-! A subgroup containing the integral open cell contains every |
| 64 | integral unitary element at a good finite place. -/ |
| 65 | |
| 66 | open scoped Classical _root_.NumberField |
| 67 | |
| 68 | open OAI.RepresentationTheory.Theta.Adelic.IntegralScalarFamily.Family OAI.RepresentationTheory.Theta.Adelic.LocalIntegralFactorization |
| 69 | |
| 70 | variable (F : Type) [Field F] [NumberField F] (d : F) (hns : ¬ IsSquare d) |
| 71 | variable (v : IsDedekindDomain.HeightOneSpectrum (𝓞 F)) |
| 72 | variable (hdv : Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v) d ∈ Weil.AdelicSplitting.Integral.Construction.localIntegerRing F (.inr v)) |
| 73 | variable (R N : ℕ) (hR : 2 * N < R) |
| 74 | variable (hz : IntegralScalarFamily.Family.IntegralScalarFamilyAt F d hns R (.inr v)) |
| 75 | |
| 76 | include hdv hR hz in |
| 77 | theorem integral_unitary_mem_of_open |
| 78 | (H : Matrix (Fin N) (Fin N) (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic F d (.inr v))) (U : Subgroup (Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H)) |
| 79 | (hU : ∀ g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H, LocalIntegralOpenCell F d v N H g → g ∈ U) |
| 80 | (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H) (hg : ∀ i j, g.val.val i j ∈ Weil.AdelicSplitting.Integral.Construction.quadraticOrder F d (.inr v)) : g ∈ U := by |
| 81 | obtain ⟨a, b, hab, ha, hb⟩ := local_integral_unitary_factorization F d hns v hdv R N hR hz H g hg |
| 82 | rw [hab] |
| 83 | exact U.mul_mem (hU a ha) (hU b hb) |
| 84 | |
| 85 | end RepresentationTheory.Theta.Adelic.LocalIntegralFactorization.OpenGeneration |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI |