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.HodgeConjecture.HeckeCycles.Source.ScalarCalibration |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Rational.Principal |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CoverFactor |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.OppositeCoordinates |
| 5 | |
| 6 | /-! # Reference Scalar Calibration -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceScalarCalibration.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Calibration on the actual matched reference lattice. The original |
| 13 | period, rational action and finite input are retained even when the |
| 14 | reference lattice differs from the source lattice. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField _root_.Matrix _root_.Manifold |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CoverFactor.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.Frames |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.DescendedInvariance.CM |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 25 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 26 | (L : GeometricSource.CM.LinePeriod E B places d) {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 27 | (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice P.lattice) |
| 28 | |
| 29 | theorem invariant (φ : GeometricSource.CM.FiniteInput (GeometricSource.CM.Positions E places)) |
| 30 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (N : ℕ) (π : B.Domain → X.analyticSpace) |
| 31 | (hπ : (CoverFactor.CM.withLattice E B P.lattice hΛ.1 hΛ.2.1 hΛ.2.2).IsBallCover N X π) |
| 32 | (ω : AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.pureClosedManifoldForms X.analyticModel X.analyticSpace 1 0) |
| 33 | (hω : GeometricSource.CM.RepresentsTheta E L φ X π ω) |
| 34 | (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 35 | (hg : (CoverFactor.CM.withLattice E B P.lattice hΛ.1 hΛ.2.1 hΛ.2.2).principalLevel N |
| 36 | (Matrix.SpecialLinearGroup.toLin' g.val)) (z : B.Domain) (ξ : GeometricSource.CM.BallChart) : |
| 37 | GeometricSource.CM.thetaOneForm E L φ (Source.UnitaryEq.CM.Frames.period E g z.val) (fderiv ℂ (Source.UnitaryEq.CM.Frames.period E g) z.val ξ) = |
| 38 | GeometricSource.CM.thetaOneForm E L φ z.val ξ := by |
| 39 | have hp : π ∘ Source.DescendedInvariance.CM.ballMap E g = π := by |
| 40 | funext w |
| 41 | exact ((hπ.2.2.2.2.2 w (Source.DescendedInvariance.CM.ballMap E g w)).mpr |
| 42 | ⟨Matrix.SpecialLinearGroup.toLin' g.val, hg, Source.DescendedInvariance.CM.period_eq_lineAction E g w.val w.property⟩).symm |
| 43 | have hd := mfderiv_comp (I := 𝓘(ℝ, GeometricSource.CM.BallChart)) (I' := 𝓘(ℝ, GeometricSource.CM.BallChart)) |
| 44 | (I'' := 𝓘(ℝ, X.analyticModel)) z |
| 45 | (Theta.Matching.CM.mdifferentiableAt_real (hπ.2.2.2.1 (Source.DescendedInvariance.CM.ballMap E g z))) |
| 46 | (Theta.Matching.CM.mdifferentiableAt_real (Source.DescendedInvariance.CM.ballMap_differentiable E g z)) |
| 47 | change (show GeometricSource.CM.BallChart →L[ℝ] X.analyticModel from |
| 48 | mfderiv 𝓘(ℝ, GeometricSource.CM.BallChart) 𝓘(ℝ, X.analyticModel) (π ∘ Source.DescendedInvariance.CM.ballMap E g) z) = |
| 49 | (show GeometricSource.CM.BallChart →L[ℝ] X.analyticModel from |
| 50 | mfderiv 𝓘(ℝ, GeometricSource.CM.BallChart) 𝓘(ℝ, X.analyticModel) π (Source.DescendedInvariance.CM.ballMap E g z)).comp |
| 51 | (show GeometricSource.CM.BallChart →L[ℝ] GeometricSource.CM.BallChart from |
| 52 | mfderiv 𝓘(ℝ, GeometricSource.CM.BallChart) 𝓘(ℝ, GeometricSource.CM.BallChart) (Source.DescendedInvariance.CM.ballMap E g) z) at hd |
| 53 | erw [hp, Theta.Matching.CM.real_mfderiv_eq_complex (Source.DescendedInvariance.CM.ballMap_differentiable E g z), |
| 54 | Source.DescendedInvariance.CM.ballMap_derivative E g z] at hd |
| 55 | have hz : π (Source.DescendedInvariance.CM.ballMap E g z) = π z := congrFun hp z |
| 56 | change GeometricSource.CM.thetaOneForm E L φ (Source.DescendedInvariance.CM.ballMap E g z).val |
| 57 | (fderiv ℂ (Source.UnitaryEq.CM.Frames.period E g) z.val ξ) = GeometricSource.CM.thetaOneForm E L φ z.val ξ |
| 58 | rw [← hω (Source.DescendedInvariance.CM.ballMap E g z) (fderiv ℂ (Source.UnitaryEq.CM.Frames.period E g) z.val ξ), ← hω z ξ, hz] |
| 59 | congr 1 |
| 60 | funext i |
| 61 | exact (congrArg (fun A : GeometricSource.CM.BallChart →L[ℝ] X.analyticModel => A ξ) hd).symm |
| 62 | |
| 63 | theorem scalar_one (φ : GeometricSource.CM.FiniteInput (GeometricSource.CM.Positions E places)) |
| 64 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (N : ℕ) (π : B.Domain → X.analyticSpace) |
| 65 | (hπ : (CoverFactor.CM.withLattice E B P.lattice hΛ.1 hΛ.2.1 hΛ.2.2).IsBallCover N X π) |
| 66 | (ω : AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.pureClosedManifoldForms X.analyticModel X.analyticSpace 1 0) |
| 67 | (hω : GeometricSource.CM.RepresentsTheta E L φ X π ω) |
| 68 | (hne : ∃ z ∈ B.domain, ∃ ξ, GeometricSource.CM.thetaOneForm E L φ z ξ ≠ 0) |
| 69 | (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 70 | (hg : (CoverFactor.CM.withLattice E B P.lattice hΛ.1 hΛ.2.1 hΛ.2.2).principalLevel N |
| 71 | (Matrix.SpecialLinearGroup.toLin' g.val)) |
| 72 | (c : ℂ) (hc : Source.WeilData.CM.finiteAction E L g (Theta.Weil.CM.finiteWeilInput φ) = |
| 73 | c • Theta.Weil.CM.finiteWeilInput φ) : c = 1 := by |
| 74 | obtain ⟨z, hz, ξ, hvalue⟩ := hne |
| 75 | have h := Source.WeilData.CM.source_covariance E L g φ z hz ξ |
| 76 | rw [hc, map_smul] at h |
| 77 | change c * RepresentationTheory.Theta.Geometric.LinearTheta.thetaOneFormLinear L.period (Theta.Projection.CM.projection E L) |
| 78 | (Theta.Weil.CM.finiteWeilInput φ) (Source.UnitaryEq.CM.Frames.period E g z) (fderiv ℂ (Source.UnitaryEq.CM.Frames.period E g) z ξ) = |
| 79 | GeometricSource.CM.thetaOneForm E L φ z ξ at h |
| 80 | rw [Theta.Projection.CM.canonical_oneForm_eq_source, |
| 81 | invariant E L P hΛ φ X N π hπ ω hω g hg ⟨z, hz⟩ ξ] at h |
| 82 | exact (mul_eq_right₀ hvalue).mp h |
| 83 | |
| 84 | theorem principal (hb : P.b = B.b) |
| 85 | {J : Type*} [Fintype J] [DecidableEq J] [Submodule.IsLattice ℚ P.lattice] |
| 86 | (b : Module.Basis J ℤ P.lattice) (N : ℕ) (hN : 0 < N) |
| 87 | (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 88 | (hg : Source.PELFiniteGroup.CM.pel E |
| 89 | (OppositeCoordinates.CM.coordinates E L.coordinates) P hb |
| 90 | (Source.RationalLocal.CM.finiteHom E (OppositeCoordinates.CM.coordinates E L.coordinates) g) ∈ |
| 91 | P.adelicPrincipalLevel N) : |
| 92 | (CoverFactor.CM.withLattice E B P.lattice hΛ.1 hΛ.2.1 hΛ.2.2).principalLevel N |
| 93 | (Matrix.SpecialLinearGroup.toLin' g.val) := by |
| 94 | have h := Rational.Principal.CM.rational_principal E |
| 95 | (OppositeCoordinates.CM.coordinates E L.coordinates) P hb b N hN g hg |
| 96 | refine ⟨g.property, ?_, h.1, ?_⟩ |
| 97 | · change LinearMap.det (Matrix.toLin' g.val.val) = 1 |
| 98 | rw [LinearMap.det_toLin'] |
| 99 | exact g.val.property |
| 100 | · intro x hx |
| 101 | obtain ⟨y, hy, he⟩ := h.2 x hx |
| 102 | refine ⟨y, hy, ?_⟩ |
| 103 | rw [natCast_zsmul] |
| 104 | exact he |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceScalarCalibration.CM |