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.TateComparison.Products |
| 2 | |
| 3 | /-! # Product Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductPoints.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The geometric points of the actual Albanese product are the product |
| 10 | of the component point groups. Coordinate inclusions are actual morphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Products |
| 15 | |
| 16 | variable {S : Scheme} {r : ℕ} (A : Fin r → CommGrp (Over S)) |
| 17 | |
| 18 | theorem comparison_inv_projection (j : Fin r) : |
| 19 | (AbelianScheme.TateComparison.Products.componentProductComparison A).inv ≫ AbelianScheme.TateComparison.Products.componentProductProjection A j = |
| 20 | Pi.π (fun i => (A i).X) j := by |
| 21 | rw [← AbelianScheme.TateComparison.Products.componentProductComparison_projection, Iso.inv_hom_id_assoc] |
| 22 | |
| 23 | def productPointsEquiv (T : Over S) : |
| 24 | (T ⟶ (AbelianScheme.TateComparison.Products.componentProduct A).X) ≃* (∀ j, T ⟶ (A j).X) where |
| 25 | toFun p j := p ≫ AbelianScheme.TateComparison.Products.componentProductProjection A j |
| 26 | invFun p := Pi.lift p ≫ (AbelianScheme.TateComparison.Products.componentProductComparison A).inv |
| 27 | left_inv p := by |
| 28 | apply AbelianScheme.TateComparison.Products.componentProduct_ext A |
| 29 | intro j |
| 30 | simp only [Category.assoc, comparison_inv_projection, Pi.lift_comp_π] |
| 31 | right_inv p := by |
| 32 | funext j |
| 33 | simp only [Category.assoc, comparison_inv_projection, Pi.lift_comp_π] |
| 34 | map_mul' p q := by |
| 35 | funext j |
| 36 | exact MonObj.mul_comp p q (AbelianScheme.TateComparison.Products.componentProductProjection A j) |
| 37 | |
| 38 | def productPointsAddEquiv (T : Over S) : |
| 39 | Additive (T ⟶ (AbelianScheme.TateComparison.Products.componentProduct A).X) ≃+ |
| 40 | (∀ j, Additive (T ⟶ (A j).X)) where |
| 41 | toFun p j := Additive.ofMul (productPointsEquiv A T p.toMul j) |
| 42 | invFun p := Additive.ofMul ((productPointsEquiv A T).symm (fun j => (p j).toMul)) |
| 43 | left_inv p := congrArg Additive.ofMul ((productPointsEquiv A T).symm_apply_apply p.toMul) |
| 44 | right_inv p := by |
| 45 | funext j |
| 46 | exact congrArg (fun x => Additive.ofMul (x j)) |
| 47 | ((productPointsEquiv A T).apply_symm_apply (fun i => (p i).toMul)) |
| 48 | map_add' p q := by |
| 49 | funext j |
| 50 | exact congrArg (fun x => Additive.ofMul (x j)) |
| 51 | ((productPointsEquiv A T).map_mul p.toMul q.toMul) |
| 52 | |
| 53 | def factorMap (j : Fin r) : (A j).X ⟶ (AbelianScheme.TateComparison.Products.componentProduct A).X := |
| 54 | Pi.lift (fun i => if h : j = i then eqToHom (congrArg (fun z => (A z).X) h) else 1) ≫ |
| 55 | (AbelianScheme.TateComparison.Products.componentProductComparison A).inv |
| 56 | |
| 57 | theorem factorMap_projection_self (j : Fin r) : |
| 58 | factorMap A j ≫ AbelianScheme.TateComparison.Products.componentProductProjection A j = 𝟙 _ := by |
| 59 | simp [factorMap, comparison_inv_projection] |
| 60 | |
| 61 | theorem factorMap_projection_ne (i j : Fin r) (h : i ≠ j) : |
| 62 | factorMap A i ≫ AbelianScheme.TateComparison.Products.componentProductProjection A j = 1 := by |
| 63 | simp [factorMap, comparison_inv_projection, h] |
| 64 | |
| 65 | theorem factorMap_on_points (T : Over S) (j : Fin r) (p : T ⟶ (A j).X) : |
| 66 | productPointsAddEquiv A T (Additive.ofMul (p ≫ factorMap A j)) = |
| 67 | Pi.single j (Additive.ofMul p) := by |
| 68 | classical |
| 69 | funext i |
| 70 | by_cases h : j = i |
| 71 | · subst i |
| 72 | change Additive.ofMul (p ≫ factorMap A j ≫ AbelianScheme.TateComparison.Products.componentProductProjection A j) = _ |
| 73 | rw [factorMap_projection_self, Category.comp_id, Pi.single_eq_same] |
| 74 | · change Additive.ofMul (p ≫ factorMap A j ≫ AbelianScheme.TateComparison.Products.componentProductProjection A i) = _ |
| 75 | rw [factorMap_projection_ne A j i h, MonObj.comp_one, Pi.single_eq_of_ne (Ne.symm h)] |
| 76 | rfl |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductPoints.CM |