Apply SNo_ind to the current goal.
Let L and R be given.
Assume HLR: SNoCutP L R.
Apply HLR to the current goal.
Assume H.
Apply H to the current goal.
We prove the intermediate claim LCLR: SNo (SNoCut L R).
An exact proof term for the current goal is SNoCutP_SNo_SNoCut L R HLR.
We prove the intermediate
claim LmCLR:
SNo (- SNoCut L R).
An exact proof term for the current goal is LCLR.
We prove the intermediate
claim LmmCLR:
SNo (- - SNoCut L R).
An exact proof term for the current goal is LmCLR.
We prove the intermediate
claim L1:
SNoLev (SNoCut L R) ⊆ SNoLev (- - SNoCut L R) ∧ SNoEq_ (SNoLev (SNoCut L R)) (SNoCut L R) (- - SNoCut L R).
Apply SNoCutP_SNoCut_fst to the current goal.
An exact proof term for the current goal is HLR.
We will
prove SNo (- - SNoCut L R).
An exact proof term for the current goal is LmmCLR.
We will
prove ∀x ∈ L, x < - - SNoCut L R.
Let x be given.
Assume Hx.
rewrite the current goal using IHL x Hx (from right to left).
We prove the intermediate claim Lx: SNo x.
An exact proof term for the current goal is HLR1 x Hx.
We prove the intermediate
claim Lmx:
SNo (- x).
We will
prove - - x < - - SNoCut L R.
We will
prove - SNoCut L R < - x.
We will prove x < SNoCut L R.
An exact proof term for the current goal is SNoCutP_SNoCut_L L R HLR x Hx.
We will
prove ∀y ∈ R, - - SNoCut L R < y.
Let y be given.
Assume Hy.
rewrite the current goal using IHR y Hy (from right to left).
We prove the intermediate claim Ly: SNo y.
An exact proof term for the current goal is HLR2 y Hy.
We prove the intermediate
claim Lmy:
SNo (- y).
We will
prove - - SNoCut L R < - - y.
We will
prove - y < - SNoCut L R.
We will prove SNoCut L R < y.
An exact proof term for the current goal is SNoCutP_SNoCut_R L R HLR y Hy.
Apply L1 to the current goal.
We will
prove - - SNoCut L R = SNoCut L R.
Use symmetry.
Apply SNo_eq to the current goal.
An exact proof term for the current goal is LCLR.
An exact proof term for the current goal is LmmCLR.
We will
prove SNoLev (SNoCut L R) = SNoLev (- - SNoCut L R).
Apply set_ext to the current goal.
We will
prove SNoLev (SNoCut L R) ⊆ SNoLev (- - SNoCut L R).
An exact proof term for the current goal is L1a.
We will
prove SNoLev (- - SNoCut L R) ⊆ SNoLev (SNoCut L R).
Apply Subq_tra (SNoLev (- - SNoCut L R)) (SNoLev (- SNoCut L R)) (SNoLev (SNoCut L R)) to the current goal.
We will
prove SNoLev (- - SNoCut L R) ⊆ SNoLev (- SNoCut L R).
We will
prove SNoLev (- SNoCut L R) ⊆ SNoLev (SNoCut L R).
We will
prove SNoEq_ (SNoLev (SNoCut L R)) (SNoCut L R) (- - SNoCut L R).
An exact proof term for the current goal is L1b.
∎