From 5c463dcff3939aacdbfc5a923af5bdf15b3719cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Blanqui?= Date: Tue, 30 Apr 2024 14:24:37 +0200 Subject: [PATCH] update bnf --- doc/lambdapi.bnf | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/doc/lambdapi.bnf b/doc/lambdapi.bnf index 75302a25a..3f794d123 100644 --- a/doc/lambdapi.bnf +++ b/doc/lambdapi.bnf @@ -18,22 +18,22 @@ QID ::= [UID "."]+ UID ::= EOF - ::= "opaque" ";" + ::= "opaque" ";" | "require" "open" * ";" | "require" * ";" | "require" "as" ";" | "open" * ";" - | * "symbol" * ":" + | * "symbol" * ":" [] ";" - | * "symbol" * [":" ] + | * "symbol" * [":" ] "≔" ";" | [] * "inductive" ("with" )* ";" | "rule" ("with" )* ";" - | "builtin" "≔" ";" + | "builtin" "≔" ";" | "coerce_rule" ";" | "unif_rule" ";" - | "notation" ";" + | "notation" ";" | ";" @@ -70,11 +70,11 @@ QID ::= [UID "."]+ UID ::= UID - ::= - | + ::= + | - ::= - | + ::= + | ::= | "(" + ":" ")" @@ -104,6 +104,7 @@ QID ::= [UID "."]+ UID | "(" ")" | "[" "]" | + | "-" ::= "." "[" [ (";" )*] "]" @@ -150,7 +151,7 @@ QID ::= [UID "."]+ UID | "reflexivity" | "remove" + | "rewrite" [] [] - | "simplify" [] + | "simplify" [] | "solve" | "symmetry" | "try" @@ -167,7 +168,7 @@ QID ::= [UID "."]+ UID ::= * ":" "≔" ["|"] [ ("|" )*] - ::= * ":" + ::= * ":" ::= "↪" @@ -182,8 +183,10 @@ QID ::= [UID "."]+ UID | "quantifier" ::= - | "-" - | + | + + ::= "-" + | ::= ["generalize"]