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 (* This file was automatically generated: do not edit *********************)
17 include "basic_1/drop/defs.ma".
19 include "basic_1/lift1/defs.ma".
21 inductive drop1: PList \to (C \to (C \to Prop)) \def
22 | drop1_nil: \forall (c: C).(drop1 PNil c c)
23 | drop1_cons: \forall (c1: C).(\forall (c2: C).(\forall (h: nat).(\forall (d:
24 nat).((drop h d c1 c2) \to (\forall (c3: C).(\forall (hds: PList).((drop1 hds
25 c2 c3) \to (drop1 (PCons h d hds) c1 c3)))))))).
27 rec definition ptrans (hds: PList) on hds: nat \to PList \def \lambda (i:
28 nat).(match hds with [PNil \Rightarrow PNil | (PCons h d hds0) \Rightarrow
29 (let j \def (trans hds0 i) in (let q \def (ptrans hds0 i) in (match (blt j d)
30 with [true \Rightarrow (PCons h (minus d (S j)) q) | false \Rightarrow