

==============================================


Model Symbols:
{'counterfactual': {'x0': {'lower_bound': 0,
                           'symbol': x0_counterfactual,
                           'upper_bound': 1},
                    'x1_cat_0': {'lower_bound': 0,
                                 'symbol': x1_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x1_cat_1': {'lower_bound': 0,
                                 'symbol': x1_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x1_cat_2': {'lower_bound': 0,
                                 'symbol': x1_cat_2_counterfactual,
                                 'upper_bound': 1},
                    'x1_cat_3': {'lower_bound': 0,
                                 'symbol': x1_cat_3_counterfactual,
                                 'upper_bound': 1},
                    'x2_cat_0': {'lower_bound': 0,
                                 'symbol': x2_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x2_cat_1': {'lower_bound': 0,
                                 'symbol': x2_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x3_cat_0': {'lower_bound': 0,
                                 'symbol': x3_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x3_cat_1': {'lower_bound': 0,
                                 'symbol': x3_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x4_cat_0': {'lower_bound': 0,
                                 'symbol': x4_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x4_cat_1': {'lower_bound': 0,
                                 'symbol': x4_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_0': {'lower_bound': 0,
                                 'symbol': x5_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_1': {'lower_bound': 0,
                                 'symbol': x5_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_2': {'lower_bound': 0,
                                 'symbol': x5_cat_2_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_3': {'lower_bound': 0,
                                 'symbol': x5_cat_3_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_4': {'lower_bound': 0,
                                 'symbol': x5_cat_4_counterfactual,
                                 'upper_bound': 1},
                    'x6': {'lower_bound': 0,
                           'symbol': x6_counterfactual,
                           'upper_bound': 1},
                    'x7': {'lower_bound': 0.0,
                           'symbol': x7_counterfactual,
                           'upper_bound': 1.0},
                    'x8': {'lower_bound': 0.0,
                           'symbol': x8_counterfactual,
                           'upper_bound': 1.0}},
 'interventional': {'x0': {'lower_bound': 0,
                           'symbol': x0_interventional,
                           'upper_bound': 1},
                    'x1_cat_0': {'lower_bound': 0,
                                 'symbol': x1_cat_0_interventional,
                                 'upper_bound': 1},
                    'x1_cat_1': {'lower_bound': 0,
                                 'symbol': x1_cat_1_interventional,
                                 'upper_bound': 1},
                    'x1_cat_2': {'lower_bound': 0,
                                 'symbol': x1_cat_2_interventional,
                                 'upper_bound': 1},
                    'x1_cat_3': {'lower_bound': 0,
                                 'symbol': x1_cat_3_interventional,
                                 'upper_bound': 1},
                    'x2_cat_0': {'lower_bound': 0,
                                 'symbol': x2_cat_0_interventional,
                                 'upper_bound': 1},
                    'x2_cat_1': {'lower_bound': 0,
                                 'symbol': x2_cat_1_interventional,
                                 'upper_bound': 1},
                    'x3_cat_0': {'lower_bound': 0,
                                 'symbol': x3_cat_0_interventional,
                                 'upper_bound': 1},
                    'x3_cat_1': {'lower_bound': 0,
                                 'symbol': x3_cat_1_interventional,
                                 'upper_bound': 1},
                    'x4_cat_0': {'lower_bound': 0,
                                 'symbol': x4_cat_0_interventional,
                                 'upper_bound': 1},
                    'x4_cat_1': {'lower_bound': 0,
                                 'symbol': x4_cat_1_interventional,
                                 'upper_bound': 1},
                    'x5_cat_0': {'lower_bound': 0,
                                 'symbol': x5_cat_0_interventional,
                                 'upper_bound': 1},
                    'x5_cat_1': {'lower_bound': 0,
                                 'symbol': x5_cat_1_interventional,
                                 'upper_bound': 1},
                    'x5_cat_2': {'lower_bound': 0,
                                 'symbol': x5_cat_2_interventional,
                                 'upper_bound': 1},
                    'x5_cat_3': {'lower_bound': 0,
                                 'symbol': x5_cat_3_interventional,
                                 'upper_bound': 1},
                    'x5_cat_4': {'lower_bound': 0,
                                 'symbol': x5_cat_4_interventional,
                                 'upper_bound': 1},
                    'x6': {'lower_bound': 0,
                           'symbol': x6_interventional,
                           'upper_bound': 1},
                    'x7': {'lower_bound': 0.0,
                           'symbol': x7_interventional,
                           'upper_bound': 1.0},
                    'x8': {'lower_bound': 0.0,
                           'symbol': x8_interventional,
                           'upper_bound': 1.0}},
 'output': {'y': {'symbol': y}}}
Constructing initial formulas: model, counterfactual, distance, plausibility, diversity		done.
Solving (not searching) for closest counterfactual using various distance thresholds...
	Iteration #001: testing norm threshold 1.500000 in range [0.000000, 3.000000]...	solution exists & found.
	Iteration #002: testing norm threshold 0.139467 in range [0.000000, 0.278935]...	solution exists & found.
	Iteration #003: testing norm threshold 0.069734 in range [0.000000, 0.139467]...	solution exists & found.
	Iteration #004: testing norm threshold 0.026554 in range [0.000000, 0.053108]...	solution exists & found.
	Iteration #005: testing norm threshold 0.013277 in range [0.000000, 0.026554]...	solution exists & found.
	Iteration #006: testing norm threshold 0.006639 in range [0.000000, 0.013277]...	solution exists & found.
	Iteration #007: testing norm threshold 0.003319 in range [0.000000, 0.006639]...	solution exists & found.
	Iteration #008: testing norm threshold 0.001170 in range [0.000000, 0.002340]...	solution exists & found.
	Iteration #009: testing norm threshold 0.000585 in range [0.000000, 0.001170]...	solution exists & found.
	Iteration #010: testing norm threshold 0.000293 in range [0.000000, 0.000585]...	solution exists & found.
	Iteration #011: testing norm threshold 0.000146 in range [0.000000, 0.000293]...	solution exists & found.
	Iteration #012: testing norm threshold 0.000073 in range [0.000000, 0.000146]...	solution exists & found.
	Iteration #013: testing norm threshold 0.000037 in range [0.000000, 0.000073]...	solution exists & found.
	Iteration #014: testing norm threshold 0.000018 in range [0.000000, 0.000037]...	solution exists & found.
	Iteration #015: testing norm threshold 0.000005 in range [0.000000, 0.000011]...	solution exists & found.


Factual sample: 		 {x0 : 0.0, x1_cat_0 : 1.0, x1_cat_1 : 0.0, x1_cat_2 : 0.0, x1_cat_3 : 0.0, x2_cat_0 : 1.0, x2_cat_1 : 0.0, x3_cat_0 : 1.0, x3_cat_1 : 0.0, x4_cat_0 : 1.0, x4_cat_1 : 0.0, x5_cat_0 : 0.0, x5_cat_1 : 0.0, x5_cat_2 : 0.0, x5_cat_3 : 0.0, x5_cat_4 : 1.0, x6 : 0.0, x7 : 0.6111111111111112, x8 : 0.46153846153846156, y: False}
Nearest counterfactual sample:	 {x0 : 0, x1_cat_0 : 1, x1_cat_1 : 0, x1_cat_2 : 0, x1_cat_3 : 0, x2_cat_0 : 1, x2_cat_1 : 0, x3_cat_0 : 1, x3_cat_1 : 0, x4_cat_0 : 1, x4_cat_1 : 0, x5_cat_0 : 0, x5_cat_1 : 0, x5_cat_2 : 0, x5_cat_3 : 0, x5_cat_4 : 1, x6 : 0, x7 : 0.6110864998695984, x8 : 0.4615138502969488, y: True} (verified)
Minimum counterfactual distance: 0.000005
