diff options
author | Son Ho | 2024-06-12 16:54:24 +0200 |
---|---|---|
committer | Son Ho | 2024-06-12 16:54:24 +0200 |
commit | f05a0faf14fdd558039da52624d57028eb64f9fd (patch) | |
tree | a38acc108a56b101c4ab1b17e464015f44d46b17 /tests/lean/Demo | |
parent | fe59d3afe131e9f83cbdf73b1c8089ad090d92fb (diff) |
Fix some mistakes
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 abdc2985..67023727 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 = 0#u32 then + if hi: i = 0u32 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 = 0#i32 then + if hx : x = 0i32 then simp_all else simp_all |