SLIDE 1
One more inductive definition
A list of A is one of:
- The empty list ’()
- (cons a as), where a is an A and as is a list
- f A
Lists defined inductively ( A ) is the smallest set satisfying this - - PowerPoint PPT Presentation
Lists defined inductively ( A ) is the smallest set satisfying this equation: LIST LIST ( A ) f (cons a as ) j a 2 A ; as 2 LIST ( A ) g f () g = [ Equivalently, LIST ( A ) is defined by these rules: (E MPTY ) 2 List ( A ) () a 2 A as 2