added more inference for existential quantifier