added inclusion of  substitutions to inference records. added simplification to end of proof loop and stuff
added inclusion of  substitutions to inference records. added simplification to end of proof loop and stuff

leoprover/Leo-III,leoprover/Leo-III,lex-lex/Leo-III,lex-lex/Leo-III,lex-lex/Leo-III,leoprover/Leo-III