Let z be given.
We prove the intermediate
claim HzX:
z ∈ X.
We prove the intermediate
claim Hxz:
order_rel X x z.
We prove the intermediate
claim Hzcase:
z = y ∨ order_rel X z y.
rewrite the current goal using HJdef (from left to right).
Apply andI to the current goal.
An exact proof term for the current goal is Hxz.
Apply Hzcase to the current goal.
rewrite the current goal using Hzy (from left to right).
We prove the intermediate
claim Hymem:
y ∈ ordsucc y.
An
exact proof term for the current goal is
(ordsuccI2 y).
We prove the intermediate
claim Hmem:
z ∈ y.
We prove the intermediate
claim Hzsucc:
z ∈ ordsucc y.
An
exact proof term for the current goal is
(ordsuccI1 y z Hmem).
Let z be given.
We prove the intermediate
claim HzX:
z ∈ X.
We prove the intermediate
claim Hxz:
order_rel X x z.
We prove the intermediate
claim HmemSucc:
z ∈ ordsucc y.
We prove the intermediate
claim Hzcase:
z ∈ y ∨ z = y.
An
exact proof term for the current goal is
(ordsuccE y z HmemSucc).
rewrite the current goal using HIdef (from left to right).
Apply andI to the current goal.
An exact proof term for the current goal is Hxz.
Apply Hzcase to the current goal.
Apply orIR to the current goal.
Apply orIL to the current goal.
An exact proof term for the current goal is Hzy.