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 | /-! # Factor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Sheaf.Factor.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A map constant on the fibres of an fppf quotient has a unique |
| 10 | factorization into any fppf sheaf, constructed by sheaf descent. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem existsUnique_sheaf_factor_of_fibre_invariance |
| 17 | {S : Scheme.{u}} {B C : Over S} (q : B ⟶ C) |
| 18 | [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] |
| 19 | (F : Sheaf (Scheme.fppfTopology.over S) (Type (u + 1))) |
| 20 | (p : uliftYoneda.{u + 1}.obj B ⟶ F.obj) |
| 21 | (hfibres : ∀ (T : Over S) (x y : T ⟶ B), |
| 22 | x ≫ q = y ≫ q → p.app (op T) (ULift.up x) = p.app (op T) (ULift.up y)) : |
| 23 | ∃! i : uliftYoneda.{u + 1}.obj C ⟶ F.obj, uliftYoneda.map q ≫ i = p := by |
| 24 | have hp {T U : Over S} (a : U ⟶ T) (x : T ⟶ B) : |
| 25 | F.obj.map a.op (p.app (op T) (ULift.up x)) = |
| 26 | p.app (op U) (ULift.up (a ≫ x)) := |
| 27 | (congrArg (fun b : (uliftYoneda.{u + 1}.obj B).obj (op T) ⟶ F.obj.obj (op U) => |
| 28 | b (ULift.up x)) (p.naturality a.op)).symm |
| 29 | obtain ⟨s, hs, hu⟩ := FormalGeometry.Completion.FppfSheafSectionDescent.Construction.fppfSheaf_descend_section q F |
| 30 | (p.app (op B) (ULift.up (𝟙 B))) (fun {T} x y h => by |
| 31 | rw [hp, hp, Category.comp_id, Category.comp_id] |
| 32 | exact hfibres T x y h) |
| 33 | let i : uliftYoneda.{u + 1}.obj C ⟶ F.obj := { |
| 34 | app T := TypeCat.ofHom (fun x => F.obj.map x.down.op s) |
| 35 | naturality {T U} a := by |
| 36 | apply ConcreteCategory.ext_apply |
| 37 | intro x |
| 38 | change F.obj.map (a.unop ≫ x.down).op s = F.obj.map a (F.obj.map x.down.op s) |
| 39 | rw [op_comp, Functor.map_comp] |
| 40 | rfl } |
| 41 | refine ⟨i, ?_, ?_⟩ |
| 42 | · ext T x |
| 43 | change F.obj.map (x.down ≫ q).op s = p.app T x |
| 44 | rw [op_comp, Functor.map_comp] |
| 45 | change F.obj.map x.down.op (F.obj.map q.op s) = _ |
| 46 | rw [hs, hp, Category.comp_id] |
| 47 | rfl |
| 48 | · intro j hj |
| 49 | have hjq : F.obj.map q.op (j.app (op C) (ULift.up (𝟙 C))) = |
| 50 | p.app (op B) (ULift.up (𝟙 B)) := by |
| 51 | have h := (congrArg (fun b => b (ULift.up (𝟙 C))) (j.naturality q.op)).symm |
| 52 | change F.obj.map q.op (j.app (op C) (ULift.up (𝟙 C))) = |
| 53 | j.app (op B) (ULift.up (q ≫ 𝟙 C)) at h |
| 54 | rw [Category.comp_id] at h |
| 55 | exact h.trans (by |
| 56 | have h' := congrArg (fun t : uliftYoneda.{u + 1}.obj B ⟶ F.obj => |
| 57 | t.app (op B) (ULift.up (𝟙 B))) hj |
| 58 | simpa using h') |
| 59 | have hjs : j.app (op C) (ULift.up (𝟙 C)) = s := hu _ hjq |
| 60 | ext T x |
| 61 | have h := (congrArg (fun b => b (ULift.up (𝟙 C))) (j.naturality x.down.op)).symm |
| 62 | change F.obj.map x.down.op (j.app (op C) (ULift.up (𝟙 C))) = |
| 63 | j.app T (ULift.up (x.down ≫ 𝟙 C)) at h |
| 64 | rw [Category.comp_id, hjs] at h |
| 65 | exact h.symm |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Sheaf.Factor.Construction |