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.IntegralCoordinates |
| 2 | import Mathlib.LinearAlgebra.Pi |
| 3 | |
| 4 | /-! # Integral Block Lattice -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralBlockLattice.TestTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A product of local special-linear blocks preserves the integral |
| 11 | product lattice exactly when every block is in the literal integral group. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | |
| 15 | variable (q : ℕ) [Fact q.Prime] {S : Type*} [DecidableEq S] |
| 16 | |
| 17 | def localBlockLinear (A : S → RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) : |
| 18 | (S → Fin 3 → Padic q) →ₗ[Padic q] (S → Fin 3 → Padic q) := |
| 19 | LinearMap.pi (fun v => (A v).val.mulVecLin.comp (LinearMap.proj v)) |
| 20 | |
| 21 | omit [DecidableEq S] in |
| 22 | theorem localBlockLinear_apply (A : S → RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) (x : S → Fin 3 → Padic q) (v : S) : |
| 23 | localBlockLinear q A x v = (A v).val *ᵥ x v := rfl |
| 24 | |
| 25 | theorem localBlock_preserves_iff (M : Submodule (PadicInt q) (S → Fin 3 → Padic q)) |
| 26 | (hM : ∀ x, x ∈ M ↔ ∀ v i, ‖x v i‖ ≤ 1) (A : S → RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) : |
| 27 | (∀ x ∈ M, localBlockLinear q A x ∈ M) ↔ ∀ v, A v ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q := by |
| 28 | constructor |
| 29 | · intro h v |
| 30 | apply (IntegralCoordinates.TestTransport.integralSL3_iff_preserves_vectors q (A v)).mpr |
| 31 | intro x hx i |
| 32 | have hy : Pi.single v x ∈ M := by |
| 33 | apply (hM _).mpr |
| 34 | intro w j |
| 35 | by_cases hw : w = v |
| 36 | · subst w |
| 37 | simpa using hx j |
| 38 | · simp [Pi.single_eq_of_ne hw] |
| 39 | have hb := (hM _).mp (h _ hy) v i |
| 40 | simpa only [localBlockLinear_apply, Pi.single_eq_same] using hb |
| 41 | · intro h x hx |
| 42 | apply (hM _).mpr |
| 43 | intro v i |
| 44 | exact IntegralCoordinates.TestTransport.integralSL3_mulVec_integral q (A v) (h v) (x v) ((hM x).mp hx v) i |
| 45 | |
| 46 | omit [DecidableEq S] in |
| 47 | theorem identity_blocks_integral_iff {G : Type*} [Group G] (U : Subgroup G) |
| 48 | (p : S → Prop) [DecidablePred p] (A : S → G) : |
| 49 | (∀ v, (if p v then 1 else A v) ∈ U) ↔ ∀ v, ¬ p v → A v ∈ U := by |
| 50 | constructor |
| 51 | · intro h v hv |
| 52 | simpa only [ite_eq_right hv] using h v |
| 53 | · intro h v |
| 54 | by_cases hv : p v |
| 55 | · simpa only [ite_eq_left hv] using U.one_mem |
| 56 | · simpa only [ite_eq_right hv] using h v hv |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralBlockLattice.TestTransport |