Alphabet

f:[a → a] ⟶ b
g:[a → a] ⟶ a → a

Variables

F:a → a
Y:a
G:a → a

Rules

g(F) · YY
f(G)f(g(G))