Users' Mathboxes Mathbox for Matthew House < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dfttc2g Structured version   Visualization version   GIF version

Theorem dfttc2g 37510
Description: A shorter expression for the transitive closure of a set. (Contributed by Matthew House, 6-Apr-2026.)
Assertion
Ref Expression
dfttc2g (𝐴 ∈ 𝑉 → TC+ 𝐴 = ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))

Proof of Theorem dfttc2g
Dummy variables 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rdg0g 8473 . . . . 5 (𝐴 ∈ 𝑉 → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘∅) = 𝐴)
2 rdgfnon 8464 . . . . . 6 rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) Fn On
3 omsson 7915 . . . . . 6 ω ⊆ On
4 peano1 7934 . . . . . 6 ∅ ∈ ω
5 fnfvima 7270 . . . . . 6 ((rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) Fn On ∧ ω ⊆ On ∧ ∅ ∈ ω) → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘∅) ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
62, 3, 4, 5mp3an 1493 . . . . 5 (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘∅) ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω)
71, 6eqeltrrdi 2876 . . . 4 (𝐴 ∈ 𝑉 → 𝐴 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
8 elssuni 4903 . . . 4 (𝐴 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω) → 𝐴 ⊆ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
97, 8syl 18 . . 3 (𝐴 ∈ 𝑉 → 𝐴 ⊆ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
10 peano2 7935 . . . . . . . . . 10 (𝑧 ∈ ω → suc 𝑧 ∈ ω)
11 elunii 4876 . . . . . . . . . . 11 ((𝑤 ∈ 𝑦 ∧ 𝑦 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧)) → 𝑤 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧))
12 nnon 7917 . . . . . . . . . . . . . 14 (𝑧 ∈ ω → 𝑧 ∈ On)
13 fvex 6929 . . . . . . . . . . . . . . 15 (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ∈ V
1413uniex 7790 . . . . . . . . . . . . . 14 ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ∈ V
15 eqid 2766 . . . . . . . . . . . . . . 15 rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) = rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)
16 unieq 4882 . . . . . . . . . . . . . . 15 (𝑦 = 𝑥 → ∪ 𝑦 = ∪ 𝑥)
17 unieq 4882 . . . . . . . . . . . . . . 15 (𝑦 = (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) → ∪ 𝑦 = ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧))
1815, 16, 17rdgsucmpt2 8476 . . . . . . . . . . . . . 14 ((𝑧 ∈ On ∧ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ∈ V) → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧) = ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧))
1912, 14, 18sylancl 598 . . . . . . . . . . . . 13 (𝑧 ∈ ω → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧) = ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧))
2019eleq2d 2853 . . . . . . . . . . . 12 (𝑧 ∈ ω → (𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧) ↔ 𝑤 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧)))
2120biimpar 483 . . . . . . . . . . 11 ((𝑧 ∈ ω ∧ 𝑤 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧)) → 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧))
2211, 21sylan2 605 . . . . . . . . . 10 ((𝑧 ∈ ω ∧ (𝑤 ∈ 𝑦 ∧ 𝑦 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧))) → 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧))
23 fveq2 6916 . . . . . . . . . . . 12 (𝑦 = suc 𝑧 → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) = (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧))
2423eleq2d 2853 . . . . . . . . . . 11 (𝑦 = suc 𝑧 → (𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) ↔ 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧)))
2524rspcev 3579 . . . . . . . . . 10 ((suc 𝑧 ∈ ω ∧ 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧)) → ∃𝑦 ∈ ω 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦))
2610, 22, 25syl2an2r 698 . . . . . . . . 9 ((𝑧 ∈ ω ∧ (𝑤 ∈ 𝑦 ∧ 𝑦 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧))) → ∃𝑦 ∈ ω 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦))
2726an12s 662 . . . . . . . 8 ((𝑤 ∈ 𝑦 ∧ (𝑧 ∈ ω ∧ 𝑦 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧))) → ∃𝑦 ∈ ω 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦))
2827rexlimdvaa 3171 . . . . . . 7 (𝑤 ∈ 𝑦 → (∃𝑧 ∈ ω 𝑦 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) → ∃𝑦 ∈ ω 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦)))
29 rdgfun 8462 . . . . . . . 8 Fun rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)
30 eluniima 7285 . . . . . . . 8 (Fun rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) → (𝑦 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω) ↔ ∃𝑧 ∈ ω 𝑦 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧)))
3129, 30ax-mp 5 . . . . . . 7 (𝑦 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω) ↔ ∃𝑧 ∈ ω 𝑦 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧))
32 eluniima 7285 . . . . . . . 8 (Fun rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) → (𝑤 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω) ↔ ∃𝑦 ∈ ω 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦)))
3329, 32ax-mp 5 . . . . . . 7 (𝑤 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω) ↔ ∃𝑦 ∈ ω 𝑤 ∈ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦))
3428, 31, 333imtr4g 299 . . . . . 6 (𝑤 ∈ 𝑦 → (𝑦 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω) → 𝑤 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω)))
3534imp 412 . . . . 5 ((𝑤 ∈ 𝑦 ∧ 𝑦 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω)) → 𝑤 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
3635gen2 1831 . . . 4 ∀𝑤∀𝑦((𝑤 ∈ 𝑦 ∧ 𝑦 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω)) → 𝑤 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
37 dftr2 5219 . . . 4 (Tr ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω) ↔ ∀𝑤∀𝑦((𝑤 ∈ 𝑦 ∧ 𝑦 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω)) → 𝑤 ∈ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω)))
3836, 37mpbir 234 . . 3 Tr ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω)
39 ttcmin 37500 . . 3 ((𝐴 ⊆ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω) ∧ Tr ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω)) → TC+ 𝐴 ⊆ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
409, 38, 39sylancl 598 . 2 (𝐴 ∈ 𝑉 → TC+ 𝐴 ⊆ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
41 funiunfv 7283 . . . 4 (Fun rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) → ∪ 𝑦 ∈ ω (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) = ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
4229, 41ax-mp 5 . . 3 ∪ 𝑦 ∈ ω (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) = ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω)
43 fveq2 6916 . . . . . . 7 (𝑦 = ∅ → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) = (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘∅))
4443sseq1d 3943 . . . . . 6 (𝑦 = ∅ → ((rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) ⊆ TC+ 𝐴 ↔ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘∅) ⊆ TC+ 𝐴))
45 fveq2 6916 . . . . . . 7 (𝑦 = 𝑧 → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) = (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧))
4645sseq1d 3943 . . . . . 6 (𝑦 = 𝑧 → ((rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) ⊆ TC+ 𝐴 ↔ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ⊆ TC+ 𝐴))
4723sseq1d 3943 . . . . . 6 (𝑦 = suc 𝑧 → ((rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) ⊆ TC+ 𝐴 ↔ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧) ⊆ TC+ 𝐴))
48 ttcid 37496 . . . . . . 7 𝐴 ⊆ TC+ 𝐴
491, 48eqsstrdi 3956 . . . . . 6 (𝐴 ∈ 𝑉 → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘∅) ⊆ TC+ 𝐴)
50 uniss 4879 . . . . . . . . 9 ((rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ⊆ TC+ 𝐴 → ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ⊆ ∪ TC+ 𝐴)
51 ttctr3 37499 . . . . . . . . 9 ∪ TC+ 𝐴 ⊆ TC+ 𝐴
5250, 51sstrdi 3924 . . . . . . . 8 ((rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ⊆ TC+ 𝐴 → ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ⊆ TC+ 𝐴)
5319sseq1d 3943 . . . . . . . 8 (𝑧 ∈ ω → ((rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧) ⊆ TC+ 𝐴 ↔ ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ⊆ TC+ 𝐴))
5452, 53imbitrrid 249 . . . . . . 7 (𝑧 ∈ ω → ((rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ⊆ TC+ 𝐴 → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧) ⊆ TC+ 𝐴))
5554a1d 26 . . . . . 6 (𝑧 ∈ ω → (𝐴 ∈ 𝑉 → ((rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑧) ⊆ TC+ 𝐴 → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘suc 𝑧) ⊆ TC+ 𝐴)))
5644, 46, 47, 49, 55finds2 7944 . . . . 5 (𝑦 ∈ ω → (𝐴 ∈ 𝑉 → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) ⊆ TC+ 𝐴))
5756impcom 413 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝑦 ∈ ω) → (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) ⊆ TC+ 𝐴)
5857iunssd 5013 . . 3 (𝐴 ∈ 𝑉 → ∪ 𝑦 ∈ ω (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴)‘𝑦) ⊆ TC+ 𝐴)
5942, 58eqsstrrid 3951 . 2 (𝐴 ∈ 𝑉 → ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω) ⊆ TC+ 𝐴)
6040, 59eqssd 3929 1 (𝐴 ∈ 𝑉 → TC+ 𝐴 = ∪ (rec((𝑥 ∈ V ↦ ∪ 𝑥), 𝐴) “ ω))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570   = wceq 1572   ∈ wcel 2150  ∃wrex 3093  Vcvv 3453   ⊆ wss 3899  ∅c0 4280  ∪ cuni 4871  ∪ ciun 4955   ↦ cmpt 5191  Tr wtr 5217   “ cima 5660  Oncon0 6388  suc csuc 6390  Fun wfun 6560   Fn wfn 6561  ‘cfv 6566  ωcom 7911  reccrdg 8455  TC+ cttc 37490
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pr 5397  ax-un 7783
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 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-om 7912  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-ttc 37491
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator