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.UnitaryEq |
| 2 | |
| 3 | /-! # Period Differential -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PeriodDifferential.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Differentiate the original negative-line action. Pairing with its |
| 10 | annihilator removes the derivative of the scalar line frame, producing |
| 11 | the exact cotangent factor required by the source theta projection. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.Frames OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.PrescribedAction |
| 16 | |
| 17 | def tangent : GeometricSource.CM.BallChart →L[ℂ] GeometricSource.CM.Vec ℂ := |
| 18 | (show GeometricSource.CM.BallChart →ₗ[ℂ] GeometricSource.CM.Vec ℂ from |
| 19 | { toFun := fun ξ => ![ξ 0, ξ 1, 0] |
| 20 | map_add' := by intro x y; ext i; fin_cases i <;> simp |
| 21 | map_smul' := by intro c x; ext i; fin_cases i <;> simp }).toContinuousLinearMap |
| 22 | |
| 23 | theorem tangent_apply (ξ : GeometricSource.CM.BallChart) : tangent ξ = ![ξ 0, ξ 1, 0] := rfl |
| 24 | |
| 25 | theorem lineVector_hasFDerivAt (z : GeometricSource.CM.BallChart) : |
| 26 | HasFDerivAt GeometricSource.CM.BallDatum.lineVector tangent z := by |
| 27 | have he : GeometricSource.CM.BallDatum.lineVector = fun x => tangent x + ![0, 0, 1] := by |
| 28 | funext x i |
| 29 | fin_cases i <;> simp [GeometricSource.CM.BallDatum.lineVector, tangent_apply] |
| 30 | rw [he] |
| 31 | exact tangent.hasFDerivAt.add_const _ |
| 32 | |
| 33 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 34 | {B : GeometricSource.CM.BallDatum E} |
| 35 | |
| 36 | def lineScale (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) : ℂ := |
| 37 | UnitaryEq.CM.Frames.localAction E g 1 (GeometricSource.CM.BallDatum.lineVector z) 2 |
| 38 | |
| 39 | theorem line_scale_action (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 40 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : |
| 41 | UnitaryEq.CM.Frames.localAction E g 1 (GeometricSource.CM.BallDatum.lineVector z) = |
| 42 | lineScale E g z • GeometricSource.CM.BallDatum.lineVector (UnitaryEq.CM.Frames.period E g z) := by |
| 43 | obtain ⟨c, _, he⟩ := UnitaryEq.CM.Frames.line_action E g z hz |
| 44 | have hc : lineScale E g z = c := by |
| 45 | have h := congrFun he 2 |
| 46 | change lineScale E g z = c * 1 at h |
| 47 | simpa only [mul_one] using h |
| 48 | rw [hc] |
| 49 | exact he |
| 50 | |
| 51 | theorem lineScale_ne_zero (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 52 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : lineScale E g z ≠ 0 := by |
| 53 | obtain ⟨c, hc, he⟩ := UnitaryEq.CM.Frames.line_action E g z hz |
| 54 | have h : lineScale E g z = c := by |
| 55 | have h := congrFun he 2 |
| 56 | change lineScale E g z = c * 1 at h |
| 57 | simpa only [mul_one] using h |
| 58 | exact h ▸ hc |
| 59 | |
| 60 | theorem lineScale_differentiableAt (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) : |
| 61 | DifferentiableAt ℂ (lineScale E g) z := |
| 62 | (ContinuousLinearMap.proj (R := ℂ) (φ := fun _ : Fin 3 => ℂ) 2).differentiableAt.comp z |
| 63 | ((LinearMap.toContinuousLinearMap (UnitaryEq.CM.Frames.localAction E g 1)).differentiableAt.comp z |
| 64 | (lineVector_hasFDerivAt z).differentiableAt) |
| 65 | |
| 66 | theorem period_differentiableAt (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 67 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : DifferentiableAt ℂ (UnitaryEq.CM.Frames.period E g) z := |
| 68 | (RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm_differentiableOn B.b E.val.toRingHom g z hz).differentiableAt |
| 69 | (B.domain_isOpen.mem_nhds hz) |
| 70 | |
| 71 | theorem line_differential (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 72 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (ξ : GeometricSource.CM.BallChart) : |
| 73 | UnitaryEq.CM.Frames.localAction E g 1 (tangent ξ) = |
| 74 | lineScale E g z • tangent (fderiv ℂ (UnitaryEq.CM.Frames.period E g) z ξ) + |
| 75 | fderiv ℂ (lineScale E g) z ξ • GeometricSource.CM.BallDatum.lineVector (UnitaryEq.CM.Frames.period E g z) := by |
| 76 | have hl := (LinearMap.toContinuousLinearMap (UnitaryEq.CM.Frames.localAction E g 1)).hasFDerivAt.comp z |
| 77 | (lineVector_hasFDerivAt z) |
| 78 | have hr := (lineScale_differentiableAt E g z).hasFDerivAt.smul |
| 79 | ((lineVector_hasFDerivAt (UnitaryEq.CM.Frames.period E g z)).comp z |
| 80 | (period_differentiableAt E g z hz).hasFDerivAt) |
| 81 | have he : (fun x => UnitaryEq.CM.Frames.localAction E g 1 (GeometricSource.CM.BallDatum.lineVector x)) =ᶠ[nhds z] |
| 82 | (fun x => lineScale E g x • GeometricSource.CM.BallDatum.lineVector (UnitaryEq.CM.Frames.period E g x)) := |
| 83 | Filter.eventually_of_mem (B.domain_isOpen.mem_nhds hz) (fun x hx => line_scale_action E g x hx) |
| 84 | have h := hl.unique (hr.congr_of_eventuallyEq he) |
| 85 | exact congrArg (fun f : GeometricSource.CM.BallChart →L[ℂ] GeometricSource.CM.Vec ℂ => f ξ) h |
| 86 | |
| 87 | theorem pairing_add_left (τ : Gal(E/ℚ)) (x y w : GeometricSource.CM.Vec ℂ) : |
| 88 | GeometricSource.CM.localPairing E B.b τ (x + y) w = |
| 89 | GeometricSource.CM.localPairing E B.b τ x w + GeometricSource.CM.localPairing E B.b τ y w := by |
| 90 | simp only [GeometricSource.CM.localPairing, Pi.add_apply, mul_add, add_mul, Finset.sum_add_distrib] |
| 91 | |
| 92 | theorem cotangent_covariance (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 93 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (ξ : GeometricSource.CM.BallChart) (w : GeometricSource.CM.Vec ℂ) |
| 94 | (hw : GeometricSource.CM.localPairing E B.b 1 (GeometricSource.CM.BallDatum.lineVector z) w = 0) : |
| 95 | lineScale E g z * GeometricSource.CM.localPairing E B.b 1 |
| 96 | (tangent (fderiv ℂ (UnitaryEq.CM.Frames.period E g) z ξ)) (UnitaryEq.CM.Frames.localAction E g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E) w) = |
| 97 | GeometricSource.CM.localPairing E B.b 1 (tangent ξ) w := by |
| 98 | have hpair := UnitaryEq.CM.Frames.pairing_preserved E g 1 (GeometricSource.CM.BallDatum.lineVector z) w |
| 99 | rw [mul_one, line_scale_action E g z hz, UnitaryEq.CM.PrescribedAction.pairing_smul_left, hw] at hpair |
| 100 | have hann := (mul_eq_zero.mp hpair).resolve_left (lineScale_ne_zero E g z hz) |
| 101 | have h := UnitaryEq.CM.Frames.pairing_preserved E g 1 (tangent ξ) w |
| 102 | rw [mul_one, line_differential E g z hz ξ, pairing_add_left, |
| 103 | UnitaryEq.CM.PrescribedAction.pairing_smul_left, UnitaryEq.CM.PrescribedAction.pairing_smul_left, hann, mul_zero, add_zero] at h |
| 104 | exact h |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PeriodDifferential.CM |