class EvolverEquations[F] extends AnyRef
variables for probabilities and equations for consistency
- Alphabetic
- By Inheritance
- EvolverEquations
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new EvolverEquations(supp: EvolverSupport, prob: (EvolverVariables) => F)(implicit field: Field[F], trig: Trig[F])
Value Members
- lazy val consistencyCost: F
a cost associated to a lack of consistency of the probabilities.
- lazy val consistencyEquations: Vector[(F, F)]
all the equations for consistency of final probabilities in all contexts as well as the total initial probability being 1.
- def contextConsistency(context: Vector[Term]): Vector[(F, F)]
all the equations for consistency of the final distribution for a context
- implicit val field: Field[F]
- def finalProb(t: Term, context: Vector[Term]): F
probability of
t
in the final distribution given a context, this gives the image of the variable obtained by normalizing to a basis context - lazy val genEntropy: F
the entropy of the generating distribution
- def hasTyp(typ: Typ[Term], context: Vector[Term]): F
probability that a term has given type in the final distribution of a context
- def hasTypProb(typ: Typ[Term], context: Vector[Term]): (F, F)
equation saying that the sum of the probabilities of terms with a given type is the probability of the event variable for terms having this type in the probability distribution of a context
- def initProb(t: Term): F
probability of
t
in the initial distribution - def isFuncP(context: Vector[Term]): F
probability that a term is a function in the final distribution of a context
- def isFuncProb(context: Vector[Term]): (F, F)
equation saying that the sum of the probabilities of terms that are functions is the probability of the event variable for terms being functions in the probability distribution of a context
- def isTypP(context: Vector[Term]): F
probability that a term is a type in the final distribution of a context
- def isTypProb(context: Vector[Term]): (F, F)
equation saying that the sum of the probabilities of terms that are types is the probability of the event variable for terms being types in the probability distribution of a context
- lazy val kullbackLeibler: F
the Kullback-Liebler divergence of the proof probabilities from the theorem probabilities
- def proofProb(thm: Typ[Term]): F
total probability of the proof of a theorem
- def thmProb(thm: Typ[Term]): F
probability of a theorem as the probability of its type conditioned on the type being inhabited
- def totFinalProb(terms: Set[Term], context: Vector[Term]): F
total final probability in context
- lazy val totInitProbOne: (F, F)
the equation saying that the total initial probability is 1.
- def totProbOne(context: Vector[Term]): (F, F)
the equation saying that the total probability in the final distribution of a context is 1.
- lazy val totThmProb: F
total probability of all theorems