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 49376
Description: Lemma for oppcmndc 49378. 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 49377 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 2934 . 2 (𝑋𝑌 ↔ ¬ 𝑋 = 𝑌)
2 eqeq1 2741 . . . 4 (𝑥 = 𝑋 → (𝑥 = 𝑦𝑋 = 𝑦))
3 eqeq2 2749 . . . 4 (𝑦 = 𝑌 → (𝑋 = 𝑦𝑋 = 𝑌))
4 oppcmndclem.1 . . . . . . 7 (𝜑𝐵 = {𝐴})
5 mosn 49172 . . . . . . 7 (𝐵 = {𝐴} → ∃*𝑥 𝑥𝐵)
64, 5syl 17 . . . . . 6 (𝜑 → ∃*𝑥 𝑥𝐵)
7 moel 3372 . . . . . 6 (∃*𝑥 𝑥𝐵 ↔ ∀𝑥𝐵𝑦𝐵 𝑥 = 𝑦)
86, 7sylib 218 . . . . 5 (𝜑 → ∀𝑥𝐵𝑦𝐵 𝑥 = 𝑦)
98adantr 480 . . . 4 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → ∀𝑥𝐵𝑦𝐵 𝑥 = 𝑦)
10 simprl 771 . . . 4 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → 𝑋𝐵)
11 simprr 773 . . . 4 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → 𝑌𝐵)
122, 3, 9, 10, 11rspc2dv 3593 . . 3 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → 𝑋 = 𝑌)
1312pm2.24d 151 . 2 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → (¬ 𝑋 = 𝑌𝜓))
141, 13biimtrid 242 1 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → (𝑋𝑌𝜓))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1542  wcel 2114  ∃*wmo 2538  wne 2933  wral 3052  {csn 4582
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 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3063  df-rmo 3352  df-reu 3353  df-v 3444  df-sbc 3743  df-dif 3906  df-nul 4288  df-sn 4583
This theorem is referenced by:  oppcmndc  49378
  Copyright terms: Public domain W3C validator