MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ttrclse Structured version   Visualization version   GIF version

Theorem ttrclse 9784
Description: If 𝑅 is set-like over 𝐴, then the transitive closure of the restriction of 𝑅 to 𝐴 is set-like over 𝐴.

This theorem requires the axioms of infinity and replacement for its proof. (Contributed by Scott Fenton, 31-Oct-2024.)

Assertion
Ref Expression
ttrclse (𝑅 Se 𝐴 → t++(𝑅 ↾ 𝐴) Se 𝐴)

Proof of Theorem ttrclse
Dummy variables 𝑎 𝑏 𝑓 𝑛 𝑤 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 brttrcl2 9771 . . . . . . 7 (𝑦t++(𝑅 ↾ 𝐴)𝑥 ↔ ∃𝑛 ∈ ω ∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)))
2 eqid 2774 . . . . . . . . . . 11 rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) = rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))
32ttrclselem2 9783 . . . . . . . . . 10 ((𝑛 ∈ ω ∧ 𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → (∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)) ↔ 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
433expb 1139 . . . . . . . . 9 ((𝑛 ∈ ω ∧ (𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴)) → (∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)) ↔ 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
54ancoms 464 . . . . . . . 8 (((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ 𝑛 ∈ ω) → (∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)) ↔ 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
65rexbidva 3199 . . . . . . 7 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → (∃𝑛 ∈ ω ∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)) ↔ ∃𝑛 ∈ ω 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
71, 6bitrid 286 . . . . . 6 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑦t++(𝑅 ↾ 𝐴)𝑥 ↔ ∃𝑛 ∈ ω 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
8 vex 3465 . . . . . . . . 9 𝑦 ∈ V
98elpred 6360 . . . . . . . 8 (𝑥 ∈ V → (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ (𝑦 ∈ 𝐴 ∧ 𝑦t++(𝑅 ↾ 𝐴)𝑥)))
109elv 3466 . . . . . . 7 (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ (𝑦 ∈ 𝐴 ∧ 𝑦t++(𝑅 ↾ 𝐴)𝑥))
11 resdmss 6268 . . . . . . . . 9 dom (𝑅 ↾ 𝐴) ⊆ 𝐴
12 vex 3465 . . . . . . . . . . 11 𝑥 ∈ V
138, 12breldm 5910 . . . . . . . . . 10 (𝑦t++(𝑅 ↾ 𝐴)𝑥 → 𝑦 ∈ dom t++(𝑅 ↾ 𝐴))
14 dmttrcl 9778 . . . . . . . . . 10 dom t++(𝑅 ↾ 𝐴) = dom (𝑅 ↾ 𝐴)
1513, 14eleqtrdi 2885 . . . . . . . . 9 (𝑦t++(𝑅 ↾ 𝐴)𝑥 → 𝑦 ∈ dom (𝑅 ↾ 𝐴))
1611, 15sselid 3918 . . . . . . . 8 (𝑦t++(𝑅 ↾ 𝐴)𝑥 → 𝑦 ∈ 𝐴)
1716pm4.71ri 570 . . . . . . 7 (𝑦t++(𝑅 ↾ 𝐴)𝑥 ↔ (𝑦 ∈ 𝐴 ∧ 𝑦t++(𝑅 ↾ 𝐴)𝑥))
1810, 17bitr4i 281 . . . . . 6 (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ 𝑦t++(𝑅 ↾ 𝐴)𝑥)
19 rdgfun 8481 . . . . . . 7 Fun rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))
20 eluniima 7303 . . . . . . 7 (Fun rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) → (𝑦 ∈ ∪ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ↔ ∃𝑛 ∈ ω 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
2119, 20ax-mp 5 . . . . . 6 (𝑦 ∈ ∪ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ↔ ∃𝑛 ∈ ω 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛))
227, 18, 213bitr4g 317 . . . . 5 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ 𝑦 ∈ ∪ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω)))
2322eqrdv 2772 . . . 4 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) = ∪ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω))
24 omex 9700 . . . . . . 7 ω ∈ V
2524funimaex 6673 . . . . . 6 (Fun rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) → (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ∈ V)
2619, 25ax-mp 5 . . . . 5 (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ∈ V
2726uniex 7809 . . . 4 ∪ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ∈ V
2823, 27eqeltrdi 2883 . . 3 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ∈ V)
2928ralrimiva 3169 . 2 (𝑅 Se 𝐴 → ∀𝑥 ∈ 𝐴 Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ∈ V)
30 dfse3 6378 . 2 (t++(𝑅 ↾ 𝐴) Se 𝐴 ↔ ∀𝑥 ∈ 𝐴 Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ∈ V)
3129, 30sylibr 237 1 (𝑅 Se 𝐴 → t++(𝑅 ↾ 𝐴) Se 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572  ∃wex 1818   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101  Vcvv 3461  ∅c0 4288  ∪ cuni 4880  ∪ ciun 4964   class class class wbr 5116   ↦ cmpt 5200   Se wse 5617  dom cdm 5666   ↾ cres 5668   “ cima 5669  Predcpred 6342  suc csuc 6403  Fun wfun 6573   Fn wfn 6574  ‘cfv 6579  ωcom 7930  reccrdg 8474  t++cttrcl 9764
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802  ax-inf2 9698
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-se 5620  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-1o 8533  df-oadd 8537  df-ttrcl 9765
This theorem is used by:  frmin  9809  frr1  9819
  Copyright terms: Public domain W3C validator