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.Divisors.LineBundles.Scheme.SupportNeighborhoodDetection |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement |
| 3 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 4 | |
| 5 | /-! # Regular Open -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.RegularOpen.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual regular part of a cycle is a closed holomorphic immersion on every ambient open contained in its regular ambient locus. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.OpenImmersion.Constructions.Raw |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement.Constructions.ThomAmbientTransport |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 19 | |
| 20 | theorem holomorphicHomeomorph_mfderiv_bijective |
| 21 | {M N E F : Type} [TopologicalSpace M] [TopologicalSpace N] |
| 22 | [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 23 | [ChartedSpace E M] [ChartedSpace F N] (e : M ≃ₜ N) |
| 24 | (he : MDifferentiable 𝓘(ℂ, E) 𝓘(ℂ, F) e) |
| 25 | (hi : MDifferentiable 𝓘(ℂ, F) 𝓘(ℂ, E) e.symm) (x : M) : |
| 26 | Function.Bijective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) e x) := by |
| 27 | have hd : e.toOpenPartialHomeomorph.MDifferentiable 𝓘(ℂ, E) 𝓘(ℂ, F) := |
| 28 | ⟨he.mdifferentiableOn, hi.mdifferentiableOn⟩ |
| 29 | exact hd.mfderiv_bijective (by trivial) |
| 30 | |
| 31 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 32 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 33 | (Z : IrreducibleCloseds X.left) (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 34 | (hU : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) ⊆ CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z) |
| 35 | |
| 36 | local notation "E" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 37 | |
| 38 | def schemeCycleRegularOpenHomeomorph : Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U ≃ₜ U where |
| 39 | toFun x := ⟨x.val.val, x.property⟩ |
| 40 | invFun y := ⟨⟨y.val, hU y.property⟩, y.property⟩ |
| 41 | left_inv _ := rfl |
| 42 | right_inv _ := rfl |
| 43 | continuous_toFun := (continuous_subtype_val.comp continuous_subtype_val).subtype_mk _ |
| 44 | continuous_invFun := (continuous_subtype_val.subtype_mk _).subtype_mk _ |
| 45 | |
| 46 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 47 | theorem schemeCycleRegularOpenHomeomorph_analytic : |
| 48 | ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω (schemeCycleRegularOpenHomeomorph X Z U hU) := by |
| 49 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff U _ ω).mp |
| 50 | exact (show ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω |
| 51 | (Subtype.val : (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z) → (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) from contMDiff_subtype_val).comp |
| 52 | (show ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω |
| 53 | (Subtype.val : Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U → (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z)) from contMDiff_subtype_val) |
| 54 | |
| 55 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 56 | theorem schemeCycleRegularOpenHomeomorph_symm_analytic : |
| 57 | ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω (schemeCycleRegularOpenHomeomorph X Z U hU).symm := by |
| 58 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff (Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U) _ ω).mp |
| 59 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z) _ ω).mp |
| 60 | exact (show ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω |
| 61 | (Subtype.val : U → (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) from contMDiff_subtype_val) |
| 62 | |
| 63 | def schemeCycleRegularOpenImmersion : |
| 64 | CycleClass.Thom.GraphOpenImmersion.Constructions.graphSourceOpen (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) |
| 65 | (Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U) → U := |
| 66 | schemeCycleRegularOpenHomeomorph X Z U hU ∘ CycleClass.Thom.GraphOpenImmersion.Constructions.restrictedBase (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) |
| 67 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) (Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U) |
| 68 | |
| 69 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 70 | theorem schemeCycleRegularOpenImmersion_analytic : |
| 71 | ContMDiff 𝓘(ℂ, CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel X Z) 𝓘(ℂ, E) ω (schemeCycleRegularOpenImmersion X Z U hU) := |
| 72 | (schemeCycleRegularOpenHomeomorph_analytic X Z U hU).comp |
| 73 | (CycleClass.Thom.GraphOpenImmersion.Constructions.restrictedBase_analytic (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) |
| 74 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) (Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U)) |
| 75 | |
| 76 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 77 | theorem schemeCycleRegularOpenImmersion_differential_injective |
| 78 | (x : CycleClass.Thom.GraphOpenImmersion.Constructions.graphSourceOpen (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) |
| 79 | (Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U)) : |
| 80 | Function.Injective (mfderiv 𝓘(ℂ, CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel X Z) 𝓘(ℂ, E) |
| 81 | (schemeCycleRegularOpenImmersion X Z U hU) x) := by |
| 82 | have he := (schemeCycleRegularOpenHomeomorph_analytic X Z U hU).mdifferentiable (by simp) |
| 83 | have hei := (schemeCycleRegularOpenHomeomorph_symm_analytic X Z U hU).mdifferentiable (by simp) |
| 84 | unfold schemeCycleRegularOpenImmersion |
| 85 | rw [mfderiv_comp x (he _) ((CycleClass.Thom.GraphOpenImmersion.Constructions.restrictedBase_analytic (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) |
| 86 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) (Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U)).mdifferentiable (by simp) x)] |
| 87 | exact (holomorphicHomeomorph_mfderiv_bijective (schemeCycleRegularOpenHomeomorph X Z U hU) he hei _).injective.comp |
| 88 | (CycleClass.Thom.OpenImmersion.Constructions.Raw.restrictedBase_differential_injective (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) |
| 89 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) (Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U) |
| 90 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_mfderiv_injective X Z) x) |
| 91 | |
| 92 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 93 | theorem schemeCycleRegularOpenImmersion_closedEmbedding : Topology.IsClosedEmbedding (schemeCycleRegularOpenImmersion X Z U hU) := |
| 94 | (schemeCycleRegularOpenHomeomorph X Z U hU).isClosedEmbedding.comp |
| 95 | (CycleClass.Thom.OpenImmersion.Constructions.Raw.restrictedBase_closedEmbedding (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) |
| 96 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) (Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U) |
| 97 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_closed X Z)) |
| 98 | |
| 99 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 100 | theorem schemeCycleRegularOpenImmersion_range : Set.range (schemeCycleRegularOpenImmersion X Z U hU) = |
| 101 | (Subtype.val : U → (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) ⁻¹' Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z) := by |
| 102 | ext y |
| 103 | constructor |
| 104 | · rintro ⟨x, rfl⟩ |
| 105 | have hx : (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) x.val ∈ Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) := Set.mem_range_self _ |
| 106 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_range X Z] at hx |
| 107 | exact hx |
| 108 | · intro hy |
| 109 | let z : (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z) := ⟨y.val, hU y.property⟩ |
| 110 | have hz : z ∈ Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) := by |
| 111 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_range X Z] |
| 112 | exact hy |
| 113 | obtain ⟨x, hx⟩ := hz |
| 114 | have hxU : (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) x ∈ Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U := by |
| 115 | change ((CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) x).val ∈ U |
| 116 | rw [hx] |
| 117 | exact y.property |
| 118 | refine ⟨⟨x, hxU⟩, ?_⟩ |
| 119 | apply Subtype.ext |
| 120 | change ((CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) x).val = y.val |
| 121 | exact congrArg Subtype.val hx |
| 122 | |
| 123 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 124 | theorem schemeCycleRegularOpenImmersion_mapsTo : Set.MapsTo (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 125 | (Set.range (schemeCycleRegularOpenImmersion X Z U hU))ᶜ (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z))ᶜ := by |
| 126 | intro y hy |
| 127 | change y.val ∉ Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z) |
| 128 | rw [schemeCycleRegularOpenImmersion_range] at hy |
| 129 | exact hy |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.RegularOpen.BundleCycles |