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.RepresentationTheory.Theta.Geometric.FppfPicardLocality |
| 2 | import Mathlib.CategoryTheory.Sites.LocallySurjective |
| 3 | |
| 4 | /-! # Cover Local Surjectivity -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Affine.CoverLocalSurjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A locally presented section lifts locally if all its affine |
| 11 | restrictions lift. The covering is the actual affine scheme cover. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | variable {S : Scheme.{u}} |
| 18 | |
| 19 | theorem affineCover_over_mem (T : Over S) : |
| 20 | Sieve.ofArrows |
| 21 | (fun i => Over.mk (T.left.affineCover.f i ≫ T.hom)) |
| 22 | (fun i => Over.homMk (T.left.affineCover.f i) (by rfl)) ∈ |
| 23 | (Scheme.fppfTopology.over S) T := by |
| 24 | rw [GrothendieckTopology.mem_over_iff, Sieve.overEquiv_ofArrows] |
| 25 | exact (Precoverage.toGrothendieck_mono Scheme.zariskiPrecoverage_le_fppfPrecoverage) |
| 26 | _ T.left.affineCover.mem_grothendieckTopology |
| 27 | |
| 28 | theorem locallySurjective_of_affine_representatives |
| 29 | {F P G : (Over S)ᵒᵖ ⥤ Type v} (f : F ⟶ G) (g : P ⟶ G) |
| 30 | [Presheaf.IsLocallySurjective (Scheme.fppfTopology.over S) g] |
| 31 | (h : ∀ (T : Over S) [IsAffine T.left] (x : P.obj (.op T)), |
| 32 | ∃ y : F.obj (.op T), f.app (.op T) y = g.app (.op T) x) : |
| 33 | Presheaf.IsLocallySurjective (Scheme.fppfTopology.over S) f where |
| 34 | imageSieve_mem {T} s := by |
| 35 | let J := Scheme.fppfTopology.over S |
| 36 | apply J.transitive (Presheaf.imageSieve_mem J g s) (Presheaf.imageSieve f s) |
| 37 | intro U j hj |
| 38 | obtain ⟨x, hx⟩ := hj |
| 39 | apply J.superset_covering ((Sieve.generate_le_iff _ _).mpr ?_) (affineCover_over_mem U) |
| 40 | intro V' v' hv |
| 41 | obtain ⟨i⟩ := hv |
| 42 | let V := Over.mk (U.left.affineCover.f i ≫ U.hom) |
| 43 | let v : V ⟶ U := Over.homMk (U.left.affineCover.f i) (by rfl) |
| 44 | let : IsAffine V.left := inferInstanceAs (IsAffine (U.left.affineCover.X i)) |
| 45 | obtain ⟨y, hy⟩ := h V (P.map v.op x) |
| 46 | refine ⟨y, ?_⟩ |
| 47 | change f.app (.op V) y = G.map (v ≫ j).op s |
| 48 | rw [hy, g.naturality_apply, hx, op_comp, Functor.map_comp_apply] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.RepresentationTheory.Theta.Geometric.Affine.CoverLocalSurjectivity |