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

Theorem tfrlem7 8391
Description: Lemma for transfinite recursion. The union of all acceptable functions is a function. (Contributed by NM, 9-Aug-1994.) (Revised by Mario Carneiro, 24-May-2019.)
Hypothesis
Ref Expression
tfrlem.1 𝐴 = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦 ∈ 𝑥 (𝑓‘𝑦) = (𝐹‘(𝑓 ↾ 𝑦)))}
Assertion
Ref Expression
tfrlem7 Fun recs(𝐹)
Distinct variable group:   𝑥,𝑓,𝑦,𝐹
Allowed substitution hints:   𝐴(𝑥, 𝑦, 𝑓)

Proof of Theorem tfrlem7
Dummy variables 𝑔 ℎ 𝑢 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tfrlem.1 . . 3 𝐴 = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦 ∈ 𝑥 (𝑓‘𝑦) = (𝐹‘(𝑓 ↾ 𝑦)))}
21tfrlem6 8389 . 2 Rel recs(𝐹)
31recsfval 8388 . . . . . . . . 9 recs(𝐹) = ∪ 𝐴
43eleq2i 2853 . . . . . . . 8 (⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ↔ ⟨𝑥, 𝑢⟩ ∈ ∪ 𝐴)
5 eluni 4870 . . . . . . . 8 (⟨𝑥, 𝑢⟩ ∈ ∪ 𝐴 ↔ ∃𝑔(⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴))
64, 5bitri 278 . . . . . . 7 (⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ↔ ∃𝑔(⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴))
73eleq2i 2853 . . . . . . . 8 (⟨𝑥, 𝑣⟩ ∈ recs(𝐹) ↔ ⟨𝑥, 𝑣⟩ ∈ ∪ 𝐴)
8 eluni 4870 . . . . . . . 8 (⟨𝑥, 𝑣⟩ ∈ ∪ 𝐴 ↔ ∃ℎ(⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴))
97, 8bitri 278 . . . . . . 7 (⟨𝑥, 𝑣⟩ ∈ recs(𝐹) ↔ ∃ℎ(⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴))
106, 9anbi12i 640 . . . . . 6 ((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) ↔ (∃𝑔(⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ ∃ℎ(⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)))
11 exdistrv 1988 . . . . . 6 (∃𝑔∃ℎ((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ (⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)) ↔ (∃𝑔(⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ ∃ℎ(⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)))
1210, 11bitr4i 281 . . . . 5 ((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) ↔ ∃𝑔∃ℎ((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ (⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)))
13 df-br 5104 . . . . . . . . 9 (𝑥𝑔𝑢 ↔ ⟨𝑥, 𝑢⟩ ∈ 𝑔)
14 df-br 5104 . . . . . . . . 9 (𝑥ℎ𝑣 ↔ ⟨𝑥, 𝑣⟩ ∈ ℎ)
1513, 14anbi12i 640 . . . . . . . 8 ((𝑥𝑔𝑢 ∧ 𝑥ℎ𝑣) ↔ (⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ ⟨𝑥, 𝑣⟩ ∈ ℎ))
161tfrlem5 8387 . . . . . . . . 9 ((𝑔 ∈ 𝐴 ∧ ℎ ∈ 𝐴) → ((𝑥𝑔𝑢 ∧ 𝑥ℎ𝑣) → 𝑢 = 𝑣))
1716impcom 413 . . . . . . . 8 (((𝑥𝑔𝑢 ∧ 𝑥ℎ𝑣) ∧ (𝑔 ∈ 𝐴 ∧ ℎ ∈ 𝐴)) → 𝑢 = 𝑣)
1815, 17sylanbr 594 . . . . . . 7 (((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ ⟨𝑥, 𝑣⟩ ∈ ℎ) ∧ (𝑔 ∈ 𝐴 ∧ ℎ ∈ 𝐴)) → 𝑢 = 𝑣)
1918an4s 673 . . . . . 6 (((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ (⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)) → 𝑢 = 𝑣)
2019exlimivv 1965 . . . . 5 (∃𝑔∃ℎ((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ (⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)) → 𝑢 = 𝑣)
2112, 20sylbi 220 . . . 4 ((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) → 𝑢 = 𝑣)
2221ax-gen 1828 . . 3 ∀𝑣((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) → 𝑢 = 𝑣)
2322gen2 1829 . 2 ∀𝑥∀𝑢∀𝑣((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) → 𝑢 = 𝑣)
24 dffun4 6551 . 2 (Fun recs(𝐹) ↔ (Rel recs(𝐹) ∧ ∀𝑥∀𝑢∀𝑣((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) → 𝑢 = 𝑣)))
252, 23, 24mpbir2an 724 1 Fun recs(𝐹)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2145  {cab 2739  ∀wral 3077  ∃wrex 3087  ⟨cop 4590  ∪ cuni 4867   class class class wbr 5103   ↾ cres 5653  Rel wrel 5656  Oncon0 6362  Fun wfun 6532   Fn wfn 6533  ‘cfv 6538  recscrecs 8378
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fo 6544  df-fv 6546  df-ov 7423  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379
This theorem is used by:  tfrlem9  8393  tfrlem9a  8394  tfrlem10  8395  tfrlem14  8399  tfrlem16  8401  tfr1a  8402  tfr1  8405
  Copyright terms: Public domain W3C validator