Let S1, S2 and n be given.
We prove the intermediate
claim HnOrd:
ordinal n.
Apply andI to the current goal.
An exact proof term for the current goal is HnOrd.
Apply Hexk to the current goal.
Let k be given.
We use k to witness the existential quantifier.
Apply andI to the current goal.
We prove the intermediate
claim HeqS2k:
equip S2 k.
An
exact proof term for the current goal is
(equip_tra S1 S2 k Heq HeqS2k).
An exact proof term for the current goal is Hcore.
∎