Metamath Proof Explorer


Theorem nnnodesc

Description: Lemma for flt3wodesc . If every positive integer satisfying a predicate has a smaller positive integer satisfying it, the predicate has no witnesses. Proof prepared with AI assistance from OpenAI Codex. (Contributed by Beckett Kaplinski, 22-Nov-2026)

Ref Expression
Hypotheses nnnodesc.eq
|- ( x = y -> ( ph <-> ps ) )
nnnodesc.s
|- ( x e. NN -> ( ph -> E. y e. NN ( ps /\ y < x ) ) )
Assertion nnnodesc
|- -. E. x e. NN ph

Proof

Step Hyp Ref Expression
1 nnnodesc.eq
 |-  ( x = y -> ( ph <-> ps ) )
2 nnnodesc.s
 |-  ( x e. NN -> ( ph -> E. y e. NN ( ps /\ y < x ) ) )
3 fal
 |-  -. F.
4 1 nnwos
 |-  ( E. x e. NN ph -> E. x e. NN ( ph /\ A. y e. NN ( ps -> x <_ y ) ) )
5 simprl
 |-  ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) -> ph )
6 simpl
 |-  ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) -> x e. NN )
7 6 2 syl
 |-  ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) -> ( ph -> E. y e. NN ( ps /\ y < x ) ) )
8 5 7 mpd
 |-  ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) -> E. y e. NN ( ps /\ y < x ) )
9 nfcv
 |-  F/_ y NN
10 9 nfcri
 |-  F/ y x e. NN
11 nfv
 |-  F/ y ph
12 nfra1
 |-  F/ y A. y e. NN ( ps -> x <_ y )
13 11 12 nfan
 |-  F/ y ( ph /\ A. y e. NN ( ps -> x <_ y ) )
14 10 13 nfan
 |-  F/ y ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) )
15 nffal
 |-  F/ y F.
16 simprr
 |-  ( ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) /\ ( ps /\ y < x ) ) -> y < x )
17 simprl
 |-  ( ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) /\ ( ps /\ y < x ) ) -> ps )
18 simpr
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> y e. NN )
19 simprr
 |-  ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) -> A. y e. NN ( ps -> x <_ y ) )
20 19 adantr
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> A. y e. NN ( ps -> x <_ y ) )
21 rsp
 |-  ( A. y e. NN ( ps -> x <_ y ) -> ( y e. NN -> ( ps -> x <_ y ) ) )
22 20 21 syl
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> ( y e. NN -> ( ps -> x <_ y ) ) )
23 18 22 mpd
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> ( ps -> x <_ y ) )
24 18 nnred
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> y e. RR )
25 6 adantr
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> x e. NN )
26 25 nnred
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> x e. RR )
27 24 26 ltnled
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> ( y < x <-> -. x <_ y ) )
28 27 biimpd
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> ( y < x -> -. x <_ y ) )
29 28 con2d
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> ( x <_ y -> -. y < x ) )
30 23 29 syld
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> ( ps -> -. y < x ) )
31 30 adantr
 |-  ( ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) /\ ( ps /\ y < x ) ) -> ( ps -> -. y < x ) )
32 17 31 mpd
 |-  ( ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) /\ ( ps /\ y < x ) ) -> -. y < x )
33 pm2.21
 |-  ( -. y < x -> ( y < x -> F. ) )
34 32 33 syl
 |-  ( ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) /\ ( ps /\ y < x ) ) -> ( y < x -> F. ) )
35 16 34 mpd
 |-  ( ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) /\ ( ps /\ y < x ) ) -> F. )
36 35 ex
 |-  ( ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) /\ y e. NN ) -> ( ( ps /\ y < x ) -> F. ) )
37 36 ex
 |-  ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) -> ( y e. NN -> ( ( ps /\ y < x ) -> F. ) ) )
38 14 15 37 rexlimd
 |-  ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) -> ( E. y e. NN ( ps /\ y < x ) -> F. ) )
39 8 38 mpd
 |-  ( ( x e. NN /\ ( ph /\ A. y e. NN ( ps -> x <_ y ) ) ) -> F. )
40 39 ex
 |-  ( x e. NN -> ( ( ph /\ A. y e. NN ( ps -> x <_ y ) ) -> F. ) )
41 40 rexlimiv
 |-  ( E. x e. NN ( ph /\ A. y e. NN ( ps -> x <_ y ) ) -> F. )
42 4 41 syl
 |-  ( E. x e. NN ph -> F. )
43 42 con3i
 |-  ( -. F. -> -. E. x e. NN ph )
44 3 43 ax-mp
 |-  -. E. x e. NN ph