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.CMExtraction.CM.AwayPadic |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.PlaceFibers |
| 3 | |
| 4 | /-! # Away Padic -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.AwayPadic.ParameterChoices |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! At q the literal filled PEL away element is the identity in the |
| 11 | active conjugate pair and the original rational matrix in every other slot. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open _root_.NumberField |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.AwayPadic.Approximation |
| 17 | |
| 18 | theorem equal_conditional {A : Type*} (p : Prop) [Decidable p] {x a b : A} |
| 19 | (hp : p → x = a) (hn : ¬p → x = b) : x = if p then a else b := by |
| 20 | by_cases h : p |
| 21 | · exact (hp h).trans (ite_eq_left h).symm |
| 22 | · exact (hn h).trans (ite_eq_right h).symm |
| 23 | |
| 24 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsCMField E] [IsGalois ℚ E] |
| 25 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 26 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 27 | (hg : D.HasIntegralModelGeometry) (hq : D.IsGoodCompletelySplitPrime) |
| 28 | |
| 29 | include hq in |
| 30 | theorem native_cmAwayToPEL_padic (γ : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU D.reference.b) |
| 31 | (v : Fin s × Bool) (i j : Fin 3) : |
| 32 | Finite.CoefficientPadic.TestTransport.finiteCoefficientPadic E (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D v) |
| 33 | ((CM.AwayPELLevel.Approximation.cmAwayToPEL E D.reference hg.reference_admissible |
| 34 | (CM.ActivePlace.Approximation.cmActivePlace E (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D (D.reference.distinguished, false))) |
| 35 | (CM.FiniteAway.Approximation.cmRationalFiniteAway E D.reference hg.reference_admissible |
| 36 | (CM.ActivePlace.Approximation.cmActivePlace E (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D (D.reference.distinguished, false))) γ)).val |
| 37 | (Pi.single j 1) i) = |
| 38 | if v.1 = D.reference.distinguished then (1 : Matrix (Fin 3) (Fin 3) (Padic q)) i j |
| 39 | else LocalEmbedding.ParameterChoices.nativeFieldEmbedding D v (γ.val.val i j) := by |
| 40 | exact equal_conditional (v.1 = D.reference.distinguished) |
| 41 | (fun hv => CM.AwayPadic.Approximation.cmAwayToPEL_padic_same E (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D v) D.reference hg.reference_admissible _ |
| 42 | ((PlaceFibers.ParameterChoices.native_cmActivePlace_fiber E D hg hq v (D.reference.distinguished, false)).mpr hv) _ i j) |
| 43 | (fun hv => CM.AwayPadic.Approximation.cmAwayToPEL_padic_rational_other E (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D v) D.reference hg.reference_admissible _ |
| 44 | (fun h => hv ((PlaceFibers.ParameterChoices.native_cmActivePlace_fiber E D hg hq v (D.reference.distinguished, false)).mp h)) γ i j) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.AwayPadic.ParameterChoices |