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.GraphBaseRestriction |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.InclusionDifferential |
| 3 | import Mathlib.Geometry.Manifold.MFDeriv.SpecificFunctions |
| 4 | |
| 5 | /-! # Graph Open Immersion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting a holomorphic graph over a base open preserves holomorphy and injective differential. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.InclusionDifferential.Constructions.Manifold |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable {X N E G F : Type} [TopologicalSpace X] [TopologicalSpace N] |
| 22 | [NormedAddCommGroup E] [NormedSpace ℂ E] [ChartedSpace E X] |
| 23 | [NormedAddCommGroup G] [NormedSpace ℂ G] [ChartedSpace G N] |
| 24 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 25 | (g : X → N) (hg : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, G) ω g) (U : Opens N) |
| 26 | |
| 27 | abbrev graphSourceOpen : Opens X := ⟨g ⁻¹' (U : Set N), U.isOpen.preimage hg.continuous⟩ |
| 28 | |
| 29 | def restrictedBase : graphSourceOpen g hg U → U := fun x => ⟨g x.val, x.property⟩ |
| 30 | |
| 31 | theorem restrictedBase_analytic : |
| 32 | ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, G) ω (restrictedBase g hg U) := by |
| 33 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff U (restrictedBase g hg U) ω).mp |
| 34 | exact hg.comp (show ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω |
| 35 | (Subtype.val : graphSourceOpen g hg U → X) from contMDiff_subtype_val) |
| 36 | |
| 37 | theorem restrictedGraph_analytic (e : X → F) (he : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, F) ω e) : |
| 38 | letI : ChartedSpace (G × F) (U × F) := prodChartedSpace G U F F |
| 39 | ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, G × F) ω |
| 40 | (fun z : graphSourceOpen g hg U => (GraphBaseRestriction.Constructions.restrictedGraph g e (U : Set N) z : U × F)) := by |
| 41 | let : ChartedSpace (G × F) (U × F) := prodChartedSpace G U F F |
| 42 | rw [modelWithCornersSelf_prod] |
| 43 | exact (restrictedBase_analytic g hg U).prodMk (he.comp |
| 44 | (show ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω (Subtype.val : graphSourceOpen g hg U → X) from contMDiff_subtype_val)) |
| 45 | |
| 46 | theorem restrictedCoordinates_mfderiv (e : X → F) (he : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, F) ω e) |
| 47 | (x : graphSourceOpen g hg U) : |
| 48 | mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) (e ∘ (Subtype.val : graphSourceOpen g hg U → X)) x = |
| 49 | mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) e x.val := by |
| 50 | have hv := (show ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) 1 |
| 51 | (Subtype.val : graphSourceOpen g hg U → X) from contMDiff_subtype_val).mdifferentiableAt |
| 52 | (x := x) one_ne_zero |
| 53 | rw [mfderiv_comp x ((he x.val).mdifferentiableAt (by simp)) hv, Open.InclusionDifferential.Constructions.Manifold.mfderiv_subtypeVal] |
| 54 | rfl |
| 55 | |
| 56 | theorem restrictedGraph_differential_injective (e : X → F) |
| 57 | (he : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, F) ω e) |
| 58 | (hei : ∀ x, Function.Injective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) e x)) |
| 59 | (x : graphSourceOpen g hg U) : |
| 60 | letI : ChartedSpace (G × F) (U × F) := prodChartedSpace G U F F |
| 61 | Function.Injective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, G × F) |
| 62 | (fun z : graphSourceOpen g hg U => (GraphBaseRestriction.Constructions.restrictedGraph g e (U : Set N) z : U × F)) x) := by |
| 63 | let : ChartedSpace (G × F) (U × F) := prodChartedSpace G U F F |
| 64 | have hb := (restrictedBase_analytic g hg U).mdifferentiable (show (ω : ℕ∞ω) ≠ 0 by simp) x |
| 65 | have hc := (he.comp (show ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ω |
| 66 | (Subtype.val : graphSourceOpen g hg U → X) from contMDiff_subtype_val)).mdifferentiable |
| 67 | (show (ω : ℕ∞ω) ≠ 0 by simp) x |
| 68 | change Function.Injective (mfderiv _ _ (fun a => (restrictedBase g hg U a, |
| 69 | (e ∘ (Subtype.val : graphSourceOpen g hg U → X)) a)) x) |
| 70 | rw [modelWithCornersSelf_prod, mfderiv_prodMk hb hc] |
| 71 | intro a b hab |
| 72 | apply hei x.val |
| 73 | have h := congrArg Prod.snd hab |
| 74 | change (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) (e ∘ (Subtype.val : graphSourceOpen g hg U → X)) x) a = |
| 75 | (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, F) (e ∘ (Subtype.val : graphSourceOpen g hg U → X)) x) b at h |
| 76 | rwa [restrictedCoordinates_mfderiv g hg U e he x] at h |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions |