We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please put an X between the brackets as you perform the following steps:
Lean fails to elaborate mutual inductive type with instance parameters correctly.
None
class Foo mutual inductive Bar [Foo] where inductive Baz [Foo] where end
Expected behavior: No error
Actual behavior: Error invalid mutually inductive types, parameter name mismatch 'inst._@._hyg.13', expected 'inst._@._hyg.11'
invalid mutually inductive types, parameter name mismatch 'inst._@._hyg.13', expected 'inst._@._hyg.11'
4.9.0-nightly-2024-05-30
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered:
fix: mutual inductives with instance parameters
0652a8f
closes #4310
fix: mutual inductives with instance parameters (#4342)
28cf1cf
Successfully merging a pull request may close this issue.
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
Lean fails to elaborate mutual inductive type with instance parameters correctly.
Context
None
Steps to Reproduce
Expected behavior: No error
Actual behavior: Error
invalid mutually inductive types, parameter name mismatch 'inst._@._hyg.13', expected 'inst._@._hyg.11'
Versions
4.9.0-nightly-2024-05-30
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: