Skip to content

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

@glishijie

Description

@glishijie

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.
============================================================================

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions