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 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InverseFrameTransitions |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ProductSheaf |
| 4 | |
| 5 | /-! # Reciprocal Frame Tensor Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Multiplying local frame coordinates pairs reciprocal frame cocycles with the structure sheaf. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {X : Scheme.{u}} {ι : Type v} {U : ι → X.Opens} {D : OpenFrame.Transitions.OpenFrameTransitions U} |
| 19 | variable {M N : X.Modules} (E : CompatibleSheaf.CompatibleSheafFrames D M) (F : CompatibleSheaf.CompatibleSheafFrames D.reciprocal N) |
| 20 | |
| 21 | def CompatibleSheaf.CompatibleSheafFrames.reciprocalTensorCoordinate (V : X.Opens) (i : ι) (hi : V ≤ U i) : |
| 22 | Γ(M, V) ⊗[Γ(X, V)] Γ(N, V) ≃ₗ[Γ(X, V)] Γ(X, V) := |
| 23 | (TensorProduct.congr (E.frame V i hi).symm (F.frame V i hi).symm).trans |
| 24 | (TensorProduct.lid Γ(X, V) Γ(X, V)) |
| 25 | |
| 26 | theorem CompatibleSheaf.CompatibleSheafFrames.reciprocalTensorCoordinate_tmul (V : X.Opens) (i : ι) (hi : V ≤ U i) |
| 27 | (x : Γ(M, V)) (y : Γ(N, V)) : |
| 28 | E.reciprocalTensorCoordinate F V i hi (x ⊗ₜ[Γ(X, V)] y) = |
| 29 | (E.frame V i hi).symm x * (F.frame V i hi).symm y := by |
| 30 | simp [CompatibleSheaf.CompatibleSheafFrames.reciprocalTensorCoordinate] |
| 31 | |
| 32 | theorem CompatibleSheaf.CompatibleSheafFrames.reciprocalTensorCoordinate_independent (V : X.Opens) (i j : ι) |
| 33 | (hi : V ≤ U i) (hj : V ≤ U j) : |
| 34 | E.reciprocalTensorCoordinate F V i hi = E.reciprocalTensorCoordinate F V j hj := by |
| 35 | apply LinearEquiv.toLinearMap_injective |
| 36 | apply TensorProduct.ext |
| 37 | apply LinearMap.ext |
| 38 | intro x |
| 39 | apply LinearMap.ext |
| 40 | intro y |
| 41 | change E.reciprocalTensorCoordinate F V i hi (x ⊗ₜ[Γ(X, V)] y) = |
| 42 | E.reciprocalTensorCoordinate F V j hj (x ⊗ₜ[Γ(X, V)] y) |
| 43 | rw [E.reciprocalTensorCoordinate_tmul, E.reciprocalTensorCoordinate_tmul, |
| 44 | E.coordinate_change V i j hi hj x, F.coordinate_change V i j hi hj y, D.reciprocal_value] |
| 45 | calc |
| 46 | _ = ((D.value V i j hi hj).val * ((D.value V i j hi hj)⁻¹).val) * |
| 47 | ((E.frame V j hj).symm x * (F.frame V j hj).symm y) := by ring |
| 48 | _ = _ := by simp only [← Units.val_mul, mul_inv_cancel, Units.val_one, one_mul] |
| 49 | |
| 50 | theorem CompatibleSheaf.CompatibleSheafFrames.reciprocalTensorCoordinate_restrict (V W : X.Opens) (h : W ≤ V) |
| 51 | (i : ι) (hi : V ≤ U i) (x : Γ(M, V) ⊗[Γ(X, V)] Γ(N, V)) : |
| 52 | E.reciprocalTensorCoordinate F W i (h.trans hi) |
| 53 | ((PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) M.val N.val).map (homOfLE h).op x) = |
| 54 | X.presheaf.map (homOfLE h).op (E.reciprocalTensorCoordinate F V i hi x) := by |
| 55 | let ρ : Γ(M, V) ⊗[Γ(X, V)] Γ(N, V) →+ Γ(M, W) ⊗[Γ(X, W)] Γ(N, W) := |
| 56 | ((PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) M.val N.val).map (homOfLE h).op).hom.toAddMonoidHom |
| 57 | have hρ (a : Γ(M, V)) (b : Γ(N, V)) : ρ (a ⊗ₜ[Γ(X, V)] b) = |
| 58 | M.presheaf.map (homOfLE h).op a ⊗ₜ[Γ(X, W)] N.presheaf.map (homOfLE h).op b := rfl |
| 59 | change E.reciprocalTensorCoordinate F W i (h.trans hi) (ρ x) = |
| 60 | X.presheaf.map (homOfLE h).op (E.reciprocalTensorCoordinate F V i hi x) |
| 61 | induction x using TensorProduct.inductionOn with |
| 62 | | tmul a b => |
| 63 | rw [hρ, |
| 64 | E.reciprocalTensorCoordinate_tmul, E.reciprocalTensorCoordinate_tmul, |
| 65 | E.coordinate_restrict, F.coordinate_restrict, map_mul] |
| 66 | | add a b ha hb => simp only [map_add, ha, hb] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |