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.PELModuli.CMPoints.Action |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.AbelianScheme |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELAdapters |
| 4 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Realization |
| 5 | |
| 6 | /-! # Integral Model -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.IntegralModel |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A constructed integral CM model, with its actual abelian scheme, |
| 13 | correct dimension, rational H1 realization, and full coefficient action. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped Classical _root_.Manifold ContDiff _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open _root_.NumberField |
| 19 | |
| 20 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsCMField E] |
| 21 | |
| 22 | local instance (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : IsIntegral A.toOver.left := A.variety.property |
| 23 | local instance (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : Smooth A.toOver.hom := A.variety.presentation.smooth |
| 24 | |
| 25 | structure CMIntegralModel (Φ : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) where |
| 26 | realization : ComplexMultiplication.CMKnownResults.CM.HodgeRealization Φ.hodgeStructure |
| 27 | comparison : Φ.periodTorus ≃ₘ⟮𝓘(ℂ, ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E), |
| 28 | 𝓘(ℂ, realization.abelianVariety.variety.analyticModel)⟯ |
| 29 | realization.abelianVariety.variety.analyticSpace |
| 30 | additive : ∀ u v, comparison (u + v) = comparison u * comparison v |
| 31 | action : RingOfIntegers E →+* AbelianScheme.TateComparison.End.IntegralEnd realization.abelianVariety.toOver |
| 32 | action_comparison : ∀ a t, |
| 33 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianScheme.TateComparison.End.endSchemeMap realization.abelianVariety.toOver (action a)) |
| 34 | (comparison t) = comparison (PeriodAction.cmQuotientAction Φ a t) |
| 35 | |
| 36 | theorem exists_CM_integral_model (Φ : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) : Nonempty (CMIntegralModel Φ) := by |
| 37 | obtain ⟨R, e, r, he, hr⟩ := Action.exists_CM_integral_realization Action.cmRiemannProjectivityInput_proved Φ |
| 38 | exact ⟨⟨R, e, he, r, hr⟩⟩ |
| 39 | |
| 40 | namespace CMIntegralModel |
| 41 | |
| 42 | variable {Φ : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E} (M : CMIntegralModel Φ) |
| 43 | |
| 44 | theorem dimension : |
| 45 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension M.realization.abelianVariety.toOver.hom = |
| 46 | Fintype.card (InfinitePlace E) := by |
| 47 | let d := (M.comparison.toOpenPartialHomeomorph_mdifferentiable (by simp)).mfderiv |
| 48 | (x := (0 : Φ.periodTorus)) (by trivial) |
| 49 | have h := d.toLinearEquiv.finrank_eq |
| 50 | change Module.finrank ℂ (InfinitePlace E → ℂ) = |
| 51 | Module.finrank ℂ (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension |
| 52 | M.realization.abelianVariety.toOver.hom) → ℂ) at h |
| 53 | simpa only [Module.finrank_pi, Module.finrank_self, Finset.sum_const, |
| 54 | Finset.card_univ, smul_eq_mul, mul_one, Fintype.card_fin] using h.symm |
| 55 | |
| 56 | def abelianScheme : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (Fintype.card (InfinitePlace E)) Foundations.Scheme.ProjectiveSpace.complexBase where |
| 57 | scheme := M.realization.abelianVariety.toOver |
| 58 | group := M.realization.abelianVariety.group |
| 59 | commutative := M.realization.abelianVariety.commutative |
| 60 | proper := M.realization.abelianVariety.variety.presentation.projective.isProper |
| 61 | smoothDimension := by |
| 62 | rw [← M.dimension] |
| 63 | exact Betti.SmoothDimension.Realization.smoothOfFunctionFieldDimension M.realization.abelianVariety.toOver.hom |
| 64 | connected := (RepresentationTheory.Theta.Geometric.AbelianScheme.abelianSchemeOfVariety M.realization.abelianVariety).connected |
| 65 | |
| 66 | def integralAction : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (RingOfIntegers E) M.abelianScheme := |
| 67 | AbelianScheme.TateComparison.PELAdapters.actionFromEnd M.action |
| 68 | |
| 69 | theorem coefficient_degree : Module.finrank ℚ E = 2 * Fintype.card (InfinitePlace E) := by |
| 70 | have hfin : Module.finrank ℚ E = |
| 71 | (letI : Algebra ℚ E := DivisionRing.toRatAlgebra; Module.finrank ℚ E) := |
| 72 | congrArg (fun a : Algebra ℚ E => letI := a; Module.finrank ℚ E) |
| 73 | (Subsingleton.elim (inferInstance : Algebra ℚ E) DivisionRing.toRatAlgebra) |
| 74 | rw [hfin] |
| 75 | rw [NumberField.InfinitePlace.card_eq_nrRealPlaces_add_nrComplexPlaces, |
| 76 | IsTotallyComplex.nrRealPlaces_eq_zero, zero_add] |
| 77 | simpa only [IsTotallyComplex.nrRealPlaces_eq_zero, zero_add] using |
| 78 | (NumberField.InfinitePlace.card_add_two_mul_card_eq_rank (K := E)).symm |
| 79 | |
| 80 | theorem hasCMH1 : M.realization.abelianVariety.HasCMH1 := |
| 81 | Realization.realization_hasCMH1 E M.realization Φ.rankOneCMAction |
| 82 | |
| 83 | end CMIntegralModel |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.IntegralModel |