Idris-dev/test/proof004/test035.idr
2014-01-30 17:24:08 +00:00

10 lines
260 B
Idris

module Main
import Syntax.PreorderReasoning
import Control.Isomorphism
stupidProof : Iso (Either a b) (Either a b)
stupidProof {a} {b} = (Either a b) ={ eitherComm }=
(Either b a) ={ eitherComm }=
(Either a b) QED