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.Holomorphic.StalkGerms |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.SectionManifold |
| 3 | import Mathlib.Geometry.Manifold.Sheaf.Smooth |
| 4 | |
| 5 | /-! # Standard Function Sheaf -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.StandardFunctionSheaf.AnalyticLocal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual coefficient-function sheaf agrees with the standard |
| 12 | complex smooth-function sheaf, preserving its stalk germs. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.SectionManifold |
| 18 | |
| 19 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 20 | |
| 21 | def holomorphicFunctionContMDiffEquiv (U : Opens E) : |
| 22 | FunctionPure.holomorphicFunctions U ≃ₐ[ℂ] C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯ where |
| 23 | toFun f := ⟨f.val, (SectionManifold.holomorphicSection_iff_contMDiff U f.val).mp f.property⟩ |
| 24 | invFun f := ⟨f.val, (SectionManifold.holomorphicSection_iff_contMDiff U f.val).mpr f.property⟩ |
| 25 | left_inv f := by apply Subtype.ext; rfl |
| 26 | right_inv f := by apply ContMDiffMap.ext; intro x; rfl |
| 27 | map_mul' _ _ := rfl |
| 28 | map_add' _ _ := rfl |
| 29 | commutes' _ := rfl |
| 30 | |
| 31 | def holomorphicStandardFunctionPresheafIso : |
| 32 | FunctionSheaf.holomorphicFunctionPresheaf E ≅ smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) E ℂ := |
| 33 | NatIso.ofComponents (fun U => (holomorphicFunctionContMDiffEquiv E U.unop).toRingEquiv.toCommRingCatIso) |
| 34 | (by |
| 35 | intro U V f |
| 36 | apply CommRingCat.hom_ext |
| 37 | apply RingHom.ext |
| 38 | intro a |
| 39 | apply ContMDiffMap.ext |
| 40 | intro x |
| 41 | rfl) |
| 42 | |
| 43 | def standardHolomorphicStalkEquiv [FiniteDimensional ℂ E] (x : E) : |
| 44 | (smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) E ℂ).stalk x ≃+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x := |
| 45 | let i : (smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) E ℂ).stalk x ≅ |
| 46 | (FunctionSheaf.holomorphicFunctionPresheaf E).stalk x := |
| 47 | ((TopCat.Presheaf.stalkFunctor (X := TopCat.of E) CommRingCat x).mapIso |
| 48 | (holomorphicStandardFunctionPresheafIso E)).symm |
| 49 | let j : (smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) E ℂ).stalk x ≃+* |
| 50 | (FunctionSheaf.holomorphicFunctionPresheaf E).stalk x := |
| 51 | { i.hom.hom, ((forget CommRingCat).mapIso i).toEquiv with } |
| 52 | j.trans (StalkGerms.AnalyticLocal.holomorphicFunctionStalkEquiv E x) |
| 53 | |
| 54 | theorem standardHolomorphicStalkEquiv_germ [FiniteDimensional ℂ E] (x : E) (U : Opens E) |
| 55 | (hx : x ∈ U) (f : C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯) : |
| 56 | standardHolomorphicStalkEquiv E x ((smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) E ℂ).germ U x hx f) = |
| 57 | SectionGerms.AnalyticLocal.holomorphicSectionGerm U x hx ((holomorphicFunctionContMDiffEquiv E U).symm f) := by |
| 58 | have h := TopCat.Presheaf.stalkFunctor_map_germ_apply (X := TopCat.of E) |
| 59 | U x hx (holomorphicStandardFunctionPresheafIso E).inv f |
| 60 | exact (congrArg (StalkMap.AnalyticLocal.holomorphicStalkToGerm E x) h).trans |
| 61 | (StalkMap.AnalyticLocal.holomorphicStalkToGerm_germ_apply E x U hx ((holomorphicFunctionContMDiffEquiv E U).symm f)) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.StandardFunctionSheaf.AnalyticLocal |