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 50462
Description: Lemma for oppcmndc 50464. 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 50463 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 2960 . 2 (𝑋 ≠ 𝑌 ↔ ¬ 𝑋 = 𝑌)
2 eqeq1 2767 . . . 4 (𝑥 = 𝑋 → (𝑥 = 𝑦 ↔ 𝑋 = 𝑦))
3 eqeq2 2775 . . . 4 (𝑦 = 𝑌 → (𝑋 = 𝑦 ↔ 𝑋 = 𝑌))
4 oppcmndclem.1 . . . . . . 7 (𝜑 → 𝐵 = {𝐴})
5 mosn 50255 . . . . . . 7 (𝐵 = {𝐴} → ∃*𝑥 𝑥 ∈ 𝐵)
64, 5syl 18 . . . . . 6 (𝜑 → ∃*𝑥 𝑥 ∈ 𝐵)
7 moel 3389 . . . . . 6 (∃*𝑥 𝑥 ∈ 𝐵 ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝑥 = 𝑦)
86, 7sylib 221 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝑥 = 𝑦)
98adantr 486 . . . 4 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝑥 = 𝑦)
10 simprl 783 . . . 4 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → 𝑋 ∈ 𝐵)
11 simprr 785 . . . 4 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → 𝑌 ∈ 𝐵)
122, 3, 9, 10, 11rspc2dv 3594 . . 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 1570   ∈ wcel 2147  ∃*wmo 2565   ≠ wne 2959  ∀wral 3080  {csn 4588
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-v 3456  df-sbc 3743  df-dif 4050  df-nul 4282  df-sn 4589
This theorem is used by:  oppcmndc  50464
  Copyright terms: Public domain W3C validator