Error 1: Al-qāḍī has the same case in every sentence. Correction: nominative and genitive are estimated; accusative is visible.
Error 2: The kasra on ḍād itself is genitive. Correction: it belongs to the word’s form; the genitive is an estimated kasra on yāʾ.
Error 3: Qāḍin must be genitive. Correction: it can also be nominative.
Error 4: Al-qāḍī is indeclinable. Correction: it is inflected.