This Wikipedia page about first-order logic mentions Leibniz's law as one of the axiom schemas of equality. But Leibniz's law states that $\forall x\forall y(\forall P(P(x)\leftrightarrow P(y))\leftrightarrow x=y)$. There has been a quantification over predicates which is not allowed in first-order logic. Could someone please point out what I could've gotten wrong? Is the definition of equality formulated in a different manner?
2026-03-31 07:29:32.1774942172
How can equality be defined in first-order logic?
2k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in LOGIC
- Theorems in MK would imply theorems in ZFC
- What is (mathematically) minimal computer architecture to run any software
- What formula proved in MK or Godel Incompleteness theorem
- Determine the truth value and validity of the propositions given
- Is this a commonly known paradox?
- Help with Propositional Logic Proof
- Symbol for assignment of a truth-value?
- Find the truth value of... empty set?
- Do I need the axiom of choice to prove this statement?
- Prove that any truth function $f$ can be represented by a formula $φ$ in cnf by negating a formula in dnf
Related Questions in FIRST-ORDER-LOGIC
- Proving the schema of separation from replacement
- Find the truth value of... empty set?
- Exchanging RAA with double negation: is this valid?
- Translate into first order logic: "$a, b, c$ are the lengths of the sides of a triangle"
- Primitive recursive functions of bounded sum
- Show formula which does not have quantifier elimination in theory of infinite equivalence relations.
- Logical Connectives and Quantifiers
- Is this proof correct? (Proof Theory)
- Is there only a finite number of non-equivalent formulas in the predicate logic?
- How to build a list of all the wfs (well-formed sentences)?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Specifically, what we want is $\forall P.P(x)\land (x = y) \to P(y)$. Note that this is equivalent to: $(x=y)\to(\forall P.P(x)\to P(y))$. Given this, it is easy to show that $(x=y) \to (\forall P.P(x)\leftrightarrow P(y))$. $(\forall P.P(x)\leftrightarrow P(y))\to (x=y)$ is trivial to show simply by instantiating $P$ as $P(z)=(x=z)\land(z=y)$. (Reflexivity, i.e. $\forall x.x=x$ is also taken as an axiom usually and does not follow from the above.)
The benefit of $\forall P.P(x)\land (x=y)\to P(y)$ is that we can commute the $\forall$ with the $\forall$s I've left implicit for $x$ and $y$, i.e. we have $\forall P.\forall x,y.P(x)\land (x=y)\to P(y)$. Now there's still the problem that you've pointed out. Quantifying over predicates, i.e. the $\forall P$ is not allowed in first-order logic. It is allowed in second-order logic, but that is not the logical system that is usually used. Instead, in a fairly common move (e.g. the induction rule in first-order Peano arithmetic), we move the quantification over predicates to the meta-level. What we say instead is that for every formula (i.e. piece of syntax in the first-order language) $\varphi$, $\forall x,y.\varphi(x)\land (x=y)\to \varphi(x)$ is an axiom. This produces an axiom schema, or, alternatively it is often presented as a rule of inference. This is strictly weaker than the second-order axiom (with respect to full semantics at least). The second-order axiom pins equality down to being equality in the semantics. This first-order axiom schema only pins equality down to being an equivalence relation that respects every formula we can state in the first-order language.
As far as provability is concerned, there isn't really any difference between the second-order quantification or the axiom schema. Syntactically, we can only talk about things we can write down anyway. Semantically, we could add equality to the logical framework itself rather than just provide an axiom schema. We can then state that by definition the equality operator in the logic gets interpreted as equality semantically. This is safe because we could always just quotient any model by the equivalence relation that is the interpretation of the equality operator and have a suitably equivalent model where the equality operator is interpreted as equality in the semantics. In other words, making this choice doesn't lose completeness.