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.Picard.Homomorphisms.FreePresheafPullback |
| 2 | |
| 3 | /-! # Free Tensor Pullback Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.FreeTensorPullbackIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The tensor-pullback comparison is invertible on free open generators. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | open _root_.CategoryTheory.MonoidalCategory |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 22 | |
| 23 | local instance freeTensorPullbackIsoLocal1 : MonoidalCategory X.PresheafOfModules := PresheafOfModulesOfCommRing.monoidalCategory |
| 24 | local instance freeTensorPullbackIsoLocal2 : MonoidalCategory Y.PresheafOfModules := PresheafOfModulesOfCommRing.monoidalCategory |
| 25 | |
| 26 | theorem freeTensorPullbackComparison (U V : Y.Opens) : |
| 27 | PresheafTensorPullback.Construction.presheafTensorPullbackComparison f (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U) (FreePresheafTensor.Construction.freeOpenModulePresheaf Y V) ≫ |
| 28 | ((FreePresheafPullback.Construction.freeOpenPullbackIso f U).hom ⊗ₘ (FreePresheafPullback.Construction.freeOpenPullbackIso f V).hom) ≫ |
| 29 | (FreePresheafTensor.Construction.freeOpenTensorIso X (f ⁻¹ᵁ U) (f ⁻¹ᵁ V)).hom = |
| 30 | (PresheafTensorPullback.Construction.modulePresheafPullback f).map (FreePresheafTensor.Construction.freeOpenTensorIso Y U V).hom ≫ |
| 31 | (FreePresheafPullback.Construction.freeOpenPullbackIso f (U ⊓ V)).hom := by |
| 32 | apply ((PresheafTensorPullback.Construction.modulePresheafAdjunction f).homEquiv _ _).injective |
| 33 | rw [Adjunction.homEquiv_naturality_right] |
| 34 | erw [(PresheafTensorPullback.Construction.modulePresheafAdjunction f).homEquiv_naturality_left |
| 35 | (FreePresheafTensor.Construction.freeOpenTensorIso Y U V).hom (FreePresheafPullback.Construction.freeOpenPullbackIso f (U ⊓ V)).hom] |
| 36 | apply (cancel_epi (FreePresheafTensor.Construction.freeOpenTensorIso Y U V).inv).mp |
| 37 | erw [(FreePresheafTensor.Construction.freeOpenTensorIso Y U V).inv_hom_id_assoc] |
| 38 | apply PresheafOfModules.freeYonedaEquiv.injective |
| 39 | rw [FreePresheafPullback.Construction.freeOpenPullbackIso_homEquiv f (U ⊓ V)] |
| 40 | conv_rhs => erw [Equiv.apply_symm_apply] |
| 41 | change (FreePresheafTensor.Construction.freeOpenTensorIso X (f ⁻¹ᵁ U) (f ⁻¹ᵁ V)).hom.app (op (f ⁻¹ᵁ (U ⊓ V))) |
| 42 | (((FreePresheafPullback.Construction.freeOpenPullbackIso f U).hom ⊗ₘ (FreePresheafPullback.Construction.freeOpenPullbackIso f V).hom).app (op (f ⁻¹ᵁ (U ⊓ V))) |
| 43 | ((PresheafTensorPullback.Construction.presheafTensorPullbackComparison f (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U) (FreePresheafTensor.Construction.freeOpenModulePresheaf Y V)).app |
| 44 | (op (f ⁻¹ᵁ (U ⊓ V))) |
| 45 | (((PresheafTensorPullback.Construction.modulePresheafAdjunction f).unit.app |
| 46 | (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U ⊗ FreePresheafTensor.Construction.freeOpenModulePresheaf Y V)).app (op (U ⊓ V)) |
| 47 | ((FreePresheafTensor.Construction.freeOpenTensorIso Y U V).inv.app (op (U ⊓ V)) (ModuleCat.freeMk (𝟙 (U ⊓ V))))))) = |
| 48 | ModuleCat.freeMk (𝟙 (f ⁻¹ᵁ (U ⊓ V))) |
| 49 | rw [FreePresheafPullback.Construction.freeOpenTensorIso_inv_freeMk] |
| 50 | erw [FreePresheafPullback.Construction.presheafTensorPullbackComparison_unit_tmul] |
| 51 | erw [PresheafOfModulesOfCommRing.Monoidal.tensorHom_app, ModuleCat.MonoidalCategory.tensorHom_tmul] |
| 52 | erw [FreePresheafPullback.Construction.freeOpenPullbackIso_unit_freeMk, FreePresheafPullback.Construction.freeOpenPullbackIso_unit_freeMk] |
| 53 | erw [FreePresheafPullback.Construction.freeOpenTensorIso_hom_freeMk] |
| 54 | congr 1 |
| 55 | |
| 56 | theorem freeTensorPullbackComparison_isIso (U V : Y.Opens) : |
| 57 | IsIso (PresheafTensorPullback.Construction.presheafTensorPullbackComparison f |
| 58 | (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U) (FreePresheafTensor.Construction.freeOpenModulePresheaf Y V)) := by |
| 59 | have : IsIso (PresheafTensorPullback.Construction.presheafTensorPullbackComparison f |
| 60 | (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U) (FreePresheafTensor.Construction.freeOpenModulePresheaf Y V) ≫ |
| 61 | ((FreePresheafPullback.Construction.freeOpenPullbackIso f U).hom ⊗ₘ (FreePresheafPullback.Construction.freeOpenPullbackIso f V).hom) ≫ |
| 62 | (FreePresheafTensor.Construction.freeOpenTensorIso X (f ⁻¹ᵁ U) (f ⁻¹ᵁ V)).hom) := by |
| 63 | rw [freeTensorPullbackComparison] |
| 64 | exact (inferInstance : IsIso |
| 65 | (((PresheafTensorPullback.Construction.modulePresheafPullback f).mapIso (FreePresheafTensor.Construction.freeOpenTensorIso Y U V) ≪≫ |
| 66 | FreePresheafPullback.Construction.freeOpenPullbackIso f (U ⊓ V)).hom)) |
| 67 | exact IsIso.of_isIso_comp_right _ |
| 68 | (((FreePresheafPullback.Construction.freeOpenPullbackIso f U).hom ⊗ₘ (FreePresheafPullback.Construction.freeOpenPullbackIso f V).hom) ≫ |
| 69 | (FreePresheafTensor.Construction.freeOpenTensorIso X (f ⁻¹ᵁ U) (f ⁻¹ᵁ V)).hom) |
| 70 | |
| 71 | end Construction |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.FreeTensorPullbackIso |