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.Adelic.GeometricHalfFrame |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.SmoothSquareRoot |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.MatrixSmoothness |
| 4 | |
| 5 | /-! # Geometric Frame Smoothness -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Adelic.GeometricFrameSmoothness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smoothness of the actual period, inverse position frame, and |
| 12 | half-determinant frame in the affine ball coordinates. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 15 | |
| 16 | open _root_.Matrix |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates OAI.RepresentationTheory.Theta.Adelic.ComplexPhaseCoordinates |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.PeriodCoordinates OAI.RepresentationTheory.Theta.Adelic.PeriodHolomorphic OAI.RepresentationTheory.Theta.Adelic.GeometricHalfFrame |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.BallHolomorphicSquare OAI.RepresentationTheory.Theta.Adelic.SmoothSquareRoot OAI.RepresentationTheory.Theta.Adelic.MatrixSmoothness |
| 20 | |
| 21 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 22 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 23 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 24 | variable (A : BallGeometryData.BallArithmeticData F d m H K) |
| 25 | |
| 26 | theorem rawGeometricFrame_smooth (a : BallGeometryData.FrameIndex A → ℂ) : |
| 27 | ContDiff ℝ ⊤ (fun z => PeriodHolomorphic.rawGeometricFrame A z a) := by |
| 28 | apply contDiff_pi.mpr |
| 29 | intro v |
| 30 | apply ContDiff.prodMk |
| 31 | · apply contDiff_pi.mpr |
| 32 | rintro ⟨i, j⟩ |
| 33 | by_cases hv : v = A.distinguished |
| 34 | · fin_cases i <;> simp [hv, DeterminantCoordinates.lineVector] <;> fun_prop |
| 35 | · cases A.positive v j <;> simp [hv] <;> fun_prop |
| 36 | · apply contDiff_pi.mpr |
| 37 | rintro ⟨i, j⟩ |
| 38 | by_cases hv : v = A.distinguished |
| 39 | · fin_cases i <;> simp [hv, DeterminantCoordinates.annihilatorVector] <;> fun_prop |
| 40 | · cases A.positive v j <;> simp [hv] <;> fun_prop |
| 41 | |
| 42 | variable (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 m H K) |
| 43 | |
| 44 | theorem rawCoordinateHodgeMatrix_smooth : ContDiff ℝ ⊤ (PeriodHolomorphic.rawCoordinateHodgeMatrix A P) := by |
| 45 | apply contDiff_pi.mpr |
| 46 | intro i |
| 47 | apply contDiff_pi.mpr |
| 48 | intro j |
| 49 | exact (contDiff_apply ℝ ℂ i).comp |
| 50 | (((ComplexPhaseCoordinates.complexPhaseCoordinates A P).symm.toContinuousLinearMap.restrictScalars ℝ).contDiff.comp |
| 51 | (rawGeometricFrame_smooth A (Pi.single j 1))) |
| 52 | |
| 53 | theorem rawHodgePosition_smooth : ContDiff ℝ ⊤ (PeriodHolomorphic.rawHodgePosition A P) := by |
| 54 | apply contDiff_pi.mpr |
| 55 | intro i |
| 56 | apply contDiff_pi.mpr |
| 57 | intro j |
| 58 | change ContDiff ℝ ⊤ (fun z => PeriodHolomorphic.rawCoordinateHodgeMatrix A P z (.inl i) j) |
| 59 | exact (contDiff_apply_apply ℝ ℂ (.inl i) j).comp (rawCoordinateHodgeMatrix_smooth A P) |
| 60 | |
| 61 | theorem rawHodgeMomentum_smooth : ContDiff ℝ ⊤ (PeriodHolomorphic.rawHodgeMomentum A P) := by |
| 62 | apply contDiff_pi.mpr |
| 63 | intro i |
| 64 | apply contDiff_pi.mpr |
| 65 | intro j |
| 66 | change ContDiff ℝ ⊤ (fun z => PeriodHolomorphic.rawCoordinateHodgeMatrix A P z (.inr i) j) |
| 67 | exact (contDiff_apply_apply ℝ ℂ (.inr i) j).comp (rawCoordinateHodgeMatrix_smooth A P) |
| 68 | |
| 69 | theorem period_matrix_smooth : BallGeometryData.BallSmooth (fun z => (PeriodCoordinates.geometricPeriod A P z).matrix) := by |
| 70 | have hi : ContDiffOn ℝ ⊤ (fun z => (PeriodHolomorphic.rawHodgePosition A P z)⁻¹) BallGeometryData.ballDomain := |
| 71 | MatrixSmoothness.matrix_inverse_contDiffOn (PeriodHolomorphic.rawHodgePosition A P) (rawHodgePosition_smooth A P).contDiffOn |
| 72 | (fun z hz => PeriodCoordinates.hodgePosition_det_ne_zero A P ⟨z, hz⟩) |
| 73 | have hp := MatrixSmoothness.matrix_product_contDiffOn (PeriodHolomorphic.rawHodgeMomentum A P) (fun z => (PeriodHolomorphic.rawHodgePosition A P z)⁻¹) |
| 74 | (rawHodgeMomentum_smooth A P).contDiffOn hi |
| 75 | apply hp.congr |
| 76 | intro z hz |
| 77 | rw [dite_eq_left hz] |
| 78 | rfl |
| 79 | |
| 80 | theorem position_inverse_smooth : BallGeometryData.BallSmooth (fun z => (PeriodCoordinates.geometricPositionUnit A P z).inv) := by |
| 81 | have hi : ContDiffOn ℝ ⊤ (fun z => (PeriodHolomorphic.rawHodgePosition A P z)⁻¹) BallGeometryData.ballDomain := |
| 82 | MatrixSmoothness.matrix_inverse_contDiffOn (PeriodHolomorphic.rawHodgePosition A P) (rawHodgePosition_smooth A P).contDiffOn |
| 83 | (fun z hz => PeriodCoordinates.hodgePosition_det_ne_zero A P ⟨z, hz⟩) |
| 84 | apply hi.congr |
| 85 | intro z hz |
| 86 | rw [dite_eq_left hz] |
| 87 | exact Matrix.coe_units_inv (PeriodCoordinates.geometricPositionUnit A P ⟨z, hz⟩) |
| 88 | |
| 89 | theorem position_determinant_smooth : BallGeometryData.BallSmooth (fun z => (PeriodCoordinates.geometricPositionUnit A P z).val.det) := by |
| 90 | have hd : ContDiffOn ℝ ⊤ (fun z => (PeriodHolomorphic.rawHodgePosition A P z).det) BallGeometryData.ballDomain := |
| 91 | (MatrixSmoothness.matrix_determinant_contDiff.comp (rawHodgePosition_smooth A P)).contDiffOn |
| 92 | apply hd.congr |
| 93 | intro z hz |
| 94 | rw [dite_eq_left hz] |
| 95 | rfl |
| 96 | |
| 97 | theorem half_frame_smooth : BallGeometryData.BallSmooth (GeometricHalfFrame.geometricHalfFrame A P) := |
| 98 | SmoothSquareRoot.ball_smooth_of_continuous_square (GeometricHalfFrame.geometricHalfFrame A P) |
| 99 | (fun z => (PeriodCoordinates.geometricPositionUnit A P z).val.det) |
| 100 | (BallHolomorphicSquare.ball_holomorphic_continuous _ (GeometricHalfFrame.geometricHalfFrame_holomorphic A P)) |
| 101 | (position_determinant_smooth A P) (GeometricHalfFrame.geometricHalfFrame_square A P) (GeometricHalfFrame.geometricHalfFrame_nonzero A P) |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.RepresentationTheory.Theta.Adelic.GeometricFrameSmoothness |