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.ArithmeticGeometry.OrdinaryLocus.Openness.CechBaseChangeCoordinates |
| 2 | |
| 3 | /-! # Tensor Cech Differentials -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TensorCechDifferentials.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Tensoring the actual Cech differentials commutes with finite-product coordinates. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R K : Type u} [CommRing R] [CommRing K] [Algebra R K] |
| 17 | {X : TopCat.{u}} (F : TopCat.Sheaf (ModuleCat.{u} R) X) |
| 18 | {ι : Type u} [Fintype ι] [DecidableEq ι] (U : ι → Opens X) |
| 19 | |
| 20 | def tensorCechD0 : CechBaseChangeCoordinates.Construction.tensorCechC0 (K := K) F U →ₗ[K] CechBaseChangeCoordinates.Construction.tensorCechC1 (K := K) F U where |
| 21 | toFun z i j := (F.obj.map (homOfLE inf_le_right : U i ⊓ U j ⟶ U j).op).hom.baseChange K (z j) - |
| 22 | (F.obj.map (homOfLE inf_le_left : U i ⊓ U j ⟶ U i).op).hom.baseChange K (z i) |
| 23 | map_add' x y := by funext i j; simp only [Pi.add_apply, map_add, sub_add_sub_comm] |
| 24 | map_smul' r x := by funext i j; simp only [Pi.smul_apply, map_smul, smul_sub, RingHom.id_apply] |
| 25 | |
| 26 | def tensorCechRestrict1 (z : CechBaseChangeCoordinates.Construction.tensorCechC1 (K := K) F U) (i j : ι) (W : Opens X) |
| 27 | (hi : W ≤ U i) (hj : W ≤ U j) : K ⊗[R] F.obj.obj (op W) := |
| 28 | (F.obj.map (homOfLE (le_inf hi hj)).op).hom.baseChange K (z i j) |
| 29 | |
| 30 | def tensorCechD1 : CechBaseChangeCoordinates.Construction.tensorCechC1 (K := K) F U →ₗ[K] CechBaseChangeCoordinates.Construction.tensorCechC2 (K := K) F U where |
| 31 | toFun z i j k := |
| 32 | tensorCechRestrict1 F U z i j ((U i ⊓ U j) ⊓ U k) |
| 33 | (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) + |
| 34 | tensorCechRestrict1 F U z j k ((U i ⊓ U j) ⊓ U k) |
| 35 | (inf_le_left.trans inf_le_right) inf_le_right - |
| 36 | tensorCechRestrict1 F U z i k ((U i ⊓ U j) ⊓ U k) |
| 37 | (inf_le_left.trans inf_le_left) inf_le_right |
| 38 | map_add' x y := by |
| 39 | funext i j k |
| 40 | simp only [tensorCechRestrict1, Pi.add_apply, map_add] |
| 41 | abel |
| 42 | map_smul' r x := by |
| 43 | funext i j k |
| 44 | simp only [tensorCechRestrict1, Pi.smul_apply, map_smul, smul_add, smul_sub, RingHom.id_apply] |
| 45 | |
| 46 | theorem cechBaseChangeCoordinates_d0 : |
| 47 | (CechBaseChangeCoordinates.Construction.cechBaseChangeCoordinates1 (K := K) F U).toLinearMap.comp ((OpenCechDegreeZero.Construction.openModuleCechD0 F U).baseChange K) = |
| 48 | (tensorCechD0 F U).comp (CechBaseChangeCoordinates.Construction.cechBaseChangeCoordinates0 F U).toLinearMap := by |
| 49 | apply TensorProduct.AlgebraTensorModule.ext |
| 50 | intro a z |
| 51 | funext i j |
| 52 | change a ⊗ₜ[R] (OpenCechDegreeZero.Construction.openModuleCechD0 F U z i j) = |
| 53 | a ⊗ₜ[R] F.obj.map (homOfLE inf_le_right : U i ⊓ U j ⟶ U j).op (z j) - |
| 54 | a ⊗ₜ[R] F.obj.map (homOfLE inf_le_left : U i ⊓ U j ⟶ U i).op (z i) |
| 55 | exact TensorProduct.tmul_sub _ _ _ |
| 56 | |
| 57 | theorem cechBaseChangeCoordinates_d1 : |
| 58 | (CechBaseChangeCoordinates.Construction.cechBaseChangeCoordinates2 (K := K) F U).toLinearMap.comp ((OpenCechShortComplex.Construction.openModuleCechD1 F U).baseChange K) = |
| 59 | (tensorCechD1 F U).comp (CechBaseChangeCoordinates.Construction.cechBaseChangeCoordinates1 F U).toLinearMap := by |
| 60 | apply TensorProduct.AlgebraTensorModule.ext |
| 61 | intro a z |
| 62 | funext i j k |
| 63 | change a ⊗ₜ[R] |
| 64 | (OpenCechCocycles.Construction.openCechRestrict1 F U z i j _ (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) + |
| 65 | OpenCechCocycles.Construction.openCechRestrict1 F U z j k _ (inf_le_left.trans inf_le_right) inf_le_right - |
| 66 | OpenCechCocycles.Construction.openCechRestrict1 F U z i k _ (inf_le_left.trans inf_le_left) inf_le_right) = |
| 67 | a ⊗ₜ[R] OpenCechCocycles.Construction.openCechRestrict1 F U z i j _ (inf_le_left.trans inf_le_left) (inf_le_left.trans inf_le_right) + |
| 68 | a ⊗ₜ[R] OpenCechCocycles.Construction.openCechRestrict1 F U z j k _ (inf_le_left.trans inf_le_right) inf_le_right - |
| 69 | a ⊗ₜ[R] OpenCechCocycles.Construction.openCechRestrict1 F U z i k _ (inf_le_left.trans inf_le_left) inf_le_right |
| 70 | rw [TensorProduct.tmul_sub, TensorProduct.tmul_add] |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TensorCechDifferentials.Construction |