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 "models/q_shift.ma".
19 intros; cases (q_cmp a b);
20 [1: right; apply q_eq_to_le; symmetry; assumption;
22 |3: right; apply q_lt_to_le; assumption;]
28 ∀f,i,b,tl. bars f = b::tl → start f + Qpos (\fst b) < i →
29 \fst (value f i) = \fst (value (mk_q_f (start f + Qpos (\fst b)) tl) i).
30 intros; cases (value f i); cases H2; clear H2;
31 [1: cases (?:False); apply (q_lt_corefl (start f)); cases H3; clear H3 H4 H5;
32 apply (q_lt_trans ???? H2);
34 simplify in ⊢ (? ? % ?);