Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. I want to clarify this and post this question again.
  2.  
  3. Expanding Expressions
  4. --
  5.  
  6. Given an expression of variables (`[a-z]`), identities (`1, 0, T`), operators (`*, +, &`) and parenthesizes, expand it using the following axioms:
  7.  
  8. a * b != b * a
  9. a * b * c = (a * b) * c = a * (b * c)
  10. a + b = b + a
  11. a + b + c = (a + b) + c = a + (b + c)
  12. a * (b + c) = a * b + a * c
  13. a & b = b & a
  14. a & (b + c) = a & b + a & c
  15. a * 1 = a
  16. a * 0 = 0
  17. 1 * a = a * 1
  18. a + 0 = a
  19. T & a = a
  20. a & a = a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement