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

Theorem oeeu 8212
Description: The division algorithm for ordinal exponentiation. (Contributed by Mario Carneiro, 25-May-2015.)
Assertion
Ref Expression
oeeu ((𝐴 ∈ (On ∖ 2o) ∧ 𝐵 ∈ (On ∖ 1o)) → ∃!𝑤𝑥 ∈ On ∃𝑦 ∈ (𝐴 ∖ 1o)∃𝑧 ∈ (𝐴o 𝑥)(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵))
Distinct variable groups:   𝑥,𝑤,𝑦,𝑧,𝐴   𝑤,𝐵,𝑥,𝑦,𝑧

Proof of Theorem oeeu
Dummy variables 𝑎 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2798 . . . . . 6 {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)} = {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}
21oeeulem 8210 . . . . 5 ((𝐴 ∈ (On ∖ 2o) ∧ 𝐵 ∈ (On ∖ 1o)) → ( {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)} ∈ On ∧ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ⊆ 𝐵𝐵 ∈ (𝐴o suc {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})))
32simp1d 1139 . . . 4 ((𝐴 ∈ (On ∖ 2o) ∧ 𝐵 ∈ (On ∖ 1o)) → {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)} ∈ On)
43elexd 3461 . . 3 ((𝐴 ∈ (On ∖ 2o) ∧ 𝐵 ∈ (On ∖ 1o)) → {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)} ∈ V)
5 fvexd 6660 . . 3 ((𝐴 ∈ (On ∖ 2o) ∧ 𝐵 ∈ (On ∖ 1o)) → (1st ‘(℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵))) ∈ V)
6 fvexd 6660 . . 3 ((𝐴 ∈ (On ∖ 2o) ∧ 𝐵 ∈ (On ∖ 1o)) → (2nd ‘(℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵))) ∈ V)
7 eqid 2798 . . . 4 (℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵)) = (℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵))
8 eqid 2798 . . . 4 (1st ‘(℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵))) = (1st ‘(℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵)))
9 eqid 2798 . . . 4 (2nd ‘(℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵))) = (2nd ‘(℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵)))
101, 7, 8, 9oeeui 8211 . . 3 ((𝐴 ∈ (On ∖ 2o) ∧ 𝐵 ∈ (On ∖ 1o)) → (((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵) ↔ (𝑥 = {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)} ∧ 𝑦 = (1st ‘(℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵))) ∧ 𝑧 = (2nd ‘(℩𝑑𝑏 ∈ On ∃𝑐 ∈ (𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)})(𝑑 = ⟨𝑏, 𝑐⟩ ∧ (((𝐴o {𝑎 ∈ On ∣ 𝐵 ∈ (𝐴o 𝑎)}) ·o 𝑏) +o 𝑐) = 𝐵))))))
114, 5, 6, 10euotd 5368 . 2 ((𝐴 ∈ (On ∖ 2o) ∧ 𝐵 ∈ (On ∖ 1o)) → ∃!𝑤𝑥𝑦𝑧(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)))
12 df-3an 1086 . . . . . . . . . . 11 ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ↔ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ 𝑧 ∈ (𝐴o 𝑥)))
1312biancomi 466 . . . . . . . . . 10 ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ↔ (𝑧 ∈ (𝐴o 𝑥) ∧ (𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o))))
1413anbi1i 626 . . . . . . . . 9 (((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵) ↔ ((𝑧 ∈ (𝐴o 𝑥) ∧ (𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o))) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵))
1514anbi2i 625 . . . . . . . 8 ((𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑧 ∈ (𝐴o 𝑥) ∧ (𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o))) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)))
16 an12 644 . . . . . . . 8 ((𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑧 ∈ (𝐴o 𝑥) ∧ (𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o))) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ ((𝑧 ∈ (𝐴o 𝑥) ∧ (𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o))) ∧ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)))
17 anass 472 . . . . . . . 8 (((𝑧 ∈ (𝐴o 𝑥) ∧ (𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o))) ∧ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ (𝑧 ∈ (𝐴o 𝑥) ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵))))
1815, 16, 173bitri 300 . . . . . . 7 ((𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ (𝑧 ∈ (𝐴o 𝑥) ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵))))
1918exbii 1849 . . . . . 6 (∃𝑧(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ ∃𝑧(𝑧 ∈ (𝐴o 𝑥) ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵))))
20 df-rex 3112 . . . . . 6 (∃𝑧 ∈ (𝐴o 𝑥)((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ ∃𝑧(𝑧 ∈ (𝐴o 𝑥) ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵))))
21 r19.42v 3303 . . . . . 6 (∃𝑧 ∈ (𝐴o 𝑥)((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ ∃𝑧 ∈ (𝐴o 𝑥)(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)))
2219, 20, 213bitr2i 302 . . . . 5 (∃𝑧(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ ∃𝑧 ∈ (𝐴o 𝑥)(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)))
23222exbii 1850 . . . 4 (∃𝑥𝑦𝑧(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ ∃𝑥𝑦((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ ∃𝑧 ∈ (𝐴o 𝑥)(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)))
24 r2ex 3262 . . . 4 (∃𝑥 ∈ On ∃𝑦 ∈ (𝐴 ∖ 1o)∃𝑧 ∈ (𝐴o 𝑥)(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵) ↔ ∃𝑥𝑦((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o)) ∧ ∃𝑧 ∈ (𝐴o 𝑥)(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)))
2523, 24bitr4i 281 . . 3 (∃𝑥𝑦𝑧(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ ∃𝑥 ∈ On ∃𝑦 ∈ (𝐴 ∖ 1o)∃𝑧 ∈ (𝐴o 𝑥)(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵))
2625eubii 2645 . 2 (∃!𝑤𝑥𝑦𝑧(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ ((𝑥 ∈ On ∧ 𝑦 ∈ (𝐴 ∖ 1o) ∧ 𝑧 ∈ (𝐴o 𝑥)) ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵)) ↔ ∃!𝑤𝑥 ∈ On ∃𝑦 ∈ (𝐴 ∖ 1o)∃𝑧 ∈ (𝐴o 𝑥)(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵))
2711, 26sylib 221 1 ((𝐴 ∈ (On ∖ 2o) ∧ 𝐵 ∈ (On ∖ 1o)) → ∃!𝑤𝑥 ∈ On ∃𝑦 ∈ (𝐴 ∖ 1o)∃𝑧 ∈ (𝐴o 𝑥)(𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ (((𝐴o 𝑥) ·o 𝑦) +o 𝑧) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1084   = wceq 1538  wex 1781  wcel 2111  ∃!weu 2628  wrex 3107  {crab 3110  cdif 3878  wss 3881  cop 4531  cotp 4533   cuni 4800   cint 4838  Oncon0 6159  suc csuc 6161  cio 6281  cfv 6324  (class class class)co 7135  1st c1st 7669  2nd c2nd 7670  1oc1o 8078  2oc2o 8079   +o coa 8082   ·o comu 8083  o coe 8084
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-ot 4534  df-uni 4801  df-int 4839  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-2o 8086  df-oadd 8089  df-omul 8090  df-oexp 8091
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator