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.Poincare.AffineZeroPoint |
| 2 | |
| 3 | /-! # Zero Affine Lift -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An affine open containing the dual zero has a constructed lift of the zero section. Its Poincare support ideal is maximal and its coordinate quotient is the original ground field. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | open _root_.CategoryTheory.MonoidalCategory |
| 12 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {K : Type u} [Field K] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} |
| 17 | variable (D : Dual.Data.DualAbelianData A) {T : Scheme.{u}} [IsAffine T] |
| 18 | variable (t : T ⟶ D.abelian.scheme.left) [IsOpenImmersion t] |
| 19 | variable (hx : η[D.abelian.scheme].left (IsLocalRing.closedPoint K) ∈ Set.range t) |
| 20 | |
| 21 | include hx in |
| 22 | omit [IsAffine T] in |
| 23 | theorem Dual.Data.DualAbelianData.poincareAffine_exists_zero_lift : ∃ z : Spec (.of K) ⟶ T, z ≫ t = η[D.abelian.scheme].left := by |
| 24 | have hRange : Set.range η[D.abelian.scheme].left ⊆ Set.range t := by |
| 25 | rintro y ⟨v, rfl⟩ |
| 26 | have hv : v = IsLocalRing.closedPoint K := |
| 27 | @Subsingleton.elim (PrimeSpectrum K) inferInstance _ _ |
| 28 | simpa only [hv] using hx |
| 29 | exact ⟨IsOpenImmersion.lift t η[D.abelian.scheme].left hRange, |
| 30 | IsOpenImmersion.lift_fac t η[D.abelian.scheme].left hRange⟩ |
| 31 | |
| 32 | def Dual.Data.DualAbelianData.poincareAffineZeroLift : Spec (.of K) ⟶ T := |
| 33 | Classical.choose (D.poincareAffine_exists_zero_lift t hx) |
| 34 | |
| 35 | omit [IsAffine T] in |
| 36 | theorem Dual.Data.DualAbelianData.poincareAffineZeroLift_fac : |
| 37 | D.poincareAffineZeroLift t hx ≫ t = η[D.abelian.scheme].left := |
| 38 | Classical.choose_spec (D.poincareAffine_exists_zero_lift t hx) |
| 39 | |
| 40 | omit [IsAffine T] in |
| 41 | theorem Dual.Data.DualAbelianData.poincareAffineZeroLift_section : |
| 42 | D.poincareAffineZeroLift t hx ≫ (t ≫ D.abelian.scheme.hom) = 𝟙 _ := |
| 43 | D.poincareAffine_liftedZero_section t (D.poincareAffineZeroLift t hx) (D.poincareAffineZeroLift_fac t hx) |
| 44 | |
| 45 | include hx in |
| 46 | theorem Dual.Data.DualAbelianData.poincareAffineParameterIdeal_isMaximal_of_zero_mem : |
| 47 | (D.poincareAffineParameterIdeal t).IsMaximal := |
| 48 | D.poincareAffineParameterIdeal_isMaximal t (D.poincareAffineZeroLift t hx) (D.poincareAffineZeroLift_fac t hx) |
| 49 | |
| 50 | def Dual.Data.DualAbelianData.poincareAffineParameterQuotientEquiv : (Γ(T, ⊤) ⧸ D.poincareAffineParameterIdeal t) ≃+* K := by |
| 51 | let z := D.poincareAffineZeroLift t hx |
| 52 | have hz := D.poincareAffineZeroLift_fac t hx |
| 53 | rw [D.poincareAffineParameterIdeal_eq_rationalPointIdeal t z hz] |
| 54 | exact Affine.RationalPointIdeal.affineRationalPointQuotientEquiv (t ≫ D.abelian.scheme.hom) z (D.poincareAffineZeroLift_section t hx) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |