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.ReferenceFamily.Tensor.FrameCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.ChernClasses |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Powers |
| 4 | |
| 5 | /-! # Line Frame Atlas -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LineFrameAtlas |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! All actual local frames of a line-bundle sheaf form an atlas. Its |
| 14 | transition units commute with restriction. Using all frames permits |
| 15 | tensor and pullback comparisons without synchronizing arbitrary choices. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Powers |
| 20 | |
| 21 | variable {X : Scheme.{0}} |
| 22 | |
| 23 | structure LocalLineFrame (M : X.Modules) where |
| 24 | domain : X.Opens |
| 25 | frame : M.restrict domain.ι ≅ HilbertConstruction.Line.Bundles.structureModule domain.toScheme |
| 26 | |
| 27 | namespace LocalLineFrame |
| 28 | |
| 29 | variable {M N : X.Modules} |
| 30 | |
| 31 | def coordinates (s : LocalLineFrame M) (U : X.Opens) (hU : U ≤ s.domain) : |
| 32 | Γ(M, U) ≃ₗ[Γ(X, U)] Γ(X, U) := DivisorClass.Chern.FramesFrame.Construction.frameOnOpen M s.domain s.frame U hU |
| 33 | |
| 34 | theorem coordinates_restrict (s : LocalLineFrame M) {U V : X.Opens} |
| 35 | (hVU : V ≤ U) (hU : U ≤ s.domain) (x : Γ(M, U)) : |
| 36 | s.coordinates V (hVU.trans hU) (M.presheaf.map (homOfLE hVU).op x) = |
| 37 | X.presheaf.map (homOfLE hVU).op (s.coordinates U hU x) := |
| 38 | DivisorClass.Chern.FramesFrame.Construction.frameOnOpen_naturality M s.domain s.frame hVU hU x |
| 39 | |
| 40 | def transition (s t : LocalLineFrame M) (U : X.Opens) (hs : U ≤ s.domain) (ht : U ≤ t.domain) : |
| 41 | Γ(X, U)ˣ := DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit (s.coordinates U hs) (t.coordinates U ht) |
| 42 | |
| 43 | theorem transition_restrict (s t : LocalLineFrame M) {U V : X.Opens} |
| 44 | (hVU : V ≤ U) (hs : U ≤ s.domain) (ht : U ≤ t.domain) : |
| 45 | Units.map (X.presheaf.map (homOfLE hVU).op).hom.toMonoidHom (s.transition t U hs ht) = |
| 46 | s.transition t V (hVU.trans hs) (hVU.trans ht) := |
| 47 | DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit_map (X.presheaf.map (homOfLE hVU).op).hom |
| 48 | (M.presheaf.map (homOfLE hVU).op) _ _ _ _ |
| 49 | (s.coordinates_restrict hVU hs) (t.coordinates_restrict hVU ht) |
| 50 | |
| 51 | theorem transition_cocycle (s t r : LocalLineFrame M) (U : X.Opens) |
| 52 | (hs : U ≤ s.domain) (ht : U ≤ t.domain) (hr : U ≤ r.domain) : |
| 53 | s.transition t U hs ht * t.transition r U ht hr = s.transition r U hs hr := |
| 54 | DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit_cocycle _ _ _ |
| 55 | |
| 56 | def tensor (s : LocalLineFrame M) (t : LocalLineFrame N) : LocalLineFrame (HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) where |
| 57 | domain := s.domain ⊓ t.domain |
| 58 | frame := HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso (s.domain ⊓ t.domain).ι M N ≪≫ |
| 59 | SheafTensorFrames.tensorSheafFrame (DivisorClass.Chern.Line.Bundles.Construction.restrictTrivialization s.frame inf_le_left) |
| 60 | (DivisorClass.Chern.Line.Bundles.Construction.restrictTrivialization t.frame inf_le_right) |
| 61 | |
| 62 | end LocalLineFrame |
| 63 | |
| 64 | theorem localLineFrames_cover (L : HilbertConstruction.Line.Bundles.LineBundle X) (x : X) : |
| 65 | ∃ s : LocalLineFrame L.sheaf, x ∈ s.domain := by |
| 66 | obtain ⟨U, hx, ⟨e⟩⟩ := L.locallyTrivial x |
| 67 | exact ⟨⟨U, (Scheme.Modules.restrictFunctorIsoPullback U.ι).app L.sheaf ≪≫ e⟩, hx⟩ |
| 68 | |
| 69 | end |
| 70 | |
| 71 | /-! Literal local coefficients of an algebraic line-sheaf morphism, |
| 72 | their restriction law, and their change-of-frame identity. -/ |
| 73 | |
| 74 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 75 | |
| 76 | theorem rankOne_coordinate_expansion {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 77 | (e : M ≃ₗ[R] R) (x : M) : x = e x • e.symm 1 := by |
| 78 | apply e.injective |
| 79 | rw [e.map_smul, e.apply_symm_apply, smul_eq_mul, mul_one] |
| 80 | |
| 81 | theorem rankOneLinearMap_coefficient {R M N : Type*} [CommRing R] |
| 82 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 83 | (f : M →ₗ[R] N) (e : M ≃ₗ[R] R) (g : N ≃ₗ[R] R) (x : M) : |
| 84 | g (f x) = e x * g (f (e.symm 1)) := by |
| 85 | calc |
| 86 | g (f x) = g (f (e x • e.symm 1)) := congrArg (fun y => g (f y)) (rankOne_coordinate_expansion e x) |
| 87 | _ = _ := by rw [f.map_smul, g.map_smul, smul_eq_mul] |
| 88 | |
| 89 | theorem rankOneLinearMap_frame_change {R M N : Type*} [CommRing R] |
| 90 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 91 | (f : M →ₗ[R] N) (e₀ e₁ : M ≃ₗ[R] R) (g₀ g₁ : N ≃ₗ[R] R) : |
| 92 | (DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit e₀ e₁ : R) * g₀ (f (e₀.symm 1)) = |
| 93 | g₁ (f (e₁.symm 1)) * (DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit g₀ g₁ : R) := |
| 94 | (rankOneLinearMap_coefficient f e₀ g₀ (e₁.symm 1)).symm.trans |
| 95 | (rankOneLinearMap_coefficient LinearMap.id g₁ g₀ (f (e₁.symm 1))) |
| 96 | |
| 97 | variable {X : Scheme.{0}} {M N : X.Modules} |
| 98 | |
| 99 | def lineMorphismCoefficient (f : M ⟶ N) (r : LocalLineFrame M) (s : LocalLineFrame N) |
| 100 | (U : X.Opens) (hr : U ≤ r.domain) (hs : U ≤ s.domain) : Γ(X, U) := |
| 101 | s.coordinates U hs (f.app U ((r.coordinates U hr).symm 1)) |
| 102 | |
| 103 | theorem lineMorphismCoefficient_restrict (f : M ⟶ N) (r : LocalLineFrame M) (s : LocalLineFrame N) |
| 104 | {U V : X.Opens} (h : V ≤ U) (hr : U ≤ r.domain) (hs : U ≤ s.domain) : |
| 105 | lineMorphismCoefficient f r s V (h.trans hr) (h.trans hs) = |
| 106 | X.presheaf.map (homOfLE h).op (lineMorphismCoefficient f r s U hr hs) := by |
| 107 | have he : M.presheaf.map (homOfLE h).op ((r.coordinates U hr).symm 1) = |
| 108 | (r.coordinates V (h.trans hr)).symm 1 := by |
| 109 | apply (r.coordinates V (h.trans hr)).injective |
| 110 | rw [r.coordinates_restrict h hr, LinearEquiv.apply_symm_apply, map_one, LinearEquiv.apply_symm_apply] |
| 111 | have hn := ConcreteCategory.congr_hom (f.mapPresheaf.naturality (homOfLE h).op) |
| 112 | ((r.coordinates U hr).symm 1) |
| 113 | change f.app V (M.presheaf.map (homOfLE h).op ((r.coordinates U hr).symm 1)) = |
| 114 | N.presheaf.map (homOfLE h).op (f.app U ((r.coordinates U hr).symm 1)) at hn |
| 115 | exact (congrArg (fun y => s.coordinates V (h.trans hs) (f.app V y)) he.symm).trans |
| 116 | ((congrArg (s.coordinates V (h.trans hs)) hn).trans |
| 117 | (s.coordinates_restrict h hs (f.app U ((r.coordinates U hr).symm 1)))) |
| 118 | |
| 119 | theorem lineMorphismCoefficient_frame_change (f : M ⟶ N) |
| 120 | (r₀ r₁ : LocalLineFrame M) (s₀ s₁ : LocalLineFrame N) (U : X.Opens) |
| 121 | (hr₀ : U ≤ r₀.domain) (hr₁ : U ≤ r₁.domain) (hs₀ : U ≤ s₀.domain) (hs₁ : U ≤ s₁.domain) : |
| 122 | (r₀.transition r₁ U hr₀ hr₁ : Γ(X, U)) * lineMorphismCoefficient f r₀ s₀ U hr₀ hs₀ = |
| 123 | lineMorphismCoefficient f r₁ s₁ U hr₁ hs₁ * (s₀.transition s₁ U hs₀ hs₁ : Γ(X, U)) := |
| 124 | rankOneLinearMap_frame_change (HilbertConstruction.Tensor.Powers.SheafMultilinearMap.homApp f U) |
| 125 | (r₀.coordinates U hr₀) (r₁.coordinates U hr₁) (s₀.coordinates U hs₀) (s₁.coordinates U hs₁) |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LineFrameAtlas |