Lemmas about Std.Range
#
We provide lemmas rewriting for loops over Std.Range
in terms of List.range'
.
theorem
Std.Range.mem_of_mem_range'
{x : Nat}
{r : Std.Range}
(h : x ∈ List.range' r.start r.size r.step)
:
x ∈ r
@[simp]
Std.Range
#We provide lemmas rewriting for loops over Std.Range
in terms of List.range'
.