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

Theorem submateqlem1 34489
Description: Lemma for submateq 34491. (Contributed by Thierry Arnoux, 25-Aug-2020.)
Hypotheses
Ref Expression
submateqlem1.n (𝜑 → 𝑁 ∈ ℕ)
submateqlem1.k (𝜑 → 𝐾 ∈ (1...𝑁))
submateqlem1.m (𝜑 → 𝑀 ∈ (1...(𝑁 − 1)))
submateqlem1.1 (𝜑 → 𝐾 ≤ 𝑀)
Assertion
Ref Expression
submateqlem1 (𝜑 → (𝑀 ∈ (𝐾...𝑁) ∧ (𝑀 + 1) ∈ ((1...𝑁) ∖ {𝐾})))

Proof of Theorem submateqlem1
StepHypRef Expression
1 fz1ssnn 13696 . . . . 5 (1...𝑁) ⊆ ℕ
2 submateqlem1.k . . . . 5 (𝜑 → 𝐾 ∈ (1...𝑁))
31, 2sselid 3907 . . . 4 (𝜑 → 𝐾 ∈ ℕ)
43nnzd 12726 . . 3 (𝜑 → 𝐾 ∈ ℤ)
5 submateqlem1.n . . . 4 (𝜑 → 𝑁 ∈ ℕ)
65nnzd 12726 . . 3 (𝜑 → 𝑁 ∈ ℤ)
7 fz1ssnn 13696 . . . . 5 (1...(𝑁 − 1)) ⊆ ℕ
8 submateqlem1.m . . . . 5 (𝜑 → 𝑀 ∈ (1...(𝑁 − 1)))
97, 8sselid 3907 . . . 4 (𝜑 → 𝑀 ∈ ℕ)
109nnzd 12726 . . 3 (𝜑 → 𝑀 ∈ ℤ)
11 submateqlem1.1 . . 3 (𝜑 → 𝐾 ≤ 𝑀)
129nnred 12357 . . . 4 (𝜑 → 𝑀 ∈ ℝ)
135nnred 12357 . . . . 5 (𝜑 → 𝑁 ∈ ℝ)
14 1red 11316 . . . . 5 (𝜑 → 1 ∈ ℝ)
1513, 14resubcld 11751 . . . 4 (𝜑 → (𝑁 − 1) ∈ ℝ)
16 elfzle2 13668 . . . . 5 (𝑀 ∈ (1...(𝑁 − 1)) → 𝑀 ≤ (𝑁 − 1))
178, 16syl 18 . . . 4 (𝜑 → 𝑀 ≤ (𝑁 − 1))
1813lem1d 12257 . . . 4 (𝜑 → (𝑁 − 1) ≤ 𝑁)
1912, 15, 13, 17, 18letrd 11474 . . 3 (𝜑 → 𝑀 ≤ 𝑁)
204, 6, 10, 11, 19elfzd 13654 . 2 (𝜑 → 𝑀 ∈ (𝐾...𝑁))
21 1zzd 12734 . . . 4 (𝜑 → 1 ∈ ℤ)
2210peano2zd 12813 . . . 4 (𝜑 → (𝑀 + 1) ∈ ℤ)
239nnnn0d 12674 . . . . . 6 (𝜑 → 𝑀 ∈ ℕ0)
2423nn0ge0d 12677 . . . . 5 (𝜑 → 0 ≤ 𝑀)
25 1re 11315 . . . . . 6 1 ∈ ℝ
26 addge02 11834 . . . . . 6 ((1 ∈ ℝ ∧ 𝑀 ∈ ℝ) → (0 ≤ 𝑀 ↔ 1 ≤ (𝑀 + 1)))
2725, 12, 26sylancr 599 . . . . 5 (𝜑 → (0 ≤ 𝑀 ↔ 1 ≤ (𝑀 + 1)))
2824, 27mpbid 235 . . . 4 (𝜑 → 1 ≤ (𝑀 + 1))
295nnnn0d 12674 . . . . . . 7 (𝜑 → 𝑁 ∈ ℕ0)
30 nn0ltlem1 12766 . . . . . . 7 ((𝑀 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0) → (𝑀 < 𝑁 ↔ 𝑀 ≤ (𝑁 − 1)))
3123, 29, 30syl2anc 596 . . . . . 6 (𝜑 → (𝑀 < 𝑁 ↔ 𝑀 ≤ (𝑁 − 1)))
3217, 31mpbird 260 . . . . 5 (𝜑 → 𝑀 < 𝑁)
33 nnltp1le 12762 . . . . . 6 ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 < 𝑁 ↔ (𝑀 + 1) ≤ 𝑁))
349, 5, 33syl2anc 596 . . . . 5 (𝜑 → (𝑀 < 𝑁 ↔ (𝑀 + 1) ≤ 𝑁))
3532, 34mpbid 235 . . . 4 (𝜑 → (𝑀 + 1) ≤ 𝑁)
3621, 6, 22, 28, 35elfzd 13654 . . 3 (𝜑 → (𝑀 + 1) ∈ (1...𝑁))
373nnred 12357 . . . . . 6 (𝜑 → 𝐾 ∈ ℝ)
38 nnleltp1 12761 . . . . . . . 8 ((𝐾 ∈ ℕ ∧ 𝑀 ∈ ℕ) → (𝐾 ≤ 𝑀 ↔ 𝐾 < (𝑀 + 1)))
393, 9, 38syl2anc 596 . . . . . . 7 (𝜑 → (𝐾 ≤ 𝑀 ↔ 𝐾 < (𝑀 + 1)))
4011, 39mpbid 235 . . . . . 6 (𝜑 → 𝐾 < (𝑀 + 1))
4137, 40ltned 11453 . . . . 5 (𝜑 → 𝐾 ≠ (𝑀 + 1))
4241necomd 3010 . . . 4 (𝜑 → (𝑀 + 1) ≠ 𝐾)
43 nelsn 4623 . . . 4 ((𝑀 + 1) ≠ 𝐾 → ¬ (𝑀 + 1) ∈ {𝐾})
4442, 43syl 18 . . 3 (𝜑 → ¬ (𝑀 + 1) ∈ {𝐾})
4536, 44eldifd 4049 . 2 (𝜑 → (𝑀 + 1) ∈ ((1...𝑁) ∖ {𝐾}))
4620, 45jca 521 1 (𝜑 → (𝑀 ∈ (𝐾...𝑁) ∧ (𝑀 + 1) ∈ ((1...𝑁) ∖ {𝐾})))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∈ wcel 2144   ≠ wne 2955   ∖ cdif 4044  {csn 4584   class class class wbr 5102  (class class class)co 7424  ℝcr 11206  0cc0 11207  1c1 11208   + caddc 11210   < clt 11350   ≤ cle 11351   − cmin 11548  ℕcn 12342  ℕ0cn0 12613  ...cfz 13646
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-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284
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-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-1st 8005  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-er 8725  df-en 8982  df-dom 8983  df-sdom 8984  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-nn 12343  df-n0 12614  df-z 12701  df-uz 12973  df-fz 13647
This theorem is used by:  submateq  34491
  Copyright terms: Public domain W3C validator