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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.AffineIntersections |
| 2 | |
| 3 | /-! # Arrows -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection.Arrows |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Inclusions among finite affine intersections form a finite diagram of open immersions. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] (X : Over (Spec (.of R))) [CompactSpace X.left] |
| 16 | |
| 17 | theorem finiteIntersectionOpen_antitone {S T : HilbertConstruction.Finite.AffineIntersections.finiteIntersectionIndex X} (h : S.val ⊆ T.val) : |
| 18 | HilbertConstruction.Finite.AffineIntersections.finiteIntersectionOpen X T ≤ HilbertConstruction.Finite.AffineIntersections.finiteIntersectionOpen X S := by |
| 19 | change (⨅ i : T.val, HilbertConstruction.Finite.AffineIntersections.finiteAffineChartOpen X i.val) ≤ ⨅ i : S.val, HilbertConstruction.Finite.AffineIntersections.finiteAffineChartOpen X i.val |
| 20 | apply le_iInf |
| 21 | intro i |
| 22 | exact iInf_le (fun j : T.val => HilbertConstruction.Finite.AffineIntersections.finiteAffineChartOpen X j.val) ⟨i.val, h i.property⟩ |
| 23 | |
| 24 | def finiteIntersectionArrow {S T : HilbertConstruction.Finite.AffineIntersections.finiteIntersectionIndex X} (h : S.val ⊆ T.val) : |
| 25 | HilbertConstruction.Finite.AffineIntersections.finiteIntersectionChart X T ⟶ HilbertConstruction.Finite.AffineIntersections.finiteIntersectionChart X S := |
| 26 | Over.homMk (X.left.homOfLE (finiteIntersectionOpen_antitone X h)) (by |
| 27 | change X.left.homOfLE (finiteIntersectionOpen_antitone X h) ≫ |
| 28 | ((HilbertConstruction.Finite.AffineIntersections.finiteIntersectionOpen X S).ι ≫ X.hom) = (HilbertConstruction.Finite.AffineIntersections.finiteIntersectionOpen X T).ι ≫ X.hom |
| 29 | rw [← Category.assoc, Scheme.homOfLE_ι]) |
| 30 | |
| 31 | instance finiteIntersectionArrow_open {S T : HilbertConstruction.Finite.AffineIntersections.finiteIntersectionIndex X} (h : S.val ⊆ T.val) : |
| 32 | IsOpenImmersion (finiteIntersectionArrow X h).left := |
| 33 | inferInstanceAs (IsOpenImmersion (X.left.homOfLE (finiteIntersectionOpen_antitone X h))) |
| 34 | |
| 35 | theorem finiteIntersectionArrow_id (S : HilbertConstruction.Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 36 | finiteIntersectionArrow X (Finset.Subset.refl S.val) = 𝟙 (HilbertConstruction.Finite.AffineIntersections.finiteIntersectionChart X S) := by |
| 37 | apply Over.OverMorphism.ext |
| 38 | exact X.left.homOfLE_rfl (HilbertConstruction.Finite.AffineIntersections.finiteIntersectionOpen X S) |
| 39 | |
| 40 | theorem finiteIntersectionArrow_comp {S T U : HilbertConstruction.Finite.AffineIntersections.finiteIntersectionIndex X} |
| 41 | (hST : S.val ⊆ T.val) (hTU : T.val ⊆ U.val) : |
| 42 | finiteIntersectionArrow X hTU ≫ finiteIntersectionArrow X hST = |
| 43 | finiteIntersectionArrow X (hST.trans hTU) := by |
| 44 | apply Over.OverMorphism.ext |
| 45 | exact X.left.homOfLE_homOfLE (finiteIntersectionOpen_antitone X hTU) |
| 46 | (finiteIntersectionOpen_antitone X hST) |
| 47 | |
| 48 | abbrev finiteIntersectionArrowIndex := |
| 49 | {p : HilbertConstruction.Finite.AffineIntersections.finiteIntersectionIndex X × HilbertConstruction.Finite.AffineIntersections.finiteIntersectionIndex X // p.1.val ⊆ p.2.val} |
| 50 | |
| 51 | instance finiteIntersectionArrowIndex_finite : Finite (finiteIntersectionArrowIndex X) := inferInstance |
| 52 | |
| 53 | def finiteIntersectionSource (j : finiteIntersectionArrowIndex X) : HilbertConstruction.Finite.AffineIntersections.finiteIntersectionIndex X := j.val.1 |
| 54 | |
| 55 | def finiteIntersectionTarget (j : finiteIntersectionArrowIndex X) : HilbertConstruction.Finite.AffineIntersections.finiteIntersectionIndex X := j.val.2 |
| 56 | |
| 57 | def finiteIntersectionDiagramArrow (j : finiteIntersectionArrowIndex X) : |
| 58 | HilbertConstruction.Finite.AffineIntersections.finiteIntersectionChart X (finiteIntersectionTarget X j) ⟶ |
| 59 | HilbertConstruction.Finite.AffineIntersections.finiteIntersectionChart X (finiteIntersectionSource X j) := finiteIntersectionArrow X j.property |
| 60 | |
| 61 | instance finiteIntersectionDiagramArrow_open (j : finiteIntersectionArrowIndex X) : |
| 62 | IsOpenImmersion (finiteIntersectionDiagramArrow X j).left := finiteIntersectionArrow_open X j.property |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection.Arrows |