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.SmoothFrobeniusRank |
| 2 | |
| 3 | /-! # Frobenius Degree -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusDegree |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Relative Frobenius of a smooth d-dimensional scheme has degree p^d. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.CategoryTheory.Limits |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | namespace Construction |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem relativeFrobenius_smooth_finrank |
| 20 | (p : ℕ) (hp : p.Prime) {S : Scheme.{u}} (hS : (p : Γ(S, ⊤)) = 0) |
| 21 | (A : Over S) (d : ℕ) [SmoothOfRelativeDimension d A.hom] |
| 22 | (y : (Frobenius.Construction.frobeniusTwist p hp hS A).left) : |
| 23 | (Frobenius.Construction.relativeFrobenius p hp hS A).left.finrank y = p ^ d := by |
| 24 | have : Smooth A.hom := SmoothOfRelativeDimension.smooth d A.hom |
| 25 | have : Flat (Frobenius.Construction.relativeFrobenius p hp hS A).left := Homomorphisms.Smooth.Construction.relativeFrobenius_smooth_flat p hp hS A |
| 26 | obtain ⟨x, hxy⟩ := (Frobenius.Construction.relativeFrobenius p hp hS A).left.surjective y |
| 27 | obtain ⟨U, hU, V, hV, hxV, e, hstd⟩ := |
| 28 | SmoothOfRelativeDimension.exists_isStandardSmoothOfRelativeDimension (n := d) (f := A.hom) x |
| 29 | have : IsAffine U.toScheme := hU |
| 30 | have : IsAffine V.toScheme := hV |
| 31 | let g := A.hom.resLE U V e |
| 32 | have hg : g.appTop.hom.IsStandardSmoothOfRelativeDimension d := |
| 33 | (RingHom.isStandardSmoothOfRelativeDimension_respectsIso.arrow_mk_iso_iff |
| 34 | (arrowResLEAppIso A.hom U V e)).mpr hstd |
| 35 | have : LocallyOfFiniteType g := by |
| 36 | rw [HasRingHomProperty.iff_of_isAffine (P := @LocallyOfFiniteType)] |
| 37 | exact SmoothFrobeniusRank.Construction.standardSmoothDimension_finiteType g.appTop.hom d hg |
| 38 | let hUchar := Frobenius.Construction.prime_eq_zero_of_map p hS U.ι |
| 39 | have : Flat (Frobenius.Construction.relativeFrobenius p hp hUchar (Over.mk g)).left := |
| 40 | Homomorphisms.Smooth.Construction.relativeFrobenius_affine_standardSmooth_flat p hp hUchar g (hg.isStandardSmooth _) |
| 41 | have : LocallyOfFiniteType (Over.mk g).hom := inferInstanceAs (LocallyOfFiniteType g) |
| 42 | have : IsFinite (Frobenius.Construction.relativeFrobenius p hp hUchar (Over.mk g)).left := |
| 43 | Properties.Construction.relativeFrobenius_finite p hp hUchar (Over.mk g) |
| 44 | have hrU (z : (Frobenius.Construction.frobeniusTwist p hp hUchar (Over.mk g)).left) : |
| 45 | (Frobenius.Construction.relativeFrobenius p hp hUchar (Over.mk g)).left.finrank z = p ^ d := |
| 46 | SmoothFrobeniusRank.Construction.relativeFrobenius_affine_standardSmooth_finrank p hp hUchar g d hg z |
| 47 | let VA : Over S := Over.mk (V.ι ≫ A.hom) |
| 48 | have hrVA (z : (Frobenius.Construction.frobeniusTwist p hp hS VA).left) : |
| 49 | (Frobenius.Construction.relativeFrobenius p hp hS VA).left.finrank z = p ^ d := by |
| 50 | have hbase := SmoothFrobeniusRank.Construction.relativeFrobenius_finrank_under_etaleBase p hp hS U.ι (Over.mk g) (p ^ d) hrU |
| 51 | have heq : g ≫ U.ι = V.ι ≫ A.hom := Scheme.Hom.resLE_comp_ι A.hom e |
| 52 | exact (heq ▸ hbase) z |
| 53 | let i : VA ⟶ A := Over.homMk V.ι rfl |
| 54 | have : Etale i.left := inferInstanceAs (Etale V.ι) |
| 55 | let xV : V.toScheme := ⟨x, hxV⟩ |
| 56 | let yV := (Frobenius.Construction.relativeFrobenius p hp hS VA).left xV |
| 57 | have hiy : ((Over.pullback (Frobenius.Construction.absoluteFrobenius p hp S hS)).map i).left yV = y := by |
| 58 | have h := congrArg (fun q : VA ⟶ Frobenius.Construction.frobeniusTwist p hp hS A => q.left xV) |
| 59 | ((Group.Construction.relativeFrobeniusNat p hp hS).naturality i) |
| 60 | exact h.symm.trans hxy |
| 61 | have h := (SmoothFrobeniusRank.Construction.relativeFrobenius_finrank_of_etale p hp hS i yV).symm.trans (hrVA yV) |
| 62 | rw [hiy] at h |
| 63 | exact h |
| 64 | |
| 65 | end Construction |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusDegree |