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.DivisorClass.Chern.HolomorphicSection.Data |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 3 | |
| 4 | /-! # Function Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FunctionGluing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The original holomorphic function sheaf glues literal compatible section values. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 22 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 23 | |
| 24 | theorem exists_holomorphicFunction_glue {ι : Type} (U : ι → Opens M) |
| 25 | (f : ∀ i, Exponential.HolomorphicFunction (E := E) (M := U i)) |
| 26 | (hc : ∀ i j (x : M) (hi : x ∈ U i) (hj : x ∈ U j), f i ⟨x, hi⟩ = f j ⟨x, hj⟩) : |
| 27 | ∃ g : Exponential.HolomorphicFunction (E := E) (M := ↥(⨆ i, U i)), |
| 28 | ∀ i (x : U i), g ⟨x.val, (le_iSup U i) x.property⟩ = f i x := by |
| 29 | let P : TopCat.Presheaf AddCommGrpCat.{0} (TopCat.of M) := (Holomorphic.Sheaves.holomorphicFunctionSheaf E M).obj |
| 30 | have hcompat : P.IsCompatible U f := by |
| 31 | intro i j |
| 32 | apply ContMDiffMap.ext |
| 33 | intro x |
| 34 | exact hc i j x.val x.property.1 x.property.2 |
| 35 | have hP : P.IsSheaf := (Holomorphic.Sheaves.holomorphicFunctionSheaf E M).property |
| 36 | obtain ⟨g, hg, _⟩ := ((TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing P).mp hP) U f hcompat |
| 37 | refine ⟨g, ?_⟩ |
| 38 | intro i x |
| 39 | exact congrArg (fun h : Exponential.HolomorphicFunction (E := E) (M := U i) => h x) (hg i) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | /-! The actual compatible coordinates of holomorphic bundle sections satisfy sheaf gluing. -/ |
| 44 | |
| 45 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 46 | |
| 47 | set_option backward.isDefEq.respectTransparency false |
| 48 | set_option backward.isDefEq.respectTransparency.types false |
| 49 | set_option backward.defeqAttrib.useBackward true |
| 50 | |
| 51 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 52 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 53 | (u : Connecting.holomorphicUnitCohomology E M) |
| 54 | |
| 55 | theorem exists_holomorphicLineSection_glue {ι : Type} (U : ι → Opens M) |
| 56 | (s : ∀ a, HolomorphicSection.Data.HolomorphicLineSection u (U a)) |
| 57 | (hc : ∀ a b, HolomorphicSection.Data.holomorphicLineSectionRestrict inf_le_left (s a) = |
| 58 | HolomorphicSection.Data.holomorphicLineSectionRestrict inf_le_right (s b)) : |
| 59 | ∃ g : HolomorphicSection.Data.HolomorphicLineSection u (⨆ a, U a), |
| 60 | ∀ a, HolomorphicSection.Data.holomorphicLineSectionRestrict (le_iSup U a) g = s a := by |
| 61 | have hlocal (i : M) := exists_holomorphicFunction_glue |
| 62 | (fun a => U a ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i) (fun a => (s a).val i) (by |
| 63 | intro a b x ha hb |
| 64 | exact congrArg (fun z : HolomorphicSection.Data.HolomorphicLineSection u (U a ⊓ U b) => |
| 65 | z.val i ⟨x, ⟨ha.1, hb.1⟩, ha.2⟩) (hc a b)) |
| 66 | choose f hf using hlocal |
| 67 | have hsub (i : M) : (⨆ a, U a) ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i ≤ |
| 68 | ⨆ a, U a ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i := by rw [iSup_inf_eq] |
| 69 | let g : HolomorphicSection.Data.holomorphicLineLocalSections u (⨆ a, U a) := fun i => HolomorphicSection.Data.holomorphicOpenRestriction (hsub i) (f i) |
| 70 | have hg (i : M) (a : ι) (x : ↥(U a ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i)) : |
| 71 | g i ⟨x.val, (le_iSup U a) x.property.1, x.property.2⟩ = (s a).val i x := hf i a x |
| 72 | have hgc : g ∈ HolomorphicSection.Data.holomorphicLineSectionSubmodule u (⨆ a, U a) := by |
| 73 | intro i j x hx hi hj |
| 74 | obtain ⟨a, ha⟩ := Opens.mem_iSup.mp hx |
| 75 | rw [hg j a ⟨x, ha, hj⟩, hg i a ⟨x, ha, hi⟩] |
| 76 | exact (s a).property i j x ha hi hj |
| 77 | refine ⟨⟨g, hgc⟩, ?_⟩ |
| 78 | intro a |
| 79 | apply HolomorphicSection.Data.holomorphicLineSection_ext |
| 80 | intro i x |
| 81 | exact hg i a x |
| 82 | |
| 83 | theorem holomorphicLineSection_eq_of_restrictions {ι : Type} (U : ι → Opens M) |
| 84 | (s t : HolomorphicSection.Data.HolomorphicLineSection u (⨆ a, U a)) |
| 85 | (h : ∀ a, HolomorphicSection.Data.holomorphicLineSectionRestrict (le_iSup U a) s = HolomorphicSection.Data.holomorphicLineSectionRestrict (le_iSup U a) t) : s = t := by |
| 86 | apply HolomorphicSection.Data.holomorphicLineSection_ext |
| 87 | intro i x |
| 88 | obtain ⟨a, ha⟩ := Opens.mem_iSup.mp x.property.1 |
| 89 | exact congrArg (fun z : HolomorphicSection.Data.HolomorphicLineSection u (U a) => z.val i ⟨x.val, ha, x.property.2⟩) (h a) |
| 90 | |
| 91 | def holomorphicLineSectionPresheaf : TopCat.Presheaf (ModuleCat.{0} ℂ) (TopCat.of M) where |
| 92 | obj U := ModuleCat.of ℂ (HolomorphicSection.Data.HolomorphicLineSection u U.unop) |
| 93 | map i := ModuleCat.ofHom (HolomorphicSection.Data.holomorphicLineSectionRestrict (leOfHom i.unop)) |
| 94 | map_id U := by |
| 95 | apply ModuleCat.hom_ext |
| 96 | apply LinearMap.ext |
| 97 | intro s |
| 98 | exact HolomorphicSection.Data.holomorphicLineSectionRestrict_self s |
| 99 | map_comp i j := by |
| 100 | apply ModuleCat.hom_ext |
| 101 | apply LinearMap.ext |
| 102 | intro s |
| 103 | exact (HolomorphicSection.Data.holomorphicLineSectionRestrict_comp (leOfHom i.unop) (leOfHom j.unop) s).symm |
| 104 | |
| 105 | theorem holomorphicLineSectionPresheaf_isSheaf : (holomorphicLineSectionPresheaf u).IsSheaf := by |
| 106 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing (holomorphicLineSectionPresheaf u)).mpr |
| 107 | intro ι U s hc |
| 108 | obtain ⟨g, hg⟩ := exists_holomorphicLineSection_glue u U s hc |
| 109 | refine ⟨g, hg, ?_⟩ |
| 110 | intro t ht |
| 111 | exact holomorphicLineSection_eq_of_restrictions u U t g (fun a => (ht a).trans (hg a).symm) |
| 112 | |
| 113 | def holomorphicLineSectionSheaf : TopCat.Sheaf (ModuleCat.{0} ℂ) (TopCat.of M) where |
| 114 | obj := holomorphicLineSectionPresheaf u |
| 115 | property := holomorphicLineSectionPresheaf_isSheaf u |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.FunctionGluing |