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

Theorem intopsn 18899
Description: The internal operation for a set is the trivial operation iff the set is a singleton. Formerly part of proof of ring1zr 21102. (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 5693 . . . . 5 (𝐵 = {𝑍} → (𝐵 × 𝐵) = ({𝑍} × {𝑍}))
43, 2feq23d 6744 . . . 4 (𝐵 = {𝑍} → ( ⚬ :(𝐵 × 𝐵)⟶𝐵 ↔ ⚬ :({𝑍} × {𝑍})⟶{𝑍}))
51, 4syl5ibcom 248 . . 3 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 = {𝑍} → ⚬ :({𝑍} × {𝑍})⟶{𝑍}))
6 fdm 6759 . . . . . . 7 ( ⚬ :(𝐵 × 𝐵)⟶𝐵 → dom ⚬ = (𝐵 × 𝐵))
76eqcomd 2775 . . . . . 6 ( ⚬ :(𝐵 × 𝐵)⟶𝐵 → (𝐵 × 𝐵) = dom ⚬ )
87adantr 486 . . . . 5 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 × 𝐵) = dom ⚬ )
9 fdm 6759 . . . . . 6 ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → dom ⚬ = ({𝑍} × {𝑍}))
109eqeq2d 2780 . . . . 5 ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → ((𝐵 × 𝐵) = dom ⚬ ↔ (𝐵 × 𝐵) = ({𝑍} × {𝑍})))
118, 10syl5ibcom 248 . . . 4 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → (𝐵 × 𝐵) = ({𝑍} × {𝑍})))
12 xpid11 5929 . . . 4 ((𝐵 × 𝐵) = ({𝑍} × {𝑍}) ↔ 𝐵 = {𝑍})
1311, 12imbitrdi 254 . . 3 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} → 𝐵 = {𝑍}))
145, 13impbid 215 . 2 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → (𝐵 = {𝑍} ↔ ⚬ :({𝑍} × {𝑍})⟶{𝑍}))
15 simpr 490 . . . 4 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → 𝑍 ∈ 𝐵)
16 xpsng 7182 . . . 4 ((𝑍 ∈ 𝐵 ∧ 𝑍 ∈ 𝐵) → ({𝑍} × {𝑍}) = {⟨𝑍, 𝑍⟩})
1715, 16sylancom 600 . . 3 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ({𝑍} × {𝑍}) = {⟨𝑍, 𝑍⟩})
1817feq2d 6733 . 2 (( ⚬ :(𝐵 × 𝐵)⟶𝐵 ∧ 𝑍 ∈ 𝐵) → ( ⚬ :({𝑍} × {𝑍})⟶{𝑍} ↔ ⚬ :{⟨𝑍, 𝑍⟩}⟶{𝑍}))
19 opex 5442 . . . 4 ⟨𝑍, 𝑍⟩ ∈ V
20 fsng 7180 . . . 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 1572   ∈ wcel 2151  Vcvv 3456  {csn 4590  ⟨cop 4843   × cxp 5659  dom cdm 5661  ⟶wf 6569
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580
This theorem is used by:  mgmb1mgm1  18900
  Copyright terms: Public domain W3C validator