119 research outputs found
Almost Every Simply Typed Lambda-Term Has a Long Beta-Reduction Sequence
It is well known that the length of a beta-reduction sequence of a simply
typed lambda-term of order k can be huge; it is as large as k-fold exponential
in the size of the lambda-term in the worst case. We consider the following
relevant question about quantitative properties, instead of the worst case: how
many simply typed lambda-terms have very long reduction sequences? We provide a
partial answer to this question, by showing that asymptotically almost every
simply typed lambda-term of order k has a reduction sequence as long as
(k-1)-fold exponential in the term size, under the assumption that the arity of
functions and the number of variables that may occur in every subterm are
bounded above by a constant. To prove it, we have extended the infinite monkey
theorem for strings to a parametrized one for regular tree languages, which may
be of independent interest. The work has been motivated by quantitative
analysis of the complexity of higher-order model checking
On Word and Frontier Languages of Unsafe Higher-Order Grammars
Higher-order grammars are an extension of regular and context-free grammars, where nonterminals may take parameters. They have been extensively studied in 1980\u27s, and restudied recently in the context of model checking and program verification. We show that the class of unsafe order-(n+1) word languages coincides with the class of frontier languages of unsafe order-n tree languages. We use intersection types for transforming an order-(n+1) word grammar to a corresponding order-n tree grammar. The result has been proved for safe languages by Damm in 1982, but it has been open for unsafe languages, to our knowledge. Various known results on higher-order grammars can be obtained as almost immediate corollaries of our result
Pumping Lemma for Higher-order Languages
We study a pumping lemma for the word/tree languages generated by higher-order grammars. Pumping lemmas are known up to order-2 word languages (i.e., for regular/context-free/indexed languages), and have been used to show that a given language does not belong to the classes of regular/context-free/indexed languages. We prove a pumping lemma for word/tree languages of arbitrary orders, modulo a conjecture that a higher-order version of Kruskal\u27s tree theorem holds. We also show that the conjecture indeed holds for the order-2 case, which yields a pumping lemma for order-2 tree languages and order-3 word languages
Lambda-Definable Order-3 Tree Functions are Well-Quasi-Ordered
Asada and Kobayashi [ICALP 2017] conjectured a higher-order version of Kruskal\u27s tree theorem, and proved a pumping lemma for higher-order languages modulo the conjecture. The conjecture has been proved up to order-2, which implies that Asada and Kobayashi\u27s pumping lemma holds for order-2 tree languages, but remains open for order-3 or higher. In this paper, we prove a variation of the conjecture for order-3. This is sufficient for proving that a variation of the pumping lemma holds for order-3 tree languages (equivalently, for order-4 word languages)
Size-Preserving Translations from Order-(n+1) Word Grammars to Order-n Tree Grammars
Higher-order grammars have recently been studied actively in the context of automated verification of higher-order programs. Asada and Kobayashi have previously shown that, for any order-(n+1) word grammar, there exists an order-n grammar whose frontier language coincides with the language generated by the word grammar. Their translation, however, blows up the size of the grammar, which inhibited complexity-preserving reductions from decision problems on word grammars to those on tree grammars. In this paper, we present a new translation from order-(n+1) word grammars to order-n tree grammars that is size-preserving in the sense that the size of the output tree grammar is polynomial in the size of an input tree grammar. The new translation and its correctness proof are arguably much simpler than the previous translation and proof
Compositional Probabilistic Model Checking with String Diagrams of MDPs
We present a compositional model checking algorithm for Markov decision
processes, in which they are composed in the categorical graphical language of
string diagrams. The algorithm computes optimal expected rewards. Our
theoretical development of the algorithm is supported by category theory, while
what we call decomposition equalities for expected rewards act as a key
enabler. Experimental evaluation demonstrates its performance advantages.Comment: 32 pages, Extended version of a paper in CAV 202
On Average-Case Hardness of Higher-Order Model Checking
We study a mixture between the average case and worst case complexities of higher-order model checking, the problem of deciding whether the tree generated by a given ? Y-term (or equivalently, a higher-order recursion scheme) satisfies the property expressed by a given tree automaton. Higher-order model checking has recently been studied extensively in the context of higher-order program verification. Although the worst-case complexity of the problem is k-EXPTIME complete for order-k terms, various higher-order model checkers have been developed that run efficiently for typical inputs, and program verification tools have been constructed on top of them. One may, therefore, hope that higher-order model checking can be solved efficiently in the average case, despite the worst-case complexity. We provide a negative result, by showing that, under certain assumptions, for almost every term, the higher-order model checking problem specialized for the term is k-EXPTIME hard with respect to the size of automata. The proof is based on a novel intersection type system that characterizes terms that do not contain any useless subterms
Supranormal orientation selectivity of visual neurons in orientation-restricted animals
Altered sensory experience in early life often leads to remarkable adaptations so that humans and animals can make the best use of the available information in a particular environment. By restricting visual input to a limited range of orientations in young animals, this investigation shows that stimulus selectivity, e.g., the sharpness of tuning of single neurons in the primary visual cortex, is modified to match a particular environment. Specifically, neurons tuned to an experienced orientation in orientation-restricted animals show sharper orientation tuning than neurons in normal animals, whereas the opposite was true for neurons tuned to non-experienced orientations. This sharpened tuning appears to be due to elongated receptive fields. Our results demonstrate that restricted sensory experiences can sculpt the supranormal functions of single neurons tailored for a particular environment. The above findings, in addition to the minimal population response to orientations close to the experienced one, agree with the predictions of a sparse coding hypothesis in which information is represented efficiently by a small number of activated neurons. This suggests that early brain areas adopt an efficient strategy for coding information even when animals are raised in a severely limited visual environment where sensory inputs have an unnatural statistical structure
Coincidence analysis to search for inspiraling compact binaries using TAMA300 and LISM data
Japanese laser interferometric gravitational wave detectors, TAMA300 and
LISM, performed a coincident observation during 2001. We perform a coincidence
analysis to search for inspiraling compact binaries. The length of data used
for the coincidence analysis is 275 hours when both TAMA300 and LISM detectors
are operated simultaneously. TAMA300 and LISM data are analyzed by matched
filtering, and candidates for gravitational wave events are obtained. If there
is a true gravitational wave signal, it should appear in both data of detectors
with consistent waveforms characterized by masses of stars, amplitude of the
signal, the coalescence time and so on. We introduce a set of coincidence
conditions of the parameters, and search for coincident events. This procedure
reduces the number of fake events considerably, by a factor
compared with the number of fake events in single detector analysis. We find
that the number of events after imposing the coincidence conditions is
consistent with the number of accidental coincidences produced purely by noise.
We thus find no evidence of gravitational wave signals. We obtain an upper
limit of 0.046 /hours (CL ) to the Galactic event rate within 1kpc from
the Earth. The method used in this paper can be applied straightforwardly to
the case of coincidence observations with more than two detectors with
arbitrary arm directions.Comment: 28 pages, 17 figures, Replaced with the version to be published in
Physical Review
- …