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.UpperUnitriangularMatrices |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.FilteredMatrixUnitProjection |
| 3 | |
| 4 | /-! # Upper Unitriangular Group -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.UpperUnitriangularGroup.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The standard upper unitriangular group preserves every decreasing |
| 11 | weight filtration; its weight-block projection is unitriangular. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | def upperUnitriangularMatrixGroup (n : ℕ) : Subgroup (Matrix (Fin n) (Fin n) ℝ)ˣ where |
| 16 | carrier := {g | UpperUnitriangularMatrices.Construction.IsUpperUnitriangular g.val} |
| 17 | one_mem' := ⟨Matrix.blockTriangular_one, fun i => Matrix.one_apply_eq i⟩ |
| 18 | mul_mem' := fun hg hh => hg.mul hh |
| 19 | inv_mem' {g} hg := hg.unit_inv g |
| 20 | |
| 21 | theorem upperUnitriangularMatrixGroup_isClosed (n : ℕ) : |
| 22 | IsClosed (upperUnitriangularMatrixGroup n : Set (Matrix (Fin n) (Fin n) ℝ)ˣ) := |
| 23 | (UpperUnitriangularMatrices.Construction.isClosed_upper_unitriangular n).preimage Units.continuous_val |
| 24 | |
| 25 | theorem upper_triangular_ordered_weight_filtered {n : ℕ} |
| 26 | (w : Fin n → ℝ) (hw : Antitone w) (M : Matrix (Fin n) (Fin n) ℝ) |
| 27 | (hM : M.IsUpperTriangular) : Matrix.BlockTriangular (α := OrderDual ℝ) M w := by |
| 28 | intro i j hij |
| 29 | have hji : j < i := by |
| 30 | by_contra hn |
| 31 | exact (not_lt_of_ge (hw (le_of_not_gt hn))) hij |
| 32 | exact hM hji |
| 33 | |
| 34 | def upperUnitriangularFilteredHom {n : ℕ} (w : Fin n → ℝ) (hw : Antitone w) : |
| 35 | upperUnitriangularMatrixGroup n →* FilteredMatrixUnitProjection.Construction.weightFilteredMatrixUnits w := |
| 36 | Subgroup.inclusion (by |
| 37 | intro g hg |
| 38 | exact ⟨upper_triangular_ordered_weight_filtered w hw g.val hg.1, |
| 39 | upper_triangular_ordered_weight_filtered w hw (g⁻¹).val (hg.unit_inv g).1⟩) |
| 40 | |
| 41 | theorem weightBlockProjection_upper_unitriangular {n : ℕ} (w : Fin n → ℝ) |
| 42 | (M : Matrix (Fin n) (Fin n) ℝ) (hM : UpperUnitriangularMatrices.Construction.IsUpperUnitriangular M) : |
| 43 | UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (Weight.BlockProjection.Construction.weightBlockProjection w M) := by |
| 44 | constructor |
| 45 | · intro i j hij |
| 46 | rw [Weight.BlockProjection.Construction.weightBlockProjection_apply, hM.1 hij] |
| 47 | split_ifs <;> rfl |
| 48 | · intro i |
| 49 | rw [Weight.BlockProjection.Construction.weightBlockProjection_apply, ite_eq_left rfl, hM.2 i] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.ArithmeticGroups.Lattices.UpperUnitriangularGroup.Construction |