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.CategoryTheory.Subfunctor.Basic |
| 2 | import Mathlib.CategoryTheory.Comma.Over.Basic |
| 3 | |
| 4 | /-! # Represented Subfunctor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.RepresentedSubfunctor.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A represented subfunctor has a canonical representing monomorphism |
| 11 | and its factorization criterion is the original pointwise predicate. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | |
| 15 | universe u v |
| 16 | variable {C : Type u} [Category.{v} C] {S : C} (P : Subfunctor (yoneda.obj S)) |
| 17 | [P.toFunctor.IsRepresentable] |
| 18 | |
| 19 | def representedSubfunctorFamily : Over S := Over.mk P.toFunctor.reprx.val |
| 20 | |
| 21 | theorem representedSubfunctor_value {T : C} (f : T ⟶ (representedSubfunctorFamily P).left) : |
| 22 | (P.toFunctor.representableBy.homEquiv f).val = f ≫ (representedSubfunctorFamily P).hom := |
| 23 | congrArg Subtype.val (P.toFunctor.representableBy.homEquiv_eq f) |
| 24 | |
| 25 | instance representedSubfunctorFamily_mono : Mono (representedSubfunctorFamily P).hom := by |
| 26 | constructor |
| 27 | intro T f g hfg |
| 28 | apply P.toFunctor.representableBy.homEquiv.injective |
| 29 | apply Subtype.ext |
| 30 | rw [representedSubfunctor_value, representedSubfunctor_value] |
| 31 | exact hfg |
| 32 | |
| 33 | theorem representedSubfunctor_factorization (T : C) (f : T ⟶ S) : |
| 34 | f ∈ P.obj (op T) ↔ ∃ g : T ⟶ (representedSubfunctorFamily P).left, |
| 35 | g ≫ (representedSubfunctorFamily P).hom = f := by |
| 36 | constructor |
| 37 | · intro hf |
| 38 | let g := P.toFunctor.representableBy.homEquiv.symm ⟨f, hf⟩ |
| 39 | refine ⟨g, (representedSubfunctor_value P g).symm.trans ?_⟩ |
| 40 | exact congrArg Subtype.val (P.toFunctor.representableBy.homEquiv.apply_symm_apply ⟨f, hf⟩) |
| 41 | · rintro ⟨g, hg⟩ |
| 42 | have h := (P.toFunctor.representableBy.homEquiv g).property |
| 43 | rw [representedSubfunctor_value, hg] at h |
| 44 | exact h |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.RepresentedSubfunctor.Construction |