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.FilledLattice |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.LocalCongruence |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PEL.PrincipalBasis |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrincipalCoordinateGluing |
| 5 | |
| 6 | /-! # Principal Coordinates -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.PrincipalCoordinates.ParameterChoices |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The literal principal PEL subgroup of the actual filled native |
| 13 | element is exactly the original marked away lattice level together |
| 14 | with integral blocks at every non-active split slot. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField _root_.Matrix |
| 17 | open _root_.NumberField |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsCMField E] [IsGalois ℚ E] |
| 20 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 21 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 22 | (hg : D.HasIntegralModelGeometry) (hq : D.IsGoodCompletelySplitPrime) |
| 23 | (hstandard : ∀ v, SplitLatticeProduct.TestTransport.splitLatticeLocal (R := PadicInt q) (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D) D.reference.lattice v = |
| 24 | RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData.standardLocalLattice (q := q)) |
| 25 | {J : Type*} [Fintype J] [DecidableEq J] |
| 26 | [Submodule.IsLattice ℚ D.reference.lattice] (b : Module.Basis J ℤ D.reference.lattice) |
| 27 | |
| 28 | include hq hstandard b in |
| 29 | theorem nativeFilledPEL_principal_iff (N : ℕ) (hN : 0 < N) (hcop : q.Coprime N) |
| 30 | (γ : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU D.reference.b) : |
| 31 | FilledPEL.ParameterChoices.nativeFilledPEL E D hg γ ∈ D.reference.adelicPrincipalLevel N ↔ |
| 32 | (Matrix.SpecialLinearGroup.toLin' γ.val).restrictScalars ℚ ∈ |
| 33 | AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup (LocalizedLatticeMaps.TestTransport.powerLocalizedLattice D.reference.lattice q).toAddSubgroup N ∧ |
| 34 | ∀ v : Fin s × Bool, v.1 ≠ D.reference.distinguished → |
| 35 | Matrix.SpecialLinearGroup.map (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D v) γ.val ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q := by |
| 36 | have hi : (FilledPEL.ParameterChoices.nativeFilledPEL E D hg γ).val.symm = (FilledPEL.ParameterChoices.nativeFilledPEL E D hg γ⁻¹).val := |
| 37 | (congrArg (fun g : D.reference.FiniteSpecialUnitary => g.val) |
| 38 | (map_inv (FilledPEL.ParameterChoices.nativeFilledPEL E D hg) γ)).symm |
| 39 | have hforward := forall_congr' (fun j => FilledLattice.ParameterChoices.nativeFilledPEL_lattice_image_iff E D hg hq b γ (b j).val) |
| 40 | have hinverse := forall_congr' (fun j => |
| 41 | (Iff.of_eq (congrArg (fun f : (Fin 3 → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) ≃ₗ[AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E] |
| 42 | (Fin 3 → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) => f (LatticeGenerators.TestTransport.completedVectorBasis E D.reference.lattice b j) ∈ |
| 43 | D.reference.completedLattice) hi)).trans |
| 44 | (FilledLattice.ParameterChoices.nativeFilledPEL_lattice_image_iff E D hg hq b γ⁻¹ (b j).val)) |
| 45 | have hdifference := forall_congr' (fun j => |
| 46 | FilledLattice.ParameterChoices.nativeFilledPEL_lattice_difference_iff E D hg hq b γ (N : ℚ)⁻¹ (b j).val) |
| 47 | have hsplit := PrincipalCoordinateGluing.TestTransport.principal_coordinate_conditions |
| 48 | (fun j => γ.val.val *ᵥ (b j).val ∈ LocalizedLatticeMaps.TestTransport.powerLocalizedLattice D.reference.lattice q) |
| 49 | (fun j => (γ⁻¹).val.val *ᵥ (b j).val ∈ LocalizedLatticeMaps.TestTransport.powerLocalizedLattice D.reference.lattice q) |
| 50 | (fun j => (N : ℚ)⁻¹ • (γ.val.val *ᵥ (b j).val - (b j).val) ∈ |
| 51 | LocalizedLatticeMaps.TestTransport.powerLocalizedLattice D.reference.lattice q) _ _ _ |
| 52 | (LocalCongruence.ParameterChoices.nativeFilledBlocks_inverse_basis E D hg hq hstandard b γ) |
| 53 | (LocalCongruence.ParameterChoices.nativeFilledBlocks_difference_basis E D b N hcop γ) |
| 54 | have haway := PrincipalLatticeDivision.TestTransport.principalPowerLocalizedLattice_iff_basis D.reference.lattice b q N hN |
| 55 | ((Matrix.SpecialLinearGroup.toLin' γ.val).restrictScalars ℚ) |
| 56 | have hlocal := (LocalBlocks.ParameterChoices.nativeFilledBlocks_basis_iff E D hg hq hstandard b γ).trans |
| 57 | (LocalBlocks.ParameterChoices.nativeFilledBlocks_integral_iff E D γ) |
| 58 | exact (PEL.PrincipalBasis.TestTransport.pelPrincipalLevel_iff_basis E D.reference b N hN (FilledPEL.ParameterChoices.nativeFilledPEL E D hg γ)).trans |
| 59 | ((and_congr hforward (and_congr hinverse hdifference)).trans |
| 60 | (hsplit.trans (and_congr haway.symm hlocal))) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.PrincipalCoordinates.ParameterChoices |