{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from IPython.display import display, HTML\n", "import spot\n", "from spot.jupyter import display_inline # display multiple arguments side-by-side\n", "import buddy\n", "spot.setup(show_default='.tvb')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Anatomy of a product\n", "\n", "In this notebook, we write a Python function that constructs the product of two automata.\n", "\n", "This is obviously not a new feature: Spot can already make a product of two automata using its `product()` function. \n", "For instance:" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "