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.Boundary.IncidenceCenter |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.CenterBoundaryColon |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.ComaximalFactorUniqueness |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.KernelSums |
| 5 | |
| 6 | /-! # Binary Incidence -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Canonical containing and avoiding parts of a smooth center, characterized by native ideal quotients. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | def Boundary.BinaryIncidence.Construction.boundaryContainingFaces {β : Type} [Fintype β] (j : β) : Finset (Finset β) := by |
| 19 | classical |
| 20 | exact Finset.univ.filter (fun F => j ∈ F) |
| 21 | |
| 22 | variable {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 23 | [Smooth (I.subschemeι ≫ f)] [Fintype (irreducibleComponents I.subscheme)] |
| 24 | {β : Type} [Fintype β] [DecidableEq β] (D : β → X.IdealSheafData) |
| 25 | |
| 26 | def Boundary.BinaryIncidence.Construction.boundaryContainingCenter (j : β) : X.IdealSheafData := |
| 27 | Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D (Boundary.BinaryIncidence.Construction.boundaryContainingFaces j) |
| 28 | |
| 29 | def Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter (j : β) : X.IdealSheafData := |
| 30 | Boundary.IncidenceCenter.Construction.selectedIncidenceCenter f I D (Boundary.BinaryIncidence.Construction.boundaryContainingFaces j)ᶜ |
| 31 | |
| 32 | theorem Boundary.BinaryIncidence.Construction.binaryBoundaryIncidence_factorization (j : β) : |
| 33 | I = Boundary.BinaryIncidence.Construction.boundaryContainingCenter f I D j * Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j := |
| 34 | Boundary.IncidenceCenter.Construction.selectedIncidenceCenter_factorization f I D _ |
| 35 | |
| 36 | theorem Boundary.BinaryIncidence.Construction.binaryBoundaryIncidence_comaximal (j : β) : |
| 37 | Boundary.BinaryIncidence.Construction.boundaryContainingCenter f I D j ⊔ Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j = ⊤ := |
| 38 | Boundary.IncidenceCenter.Construction.selectedIncidenceCenter_disjoint f I D _ _ disjoint_compl_right |
| 39 | |
| 40 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.boundaryAvoidingCenter_eq_colon [IsLocallyNoetherian X] |
| 41 | (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) (j : β) : |
| 42 | Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j = NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon I (D j) := by |
| 43 | classical |
| 44 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ (Global.MonomialBoundaryAtlas.Construction.chosenAffineSpecCover A.opens A.cover).openCover |
| 45 | intro i |
| 46 | change A.indices at i |
| 47 | have he : (Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j).ideal (A.opens i) = |
| 48 | (NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon I (D j)).ideal (A.opens i) := by |
| 49 | rw [Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter, A.selectedIncidence_ideal f I D, A.boundary_colon_ideal j i] |
| 50 | simp only [Boundary.BinaryIncidence.Construction.boundaryContainingFaces, Finset.mem_compl, Finset.mem_filter, Finset.mem_univ, true_and] |
| 51 | by_cases hj : j ∈ A.divided i <;> simp only [hj, ite_true, ite_false, not_true_eq_false, not_false_eq_true] |
| 52 | change (Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j).comap (A.opens i).2.fromSpec = |
| 53 | (NoetherianIdealSheafColon.Construction.noetherianIdealSheafColon I (D j)).comap (A.opens i).2.fromSpec |
| 54 | rw [Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel, Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel, he] |
| 55 | |
| 56 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.boundaryAvoidingCenter_comap_flat |
| 57 | [IsLocallyNoetherian X] (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) |
| 58 | {Y : Scheme} [IsLocallyNoetherian Y] (q : Y ⟶ X) [Flat q] (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 59 | [Smooth ((I.comap q).subschemeι ≫ g)] [Fintype (irreducibleComponents (I.comap q).subscheme)] |
| 60 | (B : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas g (I.comap q) (fun l => (D l).comap q)) (j : β) : |
| 61 | (Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j).comap q = |
| 62 | Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter g (I.comap q) (fun l => (D l).comap q) j := by |
| 63 | rw [A.boundaryAvoidingCenter_eq_colon f I D j, A.boundary_colon_comap_flat j q, |
| 64 | B.boundaryAvoidingCenter_eq_colon] |
| 65 | |
| 66 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.boundaryContainingCenter_comap_flat |
| 67 | [IsLocallyNoetherian X] (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) |
| 68 | {Y : Scheme} [IsLocallyNoetherian Y] (q : Y ⟶ X) [Flat q] (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 69 | [Smooth ((I.comap q).subschemeι ≫ g)] [Fintype (irreducibleComponents (I.comap q).subscheme)] |
| 70 | (B : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas g (I.comap q) (fun l => (D l).comap q)) (j : β) : |
| 71 | (Boundary.BinaryIncidence.Construction.boundaryContainingCenter f I D j).comap q = |
| 72 | Boundary.BinaryIncidence.Construction.boundaryContainingCenter g (I.comap q) (fun l => (D l).comap q) j := by |
| 73 | let L := Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter g (I.comap q) (fun l => (D l).comap q) j |
| 74 | have he := A.boundaryAvoidingCenter_comap_flat f I D q g B j |
| 75 | change (Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j).comap q = L at he |
| 76 | apply ComaximalFactorUniqueness.Construction.idealSheaf_comaximal_factor_unique _ _ L |
| 77 | · rw [← he, ← Scheme.IdealSheafData.comap_sup, Boundary.BinaryIncidence.Construction.binaryBoundaryIncidence_comaximal, |
| 78 | Scheme.IdealSheafData.comap_top] |
| 79 | · exact Boundary.BinaryIncidence.Construction.binaryBoundaryIncidence_comaximal g (I.comap q) (fun l => (D l).comap q) j |
| 80 | · rw [← Boundary.BinaryIncidence.Construction.binaryBoundaryIncidence_factorization, ← he, ← IdealSheaf.ProductPullback.Construction.idealSheaf_comap_mul, |
| 81 | ← Boundary.BinaryIncidence.Construction.binaryBoundaryIncidence_factorization] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! Every canonical incidence group commutes with flat restriction between smooth boundary-center pairs. -/ |
| 86 | |
| 87 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 88 | |
| 89 | variable {X : Scheme} [IsLocallyNoetherian X] (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 90 | [Smooth (I.subschemeι ≫ f)] [Fintype (irreducibleComponents I.subscheme)] |
| 91 | {β : Type} [Fintype β] [DecidableEq β] (D : β → X.IdealSheafData) (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) |
| 92 | |
| 93 | omit [IsLocallyNoetherian X] in |
| 94 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.boundaryContainingCenter_ideal (j : β) (i : A.indices) : |
| 95 | (Boundary.BinaryIncidence.Construction.boundaryContainingCenter f I D j).ideal (A.opens i) = |
| 96 | if j ∈ A.divided i then I.ideal (A.opens i) else ⊤ := by |
| 97 | rw [Boundary.BinaryIncidence.Construction.boundaryContainingCenter, A.selectedIncidence_ideal f I D] |
| 98 | simp only [Boundary.BinaryIncidence.Construction.boundaryContainingFaces, Finset.mem_filter, Finset.mem_univ, true_and] |
| 99 | |
| 100 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.boundaryAvoidingCenter_ideal (j : β) (i : A.indices) : |
| 101 | (Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j).ideal (A.opens i) = |
| 102 | if j ∈ A.divided i then ⊤ else I.ideal (A.opens i) := by |
| 103 | rw [A.boundaryAvoidingCenter_eq_colon f I D j, A.boundary_colon_ideal j i] |
| 104 | |
| 105 | include A in |
| 106 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.incidenceCenter_binary_formula (F : Finset β) : |
| 107 | Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F = I ⊔ ⨆ j : β, |
| 108 | if j ∈ F then Boundary.BinaryIncidence.Construction.boundaryContainingCenter f I D j else Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j := by |
| 109 | classical |
| 110 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ (Global.MonomialBoundaryAtlas.Construction.chosenAffineSpecCover A.opens A.cover).openCover |
| 111 | intro i |
| 112 | change A.indices at i |
| 113 | have he : (Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F).ideal (A.opens i) = |
| 114 | (I ⊔ ⨆ j : β, if j ∈ F then Boundary.BinaryIncidence.Construction.boundaryContainingCenter f I D j else Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j).ideal (A.opens i) := by |
| 115 | rw [A.incidenceCenter_ideal_formula f I D F i, |
| 116 | Scheme.IdealSheafData.ideal_sup, Scheme.IdealSheafData.ideal_iSup] |
| 117 | rw [Pi.sup_apply, iSup_apply] |
| 118 | change (if A.divided i = F then I.ideal (A.opens i) else ⊤) = I.ideal (A.opens i) ⊔ |
| 119 | ⨆ j : β, (if j ∈ F then Boundary.BinaryIncidence.Construction.boundaryContainingCenter f I D j else Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j).ideal (A.opens i) |
| 120 | by_cases hF : A.divided i = F |
| 121 | · rw [ite_eq_left hF] |
| 122 | apply le_antisymm le_sup_left |
| 123 | apply sup_le le_rfl |
| 124 | apply iSup_le |
| 125 | intro j |
| 126 | by_cases hj : j ∈ F |
| 127 | · rw [ite_eq_left hj, A.boundaryContainingCenter_ideal f I D j i, hF, ite_eq_left hj] |
| 128 | · rw [ite_eq_right hj, A.boundaryAvoidingCenter_ideal f I D j i, hF, ite_eq_right hj] |
| 129 | · rw [ite_eq_right hF] |
| 130 | have hex : ∃ j : β, ¬ (j ∈ A.divided i ↔ j ∈ F) := by |
| 131 | by_contra! hn |
| 132 | exact hF (Finset.ext hn) |
| 133 | obtain ⟨j, hj⟩ := hex |
| 134 | apply (top_le_iff.mp ?_).symm |
| 135 | apply (le_iSup_of_le j ?_).trans le_sup_right |
| 136 | by_cases hjF : j ∈ F |
| 137 | · have hjA : j ∉ A.divided i := by tauto |
| 138 | rw [ite_eq_left hjF, A.boundaryContainingCenter_ideal f I D j i, ite_eq_right hjA] |
| 139 | · have hjA : j ∈ A.divided i := by tauto |
| 140 | rw [ite_eq_right hjF, A.boundaryAvoidingCenter_ideal f I D j i, ite_eq_left hjA] |
| 141 | change (Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F).comap (A.opens i).2.fromSpec = |
| 142 | (I ⊔ ⨆ j : β, if j ∈ F then Boundary.BinaryIncidence.Construction.boundaryContainingCenter f I D j else Boundary.BinaryIncidence.Construction.boundaryAvoidingCenter f I D j).comap (A.opens i).2.fromSpec |
| 143 | rw [Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel, Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel, he] |
| 144 | |
| 145 | include A in |
| 146 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.incidenceCenter_comap_flat |
| 147 | {Y : Scheme} [IsLocallyNoetherian Y] (q : Y ⟶ X) [Flat q] (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 148 | [Smooth ((I.comap q).subschemeι ≫ g)] [Fintype (irreducibleComponents (I.comap q).subscheme)] |
| 149 | (B : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas g (I.comap q) (fun l => (D l).comap q)) (F : Finset β) : |
| 150 | (Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter f I D F).comap q = |
| 151 | Boundary.IncidenceCenter.Construction.boundaryIncidenceCenter g (I.comap q) (fun l => (D l).comap q) F := by |
| 152 | rw [A.incidenceCenter_binary_formula f I D F, Scheme.IdealSheafData.comap_sup, |
| 153 | Affine.KernelSums.Construction.idealSheaf_comap_iSup, B.incidenceCenter_binary_formula] |
| 154 | congr 1 |
| 155 | apply iSup_congr |
| 156 | intro j |
| 157 | by_cases hj : j ∈ F |
| 158 | · rw [ite_eq_left hj, ite_eq_left hj] |
| 159 | exact A.boundaryContainingCenter_comap_flat f I D q g B j |
| 160 | · rw [ite_eq_right hj, ite_eq_right hj] |
| 161 | exact A.boundaryAvoidingCenter_comap_flat f I D q g B j |
| 162 | |
| 163 | end |
| 164 | |
| 165 | end OAI.AlgebraicGeometry.Resolution.Blowups |