From e559dfc4995ae6777d9ff07d34db738cb77a519c Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Tue, 4 Feb 2020 18:40:24 +0100 Subject: Adding an alias "pose proof (x:=a)" for "pose proof a as x". This is to be consistent with "pose (x:=a)" (and an alternative to "assert (x:=a)"). This was suggested by "https://github.com/HoTT/HoTT/pull/1208#discussion_r374342962". --- test-suite/success/pose.v | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test-suite/success/pose.v (limited to 'test-suite') diff --git a/test-suite/success/pose.v b/test-suite/success/pose.v new file mode 100644 index 0000000000..17007915fe --- /dev/null +++ b/test-suite/success/pose.v @@ -0,0 +1,9 @@ +(* Test syntax *) + +Goal 0=0. +pose proof (a := I). +Fail clearbody a. +epose proof (b := fun _ => eq_refl). +Fail clearbody b. +exact (b a). +Qed. -- cgit v1.2.3