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.UpperUnitriangularGroup |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.OperatorWeightMatrix |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.UnipotentBracketGroup |
| 4 | |
| 5 | /-! # Strict Ordered Unipotent Matrices -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.StrictOrderedUnipotentMatrices.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Strictly decreasing weights identify the weight-raising |
| 12 | unipotent operators with the full upper unitriangular matrix group. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 17 | |
| 18 | omit [FiniteDimensional ℝ L] in |
| 19 | theorem weightRaising_unit_matrix_upper {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 20 | (w : Fin m → ℝ) (hw : Antitone w) (g : UnipotentBracketGroup.Construction.weightRaisingUnitGroup b w) : |
| 21 | UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis g.val.val) := by |
| 22 | have hg : ∀ i j, w i ≤ w j → |
| 23 | (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis g.val.val - 1) i j = 0 := by |
| 24 | intro i j hij |
| 25 | have he := g.property i j hij |
| 26 | simpa only [← OperatorWeightMatrix.Construction.continuousEndMatrix_orthonormal_apply, map_sub, map_one] using he |
| 27 | constructor |
| 28 | · intro i j hij |
| 29 | change j < i at hij |
| 30 | have he := hg i j (hw hij.le) |
| 31 | simpa only [Matrix.sub_apply, Matrix.one_apply_ne (ne_of_gt hij), sub_zero] using he |
| 32 | · intro i |
| 33 | have he := hg i i le_rfl |
| 34 | simpa only [Matrix.sub_apply, Matrix.one_apply_eq, sub_eq_zero] using he |
| 35 | |
| 36 | omit [FiniteDimensional ℝ L] in |
| 37 | theorem upper_matrix_unit_weightRaising {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 38 | (w : Fin m → ℝ) (hw : StrictAnti w) (g : (L →L[ℝ] L)ˣ) |
| 39 | (hg : UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis g.val)) : |
| 40 | g ∈ UnipotentBracketGroup.Construction.weightRaisingUnitGroup b w := by |
| 41 | intro i j hij |
| 42 | rw [← OperatorWeightMatrix.Construction.continuousEndMatrix_orthonormal_apply, map_sub, map_one, Matrix.sub_apply] |
| 43 | have hji : j ≤ i := by |
| 44 | by_contra hn |
| 45 | exact (not_lt_of_ge hij) (hw (lt_of_not_ge hn)) |
| 46 | rcases hji.eq_or_lt with he | he |
| 47 | · subst j |
| 48 | rw [hg.2 i, Matrix.one_apply_eq, sub_self] |
| 49 | · rw [hg.1 he, Matrix.one_apply_ne (ne_of_gt he), sub_self] |
| 50 | |
| 51 | def strictOrderedUnipotentMatrixEquiv {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 52 | (w : Fin m → ℝ) (hw : StrictAnti w) : |
| 53 | UnipotentBracketGroup.Construction.weightRaisingUnitGroup b w ≃ₜ* UpperUnitriangularGroup.Construction.upperUnitriangularMatrixGroup m where |
| 54 | toFun g := ⟨ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis g.val, |
| 55 | weightRaising_unit_matrix_upper b w hw.antitone g⟩ |
| 56 | invFun g := ⟨(ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis).symm g.val, |
| 57 | upper_matrix_unit_weightRaising b w hw _ (by |
| 58 | change UpperUnitriangularMatrices.Construction.IsUpperUnitriangular |
| 59 | ((ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis |
| 60 | ((ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis).symm g.val)).val) |
| 61 | rw [ContinuousMulEquiv.apply_symm_apply] |
| 62 | exact g.property)⟩ |
| 63 | left_inv g := by apply Subtype.ext; exact (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis).symm_apply_apply g.val |
| 64 | right_inv g := by apply Subtype.ext; exact (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis).apply_symm_apply g.val |
| 65 | map_mul' g h := by apply Subtype.ext; exact map_mul (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis) g.val h.val |
| 66 | continuous_toFun := ((ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis).continuous.comp continuous_subtype_val).subtype_mk _ |
| 67 | continuous_invFun := ((ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis).symm.continuous.comp continuous_subtype_val).subtype_mk _ |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.ArithmeticGroups.Lattices.StrictOrderedUnipotentMatrices.Construction |