[Logic] Order of quantifiers and brackets

[Logic] Order of quantifiers and brackets