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

Theorem f1o2ndf1 7934
Description: The 2nd (second component of an ordered pair) function restricted to a one-to-one function 𝐹 is a one-to-one function from 𝐹 onto the range of 𝐹. (Contributed by Alexander van der Vekens, 4-Feb-2018.)
Assertion
Ref Expression
f1o2ndf1 (𝐹:𝐴1-1𝐵 → (2nd𝐹):𝐹1-1-onto→ran 𝐹)

Proof of Theorem f1o2ndf1
Dummy variables 𝑎 𝑏 𝑣 𝑤 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 f1f 6654 . . 3 (𝐹:𝐴1-1𝐵𝐹:𝐴𝐵)
2 fo2ndf 7933 . . 3 (𝐹:𝐴𝐵 → (2nd𝐹):𝐹onto→ran 𝐹)
31, 2syl 17 . 2 (𝐹:𝐴1-1𝐵 → (2nd𝐹):𝐹onto→ran 𝐹)
4 f2ndf 7932 . . . . 5 (𝐹:𝐴𝐵 → (2nd𝐹):𝐹𝐵)
51, 4syl 17 . . . 4 (𝐹:𝐴1-1𝐵 → (2nd𝐹):𝐹𝐵)
6 fssxp 6612 . . . . . . 7 (𝐹:𝐴𝐵𝐹 ⊆ (𝐴 × 𝐵))
71, 6syl 17 . . . . . 6 (𝐹:𝐴1-1𝐵𝐹 ⊆ (𝐴 × 𝐵))
8 ssel2 3912 . . . . . . . . . . 11 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ 𝑥𝐹) → 𝑥 ∈ (𝐴 × 𝐵))
9 elxp2 5604 . . . . . . . . . . 11 (𝑥 ∈ (𝐴 × 𝐵) ↔ ∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩)
108, 9sylib 217 . . . . . . . . . 10 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ 𝑥𝐹) → ∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩)
11 ssel2 3912 . . . . . . . . . . 11 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ 𝑦𝐹) → 𝑦 ∈ (𝐴 × 𝐵))
12 elxp2 5604 . . . . . . . . . . 11 (𝑦 ∈ (𝐴 × 𝐵) ↔ ∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩)
1311, 12sylib 217 . . . . . . . . . 10 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ 𝑦𝐹) → ∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩)
1410, 13anim12dan 618 . . . . . . . . 9 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩ ∧ ∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩))
15 fvres 6775 . . . . . . . . . . . . . . . . . . . . . . 23 (⟨𝑎, 𝑣⟩ ∈ 𝐹 → ((2nd𝐹)‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑎, 𝑣⟩))
1615ad2antrr 722 . . . . . . . . . . . . . . . . . . . . . 22 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((2nd𝐹)‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑎, 𝑣⟩))
17 fvres 6775 . . . . . . . . . . . . . . . . . . . . . . 23 (⟨𝑏, 𝑤⟩ ∈ 𝐹 → ((2nd𝐹)‘⟨𝑏, 𝑤⟩) = (2nd ‘⟨𝑏, 𝑤⟩))
1817ad2antlr 723 . . . . . . . . . . . . . . . . . . . . . 22 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((2nd𝐹)‘⟨𝑏, 𝑤⟩) = (2nd ‘⟨𝑏, 𝑤⟩))
1916, 18eqeq12d 2754 . . . . . . . . . . . . . . . . . . . . 21 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) ↔ (2nd ‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑏, 𝑤⟩)))
20 vex 3426 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑎 ∈ V
21 vex 3426 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑣 ∈ V
2220, 21op2nd 7813 . . . . . . . . . . . . . . . . . . . . . . 23 (2nd ‘⟨𝑎, 𝑣⟩) = 𝑣
23 vex 3426 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑏 ∈ V
24 vex 3426 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑤 ∈ V
2523, 24op2nd 7813 . . . . . . . . . . . . . . . . . . . . . . 23 (2nd ‘⟨𝑏, 𝑤⟩) = 𝑤
2622, 25eqeq12i 2756 . . . . . . . . . . . . . . . . . . . . . 22 ((2nd ‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑏, 𝑤⟩) ↔ 𝑣 = 𝑤)
27 f1fun 6656 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝐹:𝐴1-1𝐵 → Fun 𝐹)
28 funopfv 6803 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (Fun 𝐹 → (⟨𝑎, 𝑣⟩ ∈ 𝐹 → (𝐹𝑎) = 𝑣))
29 funopfv 6803 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (Fun 𝐹 → (⟨𝑏, 𝑤⟩ ∈ 𝐹 → (𝐹𝑏) = 𝑤))
3028, 29anim12d 608 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (Fun 𝐹 → ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → ((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤)))
3127, 30syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝐹:𝐴1-1𝐵 → ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → ((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤)))
32 eqcom 2745 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝐹𝑎) = 𝑣𝑣 = (𝐹𝑎))
3332biimpi 215 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝐹𝑎) = 𝑣𝑣 = (𝐹𝑎))
34 eqcom 2745 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝐹𝑏) = 𝑤𝑤 = (𝐹𝑏))
3534biimpi 215 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝐹𝑏) = 𝑤𝑤 = (𝐹𝑏))
3633, 35eqeqan12d 2752 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝑣 = 𝑤 ↔ (𝐹𝑎) = (𝐹𝑏)))
37 simpl 482 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 ((𝑎𝐴𝑣𝐵) → 𝑎𝐴)
38 simpl 482 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 ((𝑏𝐴𝑤𝐵) → 𝑏𝐴)
3937, 38anim12i 612 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑎𝐴𝑏𝐴))
40 f1veqaeq 7111 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 ((𝐹:𝐴1-1𝐵 ∧ (𝑎𝐴𝑏𝐴)) → ((𝐹𝑎) = (𝐹𝑏) → 𝑎 = 𝑏))
4139, 40sylan2 592 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝐹:𝐴1-1𝐵 ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((𝐹𝑎) = (𝐹𝑏) → 𝑎 = 𝑏))
42 opeq12 4803 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 ((𝑎 = 𝑏𝑣 = 𝑤) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)
4342ex 412 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 (𝑎 = 𝑏 → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))
4441, 43syl6 35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ((𝐹:𝐴1-1𝐵 ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((𝐹𝑎) = (𝐹𝑏) → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
4544com23 86 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝐹:𝐴1-1𝐵 ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (𝑣 = 𝑤 → ((𝐹𝑎) = (𝐹𝑏) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
4645ex 412 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (𝐹:𝐴1-1𝐵 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → ((𝐹𝑎) = (𝐹𝑏) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
4746com14 96 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((𝐹𝑎) = (𝐹𝑏) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
4836, 47syl6bi 252 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝑣 = 𝑤 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))))
4948com14 96 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑣 = 𝑤 → (𝑣 = 𝑤 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))))
5049pm2.43i 52 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑣 = 𝑤 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5150com14 96 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝐹:𝐴1-1𝐵 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5251com23 86 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝐹:𝐴1-1𝐵 → (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5331, 52syld 47 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐹:𝐴1-1𝐵 → ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5453com13 88 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → (𝐹:𝐴1-1𝐵 → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5554impcom 407 . . . . . . . . . . . . . . . . . . . . . . 23 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (𝐹:𝐴1-1𝐵 → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
5655com23 86 . . . . . . . . . . . . . . . . . . . . . 22 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (𝑣 = 𝑤 → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
5726, 56syl5bi 241 . . . . . . . . . . . . . . . . . . . . 21 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((2nd ‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑏, 𝑤⟩) → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
5819, 57sylbid 239 . . . . . . . . . . . . . . . . . . . 20 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
5958com23 86 . . . . . . . . . . . . . . . . . . 19 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
6059ex 412 . . . . . . . . . . . . . . . . . 18 ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
6160adantl 481 . . . . . . . . . . . . . . . . 17 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹)) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
6261com12 32 . . . . . . . . . . . . . . . 16 (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
6362ad4ant13 747 . . . . . . . . . . . . . . 15 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
64 eleq1 2826 . . . . . . . . . . . . . . . . . 18 (𝑥 = ⟨𝑎, 𝑣⟩ → (𝑥𝐹 ↔ ⟨𝑎, 𝑣⟩ ∈ 𝐹))
6564ad2antlr 723 . . . . . . . . . . . . . . . . 17 ((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) → (𝑥𝐹 ↔ ⟨𝑎, 𝑣⟩ ∈ 𝐹))
66 eleq1 2826 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑏, 𝑤⟩ → (𝑦𝐹 ↔ ⟨𝑏, 𝑤⟩ ∈ 𝐹))
6765, 66bi2anan9 635 . . . . . . . . . . . . . . . 16 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝑥𝐹𝑦𝐹) ↔ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹)))
6867anbi2d 628 . . . . . . . . . . . . . . 15 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) ↔ (𝐹 ⊆ (𝐴 × 𝐵) ∧ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹))))
69 fveq2 6756 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨𝑎, 𝑣⟩ → ((2nd𝐹)‘𝑥) = ((2nd𝐹)‘⟨𝑎, 𝑣⟩))
7069ad2antlr 723 . . . . . . . . . . . . . . . . . 18 ((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) → ((2nd𝐹)‘𝑥) = ((2nd𝐹)‘⟨𝑎, 𝑣⟩))
71 fveq2 6756 . . . . . . . . . . . . . . . . . 18 (𝑦 = ⟨𝑏, 𝑤⟩ → ((2nd𝐹)‘𝑦) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩))
7270, 71eqeqan12d 2752 . . . . . . . . . . . . . . . . 17 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) ↔ ((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩)))
73 simpllr 772 . . . . . . . . . . . . . . . . . 18 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → 𝑥 = ⟨𝑎, 𝑣⟩)
74 simpr 484 . . . . . . . . . . . . . . . . . 18 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → 𝑦 = ⟨𝑏, 𝑤⟩)
7573, 74eqeq12d 2754 . . . . . . . . . . . . . . . . 17 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → (𝑥 = 𝑦 ↔ ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))
7672, 75imbi12d 344 . . . . . . . . . . . . . . . 16 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦) ↔ (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
7776imbi2d 340 . . . . . . . . . . . . . . 15 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)) ↔ (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
7863, 68, 773imtr4d 293 . . . . . . . . . . . . . 14 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))
7978ex 412 . . . . . . . . . . . . 13 ((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) → (𝑦 = ⟨𝑏, 𝑤⟩ → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))))
8079rexlimdvva 3222 . . . . . . . . . . . 12 (((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) → (∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩ → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))))
8180ex 412 . . . . . . . . . . 11 ((𝑎𝐴𝑣𝐵) → (𝑥 = ⟨𝑎, 𝑣⟩ → (∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩ → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))))
8281rexlimivv 3220 . . . . . . . . . 10 (∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩ → (∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩ → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))))
8382imp 406 . . . . . . . . 9 ((∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩ ∧ ∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))
8414, 83mpcom 38 . . . . . . . 8 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))
8584ex 412 . . . . . . 7 (𝐹 ⊆ (𝐴 × 𝐵) → ((𝑥𝐹𝑦𝐹) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))
8685com23 86 . . . . . 6 (𝐹 ⊆ (𝐴 × 𝐵) → (𝐹:𝐴1-1𝐵 → ((𝑥𝐹𝑦𝐹) → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))
877, 86mpcom 38 . . . . 5 (𝐹:𝐴1-1𝐵 → ((𝑥𝐹𝑦𝐹) → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))
8887ralrimivv 3113 . . . 4 (𝐹:𝐴1-1𝐵 → ∀𝑥𝐹𝑦𝐹 (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))
89 dff13 7109 . . . 4 ((2nd𝐹):𝐹1-1𝐵 ↔ ((2nd𝐹):𝐹𝐵 ∧ ∀𝑥𝐹𝑦𝐹 (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))
905, 88, 89sylanbrc 582 . . 3 (𝐹:𝐴1-1𝐵 → (2nd𝐹):𝐹1-1𝐵)
91 df-f1 6423 . . . 4 ((2nd𝐹):𝐹1-1𝐵 ↔ ((2nd𝐹):𝐹𝐵 ∧ Fun (2nd𝐹)))
9291simprbi 496 . . 3 ((2nd𝐹):𝐹1-1𝐵 → Fun (2nd𝐹))
9390, 92syl 17 . 2 (𝐹:𝐴1-1𝐵 → Fun (2nd𝐹))
94 dff1o3 6706 . 2 ((2nd𝐹):𝐹1-1-onto→ran 𝐹 ↔ ((2nd𝐹):𝐹onto→ran 𝐹 ∧ Fun (2nd𝐹)))
953, 93, 94sylanbrc 582 1 (𝐹:𝐴1-1𝐵 → (2nd𝐹):𝐹1-1-onto→ran 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064  wss 3883  cop 4564   × cxp 5578  ccnv 5579  ran crn 5581  cres 5582  Fun wfun 6412  wf 6414  1-1wf1 6415  ontowfo 6416  1-1-ontowf1o 6417  cfv 6418  2nd c2nd 7803
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-2nd 7805
This theorem is referenced by:  hashf1rn  13995
  Copyright terms: Public domain W3C validator