Skip to content

Replace fully axiomatic Seq with a model #986

@tchajed

Description

@tchajed

The following datatype should be adequate as a model for all of the sequence axioms:

#[verifier::accept_recursive_types(A)]
pub enum Seq<A> {
    Nil,
    Cons(A, Box<Seq<A>>),
}

We should use this as the model and prove the current set of axioms against it.

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