HigherOrderCO / Kind

A modern proof language
https://higherorderco.com
MIT License
3.59k stars 142 forks source link

Fill metas in unreachable Mat cases #597

Closed developedby closed 1 month ago

developedby commented 1 month ago

Previously, when reaching an unreachable case in a Mat term, the type checker would simply skip checking it.

This lead to the metas inside of that case never being filled, since they were not checked.

Now, we substitute all Met terms in unreachable cases with (Hol "unreachable")