| 1 |
(************************************************************************) |
| 2 |
(* * The Rocq Prover / The Rocq Development Team *) |
| 3 |
(* v * Copyright INRIA, CNRS and contributors *) |
| 4 |
(* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 |
(* \VV/ **************************************************************) |
| 6 |
(* // * This file is distributed under the terms of the *) |
| 7 |
(* * GNU Lesser General Public License Version 2.1 *) |
| 8 |
(* * (see LICENSE file for the text of the license) *) |
| 9 |
(************************************************************************) |
| 10 |
|
| 11 |
|
| 12 |
(* This file contains Ltac2 Notations reproducing Ltac1 parsing of tactics, |
| 13 |
that can be harmful to parsing, and produce bad error messages. |
| 14 |
They should hence only be imported to port proof script written in Ltac1, |
| 15 |
or if they are really wanted. |
| 16 |
*) |
| 17 |
|
| 18 |
Require Import Ltac2.Init Ltac2.Std. |
| 19 |
|
| 20 |
Ltac2 Notation "transitivity" c(constr) : 1 := Std.transitivity c. |
| 21 |
|
| 22 |
Ltac2 Notation "rename" renames(list1(seq(ident, "into", ident), ",")) := |
| 23 |
Std.rename renames. |