Skip to content

non-recursive fixpoint warning #24

@anton-trunov

Description

@anton-trunov
COQC solutions/SsrStyle_solutions.v
File "./solutions/SsrStyle_solutions.v", line 170, characters 0-90:
Warning: Not a truly recursive fixpoint. [non-recursive,fixpoints]
     = true
     : bool
     = false
     : bool

And indeed gorgeous_b is defined using Fixpoint vernacular but it's not recursive:

Fixpoint gorgeous_b n : bool := match n with
 | 1 | 2 | 4 | 7 => false
 | _ => true
 end.

A quick search did not reveal if this was intentional, so feel free to close.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions