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.AbelianModuli.HilbertConstruction.Bilinear.PullbackComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackOpen |
| 3 | |
| 4 | /-! # Pullback Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical tensor-pullback comparison commutes with composition. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y Z : Scheme.{u}} |
| 17 | |
| 18 | theorem tensorPullbackComparison_comp (f : X ⟶ Y) (g : Y ⟶ Z) (M N : Z.Modules) : |
| 19 | (Scheme.Modules.pullback f).map (PullbackComparison.tensorPullbackComparison g M N) ≫ |
| 20 | PullbackComparison.tensorPullbackComparison f ((Scheme.Modules.pullback g).obj M) |
| 21 | ((Scheme.Modules.pullback g).obj N) ≫ |
| 22 | Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackComp f g).hom.app M) |
| 23 | ((Scheme.Modules.pullbackComp f g).hom.app N) = |
| 24 | (Scheme.Modules.pullbackComp f g).hom.app (ProductSheaf.tensorModule M N) ≫ |
| 25 | PullbackComparison.tensorPullbackComparison (f ≫ g) M N := by |
| 26 | let P := ProductSheaf.tensorModule ((Scheme.Modules.pullback (f ≫ g)).obj M) |
| 27 | ((Scheme.Modules.pullback (f ≫ g)).obj N) |
| 28 | apply ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ P).injective |
| 29 | apply ((Scheme.Modules.pullbackPushforwardAdjunction g).homEquiv _ |
| 30 | ((Scheme.Modules.pushforward f).obj P)).injective |
| 31 | apply (cancel_mono ((Scheme.Modules.pushforwardComp f g).hom.app P)).mp |
| 32 | apply (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N _).injective |
| 33 | rw [Pullback.TensorCompositionUnits.pullbackComp_homEquiv, PullbackComparison.tensorPullbackComparison_spec, |
| 34 | Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv_postcomp, |
| 35 | (Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv_naturality_left] |
| 36 | let a := Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackComp f g).hom.app M) |
| 37 | ((Scheme.Modules.pullbackComp f g).hom.app N) |
| 38 | have hf := PullbackOpen.tensorPullbackComparison_homEquiv f ((Scheme.Modules.pullback g).obj M) |
| 39 | ((Scheme.Modules.pullback g).obj N) P a |
| 40 | have hg := PullbackOpen.tensorPullbackComparison_homEquiv g M N ((Scheme.Modules.pushforward f).obj P) |
| 41 | ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ P |
| 42 | (PullbackComparison.tensorPullbackComparison f ((Scheme.Modules.pullback g).obj M) |
| 43 | ((Scheme.Modules.pullback g).obj N) ≫ a)) |
| 44 | have ha : Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv _ _ P a = |
| 45 | (Bifunctor.tensorBilinear ((Scheme.Modules.pullback (f ≫ g)).obj M) |
| 46 | ((Scheme.Modules.pullback (f ≫ g)).obj N)).precomp |
| 47 | ((Scheme.Modules.pullbackComp f g).hom.app M) |
| 48 | ((Scheme.Modules.pullbackComp f g).hom.app N) := |
| 49 | (Bifunctor.tensorBilinear_postcomp a).symm.trans (Bifunctor.tensorModuleMap_spec _ _) |
| 50 | exact (congrArg (fun β => β.postcomp ((Scheme.Modules.pushforwardComp f g).hom.app P)) hg).trans |
| 51 | ((congrArg (fun β => (PullbackComparison.bilinearPullbackUnit g M N ((Scheme.Modules.pushforward f).obj P) β).postcomp |
| 52 | ((Scheme.Modules.pushforwardComp f g).hom.app P)) hf).trans |
| 53 | ((congrArg (fun β => (PullbackComparison.bilinearPullbackUnit g M N ((Scheme.Modules.pushforward f).obj P) |
| 54 | (PullbackComparison.bilinearPullbackUnit f ((Scheme.Modules.pullback g).obj M) |
| 55 | ((Scheme.Modules.pullback g).obj N) P β)).postcomp |
| 56 | ((Scheme.Modules.pushforwardComp f g).hom.app P)) ha).trans |
| 57 | (Bilinear.PullbackComposition.bilinearPullbackUnit_comp f g M N P _))) |
| 58 | |
| 59 | theorem tensorPullbackComparison_isIso_of_trivial {M N : Y.Modules} (f : X ⟶ Y) |
| 60 | (e : M ≅ Line.Bundles.structureModule Y) (d : N ≅ Line.Bundles.structureModule Y) |
| 61 | [IsIso (PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y))] : |
| 62 | IsIso (PullbackComparison.tensorPullbackComparison f M N) := by |
| 63 | have h : IsIso (PullbackComparison.tensorPullbackComparison f M N ≫ |
| 64 | Bifunctor.tensorModuleMap ((Scheme.Modules.pullback f).map e.hom) |
| 65 | ((Scheme.Modules.pullback f).map d.hom)) := by |
| 66 | rw [← PullbackComparison.tensorPullbackComparison_natural] |
| 67 | infer_instance |
| 68 | exact (isIso_comp_right_iff _ _).mp h |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackComposition |