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 49507
Description: Lemma for oppcmndc 49509. 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 49508 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 2935 . 2 (𝑋𝑌 ↔ ¬ 𝑋 = 𝑌)
2 eqeq1 2743 . . . 4 (𝑥 = 𝑋 → (𝑥 = 𝑦𝑋 = 𝑦))
3 eqeq2 2751 . . . 4 (𝑦 = 𝑌 → (𝑋 = 𝑦𝑋 = 𝑌))
4 oppcmndclem.1 . . . . . . 7 (𝜑𝐵 = {𝐴})
5 mosn 49303 . . . . . . 7 (𝐵 = {𝐴} → ∃*𝑥 𝑥𝐵)
64, 5syl 17 . . . . . 6 (𝜑 → ∃*𝑥 𝑥𝐵)
7 moel 3364 . . . . . 6 (∃*𝑥 𝑥𝐵 ↔ ∀𝑥𝐵𝑦𝐵 𝑥 = 𝑦)
86, 7sylib 219 . . . . 5 (𝜑 → ∀𝑥𝐵𝑦𝐵 𝑥 = 𝑦)
98adantr 481 . . . 4 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → ∀𝑥𝐵𝑦𝐵 𝑥 = 𝑦)
10 simprl 776 . . . 4 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → 𝑋𝐵)
11 simprr 778 . . . 4 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → 𝑌𝐵)
122, 3, 9, 10, 11rspc2dv 3575 . . 3 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → 𝑋 = 𝑌)
1312pm2.24d 151 . 2 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → (¬ 𝑋 = 𝑌𝜓))
141, 13biimtrid 243 1 ((𝜑 ∧ (𝑋𝐵𝑌𝐵)) → (𝑋𝑌𝜓))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1547  wcel 2119  ∃*wmo 2541  wne 2934  wral 3053  {csn 4555
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2711
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2718  df-cleq 2731  df-clel 2814  df-nfc 2888  df-ne 2935  df-ral 3054  df-rex 3064  df-rmo 3344  df-reu 3345  df-v 3433  df-sbc 3724  df-dif 3886  df-nul 4262  df-sn 4556
This theorem is referenced by:  oppcmndc  49509
  Copyright terms: Public domain W3C validator