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

Theorem cantnffval 9694
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
cantnffval.s 𝑆 = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅}
cantnffval.a (𝜑 → 𝐴 ∈ On)
cantnffval.b (𝜑 → 𝐵 ∈ On)
Assertion
Ref Expression
cantnffval (𝜑 → (𝐴 CNF 𝐵) = (𝑓 ∈ 𝑆 ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)))
Distinct variable groups:   𝑓,𝑔,ℎ,𝑘,𝑧,𝐴   𝐵,𝑓,𝑔,ℎ,𝑘,𝑧   𝑆,𝑓
Allowed substitution hints:   𝜑(𝑧, 𝑓, 𝑔, ℎ, 𝑘)   𝑆(𝑧, 𝑔, ℎ, 𝑘)

Proof of Theorem cantnffval
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cantnffval.a . 2 (𝜑 → 𝐴 ∈ On)
2 cantnffval.b . 2 (𝜑 → 𝐵 ∈ On)
3 oveq12 7455 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑥 ↑m 𝑦) = (𝐴 ↑m 𝐵))
43rabeqdv 3431 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → {𝑔 ∈ (𝑥 ↑m 𝑦) ∣ 𝑔 finSupp ∅} = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
5 cantnffval.s . . . . 5 𝑆 = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅}
64, 5eqtr4di 2816 . . . 4 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → {𝑔 ∈ (𝑥 ↑m 𝑦) ∣ 𝑔 finSupp ∅} = 𝑆)
7 simp1l 1216 . . . . . . . . . . 11 (((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → 𝑥 = 𝐴)
87oveq1d 7461 . . . . . . . . . 10 (((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → (𝑥 ↑o (ℎ‘𝑘)) = (𝐴 ↑o (ℎ‘𝑘)))
98oveq1d 7461 . . . . . . . . 9 (((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) = ((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))))
109oveq1d 7461 . . . . . . . 8 (((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧) = (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧))
1110mpoeq3dva 7523 . . . . . . 7 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)))
12 eqid 2763 . . . . . . 7 ∅ = ∅
13 seqomeq12 8495 . . . . . . 7 (((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)) ∧ ∅ = ∅) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅) = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅))
1411, 12, 13sylancl 598 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅) = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅))
1514fveq1d 6913 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ))
1615csbeq2dv 3858 . . . 4 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ))
176, 16mpteq12dv 5196 . . 3 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑓 ∈ {𝑔 ∈ (𝑥 ↑m 𝑦) ∣ 𝑔 finSupp ∅} ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)) = (𝑓 ∈ 𝑆 ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)))
18 df-cnf 9693 . . 3 CNF = (𝑥 ∈ On, 𝑦 ∈ On ↦ (𝑓 ∈ {𝑔 ∈ (𝑥 ↑m 𝑦) ∣ 𝑔 finSupp ∅} ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)))
19 ovex 7479 . . . . 5 (𝐴 ↑m 𝐵) ∈ V
205, 19rabex2 5307 . . . 4 𝑆 ∈ V
2120mptex 7255 . . 3 (𝑓 ∈ 𝑆 ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)) ∈ V
2217, 18, 21ovmpoa 7602 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 CNF 𝐵) = (𝑓 ∈ 𝑆 ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)))
231, 2, 22syl2anc 596 1 (𝜑 → (𝐴 CNF 𝐵) = (𝑓 ∈ 𝑆 ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = 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
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  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-id 5551  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-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-ov 7449  df-oprab 7450  df-mpo 7451  df-frecs 8330  df-wrecs 8361  df-recs 8410  df-rdg 8449  df-seqom 8489  df-cnf 9693
This theorem is used by:  cantnfdm  9695  cantnfval  9699  cantnff  9705
  Copyright terms: Public domain W3C validator