MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  2ndconst Structured version   Visualization version   GIF version

Theorem 2ndconst 8125
Description: The mapping of a restriction of the 2nd function to a converse constant function. (Contributed by NM, 27-Mar-2008.) (Proof shortened by Peter Mazsa, 2-Oct-2022.)
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 snnzg 4735 . . 3 (𝐴 ∈ 𝑉 → {𝐴} ≠ ∅)
2 fo2ndres 8038 . . 3 ({𝐴} ≠ ∅ → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–onto→𝐵)
31, 2syl 18 . 2 (𝐴 ∈ 𝑉 → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–onto→𝐵)
4 moeq 3668 . . . . . 6 ∃*𝑥 𝑥 = ⟨𝐴, 𝑦⟩
54moani 2581 . . . . 5 ∃*𝑥(𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)
6 vex 3458 . . . . . . . 8 𝑦 ∈ V
76brresi 5984 . . . . . . 7 (𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦 ↔ (𝑥 ∈ ({𝐴} × 𝐵) ∧ 𝑥2nd 𝑦))
8 fo2nd 8032 . . . . . . . . . . 11 2nd :V–onto→V
9 fofn 6809 . . . . . . . . . . 11 (2nd :V–onto→V → 2nd Fn V)
108, 9ax-mp 5 . . . . . . . . . 10 2nd Fn V
11 vex 3458 . . . . . . . . . 10 𝑥 ∈ V
12 fnbrfvb 6946 . . . . . . . . . 10 ((2nd Fn V ∧ 𝑥 ∈ V) → ((2nd ‘𝑥) = 𝑦 ↔ 𝑥2nd 𝑦))
1310, 11, 12mp2an 705 . . . . . . . . 9 ((2nd ‘𝑥) = 𝑦 ↔ 𝑥2nd 𝑦)
1413anbi2i 635 . . . . . . . 8 ((𝑥 ∈ ({𝐴} × 𝐵) ∧ (2nd ‘𝑥) = 𝑦) ↔ (𝑥 ∈ ({𝐴} × 𝐵) ∧ 𝑥2nd 𝑦))
15 elxp7 8046 . . . . . . . . . . 11 (𝑥 ∈ ({𝐴} × 𝐵) ↔ (𝑥 ∈ (V × V) ∧ ((1st ‘𝑥) ∈ {𝐴} ∧ (2nd ‘𝑥) ∈ 𝐵)))
16 eleq1 2852 . . . . . . . . . . . . . . 15 ((2nd ‘𝑥) = 𝑦 → ((2nd ‘𝑥) ∈ 𝐵 ↔ 𝑦 ∈ 𝐵))
1716biimpac 484 . . . . . . . . . . . . . 14 (((2nd ‘𝑥) ∈ 𝐵 ∧ (2nd ‘𝑥) = 𝑦) → 𝑦 ∈ 𝐵)
1817adantll 727 . . . . . . . . . . . . 13 ((((1st ‘𝑥) ∈ {𝐴} ∧ (2nd ‘𝑥) ∈ 𝐵) ∧ (2nd ‘𝑥) = 𝑦) → 𝑦 ∈ 𝐵)
1918adantll 727 . . . . . . . . . . . 12 (((𝑥 ∈ (V × V) ∧ ((1st ‘𝑥) ∈ {𝐴} ∧ (2nd ‘𝑥) ∈ 𝐵)) ∧ (2nd ‘𝑥) = 𝑦) → 𝑦 ∈ 𝐵)
20 elsni 4601 . . . . . . . . . . . . . 14 ((1st ‘𝑥) ∈ {𝐴} → (1st ‘𝑥) = 𝐴)
21 eqopi 8047 . . . . . . . . . . . . . . 15 ((𝑥 ∈ (V × V) ∧ ((1st ‘𝑥) = 𝐴 ∧ (2nd ‘𝑥) = 𝑦)) → 𝑥 = ⟨𝐴, 𝑦⟩)
2221anassrs 473 . . . . . . . . . . . . . 14 (((𝑥 ∈ (V × V) ∧ (1st ‘𝑥) = 𝐴) ∧ (2nd ‘𝑥) = 𝑦) → 𝑥 = ⟨𝐴, 𝑦⟩)
2320, 22sylanl2 694 . . . . . . . . . . . . 13 (((𝑥 ∈ (V × V) ∧ (1st ‘𝑥) ∈ {𝐴}) ∧ (2nd ‘𝑥) = 𝑦) → 𝑥 = ⟨𝐴, 𝑦⟩)
2423adantlrr 734 . . . . . . . . . . . 12 (((𝑥 ∈ (V × V) ∧ ((1st ‘𝑥) ∈ {𝐴} ∧ (2nd ‘𝑥) ∈ 𝐵)) ∧ (2nd ‘𝑥) = 𝑦) → 𝑥 = ⟨𝐴, 𝑦⟩)
2519, 24jca 521 . . . . . . . . . . 11 (((𝑥 ∈ (V × V) ∧ ((1st ‘𝑥) ∈ {𝐴} ∧ (2nd ‘𝑥) ∈ 𝐵)) ∧ (2nd ‘𝑥) = 𝑦) → (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩))
2615, 25sylanb 593 . . . . . . . . . 10 ((𝑥 ∈ ({𝐴} × 𝐵) ∧ (2nd ‘𝑥) = 𝑦) → (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩))
2726adantl 487 . . . . . . . . 9 ((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ ({𝐴} × 𝐵) ∧ (2nd ‘𝑥) = 𝑦)) → (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩))
28 simprr 785 . . . . . . . . . . 11 ((𝐴 ∈ 𝑉 ∧ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)) → 𝑥 = ⟨𝐴, 𝑦⟩)
29 snidg 4621 . . . . . . . . . . . . 13 (𝐴 ∈ 𝑉 → 𝐴 ∈ {𝐴})
3029adantr 486 . . . . . . . . . . . 12 ((𝐴 ∈ 𝑉 ∧ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)) → 𝐴 ∈ {𝐴})
31 simprl 783 . . . . . . . . . . . 12 ((𝐴 ∈ 𝑉 ∧ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)) → 𝑦 ∈ 𝐵)
3230, 31opelxpd 5694 . . . . . . . . . . 11 ((𝐴 ∈ 𝑉 ∧ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)) → ⟨𝐴, 𝑦⟩ ∈ ({𝐴} × 𝐵))
3328, 32eqeltrd 2864 . . . . . . . . . 10 ((𝐴 ∈ 𝑉 ∧ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)) → 𝑥 ∈ ({𝐴} × 𝐵))
34 fveq2 6896 . . . . . . . . . . . 12 (𝑥 = ⟨𝐴, 𝑦⟩ → (2nd ‘𝑥) = (2nd ‘⟨𝐴, 𝑦⟩))
35 op2ndg 8024 . . . . . . . . . . . . 13 ((𝐴 ∈ 𝑉 ∧ 𝑦 ∈ V) → (2nd ‘⟨𝐴, 𝑦⟩) = 𝑦)
3635elvd 3460 . . . . . . . . . . . 12 (𝐴 ∈ 𝑉 → (2nd ‘⟨𝐴, 𝑦⟩) = 𝑦)
3734, 36sylan9eqr 2820 . . . . . . . . . . 11 ((𝐴 ∈ 𝑉 ∧ 𝑥 = ⟨𝐴, 𝑦⟩) → (2nd ‘𝑥) = 𝑦)
3837adantrl 729 . . . . . . . . . 10 ((𝐴 ∈ 𝑉 ∧ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)) → (2nd ‘𝑥) = 𝑦)
3933, 38jca 521 . . . . . . . . 9 ((𝐴 ∈ 𝑉 ∧ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)) → (𝑥 ∈ ({𝐴} × 𝐵) ∧ (2nd ‘𝑥) = 𝑦))
4027, 39impbida 813 . . . . . . . 8 (𝐴 ∈ 𝑉 → ((𝑥 ∈ ({𝐴} × 𝐵) ∧ (2nd ‘𝑥) = 𝑦) ↔ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)))
4114, 40bitr3id 288 . . . . . . 7 (𝐴 ∈ 𝑉 → ((𝑥 ∈ ({𝐴} × 𝐵) ∧ 𝑥2nd 𝑦) ↔ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)))
427, 41bitrid 286 . . . . . 6 (𝐴 ∈ 𝑉 → (𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦 ↔ (𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)))
4342mobidv 2577 . . . . 5 (𝐴 ∈ 𝑉 → (∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦 ↔ ∃*𝑥(𝑦 ∈ 𝐵 ∧ 𝑥 = ⟨𝐴, 𝑦⟩)))
445, 43mpbiri 261 . . . 4 (𝐴 ∈ 𝑉 → ∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦)
4544alrimiv 1961 . . 3 (𝐴 ∈ 𝑉 → ∀𝑦∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦)
46 funcnv2 6619 . . 3 (Fun ◡(2nd ↾ ({𝐴} × 𝐵)) ↔ ∀𝑦∃*𝑥 𝑥(2nd ↾ ({𝐴} × 𝐵))𝑦)
4745, 46sylibr 237 . 2 (𝐴 ∈ 𝑉 → Fun ◡(2nd ↾ ({𝐴} × 𝐵)))
48 dff1o3 6842 . 2 ((2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–1-1-onto→𝐵 ↔ ((2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–onto→𝐵 ∧ Fun ◡(2nd ↾ ({𝐴} × 𝐵))))
493, 47, 48sylanbrc 595 1 (𝐴 ∈ 𝑉 → (2nd ↾ ({𝐴} × 𝐵)):({𝐴} × 𝐵)–1-1-onto→𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569   ∈ wcel 2146  ∃*wmo 2565   ≠ wne 2959  Vcvv 3454  ∅c0 4281  {csn 4588  ⟨cop 4838   class class class wbr 5106   × cxp 5653  ◡ccnv 5654   ↾ cres 5657  Fun wfun 6541   Fn wfn 6542  –onto→wfo 6545  –1-1-onto→wf1o 6546  ‘cfv 6547  1st c1st 8009  2nd c2nd 8010
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7761
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-1st 8011  df-2nd 8012
This theorem is used by:  curry1  8128  fsum2dlem  15951  fprod2dlem  16162  gsum2dlem2  20200  ovoliunlem1  25838  gsummpt2d  33666  fv2ndcnv  36675
  Copyright terms: Public domain W3C validator