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

Theorem intopsn 18812
Description: The internal operation for a set is the trivial operation iff the set is a singleton. Formerly part of proof of ring1zr 21014. (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 5683 . . . . 5 (𝐵 = {𝑍} → (𝐵 × 𝐵) = ({𝑍} × {𝑍}))
43, 2feq23d 6696 . . . 4 (𝐵 = {𝑍} → ( ⚬ :(𝐵 × 𝐵)⟶𝐵 ↔ ⚬ :({𝑍} × {𝑍})⟶{𝑍}))
51, 4syl5ibcom 248 . . 3 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 = {𝑍} → ⚬ :({𝑍} × {𝑍})⟶{𝑍}))
6 fdm 6711 . . . . . . 7 ( ⚬ :(𝐵 × 𝐵)⟶𝐵 → dom ⚬ = (𝐵 × 𝐵))
76eqcomd 2767 . . . . . 6 ( ⚬ :(𝐵 × 𝐵)⟶𝐵 → (𝐵 × 𝐵) = dom ⚬ )
87adantr 486 . . . . 5 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 × 𝐵) = dom ⚬ )
9 fdm 6711 . . . . . 6 ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → dom ⚬ = ({𝑍} × {𝑍}))
109eqeq2d 2772 . . . . 5 ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → ((𝐵 × 𝐵) = dom ⚬ ↔ (𝐵 × 𝐵) = ({𝑍} × {𝑍})))
118, 10syl5ibcom 248 . . . 4 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → (𝐵 × 𝐵) = ({𝑍} × {𝑍})))
12 xpid11 5914 . . . 4 ((𝐵 × 𝐵) = ({𝑍} × {𝑍}) ↔ 𝐵 = {𝑍})
1311, 12imbitrdi 254 . . 3 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → 𝐵 = {𝑍}))
145, 13impbid 215 . 2 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 = {𝑍} ↔ ⚬ :({𝑍} × {𝑍})⟶{𝑍}))
15 simpr 490 . . . 4 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → 𝑍 ∈ 𝐵)
16 xpsng 7132 . . . 4 ((𝑍 ∈ 𝐵 ∧ 𝑍 ∈ 𝐵) → ({𝑍} × {𝑍}) = {⟨𝑍, 𝑍⟩})
1715, 16sylancom 600 . . 3 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ({𝑍} × {𝑍}) = {⟨𝑍, 𝑍⟩})
1817feq2d 6685 . 2 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} ↔ ⚬ :{⟨𝑍, 𝑍⟩}⟶{𝑍}))
19 opex 5432 . . . 4 ⟨𝑍, 𝑍⟩ ∈ V
20 fsng 7130 . . . 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 2145  Vcvv 3451  {csn 4584  ⟨cop 4590   × cxp 5649  dom cdm 5651  ⟶wf 6527
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538
This theorem is used by:  mgmb1mgm1  18813
  Copyright terms: Public domain W3C validator