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 Mathlib.RingTheory.Ideal.Cotangent |
| 2 | import Mathlib.Algebra.Module.Projective |
| 3 | |
| 4 | /-! # Linear Isomorphisms -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.SquareZero.LinearIsomorphisms |
| 7 | |
| 8 | /-! Linear maps that are inverse modulo a square-zero ideal are |
| 9 | actual isomorphisms. This supplies the affine frame-lifting step for |
| 10 | infinitesimal line-bundle families. -/ |
| 11 | |
| 12 | variable {R M N P : Type*} [CommRing R] |
| 13 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 14 | [AddCommGroup P] [Module R P] |
| 15 | |
| 16 | theorem squareZero_smul_eq_zero (I : Ideal R) (hI : I * I = ⊥) |
| 17 | {a : R} (ha : a ∈ I) {m : M} (hm : m ∈ I • (⊤ : Submodule R M)) : a • m = 0 := by |
| 18 | refine Submodule.smul_induction_on hm ?_ ?_ |
| 19 | · intro b hb x _ |
| 20 | rw [smul_smul] |
| 21 | have hab : a * b = 0 := (Submodule.mem_bot R).mp (hI ▸ Ideal.mul_mem_mul ha hb) |
| 22 | rw [hab, zero_smul] |
| 23 | · intro x y hx hy |
| 24 | rw [smul_add, hx, hy, add_zero] |
| 25 | |
| 26 | theorem squareZero_linear_composite (I : Ideal R) (hI : I * I = ⊥) |
| 27 | (f : M →ₗ[R] N) (g : N →ₗ[R] P) |
| 28 | (hf : ∀ m, f m ∈ I • (⊤ : Submodule R N)) |
| 29 | (hg : ∀ n, g n ∈ I • (⊤ : Submodule R P)) : g.comp f = 0 := by |
| 30 | ext m |
| 31 | change g (f m) = 0 |
| 32 | refine Submodule.smul_induction_on (hf m) ?_ ?_ |
| 33 | · intro a ha n _ |
| 34 | rw [map_smul] |
| 35 | exact squareZero_smul_eq_zero I hI ha (hg n) |
| 36 | · intro x y hx hy |
| 37 | rw [map_add, hx, hy, add_zero] |
| 38 | |
| 39 | theorem linear_bijective_of_squareZero_inverse (I : Ideal R) (hI : I * I = ⊥) |
| 40 | (f : M →ₗ[R] N) (g : N →ₗ[R] M) |
| 41 | (hM : ∀ m, g (f m) - m ∈ I • (⊤ : Submodule R M)) |
| 42 | (hN : ∀ n, f (g n) - n ∈ I • (⊤ : Submodule R N)) : Function.Bijective f := by |
| 43 | let dM := g.comp f - LinearMap.id |
| 44 | let dN := f.comp g - LinearMap.id |
| 45 | have hMM : dM.comp dM = 0 := squareZero_linear_composite I hI dM dM hM hM |
| 46 | have hNN : dN.comp dN = 0 := squareZero_linear_composite I hI dN dN hN hN |
| 47 | constructor |
| 48 | · intro x y hxy |
| 49 | have hz : f (x - y) = 0 := by rw [map_sub, hxy, sub_self] |
| 50 | have hd : dM (x - y) = -(x - y) := by |
| 51 | change g (f (x - y)) - (x - y) = _ |
| 52 | rw [hz, map_zero, zero_sub] |
| 53 | have he := LinearMap.congr_fun hMM (x - y) |
| 54 | change dM (dM (x - y)) = 0 at he |
| 55 | rw [hd, map_neg, hd, neg_neg] at he |
| 56 | exact sub_eq_zero.mp he |
| 57 | · intro y |
| 58 | refine ⟨g (y - dN y), ?_⟩ |
| 59 | have he := LinearMap.congr_fun hNN y |
| 60 | change dN (dN y) = 0 at he |
| 61 | have hfg (z : N) : f (g z) = dN z + z := by |
| 62 | change f (g z) = (f (g z) - z) + z |
| 63 | exact (sub_add_cancel _ _).symm |
| 64 | rw [hfg, map_sub, he, sub_zero] |
| 65 | exact (add_sub_assoc (dN y) y (dN y)).symm.trans (add_sub_cancel_left (dN y) y) |
| 66 | |
| 67 | end OAI.RepresentationTheory.Theta.Geometric.SquareZero.LinearIsomorphisms |