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.TensorProducts |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.NormalizedScalar |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Products |
| 4 | |
| 5 | /-! # Pi Extension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.PiExtension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Scalar extension of a finite section family, in actual function |
| 12 | coordinates, with its value on every canonical tensor generator. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | open scoped ChangeOfRings |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace Construction.FinitePiExtension |
| 22 | |
| 23 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 24 | variable {I : Type u} [Finite I] (P : I → ModuleCat.{u} R) (Q : I → ModuleCat.{u} S) |
| 25 | variable (e : ∀ i, (ModuleCat.extendScalars f).obj (P i) ≅ Q i) |
| 26 | |
| 27 | def iso : (ModuleCat.extendScalars f).obj (ModuleCat.of R (∀ i, P i)) ≅ |
| 28 | ModuleCat.of S (∀ i, Q i) := |
| 29 | (ModuleCat.extendScalars f).mapIso (ModuleCat.piIsoPi P).symm ≪≫ |
| 30 | asIso (piComparison (ModuleCat.extendScalars f) P) ≪≫ |
| 31 | Pi.mapIso e ≪≫ ModuleCat.piIsoPi Q |
| 32 | |
| 33 | theorem component (i : I) : |
| 34 | (iso f P Q e).hom ≫ ModuleCat.ofHom (LinearMap.proj i) = |
| 35 | (ModuleCat.extendScalars f).map (ModuleCat.ofHom (LinearMap.proj i)) ≫ (e i).hom := by |
| 36 | simp only [iso, Iso.trans_hom, Functor.mapIso_hom, Iso.symm_hom, asIso_hom, |
| 37 | Category.assoc, ModuleCat.piIsoPi_hom_ker_subtype, Pi.mapIso_hom_π, |
| 38 | piComparison_comp_π_assoc, ← Functor.map_comp_assoc, ModuleCat.piIsoPi_inv_kernel_ι] |
| 39 | |
| 40 | theorem one (s : ∀ i, P i) (i : I) : |
| 41 | (iso f P Q e).hom ((1 : S) ⊗ₜ[R,f] s) i = (e i).hom ((1 : S) ⊗ₜ[R,f] (s i)) := by |
| 42 | exact ConcreteCategory.congr_hom (component f P Q e i) ((1 : S) ⊗ₜ[R,f] s) |
| 43 | |
| 44 | def data (v : ∀ i, P i → Q i) (d : ∀ i, NormalizedScalar.Construction.NormalizedScalarIso.Data f (v i)) : |
| 45 | NormalizedScalar.Construction.NormalizedScalarIso.Data f (B := ModuleCat.of S (∀ i, Q i)) |
| 46 | (fun s : ModuleCat.of R (∀ i, P i) => fun i => v i (s i)) := |
| 47 | ⟨iso f P Q (fun i => (d i).val), fun s => funext fun i => |
| 48 | (one f P Q (fun i => (d i).val) s i).trans ((d i).property (s i))⟩ |
| 49 | |
| 50 | end Construction.FinitePiExtension |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.PiExtension |