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.SupportedPrincipalDivisor |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum |
| 3 | |
| 4 | /-! # Isolation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Isolation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Isolate each of the finitely many actual divisor supports and restrict |
| 11 | the sum to its original algebraic coefficient times its cycle class. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | namespace Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportedPrincipalDivisor.Constructions |
| 22 | Scheme.RegularSupport.Constructions Module.Constructions |
| 23 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 24 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 25 | (R : X.left.Opens) [Nonempty R] |
| 26 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 27 | local notation "O" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen X R |
| 28 | |
| 29 | omit [IsIntegral X.left] [Nonempty R] [Smooth X.hom] |
| 30 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 31 | /-- Distinct actual divisor points cannot lie in each other's point closures. -/ |
| 32 | theorem complementDivisorPoint_not_mem_other_support (z w : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R)) (hzw : z ≠ w) : |
| 33 | z.val ∉ closure ({w.val} : Set X.left) := by |
| 34 | intro hz |
| 35 | let A : IrreducibleCloseds X.left := irreducibleSetEquivPoints.symm z.val |
| 36 | let B : IrreducibleCloseds X.left := irreducibleSetEquivPoints.symm w.val |
| 37 | have hAB : A ≤ B := closure_minimal (Set.singleton_subset_iff.mpr hz) B.isClosed |
| 38 | have hne : A ≠ B := by |
| 39 | intro he |
| 40 | apply hzw |
| 41 | exact Subtype.ext (irreducibleSetEquivPoints.symm.injective he) |
| 42 | have hc := Order.coheight_add_one_le (lt_of_le_of_ne hAB hne) |
| 43 | have hA : Order.coheight A = 1 := by |
| 44 | simpa only [A, Order.coheight_orderIso] using z.property.1 |
| 45 | have hB : Order.coheight B = 1 := by |
| 46 | simpa only [B, Order.coheight_orderIso] using w.property.1 |
| 47 | rw [hA, hB] at hc |
| 48 | exact (by decide : ¬ (1 : ℕ∞) + 1 ≤ 1) hc |
| 49 | |
| 50 | /-- The actual complement of one algebraic divisor support. -/ |
| 51 | def complementDivisorSupportComplement (w : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R)) : X.left.Opens := |
| 52 | ⟨(closure ({w.val} : Set X.left))ᶜ, isClosed_closure.isOpen_compl⟩ |
| 53 | |
| 54 | /-- A finite intersection of actual open complements isolates the chosen support. -/ |
| 55 | def complementDivisorIsolatingOpen (z : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R)) : X.left.Opens := by |
| 56 | classical |
| 57 | exact ⨅ w : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R), if w = z then ⊤ else complementDivisorSupportComplement X R w |
| 58 | |
| 59 | omit [Smooth X.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 60 | theorem complementDivisorPoint_mem_isolatingOpen (z : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R)) : |
| 61 | z.val ∈ complementDivisorIsolatingOpen X R z := by |
| 62 | classical |
| 63 | change z.val ∈ (⨅ w : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R), |
| 64 | if w = z then ⊤ else complementDivisorSupportComplement X R w : X.left.Opens) |
| 65 | rw [← SetLike.mem_coe, Opens.coe_iInf, Set.mem_iInter] |
| 66 | intro w |
| 67 | by_cases hw : w = z |
| 68 | · rw [ite_eq_left hw] |
| 69 | trivial |
| 70 | · rw [ite_eq_right hw] |
| 71 | exact complementDivisorPoint_not_mem_other_support X R z w (Ne.symm hw) |
| 72 | |
| 73 | omit [IsIntegral X.left] [Nonempty R] [Smooth X.hom] |
| 74 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 75 | theorem complementDivisorIsolatingOpen_subset_other_complement |
| 76 | (z w : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R)) (hzw : z ≠ w) : |
| 77 | complementDivisorIsolatingOpen X R z ≤ complementDivisorSupportComplement X R w := by |
| 78 | classical |
| 79 | have h := iInf_le (fun v : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R) => |
| 80 | if v = z then (⊤ : X.left.Opens) else complementDivisorSupportComplement X R v) w |
| 81 | rw [ite_eq_right (Ne.symm hzw)] at h |
| 82 | exact h |
| 83 | |
| 84 | omit [Nonempty R] in |
| 85 | /-- Restriction away from the actual point closure annihilates its |
| 86 | original supported cycle class after reference-support enlargement. -/ |
| 87 | theorem complementDivisorSupportedClass_restrict_away (z : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R)) |
| 88 | (U : X.left.Opens) (hU : U ≤ complementDivisorSupportComplement X R z) : |
| 89 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) (Scheme.SectionEvaluation.Constructions.analyticOpen X U) 2 |
| 90 | (Scheme.SupportedPrincipalDivisor.Constructions.complementDivisorSupportedClass X R z) = 0 := by |
| 91 | let f := Geometric.LocalHomology.Cycles.subspaceInclusion T (Scheme.SectionEvaluation.Constructions.analyticOpen X U : Set T) |
| 92 | let ha : Set.MapsTo f ((AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (O : Set T) (Scheme.SectionEvaluation.Constructions.analyticOpen X U))) (O : Set T) := fun _ hx => hx |
| 93 | have hr : ∀ x, f x ∈ (Set.range (Scheme.RegularSupport.Constructions.supportInclusion X (Scheme.SupportedPrincipalDivisor.Constructions.complementDivisorSupport X R z)))ᶜ := by |
| 94 | intro x |
| 95 | rw [Scheme.RegularSupport.Constructions.supportInclusion_range] |
| 96 | exact hU x.property |
| 97 | have hz := DivisorClass.Chern.SupportedDivisorSum.relativeCohomologyMap_zero_of_range_subset (ModuleCat.of ℚ ℚ) f |
| 98 | ((AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (O : Set T) (Scheme.SectionEvaluation.Constructions.analyticOpen X U))) |
| 99 | (Set.range (Scheme.RegularSupport.Constructions.supportInclusion X (Scheme.SupportedPrincipalDivisor.Constructions.complementDivisorSupport X R z)))ᶜ |
| 100 | (fun _ hx => Scheme.SupportedPrincipalDivisor.Constructions.complementDivisorSupport_complement X R z (ha hx)) hr 2 |
| 101 | have hc : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 T) |
| 102 | (Scheme.SupportedPrincipalDivisor.Constructions.complementDivisorSupport_complement X R z) 2 ≫ |
| 103 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f ha 2 = |
| 104 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f |
| 105 | (fun _ hx => Scheme.SupportedPrincipalDivisor.Constructions.complementDivisorSupport_complement X R z (ha hx)) 2 := by |
| 106 | simpa only [Category.comp_id] using AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp |
| 107 | (ModuleCat.of ℚ ℚ) f (𝟙 T) ha (Scheme.SupportedPrincipalDivisor.Constructions.complementDivisorSupport_complement X R z) 2 |
| 108 | have hv := ConcreteCategory.congr_hom hc (Module.Constructions.supportedDivisorClass X ⟨z.val, z.property.1⟩) |
| 109 | rw [hz] at hv |
| 110 | exact hv |
| 111 | |
| 112 | local instance : Fintype (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R) := Fintype.ofFinite _ |
| 113 | |
| 114 | variable (g : X.left.functionField) |
| 115 | |
| 116 | /-- The actual divisor sum has just its original coefficient in a |
| 117 | neighborhood isolating one reference divisor support. -/ |
| 118 | theorem principalDivisorSupportedClass_restrict_isolated (z : (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X R)) |
| 119 | (U : X.left.Opens) (hU : U ≤ complementDivisorIsolatingOpen X R z) : |
| 120 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) (Scheme.SectionEvaluation.Constructions.analyticOpen X U) 2 |
| 121 | (Scheme.SupportedPrincipalDivisor.Constructions.principalDivisorSupportedClass X R g) = |
| 122 | (X.left.ord g z.val : ℚ) • |
| 123 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) (Scheme.SectionEvaluation.Constructions.analyticOpen X U) 2 |
| 124 | (Scheme.SupportedPrincipalDivisor.Constructions.complementDivisorSupportedClass X R z) := by |
| 125 | classical |
| 126 | unfold Scheme.SupportedPrincipalDivisor.Constructions.principalDivisorSupportedClass |
| 127 | rw [map_sum, Finset.sum_eq_single z] |
| 128 | · exact map_smul _ _ _ |
| 129 | · intro w _ hw |
| 130 | rw [map_smul, complementDivisorSupportedClass_restrict_away X R w U |
| 131 | (hU.trans (complementDivisorIsolatingOpen_subset_other_complement X R z w (Ne.symm hw))), smul_zero] |
| 132 | · simp |
| 133 | |
| 134 | end Constructions |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Isolation |