Let J, x, y and j be given.
We prove the intermediate
claim Hlub:
R_lub A l.
We prove the intermediate
claim Hcore:
l ∈ R ∧ ∀b : set, b ∈ A → b ∈ R → Rle b l.
An
exact proof term for the current goal is
(andEL (l ∈ R ∧ ∀b : set, b ∈ A → b ∈ R → Rle b l) (∀u : set, u ∈ R → (∀b : set, b ∈ A → b ∈ R → Rle b u) → Rle l u) Hlub).
We prove the intermediate
claim Hub:
∀b : set, b ∈ A → b ∈ R → Rle b l.
An
exact proof term for the current goal is
(andER (l ∈ R) (∀b : set, b ∈ A → b ∈ R → Rle b l) Hcore).
We prove the intermediate
claim HaA:
a ∈ A.
We prove the intermediate
claim HaR:
a ∈ R.
We prove the intermediate
claim Hal:
Rle a l.
An exact proof term for the current goal is (Hub a HaA HaR).
We prove the intermediate
claim Hl0:
l = 0.
rewrite the current goal using HlEq (from left to right).
An exact proof term for the current goal is H0.
We prove the intermediate
claim Ha0:
Rle a 0.
rewrite the current goal using Hl0 (from right to left).
An exact proof term for the current goal is Hal.
We prove the intermediate
claim HxjR:
apply_fun x j ∈ R.
We prove the intermediate
claim HyjR:
apply_fun y j ∈ R.
We prove the intermediate
claim HaNN:
0 ≤ a.
rewrite the current goal using Hdef (from left to right).
We prove the intermediate
claim H0a:
Rle 0 a.
We prove the intermediate
claim HaEq0:
a = 0.
An
exact proof term for the current goal is
(Rle_antisym a 0 Ha0 H0a).
rewrite the current goal using Hdef (from right to left).
An exact proof term for the current goal is HaEq0.
∎