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.TangentDualScalarTowers |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Normalized.SmoothAffineDualProduct |
| 3 | |
| 4 | /-! # Tangent Base Point -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.TangentBasePoint |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A base tangent gives an actual dual-number test morphism. The |
| 13 | special fiber of its pullback is naturally the fixed original fiber, |
| 14 | with the literal equality of the composed base maps retained. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable (k R : Type) [Field k] [CommRing R] [Algebra k R] [Algebra R k] |
| 19 | [IsScalarTower k R k] |
| 20 | |
| 21 | def tangentBasePoint (d : Derivation k R k) : Spec (.of (DualNumber k)) ⟶ Spec (.of R) := |
| 22 | Spec.map (CommRingCat.ofHom (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val.toRingHom)) |
| 23 | |
| 24 | theorem tangentBasePoint_reduction (d : Derivation k R k) : |
| 25 | Smooth.AffineDualProduct.dualBaseReduction k ≫ tangentBasePoint k R d = |
| 26 | Spec.map (CommRingCat.ofHom (algebraMap R k)) := by |
| 27 | change Spec.map (CommRingCat.ofHom (TrivSqZeroExt.fstHom k k k).toRingHom) ≫ |
| 28 | Spec.map (CommRingCat.ofHom (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val.toRingHom)) = _ |
| 29 | rw [← Spec.map_comp] |
| 30 | apply congrArg Spec.map |
| 31 | apply CommRingCat.hom_ext |
| 32 | exact RingHom.ext (TangentDualScalarTowers.baseTangentDualAlgebra_reduction k R d) |
| 33 | |
| 34 | def tangentFamily (X : Over (Spec (.of R))) (d : Derivation k R k) : Over (Spec (.of (DualNumber k))) := |
| 35 | (Over.pullback (tangentBasePoint k R d)).obj X |
| 36 | |
| 37 | def fixedFamilyFiber (X : Over (Spec (.of R))) : Over (Spec (.of k)) := |
| 38 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k)))).obj X |
| 39 | |
| 40 | def tangentFamilyFiberIso (d : Derivation k R k) : |
| 41 | Over.pullback (tangentBasePoint k R d) ⋙ Over.pullback (Smooth.AffineDualProduct.dualBaseReduction k) ≅ |
| 42 | Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R k))) := |
| 43 | (Over.pullbackComp (Smooth.AffineDualProduct.dualBaseReduction k) (tangentBasePoint k R d)).symm ≪≫ |
| 44 | eqToIso (congrArg (fun f : Spec (.of k) ⟶ Spec (.of R) => Over.pullback f) |
| 45 | (tangentBasePoint_reduction k R d)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | section |
| 50 | |
| 51 | /-! The actual dual-number point retains and detects the original |
| 52 | base derivation. It is a morphism over the original coefficient field. -/ |
| 53 | |
| 54 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 55 | |
| 56 | variable (k R : Type) [Field k] [CommRing R] [Algebra k R] [Algebra R k] |
| 57 | [IsScalarTower k R k] |
| 58 | |
| 59 | theorem tangentBaseLift_snd (d : Derivation k R k) (r : R) : |
| 60 | (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val r).snd = d r := by |
| 61 | have h := Derivation.congr_fun ((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).apply_symm_apply d) r |
| 62 | rw [Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv_apply] at h |
| 63 | exact h |
| 64 | |
| 65 | theorem tangentBasePoint_injective : Function.Injective (tangentBasePoint k R) := by |
| 66 | intro d e h |
| 67 | have hr := congrArg CommRingCat.Hom.hom (Spec.map_injective h) |
| 68 | apply Derivation.ext |
| 69 | intro r |
| 70 | have hs := congrArg (fun f : R →+* DualNumber k => (f r).snd) hr |
| 71 | exact (tangentBaseLift_snd k R d r).symm.trans (hs.trans (tangentBaseLift_snd k R e r)) |
| 72 | |
| 73 | theorem tangentBasePoint_overField (d : Derivation k R k) : |
| 74 | tangentBasePoint k R d ≫ Spec.map (CommRingCat.ofHom (algebraMap k R)) = Smooth.AffineDualProduct.dualBaseProjection k := by |
| 75 | change Spec.map (CommRingCat.ofHom (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val.toRingHom)) ≫ |
| 76 | Spec.map (CommRingCat.ofHom (algebraMap k R)) = Spec.map (CommRingCat.ofHom (algebraMap k (DualNumber k))) |
| 77 | rw [← Spec.map_comp] |
| 78 | apply congrArg Spec.map |
| 79 | apply CommRingCat.hom_ext |
| 80 | exact RingHom.ext (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm d).val.commutes) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | /-! The zero derivation gives exactly the constant extension of |
| 85 | the original base point. The same constant map is recovered by reducing |
| 86 | any of the actual tangent points. -/ |
| 87 | |
| 88 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 89 | |
| 90 | variable (k R : Type) [Field k] [CommRing R] [Algebra k R] [Algebra R k] |
| 91 | [IsScalarTower k R k] |
| 92 | |
| 93 | theorem tangentBasePoint_zero : tangentBasePoint k R 0 = |
| 94 | Smooth.AffineDualProduct.dualBaseProjection k ≫ Spec.map (CommRingCat.ofHom (algebraMap R k)) := by |
| 95 | change Spec.map (CommRingCat.ofHom (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm 0).val.toRingHom)) = |
| 96 | Spec.map (CommRingCat.ofHom (algebraMap k (DualNumber k))) ≫ Spec.map (CommRingCat.ofHom (algebraMap R k)) |
| 97 | rw [← Spec.map_comp] |
| 98 | apply congrArg Spec.map |
| 99 | apply CommRingCat.hom_ext |
| 100 | apply RingHom.ext |
| 101 | intro r |
| 102 | apply TrivSqZeroExt.ext |
| 103 | · exact TangentDualScalarTowers.baseTangentDualAlgebra_reduction k R 0 r |
| 104 | · change (((Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R k).symm 0).val r).snd = 0 |
| 105 | rw [tangentBaseLift_snd] |
| 106 | rfl |
| 107 | |
| 108 | theorem tangentBasePoint_zero_constant (d : Derivation k R k) : |
| 109 | tangentBasePoint k R 0 = Smooth.AffineDualProduct.dualBaseProjection k ≫ Smooth.AffineDualProduct.dualBaseReduction k ≫ tangentBasePoint k R d := by |
| 110 | rw [tangentBasePoint_reduction, tangentBasePoint_zero] |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.TangentBasePoint |