Created
March 8, 2026 19:59
-
-
Save ncfavier/fe9530c4c4393d3c7cfb7e65edfce048 to your computer and use it in GitHub Desktop.
Slightly surprising ill-typed with-abstraction. Is it a bug?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| postulate | |
| X : Set | |
| u : X | |
| P : X → Set | |
| Q : P u → Set | |
| f : (p : P u) → Q p | |
| f p with u | p | |
| ... | a | b = ? | |
| -- f.with : (p : P u) (w : X) (p' : P w) → Q p' | |
| -- ^^^^ 💥 p' is not a P u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment