Skip to content

Commit

Permalink
chore: make simp terminal.
Browse files Browse the repository at this point in the history
  • Loading branch information
bollu committed Oct 4, 2024
1 parent 8780e00 commit 4917b28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Init/Data/BitVec/Lemmas.lean
Original file line number Diff line number Diff line change
Expand Up @@ -2082,8 +2082,7 @@ theorem smtSDiv_eq {x y : BitVec n} : x.smtSDiv y =

@[simp]
theorem smtSDiv_zero {x : BitVec n} : x.smtSDiv 0#n = if x.slt 0#n then 1#n else (allOnes n) := by
simp [smtSDiv]
rcases hx : x.msb <;> simp [slt_zero_iff_msb_cond x, hx, ← negOne_eq_allOnes]
rcases hx : x.msb <;> simp [smtSDiv, slt_zero_iff_msb_cond x, hx, ← negOne_eq_allOnes]

/-! ### abs -/

Expand Down

0 comments on commit 4917b28

Please sign in to comment.