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.CodimensionTwoPurity |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.RegularAmbientCohomology |
| 3 | |
| 4 | /-! # Codimension Two Removal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.CodimensionTwoRemoval |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: actual degree-two restriction across higher-codimension subsets |
| 12 | |
| 13 | The two obstruction groups vanish by the actual stratification purity |
| 14 | theorem. Hence both absolute and supported degree-two restriction are |
| 15 | isomorphisms. A neighborhood of every codimension-one point, together with |
| 16 | the reference open, has exactly such an ignorable closed complement. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 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 Construction |
| 26 | |
| 27 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 28 | (F : Closeds X.carrier) (hF : ∀ z ∈ F, 1 < Order.coheight z) |
| 29 | |
| 30 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 31 | |
| 32 | include hF in |
| 33 | /-- The actual global obstruction groups vanish below degree four. -/ |
| 34 | theorem codimensionTwo_cohomology_isZero (n : ℕ) (hn : n < 4) : |
| 35 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl : Set T) n) := |
| 36 | (CodimensionTwoPurity.Construction.codimensionTwo_open_cohomology_isZero X F hF ⊤ n hn).of_iso |
| 37 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheafTopIso (ModuleCat.of ℚ ℚ) T (Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl : Set T) n).symm |
| 38 | |
| 39 | include hF in |
| 40 | /-- Ordinary degree-two cohomology is unchanged by removing this actual |
| 41 | closed algebraic subset. -/ |
| 42 | theorem codimensionTwo_absoluteRestriction_isIso : |
| 43 | IsIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCohomologyRestriction (ModuleCat.of ℚ ℚ) T (Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl : Set T) 2) := |
| 44 | AlgebraicTopology.DeRham.Comparison.RegularAmbientCohomology.subspaceCohomologyRestriction_isIso_of_relative_zero |
| 45 | (ModuleCat.of ℚ ℚ) T (Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl : Set T) 2 |
| 46 | (codimensionTwo_cohomology_isZero X F hF 2 (by decide)) |
| 47 | (codimensionTwo_cohomology_isZero X F hF 3 (by decide)) |
| 48 | |
| 49 | include hF in |
| 50 | /-- Restriction of supported degree-two cohomology is also the actual |
| 51 | triple-sequence isomorphism. -/ |
| 52 | theorem codimensionTwo_relativeRestriction_isIso (B : Set T) |
| 53 | (hB : B ⊆ Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl) : |
| 54 | IsIso (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T B (Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl) 2) := |
| 55 | CycleClass.Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction_isIso (ModuleCat.of ℚ ℚ) T |
| 56 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl : Set T) B hB 2 |
| 57 | (codimensionTwo_cohomology_isZero X F hF 2 (by decide)) |
| 58 | (codimensionTwo_cohomology_isZero X F hF 3 (by decide)) |
| 59 | |
| 60 | include hF in |
| 61 | theorem codimensionTwo_relative_eq_iff (B : Set T) (hB : B ⊆ Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl) |
| 62 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T B 2) : |
| 63 | a = b ↔ |
| 64 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T B (Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl) 2 a = |
| 65 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T B (Line.Bundles.AlgebraicLineBundle.analyticOpen X F.compl) 2 b := by |
| 66 | have := codimensionTwo_relativeRestriction_isIso X F hF B hB |
| 67 | exact ((ModuleCat.mono_iff_injective _).mp inferInstance).eq_iff.symm |
| 68 | |
| 69 | /-- Missing a nonempty open forces positive specialization codimension. -/ |
| 70 | theorem one_le_coheight_of_not_mem (R : X.carrier.Opens) [Nonempty R] |
| 71 | (z : X.carrier) (hz : z ∉ R) : 1 ≤ Order.coheight z := by |
| 72 | let Z : IrreducibleCloseds X.carrier := irreducibleSetEquivPoints.symm z |
| 73 | let W : IrreducibleCloseds X.carrier := |
| 74 | ⟨Set.univ, IrreducibleSpace.isIrreducible_univ X.carrier, isClosed_univ⟩ |
| 75 | have hZ : (Z : Set X.carrier) ⊆ (R : Set X.carrier)ᶜ := |
| 76 | closure_minimal (Set.singleton_subset_iff.mpr hz) R.isOpen.isClosed_compl |
| 77 | have hZW : Z < W := by |
| 78 | apply lt_of_le_not_ge (Set.subset_univ _) |
| 79 | intro hWZ |
| 80 | obtain ⟨y⟩ := ‹Nonempty R› |
| 81 | exact hZ (hWZ (Set.mem_univ y.val)) y.property |
| 82 | have hc : 1 ≤ Order.coheight Z := |
| 83 | (show (1 : ℕ∞) ≤ Order.coheight W + 1 from le_add_self).trans |
| 84 | (Order.coheight_add_one_le hZW) |
| 85 | simpa only [Z, Order.coheight_orderIso] using hc |
| 86 | |
| 87 | /-- Neighborhoods of every actual codimension-one point leave only a |
| 88 | closed subset of codimension at least two outside the reference open. -/ |
| 89 | theorem complement_comparisonOpen_coheight |
| 90 | (R : X.carrier.Opens) [Nonempty R] |
| 91 | (U : {z : X.carrier // Order.coheight z = 1} → X.carrier.Opens) |
| 92 | (hU : ∀ z, z.val ∈ U z) : |
| 93 | ∀ z ∈ (R ⊔ iSup U).compl, 1 < Order.coheight z := by |
| 94 | intro z hz |
| 95 | have hzR : z ∉ R := fun h => hz (Or.inl h) |
| 96 | have h1 := one_le_coheight_of_not_mem X R z hzR |
| 97 | apply lt_of_le_of_ne h1 |
| 98 | intro he |
| 99 | exact hz (Or.inr (Opens.mem_iSup.mpr ⟨⟨z, he.symm⟩, hU ⟨z, he.symm⟩⟩)) |
| 100 | |
| 101 | end Construction |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.DivisorClass.Chern.CodimensionTwoRemoval |