unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Hans Aberg <haberg-1@telia.com>
To: Noah Lavine <noah.b.lavine@gmail.com>
Cc: Andy Wingo <wingo@pobox.com>, guile-devel <guile-devel@gnu.org>
Subject: Re: Avoiding variable clashes
Date: Wed, 13 Apr 2011 18:33:13 +0200	[thread overview]
Message-ID: <325C39BE-7343-459C-904B-42728341FB6B@telia.com> (raw)
In-Reply-To: <BANLkTimUjJXhzP83G5DGG8vRdDN2QqrUYg@mail.gmail.com>

On 13 Apr 2011, at 18:25, Noah Lavine wrote:

> I think that mechanism is all that Guile uses at present. However, it
> should be general enough to resolve all situations where variables of
> the same name refer to different entities, assuming you set up the
> environments correctly.
> 
> Are you planning on implementing a theorem prover for Guile? That would be cool.

Or at least having something to experiment with. From Andy's description, it seems one may merely have to disable the beta-rule.

I wrote on a theorem prover that pushed comparison of clauses into the unification, admitting unification branching, and doing breadth-first search.

The hard part was resolving variable clashes in substitution.

Hans





  reply	other threads:[~2011-04-13 16:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 12:57 Avoiding variable clashes Hans Aberg
2011-04-13 14:19 ` Andy Wingo
2011-04-13 14:34   ` Hans Aberg
2011-04-13 15:27     ` Andy Wingo
2011-04-13 15:46       ` Hans Aberg
2011-04-13 16:25         ` Noah Lavine
2011-04-13 16:33           ` Hans Aberg [this message]
2011-04-13 16:25         ` Andy Wingo
2011-04-13 16:53           ` Hans Aberg
2011-04-14  1:08             ` Noah Lavine
2011-04-14  7:56               ` Andy Wingo
2011-04-14 13:13                 ` Noah Lavine
2011-04-14 14:34                   ` Andy Wingo
2011-04-14  8:30               ` Hans Aberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=325C39BE-7343-459C-904B-42728341FB6B@telia.com \
    --to=haberg-1@telia.com \
    --cc=guile-devel@gnu.org \
    --cc=noah.b.lavine@gmail.com \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).