Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  oppcmndclem Structured version   Visualization version   GIF version

Theorem oppcmndclem 50238
Description: Lemma for oppcmndc 50240. Everything is true for two distinct elements in a singleton or an empty set (since it is impossible). Note that if this theorem and oppcendc 50239 are in ¬ 𝑥 = 𝑦 form, then both proofs should be one step shorter. (Contributed by Zhi Wang, 16-Oct-2025.)
Hypothesis
Ref Expression
oppcmndclem.1 (𝜑 → 𝐵 = {𝐴})
Assertion
Ref Expression
oppcmndclem ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → (𝑋 ≠ 𝑌 → 𝜓))

Proof of Theorem oppcmndclem
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ne 2956 . 2 (𝑋 ≠ 𝑌 ↔ ¬ 𝑋 = 𝑌)
2 eqeq1 2764 . . . 4 (𝑥 = 𝑋 → (𝑥 = 𝑦 ↔ 𝑋 = 𝑦))
3 eqeq2 2772 . . . 4 (𝑦 = 𝑌 → (𝑋 = 𝑦 ↔ 𝑋 = 𝑌))
4 oppcmndclem.1 . . . . . . 7 (𝜑 → 𝐵 = {𝐴})
5 mosn 50031 . . . . . . 7 (𝐵 = {𝐴} → ∃*𝑥 𝑥 ∈ 𝐵)
64, 5syl 18 . . . . . 6 (𝜑 → ∃*𝑥 𝑥 ∈ 𝐵)
7 moel 3385 . . . . . 6 (∃*𝑥 𝑥 ∈ 𝐵 ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝑥 = 𝑦)
86, 7sylib 221 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝑥 = 𝑦)
98adantr 486 . . . 4 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝑥 = 𝑦)
10 simprl 783 . . . 4 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → 𝑋 ∈ 𝐵)
11 simprr 785 . . . 4 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → 𝑌 ∈ 𝐵)
122, 3, 9, 10, 11rspc2dv 3590 . . 3 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → 𝑋 = 𝑌)
1312pm2.24d 152 . 2 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → (¬ 𝑋 = 𝑌 → 𝜓))
141, 13biimtrid 245 1 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → (𝑋 ≠ 𝑌 → 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∃*wmo 2562   ≠ wne 2955  ∀wral 3076  {csn 4584
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-v 3452  df-sbc 3739  df-dif 4046  df-nul 4278  df-sn 4585
This theorem is used by:  oppcmndc  50240
  Copyright terms: Public domain W3C validator