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.Crystalline.Cohomology.FunctionsGluing |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Module.LargeLimitReflection |
| 3 | |
| 4 | /-! # Functions Sheaf -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.FunctionsSheaf.CrystallineFunctionsSheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Actual ambient crystalline functions already satisfy the sheaf condition |
| 12 | |
| 13 | Every native covering sieve contains a unit-ideal principal cover. |
| 14 | Fraction gluing gives existence on that cover, while separation on |
| 15 | all native pullback covers extends the gluing to the whole sieve. |
| 16 | The resulting theorem concerns the original ambient-function presheaf. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 24 | (X : Over (Spec (CommRingCat.of k))) |
| 25 | |
| 26 | local notation "J" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.topology p k X |
| 27 | local notation "Values" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FunctionsSeparation.CrystallineFunctionsSeparation.values p k X |
| 28 | |
| 29 | theorem values_isSheaf : Presieve.IsSheaf J Values := by |
| 30 | intro Q S hS |
| 31 | let s := FunctionsSeparation.CrystallineFunctionsSeparation.coefficients p k X S |
| 32 | have hs := FunctionsSeparation.CrystallineFunctionsSeparation.coefficients_span p k X S hS |
| 33 | let R := CrystallinePrincipal.Covers.CrystallinePrincipalCovers.presieve p k X Q s Subtype.val |
| 34 | have hgen : Presieve.IsSheafFor Values (Sieve.generate R).arrows := |
| 35 | (Presieve.isSheafFor_iff_generate R).mp (FunctionsGluing.CrystallineFunctionsGluing.principal_isSheafFor p k X Q s hs) |
| 36 | have hle : Sieve.generate R ≤ S := by |
| 37 | apply (Sieve.generate_le_iff _ _).mpr |
| 38 | intro P f hf |
| 39 | obtain ⟨i⟩ := hf |
| 40 | exact i.property |
| 41 | have hcover : Sieve.generate R ∈ J Q := |
| 42 | CrystallinePrincipal.Covers.CrystallinePrincipalCovers.covering_mem p k X Q s Subtype.val |
| 43 | (by simpa only [Subtype.range_val] using hs) |
| 44 | exact Presieve.isSheafFor_subsieve_aux Values hle hgen |
| 45 | (fun {P} {f} _ => FunctionsSeparation.CrystallineFunctionsSeparation.separated p k X ((Sieve.generate R).pullback f) |
| 46 | ((J).pullback_stable f hcover)) |
| 47 | |
| 48 | theorem functions_isSheaf : Presheaf.IsSheaf J (Site.functions p k X) := by |
| 49 | have : Limits.ReflectsLimitsOfSize.{u, u + 1} (forget (ModuleCat.{u} (WittVector p k))) := |
| 50 | Module.LargeLimitReflection.ModuleLargeLimitReflection.reflectsLimitsOfSize _ |
| 51 | apply Presheaf.isSheaf_of_isSheaf_comp J (Site.functions p k X) |
| 52 | (forget (ModuleCat.{u} (WittVector p k))) |
| 53 | exact (isSheaf_iff_isSheaf_of_type J Values).mpr (values_isSheaf p k X) |
| 54 | |
| 55 | def functionsSheaf : Sheaf J (ModuleCat.{u} (WittVector p k)) := |
| 56 | ⟨Site.functions p k X, functions_isSheaf p k X⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.FunctionsSheaf.CrystallineFunctionsSheaf |