Metamath Proof Explorer


Theorem nfdisjw

Description: Bound-variable hypothesis builder for disjoint collection. Version of nfdisj with a disjoint variable condition, which does not require ax-13 . (Contributed by Mario Carneiro, 14-Nov-2016) Avoid ax-13 . (Revised by GG, 26-Jan-2024)

Ref Expression
Hypotheses nfdisjw.1 𝑦 𝐴
nfdisjw.2 𝑦 𝐵
Assertion nfdisjw 𝑦 Disj 𝑥𝐴 𝐵

Proof

Step Hyp Ref Expression
1 nfdisjw.1 𝑦 𝐴
2 nfdisjw.2 𝑦 𝐵
3 dfdisj2 ( Disj 𝑥𝐴 𝐵 ↔ ∀ 𝑧 ∃* 𝑥 ( 𝑥𝐴𝑧𝐵 ) )
4 nftru 𝑥
5 1 a1i ( ⊤ → 𝑦 𝐴 )
6 5 nfcrd ( ⊤ → Ⅎ 𝑦 𝑥𝐴 )
7 2 nfcri 𝑦 𝑧𝐵
8 7 a1i ( ⊤ → Ⅎ 𝑦 𝑧𝐵 )
9 6 8 nfand ( ⊤ → Ⅎ 𝑦 ( 𝑥𝐴𝑧𝐵 ) )
10 4 9 nfmodv ( ⊤ → Ⅎ 𝑦 ∃* 𝑥 ( 𝑥𝐴𝑧𝐵 ) )
11 10 mptru 𝑦 ∃* 𝑥 ( 𝑥𝐴𝑧𝐵 )
12 11 nfal 𝑦𝑧 ∃* 𝑥 ( 𝑥𝐴𝑧𝐵 )
13 3 12 nfxfr 𝑦 Disj 𝑥𝐴 𝐵