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

Theorem preimagelt 40912
Description: The preimage of a right-open, unbounded below interval, is the complement of a left-close, unbounded above interval. (Contributed by Glauco Siliprandi, 26-Jun-2021.)
Hypotheses
Ref Expression
preimagelt.x 𝑥𝜑
preimagelt.b ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ*)
preimagelt.c (𝜑𝐶 ∈ ℝ*)
Assertion
Ref Expression
preimagelt (𝜑 → (𝐴 ∖ {𝑥𝐴𝐶𝐵}) = {𝑥𝐴𝐵 < 𝐶})
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝜑(𝑥)   𝐵(𝑥)   𝐶(𝑥)

Proof of Theorem preimagelt
StepHypRef Expression
1 preimagelt.x . . 3 𝑥𝜑
2 eldifi 3732 . . . . . . . 8 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) → 𝑥𝐴)
32adantl 482 . . . . . . 7 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝑥𝐴)
42anim1i 592 . . . . . . . . . . 11 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ∧ 𝐶𝐵) → (𝑥𝐴𝐶𝐵))
5 rabid 3116 . . . . . . . . . . 11 (𝑥 ∈ {𝑥𝐴𝐶𝐵} ↔ (𝑥𝐴𝐶𝐵))
64, 5sylibr 224 . . . . . . . . . 10 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ∧ 𝐶𝐵) → 𝑥 ∈ {𝑥𝐴𝐶𝐵})
7 eldifn 3733 . . . . . . . . . . 11 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) → ¬ 𝑥 ∈ {𝑥𝐴𝐶𝐵})
87adantr 481 . . . . . . . . . 10 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ∧ 𝐶𝐵) → ¬ 𝑥 ∈ {𝑥𝐴𝐶𝐵})
96, 8pm2.65da 600 . . . . . . . . 9 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) → ¬ 𝐶𝐵)
109adantl 482 . . . . . . . 8 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → ¬ 𝐶𝐵)
11 preimagelt.b . . . . . . . . . 10 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ*)
123, 11syldan 487 . . . . . . . . 9 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝐵 ∈ ℝ*)
13 preimagelt.c . . . . . . . . . 10 (𝜑𝐶 ∈ ℝ*)
1413adantr 481 . . . . . . . . 9 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝐶 ∈ ℝ*)
1512, 14xrltnled 39579 . . . . . . . 8 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → (𝐵 < 𝐶 ↔ ¬ 𝐶𝐵))
1610, 15mpbird 247 . . . . . . 7 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝐵 < 𝐶)
173, 16jca 554 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → (𝑥𝐴𝐵 < 𝐶))
18 rabid 3116 . . . . . 6 (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} ↔ (𝑥𝐴𝐵 < 𝐶))
1917, 18sylibr 224 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝑥 ∈ {𝑥𝐴𝐵 < 𝐶})
2019ex 450 . . . 4 (𝜑 → (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) → 𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}))
2118simplbi 476 . . . . . . 7 (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} → 𝑥𝐴)
2221adantl 482 . . . . . 6 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝑥𝐴)
2318simprbi 480 . . . . . . . . . 10 (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} → 𝐵 < 𝐶)
2423adantl 482 . . . . . . . . 9 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝐵 < 𝐶)
2522, 11syldan 487 . . . . . . . . . 10 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝐵 ∈ ℝ*)
2613adantr 481 . . . . . . . . . 10 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝐶 ∈ ℝ*)
2725, 26xrltnled 39579 . . . . . . . . 9 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → (𝐵 < 𝐶 ↔ ¬ 𝐶𝐵))
2824, 27mpbid 222 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → ¬ 𝐶𝐵)
2928intnand 962 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → ¬ (𝑥𝐴𝐶𝐵))
3029, 5sylnibr 319 . . . . . 6 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → ¬ 𝑥 ∈ {𝑥𝐴𝐶𝐵})
3122, 30eldifd 3585 . . . . 5 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}))
3231ex 450 . . . 4 (𝜑 → (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} → 𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})))
3320, 32impbid 202 . . 3 (𝜑 → (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ↔ 𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}))
341, 33alrimi 2082 . 2 (𝜑 → ∀𝑥(𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ↔ 𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}))
35 nfcv 2764 . . . 4 𝑥𝐴
36 nfrab1 3122 . . . 4 𝑥{𝑥𝐴𝐶𝐵}
3735, 36nfdif 3731 . . 3 𝑥(𝐴 ∖ {𝑥𝐴𝐶𝐵})
38 nfrab1 3122 . . 3 𝑥{𝑥𝐴𝐵 < 𝐶}
3937, 38dfcleqf 39255 . 2 ((𝐴 ∖ {𝑥𝐴𝐶𝐵}) = {𝑥𝐴𝐵 < 𝐶} ↔ ∀𝑥(𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ↔ 𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}))
4034, 39sylibr 224 1 (𝜑 → (𝐴 ∖ {𝑥𝐴𝐶𝐵}) = {𝑥𝐴𝐵 < 𝐶})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384  wal 1481   = wceq 1483  wnf 1708  wcel 1990  {crab 2916  cdif 3571   class class class wbr 4653  *cxr 10073   < clt 10074  cle 10075
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-opab 4713  df-xp 5120  df-cnv 5122  df-le 10080
This theorem is referenced by:  salpreimagelt  40918
  Copyright terms: Public domain W3C validator