diff options
author | Son Ho | 2023-07-06 12:20:28 +0200 |
---|---|---|
committer | Son Ho | 2023-07-06 12:20:28 +0200 |
commit | 7c95800cefc87fad894f8bf855cfc047e713b3a7 (patch) | |
tree | 11b22541914a933bef896b5e765b002ac934faae /backends | |
parent | 5ca36bfc50083a01af2b7ae5f75993a520757ef5 (diff) |
Improve the generated comments
Diffstat (limited to '')
-rw-r--r-- | backends/lean/Base/Primitives.lean | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/lean/Base/Primitives.lean b/backends/lean/Base/Primitives.lean index 808c1461..14f5971e 100644 --- a/backends/lean/Base/Primitives.lean +++ b/backends/lean/Base/Primitives.lean @@ -656,7 +656,7 @@ def Vec.index_mut_back (α : Type u) (v: Vec α) (i: Usize) (x: α): Result (Vec -- MISC -- ---------- -@[simp] def mem.replace_fwd (a : Type) (x : a) (_ : a) : a := x +@[simp] def mem.replace (a : Type) (x : a) (_ : a) : a := x @[simp] def mem.replace_back (a : Type) (_ : a) (y : a) : a := y /-- Aeneas-translated function -- useful to reduce non-recursive definitions. |