{'fraction_non_alphanumeric': 0.023696682464454975, 'fraction_numerical': 0.0, 'mean_word_length': 4.868055555555555, '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}}
Logical definition of analogical proportion and its fuzzy extensions

An analogical proportion is a statement of the form "A is to B as C is to D". In a logical setting, items A,B,C and D are Boolean vectors. This notion is at the core of analogical reasoning. This paper proposes a sound definition of analogical proportion, based on a logical expression that holds true for each vector component if and only if the analogical proportion holds true. The analogical equation, where D is unknown, is also discussed. The logical expression of the analogical proportion has several equivalent forms, which may lead to distinct extensions when the vector components takes its values in the unit interval, depending on the choice of the multiple-valued connectives. Applications to case-based and approximate reasoning, and to learning are outlined.