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.Quotients.FiniteDescent.BinaryTensorPrecomp |
| 2 | |
| 3 | /-! # Binary Tensor Is -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.BinaryTensorIs.Construction.BinaryTensorRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Naturality of the actual binary tensor-sheaf comparison under restriction. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) |
| 16 | |
| 17 | def homEquiv (P : X.Modules) : |
| 18 | ((AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N).restrict f ⟶ P) ≃ AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap (M.restrict f) (N.restrict f) P := |
| 19 | (AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictedCorepresentable f M N).homEquiv |
| 20 | |
| 21 | theorem postcomp {P : X.Modules} (h : (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N).restrict f ⟶ P) : |
| 22 | ((BinaryTensorPrecomp.Construction.BinaryTensorUniversal.bilinear M N).restrict f).postcomp h = BinaryTensorRestriction.homEquiv f M N P h := by |
| 23 | apply (AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N P).injective |
| 24 | rw [AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv_postcomp] |
| 25 | change ((((BinaryTensorPrecomp.Construction.BinaryTensorUniversal.bilinear M N).restrict f).pushforward f).precomp |
| 26 | ((Scheme.Modules.restrictAdjunction f).unit.app M) |
| 27 | ((Scheme.Modules.restrictAdjunction f).unit.app N)).postcomp |
| 28 | ((Scheme.Modules.pushforward f).map h) = _ |
| 29 | rw [AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrict_unit_naturality, ← AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.postcomp_comp] |
| 30 | exact (BinaryTensorPrecomp.Construction.BinaryTensorUniversal.postcomp |
| 31 | ((Scheme.Modules.restrictAdjunction f).homEquiv (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) P h)).trans |
| 32 | ((AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N P).apply_symm_apply _).symm |
| 33 | |
| 34 | theorem iso_spec : ((BinaryTensorPrecomp.Construction.BinaryTensorUniversal.bilinear M N).restrict f).postcomp |
| 35 | (AbelianModuli.HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso f M N).hom = |
| 36 | BinaryTensorPrecomp.Construction.BinaryTensorUniversal.bilinear (M.restrict f) (N.restrict f) := by |
| 37 | rw [BinaryTensorRestriction.postcomp] |
| 38 | exact (BinaryTensorRestriction.homEquiv f M N _).apply_symm_apply _ |
| 39 | |
| 40 | theorem hom_ext {P : X.Modules} {a b : (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N).restrict f ⟶ P} |
| 41 | (h : ((BinaryTensorPrecomp.Construction.BinaryTensorUniversal.bilinear M N).restrict f).postcomp a = |
| 42 | ((BinaryTensorPrecomp.Construction.BinaryTensorUniversal.bilinear M N).restrict f).postcomp b) : a = b := by |
| 43 | rw [BinaryTensorRestriction.postcomp, BinaryTensorRestriction.postcomp] at h |
| 44 | exact (BinaryTensorRestriction.homEquiv f M N P).injective h |
| 45 | |
| 46 | theorem naturality {M' N' : Y.Modules} (a : M ⟶ M') (b : N ⟶ N') : |
| 47 | (Scheme.Modules.restrictFunctor f).map (BinaryTensorId.Construction.BinaryTensorMap.map a b) ≫ |
| 48 | (AbelianModuli.HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso f M' N').hom = |
| 49 | (AbelianModuli.HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso f M N).hom ≫ |
| 50 | BinaryTensorId.Construction.BinaryTensorMap.map ((Scheme.Modules.restrictFunctor f).map a) |
| 51 | ((Scheme.Modules.restrictFunctor f).map b) := by |
| 52 | apply hom_ext f M N |
| 53 | rw [AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.postcomp_comp, ← AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrict_postcomp, |
| 54 | BinaryTensorPrecomp.Construction.BinaryTensorUniversal.map_spec, AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrict_precomp, |
| 55 | ← AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.precomp_postcomp, iso_spec, |
| 56 | AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.postcomp_comp, iso_spec, BinaryTensorPrecomp.Construction.BinaryTensorUniversal.map_spec] |
| 57 | |
| 58 | theorem isIso_map_iff {M' N' : Y.Modules} (a : M ⟶ M') (b : N ⟶ N') : |
| 59 | IsIso ((Scheme.Modules.restrictFunctor f).map (BinaryTensorId.Construction.BinaryTensorMap.map a b)) ↔ |
| 60 | IsIso (BinaryTensorId.Construction.BinaryTensorMap.map ((Scheme.Modules.restrictFunctor f).map a) |
| 61 | ((Scheme.Modules.restrictFunctor f).map b)) := by |
| 62 | have he := congrArg (fun z => IsIso z) (naturality f M N a b) |
| 63 | simpa only [isIso_comp_right_iff, isIso_comp_left_iff] using he.to_iff |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.BinaryTensorIs.Construction.BinaryTensorRestriction |