MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  phpeqd Structured version   Visualization version   GIF version

Theorem phpeqd 9265
Description: Corollary of the Pigeonhole Principle using equality. Strengthening of php 9260 expressed without negation. (Contributed by Rohan Ridenour, 3-Aug-2023.) Avoid ax-pow 5334. (Revised by BTernaryTau, 28-Nov-2024.)
Hypotheses
Ref Expression
phpeqd.1 (𝜑 → 𝐴 ∈ Fin)
phpeqd.2 (𝜑 → 𝐵 ⊆ 𝐴)
phpeqd.3 (𝜑 → 𝐴 ≈ 𝐵)
Assertion
Ref Expression
phpeqd (𝜑 → 𝐴 = 𝐵)

Proof of Theorem phpeqd
StepHypRef Expression
1 phpeqd.3 . 2 (𝜑 → 𝐴 ≈ 𝐵)
2 phpeqd.1 . . . . 5 (𝜑 → 𝐴 ∈ Fin)
3 phpeqd.2 . . . . . . 7 (𝜑 → 𝐵 ⊆ 𝐴)
43adantr 486 . . . . . 6 ((𝜑 ∧ ¬ 𝐴 = 𝐵) → 𝐵 ⊆ 𝐴)
5 simpr 490 . . . . . . 7 ((𝜑 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴 = 𝐵)
65neqcomd 2773 . . . . . 6 ((𝜑 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐵 = 𝐴)
7 dfpss2 4018 . . . . . 6 (𝐵 ⊊ 𝐴 ↔ (𝐵 ⊆ 𝐴 ∧ ¬ 𝐵 = 𝐴))
84, 6, 7sylanbrc 595 . . . . 5 ((𝜑 ∧ ¬ 𝐴 = 𝐵) → 𝐵 ⊊ 𝐴)
9 php3 9262 . . . . 5 ((𝐴 ∈ Fin ∧ 𝐵 ⊊ 𝐴) → 𝐵 ≺ 𝐴)
102, 8, 9syl2an2r 698 . . . 4 ((𝜑 ∧ ¬ 𝐴 = 𝐵) → 𝐵 ≺ 𝐴)
11 sdomnen 9046 . . . . 5 (𝐵 ≺ 𝐴 → ¬ 𝐵 ≈ 𝐴)
12 ensymfib 9237 . . . . . . 7 (𝐴 ∈ Fin → (𝐴 ≈ 𝐵 ↔ 𝐵 ≈ 𝐴))
1312notbid 321 . . . . . 6 (𝐴 ∈ Fin → (¬ 𝐴 ≈ 𝐵 ↔ ¬ 𝐵 ≈ 𝐴))
1413biimpar 483 . . . . 5 ((𝐴 ∈ Fin ∧ ¬ 𝐵 ≈ 𝐴) → ¬ 𝐴 ≈ 𝐵)
152, 11, 14syl2an 608 . . . 4 ((𝜑 ∧ 𝐵 ≺ 𝐴) → ¬ 𝐴 ≈ 𝐵)
1610, 15syldan 603 . . 3 ((𝜑 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴 ≈ 𝐵)
1716ex 418 . 2 (𝜑 → (¬ 𝐴 = 𝐵 → ¬ 𝐴 ≈ 𝐵))
181, 17mt4d 118 1 (𝜑 → 𝐴 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ⊆ wss 3900   ⊊ wpss 4016   class class class wbr 5108   ≈ cen 9008   ≺ csdm 9010  Fincfn 9011
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  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  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-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-om 7912  df-1o 8514  df-en 9012  df-dom 9013  df-sdom 9014  df-fin 9015
This theorem is used by:  phphashd  14652  simpgnsgd  20367
  Copyright terms: Public domain W3C validator