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.Divisors.LineBundles.DVRUnit |
| 2 | import Mathlib.RingTheory.LocalRing.ResidueField.Defs |
| 3 | |
| 4 | /-! # DVR Residue Of -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.DVRResidueOf.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # LineBundleCycles: multiplicative unit parts and their actual residues |
| 14 | |
| 15 | Uniqueness of the DVR factorization makes the unit part multiplicative. |
| 16 | Reducing these local units through the actual residue-field homomorphism |
| 17 | then gives the multiplicative residue map used in the common-component |
| 18 | symbol. |
| 19 | -/ |
| 20 | |
| 21 | variable {R : Type*} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 22 | variable {K : Type*} [Field K] [Algebra R K] [IsFractionRing R K] |
| 23 | variable (π : R) (hπ : Irreducible π) |
| 24 | |
| 25 | theorem dvrUnitPart_one : DVRUnit.BundleCycles.dvrUnitPart (K := K) π hπ 1 = 1 := by |
| 26 | apply DVRUnit.BundleCycles.dvrUnitPart_unique |
| 27 | change (1 : K) = (1 : Rˣ) • (algebraMap R K π) ^ SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (1 : K) |
| 28 | rw [FractionOrderLaws.BundleCycles.fractionFieldOrder_one R] |
| 29 | simp |
| 30 | |
| 31 | theorem dvrUnitPart_mul (g h : Kˣ) : |
| 32 | DVRUnit.BundleCycles.dvrUnitPart π hπ (g * h) = DVRUnit.BundleCycles.dvrUnitPart π hπ g * DVRUnit.BundleCycles.dvrUnitPart π hπ h := by |
| 33 | have hp : algebraMap R K π ≠ 0 := (map_ne_zero_iff _ (IsFractionRing.injective R K)).mpr hπ.ne_zero |
| 34 | apply DVRUnit.BundleCycles.dvrUnitPart_unique |
| 35 | change (g : K) * (h : K) = |
| 36 | (DVRUnit.BundleCycles.dvrUnitPart π hπ g * DVRUnit.BundleCycles.dvrUnitPart π hπ h) • |
| 37 | (algebraMap R K π) ^ SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R ((g : K) * (h : K)) |
| 38 | rw [FractionOrderLaws.BundleCycles.fractionFieldOrder_mul R (g : K) (h : K) g.ne_zero h.ne_zero] |
| 39 | refine (congrArg₂ (· * ·) (DVRUnit.BundleCycles.dvrUnitPart_spec π hπ g) (DVRUnit.BundleCycles.dvrUnitPart_spec π hπ h)).trans ?_ |
| 40 | simp only [Units.smul_def, Algebra.smul_def, Units.val_mul, map_mul, zpow_add₀ hp] |
| 41 | ring |
| 42 | |
| 43 | def dvrUnitPartHom : Kˣ →* Rˣ where |
| 44 | toFun := DVRUnit.BundleCycles.dvrUnitPart π hπ |
| 45 | map_one' := dvrUnitPart_one π hπ |
| 46 | map_mul' := dvrUnitPart_mul π hπ |
| 47 | |
| 48 | /-- The actual residue of the unit factor, as a unit in the residue field. -/ |
| 49 | def dvrUnitResidueHom : Kˣ →* (IsLocalRing.ResidueField R)ˣ := |
| 50 | (Units.map (IsLocalRing.residue R)).comp (dvrUnitPartHom π hπ) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | section |
| 55 | |
| 56 | /-! |
| 57 | # LineBundleCycles: the residue quotient for two rational functions on a DVR |
| 58 | |
| 59 | The quotient of unit parts to the opposite orders is an actual local |
| 60 | unit. Its fraction-field image is g^ord(h)/h^ord(g), whose uniformizer |
| 61 | powers cancel. This characterizes it independently of the chosen |
| 62 | uniformizer; reduction gives the corresponding actual residue-field unit. |
| 63 | The conventional tame-symbol sign is unnecessary for its principal divisor. |
| 64 | -/ |
| 65 | |
| 66 | variable {R : Type*} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 67 | variable {K : Type*} [Field K] [Algebra R K] [IsFractionRing R K] |
| 68 | variable (π : R) (hπ : Irreducible π) |
| 69 | |
| 70 | def dvrBalancedUnit (g h : Kˣ) : Rˣ := |
| 71 | (DVRUnit.BundleCycles.dvrUnitPart π hπ g) ^ SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (h : K) / |
| 72 | (DVRUnit.BundleCycles.dvrUnitPart π hπ h) ^ SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (g : K) |
| 73 | |
| 74 | theorem dvrBalancedUnit_fraction (g h : Kˣ) : |
| 75 | algebraMap R K (dvrBalancedUnit π hπ g h : R) = |
| 76 | (g : K) ^ SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (h : K) / (h : K) ^ SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (g : K) := by |
| 77 | have hp : algebraMap R K π ≠ 0 := (map_ne_zero_iff _ (IsFractionRing.injective R K)).mpr hπ.ne_zero |
| 78 | have he := congrArg₂ (fun x y : K => x ^ SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (h : K) / |
| 79 | y ^ SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (g : K)) (DVRUnit.BundleCycles.dvrUnitPart_spec π hπ g) (DVRUnit.BundleCycles.dvrUnitPart_spec π hπ h) |
| 80 | refine Eq.trans ?_ he.symm |
| 81 | change ((Units.map (algebraMap R K).toMonoidHom (dvrBalancedUnit π hπ g h) : Kˣ) : K) = _ |
| 82 | rw [dvrBalancedUnit, map_div, map_zpow, map_zpow] |
| 83 | simp only [Units.val_div_eq_div_val, Units.val_zpow_eq_zpow_val, Units.coe_map, |
| 84 | Units.smul_def, Algebra.smul_def, mul_zpow, ← zpow_mul] |
| 85 | rw [mul_comm (SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (g : K)) (SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (h : K))] |
| 86 | exact (mul_div_mul_right _ _ (zpow_ne_zero _ hp)).symm |
| 87 | |
| 88 | theorem dvrBalancedUnit_independent (ρ : R) (hρ : Irreducible ρ) (g h : Kˣ) : |
| 89 | dvrBalancedUnit π hπ g h = dvrBalancedUnit ρ hρ g h := by |
| 90 | apply Units.ext |
| 91 | apply IsFractionRing.injective R K |
| 92 | exact (dvrBalancedUnit_fraction π hπ g h).trans (dvrBalancedUnit_fraction ρ hρ g h).symm |
| 93 | |
| 94 | /-- The actual residue-field unit used for the common-component rational function. -/ |
| 95 | def dvrResidueQuotient (g h : Kˣ) : (IsLocalRing.ResidueField R)ˣ := |
| 96 | Units.map (IsLocalRing.residue R).toMonoidHom (dvrBalancedUnit π hπ g h) |
| 97 | |
| 98 | theorem dvrResidueQuotient_independent (ρ : R) (hρ : Irreducible ρ) (g h : Kˣ) : |
| 99 | dvrResidueQuotient π hπ g h = dvrResidueQuotient ρ hρ g h := |
| 100 | congrArg (Units.map (IsLocalRing.residue R).toMonoidHom) (dvrBalancedUnit_independent π hπ ρ hρ g h) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | /-! |
| 105 | # LineBundleCycles: residue quotients from actual uniformizer factorizations |
| 106 | |
| 107 | The order and the unit part are derived from the exhibited factorization. |
| 108 | Reducing the resulting balanced unit gives the actual residue quotient. |
| 109 | -/ |
| 110 | |
| 111 | variable {R : Type*} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 112 | variable {K : Type*} [Field K] [Algebra R K] [IsFractionRing R K] |
| 113 | variable (π : R) (hπ : Irreducible π) |
| 114 | |
| 115 | include hπ |
| 116 | |
| 117 | theorem fractionFieldOrder_of_unit_zpow (g : Kˣ) (u : Rˣ) (m : ℤ) |
| 118 | (hg : (g : K) = u • (algebraMap R K π) ^ m) : SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder R (g : K) = m := by |
| 119 | unfold SurfaceRationalOrderIntersection.BundleCycles.fractionFieldOrder |
| 120 | rw [hg, DVRMultiplicity.BundleCycles.ordFrac_unit_zpow π hπ u m] |
| 121 | rfl |
| 122 | |
| 123 | theorem dvrUnitPart_of_unit_zpow (g : Kˣ) (u : Rˣ) (m : ℤ) |
| 124 | (hg : (g : K) = u • (algebraMap R K π) ^ m) : DVRUnit.BundleCycles.dvrUnitPart π hπ g = u := by |
| 125 | apply DVRUnit.BundleCycles.dvrUnitPart_unique π hπ g u |
| 126 | rw [fractionFieldOrder_of_unit_zpow π hπ g u m hg] |
| 127 | exact hg |
| 128 | |
| 129 | theorem dvrBalancedUnit_of_factors (g h : Kˣ) (u v : Rˣ) (m n : ℤ) |
| 130 | (hg : (g : K) = u • (algebraMap R K π) ^ m) |
| 131 | (hh : (h : K) = v • (algebraMap R K π) ^ n) : |
| 132 | dvrBalancedUnit π hπ g h = u ^ n / v ^ m := by |
| 133 | rw [dvrBalancedUnit, dvrUnitPart_of_unit_zpow π hπ g u m hg, |
| 134 | dvrUnitPart_of_unit_zpow π hπ h v n hh, |
| 135 | fractionFieldOrder_of_unit_zpow π hπ g u m hg, |
| 136 | fractionFieldOrder_of_unit_zpow π hπ h v n hh] |
| 137 | |
| 138 | theorem dvrResidueQuotient_of_factors (g h : Kˣ) (u v : Rˣ) (m n : ℤ) |
| 139 | (hg : (g : K) = u • (algebraMap R K π) ^ m) |
| 140 | (hh : (h : K) = v • (algebraMap R K π) ^ n) : |
| 141 | dvrResidueQuotient π hπ g h = |
| 142 | (Units.map (IsLocalRing.residue R).toMonoidHom u) ^ n / |
| 143 | (Units.map (IsLocalRing.residue R).toMonoidHom v) ^ m := by |
| 144 | rw [dvrResidueQuotient, dvrBalancedUnit_of_factors π hπ g h u v m n hg hh, |
| 145 | map_div, map_zpow, map_zpow] |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.Divisors.LineBundles.DVRResidueOf.BundleCycles |