lean4-htt/tests/lean/run/bitvec_fin_literal_norm.lean
Leonardo de Moura 4d4b79757d chore: move BitVec to top level namespace
Motivation: `Nat`, `Int`, `Fin`, `UInt??` are already in the top level
namespace. We will eventually define `UInt??` and `Int??` using `BitVec`.
2024-02-23 15:15:57 -08:00

21 lines
327 B
Text

open BitVec
example : (5 : Fin 4) = x := by
simp
guard_target =ₛ 1 = x
sorry
example : (1 : Fin 4) = x := by
fail_if_success simp
guard_target =ₛ 1 = x
sorry
example : 17#4 = x := by
simp
guard_target =ₛ 1#4 = x
sorry
example : (17 : BitVec 4) = x := by
simp
guard_target =ₛ 1#4 = x
sorry