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.StalkPrimeQuotient |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.FromStalkSectionOrder |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.FunctionOrderTransport |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.SupportSectionGerm |
| 5 | |
| 6 | /-! # Support Quotient Section Order -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientSectionOrder.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The affine orders in the actual ambient prime quotient are exactly |
| 13 | the original geometric principal-divisor coefficients of a section. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SupportSectionGerm.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.FromStalkSectionOrder.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.FunctionOrderTransport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PrincipalSchemeOrder.Constructions |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable (X : Scheme) [IsLocallyNoetherian X] (D : IrreducibleCloseds X) (x : X) (hxD : x ∈ (D : Set X)) |
| 24 | (B : X.Opens) [Nonempty ((Geometric.GenericPoint.reducedSupportι D) ⁻¹ᵁ B)] (hxB : x ∈ B) (s : Γ(X, B)) |
| 25 | |
| 26 | theorem ord_quotientSection (q : Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD))) : |
| 27 | (Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD))).ord |
| 28 | (Affine.PrincipalSchemeOrder.Constructions.affineFunction (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD) |
| 29 | (algebraMap (X.presheaf.stalk x) (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD) (X.presheaf.germ B x hxB s))) q = |
| 30 | (Geometric.GenericPoint.reducedSupportScheme D).ord |
| 31 | ((Geometric.GenericPoint.reducedSupportScheme D).germToFunctionField ((Geometric.GenericPoint.reducedSupportι D) ⁻¹ᵁ B) ((Geometric.GenericPoint.reducedSupportι D).app B s)) |
| 32 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupportMap X D x hxD q) := by |
| 33 | let y := IntersectionGeometry.supportPreimage D x hxD |
| 34 | let S := (Geometric.GenericPoint.reducedSupportScheme D).presheaf.stalk y |
| 35 | let Q := StalkPrimeQuotient.Constructions.SupportScheme.quotientRing X D x hxD |
| 36 | let e := StalkPrimeQuotient.Constructions.SupportScheme.quotientStalkEquiv X D x hxD |
| 37 | let z := (Spec.map e.symm.toCommRingCatIso.hom) q |
| 38 | let r := X.presheaf.germ B x hxB s |
| 39 | have he := Affine.FunctionOrderTransport.Constructions.ord_affineFunction_equiv S Q e.symm (SupportStalkModule.Constructions.supportStalkMap X D x hxD r) q |
| 40 | have hg := ConcreteCategory.congr_hom (SupportSectionGerm.Constructions.supportStalkMap_germ X D x hxD B hxB) s |
| 41 | have hs := FromStalkSectionOrder.Constructions.ord_stalkSection (Geometric.GenericPoint.reducedSupportScheme D) y ((Geometric.GenericPoint.reducedSupportι D) ⁻¹ᵁ B) |
| 42 | (SupportSectionGerm.Constructions.supportPreimage_mem_open X D x hxD B hxB) ((Geometric.GenericPoint.reducedSupportι D).app B s) z |
| 43 | exact (congrArg (fun t => (Spec (.of Q)).ord (Affine.PrincipalSchemeOrder.Constructions.affineFunction Q t) q) |
| 44 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientStalkEquiv_symm_apply X D x hxD r)).symm.trans |
| 45 | (he.trans ((congrArg (fun t => (Spec (.of S)).ord (Affine.PrincipalSchemeOrder.Constructions.affineFunction S t) z) hg).trans hs)) |
| 46 | |
| 47 | theorem principalCoefficient_quotientSupport (T : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 48 | (W : IrreducibleCloseds T.carrier) (z : T.carrier) (hzW : z ∈ (W : Set T.carrier)) |
| 49 | (U : T.carrier.Opens) [Nonempty ((Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U)] (hzU : z ∈ U) (t : Γ(T.carrier, U)) |
| 50 | (q : Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing T.carrier W z hzW))) : |
| 51 | ((Spec (.of (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing T.carrier W z hzW))).ord |
| 52 | (Affine.PrincipalSchemeOrder.Constructions.affineFunction (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing T.carrier W z hzW) |
| 53 | (algebraMap (T.carrier.presheaf.stalk z) (StalkPrimeQuotient.Constructions.SupportScheme.quotientRing T.carrier W z hzW) |
| 54 | (T.carrier.presheaf.germ U z hzU t))) q : ℚ) = |
| 55 | IntersectionGeometry.principalDivisorCoefficient T W |
| 56 | ((Geometric.GenericPoint.reducedSupportScheme W).germToFunctionField ((Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U) ((Geometric.GenericPoint.reducedSupportι W).app U t)) |
| 57 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport T.carrier W z hzW q) := by |
| 58 | rw [IntersectionGeometry.principalDivisorCoefficient, dite_eq_left (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport_mem_parent T.carrier W z hzW q)] |
| 59 | apply congrArg (fun n : ℤ => (n : ℚ)) |
| 60 | exact (ord_quotientSection T.carrier W z hzW U hzU t q).trans |
| 61 | (congrArg ((Geometric.GenericPoint.reducedSupportScheme W).ord |
| 62 | ((Geometric.GenericPoint.reducedSupportScheme W).germToFunctionField ((Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U) ((Geometric.GenericPoint.reducedSupportι W).app U t))) |
| 63 | (StalkPrimeQuotient.Constructions.SupportScheme.quotientSupport_preimage T.carrier W z hzW q)) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.CycleClass.Thom.SupportQuotientSectionOrder.Constructions |