object HoTTMessages
Messages to be posted for autonomous/interactive running. These can be posted by a user, rule-based bot or a deep-learning system; from the point of view of deep learning, these are moves.
Some messages are instructions for what to do next; some report results and some provide data for use in the future.
Some types like LocalProver
, ExpressionEval
, TermGenParams
etc can be posted in their raw form.
- Alphabetic
- By Inheritance
- HoTTMessages
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class AddVariable(typ: Typ[Term]) extends Product with Serializable
- case class BaseMixinLemmas(lemmas: ParVector[(Typ[Term], Option[Term], Double)]) extends Product with Serializable
- case class ChompResult(successes: Successes, failures: Vector[Typ[Term]], eqns: Set[EquationNode]) extends Product with Serializable
result of goal chomping
result of goal chomping
- successes
results proved
- failures
results neither proved nor disproved
- eqns
equations contributed as a by-product
- case class Consequence(premise: Typ[Term], conclusion: Typ[Term], proofMapOpt: Option[ExstFunc], context: Context) extends PropagateProof with Product with Serializable
- case class ConsiderInductiveTypes(inducs: FiniteDistribution[ExstInducDefn]) extends Product with Serializable
introduce inductive types
introduce inductive types
- inducs
distribution on inductive types introduced
- case class ConsiderTerms(terms: FiniteDistribution[Term]) extends Product with Serializable
terms to use for proving, possibly the axioms etc not used in generating types.
terms to use for proving, possibly the axioms etc not used in generating types.
- terms
the term distribution to use
- case class Contradicted(statement: Typ[Term], contraOpt: Option[ExstFunc], context: Context) extends Decided with Product with Serializable
- case class Contradicts(premise: Typ[Term], conclusion: Typ[Term], contraMapOpt: Option[ExstFunc], context: Context) extends PropagateProof with Product with Serializable
- sealed trait Decided extends AnyRef
- case class FailedToProve(statement: Typ[Term], context: Context, forConsequences: Vector[Typ[Term]] = Vector()) extends Product with Serializable
- case class FinalState(ts: TermState) extends Product with Serializable
result of evolution, say of a local-prover; could be just from equations
result of evolution, say of a local-prover; could be just from equations
- ts
the evolved state
- case class FromAll(typs: Vector[Typ[Term]], conclusion: Typ[Term], proofOpt: Option[Term], context: Context, forConsequences: Vector[Typ[Term]]) extends PropagateProof with Product with Serializable
- case class FromAny(typs: Vector[Typ[Term]], conclusion: Typ[Term], exhaustive: Boolean, proofsOpt: Vector[Option[ExstFunc]], context: Context, forConsequences: Vector[Typ[Term]]) extends PropagateProof with Product with Serializable
- case class FunctionForGoal(fn: Term, goal: Typ[Term], context: Context, forConsequences: Vector[Typ[Term]] = Vector()) extends Product with Serializable
- case class GeneratedEquationNodes(eqn: Set[EquationNode], preNormalized: Boolean = false) extends Product with Serializable
Result of generation and normalization
Result of generation and normalization
- eqn
resulting equation nodes to use
- case class HaltIf(condition: (Unit) => Boolean) extends Product with Serializable
- case class InitState(ts: TermState, weight: Double) extends Product with Serializable
an initial term state from which to evolve, perhaps just to generate types
an initial term state from which to evolve, perhaps just to generate types
- ts
the term-state
- case class Instance(term: Term, typ: Typ[Term], context: Context) extends Product with Serializable
instances, which are just terms of a specific type in a context
instances, which are just terms of a specific type in a context
- term
the instance term
- typ
the goal type
- context
the context
- case class IntermediateStatements(typ: Typ[Term], lemmas: FiniteDistribution[Typ[Term]]) extends Product with Serializable
Given a type, a lemma is the type of an ingredient of the generating set, ideally not easily inhabited.
Given a type, a lemma is the type of an ingredient of the generating set, ideally not easily inhabited. These are candidate lemmas
- typ
the goal
- lemmas
candidate lemmas
- case class Lemmas(lemmas: ParVector[(Typ[Term], Option[Term], Double)], byStatement: Option[Map[Typ[Term], Double]] = None) extends Product with Serializable
lemmas that have been identified based on non-triviality (and possibly goals) from a final state.
lemmas that have been identified based on non-triviality (and possibly goals) from a final state.
- lemmas
the lemmas with weights
- class ModifyParams extends AnyRef
modifying parameters, for instance excluding islands, strengthening backward reasoning etc for serialization, inherit from this class
- case class NarrowOptimizeGenerators(pow: Double, hW: Double, klW: Double, smoothing: Double, decay: Double) extends Product with Serializable
- case class OptimalInitial(lp: LocalProver, hW: Double, klW: Double, smoothing: Double, decay: Double) extends Product with Serializable
- case class OptimizeGenerators(decay: Double) extends Product with Serializable
- case class ProofLambda(outerGoal: Typ[Term], innerGoal: Typ[Term], outerContext: Context, innerContext: Context, variable: Term, isDependent: Boolean) extends Product with Serializable
- trait PropagateProof extends AnyRef
- case class Proved(statement: Typ[Term], proofOpt: Option[Term], context: Context) extends Decided with Product with Serializable
- trait ReasonBackward extends AnyRef
instruction to generate subgoals from a given goal, using a function with eventual codomain, induction etc
- case class RelatedStatements(typ: Typ[Term], related: FiniteDistribution[Typ[Term]]) extends Product with Serializable
Other types that are likely to have common ingredients in proofs
Other types that are likely to have common ingredients in proofs
- typ
the original type
- related
types related
- case class RepresentationMap(rep: Map[Variable[_], Vector[Double]]) extends Product with Serializable
- case class ResolveGoal(goal: Typ[Term]) extends ReasonBackward with Product with Serializable
backward reasoning for special types - products, co-products, Sigma-types and Pi-types; respond with seeking instantiations and adding variables for the last two cases.
backward reasoning for special types - products, co-products, Sigma-types and Pi-types; respond with seeking instantiations and adding variables for the last two cases.
- goal
type to resolve
- case class SeekEventualCodomain(goal: Typ[Term]) extends ReasonBackward with Product with Serializable
- case class SeekGoal(goal: Typ[Term], context: Context, forConsequences: Vector[Typ[Term]] = Vector()) extends Product with Serializable
A goal to seek, often derived from others; if the others are solved or negated, we stop seeking
A goal to seek, often derived from others; if the others are solved or negated, we stop seeking
- goal
the goal
- forConsequences
the consequences for which we seek this, if any; if empty these have no effect
- case class SeekGoals(goals: FiniteDistribution[Typ[Term]], context: Context) extends Product with Serializable
goals to seek, through whatever means,
goals to seek, through whatever means,
- goals
the goals
- case class SeekInduction(goal: Typ[Term]) extends ReasonBackward with Product with Serializable
- trait SeekInstances extends AnyRef
Instances to be found for a goal which is a sigma-type corresponding to an instance we get a new goal, and that the original is a consequnce of the new goal
- case class SeekLemmas(weightPower: Double, scale: Double) extends Product with Serializable
instruction to seek lemmas
instruction to seek lemmas
- weightPower
power to flatten distributions
- scale
scale?
- case class SpecialInitState(ts: TermState, baseCutoff: Double = math.pow(10, -4), lemmaMix: Double = 0.5, cutoffScale: Double = 1.0, tgOpt: Option[TermGenParams] = None, depthOpt: Option[Int] = None) extends Product with Serializable
- case class SplitFocus(number: Int, scale: Double) extends Product with Serializable
- case class TangentBaseState(ts: TermState, cutoffScale: Double = 1.0, tgOpt: Option[TermGenParams] = None, depthOpt: Option[Int] = None, evOpt: Option[ExpressionEquationSolver] = None, initOpt: Option[SpecialInitState] = None) extends Product with Serializable
- case class TangentLemmas(lemmas: ParVector[(Typ[Term], Option[Term], Double)]) extends Product with Serializable
- case class TangentWithTerm(term: Term, weight: Double) extends Product with Serializable
proceed by tangent evolution, perhaps from a lemma
proceed by tangent evolution, perhaps from a lemma
- term
tangent direction
- weight
weight
- case class TautologyInitState(tautGen: TermState) extends Product with Serializable
- case class TimeLimit(duration: FiniteDuration) extends Product with Serializable
- case class UseLemma(lemma: Typ[Term], proofOpt: Option[Term]) extends Product with Serializable
instruction to use a lemma - could be as a tangent or mixing in to generators if mixing in just call
ConsiderTerms
instruction to use a lemma - could be as a tangent or mixing in to generators if mixing in just call
ConsiderTerms
- lemma
lemma statement
- case class UseLemmaDistribution(lemmas: FiniteDistribution[Typ[Term]], proofOptMap: Option[Map[Typ[Term], Term]]) extends Product with Serializable
instruction to use a distribution of lemmas - could be as a tangent or mixing in to generators if mixing in just call
ConsiderTerms
instruction to use a distribution of lemmas - could be as a tangent or mixing in to generators if mixing in just call
ConsiderTerms
- lemmas
statement of lemmas
- proofOptMap
optional proofs
- case class UsedLemmas(lemmas: ParVector[(Typ[Term], Double)]) extends Product with Serializable
- case class Weight(scale: Double) extends Product with Serializable
- type WithWeight[A] = ::[Weight, ::[A, HNil]]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def derivedProofs(props: Set[PropagateProof], decisions: Set[Decided]): Set[Decided]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- def product[A](vv: Vector[Set[A]]): Set[Vector[A]]
- def propagateProofs(props: Set[PropagateProof], decisions: Set[Decided]): Set[Decided]
- Annotations
- @tailrec()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- def withWeight[A](value: A, weight: Double): WithWeight[A]
convenient posting with weight preceding posts, say for lemmas with weight
convenient posting with weight preceding posts, say for lemmas with weight
- value
the stuff to post
- weight
the weight
- returns
return ID after posting stuff
- def withWeightFD[A](fd: FiniteDistribution[A]): Vector[WithWeight[A]]
- case object Cap extends Product with Serializable
- object Contradicted extends Serializable
- object Contradicts extends Serializable
- object Decided
- case object EquationsCompleted extends Product with Serializable
- object FromAll extends Serializable
- case object GenerateTerms extends Product with Serializable
- case object GenerateTypes extends Product with Serializable
- object PropagateProof
- object SeekGoal extends Serializable
- object SeekInstances
- case object TangentBaseCompleted extends Product with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated