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

Theorem preimalegt 43381
 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 2955 . . 3 𝑥𝐴
3 nfrab1 3337 . . 3 𝑥{𝑥𝐴𝐵𝐶}
42, 3nfdif 4053 . 2 𝑥(𝐴 ∖ {𝑥𝐴𝐵𝐶})
5 nfrab1 3337 . 2 𝑥{𝑥𝐴𝐶 < 𝐵}
6 eldifi 4054 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → 𝑥𝐴)
76adantl 485 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝑥𝐴)
8 eldifn 4055 . . . . . . 7 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → ¬ 𝑥 ∈ {𝑥𝐴𝐵𝐶})
96anim1i 617 . . . . . . . 8 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ∧ 𝐵𝐶) → (𝑥𝐴𝐵𝐶))
10 rabid 3331 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐵𝐶} ↔ (𝑥𝐴𝐵𝐶))
119, 10sylibr 237 . . . . . . 7 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ∧ 𝐵𝐶) → 𝑥 ∈ {𝑥𝐴𝐵𝐶})
128, 11mtand 815 . . . . . 6 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → ¬ 𝐵𝐶)
1312adantl 485 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → ¬ 𝐵𝐶)
14 preimalegt.c . . . . . . 7 (𝜑𝐶 ∈ ℝ*)
1514adantr 484 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐶 ∈ ℝ*)
16 preimalegt.b . . . . . . 7 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ*)
176, 16sylan2 595 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐵 ∈ ℝ*)
1815, 17xrltnled 42038 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
1913, 18mpbird 260 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐶 < 𝐵)
20 rabid 3331 . . . 4 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} ↔ (𝑥𝐴𝐶 < 𝐵))
217, 19, 20sylanbrc 586 . . 3 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝑥 ∈ {𝑥𝐴𝐶 < 𝐵})
22 rabidim1 3333 . . . . 5 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} → 𝑥𝐴)
2322adantl 485 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝑥𝐴)
24 rabidim2 41781 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} → 𝐶 < 𝐵)
2524adantl 485 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐶 < 𝐵)
2614adantr 484 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐶 ∈ ℝ*)
2722, 16sylan2 595 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐵 ∈ ℝ*)
2826, 27xrltnled 42038 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
2925, 28mpbid 235 . . . . . 6 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ 𝐵𝐶)
3029intnand 492 . . . . 5 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ (𝑥𝐴𝐵𝐶))
3130, 10sylnibr 332 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ 𝑥 ∈ {𝑥𝐴𝐵𝐶})
3223, 31eldifd 3892 . . 3 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}))
3321, 32impbida 800 . 2 (𝜑 → (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ↔ 𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}))
341, 4, 5, 33eqrd 3934 1 (𝜑 → (𝐴 ∖ {𝑥𝐴𝐵𝐶}) = {𝑥𝐴𝐶 < 𝐵})
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 399   = wceq 1538  Ⅎwnf 1785   ∈ wcel 2111  {crab 3110   ∖ cdif 3878   class class class wbr 5031  ℝ*cxr 10666   < clt 10667   ≤ cle 10668 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5168  ax-nul 5175  ax-pr 5296 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-dif 3884  df-un 3886  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5032  df-opab 5094  df-xp 5526  df-cnv 5528  df-le 10673 This theorem is referenced by:  salpreimalegt  43388
 Copyright terms: Public domain W3C validator