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.FppfPairLift |
| 2 | |
| 3 | /-! # Image -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Sheaf.Image.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A scheme quotient with exactly the fibres of a map to an fppf |
| 10 | sheaf embeds into that sheaf. The factorization is constructed by |
| 11 | actual sheaf descent, and injectivity is tested after common fppf lifts. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem exists_mono_sheaf_factor_of_fibres |
| 18 | {S : Scheme.{u}} {B C : Over S} (q : B ⟶ C) |
| 19 | [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] |
| 20 | (F : Sheaf (Scheme.fppfTopology.over S) (Type (u + 1))) |
| 21 | (p : uliftYoneda.{u + 1}.obj B ⟶ F.obj) |
| 22 | (hfibres : ∀ (T : Over S) (x y : T ⟶ B), |
| 23 | p.app (op T) (ULift.up x) = p.app (op T) (ULift.up y) ↔ x ≫ q = y ≫ q) : |
| 24 | ∃ i : uliftYoneda.{u + 1}.obj C ⟶ F.obj, |
| 25 | Mono i ∧ uliftYoneda.map q ≫ i = p := by |
| 26 | have hp {T U : Over S} (a : U ⟶ T) (x : T ⟶ B) : |
| 27 | F.obj.map a.op (p.app (op T) (ULift.up x)) = |
| 28 | p.app (op U) (ULift.up (a ≫ x)) := |
| 29 | (congrArg (fun b : (uliftYoneda.{u + 1}.obj B).obj (op T) ⟶ F.obj.obj (op U) => |
| 30 | b (ULift.up x)) (p.naturality a.op)).symm |
| 31 | obtain ⟨s, hs, _⟩ := FormalGeometry.Completion.FppfSheafSectionDescent.Construction.fppfSheaf_descend_section q F (p.app (op B) (ULift.up (𝟙 B))) |
| 32 | (fun {T} x y h => by |
| 33 | rw [hp, hp, Category.comp_id, Category.comp_id] |
| 34 | exact (hfibres T x y).mpr h) |
| 35 | let v {T : Over S} (x : T ⟶ C) := F.obj.map x.op s |
| 36 | have hvn {T U : Over S} (a : U ⟶ T) (x : T ⟶ C) : |
| 37 | F.obj.map a.op (v x) = v (a ≫ x) := by |
| 38 | change F.obj.map a.op (F.obj.map x.op s) = F.obj.map (a ≫ x).op s |
| 39 | rw [op_comp, Functor.map_comp] |
| 40 | rfl |
| 41 | have hv {T : Over S} (x : T ⟶ B) : v (x ≫ q) = p.app (op T) (ULift.up x) := by |
| 42 | change F.obj.map (x ≫ q).op s = _ |
| 43 | rw [op_comp, Functor.map_comp] |
| 44 | change F.obj.map x.op (F.obj.map q.op s) = _ |
| 45 | rw [hs, hp, Category.comp_id] |
| 46 | have hinj (T : Over S) : Function.Injective (v (T := T)) := by |
| 47 | intro x y hxy |
| 48 | obtain ⟨U, a, b, c, haf, has, _hap, hb, hc⟩ := FormalGeometry.Completion.FppfPairLift.Construction.fppf_lift_pair q x y |
| 49 | have : Flat a.left := haf |
| 50 | have : Surjective a.left := has |
| 51 | have : Epi a.left := Flat.epi_of_flat_of_surjective a.left |
| 52 | have h := congrArg (F.obj.map a.op) hxy |
| 53 | rw [hvn, hvn, hb, hc, hv, hv] at h |
| 54 | have hbc := (hfibres U b c).mp h |
| 55 | apply Over.OverMorphism.ext |
| 56 | apply (cancel_epi a.left).mp |
| 57 | exact congrArg Over.Hom.left (hb.trans (hbc.trans hc.symm)) |
| 58 | let i : uliftYoneda.{u + 1}.obj C ⟶ F.obj := { |
| 59 | app T := TypeCat.ofHom (fun x => v x.down) |
| 60 | naturality {T U} a := by |
| 61 | apply ConcreteCategory.ext_apply |
| 62 | intro x |
| 63 | exact (hvn a.unop x.down).symm } |
| 64 | refine ⟨i, ?_, ?_⟩ |
| 65 | · apply (NatTrans.mono_iff_mono_app _).mpr |
| 66 | intro T |
| 67 | apply ConcreteCategory.mono_of_injective |
| 68 | intro a b h |
| 69 | exact ULift.ext _ _ (hinj T.unop h) |
| 70 | · ext T x |
| 71 | exact hv x.down |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Sheaf.Image.Construction |