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 46641
Description: A simple counterexample related to theorem rexanuz2 15529, demonstrating the necessity of its disjoint variable constraints. Here, 𝑗 appears free in 𝜑, showing that without these constraints, rexanuz2 15529 and similar theorems would not hold (see rexanre 15526 and rexanuz 15525). (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 12631 . . . . . . . 8 0 ∈ ℕ0
2 nn0ge0 12641 . . . . . . . . 9 (𝑘 ∈ ℕ0 → 0 ≤ 𝑘)
32rgen 3081 . . . . . . . 8 ∀𝑘 ∈ ℕ0 0 ≤ 𝑘
4 fveq2 6893 . . . . . . . . . . . 12 (𝑗 = 0 → (ℤ≥‘𝑗) = (ℤ≥‘0))
5 nn0uz 13013 . . . . . . . . . . . 12 ℕ0 = (ℤ≥‘0)
64, 5eqtr4di 2816 . . . . . . . . . . 11 (𝑗 = 0 → (ℤ≥‘𝑗) = ℕ0)
76raleqdv 3322 . . . . . . . . . 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 5129 . . . . . . . . . . . . 13 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → 𝑗 ≤ 𝑘)
129, 11jca 521 . . . . . . . . . . . 12 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → (𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
138, 12impbida 813 . . . . . . . . . . 11 ((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) → ((𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ 0 ≤ 𝑘))
1413ralbidva 3186 . . . . . . . . . 10 (𝑗 = 0 → (∀𝑘 ∈ ℕ0 (𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ ∀𝑘 ∈ ℕ0 0 ≤ 𝑘))
157, 14bitrd 282 . . . . . . . . 9 (𝑗 = 0 → (∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ ∀𝑘 ∈ ℕ0 0 ≤ 𝑘))
1615rspcev 3579 . . . . . . . 8 ((0 ∈ ℕ0 ∧ ∀𝑘 ∈ ℕ0 0 ≤ 𝑘) → ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
171, 3, 16mp2an 705 . . . . . . 7 ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘)
18 rexanuz2nf.1 . . . . . . . . 9 𝑍 = ℕ0
19 nfcv 2925 . . . . . . . . 9 Ⅎ𝑗ℕ0
2018, 19nfcxfr 2923 . . . . . . . 8 Ⅎ𝑗𝑍
2120, 19, 18rexeqif 46320 . . . . . . 7 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
2217, 21mpbir 234 . . . . . 6 ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘)
23 rexanuz2nf.2 . . . . . . . 8 (𝜑 ↔ (𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
2423ralbii 3111 . . . . . . 7 (∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ↔ ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
2524rexbii 3112 . . . . . 6 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ↔ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝑗 = 0 ∧ 𝑗 ≤ 𝑘))
2622, 25mpbir 234 . . . . 5 ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑
27 1nn0 12632 . . . . . . . 8 1 ∈ ℕ0
28 nngt0 12379 . . . . . . . . 9 (𝑘 ∈ ℕ → 0 < 𝑘)
2928rgen 3081 . . . . . . . 8 ∀𝑘 ∈ ℕ 0 < 𝑘
30 fveq2 6893 . . . . . . . . . . 11 (𝑗 = 1 → (ℤ≥‘𝑗) = (ℤ≥‘1))
31 nnuz 13014 . . . . . . . . . . 11 ℕ = (ℤ≥‘1)
3230, 31eqtr4di 2816 . . . . . . . . . 10 (𝑗 = 1 → (ℤ≥‘𝑗) = ℕ)
3332raleqdv 3322 . . . . . . . . 9 (𝑗 = 1 → (∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘 ↔ ∀𝑘 ∈ ℕ 0 < 𝑘))
3433rspcev 3579 . . . . . . . 8 ((1 ∈ ℕ0 ∧ ∀𝑘 ∈ ℕ 0 < 𝑘) → ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘)
3527, 29, 34mp2an 705 . . . . . . 7 ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘
3620, 19, 18rexeqif 46320 . . . . . . 7 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘 ↔ ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘)
3735, 36mpbir 234 . . . . . 6 ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘
38 rexanuz2nf.3 . . . . . . . 8 (𝜓 ↔ 0 < 𝑘)
3938ralbii 3111 . . . . . . 7 (∀𝑘 ∈ (ℤ≥‘𝑗)𝜓 ↔ ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘)
4039rexbii 3112 . . . . . 6 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓 ↔ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)0 < 𝑘)
4137, 40mpbir 234 . . . . 5 ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓
4226, 41pm3.2i 476 . . . 4 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓)
43 nfv 1948 . . . . . . . . 9 Ⅎ𝑘 ¬ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗)
44 nfcv 2925 . . . . . . . . 9 Ⅎ𝑘𝑗
45 nfcv 2925 . . . . . . . . 9 Ⅎ𝑘(ℤ≥‘𝑗)
465uzid3 46584 . . . . . . . . . 10 (𝑗 ∈ ℕ0 → 𝑗 ∈ (ℤ≥‘𝑗))
4746adantr 486 . . . . . . . . 9 ((𝑗 ∈ ℕ0 ∧ 𝑗 = 0) → 𝑗 ∈ (ℤ≥‘𝑗))
48 0re 11320 . . . . . . . . . . . . . 14 0 ∈ ℝ
4948ltnri 11429 . . . . . . . . . . . . 13 ¬ 0 < 0
5049a1i 11 . . . . . . . . . . . 12 (𝑗 = 0 → ¬ 0 < 0)
51 eqcom 2770 . . . . . . . . . . . . 13 (𝑗 = 0 ↔ 0 = 𝑗)
5251biimpi 219 . . . . . . . . . . . 12 (𝑗 = 0 → 0 = 𝑗)
5350, 52brneqtrd 46232 . . . . . . . . . . 11 (𝑗 = 0 → ¬ 0 < 𝑗)
5453intnand 494 . . . . . . . . . 10 (𝑗 = 0 → ¬ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗))
5554adantl 487 . . . . . . . . 9 ((𝑗 ∈ ℕ0 ∧ 𝑗 = 0) → ¬ ((𝑗 = 0 ∧ 𝑗 ≤ 𝑗) ∧ 0 < 𝑗))
56 breq2 5109 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → (𝑗 ≤ 𝑘 ↔ 𝑗 ≤ 𝑗))
5756anbi2d 642 . . . . . . . . . . . 12 (𝑘 = 𝑗 → ((𝑗 = 0 ∧ 𝑗 ≤ 𝑘) ↔ (𝑗 = 0 ∧ 𝑗 ≤ 𝑗)))
5823, 57bitrid 286 . . . . . . . . . . 11 (𝑘 = 𝑗 → (𝜑 ↔ (𝑗 = 0 ∧ 𝑗 ≤ 𝑗)))
59 breq2 5109 . . . . . . . . . . . 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 46321 . . . . . . . 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 46321 . . . . . . . 8 ((𝑗 ∈ ℕ0 ∧ ¬ 𝑗 = 0) → ∃𝑘 ∈ (ℤ≥‘𝑗) ¬ (𝜑 ∧ 𝜓))
7063, 69pm2.61dan 825 . . . . . . 7 (𝑗 ∈ ℕ0 → ∃𝑘 ∈ (ℤ≥‘𝑗) ¬ (𝜑 ∧ 𝜓))
71 rexnal 3117 . . . . . . 7 (∃𝑘 ∈ (ℤ≥‘𝑗) ¬ (𝜑 ∧ 𝜓) ↔ ¬ ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
7270, 71sylib 221 . . . . . 6 (𝑗 ∈ ℕ0 → ¬ ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
7372nrex 3093 . . . . 5 ¬ ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓)
7420, 19, 18rexeqif 46320 . . . . 5 (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓) ↔ ∃𝑗 ∈ ℕ0 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
7573, 74mtbir 326 . . . 4 ¬ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓)
7642, 75pm3.2i 476 . . 3 ((∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓) ∧ ¬ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
77 annim 409 . . 3 (((∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓) ∧ ¬ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓)) ↔ ¬ ((∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓) → ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓)))
7876, 77mpbi 233 . 2 ¬ ((∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓) → ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓))
7978nimnbi2 46318 1 ¬ (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)(𝜑 ∧ 𝜓) ↔ (∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜑 ∧ ∃𝑗 ∈ 𝑍 ∀𝑘 ∈ (ℤ≥‘𝑗)𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2146  ∀wral 3079  ∃wrex 3089   class class class wbr 5105  ‘cfv 6546  0cc0 11210  1c1 11211   < clt 11353   ≤ cle 11354  ℕcn 12345  ℕ0cn0 12616  ℤ≥cuz 12975
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pow 5330  ax-pr 5394  ax-un 7758  ax-cnex 11266  ax-resscn 11267  ax-1cn 11268  ax-icn 11269  ax-addcl 11270  ax-addrcl 11271  ax-mulcl 11272  ax-mulrcl 11273  ax-mulcom 11274  ax-addass 11275  ax-mulass 11276  ax-distr 11277  ax-i2m1 11278  ax-1ne0 11279  ax-1rid 11280  ax-rnegex 11281  ax-rrecex 11282  ax-cnre 11283  ax-pre-lttri 11284  ax-pre-lttrn 11285  ax-pre-ltadd 11286  ax-pre-mulgt0 11287
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 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3065  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-tr 5215  df-id 5549  df-eprel 5554  df-po 5562  df-so 5563  df-fr 5607  df-we 5609  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-pred 6310  df-ord 6371  df-on 6372  df-lim 6373  df-suc 6374  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-riota 7384  df-ov 7430  df-oprab 7431  df-mpo 7432  df-om 7885  df-2nd 8009  df-frecs 8310  df-wrecs 8341  df-recs 8390  df-rdg 8429  df-er 8728  df-en 8985  df-dom 8986  df-sdom 8987  df-pnf 11355  df-mnf 11356  df-xr 11357  df-ltxr 11358  df-le 11359  df-sub 11553  df-neg 11554  df-nn 12346  df-n0 12617  df-z 12704  df-uz 12976
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator