Logical Types#
- class tensor_theorem_prover.Atom(predicate, terms)[source]#
Logical Atom (predicate with terms)
- predicate#
- terms#
- class tensor_theorem_prover.Predicate(symbol, embedding=None)[source]#
A predicate symbol in a logical formula. Can contain an embedding for use in vector similarity calculations.
- embedding = None#
- symbol#
- class tensor_theorem_prover.Constant(symbol, embedding=None)[source]#
A constant symbol in a logical formula. Can contain an embedding for use in vector similarity calculations.
- embedding = None#
- symbol#
- class tensor_theorem_prover.Function(symbol)[source]#
A function symbol in a logical formula.
- symbol#
- class tensor_theorem_prover.Implies(antecedent, consequent)[source]#
Logical Implication
- antecedent#
- consequent#