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

Theorem fin23lem25 10153
Description: Lemma for fin23 10218. 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 4031 . . . . . . . 8 (𝐴𝐵 ↔ (𝐴𝐵 ∧ ¬ 𝐴 = 𝐵))
2 php3 9054 . . . . . . . . . 10 ((𝐵 ∈ Fin ∧ 𝐴𝐵) → 𝐴𝐵)
3 sdomnen 8819 . . . . . . . . . 10 (𝐴𝐵 → ¬ 𝐴𝐵)
42, 3syl 17 . . . . . . . . 9 ((𝐵 ∈ Fin ∧ 𝐴𝐵) → ¬ 𝐴𝐵)
54ex 413 . . . . . . . 8 (𝐵 ∈ Fin → (𝐴𝐵 → ¬ 𝐴𝐵))
61, 5syl5bir 242 . . . . . . 7 (𝐵 ∈ Fin → ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴𝐵))
76adantl 482 . . . . . 6 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴𝐵))
87expd 416 . . . . 5 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → (𝐴𝐵 → (¬ 𝐴 = 𝐵 → ¬ 𝐴𝐵)))
9 dfpss2 4031 . . . . . . . . 9 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐵 = 𝐴))
10 eqcom 2744 . . . . . . . . . . 11 (𝐵 = 𝐴𝐴 = 𝐵)
1110notbii 319 . . . . . . . . . 10 𝐵 = 𝐴 ↔ ¬ 𝐴 = 𝐵)
1211anbi2i 623 . . . . . . . . 9 ((𝐵𝐴 ∧ ¬ 𝐵 = 𝐴) ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
139, 12bitri 274 . . . . . . . 8 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
14 php3 9054 . . . . . . . . . 10 ((𝐴 ∈ Fin ∧ 𝐵𝐴) → 𝐵𝐴)
15 sdomnen 8819 . . . . . . . . . . 11 (𝐵𝐴 → ¬ 𝐵𝐴)
16 ensym 8841 . . . . . . . . . . 11 (𝐴𝐵𝐵𝐴)
1715, 16nsyl 140 . . . . . . . . . 10 (𝐵𝐴 → ¬ 𝐴𝐵)
1814, 17syl 17 . . . . . . . . 9 ((𝐴 ∈ Fin ∧ 𝐵𝐴) → ¬ 𝐴𝐵)
1918ex 413 . . . . . . . 8 (𝐴 ∈ Fin → (𝐵𝐴 → ¬ 𝐴𝐵))
2013, 19syl5bir 242 . . . . . . 7 (𝐴 ∈ Fin → ((𝐵𝐴 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴𝐵))
2120adantr 481 . . . . . 6 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → ((𝐵𝐴 ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴𝐵))
2221expd 416 . . . . 5 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → (𝐵𝐴 → (¬ 𝐴 = 𝐵 → ¬ 𝐴𝐵)))
238, 22jaod 856 . . . 4 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin) → ((𝐴𝐵𝐵𝐴) → (¬ 𝐴 = 𝐵 → ¬ 𝐴𝐵)))
24233impia 1116 . . 3 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin ∧ (𝐴𝐵𝐵𝐴)) → (¬ 𝐴 = 𝐵 → ¬ 𝐴𝐵))
2524con4d 115 . 2 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin ∧ (𝐴𝐵𝐵𝐴)) → (𝐴𝐵𝐴 = 𝐵))
26 eqeng 8824 . . 3 (𝐴 ∈ Fin → (𝐴 = 𝐵𝐴𝐵))
27263ad2ant1 1132 . 2 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin ∧ (𝐴𝐵𝐵𝐴)) → (𝐴 = 𝐵𝐴𝐵))
2825, 27impbid 211 1 ((𝐴 ∈ Fin ∧ 𝐵 ∈ Fin ∧ (𝐴𝐵𝐵𝐴)) → (𝐴𝐵𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  w3a 1086   = wceq 1540  wcel 2105  wss 3897  wpss 3898   class class class wbr 5087  cen 8778  csdm 8780  Fincfn 8781
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 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2708  ax-sep 5238  ax-nul 5245  ax-pow 5303  ax-pr 5367  ax-un 7628
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3351  df-rab 3405  df-v 3443  df-sbc 3727  df-csb 3843  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-pss 3916  df-nul 4268  df-if 4472  df-pw 4547  df-sn 4572  df-pr 4574  df-op 4578  df-uni 4851  df-br 5088  df-opab 5150  df-mpt 5171  df-tr 5205  df-id 5507  df-eprel 5513  df-po 5521  df-so 5522  df-fr 5562  df-we 5564  df-xp 5613  df-rel 5614  df-cnv 5615  df-co 5616  df-dm 5617  df-rn 5618  df-res 5619  df-ima 5620  df-ord 6291  df-on 6292  df-lim 6293  df-suc 6294  df-iota 6417  df-fun 6467  df-fn 6468  df-f 6469  df-f1 6470  df-fo 6471  df-f1o 6472  df-fv 6473  df-om 7758  df-1o 8344  df-er 8546  df-en 8782  df-dom 8783  df-sdom 8784  df-fin 8785
This theorem is referenced by:  fin23lem23  10155  fin1a2lem9  10237
  Copyright terms: Public domain W3C validator