You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was happily accepted via version 2.10 but not with the current 2.11 nightly. @yav ?
$ more test.cry
module test where
parameter
type a : #
type constraint (fin a, a >= 1)
b : Z a
$ cryptol test.cry
┏━╸┏━┓╻ ╻┏━┓╺┳╸┏━┓╻
┃ ┣┳┛┗┳┛┣━┛ ┃ ┃ ┃┃
┗━╸╹┗╸ ╹ ╹ ╹ ┗━┛┗━╸
version 2.11.0.99
https://cryptol.net :? for help
Loading module Cryptol
Loading module test
[error] at test.cry:1:1--8:4:
Failed to validate user-specified signature.
in the definition of 'test::b', at test.cry:8:3--8:4,
we need to show that
for any type test::a
the following constraints hold:
• fin test::a
arising from
use of partial type function Cryptol::Z
at test.cry:8:7--8:10
• test::a >= 1
arising from
use of partial type function Cryptol::Z
at test.cry:8:7--8:10
Loading module Cryptol
Cryptol>
The text was updated successfully, but these errors were encountered:
This was happily accepted via version 2.10 but not with the current 2.11 nightly. @yav ?
The text was updated successfully, but these errors were encountered: