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.Picard.PoincareBundle.Cech.TripleGluing |
| 2 | |
| 3 | /-! # Third Model -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ThirdModel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # The third-coordinate pullback in the triple tensor model |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.ModuleCat TensorProduct |
| 14 | open scoped TensorProduct ChangeOfRings |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.TripleGluing OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.TripleExtension OAI.AlgebraicGeometry.Picard.PoincareBundle.ModuleBaseChangeFunctor |
| 19 | |
| 20 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 21 | (M : ModuleCat.{u} S) |
| 22 | |
| 23 | local notation "U" => S ⊗[R] S |
| 24 | |
| 25 | /-- Move the third coordinate to the first tensor position in the coefficient ring. -/ |
| 26 | def thirdCoefficientTransport : TripleGluing.slotModule R S M (TripleGluing.slot3 R S) ≃+ |
| 27 | (extendScalars (algebraMap S (S ⊗[R] U))).obj M := |
| 28 | ExtensionTwist.extensionEquiv (TripleGluing.slot3 R S) (algebraMap S (S ⊗[R] U)) |
| 29 | (Algebra.TensorProduct.comm R U S).toRingEquiv (fun _ => rfl) M |
| 30 | |
| 31 | /-- The third-coordinate module with the two remaining coordinates in reverse order. -/ |
| 32 | def thirdFlatModel : TripleGluing.slotModule R S M (TripleGluing.slot3 R S) ≃+ TripleExtension.tripleModule R S M := by |
| 33 | let e := thirdCoefficientTransport R S M |
| 34 | let a := ModuleBaseChangeFunctor.targetModelEquiv R S U M |
| 35 | let d := (ModuleBaseChange.baseChangeEquivR R S U |
| 36 | ((restrictScalars (algebraMap R S)).obj M)).trans |
| 37 | ((TensorProduct.assoc R S S ((restrictScalars (algebraMap R S)).obj M)).trans |
| 38 | (TensorProduct.leftComm R S S ((restrictScalars (algebraMap R S)).obj M))) |
| 39 | exact { |
| 40 | toFun := fun z => d (a (e z)) |
| 41 | invFun := fun z => e.symm (a.symm (d.symm z)) |
| 42 | left_inv := fun z => |
| 43 | (congrArg (fun x => e.symm (a.symm x)) (d.symm_apply_apply (a (e z)))).trans |
| 44 | ((congrArg e.symm (a.symm_apply_apply (e z))).trans (e.symm_apply_apply z)) |
| 45 | right_inv := fun z => |
| 46 | (congrArg (fun x => d (a x)) (e.apply_symm_apply (a.symm (d.symm z)))).trans |
| 47 | ((congrArg d (a.apply_symm_apply (d.symm z))).trans (d.apply_symm_apply z)) |
| 48 | map_add' := fun x y => |
| 49 | (congrArg (fun z => d (a z)) (e.map_add x y)).trans |
| 50 | ((congrArg d (a.map_add (e x) (e y))).trans (d.map_add (a (e x)) (a (e y)))) } |
| 51 | |
| 52 | @[simp] |
| 53 | theorem thirdFlatModel_tmul (a b c : S) (m : M) : |
| 54 | thirdFlatModel R S M (((a ⊗ₜ[R] b) ⊗ₜ[R] c) ⊗ₜ[S,TripleGluing.slot3 R S] m) = |
| 55 | b ⊗ₜ[R] (a ⊗ₜ[R] (c • |
| 56 | (show (restrictScalars (algebraMap R S)).obj M from m))) := by |
| 57 | change TensorProduct.leftComm R S S ((restrictScalars (algebraMap R S)).obj M) |
| 58 | (TensorProduct.assoc R S S ((restrictScalars (algebraMap R S)).obj M) |
| 59 | (ModuleBaseChange.baseChangeEquivR R S U |
| 60 | ((restrictScalars (algebraMap R S)).obj M) |
| 61 | ((c ⊗ₜ[R] (a ⊗ₜ[R] b)) ⊗ₜ[S] m))) = _ |
| 62 | exact congrArg (fun z => |
| 63 | TensorProduct.leftComm R S S ((restrictScalars (algebraMap R S)).obj M) |
| 64 | (TensorProduct.assoc R S S ((restrictScalars (algebraMap R S)).obj M) z)) |
| 65 | (ModuleBaseChange.baseChangeEquivR_tmul R S U |
| 66 | ((restrictScalars (algebraMap R S)).obj M) c (a ⊗ₜ[R] b) |
| 67 | (show (restrictScalars (algebraMap R S)).obj M from m)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ThirdModel |