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

Private symbols are not unfolded #1035

Closed
NotBad4U opened this issue Jan 26, 2024 · 2 comments
Closed

Private symbols are not unfolded #1035

NotBad4U opened this issue Jan 26, 2024 · 2 comments

Comments

@NotBad4U
Copy link
Member

I have a unification problem with the code below when code_S and S are private

symbol 𝑰 [a]: β„• β†’ Ο„ a; 
private symbol code_S : Set;
private symbol S ≔ Ο„ code_S;
private symbol a: S ≔ 𝑰 0;

I get the error:

The proof is not finished:
0. S ≑ Ο„ ?498683
1. S ≑ Ο„ ?498683
2. ?498683: Set
3. ?498683: Set
@NotBad4U NotBad4U changed the title Unifcation failed when symbols have private symbol Unifcation failed when symbols have private modifier Jan 26, 2024
@fblanqui fblanqui changed the title Unifcation failed when symbols have private modifier Unification fails when symbols are private Feb 21, 2024
@fblanqui
Copy link
Member

Please provide a standalone file.

@fblanqui
Copy link
Member

symbol Set:TYPE;
injective symbol Ο„:Set β†’ TYPE;
symbol β„•:TYPE;
symbol 0:β„•;
symbol 𝑰 [a]: β„• β†’ Ο„ a;
private
symbol code_S : Set;
private
symbol S ≔ Ο„ code_S;
private
symbol a: S ≔ 𝑰 0;
//symbol a0: S ≔ @𝑰 code_S 0;

@fblanqui fblanqui changed the title Unification fails when symbols are private The inversion algorithm fails with symbols defined with ≔ Feb 21, 2024
@fblanqui fblanqui changed the title The inversion algorithm fails with symbols defined with ≔ Private symbols are not unfolded Feb 21, 2024
fblanqui added a commit to fblanqui/lambdapi that referenced this issue Feb 21, 2024
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