lean2/tests/lean/nested2.lean.expected.out
2016-06-02 11:28:00 -07:00

15 lines
733 B
Text
Raw Permalink 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.

definition bla : :=
λ a, foo (succ (succ a)) (bla_2 a)
definition bla_1 : ∀ (x : ), 0 < succ x :=
λ x, zero_lt_succ x
definition bla_2 : ∀ (x : ), 0 < succ (succ x) :=
λ x, lt.step (bla_1 x)
definition test_1 [irreducible] : ∀ (x : ), 0 < succ x :=
λ x, zero_lt_succ x
definition test_2 [reducible] : ∀ (x : ), 0 < succ (succ x) :=
λ x, lt.step (test_1 x)
definition tst_1 : ∀ (x : Type.{l_1}) (x_1 : x) (x_2 : list.{l_1} x),
x_1 :: x_2 = nil.{l_1} → list.no_confusion_type.{0 l_1} false (x_1 :: x_2) nil.{l_1} :=
λ x x_1 x_2, list.no_confusion.{0 l_1}
definition tst : Π {A : Type.{l_1}}, A → list.{l_1} A → bool :=
λ A a l, voo.{(max 1 l_1)} (a :: l) nil.{l_1} (tst_1.{l_1} A a l)