Metamath Proof Explorer


Theorem seqeq2

Description: Equality theorem for the sequence builder operation. (Contributed by Mario Carneiro, 4-Sep-2013)

Ref Expression
Assertion seqeq2 +˙=QseqM+˙F=seqMQF

Proof

Step Hyp Ref Expression
1 oveq +˙=Qy+˙Fx+1=yQFx+1
2 1 opeq2d +˙=Qx+1y+˙Fx+1=x+1yQFx+1
3 2 mpoeq3dv +˙=QxV,yVx+1y+˙Fx+1=xV,yVx+1yQFx+1
4 rdgeq1 xV,yVx+1y+˙Fx+1=xV,yVx+1yQFx+1recxV,yVx+1y+˙Fx+1MFM=recxV,yVx+1yQFx+1MFM
5 3 4 syl +˙=QrecxV,yVx+1y+˙Fx+1MFM=recxV,yVx+1yQFx+1MFM
6 5 imaeq1d +˙=QrecxV,yVx+1y+˙Fx+1MFMω=recxV,yVx+1yQFx+1MFMω
7 df-seq seqM+˙F=recxV,yVx+1y+˙Fx+1MFMω
8 df-seq seqMQF=recxV,yVx+1yQFx+1MFMω
9 6 7 8 3eqtr4g +˙=QseqM+˙F=seqMQF