Theory Sign_Lattice
theory Sign_Lattice
imports "Voblint_Domain.State_Concretization"
begin
section ‹Sign lattice›
text ‹
sign abstracts integers by their sign:
Bot -- empty (unreachable / undefined)
Neg -- strictly negative {n | n < 0}
NonPos -- non-positive ‹{n | n ≤ 0}›
Zero -- exactly zero {0}
NonNeg -- non-negative ‹{n | n ≥ 0}›
Pos -- strictly positive {n | n > 0}
Top -- all integers UNIV
Seven-element lattice (‹Bot ≤ Neg,Zero,Pos ≤ NonPos,NonNeg ≤ Top›).
Finite; no widening needed.
›
subsection ‹Carrier and concretization›