Let x0 of type ι → ο be given.
Let x1 of type ι → ι → ι be given.
Assume H0: ∀ x2 x3 . x0 x2 ⟶ x0 x3 ⟶ x0 (x1 x2 x3).
Assume H1: ∀ x2 x3 x4 . x0 x2 ⟶ x0 x3 ⟶ x0 x4 ⟶ x1 x2 (x1 x3 x4) = x1 x3 (x1 x2 x4).
Assume H2: ∀ x2 x3 . x0 x2 ⟶ x0 x3 ⟶ x1 x2 x3 = x1 x3 x2.
Let x2 of type ι be given.
Let x3 of type ι be given.
Let x4 of type ι be given.
Let x5 of type ι be given.
Assume H3: x0 x2.
Assume H4: x0 x3.
Assume H5: x0 x4.
Assume H6: x0 x5.
Apply H2 with
x4,
x5,
λ x6 x7 . x1 x2 (x1 x3 x7) = x1 x3 (x1 x2 (x1 x5 x4)) leaving 3 subgoals.
The subproof is completed by applying H5.
The subproof is completed by applying H6.
Apply H1 with
x2,
x3,
x1 x5 x4 leaving 3 subgoals.
The subproof is completed by applying H3.
The subproof is completed by applying H4.
Apply H0 with
x5,
x4 leaving 2 subgoals.
The subproof is completed by applying H6.
The subproof is completed by applying H5.