NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  nmembers1lem3 GIF version

Theorem nmembers1lem3 6270
Description: Lemma for nmembers1 6271. If the interval from one to a natural is in a given natural, extending it by one puts it in the next natural. (Contributed by Scott Fenton, 3-Aug-2019.)
Assertion
Ref Expression
nmembers1lem3 ((A Nn B Nn ) → ({m Nn (1cc m mc A)} B → {m Nn (1cc m mc (A +c 1c))} (B +c 1c)))
Distinct variable groups:   A,m   B,m

Proof of Theorem nmembers1lem3
Dummy variables x y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nnltp1c 6262 . . . . . . . . . . . 12 (A NnA <c (A +c 1c))
2 nnnc 6146 . . . . . . . . . . . . 13 (A NnA NC )
3 peano2 4403 . . . . . . . . . . . . . 14 (A Nn → (A +c 1c) Nn )
4 nnnc 6146 . . . . . . . . . . . . . 14 ((A +c 1c) Nn → (A +c 1c) NC )
53, 4syl 15 . . . . . . . . . . . . 13 (A Nn → (A +c 1c) NC )
6 ltlenlec 6207 . . . . . . . . . . . . 13 ((A NC (A +c 1c) NC ) → (A <c (A +c 1c) ↔ (Ac (A +c 1c) ¬ (A +c 1c) ≤c A)))
72, 5, 6syl2anc 642 . . . . . . . . . . . 12 (A Nn → (A <c (A +c 1c) ↔ (Ac (A +c 1c) ¬ (A +c 1c) ≤c A)))
81, 7mpbid 201 . . . . . . . . . . 11 (A Nn → (Ac (A +c 1c) ¬ (A +c 1c) ≤c A))
98simprd 449 . . . . . . . . . 10 (A Nn → ¬ (A +c 1c) ≤c A)
109adantr 451 . . . . . . . . 9 ((A Nn B Nn ) → ¬ (A +c 1c) ≤c A)
1110intnand 882 . . . . . . . 8 ((A Nn B Nn ) → ¬ (1cc (A +c 1c) (A +c 1c) ≤c A))
1211a1d 22 . . . . . . 7 ((A Nn B Nn ) → ((A +c 1c) Nn → ¬ (1cc (A +c 1c) (A +c 1c) ≤c A)))
13 breq2 4643 . . . . . . . . . . 11 (m = (A +c 1c) → (1cc m ↔ 1cc (A +c 1c)))
14 breq1 4642 . . . . . . . . . . 11 (m = (A +c 1c) → (mc A ↔ (A +c 1c) ≤c A))
1513, 14anbi12d 691 . . . . . . . . . 10 (m = (A +c 1c) → ((1cc m mc A) ↔ (1cc (A +c 1c) (A +c 1c) ≤c A)))
1615elrab 2994 . . . . . . . . 9 ((A +c 1c) {m Nn (1cc m mc A)} ↔ ((A +c 1c) Nn (1cc (A +c 1c) (A +c 1c) ≤c A)))
1716notbii 287 . . . . . . . 8 (¬ (A +c 1c) {m Nn (1cc m mc A)} ↔ ¬ ((A +c 1c) Nn (1cc (A +c 1c) (A +c 1c) ≤c A)))
18 imnan 411 . . . . . . . 8 (((A +c 1c) Nn → ¬ (1cc (A +c 1c) (A +c 1c) ≤c A)) ↔ ¬ ((A +c 1c) Nn (1cc (A +c 1c) (A +c 1c) ≤c A)))
1917, 18bitr4i 243 . . . . . . 7 (¬ (A +c 1c) {m Nn (1cc m mc A)} ↔ ((A +c 1c) Nn → ¬ (1cc (A +c 1c) (A +c 1c) ≤c A)))
2012, 19sylibr 203 . . . . . 6 ((A Nn B Nn ) → ¬ (A +c 1c) {m Nn (1cc m mc A)})
213adantr 451 . . . . . . 7 ((A Nn B Nn ) → (A +c 1c) Nn )
22 elcomplg 3218 . . . . . . 7 ((A +c 1c) Nn → ((A +c 1c) ∼ {m Nn (1cc m mc A)} ↔ ¬ (A +c 1c) {m Nn (1cc m mc A)}))
2321, 22syl 15 . . . . . 6 ((A Nn B Nn ) → ((A +c 1c) ∼ {m Nn (1cc m mc A)} ↔ ¬ (A +c 1c) {m Nn (1cc m mc A)}))
2420, 23mpbird 223 . . . . 5 ((A Nn B Nn ) → (A +c 1c) ∼ {m Nn (1cc m mc A)})
25 nnnc 6146 . . . . . . . . . . . . . 14 (x Nnx NC )
26 ncslesuc 6267 . . . . . . . . . . . . . 14 ((x NC A NC ) → (xc (A +c 1c) ↔ (xc A x = (A +c 1c))))
2725, 2, 26syl2an 463 . . . . . . . . . . . . 13 ((x Nn A Nn ) → (xc (A +c 1c) ↔ (xc A x = (A +c 1c))))
2827expcom 424 . . . . . . . . . . . 12 (A Nn → (x Nn → (xc (A +c 1c) ↔ (xc A x = (A +c 1c)))))
2928adantrd 454 . . . . . . . . . . 11 (A Nn → ((x Nn 1cc x) → (xc (A +c 1c) ↔ (xc A x = (A +c 1c)))))
3029adantr 451 . . . . . . . . . 10 ((A Nn B Nn ) → ((x Nn 1cc x) → (xc (A +c 1c) ↔ (xc A x = (A +c 1c)))))
3130pm5.32d 620 . . . . . . . . 9 ((A Nn B Nn ) → (((x Nn 1cc x) xc (A +c 1c)) ↔ ((x Nn 1cc x) (xc A x = (A +c 1c)))))
32 anass 630 . . . . . . . . 9 (((x Nn 1cc x) xc (A +c 1c)) ↔ (x Nn (1cc x xc (A +c 1c))))
33 andi 837 . . . . . . . . . 10 (((x Nn 1cc x) (xc A x = (A +c 1c))) ↔ (((x Nn 1cc x) xc A) ((x Nn 1cc x) x = (A +c 1c))))
34 anass 630 . . . . . . . . . . 11 (((x Nn 1cc x) xc A) ↔ (x Nn (1cc x xc A)))
3534orbi1i 506 . . . . . . . . . 10 ((((x Nn 1cc x) xc A) ((x Nn 1cc x) x = (A +c 1c))) ↔ ((x Nn (1cc x xc A)) ((x Nn 1cc x) x = (A +c 1c))))
3633, 35bitri 240 . . . . . . . . 9 (((x Nn 1cc x) (xc A x = (A +c 1c))) ↔ ((x Nn (1cc x xc A)) ((x Nn 1cc x) x = (A +c 1c))))
3731, 32, 363bitr3g 278 . . . . . . . 8 ((A Nn B Nn ) → ((x Nn (1cc x xc (A +c 1c))) ↔ ((x Nn (1cc x xc A)) ((x Nn 1cc x) x = (A +c 1c)))))
38 1cnc 6139 . . . . . . . . . . . . . . . 16 1c NC
39 addlecncs 6209 . . . . . . . . . . . . . . . 16 ((1c NC A NC ) → 1cc (1c +c A))
4038, 2, 39sylancr 644 . . . . . . . . . . . . . . 15 (A Nn → 1cc (1c +c A))
41 addccom 4406 . . . . . . . . . . . . . . 15 (A +c 1c) = (1c +c A)
4240, 41syl6breqr 4679 . . . . . . . . . . . . . 14 (A Nn → 1cc (A +c 1c))
433, 42jca 518 . . . . . . . . . . . . 13 (A Nn → ((A +c 1c) Nn 1cc (A +c 1c)))
44 eleq1 2413 . . . . . . . . . . . . . 14 (x = (A +c 1c) → (x Nn ↔ (A +c 1c) Nn ))
45 breq2 4643 . . . . . . . . . . . . . 14 (x = (A +c 1c) → (1cc x ↔ 1cc (A +c 1c)))
4644, 45anbi12d 691 . . . . . . . . . . . . 13 (x = (A +c 1c) → ((x Nn 1cc x) ↔ ((A +c 1c) Nn 1cc (A +c 1c))))
4743, 46syl5ibrcom 213 . . . . . . . . . . . 12 (A Nn → (x = (A +c 1c) → (x Nn 1cc x)))
4847adantr 451 . . . . . . . . . . 11 ((A Nn B Nn ) → (x = (A +c 1c) → (x Nn 1cc x)))
4948pm4.71rd 616 . . . . . . . . . 10 ((A Nn B Nn ) → (x = (A +c 1c) ↔ ((x Nn 1cc x) x = (A +c 1c))))
5049bicomd 192 . . . . . . . . 9 ((A Nn B Nn ) → (((x Nn 1cc x) x = (A +c 1c)) ↔ x = (A +c 1c)))
5150orbi2d 682 . . . . . . . 8 ((A Nn B Nn ) → (((x Nn (1cc x xc A)) ((x Nn 1cc x) x = (A +c 1c))) ↔ ((x Nn (1cc x xc A)) x = (A +c 1c))))
5237, 51bitrd 244 . . . . . . 7 ((A Nn B Nn ) → ((x Nn (1cc x xc (A +c 1c))) ↔ ((x Nn (1cc x xc A)) x = (A +c 1c))))
53 breq2 4643 . . . . . . . . 9 (m = x → (1cc m ↔ 1cc x))
54 breq1 4642 . . . . . . . . 9 (m = x → (mc (A +c 1c) ↔ xc (A +c 1c)))
5553, 54anbi12d 691 . . . . . . . 8 (m = x → ((1cc m mc (A +c 1c)) ↔ (1cc x xc (A +c 1c))))
5655elrab 2994 . . . . . . 7 (x {m Nn (1cc m mc (A +c 1c))} ↔ (x Nn (1cc x xc (A +c 1c))))
57 elun 3220 . . . . . . . 8 (x ({m Nn (1cc m mc A)} ∪ {(A +c 1c)}) ↔ (x {m Nn (1cc m mc A)} x {(A +c 1c)}))
58 breq1 4642 . . . . . . . . . . 11 (m = x → (mc Axc A))
5953, 58anbi12d 691 . . . . . . . . . 10 (m = x → ((1cc m mc A) ↔ (1cc x xc A)))
6059elrab 2994 . . . . . . . . 9 (x {m Nn (1cc m mc A)} ↔ (x Nn (1cc x xc A)))
61 elsn 3748 . . . . . . . . 9 (x {(A +c 1c)} ↔ x = (A +c 1c))
6260, 61orbi12i 507 . . . . . . . 8 ((x {m Nn (1cc m mc A)} x {(A +c 1c)}) ↔ ((x Nn (1cc x xc A)) x = (A +c 1c)))
6357, 62bitri 240 . . . . . . 7 (x ({m Nn (1cc m mc A)} ∪ {(A +c 1c)}) ↔ ((x Nn (1cc x xc A)) x = (A +c 1c)))
6452, 56, 633bitr4g 279 . . . . . 6 ((A Nn B Nn ) → (x {m Nn (1cc m mc (A +c 1c))} ↔ x ({m Nn (1cc m mc A)} ∪ {(A +c 1c)})))
6564eqrdv 2351 . . . . 5 ((A Nn B Nn ) → {m Nn (1cc m mc (A +c 1c))} = ({m Nn (1cc m mc A)} ∪ {(A +c 1c)}))
66 sneq 3744 . . . . . . . 8 (y = (A +c 1c) → {y} = {(A +c 1c)})
6766uneq2d 3418 . . . . . . 7 (y = (A +c 1c) → ({m Nn (1cc m mc A)} ∪ {y}) = ({m Nn (1cc m mc A)} ∪ {(A +c 1c)}))
6867eqeq2d 2364 . . . . . 6 (y = (A +c 1c) → ({m Nn (1cc m mc (A +c 1c))} = ({m Nn (1cc m mc A)} ∪ {y}) ↔ {m Nn (1cc m mc (A +c 1c))} = ({m Nn (1cc m mc A)} ∪ {(A +c 1c)})))
6968rspcev 2955 . . . . 5 (((A +c 1c) ∼ {m Nn (1cc m mc A)} {m Nn (1cc m mc (A +c 1c))} = ({m Nn (1cc m mc A)} ∪ {(A +c 1c)})) → y ∼ {m Nn (1cc m mc A)} {m Nn (1cc m mc (A +c 1c))} = ({m Nn (1cc m mc A)} ∪ {y}))
7024, 65, 69syl2anc 642 . . . 4 ((A Nn B Nn ) → y ∼ {m Nn (1cc m mc A)} {m Nn (1cc m mc (A +c 1c))} = ({m Nn (1cc m mc A)} ∪ {y}))
71 compleq 3243 . . . . . 6 (x = {m Nn (1cc m mc A)} → ∼ x = ∼ {m Nn (1cc m mc A)})
72 uneq1 3411 . . . . . . 7 (x = {m Nn (1cc m mc A)} → (x ∪ {y}) = ({m Nn (1cc m mc A)} ∪ {y}))
7372eqeq2d 2364 . . . . . 6 (x = {m Nn (1cc m mc A)} → ({m Nn (1cc m mc (A +c 1c))} = (x ∪ {y}) ↔ {m Nn (1cc m mc (A +c 1c))} = ({m Nn (1cc m mc A)} ∪ {y})))
7471, 73rexeqbidv 2820 . . . . 5 (x = {m Nn (1cc m mc A)} → (y x{m Nn (1cc m mc (A +c 1c))} = (x ∪ {y}) ↔ y ∼ {m Nn (1cc m mc A)} {m Nn (1cc m mc (A +c 1c))} = ({m Nn (1cc m mc A)} ∪ {y})))
7574rspcev 2955 . . . 4 (({m Nn (1cc m mc A)} B y ∼ {m Nn (1cc m mc A)} {m Nn (1cc m mc (A +c 1c))} = ({m Nn (1cc m mc A)} ∪ {y})) → x B y x{m Nn (1cc m mc (A +c 1c))} = (x ∪ {y}))
7670, 75sylan2 460 . . 3 (({m Nn (1cc m mc A)} B (A Nn B Nn )) → x B y x{m Nn (1cc m mc (A +c 1c))} = (x ∪ {y}))
77 elsuc 4413 . . 3 ({m Nn (1cc m mc (A +c 1c))} (B +c 1c) ↔ x B y x{m Nn (1cc m mc (A +c 1c))} = (x ∪ {y}))
7876, 77sylibr 203 . 2 (({m Nn (1cc m mc A)} B (A Nn B Nn )) → {m Nn (1cc m mc (A +c 1c))} (B +c 1c))
7978expcom 424 1 ((A Nn B Nn ) → ({m Nn (1cc m mc A)} B → {m Nn (1cc m mc (A +c 1c))} (B +c 1c)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 176   wo 357   wa 358   = wceq 1642   wcel 1710  wrex 2615  {crab 2618  ccompl 3205  cun 3207  {csn 3737  1cc1c 4134   Nn cnnc 4373   +c cplc 4375   class class class wbr 4639   NC cncs 6088  c clec 6089   <c cltc 6090
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-13 1712  ax-14 1714  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1925  ax-ext 2334  ax-nin 4078  ax-xp 4079  ax-cnv 4080  ax-1c 4081  ax-sset 4082  ax-si 4083  ax-ins2 4084  ax-ins3 4085  ax-typlower 4086  ax-sn 4087
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-nan 1288  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-eu 2208  df-mo 2209  df-clab 2340  df-cleq 2346  df-clel 2349  df-nfc 2478  df-ne 2518  df-ral 2619  df-rex 2620  df-reu 2621  df-rmo 2622  df-rab 2623  df-v 2861  df-sbc 3047  df-csb 3137  df-nin 3211  df-compl 3212  df-in 3213  df-un 3214  df-dif 3215  df-symdif 3216  df-ss 3259  df-pss 3261  df-nul 3551  df-if 3663  df-pw 3724  df-sn 3741  df-pr 3742  df-uni 3892  df-int 3927  df-iun 3971  df-opk 4058  df-1c 4136  df-pw1 4137  df-uni1 4138  df-xpk 4185  df-cnvk 4186  df-ins2k 4187  df-ins3k 4188  df-imak 4189  df-cok 4190  df-p6 4191  df-sik 4192  df-ssetk 4193  df-imagek 4194  df-idk 4195  df-iota 4339  df-0c 4377  df-addc 4378  df-nnc 4379  df-fin 4380  df-lefin 4440  df-ltfin 4441  df-ncfin 4442  df-tfin 4443  df-evenfin 4444  df-oddfin 4445  df-sfin 4446  df-spfin 4447  df-phi 4565  df-op 4566  df-proj1 4567  df-proj2 4568  df-opab 4623  df-br 4640  df-1st 4723  df-swap 4724  df-sset 4725  df-co 4726  df-ima 4727  df-si 4728  df-id 4767  df-xp 4784  df-cnv 4785  df-rn 4786  df-dm 4787  df-res 4788  df-fun 4789  df-fn 4790  df-f 4791  df-f1 4792  df-fo 4793  df-f1o 4794  df-fv 4795  df-2nd 4797  df-ov 5526  df-oprab 5528  df-mpt 5652  df-mpt2 5654  df-txp 5736  df-fix 5740  df-cup 5742  df-disj 5744  df-addcfn 5746  df-ins2 5750  df-ins3 5752  df-image 5754  df-ins4 5756  df-si3 5758  df-funs 5760  df-fns 5762  df-clos1 5873  df-trans 5899  df-sym 5908  df-er 5909  df-ec 5947  df-qs 5951  df-en 6029  df-ncs 6098  df-lec 6099  df-ltc 6100  df-nc 6101
This theorem is referenced by:  nmembers1  6271
  Copyright terms: Public domain W3C validator