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.CategoryTheory.Sites.LocallyBijective |
| 2 | |
| 3 | /-! # Mono Sheaf Local Image -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.MonoSheafLocalImage.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A section locally in the image of an injective map of sheaves |
| 10 | has a unique global preimage. This is actual sheaf gluing. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Opposite |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | theorem existsUnique_preimage_of_covering_imageSieve |
| 17 | {C : Type u} [Category.{v} C] {J : GrothendieckTopology C} |
| 18 | {F G : Sheaf J (Type w)} (f : F ⟶ G) [Mono f.hom] |
| 19 | (T : C) (s : G.obj.obj (op T)) (hs : Presheaf.imageSieve f.hom s ∈ J T) : |
| 20 | ∃! t : F.obj.obj (op T), f.hom.app (op T) t = s := by |
| 21 | have hi (X : Cᵒᵖ) : Function.Injective (f.hom.app X) := |
| 22 | (CategoryTheory.mono_iff_injective _).mp inferInstance |
| 23 | have H := (isSheaf_iff_isSheaf_of_type J F.obj).mp F.property _ hs |
| 24 | let t : Presieve.FamilyOfElements F.obj (Presheaf.imageSieve f.hom s).arrows := |
| 25 | fun _ g hg => Presheaf.localPreimage f.hom s g hg |
| 26 | have ht : t.Compatible := by |
| 27 | intro Y₁ Y₂ W g₁ g₂ f₁ f₂ hf₁ hf₂ hcomp |
| 28 | apply hi |
| 29 | have eq₁ := NatTrans.naturality_apply f.hom g₁.op (t f₁ hf₁) |
| 30 | have eq₂ := NatTrans.naturality_apply f.hom g₂.op (t f₂ hf₂) |
| 31 | have eq₃ := congrArg (G.obj.map g₁.op) (Presheaf.app_localPreimage f.hom s _ hf₁) |
| 32 | have eq₄ := congrArg (G.obj.map g₂.op) (Presheaf.app_localPreimage f.hom s _ hf₂) |
| 33 | refine eq₁.trans (eq₃.trans (Eq.trans ?_ (eq₄.symm.trans eq₂.symm))) |
| 34 | rw [← Functor.map_comp_apply, ← Functor.map_comp_apply] |
| 35 | simp only [← op_comp, hcomp] |
| 36 | have hv : f.hom.app (op T) (H.amalgamate t ht) = s := by |
| 37 | apply (((isSheaf_iff_isSheaf_of_type J G.obj).mp G.property).isSeparated _ hs).ext |
| 38 | intro Y g hg |
| 39 | rw [← NatTrans.naturality_apply, H.valid_glue ht] |
| 40 | exact Presheaf.app_localPreimage f.hom s g hg |
| 41 | exact ⟨H.amalgamate t ht, hv, fun t' ht' => hi _ (ht'.trans hv.symm)⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.MonoSheafLocalImage.Construction |