fix: bring lengthTR lemma back into scope at toArray (#12502)
This PR brings the `length = lengthTR` lemma back into scope after shake mistakenly removed it.
This commit is contained in:
parent
f084ce1497
commit
620ef3bb86
2 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ module
|
|||
|
||||
prelude
|
||||
public import Init.Prelude
|
||||
import Init.Data.List.Basic
|
||||
|
||||
public section
|
||||
|
||||
|
|
|
|||
5
tests/lean/run/to_array_csimp.lean
Normal file
5
tests/lean/run/to_array_csimp.lean
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/-! regression test against missing csimp lemmas in Init -/
|
||||
|
||||
/-- info: 300000 -/
|
||||
#guard_msgs in
|
||||
#eval (List.range (3 * 10 ^ 5)).toArray.size
|
||||
Loading…
Add table
Reference in a new issue