314 research outputs found

    Rewriting and narrowing for constructor systems with call-time choice semantics

    Get PDF
    Non-confluent and non-terminating constructor-based term rewrite systems are useful for the purpose of specification and programming. In particular, existing functional logic languages use such kind of rewrite systems to define possibly non-strict non-deterministic functions. The semantics adopted for non-determinism is call-time choice, whose combination with non-strictness is a non trivial issue, addressed years ago from a semantic point of view with the Constructor-based Rewriting Logic (CRWL), a well-known semantic framework commonly accepted as suitable semantic basis of modern functional logic languages. A drawback of CRWL is that it does not come with a proper notion of one-step reduction, which would be very useful to understand and reason about how computations proceed. In this paper we develop thoroughly the theory for the first order version of letrewriting, a simple reduction notion close to that of classical term rewriting, but extended with a let-binding construction to adequately express the combination of call-time choice with non-strict semantics. Let-rewriting can be seen as a particular textual presentation of term graph rewriting. We investigate the properties of let-rewriting, most remarkably their equivalence with respect to a conservative extension of the CRWL-semantics coping with let-bindings, and we show by some case studies that having two interchangeable formal views (reduction/semantics) of the same language is a powerful reasoning tool. After that, we provide a notion of let-narrowing which is adequate for call-time choice as proved by soundness and completeness results of let-narrowing with respect to letre writing. Moreover, we relate those let-rewriting and let-narrowing relations (and hence CRWL) with ordinary term rewriting and narrowing, providing in particular soundness and completeness of let-rewriting with respect to term rewriting for a class of programs which are deterministic in a semantic sense

    Diagnose foliar para videira.

    Get PDF
    Objetivando estudar uma metodologia para o diagnostico nutricional da videira, conduziu-se um experimento no Centro Nacional de Pesquisa de Uva e Vinho/EMBRAPA, em Bento Goncalves, RS. Utilizou-se um vinhedo com a cultivar Tannat/RR 101-14, conduzido em espaldeira e podado em Guyot duplo arqueado. A metodologia testada usa balancos percentuais obtidos por regressoes lineares para cada nutriente, atraves dos padroes foliares utilizados na Africa do Sul. Foram estudados o nitrogenio, fosforo, potassio, calcio e magnesio. Os resultados obtidos para quatro ciclos vegetativos mostram que a metodologia e viavel

    Determination of lactadherin concentration in dairy by-products by ELISA: Effect of heat treatment and hydrolysis

    Get PDF
    Lactadherin is a peripheral glycoprotein of the milk fat globule membrane with several attributed biological activities. In this study, we developed an indirect competitive ELISA to determine lactadherin concentration by using a rabbit polyclonal antiserum. The ELISA was applied to quantify lactadherin in several dairy by-products. Of the products tested, raw and commercial buttermilk had the highest concentrations of lactadherin (6.79 and 5.27 mg/g of product, respectively), followed by commercial butter serum (4.86 mg/g), commercial skim milk (4.84 mg/g), and raw whey (1.20 mg/g). The concentration of immunoreactive lactadherin was also determined in dairy by- products after they were subjected to different technological treatments. Thus, raw products were heat treated at combinations of temperature and time typically used in the dairy industry, and commercial products were hydrolyzed using 3 proteolytic enzyme preparations. Heat treatments of whey and buttermilk resulted in a smaller decrease in lactadherin concentration than did hydrolysis as determined by ELISA and electrophoresis. At high temperatures for long durations, the loss of lactadherin was higher in whey than in buttermilk, with the maximal reduction of around 48% found after treating whey at 72 degrees C for 60 min. Hydrolysis of commercial products with proteolytic enzymes resulted in a marked decrease of immunoreactivity within the first 5 min of treatment, which thereafter was constant throughout 4 h of hydrolysis. These results demonstrate that dairy by- products from milk fat processing are good natural sources of lactadherin, although technological processes have to be considered, because they have different effects on lactadherin content

    Liberal Typing for Functional Logic Programs

    Get PDF
    We propose a new type system for functional logic programming which is more liberal than the classical Damas-Milner usually adopted, but it is also restrictive enough to ensure type soundness. Starting from Damas-Milner typing of expressions we propose a new notion of well-typed program that adds support for type-indexed functions, existential types, opaque higher-order patterns and generic functions-as shown by an extensive collection of examples that illustrate the possibilities of our proposal. In the negative side, the types of functions must be declared, and therefore types are checked but not inferred. Another consequence is that parametricity is lost, although the impact of this flaw is limited as "free theorems" were already compromised in functional logic programming because of non-determinism

    Relating two semantic descriptions of functional logic programs

    Get PDF
    Abstract A distinctive feature of modern functional logic languages like Toy or Curry is the possibility of programming non-strict and non-deterministic functions with call-time choice semantics. For almost ten years the CRWL framewor

    Electron Bernstein waves emission in the TJ-II Stellarator

    Full text link
    Taking advantage of the electron Bernstein waves heating (EBWH) system of the TJ-II stellarator, an electron Bernstein emission (EBE) diagnostic was installed. Its purpose is to investigate the B-X-O radiation properties in the zone where optimum theoretical EBW coupling is predicted. An internal movable mirror shared by both systems allows us to collect the EBE radiation along the same line of sight that is used for EBW heating. The theoretical EBE has been calculated for different orientations of the internal mirror using the TRUBA code as ray tracer. A comparison with experimental data obtained in NBI discharges is carried out. The results provide a valuable information regarding the experimental O-X mode conversion window expected in the EBW heating experiments. Furthermore, the characterization of the radiation polarization shows evidence of the underlying B-X-O conversion process.Comment: 21 pages, 14 figure
    corecore