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.Comparison.Betti.InjectiveFlasque |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.DeRhamResolution |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Analytic.De |
| 4 | |
| 5 | /-! # Constant Sheaf Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ConstantSheafSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Constant-sheaf morphisms are actual global sections |
| 13 | |
| 14 | The equivalence is the constant-sheaf adjunction followed by evaluation at |
| 15 | one. Its linearity and naturality are proved for the actual section maps. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 19 | |
| 20 | variable {M : TopCat.{0}} |
| 21 | |
| 22 | abbrev ComplexSheaves (M : TopCat.{0}) := |
| 23 | Sheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ) |
| 24 | |
| 25 | abbrev standardConstantSheaf (M : TopCat.{0}) : ComplexSheaves M := |
| 26 | (constantSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).obj (ModuleCat.of ℂ ℂ) |
| 27 | |
| 28 | def constantHomSectionsEquiv (F : ComplexSheaves M) : |
| 29 | (standardConstantSheaf M ⟶ F) ≃ F.obj.obj (op ⊤) := |
| 30 | ((constantSheafAdj (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ) |
| 31 | isTerminalTop).homEquiv (ModuleCat.of ℂ ℂ) F).trans |
| 32 | ((ModuleCat.homLinearEquiv (R := ℂ) (S := ℂ)).toEquiv.trans |
| 33 | (LinearMap.ringLmapEquivSelf ℂ ℂ _).toEquiv) |
| 34 | |
| 35 | theorem constantHomSectionsEquiv_apply (F : ComplexSheaves M) |
| 36 | (f : standardConstantSheaf M ⟶ F) : |
| 37 | constantHomSectionsEquiv F f = |
| 38 | ((constantSheafAdj (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ) |
| 39 | isTerminalTop).homEquiv (ModuleCat.of ℂ ℂ) F f) 1 := rfl |
| 40 | |
| 41 | def constantHomSectionsLinearEquiv (F : ComplexSheaves M) : |
| 42 | (standardConstantSheaf M ⟶ F) ≃ₗ[ℂ] F.obj.obj (op ⊤) where |
| 43 | toEquiv := constantHomSectionsEquiv F |
| 44 | map_add' f g := by |
| 45 | change constantHomSectionsEquiv F (f + g) = |
| 46 | constantHomSectionsEquiv F f + constantHomSectionsEquiv F g |
| 47 | simp only [constantHomSectionsEquiv_apply, Adjunction.homEquiv_unit] |
| 48 | rfl |
| 49 | map_smul' c f := by |
| 50 | change constantHomSectionsEquiv F (c • f) = c • constantHomSectionsEquiv F f |
| 51 | simp only [constantHomSectionsEquiv_apply, Adjunction.homEquiv_unit] |
| 52 | rfl |
| 53 | |
| 54 | theorem constantHomSectionsLinearEquiv_naturality |
| 55 | {F G : ComplexSheaves M} |
| 56 | (f : standardConstantSheaf M ⟶ F) (g : F ⟶ G) : |
| 57 | constantHomSectionsLinearEquiv G (f ≫ g) = |
| 58 | g.hom.app (op ⊤) (constantHomSectionsLinearEquiv F f) := by |
| 59 | let adj := constantSheafAdj (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ) |
| 60 | isTerminalTop |
| 61 | change (adj.homEquiv _ G (f ≫ g)) 1 = _ |
| 62 | rw [adj.homEquiv_naturality_right] |
| 63 | rfl |
| 64 | |
| 65 | theorem constantHomSectionsLinearEquiv_symm_naturality |
| 66 | {F G : ComplexSheaves M} |
| 67 | (s : F.obj.obj (op ⊤)) (g : F ⟶ G) : |
| 68 | (constantHomSectionsLinearEquiv F).symm s ≫ g = |
| 69 | (constantHomSectionsLinearEquiv G).symm (g.hom.app (op ⊤) s) := by |
| 70 | apply (constantHomSectionsLinearEquiv G).injective |
| 71 | rw [constantHomSectionsLinearEquiv_naturality] |
| 72 | simp |
| 73 | |
| 74 | def constantHomSectionsComplexIso (K : CochainComplex (ComplexSheaves M) ℕ) : |
| 75 | ((((linearCoyoneda ℂ (ComplexSheaves M)).obj (op (standardConstantSheaf M))).mapHomologicalComplex |
| 76 | (ComplexShape.up ℕ)).obj K) ≅ |
| 77 | ((((sheafSections (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).obj (op ⊤)).mapHomologicalComplex |
| 78 | (ComplexShape.up ℕ)).obj K) := |
| 79 | HomologicalComplex.Hom.isoOfComponents |
| 80 | (fun n => (constantHomSectionsLinearEquiv (K.X n)).toModuleIso) |
| 81 | (fun i j _ => by |
| 82 | ext f |
| 83 | exact constantHomSectionsLinearEquiv_naturality f (K.d i j)) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Comparison.Betti.ConstantSheafSections |