ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  eluzdc GIF version

Theorem eluzdc 9761
Description: Membership of an integer in an upper set of integers is decidable. (Contributed by Jim Kingdon, 18-Apr-2020.)
Assertion
Ref Expression
eluzdc ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → DECID 𝑁 ∈ (ℤ𝑀))

Proof of Theorem eluzdc
StepHypRef Expression
1 zlelttric 9447 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑁 < 𝑀))
2 eluz 9691 . . . . 5 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ𝑀) ↔ 𝑀𝑁))
32biimprd 158 . . . 4 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑁 ∈ (ℤ𝑀)))
4 zltnle 9448 . . . . . 6 ((𝑁 ∈ ℤ ∧ 𝑀 ∈ ℤ) → (𝑁 < 𝑀 ↔ ¬ 𝑀𝑁))
54ancoms 268 . . . . 5 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 < 𝑀 ↔ ¬ 𝑀𝑁))
62notbid 669 . . . . . 6 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (¬ 𝑁 ∈ (ℤ𝑀) ↔ ¬ 𝑀𝑁))
76biimprd 158 . . . . 5 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (¬ 𝑀𝑁 → ¬ 𝑁 ∈ (ℤ𝑀)))
85, 7sylbid 150 . . . 4 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 < 𝑀 → ¬ 𝑁 ∈ (ℤ𝑀)))
93, 8orim12d 788 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑀𝑁𝑁 < 𝑀) → (𝑁 ∈ (ℤ𝑀) ∨ ¬ 𝑁 ∈ (ℤ𝑀))))
10 df-dc 837 . . 3 (DECID 𝑁 ∈ (ℤ𝑀) ↔ (𝑁 ∈ (ℤ𝑀) ∨ ¬ 𝑁 ∈ (ℤ𝑀)))
119, 10imbitrrdi 162 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑀𝑁𝑁 < 𝑀) → DECID 𝑁 ∈ (ℤ𝑀)))
121, 11mpd 13 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → DECID 𝑁 ∈ (ℤ𝑀))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 710  DECID wdc 836  wcel 2177   class class class wbr 4054  cfv 5285   < clt 8137  cle 8138  cz 9402  cuz 9678
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-sep 4173  ax-pow 4229  ax-pr 4264  ax-un 4493  ax-setind 4598  ax-cnex 8046  ax-resscn 8047  ax-1cn 8048  ax-1re 8049  ax-icn 8050  ax-addcl 8051  ax-addrcl 8052  ax-mulcl 8053  ax-addcom 8055  ax-addass 8057  ax-distr 8059  ax-i2m1 8060  ax-0lt1 8061  ax-0id 8063  ax-rnegex 8064  ax-cnre 8066  ax-pre-ltirr 8067  ax-pre-ltwlin 8068  ax-pre-lttrn 8069  ax-pre-ltadd 8071
This theorem depends on definitions:  df-bi 117  df-dc 837  df-3or 982  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ne 2378  df-nel 2473  df-ral 2490  df-rex 2491  df-reu 2492  df-rab 2494  df-v 2775  df-sbc 3003  df-dif 3172  df-un 3174  df-in 3176  df-ss 3183  df-pw 3623  df-sn 3644  df-pr 3645  df-op 3647  df-uni 3860  df-int 3895  df-br 4055  df-opab 4117  df-mpt 4118  df-id 4353  df-xp 4694  df-rel 4695  df-cnv 4696  df-co 4697  df-dm 4698  df-iota 5246  df-fun 5287  df-fv 5293  df-riota 5917  df-ov 5965  df-oprab 5966  df-mpo 5967  df-pnf 8139  df-mnf 8140  df-xr 8141  df-ltxr 8142  df-le 8143  df-sub 8275  df-neg 8276  df-inn 9067  df-n0 9326  df-z 9403  df-uz 9679
This theorem is referenced by:  elnn0dc  9762  elnndc  9763  fzneuz  10253  sumdc  11754  summodclem2a  11777  zsumdc  11780  zproddc  11975  nninfdclemcl  12904  nninfdclemp1  12906
  Copyright terms: Public domain W3C validator