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

Theorem funen1cnv 9093
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 9088 . . 3 (𝐹 ≈ 1o ↔ ∃𝑝 𝐹 = {𝑝})
2 funrel 6583 . . . . . . . 8 (Fun {𝑝} → Rel {𝑝})
3 vsnid 4624 . . . . . . . 8 𝑝 ∈ {𝑝}
4 elrel 5782 . . . . . . . 8 ((Rel {𝑝} ∧ 𝑝 ∈ {𝑝}) → ∃𝑥∃𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
52, 3, 4sylancl 598 . . . . . . 7 (Fun {𝑝} → ∃𝑥∃𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
6 sneq 4593 . . . . . . . 8 (𝑝 = ⟨𝑥, 𝑦⟩ → {𝑝} = {⟨𝑥, 𝑦⟩})
762eximi 1871 . . . . . . 7 (∃𝑥∃𝑦 𝑝 = ⟨𝑥, 𝑦⟩ → ∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
85, 7syl 18 . . . . . 6 (Fun {𝑝} → ∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
9 funcnvsn 6619 . . . . . . 7 Fun ◡{⟨𝑥, 𝑦⟩}
109gen2 1831 . . . . . 6 ∀𝑥∀𝑦Fun ◡{⟨𝑥, 𝑦⟩}
11 19.29r2 1912 . . . . . . 7 ((∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥∀𝑦Fun ◡{⟨𝑥, 𝑦⟩}) → ∃𝑥∃𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun ◡{⟨𝑥, 𝑦⟩}))
12 cnveq 5862 . . . . . . . . . 10 ({𝑝} = {⟨𝑥, 𝑦⟩} → ◡{𝑝} = ◡{⟨𝑥, 𝑦⟩})
1312funeqd 6588 . . . . . . . . 9 ({𝑝} = {⟨𝑥, 𝑦⟩} → (Fun ◡{𝑝} ↔ Fun ◡{⟨𝑥, 𝑦⟩}))
1413biimpar 483 . . . . . . . 8 (({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun ◡{⟨𝑥, 𝑦⟩}) → Fun ◡{𝑝})
1514exlimivv 1969 . . . . . . 7 (∃𝑥∃𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun ◡{⟨𝑥, 𝑦⟩}) → Fun ◡{𝑝})
1611, 15syl 18 . . . . . 6 ((∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥∀𝑦Fun ◡{⟨𝑥, 𝑦⟩}) → Fun ◡{𝑝})
178, 10, 16sylancl 598 . . . . 5 (Fun {𝑝} → Fun ◡{𝑝})
1817ax-gen 1830 . . . 4 ∀𝑝(Fun {𝑝} → Fun ◡{𝑝})
19 19.29r 1911 . . . . 5 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun ◡{𝑝})) → ∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun ◡{𝑝})))
20 funeq 6586 . . . . . . . 8 (𝐹 = {𝑝} → (Fun 𝐹 ↔ Fun {𝑝}))
21 cnveq 5862 . . . . . . . . 9 (𝐹 = {𝑝} → ◡𝐹 = ◡{𝑝})
2221funeqd 6588 . . . . . . . 8 (𝐹 = {𝑝} → (Fun ◡𝐹 ↔ Fun ◡{𝑝}))
2320, 22imbi12d 347 . . . . . . 7 (𝐹 = {𝑝} → ((Fun 𝐹 → Fun ◡𝐹) ↔ (Fun {𝑝} → Fun ◡{𝑝})))
2423biimpar 483 . . . . . 6 ((𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun ◡{𝑝})) → (Fun 𝐹 → Fun ◡𝐹))
2524exlimiv 1967 . . . . 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 1570   = wceq 1572  ∃wex 1814   ∈ wcel 2150  {csn 4587  ⟨cop 4839   class class class wbr 5107  ◡ccnv 5656  Rel wrel 5662  Fun wfun 6559  1oc1o 8506   ≈ cen 9007
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-1o 8513  df-en 9011
This theorem is used by:  spthcycl  30451
  Copyright terms: Public domain W3C validator