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.SingleLineFrameDeterminant |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallConnected |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.BallHolomorphicSquare |
| 4 | import OAI.RepresentationTheory.Theta.Adelic.ContinuousSquareRoot |
| 5 | |
| 6 | /-! # Single Line Half Ratio -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineHalfRatio.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The source/native half-frame ratio is a single nonzero constant on |
| 13 | the actual source ball. The constant comes from the fixed frame change, |
| 14 | with the theta multiplier and the geometric half-frames retained. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 17 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.GeometricGaussians |
| 20 | open OAI.RepresentationTheory.Theta.Adelic.BallHolomorphicSquare OAI.RepresentationTheory.Theta.Adelic.ContinuousSquareRoot |
| 21 | |
| 22 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 23 | |
| 24 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 25 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 26 | (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 27 | (Q : Lagrangians.CM.LagrangianPair K B places (fun j v => d j (places.representative v))) |
| 28 | (hμ : ∀ j, d j (places.representative places.distinguished) = true) |
| 29 | (j : Fin 2) (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) |
| 30 | (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) |
| 31 | |
| 32 | def singleSourceNativeHalfRatio (z : B.Domain) : ℂ := |
| 33 | IndexedCovariance.CM.indexedThetaMultiplier (SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j |
| 34 | L.coordinates hL) |
| 35 | (L.period z.val) / |
| 36 | ((SingleLineComponents.CM.directSingleLineComparison K Q hμ j).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 37 | (L.halfDet z.val : ℂ)) |
| 38 | |
| 39 | theorem single_source_native_half_denominator_ne_zero (z : B.Domain) : |
| 40 | (SingleLineComponents.CM.directSingleLineComparison K Q hμ j).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 41 | (L.halfDet z.val : ℂ) ≠ 0 := |
| 42 | mul_ne_zero (((RepresentationTheory.Theta.Adelic.GeometricGaussians.constructedComparison_geometry (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) |
| 43 | (SingleLineComponents.CM.directSingleLineFrames K Q j)).2.2.2.2.2.1 (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).1) |
| 44 | (Units.ne_zero _) |
| 45 | |
| 46 | theorem single_source_native_half_ratio_ne_zero (z : B.Domain) : |
| 47 | singleSourceNativeHalfRatio K d Q hμ j L hL z ≠ 0 := |
| 48 | div_ne_zero (IndexedCovariance.CM.indexed_theta_multiplier_ne_zero _ _) (single_source_native_half_denominator_ne_zero K d Q hμ j L z) |
| 49 | |
| 50 | theorem single_source_native_half_ratio_square (z : B.Domain) : |
| 51 | singleSourceNativeHalfRatio K d Q hμ j L hL z ^ 2 = |
| 52 | (SingleLineFrameDeterminant.CM.directSingleIndexedFrameCoefficientMatrix K Q j).det := by |
| 53 | unfold singleSourceNativeHalfRatio |
| 54 | rw [div_pow] |
| 55 | apply (div_eq_iff (pow_ne_zero 2 (single_source_native_half_denominator_ne_zero K d Q hμ j L z))).mpr |
| 56 | exact (SingleLineFrameDeterminant.CM.single_source_native_theta_multiplier_square K d Q hμ j L hL z).trans (mul_comm _ _) |
| 57 | |
| 58 | theorem single_source_native_half_ratio_continuous : |
| 59 | Continuous (singleSourceNativeHalfRatio K d Q hμ j L hL) := by |
| 60 | have : Nonempty (HeckeCycles.GeometricSource.CM.Positions K places) := ⟨(places.distinguished, 0)⟩ |
| 61 | have hm := (IndexedCovariance.CM.indexed_theta_multiplier_holomorphic |
| 62 | (SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL) |
| 63 | L.period L.holomorphic).continuousOn |
| 64 | have hn := (RepresentationTheory.Theta.Adelic.BallHolomorphicSquare.ball_holomorphic_continuous _ |
| 65 | (RepresentationTheory.Theta.Adelic.GeometricGaussians.constructedComparison_geometry (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) |
| 66 | (SingleLineComponents.CM.directSingleLineFrames K Q j)).2.2.2.2.1).comp (SourceIntrinsicBall.CM.source_native_ball_continuous K B) |
| 67 | have hs := L.halfDet_holomorphic.continuousOn.domRestrict |
| 68 | exact hm.domRestrict.div (hn.mul hs) |
| 69 | (single_source_native_half_denominator_ne_zero K d Q hμ j L) |
| 70 | |
| 71 | theorem single_source_native_half_ratio_constant (z₀ z : B.Domain) : |
| 72 | singleSourceNativeHalfRatio K d Q hμ j L hL z = |
| 73 | singleSourceNativeHalfRatio K d Q hμ j L hL z₀ := by |
| 74 | have : ConnectedSpace B.Domain := BallConnected.CM.ball_domain_connected B |
| 75 | have h := RepresentationTheory.Theta.Adelic.ContinuousSquareRoot.continuous_square_roots_eq (singleSourceNativeHalfRatio K d Q hμ j L hL) |
| 76 | (fun _ => singleSourceNativeHalfRatio K d Q hμ j L hL z₀) |
| 77 | (single_source_native_half_ratio_continuous K d Q hμ j L hL) continuous_const |
| 78 | (single_source_native_half_ratio_ne_zero K d Q hμ j L hL) |
| 79 | (fun y => (single_source_native_half_ratio_square K d Q hμ j L hL y).trans |
| 80 | (single_source_native_half_ratio_square K d Q hμ j L hL z₀).symm) z₀ rfl |
| 81 | exact congrFun h z |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineHalfRatio.CM |