const In : set set prop term iIn = In infix iIn 2000 2000 term nIn = \x:set.\y:set.~ x iIn y const Pi : set (set set) set term setexp = \x:set.\y:set.Pi y \z:set.x term Subq = \x:set.\y:set.!z:set.z iIn x -> z iIn y const omega : set const ordsucc : set set axiom omega_ordsucc: !x:set.x iIn omega -> ordsucc x iIn omega const SNo : set prop const SNoLt : set set prop term < = SNoLt infix < 2020 2020 const ap : set set set const SNoS_ : set set const abs_SNo : set set const add_SNo : set set set term + = add_SNo infix + 2281 2280 const minus_SNo : set set term - = minus_SNo const eps_ : set set const Empty : set lemma !x:set.!y:set.!z:set.!w:set.SNo x -> (!u:set.u iIn omega -> ap y u < x) -> (!u:set.u iIn omega -> SNo (ap y u)) -> z iIn SNoS_ omega -> (!u:set.u iIn omega -> abs_SNo (z + - x) < eps_ u) -> SNo z -> SNo - z -> SNo (x + - z) -> w iIn omega -> (!u:set.u iIn SNoS_ omega -> (!v:set.v iIn omega -> abs_SNo (u + - ap y (ordsucc w)) < eps_ v) -> u = ap y (ordsucc w)) -> SNo (ap y (ordsucc w)) -> z < ap y (ordsucc w) -> Empty < ap y (ordsucc w) + - z -> SNo (ap y (ordsucc w) + - z) -> ap y (ordsucc w) < x -> ap y w < z var x:set var y:set var z:set var w:set hyp SNo x hyp !u:set.u iIn omega -> ap y u < x hyp !u:set.u iIn omega -> SNo (ap y u) hyp z iIn SNoS_ omega hyp !u:set.u iIn omega -> abs_SNo (z + - x) < eps_ u hyp SNo z hyp SNo - z hyp SNo (x + - z) hyp w iIn omega hyp !u:set.u iIn SNoS_ omega -> (!v:set.v iIn omega -> abs_SNo (u + - ap y (ordsucc w)) < eps_ v) -> u = ap y (ordsucc w) hyp SNo (ap y (ordsucc w)) hyp z < ap y (ordsucc w) hyp Empty < ap y (ordsucc w) + - z claim SNo (ap y (ordsucc w) + - z) -> ap y w < z