Skip to content

Printer crashes on last goal generated by phoare seq #755

Closed

Description

@oskgo

The following code crashes while printing the final goal:

require import Real.

module M = {
  proc p(b:bool) = {}
}.

lemma L:
  forall &m, phoare[M.p: true ==> true] = 1%r.
proof.
move => &m.
proc*.
seq 1: (true) Pr[M.p(b) @ &m : true] Pr[M.p(b)@&m: true] 0%r _; 1..4: admit.

The error you get after interrupting it is:

[error-0-0]anomaly: File "src/ecCoreSubst.ml", line 149, characters 2-8: Assertion failed

forall &hr, true => [8|check]>
interrupted

Activity

  1. oskgo commented on Oct 29, 2025

    @oskgo
    ContributorAuthor

    No longer reproduces. Probably fixed by #789.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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