Hostname: page-component-74656f9884-kv2lp Total loading time: 0 Render date: 2026-11-06T08:16:16.165Z Has data issue: false hasContentIssue false

Efficient representation of piecewise linear functions into Łukasiewicz logic modulo satisfiability

Published online by Cambridge University Press:  17 May 2022

Sandro Preto*
Affiliation:
Institute of Mathematics and Statistics, University of São Paulo, São Paulo, Brazil
Marcelo Finger
Affiliation:
Institute of Mathematics and Statistics, University of São Paulo, São Paulo, Brazil
*
*Corresponding author. Email: spreto@ime.usp.br
Rights & Permissions [Opens in a new window]

Abstract

This work concerns the representation of a class of continuous functions into Logic, so that one may automatically reason about properties of these functions using logical tools. Rational McNaughton functions may be implicitly represented by logical formulas in Łukasiewicz Infinitely-valued Logic by constraining the set of allowed valuations; such a restriction contemplates only those valuations that satisfy specific formulas. This work investigates two approaches to such depiction, called representation modulo satisfiability. Furthermore, a polynomial-time algorithm that builds this representation is presented, producing a pair of formulas consisting of the representative formula and the constraining one, given as input a rational McNaughton function in a suitable encoding. An implementation of the algorithm is discussed.

Information

Type
Special Issue: LSFA’19 and LSFA’20
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Graphs of functions $f_\varphi$ and $f_{\langle{\varphi,\Phi}\rangle}$ and of set $D_{\langle{\varphi,\Phi}\rangle}$ in Example 2, for fixed $x_3=\frac{1}{2}$.

Figure 1

Figure 2. Graph of rational McNaughton function in Example 4.

Figure 2

Table 1. Regions $\Omega_i$ for function f in Example 4

Figure 3

Algorithm 1 ABOVE-MAX: decides if a linear piece is above another one over a region

Figure 4

Table 2. Representations as in (15) for functions $p_1^\#$, $p_2^\#$ and $p_3^\#$, where functions $p_1$, $p_2$, and $p_3$ are from Example 4

Figure 5

Algorithm 2 BINARY-F: computes formula $\xi_{n\psi}$ in (13) or $\mathbf{0}$ or $\psi$

Figure 6

Algorithm 3 BINARY-S: computes set $\Xi_{n\psi}$ in (14) or $\emptyset$

Figure 7

Algorithm 4 REPRESENT-TL: computing representations for truncated linear functions

Figure 8

Table 3. Representation as in (17) for function f from Example 4

Figure 9

Algorithm 5 REPRESENT: computing representations for rational McNaughton functions

Figure 10

Figure 3. Graph and region configuration of function $f_{CE}$ in Example 5.

Figure 11

Table 4. Regions $\Omega_i$ for function f in Example 5

Figure 12

Table 5. Number of tests by class of rational McNaughton functions

Figure 13

Figure 4. Representation builder performance, randomly gen. instances: $n=1$ to $n=50$.

Figure 14

Figure 5. Simple-region and cubic-region configurations in dimension $n=3$.

Figure 15

Figure 6. Representation builder performance running on simple-region piecewise linear functions, randomly gen. instances: $r=1$ to $r=20$.

Figure 16

Table 6. Representation builder performance running on cubic-region piecewise linear functions