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.Geometric.Data |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Diagonal |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.CompactLattice |
| 4 | |
| 5 | /-! # Domain -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native matrix ball is exactly the negative-line domain of the |
| 12 | supplied PEL reference lattice. Its period fibers retain that same lattice, |
| 13 | polarization, and integral CM action. -/ |
| 14 | |
| 15 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 16 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 17 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 18 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 19 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 20 | |
| 21 | theorem Data.ActiveHeckeThetaData.reference_domain_eq : D.pel.reference.domain = (D.domain : Set LinearTheta.BallCoordinates) := by |
| 22 | ext x |
| 23 | change (Geometry.ComplexBall.PrescribedSignsB.localB D.pel.reference.embeddings (Matrix.diagonal ![1, 1, D.pel.reference.b]) |
| 24 | D.pel.reference.distinguished (Geometry.ComplexBall.PrescribedSignsB.lineVector x) (star (Geometry.ComplexBall.PrescribedSignsB.lineVector x))).re < 0 ↔ |
| 25 | Complex.normSq (x 0) + Complex.normSq (x 1) < -(D.pel.reference.μ D.pel.reference.b).re |
| 26 | rw [NumberTheory.ArithmeticGroups.Diagonal.CongruenceLevel.localB_diagonal_real] |
| 27 | simp only [Geometry.ComplexBall.PrescribedSignsB.lineVector, Fin.isValue, Matrix.cons_val_zero, Matrix.cons_val_one] |
| 28 | change Complex.normSq (x 0) + Complex.normSq (x 1) + |
| 29 | (D.pel.reference.μ D.pel.reference.b).re * Complex.normSq 1 < 0 ↔ _ |
| 30 | rw [Complex.normSq_one, mul_one] |
| 31 | constructor <;> intro h <;> linarith |
| 32 | |
| 33 | theorem Data.ActiveHeckeThetaData.reference_analytic_fiber (hg : D.pel.HasIntegralModelGeometry) (x : D.domain) : |
| 34 | NumberTheory.ArithmeticGroups.Data.CongruenceLevel.AnalyticPolarizedFiber D.pel.reference.embeddings D.pel.reference.lattice |
| 35 | D.pel.reference.traceForm (D.pel.reference.periodFamily x.val) := by |
| 36 | rcases hg.reference_admissible with |
| 37 | ⟨_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, hperiod⟩ |
| 38 | exact (hperiod x.val (by rw [D.reference_domain_eq]; exact x.property)).2 |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.RepresentationTheory.Theta.Geometric |