- N : Nat → SubsumptionTrieFeatureValue
- S : Std.HashSet Lean.Expr → SubsumptionTrieFeatureValue
- M : Std.HashMap Lean.Expr Nat → SubsumptionTrieFeatureValue
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Duper.SubsumptionTrieFeatureValueLe (Duper.SubsumptionTrieFeatureValue.N n1) (Duper.SubsumptionTrieFeatureValue.N n2) = decide (n1 ≤ n2)
- Duper.SubsumptionTrieFeatureValueLe f1 f2 = false
Instances For
Equations
- Duper.SubsumptionTrieFeatureValueEq (Duper.SubsumptionTrieFeatureValue.N n1) (Duper.SubsumptionTrieFeatureValue.N n2) = (n1 == n2)
- Duper.SubsumptionTrieFeatureValueEq (Duper.SubsumptionTrieFeatureValue.S s1) (Duper.SubsumptionTrieFeatureValue.S s2) = (s1.toArray == s2.toArray)
- Duper.SubsumptionTrieFeatureValueEq (Duper.SubsumptionTrieFeatureValue.M m1) (Duper.SubsumptionTrieFeatureValue.M m2) = (m1.toArray == m2.toArray)
- Duper.SubsumptionTrieFeatureValueEq f1 f2 = false
Instances For
Instances For
- node (children : Array (SubsumptionTrieFeatureValue × SubsumptionTrie)) : SubsumptionTrie
- leaf (vals : Std.HashSet Clause) : SubsumptionTrie
Instances For
Equations
Equations
- Duper.SubsumptionTrie.SubsumptionTrieFeatureValue.format (Duper.SubsumptionTrieFeatureValue.N n) = Lean.toMessageData "" ++ Lean.toMessageData n ++ Lean.toMessageData ""
- Duper.SubsumptionTrie.SubsumptionTrieFeatureValue.format (Duper.SubsumptionTrieFeatureValue.S s) = Lean.toMessageData "" ++ Lean.toMessageData s.toArray ++ Lean.toMessageData ""
- Duper.SubsumptionTrie.SubsumptionTrieFeatureValue.format (Duper.SubsumptionTrieFeatureValue.M m) = Lean.toMessageData "" ++ Lean.toMessageData m.toArray ++ Lean.toMessageData ""
Instances For
Equations
- Duper.SubsumptionTrie.instToMessageData = { toMessageData := Duper.SubsumptionTrie.format }
Inserts every variable and constant that appears in e into acc. Note that as with Expr.weight, this function may require revision to be more similar to Zipperposition's implementation once we actually start working on higher order things
Inserts every variable and constant that appears in l into acc.
Equations
Instances For
Updates acc with maps each symbol to its maximal depth in a clause. Note that as with Expr.weight, this function may require revision to be more similar to Zipperposition's implementation once we actually start working on higher order things. See https://github.com/sneeuwballen/zipperposition/blob/master/src/core/FV_tree.ml#L182
Updates acc which maps each symbol to its maximal depth in a clause.
Equations
Instances For
Updates acc which maps each symbol to the number of times it occurs in a clause. Note that as with Expr.weight, this function may require revision to be more similar to Zipperposition's implementation once we actually start working on higher order things.
Updates acc which maps each symbol to the number of times it occurs in a clause.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Identical to getFeatureVector except it is written to taken an MClause rather than a Clause
Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
Instances For
Equations
- Duper.SubsumptionTrie.singleton c [] = Duper.SubsumptionTrie.leaf (Std.HashSet.emptyWithCapacity.insert c)
- Duper.SubsumptionTrie.singleton c (fstFeature :: restFeatures) = Duper.SubsumptionTrie.node #[(fstFeature, Duper.SubsumptionTrie.singleton c restFeatures)]
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Identical to getPotentialSubsumingClauses
except it takes an MClause rather than a Clause
Equations
Instances For
Equations
Instances For
Identical to getPotentialSubsumedClauses
except that it takes an MClause rather than a Clause