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

Theorem intopsn 17856
Description: The internal operation for a set is the trivial operation iff the set is a singleton. Formerly part of proof of ring1zr 20041. (Contributed by FL, 13-Feb-2010.) (Revised by AV, 23-Jan-2020.)
Assertion
Ref Expression
intopsn (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → (𝐵 = {𝑍} ↔ = {⟨⟨𝑍, 𝑍⟩, 𝑍⟩}))

Proof of Theorem intopsn
StepHypRef Expression
1 simpl 486 . . . 4 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → :(𝐵 × 𝐵)⟶𝐵)
2 id 22 . . . . . 6 (𝐵 = {𝑍} → 𝐵 = {𝑍})
32sqxpeqd 5551 . . . . 5 (𝐵 = {𝑍} → (𝐵 × 𝐵) = ({𝑍} × {𝑍}))
43, 2feq23d 6482 . . . 4 (𝐵 = {𝑍} → ( :(𝐵 × 𝐵)⟶𝐵 :({𝑍} × {𝑍})⟶{𝑍}))
51, 4syl5ibcom 248 . . 3 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → (𝐵 = {𝑍} → :({𝑍} × {𝑍})⟶{𝑍}))
6 fdm 6495 . . . . . . 7 ( :(𝐵 × 𝐵)⟶𝐵 → dom = (𝐵 × 𝐵))
76eqcomd 2804 . . . . . 6 ( :(𝐵 × 𝐵)⟶𝐵 → (𝐵 × 𝐵) = dom )
87adantr 484 . . . . 5 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → (𝐵 × 𝐵) = dom )
9 fdm 6495 . . . . . 6 ( :({𝑍} × {𝑍})⟶{𝑍} → dom = ({𝑍} × {𝑍}))
109eqeq2d 2809 . . . . 5 ( :({𝑍} × {𝑍})⟶{𝑍} → ((𝐵 × 𝐵) = dom ↔ (𝐵 × 𝐵) = ({𝑍} × {𝑍})))
118, 10syl5ibcom 248 . . . 4 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → ( :({𝑍} × {𝑍})⟶{𝑍} → (𝐵 × 𝐵) = ({𝑍} × {𝑍})))
12 xpid11 5766 . . . 4 ((𝐵 × 𝐵) = ({𝑍} × {𝑍}) ↔ 𝐵 = {𝑍})
1311, 12syl6ib 254 . . 3 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → ( :({𝑍} × {𝑍})⟶{𝑍} → 𝐵 = {𝑍}))
145, 13impbid 215 . 2 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → (𝐵 = {𝑍} ↔ :({𝑍} × {𝑍})⟶{𝑍}))
15 simpr 488 . . . 4 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → 𝑍𝐵)
16 xpsng 6878 . . . 4 ((𝑍𝐵𝑍𝐵) → ({𝑍} × {𝑍}) = {⟨𝑍, 𝑍⟩})
1715, 16sylancom 591 . . 3 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → ({𝑍} × {𝑍}) = {⟨𝑍, 𝑍⟩})
1817feq2d 6473 . 2 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → ( :({𝑍} × {𝑍})⟶{𝑍} ↔ :{⟨𝑍, 𝑍⟩}⟶{𝑍}))
19 opex 5321 . . . 4 𝑍, 𝑍⟩ ∈ V
20 fsng 6876 . . . 4 ((⟨𝑍, 𝑍⟩ ∈ V ∧ 𝑍𝐵) → ( :{⟨𝑍, 𝑍⟩}⟶{𝑍} ↔ = {⟨⟨𝑍, 𝑍⟩, 𝑍⟩}))
2119, 20mpan 689 . . 3 (𝑍𝐵 → ( :{⟨𝑍, 𝑍⟩}⟶{𝑍} ↔ = {⟨⟨𝑍, 𝑍⟩, 𝑍⟩}))
2221adantl 485 . 2 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → ( :{⟨𝑍, 𝑍⟩}⟶{𝑍} ↔ = {⟨⟨𝑍, 𝑍⟩, 𝑍⟩}))
2314, 18, 223bitrd 308 1 (( :(𝐵 × 𝐵)⟶𝐵𝑍𝐵) → (𝐵 = {𝑍} ↔ = {⟨⟨𝑍, 𝑍⟩, 𝑍⟩}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  Vcvv 3441  {csn 4525  cop 4531   × cxp 5517  dom cdm 5519  wf 6320
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331
This theorem is referenced by:  mgmb1mgm1  17857
  Copyright terms: Public domain W3C validator