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.FiniteQuadraticLift |
| 2 | import OAI.RepresentationTheory.Hecke.RadialDilation.ContinuousTestFamilies |
| 3 | |
| 4 | /-! # Finite Quadratic Stabilization -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.FiniteQuadraticStabilization.Realization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Small finite-adelic quadratic transformations stabilize actual test vectors up to sign. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Topology _root_.Matrix |
| 13 | open Filter _root_.Matrix |
| 14 | |
| 15 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 16 | variable {MpR MpF MpA : Type*} [Group MpR] [Group MpF] [Group MpA] |
| 17 | |
| 18 | theorem eventually_finiteQuadratic_fixed (D : Theta.PoissonAutomorphyNormalizationData.WeilData ι MpR MpF MpA) |
| 19 | (f : Theta.PoissonAutomorphyNormalizationData.finiteSchwartz ι) : |
| 20 | ∀ᶠ B : Matrix ι ι Theta.PoissonAutomorphyNormalizationData.AQf in 𝓝 0, FiniteQuadratic.Realization.finiteQuadratic D B f = f := by |
| 21 | let F : Matrix ι ι Theta.PoissonAutomorphyNormalizationData.AQf × (ι → Theta.PoissonAutomorphyNormalizationData.AQf) → ℂ := |
| 22 | fun p => D.finiteCharacter (QuadraticCommutator.Realization.ringQuadratic p.1 p.2) |
| 23 | have hF : IsLocallyConstant F := by |
| 24 | apply (FiniteSchur.Realization.finiteCharacter_locallyConstant D).comp_continuous |
| 25 | unfold QuadraticCommutator.Realization.ringQuadratic Matrix.mulVec dotProduct |
| 26 | fun_prop |
| 27 | have h₀ : ∀ x, F (0, x) = 1 := by |
| 28 | intro x |
| 29 | simp [F, QuadraticCommutator.Realization.ringQuadratic] |
| 30 | filter_upwards [ContinuousTestFamilies.Realization.eventually_compact_phase_one (0 : Matrix ι ι Theta.PoissonAutomorphyNormalizationData.AQf) F hF h₀ |
| 31 | (tsupport f.val) (Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_hasCompactSupport f)] with B hB |
| 32 | apply Subtype.ext |
| 33 | funext x |
| 34 | rw [FiniteQuadratic.Realization.finiteQuadratic_apply] |
| 35 | by_cases hx : f.val x = 0 |
| 36 | · rw [hx, mul_zero] |
| 37 | · rw [show D.finiteCharacter (QuadraticCommutator.Realization.ringQuadratic B x) = 1 from |
| 38 | hB x (subset_tsupport f.val hx), one_mul] |
| 39 | |
| 40 | theorem eventually_finite_upper_sign (D : Theta.PoissonAutomorphyNormalizationData.WeilData ι MpR MpF MpA) |
| 41 | (f : Theta.PoissonAutomorphyNormalizationData.finiteSchwartz ι) : |
| 42 | ∀ᶠ B : Matrix ι ι Theta.PoissonAutomorphyNormalizationData.AQf in 𝓝 0, ∀ (hB : B.IsSymm) (m : MpF), |
| 43 | D.finite.project m = QuadraticCommutator.Realization.ringUpper B hB → |
| 44 | ∃ ε : ℂ, ε ^ 2 = 1 ∧ D.finite.action m f = ε • f := by |
| 45 | filter_upwards [eventually_finiteQuadratic_fixed D f] with B hfix |
| 46 | intro hB m hm |
| 47 | obtain ⟨ε, hε, haction⟩ := FiniteQuadraticLift.Realization.every_finite_quadratic_lift D B hB m hm |
| 48 | exact ⟨ε, hε, (haction f).trans (congrArg (fun h => ε • h) hfix)⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.RepresentationTheory.Hecke.RadialDilation.FiniteQuadraticStabilization.Realization |