コンテンツにスキップ

抽象解釈

出典: フリー百科事典『ウィキペディア(Wikipedia)』
抽象インタプリタから転送)

: Abstract interpretation調

2





Patrick Cousot  Radhia Cousot 

[]




ID2ID



n m M n m M

?

[]


 concrete semantics concrete semantics 

2

 tractability

調

[]


L  concrete setL  abstract set2

α abstraction functionx  Lα(x)  L L  α(x)  L xabstraction

γ concretization functionx  L γ(x)  LL  γ(x)  L  x concretization

L1L2L1L2  fL1  L2調L1  L2  f  f; valid abstractionL1  x  (f  γ)(x)  (γ  f)(x) 

使L f  L L調f(x)  x  x  f

 x L  x  xn 

x0= L 

xn+1=f(xn)

widening operator   x  x y x y x y yn 

x0=

xn+1=xn  yn

yn=f(xn) 

Galois connection(α, γ) 使α L L γ L  L (x,y) x2+y2  1  

[]


 x [lx,hx]  v(x)  xv(x)  [lx,hx]  x y [lx,hx]  [ly,hy] x+y ([lx+ly,hx+hy])  x-y ([lx-hy,hx-ly]) ; exact x+y ([lx+ly,hx+hy]) interval arithmetics


y = x;
z = x - y;

z  x [0,1] z  [-1,1] 

 x y non-relational domain non-relational domain 



 - 

"octagons"

difference-bound matrices

linear equalities




ツール[編集]

関連項目[編集]

外部リンク[編集]