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.HilbertScheme.Presentations.Proper.FiniteFlatIsomorphismLocus |
| 2 | import Mathlib.CategoryTheory.Subfunctor.Basic |
| 3 | |
| 4 | /-! # Finite Flat Isomorphism Representation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.FiniteFlatIsomorphismRepresentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual open scheme represents the finite-flat relative |
| 11 | isomorphism functor on all scheme tests, with its inclusion compatibility. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {X Y B : Scheme.{u}} (f : X ⟶ Y) (q : Y ⟶ B) |
| 17 | variable [IsFinite f] [Flat f] [LocallyOfFinitePresentation f] [IsProper q] |
| 18 | |
| 19 | def properFiniteFlatIsomorphismSubfunctor : Subfunctor (yoneda.obj B) where |
| 20 | obj T := {g | IsIso (pullback.snd f (pullback.fst q g))} |
| 21 | map a g hg := by |
| 22 | apply (FiniteFlatIsomorphismLocus.properFiniteFlat_isIso_pullback_iff_range f q (a.unop ≫ g)).mpr |
| 23 | rintro b ⟨t, rfl⟩ |
| 24 | exact (FiniteFlatIsomorphismLocus.properFiniteFlat_isIso_pullback_iff_range f q g).mp hg ⟨a.unop t, rfl⟩ |
| 25 | |
| 26 | def properFiniteFlatIsomorphismPointMap : |
| 27 | yoneda.obj (FiniteFlatIsomorphismLocus.properFiniteFlatIsomorphismOpen f q).toScheme ⟶ |
| 28 | (properFiniteFlatIsomorphismSubfunctor f q).toFunctor where |
| 29 | app T := ↾fun (g : T.unop ⟶ (FiniteFlatIsomorphismLocus.properFiniteFlatIsomorphismOpen f q).toScheme) => |
| 30 | ⟨g ≫ (FiniteFlatIsomorphismLocus.properFiniteFlatIsomorphismOpen f q).ι, |
| 31 | (FiniteFlatIsomorphismLocus.properFiniteFlat_isIso_pullback_iff_range f q _).mpr (by |
| 32 | rintro b ⟨t, rfl⟩ |
| 33 | exact (g t).property)⟩ |
| 34 | naturality T U a := by |
| 35 | apply ConcreteCategory.hom_ext |
| 36 | intro g |
| 37 | apply Subtype.ext |
| 38 | exact Category.assoc _ _ _ |
| 39 | |
| 40 | theorem properFiniteFlatIsomorphismPointMap_isIso : |
| 41 | IsIso (properFiniteFlatIsomorphismPointMap f q) := by |
| 42 | apply (NatTrans.isIso_iff_isIso_app _).mpr |
| 43 | intro T |
| 44 | apply (isIso_iff_bijective _).mpr |
| 45 | constructor |
| 46 | · intro g h he |
| 47 | apply (cancel_mono (FiniteFlatIsomorphismLocus.properFiniteFlatIsomorphismOpen f q).ι).mp |
| 48 | exact congrArg Subtype.val he |
| 49 | · intro g |
| 50 | obtain ⟨h, hh, _⟩ := (FiniteFlatIsomorphismLocus.properFiniteFlat_isIso_pullback_iff_unique_lift f q g.val).mp g.property |
| 51 | exact ⟨h, Subtype.ext hh⟩ |
| 52 | |
| 53 | def properFiniteFlatIsomorphismRepresentation : |
| 54 | yoneda.obj (FiniteFlatIsomorphismLocus.properFiniteFlatIsomorphismOpen f q).toScheme ≅ |
| 55 | (properFiniteFlatIsomorphismSubfunctor f q).toFunctor := by |
| 56 | let := properFiniteFlatIsomorphismPointMap_isIso f q |
| 57 | exact asIso (properFiniteFlatIsomorphismPointMap f q) |
| 58 | |
| 59 | theorem properFiniteFlatIsomorphismRepresentation_inclusion : |
| 60 | (properFiniteFlatIsomorphismRepresentation f q).hom ≫ |
| 61 | (properFiniteFlatIsomorphismSubfunctor f q).ι = |
| 62 | yoneda.map (FiniteFlatIsomorphismLocus.properFiniteFlatIsomorphismOpen f q).ι := rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.FiniteFlatIsomorphismRepresentation |