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

Theorem funen1cnv 9081
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 9076 . . 3 (𝐹 ≈ 1o ↔ ∃𝑝 𝐹 = {𝑝})
2 funrel 6573 . . . . . . . 8 (Fun {𝑝} → Rel {𝑝})
3 vsnid 4624 . . . . . . . 8 𝑝 ∈ {𝑝}
4 elrel 5779 . . . . . . . 8 ((Rel {𝑝} ∧ 𝑝 ∈ {𝑝}) → ∃𝑥∃𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
52, 3, 4sylancl 598 . . . . . . 7 (Fun {𝑝} → ∃𝑥∃𝑦 𝑝 = ⟨𝑥, 𝑦⟩)
6 sneq 4594 . . . . . . . 8 (𝑝 = ⟨𝑥, 𝑦⟩ → {𝑝} = {⟨𝑥, 𝑦⟩})
762eximi 1869 . . . . . . 7 (∃𝑥∃𝑦 𝑝 = ⟨𝑥, 𝑦⟩ → ∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
85, 7syl 18 . . . . . 6 (Fun {𝑝} → ∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩})
9 funcnvsn 6609 . . . . . . 7 Fun ◡{⟨𝑥, 𝑦⟩}
109gen2 1829 . . . . . 6 ∀𝑥∀𝑦Fun ◡{⟨𝑥, 𝑦⟩}
11 19.29r2 1910 . . . . . . 7 ((∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥∀𝑦Fun ◡{⟨𝑥, 𝑦⟩}) → ∃𝑥∃𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun ◡{⟨𝑥, 𝑦⟩}))
12 cnveq 5857 . . . . . . . . . 10 ({𝑝} = {⟨𝑥, 𝑦⟩} → ◡{𝑝} = ◡{⟨𝑥, 𝑦⟩})
1312funeqd 6578 . . . . . . . . 9 ({𝑝} = {⟨𝑥, 𝑦⟩} → (Fun ◡{𝑝} ↔ Fun ◡{⟨𝑥, 𝑦⟩}))
1413biimpar 483 . . . . . . . 8 (({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun ◡{⟨𝑥, 𝑦⟩}) → Fun ◡{𝑝})
1514exlimivv 1967 . . . . . . 7 (∃𝑥∃𝑦({𝑝} = {⟨𝑥, 𝑦⟩} ∧ Fun ◡{⟨𝑥, 𝑦⟩}) → Fun ◡{𝑝})
1611, 15syl 18 . . . . . 6 ((∃𝑥∃𝑦{𝑝} = {⟨𝑥, 𝑦⟩} ∧ ∀𝑥∀𝑦Fun ◡{⟨𝑥, 𝑦⟩}) → Fun ◡{𝑝})
178, 10, 16sylancl 598 . . . . 5 (Fun {𝑝} → Fun ◡{𝑝})
1817ax-gen 1828 . . . 4 ∀𝑝(Fun {𝑝} → Fun ◡{𝑝})
19 19.29r 1909 . . . . 5 ((∃𝑝 𝐹 = {𝑝} ∧ ∀𝑝(Fun {𝑝} → Fun ◡{𝑝})) → ∃𝑝(𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun ◡{𝑝})))
20 funeq 6576 . . . . . . . 8 (𝐹 = {𝑝} → (Fun 𝐹 ↔ Fun {𝑝}))
21 cnveq 5857 . . . . . . . . 9 (𝐹 = {𝑝} → ◡𝐹 = ◡{𝑝})
2221funeqd 6578 . . . . . . . 8 (𝐹 = {𝑝} → (Fun ◡𝐹 ↔ Fun ◡{𝑝}))
2320, 22imbi12d 347 . . . . . . 7 (𝐹 = {𝑝} → ((Fun 𝐹 → Fun ◡𝐹) ↔ (Fun {𝑝} → Fun ◡{𝑝})))
2423biimpar 483 . . . . . 6 ((𝐹 = {𝑝} ∧ (Fun {𝑝} → Fun ◡{𝑝})) → (Fun 𝐹 → Fun ◡𝐹))
2524exlimiv 1965 . . . . 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 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  {csn 4588  ⟨cop 4838   class class class wbr 5106  ◡ccnv 5654  Rel wrel 5660  Fun wfun 6549  1oc1o 8494   ≈ cen 8995
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-1o 8501  df-en 8999
This theorem is used by:  spthcycl  30419
  Copyright terms: Public domain W3C validator