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

Theorem omeueq 35930
Description: The division algorithm for ordinal multiplication (omeu 8650) produces a unique quotient and remainder. (Contributed by BTernaryTau, 5-Oct-2026.)
Hypotheses
Ref Expression
omeueq.1 (𝜑 → 𝐴 ∈ On)
omeueq.2 (𝜑 → 𝐴 ≠ ∅)
omeueq.3 (𝜑 → 𝐵 ∈ On)
omeueq.4 (𝜑 → 𝐶 ∈ 𝐴)
omeueq.5 (𝜑 → 𝐷 ∈ On)
omeueq.6 (𝜑 → 𝐸 ∈ 𝐴)
omeueq.7 (𝜑 → ((𝐴 ·o 𝐵) +o 𝐶) = ((𝐴 ·o 𝐷) +o 𝐸))
Assertion
Ref Expression
omeueq (𝜑 → (𝐵 = 𝐷 ∧ 𝐶 = 𝐸))

Proof of Theorem omeueq
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 omeueq.1 . . . . 5 (𝜑 → 𝐴 ∈ On)
2 omeueq.3 . . . . . . 7 (𝜑 → 𝐵 ∈ On)
3 omcl 8601 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ·o 𝐵) ∈ On)
41, 2, 3syl2anc 596 . . . . . 6 (𝜑 → (𝐴 ·o 𝐵) ∈ On)
5 omeueq.4 . . . . . . 7 (𝜑 → 𝐶 ∈ 𝐴)
6 onelon 6426 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐶 ∈ 𝐴) → 𝐶 ∈ On)
71, 5, 6syl2anc 596 . . . . . 6 (𝜑 → 𝐶 ∈ On)
8 oacl 8600 . . . . . 6 (((𝐴 ·o 𝐵) ∈ On ∧ 𝐶 ∈ On) → ((𝐴 ·o 𝐵) +o 𝐶) ∈ On)
94, 7, 8syl2anc 596 . . . . 5 (𝜑 → ((𝐴 ·o 𝐵) +o 𝐶) ∈ On)
10 omeueq.2 . . . . 5 (𝜑 → 𝐴 ≠ ∅)
11 omeu 8650 . . . . 5 ((𝐴 ∈ On ∧ ((𝐴 ·o 𝐵) +o 𝐶) ∈ On ∧ 𝐴 ≠ ∅) → ∃!𝑧∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))
121, 9, 10, 11syl3anc 1401 . . . 4 (𝜑 → ∃!𝑧∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))
13 eumo 2617 . . . 4 (∃!𝑧∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) → ∃*𝑧∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))
1412, 13syl 18 . . 3 (𝜑 → ∃*𝑧∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))
15 opeq1 4853 . . . . . 6 (𝑥 = 𝐵 → ⟨𝑥, 𝑦⟩ = ⟨𝐵, 𝑦⟩)
1615eqeq2d 2785 . . . . 5 (𝑥 = 𝐵 → (⟨𝐵, 𝐶⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝐵, 𝐶⟩ = ⟨𝐵, 𝑦⟩))
17 oveq2 7478 . . . . . . 7 (𝑥 = 𝐵 → (𝐴 ·o 𝑥) = (𝐴 ·o 𝐵))
1817oveq1d 7485 . . . . . 6 (𝑥 = 𝐵 → ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝑦))
1918eqeq1d 2776 . . . . 5 (𝑥 = 𝐵 → (((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶) ↔ ((𝐴 ·o 𝐵) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))
2016, 19anbi12d 644 . . . 4 (𝑥 = 𝐵 → ((⟨𝐵, 𝐶⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ↔ (⟨𝐵, 𝐶⟩ = ⟨𝐵, 𝑦⟩ ∧ ((𝐴 ·o 𝐵) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶))))
21 opeq2 4854 . . . . . 6 (𝑦 = 𝐶 → ⟨𝐵, 𝑦⟩ = ⟨𝐵, 𝐶⟩)
2221eqeq2d 2785 . . . . 5 (𝑦 = 𝐶 → (⟨𝐵, 𝐶⟩ = ⟨𝐵, 𝑦⟩ ↔ ⟨𝐵, 𝐶⟩ = ⟨𝐵, 𝐶⟩))
23 oveq2 7478 . . . . . 6 (𝑦 = 𝐶 → ((𝐴 ·o 𝐵) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶))
2423eqeq1d 2776 . . . . 5 (𝑦 = 𝐶 → (((𝐴 ·o 𝐵) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶) ↔ ((𝐴 ·o 𝐵) +o 𝐶) = ((𝐴 ·o 𝐵) +o 𝐶)))
2522, 24anbi12d 644 . . . 4 (𝑦 = 𝐶 → ((⟨𝐵, 𝐶⟩ = ⟨𝐵, 𝑦⟩ ∧ ((𝐴 ·o 𝐵) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ↔ (⟨𝐵, 𝐶⟩ = ⟨𝐵, 𝐶⟩ ∧ ((𝐴 ·o 𝐵) +o 𝐶) = ((𝐴 ·o 𝐵) +o 𝐶))))
26 eqid 2774 . . . . . 6 ⟨𝐵, 𝐶⟩ = ⟨𝐵, 𝐶⟩
27 eqid 2774 . . . . . 6 ((𝐴 ·o 𝐵) +o 𝐶) = ((𝐴 ·o 𝐵) +o 𝐶)
2826, 27pm3.2i 476 . . . . 5 (⟨𝐵, 𝐶⟩ = ⟨𝐵, 𝐶⟩ ∧ ((𝐴 ·o 𝐵) +o 𝐶) = ((𝐴 ·o 𝐵) +o 𝐶))
2928a1i 11 . . . 4 (𝜑 → (⟨𝐵, 𝐶⟩ = ⟨𝐵, 𝐶⟩ ∧ ((𝐴 ·o 𝐵) +o 𝐶) = ((𝐴 ·o 𝐵) +o 𝐶)))
3020, 25, 2, 5, 292rspcedvdw 3600 . . 3 (𝜑 → ∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (⟨𝐵, 𝐶⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))
31 opeq1 4853 . . . . . 6 (𝑥 = 𝐷 → ⟨𝑥, 𝑦⟩ = ⟨𝐷, 𝑦⟩)
3231eqeq2d 2785 . . . . 5 (𝑥 = 𝐷 → (⟨𝐷, 𝐸⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝐷, 𝐸⟩ = ⟨𝐷, 𝑦⟩))
33 oveq2 7478 . . . . . . 7 (𝑥 = 𝐷 → (𝐴 ·o 𝑥) = (𝐴 ·o 𝐷))
3433oveq1d 7485 . . . . . 6 (𝑥 = 𝐷 → ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐷) +o 𝑦))
3534eqeq1d 2776 . . . . 5 (𝑥 = 𝐷 → (((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶) ↔ ((𝐴 ·o 𝐷) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))
3632, 35anbi12d 644 . . . 4 (𝑥 = 𝐷 → ((⟨𝐷, 𝐸⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ↔ (⟨𝐷, 𝐸⟩ = ⟨𝐷, 𝑦⟩ ∧ ((𝐴 ·o 𝐷) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶))))
37 opeq2 4854 . . . . . 6 (𝑦 = 𝐸 → ⟨𝐷, 𝑦⟩ = ⟨𝐷, 𝐸⟩)
3837eqeq2d 2785 . . . . 5 (𝑦 = 𝐸 → (⟨𝐷, 𝐸⟩ = ⟨𝐷, 𝑦⟩ ↔ ⟨𝐷, 𝐸⟩ = ⟨𝐷, 𝐸⟩))
39 oveq2 7478 . . . . . 6 (𝑦 = 𝐸 → ((𝐴 ·o 𝐷) +o 𝑦) = ((𝐴 ·o 𝐷) +o 𝐸))
4039eqeq1d 2776 . . . . 5 (𝑦 = 𝐸 → (((𝐴 ·o 𝐷) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶) ↔ ((𝐴 ·o 𝐷) +o 𝐸) = ((𝐴 ·o 𝐵) +o 𝐶)))
4138, 40anbi12d 644 . . . 4 (𝑦 = 𝐸 → ((⟨𝐷, 𝐸⟩ = ⟨𝐷, 𝑦⟩ ∧ ((𝐴 ·o 𝐷) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ↔ (⟨𝐷, 𝐸⟩ = ⟨𝐷, 𝐸⟩ ∧ ((𝐴 ·o 𝐷) +o 𝐸) = ((𝐴 ·o 𝐵) +o 𝐶))))
42 omeueq.5 . . . 4 (𝜑 → 𝐷 ∈ On)
43 omeueq.6 . . . 4 (𝜑 → 𝐸 ∈ 𝐴)
44 omeueq.7 . . . . . 6 (𝜑 → ((𝐴 ·o 𝐵) +o 𝐶) = ((𝐴 ·o 𝐷) +o 𝐸))
4544eqcomd 2780 . . . . 5 (𝜑 → ((𝐴 ·o 𝐷) +o 𝐸) = ((𝐴 ·o 𝐵) +o 𝐶))
46 eqid 2774 . . . . 5 ⟨𝐷, 𝐸⟩ = ⟨𝐷, 𝐸⟩
4745, 46jctil 529 . . . 4 (𝜑 → (⟨𝐷, 𝐸⟩ = ⟨𝐷, 𝐸⟩ ∧ ((𝐴 ·o 𝐷) +o 𝐸) = ((𝐴 ·o 𝐵) +o 𝐶)))
4836, 41, 42, 43, 472rspcedvdw 3600 . . 3 (𝜑 → ∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (⟨𝐷, 𝐸⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))
49 opex 5447 . . . . 5 ⟨𝐵, 𝐶⟩ ∈ V
50 opex 5447 . . . . 5 ⟨𝐷, 𝐸⟩ ∈ V
5149, 50pm3.2i 476 . . . 4 (⟨𝐵, 𝐶⟩ ∈ V ∧ ⟨𝐷, 𝐸⟩ ∈ V)
52 eqeq1 2778 . . . . . . 7 (𝑧 = ⟨𝐵, 𝐶⟩ → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ ⟨𝐵, 𝐶⟩ = ⟨𝑥, 𝑦⟩))
5352anbi1d 643 . . . . . 6 (𝑧 = ⟨𝐵, 𝐶⟩ → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ↔ (⟨𝐵, 𝐶⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶))))
54532rexbidv 3239 . . . . 5 (𝑧 = ⟨𝐵, 𝐶⟩ → (∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ↔ ∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (⟨𝐵, 𝐶⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶))))
55 eqeq1 2778 . . . . . . 7 (𝑧 = ⟨𝐷, 𝐸⟩ → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ ⟨𝐷, 𝐸⟩ = ⟨𝑥, 𝑦⟩))
5655anbi1d 643 . . . . . 6 (𝑧 = ⟨𝐷, 𝐸⟩ → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ↔ (⟨𝐷, 𝐸⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶))))
57562rexbidv 3239 . . . . 5 (𝑧 = ⟨𝐷, 𝐸⟩ → (∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ↔ ∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (⟨𝐷, 𝐸⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶))))
5854, 57moi 3686 . . . 4 (((⟨𝐵, 𝐶⟩ ∈ V ∧ ⟨𝐷, 𝐸⟩ ∈ V) ∧ ∃*𝑧∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ∧ (∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (⟨𝐵, 𝐶⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ∧ ∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (⟨𝐷, 𝐸⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))) → ⟨𝐵, 𝐶⟩ = ⟨𝐷, 𝐸⟩)
5951, 58mp3an1 1480 . . 3 ((∃*𝑧∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ∧ (∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (⟨𝐵, 𝐶⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)) ∧ ∃𝑥 ∈ On ∃𝑦 ∈ 𝐴 (⟨𝐷, 𝐸⟩ = ⟨𝑥, 𝑦⟩ ∧ ((𝐴 ·o 𝑥) +o 𝑦) = ((𝐴 ·o 𝐵) +o 𝐶)))) → ⟨𝐵, 𝐶⟩ = ⟨𝐷, 𝐸⟩)
6014, 30, 48, 59syl12anc 850 . 2 (𝜑 → ⟨𝐵, 𝐶⟩ = ⟨𝐷, 𝐸⟩)
61 opthg 5461 . . 3 ((𝐵 ∈ On ∧ 𝐶 ∈ 𝐴) → (⟨𝐵, 𝐶⟩ = ⟨𝐷, 𝐸⟩ ↔ (𝐵 = 𝐷 ∧ 𝐶 = 𝐸)))
622, 5, 61syl2anc 596 . 2 (𝜑 → (⟨𝐵, 𝐶⟩ = ⟨𝐷, 𝐸⟩ ↔ (𝐵 = 𝐷 ∧ 𝐶 = 𝐸)))
6360, 62mpbid 235 1 (𝜑 → (𝐵 = 𝐷 ∧ 𝐶 = 𝐸))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∃*wmo 2574  ∃!weu 2605   ≠ wne 2970  ∃wrex 3101  Vcvv 3461  ∅c0 4288  ⟨cop 4848  Oncon0 6401  (class class class)co 7470   +o coa 8530   ·o comu 8531
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-1o 8533  df-oadd 8537  df-omul 8538
This theorem is used by:  jf1  36150
  Copyright terms: Public domain W3C validator