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 42987
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 2979 . . 3 𝑥𝐴
3 nfrab1 3386 . . 3 𝑥{𝑥𝐴𝐶𝐵}
42, 3nfdif 4104 . 2 𝑥(𝐴 ∖ {𝑥𝐴𝐶𝐵})
5 nfrab1 3386 . 2 𝑥{𝑥𝐴𝐵 < 𝐶}
6 eldifi 4105 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) → 𝑥𝐴)
76adantl 484 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝑥𝐴)
8 eldifn 4106 . . . . . . 7 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) → ¬ 𝑥 ∈ {𝑥𝐴𝐶𝐵})
96anim1i 616 . . . . . . . 8 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ∧ 𝐶𝐵) → (𝑥𝐴𝐶𝐵))
10 rabid 3380 . . . . . . . 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 41638 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → (𝐵 < 𝐶 ↔ ¬ 𝐶𝐵))
1913, 18mpbird 259 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝐵 < 𝐶)
20 rabid 3380 . . . 4 (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} ↔ (𝑥𝐴𝐵 < 𝐶))
217, 19, 20sylanbrc 585 . . 3 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵})) → 𝑥 ∈ {𝑥𝐴𝐵 < 𝐶})
22 rabidim1 3382 . . . . 5 (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} → 𝑥𝐴)
2322adantl 484 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝑥𝐴)
24 rabidim2 41375 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐵 < 𝐶} → 𝐵 < 𝐶)
2524adantl 484 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝐵 < 𝐶)
2622, 14sylan2 594 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝐵 ∈ ℝ*)
2716adantr 483 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝐶 ∈ ℝ*)
2826, 27xrltnled 41638 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → (𝐵 < 𝐶 ↔ ¬ 𝐶𝐵))
2925, 28mpbid 234 . . . . . 6 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → ¬ 𝐶𝐵)
3029intnand 491 . . . . 5 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → ¬ (𝑥𝐴𝐶𝐵))
3130, 10sylnibr 331 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → ¬ 𝑥 ∈ {𝑥𝐴𝐶𝐵})
3223, 31eldifd 3949 . . 3 ((𝜑𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}) → 𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}))
3321, 32impbida 799 . 2 (𝜑 → (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐶𝐵}) ↔ 𝑥 ∈ {𝑥𝐴𝐵 < 𝐶}))
341, 4, 5, 33eqrd 3988 1 (𝜑 → (𝐴 ∖ {𝑥𝐴𝐶𝐵}) = {𝑥𝐴𝐵 < 𝐶})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1537  wnf 1784  wcel 2114  {crab 3144  cdif 3935   class class class wbr 5068  *cxr 10676   < clt 10677  cle 10678
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-br 5069  df-opab 5131  df-xp 5563  df-cnv 5565  df-le 10683
This theorem is referenced by:  salpreimagelt  42993
  Copyright terms: Public domain W3C validator