Welcome to the upgraded MacSphere! We're putting the finishing touches on it; if you notice anything amiss, email macsphere@mcmaster.ca

Detecting Non-Termination in Constraint Handling Rules

dc.contributor.advisorKahl, Wolfram
dc.contributor.authorRahimikia, Ershad
dc.contributor.departmentComputing and Softwareen_US
dc.date.accessioned2017-03-30T16:46:35Z
dc.date.available2017-03-30T16:46:35Z
dc.date.issued2007-09-24
dc.description.abstract<p> Constraint Handling Rules ( CHRs) are a high level language extension to introduce user-defined constraints into a host language. Application of CHRs to reformulate functional dependencies (FDs) in the Haskell type system gives us a more precise definition of this concept, and a better understanding of FD behavior. But to preserve the confluence and termination properties of CHRs generated from FDs, some restrictions on the syntax of FDs and type class definitions have been imposed which confines the expressiveness power of Haskell type system. </p> <p> In this thesis we use this problem as a motivation to find a solution for the confluence and non-termination problem in CHRs. We build a formal framework for CHRs and model their different aspects mathematically to study how non-confluence and non-termination happens. Based on this formalization we introduce prioritized CHRs as a solution for the confluence problem. To solve the non-termination problem, we propose a method to detect non-termination in the constraint solver. We define a repetition candidate as a special type of derivation and prove that a derivation having this property can cause non-terminating rule applications in the system. Finally we define a deduction tree structure for a set of rules that can be used to find all the possible repetition candidates for a set of constraint rules. </p>en_US
dc.description.degreeMaster of Science (MSc)en_US
dc.description.degreetypeThesisen_US
dc.identifier.urihttp://hdl.handle.net/11375/21268
dc.language.isoenen_US
dc.subjectNon-Terminationen_US
dc.subjectConstraint Handlingen_US
dc.subjectCHRsen_US
dc.subjecthost languageen_US
dc.subjectlanguage extensionen_US
dc.titleDetecting Non-Termination in Constraint Handling Rulesen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Rahimikia_Ershad_2007Sept_Masters.pdf
Size:
2.04 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.68 KB
Format:
Item-specific license agreed upon to submission
Description: