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.SmoothMorphisms.DVRLifting |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt |
| 3 | |
| 4 | /-! # Lift Map -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftMap.CM.SmoothPoint |
| 11 | |
| 12 | /-! DVRLifting lifts actual points after a compatible change of residue field. |
| 13 | The conclusion records both the arithmetic-base square and the exact |
| 14 | reduction of the lifted morphism. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM |
| 18 | |
| 19 | variable {S : Scheme} (X : Over S) |
| 20 | (R : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 21 | {k : Type} [Field k] (e : k ≃+* IsLocalRing.ResidueField R) |
| 22 | (bR : Spec (.of R) ⟶ S) (bk : Spec (.of k) ⟶ S) |
| 23 | |
| 24 | def closedBase : Spec (.of (IsLocalRing.ResidueField R)) ⟶ Spec (.of R) := |
| 25 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)) |
| 26 | |
| 27 | def residuePoint (p : Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback bk).obj X) : |
| 28 | Spec (.of (IsLocalRing.ResidueField R)) ⟶ X.left := |
| 29 | Spec.map (CommRingCat.ofHom e.toRingHom) ≫ p.left ≫ pullback.fst X.hom bk |
| 30 | |
| 31 | theorem residuePoint_square |
| 32 | (hbase : Spec.map (CommRingCat.ofHom e.toRingHom) ≫ bk = closedBase R ≫ bR) |
| 33 | (p : Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback bk).obj X) : |
| 34 | residuePoint X R e bk p ≫ X.hom = closedBase R ≫ bR := by |
| 35 | change (Spec.map (CommRingCat.ofHom e.toRingHom) ≫ p.left ≫ |
| 36 | pullback.fst X.hom bk) ≫ X.hom = _ |
| 37 | rw [Category.assoc, Category.assoc, pullback.condition, ← Category.assoc p.left] |
| 38 | have hp : p.left ≫ pullback.snd X.hom bk = 𝟙 _ := p.w |
| 39 | rw [hp, Category.id_comp] |
| 40 | exact hbase |
| 41 | |
| 42 | structure IntegralLift (p : Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback bk).obj X) where |
| 43 | map : Spec (.of R) ⟶ X.left |
| 44 | overBase : map ≫ X.hom = bR |
| 45 | reduction : closedBase R ≫ map = residuePoint X R e bk p |
| 46 | |
| 47 | theorem integralLift_exists [Smooth X.hom] |
| 48 | [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 49 | (hbase : Spec.map (CommRingCat.ofHom e.toRingHom) ≫ bk = closedBase R ≫ bR) |
| 50 | (p : Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback bk).obj X) : |
| 51 | Nonempty (IntegralLift X R e bR bk p) := by |
| 52 | let Y := (Over.pullback bR).obj X |
| 53 | have : Smooth Y.hom := inferInstanceAs (Smooth (pullback.snd X.hom bR)) |
| 54 | let pR : Spec (.of (IsLocalRing.ResidueField R)) ⟶ Y.left := |
| 55 | pullback.lift (residuePoint X R e bk p) (closedBase R) |
| 56 | (residuePoint_square X R e bR bk hbase p) |
| 57 | have hpR : pR ≫ Y.hom = closedBase R := pullback.lift_snd _ _ _ |
| 58 | obtain ⟨l, hl, hred⟩ := SmoothMorphisms.DVRLifting.lift_special_fiber_point R Y.left Y.hom pR hpR |
| 59 | refine ⟨⟨l ≫ pullback.fst X.hom bR, ?_, ?_⟩⟩ |
| 60 | · rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 61 | change (l ≫ Y.hom) ≫ bR = _ |
| 62 | rw [hl, Category.id_comp] |
| 63 | · exact (Category.assoc _ _ _).symm.trans |
| 64 | ((congrArg (fun z => z ≫ pullback.fst X.hom bR) hred).trans |
| 65 | (pullback.lift_fst _ _ _)) |
| 66 | |
| 67 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftMap.CM.SmoothPoint |
| 68 | |
| 69 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftMap.CM |
| 70 | |
| 71 | /-! Map an actual integral point lift along a morphism of arithmetic |
| 72 | models. The generic map and the prescribed special point remain the |
| 73 | images of the original lift. -/ |
| 74 | |
| 75 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 76 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftMap.CM.SmoothPoint |
| 77 | |
| 78 | variable {S : Scheme} {X Y : Over S} (f : X ⟶ Y) |
| 79 | {R : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 80 | {k : Type} [Field k] (e : k ≃+* IsLocalRing.ResidueField R) |
| 81 | (bR : Spec (.of R) ⟶ S) (bk : Spec (.of k) ⟶ S) |
| 82 | (p : Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback bk).obj X) |
| 83 | (l : SmoothPoint.IntegralLift X R e bR bk p) |
| 84 | |
| 85 | theorem residuePoint_map : |
| 86 | SmoothPoint.residuePoint Y R e bk (p ≫ (Over.pullback bk).map f) = SmoothPoint.residuePoint X R e bk p ≫ f.left := by |
| 87 | have h : ((Over.pullback bk).map f).left ≫ pullback.fst Y.hom bk = |
| 88 | pullback.fst X.hom bk ≫ f.left := pullback.lift_fst _ _ _ |
| 89 | change Spec.map (CommRingCat.ofHom e.toRingHom) ≫ |
| 90 | (p.left ≫ ((Over.pullback bk).map f).left) ≫ pullback.fst Y.hom bk = _ |
| 91 | simpa only [SmoothPoint.residuePoint, Category.assoc] using congrArg |
| 92 | (fun z => Spec.map (CommRingCat.ofHom e.toRingHom) ≫ p.left ≫ z) h |
| 93 | |
| 94 | def pushforward : SmoothPoint.IntegralLift Y R e bR bk (p ≫ (Over.pullback bk).map f) where |
| 95 | map := l.map ≫ f.left |
| 96 | overBase := (Category.assoc _ _ _).trans ((congrArg (l.map ≫ ·) f.w).trans l.overBase) |
| 97 | reduction := (Category.assoc _ _ _).symm.trans |
| 98 | ((congrArg (· ≫ f.left) l.reduction).trans (residuePoint_map f e bk p).symm) |
| 99 | |
| 100 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftMap.CM |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI |