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

Theorem wfrlem1OLD 8139
Description: Lemma for well-ordered recursion. The final item we are interested in is the union of acceptable functions 𝐵. This lemma just changes bound variables for later use. Obsolete as of 18-Nov-2024. (New usage is discouraged.) (Proof modification is discouraged.) (Contributed by Scott Fenton, 21-Apr-2011.)
Hypothesis
Ref Expression
wfrlem1OLD.1 𝐵 = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
Assertion
Ref Expression
wfrlem1OLD 𝐵 = {𝑔 ∣ ∃𝑧(𝑔 Fn 𝑧 ∧ (𝑧𝐴 ∧ ∀𝑤𝑧 Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧) ∧ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤))))}
Distinct variable groups:   𝐴,𝑓,𝑔,𝑤,𝑥,𝑦,𝑧   𝑓,𝐹,𝑔,𝑤,𝑥,𝑦,𝑧   𝑅,𝑓,𝑔,𝑤,𝑥,𝑦,𝑧
Allowed substitution hints:   𝐵(𝑥,𝑦,𝑧,𝑤,𝑓,𝑔)

Proof of Theorem wfrlem1OLD
StepHypRef Expression
1 wfrlem1OLD.1 . 2 𝐵 = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
2 fneq1 6524 . . . . . 6 (𝑓 = 𝑔 → (𝑓 Fn 𝑥𝑔 Fn 𝑥))
3 fveq1 6773 . . . . . . . 8 (𝑓 = 𝑔 → (𝑓𝑦) = (𝑔𝑦))
4 reseq1 5885 . . . . . . . . 9 (𝑓 = 𝑔 → (𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝑔 ↾ Pred(𝑅, 𝐴, 𝑦)))
54fveq2d 6778 . . . . . . . 8 (𝑓 = 𝑔 → (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦))))
63, 5eqeq12d 2754 . . . . . . 7 (𝑓 = 𝑔 → ((𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦)))))
76ralbidv 3112 . . . . . 6 (𝑓 = 𝑔 → (∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ ∀𝑦𝑥 (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦)))))
82, 73anbi13d 1437 . . . . 5 (𝑓 = 𝑔 → ((𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ (𝑔 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦))))))
98exbidv 1924 . . . 4 (𝑓 = 𝑔 → (∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ ∃𝑥(𝑔 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦))))))
10 fneq2 6525 . . . . . 6 (𝑥 = 𝑧 → (𝑔 Fn 𝑥𝑔 Fn 𝑧))
11 sseq1 3946 . . . . . . 7 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝐴))
12 sseq2 3947 . . . . . . . . 9 (𝑥 = 𝑧 → (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥 ↔ Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑧))
1312raleqbi1dv 3340 . . . . . . . 8 (𝑥 = 𝑧 → (∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥 ↔ ∀𝑦𝑧 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑧))
14 predeq3 6206 . . . . . . . . . 10 (𝑦 = 𝑤 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑤))
1514sseq1d 3952 . . . . . . . . 9 (𝑦 = 𝑤 → (Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑧 ↔ Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧))
1615cbvralvw 3383 . . . . . . . 8 (∀𝑦𝑧 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑧 ↔ ∀𝑤𝑧 Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧)
1713, 16bitrdi 287 . . . . . . 7 (𝑥 = 𝑧 → (∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥 ↔ ∀𝑤𝑧 Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧))
1811, 17anbi12d 631 . . . . . 6 (𝑥 = 𝑧 → ((𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ↔ (𝑧𝐴 ∧ ∀𝑤𝑧 Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧)))
19 raleq 3342 . . . . . . 7 (𝑥 = 𝑧 → (∀𝑦𝑥 (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ ∀𝑦𝑧 (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦)))))
20 fveq2 6774 . . . . . . . . 9 (𝑦 = 𝑤 → (𝑔𝑦) = (𝑔𝑤))
2114reseq2d 5891 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝑔 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝑔 ↾ Pred(𝑅, 𝐴, 𝑤)))
2221fveq2d 6778 . . . . . . . . 9 (𝑦 = 𝑤 → (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤))))
2320, 22eqeq12d 2754 . . . . . . . 8 (𝑦 = 𝑤 → ((𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝑔𝑤) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤)))))
2423cbvralvw 3383 . . . . . . 7 (∀𝑦𝑧 (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤))))
2519, 24bitrdi 287 . . . . . 6 (𝑥 = 𝑧 → (∀𝑦𝑥 (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤)))))
2610, 18, 253anbi123d 1435 . . . . 5 (𝑥 = 𝑧 → ((𝑔 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ (𝑔 Fn 𝑧 ∧ (𝑧𝐴 ∧ ∀𝑤𝑧 Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧) ∧ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤))))))
2726cbvexvw 2040 . . . 4 (∃𝑥(𝑔 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑔𝑦) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ ∃𝑧(𝑔 Fn 𝑧 ∧ (𝑧𝐴 ∧ ∀𝑤𝑧 Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧) ∧ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤)))))
289, 27bitrdi 287 . . 3 (𝑓 = 𝑔 → (∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ ∃𝑧(𝑔 Fn 𝑧 ∧ (𝑧𝐴 ∧ ∀𝑤𝑧 Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧) ∧ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤))))))
2928cbvabv 2811 . 2 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))} = {𝑔 ∣ ∃𝑧(𝑔 Fn 𝑧 ∧ (𝑧𝐴 ∧ ∀𝑤𝑧 Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧) ∧ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤))))}
301, 29eqtri 2766 1 𝐵 = {𝑔 ∣ ∃𝑧(𝑔 Fn 𝑧 ∧ (𝑧𝐴 ∧ ∀𝑤𝑧 Pred(𝑅, 𝐴, 𝑤) ⊆ 𝑧) ∧ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔 ↾ Pred(𝑅, 𝐴, 𝑤))))}
Colors of variables: wff setvar class
Syntax hints:  wa 396  w3a 1086   = wceq 1539  wex 1782  {cab 2715  wral 3064  wss 3887  cres 5591  Predcpred 6201   Fn wfn 6428  cfv 6433
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-ext 2709
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-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  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-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-fv 6441
This theorem is referenced by:  wfrlem2OLD  8140  wfrlem3OLD  8141  wfrlem3OLDa  8142  wfrlem4OLD  8143  wfrdmclOLD  8148
  Copyright terms: Public domain W3C validator