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.Comparison.Betti.Open.IntrinsicPurity |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.DeRhamComplex |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.PresheafInclusion |
| 4 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 5 | |
| 6 | /-! # Local Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.LocalDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! An actual smooth form whose restrictions are holomorphic is holomorphic. -/ |
| 15 | |
| 16 | open _root_.TopologicalSpace |
| 17 | open scoped _root_.Manifold ContDiff |
| 18 | |
| 19 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 20 | |
| 21 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 22 | [IsScalarTower ℝ ℂ E] [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 23 | |
| 24 | def ambientHolomorphicInclusion (U : Opens M) (n : ℕ) : |
| 25 | DeRhamComplex.forms E U n →ₗ[ℂ] Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U n := |
| 26 | (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E U n).symm.toLinearMap.comp (DeRhamComplex.inclusion E U n) |
| 27 | |
| 28 | theorem ambientHolomorphicInclusion_restrict {U V : Opens M} (h : V ≤ U) (n : ℕ) |
| 29 | (a : DeRhamComplex.forms E U n) : |
| 30 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict h (ambientHolomorphicInclusion U n a) = |
| 31 | ambientHolomorphicInclusion V n |
| 32 | (HolomorphicPullback.pullback (Opens.inclusion h) (contMDiff_inclusion (I := 𝓘(ℂ, E)) h) n a) := by |
| 33 | apply (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E V n).injective |
| 34 | change Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E V n (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict h |
| 35 | ((Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E U n).symm (DeRhamComplex.inclusion E U n a))) = |
| 36 | Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E V n ((Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E V n).symm |
| 37 | (DeRhamComplex.inclusion E V n (HolomorphicPullback.pullback (Opens.inclusion h) |
| 38 | (contMDiff_inclusion (I := 𝓘(ℂ, E)) h) n a))) |
| 39 | rw [Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv_restrict, LinearEquiv.apply_symm_apply, |
| 40 | LinearEquiv.apply_symm_apply, HolomorphicPullback.pullback_inclusion] |
| 41 | |
| 42 | theorem exists_holomorphic_of_cover {ι : Type} {U : Opens M} (V : ι → Opens M) |
| 43 | (hsub : ∀ i, V i ≤ U) (hcover : (U : Set M) ⊆ ⋃ i, (V i : Set M)) (n : ℕ) |
| 44 | (a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E U n) (b : ∀ i, DeRhamComplex.forms E (V i) n) |
| 45 | (hb : ∀ i, Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E (V i) n (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict (hsub i) a) = |
| 46 | DeRhamComplex.inclusion E (V i) n (b i)) : |
| 47 | ∃ c : DeRhamComplex.forms E U n, DeRhamComplex.inclusion E U n c = Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E U n a := by |
| 48 | have hp : Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E U n 0 (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E U n a).val := by |
| 49 | apply Open.IntrinsicPurity.Holomorphic.intrinsic_pure_of_cover_restrict_pure (p := n) (q := 0) V hsub hcover a |
| 50 | intro i |
| 51 | change Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E (V i) n 0 |
| 52 | (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E (V i) n (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict (hsub i) a)).val |
| 53 | rw [hb i] |
| 54 | exact (b i).val.hasManifoldBidegree |
| 55 | have hd : Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E U (n + 1) 0 |
| 56 | (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E U (n + 1) (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d a)).val := by |
| 57 | apply Open.IntrinsicPurity.Holomorphic.intrinsic_pure_of_cover_restrict_pure (p := n + 1) (q := 0) V hsub hcover |
| 58 | (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d a) |
| 59 | intro i |
| 60 | change Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E (V i) (n + 1) 0 |
| 61 | (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E (V i) (n + 1) |
| 62 | (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict (hsub i) (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.d a))).val |
| 63 | rw [Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict_d, ← Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv_d, hb i] |
| 64 | exact DeRhamComplex.derivative_pure n (b i) |
| 65 | let ap : Analysis.DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm E U n 0 := ⟨Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E U n a, hp⟩ |
| 66 | have hap : ap ∈ DeRhamComplex.forms E U n := by |
| 67 | apply (DeRhamComplex.mem_forms_iff_derivative_pure n ap).mpr |
| 68 | change Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E U (n + 1) 0 |
| 69 | (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E U n a)).val |
| 70 | rw [Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv_d] |
| 71 | exact hd |
| 72 | exact ⟨⟨ap, hap⟩, rfl⟩ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! The original actual holomorphic form presheaf is a sheaf on every complex manifold. -/ |
| 77 | |
| 78 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 79 | open scoped _root_.Manifold ContDiff |
| 80 | |
| 81 | attribute [local instance] Analysis.DifferentialForms.Manifold.ComplexCharts.complexManifold_isRealSmooth |
| 82 | |
| 83 | variable (E M : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 84 | [IsScalarTower ℝ ℂ E] [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 85 | |
| 86 | theorem existsUnique_holomorphicForm_glue (n : ℕ) {ι : Type} (U : ι → Opens M) |
| 87 | (a : ∀ i, DeRhamComplex.forms E (U i) n) |
| 88 | (ha : ∀ i j, HolomorphicPullback.pullback (Opens.inclusion (show U i ⊓ U j ≤ U i from inf_le_left)) |
| 89 | (contMDiff_inclusion (I := 𝓘(ℂ, E)) inf_le_left) n (a i) = |
| 90 | HolomorphicPullback.pullback (Opens.inclusion (show U i ⊓ U j ≤ U j from inf_le_right)) |
| 91 | (contMDiff_inclusion (I := 𝓘(ℂ, E)) inf_le_right) n (a j)) : |
| 92 | ∃! b : DeRhamComplex.forms E ↥(iSup U) n, ∀ i, |
| 93 | HolomorphicPullback.pullback (Opens.inclusion (le_iSup U i)) |
| 94 | (contMDiff_inclusion (I := 𝓘(ℂ, E)) (le_iSup U i)) n b = a i := by |
| 95 | let A : ∀ i, Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (U i) n := fun i => ambientHolomorphicInclusion (U i) n (a i) |
| 96 | have hA : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.Compatible A := by |
| 97 | apply (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.compatible_iff_restrict A).mpr |
| 98 | intro i j |
| 99 | change Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict inf_le_left (ambientHolomorphicInclusion (U i) n (a i)) = |
| 100 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict inf_le_right (ambientHolomorphicInclusion (U j) n (a j)) |
| 101 | rw [ambientHolomorphicInclusion_restrict, ambientHolomorphicInclusion_restrict] |
| 102 | exact congrArg (ambientHolomorphicInclusion (U i ⊓ U j) n) (ha i j) |
| 103 | obtain ⟨g, hg, huniq⟩ := Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.existsUnique_glue_iSup A hA |
| 104 | have hcover : ((iSup U : Opens M) : Set M) ⊆ ⋃ i, (U i : Set M) := by |
| 105 | rw [Opens.coe_iSup] |
| 106 | obtain ⟨b, hb⟩ := exists_holomorphic_of_cover U (fun i => le_iSup U i) hcover n g a (by |
| 107 | intro i |
| 108 | rw [hg i] |
| 109 | exact (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E (U i) n).apply_symm_apply (DeRhamComplex.inclusion E (U i) n (a i))) |
| 110 | refine ⟨b, ?_, ?_⟩ |
| 111 | · intro i |
| 112 | apply HolomorphicPullback.inclusion_injective n |
| 113 | rw [HolomorphicPullback.pullback_inclusion, hb, ← Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv_restrict, hg i] |
| 114 | exact (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E (U i) n).apply_symm_apply (DeRhamComplex.inclusion E (U i) n (a i)) |
| 115 | · intro c hc |
| 116 | apply HolomorphicPullback.inclusion_injective n |
| 117 | apply (Analysis.DifferentialForms.Manifold.IntrinsicOpenEquivalence.intrinsicOpenFormEquiv E (iSup U) n).symm.injective |
| 118 | rw [hb, LinearEquiv.symm_apply_apply] |
| 119 | change ambientHolomorphicInclusion (iSup U) n c = g |
| 120 | apply huniq |
| 121 | intro i |
| 122 | rw [ambientHolomorphicInclusion_restrict] |
| 123 | exact congrArg (ambientHolomorphicInclusion (U i) n) (hc i) |
| 124 | |
| 125 | theorem holomorphicPresheaf_isSheaf (n : ℕ) : |
| 126 | TopCat.Presheaf.IsSheaf (X := TopCat.of M) ((Holomorphic.Presheaf.presheafComplex E M).X n) := by |
| 127 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing (X := TopCat.of M) |
| 128 | ((Holomorphic.Presheaf.presheafComplex E M).X n)).mpr |
| 129 | intro ι U a ha |
| 130 | exact existsUnique_holomorphicForm_glue E M n U a ha |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.LocalDescent |