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.NumberTheory.ArithmeticGroups.Lattices.DenseRegularSplitElements |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.OrderedSplitWeightData |
| 3 | import Mathlib.Data.Fintype.Prod |
| 4 | import Mathlib.Data.Fintype.Sum |
| 5 | |
| 6 | /-! # Regular Weight Order Refinement -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.RegularWeightOrderRefinement.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every weak ordering of weight values can be refined by the |
| 13 | reverse ordering at a regular element separating distinct weights. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | theorem exists_reverse_regular_weight_order |
| 18 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 19 | {n : ℕ} (w : Fin n → E →ₗ[ℝ] ℝ) (A : E) : |
| 20 | ∃ H : E, (∀ i, w i H = 0 ↔ w i = 0) ∧ |
| 21 | (∀ i j, w i H = w j H ↔ w i = w j) ∧ |
| 22 | ∀ i j, w i A < w j A → w j H < w i H := by |
| 23 | let f : Fin n ⊕ (Fin n × Fin n) → E →ₗ[ℝ] ℝ := Sum.elim w (fun p => w p.1 - w p.2) |
| 24 | let O : Set E := {H | ∀ i j, w i A < w j A → w j H < w i H} |
| 25 | have hO : IsOpen O := by |
| 26 | simp only [O, Set.ofPred_forall] |
| 27 | exact isOpen_iInter_of_finite fun i => isOpen_iInter_of_finite fun j => |
| 28 | isOpen_iInter_of_finite fun _ => isOpen_lt (w j).continuous_of_finiteDimensional |
| 29 | (w i).continuous_of_finiteDimensional |
| 30 | have hnO : O.Nonempty := by |
| 31 | refine ⟨-A, fun i j hij => ?_⟩ |
| 32 | simpa only [map_neg] using neg_lt_neg hij |
| 33 | obtain ⟨H, hH, hOrder⟩ := (DenseRegularSplitElements.Construction.regular_linear_forms_dense f).exists_mem_open hO hnO |
| 34 | refine ⟨H, fun i => hH (Sum.inl i), fun i j => ?_, hOrder⟩ |
| 35 | simpa only [f, Sum.elim_inr, LinearMap.sub_apply, sub_eq_zero] using hH (Sum.inr (i, j)) |
| 36 | |
| 37 | theorem exists_regular_weight_permutation |
| 38 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 39 | {n : ℕ} (w : Fin n → E →ₗ[ℝ] ℝ) (A : E) : |
| 40 | ∃ (σ : Equiv.Perm (Fin n)) (H : E), (∀ i, w i H = 0 ↔ w i = 0) ∧ |
| 41 | (∀ i j, w i H = w j H ↔ w i = w j) ∧ |
| 42 | Antitone (fun i => w (σ i) H) ∧ Monotone (fun i => w (σ i) A) := by |
| 43 | obtain ⟨H, hH, hsep, hReverse⟩ := exists_reverse_regular_weight_order w A |
| 44 | let f := fun i => OrderDual.toDual (w i H) |
| 45 | let σ := Tuple.sort f |
| 46 | have hσ : Antitone (fun i => w (σ i) H) := Tuple.monotone_sort f |
| 47 | refine ⟨σ, H, hH, hsep, hσ, fun i j hij => ?_⟩ |
| 48 | by_contra hn |
| 49 | exact (not_lt_of_ge (hσ hij)) (hReverse (σ j) (σ i) (lt_of_not_ge hn)) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.ArithmeticGroups.Lattices.RegularWeightOrderRefinement.Construction |