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.Scheme.ClosedImmersion |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.ClosedImmersionComposition |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.InclusionDifferential |
| 4 | import Mathlib.Topology.LocalAtTarget |
| 5 | |
| 6 | /-! # Open Immersion -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenImmersion.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An actual smooth algebraic immersion whose image is closed on a |
| 13 | specified analytic open gives a closed complex immersion on that open, |
| 14 | with its actual source preimage and native manifold structures. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped _root_.Manifold ContDiff |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.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 {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (i : X ⟶ Y) (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) |
| 25 | |
| 26 | abbrev sourceOpen : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := |
| 27 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)), |
| 28 | U.isOpen.preimage (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map i)⟩ |
| 29 | |
| 30 | def restrictedMap : TopCat.of (sourceOpen i U) ⟶ TopCat.of U := |
| 31 | TopCat.ofHom ⟨fun y => ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i y.val, y.property⟩, |
| 32 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map i).comp continuous_subtype_val).subtype_mk _⟩ |
| 33 | |
| 34 | theorem restrictedMap_range : Set.range (restrictedMap i U) = |
| 35 | Subtype.val ⁻¹' Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) := by |
| 36 | ext y |
| 37 | constructor |
| 38 | · rintro ⟨x, rfl⟩ |
| 39 | exact ⟨x.val, rfl⟩ |
| 40 | · rintro ⟨x, hxy⟩ |
| 41 | have hxU : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i x ∈ U := hxy.symm ▸ y.property |
| 42 | exact ⟨⟨x, hxU⟩, Subtype.ext hxy⟩ |
| 43 | |
| 44 | variable [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 45 | [IsImmersion i.left] |
| 46 | |
| 47 | local notation "MX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 48 | local notation "MY" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ |
| 49 | |
| 50 | omit [IsImmersion i.left] in |
| 51 | theorem restrictedMap_analytic : ContMDiff 𝓘(ℂ, MX) 𝓘(ℂ, MY) ω (restrictedMap i U) := by |
| 52 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff U (restrictedMap i U) ω).mp |
| 53 | exact (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map i ω).comp |
| 54 | (show ContMDiff 𝓘(ℂ, MX) 𝓘(ℂ, MX) ω (Subtype.val : sourceOpen i U → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) from |
| 55 | contMDiff_subtype_val) |
| 56 | |
| 57 | theorem restrictedMap_differential_injective (x : sourceOpen i U) : |
| 58 | Function.Injective (mfderiv 𝓘(ℂ, MX) 𝓘(ℂ, MY) (restrictedMap i U) x) := by |
| 59 | have hv : MDifferentiableAt 𝓘(ℂ, MX) 𝓘(ℂ, MX) |
| 60 | (Subtype.val : sourceOpen i U → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) x := |
| 61 | (show ContMDiff 𝓘(ℂ, MX) 𝓘(ℂ, MX) 1 (Subtype.val : sourceOpen i U → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) from |
| 62 | contMDiff_subtype_val).mdifferentiableAt one_ne_zero |
| 63 | have hd := ComplexPoints.Analytic.RegularLocusComplement.mfderiv_intoOpen_eq (𝕜 := ℂ) («E» := MX) (F := MY) U (restrictedMap i U) x |
| 64 | change mfderiv 𝓘(ℂ, MX) 𝓘(ℂ, MY) (restrictedMap i U) x = |
| 65 | mfderiv 𝓘(ℂ, MX) 𝓘(ℂ, MY) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ∘ Subtype.val) x at hd |
| 66 | rw [mfderiv_comp x (((ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map i ω) x.val).mdifferentiableAt (by simp)) hv, |
| 67 | Open.InclusionDifferential.Constructions.Manifold.mfderiv_subtypeVal] at hd |
| 68 | exact (congrArg (fun L : MX →L[ℂ] MY => Function.Injective L) hd).mpr |
| 69 | (ComplexPoints.Analytic.IntrinsicSmoothImmersion.mfderiv_nativeScheme_immersion_injective i x.val) |
| 70 | |
| 71 | variable [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 72 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + p = |
| 73 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 74 | (hclosed : IsClosed (Subtype.val ⁻¹' Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) : Set U)) |
| 75 | |
| 76 | def restrictedImmersion : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold (ClosedImmersion.Constructions.schemeManifold Y) U) p where |
| 77 | regularComplexDimension := Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom |
| 78 | regularAnalyticSpace := TopCat.of (sourceOpen i U) |
| 79 | chartedSpace := inferInstance |
| 80 | manifold := inferInstance |
| 81 | regularComplementTopCatMap := restrictedMap i U |
| 82 | holomorphic := restrictedMap_analytic i U |
| 83 | differential_injective := restrictedMap_differential_injective i U |
| 84 | closed := ⟨(U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)).restrictPreimage_isEmbedding |
| 85 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isEmbedding_map_of_isImmersion i), by |
| 86 | rw [restrictedMap_range] |
| 87 | exact hclosed⟩ |
| 88 | regularComplexDimension_add_codimension := hp |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenImmersion.Constructions |