Let X, d, x, A and a be given.
We prove the intermediate
claim HaX:
a ∈ X.
An exact proof term for the current goal is (HAsub a HaA).
We prove the intermediate
claim HxaIn:
(x,a) ∈ setprod X X.
We prove the intermediate
claim HdxaR:
apply_fun d (x,a) ∈ R.
An exact proof term for the current goal is (Hfun (x,a) HxaIn).
We prove the intermediate
claim HlR:
l ∈ R.
We prove the intermediate
claim HtR:
t ∈ R.
We prove the intermediate
claim Htle:
Rle t l.
An exact proof term for the current goal is (Hub t HtIn HtR).
We prove the intermediate
claim Hnlt:
¬ (Rlt l t).
An
exact proof term for the current goal is
(RleE_nlt t l Htle).
We prove the intermediate
claim HdxaS:
SNo (apply_fun d (x,a)).
We prove the intermediate
claim HlS:
SNo l.
An
exact proof term for the current goal is
(real_SNo l HlR).
rewrite the current goal using HdistDef (from right to left).
An exact proof term for the current goal is HltS.
We prove the intermediate
claim HltR2:
Rlt l t.
rewrite the current goal using HtDef (from left to right).
An exact proof term for the current goal is (Hnlt HltR2).
∎