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.AdicCompletion.Functoriality |
| 2 | import Mathlib.LinearAlgebra.Basis.VectorSpace |
| 3 | import Mathlib.LinearAlgebra.Isomorphisms |
| 4 | |
| 5 | /-! # Residue Linear Extension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ResidueLinearExtension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A map on presentation relations extends to the ambient module after |
| 12 | reduction by a maximal ideal exactly when it kills the reduced kernel. -/ |
| 13 | |
| 14 | universe u v w t |
| 15 | |
| 16 | theorem vectorMap_extend_of_ker_le |
| 17 | {k : Type u} [Field k] |
| 18 | {K : Type v} [AddCommGroup K] [Module k K] |
| 19 | {F : Type w} [AddCommGroup F] [Module k F] |
| 20 | {N : Type t} [AddCommGroup N] [Module k N] |
| 21 | (f : K →ₗ[k] F) (g : K →ₗ[k] N) (h : f.ker ≤ g.ker) : |
| 22 | ∃ l : F →ₗ[k] N, ∀ x, l (f x) = g x := by |
| 23 | let r := (f.ker.liftQ g h).comp f.quotKerEquivRange.symm.toLinearMap |
| 24 | obtain ⟨p, hp⟩ := f.range.subtype.exists_leftInverse_of_injective f.range.ker_subtype |
| 25 | refine ⟨r.comp p, fun x => ?_⟩ |
| 26 | have hp' : p (f x) = f.rangeRestrict x := LinearMap.congr_fun hp (f.rangeRestrict x) |
| 27 | change r (p (f x)) = g x |
| 28 | rw [hp'] |
| 29 | change f.ker.liftQ g h (f.quotKerEquivRange.symm ⟨f x, _⟩) = g x |
| 30 | rw [LinearMap.quotKerEquivRange_symm_apply_image, Submodule.mkQ_apply, Submodule.liftQ_apply] |
| 31 | |
| 32 | theorem residue_linear_extension |
| 33 | {B : Type u} [CommRing B] (m : Ideal B) [m.IsMaximal] |
| 34 | {K : Type v} [AddCommGroup K] [Module B K] |
| 35 | {F : Type w} [AddCommGroup F] [Module B F] |
| 36 | {N : Type t} [AddCommGroup N] [Module B N] [Module (B ⧸ m) N] |
| 37 | [IsScalarTower B (B ⧸ m) N] |
| 38 | (f : K →ₗ[B] F) (g : K →ₗ[B] N) |
| 39 | (h : ∀ x, f x ∈ m • (⊤ : Submodule B F) → g x = 0) : |
| 40 | ∃ l : F →ₗ[B] N, ∀ x, l (f x) = g x := by |
| 41 | let : Field (B ⧸ m) := Ideal.Quotient.field m |
| 42 | let P : Submodule B K := m • ⊤ |
| 43 | let Q : Submodule B F := m • ⊤ |
| 44 | have hg : P ≤ g.ker := by |
| 45 | apply Submodule.smul_le.mpr |
| 46 | intro r hr x _ |
| 47 | apply h |
| 48 | rw [map_smul] |
| 49 | exact Submodule.smul_mem_smul hr Submodule.mem_top |
| 50 | let fbar := f.reduceModIdeal m |
| 51 | let gbar : (K ⧸ P) →ₗ[B ⧸ m] N := |
| 52 | (P.liftQ g hg).extendScalarsOfSurjective Ideal.Quotient.mk_surjective |
| 53 | have hk : fbar.ker ≤ gbar.ker := by |
| 54 | intro x hx |
| 55 | obtain ⟨z, rfl⟩ := P.mkQ_surjective x |
| 56 | change Submodule.Quotient.mk (p := Q) (f z) = 0 at hx |
| 57 | exact h z ((Submodule.Quotient.mk_eq_zero Q).mp hx) |
| 58 | obtain ⟨l, hl⟩ := vectorMap_extend_of_ker_le fbar gbar hk |
| 59 | refine ⟨(l.restrictScalars B).comp Q.mkQ, fun x => ?_⟩ |
| 60 | exact hl (P.mkQ x) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ResidueLinearExtension |