Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > submateqlem1 | Structured version Visualization version GIF version |
Description: Lemma for submateq 31445. (Contributed by Thierry Arnoux, 25-Aug-2020.) |
Ref | Expression |
---|---|
submateqlem1.n | ⊢ (𝜑 → 𝑁 ∈ ℕ) |
submateqlem1.k | ⊢ (𝜑 → 𝐾 ∈ (1...𝑁)) |
submateqlem1.m | ⊢ (𝜑 → 𝑀 ∈ (1...(𝑁 − 1))) |
submateqlem1.1 | ⊢ (𝜑 → 𝐾 ≤ 𝑀) |
Ref | Expression |
---|---|
submateqlem1 | ⊢ (𝜑 → (𝑀 ∈ (𝐾...𝑁) ∧ (𝑀 + 1) ∈ ((1...𝑁) ∖ {𝐾}))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fz1ssnn 13126 | . . . . 5 ⊢ (1...𝑁) ⊆ ℕ | |
2 | submateqlem1.k | . . . . 5 ⊢ (𝜑 → 𝐾 ∈ (1...𝑁)) | |
3 | 1, 2 | sseldi 3889 | . . . 4 ⊢ (𝜑 → 𝐾 ∈ ℕ) |
4 | 3 | nnzd 12264 | . . 3 ⊢ (𝜑 → 𝐾 ∈ ℤ) |
5 | submateqlem1.n | . . . 4 ⊢ (𝜑 → 𝑁 ∈ ℕ) | |
6 | 5 | nnzd 12264 | . . 3 ⊢ (𝜑 → 𝑁 ∈ ℤ) |
7 | fz1ssnn 13126 | . . . . 5 ⊢ (1...(𝑁 − 1)) ⊆ ℕ | |
8 | submateqlem1.m | . . . . 5 ⊢ (𝜑 → 𝑀 ∈ (1...(𝑁 − 1))) | |
9 | 7, 8 | sseldi 3889 | . . . 4 ⊢ (𝜑 → 𝑀 ∈ ℕ) |
10 | 9 | nnzd 12264 | . . 3 ⊢ (𝜑 → 𝑀 ∈ ℤ) |
11 | submateqlem1.1 | . . 3 ⊢ (𝜑 → 𝐾 ≤ 𝑀) | |
12 | 9 | nnred 11828 | . . . 4 ⊢ (𝜑 → 𝑀 ∈ ℝ) |
13 | 5 | nnred 11828 | . . . . 5 ⊢ (𝜑 → 𝑁 ∈ ℝ) |
14 | 1red 10817 | . . . . 5 ⊢ (𝜑 → 1 ∈ ℝ) | |
15 | 13, 14 | resubcld 11243 | . . . 4 ⊢ (𝜑 → (𝑁 − 1) ∈ ℝ) |
16 | elfzle2 13099 | . . . . 5 ⊢ (𝑀 ∈ (1...(𝑁 − 1)) → 𝑀 ≤ (𝑁 − 1)) | |
17 | 8, 16 | syl 17 | . . . 4 ⊢ (𝜑 → 𝑀 ≤ (𝑁 − 1)) |
18 | 13 | lem1d 11748 | . . . 4 ⊢ (𝜑 → (𝑁 − 1) ≤ 𝑁) |
19 | 12, 15, 13, 17, 18 | letrd 10972 | . . 3 ⊢ (𝜑 → 𝑀 ≤ 𝑁) |
20 | 4, 6, 10, 11, 19 | elfzd 13086 | . 2 ⊢ (𝜑 → 𝑀 ∈ (𝐾...𝑁)) |
21 | 1zzd 12191 | . . . 4 ⊢ (𝜑 → 1 ∈ ℤ) | |
22 | 10 | peano2zd 12268 | . . . 4 ⊢ (𝜑 → (𝑀 + 1) ∈ ℤ) |
23 | 9 | nnnn0d 12133 | . . . . . 6 ⊢ (𝜑 → 𝑀 ∈ ℕ0) |
24 | 23 | nn0ge0d 12136 | . . . . 5 ⊢ (𝜑 → 0 ≤ 𝑀) |
25 | 1re 10816 | . . . . . 6 ⊢ 1 ∈ ℝ | |
26 | addge02 11326 | . . . . . 6 ⊢ ((1 ∈ ℝ ∧ 𝑀 ∈ ℝ) → (0 ≤ 𝑀 ↔ 1 ≤ (𝑀 + 1))) | |
27 | 25, 12, 26 | sylancr 590 | . . . . 5 ⊢ (𝜑 → (0 ≤ 𝑀 ↔ 1 ≤ (𝑀 + 1))) |
28 | 24, 27 | mpbid 235 | . . . 4 ⊢ (𝜑 → 1 ≤ (𝑀 + 1)) |
29 | 5 | nnnn0d 12133 | . . . . . . 7 ⊢ (𝜑 → 𝑁 ∈ ℕ0) |
30 | nn0ltlem1 12220 | . . . . . . 7 ⊢ ((𝑀 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0) → (𝑀 < 𝑁 ↔ 𝑀 ≤ (𝑁 − 1))) | |
31 | 23, 29, 30 | syl2anc 587 | . . . . . 6 ⊢ (𝜑 → (𝑀 < 𝑁 ↔ 𝑀 ≤ (𝑁 − 1))) |
32 | 17, 31 | mpbird 260 | . . . . 5 ⊢ (𝜑 → 𝑀 < 𝑁) |
33 | nnltp1le 12216 | . . . . . 6 ⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 < 𝑁 ↔ (𝑀 + 1) ≤ 𝑁)) | |
34 | 9, 5, 33 | syl2anc 587 | . . . . 5 ⊢ (𝜑 → (𝑀 < 𝑁 ↔ (𝑀 + 1) ≤ 𝑁)) |
35 | 32, 34 | mpbid 235 | . . . 4 ⊢ (𝜑 → (𝑀 + 1) ≤ 𝑁) |
36 | 21, 6, 22, 28, 35 | elfzd 13086 | . . 3 ⊢ (𝜑 → (𝑀 + 1) ∈ (1...𝑁)) |
37 | 3 | nnred 11828 | . . . . . 6 ⊢ (𝜑 → 𝐾 ∈ ℝ) |
38 | nnleltp1 12215 | . . . . . . . 8 ⊢ ((𝐾 ∈ ℕ ∧ 𝑀 ∈ ℕ) → (𝐾 ≤ 𝑀 ↔ 𝐾 < (𝑀 + 1))) | |
39 | 3, 9, 38 | syl2anc 587 | . . . . . . 7 ⊢ (𝜑 → (𝐾 ≤ 𝑀 ↔ 𝐾 < (𝑀 + 1))) |
40 | 11, 39 | mpbid 235 | . . . . . 6 ⊢ (𝜑 → 𝐾 < (𝑀 + 1)) |
41 | 37, 40 | ltned 10951 | . . . . 5 ⊢ (𝜑 → 𝐾 ≠ (𝑀 + 1)) |
42 | 41 | necomd 2990 | . . . 4 ⊢ (𝜑 → (𝑀 + 1) ≠ 𝐾) |
43 | nelsn 4571 | . . . 4 ⊢ ((𝑀 + 1) ≠ 𝐾 → ¬ (𝑀 + 1) ∈ {𝐾}) | |
44 | 42, 43 | syl 17 | . . 3 ⊢ (𝜑 → ¬ (𝑀 + 1) ∈ {𝐾}) |
45 | 36, 44 | eldifd 3868 | . 2 ⊢ (𝜑 → (𝑀 + 1) ∈ ((1...𝑁) ∖ {𝐾})) |
46 | 20, 45 | jca 515 | 1 ⊢ (𝜑 → (𝑀 ∈ (𝐾...𝑁) ∧ (𝑀 + 1) ∈ ((1...𝑁) ∖ {𝐾}))) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 209 ∧ wa 399 ∈ wcel 2110 ≠ wne 2935 ∖ cdif 3854 {csn 4531 class class class wbr 5043 (class class class)co 7202 ℝcr 10711 0cc0 10712 1c1 10713 + caddc 10715 < clt 10850 ≤ cle 10851 − cmin 11045 ℕcn 11813 ℕ0cn0 12073 ...cfz 13078 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1803 ax-4 1817 ax-5 1918 ax-6 1976 ax-7 2016 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2158 ax-12 2175 ax-ext 2706 ax-sep 5181 ax-nul 5188 ax-pow 5247 ax-pr 5311 ax-un 7512 ax-cnex 10768 ax-resscn 10769 ax-1cn 10770 ax-icn 10771 ax-addcl 10772 ax-addrcl 10773 ax-mulcl 10774 ax-mulrcl 10775 ax-mulcom 10776 ax-addass 10777 ax-mulass 10778 ax-distr 10779 ax-i2m1 10780 ax-1ne0 10781 ax-1rid 10782 ax-rnegex 10783 ax-rrecex 10784 ax-cnre 10785 ax-pre-lttri 10786 ax-pre-lttrn 10787 ax-pre-ltadd 10788 ax-pre-mulgt0 10789 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-3or 1090 df-3an 1091 df-tru 1546 df-fal 1556 df-ex 1788 df-nf 1792 df-sb 2071 df-mo 2537 df-eu 2566 df-clab 2713 df-cleq 2726 df-clel 2812 df-nfc 2882 df-ne 2936 df-nel 3040 df-ral 3059 df-rex 3060 df-reu 3061 df-rab 3063 df-v 3403 df-sbc 3688 df-csb 3803 df-dif 3860 df-un 3862 df-in 3864 df-ss 3874 df-pss 3876 df-nul 4228 df-if 4430 df-pw 4505 df-sn 4532 df-pr 4534 df-tp 4536 df-op 4538 df-uni 4810 df-iun 4896 df-br 5044 df-opab 5106 df-mpt 5125 df-tr 5151 df-id 5444 df-eprel 5449 df-po 5457 df-so 5458 df-fr 5498 df-we 5500 df-xp 5546 df-rel 5547 df-cnv 5548 df-co 5549 df-dm 5550 df-rn 5551 df-res 5552 df-ima 5553 df-pred 6149 df-ord 6205 df-on 6206 df-lim 6207 df-suc 6208 df-iota 6327 df-fun 6371 df-fn 6372 df-f 6373 df-f1 6374 df-fo 6375 df-f1o 6376 df-fv 6377 df-riota 7159 df-ov 7205 df-oprab 7206 df-mpo 7207 df-om 7634 df-1st 7750 df-2nd 7751 df-wrecs 8036 df-recs 8097 df-rdg 8135 df-er 8380 df-en 8616 df-dom 8617 df-sdom 8618 df-pnf 10852 df-mnf 10853 df-xr 10854 df-ltxr 10855 df-le 10856 df-sub 11047 df-neg 11048 df-nn 11814 df-n0 12074 df-z 12160 df-uz 12422 df-fz 13079 |
This theorem is referenced by: submateq 31445 |
Copyright terms: Public domain | W3C validator |