Metamath Proof Explorer


Theorem opelopabgf

Description: The law of concretion. Theorem 9.5 of Quine p. 61. This version of opelopabg uses bound-variable hypotheses in place of distinct variable conditions. (Contributed by Alexander van der Vekens, 8-Jul-2018)

Ref Expression
Hypotheses opelopabgf.x 𝑥 𝜓
opelopabgf.y 𝑦 𝜒
opelopabgf.1 ( 𝑥 = 𝐴 → ( 𝜑𝜓 ) )
opelopabgf.2 ( 𝑦 = 𝐵 → ( 𝜓𝜒 ) )
Assertion opelopabgf ( ( 𝐴𝑉𝐵𝑊 ) → ( ⟨ 𝐴 , 𝐵 ⟩ ∈ { ⟨ 𝑥 , 𝑦 ⟩ ∣ 𝜑 } ↔ 𝜒 ) )

Proof

Step Hyp Ref Expression
1 opelopabgf.x 𝑥 𝜓
2 opelopabgf.y 𝑦 𝜒
3 opelopabgf.1 ( 𝑥 = 𝐴 → ( 𝜑𝜓 ) )
4 opelopabgf.2 ( 𝑦 = 𝐵 → ( 𝜓𝜒 ) )
5 opelopabsb ( ⟨ 𝐴 , 𝐵 ⟩ ∈ { ⟨ 𝑥 , 𝑦 ⟩ ∣ 𝜑 } ↔ [ 𝐴 / 𝑥 ] [ 𝐵 / 𝑦 ] 𝜑 )
6 nfcv 𝑥 𝐵
7 6 1 nfsbcw 𝑥 [ 𝐵 / 𝑦 ] 𝜓
8 3 sbcbidv ( 𝑥 = 𝐴 → ( [ 𝐵 / 𝑦 ] 𝜑[ 𝐵 / 𝑦 ] 𝜓 ) )
9 7 8 sbciegf ( 𝐴𝑉 → ( [ 𝐴 / 𝑥 ] [ 𝐵 / 𝑦 ] 𝜑[ 𝐵 / 𝑦 ] 𝜓 ) )
10 2 4 sbciegf ( 𝐵𝑊 → ( [ 𝐵 / 𝑦 ] 𝜓𝜒 ) )
11 9 10 sylan9bb ( ( 𝐴𝑉𝐵𝑊 ) → ( [ 𝐴 / 𝑥 ] [ 𝐵 / 𝑦 ] 𝜑𝜒 ) )
12 5 11 syl5bb ( ( 𝐴𝑉𝐵𝑊 ) → ( ⟨ 𝐴 , 𝐵 ⟩ ∈ { ⟨ 𝑥 , 𝑦 ⟩ ∣ 𝜑 } ↔ 𝜒 ) )