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

Accidentally recursive definitions #168

Open
gebner opened this issue Aug 24, 2022 · 0 comments
Open

Accidentally recursive definitions #168

gebner opened this issue Aug 24, 2022 · 0 comments

Comments

@gebner
Copy link
Member

gebner commented Aug 24, 2022

Synport:

namespace Bool

theorem coe_sort_tt : coeSort.{1, 1} true = True :=
  coe_sort_tt

In Lean 3 coe_sort_tt would resolve to _root_.coe_sort_tt resulting in a non-recursive alias definition. But in Lean 4, coe_sort_tt now resolves to Bool.coe_sort_tt and we get a (nonterminating) recursive definition.

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

1 participant