You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
test : {l : Level} {A : Set l} -> (x : A) -> (p : x ≡ x) -> p ≡ reflusingJ. It's obviously easy if you allow pattern matching with K. Note that this challenge requires you to use the fact that p must be reflexivity, something you learn from the pattern match on p.Jcould be replaced with an equivalent use ofsubst, and the version ofsubstin whichxandyare judgementally equal is obviously derivable without K (you just ignore the pathx ≡ xand return the identity functionP x → P x).