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.ComplexPoints.Analytic.StratumNormalSpace |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeImmersionPointTopology |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.StratumDimension |
| 4 | |
| 5 | /-! # Support Regular Boundary -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The actual singular boundary of a cycle support |
| 13 | |
| 14 | The nonsmooth boundary is a closed analytic subset. Its complement inside the |
| 15 | support is exactly the image of the native smooth-locus point map. These set |
| 16 | identities use the actual residue-field lifting theorem for immersion images. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | /-- The genuine underlying point, with its codomain written as the variety's |
| 22 | carrier so that subsequent set identities do not depend on an over-object projection. -/ |
| 23 | abbrev Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.analyticUnderlying (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 24 | V.analyticSpace → V.carrier := |
| 25 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (X := V.toOver) |
| 26 | |
| 27 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.continuous_analyticUnderlying |
| 28 | (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : Continuous V.analyticUnderlying := |
| 29 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_underlying |
| 30 | |
| 31 | /-- The algebraic singular boundary is exactly the support minus the image |
| 32 | of its actual smooth open locus. -/ |
| 33 | theorem ComplexPoints.Analytic.SupportRegularBoundary.supportSingularBoundary_eq_sdiff {X : Scheme} (Z : IrreducibleCloseds X) |
| 34 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] : |
| 35 | CycleClass.Geometric.StratumDimension.supportSingularBoundary Z f = |
| 36 | (Z : Set X) \ Set.range (CycleClass.Geometric.SmoothStratum.reducedSupportSmoothStratumι Z (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f)) := by |
| 37 | ext y |
| 38 | constructor |
| 39 | · rintro ⟨x, hx, rfl⟩ |
| 40 | refine ⟨?_, ?_⟩ |
| 41 | · rw [← CycleClass.Geometric.GenericPoint.range_reducedSupportι Z] |
| 42 | exact Set.mem_range_self x |
| 43 | · rintro ⟨z, hz⟩ |
| 44 | have he : CycleClass.Geometric.SmoothStratum.smoothStratumι (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f) z = x := |
| 45 | (CycleClass.Geometric.GenericPoint.reducedSupportι Z).isClosedEmbedding.injective hz |
| 46 | have hreg : x ∈ Set.range (CycleClass.Geometric.SmoothStratum.smoothStratumι (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z f)) := ⟨z, he⟩ |
| 47 | rw [CycleClass.Geometric.SmoothStratum.range_smoothStratumι] at hreg |
| 48 | exact hx hreg |
| 49 | · rintro ⟨hy, hnot⟩ |
| 50 | have hyrange : y ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι Z) := by |
| 51 | simpa only [CycleClass.Geometric.GenericPoint.range_reducedSupportι] using hy |
| 52 | obtain ⟨x, rfl⟩ := hyrange |
| 53 | refine ⟨x, ?_, rfl⟩ |
| 54 | intro hx |
| 55 | exact hnot ⟨⟨x, hx⟩, rfl⟩ |
| 56 | |
| 57 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 58 | |
| 59 | local instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.ambientLocallyOfFiniteType : LocallyOfFiniteType V.structureMap := by |
| 60 | let : Smooth V.structureMap := V.presentation.smooth |
| 61 | infer_instance |
| 62 | |
| 63 | /-- The existing smooth-locus point map into the actual analytic variety. -/ |
| 64 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticToAmbient (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 65 | Z.regularAnalyticSpace → V.analyticSpace := Z.regularAmbientInclusion |
| 66 | |
| 67 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.isEmbedding_regularAnalyticToAmbient (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 68 | Topology.IsEmbedding Z.regularAnalyticToAmbient := |
| 69 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isEmbedding_map_of_isImmersion Z.regularToAmbient |
| 70 | |
| 71 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.continuous_regularAnalyticToAmbient (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 72 | Continuous Z.regularAnalyticToAmbient := |
| 73 | Z.isEmbedding_regularAnalyticToAmbient.continuous |
| 74 | |
| 75 | /-- The actual analytic points above the algebraic singular boundary. -/ |
| 76 | def CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.analyticSingularBoundary (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Set V.analyticSpace := |
| 77 | V.analyticUnderlying ⁻¹' CycleClass.Geometric.StratumDimension.supportSingularBoundary Z.1 V.structureMap |
| 78 | |
| 79 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.isClosed_analyticSingularBoundary (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 80 | IsClosed Z.analyticSingularBoundary := |
| 81 | (CycleClass.Geometric.StratumDimension.isClosed_supportSingularBoundary Z.1 V.structureMap).preimage |
| 82 | V.continuous_analyticUnderlying |
| 83 | |
| 84 | /-- Exact support-point membership, including the residue-field lifting direction. -/ |
| 85 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.range_analyticInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 86 | Set.range Z.analyticInclusion = |
| 87 | V.analyticUnderlying ⁻¹' (Z.1 : Set V.carrier) := by |
| 88 | let : IsClosedImmersion Z.toAmbient.left := Z.inclusion_isClosedImmersion |
| 89 | calc |
| 90 | Set.range Z.analyticInclusion = V.analyticUnderlying ⁻¹' Set.range Z.inclusion := |
| 91 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isImmersion Z.toAmbient |
| 92 | _ = V.analyticUnderlying ⁻¹' (Z.1 : Set V.carrier) := |
| 93 | congrArg (fun S : Set V.carrier => V.analyticUnderlying ⁻¹' S) |
| 94 | (CycleClass.Geometric.GenericPoint.range_reducedSupportι Z.1) |
| 95 | |
| 96 | /-- Exact smooth-locus point membership for the genuine immersion. -/ |
| 97 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.range_regularAnalyticToAmbient (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 98 | Set.range Z.regularAnalyticToAmbient = |
| 99 | V.analyticUnderlying ⁻¹' |
| 100 | Set.range (CycleClass.Geometric.SmoothStratum.reducedSupportSmoothStratumι Z.1 Z.structureMap) := |
| 101 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isImmersion Z.regularToAmbient |
| 102 | |
| 103 | /-- The analytic singular boundary is precisely what the smooth locus omits. -/ |
| 104 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.analyticSingularBoundary_eq_sdiff (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 105 | Z.analyticSingularBoundary = |
| 106 | Set.range Z.analyticInclusion \ Set.range Z.regularAnalyticToAmbient := by |
| 107 | rw [Z.range_analyticInclusion, Z.range_regularAnalyticToAmbient] |
| 108 | change V.analyticUnderlying ⁻¹' CycleClass.Geometric.StratumDimension.supportSingularBoundary Z.1 V.structureMap = _ |
| 109 | rw [ComplexPoints.Analytic.SupportRegularBoundary.supportSingularBoundary_eq_sdiff, Set.preimage_sdiff] |
| 110 | |
| 111 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.range_regularAnalyticToAmbient_subset (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 112 | Set.range Z.regularAnalyticToAmbient ⊆ Set.range Z.analyticInclusion := by |
| 113 | rintro _ ⟨x, rfl⟩ |
| 114 | exact ⟨Z.regularAnalyticInclusion x, rfl⟩ |
| 115 | |
| 116 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.analyticSingularBoundary_subset_range (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 117 | Z.analyticSingularBoundary ⊆ Set.range Z.analyticInclusion := by |
| 118 | rw [Z.analyticSingularBoundary_eq_sdiff] |
| 119 | exact Set.sdiff_subset |
| 120 | |
| 121 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticToAmbient_not_mem_boundary (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 122 | (x : Z.regularAnalyticSpace) : Z.regularAnalyticToAmbient x ∉ Z.analyticSingularBoundary := by |
| 123 | rw [Z.analyticSingularBoundary_eq_sdiff] |
| 124 | exact fun hx => hx.2 (Set.mem_range_self x) |
| 125 | |
| 126 | /-- Removing the closed singular boundary from the support leaves exactly |
| 127 | the analytic smooth-locus image. -/ |
| 128 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.range_analyticInclusion_sdiff_boundary (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 129 | Set.range Z.analyticInclusion \ Z.analyticSingularBoundary = |
| 130 | Set.range Z.regularAnalyticToAmbient := by |
| 131 | rw [Z.analyticSingularBoundary_eq_sdiff] |
| 132 | exact Set.sdiff_sdiff_cancel_left (Z.range_regularAnalyticToAmbient_subset) |
| 133 | |
| 134 | /-- Both parts cover the actual analytic support. -/ |
| 135 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regular_union_boundary (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 136 | Set.range Z.regularAnalyticToAmbient ∪ Z.analyticSingularBoundary = |
| 137 | Set.range Z.analyticInclusion := by |
| 138 | rw [Z.analyticSingularBoundary_eq_sdiff] |
| 139 | exact Set.union_sdiff_cancel (Z.range_regularAnalyticToAmbient_subset) |
| 140 | |
| 141 | end |
| 142 | |
| 143 | end OAI.AlgebraicGeometry |