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.QuadrilinearLocalHom |
| 2 | |
| 3 | /-! # Quadrilinear Local Linearity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.QuadrilinearLocalLinearity.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The local internal-Hom section is linear in each of the three |
| 10 | remaining inputs. Each law is checked on actual restricted sections. -/ |
| 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 | (b : QuadrilinearProducts.Construction.SheafQuadrilinearMap M N P Q R) (U : X.Opens) |
| 18 | |
| 19 | theorem quadrilinearLocalHom_add_first (m m' : Γ(M, U)) (n : Γ(N, U)) (p : Γ(P, U)) : |
| 20 | QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U (m + m') n p = QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n p + QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m' n p := by |
| 21 | apply Subtype.ext |
| 22 | apply NatTrans.ext |
| 23 | funext V |
| 24 | apply AddCommGrpCat.ext |
| 25 | intro q |
| 26 | change b.app V.unop.left (M.presheaf.map V.unop.hom.op (m + m')) _ _ q = |
| 27 | b.app V.unop.left (M.presheaf.map V.unop.hom.op m) _ _ q + |
| 28 | b.app V.unop.left (M.presheaf.map V.unop.hom.op m') _ _ q |
| 29 | erw [map_add, map_add, LinearMap.add_apply] |
| 30 | |
| 31 | theorem quadrilinearLocalHom_smul_first (r : Γ(X, U)) (m : Γ(M, U)) (n : Γ(N, U)) (p : Γ(P, U)) : |
| 32 | QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U (r • m) n p = r • QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n p := by |
| 33 | apply Subtype.ext |
| 34 | apply NatTrans.ext |
| 35 | funext V |
| 36 | apply AddCommGrpCat.ext |
| 37 | intro q |
| 38 | change b.app V.unop.left (M.presheaf.map V.unop.hom.op (r • m)) _ _ q = |
| 39 | X.presheaf.map V.unop.hom.op r • b.app V.unop.left (M.presheaf.map V.unop.hom.op m) _ _ q |
| 40 | erw [M.val.map_smul, LinearMap.map_smul, LinearMap.smul_apply] |
| 41 | rfl |
| 42 | |
| 43 | theorem quadrilinearLocalHom_add_second (m : Γ(M, U)) (n n' : Γ(N, U)) (p : Γ(P, U)) : |
| 44 | QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m (n + n') p = QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n p + QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n' p := by |
| 45 | apply Subtype.ext |
| 46 | apply NatTrans.ext |
| 47 | funext V |
| 48 | apply AddCommGrpCat.ext |
| 49 | intro q |
| 50 | change b.app V.unop.left _ (N.presheaf.map V.unop.hom.op (n + n')) _ q = |
| 51 | b.app V.unop.left _ (N.presheaf.map V.unop.hom.op n) _ q + |
| 52 | b.app V.unop.left _ (N.presheaf.map V.unop.hom.op n') _ q |
| 53 | erw [map_add, map_add, LinearMap.add_apply] |
| 54 | |
| 55 | theorem quadrilinearLocalHom_smul_second (r : Γ(X, U)) (m : Γ(M, U)) (n : Γ(N, U)) (p : Γ(P, U)) : |
| 56 | QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m (r • n) p = r • QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n p := by |
| 57 | apply Subtype.ext |
| 58 | apply NatTrans.ext |
| 59 | funext V |
| 60 | apply AddCommGrpCat.ext |
| 61 | intro q |
| 62 | change b.app V.unop.left _ (N.presheaf.map V.unop.hom.op (r • n)) _ q = |
| 63 | X.presheaf.map V.unop.hom.op r • b.app V.unop.left _ (N.presheaf.map V.unop.hom.op n) _ q |
| 64 | erw [N.val.map_smul, LinearMap.map_smul, LinearMap.smul_apply] |
| 65 | rfl |
| 66 | |
| 67 | theorem quadrilinearLocalHom_add_third (m : Γ(M, U)) (n : Γ(N, U)) (p p' : Γ(P, U)) : |
| 68 | QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n (p + p') = QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n p + QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n p' := by |
| 69 | apply Subtype.ext |
| 70 | apply NatTrans.ext |
| 71 | funext V |
| 72 | apply AddCommGrpCat.ext |
| 73 | intro q |
| 74 | change b.app V.unop.left _ _ (P.presheaf.map V.unop.hom.op (p + p')) q = |
| 75 | b.app V.unop.left _ _ (P.presheaf.map V.unop.hom.op p) q + |
| 76 | b.app V.unop.left _ _ (P.presheaf.map V.unop.hom.op p') q |
| 77 | erw [map_add, map_add, LinearMap.add_apply] |
| 78 | |
| 79 | theorem quadrilinearLocalHom_smul_third (r : Γ(X, U)) (m : Γ(M, U)) (n : Γ(N, U)) (p : Γ(P, U)) : |
| 80 | QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n (r • p) = r • QuadrilinearLocalHom.Construction.quadrilinearLocalHom b U m n p := by |
| 81 | apply Subtype.ext |
| 82 | apply NatTrans.ext |
| 83 | funext V |
| 84 | apply AddCommGrpCat.ext |
| 85 | intro q |
| 86 | change b.app V.unop.left _ _ (P.presheaf.map V.unop.hom.op (r • p)) q = |
| 87 | X.presheaf.map V.unop.hom.op r • b.app V.unop.left _ _ (P.presheaf.map V.unop.hom.op p) q |
| 88 | erw [P.val.map_smul, LinearMap.map_smul, LinearMap.smul_apply] |
| 89 | rfl |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.QuadrilinearLocalLinearity.Construction |