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.BoundedComplex |
| 2 | |
| 3 | /-! # Tensor Bounded Complex -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorBoundedComplex |
| 6 | |
| 7 | /-! The augmentation of a bounded exact complex of flat positive terms remains injective after tensoring. -/ |
| 8 | |
| 9 | universe u v w |
| 10 | |
| 11 | variable (R : Type u) [CommRing R] |
| 12 | |
| 13 | theorem flat_range_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 | (hex : ∀ q, Function.Exact (d q) (d (q + 1))) (hd : d (n + 2) = 0) |
| 17 | (hflat : ∀ q, 2 ≤ q → q ≤ n + 2 → Module.Flat R (V q)) : |
| 18 | Module.Flat R (d 1).range := by |
| 19 | let : Module.Flat R (d 2).ker := |
| 20 | Presentations.Flat.BoundedComplex.flat_kernel_of_bounded_exact R n (fun q => V (q + 2)) (fun q => d (q + 2)) |
| 21 | (fun q => hex (q + 2)) hd (fun q hq => hflat (q + 2) (by omega) (by omega)) |
| 22 | exact Module.Flat.of_linearEquiv (LinearEquiv.ofEq _ _ (hex 1).linearMap_ker_eq.symm) |
| 23 | |
| 24 | theorem lTensor_augmentation_injective_of_bounded_exact (n : ℕ) |
| 25 | (V : ℕ → Type v) [∀ q, AddCommGroup (V q)] [∀ q, Module R (V q)] |
| 26 | (d : ∀ q, V q →ₗ[R] V (q + 1)) |
| 27 | (hex : ∀ q, Function.Exact (d q) (d (q + 1))) (hd : d (n + 2) = 0) |
| 28 | (hinj : Function.Injective (d 0)) |
| 29 | (hflat : ∀ q, 2 ≤ q → q ≤ n + 2 → Module.Flat R (V q)) |
| 30 | (S : Type w) [AddCommGroup S] [Module R S] : |
| 31 | Function.Injective ((d 0).lTensor S) := by |
| 32 | let : Module.Flat R (d 1).range := flat_range_of_bounded_exact R n V d hex hd hflat |
| 33 | apply LinearMap.lTensor_injective_of_exact_of_flat (d 1).rangeRestrict |
| 34 | (d 1).surjective_rangeRestrict (d 0) hinj _ S |
| 35 | intro x |
| 36 | constructor |
| 37 | · intro hx |
| 38 | exact (hex 0 x).mp (congrArg Subtype.val hx) |
| 39 | · intro hx |
| 40 | exact Subtype.ext ((hex 0 x).mpr hx) |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorBoundedComplex |