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.FormalGeometry.Completion.ScalarExtensionKernel |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.KernelAlgebraNaturality |
| 3 | |
| 4 | /-! # Scalar Kernel Transition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ScalarKernelTransition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Explicit transitions between scalar-extended differential kernels |
| 11 | for composable ring maps, compatible with the classifying algebra. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped TensorProduct ChangeOfRings |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | variable {R S T : Type u} [CommRing R] [CommRing S] [CommRing T] |
| 21 | (f : R →+* S) (g : S →+* T) |
| 22 | |
| 23 | def scalarTransitionAlgHom : |
| 24 | letI : Algebra R S := f.toAlgebra |
| 25 | letI : Algebra R T := (g.comp f).toAlgebra |
| 26 | S →ₐ[R] T := by |
| 27 | letI : Algebra R S := f.toAlgebra |
| 28 | letI : Algebra R T := (g.comp f).toAlgebra |
| 29 | exact { __ := g, commutes' := fun _ => rfl } |
| 30 | |
| 31 | def scalarCochainTransitionAt (C : CochainComplex (ModuleCat.{u} R) ℕ) (q : ℕ) : |
| 32 | (ModuleCat.extendScalars f).obj (C.X q) →+ (ModuleCat.extendScalars (g.comp f)).obj (C.X q) := by |
| 33 | letI : Algebra R S := f.toAlgebra |
| 34 | letI : Algebra R T := (g.comp f).toAlgebra |
| 35 | exact ((scalarTransitionAlgHom f g).toLinearMap.rTensor (C.X q)).toAddMonoidHom |
| 36 | |
| 37 | theorem scalarCochainTransitionAt_tmul (C : CochainComplex (ModuleCat.{u} R) ℕ) (q : ℕ) |
| 38 | (a : S) (c : C.X q) : |
| 39 | scalarCochainTransitionAt f g C q (a ⊗ₜ[R,f] c) = g a ⊗ₜ[R,g.comp f] c := rfl |
| 40 | |
| 41 | def scalarCochainKernelTransition (C : CochainComplex (ModuleCat.{u} R) ℕ) : |
| 42 | ((((ModuleCat.extendScalars f).mapHomologicalComplex (ComplexShape.up ℕ)).obj C).d 0 1).hom.ker → |
| 43 | ((((ModuleCat.extendScalars (g.comp f)).mapHomologicalComplex (ComplexShape.up ℕ)).obj C).d 0 1).hom.ker := by |
| 44 | letI : Algebra R S := f.toAlgebra |
| 45 | letI : Algebra R T := (g.comp f).toAlgebra |
| 46 | intro x |
| 47 | exact ⟨scalarCochainTransitionAt f g C 0 x.val, by |
| 48 | change (C.d 0 1).hom.lTensor T |
| 49 | ((scalarTransitionAlgHom f g).toLinearMap.rTensor (C.X 0) x.val) = 0 |
| 50 | have hx : (C.d 0 1).hom.lTensor S x.val = 0 := x.property |
| 51 | rw [KernelAlgebraNaturality.Construction.tensorDifferential_natural R (C.X 0) (C.d 0 1).hom, hx, map_zero]⟩ |
| 52 | |
| 53 | theorem scalarCochainKernelTransition_val (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 54 | (x : ((((ModuleCat.extendScalars f).mapHomologicalComplex (ComplexShape.up ℕ)).obj C).d 0 1).hom.ker) : |
| 55 | (scalarCochainKernelTransition f g C x).val = scalarCochainTransitionAt f g C 0 x.val := rfl |
| 56 | |
| 57 | variable (k : R →+* T) (h : g.comp f = k) |
| 58 | |
| 59 | def scalarCochainTransitionAtOfEq (C : CochainComplex (ModuleCat.{u} R) ℕ) (q : ℕ) : |
| 60 | (ModuleCat.extendScalars f).obj (C.X q) →+ (ModuleCat.extendScalars k).obj (C.X q) := by |
| 61 | subst k |
| 62 | exact scalarCochainTransitionAt f g C q |
| 63 | |
| 64 | theorem scalarCochainTransitionAtOfEq_tmul (C : CochainComplex (ModuleCat.{u} R) ℕ) (q : ℕ) |
| 65 | (a : S) (c : C.X q) : |
| 66 | scalarCochainTransitionAtOfEq f g k h C q (a ⊗ₜ[R,f] c) = g a ⊗ₜ[R,k] c := by |
| 67 | subst k |
| 68 | rfl |
| 69 | |
| 70 | def scalarCochainKernelTransitionOfEq (C : CochainComplex (ModuleCat.{u} R) ℕ) : |
| 71 | ((((ModuleCat.extendScalars f).mapHomologicalComplex (ComplexShape.up ℕ)).obj C).d 0 1).hom.ker → |
| 72 | ((((ModuleCat.extendScalars k).mapHomologicalComplex (ComplexShape.up ℕ)).obj C).d 0 1).hom.ker := by |
| 73 | subst k |
| 74 | exact scalarCochainKernelTransition f g C |
| 75 | |
| 76 | theorem scalarCochainKernelTransitionOfEq_val (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 77 | (x : ((((ModuleCat.extendScalars f).mapHomologicalComplex (ComplexShape.up ℕ)).obj C).d 0 1).hom.ker) : |
| 78 | (scalarCochainKernelTransitionOfEq f g k h C x).val = scalarCochainTransitionAtOfEq f g k h C 0 x.val := by |
| 79 | subst k |
| 80 | rfl |
| 81 | |
| 82 | end Construction |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ScalarKernelTransition |