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.Proper.MorphismEqualityIdeal |
| 2 | |
| 3 | /-! # Proper Equation Ideals -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProperEquationIdeals |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite lists of actual morphism equations from proper flat sources have a single defining ideal with exact tests after arbitrary base change. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | structure ProperFamilyMorphismEquation (S : Scheme.{u}) where |
| 16 | source : Over S |
| 17 | target : Over S |
| 18 | proper : IsProper source.hom |
| 19 | flat : Flat source.hom |
| 20 | separated : IsSeparated target.hom |
| 21 | lhs : source ⟶ target |
| 22 | rhs : source ⟶ target |
| 23 | |
| 24 | attribute [instance] ProperFamilyMorphismEquation.proper ProperFamilyMorphismEquation.flat |
| 25 | ProperFamilyMorphismEquation.separated |
| 26 | |
| 27 | def ProperFamilyMorphismEquation.ideal {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 28 | (e : ProperFamilyMorphismEquation S) : S.IdealSheafData := Proper.MorphismEqualityIdeal.properMorphismEqualityIdeal e.lhs e.rhs |
| 29 | |
| 30 | theorem ProperFamilyMorphismEquation.ideal_test {S T : Scheme.{u}} [IsLocallyNoetherian S] |
| 31 | (e : ProperFamilyMorphismEquation S) (c : T ⟶ S) : |
| 32 | e.ideal.comap c = ⊥ ↔ (Over.pullback c).map e.lhs = (Over.pullback c).map e.rhs := |
| 33 | Proper.MorphismEqualityIdeal.properMorphismEqualityIdeal_test e.lhs e.rhs c |
| 34 | |
| 35 | def properEquationListIdeal {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 36 | (R : List (ProperFamilyMorphismEquation S)) : S.IdealSheafData := |
| 37 | R.foldr (fun e I => e.ideal ⊔ I) ⊥ |
| 38 | |
| 39 | theorem properEquationListIdeal_test {S T : Scheme.{u}} [IsLocallyNoetherian S] |
| 40 | (R : List (ProperFamilyMorphismEquation S)) (c : T ⟶ S) : |
| 41 | (properEquationListIdeal R).comap c = ⊥ ↔ |
| 42 | ∀ e ∈ R, (Over.pullback c).map e.lhs = (Over.pullback c).map e.rhs := by |
| 43 | induction R with |
| 44 | | nil => simp [properEquationListIdeal] |
| 45 | | cons e R ih => |
| 46 | change (e.ideal ⊔ properEquationListIdeal R).comap c = ⊥ ↔ _ |
| 47 | rw [Scheme.IdealSheafData.comap_sup, sup_eq_bot_iff, e.ideal_test c, ih, List.forall_mem_cons] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProperEquationIdeals |