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.IsolatedSectionNonzero |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.VectorOneStep |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.PointConcentration |
| 4 | |
| 5 | /-! # Isolated One Section -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedOneSection.Constructions.Class |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Complete local one-equation class formula: the actual cycle-vector |
| 12 | class near the target generic point is its original target cycle with |
| 13 | the native Tor Euler coefficient. Nonvanishing is derived from isolation. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace RingTheory.Sequence |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.Affine.NormalizationNeighborhood.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedSectionNonzero.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionEuler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.SectionStepIsolation.Constructions.ReferencePrincipalSum OAI.AlgebraicGeometry.CycleClass.Thom.Local.Euler.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Local.EulerEmpty.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.Vector.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.VectorOneStep.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.PointConcentration.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.AtPoint.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.CycleSectionClass.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.Class |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | |
| 27 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) (Z : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)) |
| 28 | (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 29 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → IntersectionGeometry.supportPoint Z.val ∈ (D.val : Set V.carrier)) |
| 30 | (B : V.carrier.Opens) (hxB : IntersectionGeometry.supportPoint Z.val ∈ B) |
| 31 | |
| 32 | include hc hxB in |
| 33 | theorem sourceNonempty (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0) : |
| 34 | Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B) := |
| 35 | Affine.NormalizationNeighborhood.Constructions.normalizationBase_nonempty D B (IntersectionGeometry.supportPoint Z.val) (hc D hD) hxB |
| 36 | |
| 37 | variable (r : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) |
| 38 | |
| 39 | local notation "x" => OAI.AlgebraicGeometry.CycleClass.Thom.IntersectionGeometry.supportPoint Z.val |
| 40 | local notation "R" => V.carrier.presheaf.stalk (OAI.AlgebraicGeometry.CycleClass.Thom.IntersectionGeometry.supportPoint Z.val) |
| 41 | local notation "t" => V.carrier.presheaf.germ B (OAI.AlgebraicGeometry.CycleClass.Thom.IntersectionGeometry.supportPoint Z.val) hxB (B.topIso.hom r) |
| 42 | |
| 43 | variable (hi : ∀ (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0), |
| 44 | PrimeSpectrum.zeroLocus |
| 45 | (Ideal.ofList [V.carrier.presheaf.germ B (IntersectionGeometry.supportPoint Z.val) hxB (B.topIso.hom r)] : |
| 46 | Set (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val))) ∩ |
| 47 | Module.support (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val)) |
| 48 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val (IntersectionGeometry.supportPoint Z.val) (hc D hD)) ⊆ |
| 49 | {IsLocalRing.closedPoint (V.carrier.presheaf.stalk (IntersectionGeometry.supportPoint Z.val))}) |
| 50 | |
| 51 | include hi in |
| 52 | theorem sectionNonzero (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : c D ≠ 0) : |
| 53 | letI := sourceNonempty V p Z c hc B hxB D hD |
| 54 | Affine.SectionFunction.Constructions.parentSectionFunction D B r ≠ 0 := by |
| 55 | let := sourceNonempty V p Z c hc B hxB D hD |
| 56 | exact IsolatedSectionNonzero.Constructions.parentFunction_ne_zero V p (p + 1) D Z (Nat.lt_succ_self p) (hc D hD) B hxB r (hi D hD) |
| 57 | |
| 58 | local notation "hne" => OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedOneSection.Constructions.Class.sourceNonempty V p Z c hc B hxB |
| 59 | local notation "hs" => OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedOneSection.Constructions.Class.sectionNonzero V p Z c hc B hxB r hi |
| 60 | |
| 61 | def oneSectionStep : Geometric.DimensionCycles.RationalDimensionCycle V (p + 1) := Finite.SectionEuler.Constructions.originalPrincipalStepSum V p B r c hne hs |
| 62 | |
| 63 | local notation "c₁" => OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedOneSection.Constructions.Class.oneSectionStep V p Z c hc B hxB r hi |
| 64 | |
| 65 | theorem oneSectionStep_coefficient (hr : IsWeaklyRegular R [t]) |
| 66 | (hm : ∀ a ∈ [t], a ∈ IsLocalRing.maximalIdeal R) (l : ℕ) : |
| 67 | c₁ Z = Local.Euler.Constructions.localCycleEuler V p x [t] l c := by |
| 68 | have he := Finite.SectionStepIsolation.Constructions.ReferencePrincipalSum.localCycleEuler_step V p B r c hne hs x hxB [] hr hm (fun D hD _ => hi D hD) l (Nat.zero_le l) |
| 69 | exact (he.trans (Local.EulerEmpty.Constructions.localCycleEuler_empty V (p + 1) Z c₁ l)).symm |
| 70 | |
| 71 | variable [Nonempty B] |
| 72 | |
| 73 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 74 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 75 | |
| 76 | variable (U : Opens V.analyticSpace) |
| 77 | (hU : (U : Set V.analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B))) |
| 78 | {L : Type} (u : L → U) (hu : IsOpen (Set.range u)ᶜ) |
| 79 | (hcu : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → |
| 80 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ Set.range u) |
| 81 | |
| 82 | local notation "s" => (fun _ : Fin 1 => r) |
| 83 | local notation "S" => OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.Vector.Constructions.Class.vectorIntersectionSupport V B U hU u 1 s |
| 84 | |
| 85 | include hcu in |
| 86 | theorem oneSectionStep_supported (D : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)) (hD : c₁ D ≠ 0) : |
| 87 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S := by |
| 88 | have hd : Finite.CycleSectionClass.Constructions.cycleSectionStep V p B r U u c hcu hne hs D ≠ 0 := by |
| 89 | rw [Finite.SectionEuler.Constructions.cycleSectionStep_eq_sum] |
| 90 | exact hD |
| 91 | have h := Finite.CycleSectionClass.Constructions.cycleSectionStep_supported V p B r U hU u c hcu hne hs D hd |
| 92 | change (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ |
| 93 | Set.range u ∩ Set.range (BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B) U hU 1 s) |
| 94 | rw [BaseVectorNormal.Constructions.Class.vectorZeroImage_one] |
| 95 | exact h |
| 96 | |
| 97 | include hcu in |
| 98 | theorem cycleVectorClass_singleEuler (hr : IsWeaklyRegular R [t]) |
| 99 | (hm : ∀ a ∈ [t], a ∈ IsLocalRing.maximalIdeal R) (l : ℕ) |
| 100 | (hPoint : (U : Set V.analyticSpace) ⊆ Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver (Cycle.AtPoint.Constructions.pointNeighborhood V (p + 1) x c₁ B)) : |
| 101 | Cycle.Vector.Constructions.Class.cycleVectorClassAt V B U hU u p 1 (p + 1) rfl s hu c = |
| 102 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S (p + 1) |
| 103 | (Open.SupportedLift.Constructions.restrictCycle V U S (p + 1) (Finsupp.single Z (Local.Euler.Constructions.localCycleEuler V p x [t] l c))) := by |
| 104 | have hbase := Cycle.VectorOneStep.Constructions.cycleVectorClass_one V p B r U hU u hu c hcu hne hs |
| 105 | have hconc := PointConcentration.Constructions.relativeClass_eq_single_near_generic V (p + 1) Z c₁ B U hPoint S |
| 106 | (oneSectionStep_supported V p Z c hc B hxB r hi U hU u hcu) |
| 107 | have hcoef := oneSectionStep_coefficient V p Z c hc B hxB r hi hr hm l |
| 108 | exact hbase.trans (hconc.trans (congrArg (fun a : ℚ => |
| 109 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S (p + 1) (Open.SupportedLift.Constructions.restrictCycle V U S (p + 1) (Finsupp.single Z a))) hcoef)) |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.CycleClass.Thom.IsolatedOneSection.Constructions.Class |