• Non ci sono risultati.

In BCΣ, the domain and codomain of the functions both are the set of free terms from the signature Σ

N/A
N/A
Protected

Academic year: 2021

Condividi "In BCΣ, the domain and codomain of the functions both are the set of free terms from the signature Σ"

Copied!
1
0
0

Testo completo

(1)

From Implicit Complexity to Quantitative Resource Analysis July 24, 2015 — Written Assignment

Due on August 15, 2015 by mail at [email protected]

Some remarks:

• If possible, typeset your manuscript in LATEX.

• Try to solve all the exercises (even if doing all of them correctly is not necessary to pass the exam).

• Questions about the assignment need to be addressed to [email protected]. If received before August 10, they will be handled in at most 48 hours.

Esercise 1. Prove that the set of functions which can be represented in the λ-calculus (following the definition given in the slides) is the set of all partial recursive functions.

Esercise 2. Consider a natural generalisation BCΣof the function algebra BC defined in the first part of the course. In BCΣ, the domain and codomain of the functions both are the set of free terms from the signature Σ. For the sake of simplicity, consider a signature {bin, nil} with only two symbols, the first one having arity 2 and the second one having arity 0. Terms from this signature are just unlabelled, binary trees.

• Formally define BCΣ.

• Prove that, as in the case of words, that for every function f in BCΣ, there is a polynomial pf such that |f (~x)| ≤ p(|~x|), or give a counterexample.

• What does the above tell us about the expressive power of the obtained algebra?

Esercise 3. Prove that any functional program which admits an additive polynomial interpreta- tion computes a polytime function.

Esercise 4. Play with the Tyrolean Complexity Tool (see http://cl-informatik.uibk.ac.at/

software/tct/). Find the simplest example of a polytime program that cannot be recognised so by the tool.

Riferimenti

Documenti correlati

“A novel” patient-like” treatment model of human pancre- atic cancer constructed using orthotopic transplantation of histologically intact human tumor tissue in nude mice.”

fatigue, sleep Anomalous head postureYes, ⬃20% by 1 year of age, Yes, ⬃5%–10%, due to anYes, usually multiplanar (e.g., a tilt due to “gaze-null”“adduction-null,”

Il saggio analizza i percorsi politici di Clara Sereni e Luca Zevi, due ebrei romani nati nella seconda metà degli anni Quaranta.. Nelle loro storie familiari, la lotta antifascista

Some topics on modular functions, elliptic functions and transcendence theory. Sheet of

In Section 4, the characterization provided by Theorem 3.2 leads to combina- torial results: we investigate the structure of the partial order of likeness among dendrites, showing

Simply choosing ad hoc sets of nodes leads to resampling the (unknown) function and to avoid this drawback, here we present the use of the so-called mapped bases or fake nodes

Write a (Prolog) program which computes the vectorial product of two input lists of integers. having the

Write a Prolog program which returns the element of a list L1 which are not included in a second list L2.. Write a Prolog program which decides if two binary trees are equivalent