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.Analysis.DifferentialForms.Manifold.DeRham |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.Vectors |
| 3 | |
| 4 | /-! # De Rham Pullback -/ |
| 5 | |
| 6 | namespace OAI.Analysis.DifferentialForms.Manifold.DeRhamPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # De Rham cochain maps induced by actual smooth maps |
| 12 | |
| 13 | The degreewise map is the pullback of differential forms along the supplied |
| 14 | smooth map. Its commutation with the differential was proved for that exact |
| 15 | pullback. The induced cohomology maps below therefore retain their geometric |
| 16 | meaning, rather than introducing arbitrary chain maps. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | universe u |
| 23 | variable {E F G : Type u} |
| 24 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 26 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 27 | |
| 28 | /-- An actual smooth map induces a contravariant map of de Rham complexes. -/ |
| 29 | def deRhamPullback (f : E → F) (hf : ContDiff ℝ ∞ f) : |
| 30 | DeRham.deRhamComplex F ⟶ DeRham.deRhamComplex E := |
| 31 | CochainComplex.ofHom (fun _ => ModuleCat.ofHom (Basic.SmoothForm.pullback f hf)) |
| 32 | (fun n => by |
| 33 | rw [DeRham.deRhamComplex_d, DeRham.deRhamComplex_d] |
| 34 | apply ModuleCat.hom_ext |
| 35 | apply LinearMap.ext |
| 36 | intro form |
| 37 | exact Basic.SmoothForm.d_pullback f hf form) |
| 38 | |
| 39 | @[simp] theorem deRhamPullback_f_apply (f : E → F) (hf : ContDiff ℝ ∞ f) |
| 40 | (n : ℕ) (form : Basic.SmoothForm F n) : |
| 41 | (deRhamPullback f hf).f n form = Basic.SmoothForm.pullback f hf form := rfl |
| 42 | |
| 43 | @[simp] theorem deRhamPullback_id : |
| 44 | deRhamPullback (id : E → E) contDiff_id = 𝟙 (DeRham.deRhamComplex E) := by |
| 45 | apply HomologicalComplex.Hom.ext |
| 46 | funext n |
| 47 | apply ModuleCat.hom_ext |
| 48 | apply LinearMap.ext |
| 49 | intro form |
| 50 | exact Basic.SmoothForm.pullback_id form |
| 51 | |
| 52 | theorem deRhamPullback_comp (f : E → F) (hf : ContDiff ℝ ∞ f) |
| 53 | (g : F → G) (hg : ContDiff ℝ ∞ g) : |
| 54 | deRhamPullback (g ∘ f) (hg.comp hf) = deRhamPullback g hg ≫ deRhamPullback f hf := by |
| 55 | apply HomologicalComplex.Hom.ext |
| 56 | funext n |
| 57 | apply ModuleCat.hom_ext |
| 58 | apply LinearMap.ext |
| 59 | intro form |
| 60 | exact Basic.SmoothForm.pullback_comp f hf g hg form |
| 61 | |
| 62 | /-- Pullback on complex de Rham cohomology induced by a smooth map. -/ |
| 63 | def deRhamCohomologyPullback (f : E → F) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 64 | DeRham.deRhamCohomology F n ⟶ DeRham.deRhamCohomology E n := |
| 65 | HomologicalComplex.homologyMap (deRhamPullback f hf) n |
| 66 | |
| 67 | @[simp] theorem deRhamCohomologyPullback_id (n : ℕ) : |
| 68 | deRhamCohomologyPullback (id : E → E) contDiff_id n = 𝟙 (DeRham.deRhamCohomology E n) := by |
| 69 | change HomologicalComplex.homologyMap (deRhamPullback (id : E → E) contDiff_id) n = |
| 70 | 𝟙 ((DeRham.deRhamComplex E).homology n) |
| 71 | rw [deRhamPullback_id, HomologicalComplex.homologyMap_id] |
| 72 | |
| 73 | theorem deRhamCohomologyPullback_comp (f : E → F) (hf : ContDiff ℝ ∞ f) |
| 74 | (g : F → G) (hg : ContDiff ℝ ∞ g) (n : ℕ) : |
| 75 | deRhamCohomologyPullback (g ∘ f) (hg.comp hf) n = |
| 76 | deRhamCohomologyPullback g hg n ≫ deRhamCohomologyPullback f hf n := by |
| 77 | change HomologicalComplex.homologyMap (deRhamPullback (g ∘ f) (hg.comp hf)) n = |
| 78 | HomologicalComplex.homologyMap (deRhamPullback g hg) n ≫ |
| 79 | HomologicalComplex.homologyMap (deRhamPullback f hf) n |
| 80 | rw [deRhamPullback_comp f hf g hg, HomologicalComplex.homologyMap_comp] |
| 81 | |
| 82 | /-- Pullback on the actual closed-form subobjects. -/ |
| 83 | def deRhamCocyclesPullback (f : E → F) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 84 | DeRham.deRhamCocycles F n ⟶ DeRham.deRhamCocycles E n := |
| 85 | HomologicalComplex.cyclesMap (deRhamPullback f hf) n |
| 86 | |
| 87 | /-- Pulling back a closed form and then taking its class agrees with pulling |
| 88 | back its de Rham cohomology class. -/ |
| 89 | theorem deRhamClass_pullback (f : E → F) (hf : ContDiff ℝ ∞ f) (n : ℕ) : |
| 90 | DeRham.deRhamClass F n ≫ deRhamCohomologyPullback f hf n = |
| 91 | deRhamCocyclesPullback f hf n ≫ DeRham.deRhamClass E n := |
| 92 | HomologicalComplex.homologyπ_naturality (deRhamPullback f hf) n |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.Analysis.DifferentialForms.Manifold.DeRhamPullback |