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.DualLine |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.Evaluation |
| 3 | |
| 4 | /-! # Dual Evaluation Eq -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.DualEvaluationEq.Construction.DualEvaluationFrames |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluation against the dual is invertible in every rank-one frame. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.Evaluation.SheafOfModules |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 19 | |
| 20 | local instance : ∀ V, IsMulCommutative (X.ringCatSheaf.obj.obj V) := fun V => by |
| 21 | change IsMulCommutative (X.presheaf.obj V) |
| 22 | exact IsMulCommutative.of_comm fun a b => mul_comm a b |
| 23 | |
| 24 | /-- A frame on the over-site identifies sections over its terminal open with scalars. -/ |
| 25 | def coordinates (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 26 | Γ(M, U) ≃ₗ[Γ(X, U)] Γ(X, U) := |
| 27 | ((_root_.SheafOfModules.evaluation (X.ringCatSheaf.over U) |
| 28 | (op (Over.mk (𝟙 U)))).mapIso e).toLinearEquiv |
| 29 | |
| 30 | def dualCoordinates (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 31 | Γ(SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M, U) ≃ₗ[Γ(X, U)] Γ(X, U) := |
| 32 | SheafCohomology.Projective.Dual.SheafOfModules.dualTrivializationLinearEquiv X.ringCatSheaf M U e |
| 33 | |
| 34 | /-- The value of a functional is the product of its dual coordinate and the |
| 35 | coordinate of the section. -/ |
| 36 | theorem eval_eq (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 37 | (m : Γ(M, U)) (φ : Γ(SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M, U)) : |
| 38 | SheafCohomology.Projective.Evaluation.SheafOfModules.evalSection X.ringCatSheaf M U φ m = |
| 39 | coordinates M U e m * dualCoordinates M U e φ := by |
| 40 | let T : Over U := Over.mk (𝟙 U) |
| 41 | let r : Γ(X, U) := coordinates M U e m |
| 42 | let c := coordinates M U e |
| 43 | have hm : m = r • c.symm (1 : Γ(X, U)) := by |
| 44 | rw [← c.symm.map_smul, smul_eq_mul, mul_one] |
| 45 | exact (c.symm_apply_apply m).symm |
| 46 | let a : Γ(M, U) →ₗ[Γ(X, U)] Γ(X, U) := (φ.val.app (op T)).hom |
| 47 | change a (M.val.map (𝟙 U).op m) = r * a (c.symm (1 : Γ(X, U))) |
| 48 | rw [op_id, M.val.map_id] |
| 49 | change a m = r * a (c.symm (1 : Γ(X, U))) |
| 50 | rw [hm, a.map_smul] |
| 51 | rfl |
| 52 | |
| 53 | /-- In a frame, presheaf evaluation is the tensor product of two scalar |
| 54 | coordinate equivalences followed by multiplication. -/ |
| 55 | def evaluationEquiv (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 56 | (Γ(M, U) ⊗[Γ(X, U)] Γ(SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M, U)) ≃ₗ[Γ(X, U)] Γ(X, U) := |
| 57 | (TensorProduct.congr (coordinates M U e) |
| 58 | (dualCoordinates M U e)).trans |
| 59 | (TensorProduct.lid Γ(X, U) Γ(X, U)) |
| 60 | |
| 61 | theorem evaluationEquiv_eq (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 62 | (t : Γ(M, U) ⊗[Γ(X, U)] Γ(SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M, U)) : |
| 63 | evaluationEquiv M U e t = (SheafCohomology.Projective.Evaluation.Scheme.Modules.evPre M).app (op U) t := by |
| 64 | induction t using TensorProduct.inductionOn with |
| 65 | | tmul m φ => exact (eval_eq M U e m φ).symm |
| 66 | | add t₁ t₂ h₁ h₂ => |
| 67 | rw [map_add, h₁, h₂] |
| 68 | exact (map_add ((SheafCohomology.Projective.Evaluation.Scheme.Modules.evPre M).app (op U)).hom t₁ t₂).symm |
| 69 | |
| 70 | theorem bijective (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 71 | Function.Bijective ((SheafCohomology.Projective.Evaluation.Scheme.Modules.evPre M).app (op U)) := by |
| 72 | have h : ⇑((SheafCohomology.Projective.Evaluation.Scheme.Modules.evPre M).app (op U)) = ⇑(evaluationEquiv M U e) := by |
| 73 | funext t |
| 74 | exact (evaluationEquiv_eq M U e t).symm |
| 75 | rw [h] |
| 76 | exact (evaluationEquiv M U e).bijective |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.DualEvaluationEq.Construction.DualEvaluationFrames |