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.RepresentationTheory.Hecke.RadialDilation.IndexedPrimeChart |
| 2 | import OAI.RepresentationTheory.Hecke.RadialDilation.IndexedPhaseFunctions |
| 3 | import OAI.RepresentationTheory.Hecke.RadialDilation.PositionReindex |
| 4 | import OAI.RepresentationTheory.Hecke.RadialDilation.PrimeMatrixAction |
| 5 | |
| 6 | /-! # Indexed Prime Phase Action -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.IndexedPrimePhaseAction.Realization |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A relabeled local symplectic matrix changes only its local phase coordinates. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix |
| 15 | open _root_.Matrix |
| 16 | |
| 17 | variable (q : ℕ) [Fact q.Prime] {I : Type*} [Fintype I] [DecidableEq I] {n : ℕ} (e : I ≃ Fin n) |
| 18 | |
| 19 | def indexedPrimeSymplectic : Theta.PoissonAutomorphyNormalizationData.Sp (Fin n) ℚ_[q] →* Theta.PoissonAutomorphyNormalizationData.Sp I Theta.PoissonAutomorphyNormalizationData.AQf := |
| 20 | (FiniteConjugation.Realization.finitePadicSymplecticInclusion q).comp ((PositionReindex.Realization.symplecticReindex e.symm).comp SymplecticSwap.Realization.symplecticSwapHom) |
| 21 | |
| 22 | def indexedPrimeMomentum (g : Theta.PoissonAutomorphyNormalizationData.Sp (Fin n) ℚ_[q]) (p s : I → Theta.PoissonAutomorphyNormalizationData.AQf) : I → Theta.PoissonAutomorphyNormalizationData.AQf := |
| 23 | fun i => ((indexedPrimeSymplectic q e g).val *ᵥ Sum.elim p s) (Sum.inl i) |
| 24 | |
| 25 | def indexedPrimePosition (g : Theta.PoissonAutomorphyNormalizationData.Sp (Fin n) ℚ_[q]) (p s : I → Theta.PoissonAutomorphyNormalizationData.AQf) : I → Theta.PoissonAutomorphyNormalizationData.AQf := |
| 26 | fun i => ((indexedPrimeSymplectic q e g).val *ᵥ Sum.elim p s) (Sum.inr i) |
| 27 | |
| 28 | def indexedPhaseProjection (x : Sum I I → Theta.PoissonAutomorphyNormalizationData.AQf) : Sum (Fin n) (Fin n) → ℚ_[q] := |
| 29 | PositionReindex.Realization.positionReindex (e.sumCongr e) (PrimeChart.Realization.fullPrimeProjection q x) |
| 30 | |
| 31 | omit [Fintype I] [DecidableEq I] in |
| 32 | theorem indexedPhaseProjection_swap_sum (p s : I → Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 33 | SymplecticSwap.Realization.swapPhase (indexedPhaseProjection q e (Sum.elim p s)) = |
| 34 | Sum.elim (IndexedPrimeChart.Realization.indexedPrimeProjection q e s) (IndexedPrimeChart.Realization.indexedPrimeProjection q e p) := |
| 35 | IndexedPhaseFunctions.Realization.function_reindex_map_swap_sum e (FiniteSchur.Realization.finitePadicProjection q) p s |
| 36 | |
| 37 | omit [Fintype I] [DecidableEq I] in |
| 38 | theorem indexedPhaseProjection_components (x : Sum I I → Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 39 | Sum.elim (IndexedPrimeChart.Realization.indexedPrimeProjection q e (fun i => x (Sum.inr i))) |
| 40 | (IndexedPrimeChart.Realization.indexedPrimeProjection q e (fun i => x (Sum.inl i))) = SymplecticSwap.Realization.swapPhase (indexedPhaseProjection q e x) := |
| 41 | IndexedPhaseFunctions.Realization.function_reindex_phase_components e (FiniteSchur.Realization.finitePadicProjection q) x |
| 42 | |
| 43 | theorem indexedPrime_swapped_projection (g : Theta.PoissonAutomorphyNormalizationData.Sp (Fin n) ℚ_[q]) (x : Sum I I → Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 44 | SymplecticSwap.Realization.swapPhase (indexedPhaseProjection q e ((indexedPrimeSymplectic q e g).val *ᵥ x)) = |
| 45 | g.val *ᵥ SymplecticSwap.Realization.swapPhase (indexedPhaseProjection q e x) := by |
| 46 | change SymplecticSwap.Realization.swapPhase (PositionReindex.Realization.positionReindex (e.sumCongr e) (PrimeChart.Realization.fullPrimeProjection q |
| 47 | ((FiniteConjugation.Realization.finitePadicSymplecticInclusion q (PositionReindex.Realization.symplecticReindex e.symm (SymplecticSwap.Realization.symplecticSwapHom g))).val *ᵥ x))) = _ |
| 48 | rw [PrimeMatrixAction.Realization.fullPrime_symplectic_projection, PositionReindex.Realization.symplecticReindex_inverse_action, SymplecticSwap.Realization.symplecticSwapHom_action, |
| 49 | SymplecticSwap.Realization.swapPhase_involutive] |
| 50 | rfl |
| 51 | |
| 52 | theorem indexedPrime_transformed_localPhase (g : Theta.PoissonAutomorphyNormalizationData.Sp (Fin n) ℚ_[q]) (p s : I → Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 53 | Sum.elim (IndexedPrimeChart.Realization.indexedPrimeProjection q e (indexedPrimePosition q e g p s)) |
| 54 | (IndexedPrimeChart.Realization.indexedPrimeProjection q e (indexedPrimeMomentum q e g p s)) = |
| 55 | g.val *ᵥ Sum.elim (IndexedPrimeChart.Realization.indexedPrimeProjection q e s) (IndexedPrimeChart.Realization.indexedPrimeProjection q e p) := |
| 56 | (indexedPhaseProjection_components q e ((indexedPrimeSymplectic q e g).val *ᵥ Sum.elim p s)).trans |
| 57 | ((indexedPrime_swapped_projection q e g (Sum.elim p s)).trans |
| 58 | (congrArg (fun v => g.val *ᵥ v) (indexedPhaseProjection_swap_sum q e p s))) |
| 59 | |
| 60 | theorem indexedPrime_transformed_away_momentum (g : Theta.PoissonAutomorphyNormalizationData.Sp (Fin n) ℚ_[q]) (p s : I → Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 61 | PrimeChart.Realization.fullPrimeAway q (indexedPrimeMomentum q e g p s) = PrimeChart.Realization.fullPrimeAway q p := by |
| 62 | have h := PrimeMatrixAction.Realization.fullPrime_symplectic_away q (PositionReindex.Realization.symplecticReindex e.symm (SymplecticSwap.Realization.symplecticSwapHom g)) (Sum.elim p s) |
| 63 | apply Subtype.ext |
| 64 | funext i |
| 65 | exact congrFun (congrArg Subtype.val h) (Sum.inl i) |
| 66 | |
| 67 | theorem indexedPrime_transformed_away_position (g : Theta.PoissonAutomorphyNormalizationData.Sp (Fin n) ℚ_[q]) (p s : I → Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 68 | PrimeChart.Realization.fullPrimeAway q (indexedPrimePosition q e g p s) = PrimeChart.Realization.fullPrimeAway q s := by |
| 69 | have h := PrimeMatrixAction.Realization.fullPrime_symplectic_away q (PositionReindex.Realization.symplecticReindex e.symm (SymplecticSwap.Realization.symplecticSwapHom g)) (Sum.elim p s) |
| 70 | apply Subtype.ext |
| 71 | funext i |
| 72 | exact congrFun (congrArg Subtype.val h) (Sum.inr i) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.RepresentationTheory.Hecke.RadialDilation.IndexedPrimePhaseAction.Realization |