Solution inline with under-approximation validity proof
Some small changes to get CVC4 smt solver working with HO functions