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.Positive.BracketSpectralFunctions |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.Killing |
| 3 | import Mathlib.Analysis.InnerProductSpace.Spectrum |
| 4 | |
| 5 | /-! # Bracket Square Root -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.BracketSquareRoot.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A positive self-adjoint bracket-preserving operator has an |
| 12 | invertible self-adjoint bracket-preserving square root. -/ |
| 13 | |
| 14 | theorem positive_bilinear_preserver_squareRoot |
| 15 | {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 16 | (B : L →L[ℝ] L →L[ℝ] L) (g : L →L[ℝ] L) (hsym : g.toLinearMap.IsSymmetric) |
| 17 | (hpos : ∀ x : L, x ≠ 0 → 0 < inner ℝ (g x) x) |
| 18 | (hB : ∀ x y, g (B x y) = B (g x) (g y)) : |
| 19 | ∃ s : L ≃L[ℝ] L, s.toLinearMap.IsSymmetric ∧ |
| 20 | (∀ x : L, x ≠ 0 → 0 < inner ℝ (s x) x) ∧ |
| 21 | s.toContinuousLinearMap * s.toContinuousLinearMap = g ∧ |
| 22 | ∀ x y, s (B x y) = B (s x) (s y) := by |
| 23 | let b := hsym.eigenvectorBasis (n := Module.finrank ℝ L) rfl |
| 24 | let w := hsym.eigenvalues (n := Module.finrank ℝ L) rfl |
| 25 | have hg (i : Fin (Module.finrank ℝ L)) : g (b i) = w i • b i := |
| 26 | hsym.apply_eigenvectorBasis rfl i |
| 27 | have hw (i : Fin (Module.finrank ℝ L)) : 0 < w i := by |
| 28 | have hi := hpos (b i) (b.toBasis.ne_zero i) |
| 29 | rw [hg, real_inner_smul_left, b.inner_eq_one, mul_one] at hi |
| 30 | exact hi |
| 31 | let S := BasisSpectralOperator.Construction.basisSpectralEnd b.toBasis (fun i => Real.sqrt (w i)) |
| 32 | have hS : S * S = g.toLinearMap := BracketSpectralFunctions.Construction.positive_eigenbasis_sqrt_square b.toBasis g.toLinearMap w hg hw |
| 33 | have hginj : Function.Injective g := by |
| 34 | apply (injective_iff_map_eq_zero g).mpr |
| 35 | intro x hx |
| 36 | by_contra hne |
| 37 | have hp := hpos x hne |
| 38 | simp only [hx, inner_zero_left, lt_self_iff_false] at hp |
| 39 | have hSinj : Function.Injective S := by |
| 40 | intro x y hxy |
| 41 | apply hginj |
| 42 | change g.toLinearMap x = g.toLinearMap y |
| 43 | rw [← hS] |
| 44 | change S (S x) = S (S y) |
| 45 | rw [hxy] |
| 46 | let s : L ≃L[ℝ] L := |
| 47 | (LinearEquiv.ofBijective S ⟨hSinj, LinearMap.injective_iff_surjective.mp hSinj⟩).toContinuousLinearEquiv |
| 48 | refine ⟨s, BasisSpectralOperator.Construction.basisSpectralEnd_isSymmetric b _, ?_, ?_, ?_⟩ |
| 49 | · exact BasisSpectralOperator.Construction.basisSpectralEnd_positive b _ (fun i => Real.sqrt_pos.mpr (hw i)) |
| 50 | · apply ContinuousLinearMap.ext |
| 51 | intro x |
| 52 | exact DFunLike.congr_fun hS x |
| 53 | · exact BracketSpectralFunctions.Construction.positive_eigenbasis_sqrt_preserves (ContinuousBracketChange.Construction.finiteBilinearEquiv.symm B) b.toBasis |
| 54 | g.toLinearMap w hg hw hB |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.BracketSquareRoot.Construction |