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.AbelianScheme.TateComparison.PairedBlocks |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Local |
| 3 | |
| 4 | /-! # Self Dual Block Lattices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SelfDualBlockLattices |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Self-duality of the full split lattice forces the exact duality |
| 11 | of opposite blocks, including inverse scaling by the multiplier. -/ |
| 12 | |
| 13 | open scoped BigOperators Pointwise |
| 14 | |
| 15 | variable {R K V I : Type*} [CommRing R] [Field K] [Algebra R K] |
| 16 | [AddCommGroup V] [Module R V] [Module K V] [IsScalarTower R K V] |
| 17 | [Fintype I] [DecidableEq I] |
| 18 | |
| 19 | omit [Fintype I] in |
| 20 | theorem single_mem_pi_submodule_iff (L : I → Submodule R V) (i : I) (x : V) : |
| 21 | Pi.single i x ∈ Submodule.pi Set.univ L ↔ x ∈ L i := by |
| 22 | constructor |
| 23 | · intro h |
| 24 | have hi : (Pi.single i x : I → V) i ∈ L i := h i (Set.mem_univ i) |
| 25 | simpa only [Pi.single_eq_same] using hi |
| 26 | · intro hx j _ |
| 27 | change (Pi.single i x : I → V) j ∈ L j |
| 28 | by_cases hj : j = i |
| 29 | · subst j |
| 30 | simpa only [Pi.single_eq_same] using hx |
| 31 | · simpa only [Pi.single_eq_of_ne hj] using (L j).zero_mem |
| 32 | |
| 33 | variable (B : LinearMap.BilinForm K (I → V)) (τ : I → I) (hτ : Function.Injective τ) |
| 34 | (horth : ∀ i j, i ≠ τ j → ∀ x y, B (Pi.single i x) (Pi.single j y) = 0) |
| 35 | |
| 36 | include hτ horth in |
| 37 | theorem oppositeBlockPairing_whole_value (i : I) (x : V) (z : I → V) : |
| 38 | B (Pi.single (τ i) x) z = PairedBlocks.oppositeBlockPairing B τ i x (z i) := by |
| 39 | conv_lhs => rw [← LinearMap.sum_single_apply (fun _ : I => V) z, map_sum] |
| 40 | apply Finset.sum_eq_single i |
| 41 | · intro j _ hj |
| 42 | exact horth (τ i) j (fun h => hj (hτ h).symm) x (z j) |
| 43 | · intro hi |
| 44 | exact (hi (Finset.mem_univ i)).elim |
| 45 | |
| 46 | include hτ horth in |
| 47 | theorem oppositeBlockPairing_dual_iff_single (L : I → Submodule R V) (i : I) (x : V) : |
| 48 | x ∈ (PairedBlocks.oppositeBlockPairing B τ i).dualSubmodule (L i) ↔ |
| 49 | Pi.single (τ i) x ∈ B.dualSubmodule (Submodule.pi Set.univ L) := by |
| 50 | constructor |
| 51 | · intro hx z hz |
| 52 | rw [oppositeBlockPairing_whole_value B τ hτ horth i x z] |
| 53 | exact hx (z i) (hz i (Set.mem_univ i)) |
| 54 | · intro hx y hy |
| 55 | exact hx (Pi.single i y) ((single_mem_pi_submodule_iff L i y).mpr hy) |
| 56 | |
| 57 | include hτ horth in |
| 58 | theorem oppositeBlockLattice_of_self_dual (L : I → Submodule R V) |
| 59 | (hL : B.dualSubmodule (Submodule.pi Set.univ L) = Submodule.pi Set.univ L) (i : I) : |
| 60 | L (τ i) = (PairedBlocks.oppositeBlockPairing B τ i).dualSubmodule (L i) := by |
| 61 | ext x |
| 62 | rw [oppositeBlockPairing_dual_iff_single B τ hτ horth L i x, hL, |
| 63 | single_mem_pi_submodule_iff] |
| 64 | |
| 65 | include hτ horth in |
| 66 | theorem oppositeBlockLattice_of_scaled_self_dual (m : Kˣ) (L : I → Submodule R V) |
| 67 | (hL : ((m : K) • B).dualSubmodule (Submodule.pi Set.univ L) = Submodule.pi Set.univ L) (i : I) : |
| 68 | L (τ i) = m⁻¹ • (PairedBlocks.oppositeBlockPairing B τ i).dualSubmodule (L i) := by |
| 69 | have hscaled : ∀ a b, a ≠ τ b → ∀ x y, |
| 70 | ((m : K) • B) (Pi.single a x) (Pi.single b y) = 0 := by |
| 71 | intro a b hab x y |
| 72 | change (m : K) * B (Pi.single a x) (Pi.single b y) = 0 |
| 73 | rw [horth a b hab x y, mul_zero] |
| 74 | have hblock : PairedBlocks.oppositeBlockPairing ((m : K) • B) τ i = (m : K) • PairedBlocks.oppositeBlockPairing B τ i := by |
| 75 | ext x y |
| 76 | rfl |
| 77 | have h := oppositeBlockLattice_of_self_dual ((m : K) • B) τ hτ hscaled L hL i |
| 78 | rw [hblock] at h |
| 79 | exact h.trans (Local.oppositeLattice_eq_inverse_smul (PairedBlocks.oppositeBlockPairing B τ i) m (L i)) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SelfDualBlockLattices |