From 2a2e8e46e0de6f99154a9421f75ae802557f22c7 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Thu, 30 Aug 2018 00:51:48 +0200 Subject: Should write the correct rule for Ord_leq_min. Another exercise. --- HoTT_Base.thy | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'HoTT_Base.thy') diff --git a/HoTT_Base.thy b/HoTT_Base.thy index 269a3d9..be4899c 100644 --- a/HoTT_Base.thy +++ b/HoTT_Base.thy @@ -42,7 +42,7 @@ where and Ord_lt_monotone: "\m n. m < n \ S(m) < S(n)" and - Ord_leq_min: "\n. n \ n" + Ord_leq_min: "\n. O \ n" and Ord_leq_monotone: "\m n. m \ n \ S(m) \ S(n)" @@ -57,7 +57,11 @@ where U_hierarchy: "\i j. i < j \ U(i): U(j)" and U_cumulative: "\A i j. \A: U(i); i \ j\ \ A: U(j)" - \ \WARNING: \rule Universe_cumulative\ can result in an infinite rewrite loop!\ + +text " + The rule \U_cumulative\ is very unsafe: if used as-is it will usually lead to an infinite rewrite loop! + It should be instantiated with the right ordinals \i\ and \j\ before being applied. +" section \Type families\ -- cgit v1.2.3