summaryrefslogtreecommitdiff
path: root/backends/lean
diff options
context:
space:
mode:
authorSon HO2024-06-25 10:34:24 +0200
committerGitHub2024-06-25 10:34:24 +0200
commit59ee1eb89d7c1018858250832ff1a92af0cbeab6 (patch)
tree929f0e5cfc43f75adaf2416d2440e8dc8266a976 /backends/lean
parent56235fc39b4335059277a1a163ac86be816f61bf (diff)
Bump Lean to v4.9.0rc3 (#261)
Diffstat (limited to 'backends/lean')
-rw-r--r--backends/lean/Base/Primitives/ArraySlice.lean2
-rw-r--r--backends/lean/lake-manifest.json2
-rw-r--r--backends/lean/lean-toolchain2
3 files changed, 2 insertions, 4 deletions
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