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.AlgebraicGeometry.FormalGeometry.Completion.RationalHermitian |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Spectral |
| 3 | |
| 4 | /-! # Rational Similitude Spectrum -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.RationalSimilitudeSpectrum.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Positive rational quadratic similitudes have complex eigenvalues of |
| 11 | absolute value equal to the square root of their multiplier. -/ |
| 12 | |
| 13 | open scoped TensorProduct InnerProductSpace |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {ι : Type u} [Fintype ι] {V : Type v} [AddCommGroup V] [Module ℚ V] |
| 18 | [FiniteDimensional ℚ V] |
| 19 | |
| 20 | theorem rationalBilinearSimilitude_eigenvalue_norm |
| 21 | (b : Module.Basis ι ℚ V) (B : LinearMap.BilinForm ℚ V) |
| 22 | (horth : B.IsOrthoᵢ b) (hw : ∀ i, 0 < B (b i) (b i)) |
| 23 | (T : Module.End ℚ V) (c : ℚ) (hT : ∀ x y, B (T x) (T y) = c * B x y) |
| 24 | (z : ℂ) (hz : Module.End.HasEigenvalue (T.baseChange ℂ) z) : ‖z‖ = Real.sqrt (c : ℝ) := by |
| 25 | let core := RationalHermitian.Construction.rationalOrthogonalHermitianCore b B hw |
| 26 | let : NormedAddCommGroup (TensorProduct ℚ ℂ V) := core.toNormedAddCommGroup |
| 27 | let : InnerProductSpace ℂ (TensorProduct ℚ ℂ V) := InnerProductSpace.ofCore core.toCore |
| 28 | have hinner (x y : TensorProduct ℚ ℂ V) : |
| 29 | inner ℂ (T.baseChange ℂ x) (T.baseChange ℂ y) = (c : ℂ) * inner ℂ x y := by |
| 30 | induction x using TensorProduct.inductionOn with |
| 31 | | tmul r x => |
| 32 | induction y using TensorProduct.inductionOn with |
| 33 | | tmul s y => |
| 34 | change WeightedHermitian.Construction.weightedHermitian (b.baseChange ℂ) (fun i => (B (b i) (b i) : ℝ)) |
| 35 | (r ⊗ₜ[ℚ] T x) (s ⊗ₜ[ℚ] T y) = (c : ℂ) * |
| 36 | WeightedHermitian.Construction.weightedHermitian (b.baseChange ℂ) (fun i => (B (b i) (b i) : ℝ)) (r ⊗ₜ[ℚ] x) (s ⊗ₜ[ℚ] y) |
| 37 | rw [RationalHermitian.Construction.rationalOrthogonalHermitian_tmul b B horth, RationalHermitian.Construction.rationalOrthogonalHermitian_tmul b B horth, hT] |
| 38 | push_cast |
| 39 | ring |
| 40 | | add y y' hy hy' => simp only [map_add, inner_add_right, mul_add, hy, hy'] |
| 41 | | add x x' hx hx' => simp only [map_add, inner_add_left, mul_add, hx, hx'] |
| 42 | have hadj : (T.baseChange ℂ).adjoint.comp (T.baseChange ℂ) = |
| 43 | ((c : ℝ) : ℂ) • LinearMap.id := by |
| 44 | apply LinearMap.ext |
| 45 | intro y |
| 46 | apply ext_inner_left ℂ |
| 47 | intro x |
| 48 | change inner ℂ x ((T.baseChange ℂ).adjoint (T.baseChange ℂ y)) = |
| 49 | inner ℂ x (((c : ℝ) : ℂ) • y) |
| 50 | rw [LinearMap.adjoint_inner_right, hinner, inner_smul_right] |
| 51 | norm_cast |
| 52 | exact Spectral.Construction.eigenvalue_norm_of_adjoint_comp (T.baseChange ℂ) (c : ℝ) hadj z hz |
| 53 | |
| 54 | theorem rationalQuadraticSimilitude_eigenvalue_norm |
| 55 | (Q : QuadraticForm ℚ V) (hQ : Q.PosDef) |
| 56 | (T : Module.End ℚ V) (c : ℚ) (hT : ∀ x, Q (T x) = c * Q x) |
| 57 | (z : ℂ) (hz : Module.End.HasEigenvalue (T.baseChange ℂ) z) : ‖z‖ = Real.sqrt (c : ℝ) := by |
| 58 | let B := QuadraticMap.associatedHom ℚ Q |
| 59 | obtain ⟨b, hb⟩ := LinearMap.BilinForm.exists_orthogonal_basis (Q.associated_isSymm ℚ) |
| 60 | have hw (i) : 0 < B (b i) (b i) := by |
| 61 | rw [show B (b i) (b i) = Q (b i) from QuadraticMap.associated_eq_self_apply ℚ Q (b i)] |
| 62 | exact hQ _ (b.ne_zero i) |
| 63 | have he : Q.comp T = c • Q := QuadraticMap.ext hT |
| 64 | have hB (x y : V) : B (T x) (T y) = c * B x y := by |
| 65 | have h := congrArg (QuadraticMap.associatedHom ℚ) he |
| 66 | rw [QuadraticMap.associated_comp, map_smul] at h |
| 67 | exact congrArg (fun C : LinearMap.BilinForm ℚ V => C x y) h |
| 68 | exact rationalBilinearSimilitude_eigenvalue_norm b B hb hw T c hB z hz |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.RationalSimilitudeSpectrum.Construction |