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.ThetaCycle.SingleComparisonReturn |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleIntrinsicCotangentSlots |
| 3 | |
| 4 | /-! # Intrinsic Source One Forms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicSourceOneForms.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual native ThetaOneForms cotangent form of every factor input is a |
| 11 | fixed nonzero scalar times the actual source theta covector. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 14 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 16 | open OAI.RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection |
| 17 | |
| 18 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 19 | |
| 20 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 21 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 22 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 23 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 24 | (N : RepresentationTheory.Theta.Adelic.DataTheta.ComparisonData _ _ _ (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j)) |
| 25 | (hN : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification N (SingleLineComponents.CM.directSingleLineFrames K Q j)) |
| 26 | (hG : RepresentationTheory.Theta.Adelic.DataTheta.GeometryIdentification N) |
| 27 | (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) |
| 28 | |
| 29 | def nativeSourceOneFormConstant (z₀ : B.Domain) : ℂ := |
| 30 | SingleIntrinsicCotangentSlots.CM.singleNativeCotangentScale K Q j * SingleComparisonReturn.CM.singleComparisonReturnConstant K d Q hμ j N hN L hL z₀ |
| 31 | |
| 32 | include hG in |
| 33 | theorem native_source_one_form_constant_ne_zero (z₀ : B.Domain) : |
| 34 | nativeSourceOneFormConstant K d Q hμ j N hN L hL z₀ ≠ 0 := |
| 35 | mul_ne_zero (SingleIntrinsicCotangentSlots.CM.single_native_cotangent_scale_ne_zero K Q j) |
| 36 | (SingleComparisonReturn.CM.single_comparison_return_constant_ne_zero K d Q hμ j N hN hG L hL z₀) |
| 37 | |
| 38 | include hG in |
| 39 | theorem native_source_one_form_coordinate |
| 40 | (f : RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz (maximalRealSubfield K) (3 * 1)) |
| 41 | (z₀ z : B.Domain) (i : Fin 2) : |
| 42 | RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.thetaOneForm N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 43 | (Pi.single i 1) = nativeSourceOneFormConstant K d Q hμ j N hN L hL z₀ * |
| 44 | Slots.CM.sourceThetaCoordinates K L (SingleComparisonReturn.CM.singleComparisonReturnedInput K d Q hμ j N hN L hL f) z.val i := by |
| 45 | have he : RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.slotEmbedding (A := SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (Pi.single i 1) = |
| 46 | Pi.single (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.slot (A := SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) i) 1 := by |
| 47 | fin_cases i <;> simp [RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.slotEmbedding] |
| 48 | have ht := SingleComparisonReturn.CM.single_comparison_return_source_slot K d Q hμ j N hN hG L hL f z₀ z i |
| 49 | have hg := (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.geometricTensor_one_apply N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 50 | (fun _ => SingleLineGeometricTensor.CM.directSingleNativeDualCoordinates K d Q j (SingleAdaptedDualSlots.CM.singleAdaptedDualSlot K places i))).symm.trans ht |
| 51 | have hd := congrArg (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.geometricFirst N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)) |
| 52 | (SingleIntrinsicCotangentSlots.CM.direct_single_native_dual_slot K d Q hμ j i) |
| 53 | have hm := (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.geometricFirst N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).map_smul |
| 54 | (SingleIntrinsicCotangentSlots.CM.singleNativeCotangentScale K Q j)⁻¹ |
| 55 | (Pi.single (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.slot (A := SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) i) 1) |
| 56 | have hfirst := (hd.trans hm).symm.trans hg |
| 57 | change (SingleIntrinsicCotangentSlots.CM.singleNativeCotangentScale K Q j)⁻¹ * |
| 58 | RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.geometricFirst N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 59 | (Pi.single (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.slot (A := SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) i) 1) = _ at hfirst |
| 60 | have hθ : RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.thetaOneForm N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 61 | (Pi.single i 1) = RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.geometricFirst N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 62 | (Pi.single (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.slot (A := SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) i) 1) := by |
| 63 | exact (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.thetaOneForm_apply N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) (Pi.single i 1)).trans |
| 64 | (congrArg (RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.geometricFirst N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)) he) |
| 65 | have hs := congrArg (fun t : ℂ => SingleIntrinsicCotangentSlots.CM.singleNativeCotangentScale K Q j * t) hfirst |
| 66 | rw [mul_inv_cancel_left₀ (SingleIntrinsicCotangentSlots.CM.single_native_cotangent_scale_ne_zero K Q j)] at hs |
| 67 | exact hθ.trans (hs.trans (mul_assoc _ _ _).symm) |
| 68 | |
| 69 | include hG in |
| 70 | theorem native_source_one_form |
| 71 | (f : RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz (maximalRealSubfield K) (3 * 1)) |
| 72 | (z₀ z : B.Domain) : |
| 73 | RepresentationTheory.Theta.OneFormsIntrinsicLattice.IntrinsicProjection.thetaOneForm N f (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) = |
| 74 | nativeSourceOneFormConstant K d Q hμ j N hN L hL z₀ • |
| 75 | Projection.CM.sourceThetaCovector K L (SingleComparisonReturn.CM.singleComparisonReturnedInput K d Q hμ j N hN L hL f) z.val := by |
| 76 | apply ContinuousLinearMap.ext |
| 77 | intro u |
| 78 | have hu : u = u 0 • (Pi.single 0 1 : HeckeCycles.GeometricSource.CM.BallChart) + u 1 • (Pi.single 1 1 : HeckeCycles.GeometricSource.CM.BallChart) := by |
| 79 | funext i |
| 80 | fin_cases i <;> simp |
| 81 | conv_lhs => rw [hu, map_add, map_smul, map_smul] |
| 82 | rw [native_source_one_form_coordinate K d Q hμ j N hN hG L hL f z₀ z 0, |
| 83 | native_source_one_form_coordinate K d Q hμ j N hN hG L hL f z₀ z 1] |
| 84 | change _ = nativeSourceOneFormConstant K d Q hμ j N hN L hL z₀ * |
| 85 | Projection.CM.sourceThetaCovector K L (SingleComparisonReturn.CM.singleComparisonReturnedInput K d Q hμ j N hN L hL f) z.val u |
| 86 | conv_rhs => rw [hu, map_add, map_smul, map_smul] |
| 87 | have hc (i : Fin 2) : Projection.CM.sourceThetaCovector K L |
| 88 | (SingleComparisonReturn.CM.singleComparisonReturnedInput K d Q hμ j N hN L hL f) z.val (Pi.single i 1) = |
| 89 | Slots.CM.sourceThetaCoordinates K L (SingleComparisonReturn.CM.singleComparisonReturnedInput K d Q hμ j N hN L hL f) z.val i := by |
| 90 | apply congrArg (Projection.CM.sourceThetaCovector K L |
| 91 | (SingleComparisonReturn.CM.singleComparisonReturnedInput K d Q hμ j N hN L hL f) z.val) |
| 92 | funext k |
| 93 | simp only [Pi.single_apply] |
| 94 | split_ifs <;> rfl |
| 95 | rw [hc 0, hc 1] |
| 96 | simp only [smul_eq_mul] |
| 97 | change _ = nativeSourceOneFormConstant K d Q hμ j N hN L hL z₀ * |
| 98 | (u 0 * Slots.CM.sourceThetaCoordinates K L (SingleComparisonReturn.CM.singleComparisonReturnedInput K d Q hμ j N hN L hL f) z.val 0 + |
| 99 | u 1 * Slots.CM.sourceThetaCoordinates K L (SingleComparisonReturn.CM.singleComparisonReturnedInput K d Q hμ j N hN L hL f) z.val 1) |
| 100 | ring |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicSourceOneForms.CM |