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.ImageOpen |
| 2 | |
| 3 | /-! # Boundary Containment -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Cycles.Functoriality.BoundaryContainment.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 10 | |
| 11 | /-- Membership in the omitted support boundary is exactly failure of |
| 12 | membership in the chosen open before applying the closed inclusion. -/ |
| 13 | theorem supportOpenBoundary_preimage {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 14 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) : |
| 15 | Z.inclusion ⁻¹' (ImageOpen.Construction.supportOpenBoundary Z U : Set V.carrier) = (U : Set Z.scheme)ᶜ := by |
| 16 | exact Set.preimage_image_eq _ Z.inclusion.isClosedEmbedding.injective |
| 17 | |
| 18 | /-- A support's singular boundary lies in the complement of every |
| 19 | smooth open of the support. -/ |
| 20 | theorem singularBoundary_subset_supportOpenBoundary {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 21 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) (hU : U ≤ Z.structureMap.smoothLocus) : |
| 22 | CycleClass.Geometric.StratumDimension.supportSingularBoundary Z.1 V.structureMap ⊆ (ImageOpen.Construction.supportOpenBoundary Z U : Set V.carrier) := by |
| 23 | rintro x ⟨z, hz, rfl⟩ |
| 24 | refine ⟨z, ?_, rfl⟩ |
| 25 | intro hzU |
| 26 | exact hz (hU hzU) |
| 27 | |
| 28 | /-- The ambient complement of the omitted support boundary is contained |
| 29 | in the canonical regular ambient open. -/ |
| 30 | theorem boundaryComplement_subset_regularAmbient {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 31 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) (hU : U ≤ Z.structureMap.smoothLocus) : |
| 32 | (TraceDetection.Construction.algebraicComplementOpen V (ImageOpen.Construction.supportOpenBoundary Z U) : Set V.analyticSpace) ⊆ |
| 33 | Z.regularAmbientOpen := by |
| 34 | intro x hx hs |
| 35 | exact hx (singularBoundary_subset_supportOpenBoundary Z U hU hs) |
| 36 | |
| 37 | /-- A smooth inverse image of the chosen target open contains all source |
| 38 | support points whose ambient image avoids the target's omitted boundary. -/ |
| 39 | theorem sourceSingularBoundary_maps_into_supportOpenBoundary |
| 40 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p q : ℕ} |
| 41 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) (T : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q) |
| 42 | (f : X.toOver ⟶ Y.toOver) (i : Z.scheme ⟶ T.scheme) |
| 43 | (hi : i ≫ T.inclusion = Z.inclusion ≫ SupportMap.Construction.algebraicMap f) |
| 44 | (U : T.scheme.Opens) (hU : i ⁻¹ᵁ U ≤ Z.structureMap.smoothLocus) : |
| 45 | CycleClass.Geometric.StratumDimension.supportSingularBoundary Z.1 X.structureMap ⊆ |
| 46 | SupportMap.Construction.algebraicMap f ⁻¹' (ImageOpen.Construction.supportOpenBoundary T U : Set Y.carrier) := by |
| 47 | rintro x ⟨z, hz, rfl⟩ |
| 48 | refine ⟨i z, ?_, ?_⟩ |
| 49 | · intro hzU |
| 50 | exact hz (hU hzU) |
| 51 | · exact congrArg (fun k : Z.scheme ⟶ Y.carrier => k z) hi |
| 52 | |
| 53 | /-- On native complex points, the same algebraic containment ensures |
| 54 | that compact preimages avoid the source singular boundary. -/ |
| 55 | theorem boundaryComplement_preimage_subset_regularAmbient |
| 56 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p q : ℕ} |
| 57 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) (T : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport Y q) |
| 58 | (f : X.toOver ⟶ Y.toOver) (i : Z.scheme ⟶ T.scheme) |
| 59 | (hi : i ≫ T.inclusion = Z.inclusion ≫ SupportMap.Construction.algebraicMap f) |
| 60 | (U : T.scheme.Opens) (hU : i ⁻¹ᵁ U ≤ Z.structureMap.smoothLocus) : |
| 61 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f ⁻¹' |
| 62 | (TraceDetection.Construction.algebraicComplementOpen Y (ImageOpen.Construction.supportOpenBoundary T U) : Set Y.analyticSpace) ⊆ |
| 63 | Z.regularAmbientOpen := by |
| 64 | intro x hx hs |
| 65 | have hb := sourceSingularBoundary_maps_into_supportOpenBoundary Z T f i hi U hU hs |
| 66 | exact hx hb |
| 67 | |
| 68 | /-- An analytic support point whose ambient image avoids the omitted |
| 69 | boundary belongs to the chosen support open. -/ |
| 70 | theorem supportPoint_mem_open_of_boundaryComplement |
| 71 | {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 72 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (U : Z.scheme.Opens) (x : Z.analyticSpace) |
| 73 | (hx : Z.analyticInclusion x ∈ TraceDetection.Construction.algebraicComplementOpen V (ImageOpen.Construction.supportOpenBoundary Z U)) : |
| 74 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ U := by |
| 75 | by_contra hn |
| 76 | exact hx ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x, hn, rfl⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Cycles.Functoriality.BoundaryContainment.Construction |