Closed kyagrd closed 7 years ago
Thanks for the report. I'll take a look at it this evening when I'm back in civilization. There is another report from a while back about looping search that we seem to have forgotten about. I should put it on github so we can track both properly.
As far as I can tell, there is no looping search in this example. The search space is just very branchy, with a branching factor of roughtly 30 per level. This means that at search depth 5 it has to exhaustively check 30^5 or 24.3 million cases. Needless to say that can take some time. You can see the exponential cliff by comparing search 4
against search 5
.
What this means is that we need better search bounds. Counting the number of definition unfolding and backchaining steps is too coarse a measure. Perhaps we should also bound the number of branches explored before giving up.
Pinging @thatdalemiller and @robblanco as this may be relevant to some stuff they are doing...
Closing this as not a bug.
Here is an example. Used Abella version 2.0.5-dev.