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.CompatibleSheaf |
| 2 | |
| 3 | /-! # Compatible Frame Local -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CompatibleFrameLocal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Images of local frames in an arbitrary actual module sheaf, with restriction and transition equations. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {X : Scheme.{u}} {ι : Type v} {U : ι → X.Opens} |
| 16 | |
| 17 | structure CompatibleFrameImages (D : OpenFrame.Transitions.OpenFrameTransitions U) (N : X.Modules) where |
| 18 | value : ∀ (V : X.Opens) (i : ι), V ≤ U i → Γ(N, V) |
| 19 | restrict : ∀ (V W : X.Opens) (h : W ≤ V) (i : ι) (hi : V ≤ U i), |
| 20 | N.presheaf.map (homOfLE h).op (value V i hi) = value W i (h.trans hi) |
| 21 | change : ∀ (V : X.Opens) (i j : ι) (hi : V ≤ U i) (hj : V ≤ U j), |
| 22 | value V j hj = (D.value V i j hi hj).val • value V i hi |
| 23 | |
| 24 | namespace CompatibleFrameImages |
| 25 | |
| 26 | variable {D : OpenFrame.Transitions.OpenFrameTransitions U} {M N : X.Modules} |
| 27 | variable (E : CompatibleSheaf.CompatibleSheafFrames D M) (F : CompatibleFrameImages D N) |
| 28 | |
| 29 | def localMap (V : X.Opens) (i : ι) (hi : V ≤ U i) : Γ(M, V) →ₗ[Γ(X, V)] Γ(N, V) := |
| 30 | ((LinearMap.id : Γ(X, V) →ₗ[Γ(X, V)] Γ(X, V)).smulRight (F.value V i hi)).comp |
| 31 | (E.frame V i hi).symm.toLinearMap |
| 32 | |
| 33 | theorem localMap_independent (V : X.Opens) (i j : ι) (hi : V ≤ U i) (hj : V ≤ U j) : |
| 34 | F.localMap E V i hi = F.localMap E V j hj := by |
| 35 | apply LinearMap.ext |
| 36 | intro x |
| 37 | change (E.frame V i hi).symm x • F.value V i hi = (E.frame V j hj).symm x • F.value V j hj |
| 38 | rw [E.coordinate_change V i j hi hj, F.change V i j hi hj, smul_smul, mul_comm] |
| 39 | |
| 40 | theorem localMap_restrict (V W : X.Opens) (h : W ≤ V) (i j : ι) |
| 41 | (hi : W ≤ U i) (hj : V ≤ U j) (x : Γ(M, V)) : |
| 42 | F.localMap E W i hi (M.presheaf.map (homOfLE h).op x) = |
| 43 | N.presheaf.map (homOfLE h).op (F.localMap E V j hj x) := by |
| 44 | have he := LinearMap.congr_fun (F.localMap_independent E W i j hi (h.trans hj)) |
| 45 | (M.presheaf.map (homOfLE h).op x) |
| 46 | have hc := E.coordinate_restrict V W h j hj x |
| 47 | have hv := F.restrict V W h j hj |
| 48 | exact he.trans ((congrArg₂ (fun r : Γ(X, W) => fun s : Γ(N, W) => r • s) hc hv.symm).trans |
| 49 | (Scheme.Modules.map_smul N (homOfLE h) ((E.frame V j hj).symm x) (F.value V j hj)).symm) |
| 50 | |
| 51 | end CompatibleFrameImages |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CompatibleFrameLocal |