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.CategoryTheory.Comma.Over.Basic |
| 3 | |
| 4 | /-! # Over Effective Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.OverEffectiveDescent.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Effective descent of actual morphisms while retaining their map to the base. |
| 11 | The argument is the base-preserving form of the scheme effective-epimorphism property. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | /-- A scheme effective epimorphism gives unique descent in the category over a fixed base. -/ |
| 18 | theorem over_existsUnique_desc_of_effectiveEpi |
| 19 | {C : Type u} [Category.{v} C] {S : C} {A B T : Over S} |
| 20 | (q : A ⟶ B) [EffectiveEpi q.left] (f : A ⟶ T) |
| 21 | (hf : ∀ (U : Over S) (a b : U ⟶ A), a ≫ q = b ≫ q → a ≫ f = b ≫ f) : |
| 22 | ∃! g : B ⟶ T, q ≫ g = f := by |
| 23 | have hleft : ∀ {Z : C} (a b : Z ⟶ A.left), |
| 24 | a ≫ q.left = b ≫ q.left → a ≫ f.left = b ≫ f.left := by |
| 25 | intro Z a b hab |
| 26 | have hb : b ≫ A.hom = a ≫ A.hom := by |
| 27 | rw [← q.w, ← Category.assoc, ← Category.assoc, hab] |
| 28 | let a' : Over.mk (a ≫ A.hom) ⟶ A := Over.homMk a rfl |
| 29 | let b' : Over.mk (a ≫ A.hom) ⟶ A := Over.homMk b hb |
| 30 | exact congrArg (fun e => e.left) (hf _ a' b' (Over.OverMorphism.ext hab)) |
| 31 | let g := EffectiveEpi.desc q.left f.left hleft |
| 32 | have hg : q.left ≫ g = f.left := EffectiveEpi.fac _ _ _ |
| 33 | have hbase : g ≫ T.hom = B.hom := by |
| 34 | apply (cancel_epi q.left).mp |
| 35 | rw [← Category.assoc, hg, f.w, q.w] |
| 36 | refine ⟨Over.homMk g hbase, Over.OverMorphism.ext hg, ?_⟩ |
| 37 | intro g' hg' |
| 38 | apply Over.OverMorphism.ext |
| 39 | exact EffectiveEpi.uniq q.left f.left hleft g'.left |
| 40 | (congrArg (fun e => e.left) hg') |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.OverEffectiveDescent.Construction |