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.Power.SectionTransitions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.SectionRestriction |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.RestrictionMaps |
| 4 | |
| 5 | /-! # Multiplication Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Multiplication by sections and all degree transitions commute with open |
| 13 | restriction under the canonical comparison of tensor-power sheaves. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X Y : Scheme.{u}} {L M N : Y.Modules} {n : ℕ} |
| 21 | |
| 22 | theorem Tensor.Powers.SheafMultilinearMap.insertSection_postcomp (β : Tensor.Powers.SheafMultilinearMap L (n + 1) M) |
| 23 | (s : Line.Bundles.structureModule Y ⟶ L) (a : M ⟶ N) : |
| 24 | (β.postcomp a).insertSection s = (β.insertSection s).postcomp a := by |
| 25 | ext U v |
| 26 | rfl |
| 27 | |
| 28 | theorem Tensor.Powers.SheafMultilinearMap.restrict_insertSection (f : X ⟶ Y) [IsOpenImmersion f] |
| 29 | (β : Tensor.Powers.SheafMultilinearMap L (n + 1) M) (s : Line.Bundles.structureModule Y ⟶ L) : |
| 30 | (β.insertSection s).restrict f = (β.restrict f).insertSection (Section.SectionRestriction.restrictSection f s) := by |
| 31 | ext U v |
| 32 | change β.app (f ''ᵁ U) (Fin.cons (s.app (f ''ᵁ U) (1 : Γ(Y, f ''ᵁ U))) v) = |
| 33 | β.app (f ''ᵁ U) (Fin.cons ((Section.SectionRestriction.restrictSection f s).app U (1 : Γ(X, U))) v) |
| 34 | exact congrArg (fun z : Γ(L, f ''ᵁ U) => β.app (f ''ᵁ U) (Fin.cons z v)) |
| 35 | (Section.SectionRestriction.restrictSection_app_one f s U).symm |
| 36 | |
| 37 | /-- Multiplication by a section commutes with the canonical restriction comparison. -/ |
| 38 | theorem Power.MultiplicationRestriction.tensorPowerRestrictIso_multiply (f : X ⟶ Y) [IsOpenImmersion f] |
| 39 | (s : Line.Bundles.structureModule Y ⟶ L) (n : ℕ) : |
| 40 | (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L n).hom ≫ (Scheme.Modules.restrictFunctor f).map (Section.PowerMultiplication.multiplyPowerBySection s n) = |
| 41 | Section.PowerMultiplication.multiplyPowerBySection (Section.SectionRestriction.restrictSection f s) n ≫ (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L (n + 1)).hom := by |
| 42 | have h₀ : (TensorPower.Maps.tensorPowerMultilinear (L.restrict f) n).postcomp (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L n).hom = |
| 43 | (TensorPower.Maps.tensorPowerMultilinear L n).restrict f := TensorPower.RestrictionMaps.tensorPowerRestrictHom_spec f L n |
| 44 | have h₁ : (TensorPower.Maps.tensorPowerMultilinear (L.restrict f) (n + 1)).postcomp |
| 45 | (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L (n + 1)).hom = |
| 46 | (TensorPower.Maps.tensorPowerMultilinear L (n + 1)).restrict f := TensorPower.RestrictionMaps.tensorPowerRestrictHom_spec f L (n + 1) |
| 47 | apply TensorPower.Maps.tensorPower_hom_ext |
| 48 | rw [Tensor.Powers.SheafMultilinearMap.postcomp_comp, h₀, ← Tensor.Powers.SheafMultilinearMap.restrict_postcomp, |
| 49 | Section.PowerMultiplication.multiplyPowerBySection_spec, Tensor.Powers.SheafMultilinearMap.restrict_insertSection, ← h₁, |
| 50 | Tensor.Powers.SheafMultilinearMap.insertSection_postcomp, ← Section.PowerMultiplication.multiplyPowerBySection_spec, |
| 51 | ← Tensor.Powers.SheafMultilinearMap.postcomp_comp] |
| 52 | |
| 53 | /-- Every iterated section transition commutes with open restriction. -/ |
| 54 | theorem Power.MultiplicationRestriction.tensorPowerRestrictIso_transition (f : X ⟶ Y) [IsOpenImmersion f] |
| 55 | (s : Line.Bundles.structureModule Y ⟶ L) (n m : ℕ) : |
| 56 | (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L n).hom ≫ (Scheme.Modules.restrictFunctor f).map (Power.SectionTransitions.powerSectionTransition s n m) = |
| 57 | Power.SectionTransitions.powerSectionTransition (Section.SectionRestriction.restrictSection f s) n m ≫ (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L (n + m)).hom := by |
| 58 | induction m with |
| 59 | | zero => |
| 60 | change (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L n).hom ≫ (Scheme.Modules.restrictFunctor f).map (𝟙 _) = |
| 61 | 𝟙 _ ≫ (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L n).hom |
| 62 | rw [(Scheme.Modules.restrictFunctor f).map_id, Category.comp_id, Category.id_comp] |
| 63 | | succ m ih => |
| 64 | change (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L n).hom ≫ (Scheme.Modules.restrictFunctor f).map |
| 65 | (Power.SectionTransitions.powerSectionTransition s n m ≫ Section.PowerMultiplication.multiplyPowerBySection s (n + m)) = |
| 66 | (Power.SectionTransitions.powerSectionTransition (Section.SectionRestriction.restrictSection f s) n m ≫ |
| 67 | Section.PowerMultiplication.multiplyPowerBySection (Section.SectionRestriction.restrictSection f s) (n + m)) ≫ |
| 68 | (TensorPower.RestrictionMaps.tensorPowerRestrictIso f L (n + m + 1)).hom |
| 69 | rw [(Scheme.Modules.restrictFunctor f).map_comp, ← Category.assoc, ih, Category.assoc, |
| 70 | Power.MultiplicationRestriction.tensorPowerRestrictIso_multiply, ← Category.assoc] |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |