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 32357
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 8576 . . 3 (𝐹 ≈ 1o ↔ ∃𝑝 𝐹 = {𝑝})
2 funrel 6372 . . . . . . . 8 (Fun {𝑝} → Rel {𝑝})
3 vsnid 4602 . . . . . . . 8 𝑝 ∈ {𝑝}
4 elrel 5671 . . . . . . . 8 ((Rel {𝑝} ∧ 𝑝 ∈ {𝑝}) → ∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
52, 3, 4sylancl 588 . . . . . . 7 (Fun {𝑝} → ∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
6 sneq 4577 . . . . . . . 8 (𝑝 = ⟨𝑥, 𝑦⟩ → {𝑝} = {⟨𝑥, 𝑦⟩})
762eximi 1836 . . . . . . 7 (∃𝑥𝑦 𝑝 = ⟨𝑥, 𝑦⟩ → ∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
85, 7syl 17 . . . . . 6 (Fun {𝑝} → ∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
9 funcnvsn 6404 . . . . . . 7 Fun {⟨𝑥, 𝑦⟩}
109gen2 1797 . . . . . 6 𝑥𝑦Fun {⟨𝑥, 𝑦⟩}
11 19.29r2 1876 . . . . . . 7 ((∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥𝑦Fun {⟨𝑥, 𝑦⟩}) → ∃𝑥𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun {⟨𝑥, 𝑦⟩}))
12 cnveq 5744 . . . . . . . . . 10 ({𝑝} = {⟨𝑥, 𝑦⟩} → {𝑝} = {⟨𝑥, 𝑦⟩})
1312funeqd 6377 . . . . . . . . 9 ({𝑝} = {⟨𝑥, 𝑦⟩} → (Fun {𝑝} ↔ Fun {⟨𝑥, 𝑦⟩}))
1413biimpar 480 . . . . . . . 8 (({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun {⟨𝑥, 𝑦⟩}) → Fun {𝑝})
1514exlimivv 1933 . . . . . . 7 (∃𝑥𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun {⟨𝑥, 𝑦⟩}) → Fun {𝑝})
1611, 15syl 17 . . . . . 6 ((∃𝑥𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥𝑦Fun {⟨𝑥, 𝑦⟩}) → Fun {𝑝})
178, 10, 16sylancl 588 . . . . 5 (Fun {𝑝} → Fun {𝑝})
1817ax-gen 1796 . . . 4 𝑝(Fun {𝑝} → Fun {𝑝})
19 19.29r 1875 . . . . 5 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun {𝑝})) → ∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun {𝑝})))
20 funeq 6375 . . . . . . . 8 (𝐹 = {𝑝} → (Fun 𝐹 ↔ Fun {𝑝}))
21 cnveq 5744 . . . . . . . . 9 (𝐹 = {𝑝} → 𝐹 = {𝑝})
2221funeqd 6377 . . . . . . . 8 (𝐹 = {𝑝} → (Fun 𝐹 ↔ Fun {𝑝}))
2320, 22imbi12d 347 . . . . . . 7 (𝐹 = {𝑝} → ((Fun 𝐹 → Fun 𝐹) ↔ (Fun {𝑝} → Fun {𝑝})))
2423biimpar 480 . . . . . 6 ((𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun {𝑝})) → (Fun 𝐹 → Fun 𝐹))
2524exlimiv 1931 . . . . 5 (∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun {𝑝})) → (Fun 𝐹 → Fun 𝐹))
2619, 25syl 17 . . . 4 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun {𝑝})) → (Fun 𝐹 → Fun 𝐹))
2718, 26mpan2 689 . . 3 (∃𝑝 𝐹 = {𝑝} → (Fun 𝐹 → Fun 𝐹))
281, 27sylbi 219 . 2 (𝐹 ≈ 1o → (Fun 𝐹 → Fun 𝐹))
2928impcom 410 1 ((Fun 𝐹𝐹 ≈ 1o) → Fun 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wal 1535   = wceq 1537  wex 1780  wcel 2114  {csn 4567  cop 4573   class class class wbr 5066  ccnv 5554  Rel wrel 5560  Fun wfun 6349  1oc1o 8095  cen 8506
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 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-1o 8102  df-en 8510
This theorem is referenced by:  spthcycl  32376
  Copyright terms: Public domain W3C validator