Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions lean4/lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lean4/lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lean4/lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:v4.22.0
leanprover/lean4:v4.24.0
2 changes: 1 addition & 1 deletion lean4/src/putnam_1989_a6.lean
Original file line number Diff line number Diff line change
Expand Up @@ -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