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

(Re)implement partial elements #1293

Open
4 tasks
ice1000 opened this issue Jan 28, 2025 · 1 comment · Fixed by #1299
Open
4 tasks

(Re)implement partial elements #1293

ice1000 opened this issue Jan 28, 2025 · 1 comment · Fixed by #1299
Assignees
Labels
Milestone

Comments

@ice1000
Copy link
Member

ice1000 commented Jan 28, 2025

Re #446. Needed for hcom.

Plan:

  • Add PartialTyTerm in the xtt package, with Term lhs, Term rhs, Term ty as data. It can be type-checked as a prim, making it easier to write. The type is Partial : (r s : I) -> Type -> Set.
  • Implement the conversion of PartialTyTerm: if the logical formula rhs = lhs is mutually implied by lhs' = rhs' and A unifies with A', then Partial lhs rhs A unifies with Partial lhs' rhs' A'.
  • Add PartialTerm in the xtt package, with its syntax, parsing, producing, etc.. This is going to be a bit more laborious.
  • Implement the conversion of PartialTerm.
@ice1000 ice1000 added this to the v0.38 milestone Jan 28, 2025
@ice1000 ice1000 changed the title Implement partial elements (Re)implement partial elements Jan 28, 2025
@ice1000
Copy link
Member Author

ice1000 commented Jan 29, 2025

The prim definition is done in 3c9226c

@ice1000 ice1000 linked a pull request Feb 1, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants