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.HodgeConjecture.HeckeCycles.Source.SquareProjection |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberFormulaTransfer |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimeFieldPoints |
| 4 | |
| 5 | /-! # Reduction Point Projection -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPointProjection.CM |
| 12 | |
| 13 | /-! The two canonical residue-fiber identifications preserve the |
| 14 | projection of a reduced point to the original arithmetic source. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BaseChangeSquare.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BaseChangeEvaluation.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberFormulaTransfer.CM |
| 19 | |
| 20 | variable {S T U : Scheme} (r : U ⟶ T) (b : T ⟶ S) (c : U ⟶ S) |
| 21 | (w : r ≫ b = c) (X : Over S) |
| 22 | |
| 23 | theorem factor_inv_projection : |
| 24 | (BaseChangeSquare.CM.factorIso r b c w X).inv.left ≫ pullback.fst X.hom c = |
| 25 | pullback.fst (pullback.snd X.hom b) r ≫ pullback.fst X.hom b := by |
| 26 | let e := BaseChangeSquare.CM.factorIso r b c w X |
| 27 | let P := pullback.fst (pullback.snd X.hom b) r ≫ pullback.fst X.hom b |
| 28 | have hh : e.hom.left ≫ P = pullback.fst X.hom c := |
| 29 | Source.SquareProjection.CM.factor_hom_projection r b c w X |
| 30 | have he : e.inv.left ≫ e.hom.left = 𝟙 _ := congrArg Over.Hom.left e.inv_hom_id |
| 31 | exact (congrArg (e.inv.left ≫ ·) hh.symm).trans |
| 32 | ((Category.assoc _ _ _).symm.trans |
| 33 | ((congrArg (· ≫ P) he).trans (Category.id_comp P))) |
| 34 | |
| 35 | theorem fiberPoint_projection {A : Over U} {B : Over T} |
| 36 | (e : (Over.map r).obj A ≅ B) (Y : Over T) (x : B ⟶ Y) : |
| 37 | (FiberFormulaTransfer.CM.fiberPoint r A B e Y x).left ≫ pullback.fst Y.hom r = e.hom.left ≫ x.left := by |
| 38 | exact congrArg Over.Hom.left (FiberFormulaTransfer.CM.fiberPoint_evaluation r A B e Y x) |
| 39 | |
| 40 | variable {k : Type} [Field k] (g : Spec (.of k) ⟶ U) (u : Spec (.of k) ⟶ T) |
| 41 | (wu : g ≫ r = u) |
| 42 | |
| 43 | def reducedPoint (x : Over.mk u ⟶ (Over.pullback b).obj X) : |
| 44 | Over.mk g ⟶ (Over.pullback c).obj X := |
| 45 | FiberFormulaTransfer.CM.fiberPoint r (Over.mk g) (Over.mk u) (PrimeFieldPoints.CM.testIso r g u wu) |
| 46 | ((Over.pullback b).obj X) x ≫ (BaseChangeSquare.CM.factorIso r b c w X).inv |
| 47 | |
| 48 | theorem reducedPoint_projection (x : Over.mk u ⟶ (Over.pullback b).obj X) : |
| 49 | (reducedPoint r b c w X g u wu x).left ≫ pullback.fst X.hom c = |
| 50 | x.left ≫ pullback.fst X.hom b := by |
| 51 | let e := PrimeFieldPoints.CM.testIso r g u wu |
| 52 | let y := FiberFormulaTransfer.CM.fiberPoint r (Over.mk g) (Over.mk u) e ((Over.pullback b).obj X) x |
| 53 | change (y.left ≫ (BaseChangeSquare.CM.factorIso r b c w X).inv.left) ≫ _ = _ |
| 54 | rw [Category.assoc, factor_inv_projection, ← Category.assoc] |
| 55 | have hp : y.left ≫ pullback.fst (pullback.snd X.hom b) r = x.left := |
| 56 | (fiberPoint_projection r e ((Over.pullback b).obj X) x).trans (Category.id_comp x.left) |
| 57 | exact congrArg (· ≫ pullback.fst X.hom b) hp |
| 58 | |
| 59 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPointProjection.CM |
| 60 | |
| 61 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPointProjection.CM.Recovery |
| 62 | |
| 63 | /-! Equality of the arithmetic projections identifies the constructed |
| 64 | residue point with the prescribed geometric point in the prime-field |
| 65 | fiber. The second pullback projection is fixed by the test scheme. -/ |
| 66 | |
| 67 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 68 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimeFieldPoints.CM |
| 69 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPointProjection.CM |
| 70 | |
| 71 | theorem point_eq_of_projection {S T : Scheme} (b : T ⟶ S) (X : Over S) (A : Over T) |
| 72 | (x y : A ⟶ (Over.pullback b).obj X) |
| 73 | (h : x.left ≫ pullback.fst X.hom b = y.left ≫ pullback.fst X.hom b) : x = y := by |
| 74 | apply Over.OverMorphism.ext |
| 75 | apply pullback.hom_ext |
| 76 | · exact h |
| 77 | · exact x.w.trans y.w.symm |
| 78 | |
| 79 | variable {S T U : Scheme} (r : U ⟶ T) (b : T ⟶ S) (c : U ⟶ S) |
| 80 | (w : r ≫ b = c) (X : Over S) |
| 81 | {k : Type} [Field k] (g : Spec (.of k) ⟶ U) (u : Spec (.of k) ⟶ T) |
| 82 | (wu : g ≫ r = u) (d : Spec (.of k) ⟶ S) (wd : g ≫ c = d) |
| 83 | |
| 84 | theorem reducedPoint_recovers (x : Over.mk u ⟶ (Over.pullback b).obj X) |
| 85 | (p : Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback d).obj X) |
| 86 | (h : x.left ≫ pullback.fst X.hom b = p.left ≫ pullback.fst X.hom d) : |
| 87 | reducedPoint r b c w X g u wu x = PrimeFieldPoints.CM.pointEquiv c g d wd X p := |
| 88 | point_eq_of_projection c X (Over.mk g) _ _ |
| 89 | ((reducedPoint_projection r b c w X g u wu x).trans |
| 90 | (h.trans (PrimeFieldPoints.CM.pointEquiv_projection c g d wd X p).symm)) |
| 91 | |
| 92 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPointProjection.CM.Recovery |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI |