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

Structural recursion in Branch #70

Open
joneugster opened this issue May 4, 2023 · 0 comments
Open

Structural recursion in Branch #70

joneugster opened this issue May 4, 2023 · 0 comments
Labels
bug Something isn't working priority-low nice to have server Concerning the lean gameserver

Comments

@joneugster
Copy link
Collaborator

This example compiles fine:

Statement MyNat.one_mul (m : ℕ): 1 * m = m := by
  Branch
    rw [MyNat.one_mul]
  sorry

while this one throws the structural recursion error:

Statement MyNat.one_mul (m : ℕ): 1 * m = m := by
  Branch
    rw [MyNat.one_mul]
    done
  sorry

Should get Branch to throw an error in the first case.

@joneugster joneugster added bug Something isn't working server Concerning the lean gameserver priority-low nice to have labels May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-low nice to have server Concerning the lean gameserver
Projects
None yet
Development

No branches or pull requests

1 participant