Synthesis of Coq and Isabelle Systems