Term Rewriting: Equational Logic (Aart Middeldorp)

This is all about TERMS I think

49 flashcards Β· Mathematics Β· by lakesare

  1. Name 2 objects that exist in equational logic.

    functions (0-arity function is a constant) variables

  2. How to read this?

    s is a subterm of t

  3. How to read this?

    Variables occurring in term t.

  4. What's a ground term?

    A term with no variables. A term t is called ground if Var(t) = βˆ…. The set of all ground terms is denoted by 𝒯(𝐹).

  5. What do these denote: T(𝐹, 𝒱) VS T(𝐹)

    T(𝐹, 𝒱) - all terms generated by functions 𝐹 and variables 𝒱 T(𝐹) - all ground terms generated by functions 𝐹.

  6. What's the root symbol of a term?

    Leftest function name.

  7. What does |t| denote?

    |all variable and function symbols in a term| The number of variable symbols AND function symbols.

  8. What does |t|a denote?

    |"a" symbols in a term| The number of "a" symbols in the term.

  9. What does βˆ₯tβˆ₯ denote?

    |function symbols in a term| The number of function symbols in the term.

  10. What's 𝐹 and V in this term?

    𝐹: a binary function symbol +, a unary function symbol s, and a constant 0. V: x and y are variables in V. Tree representation of a term

  11. What's root(t)?

  12. What's |t| (the size of this term)?

  13. What's |t|+?

  14. What's βˆ₯tβˆ₯?

  15. What's the height(term)?

    Max height of the tree, and we only count 1+-ary functions.

  16. How to read this?

    All positions (Pos) of variables (V) in a term (t).

  17. How to read this?

    All positions (Pos) of functions (F) in a term (t).

  18. Difference between: t(p) VS t|p

  19. What's t|11?

  20. What's t(11)?

    t(11) = +

  21. What's t[x + 3]2?

    Substitute t|2 with [x+3]

  22. How is Οƒ pronounced?

    Sigma uppercase Ξ£

  23. What is the substitution a mapping: from & to?

    from: variable to: term

  24. What does Dom(Οƒ) likely denote?

    Domain of the substitution Οƒ.

  25. What does tσ likely denote?

    Term t with the substitution Οƒ.

  26. What's an instance of a term?

    This term with some substitution.

  27. Visually imagine: some term is an instance of some term.

    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ is an instance of β–ˆβ–ˆβ–ˆ

  28. Visually imagine: some term matches some term.

    β–ˆβ–ˆβ–ˆ matches β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ

  29. [Positions in terms: <, >, βˆ₯] How do 2 and 211 relate?

    less = less deep

  30. [Positions in terms: <, >, βˆ₯] How do 1 and 212 relate?

  31. Sum up how we decide the matching problem?

    Strip off the function symbol.

  32. What does this mean in symbols?

    => If s is a subterm of t, and σ is an arbitrary substitution, then sσ is a subterm is tσ.

  33. Visually imagine a linear term.

    linear term == variables don't occur multiple times. t is linear because the variable x appears only once in t.

  34. What's "the matching problem"?

    Find a substitution Οƒ.

  35. [Equational Reasoning] Visually imagine an equation.

  36. [Equational Reasoning] Visually imagine an equational system (ES).

    ES 𝐸 consisting of the two equations.

  37. What's does Ξ± and π’œ denote here:

    [variable assignment]function assignment(term)

  38. What does =π’œ mean?

    [any variable assignment!]function assignment(term) == [any variable assignment!]function assignment(term)

  39. What could this mean?

    Interpretation of term in 𝐡-algebra.

  40. What does ES stand for?

    Equational system

  41. What 2 things do we need to specify an equational system? ES 𝓔 consisting of the two equations

    signature 𝓕 set of equations 𝓔

  42. In equational logic, what is: semantic component syntactic component?

    In equational logic, what is: semantic component - algebra syntactic component - equational reasoning

  43. What's the relationship between these: s β‰ˆπΈ t s =𝐸 t

    Equational logic is sound and complete: s β‰ˆπΈ t ⇔ s =𝐸 t. Below we show that equational reasoning is sound. This means that every equation s β‰ˆ t deducible from an ES E by equational reasoning is valid in all models of E. Completeness of equational reasoning.

  44. Visually imagine what these mean: s β‰ˆπΈ t s =𝐸 t 𝐸 is the "Equational System 𝐸"

    s β‰ˆπΈ t - syntactic ⊒, equational reasoning. Let 𝐸 be an ES. We write s β‰ˆπΈ t if the equation s β‰ˆ t is derivable from the following inference rules.s =𝐸 t - semantic ⊨, algebra. An algebra A is a model of an ES 𝐸 if every equation in 𝐸 is valid in A. We write s =𝐸 t if s β‰ˆ t is valid in all models of 𝐸.

  45. What's: equational system VS equational theory?

    equational system equational theory - all possible equations in ES

  46. What's the validity problem? Equational system

    Whether s β‰ˆ t belongs to the equational theory generated by ES. Rephrased in syntactical terms, the validity problem for E is the question whether the relation β‰ˆE is computable.

  47. What's the name of this ES?

    Combinatory Logic. Combinatory logic is a notation to eliminate the need for quantified variables in mathematical logic. It was introduced by Moses SchΓΆnfinkel and Haskell Curry, and has more recently been used in computer science as a theoretical model of computation and also as a basis for the design of functional programming languages. It is based on combinators which were introduced by SchΓΆnfinkel in 1920 with the idea of providing an analogous way to build up functionsβ€”and to remove any me…

  48. How would you show that: equation belongs to the equational theory of 𝐸 VS equation doesn't belong to the equational theory of 𝐸? Consider the ES 𝐸 consisting of the three equations

    equation belongs - build a proof tree equation doesn't belong - find a counterexample algebra

  49. A𝒱 denotes { all possible assignments }, what's: A 𝒱?

    A - { carrier of the algebra } 𝒱 - { variables } It's A𝒱 because if:A = { true, false }𝒱 = { x, y, z }A𝒱 = { 23 possible assignments }