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

Theorem nnawordex 7762
Description: Equivalence for weak ordering of natural numbers. (Contributed by NM, 8-Nov-2002.) (Revised by Mario Carneiro, 15-Nov-2014.)
Assertion
Ref Expression
nnawordex ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 ↔ ∃𝑥 ∈ ω (𝐴 +𝑜 𝑥) = 𝐵))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem nnawordex
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 simplr 807 . . . . . . . 8 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → 𝐵 ∈ ω)
2 nnon 7113 . . . . . . . 8 (𝐵 ∈ ω → 𝐵 ∈ On)
31, 2syl 17 . . . . . . 7 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → 𝐵 ∈ On)
4 simpll 805 . . . . . . . 8 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → 𝐴 ∈ ω)
5 nnaword2 7755 . . . . . . . 8 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → 𝐵 ⊆ (𝐴 +𝑜 𝐵))
61, 4, 5syl2anc 694 . . . . . . 7 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → 𝐵 ⊆ (𝐴 +𝑜 𝐵))
7 oveq2 6698 . . . . . . . . 9 (𝑦 = 𝐵 → (𝐴 +𝑜 𝑦) = (𝐴 +𝑜 𝐵))
87sseq2d 3666 . . . . . . . 8 (𝑦 = 𝐵 → (𝐵 ⊆ (𝐴 +𝑜 𝑦) ↔ 𝐵 ⊆ (𝐴 +𝑜 𝐵)))
98elrab 3396 . . . . . . 7 (𝐵 ∈ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ↔ (𝐵 ∈ On ∧ 𝐵 ⊆ (𝐴 +𝑜 𝐵)))
103, 6, 9sylanbrc 699 . . . . . 6 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → 𝐵 ∈ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})
11 intss1 4524 . . . . . 6 (𝐵 ∈ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ⊆ 𝐵)
1210, 11syl 17 . . . . 5 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ⊆ 𝐵)
13 ssrab2 3720 . . . . . . . 8 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ⊆ On
14 ne0i 3954 . . . . . . . . 9 (𝐵 ∈ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ≠ ∅)
1510, 14syl 17 . . . . . . . 8 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ≠ ∅)
16 oninton 7042 . . . . . . . 8 (({𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ⊆ On ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ≠ ∅) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ On)
1713, 15, 16sylancr 696 . . . . . . 7 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ On)
18 eloni 5771 . . . . . . 7 ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ On → Ord {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})
1917, 18syl 17 . . . . . 6 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → Ord {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})
20 ordom 7116 . . . . . 6 Ord ω
21 ordtr2 5806 . . . . . 6 ((Ord {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∧ Ord ω) → (( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ⊆ 𝐵𝐵 ∈ ω) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ ω))
2219, 20, 21sylancl 695 . . . . 5 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → (( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ⊆ 𝐵𝐵 ∈ ω) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ ω))
2312, 1, 22mp2and 715 . . . 4 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ ω)
24 nna0 7729 . . . . . . . . 9 (𝐴 ∈ ω → (𝐴 +𝑜 ∅) = 𝐴)
2524ad2antrr 762 . . . . . . . 8 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → (𝐴 +𝑜 ∅) = 𝐴)
26 simpr 476 . . . . . . . 8 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → 𝐴𝐵)
2725, 26eqsstrd 3672 . . . . . . 7 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → (𝐴 +𝑜 ∅) ⊆ 𝐵)
28 oveq2 6698 . . . . . . . 8 ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = ∅ → (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) = (𝐴 +𝑜 ∅))
2928sseq1d 3665 . . . . . . 7 ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = ∅ → ((𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) ⊆ 𝐵 ↔ (𝐴 +𝑜 ∅) ⊆ 𝐵))
3027, 29syl5ibrcom 237 . . . . . 6 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = ∅ → (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) ⊆ 𝐵))
31 simprr 811 . . . . . . . . . 10 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)
3231oveq2d 6706 . . . . . . . . 9 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) = (𝐴 +𝑜 suc 𝑥))
334adantr 480 . . . . . . . . . 10 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → 𝐴 ∈ ω)
34 simprl 809 . . . . . . . . . 10 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → 𝑥 ∈ ω)
35 nnasuc 7731 . . . . . . . . . 10 ((𝐴 ∈ ω ∧ 𝑥 ∈ ω) → (𝐴 +𝑜 suc 𝑥) = suc (𝐴 +𝑜 𝑥))
3633, 34, 35syl2anc 694 . . . . . . . . 9 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → (𝐴 +𝑜 suc 𝑥) = suc (𝐴 +𝑜 𝑥))
3732, 36eqtrd 2685 . . . . . . . 8 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) = suc (𝐴 +𝑜 𝑥))
38 nnord 7115 . . . . . . . . . . 11 (𝐵 ∈ ω → Ord 𝐵)
391, 38syl 17 . . . . . . . . . 10 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → Ord 𝐵)
4039adantr 480 . . . . . . . . 9 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → Ord 𝐵)
41 nnon 7113 . . . . . . . . . . . . 13 (𝑥 ∈ ω → 𝑥 ∈ On)
4241adantr 480 . . . . . . . . . . . 12 ((𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥) → 𝑥 ∈ On)
43 vex 3234 . . . . . . . . . . . . . 14 𝑥 ∈ V
4443sucid 5842 . . . . . . . . . . . . 13 𝑥 ∈ suc 𝑥
45 simpr 476 . . . . . . . . . . . . 13 ((𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)
4644, 45syl5eleqr 2737 . . . . . . . . . . . 12 ((𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥) → 𝑥 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})
47 oveq2 6698 . . . . . . . . . . . . . 14 (𝑦 = 𝑥 → (𝐴 +𝑜 𝑦) = (𝐴 +𝑜 𝑥))
4847sseq2d 3666 . . . . . . . . . . . . 13 (𝑦 = 𝑥 → (𝐵 ⊆ (𝐴 +𝑜 𝑦) ↔ 𝐵 ⊆ (𝐴 +𝑜 𝑥)))
4948onnminsb 7046 . . . . . . . . . . . 12 (𝑥 ∈ On → (𝑥 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} → ¬ 𝐵 ⊆ (𝐴 +𝑜 𝑥)))
5042, 46, 49sylc 65 . . . . . . . . . . 11 ((𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥) → ¬ 𝐵 ⊆ (𝐴 +𝑜 𝑥))
5150adantl 481 . . . . . . . . . 10 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → ¬ 𝐵 ⊆ (𝐴 +𝑜 𝑥))
52 nnacl 7736 . . . . . . . . . . . . . 14 ((𝐴 ∈ ω ∧ 𝑥 ∈ ω) → (𝐴 +𝑜 𝑥) ∈ ω)
5333, 34, 52syl2anc 694 . . . . . . . . . . . . 13 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → (𝐴 +𝑜 𝑥) ∈ ω)
54 nnord 7115 . . . . . . . . . . . . 13 ((𝐴 +𝑜 𝑥) ∈ ω → Ord (𝐴 +𝑜 𝑥))
5553, 54syl 17 . . . . . . . . . . . 12 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → Ord (𝐴 +𝑜 𝑥))
56 ordtri1 5794 . . . . . . . . . . . 12 ((Ord 𝐵 ∧ Ord (𝐴 +𝑜 𝑥)) → (𝐵 ⊆ (𝐴 +𝑜 𝑥) ↔ ¬ (𝐴 +𝑜 𝑥) ∈ 𝐵))
5740, 55, 56syl2anc 694 . . . . . . . . . . 11 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → (𝐵 ⊆ (𝐴 +𝑜 𝑥) ↔ ¬ (𝐴 +𝑜 𝑥) ∈ 𝐵))
5857con2bid 343 . . . . . . . . . 10 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → ((𝐴 +𝑜 𝑥) ∈ 𝐵 ↔ ¬ 𝐵 ⊆ (𝐴 +𝑜 𝑥)))
5951, 58mpbird 247 . . . . . . . . 9 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → (𝐴 +𝑜 𝑥) ∈ 𝐵)
60 ordsucss 7060 . . . . . . . . 9 (Ord 𝐵 → ((𝐴 +𝑜 𝑥) ∈ 𝐵 → suc (𝐴 +𝑜 𝑥) ⊆ 𝐵))
6140, 59, 60sylc 65 . . . . . . . 8 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → suc (𝐴 +𝑜 𝑥) ⊆ 𝐵)
6237, 61eqsstrd 3672 . . . . . . 7 ((((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) ∧ (𝑥 ∈ ω ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥)) → (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) ⊆ 𝐵)
6362rexlimdvaa 3061 . . . . . 6 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → (∃𝑥 ∈ ω {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥 → (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) ⊆ 𝐵))
64 nn0suc 7132 . . . . . . 7 ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ ω → ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = ∅ ∨ ∃𝑥 ∈ ω {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥))
6523, 64syl 17 . . . . . 6 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = ∅ ∨ ∃𝑥 ∈ ω {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} = suc 𝑥))
6630, 63, 65mpjaod 395 . . . . 5 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) ⊆ 𝐵)
67 onint 7037 . . . . . . 7 (({𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ⊆ On ∧ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ≠ ∅) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})
6813, 15, 67sylancr 696 . . . . . 6 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})
69 nfrab1 3152 . . . . . . . . 9 𝑦{𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}
7069nfint 4518 . . . . . . . 8 𝑦 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}
71 nfcv 2793 . . . . . . . 8 𝑦On
72 nfcv 2793 . . . . . . . . 9 𝑦𝐵
73 nfcv 2793 . . . . . . . . . 10 𝑦𝐴
74 nfcv 2793 . . . . . . . . . 10 𝑦 +𝑜
7573, 74, 70nfov 6716 . . . . . . . . 9 𝑦(𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})
7672, 75nfss 3629 . . . . . . . 8 𝑦 𝐵 ⊆ (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})
77 oveq2 6698 . . . . . . . . 9 (𝑦 = {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} → (𝐴 +𝑜 𝑦) = (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}))
7877sseq2d 3666 . . . . . . . 8 (𝑦 = {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} → (𝐵 ⊆ (𝐴 +𝑜 𝑦) ↔ 𝐵 ⊆ (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})))
7970, 71, 76, 78elrabf 3392 . . . . . . 7 ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ↔ ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ On ∧ 𝐵 ⊆ (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)})))
8079simprbi 479 . . . . . 6 ( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} → 𝐵 ⊆ (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}))
8168, 80syl 17 . . . . 5 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → 𝐵 ⊆ (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}))
8266, 81eqssd 3653 . . . 4 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) = 𝐵)
83 oveq2 6698 . . . . . 6 (𝑥 = {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} → (𝐴 +𝑜 𝑥) = (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}))
8483eqeq1d 2653 . . . . 5 (𝑥 = {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} → ((𝐴 +𝑜 𝑥) = 𝐵 ↔ (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) = 𝐵))
8584rspcev 3340 . . . 4 (( {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)} ∈ ω ∧ (𝐴 +𝑜 {𝑦 ∈ On ∣ 𝐵 ⊆ (𝐴 +𝑜 𝑦)}) = 𝐵) → ∃𝑥 ∈ ω (𝐴 +𝑜 𝑥) = 𝐵)
8623, 82, 85syl2anc 694 . . 3 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝐴𝐵) → ∃𝑥 ∈ ω (𝐴 +𝑜 𝑥) = 𝐵)
8786ex 449 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → ∃𝑥 ∈ ω (𝐴 +𝑜 𝑥) = 𝐵))
88 nnaword1 7754 . . . . 5 ((𝐴 ∈ ω ∧ 𝑥 ∈ ω) → 𝐴 ⊆ (𝐴 +𝑜 𝑥))
8988adantlr 751 . . . 4 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝑥 ∈ ω) → 𝐴 ⊆ (𝐴 +𝑜 𝑥))
90 sseq2 3660 . . . 4 ((𝐴 +𝑜 𝑥) = 𝐵 → (𝐴 ⊆ (𝐴 +𝑜 𝑥) ↔ 𝐴𝐵))
9189, 90syl5ibcom 235 . . 3 (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) ∧ 𝑥 ∈ ω) → ((𝐴 +𝑜 𝑥) = 𝐵𝐴𝐵))
9291rexlimdva 3060 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (∃𝑥 ∈ ω (𝐴 +𝑜 𝑥) = 𝐵𝐴𝐵))
9387, 92impbid 202 1 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 ↔ ∃𝑥 ∈ ω (𝐴 +𝑜 𝑥) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 382  wa 383   = wceq 1523  wcel 2030  wne 2823  wrex 2942  {crab 2945  wss 3607  c0 3948   cint 4507  Ord word 5760  Oncon0 5761  suc csuc 5763  (class class class)co 6690  ωcom 7107   +𝑜 coa 7602
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-oadd 7609
This theorem is referenced by:  nnaordex  7763  unfilem1  8265  hashdom  13206
  Copyright terms: Public domain W3C validator