lean2/tests/lean/uni_bug1.lean
Leonardo de Moura 631ebc6c4b fix(tests/lean/uni_bug1): make sure test does not produce a 'used sorry' warning.
Thus, the output behavior is the same when we compile lean with/without IGNORE_SORRY=ON
2014-09-26 09:42:31 -07:00

9 lines
195 B
Text

import data.nat.basic data.prod
open nat prod
variable R : nat → nat → Prop
variable f (a b : nat) (H : R a b) : nat
axiom Rtrue (a b : nat) : R a b
check f 1 0 (Rtrue (pr1 (pair 1 0)) 0)