truth

package
v0.0.0-...-f83dd98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decide

func Decide(p Proposition) (bool, error)

Types

type Constant

type Constant bool

func (Constant) String

func (b Constant) String() string

type Proposition

type Proposition interface {
	fmt.Stringer
	// contains filtered or unexported methods
}

func And

func And(A, B Proposition) Proposition

func Eqv

func Eqv(A, B Proposition) Proposition

func Existential

func Existential(v Variable, p Proposition) Proposition

func Fllw

func Fllw(A, B Proposition) Proposition

func Func

func Func(name string, vars ...Variable) Proposition

func Impl

func Impl(A, B Proposition) Proposition

func Not

func Not(A Proposition) Proposition

func Or

func Or(A, B Proposition) Proposition

func Universal

func Universal(v Variable, p Proposition) Proposition

type Variable

type Variable string

func (Variable) String

func (v Variable) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL