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.Open.ClosedImmersionComposition |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.InclusionDifferential |
| 3 | import Mathlib.Topology.LocalAtTarget |
| 4 | |
| 5 | /-! # Immersion Open Restriction -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions |
| 12 | |
| 13 | /-! Restricting an actual closed complex immersion to an ambient |
| 14 | open gives its actual source preimage and inherited analytic immersion. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 17 | open scoped _root_.Manifold ContDiff |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.ClosedImmersionComposition.Constructions.ComplexManifold OAI.AlgebraicGeometry.CycleClass.Thom.Open.InclusionDifferential.Constructions.Manifold |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable {V : ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : ComplexImmersion.Constructions.ClosedComplexImmersion V p) (U : Opens V.analyticSpace) |
| 25 | |
| 26 | abbrev sourceOpen : Opens Z.regularAnalyticSpace := |
| 27 | ⟨Z.regularComplementInclusion ⁻¹' (U : Set V.analyticSpace), |
| 28 | U.isOpen.preimage Z.continuous_regularComplementInclusion⟩ |
| 29 | |
| 30 | def restrictedMap : TopCat.of (sourceOpen Z U) ⟶ TopCat.of U := |
| 31 | TopCat.ofHom ⟨fun y => ⟨Z.regularComplementInclusion y.val, y.property⟩, |
| 32 | (Z.continuous_regularComplementInclusion.comp continuous_subtype_val).subtype_mk _⟩ |
| 33 | |
| 34 | theorem restrictedMap_analytic : |
| 35 | ContMDiff 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, V.analyticModel) ω (restrictedMap Z U) := by |
| 36 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff U (restrictedMap Z U) ω).mp |
| 37 | exact Z.holomorphic.comp (show ContMDiff 𝓘(ℂ, Z.regularAnalyticModel) |
| 38 | 𝓘(ℂ, Z.regularAnalyticModel) ω (Subtype.val : sourceOpen Z U → Z.regularAnalyticSpace) from |
| 39 | contMDiff_subtype_val) |
| 40 | |
| 41 | theorem restrictedMap_differential_injective (x : sourceOpen Z U) : |
| 42 | Function.Injective (mfderiv 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, V.analyticModel) |
| 43 | (restrictedMap Z U) x) := by |
| 44 | have hv : MDifferentiableAt 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, Z.regularAnalyticModel) |
| 45 | (Subtype.val : sourceOpen Z U → Z.regularAnalyticSpace) x := |
| 46 | (show ContMDiff 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, Z.regularAnalyticModel) 1 |
| 47 | (Subtype.val : sourceOpen Z U → Z.regularAnalyticSpace) from |
| 48 | contMDiff_subtype_val).mdifferentiableAt one_ne_zero |
| 49 | have hd := ComplexPoints.Analytic.RegularLocusComplement.mfderiv_intoOpen_eq (𝕜 := ℂ) («E» := Z.regularAnalyticModel) |
| 50 | (F := V.analyticModel) U (restrictedMap Z U) x |
| 51 | change mfderiv 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, V.analyticModel) (restrictedMap Z U) x = |
| 52 | mfderiv 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, V.analyticModel) |
| 53 | (Z.regularComplementInclusion ∘ Subtype.val) x at hd |
| 54 | rw [mfderiv_comp x ((Z.holomorphic x.val).mdifferentiableAt (by simp)) hv, |
| 55 | Open.InclusionDifferential.Constructions.Manifold.mfderiv_subtypeVal] at hd |
| 56 | exact (congrArg (fun L : Z.regularAnalyticModel →L[ℂ] V.analyticModel => Function.Injective L) hd).mpr |
| 57 | (Z.differential_injective x.val) |
| 58 | |
| 59 | def restrict : ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold V U) p where |
| 60 | regularComplexDimension := Z.regularComplexDimension |
| 61 | regularAnalyticSpace := TopCat.of (sourceOpen Z U) |
| 62 | chartedSpace := inferInstance |
| 63 | manifold := inferInstance |
| 64 | regularComplementTopCatMap := restrictedMap Z U |
| 65 | holomorphic := restrictedMap_analytic Z U |
| 66 | differential_injective := restrictedMap_differential_injective Z U |
| 67 | closed := (U : Set V.analyticSpace).restrictPreimage_isClosedEmbedding Z.closed |
| 68 | regularComplexDimension_add_codimension := Z.regularComplexDimension_add_codimension |
| 69 | |
| 70 | end AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions |
| 71 | |
| 72 | namespace AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions.Support |
| 73 | |
| 74 | /-! The image and complement of an open-restricted closed immersion |
| 75 | are the literal preimages of the original image and complement. -/ |
| 76 | |
| 77 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 78 | |
| 79 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions |
| 80 | |
| 81 | variable {V : ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : ComplexImmersion.Constructions.ClosedComplexImmersion V p) (U : Opens V.analyticSpace) |
| 82 | |
| 83 | theorem restricted_range : Set.range (restrict Z U).regularComplementInclusion = |
| 84 | Subtype.val ⁻¹' Set.range Z.regularComplementInclusion := by |
| 85 | ext y |
| 86 | constructor |
| 87 | · rintro ⟨x, rfl⟩ |
| 88 | exact ⟨x.val, rfl⟩ |
| 89 | · rintro ⟨x, hxy⟩ |
| 90 | have hxU : Z.regularComplementInclusion x ∈ U := hxy.symm ▸ y.property |
| 91 | exact ⟨⟨x, hxU⟩, Subtype.ext hxy⟩ |
| 92 | |
| 93 | theorem restricted_complement : |
| 94 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) (Set.range Z.regularComplementInclusion)ᶜ U = |
| 95 | (Set.range (restrict Z U).regularComplementInclusion)ᶜ := by |
| 96 | rw [restricted_range] |
| 97 | rfl |
| 98 | |
| 99 | end AlgebraicGeometry.CycleClass.Thom.Closed.ImmersionOpenRestriction.Constructions.Support |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI |