Skip to content

Knuth-Bendix completion in Egison (and Haskell). 技術書典7

License

Notifications You must be signed in to change notification settings

momohatt/egison-trs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

egison-trs

技術書典7 Egison Journal vol.2「Egisonで項書き換え系」のレポジトリです

Contents

  • src-egi : Egison implementation of Knuth-Bendix completion
  • src-hs : Haskell implementation of Knuth-Bendix completion

How to run completion

Egison

Requirement: Egison v4.0.0

$ cd src-egi
$ egison
> loadFile "completion.egi"
> showEquations (complete ["e", "*", "i"] axiomsOfGroup) ; takes about 5 minutes

Haskell

$ cd src-hs
$ ghci
> :l Completion.hs
> complete ["e", "*", "i"] axiomsOfGroup

Acknowledgement

Part of the egison program was authored by Yuichi Nishiwaki.

About

Knuth-Bendix completion in Egison (and Haskell). 技術書典7

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published