ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  mpo2eqb GIF version

Theorem mpo2eqb 6198
Description: Bidirectional equality theorem for a mapping abstraction. Equivalent to eqfnov2 6196. (Contributed by Mario Carneiro, 4-Jan-2017.)
Assertion
Ref Expression
mpo2eqb (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → ((𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷) ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 = 𝐷))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑦,𝐵
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥, 𝑦)   𝐷(𝑥, 𝑦)   𝑉(𝑥, 𝑦)

Proof of Theorem mpo2eqb
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-mpo 6090 . . . 4 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐶)}
2 df-mpo 6090 . . . 4 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐷)}
31, 2eqeq12i 2252 . . 3 ((𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷) ↔ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐶)} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐷)})
4 eqoprab2b 6146 . . 3 ({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐶)} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐷)} ↔ ∀𝑥∀𝑦∀𝑧(((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐷)))
5 pm5.32 457 . . . . . . 7 (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (𝑧 = 𝐶 ↔ 𝑧 = 𝐷)) ↔ (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐷)))
65albii 1523 . . . . . 6 (∀𝑧((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (𝑧 = 𝐶 ↔ 𝑧 = 𝐷)) ↔ ∀𝑧(((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐷)))
7 19.21v 1926 . . . . . 6 (∀𝑧((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (𝑧 = 𝐶 ↔ 𝑧 = 𝐷)) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
86, 7bitr3i 186 . . . . 5 (∀𝑧(((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐷)) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
982albii 1524 . . . 4 (∀𝑥∀𝑦∀𝑧(((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐷)) ↔ ∀𝑥∀𝑦((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
10 r2al 2569 . . . 4 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷) ↔ ∀𝑥∀𝑦((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
119, 10bitr4i 187 . . 3 (∀𝑥∀𝑦∀𝑧(((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑧 = 𝐷)) ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷))
123, 4, 113bitri 206 . 2 ((𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷) ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷))
13 pm13.183 2964 . . . . . 6 (𝐶 ∈ 𝑉 → (𝐶 = 𝐷 ↔ ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
1413ralimi 2613 . . . . 5 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → ∀𝑦 ∈ 𝐵 (𝐶 = 𝐷 ↔ ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
15 ralbi 2683 . . . . 5 (∀𝑦 ∈ 𝐵 (𝐶 = 𝐷 ↔ ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)) → (∀𝑦 ∈ 𝐵 𝐶 = 𝐷 ↔ ∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
1614, 15syl 14 . . . 4 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → (∀𝑦 ∈ 𝐵 𝐶 = 𝐷 ↔ ∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
1716ralimi 2613 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → ∀𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 𝐶 = 𝐷 ↔ ∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
18 ralbi 2683 . . 3 (∀𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 𝐶 = 𝐷 ↔ ∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)) → (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 = 𝐷 ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
1917, 18syl 14 . 2 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 = 𝐷 ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∀𝑧(𝑧 = 𝐶 ↔ 𝑧 = 𝐷)))
2012, 19bitr4id 199 1 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝑉 → ((𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷) ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 = 𝐷))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105  ∀wal 1400   = wceq 1402   ∈ wcel 2209  ∀wral 2528  {coprab 6086   ∈ cmpo 6087
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-pow 4311  ax-pr 4346  ax-setind 4684
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-ral 2533  df-v 2823  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-oprab 6089  df-mpo 6090
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator