fix(hott/trunc): add explicit coercion so that the notation works if nat is not opened

This commit is contained in:
Floris van Doorn 2014-12-03 19:28:32 -05:00 committed by Leonardo de Moura
parent b62b4754cb
commit 4b799a9da4

View file

@ -71,7 +71,7 @@ namespace truncation
-- should this be notation or definitions?
notation `is_contr` := is_trunc -2
notation `is_hprop` := is_trunc -1
notation `is_hset` := is_trunc nat.zero
notation `is_hset` := is_trunc (nat_to_trunc_index nat.zero)
-- definition is_contr := is_trunc -2
-- definition is_hprop := is_trunc -1
-- definition is_hset := is_trunc 0