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 32794
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 412 . . . . . 6 (𝐴 = 𝐵 → (𝜑𝜓))
32a1i 11 . . . . 5 ((𝐴𝐵 → (𝜑𝜓)) → (𝐴 = 𝐵 → (𝜑𝜓)))
43ax-gen 1793 . . . 4 𝑥((𝐴𝐵 → (𝜑𝜓)) → (𝐴 = 𝐵 → (𝜑𝜓)))
5 bnj1109.1 . . . . 5 𝑥((𝐴𝐵𝜑) → 𝜓)
6 impexp 450 . . . . . 6 (((𝐴𝐵𝜑) → 𝜓) ↔ (𝐴𝐵 → (𝜑𝜓)))
76exbii 1846 . . . . 5 (∃𝑥((𝐴𝐵𝜑) → 𝜓) ↔ ∃𝑥(𝐴𝐵 → (𝜑𝜓)))
85, 7mpbi 229 . . . 4 𝑥(𝐴𝐵 → (𝜑𝜓))
9 exintr 1891 . . . 4 (∀𝑥((𝐴𝐵 → (𝜑𝜓)) → (𝐴 = 𝐵 → (𝜑𝜓))) → (∃𝑥(𝐴𝐵 → (𝜑𝜓)) → ∃𝑥((𝐴𝐵 → (𝜑𝜓)) ∧ (𝐴 = 𝐵 → (𝜑𝜓)))))
104, 8, 9mp2 9 . . 3 𝑥((𝐴𝐵 → (𝜑𝜓)) ∧ (𝐴 = 𝐵 → (𝜑𝜓)))
11 exancom 1860 . . 3 (∃𝑥((𝐴𝐵 → (𝜑𝜓)) ∧ (𝐴 = 𝐵 → (𝜑𝜓))) ↔ ∃𝑥((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (𝐴𝐵 → (𝜑𝜓))))
1210, 11mpbi 229 . 2 𝑥((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (𝐴𝐵 → (𝜑𝜓)))
13 df-ne 2939 . . . 4 (𝐴𝐵 ↔ ¬ 𝐴 = 𝐵)
1413imbi1i 349 . . 3 ((𝐴𝐵 → (𝜑𝜓)) ↔ (¬ 𝐴 = 𝐵 → (𝜑𝜓)))
15 pm2.61 191 . . . 4 ((𝐴 = 𝐵 → (𝜑𝜓)) → ((¬ 𝐴 = 𝐵 → (𝜑𝜓)) → (𝜑𝜓)))
1615imp 406 . . 3 (((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (¬ 𝐴 = 𝐵 → (𝜑𝜓))) → (𝜑𝜓))
1714, 16sylan2b 593 . 2 (((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (𝐴𝐵 → (𝜑𝜓))) → (𝜑𝜓))
1812, 17bnj101 32730 1 𝑥(𝜑𝜓)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wal 1535   = wceq 1537  wex 1777  wne 2938
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807
This theorem depends on definitions:  df-bi 206  df-an 396  df-ex 1778  df-ne 2939
This theorem is referenced by:  bnj1030  32995  bnj1128  32998  bnj1145  33001
  Copyright terms: Public domain W3C validator