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.DeRham.Comparison.LocallyConstantResolution |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.StarConvex |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.CochainAugmentation |
| 4 | |
| 5 | /-! # Convex Resolution -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.DeRham.Comparison.ConvexResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The actual locally constant resolution on convex open domains |
| 13 | |
| 14 | Locally constant complex-valued functions map to their actual smooth |
| 15 | zero-forms. The proved kernel identification and all-degree Poincare lemma |
| 16 | make this augmentation a quasi-isomorphism on every convex open domain, |
| 17 | including the empty one. No cohomological comparison is assumed. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | |
| 26 | /-- The actual locally constant inclusion in the zero term of the open |
| 27 | de Rham complex. -/ |
| 28 | def locallyConstantOpenDeRhamZero (U : Opens E) : |
| 29 | ModuleCat.of ℂ (LocallyConstant U ℂ) ⟶ (Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex U).X 0 := |
| 30 | ModuleCat.ofHom (LocallyConstantZeroForms.locallyConstantToZeroForm U) |
| 31 | |
| 32 | /-- Locally constant functions have zero exterior derivative. -/ |
| 33 | theorem locallyConstantOpenDeRhamZero_d (U : Opens E) : |
| 34 | locallyConstantOpenDeRhamZero U ≫ (Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex U).d 0 1 = 0 := by |
| 35 | rw [Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex_d] |
| 36 | apply ModuleCat.hom_ext |
| 37 | apply LinearMap.ext |
| 38 | intro f |
| 39 | exact LocallyConstantZeroForms.d_locallyConstantToZeroForm U f |
| 40 | |
| 41 | /-- The actual zero-form inclusion is the categorical kernel of the |
| 42 | exterior derivative, on any open domain. -/ |
| 43 | def locallyConstantOpenDeRhamZero_isKernel (U : Opens E) : |
| 44 | IsLimit (KernelFork.ofι (locallyConstantOpenDeRhamZero U) |
| 45 | (locallyConstantOpenDeRhamZero_d U)) := by |
| 46 | apply ModuleCat.isLimitKernelFork (locallyConstantOpenDeRhamZero U) |
| 47 | ((Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex U).d 0 1) |
| 48 | · rw [Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex_d] |
| 49 | change Function.Exact (LocallyConstantZeroForms.locallyConstantToZeroForm U) |
| 50 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 0 →ₗ[ℂ] Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 1) |
| 51 | rw [LinearMap.exact_iff] |
| 52 | exact (LocallyConstantZeroForms.range_locallyConstantToZeroForm U).symm |
| 53 | · exact LocallyConstantZeroForms.locallyConstantToZeroForm_injective U |
| 54 | |
| 55 | /-- The genuine locally constant augmentation of the open de Rham complex. -/ |
| 56 | def locallyConstantOpenDeRhamResolutionMap (U : Opens E) : |
| 57 | (CochainComplex.single₀ (ModuleCat.{u} ℂ)).obj |
| 58 | (ModuleCat.of ℂ (LocallyConstant U ℂ)) ⟶ Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex U := |
| 59 | (CochainComplex.fromSingle₀Equiv (Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex U) |
| 60 | (ModuleCat.of ℂ (LocallyConstant U ℂ))).symm |
| 61 | ⟨locallyConstantOpenDeRhamZero U, locallyConstantOpenDeRhamZero_d U⟩ |
| 62 | |
| 63 | @[simp] |
| 64 | theorem locallyConstantOpenDeRhamResolutionMap_f_zero (U : Opens E) : |
| 65 | (locallyConstantOpenDeRhamResolutionMap U).f 0 = locallyConstantOpenDeRhamZero U := |
| 66 | CochainComplex.fromSingle₀Equiv_symm_apply_f_zero _ _ |
| 67 | |
| 68 | /-- The actual augmentation commutes with restriction to a smaller open set. -/ |
| 69 | theorem locallyConstantOpenDeRhamResolutionMap_restrict {U V : Opens E} (h : V ≤ U) : |
| 70 | (CochainComplex.single₀ (ModuleCat.{u} ℂ)).map |
| 71 | (ModuleCat.ofHom (LocallyConstantZeroForms.locallyConstantRestrict h)) ≫ |
| 72 | locallyConstantOpenDeRhamResolutionMap V = |
| 73 | locallyConstantOpenDeRhamResolutionMap U ≫ Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamRestrict h := by |
| 74 | apply (CochainComplex.fromSingle₀Equiv (Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex V) |
| 75 | (ModuleCat.of ℂ (LocallyConstant U ℂ))).injective |
| 76 | apply Subtype.ext |
| 77 | change ((CochainComplex.single₀ (ModuleCat.{u} ℂ)).map |
| 78 | (ModuleCat.ofHom (LocallyConstantZeroForms.locallyConstantRestrict h))).f 0 ≫ |
| 79 | (locallyConstantOpenDeRhamResolutionMap V).f 0 = |
| 80 | (locallyConstantOpenDeRhamResolutionMap U).f 0 ≫ (Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamRestrict h).f 0 |
| 81 | rw [CochainComplex.single₀_map_f_zero, |
| 82 | locallyConstantOpenDeRhamResolutionMap_f_zero, |
| 83 | locallyConstantOpenDeRhamResolutionMap_f_zero] |
| 84 | apply ModuleCat.hom_ext |
| 85 | apply LinearMap.ext |
| 86 | intro f |
| 87 | exact (LocallyConstantZeroForms.restrict_locallyConstantToZeroForm h f).symm |
| 88 | |
| 89 | /-- Poincare's proved all-degree primitive theorem makes the actual locally |
| 90 | constant augmentation a quasi-isomorphism on an open convex domain. -/ |
| 91 | theorem locallyConstantOpenDeRhamResolutionMap_quasiIso_convex |
| 92 | [FiniteDimensional ℝ E] (U : Opens E) (hU : Convex ℝ (U : Set E)) : |
| 93 | QuasiIso (locallyConstantOpenDeRhamResolutionMap U) := |
| 94 | Analysis.DifferentialForms.Manifold.CochainAugmentation.cochainAugmentation_quasiIso (Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex U) |
| 95 | (locallyConstantOpenDeRhamZero U) (locallyConstantOpenDeRhamZero_d U) |
| 96 | (locallyConstantOpenDeRhamZero_isKernel U) |
| 97 | (fun n => StarConvex.openDeRhamComplex_exactAt_convex hU n) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicTopology.DeRham.Comparison.ConvexResolution |