DeepAI AI Chat
Log In Sign Up

Differentiable Set Operations for Algebraic Expressions

by   Jasdeep Singh Grover, et al.

Basic principles of set theory have been applied in the context of probability and binary computation. Applying the same principles on inequalities is less common but can be extremely beneficial in a variety of fields. This paper formulates a novel approach to directly apply set operations on inequalities to produce resultant inequalities with differentiable boundaries. The suggested approach uses inequalities of the form Ei: fi(x1,x2,..,xn) and an expression of set operations in terms of Ei like, (E1 and E2) or E3, or can be in any standard form like the Conjunctive Normal Form (CNF) to produce an inequality F(x1,x2,..,xn)<=1 which represents the resulting bounded region from the expressions and has a differentiable boundary. To ensure differentiability of the solution, a trade-off between representation accuracy and curvature at borders (especially corners) is made. A set of parameters is introduced which can be fine-tuned to improve the accuracy of this approach. The various applications of the suggested approach have also been discussed which range from computer graphics to modern machine learning systems to fascinating demonstrations for educational purposes (current use). A python script to parse such expressions is also provided.


page 2

page 4

page 6

page 7

page 8


How to Find New Characteristic-Dependent Linear Rank Inequalities using Binary Matrices as a Guide

In Linear Algebra over finite fields, a characteristic-dependent linear ...

Rearrangement and Prekopa-Leindler type inequalities

We investigate the interactions of functional rearrangements with Prekop...

Jensen's and Cantelli's Inequalities with Imprecise Previsions

We investigate how basic probability inequalities can be extended to an ...

Inequalities for entropies and dimensions

We show that linear inequalities for entropies have a natural geometric ...

A closed-form expression for the variance of truncated distribution and its uses

This work sheds some light on the relationship between a distribution's ...

Inequalities and Approximations for Fisher Information in the Presence of Nuisance Parameters

Many imaging systems are used to estimate a vector of parameters associa...

Novel Bernstein-like Concentration Inequalities for the Missing Mass

We are concerned with obtaining novel concentration inequalities for the...