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.IntersectionTheory.ProjectionFormula.Grading |
| 2 | |
| 3 | /-! # Supports -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 10 | |
| 11 | /-! In a proper intersection, a support of the prescribed codimension |
| 12 | is an irreducible component of the closed intersection. Hence there are |
| 13 | only finitely many possible nonzero intersection coefficients. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped Classical |
| 17 | |
| 18 | theorem closedComponentSupport_covers (X : Scheme) (S : Closeds X) |
| 19 | (C : IrreducibleCloseds X) (hC : (C : Set X) ⊆ S) : |
| 20 | ∃ D : irreducibleComponents S, (C : Set X) ⊆ CycleClass.Thom.IntersectionGeometry.closedComponentSupport X S D := by |
| 21 | let : IrreducibleSpace C := isIrreducible_iff_irreducibleSpace.mp C.isIrreducible |
| 22 | let j : C → S := fun x => ⟨x, hC x.property⟩ |
| 23 | have hj : Continuous j := continuous_subtype_val.subtype_mk _ |
| 24 | have hi : IsIrreducible (j '' (Set.univ : Set C)) := |
| 25 | (IrreducibleSpace.isIrreducible_univ C).image j hj.continuousOn |
| 26 | obtain ⟨D, hD, hCD⟩ := exists_mem_irreducibleComponents_subset_of_isIrreducible _ hi |
| 27 | refine ⟨⟨D, hD⟩, ?_⟩ |
| 28 | intro x hx |
| 29 | exact ⟨⟨x, hC hx⟩, hCD ⟨⟨x, hx⟩, Set.mem_univ _, rfl⟩, rfl⟩ |
| 30 | |
| 31 | theorem closedComponentSupport_subset (X : Scheme) (S : Closeds X) |
| 32 | (D : irreducibleComponents S) : (CycleClass.Thom.IntersectionGeometry.closedComponentSupport X S D : Set X) ⊆ S := by |
| 33 | rintro x ⟨y, _, rfl⟩ |
| 34 | exact y.property |
| 35 | |
| 36 | theorem codimension_strictAnti (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 37 | [SmoothOfRelativeDimension m X.structureMap] : StrictAnti X.supportCodimension := by |
| 38 | intro A B hAB |
| 39 | have ht := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_strictMono X.structureMap hAB |
| 40 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.structureMap < Foundations.Scheme.SupportDimension.supportTranscendenceDimension B X.structureMap at ht |
| 41 | have ha := Grading.supportDimension_add_codimension X m A |
| 42 | have hb := Grading.supportDimension_add_codimension X m B |
| 43 | omega |
| 44 | |
| 45 | theorem support_eq_component (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m d : ℕ) |
| 46 | [SmoothOfRelativeDimension m X.structureMap] (S : Closeds X.carrier) |
| 47 | (hproper : ∀ C : IrreducibleCloseds X.carrier, (C : Set X.carrier) ⊆ S → d ≤ X.supportCodimension C) |
| 48 | (C : X.DimensionCycleSupport d) (hC : (C.val : Set X.carrier) ⊆ S) : |
| 49 | ∃ D : irreducibleComponents S, CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier S D = C.val := by |
| 50 | obtain ⟨D, hD⟩ := closedComponentSupport_covers X.carrier S C.val hC |
| 51 | have hle : C.val ≤ CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier S D := hD |
| 52 | have he : C.val = CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier S D := by |
| 53 | by_contra hn |
| 54 | have ht := codimension_strictAnti X m (lt_of_le_of_ne hle hn) |
| 55 | have hd := hproper (CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier S D) |
| 56 | (closedComponentSupport_subset X.carrier S D) |
| 57 | rw [C.property] at ht |
| 58 | omega |
| 59 | exact ⟨D, he.symm⟩ |
| 60 | |
| 61 | theorem supportPoint_mem_iff_subset {X : Scheme} (S : Closeds X) (C : IrreducibleCloseds X) : |
| 62 | CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ S ↔ (C : Set X) ⊆ S := by |
| 63 | constructor |
| 64 | · intro h |
| 65 | have hc : closure {CycleClass.Thom.IntersectionGeometry.supportPoint C} = (C : Set X) := |
| 66 | congrArg (fun A : IrreducibleCloseds X => (A : Set X)) |
| 67 | (irreducibleSetEquivPoints.symm_apply_apply C) |
| 68 | rw [← hc] |
| 69 | exact S.isClosed.closure_subset_iff.mpr (Set.singleton_subset_iff.mpr h) |
| 70 | · intro h |
| 71 | exact h (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem |
| 72 | |
| 73 | theorem finite_supports_in_proper_closed (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m d : ℕ) |
| 74 | [SmoothOfRelativeDimension m X.structureMap] (S : Closeds X.carrier) |
| 75 | (hproper : ∀ C : IrreducibleCloseds X.carrier, (C : Set X.carrier) ⊆ S → d ≤ X.supportCodimension C) : |
| 76 | {C : X.DimensionCycleSupport d | CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ S}.Finite := by |
| 77 | let : NoetherianSpace S := NoetherianSpace.set (S : Set X.carrier) |
| 78 | let : Finite (irreducibleComponents S) := |
| 79 | (NoetherianSpace.finite_irreducibleComponents (α := S)).to_subtype |
| 80 | have hf : (Set.range (CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier S)).Finite := Set.finite_range _ |
| 81 | apply Set.Finite.of_finite_image (f := fun C : X.DimensionCycleSupport d => C.val) |
| 82 | (hf.subset ?_) Subtype.val_injective.injOn |
| 83 | rintro _ ⟨C, hC, rfl⟩ |
| 84 | exact support_eq_component X m d S hproper C ((supportPoint_mem_iff_subset S C.val).mp hC) |
| 85 | |
| 86 | end AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 87 | |
| 88 | namespace AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 89 | |
| 90 | /-! Properly meeting cycles have an actual finite intersection cycle |
| 91 | with exactly ThomClass's local Tor coefficients. The finite construction is |
| 92 | bilinear before imposing the proper-meeting condition. -/ |
| 93 | |
| 94 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 95 | open scoped Classical BigOperators |
| 96 | |
| 97 | def pairMeetsProperly (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 98 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) : Prop := |
| 99 | ∀ C : IrreducibleCloseds X.carrier, |
| 100 | (C : Set X.carrier) ⊆ (A.val : Set X.carrier) ∩ (B.val : Set X.carrier) → |
| 101 | p + q ≤ X.supportCodimension C |
| 102 | |
| 103 | theorem pair_coefficients_finite (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 104 | [SmoothOfRelativeDimension m X.structureMap] |
| 105 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) |
| 106 | (h : pairMeetsProperly X p q A B) : |
| 107 | (Function.support (fun C : X.DimensionCycleSupport (p + q) => |
| 108 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val)).Finite := by |
| 109 | let S : Closeds X.carrier := ⟨(A.val : Set X.carrier) ∩ B.val, A.val.isClosed.inter B.val.isClosed⟩ |
| 110 | apply (finite_supports_in_proper_closed X m (p + q) S h).subset |
| 111 | intro C hC |
| 112 | by_contra hc |
| 113 | exact hC (dite_eq_right hc) |
| 114 | |
| 115 | def pairCycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 116 | [SmoothOfRelativeDimension m X.structureMap] |
| 117 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) : |
| 118 | X.RationalDimensionCycle (p + q) := |
| 119 | if h : pairMeetsProperly X p q A B then |
| 120 | Finsupp.ofSupportFinite (fun C => CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val) |
| 121 | (pair_coefficients_finite X m p q A B h) |
| 122 | else 0 |
| 123 | |
| 124 | theorem pairCycle_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 125 | [SmoothOfRelativeDimension m X.structureMap] |
| 126 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) |
| 127 | (h : pairMeetsProperly X p q A B) (C : X.DimensionCycleSupport (p + q)) : |
| 128 | pairCycle X m p q A B C = CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val := by |
| 129 | rw [pairCycle, dite_eq_left h] |
| 130 | rfl |
| 131 | |
| 132 | def intersectionBilinear (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 133 | [SmoothOfRelativeDimension m X.structureMap] : |
| 134 | X.RationalDimensionCycle p →ₗ[ℚ] X.RationalDimensionCycle q →ₗ[ℚ] |
| 135 | X.RationalDimensionCycle (p + q) := |
| 136 | Finsupp.linearCombination ℚ (fun A => Finsupp.linearCombination ℚ (pairCycle X m p q A)) |
| 137 | |
| 138 | theorem intersectionBilinear_isProper (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 139 | [SmoothOfRelativeDimension m X.structureMap] |
| 140 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) |
| 141 | (h : CycleClass.Thom.IntersectionGeometry.MeetProperly X p q a b) : |
| 142 | CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X p q a b (intersectionBilinear X m p q a b) := by |
| 143 | refine ⟨h, ?_⟩ |
| 144 | intro C |
| 145 | simp only [intersectionBilinear, Finsupp.linearCombination_apply, Finsupp.sum, |
| 146 | LinearMap.sum_apply, LinearMap.smul_apply, Finsupp.finsetSum_apply, Finsupp.smul_apply, |
| 147 | smul_eq_mul, Finset.mul_sum] |
| 148 | apply Finset.sum_congr rfl |
| 149 | intro A hA |
| 150 | apply Finset.sum_congr rfl |
| 151 | intro B hB |
| 152 | rw [pairCycle_apply X m p q A B (h A hA B hB) C] |
| 153 | ring |
| 154 | |
| 155 | theorem properIntersection_exists_unique (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 156 | [SmoothOfRelativeDimension m X.structureMap] |
| 157 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) |
| 158 | (h : CycleClass.Thom.IntersectionGeometry.MeetProperly X p q a b) : |
| 159 | ∃! c : X.RationalDimensionCycle (p + q), CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X p q a b c := by |
| 160 | refine ⟨intersectionBilinear X m p q a b, intersectionBilinear_isProper X m p q a b h, ?_⟩ |
| 161 | intro c hc |
| 162 | exact CycleClass.Thom.IntersectionGeometry.isProperIntersectionCycle_unique X p q hc (intersectionBilinear_isProper X m p q a b h) |
| 163 | |
| 164 | end AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 165 | |
| 166 | end |
| 167 | |
| 168 | end OAI |