roseking's picture
Add lean source and binary files (part 60)
9dbc64e verified
Raw History Blame Contribute Delete
776 Bytes
9
theorem identity_graph_arith : Arith (fun O _ => O 0 = O 1) := by
proof · 5 lines
  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]⟩
16
theorem arithmetic_representation (π : Degree ≃o Degree) :
    ∃ F : Oracle → Oracle, Arith (fun O _ => F (O 0) = O 1) ∧
      ∀ A : Oracle, degree (F A) = π (degree A) :=
proof · 1 line
  ⟨id,identity_graph_arith,fun A => (ManuscriptMain.rigidity π (degree A)).symm⟩