const In : set set prop term iIn = In infix iIn 2000 2000 term Subq = \x:set.\y:set.!z:set.z iIn x -> z iIn y term TransSet = \x:set.!y:set.y iIn x -> Subq y x const Pi : set (set set) set term setexp = \x:set.\y:set.Pi y \z:set.x const SNo : set prop const SNoLt : set set prop term < = SNoLt infix < 2020 2020 term SNoCutP = \x:set.\y:set.(!z:set.z iIn x -> SNo z) & (!z:set.z iIn y -> SNo z) & !z:set.z iIn x -> !w:set.w iIn y -> z < w term nIn = \x:set.\y:set.~ x iIn y const omega : set const SNoLe : set set prop term <= = SNoLe infix <= 2020 2020 const ap : set set set const ordsucc : set set const nat_p : set prop lemma !x:set.!y:set.!z:set.!w:set.(!u:set.u iIn omega -> ap x u <= ap y u & ap x u <= ap x (ordsucc u) & ap y (ordsucc u) <= ap y u) -> (!u:set.u iIn omega -> SNo (ap x u)) -> (!u:set.u iIn omega -> SNo (ap y u)) -> (!u:set.nat_p u -> !v:set.v iIn u -> ap x v <= ap x u) -> (!u:set.nat_p u -> !v:set.v iIn u -> ap y u <= ap y v) -> z iIn omega -> w iIn omega -> nat_p z -> nat_p w -> ap x z <= ap y z -> ap x z <= ap y w var x:set var y:set var z:set var w:set hyp !u:set.u iIn omega -> ap x u <= ap y u & ap x u <= ap x (ordsucc u) & ap y (ordsucc u) <= ap y u hyp !u:set.u iIn omega -> SNo (ap x u) hyp !u:set.u iIn omega -> SNo (ap y u) hyp !u:set.nat_p u -> !v:set.v iIn u -> ap x v <= ap x u hyp !u:set.nat_p u -> !v:set.v iIn u -> ap y u <= ap y v hyp z iIn omega hyp w iIn omega hyp nat_p z claim nat_p w -> ap x z <= ap y w