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

Trocq records for inductive types #25

Open
ecranceMERCE opened this issue Jan 18, 2024 · 0 comments
Open

Trocq records for inductive types #25

ecranceMERCE opened this issue Jan 18, 2024 · 0 comments
Labels
enhancement New feature or request theory Theoretical aspects of the plugin

Comments

@ecranceMERCE
Copy link
Collaborator

ecranceMERCE commented Jan 18, 2024

Several files of the repository relate inductive types to themselves. The proofs do not look very interesting, and they are mainly used for Trocq not to fail when translating a goal containing a type that the user does not focus on (i.e., they want it to be left untouched in the process). Therefore, it would be interesting to have a generator of reflexive proofs for any inductive type:

(* α is a vector of parameters/indices *)
Inductive T α := (* ... *)

Trocq Generate T. (* generates TR : forall α α' αR, ParamMN.Rel (T α) (T α') *)
@ecranceMERCE ecranceMERCE added enhancement New feature or request theory Theoretical aspects of the plugin labels Jan 18, 2024
@ecranceMERCE ecranceMERCE changed the title Parametricity proofs for inductive types Trocq records for inductive types Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request theory Theoretical aspects of the plugin
Projects
None yet
Development

No branches or pull requests

1 participant