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.AbelianScheme.IsogenyQuotient.QuadrilinearProducts |
| 2 | |
| 3 | /-! # Quadrilinear Local Hom -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.QuadrilinearLocalHom.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The last input of a four-linear sheaf map gives an actual |
| 10 | section of the internal Hom sheaf on each open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {M N P Q R : X.Modules} |
| 17 | |
| 18 | def quadrilinearOfTrilinearHom (b : Picard.Homomorphisms.Trilinear.Construction.SheafTrilinearMap M N P (Picard.Homomorphisms.InternalHom.Construction.moduleInternalHom Q R)) : |
| 19 | QuadrilinearProducts.Construction.SheafQuadrilinearMap M N P Q R where |
| 20 | app U := (b.app U).compr₂ |
| 21 | (LinearMap.llcomp Γ(X, U) Γ(P, U) Γ(Picard.Homomorphisms.InternalHom.Construction.moduleInternalHom Q R, U) |
| 22 | (Γ(Q, U) →ₗ[Γ(X, U)] Γ(R, U)) (Picard.Homomorphisms.TensorHom.Construction.internalHomEval Q R U)) |
| 23 | naturality {U V} h m n p q := by |
| 24 | change R.presheaf.map h.op (Picard.Homomorphisms.TensorHom.Construction.internalHomEval Q R U (b.app U m n p) q) = |
| 25 | Picard.Homomorphisms.TensorHom.Construction.internalHomEval Q R V (b.app V (M.presheaf.map h.op m) (N.presheaf.map h.op n) (P.presheaf.map h.op p)) |
| 26 | (Q.presheaf.map h.op q) |
| 27 | rw [← Picard.Homomorphisms.TensorHom.Construction.internalHomEval_naturality, b.naturality] |
| 28 | |
| 29 | def quadrilinearLocalHom (b : QuadrilinearProducts.Construction.SheafQuadrilinearMap M N P Q R) |
| 30 | (U : X.Opens) (m : Γ(M, U)) (n : Γ(N, U)) (p : Γ(P, U)) : Γ(Picard.Homomorphisms.InternalHom.Construction.moduleInternalHom Q R, U) := |
| 31 | ⟨{ app V := AddCommGrpCat.ofHom |
| 32 | (b.app V.unop.left (M.presheaf.map V.unop.hom.op m) |
| 33 | (N.presheaf.map V.unop.hom.op n) (P.presheaf.map V.unop.hom.op p)).toAddMonoidHom |
| 34 | naturality {V W} f := by |
| 35 | ext q |
| 36 | have he := b.naturality f.unop.left |
| 37 | (M.presheaf.map V.unop.hom.op m) (N.presheaf.map V.unop.hom.op n) |
| 38 | (P.presheaf.map V.unop.hom.op p) q |
| 39 | have hm : M.presheaf.map f.unop.left.op (M.presheaf.map V.unop.hom.op m) = |
| 40 | M.presheaf.map W.unop.hom.op m := by |
| 41 | rw [← Functor.map_comp_apply, ← op_comp, Over.w f.unop] |
| 42 | have hn : N.presheaf.map f.unop.left.op (N.presheaf.map V.unop.hom.op n) = |
| 43 | N.presheaf.map W.unop.hom.op n := by |
| 44 | rw [← Functor.map_comp_apply, ← op_comp, Over.w f.unop] |
| 45 | have hp : P.presheaf.map f.unop.left.op (P.presheaf.map V.unop.hom.op p) = |
| 46 | P.presheaf.map W.unop.hom.op p := by |
| 47 | rw [← Functor.map_comp_apply, ← op_comp, Over.w f.unop] |
| 48 | rw [hm, hn, hp] at he |
| 49 | exact he.symm }, |
| 50 | fun V r q => (b.app V.left (M.presheaf.map V.hom.op m) |
| 51 | (N.presheaf.map V.hom.op n) (P.presheaf.map V.hom.op p)).map_smul r q⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.QuadrilinearLocalHom.Construction |