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

Theorem 2ndconst 6087
Description: The mapping of a restriction of the 2nd function to a converse constant function. (Contributed by NM, 27-Mar-2008.)
Assertion
Ref Expression
2ndconst (𝐴𝑉 → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–1-1-onto𝐵)

Proof of Theorem 2ndconst
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 snmg 3611 . . 3 (𝐴𝑉 → ∃𝑥 𝑥 ∈ {𝐴})
2 fo2ndresm 6028 . . 3 (∃𝑥 𝑥 ∈ {𝐴} → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–onto𝐵)
31, 2syl 14 . 2 (𝐴𝑉 → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–onto𝐵)
4 moeq 2832 . . . . . 6 ∃*𝑥 𝑥 = ⟨𝐴, 𝑦
54moani 2047 . . . . 5 ∃*𝑥(𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)
6 vex 2663 . . . . . . . 8 𝑦 ∈ V
76brres 4795 . . . . . . 7 (𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦 ↔ (𝑥2nd 𝑦𝑥 ∈ ({𝐴} × 𝐵)))
8 fo2nd 6024 . . . . . . . . . . 11 2nd :V–onto→V
9 fofn 5317 . . . . . . . . . . 11 (2nd :V–onto→V → 2nd Fn V)
108, 9ax-mp 5 . . . . . . . . . 10 2nd Fn V
11 vex 2663 . . . . . . . . . 10 𝑥 ∈ V
12 fnbrfvb 5430 . . . . . . . . . 10 ((2nd Fn V ∧ 𝑥 ∈ V) → ((2nd𝑥) = 𝑦𝑥2nd 𝑦))
1310, 11, 12mp2an 422 . . . . . . . . 9 ((2nd𝑥) = 𝑦𝑥2nd 𝑦)
1413anbi1i 453 . . . . . . . 8 (((2nd𝑥) = 𝑦𝑥 ∈ ({𝐴} × 𝐵)) ↔ (𝑥2nd 𝑦𝑥 ∈ ({𝐴} × 𝐵)))
15 elxp7 6036 . . . . . . . . . . 11 (𝑥 ∈ ({𝐴} × 𝐵) ↔ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ {𝐴} ∧ (2nd𝑥) ∈ 𝐵)))
16 eleq1 2180 . . . . . . . . . . . . . . 15 ((2nd𝑥) = 𝑦 → ((2nd𝑥) ∈ 𝐵𝑦𝐵))
1716biimpa 294 . . . . . . . . . . . . . 14 (((2nd𝑥) = 𝑦 ∧ (2nd𝑥) ∈ 𝐵) → 𝑦𝐵)
1817adantrl 469 . . . . . . . . . . . . 13 (((2nd𝑥) = 𝑦 ∧ ((1st𝑥) ∈ {𝐴} ∧ (2nd𝑥) ∈ 𝐵)) → 𝑦𝐵)
1918adantrl 469 . . . . . . . . . . . 12 (((2nd𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ {𝐴} ∧ (2nd𝑥) ∈ 𝐵))) → 𝑦𝐵)
20 elsni 3515 . . . . . . . . . . . . . 14 ((1st𝑥) ∈ {𝐴} → (1st𝑥) = 𝐴)
21 eqopi 6038 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ (V × V) ∧ ((1st𝑥) = 𝐴 ∧ (2nd𝑥) = 𝑦)) → 𝑥 = ⟨𝐴, 𝑦⟩)
2221ancom2s 540 . . . . . . . . . . . . . . 15 ((𝑥 ∈ (V × V) ∧ ((2nd𝑥) = 𝑦 ∧ (1st𝑥) = 𝐴)) → 𝑥 = ⟨𝐴, 𝑦⟩)
2322an12s 539 . . . . . . . . . . . . . 14 (((2nd𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ (1st𝑥) = 𝐴)) → 𝑥 = ⟨𝐴, 𝑦⟩)
2420, 23sylanr2 402 . . . . . . . . . . . . 13 (((2nd𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ (1st𝑥) ∈ {𝐴})) → 𝑥 = ⟨𝐴, 𝑦⟩)
2524adantrrr 478 . . . . . . . . . . . 12 (((2nd𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ {𝐴} ∧ (2nd𝑥) ∈ 𝐵))) → 𝑥 = ⟨𝐴, 𝑦⟩)
2619, 25jca 304 . . . . . . . . . . 11 (((2nd𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ {𝐴} ∧ (2nd𝑥) ∈ 𝐵))) → (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩))
2715, 26sylan2b 285 . . . . . . . . . 10 (((2nd𝑥) = 𝑦𝑥 ∈ ({𝐴} × 𝐵)) → (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩))
2827adantl 275 . . . . . . . . 9 ((𝐴𝑉 ∧ ((2nd𝑥) = 𝑦𝑥 ∈ ({𝐴} × 𝐵))) → (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩))
29 fveq2 5389 . . . . . . . . . . . 12 (𝑥 = ⟨𝐴, 𝑦⟩ → (2nd𝑥) = (2nd ‘⟨𝐴, 𝑦⟩))
30 op2ndg 6017 . . . . . . . . . . . . 13 ((𝐴𝑉𝑦 ∈ V) → (2nd ‘⟨𝐴, 𝑦⟩) = 𝑦)
316, 30mpan2 421 . . . . . . . . . . . 12 (𝐴𝑉 → (2nd ‘⟨𝐴, 𝑦⟩) = 𝑦)
3229, 31sylan9eqr 2172 . . . . . . . . . . 11 ((𝐴𝑉𝑥 = ⟨𝐴, 𝑦⟩) → (2nd𝑥) = 𝑦)
3332adantrl 469 . . . . . . . . . 10 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → (2nd𝑥) = 𝑦)
34 simprr 506 . . . . . . . . . . 11 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → 𝑥 = ⟨𝐴, 𝑦⟩)
35 snidg 3524 . . . . . . . . . . . . 13 (𝐴𝑉𝐴 ∈ {𝐴})
3635adantr 274 . . . . . . . . . . . 12 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → 𝐴 ∈ {𝐴})
37 simprl 505 . . . . . . . . . . . 12 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → 𝑦𝐵)
38 opelxpi 4541 . . . . . . . . . . . 12 ((𝐴 ∈ {𝐴} ∧ 𝑦𝐵) → ⟨𝐴, 𝑦⟩ ∈ ({𝐴} × 𝐵))
3936, 37, 38syl2anc 408 . . . . . . . . . . 11 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → ⟨𝐴, 𝑦⟩ ∈ ({𝐴} × 𝐵))
4034, 39eqeltrd 2194 . . . . . . . . . 10 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → 𝑥 ∈ ({𝐴} × 𝐵))
4133, 40jca 304 . . . . . . . . 9 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → ((2nd𝑥) = 𝑦𝑥 ∈ ({𝐴} × 𝐵)))
4228, 41impbida 570 . . . . . . . 8 (𝐴𝑉 → (((2nd𝑥) = 𝑦𝑥 ∈ ({𝐴} × 𝐵)) ↔ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)))
4314, 42syl5bbr 193 . . . . . . 7 (𝐴𝑉 → ((𝑥2nd 𝑦𝑥 ∈ ({𝐴} × 𝐵)) ↔ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)))
447, 43syl5bb 191 . . . . . 6 (𝐴𝑉 → (𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦 ↔ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)))
4544mobidv 2013 . . . . 5 (𝐴𝑉 → (∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦 ↔ ∃*𝑥(𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)))
465, 45mpbiri 167 . . . 4 (𝐴𝑉 → ∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦)
4746alrimiv 1830 . . 3 (𝐴𝑉 → ∀𝑦∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦)
48 funcnv2 5153 . . 3 (Fun (2nd ↾ ({𝐴} × 𝐵)) ↔ ∀𝑦∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦)
4947, 48sylibr 133 . 2 (𝐴𝑉 → Fun (2nd ↾ ({𝐴} × 𝐵)))
50 dff1o3 5341 . 2 ((2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–1-1-onto𝐵 ↔ ((2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–onto𝐵 ∧ Fun (2nd ↾ ({𝐴} × 𝐵))))
513, 49, 50sylanbrc 413 1 (𝐴𝑉 → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–1-1-onto𝐵)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1314   = wceq 1316  wex 1453  wcel 1465  ∃*wmo 1978  Vcvv 2660  {csn 3497  cop 3500   class class class wbr 3899   × cxp 4507  ccnv 4508  cres 4511  Fun wfun 5087   Fn wfn 5088  ontowfo 5091  1-1-ontowf1o 5092  cfv 5093  1st c1st 6004  2nd c2nd 6005
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-13 1476  ax-14 1477  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099  ax-sep 4016  ax-pow 4068  ax-pr 4101  ax-un 4325
This theorem depends on definitions:  df-bi 116  df-3an 949  df-tru 1319  df-nf 1422  df-sb 1721  df-eu 1980  df-mo 1981  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ral 2398  df-rex 2399  df-rab 2402  df-v 2662  df-sbc 2883  df-csb 2976  df-un 3045  df-in 3047  df-ss 3054  df-pw 3482  df-sn 3503  df-pr 3504  df-op 3506  df-uni 3707  df-iun 3785  df-br 3900  df-opab 3960  df-mpt 3961  df-id 4185  df-xp 4515  df-rel 4516  df-cnv 4517  df-co 4518  df-dm 4519  df-rn 4520  df-res 4521  df-ima 4522  df-iota 5058  df-fun 5095  df-fn 5096  df-f 5097  df-f1 5098  df-fo 5099  df-f1o 5100  df-fv 5101  df-1st 6006  df-2nd 6007
This theorem is referenced by:  xpfi  6786  fsum2dlemstep  11171
  Copyright terms: Public domain W3C validator