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.CycleClass.Thom.Scheme.ClosedSupportSections |
| 2 | |
| 3 | /-! # Open Support Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportDetection.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! In the first possible supported degree, equality on arbitrary |
| 10 | analytic neighborhoods of the support detects equality on any fixed |
| 11 | ambient analytic open. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedSupportSections.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 21 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 22 | (F : Closeds X.left) (c : ℕ) |
| 23 | (hc : ∀ Z : IrreducibleCloseds X.left, (Z : Set X.left) ⊆ F → |
| 24 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 25 | (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 26 | |
| 27 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 28 | local notation "O" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen X F.compl |
| 29 | local notation "I" => Subtype (fun x : U => OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (Subtype.val x) ∈ F) |
| 30 | |
| 31 | include hc in |
| 32 | theorem relativeClass_eq_of_support_neighborhoods |
| 33 | (P : I → Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (hP : ∀ x, P x ≤ U) |
| 34 | (hxP : ∀ x, x.val.val ∈ P x) |
| 35 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 36 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (O : Set T) U) (2 * c)) |
| 37 | (hab : ∀ x, (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheaf (ModuleCat.of ℚ ℚ) T (O : Set T) (2 * c)).map |
| 38 | (homOfLE (hP x)).op a = |
| 39 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheaf (ModuleCat.of ℚ ℚ) T (O : Set T) (2 * c)).map |
| 40 | (homOfLE (hP x)).op b) : a = b := by |
| 41 | let H := ((Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) T O).homology (2 * c)).obj |
| 42 | let : IsIso (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O U (2 * c)) := |
| 43 | ClosedSupportSections.Constructions.closedSupportSectionMap_isIso X F c hc U |
| 44 | apply (ModuleCat.mono_iff_injective |
| 45 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O U (2 * c))).mp inferInstance |
| 46 | apply Geometric.SupportedGerms.Cycles.supportedCohomologySection_ext_on_support (ModuleCat.of ℚ ℚ) T O U (2 * c) |
| 47 | intro x hxU hxO |
| 48 | let z : I := ⟨⟨x, hxU⟩, not_not.mp hxO⟩ |
| 49 | have image (v : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 50 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (O : Set T) U) (2 * c)) := |
| 51 | ConcreteCategory.congr_hom (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap_naturality |
| 52 | (ModuleCat.of ℚ ℚ) T O (homOfLE (hP z)) (2 * c)) v |
| 53 | have he : H.map (homOfLE (hP z)).op (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O U (2 * c) a) = |
| 54 | H.map (homOfLE (hP z)).op (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O U (2 * c) b) := |
| 55 | (image a).symm.trans ((congrArg (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O (P z) (2 * c)) (hab z)).trans (image b)) |
| 56 | have hg := congrArg (TopCat.Presheaf.germ H (P z) x (hxP z)) he |
| 57 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] at hg |
| 58 | exact hg |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportDetection.Constructions |