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.CodimensionTwoRemoval |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.LocalEquations |
| 3 | |
| 4 | /-! # Codimension One Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.CodimensionOneDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: codimension-one neighborhoods determine the global relative class |
| 12 | |
| 13 | Any algebraic neighborhood of each codimension-one scheme point suffices. |
| 14 | Their union with the reference open misses only a closed codimension-two |
| 15 | subset. Actual purity and the canonical sheaf comparisons prove detection; |
| 16 | no descent property of an unproved cohomology presheaf is assumed. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | |
| 25 | namespace AlgebraicLineBundle |
| 26 | |
| 27 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) [IsIntegral X.carrier] |
| 28 | |
| 29 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 30 | local notation "O" => OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen |
| 31 | |
| 32 | /-- Actual restrictions on a neighborhood of each codimension-one point |
| 33 | determine a genuine global relative class supported outside the reference open. -/ |
| 34 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.relativeClass_eq_of_codimensionOne_restrictions |
| 35 | (U : {z : X.carrier // Order.coheight z = 1} → X.carrier.Opens) |
| 36 | (hU : ∀ z, z.val ∈ U z) |
| 37 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) 2) |
| 38 | (hab : ∀ z, CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 39 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z)) 2 a = |
| 40 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 41 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z)) 2 b) : a = b := by |
| 42 | let R := L.rationalReferenceOpen ⊔ iSup U |
| 43 | let F := R.compl |
| 44 | let G : Opens T := Line.Bundles.AlgebraicLineBundle.analyticOpen X R |
| 45 | let S := (L.rationalSectionSupportComplex.homology 2).obj |
| 46 | let : Nonempty L.rationalReferenceOpen := ⟨⟨genericPoint X.carrier, L.mem_trivializingOpen _⟩⟩ |
| 47 | have hF : ∀ z ∈ F, 1 < Order.coheight z := |
| 48 | CodimensionTwoRemoval.Construction.complement_comparisonOpen_coheight X L.rationalReferenceOpen U hU |
| 49 | have hO : (O : Set T) ⊆ Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl := by |
| 50 | change (O : Set T) ⊆ Line.Bundles.AlgebraicLineBundle.analyticOpen X R.compl.compl |
| 51 | rw [Opens.compl_compl] |
| 52 | exact fun _ hx => Or.inl hx |
| 53 | have hi := CodimensionTwoRemoval.Construction.codimensionTwo_relativeRestriction_isIso X F hF (O : Set T) hO |
| 54 | have hiG : IsIso (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) G 2) := by |
| 55 | change IsIso (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 56 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X R.compl.compl) 2) at hi |
| 57 | rw [Opens.compl_compl] at hi |
| 58 | exact hi |
| 59 | apply (ModuleCat.mono_iff_injective |
| 60 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) G 2)).mp inferInstance |
| 61 | apply (ModuleCat.mono_iff_injective (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O G 2)).mp inferInstance |
| 62 | have image (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) 2) |
| 63 | (V : Opens T) : |
| 64 | S.map (homOfLE (le_top : V ≤ ⊤)).op |
| 65 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T O 2 c) = |
| 66 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O V 2 |
| 67 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) V 2 c) := |
| 68 | ConcreteCategory.congr_hom |
| 69 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap_restrict (ModuleCat.of ℚ ℚ) T O V 2) c |
| 70 | rw [← image a G, ← image b G] |
| 71 | apply CycleClass.Geometric.SupportedGerms.Cycles.supportedCohomologySection_ext_on_support (ModuleCat.of ℚ ℚ) T O G 2 |
| 72 | intro x hxG hxO |
| 73 | have hx : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ iSup U := by |
| 74 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ L.rationalReferenceOpen ⊔ iSup U at hxG |
| 75 | exact hxG.resolve_left hxO |
| 76 | obtain ⟨z, hz⟩ := Opens.mem_iSup.mp hx |
| 77 | have hz' : x ∈ Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z) := hz |
| 78 | have he : S.map (homOfLE (le_top : Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z) ≤ ⊤)).op |
| 79 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T O 2 a) = |
| 80 | S.map (homOfLE (le_top : Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z) ≤ ⊤)).op |
| 81 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T O 2 b) := by |
| 82 | rw [image a, image b, hab z] |
| 83 | have hg := congrArg (TopCat.Presheaf.germ S (Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z)) x hz') he |
| 84 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] at hg |
| 85 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] |
| 86 | exact hg |
| 87 | |
| 88 | /-- The actual Chern lift is characterized by the original section |
| 89 | equations on any chosen algebraic frame neighborhoods of codimension one. -/ |
| 90 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.rationalSectionChernRelativeClass_unique_codimensionOne |
| 91 | (U : {z : X.carrier // Order.coheight z = 1} → X.carrier.Opens) |
| 92 | (hU : ∀ z, z.val ∈ U z) |
| 93 | (i : {z : X.carrier // Order.coheight z = 1} → X.carrier) |
| 94 | (hUi : ∀ z, U z ≤ L.trivializingOpen (i z)) |
| 95 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) 2) |
| 96 | (ha : ∀ z, CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 97 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z)) 2 a = L.rationalSectionLocalSupportedClass (i z) (U z) (hUi z)) : |
| 98 | a = L.rationalSectionChernRelativeClass := by |
| 99 | apply L.relativeClass_eq_of_codimensionOne_restrictions U hU a L.rationalSectionChernRelativeClass |
| 100 | intro z |
| 101 | exact (ha z).trans (L.rationalSectionChernRelativeClass_algebraic (i z) (U z) (hUi z)).symm |
| 102 | |
| 103 | end AlgebraicLineBundle |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.DivisorClass.Chern.CodimensionOneDetection |