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.SupportDetection |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports |
| 3 | |
| 4 | /-! # Minimal Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.MinimalSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The supports used by the local detection theorem form a finite family |
| 13 | of genuine irreducible components of the original algebraic closed set. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | namespace Constructions |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportDetection.Constructions.Neighborhoods |
| 21 | |
| 22 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 23 | [AlgebraicGeometry.IsNoetherian X.left] (F : Closeds X.left) (c : ℕ) |
| 24 | (hc : ∀ Z : IrreducibleCloseds X.left, (Z : Set X.left) ⊆ F → |
| 25 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 26 | |
| 27 | include hc in |
| 28 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 29 | theorem minimalSupport_eq_of_le (Z : SupportDetection.Constructions.Neighborhoods.MinimalSupport X F c) |
| 30 | (W : IrreducibleCloseds X.left) (hW : (W : Set X.left) ⊆ F) (hZW : Z.val ≤ W) : Z.val = W := by |
| 31 | by_contra hn |
| 32 | have ht := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_strictMono X.hom (lt_of_le_of_ne hZW hn) |
| 33 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.val X.hom < Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.hom at ht |
| 34 | have hd := hc W hW |
| 35 | have hz := Z.property.2 |
| 36 | omega |
| 37 | |
| 38 | include hc in |
| 39 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 40 | theorem minimalSupport_eq_component (Z : SupportDetection.Constructions.Neighborhoods.MinimalSupport X F c) : |
| 41 | ∃ D : irreducibleComponents F, IntersectionGeometry.closedComponentSupport X.left F D = Z.val := by |
| 42 | obtain ⟨D, hD⟩ := Intersection.Supports.closedComponentSupport_covers X.left F Z.val Z.property.1 |
| 43 | exact ⟨D, (minimalSupport_eq_of_le X F c hc Z _ |
| 44 | (Intersection.Supports.closedComponentSupport_subset X.left F D) hD).symm⟩ |
| 45 | |
| 46 | include hc in |
| 47 | theorem minimalSupport_finite : Finite (SupportDetection.Constructions.Neighborhoods.MinimalSupport X F c) := by |
| 48 | let : NoetherianSpace F := NoetherianSpace.set (F : Set X.left) |
| 49 | let : Finite (irreducibleComponents F) := |
| 50 | (NoetherianSpace.finite_irreducibleComponents (α := F)).to_subtype |
| 51 | let f : SupportDetection.Constructions.Neighborhoods.MinimalSupport X F c → irreducibleComponents F := |
| 52 | fun Z => Classical.choose (minimalSupport_eq_component X F c hc Z) |
| 53 | have hf : Function.Injective f := by |
| 54 | intro A B hAB |
| 55 | apply Subtype.ext |
| 56 | exact (Classical.choose_spec (minimalSupport_eq_component X F c hc A)).symm.trans |
| 57 | ((congrArg (IntersectionGeometry.closedComponentSupport X.left F) hAB).trans |
| 58 | (Classical.choose_spec (minimalSupport_eq_component X F c hc B))) |
| 59 | exact Finite.of_injective f hf |
| 60 | |
| 61 | end Constructions |
| 62 | |
| 63 | end |
| 64 | |
| 65 | /-! Each minimum-codimension component has an actual algebraic neighborhood |
| 66 | where the closed support is that component and its singular boundary is absent. -/ |
| 67 | |
| 68 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 69 | set_option backward.isDefEq.respectTransparency false |
| 70 | |
| 71 | namespace Constructions.Isolation |
| 72 | |
| 73 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportDetection.Constructions.Neighborhoods OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.MinimalSupport.Constructions |
| 74 | |
| 75 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 76 | [AlgebraicGeometry.IsNoetherian X.left] (F : Closeds X.left) (c : ℕ) |
| 77 | (Z : SupportDetection.Constructions.Neighborhoods.MinimalSupport X F c) |
| 78 | |
| 79 | local instance : Finite (irreducibleComponents F) := by |
| 80 | let : NoetherianSpace F := NoetherianSpace.set (F : Set X.left) |
| 81 | exact (NoetherianSpace.finite_irreducibleComponents (α := F)).to_subtype |
| 82 | |
| 83 | def otherComponentsClosed : Closeds X.left := |
| 84 | ⟨⋃ D : {D : irreducibleComponents F // IntersectionGeometry.closedComponentSupport X.left F D ≠ Z.val}, |
| 85 | (IntersectionGeometry.closedComponentSupport X.left F D.val : Set X.left), |
| 86 | isClosed_iUnion_of_finite (fun D => (IntersectionGeometry.closedComponentSupport X.left F D.val).isClosed)⟩ |
| 87 | |
| 88 | def isolatingOpen : X.left.Opens := |
| 89 | (otherComponentsClosed X F c Z).compl ⊓ |
| 90 | ⟨(Geometric.StratumDimension.supportSingularBoundary Z.val X.hom)ᶜ, |
| 91 | (Geometric.StratumDimension.isClosed_supportSingularBoundary Z.val X.hom).isOpen_compl⟩ |
| 92 | |
| 93 | variable (hc : ∀ W : IrreducibleCloseds X.left, (W : Set X.left) ⊆ F → |
| 94 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.hom + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 95 | |
| 96 | include hc in |
| 97 | theorem genericPoint_mem_isolatingOpen : irreducibleSetEquivPoints Z.val ∈ isolatingOpen X F c Z := by |
| 98 | refine ⟨?_, Geometric.StratumDimension.genericPoint_not_mem_supportSingularBoundary Z.val X.hom⟩ |
| 99 | intro hx |
| 100 | obtain ⟨D, hD⟩ := Set.mem_iUnion.mp hx |
| 101 | have hzD : Z.val ≤ IntersectionGeometry.closedComponentSupport X.left F D.val := |
| 102 | (Intersection.Supports.supportPoint_mem_iff_subset |
| 103 | ⟨_, (IntersectionGeometry.closedComponentSupport X.left F D.val).isClosed⟩ Z.val).mp hD |
| 104 | exact D.property (minimalSupport_eq_of_le X F c hc Z _ |
| 105 | (Intersection.Supports.closedComponentSupport_subset X.left F D.val) hzD).symm |
| 106 | |
| 107 | omit [Smooth X.hom] in |
| 108 | theorem mem_component_of_avoids_others (x : X.left) |
| 109 | (hx : x ∈ F) (ho : x ∉ otherComponentsClosed X F c Z) : x ∈ (Z.val : Set X.left) := by |
| 110 | classical |
| 111 | let W : IrreducibleCloseds X.left := irreducibleSetEquivPoints.symm x |
| 112 | have hWF : (W : Set X.left) ⊆ F := |
| 113 | F.isClosed.closure_subset_iff.mpr (Set.singleton_subset_iff.mpr hx) |
| 114 | obtain ⟨D, hD⟩ := Intersection.Supports.closedComponentSupport_covers X.left F W hWF |
| 115 | have hxW : x ∈ (W : Set X.left) := subset_closure (Set.mem_singleton x) |
| 116 | have he : IntersectionGeometry.closedComponentSupport X.left F D = Z.val := by |
| 117 | by_contra hn |
| 118 | exact ho (Set.mem_iUnion.mpr ⟨⟨D, hn⟩, hD hxW⟩) |
| 119 | exact he ▸ hD hxW |
| 120 | |
| 121 | theorem isolatingOpen_support (x : X.left) (hx : x ∈ isolatingOpen X F c Z) : |
| 122 | x ∈ F ↔ x ∈ (Z.val : Set X.left) := |
| 123 | ⟨fun h => mem_component_of_avoids_others X F c Z x h hx.1, fun h => Z.property.1 h⟩ |
| 124 | |
| 125 | theorem isolatingOpen_avoids_singularBoundary : |
| 126 | (isolatingOpen X F c Z : Set X.left) ⊆ (Geometric.StratumDimension.supportSingularBoundary Z.val X.hom)ᶜ := |
| 127 | fun _ hx => hx.2 |
| 128 | |
| 129 | end Constructions.Isolation |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.MinimalSupport |