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 Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 2 | |
| 3 | /-! # Extension Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.ExtensionComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Pure tensor formulas for canonical composition of scalar extensions |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.ModuleCat TensorProduct |
| 14 | open scoped TensorProduct ChangeOfRings |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R S T : Type u} [CommRing R] [CommRing S] [CommRing T] |
| 19 | (f : R →+* S) (g : S →+* T) (M : ModuleCat.{u} R) |
| 20 | |
| 21 | /-- The canonical composition comparison inserts a unit in the intermediate scalar ring. -/ |
| 22 | theorem composition_hom_tmul (t : T) (m : M) : |
| 23 | (extendScalarsComp f g).hom.app M (t ⊗ₜ[R,g.comp f] m) = |
| 24 | t ⊗ₜ[S,g] (show (extendScalars f).obj M from (1 : S) ⊗ₜ[R,f] m) := by |
| 25 | have h := extendScalarsComp_hom_app_one_tmul f g M m |
| 26 | have hs := ((extendScalarsComp f g).hom.app M).hom.map_smul t |
| 27 | ((1 : T) ⊗ₜ[R,g.comp f] m) |
| 28 | erw [ExtendScalars.smul_tmul, mul_one] at hs |
| 29 | erw [hs, h, ExtendScalars.smul_tmul, mul_one] |
| 30 | rfl |
| 31 | |
| 32 | /-- Moving an intermediate scalar outwards in an iterated extension. -/ |
| 33 | theorem iterated_tmul (t : T) (s : S) (m : M) : |
| 34 | (t ⊗ₜ[S,g] (show (extendScalars f).obj M from s ⊗ₜ[R,f] m) : |
| 35 | (extendScalars g).obj ((extendScalars f).obj M)) = |
| 36 | (g s * t) ⊗ₜ[S,g] (show (extendScalars f).obj M from (1 : S) ⊗ₜ[R,f] m) := by |
| 37 | have hm := (ModuleCat.ExtendScalars.smul_tmul f s 1 m).symm |
| 38 | simp only [mul_one] at hm |
| 39 | erw [hm] |
| 40 | exact TensorProduct.tmul_smul (R := S) s |
| 41 | (show (restrictScalars g).obj (of T T) from t) |
| 42 | (show (extendScalars f).obj M from (1 : S) ⊗ₜ[R,f] m) |
| 43 | |
| 44 | /-- The inverse canonical comparison multiplies the two scalar coefficients. -/ |
| 45 | theorem composition_inv_tmul (t : T) (s : S) (m : M) : |
| 46 | (extendScalarsComp f g).inv.app M |
| 47 | (t ⊗ₜ[S,g] (show (extendScalars f).obj M from s ⊗ₜ[R,f] m)) = |
| 48 | (g s * t) ⊗ₜ[R,g.comp f] m := by |
| 49 | apply ((extendScalarsComp f g).app M).toLinearEquiv.injective |
| 50 | change ((extendScalarsComp f g).app M).hom |
| 51 | (((extendScalarsComp f g).app M).inv |
| 52 | (t ⊗ₜ[S,g] (show (extendScalars f).obj M from s ⊗ₜ[R,f] m))) = _ |
| 53 | erw [Iso.inv_hom_id_apply, composition_hom_tmul] |
| 54 | exact iterated_tmul f g M t s m |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.ExtensionComposition |