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.Intrinsic.FilledPEL |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.IntegralLattice |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralBlockLattice |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SplitVectorEvaluation |
| 5 | |
| 6 | /-! # Local Blocks -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.LocalBlocks |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original lattice basis detects integrality of every retained |
| 13 | native local block. Inversion retains the same integral blocks. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField _root_.Matrix |
| 16 | open _root_.NumberField |
| 17 | |
| 18 | namespace TestTransport |
| 19 | |
| 20 | theorem conditional_hom_inv {G H : Type*} [Group G] [Group H] |
| 21 | (p : Prop) [Decidable p] (f : G →* H) (g : G) : |
| 22 | (if p then 1 else f g⁻¹) = (if p then 1 else f g)⁻¹ := by |
| 23 | by_cases hp : p <;> simp only [hp, ite_true, ite_false, map_inv, inv_one] |
| 24 | |
| 25 | end TestTransport |
| 26 | |
| 27 | namespace ParameterChoices |
| 28 | |
| 29 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsCMField E] [IsGalois ℚ E] |
| 30 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 31 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 32 | |
| 33 | omit [IsGalois ℚ E] in |
| 34 | theorem nativeFilledBlock_inv (γ : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU D.reference.b) (v : Fin s × Bool) : |
| 35 | FilledPEL.ParameterChoices.nativeFilledBlock E D γ⁻¹ v = (FilledPEL.ParameterChoices.nativeFilledBlock E D γ v)⁻¹ := |
| 36 | TestTransport.conditional_hom_inv (v.1 = D.reference.distinguished) |
| 37 | ((Matrix.SpecialLinearGroup.map (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D v)).comp |
| 38 | (Geometry.ComplexBall.ArithmeticQuotientEquationsData.unitarySubgroup (IsCMField.complexConj E).toRingHom D.reference.b).subtype) γ |
| 39 | |
| 40 | omit [IsGalois ℚ E] in |
| 41 | theorem nativeFilledBlocks_integral_iff (γ : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU D.reference.b) : |
| 42 | (∀ v, FilledPEL.ParameterChoices.nativeFilledBlock E D γ v ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) ↔ |
| 43 | ∀ v : Fin s × Bool, v.1 ≠ D.reference.distinguished → |
| 44 | Matrix.SpecialLinearGroup.map (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D v) γ.val ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q := |
| 45 | IntegralBlockLattice.TestTransport.identity_blocks_integral_iff (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) |
| 46 | (fun v : Fin s × Bool => v.1 = D.reference.distinguished) |
| 47 | (fun v => Matrix.SpecialLinearGroup.map (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D v) γ.val) |
| 48 | |
| 49 | variable (hg : D.HasIntegralModelGeometry) (hq : D.IsGoodCompletelySplitPrime) |
| 50 | (hstandard : ∀ v, SplitLatticeProduct.TestTransport.splitLatticeLocal (R := PadicInt q) (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D) D.reference.lattice v = |
| 51 | RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData.standardLocalLattice (q := q)) |
| 52 | {J : Type*} [Fintype J] (b : Module.Basis J ℤ D.reference.lattice) |
| 53 | |
| 54 | include hg hq hstandard in |
| 55 | omit [IsGalois ℚ E] in |
| 56 | theorem nativeFilledBlocks_basis_iff (γ : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU D.reference.b) : |
| 57 | (∀ j, IntegralBlockLattice.TestTransport.localBlockLinear q (FilledPEL.ParameterChoices.nativeFilledBlock E D γ) |
| 58 | (SplitVectorEvaluation.TestTransport.rationalSplitEmbedding E (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D) (b j).val) ∈ |
| 59 | SplitLatticeProduct.TestTransport.splitLatticeImage (R := PadicInt q) (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D) D.reference.lattice) ↔ |
| 60 | ∀ v, FilledPEL.ParameterChoices.nativeFilledBlock E D γ v ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q := |
| 61 | (SplitVectorEvaluation.TestTransport.span_basis_preserves_iff _ _ (SplitVectorEvaluation.TestTransport.splitLatticeImage_span_basis E (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D) D.reference.lattice b) |
| 62 | ((IntegralBlockLattice.TestTransport.localBlockLinear q (FilledPEL.ParameterChoices.nativeFilledBlock E D γ)).restrictScalars (PadicInt q))).trans |
| 63 | (IntegralBlockLattice.TestTransport.localBlock_preserves_iff q _ (IntegralLattice.ParameterChoices.native_split_lattice_standard E D hg hq hstandard) |
| 64 | (FilledPEL.ParameterChoices.nativeFilledBlock E D γ)) |
| 65 | |
| 66 | end ParameterChoices |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.LocalBlocks |