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.IntersectionTheory.ProjectionFormula.LinearPrimeIdeal |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.FiniteProjective |
| 3 | |
| 4 | /-! # Cone Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The prime homogeneous cone ideal defines an actual irreducible |
| 11 | closed support in ambient projective space, with its native generic point. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | variable {m n : ℕ} (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 19 | (hL : LinearIndependent ℂ L) (η : Foundations.Scheme.ProjectiveSpace.projectiveSpace m) |
| 20 | |
| 21 | def coordinates : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading n := |
| 22 | HomogeneousCoordinateMap.ofForms (fun i => (L i).val) (fun i => (L i).property) |
| 23 | |
| 24 | def ideal : HomogeneousIdeal (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) := η.asHomogeneousIdeal.map (coordinates L) |
| 25 | |
| 26 | include hL in |
| 27 | theorem prime : (ideal L η).toIdeal.IsPrime := |
| 28 | LinearPrimeIdeal.Projection.map_isPrime L hL η.asHomogeneousIdeal.toIdeal |
| 29 | |
| 30 | include hL in |
| 31 | theorem not_irrelevant : ¬ HomogeneousIdeal.irrelevant (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) ≤ ideal L η := by |
| 32 | intro hh |
| 33 | obtain ⟨i, hi⟩ := Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen m η |
| 34 | have hf : coordinates L (MvPolynomial.X i) ∈ ideal L η := |
| 35 | hh (HomogeneousIdeal.mem_irrelevant_of_mem (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) Nat.zero_lt_one |
| 36 | ((coordinates L).map_mem (MvPolynomial.isHomogeneous_X ℂ i))) |
| 37 | have hc : MvPolynomial.X i ∈ |
| 38 | (η.asHomogeneousIdeal.toIdeal.map (coordinates L).toRingHom).comap (coordinates L).toRingHom := hf |
| 39 | have he := LinearPrimeIdeal.Projection.comap_map L hL η.asHomogeneousIdeal.toIdeal |
| 40 | exact hi (Eq.mp (congrArg (fun P : Ideal (Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing m) => MvPolynomial.X i ∈ P) he) hc) |
| 41 | |
| 42 | def genericPoint : Foundations.Scheme.ProjectiveSpace.projectiveSpace n := ⟨ideal L η, prime L hL η, not_irrelevant L hL η⟩ |
| 43 | |
| 44 | def support : IrreducibleCloseds (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := irreducibleSetEquivPoints.symm (genericPoint L hL η) |
| 45 | |
| 46 | theorem mem_support (x : Foundations.Scheme.ProjectiveSpace.projectiveSpace n) : |
| 47 | x ∈ support L hL η ↔ ideal L η ≤ x.asHomogeneousIdeal := |
| 48 | (ProjectiveSpectrum.le_iff_mem_closure (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (genericPoint L hL η) x).symm |
| 49 | |
| 50 | theorem point_in_domain : genericPoint L hL η ∈ BasicOpen.RationalProjection.domain (coordinates L) := by |
| 51 | obtain ⟨i, hi⟩ := Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen m η |
| 52 | apply Opens.mem_iSup.mpr |
| 53 | refine ⟨i, ?_⟩ |
| 54 | change coordinates L (MvPolynomial.X i) ∉ (ideal L η).toIdeal |
| 55 | intro hf |
| 56 | have hc : MvPolynomial.X i ∈ |
| 57 | (η.asHomogeneousIdeal.toIdeal.map (coordinates L).toRingHom).comap (coordinates L).toRingHom := hf |
| 58 | have he := LinearPrimeIdeal.Projection.comap_map L hL η.asHomogeneousIdeal.toIdeal |
| 59 | exact hi (Eq.mp (congrArg (fun P : Ideal (Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing m) => MvPolynomial.X i ∈ P) he) hc) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeSupport |