发明名称 Computer apparatus, program and method for determining the equivalence of two algebraic functions
摘要 In a compiler or program proving or verification software code, it is often useful to analyse a computer program and one way in which this might be partially achieved is by comparing algebraic expressions to see if they are equivalent, i.e. to see if they are derivable from a common template or function definition. Herein a string matching and replacement algorithm is used to compare two functions. Initially, each expression is converted to a "reduced" form by reference to a set of standard rules so as, for example, to ensure that terms comprising the same variables are combined. The variables names in each term are then replaced with symbols to produce, for each expression, a corresponding character string which, arranged in a predetermined order, are compared to determine equivalence of the expressions. To achieve this, a matrix M is formed with entries corresponding to the symbols and the matrix elements are incremented according to pre-set rules. The matrix is then processed to identify equivalence.
申请公布号 US6745215(B2) 申请公布日期 2004.06.01
申请号 US20010839025 申请日期 2001.04.20
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BERA RAJENDRA KUMAR
分类号 G06F7/00;G06F7/50;G06F9/45;(IPC1-7):G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项
地址
您可能感兴趣的专利