Download lean/OAI/Computability/DegreeRigidity/Representation/ArithmeticRepresentation.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
have h := (((Arith.query 0).iff (Arith.query 1)).comp _ right_primrec).all
apply h.congr
intro O v
simp only [right,Nat.unpair_pair]
exact ⟨fun h => funext (fun n =>Bool.eq_iff_iff.mpr (h n)),fun h n =>by rw [h]⟩