Преглед на файлове

Explications sur les règles de typage de booléens

Thibaut Marty преди 7 години
родител
ревизия
5138b7726f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      dm.tex

+ 1 - 1
dm.tex

@@ -222,7 +222,7 @@ Condition
   \inference{\Gamma \vdash b & \Gamma \vdash S_1 & \Gamma \vdash S_2}{\Gamma \vdash \<if>\ b\ \<then>\ S_1\ \<else>\ S_2}
 \]
 
-Booleans
+As the booleans expressions can contain expressions which can contain variables, they are not necessarily well typed. Hence we need to define typing rules on booleans:
 \[
   \inference{}{\Gamma \vdash \<true>}
 \]