Definedness Semantics

Open
#441 8 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
backend

Research direction

The issue does not name files, tests, or an implementation entry point. Start by reading how the project represents undefined values and evaluates operators; the issue asks whether undefined inputs propagate through disjunction, addition, and multiplication. Done means the project’s definedness semantics answer both examples consistently, with the rule and any exceptions established.

Written by the indexing model from the issue text.

Description

constraint-handler 2

Given some or all operators supported, when is the outcome undefined.

A simple rule would be, whenever an input to an operation is undefined.

There might be exceptions to this rule: 
 

define(b, true)
define(x, Operation(disj(b,c))
  1. is x true or undefined?
define(b, 42)
define(c, Operation(add, b, Operation(mul, 0, a))
  1. is c undefined or 42

@wanko @AbdallahS

Dominant language
Python
Stars
4
Forks
0
Avg merge
2d 9h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from potassco/constraint-handler

All issues in potassco/constraint-handler

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.