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

Theorem cantnfval 9672
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 2760 . . . 4 {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅} = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅}
2 cantnfs.a . . . 4 (𝜑 → 𝐴 ∈ On)
3 cantnfs.b . . . 4 (𝜑 → 𝐵 ∈ On)
41, 2, 3cantnffval 9667 . . 3 (𝜑 → (𝐴 CNF 𝐵) = (𝑓 ∈ {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅} ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)))
54fveq1d 6887 . 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 9668 . . . . 5 (𝜑 → dom (𝐴 CNF 𝐵) = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
97, 8eqtrid 2807 . . . 4 (𝜑 → 𝑆 = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
106, 9eleqtrd 2862 . . 3 (𝜑 → 𝐹 ∈ {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
11 ovex 7453 . . . . . 6 (𝑓 supp ∅) ∈ V
12 eqid 2760 . . . . . . 7 OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝑓 supp ∅))
1312oiexg 9532 . . . . . 6 ((𝑓 supp ∅) ∈ V → OrdIso( E , (𝑓 supp ∅)) ∈ V)
1411, 13mp1i 14 . . . . 5 (𝑓 = 𝐹 → OrdIso( E , (𝑓 supp ∅)) ∈ V)
15 simpr 490 . . . . . . . . . . . . . . 15 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ℎ = OrdIso( E , (𝑓 supp ∅)))
16 oveq1 7427 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝐹 → (𝑓 supp ∅) = (𝐹 supp ∅))
1716adantr 486 . . . . . . . . . . . . . . . 16 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝑓 supp ∅) = (𝐹 supp ∅))
18 oieq2 9510 . . . . . . . . . . . . . . . 16 ((𝑓 supp ∅) = (𝐹 supp ∅) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
1917, 18syl 18 . . . . . . . . . . . . . . 15 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
2015, 19eqtrd 2795 . . . . . . . . . . . . . 14 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ℎ = OrdIso( E , (𝐹 supp ∅)))
21 cantnfcl.g . . . . . . . . . . . . . 14 𝐺 = OrdIso( E , (𝐹 supp ∅))
2220, 21eqtr4di 2813 . . . . . . . . . . . . 13 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ℎ = 𝐺)
2322fveq1d 6887 . . . . . . . . . . . 12 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (ℎ‘𝑘) = (𝐺‘𝑘))
2423oveq2d 7436 . . . . . . . . . . 11 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝐴 ↑o (ℎ‘𝑘)) = (𝐴 ↑o (𝐺‘𝑘)))
25 simpl 488 . . . . . . . . . . . 12 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → 𝑓 = 𝐹)
2625, 23fveq12d 6892 . . . . . . . . . . 11 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝑓‘(ℎ‘𝑘)) = (𝐹‘(𝐺‘𝑘)))
2724, 26oveq12d 7438 . . . . . . . . . 10 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) = ((𝐴 ↑o (𝐺‘𝑘)) ·o (𝐹‘(𝐺‘𝑘))))
2827oveq1d 7435 . . . . . . . . 9 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧) = (((𝐴 ↑o (𝐺‘𝑘)) ·o (𝐹‘(𝐺‘𝑘))) +o 𝑧))
2928mpoeq3dv 7499 . . . . . . . 8 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (𝐺‘𝑘)) ·o (𝐹‘(𝐺‘𝑘))) +o 𝑧)))
30 eqid 2760 . . . . . . . 8 ∅ = ∅
31 seqomeq12 8467 . . . . . . . 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 598 . . . . . . 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 2813 . . . . . 6 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅) = 𝐻)
3522dmeqd 5886 . . . . . 6 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → dom ℎ = dom 𝐺)
3634, 35fveq12d 6892 . . . . 5 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = (𝐻‘dom 𝐺))
3714, 36csbied 3882 . . . 4 (𝑓 = 𝐹 → ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = (𝐻‘dom 𝐺))
38 eqid 2760 . . . 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 6898 . . . 4 (𝐻‘dom 𝐺) ∈ V
4037, 38, 39fvmpt 6993 . . 3 (𝐹 ∈ {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅} → ((𝑓 ∈ {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅} ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ))‘𝐹) = (𝐻‘dom 𝐺))
4110, 40syl 18 . 2 (𝜑 → ((𝑓 ∈ {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅} ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ))‘𝐹) = (𝐻‘dom 𝐺))
425, 41eqtrd 2795 1 (𝜑 → ((𝐴 CNF 𝐵)‘𝐹) = (𝐻‘dom 𝐺))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {crab 3412  Vcvv 3450  ⦋csb 3846  ∅c0 4278   class class class wbr 5102   ↦ cmpt 5185   E cep 5549  dom cdm 5650  Oncon0 6362  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422   supp csupp 8179  seqωcseqom 8460   +o coa 8476   ·o comu 8477   ↑o coe 8478   ↑m cmap 8850   finSupp cfsupp 9356  OrdIsocoi 9506   CNF ccnf 9665
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-se 5604  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-isom 6547  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-2nd 8002  df-frecs 8302  df-wrecs 8333  df-recs 8382  df-rdg 8421  df-seqom 8461  df-oi 9507  df-cnf 9666
This theorem is used by:  cantnfval2  9673  cantnfle  9675  cantnflt2  9677  cantnff  9678  cantnf0  9679  cantnfp1lem3  9684  cantnflem1  9693  cantnf  9697  cnfcom2  9706
  Copyright terms: Public domain W3C validator