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

Theorem nn2ge 12372
Description: There exists a positive integer greater than or equal to any two others. (Contributed by NM, 18-Aug-1999.)
Assertion
Ref Expression
nn2ge ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → ∃𝑥 ∈ ℕ (𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem nn2ge
StepHypRef Expression
1 nnre 12349 . . 3 (𝐴 ∈ ℕ → 𝐴 ∈ ℝ)
21adantr 486 . 2 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → 𝐴 ∈ ℝ)
3 nnre 12349 . . 3 (𝐵 ∈ ℕ → 𝐵 ∈ ℝ)
43adantl 487 . 2 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → 𝐵 ∈ ℝ)
5 leid 11413 . . . . . 6 (𝐵 ∈ ℝ → 𝐵 ≤ 𝐵)
65anim1ci 628 . . . . 5 ((𝐵 ∈ ℝ ∧ 𝐴 ≤ 𝐵) → (𝐴 ≤ 𝐵 ∧ 𝐵 ≤ 𝐵))
73, 6sylan 592 . . . 4 ((𝐵 ∈ ℕ ∧ 𝐴 ≤ 𝐵) → (𝐴 ≤ 𝐵 ∧ 𝐵 ≤ 𝐵))
8 breq2 5106 . . . . . 6 (𝑥 = 𝐵 → (𝐴 ≤ 𝑥 ↔ 𝐴 ≤ 𝐵))
9 breq2 5106 . . . . . 6 (𝑥 = 𝐵 → (𝐵 ≤ 𝑥 ↔ 𝐵 ≤ 𝐵))
108, 9anbi12d 644 . . . . 5 (𝑥 = 𝐵 → ((𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥) ↔ (𝐴 ≤ 𝐵 ∧ 𝐵 ≤ 𝐵)))
1110rspcev 3576 . . . 4 ((𝐵 ∈ ℕ ∧ (𝐴 ≤ 𝐵 ∧ 𝐵 ≤ 𝐵)) → ∃𝑥 ∈ ℕ (𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥))
127, 11syldan 603 . . 3 ((𝐵 ∈ ℕ ∧ 𝐴 ≤ 𝐵) → ∃𝑥 ∈ ℕ (𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥))
1312adantll 727 . 2 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) ∧ 𝐴 ≤ 𝐵) → ∃𝑥 ∈ ℕ (𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥))
14 leid 11413 . . . . . 6 (𝐴 ∈ ℝ → 𝐴 ≤ 𝐴)
1514anim1i 627 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ≤ 𝐴) → (𝐴 ≤ 𝐴 ∧ 𝐵 ≤ 𝐴))
161, 15sylan 592 . . . 4 ((𝐴 ∈ ℕ ∧ 𝐵 ≤ 𝐴) → (𝐴 ≤ 𝐴 ∧ 𝐵 ≤ 𝐴))
17 breq2 5106 . . . . . 6 (𝑥 = 𝐴 → (𝐴 ≤ 𝑥 ↔ 𝐴 ≤ 𝐴))
18 breq2 5106 . . . . . 6 (𝑥 = 𝐴 → (𝐵 ≤ 𝑥 ↔ 𝐵 ≤ 𝐴))
1917, 18anbi12d 644 . . . . 5 (𝑥 = 𝐴 → ((𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥) ↔ (𝐴 ≤ 𝐴 ∧ 𝐵 ≤ 𝐴)))
2019rspcev 3576 . . . 4 ((𝐴 ∈ ℕ ∧ (𝐴 ≤ 𝐴 ∧ 𝐵 ≤ 𝐴)) → ∃𝑥 ∈ ℕ (𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥))
2116, 20syldan 603 . . 3 ((𝐴 ∈ ℕ ∧ 𝐵 ≤ 𝐴) → ∃𝑥 ∈ ℕ (𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥))
2221adantlr 728 . 2 (((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) ∧ 𝐵 ≤ 𝐴) → ∃𝑥 ∈ ℕ (𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥))
232, 4, 13, 22lecasei 11423 1 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → ∃𝑥 ∈ ℕ (𝐴 ≤ 𝑥 ∧ 𝐵 ≤ 𝑥))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∃wrex 3086   class class class wbr 5102  ℝcr 11206   ≤ cle 11351  ℕcn 12342
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-i2m1 11275  ax-1ne0 11276  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7427  df-om 7882  df-2nd 8006  df-frecs 8306  df-wrecs 8337  df-recs 8386  df-rdg 8425  df-er 8724  df-en 8981  df-dom 8982  df-sdom 8983  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-nn 12343
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator