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.ReciprocalFrameTensorIsomorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bilinear.Sheaves |
| 3 | |
| 4 | /-! # Reciprocal Frame Pairing Values -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual reciprocal-frame tensor pairing multiplies the two frame coordinates on every subordinate open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {X : Scheme.{u}} {ι : Type v} {U : ι → X.Opens} {D : OpenFrame.Transitions.OpenFrameTransitions U} |
| 18 | variable {M N : X.Modules} (E : CompatibleSheaf.CompatibleSheafFrames D M) (F : CompatibleSheaf.CompatibleSheafFrames D.reciprocal N) |
| 19 | variable (hU : ∀ x : X, ∃ i, x ∈ U i) |
| 20 | |
| 21 | def CompatibleSheaf.CompatibleSheafFrames.reciprocalPairing : Bilinear.Sheaves.SheafBilinearMap M N (Line.Bundles.structureModule X) := |
| 22 | Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N (Line.Bundles.structureModule X) (E.reciprocalTensorIso F hU).hom |
| 23 | |
| 24 | theorem CompatibleSheaf.CompatibleSheafFrames.reciprocalPairing_app (V : X.Opens) (i : ι) (hi : V ≤ U i) |
| 25 | (x : Γ(M, V)) (y : Γ(N, V)) : |
| 26 | (E.reciprocalPairing F hU).app V x y = |
| 27 | (E.frame V i hi).symm x * (F.frame V i hi).symm y := by |
| 28 | let W : Module.OpenMapGluing.SubordinateOpenIndex U := ⟨V, i, hi⟩ |
| 29 | let z : Γ(M, V) ⊗[Γ(X, V)] Γ(N, V) := x ⊗ₜ[Γ(X, V)] y |
| 30 | have he := (E.reciprocalTensorBasisMap F).extend_app |
| 31 | (Module.OpenMapGluing.subordinateOpenBasis_isBasis U hU) W z |
| 32 | have ha : Tensor.ProductSheaf.tensorModuleHomEquiv M N (Line.Bundles.structureModule X) (E.reciprocalTensorIso F hU).hom = |
| 33 | (E.reciprocalTensorBasisMap F).extend (Module.OpenMapGluing.subordinateOpenBasis_isBasis U hU) := by |
| 34 | exact ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv _ _).apply_symm_apply _ |
| 35 | change (Tensor.ProductSheaf.tensorModuleHomEquiv M N (Line.Bundles.structureModule X) (E.reciprocalTensorIso F hU).hom).app |
| 36 | (.op V) (x ⊗ₜ[Γ(X, V)] y) = _ |
| 37 | rw [ha] |
| 38 | exact he.trans ((congrArg (fun e : Γ(M, V) ⊗[Γ(X, V)] Γ(N, V) ≃ₗ[Γ(X, V)] Γ(X, V) => |
| 39 | e (x ⊗ₜ[Γ(X, V)] y)) (E.reciprocalTensorCoordinate_independent F V |
| 40 | (Classical.choose W.property) i (Classical.choose_spec W.property) hi)).trans |
| 41 | (E.reciprocalTensorCoordinate_tmul F V i hi x y)) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |