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.ModuleBaseChangeComplex |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorProducts |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ShortComplexNatural |
| 4 | |
| 5 | /-! # Scalar Functor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ScalarFunctor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The explicit tensor functor used in local algebra agrees with native |
| 12 | extension of scalars, including iterated extension to a residue field. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace Construction.ScalarFunctorComparison |
| 22 | |
| 23 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 24 | |
| 25 | omit [Algebra R S] in |
| 26 | def isoOfHom (f : R →+* S) : letI : Algebra R S := f.toAlgebra |
| 27 | ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeFunctor R S ≅ ModuleCat.extendScalars f := by |
| 28 | letI : Algebra R S := f.toAlgebra |
| 29 | refine NatIso.ofComponents (fun M => (LinearEquiv.refl S (S ⊗[R] M)).toModuleIso) ?_ |
| 30 | intro M N a |
| 31 | apply ModuleCat.ExtendScalars.hom_ext (f := f) |
| 32 | intro m |
| 33 | rfl |
| 34 | |
| 35 | def iso : ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeFunctor R S ≅ |
| 36 | ModuleCat.extendScalars (algebraMap R S) := by |
| 37 | have h : @ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeFunctor R S _ _ (algebraMap R S).toAlgebra = |
| 38 | ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeFunctor R S := |
| 39 | congrArg (fun a : Algebra R S => @ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeFunctor R S _ _ a) |
| 40 | (toAlgebra_algebraMap (R := R) (S := S)) |
| 41 | exact eqToIso h.symm ≪≫ isoOfHom R S (algebraMap R S) |
| 42 | |
| 43 | variable {A : Type u} [CommRing A] (f : R →+* S) (g : S →+* A) |
| 44 | |
| 45 | omit [Algebra R S] in |
| 46 | theorem iterated_quasiIso {C D : ShortComplex (ModuleCat.{u} R)} (a : C ⟶ D) |
| 47 | [ShortComplex.QuasiIso ((ModuleCat.extendScalars (g.comp f)).mapShortComplex.map a)] : |
| 48 | ShortComplex.QuasiIso ((ModuleCat.extendScalars g).mapShortComplex.map |
| 49 | ((ModuleCat.extendScalars f).mapShortComplex.map a)) := |
| 50 | ShortComplexNatural.Construction.ShortComplexNaturalIso.quasiIso (ModuleCat.extendScalarsComp f g) a |
| 51 | |
| 52 | omit [Algebra R S] in |
| 53 | theorem iterated_jointly {C T₁ T₂ : ShortComplex (ModuleCat.{u} R)} (r₁ : C ⟶ T₁) (r₂ : C ⟶ T₂) |
| 54 | (hd : CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 55 | ((ModuleCat.extendScalars (g.comp f)).mapShortComplex.map r₁) |
| 56 | ((ModuleCat.extendScalars (g.comp f)).mapShortComplex.map r₂)) : |
| 57 | CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 58 | ((ModuleCat.extendScalars g).mapShortComplex.map ((ModuleCat.extendScalars f).mapShortComplex.map r₁)) |
| 59 | ((ModuleCat.extendScalars g).mapShortComplex.map ((ModuleCat.extendScalars f).mapShortComplex.map r₂)) := |
| 60 | ShortComplexNatural.Construction.ShortComplexNaturalIso.jointly (ModuleCat.extendScalarsComp f g) r₁ r₂ hd |
| 61 | |
| 62 | end Construction.ScalarFunctorComparison |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ScalarFunctor |