Artificial intelligent assistant

What is the difference between semantical and syntactical variables? My set theory book has this sentence.(It was written in my native language. I translated these. Sorry for poor English.) > When $x$ is assigned as the value of the independent variable of the function $f$, then the value of the dependent variable is denoted by $f(x)$. And the following sentence is in the footnote. > If the independent variable of $f$ is $x$, we get a ridiculous expression "When $x$ is assigned as the value of $x$..." We can solve this problem by distinguishing between syntactical and semantical variables. I can not understand this footnote. What is the difference between semantical and syntactical variables?

A _variable_ is a syntactical "object".

Thus, from a syntactical point of view we replace a variable occurring into a formula (an _expression_ of the Language) with another term of the language.

Terms of the language are "names" that - when interpreted - will denote objects of the "universe" of the interpretation (its _domain_ ).

Thus, we may say :

> When we assign to the variable $x$ the value $t$ as its reference (denotation), the function referenced (denoted) by $f$ will have $f(t)$ as value.

* * *

In a nutshell, the two "views" : the syntactical and the semantical, are linked by the relation of _reference_ : assigning to a term of the language and object of the "world" as its "meaning".

The relation of reference between name and object is not the same with the operation (internal to the language) of _substitution_ of a term with another one.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 617e6b3a77ecc5d0dcbb914ed61d376f