refactor mainloop a bit and then re-run it with relaxed strategy if GaveUp occurs
refactor mainloop a bit and then re-run it with relaxed strategy if GaveUp occurs

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