MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  dif1enOLD Unicode version

Theorem dif1enOLD 7090
Description: If a set  A is equinumerous to the successor of a natural number  M, then  A with an element removed is equinumerous to  M. (Contributed by Jeff Madsen, 2-Sep-2009.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypothesis
Ref Expression
dif1en.1  |-  A  e. 
_V
Assertion
Ref Expression
dif1enOLD  |-  ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A )  ->  ( A  \  { X } )  ~~  M
)

Proof of Theorem dif1enOLD
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 peano2 4676 . . . . 5  |-  ( M  e.  om  ->  suc  M  e.  om )
2 breq2 4027 . . . . . . 7  |-  ( x  =  suc  M  -> 
( A  ~~  x  <->  A 
~~  suc  M )
)
32rspcev 2884 . . . . . 6  |-  ( ( suc  M  e.  om  /\  A  ~~  suc  M
)  ->  E. x  e.  om  A  ~~  x
)
4 isfi 6885 . . . . . 6  |-  ( A  e.  Fin  <->  E. x  e.  om  A  ~~  x
)
53, 4sylibr 203 . . . . 5  |-  ( ( suc  M  e.  om  /\  A  ~~  suc  M
)  ->  A  e.  Fin )
61, 5sylan 457 . . . 4  |-  ( ( M  e.  om  /\  A  ~~  suc  M )  ->  A  e.  Fin )
7 diffi 7089 . . . . 5  |-  ( A  e.  Fin  ->  ( A  \  { X }
)  e.  Fin )
8 isfi 6885 . . . . 5  |-  ( ( A  \  { X } )  e.  Fin  <->  E. x  e.  om  ( A  \  { X }
)  ~~  x )
97, 8sylib 188 . . . 4  |-  ( A  e.  Fin  ->  E. x  e.  om  ( A  \  { X } )  ~~  x )
106, 9syl 15 . . 3  |-  ( ( M  e.  om  /\  A  ~~  suc  M )  ->  E. x  e.  om  ( A  \  { X } )  ~~  x
)
11103adant3 975 . 2  |-  ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A )  ->  E. x  e.  om  ( A  \  { X } )  ~~  x
)
12 vex 2791 . . . . . . . 8  |-  x  e. 
_V
13 en2sn 6940 . . . . . . . 8  |-  ( ( X  e.  A  /\  x  e.  _V )  ->  { X }  ~~  { x } )
1412, 13mpan2 652 . . . . . . 7  |-  ( X  e.  A  ->  { X }  ~~  { x }
)
15 nnord 4664 . . . . . . . 8  |-  ( x  e.  om  ->  Ord  x )
16 orddisj 4430 . . . . . . . 8  |-  ( Ord  x  ->  ( x  i^i  { x } )  =  (/) )
1715, 16syl 15 . . . . . . 7  |-  ( x  e.  om  ->  (
x  i^i  { x } )  =  (/) )
18 incom 3361 . . . . . . . . . 10  |-  ( ( A  \  { X } )  i^i  { X } )  =  ( { X }  i^i  ( A  \  { X } ) )
19 disjdif 3526 . . . . . . . . . 10  |-  ( { X }  i^i  ( A  \  { X }
) )  =  (/)
2018, 19eqtri 2303 . . . . . . . . 9  |-  ( ( A  \  { X } )  i^i  { X } )  =  (/)
21 unen 6943 . . . . . . . . . 10  |-  ( ( ( ( A  \  { X } )  ~~  x  /\  { X }  ~~  { x } )  /\  ( ( ( A  \  { X } )  i^i  { X } )  =  (/)  /\  ( x  i^i  {
x } )  =  (/) ) )  ->  (
( A  \  { X } )  u.  { X } )  ~~  (
x  u.  { x } ) )
2221an4s 799 . . . . . . . . 9  |-  ( ( ( ( A  \  { X } )  ~~  x  /\  ( ( A 
\  { X }
)  i^i  { X } )  =  (/) )  /\  ( { X }  ~~  { x }  /\  ( x  i^i  {
x } )  =  (/) ) )  ->  (
( A  \  { X } )  u.  { X } )  ~~  (
x  u.  { x } ) )
2320, 22mpanl2 662 . . . . . . . 8  |-  ( ( ( A  \  { X } )  ~~  x  /\  ( { X }  ~~  { x }  /\  ( x  i^i  { x } )  =  (/) ) )  ->  (
( A  \  { X } )  u.  { X } )  ~~  (
x  u.  { x } ) )
2423expcom 424 . . . . . . 7  |-  ( ( { X }  ~~  { x }  /\  (
x  i^i  { x } )  =  (/) )  ->  ( ( A 
\  { X }
)  ~~  x  ->  ( ( A  \  { X } )  u.  { X } )  ~~  (
x  u.  { x } ) ) )
2514, 17, 24syl2an 463 . . . . . 6  |-  ( ( X  e.  A  /\  x  e.  om )  ->  ( ( A  \  { X } )  ~~  x  ->  ( ( A 
\  { X }
)  u.  { X } )  ~~  (
x  u.  { x } ) ) )
26253ad2antl3 1119 . . . . 5  |-  ( ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A
)  /\  x  e.  om )  ->  ( ( A  \  { X }
)  ~~  x  ->  ( ( A  \  { X } )  u.  { X } )  ~~  (
x  u.  { x } ) ) )
27 difsnid 3761 . . . . . . . . 9  |-  ( X  e.  A  ->  (
( A  \  { X } )  u.  { X } )  =  A )
28 df-suc 4398 . . . . . . . . . . 11  |-  suc  x  =  ( x  u. 
{ x } )
2928eqcomi 2287 . . . . . . . . . 10  |-  ( x  u.  { x }
)  =  suc  x
3029a1i 10 . . . . . . . . 9  |-  ( X  e.  A  ->  (
x  u.  { x } )  =  suc  x )
3127, 30breq12d 4036 . . . . . . . 8  |-  ( X  e.  A  ->  (
( ( A  \  { X } )  u. 
{ X } ) 
~~  ( x  u. 
{ x } )  <-> 
A  ~~  suc  x ) )
32313ad2ant3 978 . . . . . . 7  |-  ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A )  ->  ( ( ( A 
\  { X }
)  u.  { X } )  ~~  (
x  u.  { x } )  <->  A  ~~  suc  x ) )
3332adantr 451 . . . . . 6  |-  ( ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A
)  /\  x  e.  om )  ->  ( (
( A  \  { X } )  u.  { X } )  ~~  (
x  u.  { x } )  <->  A  ~~  suc  x ) )
34 ensym 6910 . . . . . . . . . . 11  |-  ( A 
~~  suc  M  ->  suc 
M  ~~  A )
35 entr 6913 . . . . . . . . . . . . 13  |-  ( ( suc  M  ~~  A  /\  A  ~~  suc  x
)  ->  suc  M  ~~  suc  x )
36 peano2 4676 . . . . . . . . . . . . . 14  |-  ( x  e.  om  ->  suc  x  e.  om )
37 nneneq 7044 . . . . . . . . . . . . . 14  |-  ( ( suc  M  e.  om  /\ 
suc  x  e.  om )  ->  ( suc  M  ~~  suc  x  <->  suc  M  =  suc  x ) )
3836, 37sylan2 460 . . . . . . . . . . . . 13  |-  ( ( suc  M  e.  om  /\  x  e.  om )  ->  ( suc  M  ~~  suc  x  <->  suc  M  =  suc  x ) )
3935, 38syl5ib 210 . . . . . . . . . . . 12  |-  ( ( suc  M  e.  om  /\  x  e.  om )  ->  ( ( suc  M  ~~  A  /\  A  ~~  suc  x )  ->  suc  M  =  suc  x ) )
4039exp3a 425 . . . . . . . . . . 11  |-  ( ( suc  M  e.  om  /\  x  e.  om )  ->  ( suc  M  ~~  A  ->  ( A  ~~  suc  x  ->  suc  M  =  suc  x ) ) )
4134, 40syl5 28 . . . . . . . . . 10  |-  ( ( suc  M  e.  om  /\  x  e.  om )  ->  ( A  ~~  suc  M  ->  ( A  ~~  suc  x  ->  suc  M  =  suc  x ) ) )
421, 41sylan 457 . . . . . . . . 9  |-  ( ( M  e.  om  /\  x  e.  om )  ->  ( A  ~~  suc  M  ->  ( A  ~~  suc  x  ->  suc  M  =  suc  x ) ) )
4342imp 418 . . . . . . . 8  |-  ( ( ( M  e.  om  /\  x  e.  om )  /\  A  ~~  suc  M
)  ->  ( A  ~~  suc  x  ->  suc  M  =  suc  x ) )
4443an32s 779 . . . . . . 7  |-  ( ( ( M  e.  om  /\  A  ~~  suc  M
)  /\  x  e.  om )  ->  ( A  ~~  suc  x  ->  suc  M  =  suc  x ) )
45443adantl3 1113 . . . . . 6  |-  ( ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A
)  /\  x  e.  om )  ->  ( A  ~~  suc  x  ->  suc  M  =  suc  x ) )
4633, 45sylbid 206 . . . . 5  |-  ( ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A
)  /\  x  e.  om )  ->  ( (
( A  \  { X } )  u.  { X } )  ~~  (
x  u.  { x } )  ->  suc  M  =  suc  x ) )
47 peano4 4678 . . . . . . 7  |-  ( ( M  e.  om  /\  x  e.  om )  ->  ( suc  M  =  suc  x  <->  M  =  x ) )
4847biimpd 198 . . . . . 6  |-  ( ( M  e.  om  /\  x  e.  om )  ->  ( suc  M  =  suc  x  ->  M  =  x ) )
49483ad2antl1 1117 . . . . 5  |-  ( ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A
)  /\  x  e.  om )  ->  ( suc  M  =  suc  x  ->  M  =  x )
)
5026, 46, 493syld 51 . . . 4  |-  ( ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A
)  /\  x  e.  om )  ->  ( ( A  \  { X }
)  ~~  x  ->  M  =  x ) )
51 breq2 4027 . . . . 5  |-  ( M  =  x  ->  (
( A  \  { X } )  ~~  M  <->  ( A  \  { X } )  ~~  x
) )
5251biimprcd 216 . . . 4  |-  ( ( A  \  { X } )  ~~  x  ->  ( M  =  x  ->  ( A  \  { X } )  ~~  M ) )
5350, 52sylcom 25 . . 3  |-  ( ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A
)  /\  x  e.  om )  ->  ( ( A  \  { X }
)  ~~  x  ->  ( A  \  { X } )  ~~  M
) )
5453rexlimdva 2667 . 2  |-  ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A )  ->  ( E. x  e. 
om  ( A  \  { X } )  ~~  x  ->  ( A  \  { X } )  ~~  M ) )
5511, 54mpd 14 1  |-  ( ( M  e.  om  /\  A  ~~  suc  M  /\  X  e.  A )  ->  ( A  \  { X } )  ~~  M
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684   E.wrex 2544   _Vcvv 2788    \ cdif 3149    u. cun 3150    i^i cin 3151   (/)c0 3455   {csn 3640   class class class wbr 4023   Ord word 4391   suc csuc 4394   omcom 4656    ~~ cen 6860   Fincfn 6863
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-1o 6479  df-er 6660  df-en 6864  df-fin 6867
  Copyright terms: Public domain W3C validator