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

Theorem ttrclse 9728
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 9715 . . . . . . 7 (𝑦t++(𝑅 ↾ 𝐴)𝑥 ↔ ∃𝑛 ∈ ω ∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)))
2 eqid 2761 . . . . . . . . . . 11 rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) = rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))
32ttrclselem2 9727 . . . . . . . . . 10 ((𝑛 ∈ ω ∧ 𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → (∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)) ↔ 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
433expb 1138 . . . . . . . . 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 3185 . . . . . . 7 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → (∃𝑛 ∈ ω ∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)) ↔ ∃𝑛 ∈ ω 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
71, 6bitrid 286 . . . . . 6 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑦t++(𝑅 ↾ 𝐴)𝑥 ↔ ∃𝑛 ∈ ω 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
8 vex 3455 . . . . . . . . 9 𝑦 ∈ V
98elpred 6321 . . . . . . . 8 (𝑥 ∈ V → (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ (𝑦 ∈ 𝐴 ∧ 𝑦t++(𝑅 ↾ 𝐴)𝑥)))
109elv 3456 . . . . . . 7 (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ (𝑦 ∈ 𝐴 ∧ 𝑦t++(𝑅 ↾ 𝐴)𝑥))
11 resdmss 6236 . . . . . . . . 9 dom (𝑅 ↾ 𝐴) ⊆ 𝐴
12 vex 3455 . . . . . . . . . . 11 𝑥 ∈ V
138, 12breldm 5890 . . . . . . . . . 10 (𝑦t++(𝑅 ↾ 𝐴)𝑥 → 𝑦 ∈ dom t++(𝑅 ↾ 𝐴))
14 dmttrcl 9722 . . . . . . . . . 10 dom t++(𝑅 ↾ 𝐴) = dom (𝑅 ↾ 𝐴)
1513, 14eleqtrdi 2871 . . . . . . . . 9 (𝑦t++(𝑅 ↾ 𝐴)𝑥 → 𝑦 ∈ dom (𝑅 ↾ 𝐴))
1611, 15sselid 3929 . . . . . . . 8 (𝑦t++(𝑅 ↾ 𝐴)𝑥 → 𝑦 ∈ 𝐴)
1716pm4.71ri 570 . . . . . . 7 (𝑦t++(𝑅 ↾ 𝐴)𝑥 ↔ (𝑦 ∈ 𝐴 ∧ 𝑦t++(𝑅 ↾ 𝐴)𝑥))
1810, 17bitr4i 281 . . . . . 6 (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ 𝑦t++(𝑅 ↾ 𝐴)𝑥)
19 rdgfun 8424 . . . . . . 7 Fun rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))
20 eluniima 7254 . . . . . . 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 2759 . . . 4 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) = ∪ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω))
24 omex 9644 . . . . . . 7 ω ∈ V
2524funimaex 6627 . . . . . 6 (Fun rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) → (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ∈ V)
2619, 25ax-mp 5 . . . . 5 (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ∈ V
2726uniex 7758 . . . 4 ∪ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ∈ V
2823, 27eqeltrdi 2869 . . 3 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ∈ V)
2928ralrimiva 3155 . 2 (𝑅 Se 𝐴 → ∀𝑥 ∈ 𝐴 Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ∈ V)
30 dfse3 6339 . 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 1103   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087  Vcvv 3451  ∅c0 4279  ∪ cuni 4867  ∪ ciun 4951   class class class wbr 5103   ↦ cmpt 5186   Se wse 5602  dom cdm 5651   ↾ cres 5653   “ cima 5654  Predcpred 6303  suc csuc 6364  Fun wfun 6532   Fn wfn 6533  ‘cfv 6538  ωcom 7877  reccrdg 8417  t++cttrcl 9708
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7751  ax-inf2 9642
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-oadd 8480  df-ttrcl 9709
This theorem is used by:  frmin  9753  frr1  9763
  Copyright terms: Public domain W3C validator