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.FrobeniusKernel.CartierRestrictionEpi |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EpiFromLift |
| 3 | |
| 4 | /-! # Intrinsic Character Restriction Epi -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.IntrinsicCharacterRestrictionEpi.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local extension of actual native characters along a finite locally |
| 11 | free subgroup inclusion, compared with the canonical Cartier functor. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} {G H : Grp (Over S)} (i : H ⟶ G) |
| 19 | |
| 20 | def nativeCharacterRestriction : CartierDuality.CharacterGroupSheaf.Construction.Schemes.characterCommGroupSheaf S G ⟶ CartierDuality.CharacterGroupSheaf.Construction.Schemes.characterCommGroupSheaf S H where |
| 21 | hom := { |
| 22 | app T := CommGrpCat.ofHom (CartierDuality.RepresentationMorphisms.Construction.Schemes.characterRestrictionHom i T.unop) |
| 23 | naturality := by |
| 24 | intro T U t |
| 25 | apply CommGrpCat.hom_ext |
| 26 | apply MonoidHom.ext |
| 27 | intro χ |
| 28 | exact CartierDuality.RepresentationMorphisms.Construction.Schemes.characterRestrictionHom_natural i t.unop χ } |
| 29 | |
| 30 | theorem nativeCharacterRestriction_apply (T : Over S) |
| 31 | (χ : (CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (.op T)) : |
| 32 | (nativeCharacterRestriction i).hom.app (.op T) χ = (CartierDuality.CharacterSheaf.Construction.Schemes.characterRestriction i).hom.app (.op T) χ := rfl |
| 33 | |
| 34 | variable [IsCommMonObj G.X] [IsCommMonObj H.X] |
| 35 | |
| 36 | theorem nativeCharacterRestriction_cartier : |
| 37 | nativeCharacterRestriction i ≫ (CartierDuality.SheafCharacterComparison.Construction.Schemes.representedCharacterSheafIso S H).hom = |
| 38 | (CartierDuality.SheafCharacterComparison.Construction.Schemes.representedCharacterSheafIso S G).hom ≫ |
| 39 | (CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S).map (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap i).op := by |
| 40 | apply Sheaf.hom_ext |
| 41 | apply NatTrans.ext |
| 42 | funext T |
| 43 | apply CommGrpCat.hom_ext |
| 44 | apply MonoidHom.ext |
| 45 | intro χ |
| 46 | apply NatTrans.ext |
| 47 | funext V |
| 48 | apply GrpCat.hom_ext |
| 49 | apply MonoidHom.ext |
| 50 | rintro ⟨x⟩ |
| 51 | rfl |
| 52 | |
| 53 | theorem nativeCharacterRestriction_epi [Mono i.hom.hom] |
| 54 | [IsFinite G.X.hom] [Flat G.X.hom] [LocallyOfFinitePresentation G.X.hom] |
| 55 | [IsFinite H.X.hom] [Flat H.X.hom] [LocallyOfFinitePresentation H.X.hom] : |
| 56 | Epi (nativeCharacterRestriction i) := by |
| 57 | have : Mono (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap i) := CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap_mono i |
| 58 | have hG : CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G) := |
| 59 | ⟨G, inferInstance, inferInstance, inferInstance, inferInstance, ⟨Iso.refl _⟩⟩ |
| 60 | have hH : CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S H) := |
| 61 | ⟨H, inferInstance, inferInstance, inferInstance, inferInstance, ⟨Iso.refl _⟩⟩ |
| 62 | have hd : Epi ((CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S).map (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap i).op) := |
| 63 | CartierRestrictionEpi.Construction.cartierDualMap_epi_of_finiteLocallyFree (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap i) hH hG |
| 64 | exact EpiFromLift.Construction.epi_of_iso_commutative_square (CartierDuality.SheafCharacterComparison.Construction.Schemes.representedCharacterSheafIso S G) |
| 65 | (CartierDuality.SheafCharacterComparison.Construction.Schemes.representedCharacterSheafIso S H) (nativeCharacterRestriction i) |
| 66 | ((CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S).map (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap i).op) hd |
| 67 | (nativeCharacterRestriction_cartier i) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.IntrinsicCharacterRestrictionEpi.Construction |