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

Induction on lists of a specific type does not work #1141

Closed
melanie-taprogge opened this issue Oct 10, 2024 · 1 comment
Closed

Induction on lists of a specific type does not work #1141

melanie-taprogge opened this issue Oct 10, 2024 · 1 comment

Comments

@melanie-taprogge
Copy link

When trying to use the induction tactic to proof anything for a list of terms of a specified type rather than an arbitrary type, I receive the error "file:... 𝕃 is not applied to distinct variables."

A very simple example of this:

symbol sample (list : 𝕃 nat) : π (⊤)≔
begin
    induction;
end;

... results in the error, while induction works in cases like...

symbol sample_2 [a] (list : 𝕃 a) : π (⊤)≔
begin
    assume a;
    induction
    {admit}
    {admit}
end;

A lambdapi file with the two examples is attached.
problem.lp.zip

@fblanqui fblanqui changed the title Inductin on lists of set types not working Induction on lists of a specific type does not work Oct 10, 2024
fblanqui added a commit to fblanqui/lambdapi that referenced this issue Oct 10, 2024
@fblanqui
Copy link
Member

fixed in #1142

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