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
{{ message }}
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
The manual says that definitions are equivalent to axioms. However, the following verifies, and when the definition is changed to an axiom, it gets a syntax error for assigning to a function used in an axiom:
function f(T:bool) : bool definition f(T:bool) = T after init { f(T) := false; }
I assume that definitions should give the same error.
Moreover, if you add an assertion at the end of the initializer above, ivy_check gets an AssertionError.
The text was updated successfully, but these errors were encountered:
The manual says that definitions are equivalent to axioms. However, the following verifies, and when the definition is changed to an axiom, it gets a syntax error for assigning to a function used in an axiom:
function f(T:bool) : bool definition f(T:bool) = T after init { f(T) := false; }
I assume that definitions should give the same error.
Moreover, if you add an assertion at the end of the initializer above, ivy_check gets an AssertionError.
The text was updated successfully, but these errors were encountered: