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.FiniteTorsor.TorsorSheaf |
| 2 | |
| 3 | /-! # Trivialization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: actual local trivializations of finite-coefficient torsors |
| 11 | |
| 12 | A local lift translates coefficient sections bijectively to torsor |
| 13 | sections. These bijections commute with restriction, giving a presheaf |
| 14 | isomorphism on the slice over each object with a local lift. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite Abelian |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {ℓ n : ℕ} {X : Scheme.{u}} (E : App.Construction.FiniteCoefficientExtension ℓ n X) |
| 25 | |
| 26 | /-- Translation of a torsor section by an actual coefficient section. -/ |
| 27 | def App.Construction.FiniteCoefficientExtension.translate (U : X.ProEt) (a : (Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).obj.obj (op U)) |
| 28 | (s : E.Fiber U) : E.Fiber U := |
| 29 | ⟨E.inclusion.hom.app (op U) a + s.val, by |
| 30 | rw [map_add] |
| 31 | have h : E.projection.hom.app (op U) (E.inclusion.hom.app (op U) a) = 0 := |
| 32 | (E.complex.map ((sheafToPresheaf _ Ab.{u + 1}) ⋙ |
| 33 | (evaluation _ _).obj (op U))).ab_zero_apply a |
| 34 | rw [h, zero_add, s.property]⟩ |
| 35 | |
| 36 | theorem App.Construction.FiniteCoefficientExtension.translate_bijective (U : X.ProEt) (s : E.Fiber U) : |
| 37 | Function.Bijective (fun a => E.translate U a s) := by |
| 38 | constructor |
| 39 | · intro a b h |
| 40 | apply E.inclusion_app_injective U |
| 41 | exact add_right_cancel (congrArg Subtype.val h) |
| 42 | · intro t |
| 43 | obtain ⟨a, ha, _⟩ := E.fiber_unique_difference U s t |
| 44 | exact ⟨a, Subtype.ext ha⟩ |
| 45 | |
| 46 | /-- Translation commutes with restriction of both coefficients and torsor sections. -/ |
| 47 | theorem App.Construction.FiniteCoefficientExtension.translate_restrict {U V : X.ProEt} (f : V ⟶ U) |
| 48 | (a : (Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).obj.obj (op U)) (s : E.Fiber U) : |
| 49 | E.restrict f (E.translate U a s) = |
| 50 | E.translate V ((Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).obj.map f.op a) (E.restrict f s) := by |
| 51 | apply Subtype.ext |
| 52 | change E.middle.obj.map f.op (E.inclusion.hom.app _ a + s.val) = |
| 53 | E.inclusion.hom.app _ ((Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).obj.map f.op a) + |
| 54 | E.middle.obj.map f.op s.val |
| 55 | simp only [map_add, NatTrans.naturality_apply] |
| 56 | |
| 57 | theorem App.Construction.FiniteCoefficientExtension.restrict_comp {U V W : X.ProEt} (f : W ⟶ V) (g : V ⟶ U) (s : E.Fiber U) : |
| 58 | E.restrict f (E.restrict g s) = E.restrict (f ≫ g) s := by |
| 59 | apply Subtype.ext |
| 60 | change E.middle.obj.map f.op (E.middle.obj.map g.op s.val) = |
| 61 | E.middle.obj.map (f ≫ g).op s.val |
| 62 | rw [op_comp, Functor.map_comp] |
| 63 | rfl |
| 64 | |
| 65 | /-- A local lift gives a natural map from coefficients to torsor sections on the slice. -/ |
| 66 | def App.Construction.FiniteCoefficientExtension.translationOnSlice (U : X.ProEt) (s : E.Fiber U) : |
| 67 | (Over.forget U).op ⋙ ((Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).obj ⋙ forget Ab.{u + 1}) ⟶ |
| 68 | (Over.forget U).op ⋙ E.fiberPresheaf where |
| 69 | app V := ↾fun a => E.translate V.unop.left a (E.restrict V.unop.hom s) |
| 70 | naturality V W f := by |
| 71 | ext a |
| 72 | change (Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).obj.obj (op V.unop.left) at a |
| 73 | change E.translate W.unop.left ((Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).obj.map f.unop.left.op a) |
| 74 | (E.restrict W.unop.hom s) = |
| 75 | E.restrict f.unop.left (E.translate V.unop.left a (E.restrict V.unop.hom s)) |
| 76 | rw [E.translate_restrict, E.restrict_comp, Over.w] |
| 77 | |
| 78 | instance App.Construction.FiniteCoefficientExtension.translationOnSlice_isIso (U : X.ProEt) (s : E.Fiber U) : |
| 79 | IsIso (E.translationOnSlice U s) := by |
| 80 | have : ∀ V, IsIso ((E.translationOnSlice U s).app V) := fun V => |
| 81 | (CategoryTheory.isIso_iff_bijective _).mpr |
| 82 | (E.translate_bijective V.unop.left (E.restrict V.unop.hom s)) |
| 83 | exact NatIso.isIso_of_isIso_app _ |
| 84 | |
| 85 | /-- The coefficient presheaf and torsor presheaf are locally isomorphic. -/ |
| 86 | def App.Construction.FiniteCoefficientExtension.trivialization (U : X.ProEt) (s : E.Fiber U) : |
| 87 | (Over.forget U).op ⋙ ((Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).obj ⋙ forget Ab.{u + 1}) ≅ |
| 88 | (Over.forget U).op ⋙ E.fiberPresheaf := |
| 89 | asIso (E.translationOnSlice U s) |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |