Deakstadieđáhus: Discrete inverse and state estimation problems