논리학에서 치환 실례(置換實例, 영어: substitution instance)는 명제를 구성하는 원자 명제를 다른 명제로 대신하여 얻는 명제이다.
명제 논리에서, 명제 형식
의, 원자 명제
및 명제 형식
에 대한 치환 실례
는
속의 각
에
를 넣어 얻는 명제이다. 즉, 다음과 같이 재귀적으로 정의된다.
- 원자 명제
에 대하여,
라면, ![{\displaystyle p[Q_{1}/p_{1},\dots ,Q_{n}/p_{n}]=p}](https://wikimedia.org/api/rest_v1/media/math/render/svg/2cebdb03353cedc05e577ff40d016c521becb04d)
라면, ![{\displaystyle p[Q_{1}/p_{1},\dots ,Q_{n}/p_{n}]=Q_{i}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f367b014c439d3a7cca552f4fbf8fa0d3d302e2e)
- 명제 형식
에 대하여, ![{\displaystyle (\lnot P)[Q_{1}/p_{1},\dots ,Q_{n}/p_{n}]=\lnot (P[Q_{1}/p_{1},\dots ,Q_{n}/p_{n}])}](https://wikimedia.org/api/rest_v1/media/math/render/svg/9b278724224554dfd3079165a6970e8ac3ac879f)
- 명제 형식
에 대하여, ![{\displaystyle (P\land Q)[Q_{1}/p_{1},\dots ,Q_{n}/p_{n}]=P[Q_{1}/p_{1},\dots ,Q_{n}/p_{n}]\land Q[Q_{1}/p_{1},\dots ,Q_{n}/p_{n}]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/255fab1b7a6806619224f1d96a314c90c9eb7227)
만약
가 항진 명제 형식이라면, 모든 치환 실례
역시 항진 명제 형식이다.[1] 만약
가 모순 명제 형식이라면, 모든 치환 실례
역시 모순 명제 형식이다.[1]
만약 모든
에 대하여
와
가 서로 동치라면,
와
은 서로 동치이다.
명제

의, 원자 명제
및 명제



에 대한 치환 실례는

이다.
1차 논리에서, 항
의, 변수
및 항
에 대한 치환 실례
는
속의 각
에
를 넣어 얻는 항이다. 즉, 다음과 같이 재귀적으로 정의된다.[2]
- 연산
및 항
에 대하여, (여기서
는 항수)
![{\displaystyle {\mathsf {f}}(t_{1},\dots ,t_{m_{\mathsf {f}}})[u_{1}/x_{1},\dots ,u_{n}/x_{n}]={\mathsf {f}}(t_{1}[u_{1}/x_{1},\dots ,u_{n}/x_{n}],\dots ,t_{m_{\mathsf {f}}}[u_{1}/x_{1},\dots ,u_{n}/x_{n}])}](https://wikimedia.org/api/rest_v1/media/math/render/svg/46a76002da0add7b160d4d3fbd72e90ef59bfd2d)
논리식
의, 변수
및 항
에 대한 치환 실례
는
속의 각 자유 변수
에
를 넣어 얻는 논리식이다. 즉, 다음과 같이 재귀적으로 정의된다.[2]
- 항
에 대하여, ![{\displaystyle (t=u)[t_{1}/x_{1},\dots ,t_{n}/x_{n}]=(t[t_{1}/x_{1},\dots ,t_{n}/x_{n}]=u[t_{1}/x_{1},\dots ,t_{n}/x_{n}])}](https://wikimedia.org/api/rest_v1/media/math/render/svg/2ce3506ae241943a304c79e9a36f745c8e33a25c)
- 관계
및 항
에 대하여, (여기서
는 항수)
![{\displaystyle {\mathsf {R}}(u_{1},\dots ,u_{n_{\mathsf {R}}})[t_{1}/x_{1},\dots ,t_{n}/x_{n}]={\mathsf {R}}(u_{1}[t_{1}/x_{1},\dots ,t_{n}/x_{n}],\dots ,u_{n_{\mathsf {R}}}[t_{1}/x_{1},\dots ,t_{n}/x_{n}])}](https://wikimedia.org/api/rest_v1/media/math/render/svg/70197f87919be18c5bde8073470e9d2da83e7fd4)
- 논리식
에 대하여, ![{\displaystyle (\lnot \phi )[t_{1}/x_{1},\dots ,t_{n}/x_{n}]=\lnot (\phi [t_{1}/x_{1},\dots ,t_{n}/x_{n}])}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d2538ec29b59063ac8413c0eeca7ab6429d03106)
- 논리식
에 대하여, ![{\displaystyle (\phi \land \psi )[t_{1}/x_{1},\dots ,t_{n}/x_{n}]=\phi [t_{1}/x_{1},\dots ,t_{n}/x_{n}]\land \psi [t_{1}/x_{1},\dots ,t_{n}/x_{n}]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/42fd1228ab470690e5b908b6bd13f04a5ae49809)
- 논리식
및 변수
에 대하여,
라면, ![{\displaystyle (\forall x\phi )[t_{1}/x_{1},\dots ,t_{n}/x_{n}]=\forall x(\phi [t_{1}/x_{1},\dots ,t_{n}/x_{n}])}](https://wikimedia.org/api/rest_v1/media/math/render/svg/524e0db01b6002b413d1d9ccef2845b6cf77cec1)
라면, ![{\displaystyle (\forall x\phi )[t_{1}/x_{1},\dots ,t_{n}/x_{n}]=\forall x(\phi [t_{1}/x_{1},\dots ,t_{i-1}/x_{i-1},t_{i+1}/x_{i+1},\dots ,t_{n}/x_{n}])}](https://wikimedia.org/api/rest_v1/media/math/render/svg/1c663ab0ea97a56dc92e21d6aa5c2796a9f2ed4f)
논리식
위의, 변수
의 치환 가능 항(영어: substitutable/free term for
)은 다음 조건을 만족시키는 항
이다.[2]
- 만약
가 변수
를 포함하며,
가 논리식
를 포함한다면,
는
의 자유 변수가 아니다.
즉, 다음과 같이 재귀적으로 정의된다.
- 항
에 대하여,
는
위의
의 치환 가능 항이다.
- 관계
및 항
에 대하여,
는
위의
의 치환 가능 항이다.
가
위의
의 치환 가능 항이라면,
는
위의
의 치환 가능 항이다.
가
위의
의 치환 가능 항이라면,
는
위의
의 치환 가능 항이다.
가 변수
를 포함하지 않거나,
가
의 자유 변수가 아니라면,
는
위의
의 치환 가능 항이다.