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.SheafCohomology.TensorBundles |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.TensorFrames |
| 3 | |
| 4 | /-! # Tensor Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.TensorCoordinates.Projective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coordinates of the constructed local tensor frame on pure tensors. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | variable (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (U : A.carrier.Opens) |
| 16 | variable (M N : SheafOfModules.{0} (A.carrier.ringCatSheaf.over U)) |
| 17 | variable (e : M ≅ SheafOfModules.unit (A.carrier.ringCatSheaf.over U)) |
| 18 | variable (f : N ≅ SheafOfModules.unit (A.carrier.ringCatSheaf.over U)) |
| 19 | |
| 20 | def localTensorFrame : TensorBundles.Projective.localTensor A U M N ≅ SheafOfModules.unit |
| 21 | (A.carrier.ringCatSheaf.over U) := |
| 22 | TensorBundles.Projective.localTensorIso A U e f ≪≫ TensorBundles.Projective.localTensorUnitIso A U |
| 23 | |
| 24 | def tensorPresheafFrame : |
| 25 | PresheafOfModulesOfCommRing.Monoidal.tensorObj |
| 26 | (R := (Over.forget U).op ⋙ A.carrier.presheaf) M.val N.val ⟶ |
| 27 | (SheafOfModules.unit (A.carrier.ringCatSheaf.over U)).val := |
| 28 | PresheafOfModulesOfCommRing.Monoidal.tensorHom |
| 29 | (R := (Over.forget U).op ⋙ A.carrier.presheaf) e.hom.val f.hom.val ≫ |
| 30 | (MonoidalCategory.leftUnitor |
| 31 | (C := PresheafOfModules.{0} |
| 32 | (((Over.forget U).op ⋙ A.carrier.presheaf) ⋙ forget₂ CommRingCat RingCat)) |
| 33 | (SheafOfModules.unit (A.carrier.ringCatSheaf.over U)).val).hom |
| 34 | |
| 35 | set_option backward.isDefEq.respectTransparency false in |
| 36 | theorem localTensorFrame_eq_adjunct : |
| 37 | (localTensorFrame A U M N e f).hom = |
| 38 | ((PresheafOfModules.sheafificationAdjunction |
| 39 | (𝟙 (A.carrier.ringCatSheaf.over U).obj)).homEquiv _ _).symm |
| 40 | (tensorPresheafFrame A U M N e f) := by |
| 41 | erw [Adjunction.homEquiv_counit] |
| 42 | unfold localTensorFrame TensorBundles.Projective.localTensorIso TensorBundles.Projective.localTensorUnitIso tensorPresheafFrame |
| 43 | simp only [Iso.trans_hom, Functor.mapIso_hom, |
| 44 | Functor.map_comp, Category.assoc] |
| 45 | rfl |
| 46 | |
| 47 | /-- On the presheaf before sheafification, the actual sheaf frame is the |
| 48 | product of the original coordinates. -/ |
| 49 | theorem localTensorFrame_unit : |
| 50 | (PresheafOfModules.sheafificationAdjunction |
| 51 | (𝟙 (A.carrier.ringCatSheaf.over U).obj)).unit.app |
| 52 | (PresheafOfModulesOfCommRing.Monoidal.tensorObj |
| 53 | (R := (Over.forget U).op ⋙ A.carrier.presheaf) M.val N.val) ≫ |
| 54 | (localTensorFrame A U M N e f).hom.val = tensorPresheafFrame A U M N e f := by |
| 55 | change ((PresheafOfModules.sheafificationAdjunction |
| 56 | (𝟙 (A.carrier.ringCatSheaf.over U).obj)).homEquiv _ _) |
| 57 | (localTensorFrame A U M N e f).hom = _ |
| 58 | erw [localTensorFrame_eq_adjunct] |
| 59 | exact Equiv.apply_symm_apply _ _ |
| 60 | |
| 61 | set_option backward.isDefEq.respectTransparency false in |
| 62 | /-- The section coordinates of a pure tensor multiply. Both the tensor |
| 63 | section and the frame are the actual maps through sheafification. -/ |
| 64 | theorem localTensorFrame_unit_tmul (V : Over U) |
| 65 | (m : M.val.obj (Opposite.op V)) (n : N.val.obj (Opposite.op V)) : |
| 66 | (localTensorFrame A U M N e f).hom.val.app (Opposite.op V) |
| 67 | (((PresheafOfModules.sheafificationAdjunction |
| 68 | (𝟙 (A.carrier.ringCatSheaf.over U).obj)).unit.app |
| 69 | (PresheafOfModulesOfCommRing.Monoidal.tensorObj |
| 70 | (R := (Over.forget U).op ⋙ A.carrier.presheaf) M.val N.val)).app |
| 71 | (Opposite.op V) (m ⊗ₜ[Γ(A.carrier, V.left)] n)) = |
| 72 | @HMul.hMul Γ(A.carrier, V.left) Γ(A.carrier, V.left) Γ(A.carrier, V.left) |
| 73 | inferInstance (e.hom.val.app (Opposite.op V) m) |
| 74 | (f.hom.val.app (Opposite.op V) n) := by |
| 75 | have h := congrArg (fun k => k.app (Opposite.op V)) |
| 76 | (localTensorFrame_unit A U M N e f) |
| 77 | have hm := congrArg (fun k => k (m ⊗ₜ[Γ(A.carrier, V.left)] n)) h |
| 78 | exact hm.trans (by rfl) |
| 79 | |
| 80 | set_option backward.isDefEq.respectTransparency false in |
| 81 | /-- Evaluating a sheaf frame gives a linear frame of its module of sections. -/ |
| 82 | def sliceSectionFrame (V : Over U) : |
| 83 | M.val.obj (Opposite.op V) ≃ₗ[Γ(A.carrier, V.left)] Γ(A.carrier, V.left) := |
| 84 | ((SheafOfModules.evaluation (A.carrier.ringCatSheaf.over U) |
| 85 | (Opposite.op V)).mapIso e).toLinearEquiv |
| 86 | |
| 87 | set_option backward.isDefEq.respectTransparency false in |
| 88 | /-- The actual sheaf tensor frames have the product transition unit on |
| 89 | every object of the slice site. -/ |
| 90 | theorem localTensorSectionFrame_transition |
| 91 | (e' : M ≅ SheafOfModules.unit (A.carrier.ringCatSheaf.over U)) |
| 92 | (f' : N ≅ SheafOfModules.unit (A.carrier.ringCatSheaf.over U)) (V : Over U) : |
| 93 | DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit |
| 94 | (sliceSectionFrame A U (TensorBundles.Projective.localTensor A U M N) (localTensorFrame A U M N e f) V) |
| 95 | (sliceSectionFrame A U (TensorBundles.Projective.localTensor A U M N) (localTensorFrame A U M N e' f') V) = |
| 96 | DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit (sliceSectionFrame A U M e V) |
| 97 | (sliceSectionFrame A U M e' V) * |
| 98 | DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit (sliceSectionFrame A U N f V) |
| 99 | (sliceSectionFrame A U N f' V) := by |
| 100 | apply TensorFrames.Projective.frameTransitionUnit_of_product_coordinates _ _ _ _ _ _ |
| 101 | (fun m n => ((PresheafOfModules.sheafificationAdjunction |
| 102 | (𝟙 (A.carrier.ringCatSheaf.over U).obj)).unit.app |
| 103 | (PresheafOfModulesOfCommRing.Monoidal.tensorObj |
| 104 | (R := (Over.forget U).op ⋙ A.carrier.presheaf) M.val N.val)).app |
| 105 | (Opposite.op V) (m ⊗ₜ[Γ(A.carrier, V.left)] n)) |
| 106 | · exact localTensorFrame_unit_tmul A U M N e f V |
| 107 | · exact localTensorFrame_unit_tmul A U M N e' f' V |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.SheafCohomology.TensorCoordinates.Projective |