Users' Mathboxes Mathbox for Jonathan Ben-Naim < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bnj18eq1 Unicode version

Theorem bnj18eq1 28959
Description: Equality theorem for transitive closure. (Contributed by Mario Carneiro, 22-Dec-2016.) (New usage is discouraged.)
Assertion
Ref Expression
bnj18eq1  |-  ( X  =  Y  ->  trCl ( X ,  A ,  R )  =  trCl ( Y ,  A ,  R ) )

Proof of Theorem bnj18eq1
Dummy variables  f 
i  n  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 bnj602 28947 . . . . . . . . . . 11  |-  ( X  =  Y  ->  pred ( X ,  A ,  R )  =  pred ( Y ,  A ,  R ) )
21eqeq2d 2294 . . . . . . . . . 10  |-  ( X  =  Y  ->  (
( f `  (/) )  = 
pred ( X ,  A ,  R )  <->  ( f `  (/) )  = 
pred ( Y ,  A ,  R )
) )
323anbi2d 1257 . . . . . . . . 9  |-  ( X  =  Y  ->  (
( f  Fn  n  /\  ( f `  (/) )  = 
pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) )  <-> 
( f  Fn  n  /\  ( f `  (/) )  = 
pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) ) )
43rexbidv 2564 . . . . . . . 8  |-  ( X  =  Y  ->  ( E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `  (/) )  = 
pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) )  <->  E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `  (/) )  = 
pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) ) )
54abbidv 2397 . . . . . . 7  |-  ( X  =  Y  ->  { f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) }  =  { f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } )
65eleq2d 2350 . . . . . 6  |-  ( X  =  Y  ->  (
f  e.  { f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) }  <->  f  e.  {
f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } ) )
76anbi1d 685 . . . . 5  |-  ( X  =  Y  ->  (
( f  e.  {
f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) }  /\  x  e. 
U_ i  e.  dom  f ( f `  i ) )  <->  ( f  e.  { f  |  E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `  (/) )  = 
pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) }  /\  x  e. 
U_ i  e.  dom  f ( f `  i ) ) ) )
87rexbidv2 2566 . . . 4  |-  ( X  =  Y  ->  ( E. f  e.  { f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } x  e.  U_ i  e.  dom  f ( f `  i )  <->  E. f  e.  { f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } x  e.  U_ i  e.  dom  f ( f `  i ) ) )
98abbidv 2397 . . 3  |-  ( X  =  Y  ->  { x  |  E. f  e.  {
f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } x  e.  U_ i  e.  dom  f ( f `  i ) }  =  { x  |  E. f  e.  {
f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } x  e.  U_ i  e.  dom  f ( f `  i ) } )
10 df-iun 3907 . . 3  |-  U_ f  e.  { f  |  E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `  (/) )  = 
pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } U_ i  e. 
dom  f ( f `
 i )  =  { x  |  E. f  e.  { f  |  E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `
 (/) )  =  pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } x  e.  U_ i  e.  dom  f ( f `  i ) }
11 df-iun 3907 . . 3  |-  U_ f  e.  { f  |  E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `  (/) )  = 
pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } U_ i  e. 
dom  f ( f `
 i )  =  { x  |  E. f  e.  { f  |  E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `
 (/) )  =  pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } x  e.  U_ i  e.  dom  f ( f `  i ) }
129, 10, 113eqtr4g 2340 . 2  |-  ( X  =  Y  ->  U_ f  e.  { f  |  E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `  (/) )  = 
pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } U_ i  e. 
dom  f ( f `
 i )  = 
U_ f  e.  {
f  |  E. n  e.  ( om  \  { (/)
} ) ( f  Fn  n  /\  (
f `  (/) )  = 
pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } U_ i  e. 
dom  f ( f `
 i ) )
13 df-bnj18 28720 . 2  |-  trCl ( X ,  A ,  R )  =  U_ f  e.  { f  |  E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `
 (/) )  =  pred ( X ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } U_ i  e. 
dom  f ( f `
 i )
14 df-bnj18 28720 . 2  |-  trCl ( Y ,  A ,  R )  =  U_ f  e.  { f  |  E. n  e.  ( om  \  { (/) } ) ( f  Fn  n  /\  ( f `
 (/) )  =  pred ( Y ,  A ,  R )  /\  A. i  e.  om  ( suc  i  e.  n  ->  ( f `  suc  i )  =  U_ y  e.  ( f `  i )  pred (
y ,  A ,  R ) ) ) } U_ i  e. 
dom  f ( f `
 i )
1512, 13, 143eqtr4g 2340 1  |-  ( X  =  Y  ->  trCl ( X ,  A ,  R )  =  trCl ( Y ,  A ,  R ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ w3a 934    = wceq 1623    e. wcel 1684   {cab 2269   A.wral 2543   E.wrex 2544    \ cdif 3149   (/)c0 3455   {csn 3640   U_ciun 3905   suc csuc 4394   omcom 4656   dom cdm 4689    Fn wfn 5250   ` cfv 5255    predc-bnj14 28713    trClc-bnj18 28719
This theorem is referenced by:  bnj1137  29025
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-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-iun 3907  df-br 4024  df-bnj14 28714  df-bnj18 28720
  Copyright terms: Public domain W3C validator