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.RationalResidual |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CoordinateDualHecke |
| 3 | |
| 4 | /-! # Block Residual -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Hecke.BlockResidual.SphericalActionIntrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Separate the active factor from the actual rational finite splitting. |
| 11 | The remaining factor is a homomorphism and commutes with the active lift. |
| 12 | These are group identities derived from the constructed local coordinates. |
| 13 | -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual |
| 17 | |
| 18 | section Blocks |
| 19 | |
| 20 | variable {J G : Type*} [DecidableEq J] [Group G] (μ : J) |
| 21 | |
| 22 | def inactiveBlocks : (J → G) →* (J → G) where |
| 23 | toFun g i := if i = μ then 1 else g i |
| 24 | map_one' := by ext i; simp |
| 25 | map_mul' g h := by ext i; by_cases hi : i = μ <;> simp [hi] |
| 26 | |
| 27 | theorem blocks_factorization (g : J → G) : |
| 28 | inactiveBlocks μ g * Pi.mulSingle μ (g μ) = g := by |
| 29 | ext i |
| 30 | by_cases hi : i = μ <;> simp [inactiveBlocks, hi] |
| 31 | |
| 32 | theorem inactiveBlocks_commute (g : J → G) (a : G) : |
| 33 | Commute (inactiveBlocks μ g) (Pi.mulSingle μ a) := by |
| 34 | apply funext |
| 35 | intro i |
| 36 | by_cases hi : i = μ <;> simp [inactiveBlocks, hi] |
| 37 | |
| 38 | end Blocks |
| 39 | |
| 40 | section Local |
| 41 | |
| 42 | variable (q : ℕ) [Fact q.Prime] {Place : Type} [Fintype Place] [DecidableEq Place] |
| 43 | {n : ℕ} (c : (Place × Fin 3) ≃ Fin n) (μ : Place) |
| 44 | {MpR MpF MpA : Type} [Group MpR] [Group MpF] [Group MpA] |
| 45 | (W : Theta.PoissonAutomorphyNormalizationData.WeilData (Place × Fin 3) MpR MpF MpA) |
| 46 | |
| 47 | theorem blockFamilyGL_single (g : Theta.Geometric.SphericalGU.Spherical.SL3 q) : |
| 48 | AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyMatrices.Local.blockFamilyGL c (Pi.mulSingle μ g) = AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveBlockMatrices.Local.activeBlockGL c μ g := by |
| 49 | apply Units.ext |
| 50 | have hb : (fun τ : Place => ((Pi.mulSingle μ g : Place → Theta.Geometric.SphericalGU.Spherical.SL3 q) τ).val) = |
| 51 | (fun τ => if τ = μ then g.val else (1 : Matrix (Fin 3) (Fin 3) ℚ_[q])) := by |
| 52 | funext τ |
| 53 | by_cases h : τ = μ |
| 54 | · subst τ |
| 55 | simp |
| 56 | · simp [h] |
| 57 | exact congrArg (fun f => Matrix.reindex ((Equiv.prodComm (Fin 3) Place).trans c) |
| 58 | ((Equiv.prodComm (Fin 3) Place).trans c) (Matrix.blockDiagonal f)) hb |
| 59 | |
| 60 | theorem blockFamilyFiniteLift_single (g : Theta.Geometric.SphericalGU.Spherical.SL3 q) : |
| 61 | AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyLift.Local.blockFamilyFiniteLift q c W (Pi.mulSingle μ g) = AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveLocalLift.activeFiniteLift q c μ W g := by |
| 62 | have h := AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.Sl.Local.finite_sl3_lift_unique q W |
| 63 | ((AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyLift.Local.blockFamilyFiniteLift q c W).comp |
| 64 | (MonoidHom.mulSingle (fun _ : Place => Theta.Geometric.SphericalGU.Spherical.SL3 q) μ)) |
| 65 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveLocalLift.activeFiniteLift q c μ W) (by |
| 66 | intro a |
| 67 | change W.finite.project (AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyLift.Local.blockFamilyFiniteLift q c W (Pi.mulSingle μ a)) = _ |
| 68 | rw [AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyLift.Local.blockFamilyFiniteLift_projection, AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveLocalLift.activeFiniteLift_projection, blockFamilyGL_single]) |
| 69 | exact DFunLike.congr_fun h g |
| 70 | |
| 71 | end Local |
| 72 | |
| 73 | attribute [local instance] AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.Multiplicity.nativePlaceDecidableEq AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 74 | |
| 75 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 76 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 77 | {Ga MpR MpF MpA : Type} [Group Ga] [TopologicalSpace Ga] |
| 78 | [Group MpR] [Group MpF] [Group MpA] |
| 79 | (D : Theta.Geometric.Data.ActiveHeckeThetaData E K s q (Fin s × Fin 3) Ga MpR MpF MpA) |
| 80 | (hg : D.pel.HasIntegralModelGeometry) (hμ : D.pel.reference.μ = E.val.toRingHom) |
| 81 | (v : AlgebraicGeometry.HodgeConjecture.CMExtraction.Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 82 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 83 | (he : ∀ x y, RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 84 | Algebra.trace ℚ E (D.pel.reference.imaginaryScalar * AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.Multiplicity.nativeTensorPairing E D.pel.reference v x y)) |
| 85 | {n : ℕ} (c : (Fin s × Fin 3) ≃ Fin n) (u : MpF) |
| 86 | (hu : AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.FiniteDilation.NativeFiniteCoordinateIdentity E D e u) |
| 87 | |
| 88 | def activeRationalLift : D.RationalSU →* MpF := |
| 89 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveLocalLift.activeFiniteLift q c D.pel.reference.distinguished D.weil).comp |
| 90 | ((Pi.evalMonoidHom (fun _ : Fin s => Theta.Geometric.SphericalGU.Spherical.SL3 q) D.pel.reference.distinguished).comp |
| 91 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeLocalDualBlocks E D)) |
| 92 | |
| 93 | theorem active_residual_formula (g : D.RationalSU) : |
| 94 | AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeConjugatedRationalSplitting E D hg hμ v hv e he u g * |
| 95 | (activeRationalLift E D c g)⁻¹ = |
| 96 | AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeRationalAwayResidual E D hg hμ v hv e he c u hu g * |
| 97 | AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyLift.Local.blockFamilyFiniteLift q c D.weil |
| 98 | (inactiveBlocks D.pel.reference.distinguished (AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeLocalDualBlocks E D g)) := by |
| 99 | rw [← AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeRationalAwayResidual_factorization E D hg hμ v hv e he c u hu g] |
| 100 | have hb := congrArg (AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyLift.Local.blockFamilyFiniteLift q c D.weil) |
| 101 | (blocks_factorization D.pel.reference.distinguished (AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeLocalDualBlocks E D g)) |
| 102 | rw [map_mul, blockFamilyFiniteLift_single] at hb |
| 103 | rw [← hb] |
| 104 | change (_ * (_ * activeRationalLift E D c g)) * (activeRationalLift E D c g)⁻¹ = _ |
| 105 | group |
| 106 | |
| 107 | include hu in |
| 108 | theorem active_residual_commute (g : D.RationalSU) (a : Theta.Geometric.SphericalGU.Spherical.SL3 q) : |
| 109 | Commute |
| 110 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeConjugatedRationalSplitting E D hg hμ v hv e he u g * |
| 111 | (activeRationalLift E D c g)⁻¹) |
| 112 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveLocalLift.activeFiniteLift q c D.pel.reference.distinguished D.weil a) := by |
| 113 | rw [active_residual_formula E D hg hμ v hv e he c u hu g] |
| 114 | apply Commute.mul_left |
| 115 | · rw [← blockFamilyFiniteLift_single] |
| 116 | exact AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeRationalAwayResidual_commute E D hg hμ v hv e he c u hu g _ |
| 117 | · have h := (inactiveBlocks_commute D.pel.reference.distinguished |
| 118 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeLocalDualBlocks E D g) a).map (AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyLift.Local.blockFamilyFiniteLift q c D.weil) |
| 119 | rwa [blockFamilyFiniteLift_single] at h |
| 120 | |
| 121 | def activeResidualConjugated : D.RationalSU →* MpF := |
| 122 | AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.Sl.Local.commutingResidualHom |
| 123 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeConjugatedRationalSplitting E D hg hμ v hv e he u) |
| 124 | (activeRationalLift E D c) |
| 125 | (fun g h => active_residual_commute E D hg hμ v hv e he c u hu g |
| 126 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.RationalResidual.nativeLocalDualBlocks E D h D.pel.reference.distinguished)) |
| 127 | |
| 128 | def activeResidual : D.RationalSU →* MpF := |
| 129 | (MulAut.conj u⁻¹).toMonoidHom.comp (activeResidualConjugated E D hg hμ v hv e he c u hu) |
| 130 | |
| 131 | theorem activeResidual_commute (g : D.RationalSU) (a : Theta.Geometric.SphericalGU.Spherical.SL3 q) : |
| 132 | Commute (activeResidual E D hg hμ v hv e he c u hu g) |
| 133 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.CoordinateDualHecke.Local.coordinateDualLift q c D.pel.reference.distinguished D.weil u a) := by |
| 134 | exact (active_residual_commute E D hg hμ v hv e he c u hu g |
| 135 | (AlgebraicGeometry.HodgeConjecture.CMExtraction.Contragredient.Local.contragredient ℚ_[q] a)).map (MulAut.conj u⁻¹).toMonoidHom |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.RepresentationTheory.Hecke.BlockResidual.SphericalActionIntrinsic |