ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  tfrlemibfn GIF version

Theorem tfrlemibfn 6265
Description: The union of 𝐵 is a function defined on 𝑥. Lemma for tfrlemi1 6269. (Contributed by Jim Kingdon, 18-Mar-2019.) (Proof shortened by Mario Carneiro, 24-May-2019.)
Hypotheses
Ref Expression
tfrlemisucfn.1 𝐴 = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
tfrlemisucfn.2 (𝜑 → ∀𝑥(Fun 𝐹 ∧ (𝐹𝑥) ∈ V))
tfrlemi1.3 𝐵 = { ∣ ∃𝑧𝑥𝑔(𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))}
tfrlemi1.4 (𝜑𝑥 ∈ On)
tfrlemi1.5 (𝜑 → ∀𝑧𝑥𝑔(𝑔 Fn 𝑧 ∧ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔𝑤))))
Assertion
Ref Expression
tfrlemibfn (𝜑 𝐵 Fn 𝑥)
Distinct variable groups:   𝑓,𝑔,,𝑤,𝑥,𝑦,𝑧,𝐴   𝑓,𝐹,𝑔,,𝑤,𝑥,𝑦,𝑧   𝜑,𝑤,𝑦   𝑤,𝐵,𝑓,𝑔,,𝑧   𝜑,𝑔,,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑓)   𝐵(𝑥,𝑦)

Proof of Theorem tfrlemibfn
StepHypRef Expression
1 tfrlemisucfn.1 . . . . . 6 𝐴 = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
2 tfrlemisucfn.2 . . . . . 6 (𝜑 → ∀𝑥(Fun 𝐹 ∧ (𝐹𝑥) ∈ V))
3 tfrlemi1.3 . . . . . 6 𝐵 = { ∣ ∃𝑧𝑥𝑔(𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))}
4 tfrlemi1.4 . . . . . 6 (𝜑𝑥 ∈ On)
5 tfrlemi1.5 . . . . . 6 (𝜑 → ∀𝑧𝑥𝑔(𝑔 Fn 𝑧 ∧ ∀𝑤𝑧 (𝑔𝑤) = (𝐹‘(𝑔𝑤))))
61, 2, 3, 4, 5tfrlemibacc 6263 . . . . 5 (𝜑𝐵𝐴)
76unissd 3792 . . . 4 (𝜑 𝐵 𝐴)
81recsfval 6252 . . . 4 recs(𝐹) = 𝐴
97, 8sseqtrrdi 3173 . . 3 (𝜑 𝐵 ⊆ recs(𝐹))
101tfrlem7 6254 . . 3 Fun recs(𝐹)
11 funss 5182 . . 3 ( 𝐵 ⊆ recs(𝐹) → (Fun recs(𝐹) → Fun 𝐵))
129, 10, 11mpisyl 1423 . 2 (𝜑 → Fun 𝐵)
13 simpr3 990 . . . . . . . . . . . 12 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))
142ad2antrr 480 . . . . . . . . . . . . . . . . 17 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → ∀𝑥(Fun 𝐹 ∧ (𝐹𝑥) ∈ V))
154ad2antrr 480 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → 𝑥 ∈ On)
16 simplr 520 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → 𝑧𝑥)
17 onelon 4339 . . . . . . . . . . . . . . . . . 18 ((𝑥 ∈ On ∧ 𝑧𝑥) → 𝑧 ∈ On)
1815, 16, 17syl2anc 409 . . . . . . . . . . . . . . . . 17 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → 𝑧 ∈ On)
19 simpr1 988 . . . . . . . . . . . . . . . . 17 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → 𝑔 Fn 𝑧)
20 simpr2 989 . . . . . . . . . . . . . . . . 17 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → 𝑔𝐴)
211, 14, 18, 19, 20tfrlemisucfn 6261 . . . . . . . . . . . . . . . 16 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) Fn suc 𝑧)
22 dffn2 5314 . . . . . . . . . . . . . . . 16 ((𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) Fn suc 𝑧 ↔ (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}):suc 𝑧⟶V)
2321, 22sylib 121 . . . . . . . . . . . . . . 15 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}):suc 𝑧⟶V)
24 fssxp 5330 . . . . . . . . . . . . . . 15 ((𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}):suc 𝑧⟶V → (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ⊆ (suc 𝑧 × V))
2523, 24syl 14 . . . . . . . . . . . . . 14 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ⊆ (suc 𝑧 × V))
26 eloni 4330 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ On → Ord 𝑥)
2715, 26syl 14 . . . . . . . . . . . . . . . 16 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → Ord 𝑥)
28 ordsucss 4457 . . . . . . . . . . . . . . . 16 (Ord 𝑥 → (𝑧𝑥 → suc 𝑧𝑥))
2927, 16, 28sylc 62 . . . . . . . . . . . . . . 15 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → suc 𝑧𝑥)
30 xpss1 4689 . . . . . . . . . . . . . . 15 (suc 𝑧𝑥 → (suc 𝑧 × V) ⊆ (𝑥 × V))
3129, 30syl 14 . . . . . . . . . . . . . 14 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → (suc 𝑧 × V) ⊆ (𝑥 × V))
3225, 31sstrd 3134 . . . . . . . . . . . . 13 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ⊆ (𝑥 × V))
33 vex 2712 . . . . . . . . . . . . . . . 16 𝑔 ∈ V
34 vex 2712 . . . . . . . . . . . . . . . . . 18 𝑧 ∈ V
352tfrlem3-2d 6249 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (Fun 𝐹 ∧ (𝐹𝑔) ∈ V))
3635simprd 113 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝐹𝑔) ∈ V)
37 opexg 4183 . . . . . . . . . . . . . . . . . 18 ((𝑧 ∈ V ∧ (𝐹𝑔) ∈ V) → ⟨𝑧, (𝐹𝑔)⟩ ∈ V)
3834, 36, 37sylancr 411 . . . . . . . . . . . . . . . . 17 (𝜑 → ⟨𝑧, (𝐹𝑔)⟩ ∈ V)
39 snexg 4140 . . . . . . . . . . . . . . . . 17 (⟨𝑧, (𝐹𝑔)⟩ ∈ V → {⟨𝑧, (𝐹𝑔)⟩} ∈ V)
4038, 39syl 14 . . . . . . . . . . . . . . . 16 (𝜑 → {⟨𝑧, (𝐹𝑔)⟩} ∈ V)
41 unexg 4397 . . . . . . . . . . . . . . . 16 ((𝑔 ∈ V ∧ {⟨𝑧, (𝐹𝑔)⟩} ∈ V) → (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ∈ V)
4233, 40, 41sylancr 411 . . . . . . . . . . . . . . 15 (𝜑 → (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ∈ V)
43 elpwg 3547 . . . . . . . . . . . . . . 15 ((𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ∈ V → ((𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ∈ 𝒫 (𝑥 × V) ↔ (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ⊆ (𝑥 × V)))
4442, 43syl 14 . . . . . . . . . . . . . 14 (𝜑 → ((𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ∈ 𝒫 (𝑥 × V) ↔ (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ⊆ (𝑥 × V)))
4544ad2antrr 480 . . . . . . . . . . . . 13 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → ((𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ∈ 𝒫 (𝑥 × V) ↔ (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ⊆ (𝑥 × V)))
4632, 45mpbird 166 . . . . . . . . . . . 12 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}) ∈ 𝒫 (𝑥 × V))
4713, 46eqeltrd 2231 . . . . . . . . . . 11 (((𝜑𝑧𝑥) ∧ (𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))) → ∈ 𝒫 (𝑥 × V))
4847ex 114 . . . . . . . . . 10 ((𝜑𝑧𝑥) → ((𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩})) → ∈ 𝒫 (𝑥 × V)))
4948exlimdv 1796 . . . . . . . . 9 ((𝜑𝑧𝑥) → (∃𝑔(𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩})) → ∈ 𝒫 (𝑥 × V)))
5049rexlimdva 2571 . . . . . . . 8 (𝜑 → (∃𝑧𝑥𝑔(𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩})) → ∈ 𝒫 (𝑥 × V)))
5150abssdv 3198 . . . . . . 7 (𝜑 → { ∣ ∃𝑧𝑥𝑔(𝑔 Fn 𝑧𝑔𝐴 = (𝑔 ∪ {⟨𝑧, (𝐹𝑔)⟩}))} ⊆ 𝒫 (𝑥 × V))
523, 51eqsstrid 3170 . . . . . 6 (𝜑𝐵 ⊆ 𝒫 (𝑥 × V))
53 sspwuni 3929 . . . . . 6 (𝐵 ⊆ 𝒫 (𝑥 × V) ↔ 𝐵 ⊆ (𝑥 × V))
5452, 53sylib 121 . . . . 5 (𝜑 𝐵 ⊆ (𝑥 × V))
55 dmss 4778 . . . . 5 ( 𝐵 ⊆ (𝑥 × V) → dom 𝐵 ⊆ dom (𝑥 × V))
5654, 55syl 14 . . . 4 (𝜑 → dom 𝐵 ⊆ dom (𝑥 × V))
57 dmxpss 5009 . . . 4 dom (𝑥 × V) ⊆ 𝑥
5856, 57sstrdi 3136 . . 3 (𝜑 → dom 𝐵𝑥)
591, 2, 3, 4, 5tfrlemibxssdm 6264 . . 3 (𝜑𝑥 ⊆ dom 𝐵)
6058, 59eqssd 3141 . 2 (𝜑 → dom 𝐵 = 𝑥)
61 df-fn 5166 . 2 ( 𝐵 Fn 𝑥 ↔ (Fun 𝐵 ∧ dom 𝐵 = 𝑥))
6212, 60, 61sylanbrc 414 1 (𝜑 𝐵 Fn 𝑥)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 963  wal 1330   = wceq 1332  wex 1469  wcel 2125  {cab 2140  wral 2432  wrex 2433  Vcvv 2709  cun 3096  wss 3098  𝒫 cpw 3539  {csn 3556  cop 3559   cuni 3768  Ord word 4317  Oncon0 4318  suc csuc 4320   × cxp 4577  dom cdm 4579  cres 4581  Fun wfun 5157   Fn wfn 5158  wf 5159  cfv 5163  recscrecs 6241
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1481  ax-10 1482  ax-11 1483  ax-i12 1484  ax-bndl 1486  ax-4 1487  ax-17 1503  ax-i9 1507  ax-ial 1511  ax-i5r 1512  ax-13 2127  ax-14 2128  ax-ext 2136  ax-sep 4078  ax-pow 4130  ax-pr 4164  ax-un 4388  ax-setind 4490
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1740  df-eu 2006  df-mo 2007  df-clab 2141  df-cleq 2147  df-clel 2150  df-nfc 2285  df-ne 2325  df-ral 2437  df-rex 2438  df-rab 2441  df-v 2711  df-sbc 2934  df-csb 3028  df-dif 3100  df-un 3102  df-in 3104  df-ss 3111  df-nul 3391  df-pw 3541  df-sn 3562  df-pr 3563  df-op 3565  df-uni 3769  df-iun 3847  df-br 3962  df-opab 4022  df-mpt 4023  df-tr 4059  df-id 4248  df-iord 4321  df-on 4323  df-suc 4326  df-xp 4585  df-rel 4586  df-cnv 4587  df-co 4588  df-dm 4589  df-rn 4590  df-res 4591  df-iota 5128  df-fun 5165  df-fn 5166  df-f 5167  df-fv 5171  df-recs 6242
This theorem is referenced by:  tfrlemibex  6266  tfrlemiubacc  6267  tfrlemiex  6268
  Copyright terms: Public domain W3C validator