Metamath Proof Explorer


Definition df-wl-ral

Description: The definiens of df-ral , A. x ( x e. A -> ph ) is a short and simple expression, but has a severe downside: It allows for two substantially different interpretations. One, and this is the common case, wants this expression to denote that ph holds for all elements of A . To this end, x must not be free in A , though . Should instead A vary with x , then we rather focus on those x , that happen to be an element of their respective A ( x ) . Such interpretation is rare, but must nevertheless be considered in design and comments.

In addition, many want definitions be designed to express just a single idea, not many.

Our definition here introduces a dummy variable y , disjoint from all other variables, to describe an element in A . It lets x appear as a formal parameter with no connection to A , but occurrences in ph are still honored.

The resulting subexpression A. x ( x = y -> ph ) is [ y / x ] ph in disguise (see wl-dfralsb ).

If x is not free in A , a simplification is possible ( see wl-dfralf , wl-dfralv ). (Contributed by NM, 19-Aug-1993) Isolate x from A , idea of Mario Carneiro. (Revised by Wolf Lammen, 21-May-2023)

Ref Expression
Assertion df-wl-ral x : A φ y y A x x = y φ

Detailed syntax breakdown

Step Hyp Ref Expression
0 vx setvar x
1 cA class A
2 wph wff φ
3 2 0 1 wl-ral wff x : A φ
4 vy setvar y
5 4 cv setvar y
6 5 1 wcel wff y A
7 0 cv setvar x
8 7 5 wceq wff x = y
9 8 2 wi wff x = y φ
10 9 0 wal wff x x = y φ
11 6 10 wi wff y A x x = y φ
12 11 4 wal wff y y A x x = y φ
13 3 12 wb wff x : A φ y y A x x = y φ