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

Theorem cantnffval 9648
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 7421 . . . . . 6 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑥 ↑m 𝑦) = (𝐴 ↑m 𝐵))
43rabeqdv 3428 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → {𝑔 ∈ (𝑥 ↑m 𝑦) ∣ 𝑔 finSupp ∅} = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅})
5 cantnffval.s . . . . 5 𝑆 = {𝑔 ∈ (𝐴 ↑m 𝐵) ∣ 𝑔 finSupp ∅}
64, 5eqtr4di 2814 . . . 4 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → {𝑔 ∈ (𝑥 ↑m 𝑦) ∣ 𝑔 finSupp ∅} = 𝑆)
7 simp1l 1216 . . . . . . . . . . 11 (((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → 𝑥 = 𝐴)
87oveq1d 7427 . . . . . . . . . 10 (((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → (𝑥 ↑o (ℎ‘𝑘)) = (𝐴 ↑o (ℎ‘𝑘)))
98oveq1d 7427 . . . . . . . . 9 (((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) = ((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))))
109oveq1d 7427 . . . . . . . 8 (((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∧ 𝑘 ∈ V ∧ 𝑧 ∈ V) → (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧) = (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧))
1110mpoeq3dva 7489 . . . . . . 7 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)) = (𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)))
12 eqid 2761 . . . . . . 7 ∅ = ∅
13 seqomeq12 8448 . . . . . . 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 6879 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = (seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ))
1615csbeq2dv 3854 . . . 4 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ) = ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ))
176, 16mpteq12dv 5192 . . 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 9647 . . 3 CNF = (𝑥 ∈ On, 𝑦 ∈ On ↦ (𝑓 ∈ {𝑔 ∈ (𝑥 ↑m 𝑦) ∣ 𝑔 finSupp ∅} ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝑥 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)))
19 ovex 7445 . . . . 5 (𝐴 ↑m 𝐵) ∈ V
205, 19rabex2 5302 . . . 4 𝑆 ∈ V
2120mptex 7221 . . 3 (𝑓 ∈ 𝑆 ↦ ⦋OrdIso( E , (𝑓 supp ∅)) / ℎ⦌(seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴 ↑o (ℎ‘𝑘)) ·o (𝑓‘(ℎ‘𝑘))) +o 𝑧)), ∅)‘dom ℎ)) ∈ V
2217, 18, 21ovmpoa 7567 . 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 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
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 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-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-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-id 5546  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-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-seqom 8442  df-cnf 9647
This theorem is used by:  cantnfdm  9649  cantnfval  9653  cantnff  9659
  Copyright terms: Public domain W3C validator