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.GlobalBoundary.Intersection |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalControlled.Factorization |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.Nonzero |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.BoundaryTransform |
| 5 | |
| 6 | /-! # Mixed Boundary -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.MixedBoundary.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exact native global boundary transforms with one new exceptional label at every blowup. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | def boundaryMonomialSheaf {X : Scheme.{u}} {ι : Type v} [Fintype ι] |
| 19 | (D : ι → X.IdealSheafData) (a : ι → ℕ) : X.IdealSheafData := ∏ j, D j ^ a j |
| 20 | |
| 21 | theorem idealSheaf_finset_prod_ideal {X : Scheme.{u}} {ι : Type v} |
| 22 | (D : ι → X.IdealSheafData) (S : Finset ι) (U : X.affineOpens) : |
| 23 | (∏ j ∈ S, D j).ideal U = ∏ j ∈ S, (D j).ideal U := by |
| 24 | classical |
| 25 | induction S using Finset.induction_on with |
| 26 | | empty => |
| 27 | simp only [Finset.prod_empty, Scheme.IdealSheafData.one_eq_top, |
| 28 | Scheme.IdealSheafData.ideal_top, Pi.top_apply, Ideal.one_eq_top] |
| 29 | | @insert j S hj ih => |
| 30 | rw [Finset.prod_insert hj, Scheme.IdealSheafData.ideal_mul, Pi.mul_apply, ih, |
| 31 | Finset.prod_insert hj] |
| 32 | |
| 33 | theorem boundaryMonomialSheaf_ideal {X : Scheme.{u}} {ι : Type v} [Fintype ι] |
| 34 | (D : ι → X.IdealSheafData) (a : ι → ℕ) (U : X.affineOpens) : |
| 35 | (boundaryMonomialSheaf D a).ideal U = ∏ j, (D j).ideal U ^ a j := by |
| 36 | rw [boundaryMonomialSheaf, idealSheaf_finset_prod_ideal] |
| 37 | rfl |
| 38 | |
| 39 | theorem idealSheaf_comap_finset_prod_open {X Y : Scheme.{u}} {ι : Type v} |
| 40 | (D : ι → Y.IdealSheafData) (S : Finset ι) (f : X ⟶ Y) [IsOpenImmersion f] : |
| 41 | (∏ j ∈ S, D j).comap f = ∏ j ∈ S, (D j).comap f := by |
| 42 | classical |
| 43 | induction S using Finset.induction_on with |
| 44 | | empty => |
| 45 | simp only [Finset.prod_empty] |
| 46 | exact Scheme.IdealSheafData.comap_top f |
| 47 | | @insert j S hj ih => rw [Finset.prod_insert hj, IdealSheaf.ProductRestriction.Construction.idealSheaf_comap_mul_open, ih, Finset.prod_insert hj] |
| 48 | |
| 49 | theorem boundaryMonomialSheaf_comap_open {X Y : Scheme.{u}} {ι : Type v} [Fintype ι] |
| 50 | (D : ι → Y.IdealSheafData) (a : ι → ℕ) (f : X ⟶ Y) [IsOpenImmersion f] : |
| 51 | (boundaryMonomialSheaf D a).comap f = boundaryMonomialSheaf (fun j => (D j).comap f) a := by |
| 52 | rw [boundaryMonomialSheaf, idealSheaf_comap_finset_prod_open] |
| 53 | simp only [IdealSheaf.ColonRestriction.Construction.idealSheaf_comap_pow_open, boundaryMonomialSheaf] |
| 54 | |
| 55 | theorem affineQuotientKernel_finset_prod {R : Type u} [CommRing R] {ι : Type v} |
| 56 | (D : ι → Ideal R) (S : Finset ι) : |
| 57 | Affine.QuotientKernel.Construction.affineQuotientKernel (∏ j ∈ S, D j) = ∏ j ∈ S, Affine.QuotientKernel.Construction.affineQuotientKernel (D j) := by |
| 58 | classical |
| 59 | induction S using Finset.induction_on with |
| 60 | | empty => |
| 61 | simp only [Finset.prod_empty, Ideal.one_eq_top, Scheme.IdealSheafData.one_eq_top] |
| 62 | exact DifferentialUnitGluing.Construction.affineQuotientKernel_top (R := R) |
| 63 | | @insert j S hj ih => rw [Finset.prod_insert hj, IdealSheaf.ProductRestriction.Construction.affineQuotientKernel_mul, ih, Finset.prod_insert hj] |
| 64 | |
| 65 | theorem ideal_span_finset_prod {R : Type u} [CommRing R] {ι : Type v} |
| 66 | (w : ι → R) (S : Finset ι) : Ideal.span {∏ j ∈ S, w j} = ∏ j ∈ S, Ideal.span {w j} := by |
| 67 | classical |
| 68 | induction S using Finset.induction_on with |
| 69 | | empty => simp only [Finset.prod_empty, Ideal.span_singleton_one, Ideal.one_eq_top] |
| 70 | | @insert j S hj ih => |
| 71 | rw [Finset.prod_insert hj, ← Ideal.span_singleton_mul_span_singleton, ih, Finset.prod_insert hj] |
| 72 | |
| 73 | theorem boundaryMonomialSheaf_affineQuotientKernel |
| 74 | {R : Type u} [CommRing R] {ι : Type v} [Fintype ι] (w : ι → R) (a : ι → ℕ) : |
| 75 | boundaryMonomialSheaf (fun j => Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {w j})) a = |
| 76 | Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement w a}) := by |
| 77 | rw [boundaryMonomialSheaf, LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement, ideal_span_finset_prod, affineQuotientKernel_finset_prod] |
| 78 | apply Finset.prod_congr rfl |
| 79 | intro j _ |
| 80 | rw [← Ideal.span_singleton_pow, Affine.QuotientKernel.Construction.affineQuotientKernel_pow] |
| 81 | |
| 82 | theorem boundaryMonomialSheaf_local_equations {X : Scheme.{u}} {ι : Type v} [Fintype ι] |
| 83 | (D : ι → X.IdealSheafData) (a : ι → ℕ) (U : X.affineOpens) |
| 84 | (w : ι → Γ(X, U)) (hw : ∀ j, (D j).ideal U = Ideal.span {w j}) : |
| 85 | (boundaryMonomialSheaf D a).ideal U = Ideal.span {LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement w a} := by |
| 86 | rw [boundaryMonomialSheaf_ideal, LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement, ideal_span_finset_prod] |
| 87 | simp only [hw, Ideal.span_singleton_pow] |
| 88 | |
| 89 | variable {X : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 90 | |
| 91 | def globalBlowupMixedBoundary (I : X.IdealSheafData) (hI : I ≠ ⊥) {ι : Type v} |
| 92 | (D : ι → X.IdealSheafData) (C : Finset ι) : Option ι → (GlobalBlowup.Data.Construction.globalBlowup I hI).IdealSheafData := by |
| 93 | classical |
| 94 | exact fun j => match j with |
| 95 | | none => I.comap (GlobalBlowup.Data.Construction.globalBlowupToBase I hI) |
| 96 | | some l => if l ∈ C then GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I (D l) hI 1 |
| 97 | else (D l).comap (GlobalBlowup.Data.Construction.globalBlowupToBase I hI) |
| 98 | |
| 99 | theorem globalBlowupMixedBoundary_ne_bot (I : X.IdealSheafData) (hI : I ≠ ⊥) {ι : Type v} |
| 100 | (D : ι → X.IdealSheafData) (C : Finset ι) (hD : ∀ j, D j ≠ ⊥) : |
| 101 | ∀ j, globalBlowupMixedBoundary I hI D C j ≠ ⊥ := by |
| 102 | classical |
| 103 | intro j |
| 104 | cases j with |
| 105 | | none => exact GlobalBlowup.Nonzero.Construction.globalBlowup_totalIdeal_ne_bot I I hI hI |
| 106 | | some j => |
| 107 | by_cases hj : j ∈ C |
| 108 | · simpa only [globalBlowupMixedBoundary, ite_eq_left hj] using |
| 109 | GlobalBlowup.Nonzero.Construction.globalBlowupControlledIdeal_ne_bot I (D j) hI 1 (hD j) |
| 110 | · simpa only [globalBlowupMixedBoundary, ite_eq_right hj] using |
| 111 | GlobalBlowup.Nonzero.Construction.globalBlowup_totalIdeal_ne_bot I (D j) hI (hD j) |
| 112 | |
| 113 | theorem globalBlowupMixedBoundary_comap_reesChart |
| 114 | (I : X.IdealSheafData) (hI : I ≠ ⊥) {ι : Type v} |
| 115 | (D : ι → X.IdealSheafData) (C : Finset ι) (U : X.affineOpens) |
| 116 | (w : ι → Γ(X, U)) (hD : ∀ j, (D j).ideal U = Ideal.span {w j}) |
| 117 | (hw : ∀ j ∈ C, w j ∈ I.ideal U) (d : I.ideal U) (j : Option ι) : |
| 118 | (globalBlowupMixedBoundary I hI D C j).comap (GlobalControlled.Chart.Construction.globalBlowupReesChart I hI U d) = |
| 119 | Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily (I.ideal U) d C w hw j}) := by |
| 120 | classical |
| 121 | cases j with |
| 122 | | none => |
| 123 | rw [globalBlowupMixedBoundary, GlobalControlled.Factorization.Construction.totalIdeal_comap_globalBlowupReesChart, ExceptionalIdeal.Construction.blowupChart_extendedIdeal] |
| 124 | rfl |
| 125 | | some j => |
| 126 | by_cases hj : j ∈ C |
| 127 | · rw [globalBlowupMixedBoundary, ite_eq_left hj, GlobalControlled.Chart.Construction.globalBlowupControlledIdeal_comap_reesChart, hD j, |
| 128 | MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily, dite_eq_left hj] |
| 129 | exact congrArg Affine.QuotientKernel.Construction.affineQuotientKernel |
| 130 | (Coordinate.BoundaryTransform.Construction.blowup_principal_coordinate_controlledTransform (I.ideal U) d ⟨w j, hw j hj⟩) |
| 131 | · rw [globalBlowupMixedBoundary, ite_eq_right hj, GlobalControlled.Factorization.Construction.totalIdeal_comap_globalBlowupReesChart, hD j, |
| 132 | Ideal.map_span, Set.image_singleton, MixedBoundary.Equations.Construction.blowupMixedBoundaryFamily, dite_eq_right hj] |
| 133 | |
| 134 | theorem global_boundary_monomial_transform_on_chart |
| 135 | (I : X.IdealSheafData) (hI : I ≠ ⊥) {ι : Type u} [Fintype ι] |
| 136 | (D : ι → X.IdealSheafData) (C : Finset ι) (a : ι → ℕ) (b : ℕ) |
| 137 | (hb : b ≤ Boundary.MonomialSchedule.Construction.boundaryFaceWeight a C) (U : X.affineOpens) |
| 138 | (w : ι → Γ(X, U)) (hD : ∀ j, (D j).ideal U = Ideal.span {w j}) |
| 139 | (hw : ∀ j ∈ C, w j ∈ I.ideal U) (d : I.ideal U) : |
| 140 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I (boundaryMonomialSheaf D a) hI b).comap |
| 141 | (GlobalControlled.Chart.Construction.globalBlowupReesChart I hI U d) = |
| 142 | (boundaryMonomialSheaf (globalBlowupMixedBoundary I hI D C) |
| 143 | (Boundary.MonomialSchedule.Construction.boundaryScheduleExponents a b C)).comap (GlobalControlled.Chart.Construction.globalBlowupReesChart I hI U d) := by |
| 144 | classical |
| 145 | rw [GlobalControlled.Chart.Construction.globalBlowupControlledIdeal_comap_reesChart, boundaryMonomialSheaf_local_equations D a U w hD, |
| 146 | boundaryMonomialSheaf_comap_open] |
| 147 | simp_rw [globalBlowupMixedBoundary_comap_reesChart I hI D C U w hD hw d] |
| 148 | rw [boundaryMonomialSheaf_affineQuotientKernel] |
| 149 | exact congrArg Affine.QuotientKernel.Construction.affineQuotientKernel |
| 150 | (LabelledBoundaryMonomialTransform.Construction.boundaryMonomialElement_controlledTransform (I.ideal U) d C w hw a b hb) |
| 151 | |
| 152 | end |
| 153 | |
| 154 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.MixedBoundary.Construction |