{"title":"一种开发概率方案的建设性方法","authors":"H. Haghighi","doi":"10.1109/IRANIANCEE.2010.5507014","DOIUrl":null,"url":null,"abstract":"Probabilistic techniques in computer programs are becoming more and more widely used. Therefore, there is a big interest in the formal specification, verification, and development of probabilistic programs. On the other hand, Martin-Löf's theory of types is an appropriate notation for formal program development since it allows us to express both specifications and programs within the same formalism. Furthermore, the proof rules of this theory can be used to derive a correct program from a specification as well as to verify that a given program has a certain property. In this paper, we augment Martin-Löf's theory of types with a simple probabilistic construct enabling us to specify probabilistic programs formally. Furthermore, having such a construct, we can derive functional, probabilistic programs from correctness proofs of their formal specifications written in the new type theoretical formalism.","PeriodicalId":282587,"journal":{"name":"2010 18th Iranian Conference on Electrical Engineering","volume":"94 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-05-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"A constructive approach for developing probabilistic programs\",\"authors\":\"H. Haghighi\",\"doi\":\"10.1109/IRANIANCEE.2010.5507014\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Probabilistic techniques in computer programs are becoming more and more widely used. Therefore, there is a big interest in the formal specification, verification, and development of probabilistic programs. On the other hand, Martin-Löf's theory of types is an appropriate notation for formal program development since it allows us to express both specifications and programs within the same formalism. Furthermore, the proof rules of this theory can be used to derive a correct program from a specification as well as to verify that a given program has a certain property. In this paper, we augment Martin-Löf's theory of types with a simple probabilistic construct enabling us to specify probabilistic programs formally. Furthermore, having such a construct, we can derive functional, probabilistic programs from correctness proofs of their formal specifications written in the new type theoretical formalism.\",\"PeriodicalId\":282587,\"journal\":{\"name\":\"2010 18th Iranian Conference on Electrical Engineering\",\"volume\":\"94 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2010-05-11\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2010 18th Iranian Conference on Electrical Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IRANIANCEE.2010.5507014\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 18th Iranian Conference on Electrical Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IRANIANCEE.2010.5507014","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A constructive approach for developing probabilistic programs
Probabilistic techniques in computer programs are becoming more and more widely used. Therefore, there is a big interest in the formal specification, verification, and development of probabilistic programs. On the other hand, Martin-Löf's theory of types is an appropriate notation for formal program development since it allows us to express both specifications and programs within the same formalism. Furthermore, the proof rules of this theory can be used to derive a correct program from a specification as well as to verify that a given program has a certain property. In this paper, we augment Martin-Löf's theory of types with a simple probabilistic construct enabling us to specify probabilistic programs formally. Furthermore, having such a construct, we can derive functional, probabilistic programs from correctness proofs of their formal specifications written in the new type theoretical formalism.