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

Theorem tfrlem7 8448
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 8446 . 2 Rel recs(𝐹)
31recsfval 8445 . . . . . . . . 9 recs(𝐹) = ∪ 𝐴
43eleq2i 2867 . . . . . . . 8 (⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ↔ ⟨𝑥, 𝑢⟩ ∈ ∪ 𝐴)
5 eluni 4883 . . . . . . . 8 (⟨𝑥, 𝑢⟩ ∈ ∪ 𝐴 ↔ ∃𝑔(⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴))
64, 5bitri 278 . . . . . . 7 (⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ↔ ∃𝑔(⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴))
73eleq2i 2867 . . . . . . . 8 (⟨𝑥, 𝑣⟩ ∈ recs(𝐹) ↔ ⟨𝑥, 𝑣⟩ ∈ ∪ 𝐴)
8 eluni 4883 . . . . . . . 8 (⟨𝑥, 𝑣⟩ ∈ ∪ 𝐴 ↔ ∃ℎ(⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴))
97, 8bitri 278 . . . . . . 7 (⟨𝑥, 𝑣⟩ ∈ recs(𝐹) ↔ ∃ℎ(⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴))
106, 9anbi12i 640 . . . . . 6 ((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) ↔ (∃𝑔(⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ ∃ℎ(⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)))
11 exdistrv 1997 . . . . . 6 (∃𝑔∃ℎ((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ (⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)) ↔ (∃𝑔(⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ ∃ℎ(⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)))
1210, 11bitr4i 281 . . . . 5 ((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) ↔ ∃𝑔∃ℎ((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ (⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)))
13 df-br 5117 . . . . . . . . 9 (𝑥𝑔𝑢 ↔ ⟨𝑥, 𝑢⟩ ∈ 𝑔)
14 df-br 5117 . . . . . . . . 9 (𝑥ℎ𝑣 ↔ ⟨𝑥, 𝑣⟩ ∈ ℎ)
1513, 14anbi12i 640 . . . . . . . 8 ((𝑥𝑔𝑢 ∧ 𝑥ℎ𝑣) ↔ (⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ ⟨𝑥, 𝑣⟩ ∈ ℎ))
161tfrlem5 8444 . . . . . . . . 9 ((𝑔 ∈ 𝐴 ∧ ℎ ∈ 𝐴) → ((𝑥𝑔𝑢 ∧ 𝑥ℎ𝑣) → 𝑢 = 𝑣))
1716impcom 413 . . . . . . . 8 (((𝑥𝑔𝑢 ∧ 𝑥ℎ𝑣) ∧ (𝑔 ∈ 𝐴 ∧ ℎ ∈ 𝐴)) → 𝑢 = 𝑣)
1815, 17sylanbr 594 . . . . . . 7 (((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ ⟨𝑥, 𝑣⟩ ∈ ℎ) ∧ (𝑔 ∈ 𝐴 ∧ ℎ ∈ 𝐴)) → 𝑢 = 𝑣)
1918an4s 673 . . . . . 6 (((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ (⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)) → 𝑢 = 𝑣)
2019exlimivv 1974 . . . . 5 (∃𝑔∃ℎ((⟨𝑥, 𝑢⟩ ∈ 𝑔 ∧ 𝑔 ∈ 𝐴) ∧ (⟨𝑥, 𝑣⟩ ∈ ℎ ∧ ℎ ∈ 𝐴)) → 𝑢 = 𝑣)
2112, 20sylbi 220 . . . 4 ((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) → 𝑢 = 𝑣)
2221ax-gen 1834 . . 3 ∀𝑣((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) → 𝑢 = 𝑣)
2322gen2 1835 . 2 ∀𝑥∀𝑢∀𝑣((⟨𝑥, 𝑢⟩ ∈ recs(𝐹) ∧ ⟨𝑥, 𝑣⟩ ∈ recs(𝐹)) → 𝑢 = 𝑣)
24 dffun4 6592 . 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 1570   = wceq 1572  ∃wex 1818   ∈ wcel 2156  {cab 2752  ∀wral 3091  ∃wrex 3101  ⟨cop 4848  ∪ cuni 4880   class class class wbr 5116   ↾ cres 5668  Rel wrel 5671  Oncon0 6401  Fun wfun 6573   Fn wfn 6574  ‘cfv 6579  recscrecs 8435
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
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 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-fo 6585  df-fv 6587  df-ov 7473  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436
This theorem is used by:  tfrlem9  8450  tfrlem9a  8451  tfrlem10  8452  tfrlem14  8456  tfrlem16  8458  tfr1a  8459  tfr1  8462
  Copyright terms: Public domain W3C validator