%%%[]
%%% 'ASP_to_CHR'([(bot:-not(a))],'test_35',all_answer_sets,'no_data')
:- use_module(library(chr)).
:- chr_constraint success/0, failure/0, supported_1/0, exclusion_1/0, launcher/0, next_it/1, cfc/1, clean_result/0, a/0, out_a/0.
success <=> true.
failure <=> fail.

a,out_a <=> fail.


%% bot:-not(a)
apply_constraint_1 @ supported_1,out_a<=>
   failure.
blocked_1 @ a \ supported_1<=>
   success.
necessity_1 @ supported_1<=>
   exclusion_1.
clean_exclusion_1 @ a \ exclusion_1<=>
   success.




next_it(_Profondeur), exclusion_1# passive <=> fail.

success @ next_it(_Profondeur) <=> clean_result, chr_show_store(user),  write("--"), nl, fail.

launcher <=> supported_1,
   next_it(0).

clean_result, out_a # passive <=> clean_result.
clean_result <=> true.




