Invariant sets and nilpotency of endomorphisms of algebraic sofic shifts | Synapse