Konrad, thanks for the hint and for the link to your article.
Best, David. Hi David,
Adding extra constraints to the definition of listInsert is what I would suggest. The typical thing to do is to add the constraints via if-then-else:
f(x) = if <constraints> then <body of function> else ARB
You will get a constrained function definition and induction theorem. How these look,
and how to use them can be found in the example on Depth-First Traversal in the Adapting Functional Programs to Higher Order Logic Paper Scott Owens and I wrote. Here's a link to it:
Konrad.
|
------------------------------------------------------------------------------
_______________________________________________
hol-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hol-info