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.CupPrincipalGeneral |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SupportSectionGerm |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalIntersectionCoefficient |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Integral.ProductSupport |
| 5 | |
| 6 | /-! # Stalk Nonvanishing -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.CycleClass.Thom.Section.StalkNonvanishing.Constructions.StepIntersectionCoefficient |
| 13 | |
| 14 | /-! The canonical section step has the original Serre--Tor coefficient |
| 15 | where the first support has the actual section germ as its stalk ideal. |
| 16 | The ambient open is arbitrary. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalGeneral.Constructions.Step OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SupportSectionGerm.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalIntersectionCoefficient.Constructions |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.Integral.ProductSupport.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 : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 28 | (B : V.carrier.Opens) [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 29 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (hs : Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 30 | |
| 31 | theorem parentFunction_eq_supportStalk_germ (x : V.carrier) (hxD : x ∈ (D.val : Set V.carrier)) (hxB : x ∈ B) : |
| 32 | Affine.SectionFunction.Constructions.parentSectionFunction D B s = algebraMap (D.scheme.presheaf.stalk (IntersectionGeometry.supportPreimage D.val x hxD)) |
| 33 | D.scheme.functionField (SupportStalkModule.Constructions.supportStalkMap V.carrier D.val x hxD (V.carrier.presheaf.germ B x hxB (B.topIso.hom s))) := by |
| 34 | let : Nonempty (D.inclusion ⁻¹ᵁ B) := |
| 35 | ⟨⟨IntersectionGeometry.supportPreimage D.val x hxD, SupportSectionGerm.Constructions.supportPreimage_mem_open V.carrier D.val x hxD B hxB⟩⟩ |
| 36 | exact SupportSectionGerm.Constructions.restrictedFunction_eq_supportStalk_germ V.carrier D.val x hxD B hxB (B.topIso.hom s) |
| 37 | |
| 38 | include hs in |
| 39 | theorem section_supportStalk_ne_zero (x : V.carrier) (hxD : x ∈ (D.val : Set V.carrier)) (hxB : x ∈ B) : |
| 40 | SupportStalkModule.Constructions.supportStalkMap V.carrier D.val x hxD (V.carrier.presheaf.germ B x hxB (B.topIso.hom s)) ≠ 0 := by |
| 41 | intro hz |
| 42 | apply hs |
| 43 | exact (parentFunction_eq_supportStalk_germ D B s x hxD hxB).trans (by rw [hz, map_zero]) |
| 44 | |
| 45 | theorem intersectionMultiplicity_eq_stepCoefficient (A : IrreducibleCloseds V.carrier) |
| 46 | (C : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)) |
| 47 | (hxA : IntersectionGeometry.supportPoint C.val ∈ (A : Set V.carrier)) |
| 48 | (hxD : IntersectionGeometry.supportPoint C.val ∈ (D.val : Set V.carrier)) |
| 49 | (hxB : IntersectionGeometry.supportPoint C.val ∈ B) |
| 50 | (hA : RingHom.ker (SupportStalkModule.Constructions.supportStalkMap V.carrier A (IntersectionGeometry.supportPoint C.val) hxA).hom = |
| 51 | Ideal.span {V.carrier.presheaf.germ B (IntersectionGeometry.supportPoint C.val) hxB (B.topIso.hom s)}) : |
| 52 | IntersectionGeometry.intersectionMultiplicity V.presentation A D.val C.val = CupPrincipalGeneral.Constructions.Step.principalStep D B s hs C := by |
| 53 | rw [CupPrincipalGeneral.Constructions.Step.principalStep_coefficient] |
| 54 | apply PrincipalIntersectionCoefficient.Constructions.intersectionMultiplicity_eq_principalDivisorCoefficient_of_codimension |
| 55 | V.presentation A D.val C.val hxA hxD _ |
| 56 | (V.carrier.presheaf.germ B (IntersectionGeometry.supportPoint C.val) hxB (B.topIso.hom s)) hA |
| 57 | (section_supportStalk_ne_zero D B s hs (IntersectionGeometry.supportPoint C.val) hxD hxB) |
| 58 | (Affine.SectionFunction.Constructions.parentSectionFunction D B s) (parentFunction_eq_supportStalk_germ D B s (IntersectionGeometry.supportPoint C.val) hxD hxB) |
| 59 | rw [Integral.ProductSupport.Constructions.integralPresentation_supportCodimension, Integral.ProductSupport.Constructions.integralPresentation_supportCodimension, D.property] |
| 60 | exact C.property |
| 61 | |
| 62 | end AlgebraicGeometry.CycleClass.Thom.Section.StalkNonvanishing.Constructions.StepIntersectionCoefficient |
| 63 | |
| 64 | namespace AlgebraicGeometry.CycleClass.Thom.Section.StalkNonvanishing.Constructions |
| 65 | |
| 66 | /-! Nonvanishing of a section on an original parent cycle is equivalent |
| 67 | to nonvanishing of its actual reduced-support germ at any retained point. -/ |
| 68 | |
| 69 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 70 | |
| 71 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.StalkNonvanishing.Constructions.StepIntersectionCoefficient OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions |
| 72 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions |
| 73 | |
| 74 | set_option backward.isDefEq.respectTransparency false |
| 75 | set_option backward.isDefEq.respectTransparency.types false |
| 76 | |
| 77 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 78 | (B : V.carrier.Opens) [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 79 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) |
| 80 | |
| 81 | theorem parentFunction_ne_zero_iff (x : V.carrier) (hxD : x ∈ (D.val : Set V.carrier)) (hxB : x ∈ B) : |
| 82 | Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0 ↔ |
| 83 | SupportStalkModule.Constructions.supportStalkMap V.carrier D.val x hxD (V.carrier.presheaf.germ B x hxB (B.topIso.hom s)) ≠ 0 := by |
| 84 | rw [StepIntersectionCoefficient.parentFunction_eq_supportStalk_germ D B s x hxD hxB] |
| 85 | exact map_ne_zero_iff _ (IsFractionRing.injective _ _) |
| 86 | |
| 87 | end AlgebraicGeometry.CycleClass.Thom.Section.StalkNonvanishing.Constructions |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI |