view paper/src/term2.agda.replaced @ 4:b5fffa8ae875

fix chapter hoare
author ryokka
date Wed, 29 Jan 2020 22:36:17 +0900
parents c7acb9211784
children
line wrap: on
line source

@$\wedge$@true : { x : Bool } @$\rightarrow$@  x  @$\wedge$@  true  @$\equiv$@ x
@$\wedge$@true {x} with x
@$\wedge$@true {x} | false = refl
@$\wedge$@true {x} | true = refl

stmt1Cond : {c10 :@$\mathbb{N}$@} @$\rightarrow$@ Cond
stmt1Cond {c10} env = Equal (varn env) c10