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

Erase additional PreorderReasoning arguments #3039

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

madman-bob
Copy link
Collaborator

This reduces the need for excess irrelevantEqs.

Calc : {0 x : a} -> {0 y : b} -> FastDerivation x y -> x ~=~ y
Calc (|~ x) = Refl
Calc ((~~) der (_ ...(Refl))) = Calc der
Calc : {0 x : a} -> {0 y : b} -> (0 der : FastDerivation x y) -> x ~=~ y
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For anyone watching at home, the key thing to notice here is
the 0 in (0 der : ...) .

@gallais gallais merged commit 3c61471 into idris-lang:main Aug 4, 2023
20 checks passed
@madman-bob madman-bob deleted the preorder-reasoning-erasure branch August 4, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants