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

Theorem fin23lem25 9748
Description: Lemma for fin23 9813. In a chain of finite sets, equinumerosity is equivalent to equality. (Contributed by Stefan O'Rear, 1-Nov-2014.)
Assertion
Ref Expression
fin23lem25 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin ∧ (𝐴𝐵𝐵𝐴)) → (𝐴𝐵𝐴 = 𝐵))

Proof of Theorem fin23lem25
StepHypRef Expression
1 dfpss2 4064 . . . . . . . 8 (𝐴𝐵 ↔ (𝐴𝐵 ∧ ¬ 𝐴 = 𝐵))
2 php3 8705 . . . . . . . . . 10 ((𝐵 ∈ Fin ∧ 𝐴𝐵) → 𝐴𝐵)
3 sdomnen 8540 . . . . . . . . . 10 (𝐴𝐵 → ¬ 𝐴𝐵)
42, 3syl 17 . . . . . . . . 9 ((𝐵 ∈ Fin ∧ 𝐴𝐵) → ¬ 𝐴𝐵)
54ex 415 . . . . . . . 8 (𝐵 ∈ Fin → (𝐴𝐵 → ¬ 𝐴𝐵))
61, 5syl5bir 245 . . . . . . 7 (𝐵 ∈ Fin → ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴𝐵))
76adantl 484 . . . . . 6 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴𝐵))
87expd 418 . . . . 5 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → (𝐴𝐵 → (¬ 𝐴 = 𝐵 → ¬ 𝐴𝐵)))
9 dfpss2 4064 . . . . . . . . 9 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐵 = 𝐴))
10 eqcom 2830 . . . . . . . . . . 11 (𝐵 = 𝐴𝐴 = 𝐵)
1110notbii 322 . . . . . . . . . 10 𝐵 = 𝐴 ↔ ¬ 𝐴 = 𝐵)
1211anbi2i 624 . . . . . . . . 9 ((𝐵𝐴 ∧ ¬ 𝐵 = 𝐴) ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
139, 12bitri 277 . . . . . . . 8 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
14 php3 8705 . . . . . . . . . 10 ((𝐴 ∈ Fin ∧ 𝐵𝐴) → 𝐵𝐴)
15 sdomnen 8540 . . . . . . . . . . 11 (𝐵𝐴 → ¬ 𝐵𝐴)
16 ensym 8560 . . . . . . . . . . 11 (𝐴𝐵𝐵𝐴)
1715, 16nsyl 142 . . . . . . . . . 10 (𝐵𝐴 → ¬ 𝐴𝐵)
1814, 17syl 17 . . . . . . . . 9 ((𝐴 ∈ Fin ∧ 𝐵𝐴) → ¬ 𝐴𝐵)
1918ex 415 . . . . . . . 8 (𝐴 ∈ Fin → (𝐵𝐴 → ¬ 𝐴𝐵))
2013, 19syl5bir 245 . . . . . . 7 (𝐴 ∈ Fin → ((𝐵𝐴 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴𝐵))
2120adantr 483 . . . . . 6 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → ((𝐵𝐴 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴𝐵))
2221expd 418 . . . . 5 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → (𝐵𝐴 → (¬ 𝐴 = 𝐵 → ¬ 𝐴𝐵)))
238, 22jaod 855 . . . 4 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → ((𝐴𝐵𝐵𝐴) → (¬ 𝐴 = 𝐵 → ¬ 𝐴𝐵)))
24233impia 1113 . . 3 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin ∧ (𝐴𝐵𝐵𝐴)) → (¬ 𝐴 = 𝐵 → ¬ 𝐴𝐵))
2524con4d 115 . 2 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin ∧ (𝐴𝐵𝐵𝐴)) → (𝐴𝐵𝐴 = 𝐵))
26 eqeng 8545 . . 3 (𝐴 ∈ Fin → (𝐴 = 𝐵𝐴𝐵))
27263ad2ant1 1129 . 2 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin ∧ (𝐴𝐵𝐵𝐴)) → (𝐴 = 𝐵𝐴𝐵))
2825, 27impbid 214 1 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin ∧ (𝐴𝐵𝐵𝐴)) → (𝐴𝐵𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843  w3a 1083   = wceq 1537  wcel 2114  wss 3938  wpss 3939   class class class wbr 5068  cen 8508  csdm 8510  Fincfn 8511
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-ord 6196  df-on 6197  df-lim 6198  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-om 7583  df-er 8291  df-en 8512  df-dom 8513  df-sdom 8514  df-fin 8515
This theorem is referenced by:  fin23lem23  9750  fin1a2lem9  9832
  Copyright terms: Public domain W3C validator