Skip to content

How to prove NoDup in name-parametrized modules? #14

@andres-erbsen-sifive

Description

code like

  Context (name : string).
  Local Open Scope kami_action.
  Local Open Scope kami_expr.
  Local Notation "@^ x" := (name ++ "_" ++ x)%string (at level 0).

  Definition SPI := MODULE {

leads to goals like goals like

NoDup
  [@^ ("hack_for_sequential_semantics"); @^ ("tx_fifo"); 
  @^ ("tx_fifo_len"); @^ ("rx_fifo"); @^ ("rx_fifo_len"); 
  @^ ("sck")]

which are almost decidable but not quite due to the prefix. do we have any automation for solving them? Documentation?

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