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

Examples of CoqEAL style refinement #40

Open
palmskog opened this issue Jan 16, 2025 · 2 comments
Open

Examples of CoqEAL style refinement #40

palmskog opened this issue Jan 16, 2025 · 2 comments

Comments

@palmskog
Copy link
Member

palmskog commented Jan 16, 2025

From what I can tell from the paper and examples directory in the repo, nearly all examples are about proof transfer for isomorphisms/equality. Or are there any Trocq-based examples lying around somewhere for CoqEAL style refinement based on partial quotient refinement relations, where the target type has "more elements" than the source type?

@CohenCyril
Copy link
Collaborator

CohenCyril commented Jan 16, 2025

Hi @palmskog indeed there are no examples of CoqEAL style refinement stricto sensu, however both https://github.com/coq-community/trocq/blob/master/examples/nat_ind.v and https://github.com/coq-community/trocq/blob/master/examples/flt3_step.v feature examples which are not iso, and although we could have performed transfer of ground terms to achieve enhanced computation à la CoqEAL, we chose to show we support transfer of more intricate statements.
At some point "we" should work towards porting CoqEAL to trocq indeed.

@palmskog
Copy link
Member Author

For the record, I think a Trocq port of the rational number refinement example from the CoqEAL paper would be nice, and also demonstrate to observers that Trocq has these refinement capabilities. If a spare moment to do this shows up and nobody beats me to it, I will make a PR.

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

2 participants