Abstract In this paper, the theory of McCarthy’s extensional arrays enriched with a maxdiff operation (this operation returns the biggest index where two given arrays differ) is proposed. It is known from the literature that a diff operation is required for the theory of arrays in order to enjoy the Craig interpolation property at the quantifier-free level. However, the diff operation introduced in the literature is merely instrumental to this purpose and has only a purely formal meaning (it is obtained from the Skolemization of the extensionality axiom). Our maxdiff operation significantly increases the level of expressivity; however, obtaining interpolation results for the resulting theory becomes a surprisingly hard task. We obtain such results via a thorough semantic analysis of the models of the theory and of their amalgamation properties. The results are modular with respect to the index theory and it is shown how to convert them into concrete interpolation algorithms via a hierarchical approach.
more »
« less
Interpolation Results for Arrays with Length and MaxDiff
In this article, we enrich McCarthy’s theory of extensional arrays with a length and a maxdiff operation. As is well-known, some diff operation (i.e., some kind of difference function showing where two unequal arrays differ) is needed to keep interpolants quantifier free in array theories. Our maxdiff operation returns the max index where two arrays differ; thus, it has a univocally determined semantics. The length function is a natural complement of such a maxdiff operation and is needed to handle real arrays. Obtaining interpolation results for such a rich theory is a surprisingly hard task. We get such results via a thorough semantic analysis of the models of the theory and of their amalgamation and strong amalgamation properties. The results are modular with respect to the index theory; we show how to convert them into concrete interpolation algorithms via a hierarchical approach realizing a polynomial reduction to interpolation in linear arithmetics endowed with free function symbols.
more »
« less
- Award ID(s):
- 1908804
- PAR ID:
- 10525252
- Publisher / Repository:
- Transactions on Computation Logic
- Date Published:
- Journal Name:
- ACM Transactions on Computational Logic
- Volume:
- 24
- Issue:
- 4
- ISSN:
- 1529-3785
- Page Range / eLocation ID:
- 1 to 33
- Format(s):
- Medium: X
- Sponsoring Org:
- National Science Foundation
More Like this
-
-
Several approaches toward quantifier-free interpolation algorithms of theories involving arrays have been proposed by extending the language using a binary function skolemizing the extensionality principle. In FoSSaCS 2021, the last three authors studied the enrichment of the McCarthy’s theory of extensional arrays with a maxdiff operation. This paper discusses the implementation of the interpolation algorithm proposed in FoSSaCS 2021 using the Z3 API. The implementation allows the user to choose iZ3, Mathsat, or SMTInterpol as interpolation engines. The tool returns a formula in SMTLIB2 format, which allows compatibility with model checkers and invariant generators using such a format. We compare our algorithm with state-of-the-art interpolation engines. Our experiments using unsatisfiable formulæ extracted with the model checker UAutomizer show the feasibility of our tool. For that purpose, we used C programs from the ReachSafety-Arrays and MemSafety-Arrays tracks of SV-COMP.more » « less
-
Deharbe, David; Hyvarinen, Antti E. (Ed.)CDSAT (Conflict-Driven Satisfiability) is a paradigm for theory combination that works by coordinating theory modules to reason in the union of the theories in a conflict-driven manner. We generalize CDSAT to the case of nondisjoint theories by presenting a new CDSAT theory module for a theory of arrays with abstract length, which is an abstraction of the theory of arrays with length. The length function is a bridging function as it forces theories to share symbols, but the proposed abstraction limits the sharing to one predicate symbol. The CDSAT framework handles shared predicates with minimal changes, and the new module satisfies the CDSAT requirements, so that completeness is preserved.more » « less
-
Abstract Silicon photonic index sensors have received significant attention for label-free bio and gas-sensing applications, offering cost-effective and scalable solutions. Here, we introduce an ultra-compact silicon photonic refractive index sensor that leverages zero-crosstalk singularity responses enabled by subwavelength gratings. The subwavelength gratings are precisely engineered to achieve an anisotropic perturbation-led zero-crosstalk, resulting in a single transmission dip singularity in the spectrum that is independent of device length. The sensor is optimized for the transverse magnetic mode operation, where the subwavelength gratings are arranged perpendicular to the propagation direction to support a leaky-like mode and maximize the evanescent field interaction with the analyte space. Experimental results demonstrate a high wavelength sensitivity of − 410 nm/RIU and an intensity sensitivity of 395 dB/RIU, with a compact device footprint of approximately 82.8 μm2. Distinct from other resonant and interferometric sensors, our approach provides an FSR-free single-dip spectral response on a small device footprint, overcoming common challenges faced by traditional sensors, such as signal/phase ambiguity, sensitivity fading, limited detection range, and the necessity for large device footprints. This makes our sensor ideal for simplified intensity interrogation. The proposed sensor holds promise for a range of on-chip refractive index sensing applications, from gas to biochemical detection, representing a significant step towards efficient and miniaturized photonic sensing solutions. Graphical Abstractmore » « less
-
This paper focuses on the mutual information and minimum mean-squared error (MMSE) as a function a matrix- valued signal-to-noise ratio (SNR) for a linear Gaussian channel with arbitrary input distribution. As shown by Lamarca, the mutual-information is a concave function of a positive semi- definite matrix, which we call the matrix SNR. This implies that the mapping from the matrix SNR to the MMSE matrix is decreasing monotone. Building upon these functional properties, we start to construct a unifying framework that provides a bridge between classical information-theoretic inequalities, such as the entropy power inequality, and interpolation techniques used in statistical physics and random matrix theory. This framework provides new insight into the structure of phase transitions in coding theory and compressed sensing. In particular, it is shown that the parallel combination of linear channels with freely-independent matrices can be characterized succinctly via free convolution.more » « less
An official website of the United States government

