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.Supported.DerivedComparison |
| 2 | |
| 3 | /-! # Sections Left Exact -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SectionsLeftExact |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual supported-section functor preserves kernels and finite limits. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | |
| 17 | variable {X : TopCat.{0}} (O U : Opens X) |
| 18 | |
| 19 | def supportedSectionsInclusion (F : TopCat.Sheaf (ModuleCat.{0} ℚ) X) : |
| 20 | (DerivedComparison.supportedSectionsFunctor O U).obj F ⟶ (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).obj F := |
| 21 | (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O F).hom.app (op U) |
| 22 | |
| 23 | theorem supportedSectionsInclusion_naturality |
| 24 | {F G : TopCat.Sheaf (ModuleCat.{0} ℚ) X} (f : F ⟶ G) : |
| 25 | (DerivedComparison.supportedSectionsFunctor O U).map f ≫ supportedSectionsInclusion O U G = |
| 26 | supportedSectionsInclusion O U F ≫ (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map f := |
| 27 | congrArg (fun g => g.hom.app (op U)) (ClosedSupportFunctor.closedSupportSheafMap_inclusion O f) |
| 28 | |
| 29 | instance supportedSectionsInclusion_mono (F : TopCat.Sheaf (ModuleCat.{0} ℚ) X) : |
| 30 | Mono (supportedSectionsInclusion O U F) := |
| 31 | inferInstanceAs (Mono ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion O F))) |
| 32 | |
| 33 | theorem supportedSectionsInclusion_vanishes (F : TopCat.Sheaf (ModuleCat.{0} ℚ) X) |
| 34 | (s : (DerivedComparison.supportedSectionsFunctor O U).obj F) : |
| 35 | F.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op (supportedSectionsInclusion O U F s) = 0 := |
| 36 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion_vanishes O U F s |
| 37 | |
| 38 | theorem exists_supportedSection (F : TopCat.Sheaf (ModuleCat.{0} ℚ) X) |
| 39 | (s : (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).obj F) |
| 40 | (hs : F.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op s = 0) : |
| 41 | ∃ t : (DerivedComparison.supportedSectionsFunctor O U).obj F, supportedSectionsInclusion O U F t = s := by |
| 42 | have h : s ∈ LinearMap.ker (F.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op).hom := hs |
| 43 | rw [← CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion_range O U F] at h |
| 44 | exact h |
| 45 | |
| 46 | theorem supportedSectionsMap_mono {F G : TopCat.Sheaf (ModuleCat.{0} ℚ) X} |
| 47 | (f : F ⟶ G) [Mono f] : Mono ((DerivedComparison.supportedSectionsFunctor O U).map f) := by |
| 48 | have : Mono ((DerivedComparison.supportedSectionsFunctor O U).map f ≫ supportedSectionsInclusion O U G) := by |
| 49 | rw [supportedSectionsInclusion_naturality] |
| 50 | infer_instance |
| 51 | exact mono_of_mono ((DerivedComparison.supportedSectionsFunctor O U).map f) (supportedSectionsInclusion O U G) |
| 52 | |
| 53 | theorem supportedSections_shortExact_left |
| 54 | (S : ShortComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X)) (hS : S.ShortExact) : |
| 55 | (S.map (DerivedComparison.supportedSectionsFunctor O U)).Exact ∧ Mono ((DerivedComparison.supportedSectionsFunctor O U).map S.f) := by |
| 56 | have := hS.mono_f |
| 57 | refine ⟨?_, supportedSectionsMap_mono O U S.f⟩ |
| 58 | apply (ShortComplex.moduleCat_exact_iff _).mpr |
| 59 | intro b hb |
| 60 | change (DerivedComparison.supportedSectionsFunctor O U).map S.g b = 0 at hb |
| 61 | have hg : (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.g (supportedSectionsInclusion O U S.X₂ b) = 0 := by |
| 62 | have h := ConcreteCategory.congr_hom (supportedSectionsInclusion_naturality O U S.g) b |
| 63 | change supportedSectionsInclusion O U S.X₃ ((DerivedComparison.supportedSectionsFunctor O U).map S.g b) = _ at h |
| 64 | rw [hb, map_zero] at h |
| 65 | exact h.symm |
| 66 | have hp := ((Functor.preservesFiniteLimits_iff_forall_exact_map_and_mono |
| 67 | (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U)).mp inferInstance S hS).1 |
| 68 | obtain ⟨a, ha⟩ := (ShortComplex.moduleCat_exact_iff _).mp hp _ hg |
| 69 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.f a = supportedSectionsInclusion O U S.X₂ b at ha |
| 70 | have hz : S.X₁.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op a = 0 := by |
| 71 | apply (ModuleCat.mono_iff_injective |
| 72 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) (U ⊓ O)).map S.f)).mp inferInstance |
| 73 | rw [map_zero] |
| 74 | have hn := ConcreteCategory.congr_hom |
| 75 | (S.f.hom.naturality (homOfLE (inf_le_left : U ⊓ O ≤ U)).op) a |
| 76 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (U ⊓ O)).map S.f |
| 77 | (S.X₁.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op a) = |
| 78 | S.X₂.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.f a) at hn |
| 79 | rw [ha] at hn |
| 80 | exact hn.trans (supportedSectionsInclusion_vanishes O U S.X₂ b) |
| 81 | obtain ⟨s, hs⟩ := exists_supportedSection O U S.X₁ a hz |
| 82 | refine ⟨s, ?_⟩ |
| 83 | apply (ModuleCat.mono_iff_injective (supportedSectionsInclusion O U S.X₂)).mp inferInstance |
| 84 | have hn := ConcreteCategory.congr_hom (supportedSectionsInclusion_naturality O U S.f) s |
| 85 | change supportedSectionsInclusion O U S.X₂ ((DerivedComparison.supportedSectionsFunctor O U).map S.f s) = |
| 86 | (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.f (supportedSectionsInclusion O U S.X₁ s) at hn |
| 87 | rw [hs] at hn |
| 88 | exact hn.trans ha |
| 89 | |
| 90 | instance supportedSectionsFunctor_preservesFiniteLimits : PreservesFiniteLimits (DerivedComparison.supportedSectionsFunctor O U) := |
| 91 | (Functor.preservesFiniteLimits_iff_forall_exact_map_and_mono (DerivedComparison.supportedSectionsFunctor O U)).mpr |
| 92 | (supportedSections_shortExact_left O U) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SectionsLeftExact |