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 31957
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 413 . . . . . 6 (𝐴 = 𝐵 → (𝜑𝜓))
32a1i 11 . . . . 5 ((𝐴𝐵 → (𝜑𝜓)) → (𝐴 = 𝐵 → (𝜑𝜓)))
43ax-gen 1787 . . . 4 𝑥((𝐴𝐵 → (𝜑𝜓)) → (𝐴 = 𝐵 → (𝜑𝜓)))
5 bnj1109.1 . . . . 5 𝑥((𝐴𝐵𝜑) → 𝜓)
6 impexp 451 . . . . . 6 (((𝐴𝐵𝜑) → 𝜓) ↔ (𝐴𝐵 → (𝜑𝜓)))
76exbii 1839 . . . . 5 (∃𝑥((𝐴𝐵𝜑) → 𝜓) ↔ ∃𝑥(𝐴𝐵 → (𝜑𝜓)))
85, 7mpbi 231 . . . 4 𝑥(𝐴𝐵 → (𝜑𝜓))
9 exintr 1884 . . . 4 (∀𝑥((𝐴𝐵 → (𝜑𝜓)) → (𝐴 = 𝐵 → (𝜑𝜓))) → (∃𝑥(𝐴𝐵 → (𝜑𝜓)) → ∃𝑥((𝐴𝐵 → (𝜑𝜓)) ∧ (𝐴 = 𝐵 → (𝜑𝜓)))))
104, 8, 9mp2 9 . . 3 𝑥((𝐴𝐵 → (𝜑𝜓)) ∧ (𝐴 = 𝐵 → (𝜑𝜓)))
11 exancom 1852 . . 3 (∃𝑥((𝐴𝐵 → (𝜑𝜓)) ∧ (𝐴 = 𝐵 → (𝜑𝜓))) ↔ ∃𝑥((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (𝐴𝐵 → (𝜑𝜓))))
1210, 11mpbi 231 . 2 𝑥((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (𝐴𝐵 → (𝜑𝜓)))
13 df-ne 3014 . . . 4 (𝐴𝐵 ↔ ¬ 𝐴 = 𝐵)
1413imbi1i 351 . . 3 ((𝐴𝐵 → (𝜑𝜓)) ↔ (¬ 𝐴 = 𝐵 → (𝜑𝜓)))
15 pm2.61 193 . . . 4 ((𝐴 = 𝐵 → (𝜑𝜓)) → ((¬ 𝐴 = 𝐵 → (𝜑𝜓)) → (𝜑𝜓)))
1615imp 407 . . 3 (((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (¬ 𝐴 = 𝐵 → (𝜑𝜓))) → (𝜑𝜓))
1714, 16sylan2b 593 . 2 (((𝐴 = 𝐵 → (𝜑𝜓)) ∧ (𝐴𝐵 → (𝜑𝜓))) → (𝜑𝜓))
1812, 17bnj101 31892 1 𝑥(𝜑𝜓)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wal 1526   = wceq 1528  wex 1771  wne 3013
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801
This theorem depends on definitions:  df-bi 208  df-an 397  df-ex 1772  df-ne 3014
This theorem is referenced by:  bnj1030  32156  bnj1128  32159  bnj1145  32162
  Copyright terms: Public domain W3C validator