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.Quotients.FiniteDescent.TensorProducts |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | |
| 4 | /-! # Pure Tensor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.PureTensor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Nonvanishing of canonical tensors passes from an iterated residue |
| 11 | extension to the scalar extension used by the geometric fiber. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | open scoped TensorProduct ChangeOfRings |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.PureTensorSurvival |
| 21 | |
| 22 | variable {R S A : Type u} [CommRing R] [CommRing S] [CommRing A] |
| 23 | |
| 24 | theorem zero_comp (f : R →+* S) (g : S →+* A) (M : ModuleCat.{u} R) (m : M) |
| 25 | (h : ((1 : S) ⊗ₜ[R,f] m : (ModuleCat.extendScalars f).obj M) = 0) : |
| 26 | ((1 : A) ⊗ₜ[R,g.comp f] m : (ModuleCat.extendScalars (g.comp f)).obj M) = 0 := by |
| 27 | let : Algebra S A := g.toAlgebra |
| 28 | let e := (ModuleCat.extendScalarsComp f g).app M |
| 29 | apply e.toLinearEquiv.injective |
| 30 | rw [map_zero] |
| 31 | change (ModuleCat.extendScalarsComp f g).hom.app M ((1 : A) ⊗ₜ[R,g.comp f] m) = 0 |
| 32 | rw [ModuleCat.extendScalarsComp_hom_app_one_tmul, h] |
| 33 | exact TensorProduct.tmul_zero _ _ |
| 34 | |
| 35 | theorem nested_ne_zero [Algebra R S] [Algebra S A] [Algebra R A] [IsScalarTower R S A] |
| 36 | (M : Type u) [AddCommGroup M] [Module R M] (m : M) |
| 37 | (h : (1 : A) ⊗ₜ[S] ((1 : S) ⊗ₜ[R] m) ≠ 0) : (1 : A) ⊗ₜ[R] m ≠ 0 := by |
| 38 | intro hz |
| 39 | apply h |
| 40 | have he := congrArg (TensorProduct.AlgebraTensorModule.cancelBaseChange R S A A M).symm hz |
| 41 | simpa only [TensorProduct.AlgebraTensorModule.cancelBaseChange_symm_tmul, map_zero] using he |
| 42 | |
| 43 | end Construction.PureTensorSurvival |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.PureTensor |