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 30433
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 7721 . . . . . . . . 9 (𝑧 ∈ (V × V) ↔ 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
21biimpi 218 . . . . . . . 8 (𝑧 ∈ (V × V) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
32ad2antrl 726 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
4 fvex 6676 . . . . . . . . . . . 12 (1st𝑧) ∈ V
54elsn 4574 . . . . . . . . . . 11 ((1st𝑧) ∈ {𝑋} ↔ (1st𝑧) = 𝑋)
65biimpi 218 . . . . . . . . . 10 ((1st𝑧) ∈ {𝑋} → (1st𝑧) = 𝑋)
76ad2antrl 726 . . . . . . . . 9 ((𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋}))) → (1st𝑧) = 𝑋)
87adantl 484 . . . . . . . 8 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → (1st𝑧) = 𝑋)
98opeq1d 4801 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → ⟨(1st𝑧), (2nd𝑧)⟩ = ⟨𝑋, (2nd𝑧)⟩)
103, 9eqtrd 2854 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → 𝑧 = ⟨𝑋, (2nd𝑧)⟩)
11 simplr 767 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → 𝑋𝑉)
12 simprrr 780 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → (2nd𝑧) ∈ (𝐴 “ {𝑋}))
13 elimasng 5948 . . . . . . . 8 ((𝑋𝑉 ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})) → ((2nd𝑧) ∈ (𝐴 “ {𝑋}) ↔ ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴))
1413biimpa 479 . . . . . . 7 (((𝑋𝑉 ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})) ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})) → ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴)
1511, 12, 12, 14syl21anc 835 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴)
1610, 15eqeltrd 2911 . . . . 5 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → 𝑧𝐴)
17 fvres 6682 . . . . . . 7 (𝑧𝐴 → ((1st𝐴)‘𝑧) = (1st𝑧))
1816, 17syl 17 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → ((1st𝐴)‘𝑧) = (1st𝑧))
1918, 8eqtrd 2854 . . . . 5 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → ((1st𝐴)‘𝑧) = 𝑋)
2016, 19jca 514 . . . 4 (((Rel 𝐴𝑋𝑉) ∧ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))) → (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋))
21 df-rel 5555 . . . . . . . . 9 (Rel 𝐴𝐴 ⊆ (V × V))
2221biimpi 218 . . . . . . . 8 (Rel 𝐴𝐴 ⊆ (V × V))
2322adantr 483 . . . . . . 7 ((Rel 𝐴𝑋𝑉) → 𝐴 ⊆ (V × V))
2423sselda 3965 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ 𝑧𝐴) → 𝑧 ∈ (V × V))
2524adantrr 715 . . . . 5 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑧 ∈ (V × V))
2617ad2antrl 726 . . . . . . . 8 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ((1st𝐴)‘𝑧) = (1st𝑧))
27 simprr 771 . . . . . . . 8 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ((1st𝐴)‘𝑧) = 𝑋)
2826, 27eqtr3d 2856 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → (1st𝑧) = 𝑋)
2928, 5sylibr 236 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → (1st𝑧) ∈ {𝑋})
3028, 29eqeltrrd 2912 . . . . . . . . 9 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑋 ∈ {𝑋})
31 simpr 487 . . . . . . . . . . 11 ((((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) ∧ 𝑥 = 𝑋) → 𝑥 = 𝑋)
3231opeq1d 4801 . . . . . . . . . 10 ((((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) ∧ 𝑥 = 𝑋) → ⟨𝑥, (2nd𝑧)⟩ = ⟨𝑋, (2nd𝑧)⟩)
3332eleq1d 2895 . . . . . . . . 9 ((((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) ∧ 𝑥 = 𝑋) → (⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴 ↔ ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴))
34 1st2nd 7730 . . . . . . . . . . . 12 ((Rel 𝐴𝑧𝐴) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
3534ad2ant2r 745 . . . . . . . . . . 11 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
3628opeq1d 4801 . . . . . . . . . . 11 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ⟨(1st𝑧), (2nd𝑧)⟩ = ⟨𝑋, (2nd𝑧)⟩)
3735, 36eqtrd 2854 . . . . . . . . . 10 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑧 = ⟨𝑋, (2nd𝑧)⟩)
38 simprl 769 . . . . . . . . . 10 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → 𝑧𝐴)
3937, 38eqeltrrd 2912 . . . . . . . . 9 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ⟨𝑋, (2nd𝑧)⟩ ∈ 𝐴)
4030, 33, 39rspcedvd 3624 . . . . . . . 8 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ∃𝑥 ∈ {𝑋}⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴)
41 df-rex 3142 . . . . . . . 8 (∃𝑥 ∈ {𝑋}⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴 ↔ ∃𝑥(𝑥 ∈ {𝑋} ∧ ⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴))
4240, 41sylib 220 . . . . . . 7 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ∃𝑥(𝑥 ∈ {𝑋} ∧ ⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴))
43 fvex 6676 . . . . . . . 8 (2nd𝑧) ∈ V
4443elima3 5929 . . . . . . 7 ((2nd𝑧) ∈ (𝐴 “ {𝑋}) ↔ ∃𝑥(𝑥 ∈ {𝑋} ∧ ⟨𝑥, (2nd𝑧)⟩ ∈ 𝐴))
4542, 44sylibr 236 . . . . . 6 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → (2nd𝑧) ∈ (𝐴 “ {𝑋}))
4629, 45jca 514 . . . . 5 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))
4725, 46jca 514 . . . 4 (((Rel 𝐴𝑋𝑉) ∧ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)) → (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋}))))
4820, 47impbida 799 . . 3 ((Rel 𝐴𝑋𝑉) → ((𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋}))) ↔ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)))
49 elxp7 7716 . . . 4 (𝑧 ∈ ({𝑋} × (𝐴 “ {𝑋})) ↔ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋}))))
5049a1i 11 . . 3 ((Rel 𝐴𝑋𝑉) → (𝑧 ∈ ({𝑋} × (𝐴 “ {𝑋})) ↔ (𝑧 ∈ (V × V) ∧ ((1st𝑧) ∈ {𝑋} ∧ (2nd𝑧) ∈ (𝐴 “ {𝑋})))))
51 fo1st 7701 . . . . . . 7 1st :V–onto→V
52 fofn 6585 . . . . . . 7 (1st :V–onto→V → 1st Fn V)
5351, 52ax-mp 5 . . . . . 6 1st Fn V
54 ssv 3989 . . . . . 6 𝐴 ⊆ V
55 fnssres 6463 . . . . . 6 ((1st Fn V ∧ 𝐴 ⊆ V) → (1st𝐴) Fn 𝐴)
5653, 54, 55mp2an 690 . . . . 5 (1st𝐴) Fn 𝐴
57 fniniseg 6823 . . . . 5 ((1st𝐴) Fn 𝐴 → (𝑧 ∈ ((1st𝐴) “ {𝑋}) ↔ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)))
5856, 57ax-mp 5 . . . 4 (𝑧 ∈ ((1st𝐴) “ {𝑋}) ↔ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋))
5958a1i 11 . . 3 ((Rel 𝐴𝑋𝑉) → (𝑧 ∈ ((1st𝐴) “ {𝑋}) ↔ (𝑧𝐴 ∧ ((1st𝐴)‘𝑧) = 𝑋)))
6048, 50, 593bitr4rd 314 . 2 ((Rel 𝐴𝑋𝑉) → (𝑧 ∈ ((1st𝐴) “ {𝑋}) ↔ 𝑧 ∈ ({𝑋} × (𝐴 “ {𝑋}))))
6160eqrdv 2817 1 ((Rel 𝐴𝑋𝑉) → ((1st𝐴) “ {𝑋}) = ({𝑋} × (𝐴 “ {𝑋})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1530  wex 1773  wcel 2107  wrex 3137  Vcvv 3493  wss 3934  {csn 4559  cop 4565   × cxp 5546  ccnv 5547  cres 5550  cima 5551  Rel wrel 5553   Fn wfn 6343  ontowfo 6346  cfv 6348  1st c1st 7679  2nd c2nd 7680
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7453
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-ral 3141  df-rex 3142  df-rab 3145  df-v 3495  df-sbc 3771  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-fo 6354  df-fv 6356  df-1st 7681  df-2nd 7682
This theorem is referenced by:  gsummpt2d  30680
  Copyright terms: Public domain W3C validator