-
Notifications
You must be signed in to change notification settings - Fork 84
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
More unified judgment type and All_local_env #1007
Conversation
9d8924c
to
5b9771e
Compare
@JasonGross This PR changes many low-level elements and seems to break quite seriously the quotation part, which I don't know how to repair. |
I expect the quotation part should not be too hard to repair; the bulk of the code is just mirror of the rest of the development where there's a definition for every record, inductive, and type-valued-definition-containing-a-match. Assuming there are no new types that hold either informative functions (things like "here's a map from names to universes, represented as a function") nor hold |
I'm stuck there here, I can't quote |
My guess is that - #[export] Instance quote_lift_sorting {check sorting j} {quote_check : forall tm, j_term j = Some tm -> ground_quotable (check tm (j_typ j))} {quote_sorting : forall u, ground_quotable (sorting (j_typ j) u)} : ground_quotable (@lift_sorting check sorting j) := ltac:(cbv [lift_sorting]; exact _).
+ #[export] Instance quote_lift_sorting {check sorting j} {qcheck : quotation_of check} {qsorting : quotation_of sorting} {quote_check : forall tm, j_term j = Some tm -> ground_quotable (check tm (j_typ j))} {quote_sorting : forall u, ground_quotable (sorting (j_typ j) u)} : ground_quotable (@lift_sorting check sorting j) := ltac:(cbv [lift_sorting]; exact _). Does this work? (You shouldn't need |
5b9771e
to
575ff63
Compare
(Sorry, I wrote this all yesterday and then forgot to click "comment") Btw, if you stick #[local] Instance:debug_opt := true. before the failing
which indicates that it's having trouble finding
and then adding Debugging the proof below the same way gives an output that starts with
If I do Set Typeclasses Debug Verbosity 2.
try pose proof (_ : quotation_of Hc). I see this log
The important lines are
If we
So we can add |
575ff63
to
3a488f5
Compare
69af59b
to
70a621a
Compare
70a621a
to
078344e
Compare
No description provided.