- inaccessible (e : Expr) : Pattern
- var (fvarId : FVarId) : Pattern
- ctor (ctorName : Name) (us : List Level) (params : List Expr) (fields : List Pattern) : Pattern
- val (e : Expr) : Pattern
- arrayLit (type : Expr) (xs : List Pattern) : Pattern
- as (varId : FVarId) (p : Pattern) (hId : FVarId) : Pattern
Instances For
Apply the free variable substitution s to the given pattern
Equations
Instances For
Match alternative
- ref : Syntax
Syntaxobject for providing position information - idx : Nat
Original alternative index. Alternatives can be split, this index is the original position of the alternative that generated this one.
- rhs : Expr
Right-hand-side of the alternative.
Alternative pattern variables.
Alternative patterns.
Indices of previous alternatives that this alternative expects a not-that-proofs. (When producing a splitter, and in the future also for source-level overlap hypotheses.)
Instances For
Return true if fvarId is one of the alternative pattern variables
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
- matcher : Expr
- counterExamples : List CounterExample
Instances For
Match congruence equational theorem names helper declarations and functions
Returns true if s is of the form congr_eq_<idx>