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.Hilbert.ParameterScheme |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EmptyPoints |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.UniversalBaseChange |
| 4 | |
| 5 | /-! # Parameter Equivalence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.ParameterEquivalence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The specified Hilbert parameter scheme classifies actual embedded Hilbert families on locally noetherian tests over any base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {T : Over S} [IsLocallyNoetherian T.left] (n : ℕ) (P : Polynomial ℚ) |
| 18 | |
| 19 | def hilbertParameterEquiv : RelativeProjective.Families.RelativeProjectiveHilbertFamily T.left n P ≃ (T ⟶ ParameterScheme.hilbertParameterScheme S n P) := by |
| 20 | classical |
| 21 | unfold ParameterScheme.hilbertParameterScheme |
| 22 | split_ifs with h |
| 23 | · exact Relative.ParameterEquivalence.relativeProjectiveHilbertParameterEquiv le_rfl |
| 24 | (ParameterScheme.hilbertParameterTruncation_flat n P) (ParameterScheme.hilbertParameterTruncation_test n P) h |
| 25 | · exact EmptyPoints.relativeHilbertEmptyParameterEquiv le_rfl h |
| 26 | |
| 27 | omit [IsLocallyNoetherian T.left] in |
| 28 | theorem hilbertParameterEquiv_inverse_of_eq {M M' : Over S} (hM : M = M') |
| 29 | (e : RelativeProjective.Families.RelativeProjectiveHilbertFamily T.left n P ≃ (T ⟶ M')) |
| 30 | (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily M'.left n P) |
| 31 | (he : ∀ g : T ⟶ M', e.symm g = F.pullback g.left) : |
| 32 | ∀ g : T ⟶ M, |
| 33 | (Eq.mpr (congrArg (fun Z => RelativeProjective.Families.RelativeProjectiveHilbertFamily T.left n P ≃ (T ⟶ Z)) hM) e).symm g = |
| 34 | (Eq.mpr (congrArg (fun Z : Over S => RelativeProjective.Families.RelativeProjectiveHilbertFamily Z.left n P) hM) F).pullback g.left := by |
| 35 | subst M' |
| 36 | exact he |
| 37 | |
| 38 | theorem hilbertParameterEquiv_inverse (g : T ⟶ ParameterScheme.hilbertParameterScheme S n P) : |
| 39 | (hilbertParameterEquiv n P).symm g = (ParameterScheme.hilbertUniversalFamily S n P).pullback g.left := by |
| 40 | classical |
| 41 | revert g |
| 42 | unfold hilbertParameterEquiv ParameterScheme.hilbertUniversalFamily ParameterScheme.hilbertParameterScheme |
| 43 | split_ifs with h |
| 44 | · apply hilbertParameterEquiv_inverse_of_eq n P (ite_eq_left h) |
| 45 | intro g |
| 46 | change Generated.ParameterFamilies.generatedParameterHilbertFamily g.left (ParameterScheme.hilbertParameterTruncation_flat n P) |
| 47 | (ParameterScheme.hilbertParameterTruncation_test n P) h = |
| 48 | (Generated.ParameterFamilies.generatedParameterHilbertFamily (𝟙 _) (ParameterScheme.hilbertParameterTruncation_flat n P) |
| 49 | (ParameterScheme.hilbertParameterTruncation_test n P) h).pullback g.left |
| 50 | simpa only [Category.comp_id] using |
| 51 | (UniversalBaseChange.generatedParameterHilbertFamily_comp (ParameterScheme.hilbertParameterTruncation_flat n P) |
| 52 | (ParameterScheme.hilbertParameterTruncation_test n P) h (𝟙 _) g.left).symm |
| 53 | · apply hilbertParameterEquiv_inverse_of_eq n P (ite_eq_right h) |
| 54 | intro g |
| 55 | have : IsEmpty T.left := g.left.base.hom.1.isEmpty |
| 56 | exact Subsingleton.elim _ _ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.ParameterEquivalence |