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.Foundations.Scheme.TranscendenceDimension |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportAffineQuotient |
| 3 | |
| 4 | /-! # Support Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Dimension of genuine irreducible closed supports |
| 12 | |
| 13 | The dimension is the transcendence degree of the function field of the actual |
| 14 | reduced induced support scheme. On every nonempty ambient affine chart it is |
| 15 | the transcendence degree of the genuine quotient coordinate ring, or of its |
| 16 | fraction field. This file makes no identification with order-theoretic coheight. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {K : Type u} [Field K] {X : Scheme.{u}} |
| 24 | |
| 25 | /-- The transcendence dimension of an irreducible support with its actual |
| 26 | reduced scheme structure and induced structural morphism. -/ |
| 27 | def supportTranscendenceDimension (Z : IrreducibleCloseds X) |
| 28 | (f : X ⟶ Spec (.of K)) : ℕ := |
| 29 | TranscendenceDimension.schemeTranscendenceDimension (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 30 | |
| 31 | /-- This dimension is computed in the true function field of the support. -/ |
| 32 | theorem supportTranscendenceDimension_def (Z : IrreducibleCloseds X) |
| 33 | (f : X ⟶ Spec (.of K)) : |
| 34 | letI := FunctionFieldScalar.functionFieldScalarAlgebra (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 35 | supportTranscendenceDimension Z f = |
| 36 | (Algebra.trdeg K (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField).toNat := rfl |
| 37 | |
| 38 | /-- Local finite type guarantees that the natural number retains the full |
| 39 | cardinal-valued transcendence degree of the support. -/ |
| 40 | theorem supportTranscendenceDimension_cast (Z : IrreducibleCloseds X) |
| 41 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] : |
| 42 | letI := FunctionFieldScalar.functionFieldScalarAlgebra (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 43 | (supportTranscendenceDimension Z f : Cardinal) = |
| 44 | Algebra.trdeg K (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField := |
| 45 | TranscendenceDimension.schemeTranscendenceDimension_cast (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 46 | |
| 47 | /-- The support dimension can be computed on any nonempty affine chart of the |
| 48 | ambient scheme by its actual quotient coordinate ring. -/ |
| 49 | theorem supportTranscendenceDimension_eq_affineQuotient |
| 50 | (Z : IrreducibleCloseds X) (f : X ⟶ Spec (.of K)) (U : X.affineOpens) |
| 51 | [Nonempty (SupportAffineQuotient.supportAffineOpen Z U)] : |
| 52 | letI := SupportAffineQuotient.supportAffineQuotientScalarAlgebra Z f U |
| 53 | supportTranscendenceDimension Z f = |
| 54 | (Algebra.trdeg K (SupportAffineQuotient.supportAffineQuotient Z U)).toNat := by |
| 55 | let := SpecScalarTransport.specSectionScalarAlgebra (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) (SupportAffineQuotient.supportAffineOpen Z U) |
| 56 | let := SupportAffineQuotient.supportAffineQuotientScalarAlgebra Z f U |
| 57 | exact (TranscendenceDimension.schemeTranscendenceDimension_eq_affineSections (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 58 | (SupportAffineQuotient.supportAffineOpen Z U) (SupportAffineQuotient.supportAffineOpen_isAffine Z U)).trans |
| 59 | (congrArg Cardinal.toNat (SupportAffineQuotient.supportAffineSectionsAlgEquiv Z f U).trdeg_eq) |
| 60 | |
| 61 | /-- The same affine formula expressed in the fraction field of the quotient. -/ |
| 62 | theorem supportTranscendenceDimension_eq_affineFractionRing |
| 63 | (Z : IrreducibleCloseds X) (f : X ⟶ Spec (.of K)) (U : X.affineOpens) |
| 64 | [Nonempty (SupportAffineQuotient.supportAffineOpen Z U)] : |
| 65 | letI := SupportAffineQuotient.supportAffineQuotientScalarAlgebra Z f U |
| 66 | supportTranscendenceDimension Z f = |
| 67 | (Algebra.trdeg K (FractionRing (SupportAffineQuotient.supportAffineQuotient Z U))).toNat := by |
| 68 | let := SupportAffineQuotient.supportAffineQuotientScalarAlgebra Z f U |
| 69 | exact (supportTranscendenceDimension_eq_affineQuotient Z f U).trans |
| 70 | (congrArg Cardinal.toNat (TranscendenceDegreeTransfer.trdeg_eq_fractionRing K (SupportAffineQuotient.supportAffineQuotient Z U))) |
| 71 | |
| 72 | /-- The quotient-to-function-field map respects the canonical base scalars. -/ |
| 73 | theorem supportAffineQuotientFunctionField_isScalarTower |
| 74 | (Z : IrreducibleCloseds X) (f : X ⟶ Spec (.of K)) (U : X.affineOpens) |
| 75 | [Nonempty (SupportAffineQuotient.supportAffineOpen Z U)] : |
| 76 | letI := SupportAffineQuotient.supportAffineQuotientScalarAlgebra Z f U |
| 77 | letI := SupportAffineQuotient.supportAffineQuotientFunctionFieldAlgebra Z U |
| 78 | letI := FunctionFieldScalar.functionFieldScalarAlgebra (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 79 | IsScalarTower K (SupportAffineQuotient.supportAffineQuotient Z U) (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField := by |
| 80 | let := SpecScalarTransport.specSectionScalarAlgebra (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) (SupportAffineQuotient.supportAffineOpen Z U) |
| 81 | let := SupportAffineQuotient.supportAffineQuotientScalarAlgebra Z f U |
| 82 | let := SupportAffineQuotient.supportAffineQuotientFunctionFieldAlgebra Z U |
| 83 | let := FunctionFieldScalar.functionFieldScalarAlgebra (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 84 | let := FunctionFieldScalar.functionFieldScalar_isScalarTower (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) (SupportAffineQuotient.supportAffineOpen Z U) |
| 85 | apply IsScalarTower.of_algebraMap_eq' |
| 86 | ext r |
| 87 | change algebraMap K (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField r = |
| 88 | algebraMap Γ(CycleClass.Geometric.GenericPoint.reducedSupportScheme Z, SupportAffineQuotient.supportAffineOpen Z U) |
| 89 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField |
| 90 | ((SupportAffineQuotient.supportAffineSectionsEquiv Z U).symm (algebraMap K (SupportAffineQuotient.supportAffineQuotient Z U) r)) |
| 91 | rw [IsScalarTower.algebraMap_apply K |
| 92 | Γ(CycleClass.Geometric.GenericPoint.reducedSupportScheme Z, SupportAffineQuotient.supportAffineOpen Z U) (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField] |
| 93 | exact congrArg |
| 94 | (algebraMap Γ(CycleClass.Geometric.GenericPoint.reducedSupportScheme Z, SupportAffineQuotient.supportAffineOpen Z U) |
| 95 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField) |
| 96 | ((SupportAffineQuotient.supportAffineSectionsAlgEquiv Z f U).symm.commutes r).symm |
| 97 | |
| 98 | /-- The quotient fraction field is canonically isomorphic over the actual base |
| 99 | field to the function field of the reduced support. -/ |
| 100 | def supportFunctionFieldEquivAffineFractionRing |
| 101 | (Z : IrreducibleCloseds X) (f : X ⟶ Spec (.of K)) (U : X.affineOpens) |
| 102 | [Nonempty (SupportAffineQuotient.supportAffineOpen Z U)] : |
| 103 | letI := SupportAffineQuotient.supportAffineQuotientScalarAlgebra Z f U |
| 104 | letI := FunctionFieldScalar.functionFieldScalarAlgebra (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 105 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField ≃ₐ[K] FractionRing (SupportAffineQuotient.supportAffineQuotient Z U) := by |
| 106 | letI := SupportAffineQuotient.supportAffineQuotientScalarAlgebra Z f U |
| 107 | letI := FunctionFieldScalar.functionFieldScalarAlgebra (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 108 | letI := SupportAffineQuotient.supportAffineQuotientFunctionFieldAlgebra Z U |
| 109 | letI := supportAffineQuotientFunctionField_isScalarTower Z f U |
| 110 | letI := SupportAffineQuotient.supportAffineQuotient_isFractionRing Z U |
| 111 | exact ((FractionRing.algEquiv (SupportAffineQuotient.supportAffineQuotient Z U) |
| 112 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z).functionField).symm).restrictScalars K |
| 113 | |
| 114 | /-- A genuine irreducible closed support has dimension at most that of its |
| 115 | integral ambient scheme. Local finite type makes the natural-number comparison |
| 116 | faithful to the proved function-field transcendence-degree comparison. -/ |
| 117 | theorem supportTranscendenceDimension_le [IsIntegral X] |
| 118 | (Z : IrreducibleCloseds X) (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] : |
| 119 | supportTranscendenceDimension Z f ≤ TranscendenceDimension.schemeTranscendenceDimension f := by |
| 120 | let := FunctionFieldScalar.functionFieldScalarAlgebra f |
| 121 | let := FunctionFieldScalar.functionFieldScalarAlgebra (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) |
| 122 | apply (Nat.cast_le (α := Cardinal)).mp |
| 123 | rw [supportTranscendenceDimension_cast Z f, TranscendenceDimension.schemeTranscendenceDimension_cast f] |
| 124 | exact ClosedImmersionDimension.closedImmersion_functionField_trdeg_le (CycleClass.Geometric.GenericPoint.reducedSupportι Z) f |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimension |