fmod CAR is sorts MyItem MyList MyNat InVec . *** DT definitions (constructors) op [] : -> MyList [ctor] . op cons : MyItem MyList -> MyList [ctor] . *** defined function names (to be induced, preds, bk) op car : MyList -> MyItem [metadata "induce"] . *** input encapsulation op in : MyList -> InVec [ctor] . vars U V W X Y Z F : MyItem . eq car(cons(Y,[])) = Y . eq car(cons(X,cons(Y,[]))) = X . eq car(cons(Y,cons(X,cons(Z,[])))) = Y . eq car(cons(Y,cons(X,cons(Z,[])))) = Y . eq car(cons(F, cons(Y,cons(X,cons(Z,[]))))) = F . endfm