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.DivisorClass.Chern.HolomorphicLine.AntiForms |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.RelativeExtension |
| 3 | |
| 4 | /-! # Supported Forms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.SupportedForms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Genuine supported extension of bundle-valued forms through their original transitions. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace Set |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 20 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 21 | (u : Connecting.holomorphicUnitCohomology E M) (U : Opens M) (n : ℕ) |
| 22 | (f : M → ℂ) (hf : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ f) |
| 23 | |
| 24 | def holomorphicLineSmoothMul : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U n →ₗ[ℂ] |
| 25 | HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U n where |
| 26 | toFun s := ⟨fun i => Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction f hf.contMDiffOn (s.val i), by |
| 27 | intro i j x hx hi hj |
| 28 | simp only [Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction_apply] |
| 29 | rw [s.property i j x hx hi hj, smul_comm]⟩ |
| 30 | map_add' s t := by |
| 31 | apply Subtype.ext |
| 32 | funext i |
| 33 | exact map_add (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction f hf.contMDiffOn) (s.val i) (t.val i) |
| 34 | map_smul' z s := by |
| 35 | apply Subtype.ext |
| 36 | funext i |
| 37 | exact map_smul (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction f hf.contMDiffOn) z (s.val i) |
| 38 | |
| 39 | theorem holomorphicLineSmoothMul_apply (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U n) (i : M) |
| 40 | (x : ↥(U ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i)) : |
| 41 | (holomorphicLineSmoothMul u U n f hf s).val i x = f x • s.val i x := |
| 42 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.smulByFunction_apply f hf.contMDiffOn (s.val i) x |
| 43 | |
| 44 | variable (hs : tsupport f ⊆ (U : Set M)) |
| 45 | |
| 46 | def holomorphicLineSupportedCoordinate (i : M) : |
| 47 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (U ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i) n →ₗ[ℂ] |
| 48 | Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i) n := |
| 49 | (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.supportedExtensionTo U |
| 50 | (⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i) f hf.contMDiffOn hs).comp |
| 51 | (Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.restrict (show U ⊓ (⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i) ≤ |
| 52 | U ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i from fun _ hx => ⟨hx.1, hx.2.2⟩)) |
| 53 | |
| 54 | theorem holomorphicLineSupportedCoordinate_apply_mem (i : M) |
| 55 | (a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (U ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i) n) |
| 56 | (x : ↥(⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i)) (hx : (x : M) ∈ U) : |
| 57 | holomorphicLineSupportedCoordinate u U n f hf hs i a x = |
| 58 | f x • a ⟨x, hx, x.property.2⟩ := by |
| 59 | exact Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.supportedExtensionTo_apply_mem U |
| 60 | (⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i) f hf.contMDiffOn hs _ x hx |
| 61 | |
| 62 | theorem holomorphicLineSupportedCoordinate_apply_zero (i : M) |
| 63 | (a : Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm E (U ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i) n) |
| 64 | (x : ↥(⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i)) (hx : (x : M) ∉ tsupport f) : |
| 65 | holomorphicLineSupportedCoordinate u U n f hf hs i a x = 0 := by |
| 66 | exact Analysis.DifferentialForms.Manifold.Open.SmoothOpenManifoldForm.supportedExtensionTo_eq_zero_of_notMem_tsupport U |
| 67 | (⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i) f hf.contMDiffOn hs _ x hx |
| 68 | |
| 69 | def holomorphicLineSupportedExtension : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U n →ₗ[ℂ] |
| 70 | HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n where |
| 71 | toFun s := ⟨fun i => holomorphicLineSupportedCoordinate u U n f hf hs i (s.val i), by |
| 72 | intro i j x hx hi hj |
| 73 | by_cases hU : x ∈ U |
| 74 | · rw [holomorphicLineSupportedCoordinate_apply_mem u U n f hf hs j _ ⟨x, hx, hj⟩ hU, |
| 75 | holomorphicLineSupportedCoordinate_apply_mem u U n f hf hs i _ ⟨x, hx, hi⟩ hU, |
| 76 | s.property i j x hU hi hj, smul_comm] |
| 77 | · have hnot : x ∉ tsupport f := fun h => hU (hs h) |
| 78 | rw [holomorphicLineSupportedCoordinate_apply_zero u U n f hf hs j _ ⟨x, hx, hj⟩ hnot, |
| 79 | holomorphicLineSupportedCoordinate_apply_zero u U n f hf hs i _ ⟨x, hx, hi⟩ hnot] |
| 80 | exact (smul_zero (A := TangentSpace 𝓘(ℝ, E) x [⋀^Fin n]→L[ℝ] ℂ) |
| 81 | ((CohomologyTransitions.holomorphicCohomologyTransition E M u i j).val ⟨x, hi, hj⟩)).symm⟩ |
| 82 | map_add' s t := by |
| 83 | apply Subtype.ext |
| 84 | funext i |
| 85 | exact (holomorphicLineSupportedCoordinate u U n f hf hs i).map_add (s.val i) (t.val i) |
| 86 | map_smul' z s := by |
| 87 | apply Subtype.ext |
| 88 | funext i |
| 89 | exact (holomorphicLineSupportedCoordinate u U n f hf hs i).map_smul z (s.val i) |
| 90 | |
| 91 | theorem holomorphicLineSupportedExtension_apply_mem (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U n) |
| 92 | (i : M) (x : ↥(⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i)) (hx : (x : M) ∈ U) : |
| 93 | (holomorphicLineSupportedExtension u U n f hf hs s).val i x = |
| 94 | f x • s.val i ⟨x, hx, x.property.2⟩ := |
| 95 | holomorphicLineSupportedCoordinate_apply_mem u U n f hf hs i (s.val i) x hx |
| 96 | |
| 97 | theorem holomorphicLineSupportedExtension_apply_zero (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U n) |
| 98 | (i : M) (x : ↥(⊤ ⊓ CohomologyTransitions.holomorphicCohomologyDomain E M u i)) (hx : (x : M) ∉ tsupport f) : |
| 99 | (holomorphicLineSupportedExtension u U n f hf hs s).val i x = 0 := |
| 100 | holomorphicLineSupportedCoordinate_apply_zero u U n f hf hs i (s.val i) x hx |
| 101 | |
| 102 | theorem holomorphicLineSupportedExtension_restrict (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U n) : |
| 103 | HolomorphicLine.AntiForms.holomorphicLineSmoothFormRestrict le_top (holomorphicLineSupportedExtension u U n f hf hs s) = |
| 104 | holomorphicLineSmoothMul u U n f hf s := by |
| 105 | apply HolomorphicLine.AntiForms.holomorphicLineSmoothForm_ext |
| 106 | intro i x |
| 107 | change (holomorphicLineSupportedExtension u U n f hf hs s).val i ⟨x, trivial, x.property.2⟩ = _ |
| 108 | rw [holomorphicLineSupportedExtension_apply_mem u U n f hf hs s i _ x.property.1, |
| 109 | holomorphicLineSmoothMul_apply] |
| 110 | |
| 111 | theorem holomorphicLineSupportedExtension_of_global (s : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u ⊤ n) : |
| 112 | holomorphicLineSupportedExtension u U n f hf hs (HolomorphicLine.AntiForms.holomorphicLineSmoothFormRestrict le_top s) = |
| 113 | holomorphicLineSmoothMul u ⊤ n f hf s := by |
| 114 | apply HolomorphicLine.AntiForms.holomorphicLineSmoothForm_ext |
| 115 | intro i x |
| 116 | rw [holomorphicLineSmoothMul_apply] |
| 117 | by_cases hx : (x : M) ∈ U |
| 118 | · rw [holomorphicLineSupportedExtension_apply_mem u U n f hf hs _ i x hx] |
| 119 | rfl |
| 120 | · have hnot : (x : M) ∉ tsupport f := fun h => hx (hs h) |
| 121 | rw [holomorphicLineSupportedExtension_apply_zero u U n f hf hs _ i x hnot, |
| 122 | image_eq_zero_of_notMem_tsupport hnot] |
| 123 | exact (zero_smul ℂ (s.val i x)).symm |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.SupportedForms |