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

Improve automatically generated type for retraction #50

Open
tlringer opened this issue Apr 26, 2019 · 0 comments
Open

Improve automatically generated type for retraction #50

tlringer opened this issue Apr 26, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@tlringer
Copy link
Collaborator

The automatically generated type is, for example:

: forall (A : Type) (v : {H : nat & vector A H}),
      (fun H : {H : nat & vector A H} => orn_list_vector A (orn_list_vector_inv A H) = H) v

We want, for example:

: forall (A : Type) (v : {H : nat & vector A H}),
    orn_list_vector A (orn_list_vector_inv A v) = v

We can pass this type to Coq. While we're at it, we can generate the section type (which Coq figures out fine) and pass it to Coq too, just so that we have an extra validation step.

@tlringer tlringer added the good first issue Good for newcomers label Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant