Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  naddcnfass Structured version   Visualization version   GIF version

Theorem naddcnfass 41269
Description: Component-wise addition of Cantor normal forms is associative. (Contributed by RP, 3-Jan-2025.)
Assertion
Ref Expression
naddcnfass (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → ((𝐹f +o 𝐺) ∘f +o 𝐻) = (𝐹f +o (𝐺f +o 𝐻)))

Proof of Theorem naddcnfass
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 simpr 486 . . . . . . . 8 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → 𝑆 = dom (ω CNF 𝑋))
21eleq2d 2822 . . . . . . 7 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐹𝑆𝐹 ∈ dom (ω CNF 𝑋)))
3 eqid 2736 . . . . . . . 8 dom (ω CNF 𝑋) = dom (ω CNF 𝑋)
4 omelon 9456 . . . . . . . . 9 ω ∈ On
54a1i 11 . . . . . . . 8 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → ω ∈ On)
6 simpl 484 . . . . . . . 8 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → 𝑋 ∈ On)
73, 5, 6cantnfs 9476 . . . . . . 7 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐹 ∈ dom (ω CNF 𝑋) ↔ (𝐹:𝑋⟶ω ∧ 𝐹 finSupp ∅)))
82, 7bitrd 279 . . . . . 6 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐹𝑆 ↔ (𝐹:𝑋⟶ω ∧ 𝐹 finSupp ∅)))
9 simpl 484 . . . . . . 7 ((𝐹:𝑋⟶ω ∧ 𝐹 finSupp ∅) → 𝐹:𝑋⟶ω)
109ffnd 6631 . . . . . 6 ((𝐹:𝑋⟶ω ∧ 𝐹 finSupp ∅) → 𝐹 Fn 𝑋)
118, 10syl6bi 253 . . . . 5 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐹𝑆𝐹 Fn 𝑋))
12 simp1 1136 . . . . 5 ((𝐹𝑆𝐺𝑆𝐻𝑆) → 𝐹𝑆)
1311, 12impel 507 . . . 4 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → 𝐹 Fn 𝑋)
141eleq2d 2822 . . . . . . 7 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐺𝑆𝐺 ∈ dom (ω CNF 𝑋)))
153, 5, 6cantnfs 9476 . . . . . . 7 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐺 ∈ dom (ω CNF 𝑋) ↔ (𝐺:𝑋⟶ω ∧ 𝐺 finSupp ∅)))
1614, 15bitrd 279 . . . . . 6 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐺𝑆 ↔ (𝐺:𝑋⟶ω ∧ 𝐺 finSupp ∅)))
17 simpl 484 . . . . . . 7 ((𝐺:𝑋⟶ω ∧ 𝐺 finSupp ∅) → 𝐺:𝑋⟶ω)
1817ffnd 6631 . . . . . 6 ((𝐺:𝑋⟶ω ∧ 𝐺 finSupp ∅) → 𝐺 Fn 𝑋)
1916, 18syl6bi 253 . . . . 5 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐺𝑆𝐺 Fn 𝑋))
20 simp2 1137 . . . . 5 ((𝐹𝑆𝐺𝑆𝐻𝑆) → 𝐺𝑆)
2119, 20impel 507 . . . 4 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → 𝐺 Fn 𝑋)
226adantr 482 . . . 4 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → 𝑋 ∈ On)
23 inidm 4158 . . . 4 (𝑋𝑋) = 𝑋
2413, 21, 22, 22, 23offn 7578 . . 3 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → (𝐹f +o 𝐺) Fn 𝑋)
251eleq2d 2822 . . . . . 6 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐻𝑆𝐻 ∈ dom (ω CNF 𝑋)))
263, 5, 6cantnfs 9476 . . . . . 6 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐻 ∈ dom (ω CNF 𝑋) ↔ (𝐻:𝑋⟶ω ∧ 𝐻 finSupp ∅)))
2725, 26bitrd 279 . . . . 5 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐻𝑆 ↔ (𝐻:𝑋⟶ω ∧ 𝐻 finSupp ∅)))
28 simpl 484 . . . . . 6 ((𝐻:𝑋⟶ω ∧ 𝐻 finSupp ∅) → 𝐻:𝑋⟶ω)
2928ffnd 6631 . . . . 5 ((𝐻:𝑋⟶ω ∧ 𝐻 finSupp ∅) → 𝐻 Fn 𝑋)
3027, 29syl6bi 253 . . . 4 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐻𝑆𝐻 Fn 𝑋))
31 simp3 1138 . . . 4 ((𝐹𝑆𝐺𝑆𝐻𝑆) → 𝐻𝑆)
3230, 31impel 507 . . 3 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → 𝐻 Fn 𝑋)
3324, 32, 22, 22, 23offn 7578 . 2 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → ((𝐹f +o 𝐺) ∘f +o 𝐻) Fn 𝑋)
3421, 32, 22, 22, 23offn 7578 . . 3 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → (𝐺f +o 𝐻) Fn 𝑋)
3513, 34, 22, 22, 23offn 7578 . 2 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → (𝐹f +o (𝐺f +o 𝐻)) Fn 𝑋)
368, 9syl6bi 253 . . . . . . 7 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐹𝑆𝐹:𝑋⟶ω))
3736, 12impel 507 . . . . . 6 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → 𝐹:𝑋⟶ω)
3837ffvelcdmda 6993 . . . . 5 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (𝐹𝑥) ∈ ω)
3916, 17syl6bi 253 . . . . . . 7 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐺𝑆𝐺:𝑋⟶ω))
4039, 20impel 507 . . . . . 6 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → 𝐺:𝑋⟶ω)
4140ffvelcdmda 6993 . . . . 5 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (𝐺𝑥) ∈ ω)
4227, 28syl6bi 253 . . . . . . 7 ((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) → (𝐻𝑆𝐻:𝑋⟶ω))
4342, 31impel 507 . . . . . 6 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → 𝐻:𝑋⟶ω)
4443ffvelcdmda 6993 . . . . 5 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (𝐻𝑥) ∈ ω)
45 nnaass 8484 . . . . 5 (((𝐹𝑥) ∈ ω ∧ (𝐺𝑥) ∈ ω ∧ (𝐻𝑥) ∈ ω) → (((𝐹𝑥) +o (𝐺𝑥)) +o (𝐻𝑥)) = ((𝐹𝑥) +o ((𝐺𝑥) +o (𝐻𝑥))))
4638, 41, 44, 45syl3anc 1371 . . . 4 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (((𝐹𝑥) +o (𝐺𝑥)) +o (𝐻𝑥)) = ((𝐹𝑥) +o ((𝐺𝑥) +o (𝐻𝑥))))
4713adantr 482 . . . . . 6 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → 𝐹 Fn 𝑋)
4821adantr 482 . . . . . 6 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → 𝐺 Fn 𝑋)
4922anim1i 616 . . . . . 6 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (𝑋 ∈ On ∧ 𝑥𝑋))
50 fnfvof 7582 . . . . . 6 (((𝐹 Fn 𝑋𝐺 Fn 𝑋) ∧ (𝑋 ∈ On ∧ 𝑥𝑋)) → ((𝐹f +o 𝐺)‘𝑥) = ((𝐹𝑥) +o (𝐺𝑥)))
5147, 48, 49, 50syl21anc 836 . . . . 5 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → ((𝐹f +o 𝐺)‘𝑥) = ((𝐹𝑥) +o (𝐺𝑥)))
5251oveq1d 7322 . . . 4 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (((𝐹f +o 𝐺)‘𝑥) +o (𝐻𝑥)) = (((𝐹𝑥) +o (𝐺𝑥)) +o (𝐻𝑥)))
5332adantr 482 . . . . . 6 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → 𝐻 Fn 𝑋)
54 fnfvof 7582 . . . . . 6 (((𝐺 Fn 𝑋𝐻 Fn 𝑋) ∧ (𝑋 ∈ On ∧ 𝑥𝑋)) → ((𝐺f +o 𝐻)‘𝑥) = ((𝐺𝑥) +o (𝐻𝑥)))
5548, 53, 49, 54syl21anc 836 . . . . 5 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → ((𝐺f +o 𝐻)‘𝑥) = ((𝐺𝑥) +o (𝐻𝑥)))
5655oveq2d 7323 . . . 4 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → ((𝐹𝑥) +o ((𝐺f +o 𝐻)‘𝑥)) = ((𝐹𝑥) +o ((𝐺𝑥) +o (𝐻𝑥))))
5746, 52, 563eqtr4d 2786 . . 3 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (((𝐹f +o 𝐺)‘𝑥) +o (𝐻𝑥)) = ((𝐹𝑥) +o ((𝐺f +o 𝐻)‘𝑥)))
5824adantr 482 . . . 4 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (𝐹f +o 𝐺) Fn 𝑋)
59 fnfvof 7582 . . . 4 ((((𝐹f +o 𝐺) Fn 𝑋𝐻 Fn 𝑋) ∧ (𝑋 ∈ On ∧ 𝑥𝑋)) → (((𝐹f +o 𝐺) ∘f +o 𝐻)‘𝑥) = (((𝐹f +o 𝐺)‘𝑥) +o (𝐻𝑥)))
6058, 53, 49, 59syl21anc 836 . . 3 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (((𝐹f +o 𝐺) ∘f +o 𝐻)‘𝑥) = (((𝐹f +o 𝐺)‘𝑥) +o (𝐻𝑥)))
6134adantr 482 . . . 4 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (𝐺f +o 𝐻) Fn 𝑋)
62 fnfvof 7582 . . . 4 (((𝐹 Fn 𝑋 ∧ (𝐺f +o 𝐻) Fn 𝑋) ∧ (𝑋 ∈ On ∧ 𝑥𝑋)) → ((𝐹f +o (𝐺f +o 𝐻))‘𝑥) = ((𝐹𝑥) +o ((𝐺f +o 𝐻)‘𝑥)))
6347, 61, 49, 62syl21anc 836 . . 3 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → ((𝐹f +o (𝐺f +o 𝐻))‘𝑥) = ((𝐹𝑥) +o ((𝐺f +o 𝐻)‘𝑥)))
6457, 60, 633eqtr4d 2786 . 2 ((((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) ∧ 𝑥𝑋) → (((𝐹f +o 𝐺) ∘f +o 𝐻)‘𝑥) = ((𝐹f +o (𝐺f +o 𝐻))‘𝑥))
6533, 35, 64eqfnfvd 6944 1 (((𝑋 ∈ On ∧ 𝑆 = dom (ω CNF 𝑋)) ∧ (𝐹𝑆𝐺𝑆𝐻𝑆)) → ((𝐹f +o 𝐺) ∘f +o 𝐻) = (𝐹f +o (𝐺f +o 𝐻)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397  w3a 1087   = wceq 1539  wcel 2104  c0 4262   class class class wbr 5081  dom cdm 5600  Oncon0 6281   Fn wfn 6453  wf 6454  cfv 6458  (class class class)co 7307  f cof 7563  ωcom 7744   +o coa 8325   finSupp cfsupp 9180   CNF ccnf 9471
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pow 5297  ax-pr 5361  ax-un 7620  ax-inf2 9451
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3or 1088  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2886  df-ne 2941  df-ral 3062  df-rex 3071  df-reu 3340  df-rab 3341  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-tr 5199  df-id 5500  df-eprel 5506  df-po 5514  df-so 5515  df-fr 5555  df-we 5557  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-pred 6217  df-ord 6284  df-on 6285  df-lim 6286  df-suc 6287  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-f1 6463  df-fo 6464  df-f1o 6465  df-fv 6466  df-ov 7310  df-oprab 7311  df-mpo 7312  df-of 7565  df-om 7745  df-2nd 7864  df-frecs 8128  df-wrecs 8159  df-recs 8233  df-rdg 8272  df-seqom 8310  df-oadd 8332  df-map 8648  df-cnf 9472
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator