ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  f1o2ndf1 GIF version

Theorem f1o2ndf1 5876
Description: The 2nd (second member of an ordered pair) function restricted to a one-to-one function 𝐹 is a one-to-one function of 𝐹 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 5119 . . 3 (𝐹:𝐴1-1𝐵𝐹:𝐴𝐵)
2 fo2ndf 5875 . . 3 (𝐹:𝐴𝐵 → (2nd𝐹):𝐹onto→ran 𝐹)
31, 2syl 14 . 2 (𝐹:𝐴1-1𝐵 → (2nd𝐹):𝐹onto→ran 𝐹)
4 f2ndf 5874 . . . . 5 (𝐹:𝐴𝐵 → (2nd𝐹):𝐹𝐵)
51, 4syl 14 . . . 4 (𝐹:𝐴1-1𝐵 → (2nd𝐹):𝐹𝐵)
6 fssxp 5085 . . . . . . 7 (𝐹:𝐴𝐵𝐹 ⊆ (𝐴 × 𝐵))
71, 6syl 14 . . . . . 6 (𝐹:𝐴1-1𝐵𝐹 ⊆ (𝐴 × 𝐵))
8 ssel2 2967 . . . . . . . . . . 11 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ 𝑥𝐹) → 𝑥 ∈ (𝐴 × 𝐵))
9 elxp2 4390 . . . . . . . . . . 11 (𝑥 ∈ (𝐴 × 𝐵) ↔ ∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩)
108, 9sylib 131 . . . . . . . . . 10 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ 𝑥𝐹) → ∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩)
11 ssel2 2967 . . . . . . . . . . 11 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ 𝑦𝐹) → 𝑦 ∈ (𝐴 × 𝐵))
12 elxp2 4390 . . . . . . . . . . 11 (𝑦 ∈ (𝐴 × 𝐵) ↔ ∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩)
1311, 12sylib 131 . . . . . . . . . 10 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ 𝑦𝐹) → ∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩)
1410, 13anim12dan 542 . . . . . . . . 9 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩ ∧ ∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩))
15 fvres 5225 . . . . . . . . . . . . . . . . . . . . . . . . 25 (⟨𝑎, 𝑣⟩ ∈ 𝐹 → ((2nd𝐹)‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑎, 𝑣⟩))
1615adantr 265 . . . . . . . . . . . . . . . . . . . . . . . 24 ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → ((2nd𝐹)‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑎, 𝑣⟩))
1716adantr 265 . . . . . . . . . . . . . . . . . . . . . . 23 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((2nd𝐹)‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑎, 𝑣⟩))
18 fvres 5225 . . . . . . . . . . . . . . . . . . . . . . . 24 (⟨𝑏, 𝑤⟩ ∈ 𝐹 → ((2nd𝐹)‘⟨𝑏, 𝑤⟩) = (2nd ‘⟨𝑏, 𝑤⟩))
1918ad2antlr 466 . . . . . . . . . . . . . . . . . . . . . . 23 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((2nd𝐹)‘⟨𝑏, 𝑤⟩) = (2nd ‘⟨𝑏, 𝑤⟩))
2017, 19eqeq12d 2070 . . . . . . . . . . . . . . . . . . . . . 22 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) ↔ (2nd ‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑏, 𝑤⟩)))
21 vex 2577 . . . . . . . . . . . . . . . . . . . . . . . . 25 𝑎 ∈ V
22 vex 2577 . . . . . . . . . . . . . . . . . . . . . . . . 25 𝑣 ∈ V
2321, 22op2nd 5801 . . . . . . . . . . . . . . . . . . . . . . . 24 (2nd ‘⟨𝑎, 𝑣⟩) = 𝑣
24 vex 2577 . . . . . . . . . . . . . . . . . . . . . . . . 25 𝑏 ∈ V
25 vex 2577 . . . . . . . . . . . . . . . . . . . . . . . . 25 𝑤 ∈ V
2624, 25op2nd 5801 . . . . . . . . . . . . . . . . . . . . . . . 24 (2nd ‘⟨𝑏, 𝑤⟩) = 𝑤
2723, 26eqeq12i 2069 . . . . . . . . . . . . . . . . . . . . . . 23 ((2nd ‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑏, 𝑤⟩) ↔ 𝑣 = 𝑤)
28 f1fun 5121 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝐹:𝐴1-1𝐵 → Fun 𝐹)
29 funopfv 5240 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (Fun 𝐹 → (⟨𝑎, 𝑣⟩ ∈ 𝐹 → (𝐹𝑎) = 𝑣))
30 funopfv 5240 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (Fun 𝐹 → (⟨𝑏, 𝑤⟩ ∈ 𝐹 → (𝐹𝑏) = 𝑤))
3129, 30anim12d 322 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (Fun 𝐹 → ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → ((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤)))
3228, 31syl 14 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝐹:𝐴1-1𝐵 → ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → ((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤)))
33 eqcom 2058 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ((𝐹𝑎) = 𝑣𝑣 = (𝐹𝑎))
3433biimpi 117 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝐹𝑎) = 𝑣𝑣 = (𝐹𝑎))
35 eqcom 2058 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ((𝐹𝑏) = 𝑤𝑤 = (𝐹𝑏))
3635biimpi 117 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 ((𝐹𝑏) = 𝑤𝑤 = (𝐹𝑏))
3734, 36eqeqan12d 2071 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝑣 = 𝑤 ↔ (𝐹𝑎) = (𝐹𝑏)))
38 simpl 106 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 ((𝑎𝐴𝑣𝐵) → 𝑎𝐴)
39 simpl 106 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 ((𝑏𝐴𝑤𝐵) → 𝑏𝐴)
4038, 39anim12i 325 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑎𝐴𝑏𝐴))
41 f1veqaeq 5435 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 ((𝐹:𝐴1-1𝐵 ∧ (𝑎𝐴𝑏𝐴)) → ((𝐹𝑎) = (𝐹𝑏) → 𝑎 = 𝑏))
4240, 41sylan2 274 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 ((𝐹:𝐴1-1𝐵 ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((𝐹𝑎) = (𝐹𝑏) → 𝑎 = 𝑏))
43 opeq12 3578 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 ((𝑎 = 𝑏𝑣 = 𝑤) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)
4443ex 112 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 (𝑎 = 𝑏 → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))
4542, 44syl6 33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ((𝐹:𝐴1-1𝐵 ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((𝐹𝑎) = (𝐹𝑏) → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
4645com23 76 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ((𝐹:𝐴1-1𝐵 ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (𝑣 = 𝑤 → ((𝐹𝑎) = (𝐹𝑏) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
4746ex 112 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 (𝐹:𝐴1-1𝐵 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → ((𝐹𝑎) = (𝐹𝑏) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
4847com14 86 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((𝐹𝑎) = (𝐹𝑏) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
4937, 48syl6bi 156 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝑣 = 𝑤 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))))
5049com14 86 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑣 = 𝑤 → (𝑣 = 𝑤 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))))
5150pm2.43i 47 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑣 = 𝑤 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5251com14 86 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝐹:𝐴1-1𝐵 → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5352com23 76 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝐹:𝐴1-1𝐵 → (((𝐹𝑎) = 𝑣 ∧ (𝐹𝑏) = 𝑤) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5432, 53syld 44 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝐹:𝐴1-1𝐵 → ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5554com13 78 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → (𝐹:𝐴1-1𝐵 → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
5655impcom 120 . . . . . . . . . . . . . . . . . . . . . . . 24 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (𝐹:𝐴1-1𝐵 → (𝑣 = 𝑤 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
5756com23 76 . . . . . . . . . . . . . . . . . . . . . . 23 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (𝑣 = 𝑤 → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
5827, 57syl5bi 145 . . . . . . . . . . . . . . . . . . . . . 22 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → ((2nd ‘⟨𝑎, 𝑣⟩) = (2nd ‘⟨𝑏, 𝑤⟩) → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
5920, 58sylbid 143 . . . . . . . . . . . . . . . . . . . . 21 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → (𝐹:𝐴1-1𝐵 → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
6059com23 76 . . . . . . . . . . . . . . . . . . . 20 (((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) ∧ ((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵))) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
6160ex 112 . . . . . . . . . . . . . . . . . . 19 ((⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
6261adantl 266 . . . . . . . . . . . . . . . . . 18 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹)) → (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
6362com12 30 . . . . . . . . . . . . . . . . 17 (((𝑎𝐴𝑣𝐵) ∧ (𝑏𝐴𝑤𝐵)) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
6463adantlr 454 . . . . . . . . . . . . . . . 16 ((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
6564adantr 265 . . . . . . . . . . . . . . 15 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
66 eleq1 2116 . . . . . . . . . . . . . . . . . 18 (𝑥 = ⟨𝑎, 𝑣⟩ → (𝑥𝐹 ↔ ⟨𝑎, 𝑣⟩ ∈ 𝐹))
6766ad2antlr 466 . . . . . . . . . . . . . . . . 17 ((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) → (𝑥𝐹 ↔ ⟨𝑎, 𝑣⟩ ∈ 𝐹))
68 eleq1 2116 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑏, 𝑤⟩ → (𝑦𝐹 ↔ ⟨𝑏, 𝑤⟩ ∈ 𝐹))
6967, 68bi2anan9 548 . . . . . . . . . . . . . . . 16 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝑥𝐹𝑦𝐹) ↔ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹)))
7069anbi2d 445 . . . . . . . . . . . . . . 15 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) ↔ (𝐹 ⊆ (𝐴 × 𝐵) ∧ (⟨𝑎, 𝑣⟩ ∈ 𝐹 ∧ ⟨𝑏, 𝑤⟩ ∈ 𝐹))))
71 fveq2 5205 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨𝑎, 𝑣⟩ → ((2nd𝐹)‘𝑥) = ((2nd𝐹)‘⟨𝑎, 𝑣⟩))
7271ad2antlr 466 . . . . . . . . . . . . . . . . . 18 ((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) → ((2nd𝐹)‘𝑥) = ((2nd𝐹)‘⟨𝑎, 𝑣⟩))
73 fveq2 5205 . . . . . . . . . . . . . . . . . 18 (𝑦 = ⟨𝑏, 𝑤⟩ → ((2nd𝐹)‘𝑦) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩))
7472, 73eqeqan12d 2071 . . . . . . . . . . . . . . . . 17 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) ↔ ((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩)))
75 simpllr 494 . . . . . . . . . . . . . . . . . 18 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → 𝑥 = ⟨𝑎, 𝑣⟩)
76 simpr 107 . . . . . . . . . . . . . . . . . 18 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → 𝑦 = ⟨𝑏, 𝑤⟩)
7775, 76eqeq12d 2070 . . . . . . . . . . . . . . . . 17 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → (𝑥 = 𝑦 ↔ ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))
7874, 77imbi12d 227 . . . . . . . . . . . . . . . 16 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦) ↔ (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩)))
7978imbi2d 223 . . . . . . . . . . . . . . 15 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)) ↔ (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘⟨𝑎, 𝑣⟩) = ((2nd𝐹)‘⟨𝑏, 𝑤⟩) → ⟨𝑎, 𝑣⟩ = ⟨𝑏, 𝑤⟩))))
8065, 70, 793imtr4d 196 . . . . . . . . . . . . . 14 (((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) ∧ 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))
8180ex 112 . . . . . . . . . . . . 13 ((((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) ∧ (𝑏𝐴𝑤𝐵)) → (𝑦 = ⟨𝑏, 𝑤⟩ → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))))
8281rexlimdvva 2457 . . . . . . . . . . . 12 (((𝑎𝐴𝑣𝐵) ∧ 𝑥 = ⟨𝑎, 𝑣⟩) → (∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩ → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))))
8382ex 112 . . . . . . . . . . 11 ((𝑎𝐴𝑣𝐵) → (𝑥 = ⟨𝑎, 𝑣⟩ → (∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩ → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))))
8483rexlimivv 2455 . . . . . . . . . 10 (∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩ → (∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩ → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))))
8584imp 119 . . . . . . . . 9 ((∃𝑎𝐴𝑣𝐵 𝑥 = ⟨𝑎, 𝑣⟩ ∧ ∃𝑏𝐴𝑤𝐵 𝑦 = ⟨𝑏, 𝑤⟩) → ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))
8614, 85mpcom 36 . . . . . . . 8 ((𝐹 ⊆ (𝐴 × 𝐵) ∧ (𝑥𝐹𝑦𝐹)) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))
8786ex 112 . . . . . . 7 (𝐹 ⊆ (𝐴 × 𝐵) → ((𝑥𝐹𝑦𝐹) → (𝐹:𝐴1-1𝐵 → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))
8887com23 76 . . . . . 6 (𝐹 ⊆ (𝐴 × 𝐵) → (𝐹:𝐴1-1𝐵 → ((𝑥𝐹𝑦𝐹) → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))))
897, 88mpcom 36 . . . . 5 (𝐹:𝐴1-1𝐵 → ((𝑥𝐹𝑦𝐹) → (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))
9089ralrimivv 2417 . . . 4 (𝐹:𝐴1-1𝐵 → ∀𝑥𝐹𝑦𝐹 (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦))
91 dff13 5434 . . . 4 ((2nd𝐹):𝐹1-1𝐵 ↔ ((2nd𝐹):𝐹𝐵 ∧ ∀𝑥𝐹𝑦𝐹 (((2nd𝐹)‘𝑥) = ((2nd𝐹)‘𝑦) → 𝑥 = 𝑦)))
925, 90, 91sylanbrc 402 . . 3 (𝐹:𝐴1-1𝐵 → (2nd𝐹):𝐹1-1𝐵)
93 df-f1 4934 . . . 4 ((2nd𝐹):𝐹1-1𝐵 ↔ ((2nd𝐹):𝐹𝐵 ∧ Fun (2nd𝐹)))
9493simprbi 264 . . 3 ((2nd𝐹):𝐹1-1𝐵 → Fun (2nd𝐹))
9592, 94syl 14 . 2 (𝐹:𝐴1-1𝐵 → Fun (2nd𝐹))
96 dff1o3 5159 . 2 ((2nd𝐹):𝐹1-1-onto→ran 𝐹 ↔ ((2nd𝐹):𝐹onto→ran 𝐹 ∧ Fun (2nd𝐹)))
973, 95, 96sylanbrc 402 1 (𝐹:𝐴1-1𝐵 → (2nd𝐹):𝐹1-1-onto→ran 𝐹)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 101  wb 102   = wceq 1259  wcel 1409  wral 2323  wrex 2324  wss 2944  cop 3405   × cxp 4370  ccnv 4371  ran crn 4373  cres 4374  Fun wfun 4923  wf 4925  1-1wf1 4926  ontowfo 4927  1-1-ontowf1o 4928  cfv 4929  2nd c2nd 5793
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 103  ax-ia2 104  ax-ia3 105  ax-io 640  ax-5 1352  ax-7 1353  ax-gen 1354  ax-ie1 1398  ax-ie2 1399  ax-8 1411  ax-10 1412  ax-11 1413  ax-i12 1414  ax-bndl 1415  ax-4 1416  ax-13 1420  ax-14 1421  ax-17 1435  ax-i9 1439  ax-ial 1443  ax-i5r 1444  ax-ext 2038  ax-sep 3902  ax-pow 3954  ax-pr 3971  ax-un 4197
This theorem depends on definitions:  df-bi 114  df-3an 898  df-tru 1262  df-nf 1366  df-sb 1662  df-eu 1919  df-mo 1920  df-clab 2043  df-cleq 2049  df-clel 2052  df-nfc 2183  df-ral 2328  df-rex 2329  df-rab 2332  df-v 2576  df-sbc 2787  df-csb 2880  df-un 2949  df-in 2951  df-ss 2958  df-pw 3388  df-sn 3408  df-pr 3409  df-op 3411  df-uni 3608  df-iun 3686  df-br 3792  df-opab 3846  df-mpt 3847  df-id 4057  df-xp 4378  df-rel 4379  df-cnv 4380  df-co 4381  df-dm 4382  df-rn 4383  df-res 4384  df-ima 4385  df-iota 4894  df-fun 4931  df-fn 4932  df-f 4933  df-f1 4934  df-fo 4935  df-f1o 4936  df-fv 4937  df-2nd 5795
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator