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

Support for primitive projections in tc solver #792

Open
Tragicus opened this issue Mar 10, 2025 · 2 comments
Open

Support for primitive projections in tc solver #792

Tragicus opened this issue Mar 10, 2025 · 2 comments

Comments

@Tragicus
Copy link
Contributor

The instance compiler does not like primitive projections:

From elpi Require Import tc.

Set Primitive Projections.
Record S := { sort :> Type }.
Unset Primitive Projections.

Class C (s : Type) := {}.

Fail Instance SC (s : S) : C s := Build_C s.
@gares
Copy link
Contributor

gares commented Mar 11, 2025

I think @FissoreD and myself are busy until mid April, then we will come back to the TC solver and eventually fix this.

FissoreD added a commit to FissoreD/coq-elpi that referenced this issue Mar 11, 2025
@FissoreD
Copy link
Collaborator

Hello Quentin,
I have prepared a rapid patch that seems to solve your problem in (#793).
I haven't investigate too much tough
Hope it solves your pb

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

3 participants