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

Theorem cantnfval 9653
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 2761 . . . 4 {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅} = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅}
2 cantnfs.a . . . 4 (𝜑 → 𝐴 ∈ On)
3 cantnfs.b . . . 4 (𝜑 → 𝐵 ∈ On)
41, 2, 3cantnffval 9648 . . 3 (𝜑 → (𝐴 CNF 𝐵) = (𝑓 ∈ {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅} ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)))
54fveq1d 6879 . 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 9649 . . . . 5 (𝜑 → dom (𝐴 CNF 𝐵) = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
97, 8eqtrid 2808 . . . 4 (𝜑 → 𝑆 = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
106, 9eleqtrd 2863 . . 3 (𝜑 → 𝐹 ∈ {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
11 ovex 7445 . . . . . 6 (𝑓 supp ∅) ∈ V
12 eqid 2761 . . . . . . 7 OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝑓 supp ∅))
1312oiexg 9513 . . . . . 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 7419 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝐹 → (𝑓 supp ∅) = (𝐹 supp ∅))
1716adantr 486 . . . . . . . . . . . . . . . 16 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝑓 supp ∅) = (𝐹 supp ∅))
18 oieq2 9491 . . . . . . . . . . . . . . . 16 ((𝑓 supp ∅) = (𝐹 supp ∅) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
1917, 18syl 18 . . . . . . . . . . . . . . 15 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
2015, 19eqtrd 2796 . . . . . . . . . . . . . 14 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ℎ = OrdIso( E , (𝐹 supp ∅)))
21 cantnfcl.g . . . . . . . . . . . . . 14 𝐺 = OrdIso( E , (𝐹 supp ∅))
2220, 21eqtr4di 2814 . . . . . . . . . . . . 13 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ℎ = 𝐺)
2322fveq1d 6879 . . . . . . . . . . . 12 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (ℎ‘𝑘) = (𝐺‘𝑘))
2423oveq2d 7428 . . . . . . . . . . 11 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝐴 ↑o (ℎ‘𝑘)) = (𝐴 ↑o (𝐺‘𝑘)))
25 simpl 488 . . . . . . . . . . . 12 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → 𝑓 = 𝐹)
2625, 23fveq12d 6884 . . . . . . . . . . 11 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝑓‘(ℎ‘𝑘)) = (𝐹‘(𝐺‘𝑘)))
2724, 26oveq12d 7430 . . . . . . . . . 10 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) = ((𝐴 ↑o (𝐺‘𝑘)) ·o (𝐹‘(𝐺‘𝑘))))
2827oveq1d 7427 . . . . . . . . 9 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧) = (((𝐴 ↑o (𝐺‘𝑘)) ·o (𝐹‘(𝐺‘𝑘))) +o 𝑧))
2928mpoeq3dv 7491 . . . . . . . 8 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (𝐺‘𝑘)) ·o (𝐹‘(𝐺‘𝑘))) +o 𝑧)))
30 eqid 2761 . . . . . . . 8 ∅ = ∅
31 seqomeq12 8448 . . . . . . . 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 2814 . . . . . 6 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅) = 𝐻)
3522dmeqd 5887 . . . . . 6 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → dom ℎ = dom 𝐺)
3634, 35fveq12d 6884 . . . . 5 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = (𝐻‘dom 𝐺))
3714, 36csbied 3883 . . . 4 (𝑓 = 𝐹 → ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = (𝐻‘dom 𝐺))
38 eqid 2761 . . . 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 6890 . . . 4 (𝐻‘dom 𝐺) ∈ V
4037, 38, 39fvmpt 6985 . . 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 2796 1 (𝜑 → ((𝐴 CNF 𝐵)‘𝐹) = (𝐻‘dom 𝐺))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {crab 3413  Vcvv 3451  ⦋csb 3847  ∅c0 4279   class class class wbr 5103   ↦ cmpt 5186   E cep 5550  dom cdm 5651  Oncon0 6355  ‘cfv 6531  (class class class)co 7412   ∈ cmpo 7414   supp csupp 8161  seqωcseqom 8441   +o coa 8457   ·o comu 8458   ↑o coe 8459   ↑m cmap 8831   finSupp cfsupp 9337  OrdIsocoi 9487   CNF ccnf 9646
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-isom 6540  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-seqom 8442  df-oi 9488  df-cnf 9647
This theorem is used by:  cantnfval2  9654  cantnfle  9656  cantnflt2  9658  cantnff  9659  cantnf0  9660  cantnfp1lem3  9665  cantnflem1  9674  cantnf  9678  cnfcom2  9687
  Copyright terms: Public domain W3C validator