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.NoetherianCoordinateTransform |
| 2 | |
| 3 | /-! # Hypersurface Blowup Chart -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.HypersurfaceBlowupChart.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Identifying the transformed coordinate hypersurface with its own Rees blowup chart. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {R : Type u} [CommRing R] |
| 14 | |
| 15 | abbrev hypersurfaceCenterIdeal (I : Ideal R) (z : I) : Ideal (R ⧸ Ideal.span {z.val}) := |
| 16 | I.map (Ideal.Quotient.mk (Ideal.span {z.val})) |
| 17 | |
| 18 | abbrev hypersurfaceCenterElement (I : Ideal R) (a z : I) : hypersurfaceCenterIdeal I z := |
| 19 | ⟨Ideal.Quotient.mk (Ideal.span {z.val}) a.val, Ideal.mem_map_of_mem _ a.property⟩ |
| 20 | |
| 21 | abbrev hypersurfaceBlowupChart (I : Ideal R) (a z : I) := |
| 22 | Blowup.Charts.Construction.blowupChart (hypersurfaceCenterIdeal I z) (hypersurfaceCenterElement I a z) |
| 23 | |
| 24 | abbrev transformedHypersurfaceChart (I : Ideal R) (a z : I) := |
| 25 | Blowup.Charts.Construction.blowupChart I a ⧸ Ideal.span {ExceptionalIdeal.Construction.blowupChartRatio I a z} |
| 26 | |
| 27 | def ambientChartToHypersurfaceBlowup (I : Ideal R) (a z : I) : |
| 28 | Blowup.Charts.Construction.blowupChart I a →+* hypersurfaceBlowupChart I a z := |
| 29 | ChartLift.Construction.blowupChartMap I (Ideal.Quotient.mk (Ideal.span {z.val})) a |
| 30 | |
| 31 | theorem ambientChartToHypersurfaceBlowup_ratio (I : Ideal R) (a z : I) : |
| 32 | ambientChartToHypersurfaceBlowup I a z (ExceptionalIdeal.Construction.blowupChartRatio I a z) = 0 := by |
| 33 | let φ := Ideal.Quotient.mk (Ideal.span {z.val}) |
| 34 | let μ := ambientChartToHypersurfaceBlowup I a z |
| 35 | apply (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular |
| 36 | (hypersurfaceCenterIdeal I z) (hypersurfaceCenterElement I a z)).left |
| 37 | change Blowup.Charts.Construction.blowupChartConstants (hypersurfaceCenterIdeal I z) (hypersurfaceCenterElement I a z) |
| 38 | (φ a.val) * μ (ExceptionalIdeal.Construction.blowupChartRatio I a z) = |
| 39 | Blowup.Charts.Construction.blowupChartConstants (hypersurfaceCenterIdeal I z) (hypersurfaceCenterElement I a z) |
| 40 | (φ a.val) * 0 |
| 41 | have hzero : φ z.val = 0 := Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_span_singleton_self z.val) |
| 42 | rw [← ChartLift.Construction.blowupChartMap_constants I φ a a.val] |
| 43 | change μ (Blowup.Charts.Construction.blowupChartConstants I a a.val) * μ (ExceptionalIdeal.Construction.blowupChartRatio I a z) = |
| 44 | μ (Blowup.Charts.Construction.blowupChartConstants I a a.val) * 0 |
| 45 | rw [← map_mul μ, ExceptionalIdeal.Construction.blowupChartConstants_mul_ratio] |
| 46 | have hb := ChartLift.Construction.blowupChartMap_constants I φ a z.val |
| 47 | change μ (Blowup.Charts.Construction.blowupChartConstants I a z.val) = _ at hb |
| 48 | rw [hb, hzero, map_zero, mul_zero (μ (Blowup.Charts.Construction.blowupChartConstants I a a.val))] |
| 49 | |
| 50 | /-- The natural chart map kills the divided hypersurface equation. -/ |
| 51 | def transformedHypersurfaceToBlowup (I : Ideal R) (a z : I) : |
| 52 | transformedHypersurfaceChart I a z →+* hypersurfaceBlowupChart I a z := |
| 53 | Ideal.Quotient.lift _ (ambientChartToHypersurfaceBlowup I a z) (by |
| 54 | intro r hr |
| 55 | obtain ⟨s, hs⟩ := Ideal.mem_span_singleton.mp hr |
| 56 | rw [hs, map_mul, ambientChartToHypersurfaceBlowup_ratio, |
| 57 | zero_mul (ambientChartToHypersurfaceBlowup I a z s)]) |
| 58 | |
| 59 | theorem transformedHypersurfaceToBlowup_mk (I : Ideal R) (a z : I) (r : Blowup.Charts.Construction.blowupChart I a) : |
| 60 | transformedHypersurfaceToBlowup I a z |
| 61 | (Ideal.Quotient.mk (Ideal.span {ExceptionalIdeal.Construction.blowupChartRatio I a z}) r) = |
| 62 | ambientChartToHypersurfaceBlowup I a z r := rfl |
| 63 | |
| 64 | theorem transformedHypersurfaceToBlowup_base (I : Ideal R) (a z : I) |
| 65 | (r : R ⧸ Ideal.span {z.val}) : |
| 66 | transformedHypersurfaceToBlowup I a z (HypersurfaceCoefficientTransform.Construction.blowupHypersurfaceChartMap I a z r) = |
| 67 | Blowup.Charts.Construction.blowupChartConstants (hypersurfaceCenterIdeal I z) (hypersurfaceCenterElement I a z) r := by |
| 68 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective r |
| 69 | rw [HypersurfaceCoefficientTransform.Construction.blowupHypersurfaceChartMap_mk, transformedHypersurfaceToBlowup_mk] |
| 70 | exact ChartLift.Construction.blowupChartMap_constants I (Ideal.Quotient.mk (Ideal.span {z.val})) a r |
| 71 | |
| 72 | theorem hypersurfaceCenter_extendedIdeal (I : Ideal R) (a z : I) : |
| 73 | (hypersurfaceCenterIdeal I z).map (HypersurfaceCoefficientTransform.Construction.blowupHypersurfaceChartMap I a z) = |
| 74 | Ideal.span {HypersurfaceCoefficientTransform.Construction.blowupHypersurfaceChartMap I a z (hypersurfaceCenterElement I a z).val} := by |
| 75 | change (I.map (Ideal.Quotient.mk (Ideal.span {z.val}))).map (HypersurfaceCoefficientTransform.Construction.blowupHypersurfaceChartMap I a z) = _ |
| 76 | rw [Ideal.map_map] |
| 77 | have he : (HypersurfaceCoefficientTransform.Construction.blowupHypersurfaceChartMap I a z).comp (Ideal.Quotient.mk (Ideal.span {z.val})) = |
| 78 | (Ideal.Quotient.mk (Ideal.span {ExceptionalIdeal.Construction.blowupChartRatio I a z})).comp (Blowup.Charts.Construction.blowupChartConstants I a) := rfl |
| 79 | rw [he, ← Ideal.map_map, ExceptionalIdeal.Construction.blowupChart_extendedIdeal, Ideal.map_span, Set.image_singleton] |
| 80 | rfl |
| 81 | |
| 82 | /-- Regularity of the exceptional parameter gives a converse chart map. -/ |
| 83 | def hypersurfaceBlowupToTransform (I : Ideal R) (a z : I) |
| 84 | (hc : IsRegular (Ideal.Quotient.mk (Ideal.span {ExceptionalIdeal.Construction.blowupChartRatio I a z}) |
| 85 | (Blowup.Charts.Construction.blowupChartConstants I a a.val))) : |
| 86 | hypersurfaceBlowupChart I a z →+* transformedHypersurfaceChart I a z := |
| 87 | ChartLift.Construction.blowupChartLift (hypersurfaceCenterIdeal I z) (hypersurfaceCenterElement I a z) |
| 88 | (HypersurfaceCoefficientTransform.Construction.blowupHypersurfaceChartMap I a z) (hypersurfaceCenter_extendedIdeal I a z) hc |
| 89 | |
| 90 | theorem hypersurfaceBlowupToTransform_constants (I : Ideal R) (a z : I) |
| 91 | (hc : IsRegular (Ideal.Quotient.mk (Ideal.span {ExceptionalIdeal.Construction.blowupChartRatio I a z}) |
| 92 | (Blowup.Charts.Construction.blowupChartConstants I a a.val))) (r : R ⧸ Ideal.span {z.val}) : |
| 93 | hypersurfaceBlowupToTransform I a z hc |
| 94 | (Blowup.Charts.Construction.blowupChartConstants (hypersurfaceCenterIdeal I z) (hypersurfaceCenterElement I a z) r) = |
| 95 | HypersurfaceCoefficientTransform.Construction.blowupHypersurfaceChartMap I a z r := |
| 96 | ChartLift.Construction.blowupChartLift_constants _ _ _ _ _ r |
| 97 | |
| 98 | theorem transformedHypersurfaceToBlowup_toTransform (I : Ideal R) (a z : I) |
| 99 | (hc : IsRegular (Ideal.Quotient.mk (Ideal.span {ExceptionalIdeal.Construction.blowupChartRatio I a z}) |
| 100 | (Blowup.Charts.Construction.blowupChartConstants I a a.val))) : |
| 101 | (transformedHypersurfaceToBlowup I a z).comp (hypersurfaceBlowupToTransform I a z hc) = |
| 102 | RingHom.id (hypersurfaceBlowupChart I a z) := by |
| 103 | apply ChartLift.Construction.blowupChart_hom_ext (hypersurfaceCenterIdeal I z) (hypersurfaceCenterElement I a z) |
| 104 | (Blowup.Charts.Construction.blowupChartConstants (hypersurfaceCenterIdeal I z) (hypersurfaceCenterElement I a z)) |
| 105 | (ExceptionalIdeal.Construction.blowupChart_exceptionalParameter_regular _ _) |
| 106 | · intro r |
| 107 | rw [RingHom.comp_apply, hypersurfaceBlowupToTransform_constants, transformedHypersurfaceToBlowup_base] |
| 108 | · intro r |
| 109 | rfl |
| 110 | |
| 111 | theorem hypersurfaceBlowupToTransform_toBlowup (I : Ideal R) (a z : I) |
| 112 | (hc : IsRegular (Ideal.Quotient.mk (Ideal.span {ExceptionalIdeal.Construction.blowupChartRatio I a z}) |
| 113 | (Blowup.Charts.Construction.blowupChartConstants I a a.val))) : |
| 114 | (hypersurfaceBlowupToTransform I a z hc).comp (transformedHypersurfaceToBlowup I a z) = |
| 115 | RingHom.id (transformedHypersurfaceChart I a z) := by |
| 116 | let π := Ideal.Quotient.mk (Ideal.span {ExceptionalIdeal.Construction.blowupChartRatio I a z}) |
| 117 | have he : ((hypersurfaceBlowupToTransform I a z hc).comp |
| 118 | (transformedHypersurfaceToBlowup I a z)).comp π = π := by |
| 119 | apply ChartLift.Construction.blowupChart_hom_ext I a (π.comp (Blowup.Charts.Construction.blowupChartConstants I a)) hc |
| 120 | · intro r |
| 121 | change hypersurfaceBlowupToTransform I a z hc |
| 122 | (transformedHypersurfaceToBlowup I a z (π (Blowup.Charts.Construction.blowupChartConstants I a r))) = _ |
| 123 | rw [transformedHypersurfaceToBlowup_mk, ambientChartToHypersurfaceBlowup, |
| 124 | ChartLift.Construction.blowupChartMap_constants, hypersurfaceBlowupToTransform_constants, |
| 125 | HypersurfaceCoefficientTransform.Construction.blowupHypersurfaceChartMap_mk] |
| 126 | rfl |
| 127 | · intro r |
| 128 | rfl |
| 129 | apply RingHom.ext |
| 130 | intro r |
| 131 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective r |
| 132 | exact congrArg (fun f : Blowup.Charts.Construction.blowupChart I a →+* transformedHypersurfaceChart I a z => f r) he |
| 133 | |
| 134 | /-- The transformed hypersurface chart is the actual blowup chart of the |
| 135 | original hypersurface, whenever its exceptional parameter remains regular. -/ |
| 136 | def hypersurfaceBlowupChartEquiv (I : Ideal R) (a z : I) |
| 137 | (hc : IsRegular (Ideal.Quotient.mk (Ideal.span {ExceptionalIdeal.Construction.blowupChartRatio I a z}) |
| 138 | (Blowup.Charts.Construction.blowupChartConstants I a a.val))) : |
| 139 | transformedHypersurfaceChart I a z ≃+* hypersurfaceBlowupChart I a z := |
| 140 | RingEquiv.ofRingHom (transformedHypersurfaceToBlowup I a z) (hypersurfaceBlowupToTransform I a z hc) |
| 141 | (transformedHypersurfaceToBlowup_toTransform I a z hc) (hypersurfaceBlowupToTransform_toBlowup I a z hc) |
| 142 | |
| 143 | /-- Coordinate derivations supply the needed regularity over a Noetherian |
| 144 | rational algebra, giving the hypersurface blowup identification outright. -/ |
| 145 | def noetherianHypersurfaceBlowupChartEquiv [IsNoetherianRing R] [Algebra ℚ R] |
| 146 | (I : Ideal R) (a z : I) (D : Derivation ℤ R R) (ha : D a.val = 0) (hz : D z.val = 1) : |
| 147 | transformedHypersurfaceChart I a z ≃+* hypersurfaceBlowupChart I a z := |
| 148 | hypersurfaceBlowupChartEquiv I a z (NoetherianCoordinateTransform.Construction.blowupHypersurface_exceptionalParameter_regular I a z D ha hz) |
| 149 | |
| 150 | end |
| 151 | |
| 152 | end OAI.AlgebraicGeometry.Resolution.Blowups.HypersurfaceBlowupChart.Construction |