From 59ee1eb89d7c1018858250832ff1a92af0cbeab6 Mon Sep 17 00:00:00 2001 From: Son HO Date: Tue, 25 Jun 2024 10:34:24 +0200 Subject: Bump Lean to v4.9.0rc3 (#261) --- backends/lean/Base/Primitives/ArraySlice.lean | 2 -- backends/lean/lake-manifest.json | 2 +- backends/lean/lean-toolchain | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'backends') diff --git a/backends/lean/Base/Primitives/ArraySlice.lean b/backends/lean/Base/Primitives/ArraySlice.lean index 3cc0f9c1..1fca6f99 100644 --- a/backends/lean/Base/Primitives/ArraySlice.lean +++ b/backends/lean/Base/Primitives/ArraySlice.lean @@ -333,8 +333,6 @@ theorem Slice.subslice_spec {α : Type u} [Inhabited α] (s : Slice α) (r : Ran have := List.index_slice r.start.val r.end_.val i s.val (by scalar_tac) (by scalar_tac) (by trivial) (by scalar_tac) simp [*] -set_option pp.fieldNotation.generalized true - def Slice.update_subslice (α : Type u) (s : Slice α) (r : Range Usize) (ss : Slice α) : Result (Slice α) := -- TODO: not completely sure here if h: r.start.val < r.end_.val ∧ r.end_.val ≤ s.length ∧ ss.val.len = r.end_.val - r.start.val then diff --git a/backends/lean/lake-manifest.json b/backends/lean/lake-manifest.json index aa2349c2..ff0deb45 100644 --- a/backends/lean/lake-manifest.json +++ b/backends/lean/lake-manifest.json @@ -58,7 +58,7 @@ {"url": "https://github.com/leanprover-community/mathlib4.git", "type": "git", "subDir": null, - "rev": "77e1ea0a339a4663eced9cacc3a46eb45f967b51", + "rev": "a3001aa1c78e0d86b07a62daee3664e59ce08634", "name": "mathlib", "manifestFile": "lake-manifest.json", "inputRev": null, diff --git a/backends/lean/lean-toolchain b/backends/lean/lean-toolchain index 29c0cea4..e5ea6600 100644 --- a/backends/lean/lean-toolchain +++ b/backends/lean/lean-toolchain @@ -1 +1 @@ -leanprover/lean4:v4.9.0-rc2 +leanprover/lean4:v4.9.0-rc3 -- cgit v1.2.3