Skip to content

Failure to instantiate inductive type with identical type #381

Closed

Description

@oskgo

Documenting the issue mentioned in #377.

The following code fails to unify the two nats with error type `nat` incompatible type declaration:

type nat = [O | S of nat].

theory Second.
  type nat = [O | S of nat].
end Second.

clone Second as Twost with
  type nat <- nat.

This also fails if the two types come from two different clones of the same theory.

Activity

  1. added a commit that references this issue on May 25, 2023
    a62942e
  2. added a commit that references this issue on May 25, 2023
    8f15fcb
  3. added a commit that references this issue on Jul 3, 2023
    271ed5c
  4. added a commit that references this issue on Jul 19, 2023
    562a732
  5. added a commit that references this issue on Sep 13, 2024
    8c25575
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions