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

Theorem cantnfval 9217
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 2739 . . . 4 {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} = {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅}
2 cantnfs.a . . . 4 (𝜑𝐴 ∈ On)
3 cantnfs.b . . . 4 (𝜑𝐵 ∈ On)
41, 2, 3cantnffval 9212 . . 3 (𝜑 → (𝐴 CNF 𝐵) = (𝑓 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅} ↦ OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom )))
54fveq1d 6689 . 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 9213 . . . . 5 (𝜑 → dom (𝐴 CNF 𝐵) = {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅})
97, 8syl5eq 2786 . . . 4 (𝜑𝑆 = {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅})
106, 9eleqtrd 2836 . . 3 (𝜑𝐹 ∈ {𝑔 ∈ (𝐴m 𝐵) ∣ 𝑔 finSupp ∅})
11 ovex 7216 . . . . . 6 (𝑓 supp ∅) ∈ V
12 eqid 2739 . . . . . . 7 OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝑓 supp ∅))
1312oiexg 9085 . . . . . 6 ((𝑓 supp ∅) ∈ V → OrdIso( E , (𝑓 supp ∅)) ∈ V)
1411, 13mp1i 13 . . . . 5 (𝑓 = 𝐹 → OrdIso( E , (𝑓 supp ∅)) ∈ V)
15 simpr 488 . . . . . . . . . . . . . . 15 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → = OrdIso( E , (𝑓 supp ∅)))
16 oveq1 7190 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝐹 → (𝑓 supp ∅) = (𝐹 supp ∅))
1716adantr 484 . . . . . . . . . . . . . . . 16 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝑓 supp ∅) = (𝐹 supp ∅))
18 oieq2 9063 . . . . . . . . . . . . . . . 16 ((𝑓 supp ∅) = (𝐹 supp ∅) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
1917, 18syl 17 . . . . . . . . . . . . . . 15 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
2015, 19eqtrd 2774 . . . . . . . . . . . . . 14 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → = OrdIso( E , (𝐹 supp ∅)))
21 cantnfcl.g . . . . . . . . . . . . . 14 𝐺 = OrdIso( E , (𝐹 supp ∅))
2220, 21eqtr4di 2792 . . . . . . . . . . . . 13 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → = 𝐺)
2322fveq1d 6689 . . . . . . . . . . . 12 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝑘) = (𝐺𝑘))
2423oveq2d 7199 . . . . . . . . . . 11 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝐴o (𝑘)) = (𝐴o (𝐺𝑘)))
25 simpl 486 . . . . . . . . . . . 12 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → 𝑓 = 𝐹)
2625, 23fveq12d 6694 . . . . . . . . . . 11 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝑓‘(𝑘)) = (𝐹‘(𝐺𝑘)))
2724, 26oveq12d 7201 . . . . . . . . . 10 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → ((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) = ((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))))
2827oveq1d 7198 . . . . . . . . 9 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧) = (((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))) +o 𝑧))
2928mpoeq3dv 7260 . . . . . . . 8 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝐺𝑘)) ·o (𝐹‘(𝐺𝑘))) +o 𝑧)))
30 eqid 2739 . . . . . . . 8 ∅ = ∅
31 seqomeq12 8132 . . . . . . . 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 589 . . . . . . 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 2792 . . . . . 6 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅) = 𝐻)
3522dmeqd 5758 . . . . . 6 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → dom = dom 𝐺)
3634, 35fveq12d 6694 . . . . 5 ((𝑓 = 𝐹 = OrdIso( E , (𝑓 supp ∅))) → (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ) = (𝐻‘dom 𝐺))
3714, 36csbied 3836 . . . 4 (𝑓 = 𝐹OrdIso( E , (𝑓 supp ∅)) / (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (𝑘)) ·o (𝑓‘(𝑘))) +o 𝑧)), ∅)‘dom ) = (𝐻‘dom 𝐺))
38 eqid 2739 . . . 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 6700 . . . 4 (𝐻‘dom 𝐺) ∈ V
4037, 38, 39fvmpt 6788 . . 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 2774 1 (𝜑 → ((𝐴 CNF 𝐵)‘𝐹) = (𝐻‘dom 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1542  wcel 2114  {crab 3058  Vcvv 3400  csb 3800  c0 4221   class class class wbr 5040  cmpt 5120   E cep 5443  dom cdm 5535  Oncon0 6183  cfv 6350  (class class class)co 7183  cmpo 7185   supp csupp 7869  seqωcseqom 8125   +o coa 8141   ·o comu 8142  o coe 8143  m cmap 8450   finSupp cfsupp 8919  OrdIsocoi 9059   CNF ccnf 9210
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2711  ax-rep 5164  ax-sep 5177  ax-nul 5184  ax-pr 5306  ax-un 7492
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2541  df-eu 2571  df-clab 2718  df-cleq 2731  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rex 3060  df-reu 3061  df-rmo 3062  df-rab 3063  df-v 3402  df-sbc 3686  df-csb 3801  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-pss 3872  df-nul 4222  df-if 4425  df-pw 4500  df-sn 4527  df-pr 4529  df-tp 4531  df-op 4533  df-uni 4807  df-iun 4893  df-br 5041  df-opab 5103  df-mpt 5121  df-tr 5147  df-id 5439  df-eprel 5444  df-po 5452  df-so 5453  df-fr 5493  df-se 5494  df-we 5495  df-xp 5541  df-rel 5542  df-cnv 5543  df-co 5544  df-dm 5545  df-rn 5546  df-res 5547  df-ima 5548  df-pred 6139  df-ord 6186  df-on 6187  df-lim 6188  df-suc 6189  df-iota 6308  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-isom 6359  df-riota 7140  df-ov 7186  df-oprab 7187  df-mpo 7188  df-wrecs 7989  df-recs 8050  df-rdg 8088  df-seqom 8126  df-oi 9060  df-cnf 9211
This theorem is referenced by:  cantnfval2  9218  cantnfle  9220  cantnflt2  9222  cantnff  9223  cantnf0  9224  cantnfp1lem3  9229  cantnflem1  9238  cantnf  9242  cnfcom2  9251
  Copyright terms: Public domain W3C validator