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.SourceIntrinsicFrameDeterminant |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallConnected |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.BallHolomorphicSquare |
| 4 | import OAI.RepresentationTheory.Theta.Adelic.ContinuousSquareRoot |
| 5 | |
| 6 | /-! # Source Intrinsic Half Ratio -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicHalfRatio.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 both 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 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 30 | (L : (j : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) |
| 31 | (hL : ∀ j, (L j).coordinates.a = Q.a j ∧ (L j).coordinates.delta = Q.delta) |
| 32 | |
| 33 | def sourceNativeHalfRatio (z : B.Domain) : ℂ := |
| 34 | IndexedCovariance.CM.indexedThetaMultiplier (SourceIntrinsicTransition.CM.sourceNativeSymplecticTransition K Q hμ hother |
| 35 | (fun j => (L j).coordinates) hL) |
| 36 | (BlockPeriod.CM.blockPeriod ((L 0).period z.val) ((L 1).period z.val)) / |
| 37 | ((SourceComponents.CM.directSourceComparison K Q hμ hother).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 38 | (((L 0).halfDet z.val : ℂ) * ((L 1).halfDet z.val : ℂ))) |
| 39 | |
| 40 | theorem source_native_half_denominator_ne_zero (z : B.Domain) : |
| 41 | (SourceComponents.CM.directSourceComparison K Q hμ hother).halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) * |
| 42 | (((L 0).halfDet z.val : ℂ) * ((L 1).halfDet z.val : ℂ)) ≠ 0 := |
| 43 | mul_ne_zero (((RepresentationTheory.Theta.Adelic.GeometricGaussians.constructedComparison_geometry (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) |
| 44 | (SourceComponents.CM.directSourceFrames K Q)).2.2.2.2.2.1 (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z)).1) |
| 45 | (mul_ne_zero (Units.ne_zero _) (Units.ne_zero _)) |
| 46 | |
| 47 | theorem source_native_half_ratio_ne_zero (z : B.Domain) : |
| 48 | sourceNativeHalfRatio K d Q hμ hother L hL z ≠ 0 := |
| 49 | div_ne_zero (IndexedCovariance.CM.indexed_theta_multiplier_ne_zero _ _) (source_native_half_denominator_ne_zero K d Q hμ hother L z) |
| 50 | |
| 51 | theorem source_native_half_ratio_square (z : B.Domain) : |
| 52 | sourceNativeHalfRatio K d Q hμ hother L hL z ^ 2 = |
| 53 | (SourceIntrinsicFrameDeterminant.CM.directSourceIndexedFrameCoefficientMatrix K Q).det := by |
| 54 | unfold sourceNativeHalfRatio |
| 55 | rw [div_pow] |
| 56 | apply (div_eq_iff (pow_ne_zero 2 (source_native_half_denominator_ne_zero K d Q hμ hother L z))).mpr |
| 57 | exact (SourceIntrinsicFrameDeterminant.CM.source_native_theta_multiplier_square K d Q hμ hother L hL z).trans (mul_comm _ _) |
| 58 | |
| 59 | theorem source_native_half_ratio_continuous : |
| 60 | Continuous (sourceNativeHalfRatio K d Q hμ hother L hL) := by |
| 61 | have : Nonempty (PeriodTotal.CM.TotalPositions K places) := ⟨.inl (places.distinguished, 0)⟩ |
| 62 | have hZ := MovingTotalPeriod.CM.block_period_holomorphic (fun z => (L 0).period z) (fun z => (L 1).period z) |
| 63 | (L 0).holomorphic (L 1).holomorphic |
| 64 | have hm := (IndexedCovariance.CM.indexed_theta_multiplier_holomorphic |
| 65 | (SourceIntrinsicTransition.CM.sourceNativeSymplecticTransition K Q hμ hother (fun j => (L j).coordinates) hL) |
| 66 | (fun z => BlockPeriod.CM.blockPeriod ((L 0).period z) ((L 1).period z)) hZ).continuousOn |
| 67 | have hn := (RepresentationTheory.Theta.Adelic.BallHolomorphicSquare.ball_holomorphic_continuous _ |
| 68 | (RepresentationTheory.Theta.Adelic.GeometricGaussians.constructedComparison_geometry (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) |
| 69 | (SourceComponents.CM.directSourceFrames K Q)).2.2.2.2.1).comp (SourceIntrinsicBall.CM.source_native_ball_continuous K B) |
| 70 | have hs₀ := (L 0).halfDet_holomorphic.continuousOn.domRestrict |
| 71 | have hs₁ := (L 1).halfDet_holomorphic.continuousOn.domRestrict |
| 72 | exact hm.domRestrict.div (hn.mul (hs₀.mul hs₁)) |
| 73 | (source_native_half_denominator_ne_zero K d Q hμ hother L) |
| 74 | |
| 75 | theorem source_native_half_ratio_constant (z₀ z : B.Domain) : |
| 76 | sourceNativeHalfRatio K d Q hμ hother L hL z = |
| 77 | sourceNativeHalfRatio K d Q hμ hother L hL z₀ := by |
| 78 | have : ConnectedSpace B.Domain := BallConnected.CM.ball_domain_connected B |
| 79 | have h := RepresentationTheory.Theta.Adelic.ContinuousSquareRoot.continuous_square_roots_eq (sourceNativeHalfRatio K d Q hμ hother L hL) |
| 80 | (fun _ => sourceNativeHalfRatio K d Q hμ hother L hL z₀) |
| 81 | (source_native_half_ratio_continuous K d Q hμ hother L hL) continuous_const |
| 82 | (source_native_half_ratio_ne_zero K d Q hμ hother L hL) |
| 83 | (fun y => (source_native_half_ratio_square K d Q hμ hother L hL y).trans |
| 84 | (source_native_half_ratio_square K d Q hμ hother L hL z₀).symm) z₀ rfl |
| 85 | exact congrFun h z |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicHalfRatio.CM |