We prove the intermediate
claim HJne2:
J ≠ Empty.
An exact proof term for the current goal is HJne.
We prove the intermediate
claim Hlub:
R_lub A l.
We prove the intermediate
claim Hcore:
l ∈ R ∧ ∀a : set, a ∈ A → a ∈ R → Rle a l.
An
exact proof term for the current goal is
(andEL (l ∈ R ∧ ∀a : set, a ∈ A → a ∈ R → Rle a l) (∀u : set, u ∈ R → (∀a : set, a ∈ A → a ∈ R → Rle a u) → Rle l u) Hlub).
We prove the intermediate
claim Hub:
∀a : set, a ∈ A → a ∈ R → Rle a l.
An
exact proof term for the current goal is
(andER (l ∈ R) (∀a : set, a ∈ A → a ∈ R → Rle a l) Hcore).
Let a0 be given.
We prove the intermediate
claim Ha0R:
a0 ∈ R.
We prove the intermediate
claim Ha0le:
Rle a0 l.
An exact proof term for the current goal is (Hub a0 Ha0A Ha0R).
We prove the intermediate
claim Ha0lt0:
Rlt a0 0.
Let j be given.
We prove the intermediate
claim HfjR:
apply_fun f j ∈ R.
We prove the intermediate
claim HgjR:
apply_fun g j ∈ R.
rewrite the current goal using Ha0eq (from left to right).
rewrite the current goal using Hbd (from right to left).
An exact proof term for the current goal is Ha0lt0.
We prove the intermediate
claim H00lt:
0 < 0.
An
exact proof term for the current goal is
((SNoLt_irref 0) H00lt).
∎