{ "scope": "Synthetic finite-state research demonstrator; floating-point LP verification only.", "metric": "U_theta = Hausdorff_W1((1-theta)mu+theta P(M), (1-theta)nu+theta P(N))", "sharp_bounds": "max((1-theta)W1, theta*dH) <= U_theta <= (1-theta)W1+theta*dH", "analytical_cases": [ { "name": "rare_state_missed", "states": [ [ 0.0 ], [ 1.0 ] ], "distances": [ [ 0.0, 1.0 ], [ 1.0, 0.0 ] ], "mu": [ 0.999, 0.001 ], "nu": [ 1, 0 ], "M": [ 0, 1 ], "N": [ 0 ], "theta": 0.25, "W1": 0.0010000000000000009, "hausdorff": 1.0, "D_star": 1.0, "lower_bound": 0.25, "upper_bound": 0.25075000000000003, "expected_U": 0.25075, "U": 0.25075, "transport_witness": { "distance": 0.25075, "direction": "A_to_B", "extreme_index": 1, "source_distribution": [ 0.74925, 0.25075 ], "closest_target_distribution": [ 1.0, 0.0 ], "transport_target_indices": [ 0 ], "transport_plan": [ [ 0.74925 ], [ 0.25075 ] ], "directed_distances": { "A_to_B": 0.25075, "B_to_A": 0.00075 } }, "dual_witness": { "distance": 0.25075, "query": [ -0.0, 1.0 ], "risk_A": 0.25075, "risk_B": 0.0, "direction": "A_minus_B", "maximizer_M": 1, "maximizer_N": 0 }, "formulation_error": 0.0 }, { "name": "same_law_extra_possibility", "states": [ [ 0.0 ], [ 1.0 ] ], "distances": [ [ 0.0, 1.0 ], [ 1.0, 0.0 ] ], "mu": [ 1, 0 ], "nu": [ 1, 0 ], "M": [ 0, 1 ], "N": [ 0 ], "theta": 0.25, "W1": 0.0, "hausdorff": 1.0, "D_star": 1.0, "lower_bound": 0.25, "upper_bound": 0.25, "expected_U": 0.25, "U": 0.25, "transport_witness": { "distance": 0.25, "direction": "A_to_B", "extreme_index": 1, "source_distribution": [ 0.75, 0.25 ], "closest_target_distribution": [ 1.0, 0.0 ], "transport_target_indices": [ 0 ], "transport_plan": [ [ 0.75 ], [ 0.25 ] ], "directed_distances": { "A_to_B": 0.25, "B_to_A": 0.0 } }, "dual_witness": { "distance": 0.25, "query": [ -0.0, 1.0 ], "risk_A": 0.25, "risk_B": 0.0, "direction": "A_minus_B", "maximizer_M": 1, "maximizer_N": 0 }, "formulation_error": 0.0 }, { "name": "constant_vs_alternating_paths_equal_marginals", "states": [ [ 0.0, 0.0 ], [ 0.0, 1.0 ], [ 1.0, 0.0 ], [ 1.0, 1.0 ] ], "distances": [ [ 0.0, 1.0, 1.0, 2.0 ], [ 1.0, 0.0, 2.0, 1.0 ], [ 1.0, 2.0, 0.0, 1.0 ], [ 2.0, 1.0, 1.0, 0.0 ] ], "mu": [ 0.5, 0, 0, 0.5 ], "nu": [ 0, 0.5, 0.5, 0 ], "M": [ 0, 3 ], "N": [ 1, 2 ], "theta": 0.25, "W1": 1.0, "hausdorff": 1.0, "D_star": 1.0, "lower_bound": 0.75, "upper_bound": 1.0, "expected_U": 1.0, "U": 1.0, "transport_witness": { "distance": 1.0, "direction": "A_to_B", "extreme_index": 0, "source_distribution": [ 0.625, 0.0, 0.0, 0.375 ], "closest_target_distribution": [ 0.0, 0.625, 0.375, 0.0 ], "transport_target_indices": [ 1, 2 ], "transport_plan": [ [ 0.625, 0.0 ], [ -0.0, 0.0 ], [ 0.0, -0.0 ], [ -0.0, 0.375 ] ], "directed_distances": { "A_to_B": 1.0, "B_to_A": 1.0 } }, "dual_witness": { "distance": 1.0, "query": [ -0.0, -1.0, -1.0, -0.0 ], "risk_A": 0.0, "risk_B": -1.0, "direction": "A_minus_B", "maximizer_M": 0, "maximizer_N": 1 }, "formulation_error": 0.0, "coordinate_one_marginals": [ { "mu": 0.5, "nu": 0.5 }, { "mu": 0.5, "nu": 0.5 } ] }, { "name": "shared_path_law_fixed_vs_rectangular_possibility", "states": [ [ 0.0, 0.0 ], [ 0.0, 1.0 ], [ 1.0, 0.0 ], [ 1.0, 1.0 ] ], "distances": [ [ 0.0, 1.0, 1.0, 2.0 ], [ 1.0, 0.0, 2.0, 1.0 ], [ 1.0, 2.0, 0.0, 1.0 ], [ 2.0, 1.0, 1.0, 0.0 ] ], "mu": [ 0.5, 0, 0, 0.5 ], "nu": [ 0.5, 0, 0, 0.5 ], "M": [ 0, 3 ], "N": [ 0, 1, 2, 3 ], "theta": 0.25, "W1": 0.0, "hausdorff": 1.0, "D_star": 1.0, "lower_bound": 0.25, "upper_bound": 0.25, "expected_U": 0.25, "U": 0.25, "transport_witness": { "distance": 0.25, "direction": "B_to_A", "extreme_index": 1, "source_distribution": [ 0.375, 0.25, 0.0, 0.375 ], "closest_target_distribution": [ 0.625, 0.0, 0.0, 0.375 ], "transport_target_indices": [ 0, 3 ], "transport_plan": [ [ 0.375, 0.0 ], [ 0.25, 0.0 ], [ -0.0, 0.0 ], [ 0.0, 0.375 ] ], "directed_distances": { "A_to_B": 0.0, "B_to_A": 0.25 } }, "dual_witness": { "distance": 0.25, "query": [ -0.0, 1.0, -1.0, -0.0 ], "risk_A": 0.0, "risk_B": 0.25, "direction": "B_minus_A", "maximizer_M": 0, "maximizer_N": 1 }, "formulation_error": 0.0, "coordinate_one_marginals": [ { "mu": 0.5, "nu": 0.5 }, { "mu": 0.5, "nu": 0.5 } ] }, { "name": "same_possibility_set_probability_shift", "states": [ [ 0.0 ], [ 1.0 ], [ 3.0 ] ], "distances": [ [ 0.0, 1.0, 3.0 ], [ 1.0, 0.0, 2.0 ], [ 3.0, 2.0, 0.0 ] ], "mu": [ 0.8, 0.2, 0 ], "nu": [ 0.2, 0.3, 0.5 ], "M": [ 0, 1, 2 ], "N": [ 0, 1, 2 ], "theta": 0.25, "W1": 1.6, "hausdorff": 0.0, "D_star": 1.6, "lower_bound": 1.2000000000000002, "upper_bound": 1.2000000000000002, "expected_U": 1.2000000000000002, "U": 1.2, "transport_witness": { "distance": 1.2, "direction": "A_to_B", "extreme_index": 0, "source_distribution": [ 0.8500000000000001, 0.15000000000000002, 0.0 ], "closest_target_distribution": [ 0.40000000000000013, 0.22499999999999998, 0.375 ], "transport_target_indices": [ 0, 1, 2 ], "transport_plan": [ [ 0.40000000000000013, 0.22499999999999998, 0.22499999999999998 ], [ 0.0, 0.0, 0.15000000000000002 ], [ 0.0, 0.0, -0.0 ] ], "directed_distances": { "A_to_B": 1.2, "B_to_A": 1.2000000000000002 } }, "dual_witness": { "distance": 1.2000000000000002, "query": [ -0.0, -1.0, -3.0 ], "risk_A": -0.15000000000000002, "risk_B": -1.35, "direction": "A_minus_B", "maximizer_M": 0, "maximizer_N": 0 }, "formulation_error": 2.220446049250313e-16 }, { "name": "sharp_joint_lower_bound", "states": [ [ 0.0 ], [ 1.0 ], [ 2.0 ] ], "distances": [ [ 0.0, 1.0, 2.0 ], [ 1.0, 0.0, 1.0 ], [ 2.0, 1.0, 0.0 ] ], "mu": [ 0.5, 0, 0.5 ], "nu": [ 0, 0, 1 ], "M": [ 0, 1, 2 ], "N": [ 0, 2 ], "theta": 0.5, "W1": 1.0, "hausdorff": 1.0, "D_star": 1.0, "lower_bound": 0.5, "upper_bound": 1.0, "expected_U": 0.5, "U": 0.5, "transport_witness": { "distance": 0.5, "direction": "A_to_B", "extreme_index": 0, "source_distribution": [ 0.75, 0.0, 0.25 ], "closest_target_distribution": [ 0.5, 0.0, 0.5 ], "transport_target_indices": [ 0, 2 ], "transport_plan": [ [ 0.5, 0.25 ], [ 0.0, -0.0 ], [ 0.0, 0.25 ] ], "directed_distances": { "A_to_B": 0.5, "B_to_A": 0.5 } }, "dual_witness": { "distance": 0.5, "query": [ -0.0, -1.0, -2.0 ], "risk_A": -0.5, "risk_B": -1.0, "direction": "A_minus_B", "maximizer_M": 0, "maximizer_N": 0 }, "formulation_error": 0.0 } ], "random_checks": { "seed": 19062026, "cases": 60, "states_per_case": "2 to 5", "independent_LP_comparisons": 60, "max_formulation_disagreement": 2.220446049250313e-16, "minimum_lower_bound_slack": -2.220446049250313e-16, "minimum_upper_bound_slack": -2.220446049250313e-16, "all_checks_passed": true }, "validation_checks": { "invalid_inputs_rejected": 7, "all_checks_passed": true } }