From 252d335570586ac6c24ee3ce69553000f4d9646a Mon Sep 17 00:00:00 2001 From: Kaiyu Yang Date: Fri, 7 Nov 2025 08:29:46 -0500 Subject: [PATCH] bump to v4.24.0 --- lean4/lake-manifest.json | 30 +++++++++++++++--------------- lean4/lakefile.lean | 2 +- lean4/lean-toolchain | 2 +- lean4/src/putnam_1989_a6.lean | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/lean4/lake-manifest.json b/lean4/lake-manifest.json index eb3983a..f12a333 100644 --- a/lean4/lake-manifest.json +++ b/lean4/lake-manifest.json @@ -5,20 +5,20 @@ "type": "git", "subDir": null, "scope": "", - "rev": "79e94a093aff4a60fb1b1f92d9681e407124c2ca", + "rev": "f897ebcf72cd16f89ab4577d0c826cd14afaafc7", "name": "mathlib", "manifestFile": "lake-manifest.json", - "inputRev": "v4.22.0", + "inputRev": "v4.24.0", "inherited": false, "configFile": "lakefile.lean"}, {"url": "https://github.com/leanprover-community/plausible", "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "b100ad4c5d74a464f497aaa8e7c74d86bf39a56f", + "rev": "dfd06ebfe8d0e8fa7faba9cb5e5a2e74e7bd2805", "name": "plausible", "manifestFile": "lake-manifest.json", - "inputRev": "v4.22.0", + "inputRev": "main", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/LeanSearchClient", @@ -35,57 +35,57 @@ "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "eb164a46de87078f27640ee71e6c3841defc2484", + "rev": "d768126816be17600904726ca7976b185786e6b9", "name": "importGraph", "manifestFile": "lake-manifest.json", - "inputRev": "v4.22.0", + "inputRev": "main", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/ProofWidgets4", "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "1253a071e6939b0faf5c09d2b30b0bfc79dae407", + "rev": "556caed0eadb7901e068131d1be208dd907d07a2", "name": "proofwidgets", "manifestFile": "lake-manifest.json", - "inputRev": "v0.0.68", + "inputRev": "v0.0.74", "inherited": true, "configFile": "lakefile.lean"}, {"url": "https://github.com/leanprover-community/aesop", "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "1256a18522728c2eeed6109b02dd2b8f207a2a3c", + "rev": "725ac8cd67acd70a7beaf47c3725e23484c1ef50", "name": "aesop", "manifestFile": "lake-manifest.json", - "inputRev": "v4.22.0", + "inputRev": "master", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/quote4", "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "917bfa5064b812b7fbd7112d018ea0b4def25ab3", + "rev": "dea6a3361fa36d5a13f87333dc506ada582e025c", "name": "Qq", "manifestFile": "lake-manifest.json", - "inputRev": "v4.22.0", + "inputRev": "master", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/batteries", "type": "git", "subDir": null, "scope": "leanprover-community", - "rev": "240676e9568c254a69be94801889d4b13f3b249f", + "rev": "8da40b72fece29b7d3fe3d768bac4c8910ce9bee", "name": "batteries", "manifestFile": "lake-manifest.json", - "inputRev": "v4.22.0", + "inputRev": "main", "inherited": true, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover/lean4-cli", "type": "git", "subDir": null, "scope": "leanprover", - "rev": "c682c91d2d4dd59a7187e2ab977ac25bd1f87329", + "rev": "91c18fa62838ad0ab7384c03c9684d99d306e1da", "name": "Cli", "manifestFile": "lake-manifest.json", "inputRev": "main", diff --git a/lean4/lakefile.lean b/lean4/lakefile.lean index 08b48b6..e69bb0d 100644 --- a/lean4/lakefile.lean +++ b/lean4/lakefile.lean @@ -6,7 +6,7 @@ package «putnam» where leanOptions := #[ ⟨`autoImplicit, false⟩ ] -require mathlib from git "https://github.com/leanprover-community/mathlib4" @ "v4.22.0" +require mathlib from git "https://github.com/leanprover-community/mathlib4" @ "v4.24.0" @[default_target] lean_lib «putnam» where diff --git a/lean4/lean-toolchain b/lean4/lean-toolchain index 1f2f20a..c00a535 100644 --- a/lean4/lean-toolchain +++ b/lean4/lean-toolchain @@ -1 +1 @@ -leanprover/lean4:v4.22.0 \ No newline at end of file +leanprover/lean4:v4.24.0 diff --git a/lean4/src/putnam_1989_a6.lean b/lean4/src/putnam_1989_a6.lean index 2494adc..e9a7580 100644 --- a/lean4/src/putnam_1989_a6.lean +++ b/lean4/src/putnam_1989_a6.lean @@ -21,6 +21,6 @@ theorem putnam_1989_a6 (F : Type*) [Field F] [Fintype F] (hF : Fintype.card F = 2) (α : PowerSeries F) -(hα : ∀ n : ℕ, let bin := [1] ++ (digits 2 n) ++ [1]; PowerSeries.coeff F n α = ite (∀ i j : Fin bin.length, i < j → bin.get i = 1 → bin.get j = 1 → (∀ k, i < k → k < j → bin.get k = 0) → Even ((j : ℕ) - (i : ℕ) - 1)) 1 0) +(hα : ∀ n : ℕ, let bin := [1] ++ (digits 2 n) ++ [1]; PowerSeries.coeff n α = ite (∀ i j : Fin bin.length, i < j → bin.get i = 1 → bin.get j = 1 → (∀ k, i < k → k < j → bin.get k = 0) → Even ((j : ℕ) - (i : ℕ) - 1)) 1 0) : (α ^ 3 + PowerSeries.X * α + 1 = 0) := sorry