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.HilbertScheme.Presentations.Flat.ExactKernels |
| 2 | |
| 3 | /-! # Bounded Complex -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.BoundedComplex |
| 6 | |
| 7 | /-! Flatness at the left end of a bounded exact complex of flat modules. -/ |
| 8 | |
| 9 | universe u v |
| 10 | |
| 11 | variable (R : Type u) [CommRing R] |
| 12 | |
| 13 | theorem flat_kernel_of_bounded_exact (n : ℕ) : |
| 14 | ∀ (V : ℕ → Type v) [∀ q, AddCommGroup (V q)] [∀ q, Module R (V q)] |
| 15 | (d : ∀ q, V q →ₗ[R] V (q + 1)), |
| 16 | (∀ q, Function.Exact (d q) (d (q + 1))) → d n = 0 → |
| 17 | (∀ q, q ≤ n → Module.Flat R (V q)) → Module.Flat R (d 0).ker := by |
| 18 | induction n with |
| 19 | | zero => |
| 20 | intro V _ _ d _ hd hflat |
| 21 | let : Module.Flat R (V 0) := hflat 0 le_rfl |
| 22 | rw [LinearMap.ker_eq_top.mpr hd] |
| 23 | exact Module.Flat.of_linearEquiv Submodule.topEquiv |
| 24 | | succ n ih => |
| 25 | intro V _ _ d hex hd hflat |
| 26 | let : Module.Flat R (V 0) := hflat 0 (Nat.zero_le _) |
| 27 | let : Module.Flat R (d 1).ker := |
| 28 | ih (fun q => V (q + 1)) (fun q => d (q + 1)) (fun q => hex (q + 1)) hd |
| 29 | (fun q hq => hflat (q + 1) (Nat.succ_le_succ hq)) |
| 30 | have hrange : (d 0).range = (d 1).ker := (hex 0).linearMap_ker_eq.symm |
| 31 | let : Module.Flat R (d 0).range := |
| 32 | Module.Flat.of_linearEquiv (LinearEquiv.ofEq _ _ hrange) |
| 33 | let : Module.Flat R (d 0).rangeRestrict.ker := |
| 34 | ExactKernels.kernel_flat_of_surjective (d 0).rangeRestrict (d 0).surjective_rangeRestrict |
| 35 | exact Module.Flat.of_linearEquiv (LinearEquiv.ofEq _ _ (LinearMap.ker_rangeRestrict (d 0)).symm) |
| 36 | |
| 37 | theorem flat_augmentation_of_bounded_exact (n : ℕ) |
| 38 | (V : ℕ → Type v) [∀ q, AddCommGroup (V q)] [∀ q, Module R (V q)] |
| 39 | (d : ∀ q, V q →ₗ[R] V (q + 1)) |
| 40 | (hex : ∀ q, Function.Exact (d q) (d (q + 1))) (hd : d (n + 1) = 0) |
| 41 | (hinj : Function.Injective (d 0)) (hflat : ∀ q, 1 ≤ q → q ≤ n + 1 → Module.Flat R (V q)) : |
| 42 | Module.Flat R (V 0) := by |
| 43 | let : Module.Flat R (d 1).ker := |
| 44 | flat_kernel_of_bounded_exact R n (fun q => V (q + 1)) (fun q => d (q + 1)) |
| 45 | (fun q => hex (q + 1)) hd (fun q hq => hflat (q + 1) (Nat.succ_pos q) (Nat.succ_le_succ hq)) |
| 46 | have hrange : (d 0).range = (d 1).ker := (hex 0).linearMap_ker_eq.symm |
| 47 | let : Module.Flat R (d 0).range := Module.Flat.of_linearEquiv (LinearEquiv.ofEq _ _ hrange) |
| 48 | exact Module.Flat.of_linearEquiv (LinearEquiv.ofInjective (d 0) hinj) |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.BoundedComplex |