There is a way of understanding all this through group theory. eg:
https://arxiv.org/html/2607.20669
'Counting, Symmetries and Equivalence Classes of Sudoku Grids' where an 'equivalence class' is a set of structures (such as filled Sudoku grids) that are all equivalent under some relation.