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.AlgebraicTopology.Kunneth.RestrictedForms |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.Vectors |
| 3 | |
| 4 | /-! # Restricted Form Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Kunneth.RestrictedFormPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pullback and its naturality on the actual restricted de Rham complex. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open Set |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | namespace Constructions |
| 18 | |
| 19 | variable {E F G : Type*} |
| 20 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 22 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 23 | |
| 24 | local instance restrictedPullbackFormsAddGroup (n : ℕ) : AddCommGroup (Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 25 | local instance restrictedPullbackFormsModule (n : ℕ) : Module ℂ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 26 | |
| 27 | def restrictedFormEval {S : Set E} (n : ℕ) (x : E) (hx : x ∈ S) : |
| 28 | RestrictedForms.Constructions.RestrictedForm S n →ₗ[ℂ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n := |
| 29 | (RestrictedForms.Constructions.formsVanishingOn S n).liftQ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.eval x) (fun _ ha => ha x hx) |
| 30 | |
| 31 | @[simp] theorem restrictedFormEval_restrict {S : Set E} (n : ℕ) (x : E) (hx : x ∈ S) |
| 32 | (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) : |
| 33 | restrictedFormEval n x hx (RestrictedForms.Constructions.restrictForm S n a) = a x := rfl |
| 34 | |
| 35 | theorem restrictedForm_ext {S : Set E} {n : ℕ} {a b : RestrictedForms.Constructions.RestrictedForm S n} |
| 36 | (h : ∀ x (hx : x ∈ S), restrictedFormEval n x hx a = restrictedFormEval n x hx b) : |
| 37 | a = b := by |
| 38 | obtain ⟨a, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn S n).mkQ_surjective a |
| 39 | obtain ⟨b, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn S n).mkQ_surjective b |
| 40 | exact (RestrictedForms.Constructions.restrictForm_eq_iff S n a b).mpr h |
| 41 | |
| 42 | theorem pullback_mem_formsVanishingOn {S : Set E} {T : Set F} {n : ℕ} |
| 43 | (f : E → F) (hf : ContDiff ℝ ∞ f) (hmap : MapsTo f S T) |
| 44 | {a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm F n} (ha : a ∈ RestrictedForms.Constructions.formsVanishingOn T n) : |
| 45 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf a ∈ RestrictedForms.Constructions.formsVanishingOn S n := by |
| 46 | intro x hx |
| 47 | rw [Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback_apply, ha (f x) (hmap hx)] |
| 48 | ext v |
| 49 | rfl |
| 50 | |
| 51 | def restrictedFormPullback {S : Set E} {T : Set F} |
| 52 | (f : E → F) (hf : ContDiff ℝ ∞ f) (hmap : MapsTo f S T) (n : ℕ) : |
| 53 | RestrictedForms.Constructions.RestrictedForm T n →ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm S n := |
| 54 | (RestrictedForms.Constructions.formsVanishingOn T n).mapQ (RestrictedForms.Constructions.formsVanishingOn S n) (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf) |
| 55 | (fun _ ha => pullback_mem_formsVanishingOn f hf hmap ha) |
| 56 | |
| 57 | @[simp] theorem restrictedFormPullback_restrict {S : Set E} {T : Set F} |
| 58 | (f : E → F) (hf : ContDiff ℝ ∞ f) (hmap : MapsTo f S T) (n : ℕ) |
| 59 | (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm F n) : |
| 60 | restrictedFormPullback f hf hmap n (RestrictedForms.Constructions.restrictForm T n a) = |
| 61 | RestrictedForms.Constructions.restrictForm S n (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf a) := rfl |
| 62 | |
| 63 | theorem restrictedFormPullback_d {S : Set E} {T : Set F} |
| 64 | (hS : UniqueDiffOn ℝ S) (hT : UniqueDiffOn ℝ T) |
| 65 | (f : E → F) (hf : ContDiff ℝ ∞ f) (hmap : MapsTo f S T) (n : ℕ) |
| 66 | (a : RestrictedForms.Constructions.RestrictedForm T n) : |
| 67 | RestrictedForms.Constructions.restrictedFormD hS n (restrictedFormPullback f hf hmap n a) = |
| 68 | restrictedFormPullback f hf hmap (n + 1) (RestrictedForms.Constructions.restrictedFormD hT n a) := by |
| 69 | obtain ⟨a, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn T n).mkQ_surjective a |
| 70 | change RestrictedForms.Constructions.restrictForm S (n + 1) (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf a)) = |
| 71 | RestrictedForms.Constructions.restrictForm S (n + 1) (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d a)) |
| 72 | rw [Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d_pullback] |
| 73 | |
| 74 | theorem restrictedFormPullback_id (S : Set E) (n : ℕ) (a : RestrictedForms.Constructions.RestrictedForm S n) : |
| 75 | restrictedFormPullback id contDiff_id (mapsTo_id S) n a = a := by |
| 76 | obtain ⟨a, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn S n).mkQ_surjective a |
| 77 | change restrictedFormPullback id contDiff_id (mapsTo_id S) n (RestrictedForms.Constructions.restrictForm S n a) = _ |
| 78 | rw [restrictedFormPullback_restrict, Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback_id] |
| 79 | rfl |
| 80 | |
| 81 | theorem restrictedFormPullback_comp {S : Set E} {T : Set F} {U : Set G} |
| 82 | (f : E → F) (hf : ContDiff ℝ ∞ f) (hmap : MapsTo f S T) |
| 83 | (g : F → G) (hg : ContDiff ℝ ∞ g) (hmapg : MapsTo g T U) |
| 84 | (n : ℕ) (a : RestrictedForms.Constructions.RestrictedForm U n) : |
| 85 | restrictedFormPullback (g ∘ f) (hg.comp hf) (hmapg.comp hmap) n a = |
| 86 | restrictedFormPullback f hf hmap n (restrictedFormPullback g hg hmapg n a) := by |
| 87 | obtain ⟨a, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn U n).mkQ_surjective a |
| 88 | change RestrictedForms.Constructions.restrictForm S n (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback (g ∘ f) (hg.comp hf) a) = |
| 89 | RestrictedForms.Constructions.restrictForm S n (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback g hg a)) |
| 90 | rw [Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback_comp] |
| 91 | |
| 92 | /-- Pullback on restrictions depends only on the map on the set. -/ |
| 93 | theorem restrictedFormPullback_congr {S : Set E} {T : Set F} |
| 94 | (hS : UniqueDiffOn ℝ S) (f g : E → F) (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) |
| 95 | (hmapf : MapsTo f S T) (hmapg : MapsTo g S T) (heq : EqOn f g S) |
| 96 | (n : ℕ) (a : RestrictedForms.Constructions.RestrictedForm T n) : |
| 97 | restrictedFormPullback f hf hmapf n a = restrictedFormPullback g hg hmapg n a := by |
| 98 | obtain ⟨a, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn T n).mkQ_surjective a |
| 99 | change RestrictedForms.Constructions.restrictForm S n (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback f hf a) = |
| 100 | RestrictedForms.Constructions.restrictForm S n (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback g hg a) |
| 101 | rw [RestrictedForms.Constructions.restrictForm_eq_iff] |
| 102 | intro x hx |
| 103 | have hd : fderiv ℝ f x = fderiv ℝ g x := by |
| 104 | rw [← fderivWithin_eq_fderiv (hS x hx) (hf.differentiable (by simp) x), |
| 105 | ← fderivWithin_eq_fderiv (hS x hx) (hg.differentiable (by simp) x)] |
| 106 | exact fderivWithin_congr' heq hx |
| 107 | rw [Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback_apply, Analysis.DifferentialForms.Manifold.Basic.SmoothForm.pullback_apply, heq hx, hd] |
| 108 | |
| 109 | end Constructions |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicTopology.Kunneth.RestrictedFormPullback |