If i have undersood correctly
AC834 from YUL - GVA was delayed by 2h40 leaving YUL, this caused a missconnect in GVA
you were rebooked on LX 2811 instead of the LX2809 which meant you arrived in ZRH 4h05 late.
As I see it your delay was caused by AC 834 which is operated by Air Canada from outside the EU.
This means that you are not entitled to compensation as out lined in EU 261.
EU 261 applies the all EU register airlines including LX and all none EU airlines when departing from the EU & CH
as Air Canada is not an EU airlines and YUL is outside the EU and this is where the delay was caused then sorry