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.Section.StalkMap |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepIsolation |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerIdeal |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerFilter |
| 5 | |
| 6 | /-! # Vector Step Euler -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.VectorStepEuler.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The exact native Tor recursion for an elementary section-head |
| 13 | change followed by the original principal cycle and point filtering. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace RingTheory.Sequence |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions.VectorGerms OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.BaseRestriction.Constructions.HeadDifference OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.AtPoint.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepIsolation.Constructions.ReferencePrincipalSum OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionEuler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerIdeal.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerFilter.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.ResidualTailAmbientEuler.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p n : ℕ) (B C : V.carrier.Opens) (hCB : C ≤ B) |
| 26 | (x : V.carrier) (hxC : x ∈ C) (r : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) |
| 27 | (s : Fin n → Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (a : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase C).left, ⊤)) |
| 28 | (ha : a - Section.BaseRestriction.Constructions.HeadDifference.restrictSection V B C hCB r ∈ Ideal.span (Set.range (fun i => Section.BaseRestriction.Constructions.HeadDifference.restrictSection V B C hCB (s i)))) |
| 29 | (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 30 | (hne : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ C)) |
| 31 | (hs : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0), letI := hne D hD |
| 32 | Affine.SectionFunction.Constructions.parentSectionFunction D C a ≠ 0) |
| 33 | |
| 34 | local notation "R" => V.carrier.presheaf.stalk x |
| 35 | local notation "sC" => (fun i => OAI.AlgebraicGeometry.CycleClass.Thom.Section.BaseRestriction.Constructions.HeadDifference.restrictSection V B C hCB (s i)) |
| 36 | local notation "old" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions.VectorGerms.vectorGerms V B x (hCB hxC) (n + 1) (Fin.cons r s) |
| 37 | local notation "new" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions.VectorGerms.vectorGerms V C x hxC (n + 1) (Fin.cons a sC) |
| 38 | local notation "tail" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkMap.Constructions.VectorGerms.vectorGerms V C x hxC n sC |
| 39 | local notation "c₁" => OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionEuler.Constructions.originalPrincipalStepSum V p C a c hne hs |
| 40 | local notation "c₂" => OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.AtPoint.Constructions.cycleAtPoint V (p + 1) x c₁ |
| 41 | |
| 42 | include ha in |
| 43 | theorem changed_isolated |
| 44 | (hi : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → ∀ hxD : x ∈ (D.val : Set V.carrier), |
| 45 | PrimeSpectrum.zeroLocus (Ideal.ofList old : Set R) ∩ |
| 46 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R}) |
| 47 | (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0) (hxD : x ∈ (D.val : Set V.carrier)) : |
| 48 | PrimeSpectrum.zeroLocus (Ideal.ofList new : Set R) ∩ |
| 49 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R} := by |
| 50 | rw [Section.StalkMap.Constructions.VectorGerms.vectorGerms_head_ideal V B C hCB x hxC n r s a ha] |
| 51 | exact hi D hD hxD |
| 52 | |
| 53 | theorem tail_regular (hr : IsWeaklyRegular R new) |
| 54 | (hm : ∀ b ∈ new, b ∈ IsLocalRing.maximalIdeal R) : IsWeaklyRegular R tail := by |
| 55 | rw [Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons] at hr hm |
| 56 | exact ResidualTailAmbientEuler.Constructions.regular_tail_ambient R (Section.StalkMap.Constructions.sectionStalkMap V C x hxC a) tail hr hm |
| 57 | |
| 58 | theorem tail_maximal (hm : ∀ b ∈ new, b ∈ IsLocalRing.maximalIdeal R) : |
| 59 | ∀ b ∈ tail, b ∈ IsLocalRing.maximalIdeal R := by |
| 60 | rw [Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons] at hm |
| 61 | exact fun b hb => hm b (List.mem_cons_of_mem _ hb) |
| 62 | |
| 63 | include ha in |
| 64 | theorem filtered_step_isolated |
| 65 | (hi : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → ∀ hxD : x ∈ (D.val : Set V.carrier), |
| 66 | PrimeSpectrum.zeroLocus (Ideal.ofList old : Set R) ∩ |
| 67 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R}) |
| 68 | (D : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)) (hD : c₂ D ≠ 0) (hxD : x ∈ (D.val : Set V.carrier)) : |
| 69 | PrimeSpectrum.zeroLocus (Ideal.ofList tail : Set R) ∩ |
| 70 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R} := by |
| 71 | have hnew := changed_isolated V p n B C hCB x hxC r s a ha c hi |
| 72 | simp only [Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons] at hnew |
| 73 | exact Finite.SectionStepIsolation.Constructions.ReferencePrincipalSum.isolated_tail V p C a c hne hs x hxC tail hnew D |
| 74 | (Cycle.AtPoint.Constructions.cycleAtPoint_ne_zero V (p + 1) x c₁ D hD).1 hxD |
| 75 | |
| 76 | include ha in |
| 77 | theorem filtered_step_euler (hr : IsWeaklyRegular R new) |
| 78 | (hm : ∀ b ∈ new, b ∈ IsLocalRing.maximalIdeal R) |
| 79 | (hi : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → ∀ hxD : x ∈ (D.val : Set V.carrier), |
| 80 | PrimeSpectrum.zeroLocus (Ideal.ofList old : Set R) ∩ |
| 81 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R}) |
| 82 | (l : ℕ) (hl : n ≤ l) : |
| 83 | Local.Euler.Constructions.localCycleEuler V p x old l c = Local.Euler.Constructions.localCycleEuler V (p + 1) x tail l c₂ := by |
| 84 | have he := Section.StalkMap.Constructions.VectorGerms.vectorGerms_head_ideal V B C hCB x hxC n r s a ha |
| 85 | have hideal := LinearMap.congr_fun (Local.EulerIdeal.Constructions.localCycleEuler_ideal_eq V p x old new he.symm l) c |
| 86 | have hnew := changed_isolated V p n B C hCB x hxC r s a ha c hi |
| 87 | rw [Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons] at hr hm hnew |
| 88 | have hstep := Finite.SectionStepIsolation.Constructions.ReferencePrincipalSum.localCycleEuler_step V p C a c hne hs x hxC tail hr hm hnew l |
| 89 | ((Section.StalkMap.Constructions.VectorGerms.vectorGerms_length V C x hxC n sC).le.trans hl) |
| 90 | have hstep' : Local.Euler.Constructions.localCycleEuler V p x new l c = Local.Euler.Constructions.localCycleEuler V (p + 1) x tail l c₁ := by |
| 91 | rw [Section.StalkMap.Constructions.VectorGerms.vectorGerms_cons] |
| 92 | change Local.Euler.Constructions.localCycleEuler V p x |
| 93 | (V.carrier.presheaf.germ C x hxC (C.topIso.hom a) :: tail) l c = _ |
| 94 | exact hstep |
| 95 | exact hideal.trans (hstep'.trans (Local.EulerFilter.Constructions.localCycleEuler_cycleAtPoint V (p + 1) x tail l c₁).symm) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.CycleClass.Thom.VectorStepEuler.Constructions |