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.AbelianModuli.ReferenceFamily.EmbeddingMatrixTransport |
| 2 | import Mathlib.LinearAlgebra.Matrix.ToLinearEquiv |
| 3 | |
| 4 | /-! # Embedded Linear Group -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EmbeddedLinearGroup |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! An E-linear automorphism induces an actual complex-linear |
| 13 | automorphism in every embedding block. -/ |
| 14 | |
| 15 | variable {E : Type} [Field E] [Algebra ℚ E] |
| 16 | |
| 17 | def embeddedLinearIso (u : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E)) (τ : E →ₐ[ℚ] ℂ) : |
| 18 | (Fin 3 → ℂ) ≃ₗ[ℂ] (Fin 3 → ℂ) := by |
| 19 | have hu : IsUnit (LinearMap.toMatrix' u.toLinearMap).det := by |
| 20 | simpa only [LinearMap.toMatrix_eq_toMatrix'] using |
| 21 | u.isUnit_det (Pi.basisFun E (Fin 3)) (Pi.basisFun E (Fin 3)) |
| 22 | have hτ : IsUnit (((LinearMap.toMatrix' u.toLinearMap).map τ).det) := |
| 23 | (τ.map_det (LinearMap.toMatrix' u.toLinearMap)) ▸ hu.map τ.toRingHom |
| 24 | exact ((LinearMap.toMatrix' u.toLinearMap).map τ).toLinearEquiv (Pi.basisFun ℂ (Fin 3)) hτ |
| 25 | |
| 26 | theorem embeddedLinearIso_apply (u : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E)) (τ : E →ₐ[ℚ] ℂ) |
| 27 | (x : Fin 3 → ℂ) : |
| 28 | embeddedLinearIso u τ x = ((LinearMap.toMatrix' u.toLinearMap).map τ).mulVec x := rfl |
| 29 | |
| 30 | end |
| 31 | |
| 32 | /-! Embedding the actual E-linear automorphisms respects their identity |
| 33 | and multiplication as complex-linear automorphisms. -/ |
| 34 | |
| 35 | variable {E : Type} [Field E] [Algebra ℚ E] (σ : E →ₐ[ℚ] ℂ) |
| 36 | |
| 37 | theorem embeddedLinearIso_one : embeddedLinearIso (1 : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E)) σ = 1 := by |
| 38 | apply LinearEquiv.ext |
| 39 | intro x |
| 40 | change ((LinearMap.toMatrix' (LinearMap.id : (Fin 3 → E) →ₗ[E] (Fin 3 → E))).map σ).mulVec x = x |
| 41 | simp |
| 42 | |
| 43 | theorem embeddedLinearIso_mul (f g : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E)) : |
| 44 | embeddedLinearIso (f * g) σ = embeddedLinearIso f σ * embeddedLinearIso g σ := by |
| 45 | apply LinearEquiv.ext |
| 46 | intro x |
| 47 | change ((LinearMap.toMatrix' (f.toLinearMap.comp g.toLinearMap)).map σ).mulVec x = |
| 48 | ((LinearMap.toMatrix' f.toLinearMap).map σ).mulVec (((LinearMap.toMatrix' g.toLinearMap).map σ).mulVec x) |
| 49 | rw [LinearMap.toMatrix'_comp, Matrix.map_mul, Matrix.mulVec_mulVec] |
| 50 | |
| 51 | def embeddedLinearGroup : ((Fin 3 → E) ≃ₗ[E] (Fin 3 → E)) →* ((Fin 3 → ℂ) ≃ₗ[ℂ] (Fin 3 → ℂ)) where |
| 52 | toFun f := embeddedLinearIso f σ |
| 53 | map_one' := embeddedLinearIso_one σ |
| 54 | map_mul' := embeddedLinearIso_mul σ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EmbeddedLinearGroup |