Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Is this equivalent?

Name: Anonymous 2009-09-26 12:34

Is ((A and B) and (C and D)) and ((E and F) and (G and H)) equivalent to (A and B and C and D and E and F and G and H)?

Name: Anonymous 2009-09-26 12:37

Yes

Name: Anonymous 2009-09-26 12:38

Conjunctions are associative if that's what you're asking.  More formally though, the phrase on the right doesn't have enough parentheses to have a logical meaning.

Name: Anonymous 2009-09-26 12:42

>>2
>>3
Thanks

Name: Anonymous 2009-09-26 14:22

>>3

The logical meaning is entirely unambiguous in this context - clearly the phrase is shorthand for something like
((A and B) and C) ...

Name: Anonymous 2009-09-26 15:31

>>5
Could also be "something like" A and (B and (C and (...
The logical meaning is only unambiguous because conjunctions are associative, which is exactly what he was asking.

Name: Anonymous 2009-09-26 16:30

Needs moar parenthesis

((((((((((A and ((((((((((B and ((((((((((C and ((((((((((D and ((((((((((E and ((((((((((F and ((((((((((G and ((((((((((H))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

Name: Anonymous 2009-09-26 20:59

>>7
valid lisp code

Name: Anonymous 2009-09-29 17:04

hi

Name: Anonymous 2009-09-30 16:13

>>7
>>8
Perfect lisp code. Parentheses replace comments.

Name: Anonymous 2009-10-03 5:11

hai guiz

Don't change these.
Name: Email:
Entire Thread Thread List