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

Theorem ttrclse 9741
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 9728 . . . . . . 7 (𝑦t++(𝑅 ↾ 𝐴)𝑥 ↔ ∃𝑛 ∈ ω ∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)))
2 eqid 2763 . . . . . . . . . . 11 rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) = rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))
32ttrclselem2 9740 . . . . . . . . . 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 3188 . . . . . . 7 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → (∃𝑛 ∈ ω ∃𝑓(𝑓 Fn suc suc 𝑛 ∧ ((𝑓‘∅) = 𝑦 ∧ (𝑓‘suc 𝑛) = 𝑥) ∧ ∀𝑎 ∈ suc 𝑛(𝑓‘𝑎)(𝑅 ↾ 𝐴)(𝑓‘suc 𝑎)) ↔ ∃𝑛 ∈ ω 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
71, 6bitrid 286 . . . . . 6 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝑦t++(𝑅 ↾ 𝐴)𝑥 ↔ ∃𝑛 ∈ ω 𝑦 ∈ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))‘𝑛)))
8 vex 3458 . . . . . . . . 9 𝑦 ∈ V
98elpred 6328 . . . . . . . 8 (𝑥 ∈ V → (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ (𝑦 ∈ 𝐴 ∧ 𝑦t++(𝑅 ↾ 𝐴)𝑥)))
109elv 3459 . . . . . . 7 (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ (𝑦 ∈ 𝐴 ∧ 𝑦t++(𝑅 ↾ 𝐴)𝑥))
11 resdmss 6243 . . . . . . . . 9 dom (𝑅 ↾ 𝐴) ⊆ 𝐴
12 vex 3458 . . . . . . . . . . 11 𝑥 ∈ V
138, 12breldm 5895 . . . . . . . . . 10 (𝑦t++(𝑅 ↾ 𝐴)𝑥 → 𝑦 ∈ dom t++(𝑅 ↾ 𝐴))
14 dmttrcl 9735 . . . . . . . . . 10 dom t++(𝑅 ↾ 𝐴) = dom (𝑅 ↾ 𝐴)
1513, 14eleqtrdi 2874 . . . . . . . . 9 (𝑦t++(𝑅 ↾ 𝐴)𝑥 → 𝑦 ∈ dom (𝑅 ↾ 𝐴))
1611, 15sselid 3911 . . . . . . . 8 (𝑦t++(𝑅 ↾ 𝐴)𝑥 → 𝑦 ∈ 𝐴)
1716pm4.71ri 570 . . . . . . 7 (𝑦t++(𝑅 ↾ 𝐴)𝑥 ↔ (𝑦 ∈ 𝐴 ∧ 𝑦t++(𝑅 ↾ 𝐴)𝑥))
1810, 17bitr4i 281 . . . . . 6 (𝑦 ∈ Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ↔ 𝑦t++(𝑅 ↾ 𝐴)𝑥)
19 rdgfun 8438 . . . . . . 7 Fun rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥))
20 eluniima 7264 . . . . . . 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 2761 . . . 4 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) = ∪ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω))
24 omex 9657 . . . . . . 7 ω ∈ V
2524funimaex 6638 . . . . . 6 (Fun rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) → (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ∈ V)
2619, 25ax-mp 5 . . . . 5 (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ∈ V
2726uniex 7768 . . . 4 ∪ (rec((𝑏 ∈ V ↦ ∪ 𝑤 ∈ 𝑏 Pred(𝑅, 𝐴, 𝑤)), Pred(𝑅, 𝐴, 𝑥)) “ ω) ∈ V
2823, 27eqeltrdi 2872 . . 3 ((𝑅 Se 𝐴 ∧ 𝑥 ∈ 𝐴) → Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ∈ V)
2928ralrimiva 3158 . 2 (𝑅 Se 𝐴 → ∀𝑥 ∈ 𝐴 Pred(t++(𝑅 ↾ 𝐴), 𝐴, 𝑥) ∈ V)
30 dfse3 6346 . 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 1569  ∃wex 1811   ∈ wcel 2146  ∀wral 3080  ∃wrex 3090  Vcvv 3454  ∅c0 4281  ∪ cuni 4870  ∪ ciun 4954   class class class wbr 5106   ↦ cmpt 5189   Se wse 5606  dom cdm 5655   ↾ cres 5657   “ cima 5658  Predcpred 6310  suc csuc 6371  Fun wfun 6541   Fn wfn 6542  ‘cfv 6547  ωcom 7887  reccrdg 8431  t++cttrcl 9721
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7761  ax-inf2 9655
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-se 5609  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6311  df-ord 6372  df-on 6373  df-lim 6374  df-suc 6375  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-ov 7433  df-oprab 7434  df-mpo 7435  df-om 7888  df-2nd 8012  df-frecs 8313  df-wrecs 8344  df-recs 8393  df-rdg 8432  df-1o 8490  df-oadd 8494  df-ttrcl 9722
This theorem is used by:  frmin  9766  frr1  9776
  Copyright terms: Public domain W3C validator