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

Absurd Pattern #7

Open
KonjacSource opened this issue Nov 9, 2024 · 1 comment
Open

Absurd Pattern #7

KonjacSource opened this issue Nov 9, 2024 · 1 comment

Comments

@KonjacSource
Copy link
Owner

KonjacSource commented Nov 9, 2024

data N : U where 
| Z : ... 
| S : (_:N) -> ...

data False : U where

data Id {A : U} : (x y : A) -> U where 
| refl : (t : A) -> ... t t 

fun what (add : N -> N -> N) (_ : Id (add Z Z) Z) : False where
| _ k !@ k
@KonjacSource KonjacSource changed the title Pattern matching Absurd Pattern Nov 11, 2024
@KonjacSource
Copy link
Owner Author

KonjacSource commented Nov 11, 2024

Adding a new state for unification in pattern matching part, when unifying VCon with a non VCon. In this situation, we are not sure if it possible to use absurd pattern.

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

1 participant