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 "ground_2/steps/rtc.ma".
17 (* RT-TRANSITION COUNTER ****************************************************)
19 definition plus (r1:rtc) (r2:rtc): rtc ≝ match r1 with [
20 mk_rtc ri1 rh1 ti1 th1 ⇒ match r2 with [
21 mk_rtc ri2 rh2 ti2 th2 ⇒ 〈ri1+ri2, rh1+rh2, ti1+ti2, th1+th2〉
25 interpretation "plus (rtc)"
26 'plus r1 r2 = (plus r1 r2).