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.IntersectionTheory.ProjectionFormula.Local.IntegralModelLift |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.SpecScalarTransport |
| 4 | |
| 5 | /-! # Normalization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Normalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # ProjectionFormula: finite normalization of the actual cycle-support local rings |
| 13 | |
| 14 | Affine charts, section maps, and germ maps supply the algebra structures. |
| 15 | This specializes the algebraic length comparison to the singular integral |
| 16 | schemes appearing in ThomClass's definition of rational equivalence. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {k : Type u} [Field k] [CharZero k] |
| 24 | {X : Scheme.{u}} [IsIntegral X] |
| 25 | |
| 26 | theorem finite_stalk_normalization (f : X ⟶ Spec (.of k)) |
| 27 | [LocallyOfFiniteType f] (x : X) : |
| 28 | Module.Finite (X.presheaf.stalk x) |
| 29 | (integralClosure (X.presheaf.stalk x) X.functionField) := by |
| 30 | let U : X.Opens := (X.affineCover.f (X.affineCover.idx x)).opensRange |
| 31 | have hU : IsAffineOpen U := isAffineOpen_opensRange (X.affineCover.f _) |
| 32 | let x' : U := ⟨x, X.affineCover.covers x⟩ |
| 33 | let : Nonempty U := ⟨x'⟩ |
| 34 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 35 | let : Algebra.FiniteType k Γ(X, U) := |
| 36 | (RingHom.finiteType_respectsIso.cancel_left_isIso |
| 37 | (Scheme.ΓSpecIso (.of k)).inv (f.appLE ⊤ U le_top)).mpr |
| 38 | (f.finiteType_appLE (isAffineOpen_top _) hU le_top) |
| 39 | let M := (hU.primeIdealOf x').asIdeal.primeCompl |
| 40 | let := TopCat.Presheaf.algebra_section_stalk X.presheaf x' |
| 41 | let := hU.isLocalization_stalk x' |
| 42 | let := functionField_isFractionRing_of_isAffineOpen X U hU |
| 43 | let := functionField_isScalarTower X U x' |
| 44 | exact ProjectionFormula.Finite.Normalization.finite_integralClosure_localization |
| 45 | k Γ(X, U) (X.presheaf.stalk x) X.functionField M |
| 46 | |
| 47 | /-- Normalization of the local ring at a codimension-one point is a finite |
| 48 | Dedekind algebra, even when that point is singular. -/ |
| 49 | theorem stalk_normalization_isDedekind (f : X ⟶ Spec (.of k)) |
| 50 | [LocallyOfFiniteType f] (x : X) (hx : Order.coheight x = 1) : |
| 51 | IsDedekindDomain (integralClosure (X.presheaf.stalk x) X.functionField) := by |
| 52 | let : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 53 | let : Ring.KrullDimLE 1 (X.presheaf.stalk x) := |
| 54 | krullDimLE_of_coheight_le hx.le |
| 55 | let := finite_stalk_normalization f x |
| 56 | exact Local.IntegralModelLift.Normalization.isDedekindDomain_integralClosure |
| 57 | (X.presheaf.stalk x) X.functionField |
| 58 | |
| 59 | /-- The order of a regular germ equals the quotient length on its actual |
| 60 | normalization, rather than on an assumed regular replacement. -/ |
| 61 | theorem ord_eq_stalk_normalization_length (f : X ⟶ Spec (.of k)) |
| 62 | [LocallyOfFiniteType f] (x : X) (hx : Order.coheight x = 1) |
| 63 | (a : X.presheaf.stalk x) (ha : a ≠ 0) : |
| 64 | Ring.ord (X.presheaf.stalk x) a = Module.length (X.presheaf.stalk x) |
| 65 | ((integralClosure (X.presheaf.stalk x) X.functionField) ⧸ |
| 66 | Ideal.span {algebraMap (X.presheaf.stalk x) |
| 67 | (integralClosure (X.presheaf.stalk x) X.functionField) a}) := by |
| 68 | let : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 69 | let : Ring.KrullDimLE 1 (X.presheaf.stalk x) := |
| 70 | krullDimLE_of_coheight_le hx.le |
| 71 | let := finite_stalk_normalization f x |
| 72 | let : IsFractionRing (integralClosure (X.presheaf.stalk x) X.functionField) |
| 73 | X.functionField := integralClosure.isFractionRing_of_finite_extension |
| 74 | X.functionField X.functionField |
| 75 | exact ProjectionFormula.Finite.Colength.ord_eq_length_birational_extension |
| 76 | (X.presheaf.stalk x) (integralClosure (X.presheaf.stalk x) X.functionField) |
| 77 | X.functionField a ha |
| 78 | |
| 79 | /-- The same comparison computes the geometric integer order of an arbitrary |
| 80 | nonzero quotient of germs, including its poles. -/ |
| 81 | theorem ord_fraction_eq_normalization_lengths [IsLocallyNoetherian X] |
| 82 | (f : X ⟶ Spec (.of k)) [LocallyOfFiniteType f] |
| 83 | (x : X) (hx : Order.coheight x = 1) |
| 84 | (a b : X.presheaf.stalk x) (ha : a ≠ 0) (hb : b ≠ 0) : |
| 85 | X.ord (algebraMap (X.presheaf.stalk x) X.functionField a / |
| 86 | algebraMap (X.presheaf.stalk x) X.functionField b) x = |
| 87 | ((Module.length (X.presheaf.stalk x) |
| 88 | ((integralClosure (X.presheaf.stalk x) X.functionField) ⧸ |
| 89 | Ideal.span {algebraMap (X.presheaf.stalk x) |
| 90 | (integralClosure (X.presheaf.stalk x) X.functionField) a})).toNat : ℤ) - |
| 91 | ((Module.length (X.presheaf.stalk x) |
| 92 | ((integralClosure (X.presheaf.stalk x) X.functionField) ⧸ |
| 93 | Ideal.span {algebraMap (X.presheaf.stalk x) |
| 94 | (integralClosure (X.presheaf.stalk x) X.functionField) b})).toNat : ℤ) := by |
| 95 | let : Ring.KrullDimLE 1 (X.presheaf.stalk x) := krullDimLE_of_coheight_le hx.le |
| 96 | rw [← ord_eq_stalk_normalization_length f x hx a ha, |
| 97 | ← ord_eq_stalk_normalization_length f x hx b hb, |
| 98 | Scheme.ord_eq_ordHom_of_coheight_eq_one hx] |
| 99 | change WithZero.log (Ring.ordFrac (X.presheaf.stalk x) |
| 100 | (algebraMap (X.presheaf.stalk x) X.functionField a / |
| 101 | algebraMap (X.presheaf.stalk x) X.functionField b)) = _ |
| 102 | rw [map_div₀, Ring.ordFrac_eq_ord _ ha, Ring.ordFrac_eq_ord _ hb, |
| 103 | Ring.ordMonoidWithZeroHom_eq_coe _ (mem_nonZeroDivisors_of_ne_zero ha) |
| 104 | (ENat.natCast_toNat (Ring.ord_ne_top (mem_nonZeroDivisors_of_ne_zero ha))).symm, |
| 105 | Ring.ordMonoidWithZeroHom_eq_coe _ (mem_nonZeroDivisors_of_ne_zero hb) |
| 106 | (ENat.natCast_toNat (Ring.ord_ne_top (mem_nonZeroDivisors_of_ne_zero hb))).symm] |
| 107 | exact WithZero.log_div (by simp) (by simp) |
| 108 | |
| 109 | /-- Every integral support used by the ThomClass rational-equivalence relation |
| 110 | has finite normalization at all its local rings. -/ |
| 111 | theorem support_stalk_normalization_finite (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 112 | (W : TopologicalSpace.IrreducibleCloseds P.carrier) (x : CycleClass.Geometric.GenericPoint.reducedSupportScheme W) : |
| 113 | Module.Finite ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk x) |
| 114 | (integralClosure ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk x) |
| 115 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) := |
| 116 | finite_stalk_normalization (CycleClass.Geometric.SupportFiniteType.supportStructureMap W P.structureMap) x |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Normalization |