Quiz. Postcondition Weakening examples [0049]

Suppose we can prove:

\[ \{\top \}\ s\ \{x = y \land z = 2\} \]

using the rule of post-condition weakening, which of the following can we prove?

  1. \(\{\top \}\ s\ \{x = y\}\)
  2. \(\{\top \}\ s \ \{z = 2\}\)
  3. \(\{\top \}\ s\ \{z > 2\}\)
  4. \(\{\top \}\ s\ \{\forall y.\ x = y\}\)
  5. \(\{\top \}\ s\ \{\exists y.\ x = y\}\)