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.ArithmeticGeometry.Descent.CMVariety.SmoothAbelianTupleSpread |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.PresentedTupleComparison |
| 3 | import OAI.ArithmeticGeometry.Descent.CMVariety.PulledBackPresentations |
| 4 | |
| 5 | /-! # Smooth Abelian Fiber -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.SmoothAbelianFiber |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth arithmetic parameters retaining an actual abelian fiber and |
| 12 | an exact prescribed finite tuple of group endomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | def pullbackComplexFiberPresentations {g : ℕ} {S T : Scheme} |
| 17 | (G : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (f : T ⟶ S) |
| 18 | (present : ∀ p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ S, StandardModuli.Abelian.ComplexAbelianPresentation (G.pullback p)) : |
| 19 | ∀ p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ T, StandardModuli.Abelian.ComplexAbelianPresentation ((G.pullback f).pullback p) := |
| 20 | fun p => StandardModuli.Abelian.ComplexAbelianPresentation.pullbackComp G f p (present (p ≫ f)) |
| 21 | |
| 22 | structure SmoothAbelianParameter {g : ℕ} {Index : Type} |
| 23 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) (k : AbelianEndomorphism.AbelianEndomorphismTuple Index A) where |
| 24 | space : Scheme |
| 25 | rationalStructure : space ⟶ Spec (CommRingCat.of ℚ) |
| 26 | smooth : Smooth rationalStructure |
| 27 | family : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g space |
| 28 | point : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ space |
| 29 | fiberComparison : (family.pullback point).scheme ≅ A.scheme |
| 30 | fiberComparison_group : IsMonHom fiberComparison.hom |
| 31 | extraTuple : AbelianEndomorphism.AbelianEndomorphismTuple Index family |
| 32 | extraRecovery : AbelianEndomorphism.ConjugateAbelianTuples fiberComparison (extraTuple.pullback point) k |
| 33 | present : ∀ p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ space, StandardModuli.Abelian.ComplexAbelianPresentation (family.pullback p) |
| 34 | |
| 35 | attribute [instance] SmoothAbelianParameter.smooth SmoothAbelianParameter.fiberComparison_group |
| 36 | |
| 37 | theorem smooth_abelian_parameter_exists |
| 38 | (R : Type) [CommRing R] [IsDomain R] [Algebra ℚ R] [Algebra.Smooth ℚ R] |
| 39 | [Algebra R ℂ] (hR : Function.Injective (algebraMap R ℂ)) |
| 40 | {Index : Type} [Fintype Index] {g : ℕ} |
| 41 | (G : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (CommRingCat.of R))) |
| 42 | (present : ∀ p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ Spec (CommRingCat.of R), StandardModuli.Abelian.ComplexAbelianPresentation (G.pullback p)) |
| 43 | (k : AbelianEndomorphism.AbelianEndomorphismTuple Index (G.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ))))) : |
| 44 | Nonempty (SmoothAbelianParameter |
| 45 | (G.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))) k) := by |
| 46 | have : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing ℚ R |
| 47 | have : CharZero R := charZero_of_injective_algebraMap (algebraMap ℚ R).injective |
| 48 | have hbase : Smooth (Spec.map (CommRingCat.ofHom (algebraMap ℚ R))) := |
| 49 | (HasRingHomProperty.Spec_iff (P := @Smooth)).mpr (RingHom.smooth_algebraMap.mpr inferInstance) |
| 50 | obtain ⟨s, t, U, _, hs, q, hq, a, ha⟩ := |
| 51 | SmoothAbelianTupleSpread.abelian_endomorphism_tuple_spreads_over_smooth_neighborhood R hR G k |
| 52 | let f₁ := FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R ℂ s.unop |
| 53 | let f₂ := FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R ℂ s.unop) ℂ t.unop |
| 54 | let B := AbelianEndomorphism.twoStageCoefficientFamily R ℂ G s t |
| 55 | let p := AbelianCoefficientComparison.coefficientInclusion (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R ℂ s.unop) ℂ t |
| 56 | let e := RestrictedTupleComparison.Abelian.restrictedAbelianFiberComparison B U.ι q p hq |
| 57 | (G.pullback (Spec.map (CommRingCat.ofHom (algebraMap R ℂ)))) |
| 58 | (AbelianEndomorphism.twoStageCoefficientComparison R ℂ G s t) |
| 59 | have : Smooth (U.ι ≫ AbelianEndomorphism.twoStageCoefficientBaseMap R ℂ s t) := hs |
| 60 | refine ⟨{ |
| 61 | space := U |
| 62 | rationalStructure := (U.ι ≫ AbelianEndomorphism.twoStageCoefficientBaseMap R ℂ s t) ≫ |
| 63 | Spec.map (CommRingCat.ofHom (algebraMap ℚ R)) |
| 64 | smooth := inferInstance |
| 65 | family := B.pullback U.ι |
| 66 | point := q |
| 67 | fiberComparison := e |
| 68 | fiberComparison_group := inferInstance |
| 69 | extraTuple := a |
| 70 | extraRecovery := ha |
| 71 | present := pullbackComplexFiberPresentations B U.ι |
| 72 | (pullbackComplexFiberPresentations (G.pullback f₁) f₂ |
| 73 | (pullbackComplexFiberPresentations G f₁ present)) }⟩ |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.ArithmeticGeometry.Descent.CMVariety.SmoothAbelianFiber |