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/teqg_teqg.ma".
16 include "static_2/syntax/teqx.ma".
18 (* SORT-IRRELEVANT EQUIVALENCE ON TERMS *************************************)
20 (* Main properties **********************************************************)
24 /2 width=3 by teqg_trans/ qed-.
27 left_cancellable … teqx.
28 /2 width=3 by teqg_canc_sn/ qed-.
31 right_cancellable … teqx.
32 /2 width=3 by teqg_canc_dx/ qed-.
34 theorem teqx_repl: ∀T1,T2. T1 ≛ T2 →
35 ∀U1. T1 ≛ U1 → ∀U2. T2 ≛ U2 → U1 ≛ U2.
36 /3 width=3 by teqx_canc_sn, teqx_trans/ qed-.
38 (* Negated main properies ***************************************************)
40 theorem teqx_tneqx_trans: ∀T1,T. T1 ≛ T → ∀T2. (T ≛ T2 → ⊥) → T1 ≛ T2 → ⊥.
41 /3 width=3 by teqx_canc_sn/ qed-.
43 theorem tneqx_teqx_canc_dx: ∀T1,T. (T1 ≛ T → ⊥) → ∀T2. T2 ≛ T → T1 ≛ T2 → ⊥.
44 /3 width=3 by teqx_trans/ qed-.