diff options
author | Son Ho | 2024-06-12 18:20:14 +0200 |
---|---|---|
committer | Son Ho | 2024-06-12 18:20:14 +0200 |
commit | 8ca43c32b30c03cc3fde51736ea5884dfd1c2c50 (patch) | |
tree | 9d3d93e96639df9ddcb6e541f070b0d254c616f0 /tests/lean/Demo | |
parent | f05a0faf14fdd558039da52624d57028eb64f9fd (diff) |
Revert "Fix some mistakes"
This reverts commit f05a0faf14fdd558039da52624d57028eb64f9fd.
Diffstat (limited to '')
-rw-r--r-- | tests/lean/Demo/Properties.lean | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lean/Demo/Properties.lean b/tests/lean/Demo/Properties.lean index 67023727..abdc2985 100644 --- a/tests/lean/Demo/Properties.lean +++ b/tests/lean/Demo/Properties.lean @@ -43,7 +43,7 @@ theorem list_nth_spec {T : Type} [Inhabited T] (l : CList T) (i : U32) simp_all; scalar_tac | CCons hd tl => simp_all - if hi: i = 0u32 then + if hi: i = 0#u32 then simp_all else simp_all @@ -54,7 +54,7 @@ theorem list_nth_spec {T : Type} [Inhabited T] (l : CList T) (i : U32) theorem i32_id_spec (x : I32) (h : 0 ≤ x.val) : ∃ y, i32_id x = ok y ∧ x.val = y.val := by rw [i32_id] - if hx : x = 0i32 then + if hx : x = 0#i32 then simp_all else simp_all |