**********************
Subprogram Contracts
**********************

.. container:: PRELUDE BEGIN

.. container:: PRELUDE ROLES

.. role:: ada(code)
    :language: Ada

.. role:: C(code)
    :language: C

.. role:: cpp(code)
    :language: C++

.. role:: rust(code)
    :language: Rust

.. container:: PRELUDE SYMBOLS

.. |rightarrow| replace:: :math:`\rightarrow`
.. |forall| replace:: :math:`\forall`
.. |exists| replace:: :math:`\exists`
.. |equivalent| replace:: :math:`\iff`
.. |le| replace:: :math:`\le`
.. |ge| replace:: :math:`\ge`
.. |lt| replace:: :math:`<`
.. |gt| replace:: :math:`>`
.. |checkmark| replace:: :math:`\checkmark`

.. container:: PRELUDE END

.. include:: 080_subprogram_contracts/01-introduction.rst
.. include:: 080_subprogram_contracts/02-frame_condition.rst
.. include:: 080_subprogram_contracts/03-contracts_by_cases.rst
.. include:: 080_subprogram_contracts/04-contracts_and_refinement.rst
.. include:: 080_subprogram_contracts/05-preventing_unsoundness.rst
.. include:: 080_subprogram_contracts/06-quiz.rst
.. include:: 080_subprogram_contracts/99-summary.rst
