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.Supported.Map |
| 2 | |
| 3 | /-! # Projective Support Isolation -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation |
| 10 | |
| 11 | /-! The genuine Serre intersection coefficients define a finite cycle |
| 12 | supported on the original algebraic intersection. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | namespace Constructions.Intersection |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportDetection.Constructions.Neighborhoods OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.MinimalSupport.Constructions |
| 22 | |
| 23 | theorem supportedSupport_finite (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (F : Closeds V.carrier) (c : ℕ) |
| 24 | (hc : ∀ Z : IrreducibleCloseds V.carrier, (Z : Set V.carrier) ⊆ F → c ≤ Geometric.DimensionCycles.dimensionCodimension V Z) : |
| 25 | Finite (Map.Constructions.SupportedSupport V F c) := by |
| 26 | let : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 27 | let : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 28 | let : AlgebraicGeometry.IsNoetherian V.toOver.left := |
| 29 | inferInstanceAs (AlgebraicGeometry.IsNoetherian V.carrier) |
| 30 | have hd (Z : IrreducibleCloseds V.carrier) (hZ : (Z : Set V.carrier) ⊆ F) : |
| 31 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z V.structureMap + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap := by |
| 32 | have h := hc Z hZ |
| 33 | have he := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V Z |
| 34 | omega |
| 35 | let : Finite (Scheme.SupportDetection.Constructions.Neighborhoods.MinimalSupport V.toOver F c) := Scheme.MinimalSupport.Constructions.minimalSupport_finite V.toOver F c hd |
| 36 | let j : Map.Constructions.SupportedSupport V F c → Scheme.SupportDetection.Constructions.Neighborhoods.MinimalSupport V.toOver F c := fun Z => |
| 37 | ⟨Z.val.val, Z.property, by |
| 38 | have h := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V Z.val.val |
| 39 | rw [Z.val.property] at h |
| 40 | exact h⟩ |
| 41 | apply Finite.of_injective j |
| 42 | intro A B h |
| 43 | apply Subtype.ext |
| 44 | apply Subtype.ext |
| 45 | exact congrArg (fun Z : Scheme.SupportDetection.Constructions.Neighborhoods.MinimalSupport V.toOver F c => Z.val) h |
| 46 | |
| 47 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p q : ℕ) |
| 48 | (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) |
| 49 | |
| 50 | def intersectionClosed : Closeds V.carrier := |
| 51 | ⟨(A.val : Set V.carrier) ∩ (B.val : Set V.carrier), A.val.isClosed.inter B.val.isClosed⟩ |
| 52 | |
| 53 | variable (hproper : ∀ Z : IrreducibleCloseds V.carrier, |
| 54 | (Z : Set V.carrier) ⊆ intersectionClosed V p q A B → p + q ≤ Geometric.DimensionCycles.dimensionCodimension V Z) |
| 55 | |
| 56 | def supportedPairCycle : Map.Constructions.SupportedCycle V (intersectionClosed V p q A B) (p + q) := by |
| 57 | let : Finite (Map.Constructions.SupportedSupport V (intersectionClosed V p q A B) (p + q)) := |
| 58 | supportedSupport_finite V _ (p + q) hproper |
| 59 | exact Finsupp.ofSupportFinite |
| 60 | (fun Z => IntersectionGeometry.intersectionMultiplicity V.presentation A.val B.val Z.val.val) (Set.toFinite _) |
| 61 | |
| 62 | theorem supportedPairCycle_apply (Z : Map.Constructions.SupportedSupport V (intersectionClosed V p q A B) (p + q)) : |
| 63 | supportedPairCycle V p q A B hproper Z = |
| 64 | IntersectionGeometry.intersectionMultiplicity V.presentation A.val B.val Z.val.val := rfl |
| 65 | |
| 66 | theorem supportedPairCycle_forget_coefficient (C : Geometric.DimensionCycles.DimensionCycleSupport V (p + q)) : |
| 67 | Map.Constructions.forgetCycle V (intersectionClosed V p q A B) (p + q) (supportedPairCycle V p q A B hproper) C = |
| 68 | IntersectionGeometry.intersectionMultiplicity V.presentation A.val B.val C.val := by |
| 69 | classical |
| 70 | by_cases hC : (C.val : Set V.carrier) ⊆ intersectionClosed V p q A B |
| 71 | · exact (Finsupp.mapDomain_apply_of_injective Subtype.val_injective |
| 72 | (supportedPairCycle V p q A B hproper) ⟨C, hC⟩).trans |
| 73 | (supportedPairCycle_apply V p q A B hproper ⟨C, hC⟩) |
| 74 | · have hm : IntersectionGeometry.intersectionMultiplicity V.presentation A.val B.val C.val = 0 := by |
| 75 | apply dite_eq_right |
| 76 | intro h |
| 77 | exact hC ((Intersection.Supports.supportPoint_mem_iff_subset |
| 78 | (intersectionClosed V p q A B) C.val).mp h) |
| 79 | rw [hm] |
| 80 | apply Finsupp.mapDomain_of_notMem_range |
| 81 | rintro ⟨Z, hZ⟩ |
| 82 | exact hC (hZ ▸ Z.property) |
| 83 | |
| 84 | end Constructions.Intersection |
| 85 | |
| 86 | end AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation |
| 87 | |
| 88 | namespace AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation.Constructions |
| 89 | |
| 90 | /-! The actual minimum-codimension supports used by cohomology |
| 91 | detection agree with the supports of the original finite cycle. -/ |
| 92 | |
| 93 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 94 | |
| 95 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportDetection.Constructions.Neighborhoods OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.MinimalSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.MinimalSupport.Constructions.Isolation |
| 96 | |
| 97 | set_option backward.isDefEq.respectTransparency false |
| 98 | set_option backward.isDefEq.respectTransparency.types false |
| 99 | |
| 100 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (F : Closeds V.carrier) (c : ℕ) |
| 101 | |
| 102 | local instance : IsIntegral V.toOver.left := V.property |
| 103 | local instance : Smooth V.toOver.hom := V.presentation.smooth |
| 104 | local instance : AlgebraicGeometry.IsNoetherian V.toOver.left := inferInstanceAs (AlgebraicGeometry.IsNoetherian V.carrier) |
| 105 | |
| 106 | def minimalCycleSupport (Z : Scheme.SupportDetection.Constructions.Neighborhoods.MinimalSupport V.toOver F c) : Geometric.DimensionCycles.DimensionCycleSupport V c := |
| 107 | ⟨Z.val, by |
| 108 | have h := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V Z.val |
| 109 | have hZ := Z.property.2 |
| 110 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.val V.structureMap + c = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap at hZ |
| 111 | omega⟩ |
| 112 | |
| 113 | def minimalSupportedSupport (Z : Scheme.SupportDetection.Constructions.Neighborhoods.MinimalSupport V.toOver F c) : Map.Constructions.SupportedSupport V F c := |
| 114 | ⟨minimalCycleSupport V F c Z, Z.property.1⟩ |
| 115 | |
| 116 | def supportedMinimalSupport (Z : Map.Constructions.SupportedSupport V F c) : Scheme.SupportDetection.Constructions.Neighborhoods.MinimalSupport V.toOver F c := |
| 117 | ⟨Z.val.val, Z.property, by |
| 118 | have h := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V Z.val.val |
| 119 | rw [Z.val.property] at h |
| 120 | exact h⟩ |
| 121 | |
| 122 | variable (hc : ∀ Z : IrreducibleCloseds V.carrier, (Z : Set V.carrier) ⊆ F → c ≤ Geometric.DimensionCycles.dimensionCodimension V Z) |
| 123 | |
| 124 | include hc in |
| 125 | theorem support_dimension_bound (Z : IrreducibleCloseds V.carrier) (hZ : (Z : Set V.carrier) ⊆ F) : |
| 126 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z V.toOver.hom + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.toOver.hom := by |
| 127 | have h := hc Z hZ |
| 128 | have he := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V Z |
| 129 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z V.structureMap + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap |
| 130 | omega |
| 131 | |
| 132 | include hc in |
| 133 | theorem isolatingOpen_avoids_other (Z : Scheme.SupportDetection.Constructions.Neighborhoods.MinimalSupport V.toOver F c) (W : Map.Constructions.SupportedSupport V F c) |
| 134 | (hW : W ≠ minimalSupportedSupport V F c Z) : |
| 135 | (Scheme.MinimalSupport.Constructions.Isolation.isolatingOpen V.toOver F c Z : Set V.toOver.left) ⊆ (W.val.val : Set V.carrier)ᶜ := by |
| 136 | obtain ⟨D, hD⟩ := Scheme.MinimalSupport.Constructions.minimalSupport_eq_component V.toOver F c (support_dimension_bound V F c hc) |
| 137 | (supportedMinimalSupport V F c W) |
| 138 | have hn : IntersectionGeometry.closedComponentSupport V.carrier F D ≠ Z.val := by |
| 139 | intro he |
| 140 | apply hW |
| 141 | apply Subtype.ext |
| 142 | apply Subtype.ext |
| 143 | exact hD.symm.trans he |
| 144 | intro x hx hxW |
| 145 | exact hx.1 (Set.mem_iUnion.mpr ⟨⟨D, hn⟩, hD.symm ▸ hxW⟩) |
| 146 | |
| 147 | end AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation.Constructions |
| 148 | |
| 149 | end |
| 150 | |
| 151 | end OAI |