Set L to be the term
⋃k ∈ ωL_ k.
Set R to be the term
⋃k ∈ ωR_ k.
We prove the intermediate
claim L1:
∀k, nat_p k → L_ k = 1 ∧ R_ k = 0.
Apply andI to the current goal.
rewrite the current goal using
SNo_sqrtaux_0 (from left to right).
rewrite the current goal using
tuple_2_0_eq (from left to right).
rewrite the current goal using
SNoL_nonneg_1 (from left to right).
Let u be given.
Let w be given.
Apply cases_1 w Hw to the current goal.
rewrite the current goal using Hu0 (from left to right).
An
exact proof term for the current goal is
In_0_1.
Let u be given.
Apply cases_1 u Hu to the current goal.
Apply ReplI to the current goal.
An
exact proof term for the current goal is
In_0_1.
rewrite the current goal using
SNo_sqrtaux_0 (from left to right).
rewrite the current goal using
tuple_2_1_eq (from left to right).
rewrite the current goal using
SNoR_1 (from left to right).
Let k be given.
Assume Hk.
Assume IHk.
Apply IHk to the current goal.
Apply andI to the current goal.
rewrite the current goal using
tuple_2_0_eq (from left to right).
rewrite the current goal using IHLk (from left to right).
rewrite the current goal using IHRk (from left to right).
rewrite the current goal using
tuple_2_1_eq (from left to right).
rewrite the current goal using IHLk (from left to right).
rewrite the current goal using IHRk (from left to right).
Let u be given.
Let w be given.
Let z be given.
Apply cases_1 w Hw to the current goal.
Apply cases_1 z Hz to the current goal.
An exact proof term for the current goal is H1.
We prove the intermediate
claim L2:
L = 1.
Let x be given.
Let k be given.
Assume _.
We will
prove x ∈ L_ k → x ∈ 1.
rewrite the current goal using H1 (from left to right).
An exact proof term for the current goal is H2.
Let x be given.
Apply cases_1 x Hx to the current goal.
We prove the intermediate
claim L2a:
0 ∈ L_ 0.
Apply L1 0 nat_0 to the current goal.
Assume _.
rewrite the current goal using H1 (from left to right).
An
exact proof term for the current goal is
In_0_1.
We will
prove 0 ∈ ⋃k ∈ ωL_ k.
We prove the intermediate
claim L3:
R = 0.
Let x be given.
Let k be given.
Assume _.
rewrite the current goal using H1 (from left to right).
An
exact proof term for the current goal is
EmptyE x.
rewrite the current goal using L2 (from left to right).
rewrite the current goal using L3 (from left to right).
rewrite the current goal using
SNoL_1 (from right to left) at position 1.
rewrite the current goal using
SNoR_1 (from right to left) at position 2.
Use symmetry.
∎