{'fraction_non_alphanumeric': 0.011378002528445006, 'fraction_numerical': 0.0, 'mean_word_length': 5.1395348837209305, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
The Strong Law of Demand

We show that a demand function is derived from maximizing a quasilinear utility function subject to a budget constraint if and only if the demand function is cyclically monotone. On finite data sets consisting of pairs of market prices and consumption vectors, this result is equivalent to a solution of the Afriat inequalities where all the marginal utilities of income are equal. We explore the implications of these results for maximization of a random quasilinear utility function subject to a budget constraint and for representative agent general equilibrium models. The duality theory for cyclically monotone demand is developed using the Legendre-Fenchel transform. In this setting, a consumer's surplus is measured by the conjugate of her utility function.