Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
107 views

I am reading the paper Implementing Type Theory in Higher Order Constraint Logic Programming, and on p7 I see the following lambda-prolog code: % KAM-like rules in CPS style whd1 (app M N) S Ks Kf :- !...
Mike Shulman's user avatar
2 votes
1 answer
129 views

λProlog features hypothetical reasoning. By using the operator (=>)/2 we can temporarily assert some clause. Can this be used to realize adversarial search in λProlog? Was thinking about Tic-Tac-...
user avatar
4 votes
3 answers
512 views

There is this paper: William E. Byrd, Eric Holk, Daniel P. Friedman, 2012 miniKanren, Live and Untagged Quine Generation via Relational Interpreters http://webyrd.net/quines/quines.pdf Which uses ...
user avatar
1 vote
2 answers
408 views

The Dutch mathematician Nicolaas Govert de Bruijn invented these indexes for representing terms of lambda calculus without naming the bound variables. Lets take this lambda expression: K = λx.λy.x ...
user avatar
2 votes
2 answers
168 views

Curry, unlike its cousin Haskell, allows you to give multiple values to a function: foo 1 2 = 3 foo 1 2 = 4 and it does backtracking (or some other search) to explore the implications of such non-...
MWB's user avatar
  • 12.7k
0 votes
2 answers
145 views

Would like to do the follow reverse conversion from SKI expressions to lambda expressions: L[I] = λx.x L[K] = λx.λy.x L[S] = λx.λy.λz.(x z (y z)) L[(E₁ E₂)] = (L[E₁] L[E₂]) The conversion need not ...
user avatar
4 votes
1 answer
155 views

I suspect that λProlog needs a type system to make their higher order unification sound. Otherwise through self application some Russell type anomalies can appear. Are there alternative higher order ...
user avatar
3 votes
2 answers
238 views

I suspect that teyjus, the main implementation of λProlog, might be a bit of abandonware, but λProlog is a fascinating Prolog that is supposed to let you use higher-order logic, hypothetical reasoning ...
MWB's user avatar
  • 12.7k
1 vote
2 answers
295 views

λProlog is a higher-order dialect of Prolog. On the other hand, HiLog is said to use higher-order syntax with first-order model theory. In other words, they both have higher-order syntax, but only ...
MWB's user avatar
  • 12.7k
1 vote
2 answers
141 views

I'm using Teyjus for programming in Lambda Prolog. I have this simple lists generator: type islist int -> list X -> o. islist N nil :- N >= 0. islist N (H::T) :- N >= 0, ...
Marco Mantovani's user avatar
4 votes
2 answers
515 views

I am using a higher order Prolog variant that lacks findall. There is another question on implementing our own findall here: Getting list of solutions in Prolog. The inefficient implementation is: ...
mrsteve's user avatar
  • 4,162
4 votes
1 answer
214 views

I'm trying to install OMake so I can install Teyjus so I can start writing a bit of Lambda Prolog but I'm getting I'm getting a bunch of errors on OS X 10.10.5. The most current one, that I can't ...
king_geedorah's user avatar
21 votes
4 answers
5k views

I would like to ask you about what formal system could be more interesting to implement from scratch/reverse engineer. I've looked through some existing and open-source projects of logical/...
Bubba88's user avatar
  • 1,920