In mathematical logic and computer science, two-variable logic is the fragment of first-order logic where formula can be written using only two different variables. This fragment is usually studied without function symbols.
In logic, the term decidable refers to the decision problem, the question of the existence of an effective method for determining membership in a set of formulas, or, more precisely, an algorithm that can and will return a boolean true or false value that is correct (instead of looping indefinitely, crashing, returning "don't know" or returning a wrong answer).
My question is if it is decidable what is the method for determining membership in a set of formula and if it's undecidable tell me the reason.Also if there is any paper about this please inform me.
Thanks