summaryrefslogtreecommitdiff
path: root/backends/lean/Base/Primitives/ArraySlice.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/Base/Primitives/ArraySlice.lean
parent56235fc39b4335059277a1a163ac86be816f61bf (diff)
Bump Lean to v4.9.0rc3 (#261)
Diffstat (limited to '')
-rw-r--r--backends/lean/Base/Primitives/ArraySlice.lean2
1 files changed, 0 insertions, 2 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