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

Theorem dfwrecs2 35144
Description: TODO: Replace df-wrecs 8089 with this definition, and shorten theorems using wrecs with it. (Contributed by BJ, 27-Oct-2024.)
Assertion
Ref Expression
dfwrecs2 wrecs(𝑅, 𝐴, 𝐹) = frecs(𝑅, 𝐴, (𝐹 ∘ 2nd ))

Proof of Theorem dfwrecs2
Dummy variables 𝑥 𝑓 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3427 . . . . . . . . . . 11 𝑦 ∈ V
21a1i 11 . . . . . . . . . 10 (⊤ → 𝑦 ∈ V)
3 vex 3427 . . . . . . . . . . . 12 𝑓 ∈ V
43resex 5927 . . . . . . . . . . 11 (𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)) ∈ V
54a1i 11 . . . . . . . . . 10 (⊤ → (𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)) ∈ V)
62, 5opco2 7933 . . . . . . . . 9 (⊤ → (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))
76mptru 1550 . . . . . . . 8 (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))
87eqeq2i 2752 . . . . . . 7 ((𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))
98ralbii 3091 . . . . . 6 (∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))
1093anbi3i 1161 . . . . 5 ((𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ (𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))))
1110exbii 1855 . . . 4 (∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))))
1211abbii 2810 . . 3 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))} = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
1312unieqi 4849 . 2 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))} = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
14 df-frecs 8065 . 2 frecs(𝑅, 𝐴, (𝐹 ∘ 2nd )) = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦(𝐹 ∘ 2nd )(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
15 df-wrecs 8089 . 2 wrecs(𝑅, 𝐴, 𝐹) = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
1613, 14, 153eqtr4ri 2778 1 wrecs(𝑅, 𝐴, 𝐹) = frecs(𝑅, 𝐴, (𝐹 ∘ 2nd ))
Colors of variables: wff setvar class
Syntax hints:  wa 399  w3a 1089   = wceq 1543  wtru 1544  wex 1787  wcel 2112  {cab 2716  wral 3064  Vcvv 3423  wss 3884   cuni 4836  cres 5581  ccom 5583  Predcpred 6188   Fn wfn 6410  cfv 6415  (class class class)co 7252  2nd c2nd 7800  frecscfrecs 8064  wrecscwrecs 8088
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2710  ax-sep 5216  ax-nul 5223  ax-pr 5346  ax-un 7563
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2818  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3425  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-nul 4255  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5153  df-id 5479  df-xp 5585  df-rel 5586  df-cnv 5587  df-co 5588  df-dm 5589  df-rn 5590  df-res 5591  df-ima 5592  df-iota 6373  df-fun 6417  df-fn 6418  df-f 6419  df-fo 6421  df-fv 6423  df-ov 7255  df-2nd 7802  df-frecs 8065  df-wrecs 8089
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator