28
Foundations of Computer Science ENGR 3520 Ben Fisher

Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Foundations of Computer Science

ENGR 3520

Ben Fisher

Page 2: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Foundations of Computer Science

ENGR 3520

Ben Fisher

Page 3: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Science of Computing

Page 4: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Proofs

(Proof by Construction)

Page 5: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Proofs

• Let L={w|w is a palindrome}

(Proof by Contradiction)

Page 6: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Accept State

• Can has accept state???

Page 7: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Reject State

• Dis is not accept state...

Page 8: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

PIT OF DESPAIR!!

PIT OF

DESPAIR!!!!

Page 9: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Meta

• Metacat is too meta for you.

Page 10: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Finite State

• Cannot count how many it has eaten.

Page 11: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Finite State Machine

Page 12: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

DFA

Want

DoNot

Want!Oh noes Teh pit!!!

o rly?

ya rly!

Nowai!

Page 13: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

NFA

• Non-deterministic cat: actually not an improvement.

Page 14: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

PDA

• I has a bucket.

Page 15: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Scheme• Code represented in symbolic

expressions like (x . y)

Page 16: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

OH HAI I FIXD UR CODE

Page 17: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Recursion

• Recursive cats are not amused.

Page 18: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Problem 2a

• Show that the language is closed under the star operation:

Page 19: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Problem 2b

• Show that the language is closed under concatenation:

Page 20: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Turing Machine

• An abstract symbol-manipulating device.

Page 21: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Alternate Turing Machines

Page 22: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

The λ Calculus

Page 23: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:
Page 24: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Enlightenment

Page 25: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

And then...

• Head explodes.

Page 26: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

• I Know More Than You

Page 27: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

Prolog

• More logical than you.

Page 28: Foundations of Computer Science...Problem 2a • Show that the language is closed under the star operation:

The End

• You Lose.