porting fun

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
more udoc

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>