A Core With Functions For Proof's Code Mods