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

Theorem funen1cnv 9056
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 9051 . . 3 (𝐹 ≈ 1o ↔ ∃𝑝 𝐹 = {𝑝})
2 funrel 6556 . . . . . . . 8 (Fun {𝑝} → Rel {𝑝})
3 vsnid 4623 . . . . . . . 8 𝑝 ∈ {𝑝}
4 elrel 5773 . . . . . . . 8 ((Rel {𝑝} ∧ 𝑝 ∈ {𝑝}) → ∃𝑥∃𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
52, 3, 4sylancl 598 . . . . . . 7 (Fun {𝑝} → ∃𝑥∃𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
6 sneq 4593 . . . . . . . 8 (𝑝 = ⟨𝑥, 𝑦⟩ → {𝑝} = {⟨𝑥, 𝑦⟩})
762eximi 1868 . . . . . . 7 (∃𝑥∃𝑦 𝑝 = ⟨𝑥, 𝑦⟩ → ∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
85, 7syl 18 . . . . . 6 (Fun {𝑝} → ∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
9 funcnvsn 6590 . . . . . . 7 Fun ◡{⟨𝑥, 𝑦⟩}
109gen2 1828 . . . . . 6 ∀𝑥∀𝑦Fun ◡{⟨𝑥, 𝑦⟩}
11 19.29r2 1907 . . . . . . 7 ((∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥∀𝑦Fun ◡{⟨𝑥, 𝑦⟩}) → ∃𝑥∃𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun ◡{⟨𝑥, 𝑦⟩}))
12 cnveq 5850 . . . . . . . . . 10 ({𝑝} = {⟨𝑥, 𝑦⟩} → ◡{𝑝} = ◡{⟨𝑥, 𝑦⟩})
1312funeqd 6561 . . . . . . . . 9 ({𝑝} = {⟨𝑥, 𝑦⟩} → (Fun ◡{𝑝} ↔ Fun ◡{⟨𝑥, 𝑦⟩}))
1413biimpar 483 . . . . . . . 8 (({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun ◡{⟨𝑥, 𝑦⟩}) → Fun ◡{𝑝})
1514exlimivv 1964 . . . . . . 7 (∃𝑥∃𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun ◡{⟨𝑥, 𝑦⟩}) → Fun ◡{𝑝})
1611, 15syl 18 . . . . . 6 ((∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥∀𝑦Fun ◡{⟨𝑥, 𝑦⟩}) → Fun ◡{𝑝})
178, 10, 16sylancl 598 . . . . 5 (Fun {𝑝} → Fun ◡{𝑝})
1817ax-gen 1827 . . . 4 ∀𝑝(Fun {𝑝} → Fun ◡{𝑝})
19 19.29r 1906 . . . . 5 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun ◡{𝑝})) → ∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun ◡{𝑝})))
20 funeq 6559 . . . . . . . 8 (𝐹 = {𝑝} → (Fun 𝐹 ↔ Fun {𝑝}))
21 cnveq 5850 . . . . . . . . 9 (𝐹 = {𝑝} → ◡𝐹 = ◡{𝑝})
2221funeqd 6561 . . . . . . . 8 (𝐹 = {𝑝} → (Fun ◡𝐹 ↔ Fun ◡{𝑝}))
2320, 22imbi12d 347 . . . . . . 7 (𝐹 = {𝑝} → ((Fun 𝐹 → Fun ◡𝐹) ↔ (Fun {𝑝} → Fun ◡{𝑝})))
2423biimpar 483 . . . . . 6 ((𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun ◡{𝑝})) → (Fun 𝐹 → Fun ◡𝐹))
2524exlimiv 1962 . . . . 5 (∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun ◡{𝑝})) → (Fun 𝐹 → Fun ◡𝐹))
2619, 25syl 18 . . . 4 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun ◡{𝑝})) → (Fun 𝐹 → Fun ◡𝐹))
2718, 26mpan2 704 . . 3 (∃𝑝 𝐹 = {𝑝} → (Fun 𝐹 → Fun ◡𝐹))
281, 27sylbi 220 . 2 (𝐹 ≈ 1o → (Fun 𝐹 → Fun ◡𝐹))
2928impcom 413 1 ((Fun 𝐹 ∧ 𝐹 ≈ 1o) → Fun ◡𝐹)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144  {csn 4583  ⟨cop 4589   class class class wbr 5102  ◡ccnv 5649  Rel wrel 5655  Fun wfun 6532  1oc1o 8469   ≈ cen 8970
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-1o 8476  df-en 8974
This theorem is used by:  spthcycl  30392
  Copyright terms: Public domain W3C validator