Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rexanuz2nf Structured version   Visualization version   GIF version

Theorem rexanuz2nf 46934
Description: A simple counterexample related to theorem rexanuz2 15582, demonstrating the necessity of its disjoint variable constraints. Here, 𝑗 appears free in 𝜑, showing that without these constraints, rexanuz2 15582 and similar theorems would not hold (see rexanre 15579 and rexanuz 15578). (Contributed by Glauco Siliprandi, 15-Feb-2025.)
Hypotheses
Ref Expression
rexanuz2nf.1 𝑍 = ℕ0
rexanuz2nf.2 (𝜑 ↔ (𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
rexanuz2nf.3 (𝜓 ↔ 0 < 𝑘)
Assertion
Ref Expression
rexanuz2nf ¬ (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓) ↔ (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓))
Distinct variable group:   𝑗,𝑘
Allowed substitution hints:   𝜑(𝑗, 𝑘)   𝜓(𝑗, 𝑘)   𝑍(𝑗, 𝑘)

Proof of Theorem rexanuz2nf
StepHypRef Expression
1 0nn0 12680 . . . . . . . 8 0 ∈ ℕ0
2 nn0ge0 12690 . . . . . . . . 9 (𝑘 ∈ ℕ0 → 0 ≤ 𝑘)
32rgen 3093 . . . . . . . 8 ∀𝑘 ∈ ℕ0 0 ≤ 𝑘
4 fveq2 6934 . . . . . . . . . . . 12 (𝑗 = 0 → (ℤ≥‘𝑗) = (ℤ≥‘0))
5 nn0uz 13062 . . . . . . . . . . . 12 ℕ0 = (ℤ≥‘0)
64, 5eqtr4di 2827 . . . . . . . . . . 11 (𝑗 = 0 → (ℤ≥‘𝑗) = ℕ0)
76raleqdv 3331 . . . . . . . . . 10 (𝑗 = 0 → (∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ ∀𝑘 ∈ ℕ0 (𝑗 = 0 ∧ 𝑗 ≤ 𝑘)))
82ad2antlr 740 . . . . . . . . . . . 12 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ (𝑗 = 0 ∧ 𝑗 ≤ 𝑘)) → 0 ≤ 𝑘)
9 simpll 779 . . . . . . . . . . . . 13 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → 𝑗 = 0)
10 simpr 490 . . . . . . . . . . . . . 14 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → 0 ≤ 𝑘)
119, 10eqbrtrd 5141 . . . . . . . . . . . . 13 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → 𝑗 ≤ 𝑘)
129, 11jca 521 . . . . . . . . . . . 12 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → (𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
138, 12impbida 813 . . . . . . . . . . 11 ((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) → ((𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ 0 ≤ 𝑘))
1413ralbidva 3198 . . . . . . . . . 10 (𝑗 = 0 → (∀𝑘 ∈ ℕ0 (𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ ∀𝑘 ∈ ℕ0 0 ≤ 𝑘))
157, 14bitrd 282 . . . . . . . . 9 (𝑗 = 0 → (∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ ∀𝑘 ∈ ℕ0 0 ≤ 𝑘))
1615rspcev 3587 . . . . . . . 8 ((0 ∈ ℕ0 ∧ ∀𝑘 ∈ ℕ0 0 ≤ 𝑘) → ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
171, 3, 16mp2an 705 . . . . . . 7 ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘)
18 rexanuz2nf.1 . . . . . . . . 9 𝑍 = ℕ0
19 nfcv 2937 . . . . . . . . 9 Ⅎ𝑗ℕ0
2018, 19nfcxfr 2935 . . . . . . . 8 Ⅎ𝑗𝑍
2120, 19, 18rexeqif 46613 . . . . . . 7 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
2217, 21mpbir 234 . . . . . 6 ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘)
23 rexanuz2nf.2 . . . . . . . 8 (𝜑 ↔ (𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
2423ralbii 3123 . . . . . . 7 (∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ↔ ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
2524rexbii 3124 . . . . . 6 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ↔ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
2622, 25mpbir 234 . . . . 5 ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑
27 1nn0 12681 . . . . . . . 8 1 ∈ ℕ0
28 nngt0 12428 . . . . . . . . 9 (𝑘 ∈ ℕ → 0 < 𝑘)
2928rgen 3093 . . . . . . . 8 ∀𝑘 ∈ ℕ 0 < 𝑘
30 fveq2 6934 . . . . . . . . . . 11 (𝑗 = 1 → (ℤ≥‘𝑗) = (ℤ≥‘1))
31 nnuz 13063 . . . . . . . . . . 11 ℕ = (ℤ≥‘1)
3230, 31eqtr4di 2827 . . . . . . . . . 10 (𝑗 = 1 → (ℤ≥‘𝑗) = ℕ)
3332raleqdv 3331 . . . . . . . . 9 (𝑗 = 1 → (∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘 ↔ ∀𝑘 ∈ ℕ 0 < 𝑘))
3433rspcev 3587 . . . . . . . 8 ((1 ∈ ℕ0 ∧ ∀𝑘 ∈ ℕ 0 < 𝑘) → ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘)
3527, 29, 34mp2an 705 . . . . . . 7 ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘
3620, 19, 18rexeqif 46613 . . . . . . 7 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘 ↔ ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘)
3735, 36mpbir 234 . . . . . 6 ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘
38 rexanuz2nf.3 . . . . . . . 8 (𝜓 ↔ 0 < 𝑘)
3938ralbii 3123 . . . . . . 7 (∀𝑘 ∈ (ℤ≥‘𝑗)𝜓 ↔ ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘)
4039rexbii 3124 . . . . . 6 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓 ↔ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘)
4137, 40mpbir 234 . . . . 5 ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓
4226, 41pm3.2i 476 . . . 4 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓)
43 nfv 1956 . . . . . . . . 9 Ⅎ𝑘 ¬ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗)
44 nfcv 2937 . . . . . . . . 9 Ⅎ𝑘𝑗
45 nfcv 2937 . . . . . . . . 9 Ⅎ𝑘(ℤ≥‘𝑗)
465uzid3 46877 . . . . . . . . . 10 (𝑗 ∈ ℕ0 → 𝑗 ∈ (ℤ≥‘𝑗))
4746adantr 486 . . . . . . . . 9 ((𝑗 ∈ ℕ0 ∧ 𝑗 = 0) → 𝑗 ∈ (ℤ≥‘𝑗))
48 0re 11368 . . . . . . . . . . . . . 14 0 ∈ ℝ
4948ltnri 11477 . . . . . . . . . . . . 13 ¬ 0 < 0
5049a1i 11 . . . . . . . . . . . 12 (𝑗 = 0 → ¬ 0 < 0)
51 eqcom 2781 . . . . . . . . . . . . 13 (𝑗 = 0 ↔ 0 = 𝑗)
5251biimpi 219 . . . . . . . . . . . 12 (𝑗 = 0 → 0 = 𝑗)
5350, 52brneqtrd 5137 . . . . . . . . . . 11 (𝑗 = 0 → ¬ 0 < 𝑗)
5453intnand 494 . . . . . . . . . 10 (𝑗 = 0 → ¬ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗))
5554adantl 487 . . . . . . . . 9 ((𝑗 ∈ ℕ0 ∧ 𝑗 = 0) → ¬ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗))
56 breq2 5120 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → (𝑗 ≤ 𝑘 ↔ 𝑗 ≤ 𝑗))
5756anbi2d 642 . . . . . . . . . . . 12 (𝑘 = 𝑗 → ((𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ (𝑗 = 0 ∧ 𝑗 ≤ 𝑗)))
5823, 57bitrid 286 . . . . . . . . . . 11 (𝑘 = 𝑗 → (𝜑 ↔ (𝑗 = 0 ∧ 𝑗 ≤ 𝑗)))
59 breq2 5120 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (0 < 𝑘 ↔ 0 < 𝑗))
6038, 59bitrid 286 . . . . . . . . . . 11 (𝑘 = 𝑗 → (𝜓 ↔ 0 < 𝑗))
6158, 60anbi12d 644 . . . . . . . . . 10 (𝑘 = 𝑗 → ((𝜑 ∧ 𝜓) ↔ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗)))
6261notbid 321 . . . . . . . . 9 (𝑘 = 𝑗 → (¬ (𝜑 ∧ 𝜓) ↔ ¬ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗)))
6343, 44, 45, 47, 55, 62rspced 46614 . . . . . . . 8 ((𝑗 ∈ ℕ0 ∧ 𝑗 = 0) → ∃𝑘 ∈ (ℤ≥‘𝑗) ¬ (𝜑 ∧ 𝜓))
6446adantr 486 . . . . . . . . 9 ((𝑗 ∈ ℕ0 ∧ ¬ 𝑗 = 0) → 𝑗 ∈ (ℤ≥‘𝑗))
65 id 23 . . . . . . . . . . . 12 (¬ 𝑗 = 0 → ¬ 𝑗 = 0)
6665intnanrd 495 . . . . . . . . . . 11 (¬ 𝑗 = 0 → ¬ (𝑗 = 0 ∧ 𝑗 ≤ 𝑗))
6766intnanrd 495 . . . . . . . . . 10 (¬ 𝑗 = 0 → ¬ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗))
6867adantl 487 . . . . . . . . 9 ((𝑗 ∈ ℕ0 ∧ ¬ 𝑗 = 0) → ¬ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗))
6943, 44, 45, 64, 68, 62rspced 46614 . . . . . . . 8 ((𝑗 ∈ ℕ0 ∧ ¬ 𝑗 = 0) → ∃𝑘 ∈ (ℤ≥‘𝑗) ¬ (𝜑 ∧ 𝜓))
7063, 69pm2.61dan 825 . . . . . . 7 (𝑗 ∈ ℕ0 → ∃𝑘 ∈ (ℤ≥‘𝑗) ¬ (𝜑 ∧ 𝜓))
71 rexnal 3129 . . . . . . 7 (∃𝑘 ∈ (ℤ≥‘𝑗) ¬ (𝜑 ∧ 𝜓) ↔ ¬ ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
7270, 71sylib 221 . . . . . 6 (𝑗 ∈ ℕ0 → ¬ ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
7372nrex 3105 . . . . 5 ¬ ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓)
7420, 19, 18rexeqif 46613 . . . . 5 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓) ↔ ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
7573, 74mtbir 326 . . . 4 ¬ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓)
7642, 75pm3.2i 476 . . 3 ((∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓) ∧ ¬ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
77 annim 409 . . 3 (((∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓) ∧ ¬ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓)) ↔ ¬ ((∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓) → ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓)))
7876, 77mpbi 233 . 2 ¬ ((∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓) → ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
7978nimnbi2 46611 1 ¬ (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓) ↔ (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101   class class class wbr 5116  ‘cfv 6579  0cc0 11258  1c1 11259   < clt 11401   ≤ cle 11402  ℕcn 12394  ℕ0cn0 12665  ℤ≥cuz 13024
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-cnex 11314  ax-resscn 11315  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-addrcl 11319  ax-mulcl 11320  ax-mulrcl 11321  ax-mulcom 11322  ax-addass 11323  ax-mulass 11324  ax-distr 11325  ax-i2m1 11326  ax-1ne0 11327  ax-1rid 11328  ax-rnegex 11329  ax-rrecex 11330  ax-cnre 11331  ax-pre-lttri 11332  ax-pre-lttrn 11333  ax-pre-ltadd 11334  ax-pre-mulgt0 11335
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-er 8774  df-en 9031  df-dom 9032  df-sdom 9033  df-pnf 11403  df-mnf 11404  df-xr 11405  df-ltxr 11406  df-le 11407  df-sub 11601  df-neg 11602  df-nn 12395  df-n0 12666  df-z 12753  df-uz 13025
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator