The diamond operator for real algebraic expressions Susanne Schmitt - - PowerPoint PPT Presentation

the diamond operator for real algebraic expressions
SMART_READER_LITE
LIVE PREVIEW

The diamond operator for real algebraic expressions Susanne Schmitt - - PowerPoint PPT Presentation

I N F O R M A T I K The diamond operator for real algebraic expressions Susanne Schmitt sschmitt@mpi-sb.mpg.de Max Planck Institut f ur Informatik Saarbr ucken The diamond operator for real algebraic


slide-1
SLIDE 1
✂ ✄

I N F O R M A T I K

The diamond operator for real algebraic expressions

Susanne Schmitt

sschmitt@mpi-sb.mpg.de

Max Planck Institut f¨ ur Informatik Saarbr¨ ucken

The diamond operator for real algebraic expressions – p.1/5

slide-2
SLIDE 2
✂ ✄

I N F O R M A T I K

The diamond operator

Definition real algebraic expressions Sign computation separation bound sign computation Implementation Examples

The diamond operator for real algebraic expressions – p.2/5

slide-3
SLIDE 3
✂ ✄

I N F O R M A T I K

Definition

Real algebraic numbers are all real numbers which are roots of polynomials with integral coefficients.

The diamond operator for real algebraic expressions – p.3/5

slide-4
SLIDE 4
✂ ✄

I N F O R M A T I K

Definition

Real algebraic expressions are arithmetic expressions which are recursively built up from the integers, using the

  • perations of
✂✁ ✄ ✁ ☎ ✁ ✆

, and

, or the diamond operator

✞ ✟ ✠ ✁ ✡☞☛ ✁✌ ✌ ✌ ✁ ✡☞✍ ✎

.

The diamond operator for real algebraic expressions – p.3/5

slide-5
SLIDE 5
✂ ✄

I N F O R M A T I K

Definition

Real algebraic expressions are arithmetic expressions which are recursively built up from the integers, using the

  • perations of
✂✁ ✄ ✁ ☎ ✁ ✆

, and

, or the diamond operator

✞ ✟ ✠ ✁ ✡☞☛ ✁✌ ✌ ✌ ✁ ✡☞✍ ✎

. The value val

✟ ✡ ✎

is the real algebraic number defined by the expression. val

✟ ✞ ✟ ✠ ✁ ✡ ☛ ✁ ✡ ☛ ✁ ✂ ✁✌ ✌ ✌ ✁ ✡☞✍ ✎ ✎

is the

  • th smallest real root of

the polynomial val

✟ ✡☞☛ ✎ ✄ ☛
  • val
✟ ✡☞☛ ✁ ✂ ✎ ✄ ☛ ✁ ✂
✌ ✌
  • val
✟ ✡ ✍ ✎ ✌

The diamond operator for real algebraic expressions – p.3/5

slide-6
SLIDE 6
✂ ✄

I N F O R M A T I K

Sign computation

A separation bound for a real algebraic expression

is a positive real number sep

✟ ✡ ✎

such that val

✟ ✡ ✎
✂ ✄ ☎

val

✟ ✡ ✎☎✝✆

sep

✟ ✡ ✎ ✌

The diamond operator for real algebraic expressions – p.4/5

slide-7
SLIDE 7
✂ ✄

I N F O R M A T I K

Sign computation

A separation bound for a real algebraic expression

is a positive real number sep

✟ ✡ ✎

such that val

✟ ✡ ✎
✂ ✄ ☎

val

✟ ✡ ✎☎✝✆

sep

✟ ✡ ✎ ✌

(Burnikel, Funke, Mehlhorn, Schirra, S.: A Separation Bound for Real Algebraic Expressions, ESA’01)

The diamond operator for real algebraic expressions – p.4/5

slide-8
SLIDE 8
✂ ✄

I N F O R M A T I K

Sign computation

A separation bound for a real algebraic expression

is a positive real number sep

✟ ✡ ✎

such that val

✟ ✡ ✎
✂ ✄ ☎

val

✟ ✡ ✎☎✝✆

sep

✟ ✡ ✎ ✌

Computation of sign

val

✟ ✡ ✎ ✎

: Initialize an error bound

  • .

Compute

✁✄✂

with

☎ ✁✄✂ ✄

val

✟ ✡ ✎ ☎ ☎
  • .

If

☎ ✁ ✂ ☎ ✆
  • , the sign of val
✟ ✡ ✎

is equal to the sign of

✁ ✂

. Otherwise,

☎ ✁ ✂ ☎ ✝
  • and hence

val

✟ ✡ ✎ ☎ ☎ ✞
  • .

If

sep

✟ ✡ ✎

, then val

✟ ✡ ✎ ✁ ✂

. Else halve

  • and repeat.

The diamond operator for real algebraic expressions – p.4/5

slide-9
SLIDE 9
✂ ✄

I N F O R M A T I K

Implementation

leda_real: implement real algebraic root expressions. If a leda real is not a double, the expression is stored and an interval which contains the real algebraic number is computed. In most cases the sign of the real algebraic number can be determined using this interval approximation. If that is not possible, one repeats computing bigfloat approximations with gradually higher accuracy. If the separation bound is reached, the real algebraic number is

.

The diamond operator for real algebraic expressions – p.5/5

slide-10
SLIDE 10
✂ ✄

I N F O R M A T I K

Implementation

Interval approximation: Uspensky’s algorithm Bigfloat approximation: Newton method

The diamond operator for real algebraic expressions – p.5/5