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.FormalGeometry.Completion.ProEtale.OpenCover |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf |
| 3 | import Mathlib.CategoryTheory.Sites.LocallyBijective |
| 4 | |
| 5 | /-! # Coefficient Constant -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientConstant.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Completion: actual finite coefficients are the constant abelian sheaf |
| 13 | |
| 14 | The map sending an element to its constant function is locally bijective: |
| 15 | evaluation proves local injectivity, and the open level sets of a continuous |
| 16 | finite-coefficient function give local lifts. Sheafification therefore gives |
| 17 | the actual constant-coefficient comparison, without assuming it. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable (ℓ n : ℕ) (X : Scheme.{u}) |
| 28 | |
| 29 | /-- The constant presheaf of finite coefficients, in the cohomology universe. -/ |
| 30 | abbrev finiteCoefficientConstantPresheaf : X.ProEtᵒᵖ ⥤ Ab.{u + 1} := |
| 31 | (Functor.const X.ProEtᵒᵖ).obj (AddCommGrpCat.of (ULift.{u + 1} (ZMod (ℓ ^ n)))) |
| 32 | |
| 33 | /-- Constants define actual continuous coefficient functions. -/ |
| 34 | def finiteCoefficientConstantMap : |
| 35 | finiteCoefficientConstantPresheaf ℓ n X ⟶ (CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).obj where |
| 36 | app U := AddCommGrpCat.ofHom { |
| 37 | toFun a := ⟨ContinuousMap.const U.unop.left a.down⟩ |
| 38 | map_zero' := rfl |
| 39 | map_add' _ _ := rfl } |
| 40 | naturality _ _ _ := rfl |
| 41 | |
| 42 | instance finiteCoefficientConstantMap_locallyInjective : |
| 43 | Presheaf.IsLocallyInjective (Scheme.ProEt.topology X) (finiteCoefficientConstantMap ℓ n X) where |
| 44 | equalizerSieve_mem {U} a b h := by |
| 45 | by_cases hn : Nonempty U.unop.left |
| 46 | · have hab : a = b := by |
| 47 | apply ULift.ext |
| 48 | exact congrArg (fun s : ULift.{u + 1} C(U.unop.left, ZMod (ℓ ^ n)) => s.down hn.some) h |
| 49 | subst b |
| 50 | rw [Presheaf.equalizerSieve_self_eq_top] |
| 51 | exact (Scheme.ProEt.topology X).top_mem _ |
| 52 | · have : IsEmpty U.unop.left := not_nonempty_iff.mp hn |
| 53 | exact (Scheme.ProEt.topology X).superset_covering bot_le (Scheme.ProEt.bot_mem_topology U.unop) |
| 54 | |
| 55 | instance finiteCoefficientConstantMap_locallySurjective : |
| 56 | Presheaf.IsLocallySurjective (Scheme.ProEt.topology X) (finiteCoefficientConstantMap ℓ n X) where |
| 57 | imageSieve_mem {U} f := by |
| 58 | change ULift.{u + 1} C(U.left, ZMod (ℓ ^ n)) at f |
| 59 | let O : ZMod (ℓ ^ n) → U.left.Opens := fun a => |
| 60 | ⟨f.down ⁻¹' {a}, (isOpen_discrete _).preimage f.down.continuous⟩ |
| 61 | let V := U.left.openCoverOfIsOpenCover O (by ext x; simp [O]) |
| 62 | apply (Scheme.ProEt.topology X).superset_covering _ (ProEtale.OpenCover.Construction.proEtaleOpenCover_cover U V) |
| 63 | apply (Sieve.generate_le_iff _ _).mpr |
| 64 | rintro W g ⟨a⟩ |
| 65 | refine ⟨⟨a⟩, ?_⟩ |
| 66 | apply ULift.ext |
| 67 | apply ContinuousMap.ext |
| 68 | intro x |
| 69 | exact x.property.symm |
| 70 | |
| 71 | /-- The isomorphism from the ordinary constant abelian sheaf to the actual finite coefficient sheaf. -/ |
| 72 | def finiteCoefficientConstantIso : |
| 73 | (constantSheaf (Scheme.ProEt.topology X) Ab.{u + 1}).obj |
| 74 | (AddCommGrpCat.of (ULift.{u + 1} (ZMod (ℓ ^ n)))) ≅ CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X := by |
| 75 | have : IsIso ((presheafToSheaf (Scheme.ProEt.topology X) Ab.{u + 1}).map |
| 76 | (finiteCoefficientConstantMap ℓ n X)) := |
| 77 | ((Scheme.ProEt.topology X).W_iff _).mp |
| 78 | ((Scheme.ProEt.topology X).W_of_isLocallyBijective (finiteCoefficientConstantMap ℓ n X)) |
| 79 | exact asIso ((presheafToSheaf (Scheme.ProEt.topology X) Ab.{u + 1}).map |
| 80 | (finiteCoefficientConstantMap ℓ n X)) ≪≫ |
| 81 | asIso ((sheafificationAdjunction (Scheme.ProEt.topology X) Ab.{u + 1}).counit.app |
| 82 | (CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X)) |
| 83 | |
| 84 | /-- The constructed comparison sends each constant generator to its actual constant function. -/ |
| 85 | theorem finiteCoefficientConstantIso_unit : |
| 86 | toSheafify (Scheme.ProEt.topology X) (finiteCoefficientConstantPresheaf ℓ n X) ≫ |
| 87 | (finiteCoefficientConstantIso ℓ n X).hom.hom = finiteCoefficientConstantMap ℓ n X := by |
| 88 | change toSheafify (Scheme.ProEt.topology X) (finiteCoefficientConstantPresheaf ℓ n X) ≫ |
| 89 | sheafifyMap (Scheme.ProEt.topology X) (finiteCoefficientConstantMap ℓ n X) ≫ |
| 90 | ((sheafificationAdjunction (Scheme.ProEt.topology X) Ab.{u + 1}).counit.app |
| 91 | (CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X)).hom = _ |
| 92 | rw [← Category.assoc, ← toSheafify_naturality, Category.assoc, |
| 93 | sheafificationAdjunction_counit_app_val, toSheafify_sheafifyLift, Category.comp_id] |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientConstant.Construction |