Puzzle Update Koen Lindstrm Claessen a ; (b ; c) 5 zip (x ; y) 5 ; - - PowerPoint PPT Presentation

puzzle update
SMART_READER_LITE
LIVE PREVIEW

Puzzle Update Koen Lindstrm Claessen a ; (b ; c) 5 zip (x ; y) 5 ; - - PowerPoint PPT Presentation

Puzzle Update Koen Lindstrm Claessen a ; (b ; c) 5 zip (x ; y) 5 ; z = ax ; (by ; cx) 4 ; by ; cz (p ; q) k = p ; (q ; p) k-1 ; q (a ; b) 6 zip (x ; y ; z) 4 = ((a ; b) 3 zip (x ; y ; z) 2 ) 2 p 3 zip q 2 = (p 3 zip (q ; q)) ((p ; p 2 )


slide-1
SLIDE 1

Puzzle Update

Koen Lindström Claessen

slide-2
SLIDE 2

a ; (b ; c)5 zip (x ; y)5 ; z ax ; (by ; cx)4 ; by ; cz (p ; q)k = p ; (q ; p)k-1 ; q =

slide-3
SLIDE 3

(a ; b)6 zip (x ; y ; z)4 ((a ; b)3 zip (x ; y ; z)2)2 =

slide-4
SLIDE 4

p3 zip q2 (p3 zip (q ; q)) ((p ; p2) zip q2) = ((p2 ; p) zip q2)

slide-5
SLIDE 5

p ; q zip r (p zip take k r) ; (q zip drop k r) =

slide-6
SLIDE 6

take k (rn) ra ; take b r take b r ; (drop b r ; take b r)a =

slide-7
SLIDE 7

(expanded string)

QuickCheck properties

slide-8
SLIDE 8

a ; b6 ; c2 zip (x ; y ; z)3 ax; by; bz; bx; by; bz; bx; cy; cz = ax ; (by ; bz ; bx)2 ; cy ; cz

slide-9
SLIDE 9

Ideas

  • Use Brzozowski-style derivatives -> state

machines

  • Generalizing the compressing method to

expressions

  • Show that it is NP-hard
  • Show that you can factor numbers with it
slide-10
SLIDE 10