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.BaseChangeEvaluation |
| 3 | |
| 4 | /-! # Point Projection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PointProjection.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original and local source points are related by the canonical |
| 11 | pullback comparison. Their projections to the arithmetic source agree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BaseChangeSquare.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BaseChangeEvaluation.CM |
| 15 | |
| 16 | variable {S T U V : Scheme} (d : V ⟶ T) (e : V ⟶ U) (b : T ⟶ S) (c : U ⟶ S) |
| 17 | (w : d ≫ b = e ≫ c) (X : Over S) (A : Over V) |
| 18 | |
| 19 | abbrev localSource := (Over.pullback d).obj ((Over.pullback b).obj X) |
| 20 | abbrev genericSource := (Over.pullback c).obj X |
| 21 | |
| 22 | def originalPoint (z : A ⟶ localSource d b X) : (Over.map e).obj A ⟶ genericSource c X := |
| 23 | BaseChangeEvaluation.CM.pointsEquiv e A (genericSource c X) (z ≫ (BaseChangeSquare.CM.squareIso d e b c w X).hom) |
| 24 | |
| 25 | def localPoint (z : (Over.map e).obj A ⟶ genericSource c X) : A ⟶ localSource d b X := |
| 26 | (BaseChangeEvaluation.CM.pointsEquiv e A (genericSource c X)).symm z ≫ (BaseChangeSquare.CM.squareIso d e b c w X).inv |
| 27 | |
| 28 | theorem original_local (z : (Over.map e).obj A ⟶ genericSource c X) : |
| 29 | originalPoint d e b c w X A (localPoint d e b c w X A z) = z := by |
| 30 | simp only [originalPoint, localPoint, Category.assoc, Iso.inv_hom_id, |
| 31 | Category.comp_id, Equiv.apply_symm_apply] |
| 32 | |
| 33 | theorem original_projection (z : A ⟶ localSource d b X) : |
| 34 | (originalPoint d e b c w X A z).left ≫ pullback.fst X.hom c = |
| 35 | z.left ≫ pullback.fst (pullback.snd X.hom b) d ≫ pullback.fst X.hom b := by |
| 36 | change ((z.left ≫ (BaseChangeSquare.CM.squareIso d e b c w X).hom.left) ≫ |
| 37 | pullback.fst (pullback.snd X.hom c) e) ≫ pullback.fst X.hom c = _ |
| 38 | have h := congrArg (z.left ≫ ·) |
| 39 | (SquareProjection.CM.square_hom_projection X d e b c w) |
| 40 | simpa only [Category.assoc] using h |
| 41 | |
| 42 | theorem local_projection (z : (Over.map e).obj A ⟶ genericSource c X) : |
| 43 | (localPoint d e b c w X A z).left ≫ pullback.fst (pullback.snd X.hom b) d ≫ |
| 44 | pullback.fst X.hom b = z.left ≫ pullback.fst X.hom c := by |
| 45 | have h := original_projection d e b c w X A (localPoint d e b c w X A z) |
| 46 | rw [original_local] at h |
| 47 | exact h.symm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PointProjection.CM |