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.AbelianModuli.HilbertConstruction.Level.GlobalSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.Transport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff |
| 4 | |
| 5 | /-! # Global Section Ext -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual constant-label sections determine an ordered full level. |
| 12 | The proof uses the open fibers of each locally constant label, so it |
| 13 | applies to arbitrary schemes, including disconnected nonreduced bases. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} {g N : ℕ} {A B : Abelian.Schemes.AbelianScheme g S} |
| 20 | |
| 21 | theorem Abelian.Schemes.AbelianScheme.fullLevelGlobalSection_one (level : A.FullLevel N) : |
| 22 | A.fullLevelGlobalSection level 1 = (η[A.scheme]).left := by |
| 23 | have h := congrArg (fun x : A.torsionPoints N (Over.mk (𝟙 S)) => x.val) |
| 24 | (map_one (level.hom.app (.op (Over.mk (𝟙 S)))).hom) |
| 25 | exact congrArg Over.Hom.left (h.trans (MonObj.one_eq_one A.scheme).symm) |
| 26 | |
| 27 | theorem Abelian.Schemes.AbelianScheme.fullLevelGlobalSection_transport (level : A.FullLevel N) |
| 28 | (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] |
| 29 | (c : Multiplicative (Fin (2 * g) → ZMod N)) : |
| 30 | B.fullLevelGlobalSection (level.transport e) c = |
| 31 | A.fullLevelGlobalSection level c ≫ e.hom.left := |
| 32 | congrArg Over.Hom.left |
| 33 | (level.transport_basis e (Over.mk (𝟙 S)) (LocallyConstant.const S c)) |
| 34 | |
| 35 | /-- Values at every constant label determine the full natural level |
| 36 | isomorphism, including its values on all other test schemes. -/ |
| 37 | theorem Abelian.Schemes.AbelianScheme.FullLevel.ext_globalSections {level₁ level₂ : A.FullLevel N} |
| 38 | (h : ∀ c : Multiplicative (Fin (2 * g) → ZMod N), |
| 39 | A.fullLevelGlobalSection level₁ c = A.fullLevelGlobalSection level₂ c) : |
| 40 | level₁ = level₂ := by |
| 41 | apply Abelian.Schemes.AbelianScheme.FullLevel.ext_basis |
| 42 | intro T c |
| 43 | let d : LocallyConstant T.left |
| 44 | (ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N))) := |
| 45 | (LocallyConstant.congrRight Equiv.ulift).symm c |
| 46 | apply Over.OverMorphism.ext |
| 47 | apply (cancel_epi (ConstantScheme.Iff.locallyConstantFibersIso d).hom).mp |
| 48 | apply Sigma.hom_ext |
| 49 | intro i |
| 50 | rw [ConstantScheme.Iff.locallyConstantFibersIso_ι_hom_assoc, ConstantScheme.Iff.locallyConstantFibersIso_ι_hom_assoc] |
| 51 | let U : Over S := Over.mk ((ConstantScheme.Iff.locallyConstantFiber d i).ι ≫ T.hom) |
| 52 | let j : U ⟶ T := Over.homMk (ConstantScheme.Iff.locallyConstantFiber d i).ι rfl |
| 53 | let b : U ⟶ Over.mk (𝟙 S) := Over.homMk U.hom (Category.comp_id _) |
| 54 | have hc : c.comap ⟨j.left, j.left.continuous⟩ = |
| 55 | LocallyConstant.const U.left i.down := by |
| 56 | apply LocallyConstant.ext |
| 57 | intro x |
| 58 | exact congrArg ULift.down x.property |
| 59 | have hj₁ := congrArg (fun z : A.torsionPoints N U => z.val.left) |
| 60 | (ConcreteCategory.congr_hom (level₁.hom.naturality j.op) c) |
| 61 | have hj₂ := congrArg (fun z : A.torsionPoints N U => z.val.left) |
| 62 | (ConcreteCategory.congr_hom (level₂.hom.naturality j.op) c) |
| 63 | change (level₁.hom.app (.op U) (c.comap ⟨j.left, j.left.continuous⟩)).val.left = |
| 64 | j.left ≫ (level₁.hom.app (.op T) c).val.left at hj₁ |
| 65 | change (level₂.hom.app (.op U) (c.comap ⟨j.left, j.left.continuous⟩)).val.left = |
| 66 | j.left ≫ (level₂.hom.app (.op T) c).val.left at hj₂ |
| 67 | rw [hc] at hj₁ hj₂ |
| 68 | have hb₁ := congrArg (fun z : A.torsionPoints N U => z.val.left) |
| 69 | (ConcreteCategory.congr_hom (level₁.hom.naturality b.op) |
| 70 | (LocallyConstant.const S i.down)) |
| 71 | have hb₂ := congrArg (fun z : A.torsionPoints N U => z.val.left) |
| 72 | (ConcreteCategory.congr_hom (level₂.hom.naturality b.op) |
| 73 | (LocallyConstant.const S i.down)) |
| 74 | change (level₁.hom.app (.op U) (LocallyConstant.const U.left i.down)).val.left = |
| 75 | b.left ≫ A.fullLevelGlobalSection level₁ i.down at hb₁ |
| 76 | change (level₂.hom.app (.op U) (LocallyConstant.const U.left i.down)).val.left = |
| 77 | b.left ≫ A.fullLevelGlobalSection level₂ i.down at hb₂ |
| 78 | exact hj₁.symm.trans (hb₁.trans |
| 79 | ((congrArg (fun z => b.left ≫ z) (h i.down)).trans (hb₂.symm.trans hj₂))) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |