Invariance of Conjunctions of Polynomial Equalities for Algebraic - - PowerPoint PPT Presentation

invariance of conjunctions of polynomial equalities for
SMART_READER_LITE
LIVE PREVIEW

Invariance of Conjunctions of Polynomial Equalities for Algebraic - - PowerPoint PPT Presentation

Invariance of Conjunctions of Polynomial Equalities for Algebraic Differential Equations Khalil Ghorbal 1 Andrew Sogokon 2 e Platzer 1 Andr 1. Carnegie Mellon University 2. University of Edinburgh SAS, Munich, Germany September 11th, 2014


slide-1
SLIDE 1

Invariance of Conjunctions of Polynomial Equalities for Algebraic Differential Equations

Khalil Ghorbal1 Andrew Sogokon2 Andr´ e Platzer1

  • 1. Carnegie Mellon University
  • 2. University of Edinburgh

SAS, Munich, Germany September 11th, 2014

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 1 / 24

slide-2
SLIDE 2

Introduction

Problem: Checking the Invariance of Algebraic Sets

Ordinary Differential Equation

  ˙ x ˙ y ˙ z   =   yz −xz −xy   = f Algebraic Sets S = {(x, y, z) | 3x2 + 3y2 − 2x2y2 + 3z2 − 2x2z2 − 2y2z2

  • p(x,y,z)

= 0}

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 2 / 24

slide-3
SLIDE 3

Introduction

Motivations

  • Theorem Proving with Hybrid Systems
  • Stability and Safety Analysis of Dynamical Systems
  • Qualitative Analysis of Differential Equations
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 3 / 24

slide-4
SLIDE 4

Introduction

Related and Previous Work

  • Invariance of algebraic sets is decidable
  • 2 procedures are available:

Liu et al. [Liu Zhan Zhao 2011] Differential Radical Characterization [TACAS’14]

In this talk We build on top of our previous work [TACAS’14]:

  • New efficient procedure for algebraic sets
  • New proof strategies exploiting differential cuts
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 4 / 24

slide-5
SLIDE 5

Introduction

Related and Previous Work

  • Invariance of algebraic sets is decidable
  • 2 procedures are available:

Liu et al. [Liu Zhan Zhao 2011] Differential Radical Characterization [TACAS’14]

In this talk We build on top of our previous work [TACAS’14]:

  • New efficient procedure for algebraic sets
  • New proof strategies exploiting differential cuts
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 4 / 24

slide-6
SLIDE 6

Introduction

Abstracting Orbits Using Algebraic Sets

Concrete Domain The trajectory of the solution of an Initial Value Problem (˙ x = f, x0). Abstract Domain Algebraic Sets.

1.0 0.5 0.0 0.5 1.0 1.0 0.5 0.0 0.5 1.0 x 1 x 2

Problem: Checking soundness Checking the soundness of the abstraction: does a given algebraic set

  • verapproximate the trajectory of the solution ?
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 5 / 24

slide-7
SLIDE 7

Efficient Procedure for Algebraic Sets

Outline

1

Introduction

2

Efficient Procedure for Algebraic Sets

3

Alternative Lightweight Approach

4

Conclusion

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 5 / 24

slide-8
SLIDE 8

Efficient Procedure for Algebraic Sets

Notation for“ p = 0 is invariant for f ”

(p = 0) → [˙ x = f](p = 0) ≡ Zero set of p is an invariant algebraic set for f ≡ Starting with x0 s.t p(x0) = 0: for all t > 0, x(t) solution of the IVP (˙ x = f, x(0) = x0) is a zero of p

N.B. Treating ˙ x = f as a program, one can think of the top formula as representing the Hoare triple {p = 0} ˙ x = f {p = 0}.

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 6 / 24

slide-9
SLIDE 9

Efficient Procedure for Algebraic Sets

Notation for“ p = 0 is invariant for f ”

(p = 0) → [˙ x = f](p = 0) ≡ Zero set of p is an invariant algebraic set for f ≡ Starting with x0 s.t p(x0) = 0: for all t > 0, x(t) solution of the IVP (˙ x = f, x(0) = x0) is a zero of p

N.B. Treating ˙ x = f as a program, one can think of the top formula as representing the Hoare triple {p = 0} ˙ x = f {p = 0}.

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 6 / 24

slide-10
SLIDE 10

Efficient Procedure for Algebraic Sets

Notation for“ p = 0 is invariant for f ”

(p = 0) → [˙ x = f](p = 0) ≡ Zero set of p is an invariant algebraic set for f ≡ Starting with x0 s.t p(x0) = 0: for all t > 0, x(t) solution of the IVP (˙ x = f, x(0) = x0) is a zero of p

N.B. Treating ˙ x = f as a program, one can think of the top formula as representing the Hoare triple {p = 0} ˙ x = f {p = 0}.

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 6 / 24

slide-11
SLIDE 11

Efficient Procedure for Algebraic Sets

Some Useful Definitions

Lie Derivative along a vector field ˙ x = f D(p) def =

n

  • i=1

∂p ∂xi ˙ xi =

n

  • i=1

∂p ∂xi fi = dp(x(t)) dt Higher-order Lie derivatives: D(k+1)(p) = D(D(k)(p)) Ideal Membership ∃λi ∈ R[x] : p = λ1q1 + · · · + λrqr ↔ p ∈ q1, . . . , qr Ideal membership can be checked effectively using Gr¨

  • bner bases.
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 7 / 24

slide-12
SLIDE 12

Efficient Procedure for Algebraic Sets

Differential Radical Characterization

[TACAS’14]

D(Np)(p) ∈ p, . . . , D(Np−1)(p) ∧ p = 0 → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ p = 0 → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ p = 0 → D(p) = 0 D(p) ∈ p (∃λ ∈ R[x] : D(p) = λp) (p = 0) → [˙ x = f](p = 0)

  • order Np is finite: unknown a priori and computed on the fly
  • < Np ideal membership problems: D(i+1)(p) ∈ p, . . . , D(i)(p)
  • < Np − 1 quantifier elimination problems: p = 0 → D(i)(p) = 0
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 8 / 24

slide-13
SLIDE 13

Efficient Procedure for Algebraic Sets

Differential Radical Characterization

[TACAS’14]

D(Np)(p) ∈ p, . . . , D(Np−1)(p) ∧ p = 0 → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ p = 0 → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ p = 0 → D(p) = 0 ✗D(p) ∈ p (∃λ ∈ R[x] : D(p) = λp) (p = 0) → [˙ x = f](p = 0)

  • order Np is finite: unknown a priori and computed on the fly
  • < Np ideal membership problems: D(i+1)(p) ∈ p, . . . , D(i)(p)
  • < Np − 1 quantifier elimination problems: p = 0 → D(i)(p) = 0
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 8 / 24

slide-14
SLIDE 14

Efficient Procedure for Algebraic Sets

Differential Radical Characterization

[TACAS’14]

D(Np)(p) ∈ p, . . . , D(Np−1)(p) ∧ p = 0 → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ p = 0 → D(2)(p) = 0 ✗D(2)(p) ∈ p, D(p) ∧ p = 0 → D(p) = 0✓ ✗D(p) ∈ p (∃λ ∈ R[x] : D(p) = λp) (p = 0) → [˙ x = f](p = 0)

  • order Np is finite: unknown a priori and computed on the fly
  • < Np ideal membership problems: D(i+1)(p) ∈ p, . . . , D(i)(p)
  • < Np − 1 quantifier elimination problems: p = 0 → D(i)(p) = 0
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 8 / 24

slide-15
SLIDE 15

Efficient Procedure for Algebraic Sets

Differential Radical Characterization

[TACAS’14]

✓D(Np)(p) ∈ p, . . . , D(Np−1)(p) ∧ p = 0 → D(Np−1)(p) = 0✓ . . . ✗D(3)(p) ∈ p, D(p), D(2)(p) ∧ p = 0 → D(2)(p) = 0✓ ✗D(2)(p) ∈ p, D(p) ∧ p = 0 → D(p) = 0✓ ✗D(p) ∈ p (∃λ ∈ R[x] : D(p) = λp) (p = 0) → [˙ x = f](p = 0)

  • order Np is finite: unknown a priori and computed on the fly
  • < Np ideal membership problems: D(i+1)(p) ∈ p, . . . , D(i)(p)
  • < Np − 1 quantifier elimination problems: p = 0 → D(i)(p) = 0
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 8 / 24

slide-16
SLIDE 16

Efficient Procedure for Algebraic Sets

Differential Radical Characterization

[TACAS’14]

✓D(Np)(p) ∈ p, . . . , D(Np−1)(p) ∧ p = 0 → D(Np−1)(p) = 0✓ . . . ✗D(3)(p) ∈ p, D(p), D(2)(p) ∧ p = 0 → D(2)(p) = 0✓ ✗D(2)(p) ∈ p, D(p) ∧ p = 0 → D(p) = 0✓ ✗D(p) ∈ p (∃λ ∈ R[x] : D(p) = λp) (p = 0) → [˙ x = f](p = 0)

  • order Np is finite: unknown a priori and computed on the fly
  • < Np ideal membership problems: D(i+1)(p) ∈ p, . . . , D(i)(p)
  • < Np − 1 quantifier elimination problems: p = 0 → D(i)(p) = 0
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 8 / 24

slide-17
SLIDE 17

Efficient Procedure for Algebraic Sets

Differential Radical Characterization

[TACAS’14]

✓D(Np)(p) ∈ p, . . . , D(Np−1)(p) ∧ p = 0 → D(Np−1)(p) = 0✓ . . . ✗D(3)(p) ∈ p, D(p), D(2)(p) ∧ p = 0 → D(2)(p) = 0✓ ✗D(2)(p) ∈ p, D(p) ∧ p = 0 → D(p) = 0✓ ✗D(p) ∈ p (∃λ ∈ R[x] : D(p) = λp) (p = 0) → [˙ x = f](p = 0)

  • order Np is finite: unknown a priori and computed on the fly
  • < Np ideal membership problems: D(i+1)(p) ∈ p, . . . , D(i)(p)
  • < Np − 1 quantifier elimination problems: p = 0 → D(i)(p) = 0
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 8 / 24

slide-18
SLIDE 18

Efficient Procedure for Algebraic Sets

Differential Radical Characterization

[TACAS’14]

✓D(Np)(p) ∈ p, . . . , D(Np−1)(p) ∧ p = 0 → D(Np−1)(p) = 0✓ . . . ✗D(3)(p) ∈ p, D(p), D(2)(p) ∧ p = 0 → D(2)(p) = 0✓ ✗D(2)(p) ∈ p, D(p) ∧ p = 0 → D(p) = 0✓ ✗D(p) ∈ p (∃λ ∈ R[x] : D(p) = λp) (p = 0) → [˙ x = f](p = 0)

  • order Np is finite: unknown a priori and computed on the fly
  • < Np ideal membership problems: D(i+1)(p) ∈ p, . . . , D(i)(p)
  • < Np − 1 quantifier elimination problems: p = 0 → D(i)(p) = 0
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 8 / 24

slide-19
SLIDE 19

Efficient Procedure for Algebraic Sets

Na¨ ıve Approach: DRI + Sum of Squares

p = 0 ∧ q = 0 ≡R p2 + q2 = 0 (SoSDRI) (p2 + q2 = 0) → [˙ x = f](p2 + q2 = 0) (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0) ⊕ Decides all algebraic invariants ⊖ Increases the total polynomial degree bad complexity

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 9 / 24

slide-20
SLIDE 20

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-21
SLIDE 21

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-22
SLIDE 22

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-23
SLIDE 23

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-24
SLIDE 24

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-25
SLIDE 25

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-26
SLIDE 26

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-27
SLIDE 27

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-28
SLIDE 28

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-29
SLIDE 29

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-30
SLIDE 30

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-31
SLIDE 31

Efficient Procedure for Algebraic Sets

Liu et al. EMSOTF’11

D(Nq)(q) ∈ q, . . . , DNq−1(q) ∧ (p = 0 ∧ q = 0) → D(Nq−1)(q) = 0 . . . D(3)(q) ∈ q, D(q), D(2)(q) ∧ (p = 0 ∧ q = 0) → D(2)(q) = 0 D(2)(q) ∈ q, D(q) ∧ (p = 0 ∧ q = 0) → D(q) = 0 D(q) ∈ q ∧ D(Np)(p) ∈ p, . . . , DNp−1(p) ∧ (p = 0 ∧ q = 0) → D(Np−1)(p) = 0 . . . D(3)(p) ∈ p, D(p), D(2)(p) ∧ (p = 0 ∧ q = 0) → D(2)(p) = 0 D(2)(p) ∈ p, D(p) ∧ (p = 0 ∧ q = 0) → D(p) = 0 D(p) ∈ p (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Two different orders Np and Nq
  • < Np + Nq ideal membership problems
  • < Np − 1 + Nq − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 10 / 24

slide-32
SLIDE 32

Efficient Procedure for Algebraic Sets

Conjunctive Differential Radical Characterization

Theorem 2, Algorithm 1, paper

D(Np,q)(p), D(Np,q)(q) ∈ p, q, . . . , D(Np,q−1)(p), D(Np,q−1)(q) ∧ (p = 0 ∧ q = 0) → D(Np,q−1)(p) = 0 ∧ D(Np,q−1)(q) = 0 . . . D(2)(p), D(2)(q) ∈ p, q, D(p), D(q) ∧ (p = 0 ∧ q = 0) → D(p) = 0 ∧ D(q) = 0 D(p), D(q) ∈ p, q (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Np,q is a unique order for the entire conjunction, shared between p and q
  • Np,q ideal membership problems
  • min(Np, Np,q) − 1 + min(Nq, Np,q) − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 11 / 24

slide-33
SLIDE 33

Efficient Procedure for Algebraic Sets

Conjunctive Differential Radical Characterization

Theorem 2, Algorithm 1, paper

D(Np,q)(p), D(Np,q)(q) ∈ p, q, . . . , D(Np,q−1)(p), D(Np,q−1)(q) ∧ (p = 0 ∧ q = 0) → D(Np,q−1)(p) = 0 ∧ D(Np,q−1)(q) = 0 . . . D(2)(p), D(2)(q) ∈ p, q, D(p), D(q) ∧ (p = 0 ∧ q = 0) → D(p) = 0 ∧ D(q) = 0 D(p), D(q) ∈ p, q (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Np,q is a unique order for the entire conjunction, shared between p and q
  • Np,q ideal membership problems
  • min(Np, Np,q) − 1 + min(Nq, Np,q) − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 11 / 24

slide-34
SLIDE 34

Efficient Procedure for Algebraic Sets

Conjunctive Differential Radical Characterization

Theorem 2, Algorithm 1, paper

D(Np,q)(p), D(Np,q)(q) ∈ p, q, . . . , D(Np,q−1)(p), D(Np,q−1)(q) ∧ (p = 0 ∧ q = 0) → D(Np,q−1)(p) = 0 ∧ D(Np,q−1)(q) = 0 . . . D(2)(p), D(2)(q) ∈ p, q, D(p), D(q) ∧ (p = 0 ∧ q = 0) → D(p) = 0 ∧ D(q) = 0 D(p), D(q) ∈ p, q (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Np,q is a unique order for the entire conjunction, shared between p and q
  • Np,q ideal membership problems
  • min(Np, Np,q) − 1 + min(Nq, Np,q) − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 11 / 24

slide-35
SLIDE 35

Efficient Procedure for Algebraic Sets

Conjunctive Differential Radical Characterization

Theorem 2, Algorithm 1, paper

D(Np,q)(p), D(Np,q)(q) ∈ p, q, . . . , D(Np,q−1)(p), D(Np,q−1)(q) ∧ (p = 0 ∧ q = 0) → D(Np,q−1)(p) = 0 ∧ D(Np,q−1)(q) = 0 . . . D(2)(p), D(2)(q) ∈ p, q, D(p), D(q) ∧ (p = 0 ∧ q = 0) → D(p) = 0 ∧ D(q) = 0 D(p), D(q) ∈ p, q (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Np,q is a unique order for the entire conjunction, shared between p and q
  • Np,q ideal membership problems
  • min(Np, Np,q) − 1 + min(Nq, Np,q) − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 11 / 24

slide-36
SLIDE 36

Efficient Procedure for Algebraic Sets

Conjunctive Differential Radical Characterization

Theorem 2, Algorithm 1, paper

D(Np,q)(p), D(Np,q)(q) ∈ p, q, . . . , D(Np,q−1)(p), D(Np,q−1)(q) ∧ (p = 0 ∧ q = 0) → D(Np,q−1)(p) = 0 ∧ D(Np,q−1)(q) = 0 . . . D(2)(p), D(2)(q) ∈ p, q, D(p), D(q) ∧ (p = 0 ∧ q = 0) → D(p) = 0 ∧ D(q) = 0 D(p), D(q) ∈ p, q (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Np,q is a unique order for the entire conjunction, shared between p and q
  • Np,q ideal membership problems
  • min(Np, Np,q) − 1 + min(Nq, Np,q) − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 11 / 24

slide-37
SLIDE 37

Efficient Procedure for Algebraic Sets

Conjunctive Differential Radical Characterization

Theorem 2, Algorithm 1, paper

D(Np,q)(p), D(Np,q)(q) ∈ p, q, . . . , D(Np,q−1)(p), D(Np,q−1)(q) ∧ (p = 0 ∧ q = 0) → D(Np,q−1)(p) = 0 ∧ D(Np,q−1)(q) = 0 . . . D(2)(p), D(2)(q) ∈ p, q, D(p), D(q) ∧ (p = 0 ∧ q = 0) → D(p) = 0 ∧ D(q) = 0 D(p), D(q) ∈ p, q (p = 0 ∧ q = 0) → [˙ x = f](p = 0 ∧ q = 0)

  • Np,q is a unique order for the entire conjunction, shared between p and q
  • Np,q ideal membership problems
  • min(Np, Np,q) − 1 + min(Nq, Np,q) − 1 quantifier elimination problems
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 11 / 24

slide-38
SLIDE 38

Efficient Procedure for Algebraic Sets

Illustrative Example

Np, Nq > 1: (Liu et al.) . . . D(x1) = x2 ∈ x1 . . . D(x2) = x1 ∈ x2 (x1 = 0 ∧ x2 = 0) − → [˙ x = (x2, x1)] (x1 = 0 ∧ x2 = 0) Np,q = 1 using the larger ideal x1, x2: (DRI∧) D(x1), D(x2) ∈ x1, x2 (x1 = 0 ∧ x2 = 0) − → [˙ x = (x2, x1)] (x1 = 0 ∧ x2 = 0)

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 12 / 24

slide-39
SLIDE 39

Efficient Procedure for Algebraic Sets

Computational Advantages

  • Np,q ≤ max(Np, Nq) polynomials with smaller total degree

Liu et al. DRI∧ Orders: Np, Nq Np,q Ideal membership problems: Np + Nq Np,q Quantifier elimination problems: Np − 1 + Nq − 1 min(Np, Np,q) − 1 + min(Nq, Np,q) − 1

  • Theoretically: Better worst case complexity
  • Empirically: Better performance on average
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 13 / 24

slide-40
SLIDE 40

Efficient Procedure for Algebraic Sets

Benchmarks

The set of benchmarks contains 32 entries:

  • equilibria (16)
  • singularities (8)
  • higher integrals (4)
  • abstract examples (4)

Originate from a number of sources:

  • textbooks on Dynamical Systems
  • hand-crafted to exploit sweetspots of certain proof rules
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 14 / 24

slide-41
SLIDE 41

Efficient Procedure for Algebraic Sets

Empirical Performance Comparison

  • ()
  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 15 / 24

slide-42
SLIDE 42

Alternative Lightweight Approach

Outline

1

Introduction

2

Efficient Procedure for Algebraic Sets

3

Alternative Lightweight Approach

4

Conclusion

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 15 / 24

slide-43
SLIDE 43

Alternative Lightweight Approach

Notation for“evolution is restricted to the set C ”

(p = 0) → [˙ x = f & C](p = 0) ≡ Zero set of p is an invariant algebraic set for f subject to constraint C ≡ Restricting evolution to C and starting with x0 s.t. p(x0) = 0, for all t > 0, x(t) ∈ C implies p(x(t)) = 0

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 16 / 24

slide-44
SLIDE 44

Alternative Lightweight Approach

Notation for“evolution is restricted to the set C ”

(p = 0) → [˙ x = f & C](p = 0) ≡ Zero set of p is an invariant algebraic set for f subject to constraint C ≡ Restricting evolution to C and starting with x0 s.t. p(x0) = 0, for all t > 0, x(t) ∈ C implies p(x(t)) = 0

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 16 / 24

slide-45
SLIDE 45

Alternative Lightweight Approach

Notation for“evolution is restricted to the set C ”

(p = 0) → [˙ x = f & C](p = 0) ≡ Zero set of p is an invariant algebraic set for f subject to constraint C ≡ Restricting evolution to C and starting with x0 s.t. p(x0) = 0, for all t > 0, x(t) ∈ C implies p(x(t)) = 0

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 16 / 24

slide-46
SLIDE 46

Alternative Lightweight Approach

Idea Behind Differential Cuts

(DC) F → [˙ x = p]C

x1 x2

F → [˙ x = p & C]F

x1 x2 x1 x2

F → [˙ x = p]F

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 17 / 24

slide-47
SLIDE 47

Alternative Lightweight Approach

Sufficient Conditions for Invariance of Atomic Equalities

(DI=) C ⊢ D(p) = 0 (p = 0) → [˙ x = f & C](p = 0) Conserved quantities (Lie)C ⊢ p = 0 → (D(p) = 0 ∧ ∇p = 0) (p = 0) → [˙ x = f & C](p = 0) Smooth invariant manifolds

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 18 / 24

slide-48
SLIDE 48

Alternative Lightweight Approach

Checking Invariance with Differential Cuts

Differential cuts increase the deductive power

  • of DI [Platzer’10]
  • of Lie [Theorem 11, paper]

(DC) increases the deductive power

  • DC + Lie ↔ embedding of smooth invariant manifolds
  • DC + DI= ↔ higher-order integrals of dynamical systems

(DC) can also combine proof rules to produce very efficient proofs of invariance where all other methods would take unreasonably long.

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 19 / 24

slide-49
SLIDE 49

Alternative Lightweight Approach

Example: Defeats (DRI∧), easy to prove using (DI+DC)

˙ x1 = −292x7(−1 + x2

6 + x2 7 + x2 8 )145,

˙ x2 = −292x8(−1 + x2

6 + x2 7 + x2 8 )145,

˙ x3 = −42(2x10 + 2x3

10 + 2x9)(−3 + 6x2 10 + x4 10 + 2x10x9 + 2x3 10x9 + x2 9 )41,

˙ x4 = −42(12x10 + 4x3

10 + 2x9 + 6x2 10x9)(−3 + 6x2 10 + x4 10 + 2x10x9 + 2x3 10x9 + x2 9 )41,

˙ x5 = −2x13(−1 + x13 + x11x13), ˙ x6 = −2x12(−1 + x12 + x11x12), ˙ x7 = 26(−6x1x2

2 + 4x3 1 x2 2 + 2x1x4 2 )(1 − 3x2 1 x2 2 + x4 1 x2 2 + x2 1 x4 2 )25,

˙ x8 = 26(−6x2

1 x2 + 2x4 1 x2 + 4x2 1 x3 2 )(1 − 3x2 1 x2 2 + x4 1 x2 2 + x2 1 x4 2 )25,

˙ x9 = 14(4x3

3 x2 4 + 2x3x4 4 − 6x3x2 4 x2 5 )(x4 3 x2 4 + x2 3 x4 4 − 3x2 3 x2 4 x2 5 + x6 5 )13,

˙ x10 = 14(2x4

3 x4 + 4x2 3 x3 4 − 6x2 3 x4x2 5 )(x4 3 x2 4 + x2 3 x4 4 − 3x2 3 x2 4 x2 5 + x6 5 )13,

˙ x11 = 14(−6x2

3 x2 4 x5 + 6x5 5 )(x4 3 x2 4 + x2 3 x4 4 − 3x2 3 x2 4 x2 5 + x6 5 )13,

˙ x12 = 292x6(−1 + x2

6 + x2 7 + x2 8 )145,

˙ x13 = −x13.                                              f

Invariant: x13 = 0 ∧ ((x4

1x2 2 + x2 1x4 2 − 3x2 1x2 2 + 1)13)2

+ ((x4

3x2 4 + x2 3x4 4 − 3x2 3x2 4x2 5 + x6 5)7)2

+ ((−1 + x2

6 + x2 7 + x2 8)73)2

+ ((−3 + 6x2

10 + x4 10 + 2x10x9 + 2x3 10x9 + x2 9)21)2

+ (x12 + x11x12 − 1)2 = 0.

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 20 / 24

slide-50
SLIDE 50

Alternative Lightweight Approach

Search for Cut Candidates

Question: What is a suitable conjunct to“cut by”? Heuristics:

  • Order the polynomials with respect to the number of variables and

their total degrees

  • Use DI=, then Lie, to try to prove invariance of each conjunct

separately

  • Apply some invariant equality in the conjunct to DC, obtaining a

constrained system

  • Remove invariant equality from the conjunct and iterate on the

constrained system.

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 21 / 24

slide-51
SLIDE 51

Conclusion

Conclusion

Deciding Invariance of Algebraic Sets

  • New efficient decision procedure to check the invariance of

algebraic sets

  • New insights: embedding of invariants ⇌ differential cut proof rule
  • efficient tactics for the invariance of algebraic sets

Toward generalized efficient procedures and tactics for semi-algebraic sets How to leverage the algebraic structure underlying semi-algebraic sets ?

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 22 / 24

slide-52
SLIDE 52

Conclusion

Empirical Performance, Complete Comparison

5 10 15 20 25 30 0.01 0.1 1 10 Num ber of problem s solved Tim e s per problem

SoSDRI SoSDRIOPT Liu et al.16 DCSearch DRI DRIOPT

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 23 / 24

slide-53
SLIDE 53

Conclusion

Abstraction ...

Algebraic Framework O(x0) Reachable Set

I

− → I(O(x0)) Vanishing Ideal

V

− → V (I(O(x0))) Closure

smallest variety

⊇ O(x0) Reachable Set Vanishing Ideal I(O(x0)) all polynomials that vanish on O(x0) Closure V (I(O(x0))) common roots of all polynomials in I(O(x0))

  • K. Ghorbal, A. Sogokon, A. Platzer

Invariance of Conjunctive Equations SAS 2014 24 / 24