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.IntrinsicParameterLinear |
| 2 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicGraphCalculus |
| 3 | |
| 4 | /-! # Intrinsic Parameter Graph -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace RepresentationTheory.Theta.Kernel.IntrinsicParameterGraph.Intrinsic |
| 11 | |
| 12 | /-! Explicit local period charts for the native compact-place projector |
| 13 | family. The chart recovers the original native period at every ball |
| 14 | point and varies holomorphically wherever its position block is invertible. -/ |
| 15 | |
| 16 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Topology _root_.Matrix.Norms.Elementwise |
| 17 | |
| 18 | open Filter |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Kernel.IntrinsicExterior.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicSections |
| 20 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactProjector.IntrinsicParameter OAI.RepresentationTheory.Theta.Kernel.IntrinsicParameterLinear.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicGraphCalculus.Intrinsic |
| 21 | |
| 22 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 23 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 24 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 25 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} (B : Adelic.DataTheta.ComparisonData F H K A) |
| 26 | |
| 27 | abbrev ParameterPoint := IntrinsicCompactProjector.IntrinsicParameter.ProjectorParameters A × IntrinsicExterior.Intrinsic.Tangent |
| 28 | |
| 29 | def periodExtension (z : IntrinsicExterior.Intrinsic.Tangent) : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℂ := |
| 30 | if hz : z ∈ Adelic.BallGeometryData.ballDomain then (B.period ⟨z,hz⟩).matrix else 0 |
| 31 | |
| 32 | def parameterBaseDomain : Set (ParameterPoint (A := A)) := {q | q.2 ∈ Adelic.BallGeometryData.ballDomain} |
| 33 | |
| 34 | def parameterPositionBlock (q : ParameterPoint (A := A)) : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℂ := |
| 35 | IntrinsicGraphCalculus.Intrinsic.positionBlock (IntrinsicCompactProjector.IntrinsicParameter.coordinateProjector A B q.1 q.2) (periodExtension B q.2) |
| 36 | |
| 37 | def parameterGraphDomain : Set (ParameterPoint (A := A)) := |
| 38 | {q | q.2 ∈ Adelic.BallGeometryData.ballDomain ∧ (parameterPositionBlock B q).det ≠ 0} |
| 39 | |
| 40 | def parameterPeriodChart (q : ParameterPoint (A := A)) : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℂ := |
| 41 | IntrinsicGraphCalculus.Intrinsic.graphChart (IntrinsicCompactProjector.IntrinsicParameter.coordinateProjector A B q.1 q.2) (periodExtension B q.2) |
| 42 | |
| 43 | theorem periodExtension_ball (z : Adelic.BallNatural.Ball) : periodExtension B z.val = (B.period z).matrix := |
| 44 | dite_eq_left z.property |
| 45 | |
| 46 | theorem parameter_base_period_holomorphic (hG : Adelic.DataTheta.GeometryIdentification B) : |
| 47 | DifferentiableOn ℂ (fun q : ParameterPoint (A := A) => periodExtension B q.2) (parameterBaseDomain (A := A)) := |
| 48 | hG.2.2.1.comp differentiableOn_snd (fun _ h => h) |
| 49 | |
| 50 | theorem parameter_position_holomorphic (hG : Adelic.DataTheta.GeometryIdentification B) : |
| 51 | DifferentiableOn ℂ (parameterPositionBlock B) (parameterBaseDomain (A := A)) := |
| 52 | (IntrinsicGraphCalculus.Intrinsic.blocks_holomorphic _ _ (IntrinsicCompactProjector.IntrinsicParameter.coordinateProjector_holomorphic A B).differentiableOn |
| 53 | (parameter_base_period_holomorphic B hG)).1 |
| 54 | |
| 55 | theorem parameter_graph_domain_open (hG : Adelic.DataTheta.GeometryIdentification B) : IsOpen (parameterGraphDomain B) := by |
| 56 | apply isOpen_iff_mem_nhds.mpr |
| 57 | intro q hq |
| 58 | have hs : parameterBaseDomain (A := A) ∈ 𝓝 q := |
| 59 | (IntrinsicSmooth.IntrinsicSections.ballDomain_open.preimage continuous_snd).mem_nhds hq.1 |
| 60 | have hc : ContinuousAt (fun r => (parameterPositionBlock B r).det) q := |
| 61 | ((AlgebraicGeometry.HodgeConjecture.ThetaCycle.MatrixCalculus.CM.matrix_determinant_holomorphic _ |
| 62 | (parameter_position_holomorphic B hG)).differentiableAt hs).continuousAt |
| 63 | exact inter_mem hs (hc.eventually_ne hq.2) |
| 64 | |
| 65 | theorem parameter_position_base (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 66 | parameterPositionBlock B (IntrinsicCompactProjector.IntrinsicParameter.baseParameter A,z.val) = 1 := by |
| 67 | unfold parameterPositionBlock |
| 68 | rw [periodExtension_ball] |
| 69 | exact (IntrinsicGraphCalculus.Intrinsic.blocks_of_fixed_graph _ _ (IntrinsicParameterLinear.Intrinsic.coordinateProjector_base_graph A B hG z)).1 |
| 70 | |
| 71 | theorem parameter_graph_domain_base (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 72 | (IntrinsicCompactProjector.IntrinsicParameter.baseParameter A,z.val) ∈ parameterGraphDomain B := by |
| 73 | refine ⟨z.property,?_⟩ |
| 74 | rw [parameter_position_base B hG z,Matrix.det_one] |
| 75 | exact one_ne_zero |
| 76 | |
| 77 | theorem parameter_period_holomorphic (hG : Adelic.DataTheta.GeometryIdentification B) : |
| 78 | DifferentiableOn ℂ (parameterPeriodChart B) (parameterGraphDomain B) := |
| 79 | IntrinsicGraphCalculus.Intrinsic.graphChart_holomorphic _ _ (IntrinsicCompactProjector.IntrinsicParameter.coordinateProjector_holomorphic A B).differentiableOn |
| 80 | ((parameter_base_period_holomorphic B hG).mono (fun _ h => h.1)) (fun _ h => h.2) |
| 81 | |
| 82 | theorem parameter_period_base (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 83 | parameterPeriodChart B (IntrinsicCompactProjector.IntrinsicParameter.baseParameter A,z.val) = (B.period z).matrix := by |
| 84 | unfold parameterPeriodChart IntrinsicGraphCalculus.Intrinsic.graphChart |
| 85 | rw [periodExtension_ball] |
| 86 | obtain ⟨hp,hq⟩ := IntrinsicGraphCalculus.Intrinsic.blocks_of_fixed_graph _ _ (IntrinsicParameterLinear.Intrinsic.coordinateProjector_base_graph A B hG z) |
| 87 | rw [hp,hq] |
| 88 | simp |
| 89 | |
| 90 | end RepresentationTheory.Theta.Kernel.IntrinsicParameterGraph.Intrinsic |
| 91 | |
| 92 | namespace RepresentationTheory.Theta.Kernel.IntrinsicParameterGraph.IntrinsicHalfFrame |
| 93 | |
| 94 | /-! A local square-root determinant frame for the actual projected |
| 95 | native Hodge frame, agreeing with the original half frame at the base |
| 96 | compact choice. -/ |
| 97 | |
| 98 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Topology _root_.Matrix.Norms.Elementwise |
| 99 | |
| 100 | open Filter |
| 101 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicSections |
| 102 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactProjector.IntrinsicParameter OAI.RepresentationTheory.Theta.Kernel.IntrinsicParameterGraph.Intrinsic |
| 103 | |
| 104 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 105 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 106 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 107 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} (B : Adelic.DataTheta.ComparisonData F H K A) |
| 108 | |
| 109 | def frameExtension (z : Fin 2 → ℂ) : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℂ := |
| 110 | if hz : z ∈ Adelic.BallGeometryData.ballDomain then (B.frame ⟨z,hz⟩).val else 0 |
| 111 | |
| 112 | def halfFrameExtension (z : Fin 2 → ℂ) : ℂ := |
| 113 | if hz : z ∈ Adelic.BallGeometryData.ballDomain then B.halfFrame ⟨z,hz⟩ else 0 |
| 114 | |
| 115 | def parameterFrame (q : Intrinsic.ParameterPoint (A := A)) : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℂ := |
| 116 | Intrinsic.parameterPositionBlock B q * frameExtension B q.2 |
| 117 | |
| 118 | def parameterHalfDomain : Set (Intrinsic.ParameterPoint (A := A)) := |
| 119 | {q | q ∈ Intrinsic.parameterGraphDomain B ∧ (Intrinsic.parameterPositionBlock B q).det ∈ Complex.slitPlane} |
| 120 | |
| 121 | def parameterHalfFrame (q : Intrinsic.ParameterPoint (A := A)) : ℂ := |
| 122 | halfFrameExtension B q.2 * Complex.sqrt (Intrinsic.parameterPositionBlock B q).det |
| 123 | |
| 124 | theorem parameter_half_domain_open (hG : Adelic.DataTheta.GeometryIdentification B) : IsOpen (parameterHalfDomain B) := by |
| 125 | apply isOpen_iff_mem_nhds.mpr |
| 126 | intro q hq |
| 127 | have hs : Intrinsic.parameterBaseDomain (A := A) ∈ 𝓝 q := |
| 128 | (IntrinsicSmooth.IntrinsicSections.ballDomain_open.preimage continuous_snd).mem_nhds hq.1.1 |
| 129 | have hc : ContinuousAt (fun r => (Intrinsic.parameterPositionBlock B r).det) q := |
| 130 | ((AlgebraicGeometry.HodgeConjecture.ThetaCycle.MatrixCalculus.CM.matrix_determinant_holomorphic _ |
| 131 | (Intrinsic.parameter_position_holomorphic B hG)).differentiableAt hs).continuousAt |
| 132 | exact inter_mem ((Intrinsic.parameter_graph_domain_open B hG).mem_nhds hq.1) |
| 133 | (hc (Complex.isOpen_slitPlane.mem_nhds hq.2)) |
| 134 | |
| 135 | theorem parameter_half_domain_base (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 136 | (IntrinsicCompactProjector.IntrinsicParameter.baseParameter A,z.val) ∈ parameterHalfDomain B := by |
| 137 | refine ⟨Intrinsic.parameter_graph_domain_base B hG z,?_⟩ |
| 138 | rw [Intrinsic.parameter_position_base B hG z,Matrix.det_one] |
| 139 | exact Complex.one_mem_slitPlane |
| 140 | |
| 141 | theorem parameter_frame_base (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 142 | parameterFrame B (IntrinsicCompactProjector.IntrinsicParameter.baseParameter A,z.val) = (B.frame z).val := by |
| 143 | unfold parameterFrame frameExtension |
| 144 | rw [Intrinsic.parameter_position_base B hG z,Matrix.one_mul] |
| 145 | exact dite_eq_left (show z.val ∈ Adelic.BallGeometryData.ballDomain from z.property) |
| 146 | |
| 147 | theorem parameter_half_base (hG : Adelic.DataTheta.GeometryIdentification B) (z : Adelic.BallNatural.Ball) : |
| 148 | parameterHalfFrame B (IntrinsicCompactProjector.IntrinsicParameter.baseParameter A,z.val) = B.halfFrame z := by |
| 149 | unfold parameterHalfFrame halfFrameExtension |
| 150 | rw [Intrinsic.parameter_position_base B hG z,Matrix.det_one,Complex.sqrt_one,mul_one] |
| 151 | exact dite_eq_left (show z.val ∈ Adelic.BallGeometryData.ballDomain from z.property) |
| 152 | |
| 153 | theorem parameter_half_square (hG : Adelic.DataTheta.GeometryIdentification B) (q : Intrinsic.ParameterPoint (A := A)) |
| 154 | (hq : q.2 ∈ Adelic.BallGeometryData.ballDomain) : (parameterHalfFrame B q) ^ 2 = (parameterFrame B q).det := by |
| 155 | have hs : (Complex.sqrt (Intrinsic.parameterPositionBlock B q).det) ^ 2 = (Intrinsic.parameterPositionBlock B q).det := |
| 156 | Complex.cpow_ofNat_inv_pow _ 2 |
| 157 | unfold parameterHalfFrame parameterFrame halfFrameExtension frameExtension |
| 158 | rw [mul_pow,hs,dite_eq_left hq,Matrix.det_mul,dite_eq_left hq,(hG.2.2.2.2.2.1 ⟨q.2,hq⟩).2] |
| 159 | exact mul_comm _ _ |
| 160 | |
| 161 | theorem parameter_half_nonzero (hG : Adelic.DataTheta.GeometryIdentification B) (q : Intrinsic.ParameterPoint (A := A)) |
| 162 | (hq : q ∈ parameterHalfDomain B) : parameterHalfFrame B q ≠ 0 := by |
| 163 | apply mul_ne_zero |
| 164 | · change (if hz : q.2 ∈ Adelic.BallGeometryData.ballDomain then B.halfFrame ⟨q.2,hz⟩ else 0) ≠ 0 |
| 165 | rw [dite_eq_left hq.1.1] |
| 166 | exact (hG.2.2.2.2.2.1 _).1 |
| 167 | · intro h |
| 168 | have hs : (Complex.sqrt (Intrinsic.parameterPositionBlock B q).det) ^ 2 = (Intrinsic.parameterPositionBlock B q).det := |
| 169 | Complex.cpow_ofNat_inv_pow _ 2 |
| 170 | rw [h,zero_pow (by decide)] at hs |
| 171 | exact hq.1.2 hs.symm |
| 172 | |
| 173 | theorem parameter_half_holomorphic (hG : Adelic.DataTheta.GeometryIdentification B) : |
| 174 | DifferentiableOn ℂ (parameterHalfFrame B) (parameterHalfDomain B) := by |
| 175 | have hh : DifferentiableOn ℂ (fun q : Intrinsic.ParameterPoint (A := A) => halfFrameExtension B q.2) |
| 176 | (parameterHalfDomain B) := |
| 177 | hG.2.2.2.2.1.comp differentiableOn_snd (fun _ h => h.1.1) |
| 178 | have hd := (AlgebraicGeometry.HodgeConjecture.ThetaCycle.MatrixCalculus.CM.matrix_determinant_holomorphic _ |
| 179 | (Intrinsic.parameter_position_holomorphic B hG)).mono (show parameterHalfDomain B ⊆ Intrinsic.parameterBaseDomain (A := A) |
| 180 | from fun _ h => h.1.1) |
| 181 | exact hh.mul (Complex.differentiableOn_sqrt.comp hd (fun _ h => h.2)) |
| 182 | |
| 183 | end RepresentationTheory.Theta.Kernel.IntrinsicParameterGraph.IntrinsicHalfFrame |
| 184 | |
| 185 | end |
| 186 | |
| 187 | end OAI |