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.CanonicalDualSpecialFiber |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.QuotientSpecialFiber |
| 3 | |
| 4 | /-! # Canonical Dual Fiber Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CanonicalDualFiberSquare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical quotient fiber is the actual scheme pullback along |
| 11 | the original dual-number reduction, with the original coefficient base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | attribute [local implicit_reducible] Dual.TensorReduction.dualScalarReductionIdeal |
| 16 | attribute [local irreducible] Smooth.DualSpecialFiber.dualScalarQuotientEquiv |
| 17 | |
| 18 | variable (k S : Type) [CommRing k] [CommRing S] |
| 19 | [Algebra (DualNumber k) S] [Algebra k S] [IsScalarTower k (DualNumber k) S] |
| 20 | |
| 21 | theorem dualQuotientFiber_structure_square : |
| 22 | Spec.map (CommRingCat.ofHom (algebraMap ((DualNumber k) ⧸ Dual.TensorReduction.dualScalarReductionIdeal k) |
| 23 | (CanonicalDualSpecialFiber.dualSpecialFiber k S))) ≫ |
| 24 | Spec.map (CommRingCat.ofHom (R := k) (S := (DualNumber k) ⧸ Dual.TensorReduction.dualScalarReductionIdeal k) |
| 25 | (Smooth.DualSpecialFiber.dualScalarQuotientEquiv k).symm.toRingHom) = |
| 26 | Spec.map (CommRingCat.ofHom (algebraMap k (CanonicalDualSpecialFiber.dualSpecialFiber k S))) := by |
| 27 | have : IsScalarTower k ((DualNumber k) ⧸ Dual.TensorReduction.dualScalarReductionIdeal k) (CanonicalDualSpecialFiber.dualSpecialFiber k S) := |
| 28 | IsScalarTower.to₁₃₄ k (DualNumber k) ((DualNumber k) ⧸ Dual.TensorReduction.dualScalarReductionIdeal k) (CanonicalDualSpecialFiber.dualSpecialFiber k S) |
| 29 | rw [← Spec.map_comp] |
| 30 | apply congrArg Spec.map |
| 31 | apply CommRingCat.hom_ext |
| 32 | apply RingHom.ext |
| 33 | intro c |
| 34 | change (@algebraMap ((DualNumber k) ⧸ Dual.TensorReduction.dualScalarReductionIdeal k) (CanonicalDualSpecialFiber.dualSpecialFiber k S) |
| 35 | (Ideal.Quotient.commSemiring _) (Ideal.Quotient.semiring _) inferInstance) |
| 36 | ((Smooth.DualSpecialFiber.dualScalarQuotientEquiv k).symm c) = _ |
| 37 | have he : (Smooth.DualSpecialFiber.dualScalarQuotientEquiv k).symm c = |
| 38 | algebraMap k ((DualNumber k) ⧸ Dual.TensorReduction.dualScalarReductionIdeal k) c := |
| 39 | (Smooth.DualSpecialFiber.dualScalarQuotientEquiv k).symm.commutes c |
| 40 | rw [he, ← IsScalarTower.algebraMap_apply k ((DualNumber k) ⧸ Dual.TensorReduction.dualScalarReductionIdeal k) |
| 41 | (CanonicalDualSpecialFiber.dualSpecialFiber k S)] |
| 42 | rfl |
| 43 | |
| 44 | theorem dualScalarQuotient_reduction_square : |
| 45 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (Dual.TensorReduction.dualScalarReductionIdeal k))) = |
| 46 | Spec.map (CommRingCat.ofHom (R := k) (S := (DualNumber k) ⧸ Dual.TensorReduction.dualScalarReductionIdeal k) |
| 47 | (Smooth.DualSpecialFiber.dualScalarQuotientEquiv k).symm.toRingHom) ≫ |
| 48 | Spec.map (CommRingCat.ofHom (TrivSqZeroExt.fstHom k k k).toRingHom) := by |
| 49 | rw [← Spec.map_comp] |
| 50 | apply congrArg Spec.map |
| 51 | apply CommRingCat.hom_ext |
| 52 | apply RingHom.ext |
| 53 | intro c |
| 54 | apply (Smooth.DualSpecialFiber.dualScalarQuotientEquiv k).injective |
| 55 | change Smooth.DualSpecialFiber.dualScalarQuotientEquiv k (Ideal.Quotient.mk (Dual.TensorReduction.dualScalarReductionIdeal k) c) = |
| 56 | Smooth.DualSpecialFiber.dualScalarQuotientEquiv k ((Smooth.DualSpecialFiber.dualScalarQuotientEquiv k).symm c.fst) |
| 57 | rw [AlgEquiv.apply_symm_apply] |
| 58 | exact Smooth.DualSpecialFiber.dualScalarQuotientEquiv_mk k c |
| 59 | |
| 60 | theorem canonical_dual_specialFiber_isPullback : |
| 61 | IsPullback |
| 62 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (CanonicalDualSpecialFiber.dualSpecialFiberIdeal k S)))) |
| 63 | (Spec.map (CommRingCat.ofHom (algebraMap k (CanonicalDualSpecialFiber.dualSpecialFiber k S)))) |
| 64 | (Spec.map (CommRingCat.ofHom (algebraMap (DualNumber k) S))) |
| 65 | (Spec.map (CommRingCat.ofHom (TrivSqZeroExt.fstHom k k k).toRingHom)) := by |
| 66 | have h := Affine.QuotientSpecialFiber.affine_quotient_specialFiber_isPullback (DualNumber k) S (Dual.TensorReduction.dualScalarReductionIdeal k) |
| 67 | refine h.of_iso (Iso.refl _) (Iso.refl _) |
| 68 | (Scheme.Spec.mapIso (Smooth.DualSpecialFiber.dualScalarQuotientEquiv k).symm.toRingEquiv.toCommRingCatIso.op) |
| 69 | (Iso.refl _) ?_ ?_ ?_ ?_ |
| 70 | · simp only [Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 71 | · change _ = (𝟙 _) ≫ _ |
| 72 | rw [Category.id_comp] |
| 73 | exact dualQuotientFiber_structure_square k S |
| 74 | · simp only [Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 75 | · change _ ≫ (𝟙 _) = _ |
| 76 | rw [Category.comp_id] |
| 77 | exact dualScalarQuotient_reduction_square k |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CanonicalDualFiberSquare |