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.Cycles.Functoriality.UnitCap |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.StratumClosure |
| 3 | |
| 4 | /-! # Support Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Cycles.Functoriality.SupportMap.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 11 | |
| 12 | /-- The underlying morphism with the carriers made explicit. -/ |
| 13 | def algebraicMap {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) : |
| 14 | X.carrier ⟶ Y.carrier := f.left |
| 15 | |
| 16 | theorem algebraicMap_over {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 17 | (f : X.toOver ⟶ Y.toOver) : algebraicMap f ≫ Y.structureMap = X.structureMap := f.w |
| 18 | |
| 19 | theorem supportMap_imageClosure {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 20 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 21 | {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) : |
| 22 | CycleClass.Geometric.StratumClosure.integralImageClosure (Z.inclusion ≫ algebraicMap f) = UnitCap.imageSupport f Z := by |
| 23 | apply IrreducibleCloseds.ext |
| 24 | change closure (Set.range (algebraicMap f ∘ Z.inclusion)) = _ |
| 25 | rw [Set.range_comp, show Set.range Z.inclusion = (Z.1 : Set X.carrier) from |
| 26 | CycleClass.Geometric.GenericPoint.range_reducedSupportι Z.1] |
| 27 | have h : algebraicMap f '' (Z.1 : Set X.carrier) = |
| 28 | (UnitCap.imageSupport f Z : Set Y.carrier) := (UnitCap.imageSupport_eq_image f hf Z).symm |
| 29 | rw [h] |
| 30 | exact (UnitCap.imageSupport f Z).isClosed.closure_eq |
| 31 | |
| 32 | theorem supportMap_kernel {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 33 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 34 | {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) : |
| 35 | (Z.inclusion ≫ algebraicMap f).ker = CycleClass.Geometric.GenericPoint.reducedSupportIdeal (UnitCap.imageSupport f Z) := by |
| 36 | let : IsProper (algebraicMap f) := hf |
| 37 | exact (CycleClass.Geometric.StratumClosure.kernel_eq_reducedImageClosureIdeal (Z.inclusion ≫ algebraicMap f)).trans |
| 38 | (congrArg CycleClass.Geometric.GenericPoint.reducedSupportIdeal (supportMap_imageClosure f hf Z)) |
| 39 | |
| 40 | /-- The genuine morphism from a reduced support to the reduced image support. -/ |
| 41 | def supportImageMap {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 42 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 43 | {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) : |
| 44 | Z.scheme ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme (UnitCap.imageSupport f Z) := by |
| 45 | apply IsClosedImmersion.lift (CycleClass.Geometric.GenericPoint.reducedSupportι (UnitCap.imageSupport f Z)) |
| 46 | (Z.inclusion ≫ algebraicMap f) |
| 47 | change (CycleClass.Geometric.GenericPoint.reducedSupportIdeal (UnitCap.imageSupport f Z)).subschemeι.ker ≤ _ |
| 48 | rw [Scheme.IdealSheafData.ker_subschemeι, supportMap_kernel f hf Z] |
| 49 | |
| 50 | theorem supportImageMap_inclusion {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 51 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 52 | {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) : |
| 53 | supportImageMap f hf Z ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (UnitCap.imageSupport f Z) = |
| 54 | Z.inclusion ≫ algebraicMap f := by |
| 55 | exact IsClosedImmersion.lift_fac (CycleClass.Geometric.GenericPoint.reducedSupportι (UnitCap.imageSupport f Z)) |
| 56 | (Z.inclusion ≫ algebraicMap f) _ |
| 57 | |
| 58 | theorem supportImageMap_over {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 59 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 60 | {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) : |
| 61 | supportImageMap f hf Z ≫ CycleClass.Geometric.SupportFiniteType.supportStructureMap (UnitCap.imageSupport f Z) Y.structureMap = |
| 62 | Z.structureMap := by |
| 63 | change supportImageMap f hf Z ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (UnitCap.imageSupport f Z) ≫ Y.structureMap = |
| 64 | Z.inclusion ≫ X.structureMap |
| 65 | rw [← Category.assoc, supportImageMap_inclusion, Category.assoc, algebraicMap_over] |
| 66 | |
| 67 | theorem supportImageMap_isProper {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 68 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 69 | {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) : |
| 70 | IsProper (supportImageMap f hf Z) := by |
| 71 | let : IsProper (algebraicMap f) := hf |
| 72 | let : IsProper (supportImageMap f hf Z ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (UnitCap.imageSupport f Z)) := by |
| 73 | rw [supportImageMap_inclusion] |
| 74 | infer_instance |
| 75 | exact IsProper.of_comp (supportImageMap f hf Z) (CycleClass.Geometric.GenericPoint.reducedSupportι (UnitCap.imageSupport f Z)) |
| 76 | |
| 77 | theorem supportImageMap_surjective {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 78 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 79 | {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) : |
| 80 | Function.Surjective (supportImageMap f hf Z) := by |
| 81 | intro y |
| 82 | have hy : CycleClass.Geometric.GenericPoint.reducedSupportι (UnitCap.imageSupport f Z) y ∈ (UnitCap.imageSupport f Z : Set Y.carrier) := by |
| 83 | rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 84 | exact ⟨y, rfl⟩ |
| 85 | rw [UnitCap.imageSupport_eq_image f hf Z] at hy |
| 86 | obtain ⟨x, hx, hxy⟩ := hy |
| 87 | rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι Z.1] at hx |
| 88 | obtain ⟨z, rfl⟩ := hx |
| 89 | refine ⟨z, (CycleClass.Geometric.GenericPoint.reducedSupportι (UnitCap.imageSupport f Z)).isClosedEmbedding.injective ?_⟩ |
| 90 | have h := congrArg (fun k : Z.scheme ⟶ Y.carrier => k z) |
| 91 | (supportImageMap_inclusion f hf Z) |
| 92 | exact h.trans hxy |
| 93 | |
| 94 | /-- Surjectivity sends the generic point to the generic point. -/ |
| 95 | theorem genericPoint_eq_of_surjective {S T : Scheme} [IrreducibleSpace S] |
| 96 | [IrreducibleSpace T] (f : S ⟶ T) (hf : Function.Surjective f) : |
| 97 | f (genericPoint S) = genericPoint T := by |
| 98 | apply IsGenericPoint.eq _ (genericPoint_spec T) |
| 99 | have h := (genericPoint_spec S).image f.continuous |
| 100 | simpa only [Set.image_univ, hf.range_eq, closure_univ] using h |
| 101 | |
| 102 | theorem supportImageMap_genericPoint {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 103 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 104 | {p : ℕ} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) : |
| 105 | supportImageMap f hf Z (genericPoint Z.scheme) = |
| 106 | genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme (UnitCap.imageSupport f Z)) := |
| 107 | genericPoint_eq_of_surjective _ (supportImageMap_surjective f hf Z) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Cycles.Functoriality.SupportMap.Construction |