F(x) ≤ y iff x ≤ G(y)
One form of this is the tautology when F(x) = (x and a), G(y) = (a => y), and pick logical implication as the "≤". ((x and a) => y) iff (x => (a => y))
https://en.wikipedia.org/wiki/Galois_connection#Power_set;_i...(b >= c) && (a >= b) -> (a >= c) is a composition.
The more interesting consequence is that function types and implications are different names for the same thing. This is a Curry-Howard-Lambek correspondence.
This means that in order to prove
(b -> c) -> (a -> b) -> (a -> c)
it's enough to implement a function
f g h x = g (h x)
Another consequence is that exponentiation a^b can be considered the same thing as b -> a.
a^(bc) = (a^b)^c
(b && c) -> a = c -> b -> a
¹: in reality weather can be extremely weird sometimes. I had it rain without visible clouds before on the open field. I am pretty sure it was just very light and uniform fog I was inside of, that would count as a cloud technically, but one could argue..
Nicolas89•3d ago
btdmaster•3d ago