A short excerpt on pattern unification

Preface: Low effort post. The following is an excerpt from a discord conversation about dependent pattern unification. In short, pattern unification is one method for solving unification goals such as the following: id : ( A : Type ) -> A -> A id A x = x id2 : ( B : Type ) -> B -> B id2 B x = id _ x Here, we have that our type argument to id is a hole, so we must solve it. We are working with a de…