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.Geometric.IntegralSmoothStratification |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimensionDrop |
| 3 | |
| 4 | /-! # Stratum Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Native dimensions of smooth strata and singular boundaries |
| 12 | |
| 13 | The bounds below concern the canonical transcendence dimensions of actual |
| 14 | function fields. A locally closed immersion is factored through its genuine |
| 15 | coborder open subscheme, where it is a closed immersion. The closed-immersion |
| 16 | inequality and the open-immersion equality give the bound for every integral |
| 17 | smooth stratum. Generic smoothness and strict dimension drop for proper |
| 18 | irreducible closed supports give the strict singular-boundary bound. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {K : Type u} [Field K] {X Y : Scheme.{u}} |
| 26 | |
| 27 | /-- The native natural-number dimension cannot increase under an actual |
| 28 | closed immersion of integral schemes locally of finite type over the field. -/ |
| 29 | theorem StratumDimension.schemeTranscendenceDimension_closedImmersion_le [IsIntegral X] [IsIntegral Y] |
| 30 | (i : Y ⟶ X) [IsClosedImmersion i] (f : X ⟶ Spec (.of K)) |
| 31 | [LocallyOfFiniteType f] : |
| 32 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (i ≫ f) ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f := by |
| 33 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra f |
| 34 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (i ≫ f) |
| 35 | apply (Nat.cast_le (α := Cardinal)).mp |
| 36 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_cast (i ≫ f), Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_cast f] |
| 37 | exact Foundations.Scheme.ClosedImmersionDimension.closedImmersion_functionField_trdeg_le i f |
| 38 | |
| 39 | /-- An actual locally closed immersion between integral schemes cannot |
| 40 | increase native dimension. The factorization and both dimension comparisons |
| 41 | are constructed from the given immersion. -/ |
| 42 | theorem StratumDimension.schemeTranscendenceDimension_immersion_le [IsIntegral X] [IsIntegral Y] |
| 43 | (i : Y ⟶ X) [IsImmersion i] (f : X ⟶ Spec (.of K)) |
| 44 | [LocallyOfFiniteType f] : |
| 45 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (i ≫ f) ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f := by |
| 46 | let : Nonempty i.coborderRange := ⟨i.liftCoborder (genericPoint Y)⟩ |
| 47 | let : IsIntegral i.coborderRange.toScheme := |
| 48 | isIntegral_of_isOpenImmersion i.coborderRange.ι |
| 49 | have h := StratumDimension.schemeTranscendenceDimension_closedImmersion_le i.liftCoborder |
| 50 | (i.coborderRange.ι ≫ f) |
| 51 | have he := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion i.coborderRange.ι f |
| 52 | simpa only [← Category.assoc, Scheme.Hom.liftCoborder_ι] using h.trans_eq he |
| 53 | |
| 54 | /-- Every actual integral smooth stratum has dimension at most the dimension |
| 55 | of its integral ambient scheme. No dimension bound is stored in the piece. -/ |
| 56 | theorem IntegralSmoothStratification.IntegralSmoothGeometricPiece.dimension_le [IsIntegral X] |
| 57 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 58 | (P : IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : |
| 59 | P.dimension ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f := |
| 60 | StratumDimension.schemeTranscendenceDimension_immersion_le P.inclusion f |
| 61 | |
| 62 | /-- The actual nonsmooth part of an integral support, viewed in the original |
| 63 | ambient scheme through its canonical closed immersion. -/ |
| 64 | def StratumDimension.supportSingularBoundary (Z : IrreducibleCloseds X) |
| 65 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] : Set X := |
| 66 | (GenericPoint.reducedSupportι Z) '' SingularLocus.singularLocus (SupportFiniteType.supportStructureMap Z f) |
| 67 | |
| 68 | theorem StratumDimension.isClosed_supportSingularBoundary (Z : IrreducibleCloseds X) |
| 69 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] : |
| 70 | IsClosed (StratumDimension.supportSingularBoundary Z f) := |
| 71 | (GenericPoint.reducedSupportι Z).isClosedEmbedding.isClosedMap _ |
| 72 | (SingularLocus.isClosed_singularLocus (SupportFiniteType.supportStructureMap Z f)) |
| 73 | |
| 74 | theorem StratumDimension.supportSingularBoundary_subset (Z : IrreducibleCloseds X) |
| 75 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] : |
| 76 | StratumDimension.supportSingularBoundary Z f ⊆ (Z : Set X) := by |
| 77 | intro x hx |
| 78 | rw [← GenericPoint.range_reducedSupportι Z] |
| 79 | obtain ⟨y, _, rfl⟩ := hx |
| 80 | exact Set.mem_range_self y |
| 81 | |
| 82 | variable [PerfectField K] |
| 83 | |
| 84 | /-- Generic smoothness excludes the actual generic point of the support from |
| 85 | its singular boundary in the ambient scheme. -/ |
| 86 | theorem StratumDimension.genericPoint_not_mem_supportSingularBoundary (Z : IrreducibleCloseds X) |
| 87 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] : |
| 88 | irreducibleSetEquivPoints Z ∉ StratumDimension.supportSingularBoundary Z f := by |
| 89 | rw [← GenericPoint.reducedSupport_genericPoint_eq Z] |
| 90 | rintro ⟨x, hx, he⟩ |
| 91 | have hxgen := (GenericPoint.reducedSupportι Z).isClosedEmbedding.injective he |
| 92 | apply SingularLocus.genericPoint_not_mem_singularLocus (SupportFiniteType.supportStructureMap Z f) |
| 93 | simpa only [hxgen] using hx |
| 94 | |
| 95 | /-- Every irreducible closed support contained in the singular boundary is |
| 96 | properly contained in the original support. -/ |
| 97 | theorem StratumDimension.lt_of_subset_supportSingularBoundary (W Z : IrreducibleCloseds X) |
| 98 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 99 | (hW : (W : Set X) ⊆ StratumDimension.supportSingularBoundary Z f) : W < Z := by |
| 100 | apply lt_of_le_not_ge (hW.trans (StratumDimension.supportSingularBoundary_subset Z f)) |
| 101 | intro hZW |
| 102 | apply StratumDimension.genericPoint_not_mem_supportSingularBoundary Z f |
| 103 | exact hW (hZW (Z.isIrreducible.isGenericPoint_genericPoint Z.isClosed).mem) |
| 104 | |
| 105 | /-- A closed irreducible support lying in the actual singular boundary has |
| 106 | strictly smaller native dimension. -/ |
| 107 | theorem StratumDimension.supportTranscendenceDimension_lt_of_subset_singularBoundary |
| 108 | (W Z : IrreducibleCloseds X) (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 109 | (hW : (W : Set X) ⊆ StratumDimension.supportSingularBoundary Z f) : |
| 110 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W f < Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z f := |
| 111 | Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt W Z f |
| 112 | (StratumDimension.lt_of_subset_supportSingularBoundary W Z f hW) |
| 113 | |
| 114 | /-- The genuine dense smooth stratum of an integral support has exactly the |
| 115 | dimension of that support, through the actual generic-stalk isomorphism. -/ |
| 116 | theorem StratumDimension.smoothStratum_dimension_eq_support (Z : IrreducibleCloseds X) |
| 117 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] : |
| 118 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (SmoothStratum.smoothStratumToBase (SupportFiniteType.supportStructureMap Z f)) = |
| 119 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z f := |
| 120 | Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion |
| 121 | (SmoothStratum.smoothStratumι (SupportFiniteType.supportStructureMap Z f)) (SupportFiniteType.supportStructureMap Z f) |
| 122 | |
| 123 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 124 | |
| 125 | /-- Any integral smooth locally closed stratum of the actual support has |
| 126 | native dimension bounded by the support's own dimension. -/ |
| 127 | theorem DimensionCycles.DimensionCycleSupport.stratum_dimension_le (Z : DimensionCycles.DimensionCycleSupport V p) |
| 128 | (P : IntegralSmoothStratification.IntegralSmoothGeometricPiece Z.structureMap) : |
| 129 | P.dimension ≤ Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 V.structureMap := |
| 130 | P.dimension_le Z.structureMap |
| 131 | |
| 132 | /-- The ambient codimension of the support converts the preceding bound to |
| 133 | the exact ambient dimension grading used for algebraic cycles. -/ |
| 134 | theorem DimensionCycles.DimensionCycleSupport.stratum_dimension_add_codimension_le (Z : DimensionCycles.DimensionCycleSupport V p) |
| 135 | (P : IntegralSmoothStratification.IntegralSmoothGeometricPiece Z.structureMap) : |
| 136 | P.dimension + p ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap := by |
| 137 | rw [← Z.dimension_add_codimension] |
| 138 | exact Nat.add_le_add_right (Z.stratum_dimension_le P) p |
| 139 | |
| 140 | /-- Singular-boundary supports have strictly greater ambient codimension than |
| 141 | the support whose singularities they lie in. -/ |
| 142 | theorem DimensionCycles.DimensionCycleSupport.codimension_lt_of_subset_singularBoundary (Z : DimensionCycles.DimensionCycleSupport V p) |
| 143 | (W : IrreducibleCloseds V.carrier) |
| 144 | (hW : (W : Set V.carrier) ⊆ StratumDimension.supportSingularBoundary Z.1 V.structureMap) : |
| 145 | p < DimensionCycles.dimensionCodimension V W := by |
| 146 | have hlt := StratumDimension.supportTranscendenceDimension_lt_of_subset_singularBoundary |
| 147 | W Z.1 V.structureMap hW |
| 148 | have hZ := Z.dimension_add_codimension |
| 149 | have hWdim := DimensionCycles.supportDimension_add_dimensionCodimension V W |
| 150 | omega |
| 151 | |
| 152 | end |
| 153 | |
| 154 | end OAI.AlgebraicGeometry.CycleClass.Geometric |