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.Leibniz |
| 2 | |
| 3 | /-! # Wedge Algebra -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.WedgeAlgebra |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Associativity and the closed unit for the native differential-symbol |
| 10 | product, without assumptions that factorials are invertible. -/ |
| 11 | |
| 12 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 17 | |
| 18 | theorem wedge_assoc {p q r : ℕ} (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A p) (y : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A q) (z : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A r) : |
| 19 | WedgeSigns.degreeCast R A (Nat.add_assoc p q r) (DeRhamWedge.wedge R A (p + q) r (DeRhamWedge.wedge R A p q x y) z) = |
| 20 | DeRhamWedge.wedge R A p (q + r) x (DeRhamWedge.wedge R A q r y z) := by |
| 21 | obtain ⟨x, rfl⟩ := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A p).mkQ_surjective x |
| 22 | induction x using Finsupp.induction_linear with |
| 23 | | zero => simp only [map_zero, LinearMap.zero_apply] |
| 24 | | add x t hx ht => simp only [map_add, LinearMap.add_apply, hx, ht] |
| 25 | | single v a => |
| 26 | obtain ⟨y, rfl⟩ := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A q).mkQ_surjective y |
| 27 | induction y using Finsupp.induction_linear with |
| 28 | | zero => simp only [map_zero, LinearMap.zero_apply] |
| 29 | | add y t hy ht => simp only [map_add, LinearMap.add_apply, hy, ht] |
| 30 | | single w b => |
| 31 | obtain ⟨z, rfl⟩ := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A r).mkQ_surjective z |
| 32 | induction z using Finsupp.induction_linear with |
| 33 | | zero => simp only [map_zero] |
| 34 | | add z t hz ht => simp only [map_add, hz, ht] |
| 35 | | single s c => |
| 36 | change WedgeSigns.degreeCast R A (Nat.add_assoc p q r) |
| 37 | (DeRhamWedge.wedge R A (p + q) r (DeRhamWedge.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)) |
| 38 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A c s)) = |
| 39 | DeRhamWedge.wedge R A p (q + r) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) |
| 40 | (DeRhamWedge.wedge R A q r (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A b w) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A c s)) |
| 41 | simp only [DeRhamWedge.wedge_symbol, WedgeSigns.degreeCast_symbol, mul_assoc, Fin.append_assoc, |
| 42 | Function.comp_apply] |
| 43 | rfl |
| 44 | |
| 45 | def unitForm : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A 0 := AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A 1 (fun i => i.elim0) |
| 46 | |
| 47 | theorem unit_wedge {p : ℕ} (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A p) : |
| 48 | WedgeSigns.degreeCast R A (Nat.zero_add p) (DeRhamWedge.wedge R A 0 p (unitForm R A) x) = x := by |
| 49 | obtain ⟨x, rfl⟩ := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A p).mkQ_surjective x |
| 50 | induction x using Finsupp.induction_linear with |
| 51 | | zero => simp only [map_zero] |
| 52 | | add x z hx hz => simp only [map_add, hx, hz] |
| 53 | | single v a => |
| 54 | change WedgeSigns.degreeCast R A (Nat.zero_add p) |
| 55 | (DeRhamWedge.wedge R A 0 p (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A 1 Fin.elim0) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v)) = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v |
| 56 | simp only [DeRhamWedge.wedge_symbol, WedgeSigns.degreeCast_symbol, one_mul, Fin.elim0_append, |
| 57 | Function.comp_apply] |
| 58 | rfl |
| 59 | |
| 60 | theorem wedge_unit {p : ℕ} (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A p) : DeRhamWedge.wedge R A p 0 x (unitForm R A) = x := by |
| 61 | obtain ⟨x, rfl⟩ := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A p).mkQ_surjective x |
| 62 | induction x using Finsupp.induction_linear with |
| 63 | | zero => simp only [map_zero, LinearMap.zero_apply] |
| 64 | | add x z hx hz => simp only [map_add, LinearMap.add_apply, hx, hz] |
| 65 | | single v a => |
| 66 | change DeRhamWedge.wedge R A p 0 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A 1 Fin.elim0) = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v |
| 67 | simp only [DeRhamWedge.wedge_symbol, mul_one, Fin.append_elim0, Function.comp_def, Fin.cast_refl] |
| 68 | rfl |
| 69 | |
| 70 | theorem differential_unit : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R A 0 (unitForm R A) = 0 := by |
| 71 | rw [unitForm, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential_symbol, AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_cons_one] |
| 72 | |
| 73 | theorem unit_eq_rational : unitForm R A = RationalDeRham.WedgeAlgebra.unitForm R A := rfl |
| 74 | |
| 75 | theorem degreeCast_eq_rational {m n : ℕ} (h : m = n) (x : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A m) : |
| 76 | WedgeSigns.degreeCast R A h x = RationalDeRham.Wedge.degreeCast R A h x := by |
| 77 | subst n |
| 78 | rfl |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntegralDeRham.WedgeAlgebra |