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.PermutationUnipotentFactors |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.StrictOrderedUnipotentMatrices |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.BasisSpectralOperator |
| 4 | |
| 5 | /-! # Upper Matrix Permutation Factors -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.UpperMatrixPermutationFactors.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Continuous permutation factorization of the full upper |
| 12 | unitriangular matrix group. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem upper_matrix_continuous_permutation_factors (m : ℕ) (σ : Equiv.Perm (Fin m)) : |
| 17 | ∃ u v : UpperUnitriangularGroup.Construction.upperUnitriangularMatrixGroup m → (Matrix (Fin m) (Fin m) ℝ)ˣ, |
| 18 | Continuous u ∧ Continuous v ∧ ∀ g, |
| 19 | UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (u g).val ∧ UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (v g).val ∧ |
| 20 | (∀ i j, ¬(i < j ∧ σ j < σ i) → ((u g).val - 1) i j = 0) ∧ |
| 21 | (∀ i j, ¬(i < j ∧ σ i < σ j) → ((v g).val - 1) i j = 0) ∧ |
| 22 | g.val = u g * v g := by |
| 23 | let L := EuclideanSpace ℝ (Fin m) |
| 24 | let b : OrthonormalBasis (Fin m) ℝ L := EuclideanSpace.basisFun (Fin m) ℝ |
| 25 | let w : Fin m → ℝ := fun i => -(i.val : ℝ) |
| 26 | have hw : StrictAnti w := by |
| 27 | intro i j hij |
| 28 | exact neg_lt_neg (Nat.cast_lt.mpr hij) |
| 29 | let H : L →L[ℝ] L := (BasisSpectralOperator.Construction.basisSpectralEnd b.toBasis w).toContinuousLinearMap |
| 30 | have hH : H.toLinearMap.IsSymmetric := BasisSpectralOperator.Construction.basisSpectralEnd_isSymmetric b w |
| 31 | have heig : ∀ i, H (b i) = w i • b i := BasisSpectralOperator.Construction.basisSpectralEnd_apply_basis b.toBasis w |
| 32 | let F := ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis |
| 33 | let e := StrictOrderedUnipotentMatrices.Construction.strictOrderedUnipotentMatrixEquiv b w hw |
| 34 | obtain ⟨u, v, hu, hv, hf⟩ := PermutationUnipotentFactors.Construction.weightRaising_permutation_unipotent_factors b H hH w hw.antitone heig σ |
| 35 | refine ⟨fun g => F (u (e.symm g)), fun g => F (v (e.symm g)), |
| 36 | F.continuous.comp (hu.comp e.symm.continuous), F.continuous.comp (hv.comp e.symm.continuous), ?_⟩ |
| 37 | intro g |
| 38 | obtain ⟨hug, hvg, hus, hvs, he⟩ := hf (e.symm g) |
| 39 | refine ⟨StrictOrderedUnipotentMatrices.Construction.weightRaising_unit_matrix_upper b w hw.antitone ⟨_, hug⟩, |
| 40 | StrictOrderedUnipotentMatrices.Construction.weightRaising_unit_matrix_upper b w hw.antitone ⟨_, hvg⟩, ?_, ?_, ?_⟩ |
| 41 | · intro i j hij |
| 42 | have hz := hus i j hij |
| 43 | simpa only [map_sub, map_one] using! hz |
| 44 | · intro i j hij |
| 45 | have hz := hvs i j hij |
| 46 | simpa only [map_sub, map_one] using! hz |
| 47 | · have heF := congrArg F he |
| 48 | rw [map_mul] at heF |
| 49 | have hg : F (e.symm g).val = g.val := by |
| 50 | exact congrArg Subtype.val (e.apply_symm_apply g) |
| 51 | rw [hg] at heF |
| 52 | exact heF |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.ArithmeticGroups.Lattices.UpperMatrixPermutationFactors.Construction |