Decidability of theories General logic mathematics