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

Theorem papeq2 7604
Description: Equality theorem for apartness predicate. (Contributed by Jim Kingdon, 3-Jun-2026.)
Assertion
Ref Expression
papeq2 (𝐴 = 𝐵 → (𝑅 Ap 𝐴𝑅 Ap 𝐵))

Proof of Theorem papeq2
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 id 19 . . . . . 6 (𝐴 = 𝐵𝐴 = 𝐵)
21sqxpeqd 4798 . . . . 5 (𝐴 = 𝐵 → (𝐴 × 𝐴) = (𝐵 × 𝐵))
32sseq2d 3278 . . . 4 (𝐴 = 𝐵 → (𝑅 ⊆ (𝐴 × 𝐴) ↔ 𝑅 ⊆ (𝐵 × 𝐵)))
4 raleq 2749 . . . 4 (𝐴 = 𝐵 → (∀𝑥𝐴 ¬ 𝑥𝑅𝑥 ↔ ∀𝑥𝐵 ¬ 𝑥𝑅𝑥))
53, 4anbi12d 477 . . 3 (𝐴 = 𝐵 → ((𝑅 ⊆ (𝐴 × 𝐴) ∧ ∀𝑥𝐴 ¬ 𝑥𝑅𝑥) ↔ (𝑅 ⊆ (𝐵 × 𝐵) ∧ ∀𝑥𝐵 ¬ 𝑥𝑅𝑥)))
6 raleq 2749 . . . . 5 (𝐴 = 𝐵 → (∀𝑦𝐴 (𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑦𝐵 (𝑥𝑅𝑦𝑦𝑅𝑥)))
76raleqbi1dv 2761 . . . 4 (𝐴 = 𝐵 → (∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑅𝑦𝑦𝑅𝑥)))
8 raleq 2749 . . . . . 6 (𝐴 = 𝐵 → (∀𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧)) ↔ ∀𝑧𝐵 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧))))
98raleqbi1dv 2761 . . . . 5 (𝐴 = 𝐵 → (∀𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧)) ↔ ∀𝑦𝐵𝑧𝐵 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧))))
109raleqbi1dv 2761 . . . 4 (𝐴 = 𝐵 → (∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧)) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧))))
117, 10anbi12d 477 . . 3 (𝐴 = 𝐵 → ((∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧))) ↔ (∀𝑥𝐵𝑦𝐵 (𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧)))))
125, 11anbi12d 477 . 2 (𝐴 = 𝐵 → (((𝑅 ⊆ (𝐴 × 𝐴) ∧ ∀𝑥𝐴 ¬ 𝑥𝑅𝑥) ∧ (∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧)))) ↔ ((𝑅 ⊆ (𝐵 × 𝐵) ∧ ∀𝑥𝐵 ¬ 𝑥𝑅𝑥) ∧ (∀𝑥𝐵𝑦𝐵 (𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧))))))
13 df-pap 7602 . 2 (𝑅 Ap 𝐴 ↔ ((𝑅 ⊆ (𝐴 × 𝐴) ∧ ∀𝑥𝐴 ¬ 𝑥𝑅𝑥) ∧ (∀𝑥𝐴𝑦𝐴 (𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝐴𝑦𝐴𝑧𝐴 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧)))))
14 df-pap 7602 . 2 (𝑅 Ap 𝐵 ↔ ((𝑅 ⊆ (𝐵 × 𝐵) ∧ ∀𝑥𝐵 ¬ 𝑥𝑅𝑥) ∧ (∀𝑥𝐵𝑦𝐵 (𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥𝑅𝑦 → (𝑥𝑅𝑧𝑦𝑅𝑧)))))
1512, 13, 143bitr4g 223 1 (𝐴 = 𝐵 → (𝑅 Ap 𝐴𝑅 Ap 𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 720   = wceq 1402  wral 2528  wss 3220   class class class wbr 4128   × cxp 4770   Ap wap 7601
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  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-ext 2220
This theorem depends on definitions:  df-bi 117  df-tru 1405  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-in 3226  df-ss 3233  df-opab 4191  df-xp 4778  df-pap 7602
This theorem is referenced by:  opprdrng  14603
  Copyright terms: Public domain W3C validator