Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  1stpreimas Structured version   Visualization version   GIF version

Theorem 1stpreimas 30940
Description: The preimage of a singleton. (Contributed by Thierry Arnoux, 27-Apr-2020.)
Assertion
Ref Expression
1stpreimas ((Rel 𝐴𝑋𝑉) → ((1st𝐴) “ {𝑋}) = ({𝑋} × (𝐴 “ {𝑋})))

Proof of Theorem 1stpreimas
Dummy variables 𝑥 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 1st2ndb 7844 . . . . . . . . 9 (𝑧 ∈ (V × V) ↔ 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
21biimpi 215 . . . . . . . 8 (𝑧 ∈ (V × V) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
32ad2antrl 724 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
4 fvex 6769 . . . . . . . . . . . 12 (1st𝑧) ∈ V
54elsn 4573 . . . . . . . . . . 11 ((1st𝑧) ∈ {𝑋} ↔ (1st𝑧) = 𝑋)
65biimpi 215 . . . . . . . . . 10 ((1st𝑧) ∈ {𝑋} → (1st𝑧) = 𝑋)
76ad2antrl 724 . . . . . . . . 9 ((𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋}))) → (1st𝑧) = 𝑋)
87adantl 481 . . . . . . . 8 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → (1st𝑧) = 𝑋)
98opeq1d 4807 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → ⟨(1st𝑧), (2nd𝑧)⟩ = ⟨𝑋, (2nd𝑧)⟩)
103, 9eqtrd 2778 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → 𝑧 = ⟨𝑋, (2nd𝑧)⟩)
11 simplr 765 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → 𝑋𝑉)
12 simprrr 778 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → (2nd𝑧) ∈ (𝐴 “ {𝑋}))
13 elimasng 5985 . . . . . . . 8 ((𝑋𝑉 ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})) → ((2nd𝑧) ∈ (𝐴 “ {𝑋}) ↔ ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴))
1413biimpa 476 . . . . . . 7 (((𝑋𝑉 ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})) ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})) → ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴)
1511, 12, 12, 14syl21anc 834 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴)
1610, 15eqeltrd 2839 . . . . 5 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → 𝑧𝐴)
17 fvres 6775 . . . . . . 7 (𝑧𝐴 → ((1st𝐴)‘𝑧) = (1st𝑧))
1816, 17syl 17 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → ((1st𝐴)‘𝑧) = (1st𝑧))
1918, 8eqtrd 2778 . . . . 5 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → ((1st𝐴)‘𝑧) = 𝑋)
2016, 19jca 511 . . . 4 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋))
21 df-rel 5587 . . . . . . . . 9 (Rel 𝐴𝐴 ⊆ (V × V))
2221biimpi 215 . . . . . . . 8 (Rel 𝐴𝐴 ⊆ (V × V))
2322adantr 480 . . . . . . 7 ((Rel 𝐴𝑋𝑉) → 𝐴 ⊆ (V × V))
2423sselda 3917 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ 𝑧𝐴) → 𝑧 ∈ (V × V))
2524adantrr 713 . . . . 5 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑧 ∈ (V × V))
2617ad2antrl 724 . . . . . . . 8 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ((1st𝐴)‘𝑧) = (1st𝑧))
27 simprr 769 . . . . . . . 8 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ((1st𝐴)‘𝑧) = 𝑋)
2826, 27eqtr3d 2780 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → (1st𝑧) = 𝑋)
2928, 5sylibr 233 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → (1st𝑧) ∈ {𝑋})
3028, 29eqeltrrd 2840 . . . . . . . . 9 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑋 ∈ {𝑋})
31 simpr 484 . . . . . . . . . . 11 ((((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) ∧ 𝑥 = 𝑋) → 𝑥 = 𝑋)
3231opeq1d 4807 . . . . . . . . . 10 ((((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) ∧ 𝑥 = 𝑋) → ⟨𝑥, (2nd𝑧)⟩ = ⟨𝑋, (2nd𝑧)⟩)
3332eleq1d 2823 . . . . . . . . 9 ((((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) ∧ 𝑥 = 𝑋) → (⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴 ↔ ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴))
34 1st2nd 7853 . . . . . . . . . . . 12 ((Rel 𝐴𝑧𝐴) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
3534ad2ant2r 743 . . . . . . . . . . 11 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
3628opeq1d 4807 . . . . . . . . . . 11 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ⟨(1st𝑧), (2nd𝑧)⟩ = ⟨𝑋, (2nd𝑧)⟩)
3735, 36eqtrd 2778 . . . . . . . . . 10 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑧 = ⟨𝑋, (2nd𝑧)⟩)
38 simprl 767 . . . . . . . . . 10 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑧𝐴)
3937, 38eqeltrrd 2840 . . . . . . . . 9 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴)
4030, 33, 39rspcedvd 3555 . . . . . . . 8 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ∃𝑥 ∈ {𝑋}⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴)
41 df-rex 3069 . . . . . . . 8 (∃𝑥 ∈ {𝑋}⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴 ↔ ∃𝑥(𝑥 ∈ {𝑋} ∧ ⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴))
4240, 41sylib 217 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ∃𝑥(𝑥 ∈ {𝑋} ∧ ⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴))
43 fvex 6769 . . . . . . . 8 (2nd𝑧) ∈ V
4443elima3 5965 . . . . . . 7 ((2nd𝑧) ∈ (𝐴 “ {𝑋}) ↔ ∃𝑥(𝑥 ∈ {𝑋} ∧ ⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴))
4542, 44sylibr 233 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → (2nd𝑧) ∈ (𝐴 “ {𝑋}))
4629, 45jca 511 . . . . 5 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))
4725, 46jca 511 . . . 4 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋}))))
4820, 47impbida 797 . . 3 ((Rel 𝐴𝑋𝑉) → ((𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋}))) ↔ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)))
49 elxp7 7839 . . . 4 (𝑧 ∈ ({𝑋} × (𝐴 “ {𝑋})) ↔ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋}))))
5049a1i 11 . . 3 ((Rel 𝐴𝑋𝑉) → (𝑧 ∈ ({𝑋} × (𝐴 “ {𝑋})) ↔ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))))
51 fo1st 7824 . . . . . . 7 1st :V–onto→V
52 fofn 6674 . . . . . . 7 (1st :V–onto→V → 1st Fn V)
5351, 52ax-mp 5 . . . . . 6 1st Fn V
54 ssv 3941 . . . . . 6 𝐴 ⊆ V
55 fnssres 6539 . . . . . 6 ((1st Fn V ∧ 𝐴 ⊆ V) → (1st𝐴) Fn 𝐴)
5653, 54, 55mp2an 688 . . . . 5 (1st𝐴) Fn 𝐴
57 fniniseg 6919 . . . . 5 ((1st𝐴) Fn 𝐴 → (𝑧 ∈ ((1st𝐴) “ {𝑋}) ↔ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)))
5856, 57ax-mp 5 . . . 4 (𝑧 ∈ ((1st𝐴) “ {𝑋}) ↔ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋))
5958a1i 11 . . 3 ((Rel 𝐴𝑋𝑉) → (𝑧 ∈ ((1st𝐴) “ {𝑋}) ↔ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)))
6048, 50, 593bitr4rd 311 . 2 ((Rel 𝐴𝑋𝑉) → (𝑧 ∈ ((1st𝐴) “ {𝑋}) ↔ 𝑧 ∈ ({𝑋} × (𝐴 “ {𝑋}))))
6160eqrdv 2736 1 ((Rel 𝐴𝑋𝑉) → ((1st𝐴) “ {𝑋}) = ({𝑋} × (𝐴 “ {𝑋})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wrex 3064  Vcvv 3422  wss 3883  {csn 4558  cop 4564   × cxp 5578  ccnv 5579  cres 5582  cima 5583  Rel wrel 5585   Fn wfn 6413  ontowfo 6416  cfv 6418  1st c1st 7802  2nd c2nd 7803
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fo 6424  df-fv 6426  df-1st 7804  df-2nd 7805
This theorem is referenced by:  gsummpt2d  31211
  Copyright terms: Public domain W3C validator