HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem eueq2 1915
Description: Equality has existential uniqueness (split into 2 cases).
Hypotheses
Ref Expression
eueq2.1 AV
eueq2.2 BV
Assertion
Ref Expression
eueq2 ∃!x((φx = A) ⋁ (¬ φx = B))
Distinct variable groups:   φ,x   x,A   x,B

Proof of Theorem eueq2
StepHypRef Expression
1 euorv 1398 . . . 4 ((¬ ¬ φ ⋀ ∃!x(φx = A)) → ∃!xφ ⋁ (φx = A)))
2 negb 86 . . . 4 (φ → ¬ ¬ φ)
3 eueq2.1 . . . . . 6 AV
43eueq1 1914 . . . . 5 ∃!x x = A
5 euanv 1431 . . . . . 6 (∃!x(φx = A) ↔ (φ ⋀ ∃!x x = A))
65biimpr 152 . . . . 5 ((φ ⋀ ∃!x x = A) → ∃!x(φx = A))
74, 6mpan2 695 . . . 4 (φ → ∃!x(φx = A))
81, 2, 7sylanc 471 . . 3 (φ → ∃!xφ ⋁ (φx = A)))
92bianfd 737 . . . . . 6 (φ → (¬ φ ↔ (¬ φx = B)))
109orbi2d 613 . . . . 5 (φ → (((φx = A) ⋁ ¬ φ) ↔ ((φx = A) ⋁ (¬ φx = B))))
11 orcom 246 . . . . 5 ((¬ φ ⋁ (φx = A)) ↔ ((φx = A) ⋁ ¬ φ))
1210, 11syl5bb 531 . . . 4 (φ → ((¬ φ ⋁ (φx = A)) ↔ ((φx = A) ⋁ (¬ φx = B))))
1312eubidv 1385 . . 3 (φ → (∃!xφ ⋁ (φx = A)) ↔ ∃!x((φx = A) ⋁ (¬ φx = B))))
148, 13mpbid 195 . 2 (φ → ∃!x((φx = A) ⋁ (¬ φx = B)))
15 eueq2.2 . . . . . 6 BV
1615eueq1 1914 . . . . 5 ∃!x x = B
17 euanv 1431 . . . . . 6 (∃!xφx = B) ↔ (¬ φ ⋀ ∃!x x = B))
1817biimpr 152 . . . . 5 ((¬ φ ⋀ ∃!x x = B) → ∃!xφx = B))
1916, 18mpan2 695 . . . 4 φ → ∃!xφx = B))
20 euorv 1398 . . . 4 ((¬ φ ⋀ ∃!xφx = B)) → ∃!x(φ ⋁ (¬ φx = B)))
2119, 20mpdan 703 . . 3 φ → ∃!x(φ ⋁ (¬ φx = B)))
22 id 59 . . . . . 6 φ → ¬ φ)
2322bianfd 737 . . . . 5 φ → (φ ↔ (φx = A)))
2423orbi1d 614 . . . 4 φ → ((φ ⋁ (¬ φx = B)) ↔ ((φx = A) ⋁ (¬ φx = B))))
2524eubidv 1385 . . 3 φ → (∃!x(φ ⋁ (¬ φx = B)) ↔ ∃!x((φx = A) ⋁ (¬ φx = B))))
2621, 25mpbid 195 . 2 φ → ∃!x((φx = A) ⋁ (¬ φx = B)))
2714, 26pm2.61i 126 1 ∃!x((φx = A) ⋁ (¬ φx = B))
Colors of variables: wff set class
Syntax hints:  ¬ wn 2   ⋁ wo 222   ⋀ wa 223   = wceq 955   ∈ wcel 957  ∃!weu 1379  Vcvv 1808
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 961  ax-gen 962  ax-8 963  ax-10 965  ax-11 966  ax-12 967  ax-17 970  ax-4 972  ax-5o 974  ax-6o 977  ax-9o 1122  ax-10o 1139  ax-16 1209  ax-11o 1217  ax-ext 1458
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-ex 980  df-sb 1171  df-eu 1381  df-mo 1382  df-clab 1463  df-cleq 1468  df-clel 1471  df-v 1809
Copyright terms: Public domain