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.HilbertConstruction.NaturalTensorMapDescent |
| 2 | |
| 3 | /-! # Tensor Square Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.TensorSquareDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coefficient-compatible chart maps retain a commuting square when its receiving algebra is flat. -/ |
| 10 | |
| 11 | open TensorProduct |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem flat_tensor_square_descent |
| 16 | {C R A₁ A₂ B₁ B₂ : Type u} |
| 17 | [CommRing C] [CommRing R] [CommRing A₁] [CommRing A₂] [CommRing B₁] [CommRing B₂] |
| 18 | [Algebra C R] [Algebra C A₁] [Algebra C A₂] [Algebra C B₁] [Algebra C B₂] |
| 19 | [Module.Flat C B₂] (D : Subalgebra C R) |
| 20 | (a : A₁ →ₐ[C] A₂) (b : B₁ →ₐ[C] B₂) |
| 21 | (f₁ : R ⊗[C] A₁ →ₐ[R] R ⊗[C] B₁) (f₂ : R ⊗[C] A₂ →ₐ[R] R ⊗[C] B₂) |
| 22 | (g₁ : D ⊗[C] A₁ →ₐ[D] D ⊗[C] B₁) (g₂ : D ⊗[C] A₂ →ₐ[D] D ⊗[C] B₂) |
| 23 | (h₁ : ∀ x, Coefficient.TensorMaps.coefficientTensorMap D (g₁ x) = f₁ (Coefficient.TensorMaps.coefficientTensorMap D x)) |
| 24 | (h₂ : ∀ x, Coefficient.TensorMaps.coefficientTensorMap D (g₂ x) = f₂ (Coefficient.TensorMaps.coefficientTensorMap D x)) |
| 25 | (hR : f₂.comp (Algebra.TensorProduct.map (AlgHom.id R R) a) = |
| 26 | (Algebra.TensorProduct.map (AlgHom.id R R) b).comp f₁) : |
| 27 | g₂.comp (Algebra.TensorProduct.map (AlgHom.id D D) a) = |
| 28 | (Algebra.TensorProduct.map (AlgHom.id D D) b).comp g₁ := by |
| 29 | apply AlgHom.ext |
| 30 | intro x |
| 31 | apply Coefficient.TensorMaps.coefficientTensorMap_injective D |
| 32 | change Coefficient.TensorMaps.coefficientTensorMap D (g₂ (Algebra.TensorProduct.map (AlgHom.id D D) a x)) = |
| 33 | Coefficient.TensorMaps.coefficientTensorMap D (Algebra.TensorProduct.map (AlgHom.id D D) b (g₁ x)) |
| 34 | calc |
| 35 | _ = f₂ (Coefficient.TensorMaps.coefficientTensorMap D (Algebra.TensorProduct.map (AlgHom.id D D) a x)) := h₂ _ |
| 36 | _ = f₂ (Algebra.TensorProduct.map (AlgHom.id R R) a (Coefficient.TensorMaps.coefficientTensorMap D x)) := |
| 37 | congrArg f₂ (NaturalTensorMapDescent.coefficientTensorMap_natural D a x) |
| 38 | _ = Algebra.TensorProduct.map (AlgHom.id R R) b (f₁ (Coefficient.TensorMaps.coefficientTensorMap D x)) := |
| 39 | DFunLike.congr_fun hR (Coefficient.TensorMaps.coefficientTensorMap D x) |
| 40 | _ = Algebra.TensorProduct.map (AlgHom.id R R) b (Coefficient.TensorMaps.coefficientTensorMap D (g₁ x)) := |
| 41 | congrArg (Algebra.TensorProduct.map (AlgHom.id R R) b) (h₁ x).symm |
| 42 | _ = _ := (NaturalTensorMapDescent.coefficientTensorMap_natural D b (g₁ x)).symm |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.TensorSquareDescent |