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.ComplexMultiplication.HodgeComparison.FiniteLocalPrimitives |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.LocallyConstant |
| 3 | |
| 4 | /-! # Primitive Transitions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.PrimitiveTransitions.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Differences of actual local primitives are locally constant. Their |
| 11 | values on compact subsets of overlaps form finite sets. -/ |
| 12 | |
| 13 | open Set _root_.TopologicalSpace |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | variable {E M : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 18 | |
| 19 | def localFormRestriction {U V : Opens M} (hUV : U ≤ V) (n : ℕ) : |
| 20 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E V n →ₗ[ℂ] Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E U n := |
| 21 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback (fun x : U => (⟨x.val, hUV x.property⟩ : V)) (by |
| 22 | rw [← ContMDiff.subtypeVal_comp_iff] |
| 23 | exact contMDiff_subtype_val (I := 𝓘(ℝ, E)) (n := ∞)) |
| 24 | |
| 25 | theorem localFormRestriction_d {U V : Opens M} (hUV : U ≤ V) (n : ℕ) |
| 26 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E V n) : |
| 27 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (localFormRestriction hUV n f) = |
| 28 | localFormRestriction hUV (n + 1) (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f) := |
| 29 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d_pullback _ _ f |
| 30 | |
| 31 | theorem localFormRestriction_global {U V : Opens M} (hUV : U ≤ V) (n : ℕ) |
| 32 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) : |
| 33 | localFormRestriction hUV n (Intersection.CM.Construction.restrictSmoothForm V n f) = Intersection.CM.Construction.restrictSmoothForm U n f := by |
| 34 | unfold localFormRestriction Intersection.CM.Construction.restrictSmoothForm |
| 35 | rw [← Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.pullback_comp] |
| 36 | rfl |
| 37 | |
| 38 | theorem localFormRestriction_scalar {U V : Opens M} (hUV : U ≤ V) |
| 39 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E V 0) (x : U) : |
| 40 | HolomorphicPrimitive.CM.Construction.zeroFormScalar (localFormRestriction hUV 0 f) x = |
| 41 | HolomorphicPrimitive.CM.Construction.zeroFormScalar f ⟨x.val, hUV x.property⟩ := by |
| 42 | change f _ _ = f _ 0 |
| 43 | congr 1 |
| 44 | exact Subsingleton.elim _ _ |
| 45 | |
| 46 | theorem localPrimitive_difference_closed {U V : Opens M} |
| 47 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 1) |
| 48 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E U 0) (g : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E V 0) |
| 49 | (hf : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f = Intersection.CM.Construction.restrictSmoothForm U 1 a) |
| 50 | (hg : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d g = Intersection.CM.Construction.restrictSmoothForm V 1 a) : |
| 51 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d |
| 52 | (localFormRestriction (show U ⊓ V ≤ U from inf_le_left) 0 f - |
| 53 | localFormRestriction (show U ⊓ V ≤ V from inf_le_right) 0 g) = 0 := by |
| 54 | rw [map_sub, localFormRestriction_d, localFormRestriction_d, hf, hg, |
| 55 | localFormRestriction_global, localFormRestriction_global, sub_self] |
| 56 | |
| 57 | theorem local_zeroForm_scalar_locallyConstant (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 0) |
| 58 | (hf : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f = 0) : IsLocallyConstant (HolomorphicPrimitive.CM.Construction.zeroFormScalar f) := by |
| 59 | have h := (Analysis.DifferentialForms.Manifold.LocallyConstant.d_openManifoldZeroForm_eq_zero_iff (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen ⊤ f)).mp (by |
| 60 | rw [Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.onOpen_d, hf, map_zero]) |
| 61 | exact h.comp_continuous (continuous_id.subtype_mk (fun _ => trivial)) |
| 62 | |
| 63 | def primitiveTransition {U V : Opens M} |
| 64 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E U 0) (g : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E V 0) : |
| 65 | (U ⊓ V : Opens M) → ℂ := |
| 66 | fun x => HolomorphicPrimitive.CM.Construction.zeroFormScalar f ⟨x.val, x.property.1⟩ - |
| 67 | HolomorphicPrimitive.CM.Construction.zeroFormScalar g ⟨x.val, x.property.2⟩ |
| 68 | |
| 69 | theorem primitiveTransition_locallyConstant {U V : Opens M} |
| 70 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 1) |
| 71 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E U 0) (g : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E V 0) |
| 72 | (hf : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f = Intersection.CM.Construction.restrictSmoothForm U 1 a) |
| 73 | (hg : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d g = Intersection.CM.Construction.restrictSmoothForm V 1 a) : |
| 74 | IsLocallyConstant (primitiveTransition f g) := by |
| 75 | let q : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E (U ⊓ V : Opens M) 0 := |
| 76 | localFormRestriction (show U ⊓ V ≤ U from inf_le_left) 0 f - |
| 77 | localFormRestriction (show U ⊓ V ≤ V from inf_le_right) 0 g |
| 78 | have hscalar : IsLocallyConstant (HolomorphicPrimitive.CM.Construction.zeroFormScalar q) := |
| 79 | local_zeroForm_scalar_locallyConstant q (localPrimitive_difference_closed a f g hf hg) |
| 80 | have heq : HolomorphicPrimitive.CM.Construction.zeroFormScalar q = primitiveTransition f g := by |
| 81 | funext x |
| 82 | change HolomorphicPrimitive.CM.Construction.zeroFormScalar (localFormRestriction _ 0 f) x - |
| 83 | HolomorphicPrimitive.CM.Construction.zeroFormScalar (localFormRestriction _ 0 g) x = _ |
| 84 | rw [localFormRestriction_scalar, localFormRestriction_scalar] |
| 85 | rfl |
| 86 | rwa [heq] at hscalar |
| 87 | |
| 88 | omit [IsManifold 𝓘(ℝ, E) ∞ M] in |
| 89 | theorem primitiveTransition_cocycle {U V W : Opens M} |
| 90 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E U 0) (g : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E V 0) |
| 91 | (h : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E W 0) (x : M) (hxU : x ∈ U) (hxV : x ∈ V) (hxW : x ∈ W) : |
| 92 | primitiveTransition f g ⟨x, hxU, hxV⟩ + primitiveTransition g h ⟨x, hxV, hxW⟩ = |
| 93 | primitiveTransition f h ⟨x, hxU, hxW⟩ := by |
| 94 | unfold primitiveTransition |
| 95 | ring |
| 96 | |
| 97 | theorem primitiveTransition_compact_range {U V : Opens M} |
| 98 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 1) |
| 99 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E U 0) (g : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E V 0) |
| 100 | (hf : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f = Intersection.CM.Construction.restrictSmoothForm U 1 a) |
| 101 | (hg : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d g = Intersection.CM.Construction.restrictSmoothForm V 1 a) |
| 102 | (K : Set M) (hK : IsCompact K) (hKU : K ⊆ U) (hKV : K ⊆ V) : |
| 103 | (Set.range (fun x : K => primitiveTransition f g |
| 104 | ⟨x.val, hKU x.property, hKV x.property⟩)).Finite := by |
| 105 | let : CompactSpace K := isCompact_iff_compactSpace.mp hK |
| 106 | exact ((primitiveTransition_locallyConstant a f g hf hg).comp_continuous |
| 107 | (continuous_subtype_val.subtype_mk (fun x => ⟨hKU x.property, hKV x.property⟩))).range_finite |
| 108 | |
| 109 | theorem finite_coordinate_locallyConstant {X ι Y : Type*} [TopologicalSpace X] [Finite ι] |
| 110 | (f : X → ι → Y) (hf : ∀ i, IsLocallyConstant (fun x => f x i)) : |
| 111 | IsLocallyConstant f := by |
| 112 | apply (IsLocallyConstant.iff_eventually_eq f).mpr |
| 113 | intro x |
| 114 | exact (Filter.eventually_all.mpr (fun i => (hf i).eventually_eq x)).mono |
| 115 | (fun _ h => funext h) |
| 116 | |
| 117 | theorem primitiveTransition_family_compact_range {U V : Opens M} |
| 118 | {ι : Type*} [Finite ι] (a : ι → Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M 1) |
| 119 | (f : ι → Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E U 0) (g : ι → Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm E V 0) |
| 120 | (hf : ∀ i, Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (f i) = Intersection.CM.Construction.restrictSmoothForm U 1 (a i)) |
| 121 | (hg : ∀ i, Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (g i) = Intersection.CM.Construction.restrictSmoothForm V 1 (a i)) |
| 122 | (K : Set M) (hK : IsCompact K) (hKU : K ⊆ U) (hKV : K ⊆ V) : |
| 123 | (Set.range (fun x : K => fun i => primitiveTransition (f i) (g i) |
| 124 | ⟨x.val, hKU x.property, hKV x.property⟩)).Finite := by |
| 125 | let : CompactSpace K := isCompact_iff_compactSpace.mp hK |
| 126 | apply IsLocallyConstant.range_finite |
| 127 | apply finite_coordinate_locallyConstant |
| 128 | intro i |
| 129 | exact (primitiveTransition_locallyConstant (a i) (f i) (g i) (hf i) (hg i)).comp_continuous |
| 130 | (continuous_subtype_val.subtype_mk (fun x => ⟨hKU x.property, hKV x.property⟩)) |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.PrimitiveTransitions.CM.Construction |