Let net1, net2, sub1, sub2, J1, J2, leJ1, leJ2, K1, K2, leK1, leK2, X and phi be given.
rewrite the current goal using Hnet (from right to left).
rewrite the current goal using Hsub (from right to left).
rewrite the current goal using HJ (from right to left).
rewrite the current goal using HleJ (from right to left).
rewrite the current goal using HK (from right to left).
rewrite the current goal using HleK (from right to left).
An exact proof term for the current goal is H.
∎