Given an application of an matcher arm alt that is expecting the numDiscrEqs, and
an array of discr = pattern equalities (one for each discriminant), apply those that
are expected by the alternative.
Equations
- Lean.Meta.Match.mkAppDiscrEqs alt heqs numDiscrEqs = do let __do_lift ← Lean.Meta.inferType alt Lean.Meta.Match.mkAppDiscrEqs.go✝ alt heqs numDiscrEqs alt __do_lift 0
Instances For
Helper method for proving a conditional equational theorem associated with an alternative of
the match-eliminator matchDeclName. type contains the type of the theorem.
The heqPos/heqNum arguments indicate that these hypotheses are Eq/HEq hypotheses
to substitute first; this is used for the generalized match equations.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Generates the congruence equation of the alternative altIdx of the given match auxiliary
declaration, and returns its name. See realizeMatchCongrEqn.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Generates the congruence equations of all alternatives of the given match auxiliary declaration,
and returns their names. See realizeMatchCongrEqn.
Equations
- One or more equations did not get rendered due to their size.