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.Resolution.Blowups.Smooth.CenterSubunions |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.UniformIncidenceTransform |
| 3 | |
| 4 | /-! # Incidence Center -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Canonical finite groups of smooth center components with the same containing boundary labels. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | variable {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 17 | [Smooth (I.subschemeι ≫ f)] [Fintype (irreducibleComponents I.subscheme)] |
| 18 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) |
| 19 | |
| 20 | def Boundary.IncidenceCenter.Construction.boundaryIncidenceComponentSet (F : Finset β) : Finset (irreducibleComponents I.subscheme) := by |
| 21 | classical |
| 22 | exact Finset.univ.filter (fun C => Global.AdmissibleMonomialTransform.Construction.integralCenterBoundaryLabels (Blowups.Smooth.CenterComponents.Construction.smoothCenterComponentIdeal f I C) D = F) |
| 23 | |
| 24 | def Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter (F : Finset β) : X.IdealSheafData := |
| 25 | Blowups.Smooth.CenterSubunions.Construction.smoothCenterSubunionIdeal f I (Boundary.IncidenceCenter.Construction.boundaryIncidenceComponentSet f I D F) |
| 26 | |
| 27 | theorem Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter_pairwise (F G : Finset β) (hFG : F ≠ G) : |
| 28 | Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F ⊔ Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D G = ⊤ := by |
| 29 | classical |
| 30 | apply Blowups.Smooth.CenterSubunions.Construction.smoothCenterSubunionIdeal_disjoint |
| 31 | apply Finset.disjoint_left.mpr |
| 32 | intro C hF hG |
| 33 | exact hFG ((Finset.mem_filter.mp hF).2.symm.trans (Finset.mem_filter.mp hG).2) |
| 34 | |
| 35 | theorem Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter_product : ∏ F : Finset β, Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F = I := by |
| 36 | classical |
| 37 | unfold Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter Blowups.Smooth.CenterSubunions.Construction.smoothCenterSubunionIdeal Boundary.IncidenceCenter.Construction.boundaryIncidenceComponentSet |
| 38 | rw [Finset.prod_fiberwise, Blowups.Smooth.CenterComponents.Construction.smoothCenterComponentIdeal_prod] |
| 39 | |
| 40 | theorem Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter_ne_bot [IsIntegral X] [IsLocallyNoetherian X] |
| 41 | (hI : I ≠ ⊥) (F : Finset β) : Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F ≠ ⊥ := |
| 42 | Blowups.Smooth.CenterSubunions.Construction.smoothCenterSubunionIdeal_ne_bot f I hI _ |
| 43 | |
| 44 | theorem Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter_smooth (F : Finset β) : |
| 45 | Smooth ((Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F).subschemeι ≫ f) := |
| 46 | Blowups.Smooth.CenterSubunions.Construction.smoothCenterSubunionIdeal_smooth f I _ |
| 47 | |
| 48 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.subunion_incidence |
| 49 | (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) (F : Finset β) (i : A.indices) |
| 50 | (hproper : (Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F).ideal (A.opens i) ≠ ⊤) : A.divided i = F := by |
| 51 | classical |
| 52 | have hex : ∃ C ∈ Boundary.IncidenceCenter.Construction.boundaryIncidenceComponentSet f I D F, |
| 53 | (Blowups.Smooth.CenterComponents.Construction.smoothCenterComponentIdeal f I C).ideal (A.opens i) ≠ ⊤ := by |
| 54 | by_contra! h |
| 55 | apply hproper |
| 56 | change (∏ C ∈ Boundary.IncidenceCenter.Construction.boundaryIncidenceComponentSet f I D F, Blowups.Smooth.CenterComponents.Construction.smoothCenterComponentIdeal f I C).ideal (A.opens i) = ⊤ |
| 57 | rw [Global.MixedBoundary.Construction.idealSheaf_finset_prod_ideal] |
| 58 | rw [Finset.prod_congr rfl h, ← Ideal.one_eq_top, Finset.prod_const_one] |
| 59 | obtain ⟨C, hC, hp⟩ := hex |
| 60 | let : IsIntegral (Blowups.Smooth.CenterComponents.Construction.smoothCenterComponentIdeal f I C).subscheme := Blowups.Smooth.CenterComponents.Construction.smoothCenterComponentIdeal_integral f I C |
| 61 | have he := (A.integralComponent f I C).divided_eq_integralCenterBoundaryLabels i hp |
| 62 | change A.divided i = Global.AdmissibleMonomialTransform.Construction.integralCenterBoundaryLabels (Blowups.Smooth.CenterComponents.Construction.smoothCenterComponentIdeal f I C) D at he |
| 63 | exact he.trans (Finset.mem_filter.mp hC).2 |
| 64 | |
| 65 | def Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.incidenceCenter |
| 66 | (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) (F : Finset β) : |
| 67 | Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f (Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F) D := |
| 68 | (A.subunion f I (Boundary.IncidenceCenter.Construction.boundaryIncidenceComponentSet f I D F)).withUniformIncidence F |
| 69 | (fun i hp => A.subunion_incidence f I D F i hp) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | section |
| 74 | |
| 75 | /-! On each actual boundary chart, an incidence group is either the whole local center or empty. -/ |
| 76 | |
| 77 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 78 | |
| 79 | variable {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 80 | [Smooth (I.subschemeι ≫ f)] [Fintype (irreducibleComponents I.subscheme)] |
| 81 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) |
| 82 | |
| 83 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.incidenceCenter_ideal_eq_top (F : Finset β) (i : A.indices) |
| 84 | (hF : A.divided i ≠ F) : (Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F).ideal (A.opens i) = ⊤ := by |
| 85 | by_contra h |
| 86 | exact hF (A.subunion_incidence f I D F i h) |
| 87 | |
| 88 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.incidenceCenter_ideal_eq (i : A.indices) : |
| 89 | (Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D (A.divided i)).ideal (A.opens i) = I.ideal (A.opens i) := by |
| 90 | classical |
| 91 | have he := congrArg (fun K : X.IdealSheafData => K.ideal (A.opens i)) (Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter_product f I D) |
| 92 | rw [Global.MixedBoundary.Construction.idealSheaf_finset_prod_ideal] at he |
| 93 | rw [Finset.prod_eq_single (A.divided i)] at he |
| 94 | · exact he |
| 95 | · intro F _ hF |
| 96 | rw [A.incidenceCenter_ideal_eq_top f I D F i hF.symm, Ideal.one_eq_top] |
| 97 | · intro h |
| 98 | exact (h (Finset.mem_univ _)).elim |
| 99 | |
| 100 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.incidenceCenter_ideal_formula [DecidableEq β] (F : Finset β) (i : A.indices) : |
| 101 | (Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F).ideal (A.opens i) = |
| 102 | if A.divided i = F then I.ideal (A.opens i) else ⊤ := by |
| 103 | classical |
| 104 | by_cases he : A.divided i = F |
| 105 | · rw [ite_eq_left he, ← he] |
| 106 | exact A.incidenceCenter_ideal_eq f I D i |
| 107 | · rw [ite_eq_right he] |
| 108 | exact A.incidenceCenter_ideal_eq_top f I D F i he |
| 109 | |
| 110 | end |
| 111 | |
| 112 | /-! Unions of incidence groups have explicit native ideals and remain smooth boundary-compatible subcenters. -/ |
| 113 | |
| 114 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 115 | |
| 116 | variable {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 117 | [Smooth (I.subschemeι ≫ f)] [Fintype (irreducibleComponents I.subscheme)] |
| 118 | {β : Type} [Fintype β] [DecidableEq β] (D : β → X.IdealSheafData) |
| 119 | |
| 120 | def Boundary.IncidenceCenter.Construction.selectedIncidenceCenter (s : Finset (Finset β)) : X.IdealSheafData := |
| 121 | ∏ F ∈ s, Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F |
| 122 | |
| 123 | omit [DecidableEq β] in |
| 124 | theorem Boundary.IncidenceCenter.Construction.selectedIncidenceCenter_disjoint (s t : Finset (Finset β)) (hst : Disjoint s t) : |
| 125 | Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D s ⊔ Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D t = ⊤ := by |
| 126 | classical |
| 127 | apply Blowups.Smooth.ComponentBoundaryAtlas.Construction.idealSheaf_sup_finset_prod_eq_top |
| 128 | intro G hG |
| 129 | rw [sup_comm] |
| 130 | apply Blowups.Smooth.ComponentBoundaryAtlas.Construction.idealSheaf_sup_finset_prod_eq_top |
| 131 | intro F hF |
| 132 | exact Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter_pairwise f I D G F (fun he => Finset.disjoint_left.mp hst hF (he ▸ hG)) |
| 133 | |
| 134 | theorem Boundary.IncidenceCenter.Construction.selectedIncidenceCenter_factorization (s : Finset (Finset β)) : |
| 135 | I = Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D s * Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D sᶜ := by |
| 136 | classical |
| 137 | rw [Boundary.IncidenceCenter.Construction.selectedIncidenceCenter, Boundary.IncidenceCenter.Construction.selectedIncidenceCenter, Finset.prod_mul_prod_compl, |
| 138 | Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter_product] |
| 139 | |
| 140 | theorem Boundary.IncidenceCenter.Construction.selectedIncidenceCenter_smooth (s : Finset (Finset β)) : |
| 141 | Smooth ((Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D s).subschemeι ≫ f) := by |
| 142 | classical |
| 143 | let K := Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D s |
| 144 | let L := Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D sᶜ |
| 145 | have he : I = L * K := (Boundary.IncidenceCenter.Construction.selectedIncidenceCenter_factorization f I D s).trans (mul_comm K L) |
| 146 | let : Smooth ((L * K).subschemeι ≫ f) := he ▸ inferInstanceAs (Smooth (I.subschemeι ≫ f)) |
| 147 | exact Blowups.Smooth.ComaximalFactor.Construction.smooth_comaximal_right_factor f L K (Boundary.IncidenceCenter.Construction.selectedIncidenceCenter_disjoint f I D sᶜ s disjoint_compl_left) |
| 148 | |
| 149 | def Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.selectedIncidence |
| 150 | (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) (s : Finset (Finset β)) : |
| 151 | Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f (Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D s) D := |
| 152 | A.comaximalFactor _ _ (Boundary.IncidenceCenter.Construction.selectedIncidenceCenter_factorization f I D s) |
| 153 | (Boundary.IncidenceCenter.Construction.selectedIncidenceCenter_disjoint f I D s sᶜ disjoint_compl_right) |
| 154 | |
| 155 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.selectedIncidence_ideal |
| 156 | (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) (s : Finset (Finset β)) (i : A.indices) : |
| 157 | (Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D s).ideal (A.opens i) = |
| 158 | if A.divided i ∈ s then I.ideal (A.opens i) else ⊤ := by |
| 159 | classical |
| 160 | rw [Boundary.IncidenceCenter.Construction.selectedIncidenceCenter, Global.MixedBoundary.Construction.idealSheaf_finset_prod_ideal] |
| 161 | by_cases hi : A.divided i ∈ s |
| 162 | · rw [ite_eq_left hi, Finset.prod_eq_single (A.divided i)] |
| 163 | · exact A.incidenceCenter_ideal_eq f I D i |
| 164 | · intro F _ hF |
| 165 | rw [A.incidenceCenter_ideal_eq_top f I D F i hF.symm, Ideal.one_eq_top] |
| 166 | · intro hn |
| 167 | exact (hn hi).elim |
| 168 | · rw [ite_eq_right hi, ← Ideal.one_eq_top] |
| 169 | apply Finset.prod_eq_one |
| 170 | intro F hF |
| 171 | rw [A.incidenceCenter_ideal_eq_top f I D F i (fun he => hi (he.symm ▸ hF)), Ideal.one_eq_top] |
| 172 | |
| 173 | end |
| 174 | |
| 175 | end OAI.AlgebraicGeometry.Resolution.Blowups |