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 45408
Description: A simple counterexample related to theorem rexanuz2 15398, demonstrating the necessity of its disjoint variable constraints. Here, 𝑗 appears free in 𝜑, showing that without these constraints, rexanuz2 15398 and similar theorems would not hold (see rexanre 15395 and rexanuz 15394). (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 12568 . . . . . . . 8 0 ∈ ℕ0
2 nn0ge0 12578 . . . . . . . . 9 (𝑘 ∈ ℕ0 → 0 ≤ 𝑘)
32rgen 3069 . . . . . . . 8 𝑘 ∈ ℕ0 0 ≤ 𝑘
4 fveq2 6920 . . . . . . . . . . . 12 (𝑗 = 0 → (ℤ𝑗) = (ℤ‘0))
5 nn0uz 12945 . . . . . . . . . . . 12 0 = (ℤ‘0)
64, 5eqtr4di 2798 . . . . . . . . . . 11 (𝑗 = 0 → (ℤ𝑗) = ℕ0)
76raleqdv 3334 . . . . . . . . . 10 (𝑗 = 0 → (∀𝑘 ∈ (ℤ𝑗)(𝑗 = 0 ∧ 𝑗𝑘) ↔ ∀𝑘 ∈ ℕ0 (𝑗 = 0 ∧ 𝑗𝑘)))
82ad2antlr 726 . . . . . . . . . . . 12 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ (𝑗 = 0 ∧ 𝑗𝑘)) → 0 ≤ 𝑘)
9 simpll 766 . . . . . . . . . . . . 13 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → 𝑗 = 0)
10 simpr 484 . . . . . . . . . . . . . 14 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → 0 ≤ 𝑘)
119, 10eqbrtrd 5188 . . . . . . . . . . . . 13 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → 𝑗𝑘)
129, 11jca 511 . . . . . . . . . . . 12 (((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) ∧ 0 ≤ 𝑘) → (𝑗 = 0 ∧ 𝑗𝑘))
138, 12impbida 800 . . . . . . . . . . 11 ((𝑗 = 0 ∧ 𝑘 ∈ ℕ0) → ((𝑗 = 0 ∧ 𝑗𝑘) ↔ 0 ≤ 𝑘))
1413ralbidva 3182 . . . . . . . . . 10 (𝑗 = 0 → (∀𝑘 ∈ ℕ0 (𝑗 = 0 ∧ 𝑗𝑘) ↔ ∀𝑘 ∈ ℕ0 0 ≤ 𝑘))
157, 14bitrd 279 . . . . . . . . 9 (𝑗 = 0 → (∀𝑘 ∈ (ℤ𝑗)(𝑗 = 0 ∧ 𝑗𝑘) ↔ ∀𝑘 ∈ ℕ0 0 ≤ 𝑘))
1615rspcev 3635 . . . . . . . 8 ((0 ∈ ℕ0 ∧ ∀𝑘 ∈ ℕ0 0 ≤ 𝑘) → ∃𝑗 ∈ ℕ0𝑘 ∈ (ℤ𝑗)(𝑗 = 0 ∧ 𝑗𝑘))
171, 3, 16mp2an 691 . . . . . . 7 𝑗 ∈ ℕ0𝑘 ∈ (ℤ𝑗)(𝑗 = 0 ∧ 𝑗𝑘)
18 rexanuz2nf.1 . . . . . . . . 9 𝑍 = ℕ0
19 nfcv 2908 . . . . . . . . 9 𝑗0
2018, 19nfcxfr 2906 . . . . . . . 8 𝑗𝑍
2120, 19, 18rexeqif 45072 . . . . . . 7 (∃𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝑗 = 0 ∧ 𝑗𝑘) ↔ ∃𝑗 ∈ ℕ0𝑘 ∈ (ℤ𝑗)(𝑗 = 0 ∧ 𝑗𝑘))
2217, 21mpbir 231 . . . . . 6 𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝑗 = 0 ∧ 𝑗𝑘)
23 rexanuz2nf.2 . . . . . . . 8 (𝜑 ↔ (𝑗 = 0 ∧ 𝑗𝑘))
2423ralbii 3099 . . . . . . 7 (∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑘 ∈ (ℤ𝑗)(𝑗 = 0 ∧ 𝑗𝑘))
2524rexbii 3100 . . . . . 6 (∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝑗 = 0 ∧ 𝑗𝑘))
2622, 25mpbir 231 . . . . 5 𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜑
27 1nn0 12569 . . . . . . . 8 1 ∈ ℕ0
28 nngt0 12324 . . . . . . . . 9 (𝑘 ∈ ℕ → 0 < 𝑘)
2928rgen 3069 . . . . . . . 8 𝑘 ∈ ℕ 0 < 𝑘
30 fveq2 6920 . . . . . . . . . . 11 (𝑗 = 1 → (ℤ𝑗) = (ℤ‘1))
31 nnuz 12946 . . . . . . . . . . 11 ℕ = (ℤ‘1)
3230, 31eqtr4di 2798 . . . . . . . . . 10 (𝑗 = 1 → (ℤ𝑗) = ℕ)
3332raleqdv 3334 . . . . . . . . 9 (𝑗 = 1 → (∀𝑘 ∈ (ℤ𝑗)0 < 𝑘 ↔ ∀𝑘 ∈ ℕ 0 < 𝑘))
3433rspcev 3635 . . . . . . . 8 ((1 ∈ ℕ0 ∧ ∀𝑘 ∈ ℕ 0 < 𝑘) → ∃𝑗 ∈ ℕ0𝑘 ∈ (ℤ𝑗)0 < 𝑘)
3527, 29, 34mp2an 691 . . . . . . 7 𝑗 ∈ ℕ0𝑘 ∈ (ℤ𝑗)0 < 𝑘
3620, 19, 18rexeqif 45072 . . . . . . 7 (∃𝑗𝑍𝑘 ∈ (ℤ𝑗)0 < 𝑘 ↔ ∃𝑗 ∈ ℕ0𝑘 ∈ (ℤ𝑗)0 < 𝑘)
3735, 36mpbir 231 . . . . . 6 𝑗𝑍𝑘 ∈ (ℤ𝑗)0 < 𝑘
38 rexanuz2nf.3 . . . . . . . 8 (𝜓 ↔ 0 < 𝑘)
3938ralbii 3099 . . . . . . 7 (∀𝑘 ∈ (ℤ𝑗)𝜓 ↔ ∀𝑘 ∈ (ℤ𝑗)0 < 𝑘)
4039rexbii 3100 . . . . . 6 (∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜓 ↔ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)0 < 𝑘)
4137, 40mpbir 231 . . . . 5 𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜓
4226, 41pm3.2i 470 . . . 4 (∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜓)
43 nfv 1913 . . . . . . . . 9 𝑘 ¬ ((𝑗 = 0 ∧ 𝑗𝑗) ∧ 0 < 𝑗)
44 nfcv 2908 . . . . . . . . 9 𝑘𝑗
45 nfcv 2908 . . . . . . . . 9 𝑘(ℤ𝑗)
465uzid3 45350 . . . . . . . . . 10 (𝑗 ∈ ℕ0𝑗 ∈ (ℤ𝑗))
4746adantr 480 . . . . . . . . 9 ((𝑗 ∈ ℕ0𝑗 = 0) → 𝑗 ∈ (ℤ𝑗))
48 0re 11292 . . . . . . . . . . . . . 14 0 ∈ ℝ
4948ltnri 11399 . . . . . . . . . . . . 13 ¬ 0 < 0
5049a1i 11 . . . . . . . . . . . 12 (𝑗 = 0 → ¬ 0 < 0)
51 eqcom 2747 . . . . . . . . . . . . 13 (𝑗 = 0 ↔ 0 = 𝑗)
5251biimpi 216 . . . . . . . . . . . 12 (𝑗 = 0 → 0 = 𝑗)
5350, 52brneqtrd 44978 . . . . . . . . . . 11 (𝑗 = 0 → ¬ 0 < 𝑗)
5453intnand 488 . . . . . . . . . 10 (𝑗 = 0 → ¬ ((𝑗 = 0 ∧ 𝑗𝑗) ∧ 0 < 𝑗))
5554adantl 481 . . . . . . . . 9 ((𝑗 ∈ ℕ0𝑗 = 0) → ¬ ((𝑗 = 0 ∧ 𝑗𝑗) ∧ 0 < 𝑗))
56 breq2 5170 . . . . . . . . . . . . 13 (𝑘 = 𝑗 → (𝑗𝑘𝑗𝑗))
5756anbi2d 629 . . . . . . . . . . . 12 (𝑘 = 𝑗 → ((𝑗 = 0 ∧ 𝑗𝑘) ↔ (𝑗 = 0 ∧ 𝑗𝑗)))
5823, 57bitrid 283 . . . . . . . . . . 11 (𝑘 = 𝑗 → (𝜑 ↔ (𝑗 = 0 ∧ 𝑗𝑗)))
59 breq2 5170 . . . . . . . . . . . 12 (𝑘 = 𝑗 → (0 < 𝑘 ↔ 0 < 𝑗))
6038, 59bitrid 283 . . . . . . . . . . 11 (𝑘 = 𝑗 → (𝜓 ↔ 0 < 𝑗))
6158, 60anbi12d 631 . . . . . . . . . 10 (𝑘 = 𝑗 → ((𝜑𝜓) ↔ ((𝑗 = 0 ∧ 𝑗𝑗) ∧ 0 < 𝑗)))
6261notbid 318 . . . . . . . . 9 (𝑘 = 𝑗 → (¬ (𝜑𝜓) ↔ ¬ ((𝑗 = 0 ∧ 𝑗𝑗) ∧ 0 < 𝑗)))
6343, 44, 45, 47, 55, 62rspced 45073 . . . . . . . 8 ((𝑗 ∈ ℕ0𝑗 = 0) → ∃𝑘 ∈ (ℤ𝑗) ¬ (𝜑𝜓))
6446adantr 480 . . . . . . . . 9 ((𝑗 ∈ ℕ0 ∧ ¬ 𝑗 = 0) → 𝑗 ∈ (ℤ𝑗))
65 id 22 . . . . . . . . . . . 12 𝑗 = 0 → ¬ 𝑗 = 0)
6665intnanrd 489 . . . . . . . . . . 11 𝑗 = 0 → ¬ (𝑗 = 0 ∧ 𝑗𝑗))
6766intnanrd 489 . . . . . . . . . 10 𝑗 = 0 → ¬ ((𝑗 = 0 ∧ 𝑗𝑗) ∧ 0 < 𝑗))
6867adantl 481 . . . . . . . . 9 ((𝑗 ∈ ℕ0 ∧ ¬ 𝑗 = 0) → ¬ ((𝑗 = 0 ∧ 𝑗𝑗) ∧ 0 < 𝑗))
6943, 44, 45, 64, 68, 62rspced 45073 . . . . . . . 8 ((𝑗 ∈ ℕ0 ∧ ¬ 𝑗 = 0) → ∃𝑘 ∈ (ℤ𝑗) ¬ (𝜑𝜓))
7063, 69pm2.61dan 812 . . . . . . 7 (𝑗 ∈ ℕ0 → ∃𝑘 ∈ (ℤ𝑗) ¬ (𝜑𝜓))
71 rexnal 3106 . . . . . . 7 (∃𝑘 ∈ (ℤ𝑗) ¬ (𝜑𝜓) ↔ ¬ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
7270, 71sylib 218 . . . . . 6 (𝑗 ∈ ℕ0 → ¬ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
7372nrex 3080 . . . . 5 ¬ ∃𝑗 ∈ ℕ0𝑘 ∈ (ℤ𝑗)(𝜑𝜓)
7420, 19, 18rexeqif 45072 . . . . 5 (∃𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝜑𝜓) ↔ ∃𝑗 ∈ ℕ0𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
7573, 74mtbir 323 . . . 4 ¬ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝜑𝜓)
7642, 75pm3.2i 470 . . 3 ((∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜓) ∧ ¬ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
77 annim 403 . . 3 (((∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜓) ∧ ¬ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝜑𝜓)) ↔ ¬ ((∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜓) → ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝜑𝜓)))
7876, 77mpbi 230 . 2 ¬ ((∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜓) → ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
7978nimnbi2 45070 1 ¬ (∃𝑗𝑍𝑘 ∈ (ℤ𝑗)(𝜑𝜓) ↔ (∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗𝑍𝑘 ∈ (ℤ𝑗)𝜓))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395   = wceq 1537  wcel 2108  wral 3067  wrex 3076   class class class wbr 5166  cfv 6573  0cc0 11184  1c1 11185   < clt 11324  cle 11325  cn 12293  0cn0 12553  cuz 12903
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pow 5383  ax-pr 5447  ax-un 7770  ax-cnex 11240  ax-resscn 11241  ax-1cn 11242  ax-icn 11243  ax-addcl 11244  ax-addrcl 11245  ax-mulcl 11246  ax-mulrcl 11247  ax-mulcom 11248  ax-addass 11249  ax-mulass 11250  ax-distr 11251  ax-i2m1 11252  ax-1ne0 11253  ax-1rid 11254  ax-rnegex 11255  ax-rrecex 11256  ax-cnre 11257  ax-pre-lttri 11258  ax-pre-lttrn 11259  ax-pre-ltadd 11260  ax-pre-mulgt0 11261
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3or 1088  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-nel 3053  df-ral 3068  df-rex 3077  df-reu 3389  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-pss 3996  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-iun 5017  df-br 5167  df-opab 5229  df-mpt 5250  df-tr 5284  df-id 5593  df-eprel 5599  df-po 5607  df-so 5608  df-fr 5652  df-we 5654  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-pred 6332  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6525  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7404  df-ov 7451  df-oprab 7452  df-mpo 7453  df-om 7904  df-2nd 8031  df-frecs 8322  df-wrecs 8353  df-recs 8427  df-rdg 8466  df-er 8763  df-en 9004  df-dom 9005  df-sdom 9006  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11522  df-neg 11523  df-nn 12294  df-n0 12554  df-z 12640  df-uz 12904
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator