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

Theorem nnawordi 8428
Description: Adding to both sides of an inequality in ω. (Contributed by Scott Fenton, 16-Apr-2012.) (Revised by Mario Carneiro, 12-May-2012.)
Assertion
Ref Expression
nnawordi ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝐶) ⊆ (𝐵 +o 𝐶)))

Proof of Theorem nnawordi
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 7276 . . . . . . 7 (𝑥 = ∅ → (𝐴 +o 𝑥) = (𝐴 +o ∅))
2 oveq2 7276 . . . . . . 7 (𝑥 = ∅ → (𝐵 +o 𝑥) = (𝐵 +o ∅))
31, 2sseq12d 3958 . . . . . 6 (𝑥 = ∅ → ((𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥) ↔ (𝐴 +o ∅) ⊆ (𝐵 +o ∅)))
43imbi2d 340 . . . . 5 (𝑥 = ∅ → ((𝐴𝐵 → (𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥)) ↔ (𝐴𝐵 → (𝐴 +o ∅) ⊆ (𝐵 +o ∅))))
54imbi2d 340 . . . 4 (𝑥 = ∅ → (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥))) ↔ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o ∅) ⊆ (𝐵 +o ∅)))))
6 oveq2 7276 . . . . . . 7 (𝑥 = 𝑦 → (𝐴 +o 𝑥) = (𝐴 +o 𝑦))
7 oveq2 7276 . . . . . . 7 (𝑥 = 𝑦 → (𝐵 +o 𝑥) = (𝐵 +o 𝑦))
86, 7sseq12d 3958 . . . . . 6 (𝑥 = 𝑦 → ((𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥) ↔ (𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦)))
98imbi2d 340 . . . . 5 (𝑥 = 𝑦 → ((𝐴𝐵 → (𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥)) ↔ (𝐴𝐵 → (𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦))))
109imbi2d 340 . . . 4 (𝑥 = 𝑦 → (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥))) ↔ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦)))))
11 oveq2 7276 . . . . . . 7 (𝑥 = suc 𝑦 → (𝐴 +o 𝑥) = (𝐴 +o suc 𝑦))
12 oveq2 7276 . . . . . . 7 (𝑥 = suc 𝑦 → (𝐵 +o 𝑥) = (𝐵 +o suc 𝑦))
1311, 12sseq12d 3958 . . . . . 6 (𝑥 = suc 𝑦 → ((𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥) ↔ (𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦)))
1413imbi2d 340 . . . . 5 (𝑥 = suc 𝑦 → ((𝐴𝐵 → (𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥)) ↔ (𝐴𝐵 → (𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦))))
1514imbi2d 340 . . . 4 (𝑥 = suc 𝑦 → (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥))) ↔ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦)))))
16 oveq2 7276 . . . . . . 7 (𝑥 = 𝐶 → (𝐴 +o 𝑥) = (𝐴 +o 𝐶))
17 oveq2 7276 . . . . . . 7 (𝑥 = 𝐶 → (𝐵 +o 𝑥) = (𝐵 +o 𝐶))
1816, 17sseq12d 3958 . . . . . 6 (𝑥 = 𝐶 → ((𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥) ↔ (𝐴 +o 𝐶) ⊆ (𝐵 +o 𝐶)))
1918imbi2d 340 . . . . 5 (𝑥 = 𝐶 → ((𝐴𝐵 → (𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥)) ↔ (𝐴𝐵 → (𝐴 +o 𝐶) ⊆ (𝐵 +o 𝐶))))
2019imbi2d 340 . . . 4 (𝑥 = 𝐶 → (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝑥) ⊆ (𝐵 +o 𝑥))) ↔ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝐶) ⊆ (𝐵 +o 𝐶)))))
21 nnon 7706 . . . . 5 (𝐴 ∈ ω → 𝐴 ∈ On)
22 nnon 7706 . . . . 5 (𝐵 ∈ ω → 𝐵 ∈ On)
23 oa0 8322 . . . . . . . 8 (𝐴 ∈ On → (𝐴 +o ∅) = 𝐴)
2423adantr 480 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 +o ∅) = 𝐴)
25 oa0 8322 . . . . . . . 8 (𝐵 ∈ On → (𝐵 +o ∅) = 𝐵)
2625adantl 481 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐵 +o ∅) = 𝐵)
2724, 26sseq12d 3958 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 +o ∅) ⊆ (𝐵 +o ∅) ↔ 𝐴𝐵))
2827biimprd 247 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴𝐵 → (𝐴 +o ∅) ⊆ (𝐵 +o ∅)))
2921, 22, 28syl2an 595 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o ∅) ⊆ (𝐵 +o ∅)))
30 nnacl 8418 . . . . . . . . . . . . . 14 ((𝐴 ∈ ω ∧ 𝑦 ∈ ω) → (𝐴 +o 𝑦) ∈ ω)
3130ancoms 458 . . . . . . . . . . . . 13 ((𝑦 ∈ ω ∧ 𝐴 ∈ ω) → (𝐴 +o 𝑦) ∈ ω)
3231adantrr 713 . . . . . . . . . . . 12 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → (𝐴 +o 𝑦) ∈ ω)
33 nnon 7706 . . . . . . . . . . . 12 ((𝐴 +o 𝑦) ∈ ω → (𝐴 +o 𝑦) ∈ On)
34 eloni 6273 . . . . . . . . . . . 12 ((𝐴 +o 𝑦) ∈ On → Ord (𝐴 +o 𝑦))
3532, 33, 343syl 18 . . . . . . . . . . 11 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → Ord (𝐴 +o 𝑦))
36 nnacl 8418 . . . . . . . . . . . . . 14 ((𝐵 ∈ ω ∧ 𝑦 ∈ ω) → (𝐵 +o 𝑦) ∈ ω)
3736ancoms 458 . . . . . . . . . . . . 13 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → (𝐵 +o 𝑦) ∈ ω)
3837adantrl 712 . . . . . . . . . . . 12 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → (𝐵 +o 𝑦) ∈ ω)
39 nnon 7706 . . . . . . . . . . . 12 ((𝐵 +o 𝑦) ∈ ω → (𝐵 +o 𝑦) ∈ On)
40 eloni 6273 . . . . . . . . . . . 12 ((𝐵 +o 𝑦) ∈ On → Ord (𝐵 +o 𝑦))
4138, 39, 403syl 18 . . . . . . . . . . 11 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → Ord (𝐵 +o 𝑦))
42 ordsucsssuc 7658 . . . . . . . . . . 11 ((Ord (𝐴 +o 𝑦) ∧ Ord (𝐵 +o 𝑦)) → ((𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦) ↔ suc (𝐴 +o 𝑦) ⊆ suc (𝐵 +o 𝑦)))
4335, 41, 42syl2anc 583 . . . . . . . . . 10 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → ((𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦) ↔ suc (𝐴 +o 𝑦) ⊆ suc (𝐵 +o 𝑦)))
4443biimpa 476 . . . . . . . . 9 (((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) ∧ (𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦)) → suc (𝐴 +o 𝑦) ⊆ suc (𝐵 +o 𝑦))
45 nnasuc 8413 . . . . . . . . . . . . 13 ((𝐴 ∈ ω ∧ 𝑦 ∈ ω) → (𝐴 +o suc 𝑦) = suc (𝐴 +o 𝑦))
4645ancoms 458 . . . . . . . . . . . 12 ((𝑦 ∈ ω ∧ 𝐴 ∈ ω) → (𝐴 +o suc 𝑦) = suc (𝐴 +o 𝑦))
4746adantrr 713 . . . . . . . . . . 11 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → (𝐴 +o suc 𝑦) = suc (𝐴 +o 𝑦))
48 nnasuc 8413 . . . . . . . . . . . . 13 ((𝐵 ∈ ω ∧ 𝑦 ∈ ω) → (𝐵 +o suc 𝑦) = suc (𝐵 +o 𝑦))
4948ancoms 458 . . . . . . . . . . . 12 ((𝑦 ∈ ω ∧ 𝐵 ∈ ω) → (𝐵 +o suc 𝑦) = suc (𝐵 +o 𝑦))
5049adantrl 712 . . . . . . . . . . 11 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → (𝐵 +o suc 𝑦) = suc (𝐵 +o 𝑦))
5147, 50sseq12d 3958 . . . . . . . . . 10 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → ((𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦) ↔ suc (𝐴 +o 𝑦) ⊆ suc (𝐵 +o 𝑦)))
5251adantr 480 . . . . . . . . 9 (((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) ∧ (𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦)) → ((𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦) ↔ suc (𝐴 +o 𝑦) ⊆ suc (𝐵 +o 𝑦)))
5344, 52mpbird 256 . . . . . . . 8 (((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) ∧ (𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦)) → (𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦))
5453ex 412 . . . . . . 7 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → ((𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦) → (𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦)))
5554imim2d 57 . . . . . 6 ((𝑦 ∈ ω ∧ (𝐴 ∈ ω ∧ 𝐵 ∈ ω)) → ((𝐴𝐵 → (𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦)) → (𝐴𝐵 → (𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦))))
5655ex 412 . . . . 5 (𝑦 ∈ ω → ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → ((𝐴𝐵 → (𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦)) → (𝐴𝐵 → (𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦)))))
5756a2d 29 . . . 4 (𝑦 ∈ ω → (((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝑦) ⊆ (𝐵 +o 𝑦))) → ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o suc 𝑦) ⊆ (𝐵 +o suc 𝑦)))))
585, 10, 15, 20, 29, 57finds 7732 . . 3 (𝐶 ∈ ω → ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝐶) ⊆ (𝐵 +o 𝐶))))
5958com12 32 . 2 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐶 ∈ ω → (𝐴𝐵 → (𝐴 +o 𝐶) ⊆ (𝐵 +o 𝐶))))
60593impia 1115 1 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω ∧ 𝐶 ∈ ω) → (𝐴𝐵 → (𝐴 +o 𝐶) ⊆ (𝐵 +o 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1541  wcel 2109  wss 3891  c0 4261  Ord word 6262  Oncon0 6263  suc csuc 6265  (class class class)co 7268  ωcom 7700   +o coa 8278
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-sep 5226  ax-nul 5233  ax-pr 5355  ax-un 7579
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-reu 3072  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-pss 3910  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-tp 4571  df-op 4573  df-uni 4845  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-tr 5196  df-id 5488  df-eprel 5494  df-po 5502  df-so 5503  df-fr 5543  df-we 5545  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-pred 6199  df-ord 6266  df-on 6267  df-lim 6268  df-suc 6269  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-ov 7271  df-oprab 7272  df-mpo 7273  df-om 7701  df-2nd 7818  df-frecs 8081  df-wrecs 8112  df-recs 8186  df-rdg 8225  df-oadd 8285
This theorem is referenced by:  omopthlem2  8464
  Copyright terms: Public domain W3C validator