Washing machine drain line goes up
If this helps, I have a similar setup in my basement, to avoid using a sump pump. I do not have a check valve, but that's a great idea. I've been running the same washing machine like this for 15 years now.

It may not make it technically correct, but it does work fine. Never had any issues.