lean4-htt/tests/lean/run/5674.lean
Henrik Böving f348a082da
feat: present bv_decide counter examples for UIntX and enums better (#7033)
This PR improves presentation of counter examples for UIntX and enum
inductives in bv_decide.
2025-02-11 11:01:40 +00:00

14 lines
308 B
Text

import Std.Tactic.BVDecide
/--
error: The prover found a potentially spurious counterexample:
- The following potentially relevant hypotheses could not be used: [h]
Consider the following assignment:
b = 0#64
-/
#guard_msgs in
example
(b : BitVec 64)
(h : b.toNat > 0) :
b > 0 := by
bv_decide