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

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

Proof of Theorem preimalegt
StepHypRef Expression
1 preimalegt.x . 2 𝑥𝜑
2 nfcv 2906 . . 3 𝑥𝐴
3 nfrab1 3310 . . 3 𝑥{𝑥𝐴𝐵𝐶}
42, 3nfdif 4056 . 2 𝑥(𝐴 ∖ {𝑥𝐴𝐵𝐶})
5 nfrab1 3310 . 2 𝑥{𝑥𝐴𝐶 < 𝐵}
6 eldifi 4057 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → 𝑥𝐴)
76adantl 481 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝑥𝐴)
8 eldifn 4058 . . . . . . 7 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → ¬ 𝑥 ∈ {𝑥𝐴𝐵𝐶})
96anim1i 614 . . . . . . . 8 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ∧ 𝐵𝐶) → (𝑥𝐴𝐵𝐶))
10 rabid 3304 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐵𝐶} ↔ (𝑥𝐴𝐵𝐶))
119, 10sylibr 233 . . . . . . 7 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ∧ 𝐵𝐶) → 𝑥 ∈ {𝑥𝐴𝐵𝐶})
128, 11mtand 812 . . . . . 6 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → ¬ 𝐵𝐶)
1312adantl 481 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → ¬ 𝐵𝐶)
14 preimalegt.c . . . . . . 7 (𝜑𝐶 ∈ ℝ*)
1514adantr 480 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐶 ∈ ℝ*)
16 preimalegt.b . . . . . . 7 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ*)
176, 16sylan2 592 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐵 ∈ ℝ*)
1815, 17xrltnled 42792 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
1913, 18mpbird 256 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐶 < 𝐵)
20 rabid 3304 . . . 4 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} ↔ (𝑥𝐴𝐶 < 𝐵))
217, 19, 20sylanbrc 582 . . 3 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝑥 ∈ {𝑥𝐴𝐶 < 𝐵})
22 rabidim1 3306 . . . . 5 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} → 𝑥𝐴)
2322adantl 481 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝑥𝐴)
24 rabidim2 42541 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} → 𝐶 < 𝐵)
2524adantl 481 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐶 < 𝐵)
2614adantr 480 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐶 ∈ ℝ*)
2722, 16sylan2 592 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐵 ∈ ℝ*)
2826, 27xrltnled 42792 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
2925, 28mpbid 231 . . . . . 6 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ 𝐵𝐶)
3029intnand 488 . . . . 5 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ (𝑥𝐴𝐵𝐶))
3130, 10sylnibr 328 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ 𝑥 ∈ {𝑥𝐴𝐵𝐶})
3223, 31eldifd 3894 . . 3 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}))
3321, 32impbida 797 . 2 (𝜑 → (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ↔ 𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}))
341, 4, 5, 33eqrd 3936 1 (𝜑 → (𝐴 ∖ {𝑥𝐴𝐵𝐶}) = {𝑥𝐴𝐶 < 𝐵})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1539  wnf 1787  wcel 2108  {crab 3067  cdif 3880   class class class wbr 5070  *cxr 10939   < clt 10940  cle 10941
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-xp 5586  df-cnv 5588  df-le 10946
This theorem is referenced by:  salpreimalegt  44134
  Copyright terms: Public domain W3C validator