{'fraction_non_alphanumeric': 0.03314917127071823, 'fraction_numerical': 0.0011049723756906078, 'mean_word_length': 4.558282208588957, '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}}
Decidability and Confluence of \beta\eta\hboxtop_\le Reduction in F_\le

Abstract We contribute to the syntactic study of F≤, a variant of second-order λ-calculus F which appears as a paradigmatic kernel language for polymorphism and subtyping. The type system of F≤ has a maximum type Top and bounded quantification. We endow this language with the β-rules (for terms and types), to which we add η-rules (for terms and types) and a rule which equates all terms of type Top. These rules are suggested by the axiomatization of cartesian closed categories. We exhibit a weakly normalizing and confluent reduction system for this theory βη top≤, and show that it is decidable. It is also confluent, but decidability does not follow from confluence, since reduction is not effective. Our proofs rely on the confluence and decidability of a corresponding system on F1 (the extension of F with a terminal type).