Skip to main content

Theorem

Trait Theorem 

Source
pub trait Theorem {
    type Proof;
}
Expand description

A proposition we can prove.

Required Associated Types§

Source

type Proof

The proof term for this proposition.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Theorem for Truth

Source§

impl<A> Theorem for Equals<A, A>

Source§

impl<P: Theorem, Q: Theorem> Theorem for And<P, Q>

Source§

type Proof = AndProof<<P as Theorem>::Proof, <Q as Theorem>::Proof>

Source§

impl<P: Theorem, Q: Theorem> Theorem for Imp<P, Q>

Source§

type Proof = ImpProof<<P as Theorem>::Proof, <Q as Theorem>::Proof>