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.PoincareBundle.Tensor.FixedRestriction |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.PullbackSwap |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.SwapNaturality |
| 4 | |
| 5 | /-! # Exchanged Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.ExchangedRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exchanged line factors give a normalized tensor symmetry when their restricted identifications agree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.LinePullback OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.FixedRestriction |
| 18 | |
| 19 | theorem normalized_exchange {X Y : Scheme.{u}} (p : X ⟶ Y) (g : Y ⟶ Y) (h : p ≫ g = p) |
| 20 | (M N : Y.Modules) (hM : Line.Bundles.IsLine M) (hN : Line.Bundles.IsLine N) |
| 21 | (a : (Scheme.Modules.pullback g).obj M ≅ N) (b : (Scheme.Modules.pullback g).obj N ≅ M) |
| 22 | (e : (Scheme.Modules.pullback p).obj M ≅ (Scheme.Modules.pullback p).obj N) |
| 23 | (ha : (Scheme.Modules.pullback p).mapIso a = FixedRestriction.comparison p g h M ≪≫ e) |
| 24 | (hb : (Scheme.Modules.pullback p).mapIso b = FixedRestriction.comparison p g h N ≪≫ e.symm) : |
| 25 | (Scheme.Modules.pullback p).mapIso |
| 26 | (LinePullback.pullbackIso g M N hM hN ≪≫ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr a b ≪≫ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCommIso N M) = |
| 27 | FixedRestriction.comparison p g h (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) := by |
| 28 | let F := Scheme.Modules.pullback p |
| 29 | let D := F.mapIso (LinePullback.pullbackIso g M N hM hN) |
| 30 | let R := LinePullback.pullbackIso p M N hM hN |
| 31 | let R' := LinePullback.pullbackIso p ((Scheme.Modules.pullback g).obj M) ((Scheme.Modules.pullback g).obj N) |
| 32 | (hM.pullback g) (hN.pullback g) |
| 33 | let K := AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr (FixedRestriction.comparison p g h M) (FixedRestriction.comparison p g h N) |
| 34 | let C := AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCommIso (F.obj N) (F.obj M) |
| 35 | have hlast : AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr (F.mapIso a) (F.mapIso b) ≪≫ C = K := by |
| 36 | calc |
| 37 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr (F.mapIso a) (F.mapIso b) ≪≫ C = |
| 38 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr (FixedRestriction.comparison p g h M ≪≫ e) (FixedRestriction.comparison p g h N ≪≫ e.symm) ≪≫ C := |
| 39 | congrArg (fun q => q ≪≫ C) (congrArg₂ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr ha hb) |
| 40 | _ = K ≪≫ (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr e e.symm ≪≫ C) := by |
| 41 | rw [← CongrComposition.trans, Iso.trans_assoc] |
| 42 | _ = K := by |
| 43 | rw [SwapNaturality.identified_swap (show ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle (F.obj M) from hM.pullback p) e, |
| 44 | Iso.trans_refl] |
| 45 | have hn := LineIsoCoherence.naturality p (hM.pullback g) hN (hN.pullback g) hM a b |
| 46 | have hs := PullbackSwap.iso_swap p N M hN hM |
| 47 | have he : F.mapIso |
| 48 | (LinePullback.pullbackIso g M N hM hN ≪≫ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr a b ≪≫ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCommIso N M) ≪≫ R = |
| 49 | FixedRestriction.comparison p g h (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) ≪≫ R := by |
| 50 | calc |
| 51 | F.mapIso (LinePullback.pullbackIso g M N hM hN ≪≫ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr a b ≪≫ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCommIso N M) ≪≫ R = |
| 52 | D ≪≫ F.mapIso (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr a b) ≪≫ (F.mapIso (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCommIso N M) ≪≫ R) := by |
| 53 | rw [Functor.mapIso_trans, Functor.mapIso_trans] |
| 54 | simp only [D, Iso.trans_assoc] |
| 55 | _ = D ≪≫ F.mapIso (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr a b) ≪≫ (LinePullback.pullbackIso p N M hN hM ≪≫ C) := |
| 56 | congrArg (fun q => D ≪≫ F.mapIso (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr a b) ≪≫ q) hs |
| 57 | _ = D ≪≫ (R' ≪≫ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr (F.mapIso a) (F.mapIso b)) ≪≫ C := by |
| 58 | rw [← Iso.trans_assoc (F.mapIso (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr a b)), hn] |
| 59 | _ = D ≪≫ R' ≪≫ K := by rw [Iso.trans_assoc, hlast] |
| 60 | _ = FixedRestriction.comparison p g h (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) ≪≫ R := FixedRestriction.tensor_comparison p g h M N hM hN |
| 61 | apply Iso.ext |
| 62 | apply (cancel_mono R.hom).mp |
| 63 | exact congrArg Iso.hom he |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.ExchangedRestriction |