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.Support.Map |
| 2 | import OAI.AlgebraicGeometry.Cycles.Functoriality.FunctionFields |
| 3 | import Mathlib.RingTheory.Norm.Basic |
| 4 | |
| 5 | /-! # Fields -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Fields |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual function fields and norms for the support-to-image morphism. |
| 12 | Equal support dimensions imply finiteness; no finiteness assertion is |
| 13 | assumed as a field on the morphism. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map OAI.AlgebraicGeometry.Cycles.Functoriality.FunctionFields.Construction |
| 18 | |
| 19 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 20 | |
| 21 | def supportFunctionFieldMap (f : X.toOver ⟶ Y.toOver) |
| 22 | (W : IrreducibleCloseds X.carrier) : |
| 23 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f W)).functionField ⟶ |
| 24 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField := |
| 25 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap (Map.supportImageMap f W) (Map.supportImageMap_genericPoint f W) |
| 26 | |
| 27 | theorem image_dimension_le (f : X.toOver ⟶ Y.toOver) |
| 28 | (W : IrreducibleCloseds X.carrier) : |
| 29 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperCycleLinearity.imageSupport f W) Y.structureMap ≤ |
| 30 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.structureMap := by |
| 31 | have h := Cycles.Functoriality.FunctionFields.Construction.dimension_le_of_genericPoint (Map.supportImageMap f W) |
| 32 | (Map.supportImageMap_genericPoint f W) |
| 33 | (CycleClass.Geometric.SupportFiniteType.supportStructureMap (ProperCycleLinearity.imageSupport f W) Y.structureMap) |
| 34 | rw [Map.supportImageMap_over] at h |
| 35 | exact h |
| 36 | |
| 37 | theorem supportFunctionField_finite (f : X.toOver ⟶ Y.toOver) |
| 38 | (W : IrreducibleCloseds X.carrier) |
| 39 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperCycleLinearity.imageSupport f W) Y.structureMap = |
| 40 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.structureMap) : |
| 41 | letI := (supportFunctionFieldMap f W).hom.toAlgebra |
| 42 | Module.Finite (CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f W)).functionField |
| 43 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField := by |
| 44 | apply Cycles.Functoriality.FunctionFields.Construction.genericField_extension_finite (Map.supportImageMap f W) |
| 45 | (Map.supportImageMap_genericPoint f W) |
| 46 | (CycleClass.Geometric.SupportFiniteType.supportStructureMap (ProperCycleLinearity.imageSupport f W) Y.structureMap) |
| 47 | rw [Map.supportImageMap_over] |
| 48 | exact hdim |
| 49 | |
| 50 | def functionFieldResidueIso (S : Scheme) [IsIntegral S] : |
| 51 | S.functionField ≅ S.residueField (genericPoint S) := |
| 52 | (RingEquiv.ofBijective (S.residue (genericPoint S)).hom |
| 53 | ⟨(show S.functionField →+* S.residueField (genericPoint S) from |
| 54 | (S.residue (genericPoint S)).hom).injective, |
| 55 | S.residue_surjective (genericPoint S)⟩).toCommRingCatIso |
| 56 | |
| 57 | theorem genericFieldMap_residue_square {S T : Scheme} [IsIntegral S] [IsIntegral T] |
| 58 | (i : S ⟶ T) (hη : i (genericPoint S) = genericPoint T) : |
| 59 | (functionFieldResidueIso T).hom ≫ (T.residueFieldCongr hη.symm).hom ≫ |
| 60 | i.residueFieldMap (genericPoint S) = |
| 61 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hη ≫ (functionFieldResidueIso S).hom := by |
| 62 | change T.residue (genericPoint T) ≫ (T.residueFieldCongr hη.symm).hom ≫ |
| 63 | i.residueFieldMap (genericPoint S) = |
| 64 | (T.presheaf.stalkCongr (Inseparable.of_eq hη.symm)).hom ≫ |
| 65 | i.stalkMap (genericPoint S) ≫ S.residue (genericPoint S) |
| 66 | rw [← Category.assoc, Scheme.residue_residueFieldCongr, |
| 67 | Category.assoc, Scheme.residue_residueFieldMap] |
| 68 | |
| 69 | theorem genericFieldMap_finrank_eq_residueDegree {S T : Scheme} |
| 70 | [IsIntegral S] [IsIntegral T] (i : S ⟶ T) |
| 71 | (hη : i (genericPoint S) = genericPoint T) : |
| 72 | letI := (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hη).hom.toAlgebra |
| 73 | Module.finrank T.functionField S.functionField = i.residueDegree (genericPoint S) := by |
| 74 | let := (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hη).hom.toAlgebra |
| 75 | let := (i.residueFieldMap (genericPoint S)).hom.toAlgebra |
| 76 | apply Algebra.finrank_eq_of_equiv_equiv |
| 77 | ((functionFieldResidueIso T) ≪≫ T.residueFieldCongr hη.symm).commRingCatIsoToRingEquiv |
| 78 | (functionFieldResidueIso S).commRingCatIsoToRingEquiv |
| 79 | exact congrArg CommRingCat.Hom.hom (genericFieldMap_residue_square i hη) |
| 80 | |
| 81 | theorem supportFunctionField_finrank_eq (f : X.toOver ⟶ Y.toOver) |
| 82 | (W : IrreducibleCloseds X.carrier) : |
| 83 | letI := (supportFunctionFieldMap f W).hom.toAlgebra |
| 84 | Module.finrank (CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f W)).functionField |
| 85 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField = f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint W) := |
| 86 | (genericFieldMap_finrank_eq_residueDegree (Map.supportImageMap f W) |
| 87 | (Map.supportImageMap_genericPoint f W)).trans (Map.supportImageMap_generic_residueDegree f W) |
| 88 | |
| 89 | theorem residueDegree_pos_of_dimension_eq (f : X.toOver ⟶ Y.toOver) |
| 90 | (W : IrreducibleCloseds X.carrier) |
| 91 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperCycleLinearity.imageSupport f W) Y.structureMap = |
| 92 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.structureMap) : |
| 93 | 0 < f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint W) := by |
| 94 | let := (supportFunctionFieldMap f W).hom.toAlgebra |
| 95 | let := supportFunctionField_finite f W hdim |
| 96 | rw [← supportFunctionField_finrank_eq f W] |
| 97 | exact Module.finrank_pos |
| 98 | |
| 99 | /-- The genuine norm between the two support function fields. -/ |
| 100 | def supportNorm (f : X.toOver ⟶ Y.toOver) (W : IrreducibleCloseds X.carrier) |
| 101 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperCycleLinearity.imageSupport f W) Y.structureMap = |
| 102 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.structureMap) : |
| 103 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField →* |
| 104 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f W)).functionField := |
| 105 | letI := (supportFunctionFieldMap f W).hom.toAlgebra |
| 106 | letI := supportFunctionField_finite f W hdim |
| 107 | Algebra.norm (CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f W)).functionField |
| 108 | |
| 109 | theorem supportNorm_ne_zero (f : X.toOver ⟶ Y.toOver) |
| 110 | (W : IrreducibleCloseds X.carrier) |
| 111 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperCycleLinearity.imageSupport f W) Y.structureMap = |
| 112 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.structureMap) |
| 113 | (a : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (ha : a ≠ 0) : |
| 114 | supportNorm f W hdim a ≠ 0 := by |
| 115 | let := (supportFunctionFieldMap f W).hom.toAlgebra |
| 116 | let := supportFunctionField_finite f W hdim |
| 117 | exact Algebra.norm_ne_zero_iff.mpr ha |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Fields |