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.MappedMonoidHomEquations |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyGroup.Operations |
| 3 | |
| 4 | /-! # Monoid Hom Equations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.MonoidHomEquations |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Preservation of multiplication and identity is a finite list of equations from proper flat sources, with exact tests after every base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | local instance monoidHomProductProper {S : Scheme.{u}} (X Y : Over S) [IsProper X.hom] [IsProper Y.hom] : |
| 19 | IsProper (X ⊗ Y).hom := inferInstanceAs (IsProper (pullback.fst X.hom Y.hom ≫ X.hom)) |
| 20 | |
| 21 | local instance monoidHomProductFlat {S : Scheme.{u}} (X Y : Over S) [Flat X.hom] [Flat Y.hom] : |
| 22 | Flat (X ⊗ Y).hom := inferInstanceAs (Flat (pullback.fst X.hom Y.hom ≫ X.hom)) |
| 23 | |
| 24 | local instance monoidHomUnitProper {S : Scheme.{u}} : IsProper (𝟙_ (Over S)).hom := |
| 25 | inferInstanceAs (IsProper (𝟙 S)) |
| 26 | |
| 27 | local instance monoidHomUnitFlat {S : Scheme.{u}} : Flat (𝟙_ (Over S)).hom := |
| 28 | inferInstanceAs (Flat (𝟙 S)) |
| 29 | |
| 30 | variable {S : Scheme.{u}} {X Y : Over S} [IsProper X.hom] [Flat X.hom] [IsSeparated Y.hom] |
| 31 | variable [MonObj X] [MonObj Y] (f : X ⟶ Y) |
| 32 | |
| 33 | def familyMonoidHomEquations : List (Finite.ProperEquationIdeals.ProperFamilyMorphismEquation S) := |
| 34 | [Finite.ProperEquationIdeals.ProperFamilyMorphismEquation.ofMaps (η[X] ≫ f) η[Y], |
| 35 | Finite.ProperEquationIdeals.ProperFamilyMorphismEquation.ofMaps (μ[X] ≫ f) ((f ⊗ₘ f) ≫ μ[Y])] |
| 36 | |
| 37 | theorem familyMonoidHomEquations_baseChange_iff {T : Scheme.{u}} (c : T ⟶ S) : |
| 38 | IsMonHom ((Over.pullback c).map f) ↔ |
| 39 | ∀ e ∈ familyMonoidHomEquations f, (Over.pullback c).map e.lhs = (Over.pullback c).map e.rhs := by |
| 40 | rw [MappedMonoidHomEquations.mappedMonoidHom_iff] |
| 41 | simp only [familyMonoidHomEquations, List.forall_mem_cons, List.not_mem_nil, |
| 42 | false_implies, implies_true, and_true] |
| 43 | rfl |
| 44 | |
| 45 | def familyMonoidHomIdeal [IsLocallyNoetherian S] : S.IdealSheafData := |
| 46 | Finite.ProperEquationIdeals.properEquationListIdeal (familyMonoidHomEquations f) |
| 47 | |
| 48 | theorem familyMonoidHomIdeal_test [IsLocallyNoetherian S] {T : Scheme.{u}} (c : T ⟶ S) : |
| 49 | (familyMonoidHomIdeal f).comap c = ⊥ ↔ IsMonHom ((Over.pullback c).map f) := |
| 50 | (Finite.ProperEquationIdeals.properEquationListIdeal_test (familyMonoidHomEquations f) c).trans |
| 51 | (familyMonoidHomEquations_baseChange_iff f c).symm |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.MonoidHomEquations |