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.Divisors.LineBundles.Symmetric.ScalarGrading |
| 2 | import Mathlib.LinearAlgebra.Prod |
| 3 | |
| 4 | /-! # Semilinear Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.SemilinearMap.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Augmentation of actual semilinear module maps, including the |
| 11 | generation property needed for the projective symmetric construction. -/ |
| 12 | |
| 13 | variable {R S M N : Type} [CommRing R] [CommRing S] [AddCommGroup M] [AddCommGroup N] |
| 14 | [Module R M] [Module S N] (f : R →+* S) (g : M →ₛₗ[f] N) |
| 15 | |
| 16 | def augmentedSemilinearMap : R × M →ₛₗ[f] S × N where |
| 17 | toFun v := (f v.1, g v.2) |
| 18 | map_add' v w := by ext <;> simp only [Prod.fst_add, Prod.snd_add, map_add] |
| 19 | map_smul' r v := by |
| 20 | ext |
| 21 | · exact map_mul f r v.1 |
| 22 | · exact g.map_smulₛₗ r v.2 |
| 23 | |
| 24 | theorem augmentedSemilinearMap_variable : augmentedSemilinearMap f g (1, 0) = (1, 0) := by |
| 25 | change (f 1, g 0) = (1, 0) |
| 26 | rw [map_one, map_zero] |
| 27 | |
| 28 | theorem augmentedSemilinearMap_span (hgen : Submodule.span S (Set.range g) = ⊤) : |
| 29 | Submodule.span S (Set.range (augmentedSemilinearMap f g)) = ⊤ := by |
| 30 | let T := Submodule.span S (Set.range (augmentedSemilinearMap f g)) |
| 31 | have hfirst : ∀ s : S, (s, (0 : N)) ∈ T := by |
| 32 | intro s |
| 33 | have h : ((1 : S), (0 : N)) ∈ T := |
| 34 | Submodule.subset_span ⟨(1, 0), augmentedSemilinearMap_variable f g⟩ |
| 35 | simpa only [Prod.smul_mk, smul_eq_mul, mul_one, smul_zero] using T.smul_mem s h |
| 36 | have hsecond : ∀ n : N, ((0 : S), n) ∈ T := by |
| 37 | intro n |
| 38 | have hn : n ∈ Submodule.span S (Set.range g) := by rw [hgen]; trivial |
| 39 | induction hn using Submodule.span_induction with |
| 40 | | mem n hn => |
| 41 | obtain ⟨m, rfl⟩ := hn |
| 42 | apply Submodule.subset_span |
| 43 | refine ⟨(0, m), ?_⟩ |
| 44 | change (f 0, g m) = (0, g m) |
| 45 | rw [map_zero] |
| 46 | | zero => exact T.zero_mem |
| 47 | | add x y hx hy ihx ihy => |
| 48 | simpa only [Prod.mk_add_mk, zero_add] using T.add_mem ihx ihy |
| 49 | | smul s x hx ih => |
| 50 | simpa only [Prod.smul_mk, smul_zero] using T.smul_mem s ih |
| 51 | apply top_unique |
| 52 | rintro ⟨s, n⟩ _ |
| 53 | simpa only [Prod.mk_add_mk, zero_add, add_zero] using T.add_mem (hfirst s) (hsecond n) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.SemilinearMap.BundleCycles |