Propositional Temporal Logic (PTL)

This quiz is designed to test your knowledge of Propositional Temporal Logic (PTL). PTL is a formal system used to represent and reason about temporal properties of systems. It is widely used in computer science, artificial intelligence, and other fields.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is a valid formula in PTL?

  1. G(p -> q)
  2. F(p & q)
  3. X(p U q)
  4. Y(p R q)
Question 2 Multiple Choice (Single Answer)

What is the dual of the formula G(p -> q)?

  1. F(p & q)
  2. F(!p | q)
  3. G(!p | q)
  4. G(p & q)
Question 3 Multiple Choice (Single Answer)

What is the meaning of the formula F(p U q)?

  1. p will hold eventually
  2. p will hold until q holds
  3. p will hold in the next moment
  4. p will hold forever
Question 4 Multiple Choice (Single Answer)

Which of the following is a valid inference rule in PTL?

  1. From G(p -> q) and p, infer q
  2. From F(p & q), infer G(p)
  3. From X(p U q), infer F(q)
  4. From Y(p R q), infer G(q)
Question 5 Multiple Choice (Single Answer)

What is the semantics of the formula G(p -> q)?

  1. In every possible execution, p implies q
  2. In some possible execution, p implies q
  3. In every possible execution, p holds
  4. In some possible execution, q holds
Question 6 Multiple Choice (Single Answer)

Which of the following is a valid formula in PTL?

  1. G(p & q)
  2. F(p | q)
  3. X(!p)
  4. Y(p -> q)
Question 7 Multiple Choice (Single Answer)

What is the dual of the formula F(!p)?

  1. G(p)
  2. F(p)
  3. G(!p)
  4. F(!p)
Question 8 Multiple Choice (Single Answer)

What is the meaning of the formula X(!p)?

  1. p will not hold in the next moment
  2. p will hold in the next moment
  3. p will hold eventually
  4. p will hold forever
Question 9 Multiple Choice (Single Answer)

Which of the following is a valid inference rule in PTL?

  1. From F(p & q), infer F(p)
  2. From G(p -> q), infer G(q)
  3. From X(p U q), infer X(q)
  4. From Y(p R q), infer Y(q)
Question 10 Multiple Choice (Single Answer)

What is the semantics of the formula F(p | q)?

  1. In some possible execution, p or q holds
  2. In every possible execution, p or q holds
  3. In some possible execution, p holds
  4. In every possible execution, q holds
Question 11 Multiple Choice (Single Answer)

Which of the following is a valid formula in PTL?

  1. G(p -> q)
  2. F(p & q)
  3. X(p U q)
  4. Y(p R q)
Question 12 Multiple Choice (Single Answer)

What is the dual of the formula X(p U q)?

  1. F(!p | q)
  2. G(!p | q)
  3. F(p & !q)
  4. G(p & !q)
Question 13 Multiple Choice (Single Answer)

What is the meaning of the formula Y(p R q)?

  1. p will hold until q holds
  2. p will hold eventually
  3. p will hold in the next moment
  4. p will hold forever
Question 14 Multiple Choice (Single Answer)

Which of the following is a valid inference rule in PTL?

  1. From G(p -> q) and p, infer q
  2. From F(p & q), infer G(p)
  3. From X(p U q), infer F(q)
  4. From Y(p R q), infer G(q)
Question 15 Multiple Choice (Single Answer)

What is the semantics of the formula Y(p R q)?

  1. In every possible execution, p holds until q holds
  2. In some possible execution, p holds until q holds
  3. In every possible execution, p holds
  4. In some possible execution, q holds