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.Theta.Matching |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq |
| 3 | |
| 4 | /-! # Descended Invariance -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.DescendedInvariance.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original descended one-form supplies its own principal-level |
| 11 | invariance. This is a derivative calculation on the actual ball cover, |
| 12 | independent of any splitting or automorphy compatibility hypothesis. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Manifold ContDiff |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.Frames |
| 17 | |
| 18 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 19 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 20 | |
| 21 | def ballMap (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : B.Domain → B.Domain := |
| 22 | fun z => ⟨UnitaryEq.CM.Frames.period E g z.val, |
| 23 | RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm_preserves B.b E.val.toRingHom g z.val z.property⟩ |
| 24 | |
| 25 | theorem ballMap_differentiable (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 26 | MDifferentiable 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) (ballMap E g) := by |
| 27 | intro z |
| 28 | have hf : DifferentiableAt ℂ (UnitaryEq.CM.Frames.period E g) z.val := |
| 29 | (RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm_differentiableOn B.b E.val.toRingHom g z.val z.property).differentiableAt |
| 30 | (B.domain_isOpen.mem_nhds z.property) |
| 31 | have h := hf.mdifferentiableAt.comp z |
| 32 | ((contMDiff_subtype_val (I := 𝓘(ℂ, GeometricSource.CM.BallChart)) (n := ∞)).mdifferentiable (by simp) z) |
| 33 | change MDifferentiableAt 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) |
| 34 | (Subtype.val ∘ ballMap E g) z at h |
| 35 | simpa only [MDifferentiableAt, ChartedSpace.LiftPropAt, |
| 36 | ChartedSpace.liftPropWithinAt_subtypeVal_comp_iff] using h |
| 37 | |
| 38 | theorem ballMap_derivative (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : B.Domain) : |
| 39 | mfderiv 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) (ballMap E g) z = |
| 40 | fderiv ℂ (UnitaryEq.CM.Frames.period E g) z.val := by |
| 41 | have hsub : MDifferentiableAt 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) |
| 42 | (Subtype.val : B.Domain → GeometricSource.CM.BallChart) z := |
| 43 | (contMDiff_subtype_val (I := 𝓘(ℂ, GeometricSource.CM.BallChart)) (n := ∞)).mdifferentiable (by simp) z |
| 44 | have hf : DifferentiableAt ℂ (UnitaryEq.CM.Frames.period E g) z.val := |
| 45 | (RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm_differentiableOn B.b E.val.toRingHom g z.val z.property).differentiableAt |
| 46 | (B.domain_isOpen.mem_nhds z.property) |
| 47 | have hcod : (show GeometricSource.CM.BallChart →L[ℂ] GeometricSource.CM.BallChart from |
| 48 | mfderiv 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) (ballMap E g) z) = |
| 49 | mfderiv 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) (Subtype.val ∘ ballMap E g) z := by |
| 50 | unfold mfderiv |
| 51 | have he : MDifferentiableAt 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) |
| 52 | (Subtype.val ∘ ballMap E g) z ↔ |
| 53 | MDifferentiableAt 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) (ballMap E g) z := by |
| 54 | simp only [MDifferentiableAt, ChartedSpace.LiftPropAt, |
| 55 | ChartedSpace.liftPropWithinAt_subtypeVal_comp_iff] |
| 56 | rw [he] |
| 57 | rfl |
| 58 | refine hcod.trans ?_ |
| 59 | change mfderiv 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) |
| 60 | ((UnitaryEq.CM.Frames.period E g) ∘ (Subtype.val : B.Domain → GeometricSource.CM.BallChart)) z = _ |
| 61 | erw [mfderiv_comp z hf.mdifferentiableAt hsub, mfderiv_eq_fderiv, |
| 62 | show mfderiv 𝓘(ℂ, GeometricSource.CM.BallChart) 𝓘(ℂ, GeometricSource.CM.BallChart) (Subtype.val : B.Domain → GeometricSource.CM.BallChart) z = |
| 63 | ContinuousLinearMap.id ℂ GeometricSource.CM.BallChart from mfderiv_extChartAt_self, |
| 64 | ContinuousLinearMap.comp_id] |
| 65 | |
| 66 | theorem period_eq_lineAction (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 67 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : |
| 68 | UnitaryEq.CM.Frames.period E g z = GeometricSource.CM.BallDatum.lineAction (Matrix.SpecialLinearGroup.toLin' g.val) z := by |
| 69 | rw [UnitaryEq.CM.Frames.period, RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm_eq_fractional B.b E.val.toRingHom g z hz] |
| 70 | funext i |
| 71 | change RepresentationTheory.Theta.Geometric.Period.Ne.periodRow B.b E.val.toRingHom g i.castSucc z / |
| 72 | RepresentationTheory.Theta.Geometric.Period.Ne.periodRow B.b E.val.toRingHom g 2 z = _ |
| 73 | rw [RepresentationTheory.Theta.Geometric.Period.Ne.periodRow_eq_mulVec, RepresentationTheory.Theta.Geometric.Period.Ne.periodRow_eq_mulVec] |
| 74 | unfold GeometricSource.CM.BallDatum.lineAction |
| 75 | rw [Matrix.SpecialLinearGroup.toLin'_to_linearMap, LinearMap.toMatrix'_toLin'] |
| 76 | rfl |
| 77 | |
| 78 | theorem invariant (L : GeometricSource.CM.LinePeriod E B places d) (φ : GeometricSource.CM.FiniteInput (GeometricSource.CM.Positions E places)) |
| 79 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (N : ℕ) (π : B.Domain → X.analyticSpace) |
| 80 | (hπ : B.IsBallCover N X π) |
| 81 | («ω» : AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.pureClosedManifoldForms X.analyticModel X.analyticSpace 1 0) |
| 82 | (hω : GeometricSource.CM.RepresentsTheta E L φ X π «ω») |
| 83 | (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 84 | (hg : B.principalLevel N (Matrix.SpecialLinearGroup.toLin' g.val)) |
| 85 | (z : B.Domain) (ξ : GeometricSource.CM.BallChart) : |
| 86 | GeometricSource.CM.thetaOneForm E L φ (UnitaryEq.CM.Frames.period E g z.val) (fderiv ℂ (UnitaryEq.CM.Frames.period E g) z.val ξ) = |
| 87 | GeometricSource.CM.thetaOneForm E L φ z.val ξ := by |
| 88 | have hp : π ∘ ballMap E g = π := by |
| 89 | funext w |
| 90 | exact ((hπ.2.2.2.2.2 w (ballMap E g w)).mpr |
| 91 | ⟨Matrix.SpecialLinearGroup.toLin' g.val, hg, period_eq_lineAction E g w.val w.property⟩).symm |
| 92 | have hd := mfderiv_comp (I := 𝓘(ℝ, GeometricSource.CM.BallChart)) (I' := 𝓘(ℝ, GeometricSource.CM.BallChart)) |
| 93 | (I'' := 𝓘(ℝ, X.analyticModel)) z |
| 94 | (Theta.Matching.CM.mdifferentiableAt_real (hπ.2.2.2.1 (ballMap E g z))) |
| 95 | (Theta.Matching.CM.mdifferentiableAt_real (ballMap_differentiable E g z)) |
| 96 | change (show GeometricSource.CM.BallChart →L[ℝ] X.analyticModel from |
| 97 | mfderiv 𝓘(ℝ, GeometricSource.CM.BallChart) 𝓘(ℝ, X.analyticModel) (π ∘ ballMap E g) z) = |
| 98 | (show GeometricSource.CM.BallChart →L[ℝ] X.analyticModel from |
| 99 | mfderiv 𝓘(ℝ, GeometricSource.CM.BallChart) 𝓘(ℝ, X.analyticModel) π (ballMap E g z)).comp |
| 100 | (show GeometricSource.CM.BallChart →L[ℝ] GeometricSource.CM.BallChart from |
| 101 | mfderiv 𝓘(ℝ, GeometricSource.CM.BallChart) 𝓘(ℝ, GeometricSource.CM.BallChart) (ballMap E g) z) at hd |
| 102 | erw [hp, Theta.Matching.CM.real_mfderiv_eq_complex (ballMap_differentiable E g z), |
| 103 | ballMap_derivative E g z] at hd |
| 104 | have hz : π (ballMap E g z) = π z := congrFun hp z |
| 105 | change GeometricSource.CM.thetaOneForm E L φ (ballMap E g z).val |
| 106 | (fderiv ℂ (UnitaryEq.CM.Frames.period E g) z.val ξ) = GeometricSource.CM.thetaOneForm E L φ z.val ξ |
| 107 | rw [← hω (ballMap E g z) (fderiv ℂ (UnitaryEq.CM.Frames.period E g) z.val ξ), ← hω z ξ, hz] |
| 108 | congr 1 |
| 109 | funext i |
| 110 | exact (congrArg (fun A : GeometricSource.CM.BallChart →L[ℝ] X.analyticModel => A ξ) hd).symm |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.DescendedInvariance.CM |