Users' Mathboxes Mathbox for Jonathan Ben-Naim < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bnj1109 Structured version   Visualization version   GIF version

Theorem bnj1109 30111
Description: First-order logic and set theory. (Contributed by Jonathan Ben-Naim, 3-Jun-2011.) (New usage is discouraged.)
Hypotheses
Ref Expression
bnj1109.1 𝑥((𝐴𝐵𝜑) → 𝜓)
bnj1109.2 ((𝐴 = 𝐵𝜑) → 𝜓)
Assertion
Ref Expression
bnj1109 𝑥(𝜑𝜓)

Proof of Theorem bnj1109
StepHypRef Expression
1 bnj1109.2 . . . . . . 7 ((𝐴 = 𝐵𝜑) → 𝜓)
21ex 449 . . . . . 6 (𝐴 = 𝐵 → (𝜑𝜓))
32a1i 11 . . . . 5 ((𝐴𝐵 → (𝜑𝜓)) → (𝐴 = 𝐵 → (𝜑𝜓)))
43ax-gen 1713 . . . 4 𝑥((𝐴𝐵 → (𝜑𝜓)) → (𝐴 = 𝐵 → (𝜑𝜓)))
5 bnj1109.1 . . . . 5 𝑥((𝐴𝐵𝜑) → 𝜓)
6 impexp 461 . . . . . 6 (((𝐴𝐵𝜑) → 𝜓) ↔ (𝐴𝐵 → (𝜑𝜓)))
76exbii 1764 . . . . 5 (∃𝑥((𝐴𝐵𝜑) → 𝜓) ↔ ∃𝑥(𝐴𝐵 → (𝜑𝜓)))
85, 7mpbi 219 . . . 4 𝑥(𝐴𝐵 → (𝜑𝜓))
9 exintr 1810 . . . 4 (∀𝑥((𝐴𝐵 → (𝜑𝜓)) → (𝐴 = 𝐵 → (𝜑𝜓))) → (∃𝑥(𝐴𝐵 → (𝜑𝜓)) → ∃𝑥((𝐴𝐵 → (𝜑𝜓)) ∧ (𝐴 = 𝐵 → (𝜑𝜓)))))
104, 8, 9mp2 9 . . 3 𝑥((𝐴𝐵 → (𝜑𝜓)) ∧ (𝐴 = 𝐵 → (𝜑𝜓)))
11 exancom 1774 . . 3 (∃𝑥((𝐴𝐵 → (𝜑𝜓)) ∧ (𝐴 = 𝐵 → (𝜑𝜓))) ↔ ∃𝑥((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (𝐴𝐵 → (𝜑𝜓))))
1210, 11mpbi 219 . 2 𝑥((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (𝐴𝐵 → (𝜑𝜓)))
13 df-ne 2782 . . . 4 (𝐴𝐵 ↔ ¬ 𝐴 = 𝐵)
1413imbi1i 338 . . 3 ((𝐴𝐵 → (𝜑𝜓)) ↔ (¬ 𝐴 = 𝐵 → (𝜑𝜓)))
15 pm2.61 182 . . . 4 ((𝐴 = 𝐵 → (𝜑𝜓)) → ((¬ 𝐴 = 𝐵 → (𝜑𝜓)) → (𝜑𝜓)))
1615imp 444 . . 3 (((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (¬ 𝐴 = 𝐵 → (𝜑𝜓))) → (𝜑𝜓))
1714, 16sylan2b 491 . 2 (((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (𝐴𝐵 → (𝜑𝜓))) → (𝜑𝜓))
1812, 17bnj101 30043 1 𝑥(𝜑𝜓)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383  wal 1473   = wceq 1475  wex 1695  wne 2780
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728
This theorem depends on definitions:  df-bi 196  df-an 385  df-ex 1696  df-ne 2782
This theorem is referenced by:  bnj1030  30309  bnj1128  30312  bnj1145  30315
  Copyright terms: Public domain W3C validator