{"id":{"repo_id":"rice","oai_identifier":"oai:repository.rice.edu:1911/105626"},"canonical_url":"https://search.ndltd.org/etd/rice/oai:repository.rice.edu:1911/105626","repository":{"repo_id":"rice","name":"Rice University","base_url":"https://repository.rice.edu/server/oai/request"},"display":{"title":"Learning Program Invariants from Proof Corpora","abstract":"In program verification, loop invariants are of particular interest. Indeed, writing a correct and useful invariant is as challenging as verifying the program itself. Current approaches to solving the problem of automatically generating invariants either generate invariants by analyzing the program or using machine learning to learn from program input and output examples, counterexamples, and so on. Each of these approaches works on particular type of programs and specific data structures. In this thesis, we describe the technique we have developed for generating these loop invariants automatically. We introduce a more general learning technique that learns from a database of annotated verified programs. Our new data-driven approach uses the existing proofs to learn proof templates, or as we call them proof blocks. In our method, the algorithm iterates over all possible proof block formulas by using logical connectors until it finds an appropriate invariant formula. We evaluated our approach on benchmarks and demonstrated the potential of our technique in verification of programs. Using the approach of learning from verified annotated programs makes invariant generation easier and reduces the burden on the verification engineer.","abstract_html":"In program verification, loop invariants are of particular interest. Indeed, writing a correct and useful invariant is as challenging as verifying the program itself. Current approaches to solving the problem of automatically generating invariants either generate invariants by analyzing the program or using machine learning to learn from program input and output examples, counterexamples, and so on. Each of these approaches works on particular type of programs and specific data structures. In this thesis, we describe the technique we have developed for generating these loop invariants automatically. We introduce a more general learning technique that learns from a database of annotated verified programs. Our new data-driven approach uses the existing proofs to learn proof templates, or as we call them proof blocks. In our method, the algorithm iterates over all possible proof block formulas by using logical connectors until it finds an appropriate invariant formula. We evaluated our approach on benchmarks and demonstrated the potential of our technique in verification of programs. Using the approach of learning from verified annotated programs makes invariant generation easier and reduces the burden on the verification engineer.","abstract_has_math":false,"creators":["Rahbar, Afsaneh"],"institution":"Rice University","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Engineering","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Chaudhuri, Swarat"],"committee_chairs":[],"committee_members":[],"year":2018,"date_issued":"2018-04-13","date_published":"2018-04-13","updated_at":"2026-11-19T09:22:39Z","subjects":["Invariants","Proof Synthesis","Program verification","Hoare logic"],"languages":["eng"],"rights":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Rahbar, Afsaneh. \"Learning Program Invariants from Proof Corpora.\" (2018) Master’s Thesis, Rice University. https://hdl.handle.net/1911/105626"],"render_values":[{"text":"Rahbar, Afsaneh. \"Learning Program Invariants from Proof Corpora.\" (2018) Master’s Thesis, Rice University. https://hdl.handle.net/1911/105626","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1911/105626","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1911/105626","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arice%3Aoai%3Arepository.rice.edu%3A1911%2F105626","prefix":"oai_dc"},"source_record":{"url":"https://repository.rice.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.rice.edu%3A1911%2F105626","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Chaudhuri, Swarat"]},{"key":"dc:creator","label":"Author","values":["Rahbar, Afsaneh"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2019-05-17T13:41:36Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2019-05-17T13:41:36Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2017-12"]},{"key":"dc:date.issued","label":"Date","values":["2018-04-13"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["December 2017"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2019-05-17T13:41:36Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","Text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Rice University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Invariants","Proof Synthesis","Program verification","Hoare logic"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Rahbar, Afsaneh. \"Learning Program Invariants from Proof Corpora.\" (2018) Master’s Thesis, Rice University. https://hdl.handle.net/1911/105626"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1911/105626"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["In program verification, loop invariants are of particular interest. Indeed, writing a correct and useful invariant is as challenging as verifying the program itself. Current approaches to solving the problem of automatically generating invariants either generate invariants by analyzing the program or using machine learning to learn from program input and output examples, counterexamples, and so on. Each of these approaches works on particular type of programs and specific data structures. In this thesis, we describe the technique we have developed for generating these loop invariants automatically. We introduce a more general learning technique that learns from a database of annotated verified programs. Our new data-driven approach uses the existing proofs to learn proof templates, or as we call them proof blocks. In our method, the algorithm iterates over all possible proof block formulas by using logical connectors until it finds an appropriate invariant formula. We evaluated our approach on benchmarks and demonstrated the potential of our technique in verification of programs. Using the approach of learning from verified annotated programs makes invariant generation easier and reduces the burden on the verification engineer."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Learning Program Invariants from Proof Corpora"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Chaudhuri, Swarat"],"dc:creator":["Rahbar, Afsaneh"],"dc:date.accessioned":["2019-05-17T13:41:36Z"],"dc:date.available":["2019-05-17T13:41:36Z"],"dc:date.created":["2017-12"],"dc:date.issued":["2018-04-13"],"dc:date.submitted":["December 2017"],"dc:date.updated":["2019-05-17T13:41:36Z"],"dc:description.abstract":["In program verification, loop invariants are of particular interest. Indeed, writing a correct and useful invariant is as challenging as verifying the program itself. Current approaches to solving the problem of automatically generating invariants either generate invariants by analyzing the program or using machine learning to learn from program input and output examples, counterexamples, and so on. Each of these approaches works on particular type of programs and specific data structures. In this thesis, we describe the technique we have developed for generating these loop invariants automatically. We introduce a more general learning technique that learns from a database of annotated verified programs. Our new data-driven approach uses the existing proofs to learn proof templates, or as we call them proof blocks. In our method, the algorithm iterates over all possible proof block formulas by using logical connectors until it finds an appropriate invariant formula. We evaluated our approach on benchmarks and demonstrated the potential of our technique in verification of programs. Using the approach of learning from verified annotated programs makes invariant generation easier and reduces the burden on the verification engineer."],"dc:format.mimetype":["application/pdf"],"dc:identifier.citation":["Rahbar, Afsaneh. \"Learning Program Invariants from Proof Corpora.\" (2018) Master’s Thesis, Rice University. https://hdl.handle.net/1911/105626"],"dc:identifier.uri":["https://hdl.handle.net/1911/105626"],"dc:language.iso":["eng"],"dc:rights":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."],"dc:subject":["Invariants","Proof Synthesis","Program verification","Hoare logic"],"dc:title":["Learning Program Invariants from Proof Corpora"],"dc:type":["Thesis","Text"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Engineering"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Rice University"]},"updated_at":"2026-11-19T09:22:39Z"}