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 | /-! # Base Change Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.BaseChangeComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The coefficient inclusion agrees with the canonical iterated-base-change isomorphism. -/ |
| 10 | |
| 11 | open TensorProduct |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {C R A B : Type u} [CommRing C] [CommRing R] [CommRing A] [CommRing B] |
| 16 | variable [Algebra C R] [Algebra C A] [Algebra C B] |
| 17 | |
| 18 | def coefficientBaseChangeIso (D : Subalgebra C R) : |
| 19 | R ⊗[D] (D ⊗[C] A) ≃ₐ[R] R ⊗[C] A := |
| 20 | Algebra.TensorProduct.cancelBaseChange C D R R A |
| 21 | |
| 22 | theorem coefficientBaseChangeIso_one_tmul (D : Subalgebra C R) (x : D ⊗[C] A) : |
| 23 | coefficientBaseChangeIso D ((1 : R) ⊗ₜ[D] x) = TensorMaps.coefficientTensorMap D x := by |
| 24 | induction x using TensorProduct.inductionOn with |
| 25 | | tmul d a => |
| 26 | simp only [coefficientBaseChangeIso, Algebra.TensorProduct.cancelBaseChange_tmul] |
| 27 | change ((d : R) * 1) ⊗ₜ[C] a = (d : R) ⊗ₜ[C] a |
| 28 | rw [mul_one] |
| 29 | | add x y hx hy => simp only [tmul_add, map_add, hx, hy] |
| 30 | |
| 31 | theorem coefficientBaseChangeIso_natural (D : Subalgebra C R) (φ : A →ₐ[C] B) : |
| 32 | (coefficientBaseChangeIso (A := B) D).toAlgHom.comp |
| 33 | (Algebra.TensorProduct.map (AlgHom.id R R) |
| 34 | (Algebra.TensorProduct.map (AlgHom.id D D) φ)) = |
| 35 | (Algebra.TensorProduct.map (AlgHom.id R R) φ).comp |
| 36 | (coefficientBaseChangeIso (A := A) D).toAlgHom := by |
| 37 | apply AlgHom.ext |
| 38 | intro z |
| 39 | induction z using TensorProduct.inductionOn with |
| 40 | | tmul r x => |
| 41 | induction x using TensorProduct.inductionOn with |
| 42 | | tmul d a => |
| 43 | simp only [AlgHom.comp_apply, Algebra.TensorProduct.map_tmul, AlgHom.id_apply, |
| 44 | coefficientBaseChangeIso, AlgEquiv.coe_toAlgHom, Algebra.TensorProduct.cancelBaseChange_tmul] |
| 45 | | add x y hx hy => simp only [tmul_add, map_add, hx, hy] |
| 46 | | add x y hx hy => simp only [map_add, hx, hy] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.BaseChangeComparison |