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.HilbertScheme.Presentations.Noetherian.LocalCoefficientRing |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.BaseChangeObstructionFlatness |
| 3 | |
| 4 | /-! # Local Projective Flat Model -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.LocalProjectiveFlatModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A projective quotient which becomes flat over a local ring already |
| 11 | becomes flat over a Noetherian local coefficient ring mapping to it. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {B A : Type u} [CommRing B] [CommRing A] [IsLocalRing A] [Algebra B A] |
| 17 | |
| 18 | instance localCoefficientRing_targetLocalHom (E : Subalgebra B A) : |
| 19 | IsLocalHom (algebraMap (LocalCoefficientRing.localCoefficientRing E) A) := |
| 20 | Local.CoefficientLocalization.localCoefficientLocalizationMap_isLocalHom E.val.toRingHom |
| 21 | |
| 22 | namespace GradedHilbert |
| 23 | |
| 24 | variable [IsNoetherianRing B] [IsLocalRing B] [IsLocalHom (algebraMap B A)] {n : ℕ} |
| 25 | |
| 26 | theorem projective_flat_local_coefficient_model |
| 27 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading B n)) |
| 28 | [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I)))] |
| 29 | (C : Subalgebra B A) [Algebra.FiniteType B C] : |
| 30 | ∃ E : Subalgebra B A, C ≤ E ∧ Algebra.FiniteType B E ∧ |
| 31 | Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap |
| 32 | (Graded.Quotient.GradedHilbert.quotientGrading (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := LocalCoefficientRing.localCoefficientRing E) I))) := by |
| 33 | obtain ⟨E, hCE, hE, hflat⟩ := Projective.BaseChangeObstructionFlatness.GradedHilbert.projective_flat_finite_coefficient_criterion I C |
| 34 | (IsLocalRing.maximalIdeal B) |
| 35 | let : Algebra.FiniteType B E := hE |
| 36 | refine ⟨E, hCE, hE, hflat (LocalCoefficientRing.localCoefficientRing E) ?_⟩ |
| 37 | exact (IsLocalRing.map_maximalIdeal_lt_top (algebraMap B (LocalCoefficientRing.localCoefficientRing E))).ne |
| 38 | |
| 39 | end GradedHilbert |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.LocalProjectiveFlatModel |