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 Mathlib.AlgebraicGeometry.AffineSpace |
| 2 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 3 | |
| 4 | /-! # Function Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.FunctionDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Faithfully flat descent of actual global regular functions, obtained |
| 11 | from the affine line and the native effective-epimorphism theorem. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | abbrev functionTarget : Scheme.{u} := |
| 22 | Spec (.of (MvPolynomial PUnit.{u + 1} (ULift.{u} ℤ))) |
| 23 | |
| 24 | def globalFunctionEquiv (X : Scheme.{u}) : (X ⟶ functionTarget) ≃ Γ(X, ⊤) := |
| 25 | (AffineSpace.toSpecMvPolyIntEquiv PUnit.{u + 1}).trans (Equiv.funUnique PUnit _) |
| 26 | |
| 27 | theorem globalFunctionEquiv_comp {X Y : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ functionTarget) : |
| 28 | globalFunctionEquiv X (f ≫ g) = f.appTop (globalFunctionEquiv Y g) := rfl |
| 29 | |
| 30 | theorem appTop_injective_of_epi {X Y : Scheme.{u}} (f : X ⟶ Y) [Epi f] : |
| 31 | Function.Injective f.appTop := by |
| 32 | intro r s hrs |
| 33 | let a := (globalFunctionEquiv Y).symm r |
| 34 | let b := (globalFunctionEquiv Y).symm s |
| 35 | have hab : f ≫ a = f ≫ b := by |
| 36 | apply (globalFunctionEquiv X).injective |
| 37 | rw [globalFunctionEquiv_comp, globalFunctionEquiv_comp] |
| 38 | simpa only [a, b, Equiv.apply_symm_apply] using hrs |
| 39 | have he : a = b := (cancel_epi f).mp hab |
| 40 | simpa only [a, b, Equiv.apply_symm_apply] using (congrArg (globalFunctionEquiv Y) he) |
| 41 | |
| 42 | theorem existsUnique_function_descent {X Y : Scheme.{u}} (f : X ⟶ Y) [EffectiveEpi f] |
| 43 | (r : Γ(X, ⊤)) |
| 44 | (hr : ∀ {T : Scheme.{u}} (x y : T ⟶ X), x ≫ f = y ≫ f → x.appTop r = y.appTop r) : |
| 45 | ∃! s : Γ(Y, ⊤), f.appTop s = r := by |
| 46 | let h := (globalFunctionEquiv X).symm r |
| 47 | have hrel : ∀ {T : Scheme.{u}} (x y : T ⟶ X), x ≫ f = y ≫ f → x ≫ h = y ≫ h := by |
| 48 | intro T x y hxy |
| 49 | apply (globalFunctionEquiv T).injective |
| 50 | rw [globalFunctionEquiv_comp, globalFunctionEquiv_comp] |
| 51 | simpa only [h, Equiv.apply_symm_apply] using hr x y hxy |
| 52 | let d := EffectiveEpi.desc f h hrel |
| 53 | have hd : f ≫ d = h := EffectiveEpi.fac f h hrel |
| 54 | refine ⟨globalFunctionEquiv Y d, ?_, ?_⟩ |
| 55 | · exact (globalFunctionEquiv_comp f d).symm.trans |
| 56 | ((congrArg (globalFunctionEquiv X) hd).trans ((globalFunctionEquiv X).apply_symm_apply r)) |
| 57 | · intro s hs |
| 58 | apply appTop_injective_of_epi f |
| 59 | exact hs.trans ((globalFunctionEquiv_comp f d).symm.trans |
| 60 | ((congrArg (globalFunctionEquiv X) hd).trans ((globalFunctionEquiv X).apply_symm_apply r))).symm |
| 61 | |
| 62 | theorem existsUnique_function_descent_of_fpqc {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 63 | [Flat f] [Surjective f] [QuasiCompact f] (r : Γ(X, ⊤)) |
| 64 | (hr : ∀ {T : Scheme.{u}} (x y : T ⟶ X), x ≫ f = y ≫ f → x.appTop r = y.appTop r) : |
| 65 | ∃! s : Γ(Y, ⊤), f.appTop s = r := existsUnique_function_descent f r hr |
| 66 | |
| 67 | end Construction |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.FunctionDescent |