wilbowma / cur

A less devious proof assistant
BSD 2-Clause "Simplified" License
222 stars 18 forks source link

Bug in types of branches #65

Closed wilbowma closed 7 years ago

wilbowma commented 7 years ago

See branch sigma. Compare our implementation of check-method https://github.com/wilbowma/cur/blob/master/cur-lib/cur/curnel/racket-impl/type-check.rkt#L569 to Type of branches from CIC (https://coq.inria.fr/distrib/current/refman/Reference-Manual006.html).

Basically, by trying to cheat and not threading through the canonical form, we screw up typing when using dependent elimination