Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Ongoing

- introduce fields `tight` and `choices` to `.expected.stats` format and
simplify the testing framework usage
- add `variable_declared(X)` output for user-facing variables with an active
declaration.
- add `variable_defined(X)` output for user-facing variables with a non-`bad`
Expand Down
41 changes: 39 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,39 @@ runs may exceed the average when the overall mean still passes.
The default `nox -s test` session excludes `performance` tests so the normal
test matrix stays practical.

### Float Computation Benchmarks

The ASP programs under `tests/performance/float/` cover addition chains,
integer and fractional multiplication, equality and ordering near a small
separation, cancellation after adding a large offset, division with
multiplicative recovery, square root with squaring, and sine/cosine with the
sum of their squares. A shared three-value input domain includes negative,
exact dyadic, and repeating-fraction inputs. The workloads have three models
regardless of size and expose `value/2`.

Each workload runs at sizes 16 and 64 with `compile`, `compile2`, `fch`,
`ground`, `propagator`, and `propagator_check`. FCH trigonometry cases are
skipped because its native operator set lacks `sin` and `cos`. Timings include
control setup, loading, grounding, and solving, using one warmup and three
measured runs. The 30-second mean limit is a generous safety ceiling for
comparing implementations, rather than a calibrated baseline.

```bash
# capture all float benchmarks
nox -s performance -- -k 'float/'

# capture only FCH float benchmarks
nox -s performance -- -k 'fch and float/'

# smoke-run the workloads once each, without timing repetitions
nox -Rs test -- tests/test_performance_engines.py -m performance -k 'float/' --benchmark-disable
```

Use the same workload sizes and engine selection when comparing saved runs with
`nox -s benchmark_compare`. Engine and workload constants are recorded in the
benchmark metadata. Additional representations can use these same ASP inputs
through their engine implementations.

## Expectation Fixtures

Encoding tests pair a program named `[name].lp` with optional expectation files
Expand All @@ -101,8 +134,12 @@ The supported suffixes are:
enumeration mode.
- `optall`, `optany`, and `optnone`: atom must occur in every, any, or no
optimal model respectively.
- `stats`: one `key=value` entry per line. `models=<count>` asserts the exact
number of models.
- `stats`: one `key=value` entry per line. All keys are optional.
`models=<count>` asserts the exact number of models. `tight=true` asserts
zero strongly connected components, and `tight=false` asserts at least one.
`choices=false` asserts zero solver choices, and `choices=true` asserts at
least one. Boolean values are lowercase `true` or `false`; omitted fields are
unchecked.

`all`, `none`, `first`, `last`, `optall`, and `optnone` implicitly also require
at least one model unless an `any`, `brave`, `cautious`, or `optany`
Expand Down
1 change: 0 additions & 1 deletion src/constraint_handler/data/6_solve/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ _optimize_component/7.

### Output predicates

_ge_assign/2.
_se_value/2.
_passed(compile,LBL,DECL).
_passed(compile2,LBL,DECL).
Expand Down
20 changes: 14 additions & 6 deletions src/constraint_handler/data/6_solve/compile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

_passed(compile,LBL,DECL).
_passed(sugar,LBL,set_baseDomain/3).
_expression_tupleLength(compile,EXPR,N).
_expression_tupleIndex(compile,EXPR,IDX,ARG).
_expression_tupleLength((compile;implode),EXPR,N).
_expression_tupleIndex((compile;implode),EXPR,IDX,ARG).
_expression_operationIndex(compile,EXPR,IDX,ARG).
_expression_operationIndex(sugar,EXPR,IDX,ARG).
_expression_operationOperator(sugar,EXPR,OP).
Expand All @@ -15,24 +15,27 @@ _type_extensionalEquality/1.
_type_extensionalOrder/1.
_type_representation/2.
type_expression/2.
_set_candidate/2.
_python_evaluate/3.

### Intermediate predicates

_expression_pythonEval/2.
_expression_dynamicTainted/1.
_argument_value/2.
_direct_queryOperation/1.
_computeIdx/2. _computeIdx/3.
_computedIdx/2.
_direct_args_list_aux/3.
_direct_args_list/2.
_direct_explode/1.
_direct_explodeTupleAux/3.
_direct_implode/1.
_direct_imploded_args_aux/3.
_direct_implodeTupleAux/3.
_direct_lazy/1.
_direct_tupleValuesAux/3.
_expression_eval_exec/2.
_expression(compile,EXPR).
_python_evaluated/3.
_expression((compile;implode),EXPR).
_int_add/3.
_int_mult/3.
_isTuple/2. _isTuple/4.
Expand Down Expand Up @@ -65,8 +68,13 @@ _tupleEqAux/3.
_passed(correction(REASON,add),LBL,DECL).
direct_query/1.
_se_value/2.
_set_assign/3.
_python_evaluate/3.
_python_evaluated/3.
_python_result/2.
_set_assign/2.
_set_candidate/2.
_set_contains/2.
_direct_exploded/2.
_direct_imploded/2.
_warning/3.
multimap_value/3.
38 changes: 14 additions & 24 deletions src/constraint_handler/data/6_solve/compile/direct.lp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _expression(compile,E) :- direct_query(E).

_se_value(val(T,V),val(T,V)) :- direct_query(val(T,V)).
_se_value(ref(T,R),ref(T,R)) :- direct_query(ref(T,R)).
_expression_pythonEval(python(S),python(S)) :- direct_query(python(S)).
_python_evaluate(python(S),python(S),()) :- direct_query(python(S)).
_se_value(Q,RES) :- direct_query(Q), _computedIdx(Q,RES).

_se_value(lambda(VARS,ERES),val(function,lambda(VARS,ERES))) :- direct_query(lambda(VARS,ERES)).
Expand Down Expand Up @@ -60,32 +60,17 @@ _lambda_aux(E,RED) :- _computeIdx(E,lambda(VARS,ERES)),
direct_query(RED) :- _lambda_aux(E,RED).
_computedIdx(E,VO) :- _lambda_aux(E,RED), _se_value(RED,VO).

%%%%%%%%%%%%%%%%% python operator
_direct_implode(V) :- _computeIdx(E,python(STR)), _computeIdx(E,IDX,V).
_direct_imploded_args_aux(E,IDX,()) :- _computeIdx(E,python(STR)), _expression_operationLength(compile,E,IDX).
_direct_imploded_args_aux(E,IDX,(IMP,L)) :- _direct_imploded_args_aux(E,IDX+1,L), _computeIdx(E,IDX,V),
_direct_imploded(V,IMP).

_expression_pythonEval(E,operation(python(S),L)) :- _computeIdx(E,python(S)), _direct_imploded_args_aux(E,0,L).
_python_evaluate(E,operation(python(S),L),()) :- _computeIdx(E,python(S)), _direct_imploded_args_aux(E,0,L).

_expression_eval_exec(Q,RES) :- _expression_pythonEval(Q,E), RES=@pythonEvalExpr(E,(),ID), _main_solverIdentifiers(ID).
_computedIdx(E,val(TYPE,V)) :- _expression_eval_exec(E,valid(val(TYPE,V))).
_computedIdx(E,bad) :- _expression_eval_exec(E,valid(bad)).
_computedIdx(E,bad) :- _expression_eval_exec(E,error(KIND,MSG)).
_warning(KIND,(),(python,E,MSG)) :- _expression_eval_exec(E,error(KIND,MSG)).


_se_value(E,ref(set,E)) :- _expression_eval_exec(E,valid(set(S))).
_set_assign(E,VAL) :- _expression_eval_exec(E,valid(set(S))), VAL=@pythonListElements(S).


%%%%%%%%%%%%%%%%% pythonExtract operator
_direct_resortToPython(operation(pythonExtract(PSTMT,PEXPR),ARGS)) :- _expression(compile,operation(pythonExtract(PSTMT,PEXPR),ARGS)).
_direct_implode(V) :- _direct_resortToPython(E), _computeIdx(E,IDX,V).
_direct_imploded_args_aux(E,N,()) :- _direct_resortToPython(E), _expression_operationLength(compile,E,N).
_direct_imploded_args_aux(E,IDX,(IMP,L)) :- _direct_imploded_args_aux(E,IDX+1,L), _computeIdx(E,IDX,V),
_direct_imploded(V,IMP).
_expression_pythonEval(E,operation(O,L)) :- _direct_resortToPython(E), _direct_imploded_args_aux(E,0,L), E=operation(O,ARGS).
_python_evaluate(E,operation(O,L),()) :- _direct_resortToPython(E), _direct_imploded_args_aux(E,0,L), E=operation(O,ARGS).

%%%%%%%%%%%%%%%%% bad
%_direct_bad_operation(OP,ARGS) :- direct_query(operation(OP,ARGS)), _se_value(ARG,bad), ARG=@pythonListElements(ARGS), not _expression_safe(operation(OP,ARGS)), not _operator_recoverable(OP).
Expand All @@ -99,13 +84,18 @@ _direct_imploded(bad,bad) :- _direct_implode(bad).
%%%%%%%%%%%%%%%%% implode
_direct_imploded(val(T,V),val(T,V)) :- _direct_implode(val(T,V)), _type_representation(T,extensional).

_direct_imploded(variable(X),V) :- _direct_implode(variable(X)), _se_value(variable(X),V).
_direct_implode(V) :- _direct_implode(variable(X)), _se_value(variable(X),V).
_direct_imploded(variable(X),W) :- _direct_implode(variable(X)), _se_value(variable(X),V), _direct_imploded(V,W).

_isTuple(compile,E) :- _direct_implode(E), true=@pythonIsTuple(E).
_isTuple(compile,E,N,ARGS) :- _direct_implode(E), (function,(),N,ARGS)=@pythonReify(E).
_direct_implode(X) :- _direct_implode(E), _expression_tupleIndex(compile,E,IDX,X).
_direct_implodeTupleAux(E,N,()) :- _direct_implode(E), _expression_tupleLength(compile,E,N).
_direct_implodeTupleAux(E,IDX,(V,L)) :- _direct_implodeTupleAux(E,IDX+1,L), _expression_tupleIndex(compile,E,IDX,X), _direct_imploded(X,V).
_expression(implode,E) :- _direct_implode(E).
_direct_implode(X) :- _direct_implode(E), _expression_tupleIndex(implode,E,IDX,X).
_direct_implodeTupleAux(E,N,()) :- _direct_implode(E), _expression_tupleLength(implode,E,N).
_direct_implodeTupleAux(E,IDX,(V,L)) :- _direct_implodeTupleAux(E,IDX+1,L), _expression_tupleIndex(implode,E,IDX,X), _direct_imploded(X,V).
_direct_imploded(E,TUPLE) :- _direct_implodeTupleAux(E,0,L), TUPLE=@pythonReflect(function,(),L).

_expression(implode,E) :- _direct_explode(E).
_direct_explode(X) :- _direct_explode(E), _expression_tupleIndex(implode,E,IDX,X).
_direct_exploded(V,V) :- _direct_explode(V), V=(bad;val(T,W)).
_direct_explodeTupleAux(E,N,()) :- _direct_explode(E), _expression_tupleLength(implode,E,N).
_direct_explodeTupleAux(E,IDX,(V,L)) :- _direct_explodeTupleAux(E,IDX+1,L), _expression_tupleIndex(implode,E,IDX,X), _direct_exploded(X,V).
_direct_exploded(E,TUPLE) :- _direct_explodeTupleAux(E,0,L), TUPLE=@pythonReflect(function,(),L).
4 changes: 2 additions & 2 deletions src/constraint_handler/data/6_solve/compile/float.lp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ _operator_needsPython(OP,T1,T2) :- operator_declare(OP,(T1,(T2,())),T), (T1;T2)=
_operator_needsPython(OP,T1,T2) :- (T1,T2)=((float,int);(int,float)), OP=(eq;neq).
_operator_needsPython(float_div,int,int).

_expression_pythonEval(E,operation(OP,(val(T,V),()))) :- _computeIdx(E,OP), _operator_needsPython(OP,T), _computeIdx(E,0,val(T,V)).
_expression_pythonEval(E,operation(OP,(val(T1,V1),(val(T2,V2),())))) :- _computeIdx(E,OP), _operator_needsPython(OP,T1,T2), _computeIdx(E,0,val(T1,V1)), _computeIdx(E,1,val(T2,V2)).
_python_evaluate(E,operation(OP,(val(T,V),())),()) :- _computeIdx(E,OP), _operator_needsPython(OP,T), _computeIdx(E,0,val(T,V)).
_python_evaluate(E,operation(OP,(val(T1,V1),(val(T2,V2),()))),()) :- _computeIdx(E,OP), _operator_needsPython(OP,T1,T2), _computeIdx(E,0,val(T1,V1)), _computeIdx(E,1,val(T2,V2)).

_computedIdx(E,val(bool,true)) :- _computeIdx(E,eq), _computeIdx(E,0,val(float,V)), _computeIdx(E,1,val(float,V)).
_computedIdx(E,val(bool,false)) :- _computeIdx(E,eq), _computeIdx(E,0,val(float,_)), _computeIdx(E,1,val(float,V)), not _computeIdx(E,0,val(float,V)).
Expand Down
11 changes: 11 additions & 0 deletions src/constraint_handler/data/6_solve/compile/python.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
_python_evaluated(Q,M,RES) :- _python_evaluate(Q,E,M), RES=@pythonEvalExpr(E,M,ID), _main_solverIdentifiers(ID).
_python_result(E,V) :- _python_evaluated(E,M,valid(V)).
_python_result(E,bad) :- _python_evaluated(E,M,error(KIND,MSG)).
_warning(KIND,(),(python,E,MSG)) :- _python_evaluated(E,M,error(KIND,MSG)).

_direct_explode(V) :- _python_result(E,V).
_se_value(E,V) :- _python_result(E,V), V=(bad;val(T,W)).
_se_value(E,V) :- _python_result(E,RV), _expression_tupleLength(implode,RV,N), _direct_exploded(RV,V).
_se_value(E,ref(set,E)) :- _python_result(E,set(L)).
_set_candidate(E,V) :- _python_result(E,set(L)), RV=@pythonListElements(L), _direct_exploded(RV,V).
_direct_imploded(ref(set,E),set(L)) :- _python_result(E,set(L)).
27 changes: 15 additions & 12 deletions src/constraint_handler/data/6_solve/compile/set.lp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ _set_assign(variable(X),E) :- _passed(compile,LBL,set_assign(X,E,C)), _se_value(
_se_value(variable(X),ref(set,variable(X))) :- _passed(compile,LBL,variable_declare(X,set,C)), _se_value(C,val(bool,true)).

direct_query(E) :- _set_assign(X,E).
_set_candidate(R,V) :- _set_assign(R,E), _se_value(E,V).

%%%%%%%%%%%%%%%%% cardinality
_computedIdx(E,val(int,N)) :- _computeIdx(E,cardinality), _computeIdx(E,0,ref(set,SET)),
Expand All @@ -10,13 +11,10 @@ _computedIdx(E,val(int,N)) :- _computeIdx(E,cardinality), _computeIdx(E,0,ref(se
%%%%%%%%%%%%%%%%% set_declare set_assign set_value

direct_query(operation(eq,(V1,(V2,())))) :-
_set_assign(EX,E1), _se_value(E1,V1),
_set_assign(EX,E2), _se_value(E2,V2), V1 < V2.
_set_candidate(EX,V1), _set_candidate(EX,V2), V1 < V2.
_set_contains(EX,V1) :-
_set_assign(EX,E1), _se_value(E1,V1), %_se_value(EX,ref(set,ER)),
#false : _set_assign(EX,E2), _se_value(E2,V2), _se_value(operation(eq,(V2,(V1,()))),val(bool,true)), V2 < V1.

_set_assign(EX,S) :- _set_assign(EX,ref(set,S)).
_set_candidate(EX,V1),
#false : _set_candidate(EX,V2), _se_value(operation(eq,(V2,(V1,()))),val(bool,true)), V2 < V1.

%%%%%%%%%%%%%%%%% set_isin set_notin
direct_query(operation(eq,(V1,(V2,())))) :- _computeIdx(E,(set_isin;set_notin)), _computeIdx(E,0,V1), _computeIdx(E,1,ref(set,S)),
Expand Down Expand Up @@ -51,21 +49,21 @@ _set_assign(set(L),SE) :- direct_query(set(L)), SE=@pythonListElements(L).

%%%%%%%%%%%%%%%%% union inter diff
_se_value(operation(OP,L),ref(set,operation(OP,L))) :- direct_query(operation(OP,L)), OP = (diff;inter;union).
_set_assign(operation(union,L),V) :- direct_query(operation(union,L)), SE=@pythonListElements(L), _se_value(SE,ref(set,ER)), _set_contains(ER,V).
_set_candidate(operation(union,L),V) :- direct_query(operation(union,L)), SE=@pythonListElements(L), _se_value(SE,ref(set,ER)), _set_contains(ER,V).

direct_query(operation(eq,(VSMALL,(VBIG,())))) :- direct_query(operation((diff;inter),(S1,(S2,())))),
_se_value(S1,ref(set,R1)), _se_value(S2,ref(set,R2)),
_set_contains(R1,V1),
_set_contains(R2,V2),
(VSMALL,VBIG)=((V1,V2);(V2,V1)), VSMALL <= VBIG.

_set_assign(operation(inter,(S1,(S2,()))),VSMALL) :- direct_query(operation(inter,(S1,(S2,())))),
_set_candidate(operation(inter,(S1,(S2,()))),VSMALL) :- direct_query(operation(inter,(S1,(S2,())))),
_se_value(S1,ref(set,R1)), _se_value(S2,ref(set,R2)),
_set_contains(R1,V1),
_set_contains(R2,V2), _se_value(operation(eq,(VSMALL,(VBIG,()))),val(bool,true)),
(VSMALL,VBIG)=((V1,V2);(V2,V1)), VSMALL <= VBIG.

_set_assign(operation(diff,(S1,(S2,()))),V1) :- direct_query(operation(diff,(S1,(S2,())))),
_set_candidate(operation(diff,(S1,(S2,()))),V1) :- direct_query(operation(diff,(S1,(S2,())))),
_se_value(S1,ref(set,R1)), _se_value(S2,ref(set,R2)),
_set_contains(R1,V1),
#false : _set_contains(R2,V2), _se_value(operation(eq,(VSMALL,(VBIG,()))),val(bool,true)),
Expand Down Expand Up @@ -164,10 +162,15 @@ _set_implode(REF) :- _direct_implode(E), _se_value(E,ref(set,REF)).
_direct_imploded(ref(set,REF),V) :- _direct_implode(ref(set,REF)), _set_imploded(REF,V).
_direct_imploded(E,V) :- _direct_implode(E), _se_value(E,ref(set,REF)), _set_imploded(REF,V).

_direct_implode(val(TV,RV)) :- _set_implode(EM), _set_contains(EM,val(TV,RV)).
_direct_implode(V) :- _set_implode(EM), _set_contains(EM,V).
_set_makeIndex(EM) :- _set_implode(EM).
_set_as_list_aux(EM,0,()) :- _set_implode(EM).
_set_as_list_aux(EM,IDX+1,(V,L)) :- _set_as_list_aux(EM,IDX,L), _set_index(EM,IDX,val(TV,RV)), _direct_imploded(val(TV,RV),V).
_set_as_list_aux(EM,IDX+1,(V,L)) :- _set_as_list_aux(EM,IDX,L), _set_index(EM,IDX,RV), _direct_imploded(RV,V).
_set_imploded(EM,set(L)) :- _set_as_list_aux(EM,IDX,L), _set_lastIndex(EM,IDX).

%_direct_imploded(E,E) :- _direct_implode(E), E = set(_).
_direct_imploded(set(L),set(L)) :- _direct_implode(set(L)).

_direct_explode(V) :- _direct_explode(set(L)), V=@pythonListElements(L).
_direct_exploded(set(L),ref(set,set(L))) :- _direct_explode(set(L)).
_set_contains(set(L),V) :- _direct_explode(set(L)), RV=@pythonListElements(L), _direct_exploded(RV,V).
_direct_imploded(ref(set,set(L)),set(L)) :- _direct_explode(set(L)).
22 changes: 11 additions & 11 deletions src/constraint_handler/data/6_solve/compile2/tuple.lp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
_tuple_value_index(Tuple, TupleValue, Idx, Value) :-
_se_value(Tuple, TupleValue),
_tuple_domain_index(Tuple, TupleValue, Idx, Value) :-
_se_domain(Tuple, TupleValue),
_expression_tupleIndex(compile2, Tuple, Idx, _),
(function, (), _, Args) = @pythonReify(TupleValue),
(Idx, Value) = @pythonEnumerateElements(Args).

_tuple_set_component(Tuple, TupleValue, Idx, Arg, SetValue) :-
_tuple_value_index(Tuple, TupleValue, Idx, SetValue),
_tuple_domain_index(Tuple, TupleValue, Idx, SetValue),
_expression_tupleIndex(compile2, Tuple, Idx, Arg),
_se_is_set(Arg).

Expand All @@ -17,28 +17,28 @@ _tuple_set_value_matches_uid(Arg, SetValue, Uid) :-
_tuple_set_component(_, _, _, Arg, SetValue),
_se_set_domain_symbol(Arg, Uid, SetValue).

:-
_tuple_value_index(Tuple, TupleValue, Idx, Value),
:- _se_value(Tuple, TupleValue),
_tuple_domain_index(Tuple, TupleValue, Idx, Value),
_expression_tupleIndex(compile2, Tuple, Idx, Arg),
not _se_is_set(Arg),
not _se_value(Arg, Value).

:-
_tuple_value_index(Tuple, TupleValue, Idx, SetValue),
:- _se_value(Tuple, TupleValue),
_tuple_domain_index(Tuple, TupleValue, Idx, SetValue),
_expression_tupleIndex(compile2, Tuple, Idx, Arg),
_se_is_set(Arg),
not _tuple_set_value_matches_uid(Arg, SetValue, _).

:-
_tuple_value_index(Tuple, TupleValue, Idx, SetValue),
:- _se_value(Tuple, TupleValue),
_tuple_domain_index(Tuple, TupleValue, Idx, SetValue),
_expression_tupleIndex(compile2, Tuple, Idx, Arg),
_se_is_set(Arg),
_tuple_set_value_matches_uid(Arg, SetValue, Uid),
_se_set_domain(Uid, pos, Value),
not _set_contains(Arg, Value).

:-
_tuple_value_index(Tuple, TupleValue, Idx, SetValue),
:- _se_value(Tuple, TupleValue),
_tuple_domain_index(Tuple, TupleValue, Idx, SetValue),
_expression_tupleIndex(compile2, Tuple, Idx, Arg),
_se_is_set(Arg),
_tuple_set_value_matches_uid(Arg, SetValue, Uid),
Expand Down
3 changes: 1 addition & 2 deletions src/constraint_handler/data/6_solve/finiteDomain.lp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ _passed(ground,LBL,variable_define(X,E,val(bool,true))) :- _finiteDomain_variabl
_passed(ground,LBL,ensure(operation(neq,(variable(X),(E,()))))) :- _finiteDomain_variable(ground,LBL,X), not _variable_guess(X,IDX), _variable_indexedDomain(X,E,IDX).
*%

1 { _se_value(variable(X),V) : _passed(compile,LBL1,variable_domain(X,E,C)), _se_value(C,val(bool,true)), _se_value(E,V);
_ge_assign(X,V) : _passed(ground,LBL1,variable_domain(X,E,C)), _se_value(C,val(bool,true)), _se_value(E,V);
1 { _se_value(variable(X),V) : _passed((compile;ground),LBL1,variable_domain(X,E,C)), _se_value(C,val(bool,true)), _se_value(E,V);
_variable_emptyDomain(X)
} 1 :-
_passed((compile;ground),LBL,variable_declare(X,fromFacts,COND)), _se_value(COND,val(bool,true)).
Expand Down
15 changes: 4 additions & 11 deletions src/constraint_handler/data/6_solve/ground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,21 @@ _passed(ground,LBL,variable_define/3).
_passed(ground,LBL,variable_domain/3).
_passed(ground,LBL,set_assign/3).
_passed(ground,LBL,share_value/1).
_se_value/2.
_direct_imploded/2.
_main_solverIdentifiers/1.

### Intermediate predicates

_expression(ground,EXPR).
_ge_set_assign/2.
_ge_set_declare/1.
ge_value/2.
_variable(ground,VAR).
_ge_setAssignsAux/3.
_ge_setAssigns/2.
_ge_eval_expression/1.
_ge_enumeratedVariables/2.
_ge_mapAux/3.
_ge_mapped/2.
_ge_eval_exec/3.
ge_result/2.

### Output predicates

_ge_assign/2.
_se_value/2.
_set_assign/2.
_python_evaluate/3.
_set_candidate/2.
_direct_implode/1.
_warning/3.
Loading
Loading