Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a problem with the sample in chapter "The Witness Problem" #132

Open
glishijie opened this issue Feb 27, 2023 · 2 comments
Open

Comments

@glishijie
Copy link

URL: https://souffle-lang.github.io/aggregates#the-witness-problem

The second sample has a problem, it has no "Witness Problem Error".

.decl family(name:symbol, age:number)
.decl youngest(name:symbol, age:number)

family("Alissa", 10).
family("Maria", 46).
family("Mark", 50).

youngest(p, n) :- n = min x : family(p, x).

Souffle version info:

----------------------------------------------------------------------------
Version: 2.3-179-g8aae5218d
Word size: 32 bits
Options enabled: ffi ncurses sqlite zlib
----------------------------------------------------------------------------
Copyright (c) 2016-22 The Souffle Developers.
Copyright (c) 2013-16 Oracle and/or its affiliates.
All rights reserved.
============================================================================
@quentin
Copy link
Member

quentin commented Oct 11, 2023

@quentin
Copy link
Member

quentin commented Nov 24, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants