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.AbelianModuli.ReferenceFamily.Groups |
| 2 | |
| 3 | /-! # Principal Lattice Generators -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrincipalLatticeGenerators.TestTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The literal principal lattice subgroup can be tested on generators, |
| 10 | including inverse preservation and the original congruence condition. -/ |
| 11 | |
| 12 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Groups |
| 13 | |
| 14 | variable {A V J : Type*} [CommRing A] [AddCommGroup V] [Module A V] |
| 15 | (L : Submodule A V) (b : J → V) (hb : Submodule.span A (Set.range b) = L) |
| 16 | (N : ℕ) (g : V ≃ₗ[A] V) |
| 17 | |
| 18 | include hb in |
| 19 | theorem principalLattice_iff_generators : |
| 20 | g ∈ AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup L.toAddSubgroup N ↔ |
| 21 | (∀ j, g (b j) ∈ L) ∧ (∀ j, g.symm (b j) ∈ L) ∧ |
| 22 | ∀ j, ∃ y ∈ L, g (b j) - b j = N • y := by |
| 23 | change ((∀ x, x ∈ L ↔ g x ∈ L) ∧ ∀ x ∈ L, ∃ y ∈ L, g x - x = N • y) ↔ _ |
| 24 | have hgen (j : J) : b j ∈ L := hb ▸ Submodule.subset_span (Set.mem_range_self j) |
| 25 | constructor |
| 26 | · intro hg |
| 27 | refine ⟨fun j => (hg.1 _).mp (hgen j), ?_, fun j => hg.2 _ (hgen j)⟩ |
| 28 | intro j |
| 29 | have h := (hg.1 (g.symm (b j))).mpr |
| 30 | exact h (by simpa only [LinearEquiv.apply_symm_apply] using hgen j) |
| 31 | · rintro ⟨hforward, hinverse, hcong⟩ |
| 32 | have hf : L ≤ L.comap g.toLinearMap := by |
| 33 | apply le_trans (le_of_eq hb.symm) |
| 34 | exact Submodule.span_le.mpr (by rintro _ ⟨j, rfl⟩; exact hforward j) |
| 35 | have hi : L ≤ L.comap g.symm.toLinearMap := by |
| 36 | apply le_trans (le_of_eq hb.symm) |
| 37 | exact Submodule.span_le.mpr (by rintro _ ⟨j, rfl⟩; exact hinverse j) |
| 38 | refine ⟨fun x => ⟨fun hx => hf hx, fun hx => ?_⟩, ?_⟩ |
| 39 | · have h := hi hx |
| 40 | change g.symm (g x) ∈ L at h |
| 41 | simpa only [LinearEquiv.symm_apply_apply] using h |
| 42 | · intro x hx |
| 43 | rw [← hb] at hx |
| 44 | induction hx using Submodule.span_induction with |
| 45 | | mem x hx => |
| 46 | obtain ⟨j, rfl⟩ := hx |
| 47 | exact hcong j |
| 48 | | zero => exact ⟨0, L.zero_mem, by simp⟩ |
| 49 | | add x y _ _ hx hy => |
| 50 | obtain ⟨u, hu, he⟩ := hx |
| 51 | obtain ⟨v, hv, hf⟩ := hy |
| 52 | refine ⟨u + v, L.add_mem hu hv, ?_⟩ |
| 53 | rw [map_add, smul_add, ← he, ← hf] |
| 54 | abel |
| 55 | | smul a x _ hx => |
| 56 | obtain ⟨y, hy, he⟩ := hx |
| 57 | refine ⟨a • y, L.smul_mem a hy, ?_⟩ |
| 58 | rw [map_smul, ← smul_sub, he, smul_comm] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrincipalLatticeGenerators.TestTransport |