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

Adapt and use HB to generate Trocq relational structures #28

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

Adapt and use HB to generate Trocq relational structures #28

CohenCyril opened this issue Jan 18, 2024 · 0 comments
Labels
dependencies Compatibility with other packages enhancement New feature or request

Comments

@CohenCyril
Copy link
Collaborator

CohenCyril commented Jan 18, 2024

Right now we cannot use HB for two reasons:

  1. We rely crucially on universe polymorphism (trocq records have trocq records as their fields), and HB does not support it
  2. We have serveral instances on the same type: e.g. Type has 36 different interpretations, and constants might be translated to themselves, or to custom targets.

However using HB already handles the gradual construction of records and could handle the symmetrisation easily, thus solving issue #24.

Another advantage of HB is that we could extend the Trocq hierarchy more easily and link it with that of functions (from e.g. https://github.com/math-comp/analysis/blob/master/classical/functions.v) and morphisms (from e.g. https://github.com/math-comp/math-comp/blob/master/mathcomp/algebra/ssralg.v)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Compatibility with other packages enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants