view paper/src/AgdaWhere.agda.replaced @ 11:831316a767e8

add hoare figure
author ryokka
date Mon, 10 Feb 2020 14:20:21 +0900
parents c7acb9211784
children
line wrap: on
line source

f : Int @$\rightarrow$@ Int @$\rightarrow$@ Int
f a b c = (t a) + (t b) + (t c)
  where
    t x = x + x + x

f' : Int @$\rightarrow$@ Int @$\rightarrow$@ Int
f' a b c = (a + a + a) + (b + b + b) + (c + c + c)