Zulip Chat Archive
Stream: new members
Topic: Every list element has an index
Martin Dvořák (Mar 01 2022 at 18:31):
I need the following observation or some variation on it. Any idea, please?
example (lis : list char) (c : char) (h : c ∈ lis) :
∃ n : ℕ, ∃ n_lt_len : (n < lis.length), c = (list.nth_le lis n n_lt_len) :=
begin
sorry,
end
Jireh Loreaux (Mar 01 2022 at 19:05):
Last updated: Dec 20 2023 at 11:08 UTC