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 35119
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 9038 . . 3 (𝐹 ≈ 1o ↔ ∃𝑝 𝐹 = {𝑝})
2 funrel 6553 . . . . . . . 8 (Fun {𝑝} → Rel {𝑝})
3 vsnid 4639 . . . . . . . 8 𝑝 ∈ {𝑝}
4 elrel 5777 . . . . . . . 8 ((Rel {𝑝} ∧ 𝑝 ∈ {𝑝}) → ∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
52, 3, 4sylancl 586 . . . . . . 7 (Fun {𝑝} → ∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
6 sneq 4611 . . . . . . . 8 (𝑝 = ⟨𝑥, 𝑦⟩ → {𝑝} = {⟨𝑥, 𝑦⟩})
762eximi 1836 . . . . . . 7 (∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩ → ∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
85, 7syl 17 . . . . . 6 (Fun {𝑝} → ∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
9 funcnvsn 6586 . . . . . . 7 Fun {⟨𝑥, 𝑦⟩}
109gen2 1796 . . . . . 6 𝑥𝑦Fun {⟨𝑥, 𝑦⟩}
11 19.29r2 1875 . . . . . . 7 ((∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥𝑦Fun {⟨𝑥, 𝑦⟩}) → ∃𝑥𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun {⟨𝑥, 𝑦⟩}))
12 cnveq 5853 . . . . . . . . . 10 ({𝑝} = {⟨𝑥, 𝑦⟩} → {𝑝} = {⟨𝑥, 𝑦⟩})
1312funeqd 6558 . . . . . . . . 9 ({𝑝} = {⟨𝑥, 𝑦⟩} → (Fun {𝑝} ↔ Fun {⟨𝑥, 𝑦⟩}))
1413biimpar 477 . . . . . . . 8 (({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun {⟨𝑥, 𝑦⟩}) → Fun {𝑝})
1514exlimivv 1932 . . . . . . 7 (∃𝑥𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun {⟨𝑥, 𝑦⟩}) → Fun {𝑝})
1611, 15syl 17 . . . . . 6 ((∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥𝑦Fun {⟨𝑥, 𝑦⟩}) → Fun {𝑝})
178, 10, 16sylancl 586 . . . . 5 (Fun {𝑝} → Fun {𝑝})
1817ax-gen 1795 . . . 4 𝑝(Fun {𝑝} → Fun {𝑝})
19 19.29r 1874 . . . . 5 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun {𝑝})) → ∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun {𝑝})))
20 funeq 6556 . . . . . . . 8 (𝐹 = {𝑝} → (Fun 𝐹 ↔ Fun {𝑝}))
21 cnveq 5853 . . . . . . . . 9 (𝐹 = {𝑝} → 𝐹 = {𝑝})
2221funeqd 6558 . . . . . . . 8 (𝐹 = {𝑝} → (Fun 𝐹 ↔ Fun {𝑝}))
2320, 22imbi12d 344 . . . . . . 7 (𝐹 = {𝑝} → ((Fun 𝐹 → Fun 𝐹) ↔ (Fun {𝑝} → Fun {𝑝})))
2423biimpar 477 . . . . . 6 ((𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun {𝑝})) → (Fun 𝐹 → Fun 𝐹))
2524exlimiv 1930 . . . . 5 (∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun {𝑝})) → (Fun 𝐹 → Fun 𝐹))
2619, 25syl 17 . . . 4 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun {𝑝})) → (Fun 𝐹 → Fun 𝐹))
2718, 26mpan2 691 . . 3 (∃𝑝 𝐹 = {𝑝} → (Fun 𝐹 → Fun 𝐹))
281, 27sylbi 217 . 2 (𝐹 ≈ 1o → (Fun 𝐹 → Fun 𝐹))
2928impcom 407 1 ((Fun 𝐹𝐹 ≈ 1o) → Fun 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wal 1538   = wceq 1540  wex 1779  wcel 2108  {csn 4601  cop 4607   class class class wbr 5119  ccnv 5653  Rel wrel 5659  Fun wfun 6525  1oc1o 8473  cen 8956
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-12 2177  ax-ext 2707  ax-sep 5266  ax-nul 5276  ax-pr 5402
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2727  df-clel 2809  df-ne 2933  df-ral 3052  df-rex 3061  df-reu 3360  df-rab 3416  df-v 3461  df-dif 3929  df-un 3931  df-in 3933  df-ss 3943  df-nul 4309  df-if 4501  df-sn 4602  df-pr 4604  df-op 4608  df-uni 4884  df-br 5120  df-opab 5182  df-id 5548  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-suc 6358  df-iota 6484  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-1o 8480  df-en 8960
This theorem is referenced by:  spthcycl  35151
  Copyright terms: Public domain W3C validator