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 43912
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 2904 . . 3 𝑥𝐴
3 nfrab1 3296 . . 3 𝑥{𝑥𝐴𝐵𝐶}
42, 3nfdif 4040 . 2 𝑥(𝐴 ∖ {𝑥𝐴𝐵𝐶})
5 nfrab1 3296 . 2 𝑥{𝑥𝐴𝐶 < 𝐵}
6 eldifi 4041 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → 𝑥𝐴)
76adantl 485 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝑥𝐴)
8 eldifn 4042 . . . . . . 7 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → ¬ 𝑥 ∈ {𝑥𝐴𝐵𝐶})
96anim1i 618 . . . . . . . 8 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ∧ 𝐵𝐶) → (𝑥𝐴𝐵𝐶))
10 rabid 3290 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐵𝐶} ↔ (𝑥𝐴𝐵𝐶))
119, 10sylibr 237 . . . . . . 7 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ∧ 𝐵𝐶) → 𝑥 ∈ {𝑥𝐴𝐵𝐶})
128, 11mtand 816 . . . . . 6 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → ¬ 𝐵𝐶)
1312adantl 485 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → ¬ 𝐵𝐶)
14 preimalegt.c . . . . . . 7 (𝜑𝐶 ∈ ℝ*)
1514adantr 484 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐶 ∈ ℝ*)
16 preimalegt.b . . . . . . 7 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ*)
176, 16sylan2 596 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐵 ∈ ℝ*)
1815, 17xrltnled 42575 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
1913, 18mpbird 260 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐶 < 𝐵)
20 rabid 3290 . . . 4 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} ↔ (𝑥𝐴𝐶 < 𝐵))
217, 19, 20sylanbrc 586 . . 3 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝑥 ∈ {𝑥𝐴𝐶 < 𝐵})
22 rabidim1 3292 . . . . 5 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} → 𝑥𝐴)
2322adantl 485 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝑥𝐴)
24 rabidim2 42325 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} → 𝐶 < 𝐵)
2524adantl 485 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐶 < 𝐵)
2614adantr 484 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐶 ∈ ℝ*)
2722, 16sylan2 596 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐵 ∈ ℝ*)
2826, 27xrltnled 42575 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
2925, 28mpbid 235 . . . . . 6 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ 𝐵𝐶)
3029intnand 492 . . . . 5 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ (𝑥𝐴𝐵𝐶))
3130, 10sylnibr 332 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ 𝑥 ∈ {𝑥𝐴𝐵𝐶})
3223, 31eldifd 3877 . . 3 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}))
3321, 32impbida 801 . 2 (𝜑 → (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ↔ 𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}))
341, 4, 5, 33eqrd 3920 1 (𝜑 → (𝐴 ∖ {𝑥𝐴𝐵𝐶}) = {𝑥𝐴𝐶 < 𝐵})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399   = wceq 1543  wnf 1791  wcel 2110  {crab 3065  cdif 3863   class class class wbr 5053  *cxr 10866   < clt 10867  cle 10868
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-br 5054  df-opab 5116  df-xp 5557  df-cnv 5559  df-le 10873
This theorem is referenced by:  salpreimalegt  43919
  Copyright terms: Public domain W3C validator