On Mon, 11 Feb 2013, Arwyn wrote:
> Hi Jan,
>
> Wow. That one is going to keep me awake nights.
I had all sorts of plans for approaching solutions by increasingly clever
approximations of state paths through a natching NFA; it turns out to be
less difficult than that :-/
The main problem I'm stumbling on now (translating my solution from
functional python into an actual functional language) is a persistent data
structure for modelling the hex grid that lets me share as much state as
possible whilst "updating" a row with a new set of conclusions.
> I have been pondering a similar constraint satisfaction puzzle but on a
> square grid and without the full regex.
Is this the nonogram?
http://en.wikipedia.org/wiki/Nonogram
I wrote a very naive solver for these as an experiment in computational
steering for batch-processing tasks. That was mostly stymied because it
turned out that a million jobs was a lot for a Condor system back then :-)
I've been meaning to revisit this problem in light of smarter approaches
to constraint propagation.
> One motivation was to try out some logic/constraint programming packages in
> Haskell.
> Originally, I was looking for something like core.logic but this might
> require something more explicitly constraint-based.
> Looking forward to discussing this when next we meet.
Yeah, I could really do with some motivation (a reading group or
something) to kick me into getting to the bottom of these kinds of
constraint systems. I'm looking forward to it!
Never looked closely at it, but you've rekindled my motivation to explore
it.
Cheers,
jan
--
Update your address books:
ja...@ioctl.org http://ioctl.org/jan/
Theoremhood is positively decidable.
It just takes time at least exponential in the length of the proof.