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.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.Wedge |
| 2 | |
| 3 | /-! # De Rham Wedge -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.DeRhamWedge |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The native differential-symbol wedge product over every |
| 10 | commutative base ring. Both defining relation spans are killed before |
| 11 | the bilinear operation descends to the actual form modules. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 18 | |
| 19 | theorem rawWedge_relation_left_one {p q : ℕ} (r : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.RelationIndex R A p) |
| 20 | (w : Fin q → A) : |
| 21 | Wedge.rawWedge R A p q (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation R A p r) (Finsupp.single w 1) = 0 := by |
| 22 | cases r with |
| 23 | | add v i x y => |
| 24 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation, map_sub, LinearMap.sub_apply, Wedge.rawWedge_single, mul_one, |
| 25 | Wedge.append_update_left] |
| 26 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_update_add] |
| 27 | abel |
| 28 | | mul v i x y => |
| 29 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation, map_sub, LinearMap.sub_apply, Wedge.rawWedge_single, mul_one, |
| 30 | Wedge.append_update_left] |
| 31 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_update_mul, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one R A x, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one R A y] |
| 32 | abel |
| 33 | | base v i r => |
| 34 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation, Wedge.rawWedge_single, mul_one, Wedge.append_update_left] |
| 35 | exact AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_update_base R A _ _ _ |
| 36 | | alt v i j hij hne => |
| 37 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation, Wedge.rawWedge_single, mul_one] |
| 38 | exact AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_alt R A _ (i.castAdd q) (j.castAdd q) |
| 39 | (by simpa only [Fin.append_left] using hij) |
| 40 | (fun h => hne (Fin.ext (congrArg (fun z : Fin (p + q) => z.val) h))) |
| 41 | |
| 42 | theorem rawWedge_relation_right_one {p q : ℕ} (v : Fin p → A) |
| 43 | (r : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.RelationIndex R A q) : |
| 44 | Wedge.rawWedge R A p q (Finsupp.single v 1) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation R A q r) = 0 := by |
| 45 | cases r with |
| 46 | | add w i x y => |
| 47 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation, map_sub, Wedge.rawWedge_single, one_mul, Wedge.append_update_right] |
| 48 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_update_add] |
| 49 | abel |
| 50 | | mul w i x y => |
| 51 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation, map_sub, Wedge.rawWedge_single, one_mul, Wedge.append_update_right] |
| 52 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_update_mul, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one R A x, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one R A y] |
| 53 | abel |
| 54 | | base w i r => |
| 55 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation, Wedge.rawWedge_single, one_mul, Wedge.append_update_right] |
| 56 | exact AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_update_base R A _ _ _ |
| 57 | | alt w i j hij hne => |
| 58 | simp only [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation, Wedge.rawWedge_single, one_mul] |
| 59 | exact AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_alt R A _ (Fin.natAdd p i) (Fin.natAdd p j) |
| 60 | (by simpa only [Fin.append_right] using hij) |
| 61 | (fun h => hne (Fin.ext (Nat.add_left_cancel |
| 62 | (congrArg (fun z : Fin (p + q) => z.val) h)))) |
| 63 | |
| 64 | theorem rawWedge_relation_left {p q : ℕ} (r : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.RelationIndex R A p) (y : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Raw A q) : |
| 65 | Wedge.rawWedge R A p q (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation R A p r) y = 0 := by |
| 66 | induction y using Finsupp.induction_linear with |
| 67 | | zero => exact map_zero _ |
| 68 | | add x y hx hy => rw [map_add, hx, hy, add_zero] |
| 69 | | single w b => |
| 70 | rw [show Finsupp.single w b = b • Finsupp.single w 1 by simp, |
| 71 | map_smul, rawWedge_relation_left_one, smul_zero] |
| 72 | |
| 73 | theorem rawWedge_relation_right {p q : ℕ} (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Raw A p) (r : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.RelationIndex R A q) : |
| 74 | Wedge.rawWedge R A p q x (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relation R A q r) = 0 := by |
| 75 | induction x using Finsupp.induction_linear with |
| 76 | | zero => rw [map_zero, LinearMap.zero_apply] |
| 77 | | add x y hx hy => rw [map_add, LinearMap.add_apply, hx, hy, add_zero] |
| 78 | | single v a => |
| 79 | rw [show Finsupp.single v a = a • Finsupp.single v 1 by simp, |
| 80 | map_smul, LinearMap.smul_apply, rawWedge_relation_right_one, smul_zero] |
| 81 | |
| 82 | theorem rawWedge_relations_left {p q : ℕ} (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Raw A p) |
| 83 | (hx : x ∈ AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A p) (y : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Raw A q) : Wedge.rawWedge R A p q x y = 0 := by |
| 84 | induction hx using Submodule.span_induction with |
| 85 | | mem x hx => |
| 86 | obtain ⟨r, rfl⟩ := hx |
| 87 | exact rawWedge_relation_left R A r y |
| 88 | | zero => rw [map_zero, LinearMap.zero_apply] |
| 89 | | add x z hx hz ihx ihz => rw [map_add, LinearMap.add_apply, ihx, ihz, add_zero] |
| 90 | | smul a x hx ih => rw [map_smul, LinearMap.smul_apply, ih, smul_zero] |
| 91 | |
| 92 | theorem rawWedge_relations_right {p q : ℕ} (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Raw A p) (y : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Raw A q) |
| 93 | (hy : y ∈ AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A q) : Wedge.rawWedge R A p q x y = 0 := by |
| 94 | induction hy using Submodule.span_induction with |
| 95 | | mem y hy => |
| 96 | obtain ⟨r, rfl⟩ := hy |
| 97 | exact rawWedge_relation_right R A x r |
| 98 | | zero => exact map_zero _ |
| 99 | | add y z hy hz ihy ihz => rw [map_add, ihy, ihz, add_zero] |
| 100 | | smul a y hy ih => rw [map_smul, ih, smul_zero] |
| 101 | |
| 102 | def wedge (p q : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A p →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A q →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A (p + q) := |
| 103 | BilinearQuotient.lift₂ (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A p) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A q) (Wedge.rawWedge R A p q) |
| 104 | (fun x hx y => rawWedge_relations_left R A x hx y) |
| 105 | (fun x y hy => rawWedge_relations_right R A x y hy) |
| 106 | |
| 107 | theorem wedge_symbol (p q : ℕ) (a b : A) (v : Fin p → A) (w : Fin q → A) : |
| 108 | wedge R A p q (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A b w) = |
| 109 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A (a * b) (Fin.append v w) := by |
| 110 | change Wedge.rawWedge R A p q (Finsupp.single v a) (Finsupp.single w b) = _ |
| 111 | exact Wedge.rawWedge_single R A p q a b v w |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.DeRhamWedge |