29 research outputs found

    Proving termination of evaluation for System F with control operators

    Full text link
    We present new proofs of termination of evaluation in reduction semantics (i.e., a small-step operational semantics with explicit representation of evaluation contexts) for System F with control operators. We introduce a modified version of Girard's proof method based on reducibility candidates, where the reducibility predicates are defined on values and on evaluation contexts as prescribed by the reduction semantics format. We address both abortive control operators (callcc) and delimited-control operators (shift and reset) for which we introduce novel polymorphic type systems, and we consider both the call-by-value and call-by-name evaluation strategies.Comment: In Proceedings COS 2013, arXiv:1309.092

    Machines abstraites non déterministes

    Get PDF
    We present a generic design of abstract machines for nondeterministic programming languages, such as process calculi or concurrent lambda calculi, that provides a simple way to implement them. Such a machine traverses a term in the search for a redex, making non-deterministic choices when several paths are possible and backtracking when it reaches a dead end, i.e., an irreducible subterm. The search is guaranteed to terminate thanks to term annotations the machine introduces along the way. We show how to automatically derive a non-deterministic abstract machine from a zipper semantics-a form of structural operational semantics in which the decomposition process of a term into a context and a redex is made explicit. The derivation method ensures the soundness and completeness of the machines w.r.t. the zipper semantics.Nous proposons une présentation uniforme des machines abstraites pour les langages non déterministes, tels que les calculs de processus ou les lambda-calculs concurrents, qui permet de les implémenter facilement. Une telle machine traverse le terme à la recherche d’un redex, en faisant des choix arbitraires lorsque plusieurs chemins sont possibles, et en retournant en arrière lorsqu’elle atteint un cul-de-sac, c’est-à-dire un terme irreductible. Nous garantissons la terminaison de la recherche grâce aux annotations que la machine ajoute encours de route. Nous montrons comment dériver automatiquement une machine non déterministe depuis une sémantique zipper—une forme de sémantique opérationnelle structurelle dans laquelle la décomposition d’un terme en un contexte et un redex apparaît explicitement. La méthode dedérivation garantit la correction et la complétude de la machine par rapport à la sémantique zipper

    Pląsawica u 13-letniej dziewczynki jako pierwszy objaw tocznia rumieniowatego układowego, a może innej zapalnej choroby tkanki łącznej? Opis przypadku

    Get PDF
    Pląsawicę określa się jako mimowolne hiperkinetyczne zaburzenia, polegające na nagłych, nieregularnych, bezcelowych ruchach dotyczących obwodowych części ciała. Wśród wyodrębnionych w klasyfikacji American College of Rheumatology (ACR) zaburzeń ruchowych w przebiegu tocznia rumieniowatego układowego (SLE) pląsawica odgrywa wiodącą rolę. Przyczyną pląsawicy są zmiany zwyrodnieniowe bądź naciekowo-zapalne w strukturach zwojów podstawnych, których zajęcie obserwuje się również w zespołach antyfosfolipidowych (APS). W pracy przedstawiono nietypowy przypadek 13-letniej dziewczynki, u której przez kilka tygodni obserwowano nasilające się ruchy mimowolne dotyczące prawej kończyny górnej. Po przeprowadzeniu szerokiej diagnostyki różnicowej wykluczono przyczyny neurologiczne objawów, zaś z uwagi na zaburzenia koagulologiczne oraz obciążający wywiad rodzinny w kierunku chorób autoimmunologicznych u pacjentki wysunięto podejrzenie SLE. W badaniach dodatkowych, poza utrzymującymi się zaburzeniami w zakresie układu krzepnięcia, stwierdzano graniczne miano przeciwciał ANA, bez obecności przeciwciał anytgenowo-swoistych. Pacjentka spełniała kryteria laboratoryjne APS. Wobec nasilania się objawów pląsawiczych pod postacią powłóczenia kończyny dolnej i bełkotliwej mowy, u pacjentki zdecydowano o rozszerzeniu diagnostyki obrazowej o badanie SPECT uwidaczniając rozsiane ogniska niedokrwienne. Pomimo że pacjentka nie spełniała kryteriów rozpoznania SLE, w leczeniu zastosowano pulsy z metylprednizolonu, uzyskując spektakularną poprawę kliniczną

    QTc prolongation in patients with hearing loss: Electrocardiographic and genetic study

    Get PDF
    Background: The aim of the study was to determine, whether electrocardiogram (ECG) screening could reduce the risk of sudden cardiac death in patients with hearing loss through the early diagnosis of Jervell and Lange-Nielsen syndrome and the introduction of the therapy. Methods: One thousand and eighty patients with hearing loss (aged 21.8 ± 19.9 years) underwent ECG. Additionally, all subjects were asked to complete a 3-question survey. Those who met, at least, one of the high-risk criteria underwent further cardiac assessment and genetic testing. Results: QTc assessment was possible in 1,027 patients. Mean QTc measured 422.8 ± 23.7 ms in 313 women, 414.9 ± 27.7 ms in 273 men and 421.1 ± 21.5 ms in 441 children (individuals younger than 14 years). Abnormal QTc was found in 13 (4.1%) women, 20 (7.3%) men, and 72 (16.3%) children. In the studied group, no recessive mutation of KNCQ1 or KCNE1 was found. In 6 patients, other mutations were found: in KCNQ1 (n = 1), in KCNH2 (n = 3) and in SCN5A (n = 1), which were pathogenic for long-QT-syndromes (LQTS), and 2 mutations of unknown clinical significance in SCN5A. Overall, out of these 6 patients LQTS was diagnosed in 3 asymptomatic patients, but with abnormal QTc and in 2 patients with normal QTc, but who were previously treated for epilepsy. Conclusions: Jervell and Lange-Nielsen syndrome is a very rare condition even in a population with hearing loss. In this population, the prevalence of prolonged QT interval is increased over the general population. Further investigations are necessary.

    Work of modern translator

    No full text
    Punktem wyjścia dla niniejszej pracy magisterskiej była próba oceny wartości tłumaczeń maszynowych, i jej prezentacja w kontekście teoretycznych dokonań współczesnych nauk humanistycznych.Pierwsze ustępy tej pracy zawierają orientacyjny przegląd licznych teorii translatorskich. Już same definicje działania translatorskiego dowodzą wielości punktów widzenia. Wszystkie definicje zmierzają jednakże do jednego celu, jakim jest komunikacja międzyjęzykowa. Niniejsza praca magisterska jest ponadto próbą zyskania orientacji w kwestiach translatorskich teorii mimo ich niejednolitości, prezentując przy tym historyczną perspektywę tłumaczeń – uwzględniając fakt, iż historia tłumaczeń nie została jeszcze gruntownie opracowana. Praca ta przywołuje najstarsze chronologicznie przykłady tłumaczeń i wylicza kolejne chronologicznie historyczne fakty związane z kwestiami tłumaczeń. Kolejne akapity poświęcone są rozwojowi teoretycznych badań tłumaczeniowych. Wspomina się fakt, iż pierwsze ważniejsze pisma pojawiają się dopiero w XIX wieku. Istotne przyspieszenie można zaobserwować dopiero w XX wieku, z pewnością mające związek z globalizacją współczesnego świata. Dopiero wtedy pojawiają się teorie w naukowy sposób badające proces tłumaczeniowy: szkoła lipska lat 60-tych, wyodrębnienie się translatoryki z filologii, ugruntowanie się jej jako samodzielnej dyscypliny naukowej, kognitywny przełom w lingwistyce lat 80-tych i 90-tych XX wieku.W dalszej kolejności niniejsza praca dotyczy historii tłumaczeń maszynowych. Ponadto praca ta jest próbą zmierzenia się z sensem udziału maszyny w procesie tłumaczeniowymi usunięcia z tego procesu udziału człowieka. W tym celu autorka pracy podejmuje się badania systemów maszynowych, zastępujących lub uzupełniających w akcie tłumaczeniowym człowieka. Ostatnia, praktyczna część to analiza tłumaczenia maszynowego, pozwalająca odkryć pewne punkty krytyczne oraz problemy ograniczające system maszynowy w wyprodukowaniu poprawnego tłumaczenia. Wyniki tej analizy skłaniają autorkę niniejszej pracy do stwierdzenia, iż poprawne tłumaczenie nie jest możliwe bez udziału człowieka.The foundation of this Master's thesis is an attempt to assess the machine translation and to present it in the context of theoretical achievements of modern humanities.The first passages of the thesis review several theories of translation. The definitions of translation activity reveal many viewpoints, however, they all pursue the same purpose, which is interlanguage communication. This Master's thesis is also an attempt to systematize the theories of translation despite their diversity and to present historical background of translation, for the fact that history of translation has not been thoroughly analyzed so far. The thesis refers to the oldest examples of translation and lists chronologically historical facts connected with the notion of translation. The further parts of the thesis discuss the development of theoretical research of translation. It mentions the fact that the first important texts date back to as late as the 19th century, whereas the significant progress might be observed in the 20th century, being the result of globalization. At that time, there grew the theories which scientifically analyzed the process of translation: the Leipzig School of Translation in the 1960s, the separation of translation studies from philology and establishing it as a separate academic discipline, and the cognitive breakthrough in linguistics in the 1980s and 1990s. The next part of the thesis focuses on the history of machine translation. In addition, the thesis attempts to confront the idea of using a machine in the process of translating and of excluding a man from this process. For this reason, the author has undertaken the research on machine systems which substitute or complement the process of human translation.The last practical part of the thesis analyzes machine translation and uncovers critical points and problems which restrict the machine system from producing the correct text. The results of this analysis incline the author to claim that the correct translation product is impossible without the human input

    A concrete framework for environment machines

    Get PDF
    We materialize the common belief that calculi with explicit substitutions provide an intermediate step between an abstract specification of substitution in the lambda-calculus and its concrete implementations. To this end, we go back to Curien's original calculus of closures (an early calculus with explicit substitutions), we extend it minimally so that it can express one-step reduction strategies, and we methodically derive a series of environment machines from the specification of two one-step reduction strategies for the lambda-calculus: normal order and applicative order. The derivation extends Danvy and Nielsen's refocusing-based construction of abstract machines with two new steps: one for coalescing two successive transitions into one, and one for unfolding a closure into a term and an environment in the resulting abstract machine. The resulting environment machines include both the idealized and the original versions of Krivine's machine, Felleisen et al.'s CEK machine, and Leroy's Zinc abstract machine

    A Syntactic Correspondence between Context-Sensitive Calculi and Abstract Machines

    Get PDF
    We present a systematic construction of environment-based abstract machines\ud from context-sensitive calculi of explicit substitutions, and we illustrate\ud it with a series of calculi and machines: Krivine’s machine with call/cc,\ud the μ-calculus, delimited continuations, i/o, stack inspection, proper tailrecursion,\ud and lazy evaluation. Most of the machines already exist but\ud have been obtained independently and are only indirectly related to the\ud corresponding calculi. All of the calculi are new and they make it possible\ud to directly reason about the execution of the corresponding machines.\ud In connection with the functional correspondence between evaluation functions\ud and abstract machines initiated by Reynolds, the present syntactic\ud correspondence makes it possible to construct reduction-free normalization\ud functions out of reduction-based ones, which was an open problem in the\ud area of normalization by evaluation.\u

    Automating Derivations of Abstract Machines from Reduction Semantics: A Generic Formalization of Refocusing in Coq

    No full text
    Abstract. We present a generic formalization of the refocusing transformation for functional languages in the Coq proof assistant. The refocusing technique, due to Danvy and Nielsen, allows for mechanical transformation of an evaluator implementing a reduction semantics into an equivalent abstract machine via a succession of simple program transformations. So far, refocusing has been used only as an informal procedure: the conditions required of a reduction semantics have not been formally captured, and the transformation has not been formally proved correct. The aim of this work is to formalize and prove correct the refocusing technique. To this end, we first propose an axiomatization of reduction semantics that is sufficient to automatically apply the refocusing method. Next, we prove that any reduction semantics conforming to this axiomatization can be automatically transformed into an abstract machine equivalent to it. The article is accompanied by a Coq development that contains the formalization of the refocusing method and a number of case studies that serve both as an illustration of the method and as a sanity check on the axiomatization
    corecore