2022-03-23 18:39:43 +03:00
|
|
|
module Control.Function.FunExt
|
|
|
|
|
|
|
|
%default total
|
|
|
|
|
|
|
|
||| This interface contains a proposition for the function extensionality.
|
|
|
|
||| It is not meant to be ever implemented.
|
|
|
|
||| It can be used to mark properties as requiring function extensionality to hold,
|
|
|
|
||| i.e. its main objective is to provide a universal way to formulate a conditional property
|
|
|
|
||| that holds only in the presence of function extensionality.
|
2022-04-01 14:13:17 +03:00
|
|
|
public export
|
2022-03-23 18:39:43 +03:00
|
|
|
interface FunExt where
|
2022-04-28 22:40:57 +03:00
|
|
|
funExt : {0 b : a -> Type} -> {0 f, g : (x : a) -> b x} -> ((x : a) -> f x = g x) -> f = g
|