79138536

Date: 2024-10-29 18:43:37
Score: 1
Natty:
Report link

Section 4.5.7 Conditional Expressions governing an if expression requires this result, as explained under dynamic semantics. In particular all of your predicates "are evaluated and yield False." As a result "the value of the if expression is True." An annotation elaborates: "Else is required unless the if expression has a boolean type, so the last sentence can only apply to if expression with a boolean type." See also In classical logic, why is (𝑝⇒𝑞) True if both 𝑝 and 𝑞 are False?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: trashgod