I am wondering how to type semantic rules shown in the following picture: enter image description here



proof part



  \UnaryInfC{$so, E, S \sststile{}{} 2: Int(2), S$}
  \UnaryInfC{$so, E[l_{new}/x], S[Int(2)/l_{new}] \sststile{}{} \text{while } 1 < x \text{ loop } x \leftarrow x - 1 \text{ pool } : void, S_{final}  $}\RightLabel{(3)}
  \BinaryInfC{$so, E, S \sststile{}{} \text{ let } x : Int \leftarrow 2 \text{ in while } 1 < \text{ loop } x \leftarrow x  - 1 \text{ pool } : void, S_{final}$}


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.