2015-06-16 19:03:31 +00:00
|
|
|
import data.nat
|
|
|
|
open nat
|
|
|
|
|
|
|
|
inductive foo : Prop :=
|
|
|
|
mk : ∀ {a : nat}, a > 0 → foo
|
|
|
|
|
|
|
|
example (b : nat) (h : b > 1) : foo :=
|
|
|
|
begin
|
2015-06-18 06:48:54 +00:00
|
|
|
fconstructor,
|
2015-06-16 19:03:31 +00:00
|
|
|
exact b,
|
|
|
|
exact lt_of_succ_lt h
|
|
|
|
end
|