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.PrincipalIntegralCoordinates |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralUnitaryMatrices |
| 3 | |
| 4 | /-! # Principal Local Integrality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.PrincipalLocalIntegrality.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThetaCycle: derive a genuine principal depth whose rational matrices and |
| 11 | inverses lie in every native local integral special-unitary subgroup. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.IntegralTopology |
| 16 | |
| 17 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [NumberField.IsCMField K] |
| 18 | (δ : K) (hδ : IsCMField.complexConj K δ = -δ) (hδ0 : δ ≠ 0) |
| 19 | |
| 20 | theorem exists_principal_local_integral_depth (B : HeckeCycles.GeometricSource.CM.BallDatum K) : |
| 21 | ∃ D : ℕ, 0 < D ∧ ∀ N : ℕ, D ∣ N → |
| 22 | ∀ (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g) |
| 23 | (v : IsDedekindDomain.HeightOneSpectrum (𝓞 (maximalRealSubfield K))), |
| 24 | RepresentationTheory.Theta.Adelic.RationalSU.rationalLocalSU (maximalRealSubfield K) |
| 25 | (CMGlobalFrames.CM.cmHermitianUnit K δ hδ B.b B.conjugate_b |
| 26 | (fun hb => (ne_of_lt B.negative) (by simp [hb]))) (.inr v) |
| 27 | (RationalBallUnitary.CM.rationalBallSU K δ hδ hδ0 B N g hg) ∈ |
| 28 | RepresentationTheory.Theta.Adelic.IntegralTopology.localSUIntegral (maximalRealSubfield K) |
| 29 | (CMGlobalFrames.CM.cmHermitianUnit K δ hδ B.b B.conjugate_b |
| 30 | (fun hb => (ne_of_lt B.negative) (by simp [hb]))).val (.inr v) := by |
| 31 | obtain ⟨D, hD, hcoeff⟩ := PrincipalIntegralCoordinates.CM.exists_principal_integral_coordinate_depth K δ hδ hδ0 B |
| 32 | refine ⟨D, hD, ?_⟩ |
| 33 | intro N hN g hg v |
| 34 | have hmatrix (u : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hu : B.principalLevel N u) (i j : Fin 3) : |
| 35 | IsIntegral ℤ ((RationalBallUnitary.CM.rationalBallUnit K δ hδ hδ0 u).val i j).re ∧ |
| 36 | IsIntegral ℤ ((RationalBallUnitary.CM.rationalBallUnit K δ hδ hδ0 u).val i j).im := by |
| 37 | apply IntegralUnitaryMatrices.CM.quadratic_matrix_entry_integral_of_difference |
| 38 | (QuadraticModel.CM.cmQuadraticParameter K δ hδ) (RationalBallUnitary.CM.rationalBallUnit K δ hδ hδ0 u).val i j |
| 39 | · rw [RationalBallCoordinates.CM.rational_ball_unit_difference] |
| 40 | exact hcoeff N hN u hu i j 0 |
| 41 | · rw [RationalBallCoordinates.CM.rational_ball_unit_difference] |
| 42 | exact hcoeff N hN u hu i j 1 |
| 43 | apply IntegralUnitaryMatrices.CM.local_rational_su_integral_of_coefficients |
| 44 | · exact hmatrix g hg |
| 45 | · intro i j |
| 46 | change IsIntegral ℤ (((RationalBallUnitary.CM.rationalBallUnit K δ hδ hδ0 g)⁻¹).val i j).re ∧ |
| 47 | IsIntegral ℤ (((RationalBallUnitary.CM.rationalBallUnit K δ hδ hδ0 g)⁻¹).val i j).im |
| 48 | rw [← RationalBallCoordinates.CM.rational_ball_unit_symm] |
| 49 | exact hmatrix g.symm (PrincipalColumnBounds.CM.principal_level_symm K B N g hg) i j |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.PrincipalLocalIntegrality.CM |