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

Theorem cleqh 2137
Description: Establish equality between classes, using bound-variable hypotheses instead of distinct variable conditions. See also cleqf 2201. (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 2034 . 2 (𝐴 = 𝐵 ↔ ∀𝑦(𝑦𝐴𝑦𝐵))
2 ax-17 1419 . . . 4 ((𝑥𝐴𝑥𝐵) → ∀𝑦(𝑥𝐴𝑥𝐵))
3 dfbi2 368 . . . . 5 ((𝑦𝐴𝑦𝐵) ↔ ((𝑦𝐴𝑦𝐵) ∧ (𝑦𝐵𝑦𝐴)))
4 cleqh.1 . . . . . . 7 (𝑦𝐴 → ∀𝑥 𝑦𝐴)
5 cleqh.2 . . . . . . 7 (𝑦𝐵 → ∀𝑥 𝑦𝐵)
64, 5hbim 1437 . . . . . 6 ((𝑦𝐴𝑦𝐵) → ∀𝑥(𝑦𝐴𝑦𝐵))
75, 4hbim 1437 . . . . . 6 ((𝑦𝐵𝑦𝐴) → ∀𝑥(𝑦𝐵𝑦𝐴))
86, 7hban 1439 . . . . 5 (((𝑦𝐴𝑦𝐵) ∧ (𝑦𝐵𝑦𝐴)) → ∀𝑥((𝑦𝐴𝑦𝐵) ∧ (𝑦𝐵𝑦𝐴)))
93, 8hbxfrbi 1361 . . . 4 ((𝑦𝐴𝑦𝐵) → ∀𝑥(𝑦𝐴𝑦𝐵))
10 eleq1 2100 . . . . . 6 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
11 eleq1 2100 . . . . . 6 (𝑥 = 𝑦 → (𝑥𝐵𝑦𝐵))
1210, 11bibi12d 224 . . . . 5 (𝑥 = 𝑦 → ((𝑥𝐴𝑥𝐵) ↔ (𝑦𝐴𝑦𝐵)))
1312biimpd 132 . . . 4 (𝑥 = 𝑦 → ((𝑥𝐴𝑥𝐵) → (𝑦𝐴𝑦𝐵)))
142, 9, 13cbv3h 1631 . . 3 (∀𝑥(𝑥𝐴𝑥𝐵) → ∀𝑦(𝑦𝐴𝑦𝐵))
1512equcoms 1594 . . . . 5 (𝑦 = 𝑥 → ((𝑥𝐴𝑥𝐵) ↔ (𝑦𝐴𝑦𝐵)))
1615biimprd 147 . . . 4 (𝑦 = 𝑥 → ((𝑦𝐴𝑦𝐵) → (𝑥𝐴𝑥𝐵)))
179, 2, 16cbv3h 1631 . . 3 (∀𝑦(𝑦𝐴𝑦𝐵) → ∀𝑥(𝑥𝐴𝑥𝐵))
1814, 17impbii 117 . 2 (∀𝑥(𝑥𝐴𝑥𝐵) ↔ ∀𝑦(𝑦𝐴𝑦𝐵))
191, 18bitr4i 176 1 (𝐴 = 𝐵 ↔ ∀𝑥(𝑥𝐴𝑥𝐵))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  wb 98  wal 1241   = wceq 1243  wcel 1393
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-nf 1350  df-cleq 2033  df-clel 2036
This theorem is referenced by:  abeq2  2146
  Copyright terms: Public domain W3C validator