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 42974
Description: The preimage of a right-open, unbounded below interval, is the complement of a left-closed 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 . 2 𝑥𝜑
2 nfcv 2977 . . 3 𝑥𝐴
3 nfrab1 3384 . . 3 𝑥{𝑥𝐴𝐶𝐵}
42, 3nfdif 4101 . 2 𝑥(𝐴 ∖ {𝑥𝐴𝐶𝐵})
5 nfrab1 3384 . 2 𝑥{𝑥𝐴𝐵 < 𝐶}
6 eldifi 4102 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) → 𝑥𝐴)
76adantl 484 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝑥𝐴)
8 eldifn 4103 . . . . . . 7 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) → ¬ 𝑥 ∈ {𝑥𝐴𝐶𝐵})
96anim1i 616 . . . . . . . 8 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ∧ 𝐶𝐵) → (𝑥𝐴𝐶𝐵))
10 rabid 3378 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐶𝐵} ↔ (𝑥𝐴𝐶𝐵))
119, 10sylibr 236 . . . . . . 7 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ∧ 𝐶𝐵) → 𝑥 ∈ {𝑥𝐴𝐶𝐵})
128, 11mtand 814 . . . . . 6 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) → ¬ 𝐶𝐵)
1312adantl 484 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → ¬ 𝐶𝐵)
14 preimagelt.b . . . . . . 7 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ*)
156, 14sylan2 594 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝐵 ∈ ℝ*)
16 preimagelt.c . . . . . . 7 (𝜑𝐶 ∈ ℝ*)
1716adantr 483 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝐶 ∈ ℝ*)
1815, 17xrltnled 41624 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → (𝐵 < 𝐶 ↔ ¬ 𝐶𝐵))
1913, 18mpbird 259 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝐵 < 𝐶)
20 rabid 3378 . . . 4 (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} ↔ (𝑥𝐴𝐵 < 𝐶))
217, 19, 20sylanbrc 585 . . 3 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝑥 ∈ {𝑥𝐴𝐵 < 𝐶})
22 rabidim1 3380 . . . . 5 (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} → 𝑥𝐴)
2322adantl 484 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝑥𝐴)
24 rabidim2 41361 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} → 𝐵 < 𝐶)
2524adantl 484 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝐵 < 𝐶)
2622, 14sylan2 594 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝐵 ∈ ℝ*)
2716adantr 483 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝐶 ∈ ℝ*)
2826, 27xrltnled 41624 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → (𝐵 < 𝐶 ↔ ¬ 𝐶𝐵))
2925, 28mpbid 234 . . . . . 6 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → ¬ 𝐶𝐵)
3029intnand 491 . . . . 5 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → ¬ (𝑥𝐴𝐶𝐵))
3130, 10sylnibr 331 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → ¬ 𝑥 ∈ {𝑥𝐴𝐶𝐵})
3223, 31eldifd 3946 . . 3 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}))
3321, 32impbida 799 . 2 (𝜑 → (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ↔ 𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}))
341, 4, 5, 33eqrd 3985 1 (𝜑 → (𝐴 ∖ {𝑥𝐴𝐶𝐵}) = {𝑥𝐴𝐵 < 𝐶})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1533  wnf 1780  wcel 2110  {crab 3142  cdif 3932   class class class wbr 5058  *cxr 10668   < clt 10669  cle 10670
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pr 5321
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-br 5059  df-opab 5121  df-xp 5555  df-cnv 5557  df-le 10675
This theorem is referenced by:  salpreimagelt  42980
  Copyright terms: Public domain W3C validator