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 "preamble.ma".
17 (* RELATIONS **********************************************************)
19 definition u0_predicate1: Type[0] → Type[1] ≝ λT.T → Prop.
21 definition u0_predicate2: Type[0] → Type[1] ≝ λT.T → u0_predicate1 T.
23 definition u1_predicate1: Type[1] → Type[2] ≝ λT.T → Prop.
25 definition u0_quantifier: Type[0] → Type[2] ≝ λT. u1_predicate1 (u0_predicate1 T).
27 record is_u0_reflexive (T:Type[0]) (All:u0_quantifier T) (R:u0_predicate2 T): Prop ≝
29 u0_refl: All (λa. R a a)
32 record can_u0_replace1 (T:Type[0]) (All:u0_quantifier T) (Q:u0_predicate2 T) (R:u0_predicate1 T): Prop ≝
34 u0_repl1: All (λa. R a → All (λb. Q b a → R b))
37 record can_u0_replac2 (T:Type[0]) (All:u0_quantifier T) (Q:u0_predicate2 T) (R:u0_predicate2 T): Prop ≝
39 u0_reflexivity: All (λa. R a a)