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.Geometric.GlobalSupportPurity |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.RegularLocusComplement |
| 3 | import Mathlib.Topology.LocalAtTarget |
| 4 | import Mathlib.Topology.Metrizable.Basic |
| 5 | |
| 6 | /-! # Immersion Purity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Open.ImmersionPurity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: support purity on arbitrary open restrictions of a complex immersion |
| 14 | |
| 15 | Restricting a closed complex immersion to an open subset of its ambient |
| 16 | manifold preserves its genuine injective differential. The existing support |
| 17 | purity theorem therefore applies to every such open restriction. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Set Filter |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Geometric.GlobalSupportPurity.Cycles |
| 22 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | set_option backward.defeqAttrib.useBackward true |
| 27 | |
| 28 | section OpenTangent |
| 29 | |
| 30 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 31 | [TopologicalSpace M] [ChartedSpace E M] |
| 32 | |
| 33 | /-- The local inverse of an open inclusion is complex smoothly differentiable. -/ |
| 34 | theorem complexOpenInverse_contMDiffAt (U : Opens M) (hU : Nonempty U) |
| 35 | {x : M} (hx : x ∈ (U : Set M)) : |
| 36 | ContMDiffAt 𝓘(ℂ, E) 𝓘(ℂ, E) ∞ (U.openPartialHomeomorphSubtypeCoe hU).symm x := by |
| 37 | rw [← ContMDiffAt.subtypeVal_comp_iff] |
| 38 | apply contMDiffAt_id.congr_of_eventuallyEq |
| 39 | filter_upwards [U.isOpen.mem_nhds hx] with y hy |
| 40 | exact (U.openPartialHomeomorphSubtypeCoe hU).right_inv |
| 41 | (by simpa only [Opens.openPartialHomeomorphSubtypeCoe_target] using hy) |
| 42 | |
| 43 | /-- The actual open inclusion has an invertible complex tangent map. -/ |
| 44 | def complexOpenTangentEquiv (U : Opens M) (x : U) : |
| 45 | TangentSpace 𝓘(ℂ, E) x ≃L[ℂ] TangentSpace 𝓘(ℂ, E) (x : M) := by |
| 46 | have h : (U.openPartialHomeomorphSubtypeCoe ⟨x⟩).MDifferentiable 𝓘(ℂ, E) 𝓘(ℂ, E) := by |
| 47 | constructor |
| 48 | · exact (contMDiff_subtype_val (I := 𝓘(ℂ, E)) (U := U) (n := ω)).mdifferentiable |
| 49 | (by simp) |>.mdifferentiableOn |
| 50 | · intro y hy |
| 51 | have hyU : y ∈ (U : Set M) := by simpa only [Opens.openPartialHomeomorphSubtypeCoe_target] using hy |
| 52 | exact ((complexOpenInverse_contMDiffAt U ⟨x⟩ hyU).mdifferentiableAt (by simp)).mdifferentiableWithinAt |
| 53 | exact h.mfderiv (by trivial) |
| 54 | |
| 55 | theorem complexOpenTangentEquiv_coe (U : Opens M) (x : U) : |
| 56 | (complexOpenTangentEquiv U x).toContinuousLinearMap = |
| 57 | mfderiv 𝓘(ℂ, E) 𝓘(ℂ, E) (Subtype.val : U → M) x := rfl |
| 58 | |
| 59 | end OpenTangent |
| 60 | |
| 61 | variable {E F M N : Type} |
| 62 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 63 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 64 | [TopologicalSpace M] [ChartedSpace E M] |
| 65 | [TopologicalSpace N] [ChartedSpace F N] |
| 66 | |
| 67 | variable (f : M → N) (hf : Topology.IsClosedEmbedding f) |
| 68 | (hs : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, F) ω f) |
| 69 | (hdf : ∀ x, Function.Injective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) f x)) (U : Opens N) |
| 70 | |
| 71 | /-- The inverse image is an actual open submanifold. -/ |
| 72 | def immersionOpenDomain : Opens M := ⟨f ⁻¹' U, U.isOpen.preimage hf.continuous⟩ |
| 73 | |
| 74 | /-- The restricted map has its actual open source and open target. -/ |
| 75 | def immersionOpenMap : immersionOpenDomain f hf U → U := fun x => ⟨f x.val, x.property⟩ |
| 76 | |
| 77 | include hs in |
| 78 | /-- Analyticity of the actual restriction in both source and target. -/ |
| 79 | theorem immersionOpenMap_contMDiff : |
| 80 | ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, F) ω (immersionOpenMap f hf U) := by |
| 81 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff U (immersionOpenMap f hf U) ω).mp |
| 82 | exact hs.comp (contMDiff_subtype_val (I := 𝓘(ℂ, E)) (U := immersionOpenDomain f hf U)) |
| 83 | |
| 84 | include hs hdf in |
| 85 | /-- Its differential is injective, by the actual derivative of open inclusion. -/ |
| 86 | theorem immersionOpenMap_mfderiv_injective (x : immersionOpenDomain f hf U) : |
| 87 | Function.Injective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) (immersionOpenMap f hf U) x) := by |
| 88 | have hj : Function.Injective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) |
| 89 | (f ∘ (Subtype.val : immersionOpenDomain f hf U → M)) x) := by |
| 90 | have hsub := ((contMDiff_subtype_val (I := 𝓘(ℂ, E)) |
| 91 | (U := immersionOpenDomain f hf U) (n := ω)) x).mdifferentiableAt (by simp) |
| 92 | rw [mfderiv_comp x ((hs x.val).mdifferentiableAt (by simp)) |
| 93 | hsub] |
| 94 | exact (hdf x.val).comp (complexOpenTangentEquiv (immersionOpenDomain f hf U) x).injective |
| 95 | have he := ComplexPoints.Analytic.RegularLocusComplement.mfderiv_intoOpen_eq (𝕜 := ℂ) (E := E) (F := F) U (immersionOpenMap f hf U) x |
| 96 | intro v w hvw |
| 97 | apply hj |
| 98 | exact (congrArg (fun A : E →L[ℂ] F => A v) he).symm.trans |
| 99 | (hvw.trans (congrArg (fun A : E →L[ℂ] F => A w) he)) |
| 100 | |
| 101 | /-- The restriction is still a closed embedding. -/ |
| 102 | theorem immersionOpenMap_isClosedEmbedding : Topology.IsClosedEmbedding (immersionOpenMap f hf U) := |
| 103 | (U : Set N).restrictPreimage_isClosedEmbedding hf |
| 104 | |
| 105 | /-- The restricted image is exactly the portion of the original support inside the open set. -/ |
| 106 | theorem immersionOpenMap_range : |
| 107 | Set.range (immersionOpenMap f hf U) = {x : U | x.val ∈ Set.range f} := by |
| 108 | ext x |
| 109 | constructor |
| 110 | · rintro ⟨y, rfl⟩ |
| 111 | exact ⟨y.val, rfl⟩ |
| 112 | · rintro ⟨y, hy⟩ |
| 113 | exact ⟨⟨y, show f y ∈ U from hy.symm ▸ x.property⟩, Subtype.ext hy⟩ |
| 114 | |
| 115 | variable [hFinE : FiniteDimensional ℂ E] [hFinF : FiniteDimensional ℂ F] |
| 116 | [hManM : IsManifold 𝓘(ℂ, E) ω M] [hManN : IsManifold 𝓘(ℂ, F) ω N] [hMetric : MetrizableSpace N] |
| 117 | |
| 118 | include hf hs hdf hFinE hFinF hManM hManN hMetric in |
| 119 | /-- Actual singular support cohomology vanishes on every ambient open subset |
| 120 | below the real normal codimension. -/ |
| 121 | theorem closedComplexImmersion_open_supportCohomology_isZero (n : ℕ) |
| 122 | (hn : n < 2 * (Module.finrank ℂ F - Module.finrank ℂ E)) : |
| 123 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 124 | {x : U | x.val ∈ Set.range f}ᶜ n) := by |
| 125 | let : MetrizableSpace U := MetrizableSpace.subtype (U : Set N) |
| 126 | rw [← immersionOpenMap_range f hf U] |
| 127 | exact CycleClass.Geometric.GlobalSupportPurity.Cycles.closedComplexImmersion_supportCohomology_isZero |
| 128 | (immersionOpenMap f hf U) (immersionOpenMap_isClosedEmbedding f hf U) |
| 129 | (immersionOpenMap_contMDiff f hf hs U) (immersionOpenMap_mfderiv_injective f hf hs hdf U) n hn |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Open.ImmersionPurity |