Open Non-uniform Cylindrical Algebraic Decomposition Christopher W. - - PowerPoint PPT Presentation

open non uniform cylindrical algebraic decomposition
SMART_READER_LITE
LIVE PREVIEW

Open Non-uniform Cylindrical Algebraic Decomposition Christopher W. - - PowerPoint PPT Presentation

Open Non-uniform Cylindrical Algebraic Decomposition Christopher W. Brown Department of Computer Science U. S. Naval Academy ISSAC 2015 C. W. Brown (USNA) Open Non-uniform CAD ISSAC 2015 1 / 16 Context C. W. Brown (USNA) Open Non-uniform


slide-1
SLIDE 1

Open Non-uniform Cylindrical Algebraic Decomposition

Christopher W. Brown

Department of Computer Science

  • U. S. Naval Academy

ISSAC 2015

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 1 / 16

slide-2
SLIDE 2

Context

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 2 / 16

slide-3
SLIDE 3

Context

Tarski formula ↔ semi-algebraic set x2

1 +x2 2 −1 < 0∧

  x2 + x1 > 0 ∨ x2 − x1 < 0   ↔

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 2 / 16

slide-4
SLIDE 4

Context

Tarski formula ↔ semi-algebraic set x2

1 +x2 2 −1 < 0∧

  x2 + x1 > 0 ∨ x2 − x1 < 0   ↔ Tarski formulas provide an implicit representation of semi-alg. sets

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 2 / 16

slide-5
SLIDE 5

Context

Tarski formula ↔ semi-algebraic set x2

1 +x2 2 −1 < 0∧

  x2 + x1 > 0 ∨ x2 − x1 < 0   ↔ Tarski formulas provide an implicit representation of semi-alg. sets 75x + 15y2 + 16z − 18 > 0 ∧ −39x − 78yx − 91z − 70 > 0 ∧ −86x − 44y2 + 14z − 15 > 0 ∧ −27xz + 22y − z − 74 > 0 ∧ 55x + 87yz + 45z + 6 > 0 ∧ 2x2 + 4y − 13z + 34 > 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 2 / 16

slide-6
SLIDE 6

Context

Tarski formula ↔ semi-algebraic set x2

1 +x2 2 −1 < 0∧

  x2 + x1 > 0 ∨ x2 − x1 < 0   ↔ Tarski formulas provide an implicit representation of semi-alg. sets CAD provides an explicit representation of semi-algebraic sets

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 2 / 16

slide-7
SLIDE 7

This paper’s contributions

1

introduces Open Non-uniform CAD,

2

provides an algorithm for constructing Open NuCADs from Tarski formulas, and

3

reports results of experiments with an initial implementaton.

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 3 / 16

slide-8
SLIDE 8

Outline

1

Open CAD,

2

Open Non-uniform CAD, and

3

Experimental results.

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 4 / 16

slide-9
SLIDE 9

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-10
SLIDE 10

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-11
SLIDE 11

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-12
SLIDE 12

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-13
SLIDE 13

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-14
SLIDE 14

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-15
SLIDE 15

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-16
SLIDE 16

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-17
SLIDE 17

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-18
SLIDE 18

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-19
SLIDE 19

Open CAD: open cylindrical algebraic cell

An open cylindrical algebraic cell generalizes a box aligned with axes Explicit representation: sample point + upper & lower bound functions

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 5 / 16

slide-20
SLIDE 20

Open CAD: a definition

Definition: An Open CAD is a (weak) decomposition of Rn into open cylindrical algebraic cells whose arrangement is uniformly cylindrical, meaning that for any two cells c1, c2, the projections πj(c1), πj(c2) onto Rj are either identical or disjoint.

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 6 / 16

slide-21
SLIDE 21

Open CAD: projection

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 7 / 16

slide-22
SLIDE 22

Open CAD: projection

Idea 1: A set A of polynomials in x1, . . . , xn (weakly) decomposes Rn in a natural way — into connected regions in which ∀p ∈ A, p = 0 A = {x2

1 + x2 2 − 1, x1 + x2}

− →

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 7 / 16

slide-23
SLIDE 23

Open CAD: projection

Idea 1: A set A of polynomials in x1, . . . , xn (weakly) decomposes Rn in a natural way — into connected regions in which ∀p ∈ A, p = 0 A = {x2

1 + x2 2 − 1, x1 + x2}

− → Idea 2: With the right set P of “lower level” polynomials, the natural decomposition defined by P ∪ A is an Open CAD. {x1 + 1, x1 − 1, 2x2

1 − 1}

  • P

∪A − →

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 7 / 16

slide-24
SLIDE 24

Open CAD: an algorithm

Input: F, a Tarski formula in variables x1 . . . , xn Output: D, an Open CAD of Rn representing the set defined by F Step 1: A ← polynomials in F Step 2: P ← projection of A Step 3: D ← a list of the open cylindrical cells data structures that explicitly define the CAD given by the natural decomposition of P ∪ A

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 8 / 16

slide-25
SLIDE 25

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-26
SLIDE 26

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-27
SLIDE 27

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-28
SLIDE 28

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-29
SLIDE 29

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-30
SLIDE 30

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-31
SLIDE 31

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-32
SLIDE 32

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-33
SLIDE 33

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-34
SLIDE 34

Example — constructing an open CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 9 / 16

slide-35
SLIDE 35

Open NuCAD: a definition

Definition: An Open Non-uniform CAD is a (weak) decomposition of Rn into open cylindrical cells.

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 10 / 16

slide-36
SLIDE 36

Open NuCAD: merge

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 11 / 16

slide-37
SLIDE 37

Open NuCAD: merge

Jovanovic & de Moura 2012 given point α and formula F, construct cell containing α in which F has constant truth value.

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 11 / 16

slide-38
SLIDE 38

Open NuCAD: merge

Jovanovic & de Moura 2012 given point α and formula F, construct cell containing α in which F has constant truth value. ISSAC 2013 merge: given point α, cell c containing α, and polynomial p, construct cell c′ ⊆ c containing α such that p has constant non-zero sign in c′.

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 11 / 16

slide-39
SLIDE 39

Open NuCAD: merge

Jovanovic & de Moura 2012 given point α and formula F, construct cell containing α in which F has constant truth value. ISSAC 2013 merge: given point α, cell c containing α, and polynomial p, construct cell c′ ⊆ c containing α such that p has constant non-zero sign in c′. Example: merge x2 + y2 − 1

α

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 11 / 16

slide-40
SLIDE 40

Open NuCAD: merge

Jovanovic & de Moura 2012 given point α and formula F, construct cell containing α in which F has constant truth value. ISSAC 2013 merge: given point α, cell c containing α, and polynomial p, construct cell c′ ⊆ c containing α such that p has constant non-zero sign in c′. Example: merge x2 + y2 − 1

α α

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 11 / 16

slide-41
SLIDE 41

Open NuCAD: merge

Jovanovic & de Moura 2012 given point α and formula F, construct cell containing α in which F has constant truth value. ISSAC 2013 merge: given point α, cell c containing α, and polynomial p, construct cell c′ ⊆ c containing α such that p has constant non-zero sign in c′. Example: merge x2 + y2 − 1

α α α

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 11 / 16

slide-42
SLIDE 42

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-43
SLIDE 43

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-44
SLIDE 44

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-45
SLIDE 45

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-46
SLIDE 46

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-47
SLIDE 47

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-48
SLIDE 48

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-49
SLIDE 49

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-50
SLIDE 50

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-51
SLIDE 51

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-52
SLIDE 52

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-53
SLIDE 53

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-54
SLIDE 54

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-55
SLIDE 55

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-56
SLIDE 56

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-57
SLIDE 57

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-58
SLIDE 58

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-59
SLIDE 59

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-60
SLIDE 60

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-61
SLIDE 61

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-62
SLIDE 62

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-63
SLIDE 63

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-64
SLIDE 64

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-65
SLIDE 65

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-66
SLIDE 66

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-67
SLIDE 67

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-68
SLIDE 68

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-69
SLIDE 69

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-70
SLIDE 70

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-71
SLIDE 71

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-72
SLIDE 72

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-73
SLIDE 73

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-74
SLIDE 74

Example — constructing an open Non-uniform CAD

y < 0∧y + 1

2 > 0∧y2−(x + 1 2)(x − 1 2)2 > 0∧ 1 6(x − 1 2)2+(y + 1 2)2− 1 4 < 0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 12 / 16

slide-75
SLIDE 75

Open NuCAD: an algorithm

Input: F, a Tarski formula in variables x1 . . . , xn Output: D, an Open NuCAD of Rn representing the set defined by F Step 0: Q an empty queue Step 1: enqueue cell Rn with sample point 0 Step 2: while Q not empty do

1

dequeue cell c with sample point α from Q

2

evaluate F at α, and choose subset S of polynomials in F whose sign conditions at α suffice to determine the T/F value of F

3

c′ = merge(c, α, S) (add c′ to the output D)

4

enqueue cells comprising c − c′

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 13 / 16

slide-76
SLIDE 76

Experimental Results: linear input

compare the number of cells in Open CAD vs. Open NuCAD conjunctions of positivity conditions on k random dense linear polynomials in x1, . . . , xn average over 25 instances Linear Set of Experiments 4 polys 5 polys 6 polys 2 vars 5.6 35.0 6.9 64.0 5.6 104.6 3 vars 21.9 271.5 24.0 1716.0 38.7 7392.0 4 vars 41.0 525.2 233.1 249149.0 582.2 ≈ 8500000.0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 14 / 16

slide-77
SLIDE 77

Experimental Results: non-linear input

compare the number of cells in Open CAD vs. Open NuCAD conjunctions of positivity conditions on k random dense barely non-linear polynomials in x1, . . . , xn average over 25 instances Non-linear Set of Experiments vars 4 polys 5 polys 6 polys 2 9.6 59.5 10.9 111.8 11.5 185.0 3 128.4 2079.7 163.1 8535.3 176.6 30736.0 4 4147.1 446927.8 8403.4 > 8000000.0 19466.8 > 25000000.0

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 15 / 16

slide-78
SLIDE 78

The Future

full implementation (beyond conjunctions) extend to construct full decompositions theoretical analysis quantifier elimination by NuCAD explore optimizations

  • C. W. Brown (USNA)

Open Non-uniform CAD ISSAC 2015 16 / 16