{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "e242e178-f985-4edd-be33-4a4a35ee0b8b", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
\n", "
--%cd .
\n", "
--% env 0
\n", "
\n", "
\n", " Raw input\n", " {\"cmd\": \"--%cd .\"}\n", "
\n", "
\n", " Raw output\n", " {\"env\": 0}\n", "
\n", " " ], "text/plain": [ "--%cd .\n", "--% env 0\n", "\n", "Raw input:\n", "{\"cmd\": \"--%cd .\"}\n", "Raw output:\n", "{\"env\": 0}" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "%cd ." ] }, { "cell_type": "code", "execution_count": 2, "id": "a3f6d8bf-4710-4d45-912e-ffd28639181c", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
\n", "
--%cd demo_proj
\n", "
import «DemoProj»
\n", "
--% env 0
\n", "
\n", "
\n", " Raw input\n", " {\"cmd\": \"--%cd demo_proj\\nimport \\u00abDemoProj\\u00bb\"}\n", "
\n", "
\n", " Raw output\n", " {\"env\": 0}\n", "
\n", " " ], "text/plain": [ "--%cd demo_proj\n", "import «DemoProj»\n", "--% env 0\n", "\n", "Raw input:\n", "{\"cmd\": \"--%cd demo_proj\\nimport \\u00abDemoProj\\u00bb\"}\n", "Raw output:\n", "{\"env\": 0}" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "%cd demo_proj\n", "import «DemoProj»" ] }, { "cell_type": "code", "execution_count": 3, "id": "31e5eec2-1eb3-4736-94d5-826fd0fd6d24", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
\n", "
CliffordAlgebra.{u_2, u_1} {R : Type u_1} [CommRing R] {M : Type u_2} [AddCommGroup M] [Module R M]\n", " (Q : QuadraticForm R M) : Type (max u_2 u_1)
\n", "
--% env 1
\n", "
\n", "
\n", " Raw input\n", " {\"cmd\": \"#check CliffordAlgebra\", \"env\": 0}\n", "
\n", "
\n", " Raw output\n", " {\"messages\":\r\n", " [{\"severity\": \"info\",\r\n", " \"pos\": {\"line\": 1, \"column\": 0},\r\n", " \"endPos\": {\"line\": 1, \"column\": 6},\r\n", " \"data\":\r\n", " \"CliffordAlgebra.{u_2, u_1} {R : Type u_1} [CommRing R] {M : Type u_2} [AddCommGroup M] [Module R M]\\n (Q : QuadraticForm R M) : Type (max u_2 u_1)\"}],\r\n", " \"env\": 1}\n", "
\n", " " ], "text/plain": [ "#check CliffordAlgebra\n", "──────▶ CliffordAlgebra.{u_2, u_1} {R : Type u_1} [CommRing R] {M : Type u_2} [AddCommGroup M] [Module R M]\n", " (Q : QuadraticForm R M) : Type (max u_2 u_1)\n", "--% env 1\n", "\n", "Raw input:\n", "{\"cmd\": \"#check CliffordAlgebra\", \"env\": 0}\n", "Raw output:\n", "{\"messages\":\r\n", " [{\"severity\": \"info\",\r\n", " \"pos\": {\"line\": 1, \"column\": 0},\r\n", " \"endPos\": {\"line\": 1, \"column\": 6},\r\n", " \"data\":\r\n", " \"CliffordAlgebra.{u_2, u_1} {R : Type u_1} [CommRing R] {M : Type u_2} [AddCommGroup M] [Module R M]\\n (Q : QuadraticForm R M) : Type (max u_2 u_1)\"}],\r\n", " \"env\": 1}" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "#check CliffordAlgebra" ] } ], "metadata": { "kernelspec": { "display_name": "Lean 4", "language": "lean4", "name": "lean4" }, "language_info": { "codemirror_mode": "python", "file_extension": ".lean", "mimetype": "text/x-lean4", "name": "lean4" } }, "nbformat": 4, "nbformat_minor": 5 }