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

invalid reference to undefined universe level parameter with inductiveCheckResultingUniverse false #3310

Closed
1 task done
eric-wieser opened this issue Feb 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@eric-wieser
Copy link
Contributor

eric-wieser commented Feb 12, 2024

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:
    • Check that your issue is not already filed.
    • Reduce the issue to a minimal, self-contained, reproducible test case. Avoid dependencies to mathlib4 or std4.

Description

When using bootstrap.inductiveCheckResultingUniverse false, there is a kernel error when building a structure

Context

Related Zulip message

Steps to Reproduce

  1. Run
    set_option bootstrap.inductiveCheckResultingUniverse false in
    structure Wrap.{u} (α : Sort u) : Sort u where
      val : α

Expected behavior: No diagnostics

Actual behavior:

(kernel) invalid reference to undefined universe level parameter 'u'

Surprisingly, #check Wrap works fine; so the error is coming from generation of some auxiliary declaration.

Versions

4.6.0-rc1

Impact

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

@eric-wieser eric-wieser added the bug Something isn't working label Feb 12, 2024
@Kha
Copy link
Member

Kha commented Sep 13, 2024

bootstrap comes without warranty :)

@Kha Kha closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants