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

Theorem ttukeylem4 9936
Description: Lemma for ttukey 9942. (Contributed by Mario Carneiro, 15-May-2015.)
Hypotheses
Ref Expression
ttukeylem.1 (𝜑𝐹:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵))
ttukeylem.2 (𝜑𝐵𝐴)
ttukeylem.3 (𝜑 → ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴))
ttukeylem.4 𝐺 = recs((𝑧 ∈ V ↦ if(dom 𝑧 = dom 𝑧, if(dom 𝑧 = ∅, 𝐵, ran 𝑧), ((𝑧 dom 𝑧) ∪ if(((𝑧 dom 𝑧) ∪ {(𝐹 dom 𝑧)}) ∈ 𝐴, {(𝐹 dom 𝑧)}, ∅)))))
Assertion
Ref Expression
ttukeylem4 (𝜑 → (𝐺‘∅) = 𝐵)
Distinct variable groups:   𝑥,𝑧,𝐺   𝜑,𝑧   𝑥,𝐴,𝑧   𝑥,𝐵,𝑧   𝑥,𝐹,𝑧
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem ttukeylem4
StepHypRef Expression
1 0elon 6246 . . 3 ∅ ∈ On
2 ttukeylem.1 . . . 4 (𝜑𝐹:(card‘( 𝐴𝐵))–1-1-onto→( 𝐴𝐵))
3 ttukeylem.2 . . . 4 (𝜑𝐵𝐴)
4 ttukeylem.3 . . . 4 (𝜑 → ∀𝑥(𝑥𝐴 ↔ (𝒫 𝑥 ∩ Fin) ⊆ 𝐴))
5 ttukeylem.4 . . . 4 𝐺 = recs((𝑧 ∈ V ↦ if(dom 𝑧 = dom 𝑧, if(dom 𝑧 = ∅, 𝐵, ran 𝑧), ((𝑧 dom 𝑧) ∪ if(((𝑧 dom 𝑧) ∪ {(𝐹 dom 𝑧)}) ∈ 𝐴, {(𝐹 dom 𝑧)}, ∅)))))
62, 3, 4, 5ttukeylem3 9935 . . 3 ((𝜑 ∧ ∅ ∈ On) → (𝐺‘∅) = if(∅ = ∅, if(∅ = ∅, 𝐵, (𝐺 “ ∅)), ((𝐺 ∅) ∪ if(((𝐺 ∅) ∪ {(𝐹 ∅)}) ∈ 𝐴, {(𝐹 ∅)}, ∅))))
71, 6mpan2 689 . 2 (𝜑 → (𝐺‘∅) = if(∅ = ∅, if(∅ = ∅, 𝐵, (𝐺 “ ∅)), ((𝐺 ∅) ∪ if(((𝐺 ∅) ∪ {(𝐹 ∅)}) ∈ 𝐴, {(𝐹 ∅)}, ∅))))
8 uni0 4868 . . . . 5 ∅ = ∅
98eqcomi 2832 . . . 4 ∅ =
109iftruei 4476 . . 3 if(∅ = ∅, if(∅ = ∅, 𝐵, (𝐺 “ ∅)), ((𝐺 ∅) ∪ if(((𝐺 ∅) ∪ {(𝐹 ∅)}) ∈ 𝐴, {(𝐹 ∅)}, ∅))) = if(∅ = ∅, 𝐵, (𝐺 “ ∅))
11 eqid 2823 . . . 4 ∅ = ∅
1211iftruei 4476 . . 3 if(∅ = ∅, 𝐵, (𝐺 “ ∅)) = 𝐵
1310, 12eqtri 2846 . 2 if(∅ = ∅, if(∅ = ∅, 𝐵, (𝐺 “ ∅)), ((𝐺 ∅) ∪ if(((𝐺 ∅) ∪ {(𝐹 ∅)}) ∈ 𝐴, {(𝐹 ∅)}, ∅))) = 𝐵
147, 13syl6eq 2874 1 (𝜑 → (𝐺‘∅) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wal 1535   = wceq 1537  wcel 2114  Vcvv 3496  cdif 3935  cun 3936  cin 3937  wss 3938  c0 4293  ifcif 4469  𝒫 cpw 4541  {csn 4569   cuni 4840  cmpt 5148  dom cdm 5557  ran crn 5558  cima 5560  Oncon0 6193  1-1-ontowf1o 6356  cfv 6357  recscrecs 8009  Fincfn 8511  cardccrd 9366
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-pred 6150  df-ord 6196  df-on 6197  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-wrecs 7949  df-recs 8010
This theorem is referenced by:  ttukeylem7  9939
  Copyright terms: Public domain W3C validator