Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escaped identifiers are not allowed for bound variables #946

Open
fblanqui opened this issue Jan 27, 2023 · 3 comments
Open

Escaped identifiers are not allowed for bound variables #946

fblanqui opened this issue Jan 27, 2023 · 3 comments

Comments

@fblanqui
Copy link
Member

No description provided.

@NotBad4U
Copy link
Member

Is this issue still open?

symbol A: TYPE;
symbol f : A → A → A;
symbol {|i$|}:A;
injective symbol + : A → TYPE;

opaque symbol test: Π {|i@|}, + (f {|i@|} {|i@|}) ≔
begin
    assume {|i@|};
    admit //...
end;

Escaped identifier sounds to work for bound variables, or maybe we are not speaking about the same thing.

@fblanqui
Copy link
Member Author

Strange. You do not get an error?

13:28 ~/lambdapi (master) lambdapi check tmp/946.lp 
Checking "/home/blanqui/src/lambdapi/tmp/946.lp" ...
[/home/blanqui/src/lambdapi/tmp/946.lp:6:22-28] "{|i@|}": Escaped identifiers or regular identifiers having an integer suffix with leading zeros are not allowed for bound variable names.

Which version of lambdapi do you use?

@NotBad4U
Copy link
Member

Oh sorry I forgot that I was in Lambdapi version: dev-2.1.0-116-g93668def because of #843,
so I also got the error

"{|i@|}": Escaped identifiers or regular identifiers having an integer suffix with leading zeros are not allowed for bound variable names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants