1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "static_2/syntax/sh_props.ma".
17 (* SORT HIERARCHY ***********************************************************)
19 (* strict monotonicity condition *)
20 record sh_lt (h): Prop ≝
22 next_lt: ∀s. s < ⫯[h]s
25 (* Basic properties *********************************************************)
27 lemma nexts_le (h): sh_lt h → ∀s,n. s ≤ (next h)^n s.
28 #h #Hh #s #n elim n -n [ // ] normalize #n #IH
29 lapply (next_lt … Hh ((next h)^n s)) #H
30 lapply (le_to_lt_to_lt … IH H) -IH -H /2 width=2 by lt_to_le/
33 lemma nexts_lt (h): sh_lt h → ∀s,n. s < (next h)^(↑n) s.
34 #h #Hh #s #n normalize
35 lapply (nexts_le … Hh s n) #H
36 @(le_to_lt_to_lt … H) /2 width=1 by next_lt/
39 axiom sh_lt_dec (h): sh_lt h → sh_decidable h.
41 axiom sh_lt_acyclic (h): sh_lt h → sh_acyclic h.