ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  nntri1 Unicode version

Theorem nntri1 6097
Description: A trichotomy law for natural numbers. (Contributed by Jim Kingdon, 28-Aug-2019.)
Assertion
Ref Expression
nntri1  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  C_  B  <->  -.  B  e.  A ) )

Proof of Theorem nntri1
StepHypRef Expression
1 ssnel 4312 . 2  |-  ( A 
C_  B  ->  -.  B  e.  A )
2 nntri3or 6095 . . . 4  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  e.  B  \/  A  =  B  \/  B  e.  A
) )
3 df-3or 920 . . . . . . 7  |-  ( ( A  e.  B  \/  A  =  B  \/  B  e.  A )  <->  ( ( A  e.  B  \/  A  =  B
)  \/  B  e.  A ) )
43biimpi 118 . . . . . 6  |-  ( ( A  e.  B  \/  A  =  B  \/  B  e.  A )  ->  ( ( A  e.  B  \/  A  =  B )  \/  B  e.  A ) )
54orcomd 680 . . . . 5  |-  ( ( A  e.  B  \/  A  =  B  \/  B  e.  A )  ->  ( B  e.  A  \/  ( A  e.  B  \/  A  =  B
) ) )
65ord 675 . . . 4  |-  ( ( A  e.  B  \/  A  =  B  \/  B  e.  A )  ->  ( -.  B  e.  A  ->  ( A  e.  B  \/  A  =  B ) ) )
72, 6syl 14 . . 3  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( -.  B  e.  A  ->  ( A  e.  B  \/  A  =  B ) ) )
8 nnord 4352 . . . . . . 7  |-  ( B  e.  om  ->  Ord  B )
9 ordelss 4134 . . . . . . 7  |-  ( ( Ord  B  /\  A  e.  B )  ->  A  C_  B )
108, 9sylan 277 . . . . . 6  |-  ( ( B  e.  om  /\  A  e.  B )  ->  A  C_  B )
1110ex 113 . . . . 5  |-  ( B  e.  om  ->  ( A  e.  B  ->  A 
C_  B ) )
1211adantl 271 . . . 4  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  e.  B  ->  A  C_  B )
)
13 eqimss 3051 . . . . 5  |-  ( A  =  B  ->  A  C_  B )
1413a1i 9 . . . 4  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  =  B  ->  A  C_  B
) )
1512, 14jaod 669 . . 3  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( ( A  e.  B  \/  A  =  B )  ->  A  C_  B ) )
167, 15syld 44 . 2  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( -.  B  e.  A  ->  A  C_  B
) )
171, 16impbid2 141 1  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  C_  B  <->  -.  B  e.  A ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 102    <-> wb 103    \/ wo 661    \/ w3o 918    = wceq 1284    e. wcel 1433    C_ wss 2973   Ord word 4117   omcom 4331
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 576  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-13 1444  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-nul 3904  ax-pow 3948  ax-pr 3964  ax-un 4188  ax-setind 4280  ax-iinf 4329
This theorem depends on definitions:  df-bi 115  df-3or 920  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ne 2246  df-ral 2353  df-rex 2354  df-v 2603  df-dif 2975  df-un 2977  df-in 2979  df-ss 2986  df-nul 3252  df-pw 3384  df-sn 3404  df-pr 3405  df-uni 3602  df-int 3637  df-tr 3876  df-iord 4121  df-on 4123  df-suc 4126  df-iom 4332
This theorem is referenced by:  nnsseleq  6102  nnmword  6114  nnawordex  6124  nndomo  6350
  Copyright terms: Public domain W3C validator