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
In this case, the proof should be terminated with :cmd:`Defined` in order to define a constant
for which the computational behavior is relevant. See :ref:`proof-editing-mode`.
Limitations:
Qed is not respected by the kernel inside the section (although it is respected by most tactics)
Qed is fully equivalent to Defined after the section is closed
Demonstration:
Section S.
Let x : nat. Proof. exact 0. Qed.
Definition y := x.
Lemma foo : y = 0.
Proof.
Fail reflexivity.
exact_no_check (eq_refl 0).
Qed.
End S.
Eval cbv in y. (* 0 *)
The text was updated successfully, but these errors were encountered:
Current doc:
coq/doc/sphinx/language/core/sections.rst
Lines 66 to 67 in 4db1523
Limitations:
Demonstration:
The text was updated successfully, but these errors were encountered: