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.OneVectorLocalFormula |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.VectorStepEuler |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedVectorSectionHead |
| 4 | |
| 5 | /-! # Isolated Vector -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.IsolatedVector.Constructions.Class |
| 12 | |
| 13 | /-! The actual cycle-vector class at an isolated target component is |
| 14 | the original target cycle with its native Serre--Tor Euler coefficient. |
| 15 | The proof is induction through genuine principal-divisor cycles. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace RingTheory.Sequence |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.VectorLocalFormula.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.OneVectorLocalFormula.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions.VectorGerms OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedVectorSectionHead.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.VectorStepEuler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.AtPoint.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Affine.NormalizationNeighborhood.Constructions |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.BaseRestriction.Constructions.HeadDifference |
| 23 | open OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionEuler.Constructions |
| 24 | |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | set_option backward.isDefEq.respectTransparency.types false |
| 27 | |
| 28 | theorem exists_local_vector_formula (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (d : ℕ) (Z : Geometric.DimensionCycles.DimensionCycleSupport V d) |
| 29 | (n p : ℕ) (hd : p + (n + 1) = d) (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 30 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → IntersectionGeometry.supportPoint Z.val ∈ (D.val : Set V.carrier)) |
| 31 | (B : V.carrier.Opens) (hxB : IntersectionGeometry.supportPoint Z.val ∈ B) [Nonempty B] |
| 32 | (s : Fin (n + 1) → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) |
| 33 | (hr : IsWeaklyRegular (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val)) |
| 34 | (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B (IntersectionGeometry.supportPoint Z.val) hxB (n + 1) s)) |
| 35 | (hm : ∀ a ∈ Section.StalkMap.Constructions.VectorGerms.vectorGerms V B (IntersectionGeometry.supportPoint Z.val) hxB (n + 1) s, |
| 36 | a ∈ IsLocalRing.maximalIdeal (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val))) |
| 37 | (hi : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → ∀ hxD : IntersectionGeometry.supportPoint Z.val ∈ (D.val : Set V.carrier), |
| 38 | PrimeSpectrum.zeroLocus |
| 39 | (Ideal.ofList (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B (IntersectionGeometry.supportPoint Z.val) hxB (n + 1) s) : Set (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val))) ∩ |
| 40 | Module.support (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val)) |
| 41 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val (IntersectionGeometry.supportPoint Z.val) hxD) ⊆ |
| 42 | {IsLocalRing.closedPoint (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val))}) |
| 43 | (l : ℕ) (hl : n ≤ l) : |
| 44 | ∃ C : V.carrier.Opens, C ≤ B ∧ IntersectionGeometry.supportPoint Z.val ∈ C ∧ |
| 45 | VectorLocalFormula.Constructions.HasLocalVectorFormula V B p (n + 1) d hd s c |
| 46 | (Finsupp.single Z (Local.Euler.Constructions.localCycleEuler V p (IntersectionGeometry.supportPoint Z.val) |
| 47 | (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B (IntersectionGeometry.supportPoint Z.val) hxB (n + 1) s) l c)) C := by |
| 48 | induction n generalizing p B with |
| 49 | | zero => |
| 50 | exact OneVectorLocalFormula.Constructions.exists_one_local_formula V p d hd Z c hc B hxB s hr hm hi l |
| 51 | | succ n ih => |
| 52 | let x := IntersectionGeometry.supportPoint Z.val |
| 53 | let R := V.carrier.presheaf.stalk x |
| 54 | let r := s 0 |
| 55 | let t := Fin.tail s |
| 56 | have heta : Fin.cons r t = s := Fin.cons_self_tail s |
| 57 | have hr₀ : IsWeaklyRegular R (Section.StalkMap.Constructions.sectionStalkMap V B x hxB r :: Section.StalkMap.Constructions.VectorGerms.vectorGerms V B x hxB (n + 1) t) := by |
| 58 | rw [← heta, Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons] at hr |
| 59 | exact hr |
| 60 | have hm₀ : ∀ a ∈ Section.StalkMap.Constructions.sectionStalkMap V B x hxB r :: Section.StalkMap.Constructions.VectorGerms.vectorGerms V B x hxB (n + 1) t, |
| 61 | a ∈ IsLocalRing.maximalIdeal R := by |
| 62 | rw [← heta, Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons] at hm |
| 63 | exact hm |
| 64 | have hi₀ : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0), |
| 65 | PrimeSpectrum.zeroLocus |
| 66 | (Ideal.ofList (Section.StalkMap.Constructions.sectionStalkMap V B x hxB r :: Section.StalkMap.Constructions.VectorGerms.vectorGerms V B x hxB (n + 1) t) : Set R) ∩ |
| 67 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x (hc D hD)) ⊆ {IsLocalRing.closedPoint R} := by |
| 68 | intro D hD |
| 69 | have h := hi D hD (hc D hD) |
| 70 | rw [← heta, Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons] at h |
| 71 | exact h |
| 72 | obtain ⟨C, hCB, hxC, a, ha, hreg, hmax, hs⟩ := |
| 73 | IsolatedVectorSectionHead.Constructions.exists_vector_head V p d Z (by omega) c hc B hxB (n + 1) r t hr₀ hm₀ hi₀ |
| 74 | let : Nonempty C := ⟨⟨x, hxC⟩⟩ |
| 75 | let tC := fun i => Section.BaseRestriction.Constructions.HeadDifference.restrictSection V B C hCB (t i) |
| 76 | let hne := fun D hD => Affine.NormalizationNeighborhood.Constructions.normalizationBase_nonempty D C x (hc D hD) hxC |
| 77 | let c₁ := Finite.SectionEuler.Constructions.originalPrincipalStepSum V p C a c hne hs |
| 78 | let c₂ := Cycle.AtPoint.Constructions.cycleAtPoint V (p + 1) x c₁ |
| 79 | have hc₂ : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1), c₂ D ≠ 0 → x ∈ (D.val : Set V.carrier) := |
| 80 | fun D hD => (Cycle.AtPoint.Constructions.cycleAtPoint_ne_zero V (p + 1) x c₁ D hD).2 |
| 81 | have hrC : IsWeaklyRegular R (Section.StalkMap.Constructions.VectorGerms.vectorGerms V C x hxC ((n + 1) + 1) (Fin.cons a tC)) := by |
| 82 | rw [Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons, Section.StalkMap.Constructions.VectorGerms.vectorGerms_restrict] |
| 83 | exact hreg |
| 84 | have hmC : ∀ b ∈ Section.StalkMap.Constructions.VectorGerms.vectorGerms V C x hxC ((n + 1) + 1) (Fin.cons a tC), |
| 85 | b ∈ IsLocalRing.maximalIdeal R := by |
| 86 | rw [Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons, Section.StalkMap.Constructions.VectorGerms.vectorGerms_restrict] |
| 87 | exact hmax |
| 88 | have hiOld : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → ∀ hxD : x ∈ (D.val : Set V.carrier), |
| 89 | PrimeSpectrum.zeroLocus (Ideal.ofList (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B x (hCB hxC) ((n + 1) + 1) (Fin.cons r t)) : Set R) ∩ |
| 90 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R} := by |
| 91 | rw [heta] |
| 92 | exact hi |
| 93 | have hrT : IsWeaklyRegular R (Section.StalkMap.Constructions.VectorGerms.vectorGerms V C x hxC (n + 1) tC) := |
| 94 | VectorStepEuler.Constructions.tail_regular V (n + 1) B C hCB x hxC t a hrC hmC |
| 95 | have hmT : ∀ b ∈ Section.StalkMap.Constructions.VectorGerms.vectorGerms V C x hxC (n + 1) tC, b ∈ IsLocalRing.maximalIdeal R := |
| 96 | VectorStepEuler.Constructions.tail_maximal V (n + 1) B C hCB x hxC t a hmC |
| 97 | have hiT : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)), c₂ D ≠ 0 → ∀ hxD : x ∈ (D.val : Set V.carrier), |
| 98 | PrimeSpectrum.zeroLocus (Ideal.ofList (Section.StalkMap.Constructions.VectorGerms.vectorGerms V C x hxC (n + 1) tC) : Set R) ∩ |
| 99 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R} := |
| 100 | VectorStepEuler.Constructions.filtered_step_isolated V p (n + 1) B C hCB x hxC r t a ha c hne hs hiOld |
| 101 | have hE : Local.Euler.Constructions.localCycleEuler V p x (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B x hxB ((n + 1) + 1) s) l c = |
| 102 | Local.Euler.Constructions.localCycleEuler V (p + 1) x (Section.StalkMap.Constructions.VectorGerms.vectorGerms V C x hxC (n + 1) tC) l c₂ := by |
| 103 | have h := VectorStepEuler.Constructions.filtered_step_euler V p (n + 1) B C hCB x hxC r t a ha c hne hs hrC hmC hiOld l hl |
| 104 | rw [heta] at h |
| 105 | exact h |
| 106 | obtain ⟨D, hDC, hxD, hformula⟩ := ih (p := p + 1) (hd := by omega) (c := c₂) (hc := hc₂) |
| 107 | (B := C) (hxB := hxC) (s := tC) (hr := hrT) (hm := hmT) (hi := hiT) (hl := by omega) |
| 108 | let N := Cycle.AtPoint.Constructions.pointNeighborhood V (p + 1) x c₁ C |
| 109 | refine ⟨D ⊓ N, inf_le_left.trans (hDC.trans hCB), |
| 110 | ⟨hxD, Cycle.AtPoint.Constructions.mem_pointNeighborhood V (p + 1) x c₁ C hxC⟩, ?_⟩ |
| 111 | have hstep := VectorLocalFormula.Constructions.localFormula_of_filtered_step V p (n + 1) d hd B C hCB x r t a ha c hne hs |
| 112 | (Finsupp.single Z (Local.Euler.Constructions.localCycleEuler V p x (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B x hxB ((n + 1) + 1) s) l c)) D hDC |
| 113 | rw [hE] at hstep |
| 114 | have hresult := hstep hformula |
| 115 | rw [heta, ← hE] at hresult |
| 116 | exact hresult |
| 117 | |
| 118 | end AlgebraicGeometry.CycleClass.Thom.IsolatedVector.Constructions.Class |
| 119 | |
| 120 | namespace AlgebraicGeometry.CycleClass.Thom.IsolatedVector.Constructions.ClassGeneral |
| 121 | |
| 122 | /-! The isolated section-vector formula for an arbitrary finite cycle. |
| 123 | Components away from the target generic point are removed on an actual |
| 124 | algebraic neighborhood, and their native local Euler terms are zero. -/ |
| 125 | |
| 126 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace RingTheory.Sequence |
| 127 | |
| 128 | open OAI.AlgebraicGeometry.CycleClass.Thom.VectorLocalFormula.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions.VectorGerms OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedVector.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.AtPoint.Constructions |
| 129 | open OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerFilter.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.VectorFilter.Constructions |
| 130 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 131 | |
| 132 | set_option backward.isDefEq.respectTransparency false |
| 133 | set_option backward.isDefEq.respectTransparency.types false |
| 134 | |
| 135 | theorem exists_local_vector_formula (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (d : ℕ) (Z : Geometric.DimensionCycles.DimensionCycleSupport V d) |
| 136 | (n p : ℕ) (hd : p + (n + 1) = d) (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 137 | (B : V.carrier.Opens) (hxB : IntersectionGeometry.supportPoint Z.val ∈ B) [Nonempty B] |
| 138 | (s : Fin (n + 1) → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) |
| 139 | (hr : IsWeaklyRegular (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val)) |
| 140 | (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B (IntersectionGeometry.supportPoint Z.val) hxB (n + 1) s)) |
| 141 | (hm : ∀ a ∈ Section.StalkMap.Constructions.VectorGerms.vectorGerms V B (IntersectionGeometry.supportPoint Z.val) hxB (n + 1) s, |
| 142 | a ∈ IsLocalRing.maximalIdeal (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val))) |
| 143 | (hi : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → ∀ hxD : IntersectionGeometry.supportPoint Z.val ∈ (D.val : Set V.carrier), |
| 144 | PrimeSpectrum.zeroLocus |
| 145 | (Ideal.ofList (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B (IntersectionGeometry.supportPoint Z.val) hxB (n + 1) s) : Set (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val))) ∩ |
| 146 | Module.support (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val)) |
| 147 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val (IntersectionGeometry.supportPoint Z.val) hxD) ⊆ |
| 148 | {IsLocalRing.closedPoint (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val))}) |
| 149 | (l : ℕ) (hl : n ≤ l) : |
| 150 | ∃ C : V.carrier.Opens, C ≤ B ∧ IntersectionGeometry.supportPoint Z.val ∈ C ∧ |
| 151 | VectorLocalFormula.Constructions.HasLocalVectorFormula V B p (n + 1) d hd s c |
| 152 | (Finsupp.single Z (Local.Euler.Constructions.localCycleEuler V p (IntersectionGeometry.supportPoint Z.val) |
| 153 | (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B (IntersectionGeometry.supportPoint Z.val) hxB (n + 1) s) l c)) C := by |
| 154 | let x := IntersectionGeometry.supportPoint Z.val |
| 155 | let c₀ := Cycle.AtPoint.Constructions.cycleAtPoint V p x c |
| 156 | have hc₀ : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c₀ D ≠ 0 → x ∈ (D.val : Set V.carrier) := |
| 157 | fun D hD => (Cycle.AtPoint.Constructions.cycleAtPoint_ne_zero V p x c D hD).2 |
| 158 | have hi₀ := fun (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c₀ D ≠ 0) => |
| 159 | hi D (Cycle.AtPoint.Constructions.cycleAtPoint_ne_zero V p x c D hD).1 |
| 160 | obtain ⟨C, hCB, hxC, hformula⟩ := |
| 161 | Class.exists_local_vector_formula V d Z n p hd c₀ hc₀ B hxB s hr hm hi₀ l hl |
| 162 | let N := Cycle.AtPoint.Constructions.pointNeighborhood V p x c B |
| 163 | refine ⟨C ⊓ N, inf_le_left.trans hCB, ⟨hxC, Cycle.AtPoint.Constructions.mem_pointNeighborhood V p x c B hxB⟩, ?_⟩ |
| 164 | intro U hUN hUB L u hu hcu |
| 165 | have hUC : (U : Set V.analyticSpace) ⊆ Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver C := fun _ hy => (hUN hy).1 |
| 166 | have hUP : (U : Set V.analyticSpace) ⊆ Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver N := fun _ hy => (hUN hy).2 |
| 167 | have h := hformula U hUC hUB u hu (fun D hD => hcu D (Cycle.AtPoint.Constructions.cycleAtPoint_ne_zero V p x c D hD).1) |
| 168 | have hE := Local.EulerFilter.Constructions.localCycleEuler_cycleAtPoint V p x (Section.StalkMap.Constructions.VectorGerms.vectorGerms V B x hxB (n + 1) s) l c |
| 169 | rw [hE] at h |
| 170 | exact (Cycle.VectorFilter.Constructions.cycleVectorClassAt_cycleAtPoint V B U hUB u p (n + 1) d hd s hu c x B hUP hcu).trans h |
| 171 | |
| 172 | end AlgebraicGeometry.CycleClass.Thom.IsolatedVector.Constructions.ClassGeneral |
| 173 | |
| 174 | end |
| 175 | |
| 176 | end OAI |