lean2/tests/lean/run/801.lean
2015-08-16 14:22:02 -07:00

14 lines
359 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

open nat
definition seq_diagram (A : → Type) : Type := (Πn, A n → A (succ n))
variables (A : → Type) (f : seq_diagram A)
include f
definition shift_diag [unfold-full] (k : ) : seq_diagram (λn, A (k + n)) :=
λn a, f (k + n) a
example (n k : ) (b : A (k + n)) : shift_diag A f k n b = sorry :=
begin
esimp,
state,
apply sorry
end