CylindricalAlgebraicDecompose - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


QuantifierElimination

  

CylindricalAlgebraicDecompose

  

produce the full CAD for a set of polynomials, or the set of polynomials associated to a Tarski formula

 

Calling Sequence

Parameters

Returns

Description

Examples

Compatibility

Calling Sequence

CylindricalAlgebraicDecompose( A, E, opts )

Parameters

A

-

a list or set of polynomials, or a list or set of relations on polynomials, or a full real Tarski formula, or a single polynomial or relation to produce the CAD for. All such polynomials passed in A are interpreted as inequations, unless they appear as equations in a Tarski formula, whereby they are interpreted as equational constraints

E

-

(optional) a polynomial, an equation, or a list or set of such to be used as equational constraints for the produced CAD

opts

-

core keyword options for cylindrical algebraic decomposition (see QuantifierElimination options)

Returns

• 

A CADData object that contains data structures for the CAD.

Description

• 

Builds a full Cylindrical Algebraic Decomposition (CAD), (Lazard and) sign invariant for the polynomials according to input. Unlike PartialCylindricalAlgebraicDecompose, this procedure will not attempt any evaluation of truth values and hence no quantifier elimination (QE), although it can accept a (quantified) Tarski formula as input. If quantifiers are included in a formula, they will be ignored.

• 

The method of constructing the CAD is a Lazard projection followed by standard lifting. No strategy for lifting is included, considering the whole CAD must be constructed in all circumstances. If equational constraints are provided via E, then these will be used in a reduced projection operator for the first projection.

• 

If equational constraints can be found in a Tarski formula A, then these will be used in a reduced projection operator if possible.

• 

Information on keyword options for the routine can be found in the help page QuantifierElimination options.

Examples

withQuantifierElimination

CylindricalAlgebraicDecompose,DeleteFormula,InsertFormula,PartialCylindricalAlgebraicDecompose,QuantifierEliminate,QuantifierTools

(1)

Ax3,x2+y22

Ax3,x2+y22

(2)

CCylindricalAlgebraicDecomposeA

CVariables=y,xInput Polynomials=x3y2+7y22x2+y22# Cells=23Projection polynomials for level 1=y2+7y22Projection polynomials for level 2=x3x2+y22

(3)

Examine the leaf cells for the CAD of polynomials in A:

GetCellsC

Description&equals;RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856<y3<xSample Point&equals;y=3&comma;x=4Index&equals;5&comma;3&comma;Description&equals;RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856<yx=3Sample Point&equals;y=3&comma;x=3Index&equals;5&comma;2&comma;Description&equals;RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856<yx<3Sample Point&equals;y=3&comma;x=2Index&equals;5&comma;1&comma;Description&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..4174021704106490308132951479051793528258563<xSample Point&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856&comma;x=4Index&equals;4&comma;5&comma;Description&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856x=3Sample Point&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856&comma;x=3Index&equals;4&comma;4&comma;Description&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..4174021704106490308132951479051793528258560<xx<3Sample Point&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856&comma;x=1Index&equals;4&comma;3&comma;Description&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856x=0Sample Point&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856&comma;x=0Index&equals;4&comma;2&comma;Description&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856x<0Sample Point&equals;y=RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856&comma;x=−1Index&equals;4&comma;1&comma;Description&equals;RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624<yy<RootOf_Z22&comma;208701085205324515393147573952589676412928..4174021704106490308132951479051793528258563<xSample Point&equals;y=0&comma;x=4Index&equals;3&comma;7&comma;Description&equals;RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624<yy<RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856x=3Sample Point&equals;y=0&comma;x=3Index&equals;3&comma;6&comma;Description&equals;RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624<yy<RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856RootOf_Z2+y22&comma;index=real2<xx<3Sample Point&equals;y=0&comma;x=2Index&equals;3&comma;5&comma;Description&equals;RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624<yy<RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856x=RootOf_Z2+y22&comma;index=real2Sample Point&equals;y=0&comma;x=RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856Index&equals;3&comma;4&comma;Description&equals;RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624<yy<RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856RootOf_Z2+y22&comma;index=real1<xx<RootOf_Z2+y22&comma;index=real2Sample Point&equals;y=0&comma;x=0Index&equals;3&comma;3&comma;Description&equals;RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624<yy<RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856x=RootOf_Z2+y22&comma;index=real1Sample Point&equals;y=0&comma;x=RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624Index&equals;3&comma;2&comma;Description&equals;RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624<yy<RootOf_Z22&comma;208701085205324515393147573952589676412928..417402170410649030813295147905179352825856x<RootOf_Z2+y22&comma;index=real1Sample Point&equals;y=0&comma;x=−3Index&equals;3&comma;1&comma;Description&equals;y=RootOf_Z22&comma;796131459065725562949953421312..159226291813142311258999068426243<xSample Point&equals;y=RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624&comma;x=4Index&equals;2&comma;5&comma;Description&equals;y=RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624x=3Sample Point&equals;y=RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624&comma;x=3Index&equals;2&comma;4&comma;Description&equals;y=RootOf_Z22&comma;796131459065725562949953421312..159226291813142311258999068426240<xx<3Sample Point&equals;y=RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624&comma;x=1Index&equals;2&comma;3&comma;Description&equals;y=RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624x=0Sample Point&equals;y=RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624&comma;x=0Index&equals;2&comma;2&comma;Description&equals;y=RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624x<0Sample Point&equals;y=RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624&comma;x=−1Index&equals;2&comma;1&comma;Description&equals;y<RootOf_Z22&comma;796131459065725562949953421312..159226291813142311258999068426243<xSample Point&equals;y=−3&comma;x=4Index&equals;1&comma;3&comma;Description&equals;y<RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624x=3Sample Point&equals;y=−3&comma;x=3Index&equals;1&comma;2&comma;Description&equals;y<RootOf_Z22&comma;796131459065725562949953421312..15922629181314231125899906842624x<3Sample Point&equals;y=−3&comma;x=2Index&equals;1&comma;1

(4)

Examine the number leaf cells for the CAD of the formula F:

FAndx2+y2z2+2<0&comma;y<z&comma;x<y

Fx2+y2z2<−2y<zx<y

(5)

CCylindricalAlgebraicDecomposeF

CVariables&equals;z&comma;x&comma;yInput Polynomials&equals;xzxyxzyzx2+2z2+2z222x2z2+2x2z2+2x2+y2z2+2# Cells&equals;287Projection polynomials for level 1&equals;zz2+2z22Projection polynomials for level 2&equals;xxzx2+22x2z2+2x2z2+2Projection polynomials for level 3&equals;xyyzx2+y2z2+2

(6)

NumberOfLeafCellsC

287

(7)

Get the sample point for a cell of C:

GetSamplePointGetCellsC1

z=3&comma;x=4&comma;y=5

(8)

Compatibility

• 

The QuantifierElimination:-CylindricalAlgebraicDecompose command was introduced in Maple 2023.

• 

For more information on Maple 2023 changes, see Updates in Maple 2023.

See Also

PartialCylindricalAlgebraicDecompose

QuantifierElimination

QuantifierElimination options