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

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

Proof of Theorem intopsn
StepHypRef Expression
1 simpl 488 . . . 4 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ⚬ :(𝐵 × 𝐵)⟶𝐵)
2 id 23 . . . . . 6 (𝐵 = {𝑍} → 𝐵 = {𝑍})
32sqxpeqd 5687 . . . . 5 (𝐵 = {𝑍} → (𝐵 × 𝐵) = ({𝑍} × {𝑍}))
43, 2feq23d 6726 . . . 4 (𝐵 = {𝑍} → ( ⚬ :(𝐵 × 𝐵)⟶𝐵 ↔ ⚬ :({𝑍} × {𝑍})⟶{𝑍}))
51, 4syl5ibcom 248 . . 3 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 = {𝑍} → ⚬ :({𝑍} × {𝑍})⟶{𝑍}))
6 fdm 6741 . . . . . . 7 ( ⚬ :(𝐵 × 𝐵)⟶𝐵 → dom ⚬ = (𝐵 × 𝐵))
76eqcomd 2769 . . . . . 6 ( ⚬ :(𝐵 × 𝐵)⟶𝐵 → (𝐵 × 𝐵) = dom ⚬ )
87adantr 486 . . . . 5 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 × 𝐵) = dom ⚬ )
9 fdm 6741 . . . . . 6 ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → dom ⚬ = ({𝑍} × {𝑍}))
109eqeq2d 2774 . . . . 5 ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → ((𝐵 × 𝐵) = dom ⚬ ↔ (𝐵 × 𝐵) = ({𝑍} × {𝑍})))
118, 10syl5ibcom 248 . . . 4 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → (𝐵 × 𝐵) = ({𝑍} × {𝑍})))
12 xpid11 5921 . . . 4 ((𝐵 × 𝐵) = ({𝑍} × {𝑍}) ↔ 𝐵 = {𝑍})
1311, 12imbitrdi 254 . . 3 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → 𝐵 = {𝑍}))
145, 13impbid 215 . 2 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 = {𝑍} ↔ ⚬ :({𝑍} × {𝑍})⟶{𝑍}))
15 simpr 490 . . . 4 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → 𝑍 ∈ 𝐵)
16 xpsng 7164 . . . 4 ((𝑍 ∈ 𝐵 ∧ 𝑍 ∈ 𝐵) → ({𝑍} × {𝑍}) = {⟨𝑍, 𝑍⟩})
1715, 16sylancom 600 . . 3 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ({𝑍} × {𝑍}) = {⟨𝑍, 𝑍⟩})
1817feq2d 6715 . 2 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} ↔ ⚬ :{⟨𝑍, 𝑍⟩}⟶{𝑍}))
19 opex 5436 . . . 4 ⟨𝑍, 𝑍⟩ ∈ V
20 fsng 7162 . . . 4 ((⟨𝑍, 𝑍⟩ ∈ V ∧ 𝑍 ∈ 𝐵) → ( ⚬ :{⟨𝑍, 𝑍⟩}⟶{𝑍} ↔ ⚬ = {⟨⟨𝑍, 𝑍⟩, 𝑍⟩}))
2119, 20mpan 703 . . 3 (𝑍 ∈ 𝐵 → ( ⚬ :{⟨𝑍, 𝑍⟩}⟶{𝑍} ↔ ⚬ = {⟨⟨𝑍, 𝑍⟩, 𝑍⟩}))
2221adantl 487 . 2 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :{⟨𝑍, 𝑍⟩}⟶{𝑍} ↔ ⚬ = {⟨⟨𝑍, 𝑍⟩, 𝑍⟩}))
2314, 18, 223bitrd 308 1 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 = {𝑍} ↔ ⚬ = {⟨⟨𝑍, 𝑍⟩, 𝑍⟩}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  {csn 4588  ⟨cop 4838   × cxp 5653  dom cdm 5655  ⟶wf 6554
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  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-reu 3370  df-rab 3417  df-v 3456  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-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-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565
This theorem is used by:  mgmb1mgm1  18862
  Copyright terms: Public domain W3C validator