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.Finite.SectionEuler |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalStepIsolation |
| 3 | |
| 4 | /-! # Section Step Isolation -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepIsolation.Constructions |
| 11 | |
| 12 | /-! The native isolated-intersection condition passes to every |
| 13 | nonzero component of the actual finite section-step cycle. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped Classical |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalGeneral.Constructions.Step OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.CycleSectionClass.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepCoefficients.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalStepIsolation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions.Principal |
| 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 : ℕ) (B : V.carrier.Opens) |
| 26 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (x : V.carrier) (hxB : x ∈ B) |
| 27 | (U : Opens V.analyticSpace) {L : Type} (u : L → U) (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 28 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → |
| 29 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ Set.range u) |
| 30 | (hne : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)) |
| 31 | (hs : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0), letI := hne D hD |
| 32 | Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 33 | |
| 34 | local notation "R" => V.carrier.presheaf.stalk x |
| 35 | local notation "r" => V.carrier.presheaf.germ B x hxB (B.topIso.hom s) |
| 36 | |
| 37 | theorem cycleSectionStep_isolated_tail (rs : List R) |
| 38 | (hi : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → ∀ hxD : x ∈ (D.val : Set V.carrier), |
| 39 | PrimeSpectrum.zeroLocus (Ideal.ofList (r :: rs) : Set R) ∩ |
| 40 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R}) |
| 41 | (C : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)) |
| 42 | (hC : CycleSectionClass.Constructions.cycleSectionStep V p B s U u c hc hne hs C ≠ 0) (hxC : x ∈ (C.val : Set V.carrier)) : |
| 43 | PrimeSpectrum.zeroLocus (Ideal.ofList rs : Set R) ∩ |
| 44 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier C.val x hxC) ⊆ {IsLocalRing.closedPoint R} := by |
| 45 | rw [SectionStepCoefficients.Constructions.cycleSectionStep_coefficient] at hC |
| 46 | obtain ⟨D, _, hD⟩ := Finset.exists_ne_zero_of_sum_ne_zero hC |
| 47 | let hcoef := Finsupp.mem_support_iff.mp D.property |
| 48 | let := hne D.val hcoef |
| 49 | have horder : IntersectionGeometry.principalDivisorCoefficient V.presentation D.val.val (Affine.SectionFunction.Constructions.parentSectionFunction D.val B s) C.val ≠ 0 := |
| 50 | (mul_ne_zero_iff.mp hD).2 |
| 51 | have hCD := (Section.ClosedSupport.Constructions.Principal.principalCoefficient_support D.val B s C.val horder).1 |
| 52 | have hstep : Section.CupPrincipalGeneral.Constructions.Step.principalStep D.val B s (hs D.val hcoef) C ≠ 0 := by |
| 53 | rw [Section.CupPrincipalGeneral.Constructions.Step.principalStep_coefficient] |
| 54 | exact horder |
| 55 | exact PrincipalStepIsolation.Constructions.principalStep_isolated_tail V D.val B s (hs D.val hcoef) x (hCD hxC) hxB C hxC hstep rs |
| 56 | (hi D.val hcoef (hCD hxC)) |
| 57 | |
| 58 | end AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepIsolation.Constructions |
| 59 | |
| 60 | namespace AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepIsolation.Constructions.ReferencePrincipalSum |
| 61 | |
| 62 | /-! Original principal-step sums without auxiliary analytic-support |
| 63 | parameters, retaining their exact coefficients and local Tor recursion. -/ |
| 64 | |
| 65 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace RingTheory.Sequence |
| 66 | open scoped Classical |
| 67 | |
| 68 | open OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionEuler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.CycleSectionClass.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepIsolation.Constructions |
| 69 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalGeneral.Constructions.Step OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions.Principal OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme |
| 70 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 71 | |
| 72 | set_option backward.isDefEq.respectTransparency false |
| 73 | set_option backward.isDefEq.respectTransparency.types false |
| 74 | |
| 75 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) (B : V.carrier.Opens) (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) |
| 76 | (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 77 | (hne : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)) |
| 78 | (hs : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0), letI := hne D hD |
| 79 | Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 80 | |
| 81 | theorem exists_parent_of_step_coefficient (C : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)) |
| 82 | (hC : SectionEuler.Constructions.originalPrincipalStepSum V p B s c hne hs C ≠ 0) : |
| 83 | ∃ D : c.support, letI := hne D.val (Finsupp.mem_support_iff.mp D.property) |
| 84 | Section.CupPrincipalGeneral.Constructions.Step.principalStep D.val B s (hs D.val (Finsupp.mem_support_iff.mp D.property)) C ≠ 0 := by |
| 85 | rw [SectionEuler.Constructions.originalPrincipalStepSum, Finsupp.finsetSum_apply] at hC |
| 86 | obtain ⟨D, _, hD⟩ := Finset.exists_ne_zero_of_sum_ne_zero hC |
| 87 | let := hne D.val (Finsupp.mem_support_iff.mp D.property) |
| 88 | refine ⟨D, ?_⟩ |
| 89 | change c D.val * Section.CupPrincipalGeneral.Constructions.Step.principalStep D.val B s (hs D.val (Finsupp.mem_support_iff.mp D.property)) C ≠ 0 at hD |
| 90 | exact (mul_ne_zero_iff.mp hD).2 |
| 91 | |
| 92 | theorem step_support (F : Closeds V.carrier) |
| 93 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → (D.val : Set V.carrier) ⊆ F) |
| 94 | (C : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)) (hC : SectionEuler.Constructions.originalPrincipalStepSum V p B s c hne hs C ≠ 0) : |
| 95 | (C.val : Set V.carrier) ⊆ F ∧ |
| 96 | ∀ x : V.carrier, x ∈ (C.val : Set V.carrier) → x ∉ V.carrier.basicOpen (B.topIso.hom s) := by |
| 97 | obtain ⟨D, hD⟩ := exists_parent_of_step_coefficient V p B s c hne hs C hC |
| 98 | let := hne D.val (Finsupp.mem_support_iff.mp D.property) |
| 99 | rw [Section.CupPrincipalGeneral.Constructions.Step.principalStep_coefficient] at hD |
| 100 | obtain ⟨hCD, hz⟩ := Section.ClosedSupport.Constructions.Principal.principalCoefficient_support D.val B s C.val hD |
| 101 | exact ⟨hCD.trans (hc D.val (Finsupp.mem_support_iff.mp D.property)), hz⟩ |
| 102 | |
| 103 | variable (x : V.carrier) (hxB : x ∈ B) (rs : List (V.carrier.presheaf.stalk x)) |
| 104 | |
| 105 | local notation "R" => V.carrier.presheaf.stalk x |
| 106 | local notation "r" => V.carrier.presheaf.germ B x hxB (B.topIso.hom s) |
| 107 | |
| 108 | theorem localCycleEuler_step (hr : IsWeaklyRegular R (r :: rs)) |
| 109 | (hm : ∀ a ∈ r :: rs, a ∈ IsLocalRing.maximalIdeal R) |
| 110 | (hi : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → ∀ hxD : x ∈ (D.val : Set V.carrier), |
| 111 | PrimeSpectrum.zeroLocus (Ideal.ofList (r :: rs) : Set R) ∩ |
| 112 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R}) |
| 113 | (d : ℕ) (hd : rs.length ≤ d) : |
| 114 | Local.Euler.Constructions.localCycleEuler V p x (r :: rs) d c = |
| 115 | Local.Euler.Constructions.localCycleEuler V (p + 1) x rs d (SectionEuler.Constructions.originalPrincipalStepSum V p B s c hne hs) := by |
| 116 | let U : Opens V.analyticSpace := ⊤ |
| 117 | let u : U → U := id |
| 118 | have hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → |
| 119 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ Set.range u := |
| 120 | fun _ _ z _ => ⟨z, rfl⟩ |
| 121 | have h := SectionEuler.Constructions.localCycleEuler_sectionStep V p B s x hxB U u c hc hne hs rs hr hm hi d hd |
| 122 | rwa [SectionEuler.Constructions.cycleSectionStep_eq_sum] at h |
| 123 | |
| 124 | theorem isolated_tail |
| 125 | (hi : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p), c D ≠ 0 → ∀ hxD : x ∈ (D.val : Set V.carrier), |
| 126 | PrimeSpectrum.zeroLocus (Ideal.ofList (r :: rs) : Set R) ∩ |
| 127 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD) ⊆ {IsLocalRing.closedPoint R}) |
| 128 | (C : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)) (hC : SectionEuler.Constructions.originalPrincipalStepSum V p B s c hne hs C ≠ 0) |
| 129 | (hxC : x ∈ (C.val : Set V.carrier)) : |
| 130 | PrimeSpectrum.zeroLocus (Ideal.ofList rs : Set R) ∩ |
| 131 | Module.support R (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier C.val x hxC) ⊆ {IsLocalRing.closedPoint R} := by |
| 132 | obtain ⟨D, hD⟩ := exists_parent_of_step_coefficient V p B s c hne hs C hC |
| 133 | let hcoef := Finsupp.mem_support_iff.mp D.property |
| 134 | let := hne D.val hcoef |
| 135 | have horder := hD |
| 136 | rw [Section.CupPrincipalGeneral.Constructions.Step.principalStep_coefficient] at horder |
| 137 | have hCD := (Section.ClosedSupport.Constructions.Principal.principalCoefficient_support D.val B s C.val horder).1 |
| 138 | exact PrincipalStepIsolation.Constructions.principalStep_isolated_tail V D.val B s (hs D.val hcoef) x (hCD hxC) hxB |
| 139 | C hxC hD rs (hi D.val hcoef (hCD hxC)) |
| 140 | |
| 141 | end AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepIsolation.Constructions.ReferencePrincipalSum |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI |