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

Theorem cantnffval 9351
Description: The value of the Cantor normal form function. (Contributed by Mario Carneiro, 25-May-2015.) (Revised by AV, 28-Jun-2019.)
Hypotheses
Ref Expression
cantnffval.s 𝑆 = {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅}
cantnffval.a (𝜑𝐴 ∈ On)
cantnffval.b (𝜑𝐵 ∈ On)
Assertion
Ref Expression
cantnffval (𝜑 → (𝐴 CNF 𝐵) = (𝑓𝑆OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )))
Distinct variable groups:   𝑓,𝑔,,𝑘,𝑧,𝐴   𝐵,𝑓,𝑔,,𝑘,𝑧   𝑆,𝑓
Allowed substitution hints:   𝜑(𝑧,𝑓,𝑔,,𝑘)   𝑆(𝑧,𝑔,,𝑘)

Proof of Theorem cantnffval
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cantnffval.a . 2 (𝜑𝐴 ∈ On)
2 cantnffval.b . 2 (𝜑𝐵 ∈ On)
3 oveq12 7264 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥m 𝑦) = (𝐴m 𝐵))
43rabeqdv 3409 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → {𝑔 ∈ (𝑥m 𝑦) ∣ 𝑔 finSupp ∅} = {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅})
5 cantnffval.s . . . . 5 𝑆 = {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅}
64, 5eqtr4di 2797 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → {𝑔 ∈ (𝑥m 𝑦) ∣ 𝑔 finSupp ∅} = 𝑆)
7 simp1l 1195 . . . . . . . . . . 11 (((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → 𝑥 = 𝐴)
87oveq1d 7270 . . . . . . . . . 10 (((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → (𝑥o (𝑘)) = (𝐴o (𝑘)))
98oveq1d 7270 . . . . . . . . 9 (((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → ((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) = ((𝐴o (𝑘)) ·o (𝑓‘(𝑘))))
109oveq1d 7270 . . . . . . . 8 (((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → (((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧) = (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧))
1110mpoeq3dva 7330 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)))
12 eqid 2738 . . . . . . 7 ∅ = ∅
13 seqomeq12 8255 . . . . . . 7 (((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)) ∧ ∅ = ∅) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅) = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅))
1411, 12, 13sylancl 585 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅) = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅))
1514fveq1d 6758 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ) = (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ))
1615csbeq2dv 3835 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ) = OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ))
176, 16mpteq12dv 5161 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑓 ∈ {𝑔 ∈ (𝑥m 𝑦) ∣ 𝑔 finSupp ∅} ↦ OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )) = (𝑓𝑆OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )))
18 df-cnf 9350 . . 3 CNF = (𝑥 ∈ On, 𝑦 ∈ On ↦ (𝑓 ∈ {𝑔 ∈ (𝑥m 𝑦) ∣ 𝑔 finSupp ∅} ↦ OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )))
19 ovex 7288 . . . . 5 (𝐴m 𝐵) ∈ V
205, 19rabex2 5253 . . . 4 𝑆 ∈ V
2120mptex 7081 . . 3 (𝑓𝑆OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )) ∈ V
2217, 18, 21ovmpoa 7406 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 CNF 𝐵) = (𝑓𝑆OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )))
231, 2, 22syl2anc 583 1 (𝜑 → (𝐴 CNF 𝐵) = (𝑓𝑆OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  {crab 3067  Vcvv 3422  csb 3828  c0 4253   class class class wbr 5070  cmpt 5153   E cep 5485  dom cdm 5580  Oncon0 6251  cfv 6418  (class class class)co 7255  cmpo 7257   supp csupp 7948  seqωcseqom 8248   +o coa 8264   ·o comu 8265  o coe 8266  m cmap 8573   finSupp cfsupp 9058  OrdIsocoi 9198   CNF ccnf 9349
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-seqom 8249  df-cnf 9350
This theorem is referenced by:  cantnfdm  9352  cantnfval  9356  cantnff  9362
  Copyright terms: Public domain W3C validator