chore: cleaning up imports (#8314)

This commit is contained in:
Kim Morrison 2025-05-13 17:09:21 +10:00 committed by GitHub
parent 77302b6572
commit aa647f3cd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 7 additions and 3 deletions

View file

@ -516,7 +516,7 @@ theorem msb_neg {w : Nat} {x : BitVec w} :
rw [(show w = w - 1 + 1 by omega), Int.pow_succ] at this
omega
@[simp] theorem BitVec.setWidth_neg_of_le {x : BitVec v} (h : w ≤ v) : BitVec.setWidth w (-x) = -BitVec.setWidth w x := by
@[simp] theorem setWidth_neg_of_le {x : BitVec v} (h : w ≤ v) : BitVec.setWidth w (-x) = -BitVec.setWidth w x := by
simp [← BitVec.signExtend_eq_setWidth_of_le _ h, BitVec.signExtend_neg_of_le h]
/-! ### abs -/

View file

@ -7,7 +7,8 @@ module
prelude
import Init.Data.UInt.Basic
import Init.Data.String
import Init.Data.String.Basic
import Init.Data.ByteArray.Basic
universe u
instance : Hashable Nat where

View file

@ -7,7 +7,7 @@ Authors: Dany Fabian, Sebastian Ullrich
module
prelude
import Init.Data.String
import Init.Data.String.Basic
import Init.Data.Array.Basic
import Init.Data.SInt.Basic
import Init.Data.Vector.Basic

View file

@ -10,6 +10,7 @@ import Init.System.IOError
import Init.System.FilePath
import Init.System.ST
import Init.Data.Ord
import Init.Data.String.Extra
open System

View file

@ -7,6 +7,7 @@ prelude
import Init.Data.Ord
import Init.Data.SInt.Lemmas
import Init.Data.Vector.Lemmas
import Init.Data.String.Lemmas
/-!
# Type classes related to `Ord`

View file

@ -5,6 +5,7 @@ Authors: Mac Malone
-/
prelude
import Init.Data.Ord
import Init.Data.String.Lemmas
namespace Lake