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

Theorem tc2 7427
Description: A variant of the definition of the transitive closure function, using instead the smallest transitive set containing  A as a member, gives almost the same set, except that  A itself must be added because it is not usually a member of  ( TC `  A
) (and it is never a member if  A is well-founded). (Contributed by Mario Carneiro, 23-Jun-2013.)
Hypothesis
Ref Expression
tc2.1  |-  A  e. 
_V
Assertion
Ref Expression
tc2  |-  ( ( TC `  A )  u.  { A }
)  =  |^| { x  |  ( A  e.  x  /\  Tr  x
) }
Distinct variable group:    x, A

Proof of Theorem tc2
StepHypRef Expression
1 tc2.1 . . . . 5  |-  A  e. 
_V
2 tcvalg 7423 . . . . 5  |-  ( A  e.  _V  ->  ( TC `  A )  = 
|^| { x  |  ( A  C_  x  /\  Tr  x ) } )
31, 2ax-mp 8 . . . 4  |-  ( TC
`  A )  = 
|^| { x  |  ( A  C_  x  /\  Tr  x ) }
4 trss 4122 . . . . . . 7  |-  ( Tr  x  ->  ( A  e.  x  ->  A  C_  x ) )
54imdistanri 672 . . . . . 6  |-  ( ( A  e.  x  /\  Tr  x )  ->  ( A  C_  x  /\  Tr  x ) )
65ss2abi 3245 . . . . 5  |-  { x  |  ( A  e.  x  /\  Tr  x
) }  C_  { x  |  ( A  C_  x  /\  Tr  x ) }
7 intss 3883 . . . . 5  |-  ( { x  |  ( A  e.  x  /\  Tr  x ) }  C_  { x  |  ( A 
C_  x  /\  Tr  x ) }  ->  |^|
{ x  |  ( A  C_  x  /\  Tr  x ) }  C_  |^|
{ x  |  ( A  e.  x  /\  Tr  x ) } )
86, 7ax-mp 8 . . . 4  |-  |^| { x  |  ( A  C_  x  /\  Tr  x ) }  C_  |^| { x  |  ( A  e.  x  /\  Tr  x
) }
93, 8eqsstri 3208 . . 3  |-  ( TC
`  A )  C_  |^|
{ x  |  ( A  e.  x  /\  Tr  x ) }
101elintab 3873 . . . . 5  |-  ( A  e.  |^| { x  |  ( A  e.  x  /\  Tr  x ) }  <->  A. x ( ( A  e.  x  /\  Tr  x )  ->  A  e.  x ) )
11 simpl 443 . . . . 5  |-  ( ( A  e.  x  /\  Tr  x )  ->  A  e.  x )
1210, 11mpgbir 1537 . . . 4  |-  A  e. 
|^| { x  |  ( A  e.  x  /\  Tr  x ) }
131snss 3748 . . . 4  |-  ( A  e.  |^| { x  |  ( A  e.  x  /\  Tr  x ) }  <->  { A }  C_  |^| { x  |  ( A  e.  x  /\  Tr  x
) } )
1412, 13mpbi 199 . . 3  |-  { A }  C_  |^| { x  |  ( A  e.  x  /\  Tr  x ) }
159, 14unssi 3350 . 2  |-  ( ( TC `  A )  u.  { A }
)  C_  |^| { x  |  ( A  e.  x  /\  Tr  x
) }
161snid 3667 . . . . 5  |-  A  e. 
{ A }
17 elun2 3343 . . . . 5  |-  ( A  e.  { A }  ->  A  e.  ( ( TC `  A )  u.  { A }
) )
1816, 17ax-mp 8 . . . 4  |-  A  e.  ( ( TC `  A )  u.  { A } )
19 uniun 3846 . . . . . . 7  |-  U. (
( TC `  A
)  u.  { A } )  =  ( U. ( TC `  A )  u.  U. { A } )
20 tctr 7425 . . . . . . . . 9  |-  Tr  ( TC `  A )
21 df-tr 4114 . . . . . . . . 9  |-  ( Tr  ( TC `  A
)  <->  U. ( TC `  A )  C_  ( TC `  A ) )
2220, 21mpbi 199 . . . . . . . 8  |-  U. ( TC `  A )  C_  ( TC `  A )
231unisn 3843 . . . . . . . . 9  |-  U. { A }  =  A
24 tcid 7424 . . . . . . . . . 10  |-  ( A  e.  _V  ->  A  C_  ( TC `  A
) )
251, 24ax-mp 8 . . . . . . . . 9  |-  A  C_  ( TC `  A )
2623, 25eqsstri 3208 . . . . . . . 8  |-  U. { A }  C_  ( TC
`  A )
2722, 26unssi 3350 . . . . . . 7  |-  ( U. ( TC `  A )  u.  U. { A } )  C_  ( TC `  A )
2819, 27eqsstri 3208 . . . . . 6  |-  U. (
( TC `  A
)  u.  { A } )  C_  ( TC `  A )
29 ssun1 3338 . . . . . 6  |-  ( TC
`  A )  C_  ( ( TC `  A )  u.  { A } )
3028, 29sstri 3188 . . . . 5  |-  U. (
( TC `  A
)  u.  { A } )  C_  (
( TC `  A
)  u.  { A } )
31 df-tr 4114 . . . . 5  |-  ( Tr  ( ( TC `  A )  u.  { A } )  <->  U. (
( TC `  A
)  u.  { A } )  C_  (
( TC `  A
)  u.  { A } ) )
3230, 31mpbir 200 . . . 4  |-  Tr  (
( TC `  A
)  u.  { A } )
33 fvex 5539 . . . . . 6  |-  ( TC
`  A )  e. 
_V
34 snex 4216 . . . . . 6  |-  { A }  e.  _V
3533, 34unex 4518 . . . . 5  |-  ( ( TC `  A )  u.  { A }
)  e.  _V
36 eleq2 2344 . . . . . 6  |-  ( x  =  ( ( TC
`  A )  u. 
{ A } )  ->  ( A  e.  x  <->  A  e.  (
( TC `  A
)  u.  { A } ) ) )
37 treq 4119 . . . . . 6  |-  ( x  =  ( ( TC
`  A )  u. 
{ A } )  ->  ( Tr  x  <->  Tr  ( ( TC `  A )  u.  { A } ) ) )
3836, 37anbi12d 691 . . . . 5  |-  ( x  =  ( ( TC
`  A )  u. 
{ A } )  ->  ( ( A  e.  x  /\  Tr  x )  <->  ( A  e.  ( ( TC `  A )  u.  { A } )  /\  Tr  ( ( TC `  A )  u.  { A } ) ) ) )
3935, 38elab 2914 . . . 4  |-  ( ( ( TC `  A
)  u.  { A } )  e.  {
x  |  ( A  e.  x  /\  Tr  x ) }  <->  ( A  e.  ( ( TC `  A )  u.  { A } )  /\  Tr  ( ( TC `  A )  u.  { A } ) ) )
4018, 32, 39mpbir2an 886 . . 3  |-  ( ( TC `  A )  u.  { A }
)  e.  { x  |  ( A  e.  x  /\  Tr  x
) }
41 intss1 3877 . . 3  |-  ( ( ( TC `  A
)  u.  { A } )  e.  {
x  |  ( A  e.  x  /\  Tr  x ) }  ->  |^|
{ x  |  ( A  e.  x  /\  Tr  x ) }  C_  ( ( TC `  A )  u.  { A } ) )
4240, 41ax-mp 8 . 2  |-  |^| { x  |  ( A  e.  x  /\  Tr  x
) }  C_  (
( TC `  A
)  u.  { A } )
4315, 42eqssi 3195 1  |-  ( ( TC `  A )  u.  { A }
)  =  |^| { x  |  ( A  e.  x  /\  Tr  x
) }
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1623    e. wcel 1684   {cab 2269   _Vcvv 2788    u. cun 3150    C_ wss 3152   {csn 3640   U.cuni 3827   |^|cint 3862   Tr wtr 4113   ` cfv 5255   TCctc 7421
This theorem is referenced by:  tcsni  7428
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-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-inf2 7342
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-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  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-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  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-recs 6388  df-rdg 6423  df-tc 7422
  Copyright terms: Public domain W3C validator