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

Theorem 2ndconst 6127
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 3649 . . 3 (𝐴𝑉 → ∃𝑥 𝑥 ∈ {𝐴})
2 fo2ndresm 6068 . . 3 (∃𝑥 𝑥 ∈ {𝐴} → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–onto𝐵)
31, 2syl 14 . 2 (𝐴𝑉 → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–onto𝐵)
4 moeq 2863 . . . . . 6 ∃*𝑥 𝑥 = ⟨𝐴, 𝑦
54moani 2070 . . . . 5 ∃*𝑥(𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)
6 vex 2692 . . . . . . . 8 𝑦 ∈ V
76brres 4833 . . . . . . 7 (𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦 ↔ (𝑥2nd 𝑦𝑥 ∈ ({𝐴} × 𝐵)))
8 fo2nd 6064 . . . . . . . . . . 11 2nd :V–onto→V
9 fofn 5355 . . . . . . . . . . 11 (2nd :V–onto→V → 2nd Fn V)
108, 9ax-mp 5 . . . . . . . . . 10 2nd Fn V
11 vex 2692 . . . . . . . . . 10 𝑥 ∈ V
12 fnbrfvb 5470 . . . . . . . . . 10 ((2nd Fn V ∧ 𝑥 ∈ V) → ((2nd𝑥) = 𝑦𝑥2nd 𝑦))
1310, 11, 12mp2an 423 . . . . . . . . 9 ((2nd𝑥) = 𝑦𝑥2nd 𝑦)
1413anbi1i 454 . . . . . . . 8 (((2nd𝑥) = 𝑦𝑥 ∈ ({𝐴} × 𝐵)) ↔ (𝑥2nd 𝑦𝑥 ∈ ({𝐴} × 𝐵)))
15 elxp7 6076 . . . . . . . . . . 11 (𝑥 ∈ ({𝐴} × 𝐵) ↔ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ {𝐴} ∧ (2nd𝑥) ∈ 𝐵)))
16 eleq1 2203 . . . . . . . . . . . . . . 15 ((2nd𝑥) = 𝑦 → ((2nd𝑥) ∈ 𝐵𝑦𝐵))
1716biimpa 294 . . . . . . . . . . . . . 14 (((2nd𝑥) = 𝑦 ∧ (2nd𝑥) ∈ 𝐵) → 𝑦𝐵)
1817adantrl 470 . . . . . . . . . . . . 13 (((2nd𝑥) = 𝑦 ∧ ((1st𝑥) ∈ {𝐴} ∧ (2nd𝑥) ∈ 𝐵)) → 𝑦𝐵)
1918adantrl 470 . . . . . . . . . . . 12 (((2nd𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ {𝐴} ∧ (2nd𝑥) ∈ 𝐵))) → 𝑦𝐵)
20 elsni 3550 . . . . . . . . . . . . . 14 ((1st𝑥) ∈ {𝐴} → (1st𝑥) = 𝐴)
21 eqopi 6078 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ (V × V) ∧ ((1st𝑥) = 𝐴 ∧ (2nd𝑥) = 𝑦)) → 𝑥 = ⟨𝐴, 𝑦⟩)
2221ancom2s 556 . . . . . . . . . . . . . . 15 ((𝑥 ∈ (V × V) ∧ ((2nd𝑥) = 𝑦 ∧ (1st𝑥) = 𝐴)) → 𝑥 = ⟨𝐴, 𝑦⟩)
2322an12s 555 . . . . . . . . . . . . . 14 (((2nd𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ (1st𝑥) = 𝐴)) → 𝑥 = ⟨𝐴, 𝑦⟩)
2420, 23sylanr2 403 . . . . . . . . . . . . 13 (((2nd𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ (1st𝑥) ∈ {𝐴})) → 𝑥 = ⟨𝐴, 𝑦⟩)
2524adantrrr 479 . . . . . . . . . . . 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 5429 . . . . . . . . . . . 12 (𝑥 = ⟨𝐴, 𝑦⟩ → (2nd𝑥) = (2nd ‘⟨𝐴, 𝑦⟩))
30 op2ndg 6057 . . . . . . . . . . . . 13 ((𝐴𝑉𝑦 ∈ V) → (2nd ‘⟨𝐴, 𝑦⟩) = 𝑦)
316, 30mpan2 422 . . . . . . . . . . . 12 (𝐴𝑉 → (2nd ‘⟨𝐴, 𝑦⟩) = 𝑦)
3229, 31sylan9eqr 2195 . . . . . . . . . . 11 ((𝐴𝑉𝑥 = ⟨𝐴, 𝑦⟩) → (2nd𝑥) = 𝑦)
3332adantrl 470 . . . . . . . . . 10 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → (2nd𝑥) = 𝑦)
34 simprr 522 . . . . . . . . . . 11 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → 𝑥 = ⟨𝐴, 𝑦⟩)
35 snidg 3561 . . . . . . . . . . . . 13 (𝐴𝑉𝐴 ∈ {𝐴})
3635adantr 274 . . . . . . . . . . . 12 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → 𝐴 ∈ {𝐴})
37 simprl 521 . . . . . . . . . . . 12 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → 𝑦𝐵)
38 opelxpi 4579 . . . . . . . . . . . 12 ((𝐴 ∈ {𝐴} ∧ 𝑦𝐵) → ⟨𝐴, 𝑦⟩ ∈ ({𝐴} × 𝐵))
3936, 37, 38syl2anc 409 . . . . . . . . . . 11 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → ⟨𝐴, 𝑦⟩ ∈ ({𝐴} × 𝐵))
4034, 39eqeltrd 2217 . . . . . . . . . 10 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → 𝑥 ∈ ({𝐴} × 𝐵))
4133, 40jca 304 . . . . . . . . 9 ((𝐴𝑉 ∧ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)) → ((2nd𝑥) = 𝑦𝑥 ∈ ({𝐴} × 𝐵)))
4228, 41impbida 586 . . . . . . . 8 (𝐴𝑉 → (((2nd𝑥) = 𝑦𝑥 ∈ ({𝐴} × 𝐵)) ↔ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)))
4314, 42bitr3id 193 . . . . . . 7 (𝐴𝑉 → ((𝑥2nd 𝑦𝑥 ∈ ({𝐴} × 𝐵)) ↔ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)))
447, 43syl5bb 191 . . . . . 6 (𝐴𝑉 → (𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦 ↔ (𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)))
4544mobidv 2036 . . . . 5 (𝐴𝑉 → (∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦 ↔ ∃*𝑥(𝑦𝐵𝑥 = ⟨𝐴, 𝑦⟩)))
465, 45mpbiri 167 . . . 4 (𝐴𝑉 → ∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦)
4746alrimiv 1847 . . 3 (𝐴𝑉 → ∀𝑦∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦)
48 funcnv2 5191 . . 3 (Fun (2nd ↾ ({𝐴} × 𝐵)) ↔ ∀𝑦∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦)
4947, 48sylibr 133 . 2 (𝐴𝑉 → Fun (2nd ↾ ({𝐴} × 𝐵)))
50 dff1o3 5381 . 2 ((2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–1-1-onto𝐵 ↔ ((2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–onto𝐵 ∧ Fun (2nd ↾ ({𝐴} × 𝐵))))
513, 49, 50sylanbrc 414 1 (𝐴𝑉 → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–1-1-onto𝐵)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1330   = wceq 1332  wex 1469  wcel 1481  ∃*wmo 2001  Vcvv 2689  {csn 3532  cop 3535   class class class wbr 3937   × cxp 4545  ccnv 4546  cres 4549  Fun wfun 5125   Fn wfn 5126  ontowfo 5129  1-1-ontowf1o 5130  cfv 5131  1st c1st 6044  2nd c2nd 6045
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 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-13 1492  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139  ax-un 4363
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-rab 2426  df-v 2691  df-sbc 2914  df-csb 3008  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-iun 3823  df-br 3938  df-opab 3998  df-mpt 3999  df-id 4223  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-rn 4558  df-res 4559  df-ima 4560  df-iota 5096  df-fun 5133  df-fn 5134  df-f 5135  df-f1 5136  df-fo 5137  df-f1o 5138  df-fv 5139  df-1st 6046  df-2nd 6047
This theorem is referenced by:  xpfi  6826  fsum2dlemstep  11235
  Copyright terms: Public domain W3C validator