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

Theorem alexeq 1409
Description: Two ways of expressing substitution of A for x in φ.
Hypothesis
Ref Expression
alexeq.1 AV
Assertion
Ref Expression
alexeq (∀x(x = Aφ) ↔ ∃x(x = Aφ))
Distinct variable group(s):   x,A

Proof of Theorem alexeq
StepHypRef Expression
1 alexeq.1 . 2 AV
2 cleq2 1110 . . . 4 (y = A → (x = yx = A))
32imbi1d 465 . . 3 (y = A → ((x = yφ) ↔ (x = Aφ)))
43bialdv 935 . 2 (y = A → (∀x(x = yφ) ↔ ∀x(x = Aφ)))
52anbi1d 469 . . 3 (y = A → ((x = yφ) ↔ (x = Aφ)))
65biexdv 936 . 2 (y = A → (∃x(x = yφ) ↔ ∃x(x = Aφ)))
7 eqs4 831 . . 3 (∀x(x = yφ) → ∃x(x = yφ))
8 eq5 824 . . . . 5 (∀x x = y → ∀xx x = y)
9 hba1 698 . . . . 5 (∀x(x = yφ) → ∀xx(x = yφ))
10 ax-16 922 . . . . . 6 (∀x x = y → ((x = yφ) → ∀x(x = yφ)))
11 pm3.4 266 . . . . . 6 ((x = yφ) → (x = yφ))
1210, 11syl5 22 . . . . 5 (∀x x = y → ((x = yφ) → ∀x(x = yφ)))
138, 9, 1219.23ad 748 . . . 4 (∀x x = y → (∃x(x = yφ) → ∀x(x = yφ)))
14 eqs5 832 . . . 4 (¬ ∀x x = y → (∃x(x = yφ) → ∀x(x = yφ)))
1513, 14pm2.61i 110 . . 3 (∃x(x = yφ) → ∀x(x = yφ))
167, 15impbi 139 . 2 (∀x(x = yφ) ↔ ∃x(x = yφ))
171, 4, 6, 16vtoclb 1381 1 (∀x(x = Aφ) ↔ ∃x(x = Aφ))
Colors of variables: wff set class
Syntax hints:   → wi 2   ↔ wb 127   ∧ wa 196  ∀wal 672  ∃wex 678   = weq 797   = wceq 1091   ∈ wcel 1092  Vcvv 1348
This theorem is referenced by:  ceqex 1410
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-16 922  ax-17 925  ax-ext 1074
This theorem depends on definitions:  df-bi 128  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349
metamath.org