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.AlgebraicGeometry.Sites.Fpqc |
| 2 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 3 | import Mathlib.CategoryTheory.Sites.Over |
| 4 | import Mathlib.CategoryTheory.Sites.LocallyBijective |
| 5 | |
| 6 | /-! # Geometric Sheafification -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.GeometricSheafification |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An fppf cover of an algebraically closed field has a section. |
| 13 | Consequently sheafification changes no sections at that geometric point. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.CategoryTheory.Limits |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (k : Type u) [Field k] [IsAlgClosed k] |
| 24 | |
| 25 | theorem fppf_sieve_algClosed_eq_top (R : Sieve (Spec (.of k))) |
| 26 | (hR : R ∈ Scheme.fppfTopology (Spec (.of k))) : R = ⊤ := by |
| 27 | have : Scheme.fppfPrecoverage.HasIsos := by |
| 28 | constructor |
| 29 | intro X Y f hf |
| 30 | exact f.singleton_mem_fppfPrecoverage |
| 31 | obtain ⟨Q, hQ, hQR⟩ := |
| 32 | Scheme.fppfPrecoverage.mem_toGrothendieck_iff_of_isStableUnderComposition.mp hR |
| 33 | have : Scheme.JointlySurjective Scheme.fppfPrecoverage := |
| 34 | inferInstanceAs (Scheme.JointlySurjective |
| 35 | (Scheme.precoverage (@Flat ⊓ @LocallyOfFinitePresentation))) |
| 36 | obtain ⟨Y, f, hf, y, _⟩ := |
| 37 | Scheme.JointlySurjective.exists_eq Q hQ (IsLocalRing.closedPoint k) |
| 38 | have hi : LocallyOfFinitePresentation f := (hQ.2 hf).2 |
| 39 | have : JacobsonSpace Y := LocallyOfFiniteType.jacobsonSpace f |
| 40 | have hne : (Set.univ : Set Y).Nonempty := ⟨y, trivial⟩ |
| 41 | obtain ⟨x, _, hx⟩ := nonempty_inter_closedPoints hne isOpen_univ.isLocallyClosed |
| 42 | let a := pointOfClosedPoint f x hx |
| 43 | have ha : a ≫ f = 𝟙 _ := pointOfClosedPoint_comp f x hx |
| 44 | apply le_antisymm le_top |
| 45 | intro Z z _ |
| 46 | have hid : R (𝟙 (Spec (.of k))) := by |
| 47 | rw [← ha] |
| 48 | exact R.downward_closed (hQR _ _ hf) a |
| 49 | simpa only [Category.comp_id] using R.downward_closed hid z |
| 50 | |
| 51 | theorem fppf_over_sieve_algClosed_eq_top |
| 52 | (R : Sieve (Over.mk (𝟙 (Spec (.of k))))) |
| 53 | (hR : R ∈ (Scheme.fppfTopology.over (Spec (.of k))) (Over.mk (𝟙 _))) : R = ⊤ := by |
| 54 | apply (Sieve.overEquiv _).injective |
| 55 | rw [map_top] |
| 56 | exact fppf_sieve_algClosed_eq_top k _ |
| 57 | ((GrothendieckTopology.mem_over_iff Scheme.fppfTopology R).mp hR) |
| 58 | |
| 59 | variable (P : (Over (Spec (.of k)))ᵒᵖ ⥤ Type (u + 1)) |
| 60 | |
| 61 | /-- Every sheafified section over the geometric point comes from a unique original section. -/ |
| 62 | theorem toSheafify_algClosed_bijective : |
| 63 | Function.Bijective ((toSheafify (Scheme.fppfTopology.over (Spec (.of k))) P).app |
| 64 | (op (Over.mk (𝟙 (Spec (.of k)))))) := by |
| 65 | let J := Scheme.fppfTopology.over (Spec (.of k)) |
| 66 | let η := toSheafify J P |
| 67 | constructor |
| 68 | · intro x y h |
| 69 | apply (Presheaf.equalizerSieve_eq_top_iff (F := P) x y).mp |
| 70 | exact fppf_over_sieve_algClosed_eq_top k _ (Presheaf.equalizerSieve_mem J η x y h) |
| 71 | · intro x |
| 72 | have hcover := Presheaf.imageSieve_mem J η x |
| 73 | have htop := fppf_over_sieve_algClosed_eq_top k _ hcover |
| 74 | have hmem : Presheaf.imageSieve η x (𝟙 (Over.mk (𝟙 (Spec (.of k))))) := by |
| 75 | rw [htop] |
| 76 | trivial |
| 77 | obtain ⟨a, ha⟩ := hmem |
| 78 | exact ⟨a, ha.trans (by simp)⟩ |
| 79 | |
| 80 | def geometricSheafificationEquiv : |
| 81 | P.obj (op (Over.mk (𝟙 (Spec (.of k))))) ≃ |
| 82 | (sheafify (Scheme.fppfTopology.over (Spec (.of k))) P).obj |
| 83 | (op (Over.mk (𝟙 (Spec (.of k))))) := |
| 84 | Equiv.ofBijective _ (toSheafify_algClosed_bijective k P) |
| 85 | |
| 86 | end Construction |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.GeometricSheafification |