{"title":"带条件线性规划的终止分析","authors":"Zhongqin Bi, Meijing Shan","doi":"10.1109/ICACTE.2008.16","DOIUrl":null,"url":null,"abstract":"Proving termination of program loops is necessary in many applications, especially those safety critical software. Discovering ranking function is a classical method to prove the termination, but the existence of ranking function is a sufficient condition on the termination of a loop program. In this paper, we present an algorithm to remedy the limitation of ranking function for analyzing the termination of linear programs with conditionals. We transform the linear loop programs with conditionals into the nested linear loop programs, and then check whether the inner loop terminates or not by positive eigenvalues and their corresponding eigenvectors. If one of the inner loop in the nested linear loop is nonterminating, then the linear loop is nonterminating. Otherwise, we use discovering ranking functions based on qualifier elimination to analyze the termination of the linear loop. To illustrate the main idea of the algorithm, we perform it on some examples.","PeriodicalId":364568,"journal":{"name":"2008 International Conference on Advanced Computer Theory and Engineering","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-12-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Termination Analysis of Linear Programs with Conditionals\",\"authors\":\"Zhongqin Bi, Meijing Shan\",\"doi\":\"10.1109/ICACTE.2008.16\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Proving termination of program loops is necessary in many applications, especially those safety critical software. Discovering ranking function is a classical method to prove the termination, but the existence of ranking function is a sufficient condition on the termination of a loop program. In this paper, we present an algorithm to remedy the limitation of ranking function for analyzing the termination of linear programs with conditionals. We transform the linear loop programs with conditionals into the nested linear loop programs, and then check whether the inner loop terminates or not by positive eigenvalues and their corresponding eigenvectors. If one of the inner loop in the nested linear loop is nonterminating, then the linear loop is nonterminating. Otherwise, we use discovering ranking functions based on qualifier elimination to analyze the termination of the linear loop. To illustrate the main idea of the algorithm, we perform it on some examples.\",\"PeriodicalId\":364568,\"journal\":{\"name\":\"2008 International Conference on Advanced Computer Theory and Engineering\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2008-12-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2008 International Conference on Advanced Computer Theory and Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICACTE.2008.16\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 International Conference on Advanced Computer Theory and Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICACTE.2008.16","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Termination Analysis of Linear Programs with Conditionals
Proving termination of program loops is necessary in many applications, especially those safety critical software. Discovering ranking function is a classical method to prove the termination, but the existence of ranking function is a sufficient condition on the termination of a loop program. In this paper, we present an algorithm to remedy the limitation of ranking function for analyzing the termination of linear programs with conditionals. We transform the linear loop programs with conditionals into the nested linear loop programs, and then check whether the inner loop terminates or not by positive eigenvalues and their corresponding eigenvectors. If one of the inner loop in the nested linear loop is nonterminating, then the linear loop is nonterminating. Otherwise, we use discovering ranking functions based on qualifier elimination to analyze the termination of the linear loop. To illustrate the main idea of the algorithm, we perform it on some examples.