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

Theorem cantnfval 9356
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
cantnfs.s 𝑆 = dom (𝐴 CNF 𝐵)
cantnfs.a (𝜑𝐴 ∈ On)
cantnfs.b (𝜑𝐵 ∈ On)
cantnfcl.g 𝐺 = OrdIso( E , (𝐹 supp ∅))
cantnfcl.f (𝜑𝐹𝑆)
cantnfval.h 𝐻 = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))) +o 𝑧)), ∅)
Assertion
Ref Expression
cantnfval (𝜑 → ((𝐴 CNF 𝐵)‘𝐹) = (𝐻‘dom 𝐺))
Distinct variable groups:   𝑧,𝑘,𝐵   𝐴,𝑘,𝑧   𝑘,𝐹,𝑧   𝑆,𝑘,𝑧   𝑘,𝐺,𝑧   𝜑,𝑘,𝑧
Allowed substitution hints:   𝐻(𝑧,𝑘)

Proof of Theorem cantnfval
Dummy variables 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2738 . . . 4 {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} = {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅}
2 cantnfs.a . . . 4 (𝜑𝐴 ∈ On)
3 cantnfs.b . . . 4 (𝜑𝐵 ∈ On)
41, 2, 3cantnffval 9351 . . 3 (𝜑 → (𝐴 CNF 𝐵) = (𝑓 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} ↦ OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )))
54fveq1d 6758 . 2 (𝜑 → ((𝐴 CNF 𝐵)‘𝐹) = ((𝑓 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} ↦ OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ))‘𝐹))
6 cantnfcl.f . . . 4 (𝜑𝐹𝑆)
7 cantnfs.s . . . . 5 𝑆 = dom (𝐴 CNF 𝐵)
81, 2, 3cantnfdm 9352 . . . . 5 (𝜑 → dom (𝐴 CNF 𝐵) = {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅})
97, 8eqtrid 2790 . . . 4 (𝜑𝑆 = {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅})
106, 9eleqtrd 2841 . . 3 (𝜑𝐹 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅})
11 ovex 7288 . . . . . 6 (𝑓 supp ∅) ∈ V
12 eqid 2738 . . . . . . 7 OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝑓 supp ∅))
1312oiexg 9224 . . . . . 6 ((𝑓 supp ∅) ∈ V → OrdIso( E , (𝑓 supp ∅)) ∈ V)
1411, 13mp1i 13 . . . . 5 (𝑓 = 𝐹 → OrdIso( E , (𝑓 supp ∅)) ∈ V)
15 simpr 484 . . . . . . . . . . . . . . 15 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → = OrdIso( E , (𝑓 supp ∅)))
16 oveq1 7262 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝐹 → (𝑓 supp ∅) = (𝐹 supp ∅))
1716adantr 480 . . . . . . . . . . . . . . . 16 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝑓 supp ∅) = (𝐹 supp ∅))
18 oieq2 9202 . . . . . . . . . . . . . . . 16 ((𝑓 supp ∅) = (𝐹 supp ∅) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
1917, 18syl 17 . . . . . . . . . . . . . . 15 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
2015, 19eqtrd 2778 . . . . . . . . . . . . . 14 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → = OrdIso( E , (𝐹 supp ∅)))
21 cantnfcl.g . . . . . . . . . . . . . 14 𝐺 = OrdIso( E , (𝐹 supp ∅))
2220, 21eqtr4di 2797 . . . . . . . . . . . . 13 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → = 𝐺)
2322fveq1d 6758 . . . . . . . . . . . 12 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝑘) = (𝐺𝑘))
2423oveq2d 7271 . . . . . . . . . . 11 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝐴o (𝑘)) = (𝐴o (𝐺𝑘)))
25 simpl 482 . . . . . . . . . . . 12 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → 𝑓 = 𝐹)
2625, 23fveq12d 6763 . . . . . . . . . . 11 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝑓‘(𝑘)) = (𝐹‘(𝐺𝑘)))
2724, 26oveq12d 7273 . . . . . . . . . 10 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → ((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) = ((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))))
2827oveq1d 7270 . . . . . . . . 9 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧) = (((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))) +o 𝑧))
2928mpoeq3dv 7332 . . . . . . . 8 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))) +o 𝑧)))
30 eqid 2738 . . . . . . . 8 ∅ = ∅
31 seqomeq12 8255 . . . . . . . 8 (((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))) +o 𝑧)) ∧ ∅ = ∅) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅) = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))) +o 𝑧)), ∅))
3229, 30, 31sylancl 585 . . . . . . 7 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅) = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))) +o 𝑧)), ∅))
33 cantnfval.h . . . . . . 7 𝐻 = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))) +o 𝑧)), ∅)
3432, 33eqtr4di 2797 . . . . . 6 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅) = 𝐻)
3522dmeqd 5803 . . . . . 6 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → dom = dom 𝐺)
3634, 35fveq12d 6763 . . . . 5 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ) = (𝐻‘dom 𝐺))
3714, 36csbied 3866 . . . 4 (𝑓 = 𝐹OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ) = (𝐻‘dom 𝐺))
38 eqid 2738 . . . 4 (𝑓 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} ↦ OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )) = (𝑓 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} ↦ OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ))
39 fvex 6769 . . . 4 (𝐻‘dom 𝐺) ∈ V
4037, 38, 39fvmpt 6857 . . 3 (𝐹 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} → ((𝑓 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} ↦ OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ))‘𝐹) = (𝐻‘dom 𝐺))
4110, 40syl 17 . 2 (𝜑 → ((𝑓 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} ↦ OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ))‘𝐹) = (𝐻‘dom 𝐺))
425, 41eqtrd 2778 1 (𝜑 → ((𝐴 CNF 𝐵)‘𝐹) = (𝐻‘dom 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = 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  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  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-rmo 3071  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-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  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-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  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-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-seqom 8249  df-oi 9199  df-cnf 9350
This theorem is referenced by:  cantnfval2  9357  cantnfle  9359  cantnflt2  9361  cantnff  9362  cantnf0  9363  cantnfp1lem3  9368  cantnflem1  9377  cantnf  9381  cnfcom2  9390
  Copyright terms: Public domain W3C validator