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.Closed.IdealParameter |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FactorizationIdeal |
| 3 | |
| 4 | /-! # Factorization Parameter -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FactorizationParameter |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Proper-flat closed factorization is represented by a specified closed parameter scheme on all test schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} (M : Over S) [IsLocallyNoetherian M.left] {X P Z : Over M.left} |
| 17 | variable [IsProper X.hom] [Flat X.hom] (j : Z ⟶ P) [IsClosedImmersion j.left] (i : X ⟶ P) |
| 18 | |
| 19 | def properFactorizationParameter : Over S := Closed.IdealParameter.closedIdealParameter M (FactorizationIdeal.properFactorizationIdeal j i) |
| 20 | |
| 21 | def properFactorizationParameterInclusion : properFactorizationParameter M j i ⟶ M := |
| 22 | Closed.IdealParameter.closedIdealParameterInclusion M (FactorizationIdeal.properFactorizationIdeal j i) |
| 23 | |
| 24 | instance properFactorizationParameterInclusion_closed : |
| 25 | IsClosedImmersion (properFactorizationParameterInclusion M j i).left := |
| 26 | inferInstanceAs (IsClosedImmersion (Closed.IdealParameter.closedIdealParameterInclusion M (FactorizationIdeal.properFactorizationIdeal j i)).left) |
| 27 | |
| 28 | def properFactorizationParameterPointEquiv (T : Over S) : |
| 29 | (T ⟶ properFactorizationParameter M j i) ≃ |
| 30 | {c : T ⟶ M // ∃! h : (Over.pullback c.left).obj X ⟶ (Over.pullback c.left).obj Z, |
| 31 | h ≫ (Over.pullback c.left).map j = (Over.pullback c.left).map i} := |
| 32 | (Closed.IdealParameter.closedIdealParameterPointEquiv M (FactorizationIdeal.properFactorizationIdeal j i) T).trans |
| 33 | { toFun := fun c => ⟨c.val, (FactorizationIdeal.properFactorizationIdeal_test j i c.val.left).mp c.property⟩ |
| 34 | invFun := fun c => ⟨c.val, (FactorizationIdeal.properFactorizationIdeal_test j i c.val.left).mpr c.property⟩ |
| 35 | left_inv := fun _ => Subtype.ext rfl |
| 36 | right_inv := fun _ => Subtype.ext rfl } |
| 37 | |
| 38 | theorem properFactorizationParameterPointEquiv_val (T : Over S) |
| 39 | (y : T ⟶ properFactorizationParameter M j i) : |
| 40 | (properFactorizationParameterPointEquiv M j i T y).val = |
| 41 | y ≫ properFactorizationParameterInclusion M j i := rfl |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FactorizationParameter |