Metamath Proof Explorer


Theorem rdglem1

Description: Lemma used with the recursive definition generator. This is a trivial lemma that just changes bound variables for later use. (Contributed by NM, 9-Apr-1995)

Ref Expression
Assertion rdglem1 { 𝑓 ∣ ∃ 𝑥 ∈ On ( 𝑓 Fn 𝑥 ∧ ∀ 𝑦𝑥 ( 𝑓𝑦 ) = ( 𝐺 ‘ ( 𝑓𝑦 ) ) ) } = { 𝑔 ∣ ∃ 𝑧 ∈ On ( 𝑔 Fn 𝑧 ∧ ∀ 𝑤𝑧 ( 𝑔𝑤 ) = ( 𝐺 ‘ ( 𝑔𝑤 ) ) ) }

Proof

Step Hyp Ref Expression
1 eqid { 𝑓 ∣ ∃ 𝑥 ∈ On ( 𝑓 Fn 𝑥 ∧ ∀ 𝑦𝑥 ( 𝑓𝑦 ) = ( 𝐺 ‘ ( 𝑓𝑦 ) ) ) } = { 𝑓 ∣ ∃ 𝑥 ∈ On ( 𝑓 Fn 𝑥 ∧ ∀ 𝑦𝑥 ( 𝑓𝑦 ) = ( 𝐺 ‘ ( 𝑓𝑦 ) ) ) }
2 1 tfrlem3 { 𝑓 ∣ ∃ 𝑥 ∈ On ( 𝑓 Fn 𝑥 ∧ ∀ 𝑦𝑥 ( 𝑓𝑦 ) = ( 𝐺 ‘ ( 𝑓𝑦 ) ) ) } = { 𝑔 ∣ ∃ 𝑧 ∈ On ( 𝑔 Fn 𝑧 ∧ ∀ 𝑣𝑧 ( 𝑔𝑣 ) = ( 𝐺 ‘ ( 𝑔𝑣 ) ) ) }
3 fveq2 ( 𝑣 = 𝑤 → ( 𝑔𝑣 ) = ( 𝑔𝑤 ) )
4 reseq2 ( 𝑣 = 𝑤 → ( 𝑔𝑣 ) = ( 𝑔𝑤 ) )
5 4 fveq2d ( 𝑣 = 𝑤 → ( 𝐺 ‘ ( 𝑔𝑣 ) ) = ( 𝐺 ‘ ( 𝑔𝑤 ) ) )
6 3 5 eqeq12d ( 𝑣 = 𝑤 → ( ( 𝑔𝑣 ) = ( 𝐺 ‘ ( 𝑔𝑣 ) ) ↔ ( 𝑔𝑤 ) = ( 𝐺 ‘ ( 𝑔𝑤 ) ) ) )
7 6 cbvralvw ( ∀ 𝑣𝑧 ( 𝑔𝑣 ) = ( 𝐺 ‘ ( 𝑔𝑣 ) ) ↔ ∀ 𝑤𝑧 ( 𝑔𝑤 ) = ( 𝐺 ‘ ( 𝑔𝑤 ) ) )
8 7 anbi2i ( ( 𝑔 Fn 𝑧 ∧ ∀ 𝑣𝑧 ( 𝑔𝑣 ) = ( 𝐺 ‘ ( 𝑔𝑣 ) ) ) ↔ ( 𝑔 Fn 𝑧 ∧ ∀ 𝑤𝑧 ( 𝑔𝑤 ) = ( 𝐺 ‘ ( 𝑔𝑤 ) ) ) )
9 8 rexbii ( ∃ 𝑧 ∈ On ( 𝑔 Fn 𝑧 ∧ ∀ 𝑣𝑧 ( 𝑔𝑣 ) = ( 𝐺 ‘ ( 𝑔𝑣 ) ) ) ↔ ∃ 𝑧 ∈ On ( 𝑔 Fn 𝑧 ∧ ∀ 𝑤𝑧 ( 𝑔𝑤 ) = ( 𝐺 ‘ ( 𝑔𝑤 ) ) ) )
10 9 abbii { 𝑔 ∣ ∃ 𝑧 ∈ On ( 𝑔 Fn 𝑧 ∧ ∀ 𝑣𝑧 ( 𝑔𝑣 ) = ( 𝐺 ‘ ( 𝑔𝑣 ) ) ) } = { 𝑔 ∣ ∃ 𝑧 ∈ On ( 𝑔 Fn 𝑧 ∧ ∀ 𝑤𝑧 ( 𝑔𝑤 ) = ( 𝐺 ‘ ( 𝑔𝑤 ) ) ) }
11 2 10 eqtri { 𝑓 ∣ ∃ 𝑥 ∈ On ( 𝑓 Fn 𝑥 ∧ ∀ 𝑦𝑥 ( 𝑓𝑦 ) = ( 𝐺 ‘ ( 𝑓𝑦 ) ) ) } = { 𝑔 ∣ ∃ 𝑧 ∈ On ( 𝑔 Fn 𝑧 ∧ ∀ 𝑤𝑧 ( 𝑔𝑤 ) = ( 𝐺 ‘ ( 𝑔𝑤 ) ) ) }