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.Thom.Scheme.SmoothSupportOpen |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportTo |
| 3 | |
| 4 | /-! # Open Support Closure -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportClosure |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual reduced closed support in an ambient open is an open |
| 11 | subscheme of its reduced closure in the full ambient scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | namespace Constructions |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SmoothSupportOpen.Constructions |
| 21 | |
| 22 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (i : X ⟶ Y) [IsOpenImmersion i.left] [QuasiCompact i.left] |
| 23 | (Z : IrreducibleCloseds X.left) |
| 24 | |
| 25 | def closureSupport : IrreducibleCloseds Y.left := |
| 26 | Geometric.StratumClosure.integralImageClosure (Geometric.GenericPoint.reducedSupportι Z ≫ i.left) |
| 27 | |
| 28 | omit [IsOpenImmersion i.left] [QuasiCompact i.left] in |
| 29 | theorem closureSupport_coe : |
| 30 | (closureSupport i Z : Set Y.left) = closure (i.left '' (Z : Set X.left)) := by |
| 31 | change closure (Set.range (Geometric.GenericPoint.reducedSupportι Z ≫ i.left)) = _ |
| 32 | rw [Scheme.Hom.comp_base, TopCat.coe_comp, Set.range_comp, Geometric.GenericPoint.range_reducedSupportι] |
| 33 | |
| 34 | def toClosure : Geometric.GenericPoint.reducedSupportScheme Z ⟶ Geometric.GenericPoint.reducedSupportScheme (closureSupport i Z) := |
| 35 | Geometric.StratumClosure.toReducedImageClosure (Geometric.GenericPoint.reducedSupportι Z ≫ i.left) |
| 36 | |
| 37 | instance toClosure_open : IsOpenImmersion (toClosure i Z) := |
| 38 | inferInstanceAs (IsOpenImmersion (Geometric.StratumClosure.toReducedImageClosure (Geometric.GenericPoint.reducedSupportι Z ≫ i.left))) |
| 39 | |
| 40 | omit [IsOpenImmersion i.left] in |
| 41 | theorem toClosure_inclusion : |
| 42 | toClosure i Z ≫ Geometric.GenericPoint.reducedSupportι (closureSupport i Z) = Geometric.GenericPoint.reducedSupportι Z ≫ i.left := |
| 43 | Geometric.StratumClosure.toReducedImageClosure_inclusion _ |
| 44 | |
| 45 | omit [IsOpenImmersion i.left] in |
| 46 | theorem toClosure_over : |
| 47 | toClosure i Z ≫ Geometric.SupportFiniteType.supportStructureMap (closureSupport i Z) Y.hom = Geometric.SupportFiniteType.supportStructureMap Z X.hom := by |
| 48 | change toClosure i Z ≫ Geometric.GenericPoint.reducedSupportι (closureSupport i Z) ≫ Y.hom = _ |
| 49 | rw [← Category.assoc, toClosure_inclusion, Category.assoc, i.w] |
| 50 | rfl |
| 51 | |
| 52 | def toClosureOver : RegularSupport.Constructions.supportOver X Z ⟶ RegularSupport.Constructions.supportOver Y (closureSupport i Z) := |
| 53 | Over.homMk (toClosure i Z) (toClosure_over i Z) |
| 54 | |
| 55 | omit [IsOpenImmersion i.left] in |
| 56 | theorem toClosureOver_ambient : |
| 57 | toClosureOver i Z ≫ RegularSupport.Constructions.supportToAmbient Y (closureSupport i Z) = RegularSupport.Constructions.supportToAmbient X Z ≫ i := by |
| 58 | apply Over.OverMorphism.ext |
| 59 | exact toClosure_inclusion i Z |
| 60 | |
| 61 | theorem closureSupport_dimension : |
| 62 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (closureSupport i Z) Y.hom = Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom := by |
| 63 | have h := Geometric.StratumClosure.schemeTranscendenceDimension_eq_imageClosure (Geometric.GenericPoint.reducedSupportι Z ≫ i.left) Y.hom |
| 64 | rw [Category.assoc, i.w] at h |
| 65 | exact h.symm |
| 66 | |
| 67 | theorem closureSupport_genericPoint : |
| 68 | irreducibleSetEquivPoints (closureSupport i Z) = i.left (irreducibleSetEquivPoints Z) := by |
| 69 | have h := congrArg (fun f : Geometric.GenericPoint.reducedSupportScheme Z ⟶ Y.left => f (genericPoint (Geometric.GenericPoint.reducedSupportScheme Z))) |
| 70 | (toClosure_inclusion i Z) |
| 71 | change Geometric.GenericPoint.reducedSupportι (closureSupport i Z) (toClosure i Z (genericPoint (Geometric.GenericPoint.reducedSupportScheme Z))) = |
| 72 | i.left (Geometric.GenericPoint.reducedSupportι Z (genericPoint (Geometric.GenericPoint.reducedSupportScheme Z))) at h |
| 73 | rw [genericPoint_eq_of_isOpenImmersion, Geometric.GenericPoint.reducedSupport_genericPoint_eq, Geometric.GenericPoint.reducedSupport_genericPoint_eq] at h |
| 74 | exact h |
| 75 | |
| 76 | omit [QuasiCompact i.left] in |
| 77 | theorem closureSupport_preimage : i.left ⁻¹' (closureSupport i Z : Set Y.left) = (Z : Set X.left) := by |
| 78 | rw [closureSupport_coe] |
| 79 | exact i.left.isOpenEmbedding.isOpenMap.preimage_closure_image |
| 80 | i.left.isOpenEmbedding.injective i.left.continuous (Z : Set X.left) Z.isClosed |
| 81 | |
| 82 | variable [LocallyOfFiniteType Y.hom] |
| 83 | |
| 84 | /-- Any actual smooth open immersion into a support factors through its |
| 85 | canonical regular locus by an actual open immersion. -/ |
| 86 | def smoothOpenToRegular {S : Over Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth S.hom] |
| 87 | (W : IrreducibleCloseds Y.left) (j : S ⟶ RegularSupport.Constructions.supportOver Y W) [IsOpenImmersion j.left] : |
| 88 | S ⟶ RegularSupport.Constructions.regularOver Y W := by |
| 89 | have hj : j.left ≫ Geometric.SupportFiniteType.supportStructureMap W Y.hom = S.hom := j.w |
| 90 | let : Smooth (j.left ≫ Geometric.SupportFiniteType.supportStructureMap W Y.hom) := by rw [hj]; infer_instance |
| 91 | refine Over.homMk (Product.SupportTo.Constructions.SmoothOpen.openSmoothStratumLift j.left (Geometric.SupportFiniteType.supportStructureMap W Y.hom)) ?_ |
| 92 | change Product.SupportTo.Constructions.SmoothOpen.openSmoothStratumLift j.left (Geometric.SupportFiniteType.supportStructureMap W Y.hom) ≫ |
| 93 | Geometric.SmoothStratum.smoothStratumι (Geometric.SupportFiniteType.supportStructureMap W Y.hom) ≫ Geometric.SupportFiniteType.supportStructureMap W Y.hom = S.hom |
| 94 | rw [← Category.assoc, Product.SupportTo.Constructions.SmoothOpen.openSmoothStratumLift_inclusion] |
| 95 | exact hj |
| 96 | |
| 97 | instance smoothOpenToRegular_open {S : Over Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth S.hom] |
| 98 | (W : IrreducibleCloseds Y.left) (j : S ⟶ RegularSupport.Constructions.supportOver Y W) [IsOpenImmersion j.left] : |
| 99 | IsOpenImmersion (smoothOpenToRegular W j).left := by |
| 100 | have hj : j.left ≫ Geometric.SupportFiniteType.supportStructureMap W Y.hom = S.hom := j.w |
| 101 | let : Smooth (j.left ≫ Geometric.SupportFiniteType.supportStructureMap W Y.hom) := by rw [hj]; infer_instance |
| 102 | change IsOpenImmersion (Product.SupportTo.Constructions.SmoothOpen.openSmoothStratumLift j.left (Geometric.SupportFiniteType.supportStructureMap W Y.hom)) |
| 103 | infer_instance |
| 104 | |
| 105 | theorem smoothOpenToRegular_inclusion {S : Over Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth S.hom] |
| 106 | (W : IrreducibleCloseds Y.left) (j : S ⟶ RegularSupport.Constructions.supportOver Y W) [IsOpenImmersion j.left] : |
| 107 | smoothOpenToRegular W j ≫ SmoothSupportOpen.Constructions.regularToSupport Y W = j := by |
| 108 | have hj : j.left ≫ Geometric.SupportFiniteType.supportStructureMap W Y.hom = S.hom := j.w |
| 109 | let : Smooth (j.left ≫ Geometric.SupportFiniteType.supportStructureMap W Y.hom) := by rw [hj]; infer_instance |
| 110 | apply Over.OverMorphism.ext |
| 111 | exact Product.SupportTo.Constructions.SmoothOpen.openSmoothStratumLift_inclusion j.left (Geometric.SupportFiniteType.supportStructureMap W Y.hom) |
| 112 | |
| 113 | end Constructions |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportClosure |