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.AbelianScheme.CartierDuality.CharacterBaseChange |
| 2 | |
| 3 | /-! # Small Characters -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SmallCharacters.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # CartierDuality: a small-valued model of the character sheaf |
| 11 | |
| 12 | The big-site internal Hom initially takes values in a larger universe. |
| 13 | Native morphisms over each test scheme give an equivalent small-valued |
| 14 | sheaf, so ordinary scheme representability and gluing results can apply. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace CharacterSize |
| 22 | |
| 23 | universe v w |
| 24 | |
| 25 | variable {C : Type w} [Category.{v} C] |
| 26 | |
| 27 | /-- Transport a type-valued functor through small models of its values. -/ |
| 28 | def downsizeFunctor (F : C ⥤ Type (u + 1)) (B : C → Type u) |
| 29 | (e : ∀ X, F.obj X ≃ B X) : C ⥤ Type u where |
| 30 | obj := B |
| 31 | map {X Y} f := ↾(fun b => e Y (F.map f ((e X).symm b))) |
| 32 | map_id X := by |
| 33 | apply ConcreteCategory.hom_ext |
| 34 | intro b |
| 35 | exact (congrArg (e X) (F.map_id_apply X ((e X).symm b))).trans |
| 36 | ((e X).apply_symm_apply b) |
| 37 | map_comp {X Y Z} f g := by |
| 38 | apply ConcreteCategory.hom_ext |
| 39 | intro b |
| 40 | change e Z (F.map (f ≫ g) ((e X).symm b)) = |
| 41 | e Z (F.map g ((e Y).symm (e Y (F.map f ((e X).symm b))))) |
| 42 | simp only [Equiv.symm_apply_apply, Functor.map_comp_apply] |
| 43 | |
| 44 | /-- Lifting a transported small functor recovers the original functor. -/ |
| 45 | def downsizeFunctorIso (F : C ⥤ Type (u + 1)) (B : C → Type u) |
| 46 | (e : ∀ X, F.obj X ≃ B X) : |
| 47 | downsizeFunctor F B e ⋙ uliftFunctor.{u + 1} ≅ F := |
| 48 | NatIso.ofComponents (fun X => (Equiv.ulift.trans (e X).symm).toIso) (by |
| 49 | intro X Y f |
| 50 | apply ConcreteCategory.hom_ext |
| 51 | intro b |
| 52 | exact (e Y).symm_apply_apply _) |
| 53 | |
| 54 | end CharacterSize |
| 55 | |
| 56 | namespace Schemes |
| 57 | |
| 58 | variable (S : Scheme.{u}) (G : Grp (Over S)) |
| 59 | |
| 60 | /-- Every character-section type is small because its sections are |
| 61 | ordinary morphisms of group schemes over the test scheme. -/ |
| 62 | instance characterSectionsSmall (T : Over S) : |
| 63 | Small.{u} ((CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) := |
| 64 | small_of_injective (SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T).injective |
| 65 | |
| 66 | /-- Characters expressed as native group-scheme homomorphisms, with |
| 67 | restriction transported from the actual internal Hom presheaf. -/ |
| 68 | def nativeCharacterPresheaf : (Over S)ᵒᵖ ⥤ Type u := |
| 69 | CharacterSize.downsizeFunctor (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj |
| 70 | (fun T => (Over.pullback T.unop.hom).mapGrp.obj G ⟶ CharacterSheaf.Construction.Schemes.multiplicativeGroupOver T.unop.left) |
| 71 | (fun T => SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T.unop) |
| 72 | |
| 73 | /-- Lifting the native character presheaf recovers the original |
| 74 | big-site character presheaf, naturally on all test schemes. -/ |
| 75 | def nativeCharacterPresheafIso : |
| 76 | nativeCharacterPresheaf S G ⋙ uliftFunctor.{u + 1} ≅ (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj := |
| 77 | CharacterSize.downsizeFunctorIso (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj |
| 78 | (fun T => (Over.pullback T.unop.hom).mapGrp.obj G ⟶ CharacterSheaf.Construction.Schemes.multiplicativeGroupOver T.unop.left) |
| 79 | (fun T => SliceCharacters.Construction.Schemes.characterSheaf_testCharacterEquiv S G T.unop) |
| 80 | |
| 81 | /-- The native small-valued model satisfies fppf descent. -/ |
| 82 | theorem nativeCharacterPresheaf_isSheaf : |
| 83 | Presheaf.IsSheaf (Scheme.fppfTopology.over S) (nativeCharacterPresheaf S G) := by |
| 84 | apply Presheaf.isSheaf_of_isSheaf_comp (Scheme.fppfTopology.over S) |
| 85 | (nativeCharacterPresheaf S G) uliftFunctor.{u + 1} |
| 86 | exact (Presheaf.isSheaf_of_iso_iff (nativeCharacterPresheafIso S G)).mpr |
| 87 | (CharacterSheaf.Construction.Schemes.characterSheaf S G).property |
| 88 | |
| 89 | /-- A small-valued fppf character sheaf suitable for native scheme |
| 90 | representability and gluing constructions. -/ |
| 91 | def nativeCharacterSheaf : Sheaf (Scheme.fppfTopology.over S) (Type u) := |
| 92 | ⟨nativeCharacterPresheaf S G, nativeCharacterPresheaf_isSheaf S G⟩ |
| 93 | |
| 94 | end Schemes |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SmallCharacters.Construction |