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.Laurent.SectorNew |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.HomogeneousLaurent |
| 3 | |
| 4 | /-! # Homogeneous Sector Single -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.HomogeneousSectorSingle.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The homogeneous sector equivalence commutes with actual section restriction. -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 15 | |
| 16 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 17 | |
| 18 | /-- The existing additive structure, shared by restriction declarations. -/ |
| 19 | abbrev restrictionSectionAddCommMonoid (s : Finset ι) (d : ℤ) : |
| 20 | AddCommMonoid (HomogeneousLaurent.Dolbeault.homogeneousLaurentSectionSpace s d) := |
| 21 | Submodule.addCommMonoid (HomogeneousLaurent.Dolbeault.laurentHomogeneousSections s d) |
| 22 | |
| 23 | /-- The existing additive structure on homogeneous sector families. -/ |
| 24 | abbrev restrictionSectorAddCommMonoid (s : Finset ι) (d : ℤ) : |
| 25 | AddCommMonoid (HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorSpace s d) := |
| 26 | Submodule.addCommMonoid (HomogeneousLaurent.Dolbeault.laurentHomogeneousSectorFamilies s d) |
| 27 | |
| 28 | attribute [local instance] restrictionSectionAddCommMonoid restrictionSectorAddCommMonoid |
| 29 | |
| 30 | /-- The existing complex module structure on homogeneous sections. -/ |
| 31 | abbrev restrictionSectionModule (s : Finset ι) (d : ℤ) : |
| 32 | Module ℂ (HomogeneousLaurent.Dolbeault.homogeneousLaurentSectionSpace s d) := |
| 33 | Submodule.module (HomogeneousLaurent.Dolbeault.laurentHomogeneousSections s d) |
| 34 | |
| 35 | /-- The existing complex module structure on homogeneous sector families. -/ |
| 36 | abbrev restrictionSectorModule (s : Finset ι) (d : ℤ) : |
| 37 | Module ℂ (HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorSpace s d) := |
| 38 | Submodule.module (HomogeneousLaurent.Dolbeault.laurentHomogeneousSectorFamilies s d) |
| 39 | |
| 40 | attribute [local instance] restrictionSectionModule restrictionSectorModule |
| 41 | |
| 42 | /-- The original source and target of homogeneous section restriction. -/ |
| 43 | abbrev laurentHomogeneousSectionRestrictionType (s t : Finset ι) (d : ℤ) := |
| 44 | HomogeneousLaurent.Dolbeault.homogeneousLaurentSectionSpace s d →ₗ[ℂ] HomogeneousLaurent.Dolbeault.homogeneousLaurentSectionSpace t d |
| 45 | |
| 46 | /-- The original source and target of homogeneous family inclusion. -/ |
| 47 | abbrev laurentHomogeneousFamilyInclusionType (s t : Finset ι) (d : ℤ) := |
| 48 | HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorSpace s d →ₗ[ℂ] HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorSpace t d |
| 49 | |
| 50 | def laurentHomogeneousSectionRestrict {s t : Finset ι} (hst : s ⊆ t) (d : ℤ) : |
| 51 | laurentHomogeneousSectionRestrictionType s t d where |
| 52 | toFun f := ⟨Holomorphic.Restrictions.holomorphicFunctionRestrict (Laurent.SectorTo.Dolbeault.laurentCoordinateDomain_antitone hst) f.val, by |
| 53 | intro c hc x |
| 54 | exact f.property c hc ⟨x.val, Laurent.SectorTo.Dolbeault.laurentCoordinateDomain_antitone hst x.property⟩⟩ |
| 55 | map_add' f g := Subtype.ext ((Holomorphic.Restrictions.holomorphicFunctionRestrict |
| 56 | (Laurent.SectorTo.Dolbeault.laurentCoordinateDomain_antitone hst)).map_add f.val g.val) |
| 57 | map_smul' c f := Subtype.ext ((Holomorphic.Restrictions.holomorphicFunctionRestrict |
| 58 | (Laurent.SectorTo.Dolbeault.laurentCoordinateDomain_antitone hst)).toLinearMap.map_smul c f.val) |
| 59 | |
| 60 | def laurentHomogeneousFamilyInclusion {s t : Finset ι} (hst : s ⊆ t) (d : ℤ) : |
| 61 | laurentHomogeneousFamilyInclusionType s t d where |
| 62 | toFun A := ⟨Laurent.SectorNew.Dolbeault.laurentSectorFamilyInclusion hst A.val, A.property⟩ |
| 63 | map_add' A B := Subtype.ext ((Laurent.SectorNew.Dolbeault.laurentSectorFamilyInclusion hst).map_add A.val B.val) |
| 64 | map_smul' c A := Subtype.ext ((Laurent.SectorNew.Dolbeault.laurentSectorFamilyInclusion hst).map_smul c A.val) |
| 65 | |
| 66 | /-- The original compatibility identity, with its complete expression shared. -/ |
| 67 | abbrev homogeneousLaurentRestrictionIdentity {s t : Finset ι} (hst : s ⊆ t) (d : ℤ) |
| 68 | (f : HomogeneousLaurent.Dolbeault.homogeneousLaurentSectionSpace s d) : Prop := |
| 69 | HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorEquiv t d (laurentHomogeneousSectionRestrict hst d f) = |
| 70 | laurentHomogeneousFamilyInclusion hst d (HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorEquiv s d f) |
| 71 | |
| 72 | theorem homogeneousLaurentSectorEquiv_restrict {s t : Finset ι} (hst : s ⊆ t) (d : ℤ) |
| 73 | (f : HomogeneousLaurent.Dolbeault.homogeneousLaurentSectionSpace s d) : |
| 74 | homogeneousLaurentRestrictionIdentity hst d f := |
| 75 | Subtype.ext (Laurent.SectorNew.Dolbeault.laurentSectorEquiv_restrict hst f.val) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | section |
| 80 | |
| 81 | /-! Each Laurent sign sector has its own fixed homogeneous coefficient space. -/ |
| 82 | |
| 83 | open _root_.TopologicalSpace |
| 84 | |
| 85 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 86 | |
| 87 | def homogeneousSectorCoefficients (J : Finset ι) (d : ℤ) : |
| 88 | Submodule ℂ (Holomorphic.FunctionPure.holomorphicFunctions (⊤ : Opens (ι → ℂ))) where |
| 89 | carrier := {a | a ∈ Laurent.SectorTo.Dolbeault.laurentSectorCoefficients J ∧ |
| 90 | ∀ c : ℂ, c ≠ 0 → ∀ x : ι → ℂ, |
| 91 | Laurent.SectorSum.Dolbeault.laurentEntireFunction a (Laurent.FiniteUniqueness.Dolbeault.laurentSectorScale c J x) = c ^ d * Laurent.SectorSum.Dolbeault.laurentEntireFunction a x} |
| 92 | zero_mem' := ⟨(Laurent.SectorTo.Dolbeault.laurentSectorCoefficients J).zero_mem, fun c _ _ => (mul_zero (c ^ d)).symm⟩ |
| 93 | add_mem' := by |
| 94 | intro a b ha hb |
| 95 | refine ⟨(Laurent.SectorTo.Dolbeault.laurentSectorCoefficients J).add_mem ha.1 hb.1, ?_⟩ |
| 96 | intro c hc x |
| 97 | change Laurent.SectorSum.Dolbeault.laurentEntireFunction a _ + Laurent.SectorSum.Dolbeault.laurentEntireFunction b _ = |
| 98 | c ^ d * (Laurent.SectorSum.Dolbeault.laurentEntireFunction a x + Laurent.SectorSum.Dolbeault.laurentEntireFunction b x) |
| 99 | rw [ha.2 c hc x, hb.2 c hc x, mul_add] |
| 100 | smul_mem' := by |
| 101 | intro r a ha |
| 102 | refine ⟨(Laurent.SectorTo.Dolbeault.laurentSectorCoefficients J).smul_mem r ha.1, ?_⟩ |
| 103 | intro c hc x |
| 104 | change r * Laurent.SectorSum.Dolbeault.laurentEntireFunction a _ = c ^ d * (r * Laurent.SectorSum.Dolbeault.laurentEntireFunction a x) |
| 105 | rw [ha.2 c hc x] |
| 106 | ring |
| 107 | |
| 108 | def homogeneousSectorCoefficientMap (s : Finset ι) (d : ℤ) (J : Finset ι) : |
| 109 | HomogeneousLaurent.Dolbeault.laurentHomogeneousSectorFamilies s d →ₗ[ℂ] homogeneousSectorCoefficients J d where |
| 110 | toFun A := ⟨A.val.val J, A.val.property.1 J, A.property J⟩ |
| 111 | map_add' _ _ := rfl |
| 112 | map_smul' _ _ := rfl |
| 113 | |
| 114 | theorem homogeneousSectorCoefficientMap_inclusion {s t : Finset ι} (hst : s ⊆ t) |
| 115 | (d : ℤ) (J : Finset ι) (A : HomogeneousLaurent.Dolbeault.laurentHomogeneousSectorFamilies s d) : |
| 116 | homogeneousSectorCoefficientMap t d J (laurentHomogeneousFamilyInclusion hst d A) = |
| 117 | homogeneousSectorCoefficientMap s d J A := rfl |
| 118 | |
| 119 | theorem homogeneousSectorCoefficientMap_zero_of_not_subset (s : Finset ι) (d : ℤ) (J : Finset ι) |
| 120 | (hJ : ¬J ⊆ s) (A : HomogeneousLaurent.Dolbeault.laurentHomogeneousSectorFamilies s d) : |
| 121 | homogeneousSectorCoefficientMap s d J A = 0 := |
| 122 | Subtype.ext (A.val.property.2 J hJ) |
| 123 | |
| 124 | theorem homogeneousSectorFamily_ext (s : Finset ι) (d : ℤ) |
| 125 | (A B : HomogeneousLaurent.Dolbeault.laurentHomogeneousSectorFamilies s d) |
| 126 | (h : ∀ J, homogeneousSectorCoefficientMap s d J A = homogeneousSectorCoefficientMap s d J B) : A = B := by |
| 127 | apply Subtype.ext |
| 128 | apply Subtype.ext |
| 129 | funext J |
| 130 | exact congrArg Subtype.val (h J) |
| 131 | |
| 132 | end |
| 133 | |
| 134 | section |
| 135 | |
| 136 | /-! A single normalized coefficient gives its actual homogeneous Laurent sector and no others. -/ |
| 137 | |
| 138 | open scoped BigOperators |
| 139 | |
| 140 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 141 | |
| 142 | def homogeneousSingleSectorFamily (s J : Finset ι) (hJ : J ⊆ s) (d : ℤ) |
| 143 | (a : homogeneousSectorCoefficients J d) : HomogeneousLaurent.Dolbeault.laurentHomogeneousSectorFamilies s d := by |
| 144 | let A := fun K : Finset ι => if K = J then a.val else 0 |
| 145 | refine ⟨⟨A, ?_, ?_⟩, ?_⟩ |
| 146 | · intro K |
| 147 | by_cases h : K = J |
| 148 | · subst K |
| 149 | simpa only [A, ite_eq_left rfl] using a.property.1 |
| 150 | · simpa only [A, ite_eq_right h] using (Laurent.SectorTo.Dolbeault.laurentSectorCoefficients K).zero_mem |
| 151 | · intro K hK |
| 152 | have h : K ≠ J := fun he => hK (he ▸ hJ) |
| 153 | exact ite_eq_right h |
| 154 | · intro K c hc x |
| 155 | by_cases h : K = J |
| 156 | · subst K |
| 157 | simpa only [A, ite_eq_left rfl] using a.property.2 c hc x |
| 158 | · change Laurent.SectorSum.Dolbeault.laurentEntireFunction (A K) _ = c ^ d * Laurent.SectorSum.Dolbeault.laurentEntireFunction (A K) x |
| 159 | rw [show A K = 0 from ite_eq_right h] |
| 160 | exact (mul_zero (c ^ d)).symm |
| 161 | |
| 162 | theorem homogeneousSingleSectorFamily_coefficient (s J : Finset ι) (hJ : J ⊆ s) (d : ℤ) |
| 163 | (a : homogeneousSectorCoefficients J d) : |
| 164 | homogeneousSectorCoefficientMap s d J (homogeneousSingleSectorFamily s J hJ d a) = a := by |
| 165 | apply Subtype.ext |
| 166 | change (if J = J then a.val else 0) = a.val |
| 167 | exact ite_eq_left rfl |
| 168 | |
| 169 | theorem homogeneousSingleSectorFamily_coefficient_ne (s J K : Finset ι) (hJ : J ⊆ s) (d : ℤ) |
| 170 | (a : homogeneousSectorCoefficients J d) (hK : K ≠ J) : |
| 171 | homogeneousSectorCoefficientMap s d K (homogeneousSingleSectorFamily s J hJ d a) = 0 := by |
| 172 | apply Subtype.ext |
| 173 | change (if K = J then a.val else 0) = 0 |
| 174 | exact ite_eq_right hK |
| 175 | |
| 176 | theorem homogeneousSingleSectorFamily_assembly (s J : Finset ι) (hJ : J ⊆ s) (d : ℤ) |
| 177 | (a : homogeneousSectorCoefficients J d) (x : Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s) : |
| 178 | ((HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorEquiv s d).symm (homogeneousSingleSectorFamily s J hJ d a)).val.val x = |
| 179 | Laurent.SectorSum.Dolbeault.laurentEntireFunction a.val (Laurent.SectorTo.Dolbeault.laurentInverseCoordinates J x.val) := by |
| 180 | change (∑ K ∈ s.powerset, Laurent.SectorSum.Dolbeault.laurentEntireFunction (if K = J then a.val else 0) |
| 181 | (Laurent.SectorTo.Dolbeault.laurentInverseCoordinates K x.val)) = _ |
| 182 | rw [Finset.sum_eq_single J] |
| 183 | · rw [ite_eq_left rfl] |
| 184 | · intro K _ hK |
| 185 | rw [ite_eq_right hK] |
| 186 | rfl |
| 187 | · intro h |
| 188 | exact (h (Finset.mem_powerset.mpr hJ)).elim |
| 189 | |
| 190 | end |
| 191 | |
| 192 | /-! Values determine the actual Laurent sector of a homogeneous section. -/ |
| 193 | |
| 194 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 195 | |
| 196 | theorem homogeneousLaurentSectorEquiv_of_single_values (s J : Finset ι) (hJ : J ⊆ s) (d : ℤ) |
| 197 | (a : homogeneousSectorCoefficients J d) (f : HomogeneousLaurent.Dolbeault.laurentHomogeneousSections s d) |
| 198 | (hf : ∀ x : Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s, f.val.val x = |
| 199 | Laurent.SectorSum.Dolbeault.laurentEntireFunction a.val (Laurent.SectorTo.Dolbeault.laurentInverseCoordinates J x.val)) : |
| 200 | HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorEquiv s d f = homogeneousSingleSectorFamily s J hJ d a := by |
| 201 | have he : f = (HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorEquiv s d).symm (homogeneousSingleSectorFamily s J hJ d a) := by |
| 202 | apply Subtype.ext |
| 203 | apply Subtype.ext |
| 204 | funext x |
| 205 | exact (hf x).trans (homogeneousSingleSectorFamily_assembly s J hJ d a x).symm |
| 206 | exact (congrArg (HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorEquiv s d) he).trans |
| 207 | ((HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorEquiv s d).apply_symm_apply _) |
| 208 | |
| 209 | theorem homogeneousSectorCoefficient_of_single_values (s J : Finset ι) (hJ : J ⊆ s) (d : ℤ) |
| 210 | (a : homogeneousSectorCoefficients J d) (f : HomogeneousLaurent.Dolbeault.laurentHomogeneousSections s d) |
| 211 | (hf : ∀ x : Laurent.SectorTo.Dolbeault.laurentCoordinateDomain s, f.val.val x = |
| 212 | Laurent.SectorSum.Dolbeault.laurentEntireFunction a.val (Laurent.SectorTo.Dolbeault.laurentInverseCoordinates J x.val)) : |
| 213 | homogeneousSectorCoefficientMap s d J (HomogeneousLaurent.Dolbeault.homogeneousLaurentSectorEquiv s d f) = a := |
| 214 | (congrArg (homogeneousSectorCoefficientMap s d J) |
| 215 | (homogeneousLaurentSectorEquiv_of_single_values s J hJ d a f hf)).trans |
| 216 | (homogeneousSingleSectorFamily_coefficient s J hJ d a) |
| 217 | |
| 218 | end |
| 219 | |
| 220 | end OAI.AlgebraicGeometry.Comparison.Betti.HomogeneousSectorSingle.Dolbeault |