Skip to content

Commit

Permalink
fixed name, indentation and generalized thm
Browse files Browse the repository at this point in the history
  • Loading branch information
luisacicolini committed Oct 7, 2024
1 parent 5da12c5 commit 2059f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Proofs/SHA512/SHA512_block_armv8_rules.lean
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ theorem truncate_of_concat_is_lsb_64 (x y : BitVec 64) :
BitVec.zeroExtend 64 (x ++ y) = y := by
bv_check "lrat_files/Sha512_block_armv8_rules.lean-truncate_of_concat_is_lsb_64-106-2.lrat"

theorem zeroExtend_append_eq (w : Nat) (x y : BitVec w) :
BitVec.zeroExtend w (x ++ y) = y := by
theorem zeroExtend_append_eq_right {w v : Nat} {x : BitVec w} {y : BitVec v} :
BitVec.zeroExtend v (x ++ y) = y := by
ext
simp only [truncate_append, Nat.le_refl, ↓reduceDIte, zeroExtend_eq]

Expand Down

0 comments on commit 2059f29

Please sign in to comment.