Users' Mathboxes Mathbox for BTernaryTau < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  funen1cnv Structured version   Visualization version   GIF version

Theorem funen1cnv 34079
Description: If a function is equinumerous to ordinal 1, then its converse is also a function. (Contributed by BTernaryTau, 8-Oct-2023.)
Assertion
Ref Expression
funen1cnv ((Fun 𝐹𝐹 ≈ 1o) → Fun 𝐹)

Proof of Theorem funen1cnv
Dummy variables 𝑝 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 en1 9017 . . 3 (𝐹 ≈ 1o ↔ ∃𝑝 𝐹 = {𝑝})
2 funrel 6562 . . . . . . . 8 (Fun {𝑝} → Rel {𝑝})
3 vsnid 4664 . . . . . . . 8 𝑝 ∈ {𝑝}
4 elrel 5796 . . . . . . . 8 ((Rel {𝑝} ∧ 𝑝 ∈ {𝑝}) → ∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
52, 3, 4sylancl 586 . . . . . . 7 (Fun {𝑝} → ∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
6 sneq 4637 . . . . . . . 8 (𝑝 = ⟨𝑥, 𝑦⟩ → {𝑝} = {⟨𝑥, 𝑦⟩})
762eximi 1838 . . . . . . 7 (∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩ → ∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
85, 7syl 17 . . . . . 6 (Fun {𝑝} → ∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
9 funcnvsn 6595 . . . . . . 7 Fun {⟨𝑥, 𝑦⟩}
109gen2 1798 . . . . . 6 𝑥𝑦Fun {⟨𝑥, 𝑦⟩}
11 19.29r2 1878 . . . . . . 7 ((∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥𝑦Fun {⟨𝑥, 𝑦⟩}) → ∃𝑥𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun {⟨𝑥, 𝑦⟩}))
12 cnveq 5871 . . . . . . . . . 10 ({𝑝} = {⟨𝑥, 𝑦⟩} → {𝑝} = {⟨𝑥, 𝑦⟩})
1312funeqd 6567 . . . . . . . . 9 ({𝑝} = {⟨𝑥, 𝑦⟩} → (Fun {𝑝} ↔ Fun {⟨𝑥, 𝑦⟩}))
1413biimpar 478 . . . . . . . 8 (({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun {⟨𝑥, 𝑦⟩}) → Fun {𝑝})
1514exlimivv 1935 . . . . . . 7 (∃𝑥𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun {⟨𝑥, 𝑦⟩}) → Fun {𝑝})
1611, 15syl 17 . . . . . 6 ((∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥𝑦Fun {⟨𝑥, 𝑦⟩}) → Fun {𝑝})
178, 10, 16sylancl 586 . . . . 5 (Fun {𝑝} → Fun {𝑝})
1817ax-gen 1797 . . . 4 𝑝(Fun {𝑝} → Fun {𝑝})
19 19.29r 1877 . . . . 5 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun {𝑝})) → ∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun {𝑝})))
20 funeq 6565 . . . . . . . 8 (𝐹 = {𝑝} → (Fun 𝐹 ↔ Fun {𝑝}))
21 cnveq 5871 . . . . . . . . 9 (𝐹 = {𝑝} → 𝐹 = {𝑝})
2221funeqd 6567 . . . . . . . 8 (𝐹 = {𝑝} → (Fun 𝐹 ↔ Fun {𝑝}))
2320, 22imbi12d 344 . . . . . . 7 (𝐹 = {𝑝} → ((Fun 𝐹 → Fun 𝐹) ↔ (Fun {𝑝} → Fun {𝑝})))
2423biimpar 478 . . . . . 6 ((𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun {𝑝})) → (Fun 𝐹 → Fun 𝐹))
2524exlimiv 1933 . . . . 5 (∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun {𝑝})) → (Fun 𝐹 → Fun 𝐹))
2619, 25syl 17 . . . 4 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun {𝑝})) → (Fun 𝐹 → Fun 𝐹))
2718, 26mpan2 689 . . 3 (∃𝑝 𝐹 = {𝑝} → (Fun 𝐹 → Fun 𝐹))
281, 27sylbi 216 . 2 (𝐹 ≈ 1o → (Fun 𝐹 → Fun 𝐹))
2928impcom 408 1 ((Fun 𝐹𝐹 ≈ 1o) → Fun 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wal 1539   = wceq 1541  wex 1781  wcel 2106  {csn 4627  cop 4633   class class class wbr 5147  ccnv 5674  Rel wrel 5680  Fun wfun 6534  1oc1o 8455  cen 8932
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-12 2171  ax-ext 2703  ax-sep 5298  ax-nul 5305  ax-pr 5426
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-ne 2941  df-ral 3062  df-rex 3071  df-reu 3377  df-rab 3433  df-v 3476  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-sn 4628  df-pr 4630  df-op 4634  df-uni 4908  df-br 5148  df-opab 5210  df-id 5573  df-xp 5681  df-rel 5682  df-cnv 5683  df-co 5684  df-dm 5685  df-rn 5686  df-res 5687  df-ima 5688  df-suc 6367  df-iota 6492  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fo 6546  df-f1o 6547  df-fv 6548  df-1o 8462  df-en 8936
This theorem is referenced by:  spthcycl  34108
  Copyright terms: Public domain W3C validator