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

Theorem cureq 8871
Description: Equality theorem for currying. (Contributed by Brendan Leahy, 2-Jun-2021.)
Assertion
Ref Expression
cureq (𝐴 = 𝐵 → curry 𝐴 = curry 𝐵)

Proof of Theorem cureq
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dmeq 5891 . . . 4 (𝐴 = 𝐵 → dom 𝐴 = dom 𝐵)
21dmeqd 5893 . . 3 (𝐴 = 𝐵 → dom dom 𝐴 = dom dom 𝐵)
3 breq 5109 . . . 4 (𝐴 = 𝐵 → (⟨𝑥, 𝑦𝐴𝑧 ↔ ⟨𝑥, 𝑦𝐵𝑧))
43opabbidv 5175 . . 3 (𝐴 = 𝐵 → {⟨𝑦, 𝑧⟩ ∣ ⟨𝑥, 𝑦𝐴𝑧} = {⟨𝑦, 𝑧⟩ ∣ ⟨𝑥, 𝑦𝐵𝑧})
52, 4mpteq12dv 5196 . 2 (𝐴 = 𝐵 → (𝑥 ∈ dom dom 𝐴 ↦ {⟨𝑦, 𝑧⟩ ∣ ⟨𝑥, 𝑦𝐴𝑧}) = (𝑥 ∈ dom dom 𝐵 ↦ {⟨𝑦, 𝑧⟩ ∣ ⟨𝑥, 𝑦𝐵𝑧}))
6 df-cur 8268 . 2 curry 𝐴 = (𝑥 ∈ dom dom 𝐴 ↦ {⟨𝑦, 𝑧⟩ ∣ ⟨𝑥, 𝑦𝐴𝑧})
7 df-cur 8268 . 2 curry 𝐵 = (𝑥 ∈ dom dom 𝐵 ↦ {⟨𝑦, 𝑧⟩ ∣ ⟨𝑥, 𝑦𝐵𝑧})
85, 6, 73eqtr4g 2822 1 (𝐴 = 𝐵 → curry 𝐴 = curry 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4   = wceq 1570  cop 4593   class class class wbr 5107  {copab 5171  cmpt 5190  dom cdm 5659  curry ccur 8266
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-ext 2734
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-sb 2100  df-clab 2741  df-cleq 2754  df-clel 2837  df-rab 3415  df-v 3455  df-dif 3905  df-un 3907  df-ss 3919  df-nul 4283  df-if 4486  df-sn 4588  df-pr 4590  df-op 4594  df-br 5108  df-opab 5172  df-mpt 5191  df-dm 5669  df-cur 8268
This theorem is used by:  curfv  8874  matunitlindf  22904
  Copyright terms: Public domain W3C validator