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.RepresentationTheory.Theta.Kernel.IntrinsicCoordinateAgreement |
| 2 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicBallTopology |
| 3 | |
| 4 | /-! # Intrinsic Determinant Comparison -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicDeterminantComparison.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The half-determinant comparison is constant on the actual ball. |
| 11 | Its square is computed from the fixed native coordinate change. The |
| 12 | constant is therefore derived from coordinate and geometry identifications. -/ |
| 13 | |
| 14 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 15 | |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands |
| 17 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicArithmetic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicGlobal OAI.RepresentationTheory.Theta.Kernel.IntrinsicHodgeSplit.Intrinsic |
| 18 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicBlockSiegel.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicComplexTransport.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCoordinateAgreement.IntrinsicPositionTransport |
| 19 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicBallTopology.Intrinsic |
| 20 | |
| 21 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 22 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 23 | variable {K₁ : (Matrix (Fin 1) (Fin 1) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 24 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 1 H K₁} {S : IntrinsicSplitting.IntrinsicSummands.SecondLine A} |
| 25 | variable {P₁ : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 1 H K₁} {P₂ : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 1 H S.form} |
| 26 | variable (B₁ : Adelic.DataTheta.ComparisonData F H K₁ A) |
| 27 | variable (B₂ : Adelic.DataTheta.ComparisonData F H S.form (IntrinsicSplitting.IntrinsicSummands.secondArithmetic A S)) |
| 28 | variable (B : Adelic.DataTheta.ComparisonData F H (IntrinsicSplitting.IntrinsicArithmetic.blockUnit K₁ S.form) (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S)) |
| 29 | |
| 30 | def frameComparison : (Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℂ) →ₗ[ℂ] |
| 31 | (Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℂ) := |
| 32 | (IntrinsicHodgeSplit.Intrinsic.splitCoordinates A S).symm.toLinearMap.comp (IntrinsicCoordinateAgreement.IntrinsicPositionTransport.complexPositionChange B₁ B₂ B) |
| 33 | |
| 34 | def splitFrameEnd (z : Adelic.BallNatural.Ball) : (Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℂ) →ₗ[ℂ] |
| 35 | (Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) → ℂ) := |
| 36 | (IntrinsicHodgeSplit.Intrinsic.splitCoordinates A S).symm.toLinearMap.comp |
| 37 | ((Matrix.toLin' (IntrinsicBlockSiegel.Intrinsic.blockFrame (B₁.frame z) (B₂.frame z)).val).comp |
| 38 | (IntrinsicHodgeSplit.Intrinsic.splitCoordinates A S).toLinearMap) |
| 39 | |
| 40 | theorem frameComparison_identity |
| 41 | (hC₁ : Adelic.DataTheta.CoordinateIdentification B₁ P₁) (hC₂ : Adelic.DataTheta.CoordinateIdentification B₂ P₂) |
| 42 | (hC : Adelic.DataTheta.CoordinateIdentification B (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂)) |
| 43 | (hG₁ : Adelic.DataTheta.GeometryIdentification B₁) (hG₂ : Adelic.DataTheta.GeometryIdentification B₂) |
| 44 | (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 45 | (frameComparison B₁ B₂ B).comp (Matrix.toLin' (B.frame z).val) = splitFrameEnd B₁ B₂ z := by |
| 46 | apply LinearMap.ext |
| 47 | intro a |
| 48 | have h := congrArg (IntrinsicCoordinateAgreement.IntrinsicPositionTransport.positions ℂ _) |
| 49 | (IntrinsicComplexTransport.Intrinsic.complexPhaseChange_graph B₁ B₂ B hG₁ hG₂ hG z a) |
| 50 | rw [IntrinsicCoordinateAgreement.IntrinsicPositionTransport.complexPhaseChange_positions B₁ B₂ B hC₁ hC₂ hC] at h |
| 51 | exact congrArg (IntrinsicHodgeSplit.Intrinsic.splitCoordinates A S).symm h |
| 52 | |
| 53 | theorem splitFrameEnd_det (z : Adelic.BallNatural.Ball) : |
| 54 | LinearMap.det (splitFrameEnd B₁ B₂ z) = (B₁.frame z).val.det * (B₂.frame z).val.det := by |
| 55 | have h := LinearMap.det_conj |
| 56 | (Matrix.toLin' (IntrinsicBlockSiegel.Intrinsic.blockFrame (B₁.frame z) (B₂.frame z)).val) |
| 57 | (IntrinsicHodgeSplit.Intrinsic.splitCoordinates A S).symm.toLinearEquiv |
| 58 | change LinearMap.det (splitFrameEnd B₁ B₂ z) = _ at h |
| 59 | rw [h, LinearMap.det_toLin', IntrinsicBlockSiegel.Intrinsic.blockFrame_det] |
| 60 | |
| 61 | theorem determinant_comparison |
| 62 | (hC₁ : Adelic.DataTheta.CoordinateIdentification B₁ P₁) (hC₂ : Adelic.DataTheta.CoordinateIdentification B₂ P₂) |
| 63 | (hC : Adelic.DataTheta.CoordinateIdentification B (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂)) |
| 64 | (hG₁ : Adelic.DataTheta.GeometryIdentification B₁) (hG₂ : Adelic.DataTheta.GeometryIdentification B₂) |
| 65 | (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 66 | LinearMap.det (frameComparison B₁ B₂ B) * (B.frame z).val.det = |
| 67 | (B₁.frame z).val.det * (B₂.frame z).val.det := by |
| 68 | have h := congrArg LinearMap.det |
| 69 | (frameComparison_identity B₁ B₂ B hC₁ hC₂ hC hG₁ hG₂ hG z) |
| 70 | simpa only [LinearMap.det_comp, LinearMap.det_toLin', splitFrameEnd_det] using h |
| 71 | |
| 72 | def halfFrameRatio (z : Adelic.BallNatural.Ball) : ℂ := B.halfFrame z / (B₁.halfFrame z * B₂.halfFrame z) |
| 73 | |
| 74 | theorem halfFrameRatio_nonzero (hG₁ : Adelic.DataTheta.GeometryIdentification B₁) |
| 75 | (hG₂ : Adelic.DataTheta.GeometryIdentification B₂) (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 76 | halfFrameRatio B₁ B₂ B z ≠ 0 := |
| 77 | div_ne_zero (hG.2.2.2.2.2.1 z).1 |
| 78 | (mul_ne_zero (hG₁.2.2.2.2.2.1 z).1 (hG₂.2.2.2.2.2.1 z).1) |
| 79 | |
| 80 | theorem halfFrameRatio_square |
| 81 | (hC₁ : Adelic.DataTheta.CoordinateIdentification B₁ P₁) (hC₂ : Adelic.DataTheta.CoordinateIdentification B₂ P₂) |
| 82 | (hC : Adelic.DataTheta.CoordinateIdentification B (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂)) |
| 83 | (hG₁ : Adelic.DataTheta.GeometryIdentification B₁) (hG₂ : Adelic.DataTheta.GeometryIdentification B₂) |
| 84 | (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 85 | halfFrameRatio B₁ B₂ B z ^ 2 = (LinearMap.det (frameComparison B₁ B₂ B))⁻¹ := by |
| 86 | have hd := determinant_comparison B₁ B₂ B hC₁ hC₂ hC hG₁ hG₂ hG z |
| 87 | rw [← (hG.2.2.2.2.2.1 z).2, ← (hG₁.2.2.2.2.2.1 z).2, |
| 88 | ← (hG₂.2.2.2.2.2.1 z).2, ← mul_pow] at hd |
| 89 | have he : LinearMap.det (frameComparison B₁ B₂ B) = |
| 90 | (B₁.halfFrame z * B₂.halfFrame z) ^ 2 / B.halfFrame z ^ 2 := |
| 91 | (eq_div_iff (pow_ne_zero 2 (hG.2.2.2.2.2.1 z).1)).mpr hd |
| 92 | rw [halfFrameRatio, div_pow, he, inv_div] |
| 93 | |
| 94 | theorem halfFrameRatio_constant |
| 95 | (hC₁ : Adelic.DataTheta.CoordinateIdentification B₁ P₁) (hC₂ : Adelic.DataTheta.CoordinateIdentification B₂ P₂) |
| 96 | (hC : Adelic.DataTheta.CoordinateIdentification B (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂)) |
| 97 | (hG₁ : Adelic.DataTheta.GeometryIdentification B₁) (hG₂ : Adelic.DataTheta.GeometryIdentification B₂) |
| 98 | (hG : Adelic.DataTheta.GeometryIdentification B) : |
| 99 | ∀ z, halfFrameRatio B₁ B₂ B z = halfFrameRatio B₁ B₂ B IntrinsicBallTopology.Intrinsic.origin := by |
| 100 | apply IntrinsicBallTopology.Intrinsic.constant_of_square |
| 101 | · exact (IntrinsicBallTopology.Intrinsic.holomorphic_continuous B.halfFrame hG.2.2.2.2.1).div |
| 102 | ((IntrinsicBallTopology.Intrinsic.holomorphic_continuous B₁.halfFrame hG₁.2.2.2.2.1).mul |
| 103 | (IntrinsicBallTopology.Intrinsic.holomorphic_continuous B₂.halfFrame hG₂.2.2.2.2.1)) |
| 104 | (fun z => mul_ne_zero (hG₁.2.2.2.2.2.1 z).1 (hG₂.2.2.2.2.2.1 z).1) |
| 105 | · intro z |
| 106 | rw [halfFrameRatio_square B₁ B₂ B hC₁ hC₂ hC hG₁ hG₂ hG z, |
| 107 | halfFrameRatio_square B₁ B₂ B hC₁ hC₂ hC hG₁ hG₂ hG IntrinsicBallTopology.Intrinsic.origin] |
| 108 | · exact halfFrameRatio_nonzero B₁ B₂ B hG₁ hG₂ hG IntrinsicBallTopology.Intrinsic.origin |
| 109 | |
| 110 | theorem native_half_frame_constant |
| 111 | (hC₁ : Adelic.DataTheta.CoordinateIdentification B₁ P₁) (hC₂ : Adelic.DataTheta.CoordinateIdentification B₂ P₂) |
| 112 | (hC : Adelic.DataTheta.CoordinateIdentification B (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂)) |
| 113 | (hG₁ : Adelic.DataTheta.GeometryIdentification B₁) (hG₂ : Adelic.DataTheta.GeometryIdentification B₂) |
| 114 | (hG : Adelic.DataTheta.GeometryIdentification B) : |
| 115 | ∃ c : ℂˣ, ∀ z, B.halfFrame z = (c : ℂ) * (B₁.halfFrame z * B₂.halfFrame z) := by |
| 116 | let c : ℂˣ := Units.mk0 (halfFrameRatio B₁ B₂ B IntrinsicBallTopology.Intrinsic.origin) |
| 117 | (halfFrameRatio_nonzero B₁ B₂ B hG₁ hG₂ hG IntrinsicBallTopology.Intrinsic.origin) |
| 118 | refine ⟨c,?_⟩ |
| 119 | intro z |
| 120 | have h := halfFrameRatio_constant B₁ B₂ B hC₁ hC₂ hC hG₁ hG₂ hG z |
| 121 | exact (div_eq_iff (mul_ne_zero (hG₁.2.2.2.2.2.1 z).1 (hG₂.2.2.2.2.2.1 z).1)).mp h |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicDeterminantComparison.Intrinsic |