{"title":"条件切片的形式程序反转","authors":"G. Villavicencio","doi":"10.1109/CSMR.2003.1192446","DOIUrl":null,"url":null,"abstract":"In (Oliveira and Villavicencio, 2001) we have applied [P]=([P/sub 1/], ..., [P/sub n/]) as a conjuncture to reverse calculate the formal specifications of a program P through the application of static slicing on output variables. This conjecture defines a calculation pattern: the formal specification for each slice is calculated and the whole program specification is obtained by combining the slice specifications by the split (<...>) combinator. However, the conjecture fails when we use conditioned slices as a complexity-reduction mechanism. Thus, it is necessary to define a new calculation pattern for the conditioned slices. Since we need to reconstruct the static slice on an output variable combining the conditioned slices on such variable, \"transversal calculus\" is required instead of a \"linear calculation\" as in (Oliveira and Villavicencio, 2001). The definition of the calculus patterns is important when facing the construction of the automatic support for the present approach because they contribute to the systematization of the calculus process.","PeriodicalId":236632,"journal":{"name":"Seventh European Conference onSoftware Maintenance and Reengineering, 2003. Proceedings.","volume":"41 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2003-03-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Formal program reversing by conditioned slicing\",\"authors\":\"G. Villavicencio\",\"doi\":\"10.1109/CSMR.2003.1192446\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In (Oliveira and Villavicencio, 2001) we have applied [P]=([P/sub 1/], ..., [P/sub n/]) as a conjuncture to reverse calculate the formal specifications of a program P through the application of static slicing on output variables. This conjecture defines a calculation pattern: the formal specification for each slice is calculated and the whole program specification is obtained by combining the slice specifications by the split (<...>) combinator. However, the conjecture fails when we use conditioned slices as a complexity-reduction mechanism. Thus, it is necessary to define a new calculation pattern for the conditioned slices. Since we need to reconstruct the static slice on an output variable combining the conditioned slices on such variable, \\\"transversal calculus\\\" is required instead of a \\\"linear calculation\\\" as in (Oliveira and Villavicencio, 2001). The definition of the calculus patterns is important when facing the construction of the automatic support for the present approach because they contribute to the systematization of the calculus process.\",\"PeriodicalId\":236632,\"journal\":{\"name\":\"Seventh European Conference onSoftware Maintenance and Reengineering, 2003. Proceedings.\",\"volume\":\"41 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2003-03-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Seventh European Conference onSoftware Maintenance and Reengineering, 2003. Proceedings.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CSMR.2003.1192446\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Seventh European Conference onSoftware Maintenance and Reengineering, 2003. Proceedings.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSMR.2003.1192446","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
摘要
在(Oliveira and Villavicencio, 2001)中,我们应用[P]=([P/sub 1/],…, [P/sub n/]])作为节点,通过对输出变量应用静态切片,对程序P的形式规范进行反向计算。这个猜想定义了一种计算模式:计算每个片的形式规范,并通过split()组合子组合片规范获得整个程序规范。然而,当我们使用条件切片作为复杂性降低机制时,这个猜想就失效了。因此,有必要为条件切片定义一个新的计算模式。由于我们需要结合输出变量上的条件切片重建输出变量上的静态切片,因此需要“横向演算”而不是像(Oliveira和Villavicencio, 2001)中那样的“线性计算”。当面对当前方法的自动支持时,演算模式的定义是重要的,因为它们有助于演算过程的系统化。
In (Oliveira and Villavicencio, 2001) we have applied [P]=([P/sub 1/], ..., [P/sub n/]) as a conjuncture to reverse calculate the formal specifications of a program P through the application of static slicing on output variables. This conjecture defines a calculation pattern: the formal specification for each slice is calculated and the whole program specification is obtained by combining the slice specifications by the split (<...>) combinator. However, the conjecture fails when we use conditioned slices as a complexity-reduction mechanism. Thus, it is necessary to define a new calculation pattern for the conditioned slices. Since we need to reconstruct the static slice on an output variable combining the conditioned slices on such variable, "transversal calculus" is required instead of a "linear calculation" as in (Oliveira and Villavicencio, 2001). The definition of the calculus patterns is important when facing the construction of the automatic support for the present approach because they contribute to the systematization of the calculus process.