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

Theorem 1stconst 5869
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 3513 . . 3 (𝐵𝑉 → ∃𝑥 𝑥 ∈ {𝐵})
2 fo1stresm 5815 . . 3 (∃𝑥 𝑥 ∈ {𝐵} → (1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–onto𝐴)
31, 2syl 14 . 2 (𝐵𝑉 → (1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–onto𝐴)
4 moeq 2738 . . . . . 6 ∃*𝑥 𝑥 = ⟨𝑦, 𝐵
54moani 1986 . . . . 5 ∃*𝑥(𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)
6 vex 2577 . . . . . . . 8 𝑦 ∈ V
76brres 4645 . . . . . . 7 (𝑥(1st ↾ (𝐴 × {𝐵}))𝑦 ↔ (𝑥1st 𝑦𝑥 ∈ (𝐴 × {𝐵})))
8 fo1st 5811 . . . . . . . . . . 11 1st :V–onto→V
9 fofn 5135 . . . . . . . . . . 11 (1st :V–onto→V → 1st Fn V)
108, 9ax-mp 7 . . . . . . . . . 10 1st Fn V
11 vex 2577 . . . . . . . . . 10 𝑥 ∈ V
12 fnbrfvb 5241 . . . . . . . . . 10 ((1st Fn V ∧ 𝑥 ∈ V) → ((1st𝑥) = 𝑦𝑥1st 𝑦))
1310, 11, 12mp2an 410 . . . . . . . . 9 ((1st𝑥) = 𝑦𝑥1st 𝑦)
1413anbi1i 439 . . . . . . . 8 (((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵})) ↔ (𝑥1st 𝑦𝑥 ∈ (𝐴 × {𝐵})))
15 elxp7 5824 . . . . . . . . . . 11 (𝑥 ∈ (𝐴 × {𝐵}) ↔ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵})))
16 eleq1 2116 . . . . . . . . . . . . . . 15 ((1st𝑥) = 𝑦 → ((1st𝑥) ∈ 𝐴𝑦𝐴))
1716biimpa 284 . . . . . . . . . . . . . 14 (((1st𝑥) = 𝑦 ∧ (1st𝑥) ∈ 𝐴) → 𝑦𝐴)
1817adantrr 456 . . . . . . . . . . . . 13 (((1st𝑥) = 𝑦 ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵})) → 𝑦𝐴)
1918adantrl 455 . . . . . . . . . . . 12 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵}))) → 𝑦𝐴)
20 elsni 3420 . . . . . . . . . . . . . 14 ((2nd𝑥) ∈ {𝐵} → (2nd𝑥) = 𝐵)
21 eqopi 5825 . . . . . . . . . . . . . . 15 ((𝑥 ∈ (V × V) ∧ ((1st𝑥) = 𝑦 ∧ (2nd𝑥) = 𝐵)) → 𝑥 = ⟨𝑦, 𝐵⟩)
2221an12s 507 . . . . . . . . . . . . . 14 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ (2nd𝑥) = 𝐵)) → 𝑥 = ⟨𝑦, 𝐵⟩)
2320, 22sylanr2 391 . . . . . . . . . . . . 13 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ (2nd𝑥) ∈ {𝐵})) → 𝑥 = ⟨𝑦, 𝐵⟩)
2423adantrrl 463 . . . . . . . . . . . 12 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵}))) → 𝑥 = ⟨𝑦, 𝐵⟩)
2519, 24jca 294 . . . . . . . . . . 11 (((1st𝑥) = 𝑦 ∧ (𝑥 ∈ (V × V) ∧ ((1st𝑥) ∈ 𝐴 ∧ (2nd𝑥) ∈ {𝐵}))) → (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩))
2615, 25sylan2b 275 . . . . . . . . . 10 (((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵})) → (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩))
2726adantl 266 . . . . . . . . 9 ((𝐵𝑉 ∧ ((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵}))) → (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩))
28 simprr 492 . . . . . . . . . . . 12 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝑥 = ⟨𝑦, 𝐵⟩)
2928fveq2d 5209 . . . . . . . . . . 11 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → (1st𝑥) = (1st ‘⟨𝑦, 𝐵⟩))
30 simprl 491 . . . . . . . . . . . 12 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝑦𝐴)
31 simpl 106 . . . . . . . . . . . 12 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝐵𝑉)
32 op1stg 5804 . . . . . . . . . . . 12 ((𝑦𝐴𝐵𝑉) → (1st ‘⟨𝑦, 𝐵⟩) = 𝑦)
3330, 31, 32syl2anc 397 . . . . . . . . . . 11 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → (1st ‘⟨𝑦, 𝐵⟩) = 𝑦)
3429, 33eqtrd 2088 . . . . . . . . . 10 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → (1st𝑥) = 𝑦)
35 snidg 3427 . . . . . . . . . . . . 13 (𝐵𝑉𝐵 ∈ {𝐵})
3635adantr 265 . . . . . . . . . . . 12 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝐵 ∈ {𝐵})
37 opelxpi 4403 . . . . . . . . . . . 12 ((𝑦𝐴𝐵 ∈ {𝐵}) → ⟨𝑦, 𝐵⟩ ∈ (𝐴 × {𝐵}))
3830, 36, 37syl2anc 397 . . . . . . . . . . 11 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → ⟨𝑦, 𝐵⟩ ∈ (𝐴 × {𝐵}))
3928, 38eqeltrd 2130 . . . . . . . . . 10 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → 𝑥 ∈ (𝐴 × {𝐵}))
4034, 39jca 294 . . . . . . . . 9 ((𝐵𝑉 ∧ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)) → ((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵})))
4127, 40impbida 538 . . . . . . . 8 (𝐵𝑉 → (((1st𝑥) = 𝑦𝑥 ∈ (𝐴 × {𝐵})) ↔ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)))
4214, 41syl5bbr 187 . . . . . . 7 (𝐵𝑉 → ((𝑥1st 𝑦𝑥 ∈ (𝐴 × {𝐵})) ↔ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)))
437, 42syl5bb 185 . . . . . 6 (𝐵𝑉 → (𝑥(1st ↾ (𝐴 × {𝐵}))𝑦 ↔ (𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)))
4443mobidv 1952 . . . . 5 (𝐵𝑉 → (∃*𝑥 𝑥(1st ↾ (𝐴 × {𝐵}))𝑦 ↔ ∃*𝑥(𝑦𝐴𝑥 = ⟨𝑦, 𝐵⟩)))
455, 44mpbiri 161 . . . 4 (𝐵𝑉 → ∃*𝑥 𝑥(1st ↾ (𝐴 × {𝐵}))𝑦)
4645alrimiv 1770 . . 3 (𝐵𝑉 → ∀𝑦∃*𝑥 𝑥(1st ↾ (𝐴 × {𝐵}))𝑦)
47 funcnv2 4986 . . 3 (Fun (1st ↾ (𝐴 × {𝐵})) ↔ ∀𝑦∃*𝑥 𝑥(1st ↾ (𝐴 × {𝐵}))𝑦)
4846, 47sylibr 141 . 2 (𝐵𝑉 → Fun (1st ↾ (𝐴 × {𝐵})))
49 dff1o3 5159 . 2 ((1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–1-1-onto𝐴 ↔ ((1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–onto𝐴 ∧ Fun (1st ↾ (𝐴 × {𝐵}))))
503, 48, 49sylanbrc 402 1 (𝐵𝑉 → (1st ↾ (𝐴 × {𝐵})):(𝐴 × {𝐵})–1-1-onto𝐴)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 101  wb 102  wal 1257   = wceq 1259  wex 1397  wcel 1409  ∃*wmo 1917  Vcvv 2574  {csn 3402  cop 3405   class class class wbr 3791   × cxp 4370  ccnv 4371  cres 4374  Fun wfun 4923   Fn wfn 4924  ontowfo 4927  1-1-ontowf1o 4928  cfv 4929  1st c1st 5792  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-1st 5794  df-2nd 5795
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator