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

Theorem wrecseq123OLD 8131
Description: Obsolete proof of wrecseq123 8130 as of 17-Nov-2024. (New usage is discouraged.) (Proof modification is discouraged.) (Contributed by Scott Fenton, 7-Jun-2018.)
Assertion
Ref Expression
wrecseq123OLD ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → wrecs(𝑅, 𝐴, 𝐹) = wrecs(𝑆, 𝐵, 𝐺))

Proof of Theorem wrecseq123OLD
Dummy variables 𝑓 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sseq2 3947 . . . . . . . 8 (𝐴 = 𝐵 → (𝑥𝐴𝑥𝐵))
213ad2ant2 1133 . . . . . . 7 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → (𝑥𝐴𝑥𝐵))
3 predeq1 6204 . . . . . . . . . . 11 (𝑅 = 𝑆 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑆, 𝐴, 𝑦))
4 predeq2 6205 . . . . . . . . . . 11 (𝐴 = 𝐵 → Pred(𝑆, 𝐴, 𝑦) = Pred(𝑆, 𝐵, 𝑦))
53, 4sylan9eq 2798 . . . . . . . . . 10 ((𝑅 = 𝑆𝐴 = 𝐵) → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑆, 𝐵, 𝑦))
653adant3 1131 . . . . . . . . 9 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑆, 𝐵, 𝑦))
76sseq1d 3952 . . . . . . . 8 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥 ↔ Pred(𝑆, 𝐵, 𝑦) ⊆ 𝑥))
87ralbidv 3112 . . . . . . 7 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → (∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥 ↔ ∀𝑦𝑥 Pred(𝑆, 𝐵, 𝑦) ⊆ 𝑥))
92, 8anbi12d 631 . . . . . 6 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → ((𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ↔ (𝑥𝐵 ∧ ∀𝑦𝑥 Pred(𝑆, 𝐵, 𝑦) ⊆ 𝑥)))
10 simp3 1137 . . . . . . . . 9 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → 𝐹 = 𝐺)
115reseq2d 5891 . . . . . . . . . 10 ((𝑅 = 𝑆𝐴 = 𝐵) → (𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝑓 ↾ Pred(𝑆, 𝐵, 𝑦)))
12113adant3 1131 . . . . . . . . 9 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → (𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝑓 ↾ Pred(𝑆, 𝐵, 𝑦)))
1310, 12fveq12d 6781 . . . . . . . 8 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐺‘(𝑓 ↾ Pred(𝑆, 𝐵, 𝑦))))
1413eqeq2d 2749 . . . . . . 7 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → ((𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑆, 𝐵, 𝑦)))))
1514ralbidv 3112 . . . . . 6 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → (∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑆, 𝐵, 𝑦)))))
169, 153anbi23d 1438 . . . . 5 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → ((𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ (𝑓 Fn 𝑥 ∧ (𝑥𝐵 ∧ ∀𝑦𝑥 Pred(𝑆, 𝐵, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑆, 𝐵, 𝑦))))))
1716exbidv 1924 . . . 4 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → (∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐵 ∧ ∀𝑦𝑥 Pred(𝑆, 𝐵, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑆, 𝐵, 𝑦))))))
1817abbidv 2807 . . 3 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))} = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐵 ∧ ∀𝑦𝑥 Pred(𝑆, 𝐵, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑆, 𝐵, 𝑦))))})
1918unieqd 4853 . 2 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))} = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐵 ∧ ∀𝑦𝑥 Pred(𝑆, 𝐵, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑆, 𝐵, 𝑦))))})
20 dfwrecsOLD 8129 . 2 wrecs(𝑅, 𝐴, 𝐹) = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
21 dfwrecsOLD 8129 . 2 wrecs(𝑆, 𝐵, 𝐺) = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐵 ∧ ∀𝑦𝑥 Pred(𝑆, 𝐵, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐺‘(𝑓 ↾ Pred(𝑆, 𝐵, 𝑦))))}
2219, 20, 213eqtr4g 2803 1 ((𝑅 = 𝑆𝐴 = 𝐵𝐹 = 𝐺) → wrecs(𝑅, 𝐴, 𝐹) = wrecs(𝑆, 𝐵, 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wex 1782  {cab 2715  wral 3064  wss 3887   cuni 4839  cres 5591  Predcpred 6201   Fn wfn 6428  cfv 6433  wrecscwrecs 8127
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fo 6439  df-fv 6441  df-ov 7278  df-2nd 7832  df-frecs 8097  df-wrecs 8128
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator