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.CyclePushforward |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.StratumClosure |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.ImmersionComplexPoints |
| 4 | |
| 5 | /-! # Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual proper morphism from each integral cycle support to its |
| 12 | reduced image. Its residue degrees agree with the coefficients used by ProjectionFormula. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 17 | |
| 18 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 19 | |
| 20 | def algebraicMap (f : X.toOver ⟶ Y.toOver) : X.carrier ⟶ Y.carrier := f.left |
| 21 | |
| 22 | theorem imageClosure_eq (f : X.toOver ⟶ Y.toOver) (W : IrreducibleCloseds X.carrier) : |
| 23 | CycleClass.Geometric.StratumClosure.integralImageClosure (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ algebraicMap f) = ProperCycleLinearity.imageSupport f W := by |
| 24 | apply IrreducibleCloseds.ext |
| 25 | change closure (Set.range (algebraicMap f ∘ CycleClass.Geometric.GenericPoint.reducedSupportι W)) = _ |
| 26 | rw [Set.range_comp, CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 27 | change closure (f.left '' (W : Set X.carrier)) = _ |
| 28 | rw [← ProperCycleLinearity.imageSupport_eq_image f W] |
| 29 | exact (ProperCycleLinearity.imageSupport f W).isClosed.closure_eq |
| 30 | |
| 31 | theorem supportMap_kernel (f : X.toOver ⟶ Y.toOver) (W : IrreducibleCloseds X.carrier) : |
| 32 | (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ algebraicMap f).ker = CycleClass.Geometric.GenericPoint.reducedSupportIdeal (ProperCycleLinearity.imageSupport f W) := by |
| 33 | let : IsProper (algebraicMap f) := ProperCycleLinearity.morphism_isProper f |
| 34 | exact (CycleClass.Geometric.StratumClosure.kernel_eq_reducedImageClosureIdeal (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ algebraicMap f)).trans |
| 35 | (congrArg CycleClass.Geometric.GenericPoint.reducedSupportIdeal (imageClosure_eq f W)) |
| 36 | |
| 37 | def supportImageMap (f : X.toOver ⟶ Y.toOver) (W : IrreducibleCloseds X.carrier) : |
| 38 | CycleClass.Geometric.GenericPoint.reducedSupportScheme W ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f W) := by |
| 39 | apply IsClosedImmersion.lift (CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W)) |
| 40 | (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ algebraicMap f) |
| 41 | change (CycleClass.Geometric.GenericPoint.reducedSupportIdeal (ProperCycleLinearity.imageSupport f W)).subschemeι.ker ≤ _ |
| 42 | rw [Scheme.IdealSheafData.ker_subschemeι, supportMap_kernel] |
| 43 | |
| 44 | theorem supportImageMap_inclusion (f : X.toOver ⟶ Y.toOver) |
| 45 | (W : IrreducibleCloseds X.carrier) : |
| 46 | supportImageMap f W ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W) = |
| 47 | CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ algebraicMap f := |
| 48 | IsClosedImmersion.lift_fac (CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W)) |
| 49 | (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ algebraicMap f) _ |
| 50 | |
| 51 | theorem supportImageMap_over (f : X.toOver ⟶ Y.toOver) |
| 52 | (W : IrreducibleCloseds X.carrier) : |
| 53 | supportImageMap f W ≫ CycleClass.Geometric.SupportFiniteType.supportStructureMap (ProperCycleLinearity.imageSupport f W) Y.structureMap = |
| 54 | CycleClass.Geometric.SupportFiniteType.supportStructureMap W X.structureMap := by |
| 55 | change supportImageMap f W ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W) ≫ Y.structureMap = |
| 56 | CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ X.structureMap |
| 57 | rw [← Category.assoc, supportImageMap_inclusion, Category.assoc] |
| 58 | exact congrArg (fun g => CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ g) f.w |
| 59 | |
| 60 | instance supportImageMap_isProper (f : X.toOver ⟶ Y.toOver) |
| 61 | (W : IrreducibleCloseds X.carrier) : IsProper (supportImageMap f W) := by |
| 62 | let : IsProper (algebraicMap f) := ProperCycleLinearity.morphism_isProper f |
| 63 | let : IsProper (supportImageMap f W ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W)) := by |
| 64 | rw [supportImageMap_inclusion] |
| 65 | infer_instance |
| 66 | exact IsProper.of_comp (supportImageMap f W) (CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W)) |
| 67 | |
| 68 | theorem supportImageMap_surjective (f : X.toOver ⟶ Y.toOver) |
| 69 | (W : IrreducibleCloseds X.carrier) : Function.Surjective (supportImageMap f W) := by |
| 70 | intro y |
| 71 | have hy : CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W) y ∈ (ProperCycleLinearity.imageSupport f W : Set Y.carrier) := by |
| 72 | rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 73 | exact ⟨y, rfl⟩ |
| 74 | rw [ProperCycleLinearity.imageSupport_eq_image] at hy |
| 75 | obtain ⟨x, hx, hxy⟩ := hy |
| 76 | rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι W] at hx |
| 77 | obtain ⟨z, rfl⟩ := hx |
| 78 | refine ⟨z, (CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W)).isClosedEmbedding.injective ?_⟩ |
| 79 | have h := congrArg (fun k : CycleClass.Geometric.GenericPoint.reducedSupportScheme W ⟶ Y.carrier => k z) |
| 80 | (supportImageMap_inclusion f W) |
| 81 | exact h.trans hxy |
| 82 | |
| 83 | theorem supportImageMap_genericPoint (f : X.toOver ⟶ Y.toOver) |
| 84 | (W : IrreducibleCloseds X.carrier) : |
| 85 | supportImageMap f W (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) = |
| 86 | genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme (ProperCycleLinearity.imageSupport f W)) := by |
| 87 | apply IsGenericPoint.eq _ (genericPoint_spec _) |
| 88 | have h := (genericPoint_spec (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)).image |
| 89 | (supportImageMap f W).continuous |
| 90 | simpa only [Set.image_univ, (supportImageMap_surjective f W).range_eq, |
| 91 | closure_univ] using h |
| 92 | |
| 93 | theorem residueDegree_post_immersion {A B C : Scheme} |
| 94 | (f : A ⟶ B) (i : B ⟶ C) [SurjectiveOnStalks i] (x : A) : |
| 95 | (f ≫ i).residueDegree x = f.residueDegree x := by |
| 96 | let : Algebra (C.residueField (i (f x))) (A.residueField x) := |
| 97 | ((f ≫ i).residueFieldMap x).hom.toAlgebra |
| 98 | let : Algebra (B.residueField (f x)) (A.residueField x) := |
| 99 | (f.residueFieldMap x).hom.toAlgebra |
| 100 | apply Algebra.finrank_eq_of_equiv_equiv |
| 101 | (Foundations.Scheme.ImmersionComplexPoints.residueFieldIsoOfSurjectiveOnStalks i (f x)).commRingCatIsoToRingEquiv |
| 102 | (RingEquiv.refl (A.residueField x)) |
| 103 | exact congrArg CommRingCat.Hom.hom (Scheme.residueFieldMap_comp f i x).symm |
| 104 | |
| 105 | theorem residueDegree_pre_immersion {A B C : Scheme} |
| 106 | (i : A ⟶ B) (f : B ⟶ C) [SurjectiveOnStalks i] (x : A) : |
| 107 | (i ≫ f).residueDegree x = f.residueDegree (i x) := by |
| 108 | let : Algebra (C.residueField (f (i x))) (B.residueField (i x)) := |
| 109 | (f.residueFieldMap (i x)).hom.toAlgebra |
| 110 | let : Algebra (C.residueField (f (i x))) (A.residueField x) := |
| 111 | ((i ≫ f).residueFieldMap x).hom.toAlgebra |
| 112 | symm |
| 113 | apply Algebra.finrank_eq_of_equiv_equiv |
| 114 | (RingEquiv.refl (C.residueField (f (i x)))) |
| 115 | (Foundations.Scheme.ImmersionComplexPoints.residueFieldIsoOfSurjectiveOnStalks i x).commRingCatIsoToRingEquiv |
| 116 | exact congrArg CommRingCat.Hom.hom (Scheme.residueFieldMap_comp i f x) |
| 117 | |
| 118 | /-- The morphism between reduced supports has exactly the ambient residue |
| 119 | degree at every point, including singular points of the supports. -/ |
| 120 | theorem supportImageMap_residueDegree (f : X.toOver ⟶ Y.toOver) |
| 121 | (W : IrreducibleCloseds X.carrier) (x : CycleClass.Geometric.GenericPoint.reducedSupportScheme W) : |
| 122 | (supportImageMap f W).residueDegree x = |
| 123 | f.left.residueDegree (CycleClass.Geometric.GenericPoint.reducedSupportι W x) := by |
| 124 | have h := congrArg |
| 125 | (fun g : CycleClass.Geometric.GenericPoint.reducedSupportScheme W ⟶ Y.carrier => g.residueDegree x) |
| 126 | (supportImageMap_inclusion f W) |
| 127 | rw [residueDegree_post_immersion, residueDegree_pre_immersion] at h |
| 128 | exact h |
| 129 | |
| 130 | theorem supportImageMap_generic_residueDegree (f : X.toOver ⟶ Y.toOver) |
| 131 | (W : IrreducibleCloseds X.carrier) : |
| 132 | (supportImageMap f W).residueDegree (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W)) = |
| 133 | f.left.residueDegree (CycleClass.Thom.IntersectionGeometry.supportPoint W) := by |
| 134 | rw [supportImageMap_residueDegree, CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq] |
| 135 | rfl |
| 136 | |
| 137 | /-- Proper pushforward factors through the actual integral-support map. |
| 138 | This equality retains all residue-field weights. -/ |
| 139 | theorem pointPushforward_supportImageMap (f : X.toOver ⟶ Y.toOver) |
| 140 | (W : IrreducibleCloseds X.carrier) : |
| 141 | (CyclePushforward.pointPushforward (CycleClass.Geometric.GenericPoint.reducedSupportι (ProperCycleLinearity.imageSupport f W))).comp |
| 142 | (CyclePushforward.pointPushforward (supportImageMap f W)) = |
| 143 | (CyclePushforward.pointPushforward (algebraicMap f)).comp |
| 144 | (CyclePushforward.pointPushforward (CycleClass.Geometric.GenericPoint.reducedSupportι W)) := by |
| 145 | rw [← CyclePushforward.pointPushforward_comp, |
| 146 | ← CyclePushforward.pointPushforward_comp, supportImageMap_inclusion] |
| 147 | |
| 148 | end |
| 149 | |
| 150 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map |