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.Basic.Real.Basic |
| 2 | import Mathlib.Algebra.CharZero.Infinite |
| 3 | import Mathlib.Algebra.Module.Submodule.Union |
| 4 | |
| 5 | /-! # Regular Linear Forms -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.RegularLinearForms.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A regular point avoids all nonzero members of a finite family |
| 12 | of linear forms. Opposite pairs then make the positive forms separating. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem exists_regular_linear_forms |
| 17 | {E ι : Type*} [AddCommGroup E] [Module ℝ E] [Finite ι] |
| 18 | (w : ι → Module.Dual ℝ E) : ∃ H : E, ∀ i, w i H = 0 ↔ w i = 0 := by |
| 19 | let J := {i : ι // w i ≠ 0} |
| 20 | have hn (i : J) : ∃ x, w i.val x ≠ 0 := by |
| 21 | by_contra! h |
| 22 | apply i.property |
| 23 | exact LinearMap.ext h |
| 24 | obtain ⟨H, hH⟩ := Module.Dual.exists_forall_ne_zero_of_forall_exists |
| 25 | (fun i : J => w i.val) hn |
| 26 | refine ⟨H, fun i => ⟨fun hi => ?_, fun hi => by rw [hi]; rfl⟩⟩ |
| 27 | by_contra hn |
| 28 | exact hH ⟨i, hn⟩ hi |
| 29 | |
| 30 | theorem positive_linear_forms_separate |
| 31 | {E ι : Type*} [AddCommGroup E] [Module ℝ E] |
| 32 | (w : ι → Module.Dual ℝ E) |
| 33 | (hsep : ∀ x, (∀ i, w i x = 0) → x = 0) |
| 34 | (hopp : ∀ i, ∃ j, w j = -w i) |
| 35 | (H : E) (hreg : ∀ i, w i H = 0 ↔ w i = 0) : |
| 36 | ∀ x, (∀ i : {i : ι // 0 < w i H}, w i.val x = 0) → x = 0 := by |
| 37 | intro x hx |
| 38 | apply hsep x |
| 39 | intro i |
| 40 | rcases lt_trichotomy (w i H) 0 with hneg | hzero | hpos |
| 41 | · obtain ⟨j, hj⟩ := hopp i |
| 42 | have hp : 0 < w j H := by simpa only [hj, LinearMap.neg_apply, neg_pos] using hneg |
| 43 | have hz := hx ⟨j, hp⟩ |
| 44 | simpa only [hj, LinearMap.neg_apply, neg_eq_zero] using hz |
| 45 | · rw [(hreg i).mp hzero] |
| 46 | rfl |
| 47 | · exact hx ⟨i, hpos⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.ArithmeticGroups.Lattices.RegularLinearForms.Construction |