Skip to content

[problem_57.lean] Potential ambiguity in expression on L32 #62

@kmd710

Description

@kmd710

Hi,

I was looking at this line:

result ↔ ¬non_ordered;

I may be mistaken, but the expression 1 < numbers.length → result ↔ ¬non_ordered seems ambiguous regarding operator precedence without parentheses.

Could you clarify this by adding parentheses? For example:
(1 < numbers.length) → (result ↔ ¬non_ordered)

As a side note, when I tried adding the parentheses like this, I was able to get a solution in lean with unlimited vericoding (i.e., in an Agent mode without time limits).

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions