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 | /- |
| 2 | Copyright (c) 2026 The AINTLIB contributors. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: AINTLIB ModularCurves project |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.SectionCover |
| 8 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.SectionExtension |
| 9 | |
| 10 | /-! # Chart Section Extension -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | variable {X : Scheme.{u}} {ι : Type v} (D : SectionCover.CoordinateSectionCover X ι) |
| 21 | |
| 22 | lemma SectionCover.CoordinateSectionCover.exists_coordinateChartExtension |
| 23 | (M : X.Modules) [M.IsQuasicoherent] |
| 24 | (i j : ι) (s : Γ(M, D.opens j)) : |
| 25 | ∃ (n : ℕ) (t : Γ(M, D.opens i)), |
| 26 | M.presheaf.map |
| 27 | (homOfLE (D.overlap_le_left i j)).op t = |
| 28 | X.presheaf.map |
| 29 | (homOfLE (D.overlap_le_left i j)).op |
| 30 | (D.ratio i j ^ n) • |
| 31 | M.presheaf.map |
| 32 | (homOfLE (D.overlap_le_right i j)).op s := by |
| 33 | let X := X |
| 34 | let U : X.affineOpens := |
| 35 | ⟨D.opens i, D.affine i⟩ |
| 36 | let f := D.ratio i j |
| 37 | have hV : X.basicOpen f = D.overlap i j := |
| 38 | D.basicOpen_ratio i j |
| 39 | let e : Γ(M, D.overlap i j) ≅ |
| 40 | Γ(M, X.basicOpen f) := |
| 41 | M.presheaf.mapIso (eqToIso hV).op |
| 42 | let r : Γ(M, X.basicOpen f) := |
| 43 | e.hom (M.presheaf.map |
| 44 | (homOfLE (D.overlap_le_right i j)).op s) |
| 45 | obtain ⟨n, t, ht⟩ := |
| 46 | AffineOpen.SectionExtension.affineOpen_quasicoherent_section_clear_denominator |
| 47 | M U f r |
| 48 | refine ⟨n, t, ?_⟩ |
| 49 | apply (ConcreteCategory.bijective_of_isIso e.hom).1 |
| 50 | have hleft : |
| 51 | e.hom |
| 52 | (M.presheaf.map |
| 53 | (homOfLE (D.overlap_le_left i j)).op t) = |
| 54 | M.presheaf.map (homOfLE (X.basicOpen_le f)).op t := by |
| 55 | simp only [e, Functor.mapIso_hom, ← M.presheaf.map_comp_apply] |
| 56 | exact ConcreteCategory.congr_hom |
| 57 | (M.presheaf.congr_map (Subsingleton.elim _ _)) _ |
| 58 | have hright : |
| 59 | e.hom |
| 60 | (X.presheaf.map |
| 61 | (homOfLE (D.overlap_le_left i j)).op |
| 62 | (D.ratio i j ^ n) • |
| 63 | M.presheaf.map |
| 64 | (homOfLE (D.overlap_le_right i j)).op s) = |
| 65 | X.presheaf.map (homOfLE (X.basicOpen_le f)).op (f ^ n) • r := by |
| 66 | have hmap := M.val.map_smul (eqToIso hV).op.hom |
| 67 | (X.presheaf.map |
| 68 | (homOfLE (D.overlap_le_left i j)).op |
| 69 | (D.ratio i j ^ n)) |
| 70 | (M.presheaf.map |
| 71 | (homOfLE (D.overlap_le_right i j)).op s) |
| 72 | refine hmap.trans ?_ |
| 73 | have hsection : |
| 74 | M.val.map (eqToIso hV).op.hom |
| 75 | (M.presheaf.map |
| 76 | (homOfLE (D.overlap_le_right i j)).op s) = |
| 77 | r := by |
| 78 | rfl |
| 79 | rw [hsection] |
| 80 | apply congrArg (fun a : Γ(X, X.basicOpen f) ↦ a • r) |
| 81 | change X.ringCatSheaf.obj.map (eqToIso hV).op.hom |
| 82 | (X.ringCatSheaf.obj.map |
| 83 | (homOfLE (D.overlap_le_left i j)).op |
| 84 | (f ^ n)) = |
| 85 | X.ringCatSheaf.obj.map (homOfLE (X.basicOpen_le f)).op (f ^ n) |
| 86 | have hcomp : |
| 87 | X.ringCatSheaf.obj.map |
| 88 | (homOfLE (D.overlap_le_left i j)).op ≫ |
| 89 | X.ringCatSheaf.obj.map (eqToIso hV).op.hom = |
| 90 | X.ringCatSheaf.obj.map (homOfLE (X.basicOpen_le f)).op := by |
| 91 | rw [← Functor.map_comp] |
| 92 | exact X.ringCatSheaf.obj.congr_map (Subsingleton.elim _ _) |
| 93 | exact ConcreteCategory.congr_hom hcomp (f ^ n) |
| 94 | exact hleft.trans (ht.trans hright.symm) |
| 95 | |
| 96 | /-- Over a finite standard coordinate cover, the chart extensions of a section may all be |
| 97 | chosen with one common coordinate-ratio exponent. -/ |
| 98 | lemma SectionCover.CoordinateSectionCover.exists_coordinateChartExtension_forall [Fintype ι] |
| 99 | (M : X.Modules) [M.IsQuasicoherent] |
| 100 | (j : ι) (s : Γ(M, D.opens j)) : |
| 101 | ∃ (n : ℕ) (t : ∀ i : ι, Γ(M, D.opens i)), ∀ i, |
| 102 | M.presheaf.map |
| 103 | (homOfLE (D.overlap_le_left i j)).op (t i) = |
| 104 | X.presheaf.map |
| 105 | (homOfLE (D.overlap_le_left i j)).op |
| 106 | (D.ratio i j ^ n) • |
| 107 | M.presheaf.map |
| 108 | (homOfLE (D.overlap_le_right i j)).op s := by |
| 109 | classical |
| 110 | choose n t ht using fun i ↦ SectionCover.CoordinateSectionCover.exists_coordinateChartExtension D M i j s |
| 111 | let N := Finset.univ.sup n |
| 112 | have hle (i : ι) : n i ≤ N := Finset.le_sup (Finset.mem_univ i) |
| 113 | refine ⟨N, fun i ↦ |
| 114 | D.ratio i j ^ (N - n i) • t i, |
| 115 | fun i ↦ ?_⟩ |
| 116 | rw [M.map_smul, ht i, ← mul_smul, ← map_mul, ← pow_add, |
| 117 | Nat.sub_add_cancel (hle i)] |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate |