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
congruence fails if universes differ, results in weird f_equal behavior #9979
Comments
You can try ssreflect |
If I do |
The documentation of |
…umption and to allow me to get to the lemma I want to work on faster), does not compile yet, stuck on f_equal/congruence not dealing correctly with universes (coq/coq#9979)
AFAICT this really looks like a duplicate of #5481. |
Duplicate of #5481 |
…ruence. We hash declarations without their universe instances while the universe constraints are reinferred at the time of building the proof. Also fixes coq#9979 (f_equal with universe polymorphism).
…ruence. We hash declarations without their universe instances while the universe constraints are reinferred at the time of building the proof. Also fixes coq#9979 (f_equal with universe polymorphism). Also now solves "Goal Type -> Type" by unifying universe levels.
…ruence. We hash declarations without their universe instances while the universe constraints are reinferred at the time of building the proof. Also fixes coq#9979 (f_equal with universe polymorphism). Also now solves "Goal Type -> Type" by unifying universe levels. Co-authored-by: SkySkimmer <SkySkimmer@users.noreply.github.com>
Desired behavior:
congruence
should succeed and solve the goal.Moreover, since
f_equal
callscongruence
, the followingresults in
instead of just the second subgoal.
Coq version: Both master (424c197, Apr 1), and 8.9 are affected.
Might be the same as #5481.
Thx @JasonGross for helping me isolate the problem.
/cc @andres-erbsen
The text was updated successfully, but these errors were encountered: