blob: 1ab1d8733ece66faaf1b995c16efffbd31b366bb [file] [edit]
splitIssue3.lean:8:4-8:7: warning: declaration uses `sorry`
splitIssue3.lean:8:0-16:17: warning: declaration uses `sorry`
@len.eq_1 : ∀ {α : Type u_1}, len [] = 0
@len.eq_2 : ∀ {α : Type u_1} (a : α), len [a] = 1
@len.eq_3 : ∀ {α : Type u_1} (fst snd : List α),
(fst ++ snd = [] → False) →
(∀ (a : α), fst ++ snd = [a] → False) →
splitList (fst ++ snd) = ListSplit.split fst snd → len (fst ++ snd) = len fst + len snd
@len.eq_def : ∀ {α : Type u_1} (x : List α),
len x =
match x with
| [] => 0
| [a] => 1
| l =>
match l, splitList l with
| .(fst ++ snd), ListSplit.split fst snd => len fst + len snd