Add FramaC TDM
This commit is contained in:
parent
713e8d12c4
commit
56e86b4b20
9 changed files with 606 additions and 0 deletions
67
content/conception_formelle/99-DM_framac/sty/macro.sty
Normal file
67
content/conception_formelle/99-DM_framac/sty/macro.sty
Normal file
|
@ -0,0 +1,67 @@
|
|||
\usepackage[utf8x]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[french]{babel}
|
||||
\usepackage{amsmath, amsthm, amsfonts, amssymb}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{vmargin}
|
||||
\usepackage{url}
|
||||
\usepackage{listings}
|
||||
\usepackage{stmaryrd}
|
||||
|
||||
\lstdefinestyle{clang}{
|
||||
language=[ANSI]C,
|
||||
basicstyle=\ttfamily,
|
||||
keywordstyle=\color{blue},
|
||||
stringstyle=\color{brown},
|
||||
commentstyle=\bfseries\color{red},
|
||||
identifierstyle=\color{green!40!black}
|
||||
}
|
||||
|
||||
|
||||
\lstset{language=C,style=clang,numbers=left}
|
||||
|
||||
\usepackage{color}
|
||||
\usepackage[tikz]{bclogo}
|
||||
|
||||
%% Macros d'environnements utiles
|
||||
\newtheorem{exemple}{Exemple}[section]
|
||||
\newtheorem{definition}[exemple]{D\'efinition}
|
||||
\newtheorem{theoreme}[exemple]{Th\'eor\`eme}
|
||||
\newtheorem{lemme}[exemple]{Lemme}
|
||||
\newtheorem{corollaire}[exemple]{Corollaire}
|
||||
\newtheorem{propriete}[exemple]{Propri\'et\'e}
|
||||
\newtheorem{probleme}[exemple]{Probl\`eme}
|
||||
\newtheorem{remarque}[exemple]{Remarque}
|
||||
\newtheorem{conjecture}[exemple]{Conjecture}
|
||||
\newtheorem{exercice}[exemple]{Exercice}
|
||||
\newtheorem{proposition}[exemple]{Proposition}
|
||||
\newtheorem{notation}[exemple]{Notation}
|
||||
|
||||
\newcounter{numExercice}
|
||||
|
||||
\newcommand{\Z}{\mathbb{Z}}
|
||||
|
||||
\newcommand{\Var}{\mathrm{Var}}
|
||||
\newcommand{\Arith}{\mathrm{Arith}}
|
||||
\newcommand{\Test}{\mathrm{Test}}
|
||||
\newcommand{\MemSet}{\mathbb{M}}
|
||||
\newcommand{\memory}{\mathcal{M}}
|
||||
\newcommand{\eval}[2]{\llbracket#1\rrbracket_{#2}}
|
||||
\newcommand{\Comp}{\mathrm{Comp}}
|
||||
\newcommand{\Guard}{\mathrm{Guard}}
|
||||
|
||||
\newcommand{\Csimple}{\mathrm{C}_1}
|
||||
\newcommand{\Cboucles}{\mathrm{C}_2}
|
||||
|
||||
\newcommand{\ArithP}{\mathrm{Arith_P}}
|
||||
|
||||
\newcommand{\WP}{\mathrm{WP}}
|
||||
\newcommand{\WLP}{\mathrm{WLP}}
|
||||
|
||||
\newcommand{\code}[1]{\text{\lstinline{#1}}}
|
||||
|
||||
\newcommand{\result}{\backslash\text{\lstinline{result}}}
|
||||
\newcommand{\old}{\mathrm{old}}
|
||||
\newcommand{\atp}{\mathrm{at}}
|
||||
|
||||
\newcommand{\triplet}[3]{\{#2\}#1\{#3\}}
|
Loading…
Add table
Add a link
Reference in a new issue