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.Weil.AdelicSplitting.GraphReduction |
| 2 | |
| 3 | /-! # Compatibility Reduction -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.CompatibilityReduction.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Extension of the rational operator comparison from the two open cells. |
| 10 | No comparison identity is assumed in the definition of the locus below. -/ |
| 11 | |
| 12 | variable (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) |
| 13 | (n m : ℕ) (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 14 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 15 | (C : Characters.Construction.GlobalCharacters F d n m) (P : Assembly.Construction.GlobalFrames F d n m H K) |
| 16 | (D : Assembly.Construction.NormalizedLocalSplittings F d n m H K hd C P) |
| 17 | |
| 18 | def rationalUnitaryGraphMap : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val →* |
| 19 | Local.FunctionsMetaplectic.Construction.Symplectic F (n * m) × Vacuum.Construction.GlobalCover F (n * m) C.ψ := |
| 20 | (TensorSpace.Construction.dualPairSymplectic H.val K.val P.rational).prod |
| 21 | ((Assembly.Construction.constructedAdelicLift F d n m H K hd C P D).toMonoidHom.comp |
| 22 | (Integral.Construction.rationalPair F H.val K.val)) |
| 23 | |
| 24 | def rationalCompatibilityLocus : Subgroup (UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val) := |
| 25 | (Rational.Construction.rationalGraph F (n * m) C.ψ).comap (rationalUnitaryGraphMap F d hd n m H K C P D) |
| 26 | |
| 27 | theorem rationalCompatibilityLocus_eq_top_of_open_cells (hns : ¬ IsSquare d) |
| 28 | (hH : ∀ g : UnitaryBase.Construction.Unitary H.val, IsUnit (g.val.val - 1) → |
| 29 | (g, 1) ∈ rationalCompatibilityLocus F d hd n m H K C P D) |
| 30 | (hK : ∀ g : UnitaryBase.Construction.Unitary K.val, IsUnit (g.val.val - 1) → |
| 31 | (1, g) ∈ rationalCompatibilityLocus F d hd n m H K C P D) : |
| 32 | rationalCompatibilityLocus F d hd n m H K C P D = ⊤ := by |
| 33 | let R := rationalCompatibilityLocus F d hd n m H K C P D |
| 34 | have h₁ (g : UnitaryBase.Construction.Unitary H.val) : (g, 1) ∈ R := by |
| 35 | obtain ⟨a, b, rfl, ha, hb⟩ := UnitaryAlgebra.Construction.rational_unitary_open_factorization d hns H.val g |
| 36 | have h := R.mul_mem (hH a ha) (hH b hb) |
| 37 | simpa only [Prod.mk_mul_mk, one_mul] using h |
| 38 | have h₂ (g : UnitaryBase.Construction.Unitary K.val) : (1, g) ∈ R := by |
| 39 | obtain ⟨a, b, rfl, ha, hb⟩ := UnitaryAlgebra.Construction.rational_unitary_open_factorization d hns K.val g |
| 40 | have h := R.mul_mem (hK a ha) (hK b hb) |
| 41 | simpa only [Prod.mk_mul_mk, one_mul] using h |
| 42 | apply top_unique |
| 43 | intro g _ |
| 44 | have h := R.mul_mem (h₁ g.1) (h₂ g.2) |
| 45 | simpa only [Prod.mk_mul_mk, mul_one, one_mul, Prod.mk.eta] using h |
| 46 | |
| 47 | theorem rational_compatibility_of_graph_and_open_cells (hns : ¬ IsSquare d) |
| 48 | (r : Local.FunctionsMetaplectic.Construction.Symplectic F (n * m) →* Vacuum.Construction.GlobalCover F (n * m) C.ψ) |
| 49 | (hr : ∀ γ a, (γ, a) ∈ Rational.Construction.rationalGraph F (n * m) C.ψ ↔ r γ = a) |
| 50 | (hH : ∀ g : UnitaryBase.Construction.Unitary H.val, IsUnit (g.val.val - 1) → |
| 51 | (g, 1) ∈ rationalCompatibilityLocus F d hd n m H K C P D) |
| 52 | (hK : ∀ g : UnitaryBase.Construction.Unitary K.val, IsUnit (g.val.val - 1) → |
| 53 | (1, g) ∈ rationalCompatibilityLocus F d hd n m H K C P D) |
| 54 | (g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val) : |
| 55 | Assembly.Construction.constructedAdelicLift F d n m H K hd C P D (Integral.Construction.rationalPair F H.val K.val g) = |
| 56 | r (TensorSpace.Construction.dualPairSymplectic H.val K.val P.rational g) := by |
| 57 | have ht := rationalCompatibilityLocus_eq_top_of_open_cells F d hd n m H K C P D hns hH hK |
| 58 | have hg : g ∈ rationalCompatibilityLocus F d hd n m H K C P D := by rw [ht]; trivial |
| 59 | exact ((hr _ _).mp hg).symm |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.RepresentationTheory.Weil.AdelicSplitting.CompatibilityReduction.Construction |