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.Finite.ProperEquationIdeals |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.IdealParameter |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiProjectiveParameterCuts |
| 4 | |
| 5 | /-! # Proper Equation Parameters -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProperEquationParameters |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite list of universal proper-flat morphism equations is represented by a specified closed parameter scheme, preserving quasi-projectivity. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} (M : Over S) [IsLocallyNoetherian M.left] |
| 18 | variable (R : List (ProperEquationIdeals.ProperFamilyMorphismEquation M.left)) |
| 19 | |
| 20 | def properEquationListParameter : Over S := Closed.IdealParameter.closedIdealParameter M (ProperEquationIdeals.properEquationListIdeal R) |
| 21 | |
| 22 | def properEquationListParameterInclusion : properEquationListParameter M R ⟶ M := |
| 23 | Closed.IdealParameter.closedIdealParameterInclusion M (ProperEquationIdeals.properEquationListIdeal R) |
| 24 | |
| 25 | instance properEquationListParameterInclusion_closed : |
| 26 | IsClosedImmersion (properEquationListParameterInclusion M R).left := |
| 27 | Closed.IdealParameter.closedIdealParameterInclusion_closed M (ProperEquationIdeals.properEquationListIdeal R) |
| 28 | |
| 29 | def properEquationListParameterPointEquiv (T : Over S) : |
| 30 | (T ⟶ properEquationListParameter M R) ≃ |
| 31 | {c : T ⟶ M // ∀ e ∈ R, (Over.pullback c.left).map e.lhs = (Over.pullback c.left).map e.rhs} := |
| 32 | (Closed.IdealParameter.closedIdealParameterPointEquiv M (ProperEquationIdeals.properEquationListIdeal R) T).trans |
| 33 | { toFun := fun c => ⟨c.val, (ProperEquationIdeals.properEquationListIdeal_test R c.val.left).mp c.property⟩ |
| 34 | invFun := fun c => ⟨c.val, (ProperEquationIdeals.properEquationListIdeal_test R c.val.left).mpr c.property⟩ |
| 35 | left_inv := fun _ => Subtype.ext rfl |
| 36 | right_inv := fun _ => Subtype.ext rfl } |
| 37 | |
| 38 | theorem properEquationListParameter_universal : |
| 39 | ∀ e ∈ R, |
| 40 | (Over.pullback (properEquationListParameterInclusion M R).left).map e.lhs = |
| 41 | (Over.pullback (properEquationListParameterInclusion M R).left).map e.rhs := by |
| 42 | apply (ProperEquationIdeals.properEquationListIdeal_test R (properEquationListParameterInclusion M R).left).mp |
| 43 | change (ProperEquationIdeals.properEquationListIdeal R).comap (ProperEquationIdeals.properEquationListIdeal R).subschemeι = ⊥ |
| 44 | rw [Closed.ConditionIdeals.ideal_comap_eq_bot_iff, Scheme.IdealSheafData.ker_subschemeι] |
| 45 | |
| 46 | def properEquationListParameterQuasiProjectivePresentation [IsNoetherian S] |
| 47 | (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation M) : Projective.ProjectivePresentations.QuasiProjectivePresentation (properEquationListParameter M R) := |
| 48 | Q.ofClosedImmersion (properEquationListParameterInclusion M R) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProperEquationParameters |