Defined most proof structures, implemented variables