case class TheoremFeedback(fd: FiniteDistribution[Term], tfd: FiniteDistribution[Typ[Term]], vars: Vector[Term] = Vector(), scale: Double = 1.0, thmScale: Double = 0.3, thmTarget: Double = 0.2) extends Product with Serializable
feedback based on the term-type map as well as ensuring total weight of theorems is not small; various steps are explicit for exploration and debugging
- Alphabetic
- By Inheritance
- TheoremFeedback
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TheoremFeedback(fd: FiniteDistribution[Term], tfd: FiniteDistribution[Typ[Term]], vars: Vector[Term] = Vector(), scale: Double = 1.0, thmScale: Double = 0.3, thmTarget: Double = 0.2)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from TheoremFeedback toany2stringadd[TheoremFeedback] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (TheoremFeedback, B)
- Implicit
- This member is added by an implicit conversion from TheoremFeedback toArrowAssoc[TheoremFeedback] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val byProof: FiniteDistribution[Typ[Term]]
distribution of theorems (inhabited types) weighted by proofs.
- lazy val byStatement: FiniteDistribution[Typ[Term]]
distribution of theorems (inhabited types) weighted as in the type distribution and normalized.
- lazy val byStatementUnscaled: FiniteDistribution[Typ[Term]]
distribution of theorems (inhabited types) weighted as in the type distribution, not normalized.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (TheoremFeedback) => Boolean, msg: => Any): TheoremFeedback
- Implicit
- This member is added by an implicit conversion from TheoremFeedback toEnsuring[TheoremFeedback] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (TheoremFeedback) => Boolean): TheoremFeedback
- Implicit
- This member is added by an implicit conversion from TheoremFeedback toEnsuring[TheoremFeedback] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): TheoremFeedback
- Implicit
- This member is added by an implicit conversion from TheoremFeedback toEnsuring[TheoremFeedback] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): TheoremFeedback
- Implicit
- This member is added by an implicit conversion from TheoremFeedback toEnsuring[TheoremFeedback] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- lazy val entropyPairs: Vector[(Typ[Term], (Double, Double))]
for each theorem, the pair of entropies with respect to the distribution
for each theorem, the pair of entropies with respect to the distribution
- as statement weight
- as proof weight
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fd: FiniteDistribution[Term]
- def feedbackFunction(x: Typ[Term]): Double
term-type map feedback as function of type
- lazy val feedbackMap: Map[Typ[Term], Double]
term-type map feedback map ie feedbackVec as a map
- def feedbackTermDist(fd: FiniteDistribution[Term], typfd: FiniteDistribution[Typ[Term]]): Double
feedback based on distributions on terms and on types, by backward propagation from feedbackTypDist and thmFeedbackFunction
- def feedbackTypDist(fd: FiniteDistribution[Typ[Term]]): Double
feedback as function of distribution on types
- lazy val feedbackVec: Vector[(Typ[Term], Double)]
term-type map feedback vector with entries pairs
(typ, p)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from TheoremFeedback toStringFormat[TheoremFeedback] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val lfd: FiniteDistribution[Term]
terms mapped to lambdas with resepect to the variables
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val pfd: FiniteDistribution[Typ[Term]]
types mapped to pis with respect to the variables.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val scale: Double
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tfd: FiniteDistribution[Typ[Term]]
- def thmFeedbackFunction(x: Term): Double
feedback based on total weight of theorems
- val thmScale: Double
- lazy val thmSet: Set[Typ[Term]]
set of theorems
- lazy val thmShift: Double
amount to shift to ensure theorems have a minimum total weight
- val thmTarget: Double
- lazy val thmTotal: Double
total weight of theorems
- val vars: Vector[Term]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (TheoremFeedback, B)
- Implicit
- This member is added by an implicit conversion from TheoremFeedback toArrowAssoc[TheoremFeedback] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.