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.ProperSupport |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Open |
| 3 | |
| 4 | /-! # Smooth Support Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SmoothSupportOpen.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth support opens in arbitrary finite-type complex schemes, with |
| 11 | their actual native charts and the actual omitted algebraic boundary. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Open.Constructions.Construction |
| 16 | |
| 17 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType X.hom] (Z : IrreducibleCloseds X.left) |
| 18 | |
| 19 | local instance : IsIntegral (RegularSupport.Constructions.supportOver X Z).left := |
| 20 | inferInstanceAs (IsIntegral (Geometric.GenericPoint.reducedSupportScheme Z)) |
| 21 | |
| 22 | def regularToSupport : RegularSupport.Constructions.regularOver X Z ⟶ RegularSupport.Constructions.supportOver X Z := |
| 23 | Over.homMk (Geometric.SmoothStratum.smoothStratumι (Geometric.SupportFiniteType.supportStructureMap Z X.hom)) rfl |
| 24 | |
| 25 | instance regularToSupport_open : IsOpenImmersion (regularToSupport X Z).left := |
| 26 | inferInstanceAs (IsOpenImmersion (Geometric.SmoothStratum.smoothStratumι (Geometric.SupportFiniteType.supportStructureMap Z X.hom))) |
| 27 | |
| 28 | theorem regularToSupport_ambient : |
| 29 | regularToSupport X Z ≫ RegularSupport.Constructions.supportToAmbient X Z = RegularSupport.Constructions.regularToAmbient X Z := by |
| 30 | apply Over.OverMorphism.ext |
| 31 | rfl |
| 32 | |
| 33 | def smoothOpenToRegular (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) |
| 34 | (hU : U ≤ (Geometric.SupportFiniteType.supportStructureMap Z X.hom).smoothLocus) : |
| 35 | ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeOver (RegularSupport.Constructions.supportOver X Z) U ⟶ RegularSupport.Constructions.regularOver X Z := |
| 36 | Over.homMk ((Geometric.GenericPoint.reducedSupportScheme Z).homOfLE hU) (by |
| 37 | change (Geometric.GenericPoint.reducedSupportScheme Z).homOfLE hU ≫ |
| 38 | ((Geometric.SupportFiniteType.supportStructureMap Z X.hom).smoothLocus.ι ≫ Geometric.SupportFiniteType.supportStructureMap Z X.hom) = _ |
| 39 | rw [← Category.assoc, Scheme.homOfLE_ι] |
| 40 | rfl) |
| 41 | |
| 42 | instance smoothOpenToRegular_open (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) |
| 43 | (hU : U ≤ (Geometric.SupportFiniteType.supportStructureMap Z X.hom).smoothLocus) : |
| 44 | IsOpenImmersion (smoothOpenToRegular X Z U hU).left := |
| 45 | inferInstanceAs (IsOpenImmersion ((Geometric.GenericPoint.reducedSupportScheme Z).homOfLE hU)) |
| 46 | |
| 47 | theorem smoothOpenToRegular_inclusion (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) |
| 48 | (hU : U ≤ (Geometric.SupportFiniteType.supportStructureMap Z X.hom).smoothLocus) : |
| 49 | smoothOpenToRegular X Z U hU ≫ regularToSupport X Z = ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion (RegularSupport.Constructions.supportOver X Z) U := by |
| 50 | apply Over.OverMorphism.ext |
| 51 | exact (Geometric.GenericPoint.reducedSupportScheme Z).homOfLE_ι hU |
| 52 | |
| 53 | theorem smoothOpenToRegular_ambient (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) |
| 54 | (hU : U ≤ (Geometric.SupportFiniteType.supportStructureMap Z X.hom).smoothLocus) : |
| 55 | smoothOpenToRegular X Z U hU ≫ RegularSupport.Constructions.regularToAmbient X Z = |
| 56 | ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion (RegularSupport.Constructions.supportOver X Z) U ≫ RegularSupport.Constructions.supportToAmbient X Z := by |
| 57 | rw [← regularToSupport_ambient, ← Category.assoc, smoothOpenToRegular_inclusion] |
| 58 | |
| 59 | theorem supportOpen_dimension (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) [Nonempty U] : |
| 60 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeOver (RegularSupport.Constructions.supportOver X Z) U).hom = |
| 61 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension (RegularSupport.Constructions.regularOver X Z).hom := by |
| 62 | let : IsIntegral (RegularSupport.Constructions.supportOver X Z).left := inferInstanceAs (IsIntegral (Geometric.GenericPoint.reducedSupportScheme Z)) |
| 63 | let : IsIntegral (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeOver (RegularSupport.Constructions.supportOver X Z) U).left := inferInstanceAs (IsIntegral U.toScheme) |
| 64 | let : LocallyOfFiniteType (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeOver (RegularSupport.Constructions.supportOver X Z) U).hom := |
| 65 | inferInstanceAs (LocallyOfFiniteType (U.ι ≫ Geometric.SupportFiniteType.supportStructureMap Z X.hom)) |
| 66 | rw [← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension] |
| 67 | change Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (U.ι ≫ Geometric.SupportFiniteType.supportStructureMap Z X.hom) = _ |
| 68 | rw [Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_open, RegularSupport.Constructions.regularDimension_eq] |
| 69 | rfl |
| 70 | |
| 71 | theorem smoothOpenToRegular_range (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) |
| 72 | (hU : U ≤ (Geometric.SupportFiniteType.supportStructureMap Z X.hom).smoothLocus) : |
| 73 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (smoothOpenToRegular X Z U hU)) = |
| 74 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (regularToSupport X Z) ⁻¹' |
| 75 | (ProperImage.AnalyticRestriction.Constructions.Construction.schemeAnalyticOpen (RegularSupport.Constructions.supportOver X Z) U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (RegularSupport.Constructions.supportOver X Z))) := by |
| 76 | have hcomp (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeOver (RegularSupport.Constructions.supportOver X Z) U)) : |
| 77 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (regularToSupport X Z) |
| 78 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (smoothOpenToRegular X Z U hU) x) = |
| 79 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion (RegularSupport.Constructions.supportOver X Z) U) x := by |
| 80 | rw [← ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp, smoothOpenToRegular_inclusion] |
| 81 | ext x |
| 82 | constructor |
| 83 | · rintro ⟨z, rfl⟩ |
| 84 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (regularToSupport X Z) |
| 85 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (smoothOpenToRegular X Z U hU) z) ∈ |
| 86 | (ProperImage.AnalyticRestriction.Constructions.Construction.schemeAnalyticOpen (RegularSupport.Constructions.supportOver X Z) U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (RegularSupport.Constructions.supportOver X Z))) |
| 87 | rw [hcomp] |
| 88 | exact (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemePointHomeomorph (RegularSupport.Constructions.supportOver X Z) U z).property |
| 89 | · intro hx |
| 90 | let z := (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemePointHomeomorph (RegularSupport.Constructions.supportOver X Z) U).symm |
| 91 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (regularToSupport X Z) x, hx⟩ |
| 92 | refine ⟨z, (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion |
| 93 | (regularToSupport X Z)).injective ?_⟩ |
| 94 | rw [hcomp] |
| 95 | exact congrArg Subtype.val ((ProperImage.AnalyticRestriction.Constructions.Construction.openSchemePointHomeomorph (RegularSupport.Constructions.supportOver X Z) U).apply_symm_apply |
| 96 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (regularToSupport X Z) x, hx⟩) |
| 97 | |
| 98 | /-- The part of the actual reduced support omitted by the chosen open. -/ |
| 99 | def supportOpenBoundary (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) : Closeds X.left := |
| 100 | ⟨Geometric.GenericPoint.reducedSupportι Z '' (U : Set (Geometric.GenericPoint.reducedSupportScheme Z))ᶜ, |
| 101 | (Geometric.GenericPoint.reducedSupportι Z).isClosedMap _ U.isOpen.isClosed_compl⟩ |
| 102 | |
| 103 | omit [LocallyOfFiniteType X.hom] in |
| 104 | theorem supportOpenBoundary_subset (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) : |
| 105 | (supportOpenBoundary X Z U : Set X.left) ⊆ Z := by |
| 106 | rintro x ⟨z, _, rfl⟩ |
| 107 | rw [← Geometric.GenericPoint.range_reducedSupportι Z] |
| 108 | exact Set.mem_range_self z |
| 109 | |
| 110 | omit [LocallyOfFiniteType X.hom] in |
| 111 | theorem genericPoint_not_mem_boundary (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) |
| 112 | (hU : genericPoint (Geometric.GenericPoint.reducedSupportScheme Z) ∈ U) : |
| 113 | irreducibleSetEquivPoints Z ∉ supportOpenBoundary X Z U := by |
| 114 | rintro ⟨z, hz, he⟩ |
| 115 | have he' : z = genericPoint (Geometric.GenericPoint.reducedSupportScheme Z) := |
| 116 | (Geometric.GenericPoint.reducedSupportι Z).isClosedEmbedding.injective (he.trans (Geometric.GenericPoint.reducedSupport_genericPoint_eq Z).symm) |
| 117 | exact hz (he'.symm ▸ hU) |
| 118 | |
| 119 | theorem supportOpenBoundary_dimension_lt (U : (Geometric.GenericPoint.reducedSupportScheme Z).Opens) |
| 120 | (hU : genericPoint (Geometric.GenericPoint.reducedSupportScheme Z) ∈ U) |
| 121 | (A : IrreducibleCloseds X.left) (hA : (A : Set X.left) ⊆ supportOpenBoundary X Z U) : |
| 122 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.hom < Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom := by |
| 123 | have hle : A ≤ Z := hA.trans (supportOpenBoundary_subset X Z U) |
| 124 | have hne : A ≠ Z := by |
| 125 | intro he |
| 126 | subst A |
| 127 | have hη : irreducibleSetEquivPoints Z ∈ (Z : Set X.left) := by |
| 128 | rw [← Geometric.GenericPoint.reducedSupport_genericPoint_eq Z, ← Geometric.GenericPoint.range_reducedSupportι Z] |
| 129 | exact Set.mem_range_self _ |
| 130 | exact genericPoint_not_mem_boundary X Z U hU |
| 131 | (hA hη) |
| 132 | exact Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt A Z X.hom (lt_of_le_of_ne hle hne) |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SmoothSupportOpen.Constructions |