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 44238
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 2907 . . 3 𝑥𝐴
3 nfrab1 3317 . . 3 𝑥{𝑥𝐴𝐵𝐶}
42, 3nfdif 4060 . 2 𝑥(𝐴 ∖ {𝑥𝐴𝐵𝐶})
5 nfrab1 3317 . 2 𝑥{𝑥𝐴𝐶 < 𝐵}
6 eldifi 4061 . . . . 5 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → 𝑥𝐴)
76adantl 482 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝑥𝐴)
8 eldifn 4062 . . . . . . 7 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → ¬ 𝑥 ∈ {𝑥𝐴𝐵𝐶})
96anim1i 615 . . . . . . . 8 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ∧ 𝐵𝐶) → (𝑥𝐴𝐵𝐶))
10 rabid 3310 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐵𝐶} ↔ (𝑥𝐴𝐵𝐶))
119, 10sylibr 233 . . . . . . 7 ((𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ∧ 𝐵𝐶) → 𝑥 ∈ {𝑥𝐴𝐵𝐶})
128, 11mtand 813 . . . . . 6 (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) → ¬ 𝐵𝐶)
1312adantl 482 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → ¬ 𝐵𝐶)
14 preimalegt.c . . . . . . 7 (𝜑𝐶 ∈ ℝ*)
1514adantr 481 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐶 ∈ ℝ*)
16 preimalegt.b . . . . . . 7 ((𝜑𝑥𝐴) → 𝐵 ∈ ℝ*)
176, 16sylan2 593 . . . . . 6 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐵 ∈ ℝ*)
1815, 17xrltnled 42902 . . . . 5 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
1913, 18mpbird 256 . . . 4 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝐶 < 𝐵)
20 rabid 3310 . . . 4 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} ↔ (𝑥𝐴𝐶 < 𝐵))
217, 19, 20sylanbrc 583 . . 3 ((𝜑𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶})) → 𝑥 ∈ {𝑥𝐴𝐶 < 𝐵})
22 rabidim1 3312 . . . . 5 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} → 𝑥𝐴)
2322adantl 482 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝑥𝐴)
24 rabidim2 42652 . . . . . . . 8 (𝑥 ∈ {𝑥𝐴𝐶 < 𝐵} → 𝐶 < 𝐵)
2524adantl 482 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐶 < 𝐵)
2614adantr 481 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐶 ∈ ℝ*)
2722, 16sylan2 593 . . . . . . . 8 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝐵 ∈ ℝ*)
2826, 27xrltnled 42902 . . . . . . 7 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → (𝐶 < 𝐵 ↔ ¬ 𝐵𝐶))
2925, 28mpbid 231 . . . . . 6 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ 𝐵𝐶)
3029intnand 489 . . . . 5 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ (𝑥𝐴𝐵𝐶))
3130, 10sylnibr 329 . . . 4 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → ¬ 𝑥 ∈ {𝑥𝐴𝐵𝐶})
3223, 31eldifd 3898 . . 3 ((𝜑𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}) → 𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}))
3321, 32impbida 798 . 2 (𝜑 → (𝑥 ∈ (𝐴 ∖ {𝑥𝐴𝐵𝐶}) ↔ 𝑥 ∈ {𝑥𝐴𝐶 < 𝐵}))
341, 4, 5, 33eqrd 3940 1 (𝜑 → (𝐴 ∖ {𝑥𝐴𝐵𝐶}) = {𝑥𝐴𝐶 < 𝐵})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1539  wnf 1786  wcel 2106  {crab 3068  cdif 3884   class class class wbr 5074  *cxr 11008   < clt 11009  cle 11010
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-cnv 5597  df-le 11015
This theorem is referenced by:  salpreimalegt  44246
  Copyright terms: Public domain W3C validator