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.HeckeCycles.Source.FilledLocal |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PairedPlaceFibers |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LinearMapEvaluation |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralBlockLattice |
| 5 | |
| 6 | /-! # Filled Blocks -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FilledBlocks.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The filled source PEL operator has identity blocks in exactly the |
| 13 | distinguished conjugate pair and the original matrices in all other slots. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField _root_.Matrix |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | |
| 18 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 19 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (Q : GeometricSource.CM.SymplecticCoordinates E B places) |
| 20 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hb : P.b = B.b) |
| 21 | {q : ℕ} [Fact q.Prime] (τ : Fin s × Bool → E →+* ℚ_[q]) |
| 22 | |
| 23 | def block (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (v : Fin s × Bool) : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q := |
| 24 | if v.1 = P.distinguished then 1 else Matrix.SpecialLinearGroup.map (τ v) g.val |
| 25 | |
| 26 | theorem block_inv (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (v : Fin s × Bool) : |
| 27 | block E P τ g⁻¹ v = (block E P τ g v)⁻¹ := by |
| 28 | by_cases hv : v.1 = P.distinguished |
| 29 | · simp only [block, ite_eq_left hv, inv_one] |
| 30 | · simp only [block, ite_eq_right hv] |
| 31 | exact map_inv (Matrix.SpecialLinearGroup.map (τ v)) g.val |
| 32 | |
| 33 | theorem integral_iff (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 34 | (∀ v, block E P τ g v ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) ↔ |
| 35 | ∀ v : Fin s × Bool, v.1 ≠ P.distinguished → |
| 36 | Matrix.SpecialLinearGroup.map (τ v) g.val ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q := |
| 37 | CMExtraction.IntegralBlockLattice.TestTransport.identity_blocks_integral_iff (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) |
| 38 | (fun v : Fin s × Bool => v.1 = P.distinguished) |
| 39 | (fun v => Matrix.SpecialLinearGroup.map (τ v) g.val) |
| 40 | |
| 41 | variable (hinj : Function.Injective τ) |
| 42 | (hconj : ∀ i b, τ (i, !b) = (τ (i, b)).comp (NumberField.IsCMField.complexConj E).toRingHom) |
| 43 | |
| 44 | include hinj hconj in |
| 45 | theorem entry (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (v : Fin s × Bool) (i j : Fin 3) : |
| 46 | CMExtraction.Finite.CoefficientPadic.TestTransport.finiteCoefficientPadic E (τ v) |
| 47 | ((FilledLocal.CM.PEL.hom E Q P hb (τ (P.distinguished, false)) g).val (Pi.single j 1) i) = |
| 48 | (block E P τ g v).val i j := by |
| 49 | by_cases hv : v.1 = P.distinguished |
| 50 | · have hp := (PairedPlaceFibers.CM.fiber E Q τ hinj hconj v (P.distinguished, false)).mpr hv |
| 51 | exact (FilledLocal.CM.same E Q P hb (τ (P.distinguished, false)) (τ v) hp |
| 52 | (RationalLocal.CM.finiteHom E Q g) i j).trans |
| 53 | (by rw [block, ite_eq_left hv]; rfl) |
| 54 | · have hp : QadicPlace.CM.place E (τ v) ≠ |
| 55 | QadicPlace.CM.place E (τ (P.distinguished, false)) := |
| 56 | fun h => hv ((PairedPlaceFibers.CM.fiber E Q τ hinj hconj v (P.distinguished, false)).mp h) |
| 57 | exact (FilledLocal.CM.rational_other E Q P hb (τ (P.distinguished, false)) (τ v) hp g i j).trans |
| 58 | (by rw [block, ite_eq_right hv]; rfl) |
| 59 | |
| 60 | include hinj hconj in |
| 61 | theorem evaluate (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (v : Fin s × Bool) |
| 62 | (x : Fin 3 → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) : |
| 63 | (fun i => CMExtraction.Finite.CoefficientPadic.TestTransport.finiteCoefficientPadic E (τ v) |
| 64 | ((FilledLocal.CM.PEL.hom E Q P hb (τ (P.distinguished, false)) g).val x i)) = |
| 65 | (block E P τ g v).val *ᵥ (fun i => CMExtraction.Finite.CoefficientPadic.TestTransport.finiteCoefficientPadic E (τ v) (x i)) := by |
| 66 | have he := CMExtraction.LinearMapEvaluation.TestTransport.linearMap_evaluate (CMExtraction.Finite.CoefficientPadic.TestTransport.finiteCoefficientPadic E (τ v)).toRingHom |
| 67 | (FilledLocal.CM.PEL.hom E Q P hb (τ (P.distinguished, false)) g).val.toLinearMap x |
| 68 | have hm : (fun i j => CMExtraction.Finite.CoefficientPadic.TestTransport.finiteCoefficientPadic E (τ v) |
| 69 | ((FilledLocal.CM.PEL.hom E Q P hb (τ (P.distinguished, false)) g).val (Pi.single j 1) i)) = |
| 70 | (block E P τ g v).val := funext (fun i => funext (fun j => entry E Q P hb τ hinj hconj g v i j)) |
| 71 | exact he.trans (congrArg (fun M : Matrix (Fin 3) (Fin 3) ℚ_[q] => |
| 72 | M *ᵥ (fun i => CMExtraction.Finite.CoefficientPadic.TestTransport.finiteCoefficientPadic E (τ v) (x i))) hm) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FilledBlocks.CM |