From f9e7c43b5884f5231f14ec7b008b1eb660026a0e Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Mon, 31 Jul 2017 22:07:55 +0200 Subject: Adding new scopes for standard Ltac structures. --- tests/example2.v | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/example2.v (limited to 'tests') diff --git a/tests/example2.v b/tests/example2.v new file mode 100644 index 0000000000..14a6b68e18 --- /dev/null +++ b/tests/example2.v @@ -0,0 +1,15 @@ +Require Import Ltac2.Ltac2. + +Ltac2 Notation "split" bnd(bindings) := Std.split (bnd ()). + +Goal exists n, n = 0. +Proof. +split with (x := 0). +Std.reflexivity (). +Qed. + +Goal exists n, n = 0. +Proof. +split with 0. +split. +Qed. -- cgit v1.2.3