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 50628
Description: Lemma for oppcmndc 50630. 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 50629 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 2971 . 2 (𝑋 ≠ 𝑌 ↔ ¬ 𝑋 = 𝑌)
2 eqeq1 2778 . . . 4 (𝑥 = 𝑋 → (𝑥 = 𝑦 ↔ 𝑋 = 𝑦))
3 eqeq2 2786 . . . 4 (𝑦 = 𝑌 → (𝑋 = 𝑦 ↔ 𝑋 = 𝑌))
4 oppcmndclem.1 . . . . . . 7 (𝜑 → 𝐵 = {𝐴})
5 mosn 50422 . . . . . . 7 (𝐵 = {𝐴} → ∃*𝑥 𝑥 ∈ 𝐵)
64, 5syl 18 . . . . . 6 (𝜑 → ∃*𝑥 𝑥 ∈ 𝐵)
7 moel 3396 . . . . . 6 (∃*𝑥 𝑥 ∈ 𝐵 ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝑥 = 𝑦)
86, 7sylib 221 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝑥 = 𝑦)
98adantr 486 . . . 4 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝑥 = 𝑦)
10 simprl 783 . . . 4 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → 𝑋 ∈ 𝐵)
11 simprr 785 . . . 4 ((𝜑 ∧ (𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵)) → 𝑌 ∈ 𝐵)
122, 3, 9, 10, 11rspc2dv 3601 . . 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 1572   ∈ wcel 2156  ∃*wmo 2574   ≠ wne 2970  ∀wral 3091  {csn 4595
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-v 3463  df-sbc 3750  df-dif 4057  df-nul 4289  df-sn 4596
This theorem is used by:  oppcmndc  50630
  Copyright terms: Public domain W3C validator