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.ReferenceSectionEulerStep |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSourceEquiv |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientPoints |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.OrderMinimalPrime |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Thom.Relative.SupportCodimension |
| 6 | |
| 7 | /-! # Residual Equiv -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ResidualEquiv.Constructions |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual residual minimal primes are exactly the nonzero |
| 14 | original section-step supports through the chosen scheme point. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped Classical |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.ReferenceSectionEulerStep.Constructions.Reference OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSourceEquiv.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientPoints.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientCodimension.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientSectionOrder.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.OrderMinimalPrime.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Relative.SupportCodimension.Constructions |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalGeneral.Constructions.Step OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 23 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions.Principal |
| 24 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.SourceOrderStep OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.SchemeOrderStep OAI.AlgebraicGeometry.CycleClass.Thom.Integral.ProductSupport.Constructions |
| 25 | |
| 26 | set_option backward.isDefEq.respectTransparency false |
| 27 | set_option backward.isDefEq.respectTransparency.types false |
| 28 | |
| 29 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 30 | (B : V.carrier.Opens) [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 31 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (hs : Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 32 | (x : V.carrier) (hxD : x ∈ (D.val : Set V.carrier)) (hxB : x ∈ B) |
| 33 | |
| 34 | local notation "R" => V.carrier.presheaf.stalk x |
| 35 | local notation "P" => PrimeSpectrum.asIdeal (OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.kernelPrime V.carrier D.val x hxD) |
| 36 | local notation "Q" => OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme.quotientRing V.carrier D.val x hxD |
| 37 | local notation "r" => V.carrier.presheaf.germ B x hxB (B.topIso.hom s) |
| 38 | local notation "hn" => OAI.AlgebraicGeometry.CycleClass.Thom.ReferenceSectionEulerStep.Constructions.Reference.sectionQuotientRegular V D B s hs x hxD hxB |
| 39 | local notation "F" => OAI.AlgebraicGeometry.CycleClass.Thom.ResidualSupport.Constructions.residualCycleSupport V D x hxD r hn |
| 40 | |
| 41 | local instance : Ideal.IsPrime P := (StalkPrimeQuotient.Constructions.kernelPrime V.carrier D.val x hxD).isPrime |
| 42 | |
| 43 | theorem residualCycleSupport_injective : Function.Injective F := by |
| 44 | intro t u h |
| 45 | apply ResidualSourceEquiv.Constructions.residualSourcePrime_injective R P r |
| 46 | apply SupportQuotientPoints.Constructions.quotientSupport_injective V.carrier D.val x hxD |
| 47 | exact congrArg Subtype.val h |
| 48 | |
| 49 | theorem residualCycleSupport_nonzero (t : TorAlgebra.SourceOrderStep.ResidualComponent R P r) : |
| 50 | Section.CupPrincipalGeneral.Constructions.Step.principalStep D B s hs (F t) ≠ 0 := by |
| 51 | rw [← ResidualSupport.Constructions.residualCycleSupport_coefficient V D x hxD r hn B s hs hxB rfl t] |
| 52 | have h := (Affine.OrderMinimalPrime.Constructions.schemeOrder_ne_zero_iff_minimal Q (algebraMap R Q r) |
| 53 | (TorAlgebra.SchemeOrderStep.equation_image_ne_zero R P r hn) (TorAlgebra.SourceOrderStep.residualSourcePrime R P r t) |
| 54 | (TorAlgebra.SchemeOrderStep.source_prime_height_one R P r t hn)).mpr (ResidualSourceEquiv.Constructions.residualSourcePrime_minimal R P r t) |
| 55 | exact_mod_cast h |
| 56 | |
| 57 | theorem residualCycleSupport_contains (t : TorAlgebra.SourceOrderStep.ResidualComponent R P r) : |
| 58 | x ∈ ((F t).val : Set V.carrier) := |
| 59 | SupportQuotientPoints.Constructions.point_mem_quotientSupport V.carrier D.val x hxD (TorAlgebra.SourceOrderStep.residualSourcePrime R P r t) |
| 60 | |
| 61 | theorem exists_residualCycleSupport (C : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1)) |
| 62 | (hxC : x ∈ (C.val : Set V.carrier)) (hC : Section.CupPrincipalGeneral.Constructions.Step.principalStep D B s hs C ≠ 0) : |
| 63 | ∃ t : TorAlgebra.SourceOrderStep.ResidualComponent R P r, F t = C := by |
| 64 | have hcoef := hC |
| 65 | rw [Section.CupPrincipalGeneral.Constructions.Step.principalStep_coefficient] at hcoef |
| 66 | have hCD := (Section.ClosedSupport.Constructions.Principal.principalCoefficient_support D B s C.val hcoef).1 |
| 67 | obtain ⟨q, hqC⟩ := SupportQuotientPoints.Constructions.exists_quotientSupport V.carrier D.val x hxD C.val hCD hxC |
| 68 | have hd : V.presentation.supportCodimension (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport V.carrier D.val x hxD q) = |
| 69 | V.presentation.supportCodimension D.val + 1 := by |
| 70 | rw [hqC, Integral.ProductSupport.Constructions.integralPresentation_supportCodimension, Integral.ProductSupport.Constructions.integralPresentation_supportCodimension, |
| 71 | C.property, D.property] |
| 72 | have hc := Relative.SupportCodimension.Constructions.supportPreimage_coheight_one V.presentation D.val |
| 73 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport V.carrier D.val x hxD q) (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport_mem_parent V.carrier D.val x hxD q) hd |
| 74 | rw [← StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport_preimage] at hc |
| 75 | have hqh : Order.coheight q = 1 := |
| 76 | (SupportQuotientCodimension.Constructions.quotientSupportMap_coheight V.carrier D.val x hxD q).symm.trans hc |
| 77 | have hheight : q.asIdeal.height = 1 := (idealHeight_eq_coheight (.of Q) q).trans hqh |
| 78 | let : Nonempty (D.inclusion ⁻¹ᵁ B) := |
| 79 | ⟨⟨IntersectionGeometry.supportPreimage D.val x hxD, SupportSectionGerm.Constructions.supportPreimage_mem_open V.carrier D.val x hxD B hxB⟩⟩ |
| 80 | have he := SupportQuotientSectionOrder.Constructions.principalCoefficient_quotientSupport V.presentation D.val x hxD B hxB (B.topIso.hom s) q |
| 81 | rw [hqC] at he |
| 82 | have ho : (Spec (.of Q)).ord (Affine.PrincipalSchemeOrder.Constructions.affineFunction Q (algebraMap R Q r)) q ≠ 0 := by |
| 83 | intro hz |
| 84 | apply hcoef |
| 85 | exact he.symm.trans (by rw [hz, Int.cast_zero]) |
| 86 | have hmin := (Affine.OrderMinimalPrime.Constructions.schemeOrder_ne_zero_iff_minimal Q (algebraMap R Q r) |
| 87 | (TorAlgebra.SchemeOrderStep.equation_image_ne_zero R P r hn) q hheight).mp ho |
| 88 | obtain ⟨t, ht⟩ := ResidualSourceEquiv.Constructions.exists_residualSourcePrime R P r q hmin |
| 89 | refine ⟨t, Subtype.ext ?_⟩ |
| 90 | exact (congrArg (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport V.carrier D.val x hxD) ht).trans hqC |
| 91 | |
| 92 | def residualCycleEquiv : TorAlgebra.SourceOrderStep.ResidualComponent R P r ≃ |
| 93 | {C : Geometric.DimensionCycles.DimensionCycleSupport V (p + 1) // x ∈ (C.val : Set V.carrier) ∧ Section.CupPrincipalGeneral.Constructions.Step.principalStep D B s hs C ≠ 0} := |
| 94 | Equiv.ofBijective (fun t => ⟨F t, residualCycleSupport_contains V D B s hs x hxD hxB t, |
| 95 | residualCycleSupport_nonzero V D B s hs x hxD hxB t⟩) (by |
| 96 | constructor |
| 97 | · intro t u h |
| 98 | exact residualCycleSupport_injective V D B s hs x hxD hxB (congrArg Subtype.val h) |
| 99 | · intro C |
| 100 | obtain ⟨t, ht⟩ := exists_residualCycleSupport V D B s hs x hxD hxB C.val C.property.1 C.property.2 |
| 101 | exact ⟨t, Subtype.ext ht⟩) |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.CycleClass.Thom.ResidualEquiv.Constructions |