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.SmoothChart |
| 2 | |
| 3 | /-! # Change Base -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.ChangeBase.Construction |
| 6 | |
| 7 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.CategoryTheory.Limits |
| 8 | |
| 9 | universe u |
| 10 | |
| 11 | variable (p : ℕ) (hp : p.Prime) |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency.types false in |
| 14 | theorem frobeniusTwist_etaleBase_isPullback {U S : Scheme.{u}} |
| 15 | (hS : (p : Γ(S, ⊤)) = 0) (j : U ⟶ S) [Etale j] (A : Over U) : |
| 16 | IsPullback |
| 17 | (pullback.fst A.hom (Frobenius.Construction.absoluteFrobenius p hp U (Frobenius.Construction.prime_eq_zero_of_map p hS j))) |
| 18 | (pullback.snd A.hom (Frobenius.Construction.absoluteFrobenius p hp U (Frobenius.Construction.prime_eq_zero_of_map p hS j)) ≫ j) |
| 19 | (A.hom ≫ j) (Frobenius.Construction.absoluteFrobenius p hp S hS) := |
| 20 | (IsPullback.of_hasPullback A.hom |
| 21 | (Frobenius.Construction.absoluteFrobenius p hp U (Frobenius.Construction.prime_eq_zero_of_map p hS j))).paste_vert |
| 22 | (Homomorphisms.Etale.Construction.absoluteFrobenius_square_isPullback_of_etale p hp hS j) |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency.types false in |
| 25 | theorem relativeFrobenius_etaleBase_factorization {U S : Scheme.{u}} |
| 26 | (hS : (p : Γ(S, ⊤)) = 0) (j : U ⟶ S) [Etale j] (A : Over U) : |
| 27 | (Frobenius.Construction.relativeFrobenius p hp hS (Over.mk (A.hom ≫ j))).left = |
| 28 | (Frobenius.Construction.relativeFrobenius p hp (Frobenius.Construction.prime_eq_zero_of_map p hS j) A).left ≫ |
| 29 | (frobeniusTwist_etaleBase_isPullback p hp hS j A).isoPullback.hom := by |
| 30 | apply pullback.hom_ext |
| 31 | · erw [Frobenius.Construction.relativeFrobenius_comp_fst, Category.assoc, IsPullback.isoPullback_hom_fst, |
| 32 | Frobenius.Construction.relativeFrobenius_comp_fst] |
| 33 | rfl |
| 34 | · let AS : Over S := Over.mk (A.hom ≫ j) |
| 35 | let FU := (Frobenius.Construction.relativeFrobenius p hp (Frobenius.Construction.prime_eq_zero_of_map p hS j) A).left |
| 36 | let FS := (Frobenius.Construction.relativeFrobenius p hp hS AS).left |
| 37 | let πU := pullback.snd A.hom (Frobenius.Construction.absoluteFrobenius p hp U (Frobenius.Construction.prime_eq_zero_of_map p hS j)) |
| 38 | let πS := pullback.snd AS.hom (Frobenius.Construction.absoluteFrobenius p hp S hS) |
| 39 | let i := (frobeniusTwist_etaleBase_isPullback p hp hS j A).isoPullback.hom |
| 40 | have hFU : FU ≫ πU = A.hom := (Frobenius.Construction.relativeFrobenius p hp (Frobenius.Construction.prime_eq_zero_of_map p hS j) A).w |
| 41 | have hFS : FS ≫ πS = A.hom ≫ j := (Frobenius.Construction.relativeFrobenius p hp hS AS).w |
| 42 | have hi : i ≫ πS = πU ≫ j := |
| 43 | (frobeniusTwist_etaleBase_isPullback p hp hS j A).isoPullback_hom_snd |
| 44 | calc |
| 45 | FS ≫ πS = A.hom ≫ j := hFS |
| 46 | _ = (FU ≫ πU) ≫ j := congrArg (fun t => t ≫ j) hFU.symm |
| 47 | _ = FU ≫ (πU ≫ j) := Category.assoc FU πU j |
| 48 | _ = FU ≫ (i ≫ πS) := congrArg (fun t => FU ≫ t) hi.symm |
| 49 | _ = (FU ≫ i) ≫ πS := (Category.assoc FU i πS).symm |
| 50 | |
| 51 | set_option backward.isDefEq.respectTransparency.types false in |
| 52 | /-- Flatness is unchanged when an étale intermediate base is forgotten. -/ |
| 53 | theorem relativeFrobenius_flat_under_etaleBase {U S : Scheme.{u}} |
| 54 | (hS : (p : Γ(S, ⊤)) = 0) (j : U ⟶ S) [Etale j] (A : Over U) |
| 55 | [hflat : Flat (Frobenius.Construction.relativeFrobenius p hp (Frobenius.Construction.prime_eq_zero_of_map p hS j) A).left] : |
| 56 | Flat (Frobenius.Construction.relativeFrobenius p hp hS (Over.mk (A.hom ≫ j))).left := by |
| 57 | rw [relativeFrobenius_etaleBase_factorization p hp hS j A] |
| 58 | exact MorphismProperty.comp_mem @Flat _ _ hflat inferInstance |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.ChangeBase.Construction |