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

Theorem 1stconst 6189
Description: The mapping of a restriction of the 1st function to a constant function. (Contributed by NM, 14-Dec-2008.)
Assertion
Ref Expression
1stconst (𝐵𝑉 → (1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–1-1-onto𝐴)

Proof of Theorem 1stconst
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 snmg 3694 . . 3 (𝐵𝑉 → ∃𝑥 𝑥 ∈ {𝐵})
2 fo1stresm 6129 . . 3 (∃𝑥 𝑥 ∈ {𝐵} → (1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–onto𝐴)
31, 2syl 14 . 2 (𝐵𝑉 → (1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–onto𝐴)
4 moeq 2901 . . . . . 6 ∃*𝑥 𝑥 = ⟨𝑦, 𝐵
54moani 2084 . . . . 5 ∃*𝑥(𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)
6 vex 2729 . . . . . . . 8 𝑦 ∈ V
76brres 4890 . . . . . . 7 (𝑥(1st ↾ (𝐴 × {𝐵}))𝑦 ↔ (𝑥1st 𝑦𝑥 ∈ (𝐴 × {𝐵})))
8 fo1st 6125 . . . . . . . . . . 11 1st :V–onto→V
9 fofn 5412 . . . . . . . . . . 11 (1st :V–onto→V → 1st Fn V)
108, 9ax-mp 5 . . . . . . . . . 10 1st Fn V
11 vex 2729 . . . . . . . . . 10 𝑥 ∈ V
12 fnbrfvb 5527 . . . . . . . . . 10 ((1st Fn V ∧ 𝑥 ∈ V) → ((1st𝑥) = 𝑦𝑥1st 𝑦))
1310, 11, 12mp2an 423 . . . . . . . . 9 ((1st𝑥) = 𝑦𝑥1st 𝑦)
1413anbi1i 454 . . . . . . . 8 (((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵})) ↔ (𝑥1st 𝑦𝑥 ∈ (𝐴 × {𝐵})))
15 elxp7 6138 . . . . . . . . . . 11 (𝑥 ∈ (𝐴 × {𝐵}) ↔ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵})))
16 eleq1 2229 . . . . . . . . . . . . . . 15 ((1st𝑥) = 𝑦 → ((1st𝑥) ∈ 𝐴𝑦𝐴))
1716biimpa 294 . . . . . . . . . . . . . 14 (((1st𝑥) = 𝑦 ∧ (1st𝑥) ∈ 𝐴) → 𝑦𝐴)
1817adantrr 471 . . . . . . . . . . . . 13 (((1st𝑥) = 𝑦 ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵})) → 𝑦𝐴)
1918adantrl 470 . . . . . . . . . . . 12 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵}))) → 𝑦𝐴)
20 elsni 3594 . . . . . . . . . . . . . 14 ((2nd𝑥) ∈ {𝐵} → (2nd𝑥) = 𝐵)
21 eqopi 6140 . . . . . . . . . . . . . . 15 ((𝑥 ∈ (V × V) ∧ ((1st𝑥) = 𝑦 ∧ (2nd𝑥) = 𝐵)) → 𝑥 = ⟨𝑦, 𝐵⟩)
2221an12s 555 . . . . . . . . . . . . . 14 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ (2nd𝑥) = 𝐵)) → 𝑥 = ⟨𝑦, 𝐵⟩)
2320, 22sylanr2 403 . . . . . . . . . . . . 13 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ (2nd𝑥) ∈ {𝐵})) → 𝑥 = ⟨𝑦, 𝐵⟩)
2423adantrrl 478 . . . . . . . . . . . 12 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵}))) → 𝑥 = ⟨𝑦, 𝐵⟩)
2519, 24jca 304 . . . . . . . . . . 11 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵}))) → (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩))
2615, 25sylan2b 285 . . . . . . . . . 10 (((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵})) → (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩))
2726adantl 275 . . . . . . . . 9 ((𝐵𝑉 ∧ ((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵}))) → (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩))
28 simprr 522 . . . . . . . . . . . 12 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝑥 = ⟨𝑦, 𝐵⟩)
2928fveq2d 5490 . . . . . . . . . . 11 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → (1st𝑥) = (1st ‘⟨𝑦, 𝐵⟩))
30 simprl 521 . . . . . . . . . . . 12 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝑦𝐴)
31 simpl 108 . . . . . . . . . . . 12 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝐵𝑉)
32 op1stg 6118 . . . . . . . . . . . 12 ((𝑦𝐴𝐵𝑉) → (1st ‘⟨𝑦, 𝐵⟩) = 𝑦)
3330, 31, 32syl2anc 409 . . . . . . . . . . 11 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → (1st ‘⟨𝑦, 𝐵⟩) = 𝑦)
3429, 33eqtrd 2198 . . . . . . . . . 10 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → (1st𝑥) = 𝑦)
35 snidg 3605 . . . . . . . . . . . . 13 (𝐵𝑉𝐵 ∈ {𝐵})
3635adantr 274 . . . . . . . . . . . 12 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝐵 ∈ {𝐵})
37 opelxpi 4636 . . . . . . . . . . . 12 ((𝑦𝐴𝐵 ∈ {𝐵}) → ⟨𝑦, 𝐵⟩ ∈ (𝐴 × {𝐵}))
3830, 36, 37syl2anc 409 . . . . . . . . . . 11 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → ⟨𝑦, 𝐵⟩ ∈ (𝐴 × {𝐵}))
3928, 38eqeltrd 2243 . . . . . . . . . 10 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝑥 ∈ (𝐴 × {𝐵}))
4034, 39jca 304 . . . . . . . . 9 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → ((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵})))
4127, 40impbida 586 . . . . . . . 8 (𝐵𝑉 → (((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵})) ↔ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)))
4214, 41bitr3id 193 . . . . . . 7 (𝐵𝑉 → ((𝑥1st 𝑦𝑥 ∈ (𝐴 × {𝐵})) ↔ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)))
437, 42syl5bb 191 . . . . . 6 (𝐵𝑉 → (𝑥(1st ↾ (𝐴 × {𝐵}))𝑦 ↔ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)))
4443mobidv 2050 . . . . 5 (𝐵𝑉 → (∃*𝑥 𝑥(1st ↾ (𝐴 × {𝐵}))𝑦 ↔ ∃*𝑥(𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)))
455, 44mpbiri 167 . . . 4 (𝐵𝑉 → ∃*𝑥 𝑥(1st ↾ (𝐴 × {𝐵}))𝑦)
4645alrimiv 1862 . . 3 (𝐵𝑉 → ∀𝑦∃*𝑥 𝑥(1st ↾ (𝐴 × {𝐵}))𝑦)
47 funcnv2 5248 . . 3 (Fun (1st ↾ (𝐴 × {𝐵})) ↔ ∀𝑦∃*𝑥 𝑥(1st ↾ (𝐴 × {𝐵}))𝑦)
4846, 47sylibr 133 . 2 (𝐵𝑉 → Fun (1st ↾ (𝐴 × {𝐵})))
49 dff1o3 5438 . 2 ((1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–1-1-onto𝐴 ↔ ((1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–onto𝐴 ∧ Fun (1st ↾ (𝐴 × {𝐵}))))
503, 48, 49sylanbrc 414 1 (𝐵𝑉 → (1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–1-1-onto𝐴)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1341   = wceq 1343  wex 1480  ∃*wmo 2015  wcel 2136  Vcvv 2726  {csn 3576  cop 3579   class class class wbr 3982   × cxp 4602  ccnv 4603  cres 4606  Fun wfun 5182   Fn wfn 5183  ontowfo 5186  1-1-ontowf1o 5187  cfv 5188  1st c1st 6106  2nd c2nd 6107
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 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-1st 6108  df-2nd 6109
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator