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.AbelianModuli.ReferenceFamily.LieRanks |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.GroupTangentsEq |
| 3 | |
| 4 | /-! # Dual Number Reduction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.DualNumberReduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual dual-number reduction agrees with the quotient by its |
| 11 | square-zero kernel, on scheme maps in every characteristic. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | namespace AlgebraicLie |
| 18 | |
| 19 | variable (k : Type) [Field k] |
| 20 | |
| 21 | abbrev dualBase : Spec (.of (DualNumber k)) ⟶ Spec (.of k) := |
| 22 | Spec.map (CommRingCat.ofHom (algebraMap k (DualNumber k))) |
| 23 | |
| 24 | instance dualNumber_isLocalRing : IsLocalRing (DualNumber k) := by |
| 25 | apply IsLocalRing.of_isUnit_or_isUnit_one_sub_self |
| 26 | intro x |
| 27 | simpa only [TrivSqZeroExt.isUnit_iff_isUnit_fst, TrivSqZeroExt.fst_sub, |
| 28 | TrivSqZeroExt.fst_one] using IsLocalRing.isUnit_or_isUnit_one_sub_self x.fst |
| 29 | |
| 30 | def dualIdeal : Ideal (DualNumber k) := RingHom.ker (AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k) |
| 31 | |
| 32 | theorem dualIdeal_square : dualIdeal k ^ 2 = ⊥ := by |
| 33 | apply le_antisymm |
| 34 | · rw [pow_two] |
| 35 | apply Ideal.mul_le.mpr |
| 36 | intro x hx y hy |
| 37 | change x * y = 0 |
| 38 | change x.fst = 0 at hx |
| 39 | change y.fst = 0 at hy |
| 40 | apply TrivSqZeroExt.ext |
| 41 | · change x.fst * y.fst = 0 |
| 42 | rw [hx, zero_mul] |
| 43 | · rw [DualNumber.snd_mul, hx, hy, zero_mul, mul_zero, add_zero] |
| 44 | rfl |
| 45 | · exact bot_le |
| 46 | |
| 47 | def quotientSection : k →+* (DualNumber k ⧸ dualIdeal k) := |
| 48 | (Ideal.Quotient.mk (dualIdeal k)).comp (algebraMap k (DualNumber k)) |
| 49 | |
| 50 | theorem quotientSection_comp_reduction : |
| 51 | (quotientSection k).comp (AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k) = Ideal.Quotient.mk (dualIdeal k) := by |
| 52 | apply RingHom.ext |
| 53 | intro x |
| 54 | apply Ideal.Quotient.eq.mpr |
| 55 | change ((algebraMap k (DualNumber k) x.fst) - x).fst = 0 |
| 56 | change x.fst - x.fst = 0 |
| 57 | exact sub_self _ |
| 58 | |
| 59 | def quotientReduction : (DualNumber k ⧸ dualIdeal k) →+* k := |
| 60 | Ideal.Quotient.lift (dualIdeal k) (AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k) (fun _ h => h) |
| 61 | |
| 62 | theorem quotientReduction_comp : |
| 63 | (quotientReduction k).comp (Ideal.Quotient.mk (dualIdeal k)) = AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k := by |
| 64 | apply RingHom.ext |
| 65 | intro x |
| 66 | rfl |
| 67 | |
| 68 | theorem quotient_reduction_eq_iff {X : Scheme.{0}} |
| 69 | (f h : Spec (.of (DualNumber k)) ⟶ X) : |
| 70 | Spec.map (CommRingCat.ofHom (R := DualNumber k) (S := DualNumber k ⧸ dualIdeal k) (Ideal.Quotient.mk (dualIdeal k))) ≫ f = |
| 71 | Spec.map (CommRingCat.ofHom (R := DualNumber k) (S := DualNumber k ⧸ dualIdeal k) (Ideal.Quotient.mk (dualIdeal k))) ≫ h ↔ |
| 72 | Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k)) ≫ f = |
| 73 | Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k)) ≫ h := by |
| 74 | constructor |
| 75 | · intro e |
| 76 | have hr : Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k)) = |
| 77 | Spec.map (CommRingCat.ofHom (quotientReduction k)) ≫ |
| 78 | Spec.map (CommRingCat.ofHom (R := DualNumber k) (S := DualNumber k ⧸ dualIdeal k) (Ideal.Quotient.mk (dualIdeal k))) := by |
| 79 | rw [← Spec.map_comp] |
| 80 | exact congrArg Spec.map (congrArg CommRingCat.ofHom (quotientReduction_comp k).symm) |
| 81 | rw [hr, Category.assoc, Category.assoc, e] |
| 82 | · intro e |
| 83 | have hr : Spec.map (CommRingCat.ofHom (R := DualNumber k) (S := DualNumber k ⧸ dualIdeal k) (Ideal.Quotient.mk (dualIdeal k))) = |
| 84 | Spec.map (CommRingCat.ofHom (quotientSection k)) ≫ |
| 85 | Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k)) := by |
| 86 | rw [← Spec.map_comp] |
| 87 | exact congrArg Spec.map (congrArg CommRingCat.ofHom (quotientSection_comp_reduction k).symm) |
| 88 | rw [hr, Category.assoc, Category.assoc, e] |
| 89 | |
| 90 | end AlgebraicLie |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.DualNumberReduction |