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

Theorem cantnfval 9699
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 2763 . . . 4 {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅} = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅}
2 cantnfs.a . . . 4 (𝜑 → 𝐴 ∈ On)
3 cantnfs.b . . . 4 (𝜑 → 𝐵 ∈ On)
41, 2, 3cantnffval 9694 . . 3 (𝜑 → (𝐴 CNF 𝐵) = (𝑓 ∈ {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅} ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)))
54fveq1d 6913 . 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 9695 . . . . 5 (𝜑 → dom (𝐴 CNF 𝐵) = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
97, 8eqtrid 2810 . . . 4 (𝜑 → 𝑆 = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
106, 9eleqtrd 2866 . . 3 (𝜑 → 𝐹 ∈ {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
11 ovex 7479 . . . . . 6 (𝑓 supp ∅) ∈ V
12 eqid 2763 . . . . . . 7 OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝑓 supp ∅))
1312oiexg 9559 . . . . . 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 7453 . . . . . . . . . . . . . . . . 17 (𝑓 = 𝐹 → (𝑓 supp ∅) = (𝐹 supp ∅))
1716adantr 486 . . . . . . . . . . . . . . . 16 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝑓 supp ∅) = (𝐹 supp ∅))
18 oieq2 9537 . . . . . . . . . . . . . . . 16 ((𝑓 supp ∅) = (𝐹 supp ∅) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
1917, 18syl 18 . . . . . . . . . . . . . . 15 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → OrdIso( E , (𝑓 supp ∅)) = OrdIso( E , (𝐹 supp ∅)))
2015, 19eqtrd 2798 . . . . . . . . . . . . . 14 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ℎ = OrdIso( E , (𝐹 supp ∅)))
21 cantnfcl.g . . . . . . . . . . . . . 14 𝐺 = OrdIso( E , (𝐹 supp ∅))
2220, 21eqtr4di 2816 . . . . . . . . . . . . 13 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ℎ = 𝐺)
2322fveq1d 6913 . . . . . . . . . . . 12 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (ℎ‘𝑘) = (𝐺‘𝑘))
2423oveq2d 7462 . . . . . . . . . . 11 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝐴 ↑o (ℎ‘𝑘)) = (𝐴 ↑o (𝐺‘𝑘)))
25 simpl 488 . . . . . . . . . . . 12 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → 𝑓 = 𝐹)
2625, 23fveq12d 6918 . . . . . . . . . . 11 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝑓‘(ℎ‘𝑘)) = (𝐹‘(𝐺‘𝑘)))
2724, 26oveq12d 7464 . . . . . . . . . 10 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → ((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) = ((𝐴 ↑o (𝐺‘𝑘)) ·o (𝐹‘(𝐺‘𝑘))))
2827oveq1d 7461 . . . . . . . . 9 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧) = (((𝐴 ↑o (𝐺‘𝑘)) ·o (𝐹‘(𝐺‘𝑘))) +o 𝑧))
2928mpoeq3dv 7525 . . . . . . . 8 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (𝐺‘𝑘)) ·o (𝐹‘(𝐺‘𝑘))) +o 𝑧)))
30 eqid 2763 . . . . . . . 8 ∅ = ∅
31 seqomeq12 8495 . . . . . . . 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 2816 . . . . . 6 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅) = 𝐻)
3522dmeqd 5895 . . . . . 6 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → dom ℎ = dom 𝐺)
3634, 35fveq12d 6918 . . . . 5 ((𝑓 = 𝐹 ∧ ℎ = OrdIso( E , (𝑓 supp ∅))) → (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = (𝐻‘dom 𝐺))
3714, 36csbied 3887 . . . 4 (𝑓 = 𝐹 → ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = (𝐻‘dom 𝐺))
38 eqid 2763 . . . 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 6924 . . . 4 (𝐻‘dom 𝐺) ∈ V
4037, 38, 39fvmpt 7019 . . 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 2798 1 (𝜑 → ((𝐴 CNF 𝐵)‘𝐹) = (𝐻‘dom 𝐺))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {crab 3416  Vcvv 3454  ⦋csb 3851  ∅c0 4281   class class class wbr 5106   ↦ cmpt 5190   E cep 5555  dom cdm 5656  Oncon0 6383  ‘cfv 6561  (class class class)co 7446   ∈ cmpo 7448   supp csupp 8207  seqωcseqom 8488   +o coa 8504   ·o comu 8505   ↑o coe 8506   ↑m cmap 8878   finSupp cfsupp 9384  OrdIsocoi 9533   CNF ccnf 9692
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pr 5396  ax-un 7778
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-tr 5217  df-id 5551  df-eprel 5556  df-po 5564  df-so 5565  df-fr 5609  df-se 5610  df-we 5611  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-pred 6325  df-ord 6386  df-on 6387  df-lim 6388  df-suc 6389  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-isom 6570  df-riota 7403  df-ov 7449  df-oprab 7450  df-mpo 7451  df-2nd 8029  df-frecs 8330  df-wrecs 8361  df-recs 8410  df-rdg 8449  df-seqom 8489  df-oi 9534  df-cnf 9693
This theorem is used by:  cantnfval2  9700  cantnfle  9702  cantnflt2  9704  cantnff  9705  cantnf0  9706  cantnfp1lem3  9711  cantnflem1  9720  cantnf  9724  cnfcom2  9733
  Copyright terms: Public domain W3C validator