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.Picard.Homomorphisms.Affine |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.Group |
| 3 | |
| 4 | /-! # Smooth Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.SmoothChart.Construction |
| 7 | |
| 8 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.CategoryTheory.Limits |
| 9 | |
| 10 | universe u |
| 11 | |
| 12 | variable (p : ℕ) (hp : p.Prime) |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency.types false in |
| 15 | theorem frobeniusTwist_map_isPullback {S : Scheme.{u}} |
| 16 | (hS : (p : Γ(S, ⊤)) = 0) {A B : Over S} (f : A ⟶ B) : |
| 17 | IsPullback |
| 18 | (pullback.fst A.hom (Frobenius.Construction.absoluteFrobenius p hp S hS)) |
| 19 | ((Over.pullback (Frobenius.Construction.absoluteFrobenius p hp S hS)).map f).left |
| 20 | f.left (pullback.fst B.hom (Frobenius.Construction.absoluteFrobenius p hp S hS)) := by |
| 21 | let F := Frobenius.Construction.absoluteFrobenius p hp S hS |
| 22 | let f' := ((Over.pullback F).map f).left |
| 23 | have hfst : pullback.fst A.hom F ≫ f.left = f' ≫ pullback.fst B.hom F := by |
| 24 | exact (pullback.lift_fst _ _ _).symm |
| 25 | have hsnd : f' ≫ pullback.snd B.hom F = pullback.snd A.hom F := by |
| 26 | exact ((Over.pullback F).map f).w |
| 27 | have hout : IsPullback (pullback.fst A.hom F) |
| 28 | (f' ≫ pullback.snd B.hom F) (f.left ≫ B.hom) F := by |
| 29 | rw [hsnd, f.w] |
| 30 | exact IsPullback.of_hasPullback A.hom F |
| 31 | exact hout.of_bot hfst (IsPullback.of_hasPullback B.hom F) |
| 32 | |
| 33 | set_option backward.isDefEq.respectTransparency.types false in |
| 34 | /-- Relative Frobenius commutes with an étale change of source. -/ |
| 35 | theorem relativeFrobenius_square_isPullback_of_etale {S : Scheme.{u}} |
| 36 | (hS : (p : Γ(S, ⊤)) = 0) {A B : Over S} (f : A ⟶ B) [Etale f.left] : |
| 37 | IsPullback (Frobenius.Construction.relativeFrobenius p hp hS A).left f.left |
| 38 | ((Over.pullback (Frobenius.Construction.absoluteFrobenius p hp S hS)).map f).left |
| 39 | (Frobenius.Construction.relativeFrobenius p hp hS B).left := by |
| 40 | have hout : IsPullback |
| 41 | ((Frobenius.Construction.relativeFrobenius p hp hS A).left ≫ |
| 42 | pullback.fst A.hom (Frobenius.Construction.absoluteFrobenius p hp S hS)) |
| 43 | f.left f.left |
| 44 | ((Frobenius.Construction.relativeFrobenius p hp hS B).left ≫ |
| 45 | pullback.fst B.hom (Frobenius.Construction.absoluteFrobenius p hp S hS)) := by |
| 46 | erw [Frobenius.Construction.relativeFrobenius_comp_fst, Frobenius.Construction.relativeFrobenius_comp_fst] |
| 47 | exact Homomorphisms.Etale.Construction.absoluteFrobenius_square_isPullback_of_etale p hp |
| 48 | (Frobenius.Construction.prime_eq_zero_of_map p hS B.hom) f.left |
| 49 | have hcomm := congrArg Over.Hom.left ((Group.Construction.relativeFrobeniusNat p hp hS).naturality f) |
| 50 | exact hout.of_right hcomm.symm (frobeniusTwist_map_isPullback p hp hS f) |
| 51 | |
| 52 | set_option backward.isDefEq.respectTransparency.types false in |
| 53 | /-- Flatness of relative Frobenius transfers to an étale chart. -/ |
| 54 | theorem relativeFrobenius_flat_of_etale {S : Scheme.{u}} |
| 55 | (hS : (p : Γ(S, ⊤)) = 0) {A B : Over S} (f : A ⟶ B) [Etale f.left] |
| 56 | [hflat : Flat (Frobenius.Construction.relativeFrobenius p hp hS B).left] : |
| 57 | Flat (Frobenius.Construction.relativeFrobenius p hp hS A).left := |
| 58 | MorphismProperty.of_isPullback (P := @Flat) |
| 59 | (relativeFrobenius_square_isPullback_of_etale p hp hS f).flip hflat |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.SmoothChart.Construction |