Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  nepss Structured version   Visualization version   GIF version

Theorem nepss 32943
Description: Two classes are unequal iff their intersection is a proper subset of one of them. (Contributed by Scott Fenton, 23-Feb-2011.)
Assertion
Ref Expression
nepss (𝐴𝐵 ↔ ((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) ⊊ 𝐵))

Proof of Theorem nepss
StepHypRef Expression
1 nne 3020 . . . . . 6 (¬ (𝐴𝐵) ≠ 𝐴 ↔ (𝐴𝐵) = 𝐴)
2 neeq1 3078 . . . . . . 7 ((𝐴𝐵) = 𝐴 → ((𝐴𝐵) ≠ 𝐵𝐴𝐵))
32biimprcd 252 . . . . . 6 (𝐴𝐵 → ((𝐴𝐵) = 𝐴 → (𝐴𝐵) ≠ 𝐵))
41, 3syl5bi 244 . . . . 5 (𝐴𝐵 → (¬ (𝐴𝐵) ≠ 𝐴 → (𝐴𝐵) ≠ 𝐵))
54orrd 859 . . . 4 (𝐴𝐵 → ((𝐴𝐵) ≠ 𝐴 ∨ (𝐴𝐵) ≠ 𝐵))
6 inss1 4204 . . . . . 6 (𝐴𝐵) ⊆ 𝐴
76jctl 526 . . . . 5 ((𝐴𝐵) ≠ 𝐴 → ((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ 𝐴))
8 inss2 4205 . . . . . 6 (𝐴𝐵) ⊆ 𝐵
98jctl 526 . . . . 5 ((𝐴𝐵) ≠ 𝐵 → ((𝐴𝐵) ⊆ 𝐵 ∧ (𝐴𝐵) ≠ 𝐵))
107, 9orim12i 905 . . . 4 (((𝐴𝐵) ≠ 𝐴 ∨ (𝐴𝐵) ≠ 𝐵) → (((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ 𝐴) ∨ ((𝐴𝐵) ⊆ 𝐵 ∧ (𝐴𝐵) ≠ 𝐵)))
115, 10syl 17 . . 3 (𝐴𝐵 → (((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ 𝐴) ∨ ((𝐴𝐵) ⊆ 𝐵 ∧ (𝐴𝐵) ≠ 𝐵)))
12 inidm 4194 . . . . . . 7 (𝐴𝐴) = 𝐴
13 ineq2 4182 . . . . . . 7 (𝐴 = 𝐵 → (𝐴𝐴) = (𝐴𝐵))
1412, 13syl5reqr 2871 . . . . . 6 (𝐴 = 𝐵 → (𝐴𝐵) = 𝐴)
1514necon3i 3048 . . . . 5 ((𝐴𝐵) ≠ 𝐴𝐴𝐵)
1615adantl 484 . . . 4 (((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ 𝐴) → 𝐴𝐵)
17 ineq1 4180 . . . . . . 7 (𝐴 = 𝐵 → (𝐴𝐵) = (𝐵𝐵))
18 inidm 4194 . . . . . . 7 (𝐵𝐵) = 𝐵
1917, 18syl6eq 2872 . . . . . 6 (𝐴 = 𝐵 → (𝐴𝐵) = 𝐵)
2019necon3i 3048 . . . . 5 ((𝐴𝐵) ≠ 𝐵𝐴𝐵)
2120adantl 484 . . . 4 (((𝐴𝐵) ⊆ 𝐵 ∧ (𝐴𝐵) ≠ 𝐵) → 𝐴𝐵)
2216, 21jaoi 853 . . 3 ((((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ 𝐴) ∨ ((𝐴𝐵) ⊆ 𝐵 ∧ (𝐴𝐵) ≠ 𝐵)) → 𝐴𝐵)
2311, 22impbii 211 . 2 (𝐴𝐵 ↔ (((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ 𝐴) ∨ ((𝐴𝐵) ⊆ 𝐵 ∧ (𝐴𝐵) ≠ 𝐵)))
24 df-pss 3953 . . 3 ((𝐴𝐵) ⊊ 𝐴 ↔ ((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ 𝐴))
25 df-pss 3953 . . 3 ((𝐴𝐵) ⊊ 𝐵 ↔ ((𝐴𝐵) ⊆ 𝐵 ∧ (𝐴𝐵) ≠ 𝐵))
2624, 25orbi12i 911 . 2 (((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) ⊊ 𝐵) ↔ (((𝐴𝐵) ⊆ 𝐴 ∧ (𝐴𝐵) ≠ 𝐴) ∨ ((𝐴𝐵) ⊆ 𝐵 ∧ (𝐴𝐵) ≠ 𝐵)))
2723, 26bitr4i 280 1 (𝐴𝐵 ↔ ((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) ⊊ 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wa 398  wo 843   = wceq 1533  wne 3016  cin 3934  wss 3935  wpss 3936
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
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-rab 3147  df-v 3496  df-in 3942  df-ss 3951  df-pss 3953
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator