Zulip Chat Archive

Stream: new members

Topic: how to read A → B → C ?


rzeta0 (Dec 28 2024 at 19:02):

I'm uncertain (again) about how to read expressions of the form

A  B  C

Deducing the meaning from the context whenever I see it, I assume it means

(A  B )  C

But I suspect this isn't right, because if it were, why would you have a different syntax?

Kyle Miller (Dec 28 2024 at 19:08):

They are logically equivalent (exercise for you! prove (A → B → C) ↔ ((A ∧ B ) → C)), but they are not literally the same (as evidenced by the fact the logical equivalence requires proof).

Matt Diamond (Dec 28 2024 at 20:20):

You can think of it like A → (B → C)... a function that takes an A and returns a function of type B → C

or if A then (if B then C)


Last updated: May 02 2025 at 03:31 UTC