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.Finite.DifferenceConstraints |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.AdjacentWeightBounds |
| 3 | |
| 4 | /-! # Permuted Chamber Approximation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.PermutedChamberApproximation.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Simultaneous bounds in two permutation chambers are a bounded |
| 11 | distance from their exact intersection. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem permuted_chamber_bounded_approximation {n : ℕ} (σ : Equiv.Perm (Fin n)) |
| 16 | (t : ℝ) (ht : 0 ≤ t) : |
| 17 | ∃ c : ℝ, 0 ≤ c ∧ ∀ x : Fin n → ℝ, |
| 18 | (∀ i j, i.val + 1 = j.val → x i - x j ≤ t) → |
| 19 | (∀ i j, i.val + 1 = j.val → x (σ i) - x (σ j) ≤ t) → |
| 20 | ∃ y : Fin n → ℝ, Monotone y ∧ Monotone (y ∘ σ) ∧ |
| 21 | ∀ i, 0 ≤ x i - y i ∧ x i - y i ≤ c := by |
| 22 | let r : Fin n → Fin n → Prop := fun i j => i ≤ j ∨ σ.symm i ≤ σ.symm j |
| 23 | obtain ⟨c, hc, hb⟩ := Finite.DifferenceConstraints.Construction.finite_difference_constraints_approximation r |
| 24 | ((n : ℝ) * t) (mul_nonneg (Nat.cast_nonneg _) ht) |
| 25 | refine ⟨c, hc, fun x hx hxσ => ?_⟩ |
| 26 | have hr : ∀ i j, r i j → x i - x j ≤ (n : ℝ) * t := by |
| 27 | intro i j hij |
| 28 | rcases hij with hij | hij |
| 29 | · exact AdjacentWeightBounds.Construction.adjacent_difference_chain_bound x t ht hx i j hij |
| 30 | · simpa only [Equiv.apply_symm_apply] using |
| 31 | AdjacentWeightBounds.Construction.adjacent_difference_chain_bound (fun k => x (σ k)) t ht hxσ (σ.symm i) (σ.symm j) hij |
| 32 | obtain ⟨y, hy, hxy⟩ := hb x hr |
| 33 | refine ⟨y, fun i j hij => hy i j (Or.inl hij), ?_, hxy⟩ |
| 34 | intro i j hij |
| 35 | exact hy (σ i) (σ j) (Or.inr (by simpa only [Equiv.symm_apply_apply] using hij)) |
| 36 | |
| 37 | theorem monotone_permuted_inversion_equal {n : ℕ} (σ : Equiv.Perm (Fin n)) |
| 38 | (y : Fin n → ℝ) (hy : Monotone y) (hyσ : Monotone (y ∘ σ)) |
| 39 | (i j : Fin n) (hij : i ≤ j) (hσ : σ.symm j ≤ σ.symm i) : y i = y j := by |
| 40 | apply le_antisymm (hy hij) |
| 41 | simpa only [Function.comp_apply, Equiv.apply_symm_apply] using hyσ hσ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.ArithmeticGroups.Lattices.PermutedChamberApproximation.Construction |