1. Nonuniform Coercions via Unification Hints
- Author
-
Claudio Sacerdoti Coen and Enrico Tassi
- Subjects
Mathematics ,QA1-939 ,Electronic computers. Computer science ,QA75.5-76.95 - Abstract
We introduce the notion of nonuniform coercion, which is the promotion of a value of one type to an enriched value of a different type via a nonuniform procedure. Nonuniform coercions are a generalization of the (uniform) coercions known in the literature and they arise naturally when formalizing mathematics in an higher order interactive theorem prover using convenient devices like canonical structures, type classes or unification hints. We also show how nonuniform coercions can be naturally implemented at the user level in an interactive theorem prover that allows unification hints.
- Published
- 2011
- Full Text
- View/download PDF