1. Home
  2. Explore
  3. Computer Science
  4. CTL Temporal Logic

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

CTL Temporal Logic

  • 83Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: CTL Foundations
Computational Tree Logic is abbreviated as
.

83 questions

  1. 1
    Computational Tree Logic is abbreviated as
    _____
    .
    Hint

    The name refers to a logic defined over computational trees.

    Answer

    CTL

  2. 2
    CTL is classified as a
    _____
    -time logic because it reasons about several possible execution traces from a state.
    Hint

    Contrast this with linear-time logic, which considers one execution trace at a time.

    Answer

    branching

  3. 3
    Linear-time logic reasons about time progress along a particular execution
    _____
    .
    Hint

    It is one sequence of system states.

    Answer

    trace

  4. 4
    In temporal logic, the truth value of a formula is defined over a model and may be evaluated at a state or over a
    _____
    .
    Hint

    A path is an execution sequence through the model.

    Answer

    path

  5. 5
    A formula whose truth value is defined at a particular state is called a
    _____
    formula.
    Hint

    Its evaluation is associated with one state of a model.

    Answer

    state

  6. 6
    A formula whose truth value is defined over an execution path is called a
    _____
    formula.
    Hint

    Its evaluation follows a sequence of states.

    Answer

    path

  7. 7
    A state-transition diagram represents system states and the
    _____
    between those states.
    Hint

    These indicate how the system can move from one state to another.

    Answer

    transitions

  8. 8
    Expanding all possible transitions from a state into a tree produces a
    _____
    tree.
    Hint

    This word appears in the full name of CTL.

    Answer

    computational

  9. 9
    Two occurrences of the same state in a computational tree can have the same behavior but represent different
    _____
    steps.
    Hint

    One occurrence may be the initial state while another is reached later through a loop.

    Answer

    time

  10. 10
    If one transition represents one time unit, a state reached after two transitions from the initial state occurs at time
    _____
    .
    Hint

    Add two time units to the initial time.

    Answer

    t0+2t_0 + 2t0​+2

  11. 11
    The basic path quantifiers in CTL are AAA, meaning all paths, and EEE, meaning
    _____
    path.
    Hint

    This quantifier requires only one suitable execution path.

    Answer

    there exists a

  12. 12
    In CTL, AAA is the path quantifier for
    _____
    possible paths.
    Hint

    It requires a property to hold on every execution path.

    Answer

    all

  13. 13
    In CTL, an atomic proposition such as ppp has a truth value of either true or
    _____
    .
    Hint

    Atomic propositions are Boolean statements.

    Answer

    false

  14. 14
    The basic Boolean connectives available in CTL include AND, OR, and
    _____
    .
    Hint

    This connective reverses a formula's truth value.

    Answer

    NOT

  15. 15
    The four basic temporal operators discussed for CTL are next, future, globally, and
    _____
    .
    Hint

    The last operator relates a condition that persists to another condition becoming true.

    Answer

    until

  16. 16
    The next, future, and globally operators are
    _____
    operators because each operates on one formula.
    Hint

    The prefix uni- means one.

    Answer

    unary

  17. 17
    The until operator is a
    _____
    operator because it relates two formulas.
    Hint

    The operator describes one formula holding until another formula holds.

    Answer

    binary

  18. 18
    In the CTL syntax, the symbol op opop represents the truth value
    _____
    .
    Hint

    It is the logical constant opposite to ot.

    Answer

    true

  19. 19
    In the CTL syntax, the symbol ot represents the truth value
    _____
    .
    Hint

    It is the logical constant opposite to op opop.

    Answer

    false

  20. 20
    Every atomic proposition in the chosen set of propositions is itself a valid
    _____
    formula.
    Hint

    Atomic propositions form the base cases of the recursive syntax.

    Answer

    CTL

  21. 21
    If heta hetaheta is a CTL formula, then applying a Boolean connective such as NOT to heta hetaheta produces another valid
    _____
    formula.
    Hint

    The syntax is closed under propositional connectives.

    Answer

    CTL

  22. 22
    The CTL formula AXhetaAX hetaAXheta states that heta hetaheta holds in the
    _____
    state on every possible path.
    Hint

    The operator XXX means next.

    Answer

    next

  23. 23
    The CTL formula EXhetaEX hetaEXheta states that there exists a path whose
    _____
    state satisfies heta hetaheta.
    Hint

    The path needs only one suitable immediate successor.

    Answer

    next

  24. 24
    The formula AFhetaAF hetaAFheta means that heta hetaheta will eventually hold on
    _____
    possible paths.
    Hint

    The quantifier is AAA.

    Answer

    all

  25. 25
    The formula EFhetaEF hetaEFheta means that there exists a path on which heta hetaheta eventually
    _____
    .
    Hint

    Only one path must eventually reach a state satisfying heta hetaheta.

    Answer

    holds

  26. 26
    The formula AGhetaAG hetaAGheta means that heta hetaheta holds globally, or in
    _____
    states along every path.
    Hint

    The operator GGG requires the property to persist everywhere on a path.

    Answer

    all

  27. 27
    The formula EGhetaEG hetaEGheta means that there exists at least one path on which heta hetaheta holds in
    _____
    states.
    Hint

    The existential quantifier selects one suitable path.

    Answer

    all

  28. 28
    A CTL formula is a state formula because every temporal operator is preceded by a path
    _____
    .
    Hint

    The relevant symbols are AAA and EEE.

    Answer

    quantifier

  29. 29
    The formula EXθEX\thetaEXθ is true at a state if at least one immediate successor satisfies
    _____
    .
    Hint

    The operand of the next operator is the property being checked.

    Answer

    θ\thetaθ

  30. 30
    The formula AXθAX\thetaAXθ is false at a state if even one immediate successor does not satisfy
    _____
    .
    Hint

    Universal quantification fails when there is one counterexample.

    Answer

    θ\thetaθ

  31. 31
    If one successor of a state satisfies ppp and another does not, then EXpEXpEXp may be true but AXpAXpAXp is
    _____
    .
    Hint

    Compare existential and universal path requirements.

    Answer

    false

  32. 32
    The formula AGpAGpAGp is false if there is one execution path containing a state where ppp is
    _____
    .
    Hint

    Universal globally requires ppp everywhere on every path.

    Answer

    false

  33. 33
    The formula EGpEGpEGp can be true even when AGpAGpAGp is false, provided at least one path has ppp true in
    _____
    states.
    Hint

    The existential global formula needs one completely satisfying path.

    Answer

    all

  34. 34
    The expression Fr U qF r\ U\ qFr U q is not a CTL formula because its temporal operators are not preceded by a path
    _____
    .
    Hint

    A valid CTL temporal operator must be preceded by AAA or EEE.

    Answer

    quantifier

  35. 35
    The expression E(F(r U q))E(F(r\ U\ q))E(F(r U q)) becomes a valid CTL formula only when both temporal operators are preceded by appropriate path
    _____
    .
    Hint

    The operators need EEE or AAA before them.

    Answer

    quantifiers

  36. 36
    A syntactically correct formula in a logic is called a well-formed
    _____
    .
    Hint

    The abbreviation often used is WFF.

    Answer

    formula

  37. 37
    The subexpressions from which a larger CTL formula is recursively constructed are called
    _____
    formulas.
    Hint

    For example, ppp, qqq, and ¬q\neg q¬q can be parts of a larger formula.

    Answer

    sub

  38. 38
    The model used to define CTL semantics is a triple consisting of a state set, a transition relation, and a
    _____
    function.
    Hint

    This function records which atomic propositions are true at each state.

    Answer

    labeling

  39. 39
    In a CTL model, SSS is the finite set of
    _____
    .
    Hint

    The transition system is built from these entities.

    Answer

    states

  40. 40
    The transition relation is a subset of the Cartesian product
    _____
    .
    Hint

    A transition is an ordered pair of source and destination states.

    Answer

    S×SS \times SS×S

  41. 41
    The transition relation of a valid CTL structure must be complete, meaning every state has at least one outgoing
    _____
    .
    Hint

    A state cannot be a dead end in this model.

    Answer

    transition

  42. 42
    The labeling function maps each state to a subset of the set of atomic
    _____
    .
    Hint

    The labels identify which propositions are true at a state.

    Answer

    propositions

  43. 43
    If ppp belongs to the label of state sss, then ppp is
    _____
    at state sss.
    Hint

    Labels list the propositions that hold at a state.

    Answer

    true

  44. 44
    A transition system with a complete transition relation and a labeling function is called a
    _____
    structure.
    Hint

    This is the standard model structure for CTL.

    Answer

    Kripke

  45. 45
    A Kripke structure resembles a finite-state machine but additionally requires complete transitions and a
    _____
    function.
    Hint

    This extra function assigns true atomic propositions to states.

    Answer

    labeling

  46. 46
    A state with no outgoing transition cannot be part of a valid complete
    _____
    structure.
    Hint

    Completeness rules out dead-end states.

    Answer

    Kripke

  47. 47
    The semantic notation M,s⊨ϕM,s\models\phiM,s⊨ϕ means that formula ϕ\phiϕ
    _____
    at state sss of model MMM.
    Hint

    It asserts the truth of the formula at that state.

    Answer

    holds

  48. 48
    The semantic definition of a compound CTL formula proceeds by structural
    _____
    over its subformulas.
    Hint

    The truth of smaller formulas is used to define the truth of larger ones.

    Answer

    induction

  49. 49
    The formula op opop is true in
    _____
    state of a model.
    Hint

    It is the logical constant true.

    Answer

    every

  50. 50
    The formula ot is true in
    _____
    state of a model.
    Hint

    It is the logical constant false.

    Answer

    no

  51. 51
    An atomic proposition ppp holds at state sss exactly when ppp is a member of the label
    _____
    .
    Hint

    The labeling function returns the propositions true at sss.

    Answer

    L(s)L(s)L(s)

  52. 52
    The formula ¬ϕ\neg\phi¬ϕ holds at a state exactly when ϕ\phiϕ does
    _____
    hold at that state.
    Hint

    Negation reverses the truth condition.

    Answer

    not

  53. 53
    The formula AXϕAX\phiAXϕ holds at state sss when every successor state reachable in one transition satisfies
    _____
    .
    Hint

    The universal next operator checks all immediate successors.

    Answer

    ϕ\phiϕ

  54. 54
    The formula EXϕEX\phiEXϕ holds at state sss when at least one successor state reachable in one transition satisfies
    _____
    .
    Hint

    The existential next operator needs one suitable successor.

    Answer

    ϕ\phiϕ

  55. 55
    The formula AGϕAG\phiAGϕ holds at state sss when ϕ\phiϕ is true in every state of
    _____
    path starting at sss.
    Hint

    Both the path choice and the state requirement are universal.

    Answer

    every

  56. 56
    The formula EGϕEG\phiEGϕ holds at state sss when there is one path starting at sss on which ϕ\phiϕ is true in
    _____
    state.
    Hint

    The path is existential, but the global condition applies throughout it.

    Answer

    every

  57. 57
    The formula AFϕAF\phiAFϕ holds at state sss when every path from sss contains at least
    _____
    state satisfying ϕ\phiϕ.
    Hint

    Future requires eventual occurrence, not persistence at every state.

    Answer

    one

  58. 58
    The formula EFϕEF\phiEFϕ holds at state sss when at least one path from sss contains some future state satisfying
    _____
    .
    Hint

    The existential future operator needs one successful path and one successful state.

    Answer

    ϕ\phiϕ

  59. 59
    For an until formula, all states before the target state must satisfy the
    _____
    operand.
    Hint

    The first operand describes what holds before the second operand becomes true.

    Answer

    first

  60. 60
    If ppp holds along a path at states before a later state where qqq holds, then that path satisfies ppp
    _____
    qqq.
    Hint

    This is the temporal operator meaning 'until'.

    Answer

    UUU

  61. 61
    For E(p U q)E(p\ U\ q)E(p U q) to hold, only
    _____
    suitable execution path is required.
    Hint

    The quantifier EEE is existential.

    Answer

    one

  62. 62
    For A(p U q)A(p\ U\ q)A(p U q) to hold, the until condition must be satisfied on
    _____
    possible execution path.
    Hint

    The quantifier AAA is universal.

    Answer

    every

  63. 63
    For three atomic propositions ppp, qqq, and rrr, the number of possible truth-value combinations is
    _____
    .
    Hint

    Use the formula 2n2^n2n with n=3n=3n=3.

    Answer

    888

  64. 64
    The power set of a three-element set contains
    _____
    subsets.
    Hint

    The power set of an nnn-element set has 2n2^n2n elements.

    Answer

    888

  65. 65
    For propositions ppp, qqq, and rrr, the state in which none of them is true corresponds to the
    _____
    subset.
    Hint

    This subset contains no atomic propositions.

    Answer

    empty

  66. 66
    For propositions ppp, qqq, and rrr, the state in which all three are true corresponds to the
    _____
    subset.
    Hint

    This subset contains every element of the proposition set.

    Answer

    full

  67. 67
    In a digital system, an atomic proposition can represent a system variable that is either on or
    _____
    .
    Hint

    These are the two Boolean operating conditions.

    Answer

    off

  68. 68
    In digital logic, the two truth values of an atomic proposition can be represented by
    _____
    and 111.
    Hint

    The two binary symbols are zero and one.

    Answer

    000

  69. 69
    The total number of possible states is an upper bound because some truth-value combinations may be
    _____
    configurations.
    Hint

    System constraints can prevent certain combinations from occurring.

    Answer

    invalid

  70. 70
    The set of states that can actually be reached by the system is called the set of
    _____
    states.
    Hint

    These states can be attained through valid transitions from an initial state.

    Answer

    reachable

  71. 71
    The number of reachable states is less than or equal to the total number of possible states, which is
    _____
    for nnn Boolean variables.
    Hint

    Reachability removes some possibilities but cannot create more than the full state space.

    Answer

    2n2^n2n

  72. 72
    The CTL property 'it is possible to reach a state where the system has started but is not ready' can be written as EF(EF(EF(
    _____
    ∧¬ready)\land\neg ready)∧¬ready).
    Hint

    The first proposition describes the system being switched on or begun.

    Answer

    startedstartedstarted

  73. 73
    The property 'every request is eventually acknowledged' can be expressed using the implication request→request\rightarrowrequest→
    _____
    .
    Hint

    After a request, acknowledgment must occur in the future on every path.

    Answer

    AF acknowledgedAF\ acknowledgedAF acknowledged

  74. 74
    The outer operator in the formal property for every request eventually being acknowledged is
    _____
    because the requirement applies in every state.
    Hint

    The property must be checked globally over all states and paths.

    Answer

    AGAGAG

  75. 75
    The operator AFAFAF in a request-response property ensures that acknowledgment occurs
    _____
    on every path.
    Hint

    The future operator does not require acknowledgment immediately.

    Answer

    eventually

  76. 76
    CTL formulas can serve as formal
    _____
    for the behavior that a system is required to satisfy.
    Hint

    They describe required system properties that can be checked against a model.

    Answer

    specifications

  77. 77
    In model checking, a CTL specification is checked against a model representing the system's
    _____
    .
    Hint

    The model describes the behavior of the embedded system being verified.

    Answer

    design

  78. 78
    A property requiring that a future state with q∨rq\lor rq∨r occurs on every path uses the operator
    _____
    .
    Hint

    The property is universal over paths and eventual over time.

    Answer

    AFAFAF

  79. 79
    A property requiring that a future state with q∧rq\land rq∧r occurs on at least one path uses the operator
    _____
    .
    Hint

    The property is existential over paths and eventual over time.

    Answer

    EFEFEF

  80. 80
    A state satisfies EX(p∨q)EX(p\lor q)EX(p∨q) when at least one immediate successor makes
    _____
    or qqq true.
    Hint

    The formula checks a disjunction in the next state.

    Answer

    ppp

  81. 81
    A state may satisfy EX(p∨q)EX(p\lor q)EX(p∨q) while failing EX(p∧q)EX(p\land q)EX(p∧q) if no single successor makes both propositions
    _____
    .
    Hint

    Different successors may separately satisfy ppp and qqq without satisfying their conjunction.

    Answer

    true

  82. 82
    A system property stating that a request must eventually receive an acknowledgment is an example of a
    _____
    property.
    Hint

    It says that something good will eventually happen.

    Answer

    liveness

  83. 83
    A system property stating that an unsafe condition never occurs would typically use the global operator
    _____
    .
    Hint

    The property must hold in every state along every path.

    Answer

    AGAGAG

1 of 83
Question 1 of 83

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent