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

Theorem cleqh 2270
Description: Establish equality between classes, using bound-variable hypotheses instead of distinct variable conditions. See also cleqf 2337. (Contributed by NM, 5-Aug-1993.)
Hypotheses
Ref Expression
cleqh.1 (𝑦𝐴 → ∀𝑥 𝑦𝐴)
cleqh.2 (𝑦𝐵 → ∀𝑥 𝑦𝐵)
Assertion
Ref Expression
cleqh (𝐴 = 𝐵 ↔ ∀𝑥(𝑥𝐴𝑥𝐵))
Distinct variable groups:   𝑦,𝐴   𝑦,𝐵   𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)

Proof of Theorem cleqh
StepHypRef Expression
1 dfcleq 2164 . 2 (𝐴 = 𝐵 ↔ ∀𝑦(𝑦𝐴𝑦𝐵))
2 ax-17 1519 . . . 4 ((𝑥𝐴𝑥𝐵) → ∀𝑦(𝑥𝐴𝑥𝐵))
3 dfbi2 386 . . . . 5 ((𝑦𝐴𝑦𝐵) ↔ ((𝑦𝐴𝑦𝐵) ∧ (𝑦𝐵𝑦𝐴)))
4 cleqh.1 . . . . . . 7 (𝑦𝐴 → ∀𝑥 𝑦𝐴)
5 cleqh.2 . . . . . . 7 (𝑦𝐵 → ∀𝑥 𝑦𝐵)
64, 5hbim 1538 . . . . . 6 ((𝑦𝐴𝑦𝐵) → ∀𝑥(𝑦𝐴𝑦𝐵))
75, 4hbim 1538 . . . . . 6 ((𝑦𝐵𝑦𝐴) → ∀𝑥(𝑦𝐵𝑦𝐴))
86, 7hban 1540 . . . . 5 (((𝑦𝐴𝑦𝐵) ∧ (𝑦𝐵𝑦𝐴)) → ∀𝑥((𝑦𝐴𝑦𝐵) ∧ (𝑦𝐵𝑦𝐴)))
93, 8hbxfrbi 1465 . . . 4 ((𝑦𝐴𝑦𝐵) → ∀𝑥(𝑦𝐴𝑦𝐵))
10 eleq1 2233 . . . . . 6 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
11 eleq1 2233 . . . . . 6 (𝑥 = 𝑦 → (𝑥𝐵𝑦𝐵))
1210, 11bibi12d 234 . . . . 5 (𝑥 = 𝑦 → ((𝑥𝐴𝑥𝐵) ↔ (𝑦𝐴𝑦𝐵)))
1312biimpd 143 . . . 4 (𝑥 = 𝑦 → ((𝑥𝐴𝑥𝐵) → (𝑦𝐴𝑦𝐵)))
142, 9, 13cbv3h 1736 . . 3 (∀𝑥(𝑥𝐴𝑥𝐵) → ∀𝑦(𝑦𝐴𝑦𝐵))
1512equcoms 1701 . . . . 5 (𝑦 = 𝑥 → ((𝑥𝐴𝑥𝐵) ↔ (𝑦𝐴𝑦𝐵)))
1615biimprd 157 . . . 4 (𝑦 = 𝑥 → ((𝑦𝐴𝑦𝐵) → (𝑥𝐴𝑥𝐵)))
179, 2, 16cbv3h 1736 . . 3 (∀𝑦(𝑦𝐴𝑦𝐵) → ∀𝑥(𝑥𝐴𝑥𝐵))
1814, 17impbii 125 . 2 (∀𝑥(𝑥𝐴𝑥𝐵) ↔ ∀𝑦(𝑦𝐴𝑦𝐵))
191, 18bitr4i 186 1 (𝐴 = 𝐵 ↔ ∀𝑥(𝑥𝐴𝑥𝐵))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1346   = wceq 1348  wcel 2141
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-nf 1454  df-cleq 2163  df-clel 2166
This theorem is referenced by:  abeq2  2279
  Copyright terms: Public domain W3C validator