diff --git a/src/Lean/Elab/Tactic/Grind/Main.lean b/src/Lean/Elab/Tactic/Grind/Main.lean index ff3e6afdb7..d4c0ed312b 100644 --- a/src/Lean/Elab/Tactic/Grind/Main.lean +++ b/src/Lean/Elab/Tactic/Grind/Main.lean @@ -30,6 +30,7 @@ declare_config_elab elabCutsatConfig Grind.CutsatConfig declare_config_elab elabGrobnerConfig Grind.GrobnerConfig open Command Term in +open Lean.Parser.Command.GrindCnstr in @[builtin_command_elab Lean.Parser.Command.grindPattern] def elabGrindPattern : CommandElab := fun stx => do match stx with @@ -38,41 +39,92 @@ def elabGrindPattern : CommandElab := fun stx => do | `(local grind_pattern $thmName:ident => $terms,* $[$cnstrs?:grindPatternCnstrs]?) => go thmName terms cnstrs? .local | _ => throwUnsupportedSyntax where + findLHS (xs : Array Expr) (lhs : Syntax) : TermElabM (LocalDecl × Nat) := do + let lhsId := lhs.getId + let mut i := 0 + for x in xs do + let xDecl ← x.fvarId!.getDecl + if xDecl.userName == lhsId then + return (xDecl, xs.size - i - 1) + i := i + 1 + throwErrorAt lhs "invalid constraint, `{lhsId}` is not local variable of the theorem" + + elabCnstrRHS (xs : Array Expr) (rhs : Syntax) (expectedType : Expr) : TermElabM Grind.CnstrRHS := do + /- + **Note**: We need better sanity checking here. + We must check whether the type of `rhs` is type correct with respect to + an arbitrary instantiation of `xs`. That is, we should use meta-variables + in the check. It is incorrect to use `xDecl.type`. For example, suppose the + type of `xDecl` is `α → β` where `α` and `β` are variables in `xs` occurring before + `xDecl`, and `rhsExpr` is `some : ?m → ?m`. The types `α → β =?= ?m → ?m` are + not definitionally equal, but `?α → ?β =?= ?m → ?m` are. + -/ + let rhsExpr ← Term.elabTerm rhs expectedType + Term.synthesizeSyntheticMVars (postpone := .no) (ignoreStuckTC := true) + let rhsExpr ← instantiateMVars rhsExpr + if rhsExpr.hasSyntheticSorry then + throwErrorAt rhs "invalid constraint, rhs contains a synthetic `sorry`" + let rhsExpr := rhsExpr.eta + let { paramNames := levelNames, mvars, expr := rhs } ← abstractMVars rhsExpr + let numMVars := mvars.size + let rhs := rhs.abstract xs + return { levelNames, numMVars, expr := rhs } + + elabProp (xs : Array Expr) (term : Syntax) : TermElabM Expr := do + let e ← Term.elabTermAndSynthesize term (Expr.sort 0) + let e ← instantiateMVars e + if e.hasSyntheticSorry then + throwErrorAt term "invalid proposition, it contains a synthetic `sorry`" + if e.hasMVar then + throwErrorAt term "invalid proposition, it contains metavariables{indentExpr e}" + return e.abstract xs + + elabNotDefEq (xs : Array Expr) (lhs rhs : Syntax) : TermElabM Grind.EMatchTheoremConstraint := do + let (localDecl, lhsBVarIdx) ← findLHS xs lhs + let rhs ← elabCnstrRHS xs rhs localDecl.type + return .notDefEq lhsBVarIdx rhs + + elabDefEq (xs : Array Expr) (lhs rhs : Syntax) : TermElabM Grind.EMatchTheoremConstraint := do + let (localDecl, lhsBVarIdx) ← findLHS xs lhs + let rhs ← elabCnstrRHS xs rhs localDecl.type + return .defEq lhsBVarIdx rhs + elabCnstrs (xs : Array Expr) (cnstrs? : Option (TSyntax ``Parser.Command.grindPatternCnstrs)) : TermElabM (List (Grind.EMatchTheoremConstraint)) := do let some cnstrs := cnstrs? | return [] let cnstrs := cnstrs.raw[1].getArgs cnstrs.toList.mapM fun cnstr => do - -- **Note**: Hack because syntax matching is not working. Fix after another update stage0 - let lhs := cnstr[0] - let rhs := cnstr[2] - let lhsId := lhs.getId - let mut i := 0 - for x in xs do - let xDecl ← x.fvarId!.getDecl - if xDecl.userName == lhsId then - let bvarIdx := xs.size - i - 1 - /- - **Note**: We need better sanity checking here. - We must check whether the type of `rhs` is type correct with respect to - an arbitrary instantiation of `xs`. That is, we should use meta-variables - in the check. It is incorrect to use `xDecl.type`. For example, suppose the - type of `xDecl` is `α → β` where `α` and `β` are variables in `xs` occurring before - `xDecl`, and `rhsExpr` is `some : ?m → ?m`. The types `α → β =?= ?m → ?m` are - not definitionally equal, but `?α → ?β =?= ?m → ?m` are. - -/ - let rhsExpr ← Term.elabTerm rhs xDecl.type - Term.synthesizeSyntheticMVars (postpone := .no) (ignoreStuckTC := true) - let rhsExpr ← instantiateMVars rhsExpr - if rhsExpr.hasSyntheticSorry then - throwErrorAt rhs "invalid constraint, rhs contains a synthetic `sorry`" - let rhsExpr := rhsExpr.eta - let { paramNames := levelNames, mvars, expr := rhs } ← abstractMVars rhsExpr - let numMVars := mvars.size - let rhs := rhs.abstract xs - return { bvarIdx, levelNames, numMVars, rhs } - i := i + 1 - throwErrorAt lhs "invalid constraint, `{lhsId}` is not local variable of the theorem" + let kind := cnstr.getKind + if kind == ``notDefEq then + elabNotDefEq xs cnstr[0] cnstr[2] + else if kind == ``defEq then + elabDefEq xs cnstr[0] cnstr[2] + else if kind == ``genLt then + let (_, lhs) ← findLHS xs cnstr[1] + return .genLt lhs cnstr[3].toNat + else if kind == ``sizeLt then + let (_, lhs) ← findLHS xs cnstr[1] + return .sizeLt lhs cnstr[3].toNat + else if kind == ``depthLt then + let (_, lhs) ← findLHS xs cnstr[1] + return .depthLt lhs cnstr[3].toNat + else if kind == ``maxInsts then + return .maxInsts cnstr[1].toNat + else if kind == ``isValue then + let (_, lhs) ← findLHS xs cnstr[1] + return .isValue lhs false + else if kind == ``isStrictValue then + let (_, lhs) ← findLHS xs cnstr[1] + return .isValue lhs true + else if kind == ``isGround then + let (_, lhs) ← findLHS xs cnstr[1] + return .isGround lhs + else if kind == ``Parser.Command.GrindCnstr.check then + return .check (← elabProp xs cnstr[1]) + else if kind == ``Parser.Command.GrindCnstr.guard then + return .guard (← elabProp xs cnstr[1]) + else + throwErrorAt cnstr "unexpected constraint" go (thmName : TSyntax `ident) (terms : Syntax.TSepArray `term ",") (cnstrs? : Option (TSyntax ``Parser.Command.grindPatternCnstrs)) diff --git a/src/Lean/Meta/Tactic/Grind/EMatch.lean b/src/Lean/Meta/Tactic/Grind/EMatch.lean index 89e4658e63..fdb23a5e38 100644 --- a/src/Lean/Meta/Tactic/Grind/EMatch.lean +++ b/src/Lean/Meta/Tactic/Grind/EMatch.lean @@ -637,6 +637,28 @@ private abbrev withFreshNGen (x : M α) : M α := do finally setNGen ngen +/-- +Checks constraints of the form `lhs =/= rhs`. +-/ +private def checkNotDefEq (levelParams : List Name) (us : List Level) (args : Array Expr) (lhs : Nat) (rhs : CnstrRHS) : GoalM Bool := do + unless lhs < args.size do + throwError "`grind` internal error, invalid variable in `grind_pattern` constraint" + let lhs := args[args.size - lhs - 1]! + /- **Note**: We first instantiate the theorem variables and universes occurring in `rhs`. -/ + let rhsExpr := rhs.expr.instantiateRev args + let rhsExpr := rhsExpr.instantiateLevelParams levelParams us + withNewMCtxDepth do + /- + **Note**: Recall that we have abstracted metavariables occurring in `rhs` after we elaborated it. + So, we must "recreate" them. + -/ + let us ← rhs.levelNames.mapM fun _ => mkFreshLevelMVar + let rhsExpr := rhsExpr.instantiateLevelParamsArray rhs.levelNames us + let (_, _, rhsExpr) ← lambdaMetaTelescope rhsExpr (some rhs.numMVars) + /- **Note**: We used the guarded version to ensure type errors will not interrupt `grind`. -/ + let defEq ← isDefEqGuarded lhs rhsExpr + return !defEq + /-- Checks whether `vars` satisfies the `grind_pattern` constraints attached at `thm`. Example: @@ -650,29 +672,15 @@ In the example above, a `map_map` instance should be added to the logical contex Remark: `proof` is used to extract the universe parameters in the proof. -/ -private def checkConstraints (thm : EMatchTheorem) (proof : Expr) (args : Array Expr) : MetaM Bool := do +private def checkConstraints (thm : EMatchTheorem) (proof : Expr) (args : Array Expr) : GoalM Bool := do if thm.cnstrs.isEmpty then return true /- **Note**: Only top-level theorems have constraints. -/ let .const declName us := proof | return true let info ← getConstInfo declName thm.cnstrs.allM fun cnstr => do - unless cnstr.bvarIdx < args.size do - throwError "`grind` internal error, invalid variable in `grind_pattern` constraint" - let lhs := args[args.size - cnstr.bvarIdx - 1]! - /- **Note**: We first instantiate the theorem variables and universes occurring in `rhs`. -/ - let rhs := cnstr.rhs.instantiateRev args - let rhs := rhs.instantiateLevelParams info.levelParams us - withNewMCtxDepth do - /- - **Note**: Recall that we have abstracted metavariables occurring in `rhs` after we elaborated it. - So, we must "recreate" them. - -/ - let us ← cnstr.levelNames.mapM fun _ => mkFreshLevelMVar - let rhs := rhs.instantiateLevelParamsArray cnstr.levelNames us - let (_, _, rhs) ← lambdaMetaTelescope rhs (some cnstr.numMVars) - /- **Note**: We used the guarded version to ensure type errors will not interrupt `grind`. -/ - let defEq ← isDefEqGuarded lhs rhs - return !defEq + match cnstr with + | .notDefEq lhs rhs => checkNotDefEq info.levelParams us args lhs rhs + | _ => throwError "NIY" /-- After processing a (multi-)pattern, use the choice assignment to instantiate the proof. diff --git a/src/Lean/Meta/Tactic/Grind/EMatchTheorem.lean b/src/Lean/Meta/Tactic/Grind/EMatchTheorem.lean index 0abd580e4d..7365685e53 100644 --- a/src/Lean/Meta/Tactic/Grind/EMatchTheorem.lean +++ b/src/Lean/Meta/Tactic/Grind/EMatchTheorem.lean @@ -344,20 +344,68 @@ private def EMatchTheoremKind.explainFailure : EMatchTheoremKind → String | .default _ => "failed to find patterns" | .user => unreachable! -/-- -Grind patterns may have constraints of the form `lhs =/= rhs` associated with them. -The `lhs` is one of the bound variables, and the `rhs` an abstract term that must not be definitionally -equal to a term `t` assigned to `lhs`. --/ -structure EMatchTheoremConstraint where - /-- `lhs` -/ - bvarIdx : Nat +structure CnstrRHS where /-- Abstracted universe level param names in the `rhs` -/ levelNames : Array Name /-- Number of abstracted metavariable in the `rhs` -/ numMVars : Nat /-- The actual `rhs`. -/ - rhs : Expr + expr : Expr + deriving Inhabited, BEq, Repr + +/-- +Grind patterns may have constraints associated with them. +-/ +inductive EMatchTheoremConstraint where + | /-- + A constraint of the form `lhs =/= rhs`. + The `lhs` is one of the bound variables, and the `rhs` an abstract term that must not be definitionally + equal to a term `t` assigned to `lhs`. -/ + notDefEq (lhs : Nat) (rhs : CnstrRHS) + | /-- + A constraint of the form `lhs =?= rhs`. + The `lhs` is one of the bound variables, and the `rhs` an abstract term that must be definitionally + equal to a term `t` assigned to `lhs`. -/ + defEq (lhs : Nat) (rhs : CnstrRHS) + | /-- + A constraint of the form `size lhs < n`. The `lhs` is one of the bound variables. + The size is computed ignoring implicit terms, but sharing is not taken into account. + -/ + sizeLt (lhs : Nat) (n : Nat) + | /-- + A constraint of the form `depth lhs < n`. The `lhs` is one of the bound variables. + The depth is computed in constant time using the `approxDepth` field attached to expressions. + -/ + depthLt (lhs : Nat) (n : Nat) + | /-- + Instantiates the theorem only if its generation is less than `n` + -/ + genLt (lhs : Nat) (n : Nat) + | /-- + Constraints of the form `is_ground x`. Instantiates the theorem only if + `x` is ground term. + -/ + isGround (bvarIdx : Nat) + | /-- + Constraints of the form `is_value x` and `is_strict_value x`. + A value is defined as + - A constructor fully applied to value arguments. + - A literal: numerals, strings, etc. + - A lambda. In the strict case, lambdas are not considered. + -/ + isValue (bvarIdx : Nat) (strict : Bool) + | /-- + Instantiates the theorem only if less than `n` instances have been generated for this theorem. + -/ + maxInsts (n : Nat) + | /-- + It instructs `grind` to postpone the instantiation of the theorem until `e` is known to be `true`. + -/ + guard (e : Expr) + | /-- + Similar to `guard`, but checks whether `e` is implied by asserting `¬e`. + -/ + check (e : Expr) deriving Inhabited, Repr, BEq /-- A theorem for heuristic instantiation based on E-matching. -/ diff --git a/src/Lean/Meta/Tactic/Grind/Parser.lean b/src/Lean/Meta/Tactic/Grind/Parser.lean index eb6fe3b6b3..51e071cd82 100644 --- a/src/Lean/Meta/Tactic/Grind/Parser.lean +++ b/src/Lean/Meta/Tactic/Grind/Parser.lean @@ -9,7 +9,26 @@ public import Lean.Parser.Command public section namespace Lean.Parser.Command -def grindPatternCnstr : Parser := leading_parser ident >> " =/= " >> checkColGe "irrelevant" >> termParser >> optional ";" +namespace GrindCnstr + +def isValue := leading_parser nonReservedSymbol "is_value " >> ident >> optional ";" +def isStrictValue := leading_parser nonReservedSymbol "is_strict_value " >> ident >> optional ";" +def isGround := leading_parser nonReservedSymbol "is_ground " >> ident >> optional ";" +def sizeLt := leading_parser nonReservedSymbol "size " >> ident >> " < " >> numLit >> optional ";" +def depthLt := leading_parser nonReservedSymbol "depth " >> ident >> " < " >> numLit >> optional ";" +def genLt := leading_parser nonReservedSymbol "gen " >> ident >> " < " >> numLit >> optional ";" +def maxInsts := leading_parser nonReservedSymbol "max_insts " >> numLit >> optional ";" +def guard := leading_parser nonReservedSymbol "guard " >> checkColGe "irrelevant" >> termParser >> optional ";" +def check := leading_parser nonReservedSymbol "check " >> checkColGe "irrelevant" >> termParser >> optional ";" +def notDefEq := leading_parser atomic (ident >> " =/= ") >> checkColGe "irrelevant" >> termParser >> optional ";" +def defEq := leading_parser atomic (ident >> " =?= ") >> checkColGe "irrelevant" >> termParser >> optional ";" + +end GrindCnstr + +open GrindCnstr in +def grindPatternCnstr : Parser := + isValue <|> isStrictValue <|> isGround <|> sizeLt <|> depthLt <|> genLt <|> maxInsts + <|> guard <|> check <|> notDefEq <|> defEq def grindPatternCnstrs : Parser := leading_parser "where " >> many1Indent (ppLine >> grindPatternCnstr) diff --git a/stage0/stdlib/Lean/Elab/Tactic/Grind/Main.c b/stage0/stdlib/Lean/Elab/Tactic/Grind/Main.c index e72e88fd45..293e814a3d 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Grind/Main.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Grind/Main.c @@ -14,18 +14,18 @@ extern "C" { #endif static lean_object* l_Lean_Elab_Tactic_evalCutsat___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabNotDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Grind_evalGrindTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalCutsat___closed__0; LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_parseModifier_spec__0___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUse___at___00Lean_Elab_Tactic_evalGrind_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_setGrindParams(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrindTrace___closed__0; LEAN_EXPORT lean_object* l_Lean_withDeclNameForAuxNaming___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logWarning___at___00Lean_Elab_Tactic_evalCutsat_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__2_spec__2_spec__2_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -33,6 +33,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__3___boxed( LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logWarning___at___00Lean_Elab_Tactic_evalCutsat_spec__0_spec__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__4; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); size_t lean_usize_shift_right(size_t, size_t); @@ -43,6 +44,7 @@ static lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___regBuiltin_Lean_Ela LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_setGrindParams___closed__0; static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__7; +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_grind_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lam__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -71,12 +73,13 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_MVarId_as uint8_t lean_usize_dec_le(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindConfig_x27(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_addEMatchTheorem(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__0___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Tactic_evalGrind_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUse___at___00Lean_Elab_Tactic_evalGrind_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isInterrupt(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -92,9 +95,11 @@ size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__2_spec__2_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindConfig_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkConfigItemViews(lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg_00___x40_Lean_Elab_Tactic_Grind_Main_3698851736____hygCtx___hyg_3_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Elab_Tactic_evalGrindCore_spec__0_spec__0___redArg___lam__0___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindCore___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -107,12 +112,16 @@ lean_object* l_Lean_Environment_findConstVal_x3f(lean_object*, lean_object*, uin extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__7; +lean_object* l_Lean_Expr_sort___override(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrobner___closed__1; lean_object* l_Lean_MessageData_ofList(lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__10; +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__5; +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__25; LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logWarning___at___00Lean_Elab_Tactic_evalCutsat_spec__0_spec__0___redArg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_mul(size_t, size_t); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); @@ -121,12 +130,14 @@ extern lean_object* l_Lean_unknownIdentifierMessageTag; static lean_object* l_Lean_Elab_Tactic_elabGrindConfigInteractive___redArg___closed__0; uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__10; lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); static lean_object* l_Lean_Elab_Tactic_setGrindParams___closed__9; lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__3; lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); lean_object* l_Lean_MVarId_instantiateGoalMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -134,6 +145,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_E static lean_object* l_Lean_Elab_Tactic_elabCutsatConfig___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_grindParamsPos; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_grind___closed__0; LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUse___at___00Lean_Elab_Tactic_evalGrind_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__0___closed__1; @@ -161,7 +173,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__0; lean_object* l_Lean_Meta_Grind_resetEMatchTheoremsExt___redArg(lean_object*); lean_object* l_Lean_Meta_Grind_getCasesTypes___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__13; static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -171,6 +182,7 @@ lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__3_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_setGrindParams___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabNotDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_grind___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -186,6 +198,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_Pe LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCutsatConfig___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__8; lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg_00___x40_Lean_Elab_Tactic_Grind_Main_2210493511____hygCtx___hyg_3_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_resetInjectiveTheoremsExt___redArg(lean_object*); @@ -205,11 +218,11 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___regBuiltin_Lea lean_object* l_Lean_MessageData_note(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrindCore___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindParamsAndSuggestions(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__1; static lean_object* l_Lean_Elab_Tactic_evalLia___closed__0; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__17; LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUse___at___00Lean_Elab_Tactic_evalGrind_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__2___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__2_spec__2_spec__2_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -217,6 +230,11 @@ static lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__0___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkGrindParams(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__13; +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__6; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__11; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mkArray0(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalLia___closed__1; @@ -224,10 +242,10 @@ static lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__0___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrobner(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__14; +lean_object* l_Lean_Level_ofNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_parseModifier_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkGrindParams___closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasSyntheticSorry(lean_object*); @@ -240,14 +258,15 @@ static lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Elab_T lean_object* l_Lean_Parser_Tactic_getConfigItems(lean_object*); static lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___regBuiltin_Lean_Elab_Tactic_elabInitGrindNorm__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withDeclNameForAuxNaming___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__1___boxed(lean_object**); static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8_spec__8_spec__9___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___boxed(lean_object**); -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logWarning___at___00Lean_Elab_Tactic_evalCutsat_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Action_mkGrindSeq(lean_object*); @@ -267,6 +286,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___redArg___lam__ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe_00___x40_Lean_Elab_Tactic_Grind_Main_3698851736____hygCtx___hyg_3_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkGrindParams___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_parseModifier_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_finalize(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindConfig___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__4___redArg___closed__1; @@ -287,6 +307,7 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Extr static lean_object* l_Lean_Elab_Tactic_evalLia___regBuiltin_Lean_Elab_Tactic_evalLia__1___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__2_spec__2_spec__2_spec__4(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__4; static lean_object* l_Lean_Elab_Tactic_elabGrindConfig___redArg___closed__5; extern lean_object* l_Lean_Elab_Command_commandElabAttribute; lean_object* l_Lean_Meta_Grind_Theorems_getOrigins___redArg(lean_object*); @@ -295,7 +316,6 @@ static lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__2_00___x40_ extern lean_object* l_Lean_Meta_Grind_grind_warning; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCutsat___regBuiltin_Lean_Elab_Tactic_evalCutsat__1___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindConfig_x27___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isMarkedMeta(lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); @@ -306,11 +326,11 @@ lean_object* l_Array_empty(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__0___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_3698851736____hygCtx___hyg_3_; static lean_object* l_Lean_Elab_Tactic_elabGrindConfig___redArg___closed__2; lean_object* l_Lean_MVarId_admit(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalGrindTraceCore_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrobnerConfig___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Tactic_elabGrindPattern_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -330,6 +350,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_elabGrindSu lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindSuggestions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalLia___regBuiltin_Lean_Elab_Tactic_evalLia__1___boxed(lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__12; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_elabGrindSuggestions_spec__1___closed__2; static lean_object* l_Lean_Elab_Tactic_grind___lam__1___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_elabGrindSuggestions_spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -338,10 +359,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___regBuiltin_Lean_ static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCutsatConfig___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe_00___x40_Lean_Elab_Tactic_Grind_Main_3698851736____hygCtx___hyg_3____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrind___regBuiltin_Lean_Elab_Tactic_evalGrind__1___closed__2; LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__8___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__5; lean_object* l_Lean_Elab_Tactic_replaceMainGoal___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCutsat___regBuiltin_Lean_Elab_Tactic_evalCutsat__1(); @@ -353,6 +374,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_Persis lean_object* lean_st_ref_get(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCutsat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindParamsAndSuggestions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__21; LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTrace___regBuiltin_Lean_Elab_Tactic_evalGrindTrace__1(); lean_object* l_Lean_Meta_Grind_Action_mkFinish(lean_object*); @@ -363,28 +385,31 @@ static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore_ static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindCore___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_mkParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalLia(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_abstractMVars(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__17; static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_filterSuggestionsFromGrindConfig_spec__0_spec__0___closed__3; uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrind___regBuiltin_Lean_Elab_Tactic_evalGrind__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe_00___x40_Lean_Elab_Tactic_Grind_Main_84924930____hygCtx___hyg_3_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Elab_Tactic_mkGrindParams_spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__1; lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrobnerConfig___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__24; +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg_00___x40_Lean_Elab_Tactic_Grind_Main_2210493511____hygCtx___hyg_3____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__1; static lean_object* l_Lean_Elab_Tactic_elabGrindConfig___redArg___closed__6; static lean_object* l_Lean_Elab_Tactic_mkGrindParams___closed__4; -static lean_object* l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindConfigInteractive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Tactic_elabGrindPattern_spec__0(lean_object*, lean_object*, lean_object*); @@ -398,13 +423,11 @@ lean_object* l_Lean_Elab_Tactic_elabGrindParams(lean_object*, lean_object*, uint LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrind___closed__3; static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Grind_Result_hasFailed(lean_object*); -static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__1; lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__15; lean_object* l_Lean_LibrarySuggestions_select(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); -static lean_object* l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__3; static lean_object* l_Lean_Elab_Tactic_mkGrindParams___closed__1; static lean_object* l_Lean_Elab_Tactic_setGrindParams___closed__10; static lean_object* l_Lean_Elab_Tactic_grind___lam__1___closed__1; @@ -413,6 +436,7 @@ lean_object* l_Lean_Meta_Grind_getFunCCSet___redArg(lean_object*); static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__0; static lean_object* l_Lean_Elab_Tactic_evalGrind___closed__1; static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__6; +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__0; LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrind___regBuiltin_Lean_Elab_Tactic_evalGrind__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -435,10 +459,12 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__7___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__0___closed__0; +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__16; LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Elab_Tactic_evalGrindCore_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_setGrindParams___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1___redArg___lam__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___regBuiltin_Lean_Elab_Tactic_elabInitGrindNorm__1___boxed(lean_object*); @@ -446,6 +472,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Tactic_elabGrindPattern_spec__0___redArg(); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__11; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__2_spec__2_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalGrindTraceCore_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___boxed(lean_object*); static lean_object* l_Lean_Elab_Tactic_elabCutsatConfig___redArg___closed__0; @@ -474,8 +501,6 @@ lean_object* l_Lean_SimplePersistentEnvExtension_getState___redArg(lean_object*, LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_StateRefT_x27_lift___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withDeclNameForAuxNaming___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*); @@ -483,13 +508,12 @@ static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00 static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__4; uint64_t l_Lean_instHashableExtraModUse_hash(lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__19; lean_object* l_Lean_Meta_Grind_mkGrindOnlyTactics(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrobnerConfig___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8_spec__8___redArg___closed__1; -static lean_object* l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__0; +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_elabGrindSuggestions_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__8; LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_parseModifier_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__2___redArg___lam__0(lean_object*, uint8_t, lean_object*); @@ -499,9 +523,9 @@ lean_object* l_Lean_LocalDecl_userName(lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Tactic_elabGrindPattern_spec__0___redArg___closed__0; static double l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__4___redArg___closed__0; lean_object* l_Lean_Parser_runParserCategory(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_evalGrindTrace_spec__0___closed__1; static lean_object* l_Lean_Elab_Tactic_setGrindParams___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1___redArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__2___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); @@ -533,14 +557,18 @@ static lean_object* l_Lean_Elab_Tactic_elabGrobnerConfig___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__3___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_grind___lam__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_parseModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabGrindConfig___redArg___closed__7; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__21; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__2; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_grind_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__20; lean_object* l_Lean_Elab_Tactic_withMainContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrobner___regBuiltin_Lean_Elab_Tactic_evalGrobner__1___closed__0; @@ -555,17 +583,20 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp(lean_o lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrind___regBuiltin_Lean_Elab_Tactic_evalGrind__1(); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindConfig_x27___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1___redArg___closed__0; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0___closed__9; static lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Tactic_elabGrindPattern_spec__0___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg_00___x40_Lean_Elab_Tactic_Grind_Main_84924930____hygCtx___hyg_3____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_indentExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___00Lean_Elab_Tactic_evalGrindCore_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8_spec__8___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_filterSuggestionsFromGrindConfig_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___regBuiltin_Lean_Elab_Tactic_elabResetGrindAttrs__1___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); static lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___closed__1; static lean_object* l_Lean_Elab_Tactic_mkGrindParams___closed__0; @@ -595,10 +626,13 @@ lean_object* l_Lean_Elab_Tactic_addEMatchTheorem(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l_Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1___redArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__2___redArg(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__9; +lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8_spec__8___redArg___closed__4; lean_object* l_Lean_Meta_Grind_mkResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrobner___regBuiltin_Lean_Elab_Tactic_evalGrobner__1___boxed(lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Tactic_elabGrindPattern_spec__0___redArg___closed__1; +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8_spec__8_spec__8(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkGrindParams___closed__6; static lean_object* l_Lean_Elab_Tactic_setGrindParams___closed__4; @@ -611,14 +645,16 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_T LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg_00___x40_Lean_Elab_Tactic_Grind_Main_3698851736____hygCtx___hyg_3____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___redArg(lean_object*, lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabResetGrindAttrs___regBuiltin_Lean_Elab_Tactic_elabResetGrindAttrs__1(); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__14; static lean_object* l_Lean_Elab_Tactic_elabGrindConfigInteractive___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_elabGrindSuggestions_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instHashableExtraModUse_hash___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__2; @@ -643,10 +679,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm(lean_object*, lean LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTrace___regBuiltin_Lean_Elab_Tactic_evalGrindTrace__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe_00___x40_Lean_Elab_Tactic_Grind_Main_2210493511____hygCtx___hyg_3____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_setGrindParams___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUse___at___00Lean_Elab_Tactic_evalGrind_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalCutsat___regBuiltin_Lean_Elab_Tactic_evalCutsat__1___closed__0; +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__22; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1(); size_t lean_array_size(lean_object*); @@ -682,6 +718,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Ta LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalGrindTraceCore_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Elab_Tactic_elabCutsatConfig___redArg___closed__1; +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__7___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_withProtectedMCtx_main___at___00Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1_spec__1_spec__2_spec__2_spec__2_spec__4___redArg(size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindConfigInteractive___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -703,6 +740,7 @@ lean_object* l_Lean_Elab_Tactic_Grind_liftGrindM___redArg(lean_object*, lean_obj static lean_object* l_Lean_Elab_Tactic_evalGrindCore___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getGrindParams___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__26; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); @@ -711,7 +749,6 @@ lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); static lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Elab_Tactic_evalGrindCore_spec__0_spec__0___redArg___lam__0___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withDeclNameForAuxNaming___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__0; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_elabGrindSuggestions_spec__1___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); @@ -724,21 +761,21 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_grind___lam__1___boxed(lean_object*, LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_filterSuggestionsFromGrindConfig(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_elabGrindSuggestions_spec__1___closed__6; -lean_object* l_ReaderT_instMonadLift___lam__0___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__23; lean_object* l_Lean_MessageData_ofName(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1___closed__0; -static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe_00___x40_Lean_Elab_Tactic_Grind_Main_2210493511____hygCtx___hyg_3_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_84924930____hygCtx___hyg_3_; static lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Elab_Tactic_evalGrindCore_spec__0_spec__0___redArg___closed__0; +static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__6; static lean_object* l_Lean_Elab_Tactic_evalGrindTraceCore___lam__0___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_filterSuggestionsFromGrindConfig_spec__0_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabInitGrindNorm___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalGrindCore___closed__2; static lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__1_00___x40_Lean_Elab_Tactic_Grind_Main_2210493511____hygCtx___hyg_3_; static lean_object* l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__3; +lean_object* l_Lean_Syntax_toNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_withDeclNameForAuxNaming___at___00Lean_Elab_Tactic_elabInitGrindNorm_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_elabGrindSuggestions_spec__1___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_filterSuggestionsFromGrindConfig_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -746,9 +783,10 @@ static lean_object* l_Lean_Elab_Tactic_isGrindOnly___closed__0; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_elabGrindSuggestions_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); +static lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__18; size_t lean_usize_land(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__0; static lean_object* l_Lean_Elab_Tactic_evalGrindCore___closed__0; static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8_spec__8_spec__9___closed__1; @@ -756,6 +794,7 @@ static lean_object* l_Lean_Elab_Tactic_evalCutsat___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_grind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2210493511____hygCtx___hyg_3_; static lean_object* l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__1_00___x40_Lean_Elab_Tactic_Grind_Main_3698851736____hygCtx___hyg_3_; +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkGrindParams___closed__5; static lean_object* _init_l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_() { @@ -6267,79 +6306,238 @@ lean_dec_ref(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_4; -x_4 = l_Lean_Expr_hasMVar(x_1); -if (x_4 == 0) -{ -lean_object* x_5; -x_5 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_5, 0, x_1); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_6 = lean_st_ref_get(x_2); -x_7 = lean_ctor_get(x_6, 0); -lean_inc_ref(x_7); -lean_dec_ref(x_6); -x_8 = l_Lean_instantiateMVarsCore(x_7, x_1); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec_ref(x_8); -x_11 = lean_st_ref_take(x_2); -x_12 = !lean_is_exclusive(x_11); +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_6, x_5); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -lean_ctor_set(x_11, 0, x_10); -x_14 = lean_st_ref_set(x_2, x_11); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_9); -return x_15; +lean_object* x_13; +lean_dec_ref(x_8); +lean_dec(x_2); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_7); +return x_13; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_16 = lean_ctor_get(x_11, 1); -x_17 = lean_ctor_get(x_11, 2); -x_18 = lean_ctor_get(x_11, 3); -x_19 = lean_ctor_get(x_11, 4); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_11); -x_20 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_20, 0, x_10); -lean_ctor_set(x_20, 1, x_16); -lean_ctor_set(x_20, 2, x_17); -lean_ctor_set(x_20, 3, x_18); -lean_ctor_set(x_20, 4, x_19); -x_21 = lean_st_ref_set(x_2, x_20); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_9); -return x_22; +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_array_uget(x_4, x_6); +x_15 = l_Lean_Expr_fvarId_x21(x_14); +lean_dec_ref(x_14); +lean_inc_ref(x_8); +x_16 = l_Lean_FVarId_getDecl___redArg(x_15, x_8, x_9, x_10); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_7); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_16, 0); +x_20 = lean_ctor_get(x_7, 1); +x_21 = lean_ctor_get(x_7, 0); +lean_dec(x_21); +x_22 = l_Lean_LocalDecl_userName(x_19); +x_23 = lean_name_eq(x_22, x_1); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; +lean_free_object(x_16); +lean_dec(x_19); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_20, x_24); +lean_dec(x_20); +lean_inc(x_2); +lean_ctor_set(x_7, 1, x_25); +lean_ctor_set(x_7, 0, x_2); +x_26 = 1; +x_27 = lean_usize_add(x_6, x_26); +x_6 = x_27; +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec_ref(x_8); +lean_dec(x_2); +x_29 = lean_array_get_size(x_3); +x_30 = lean_nat_sub(x_29, x_20); +lean_dec(x_29); +x_31 = lean_unsigned_to_nat(1u); +x_32 = lean_nat_sub(x_30, x_31); +lean_dec(x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_19); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_7, 0, x_34); +lean_ctor_set(x_16, 0, x_7); +return x_16; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_16, 0); +x_36 = lean_ctor_get(x_7, 1); +lean_inc(x_36); +lean_dec(x_7); +x_37 = l_Lean_LocalDecl_userName(x_35); +x_38 = lean_name_eq(x_37, x_1); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; +lean_free_object(x_16); +lean_dec(x_35); +x_39 = lean_unsigned_to_nat(1u); +x_40 = lean_nat_add(x_36, x_39); +lean_dec(x_36); +lean_inc(x_2); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_2); +lean_ctor_set(x_41, 1, x_40); +x_42 = 1; +x_43 = lean_usize_add(x_6, x_42); +x_6 = x_43; +x_7 = x_41; +goto _start; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec_ref(x_8); +lean_dec(x_2); +x_45 = lean_array_get_size(x_3); +x_46 = lean_nat_sub(x_45, x_36); +lean_dec(x_45); +x_47 = lean_unsigned_to_nat(1u); +x_48 = lean_nat_sub(x_46, x_47); +lean_dec(x_46); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_35); +lean_ctor_set(x_49, 1, x_48); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_36); +lean_ctor_set(x_16, 0, x_51); +return x_16; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_16, 0); +lean_inc(x_52); +lean_dec(x_16); +x_53 = lean_ctor_get(x_7, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + x_54 = x_7; +} else { + lean_dec_ref(x_7); + x_54 = lean_box(0); +} +x_55 = l_Lean_LocalDecl_userName(x_52); +x_56 = lean_name_eq(x_55, x_1); +lean_dec(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; +lean_dec(x_52); +x_57 = lean_unsigned_to_nat(1u); +x_58 = lean_nat_add(x_53, x_57); +lean_dec(x_53); +lean_inc(x_2); +if (lean_is_scalar(x_54)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_54; +} +lean_ctor_set(x_59, 0, x_2); +lean_ctor_set(x_59, 1, x_58); +x_60 = 1; +x_61 = lean_usize_add(x_6, x_60); +x_6 = x_61; +x_7 = x_59; +goto _start; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec_ref(x_8); +lean_dec(x_2); +x_63 = lean_array_get_size(x_3); +x_64 = lean_nat_sub(x_63, x_53); +lean_dec(x_63); +x_65 = lean_unsigned_to_nat(1u); +x_66 = lean_nat_sub(x_64, x_65); +lean_dec(x_64); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_52); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); +if (lean_is_scalar(x_54)) { + x_69 = lean_alloc_ctor(0, 2, 0); +} else { + x_69 = x_54; +} +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_53); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +} +} +else +{ +uint8_t x_71; +lean_dec_ref(x_8); +lean_dec_ref(x_7); +lean_dec(x_2); +x_71 = !lean_is_exclusive(x_16); +if (x_71 == 0) +{ +return x_16; +} +else +{ +lean_object* x_72; lean_object* x_73; +x_72 = lean_ctor_get(x_16, 0); +lean_inc(x_72); +lean_dec(x_16); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_72); +return x_73; } } } } -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_9; -x_9 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___redArg(x_1, x_5); -return x_9; +lean_object* x_15; +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_12, x_13); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_10; @@ -6414,773 +6612,15 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("invalid constraint, rhs contains a synthetic `sorry`", 52, 52); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_8, x_7); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_4); -lean_dec(x_3); -x_18 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_18, 0, x_9); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_array_uget(x_6, x_8); -x_20 = l_Lean_Expr_fvarId_x21(x_19); -lean_dec_ref(x_19); -lean_inc_ref(x_12); -x_21 = l_Lean_FVarId_getDecl___redArg(x_20, x_12, x_14, x_15); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec_ref(x_21); -x_23 = lean_ctor_get(x_9, 1); -lean_inc(x_23); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - x_24 = x_9; -} else { - lean_dec_ref(x_9); - x_24 = lean_box(0); -} -x_25 = l_Lean_LocalDecl_userName(x_22); -x_26 = lean_name_eq(x_25, x_1); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; -lean_dec(x_22); -x_27 = lean_nat_add(x_23, x_2); -lean_dec(x_23); -lean_inc(x_3); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_3); -lean_ctor_set(x_28, 1, x_27); -x_29 = 1; -x_30 = lean_usize_add(x_8, x_29); -x_8 = x_30; -x_9 = x_28; -goto _start; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_3); -x_32 = l_Lean_LocalDecl_type(x_22); -lean_dec(x_22); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_4); -x_34 = l_Lean_Elab_Term_elabTerm(x_4, x_33, x_26, x_26, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; uint8_t x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -lean_dec_ref(x_34); -x_36 = 1; -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_37 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_36, x_26, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_75; -lean_dec_ref(x_37); -x_38 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___redArg(x_35, x_13); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - x_40 = x_38; -} else { - lean_dec_ref(x_38); - x_40 = lean_box(0); -} -x_41 = lean_array_get_size(x_5); -x_42 = lean_nat_sub(x_41, x_23); -lean_dec(x_41); -x_43 = lean_nat_sub(x_42, x_2); -lean_dec(x_42); -x_75 = l_Lean_Expr_hasSyntheticSorry(x_39); -if (x_75 == 0) -{ -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_4); -x_44 = x_12; -x_45 = x_13; -x_46 = x_14; -x_47 = x_15; -x_48 = lean_box(0); -goto block_74; -} -else -{ -lean_object* x_76; lean_object* x_77; uint8_t x_78; -lean_dec(x_43); -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_24); -lean_dec(x_23); -x_76 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__1; -x_77 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(x_4, x_76, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_15); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec(x_4); -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) -{ -return x_77; -} -else -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_77, 0); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_79); -return x_80; -} -} -block_74: -{ -lean_object* x_49; lean_object* x_50; -x_49 = l_Lean_Expr_eta(x_39); -x_50 = l_Lean_Meta_abstractMVars(x_49, x_26, x_44, x_45, x_46, x_47); -lean_dec(x_47); -lean_dec_ref(x_46); -lean_dec(x_45); -lean_dec_ref(x_44); -if (lean_obj_tag(x_50) == 0) -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_52 = lean_ctor_get(x_50, 0); -x_53 = lean_ctor_get(x_52, 0); -lean_inc_ref(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc_ref(x_54); -x_55 = lean_ctor_get(x_52, 2); -lean_inc_ref(x_55); -lean_dec(x_52); -x_56 = lean_array_get_size(x_54); -lean_dec_ref(x_54); -x_57 = lean_expr_abstract(x_55, x_5); -lean_dec_ref(x_55); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_43); -lean_ctor_set(x_58, 1, x_53); -lean_ctor_set(x_58, 2, x_56); -lean_ctor_set(x_58, 3, x_57); -if (lean_is_scalar(x_40)) { - x_59 = lean_alloc_ctor(1, 1, 0); -} else { - x_59 = x_40; - lean_ctor_set_tag(x_59, 1); -} -lean_ctor_set(x_59, 0, x_58); -if (lean_is_scalar(x_24)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_24; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_23); -lean_ctor_set(x_50, 0, x_60); -return x_50; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_61 = lean_ctor_get(x_50, 0); -lean_inc(x_61); -lean_dec(x_50); -x_62 = lean_ctor_get(x_61, 0); -lean_inc_ref(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc_ref(x_63); -x_64 = lean_ctor_get(x_61, 2); -lean_inc_ref(x_64); -lean_dec(x_61); -x_65 = lean_array_get_size(x_63); -lean_dec_ref(x_63); -x_66 = lean_expr_abstract(x_64, x_5); -lean_dec_ref(x_64); -x_67 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_67, 0, x_43); -lean_ctor_set(x_67, 1, x_62); -lean_ctor_set(x_67, 2, x_65); -lean_ctor_set(x_67, 3, x_66); -if (lean_is_scalar(x_40)) { - x_68 = lean_alloc_ctor(1, 1, 0); -} else { - x_68 = x_40; - lean_ctor_set_tag(x_68, 1); -} -lean_ctor_set(x_68, 0, x_67); -if (lean_is_scalar(x_24)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_24; -} -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_23); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_69); -return x_70; -} -} -else -{ -uint8_t x_71; -lean_dec(x_43); -lean_dec(x_40); -lean_dec(x_24); -lean_dec(x_23); -x_71 = !lean_is_exclusive(x_50); -if (x_71 == 0) -{ -return x_50; -} -else -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_50, 0); -lean_inc(x_72); -lean_dec(x_50); -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_72); -return x_73; -} -} -} -} -else -{ -uint8_t x_81; -lean_dec(x_35); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_4); -x_81 = !lean_is_exclusive(x_37); -if (x_81 == 0) -{ -return x_37; -} -else -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_37, 0); -lean_inc(x_82); -lean_dec(x_37); -x_83 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_83, 0, x_82); -return x_83; -} -} -} -else -{ -uint8_t x_84; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_4); -x_84 = !lean_is_exclusive(x_34); -if (x_84 == 0) -{ -return x_34; -} -else -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_34, 0); -lean_inc(x_85); -lean_dec(x_34); -x_86 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_86, 0, x_85); -return x_86; -} -} -} -} -else -{ -uint8_t x_87; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec_ref(x_9); -lean_dec(x_4); -lean_dec(x_3); -x_87 = !lean_is_exclusive(x_21); -if (x_87 == 0) -{ -return x_21; -} -else -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_21, 0); -lean_inc(x_88); -lean_dec(x_21); -x_89 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_89, 0, x_88); -return x_89; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_8, x_7); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_4); -lean_dec(x_3); -x_18 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_18, 0, x_9); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_array_uget(x_6, x_8); -x_20 = l_Lean_Expr_fvarId_x21(x_19); -lean_dec_ref(x_19); -lean_inc_ref(x_12); -x_21 = l_Lean_FVarId_getDecl___redArg(x_20, x_12, x_14, x_15); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec_ref(x_21); -x_23 = lean_ctor_get(x_9, 1); -lean_inc(x_23); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - x_24 = x_9; -} else { - lean_dec_ref(x_9); - x_24 = lean_box(0); -} -x_25 = l_Lean_LocalDecl_userName(x_22); -x_26 = lean_name_eq(x_25, x_1); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; -lean_dec(x_22); -x_27 = lean_nat_add(x_23, x_2); -lean_dec(x_23); -lean_inc(x_3); -if (lean_is_scalar(x_24)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_24; -} -lean_ctor_set(x_28, 0, x_3); -lean_ctor_set(x_28, 1, x_27); -x_29 = 1; -x_30 = lean_usize_add(x_8, x_29); -x_31 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_30, x_28, x_10, x_11, x_12, x_13, x_14, x_15); -return x_31; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_3); -x_32 = l_Lean_LocalDecl_type(x_22); -lean_dec(x_22); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_4); -x_34 = l_Lean_Elab_Term_elabTerm(x_4, x_33, x_26, x_26, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; uint8_t x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -lean_dec_ref(x_34); -x_36 = 1; -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_37 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_36, x_26, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_75; -lean_dec_ref(x_37); -x_38 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___redArg(x_35, x_13); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - x_40 = x_38; -} else { - lean_dec_ref(x_38); - x_40 = lean_box(0); -} -x_41 = lean_array_get_size(x_5); -x_42 = lean_nat_sub(x_41, x_23); -lean_dec(x_41); -x_43 = lean_nat_sub(x_42, x_2); -lean_dec(x_42); -x_75 = l_Lean_Expr_hasSyntheticSorry(x_39); -if (x_75 == 0) -{ -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_4); -x_44 = x_12; -x_45 = x_13; -x_46 = x_14; -x_47 = x_15; -x_48 = lean_box(0); -goto block_74; -} -else -{ -lean_object* x_76; lean_object* x_77; uint8_t x_78; -lean_dec(x_43); -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_24); -lean_dec(x_23); -x_76 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__1; -x_77 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(x_4, x_76, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_15); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec(x_4); -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) -{ -return x_77; -} -else -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_77, 0); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_79); -return x_80; -} -} -block_74: -{ -lean_object* x_49; lean_object* x_50; -x_49 = l_Lean_Expr_eta(x_39); -x_50 = l_Lean_Meta_abstractMVars(x_49, x_26, x_44, x_45, x_46, x_47); -lean_dec(x_47); -lean_dec_ref(x_46); -lean_dec(x_45); -lean_dec_ref(x_44); -if (lean_obj_tag(x_50) == 0) -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_52 = lean_ctor_get(x_50, 0); -x_53 = lean_ctor_get(x_52, 0); -lean_inc_ref(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc_ref(x_54); -x_55 = lean_ctor_get(x_52, 2); -lean_inc_ref(x_55); -lean_dec(x_52); -x_56 = lean_array_get_size(x_54); -lean_dec_ref(x_54); -x_57 = lean_expr_abstract(x_55, x_5); -lean_dec_ref(x_55); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_43); -lean_ctor_set(x_58, 1, x_53); -lean_ctor_set(x_58, 2, x_56); -lean_ctor_set(x_58, 3, x_57); -if (lean_is_scalar(x_40)) { - x_59 = lean_alloc_ctor(1, 1, 0); -} else { - x_59 = x_40; - lean_ctor_set_tag(x_59, 1); -} -lean_ctor_set(x_59, 0, x_58); -if (lean_is_scalar(x_24)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_24; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_23); -lean_ctor_set(x_50, 0, x_60); -return x_50; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_61 = lean_ctor_get(x_50, 0); -lean_inc(x_61); -lean_dec(x_50); -x_62 = lean_ctor_get(x_61, 0); -lean_inc_ref(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc_ref(x_63); -x_64 = lean_ctor_get(x_61, 2); -lean_inc_ref(x_64); -lean_dec(x_61); -x_65 = lean_array_get_size(x_63); -lean_dec_ref(x_63); -x_66 = lean_expr_abstract(x_64, x_5); -lean_dec_ref(x_64); -x_67 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_67, 0, x_43); -lean_ctor_set(x_67, 1, x_62); -lean_ctor_set(x_67, 2, x_65); -lean_ctor_set(x_67, 3, x_66); -if (lean_is_scalar(x_40)) { - x_68 = lean_alloc_ctor(1, 1, 0); -} else { - x_68 = x_40; - lean_ctor_set_tag(x_68, 1); -} -lean_ctor_set(x_68, 0, x_67); -if (lean_is_scalar(x_24)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_24; -} -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_23); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_69); -return x_70; -} -} -else -{ -uint8_t x_71; -lean_dec(x_43); -lean_dec(x_40); -lean_dec(x_24); -lean_dec(x_23); -x_71 = !lean_is_exclusive(x_50); -if (x_71 == 0) -{ -return x_50; -} -else -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_50, 0); -lean_inc(x_72); -lean_dec(x_50); -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_72); -return x_73; -} -} -} -} -else -{ -uint8_t x_81; -lean_dec(x_35); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_4); -x_81 = !lean_is_exclusive(x_37); -if (x_81 == 0) -{ -return x_37; -} -else -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_37, 0); -lean_inc(x_82); -lean_dec(x_37); -x_83 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_83, 0, x_82); -return x_83; -} -} -} -else -{ -uint8_t x_84; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_4); -x_84 = !lean_is_exclusive(x_34); -if (x_84 == 0) -{ -return x_34; -} -else -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_34, 0); -lean_inc(x_85); -lean_dec(x_34); -x_86 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_86, 0, x_85); -return x_86; -} -} -} -} -else -{ -uint8_t x_87; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec_ref(x_9); -lean_dec(x_4); -lean_dec(x_3); -x_87 = !lean_is_exclusive(x_21); -if (x_87 == 0) -{ -return x_21; -} -else -{ -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_21, 0); -lean_inc(x_88); -lean_dec(x_21); -x_89 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_89, 0, x_88); -return x_89; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -lean_object* x_19; -x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_19; -} -} -static lean_object* _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__0() { +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7192,7 +6632,7 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__1() { _start: { lean_object* x_1; @@ -7200,16 +6640,16 @@ x_1 = lean_mk_string_unchecked("invalid constraint, `", 21, 21); return x_1; } } -static lean_object* _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__2() { +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__1; +x_1 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__3() { +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__3() { _start: { lean_object* x_1; @@ -7217,517 +6657,605 @@ x_1 = lean_mk_string_unchecked("` is not local variable of the theorem", 38, 38) return x_1; } } -static lean_object* _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__4() { +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__3; +x_1 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -if (lean_obj_tag(x_5) == 0) +lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; +x_10 = l_Lean_Syntax_getId(x_2); +x_11 = lean_box(0); +x_12 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__0; +x_13 = lean_array_size(x_1); +x_14 = 0; +lean_inc_ref(x_5); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0___redArg(x_10, x_11, x_1, x_1, x_13, x_14, x_12, x_5, x_7, x_8); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_14; lean_object* x_15; -lean_dec(x_12); -lean_dec_ref(x_11); +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_dec(x_20); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_free_object(x_15); +x_21 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__2; +x_22 = l_Lean_MessageData_ofName(x_10); +lean_ctor_set_tag(x_17, 7); +lean_ctor_set(x_17, 1, x_22); +lean_ctor_set(x_17, 0, x_21); +x_23 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__4; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_17); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_2, x_24, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_5); +return x_25; +} +else +{ +lean_object* x_26; +lean_free_object(x_17); lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); lean_dec_ref(x_7); -x_14 = l_List_reverse___redArg(x_6); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_14); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +x_26 = lean_ctor_get(x_19, 0); +lean_inc(x_26); +lean_dec_ref(x_19); +lean_ctor_set(x_15, 0, x_26); return x_15; } +} else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_5, 1); -lean_inc(x_17); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - x_18 = x_5; -} else { - lean_dec_ref(x_5); - x_18 = lean_box(0); -} -x_24 = lean_unsigned_to_nat(0u); -x_25 = l_Lean_Syntax_getArg(x_16, x_24); -x_26 = lean_unsigned_to_nat(2u); -x_27 = l_Lean_Syntax_getArg(x_16, x_26); -lean_dec(x_16); -x_28 = l_Lean_Syntax_getId(x_25); -x_29 = lean_box(0); -x_30 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__0; -x_31 = lean_array_size(x_1); -x_32 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_33 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___redArg(x_28, x_2, x_29, x_27, x_1, x_1, x_31, x_32, x_30, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -lean_dec_ref(x_33); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_ctor_get(x_34, 1); -lean_dec(x_37); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_18); +lean_object* x_27; +x_27 = lean_ctor_get(x_17, 0); +lean_inc(x_27); lean_dec(x_17); -lean_dec(x_6); -x_38 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__2; -x_39 = l_Lean_MessageData_ofName(x_28); -lean_ctor_set_tag(x_34, 7); -lean_ctor_set(x_34, 1, x_39); -lean_ctor_set(x_34, 0, x_38); -x_40 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__4; -x_41 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_41, 0, x_34); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(x_25, x_41, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_12); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_25); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -return x_42; -} -else -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -return x_45; -} -} -else -{ -lean_object* x_46; -lean_free_object(x_34); -lean_dec(x_28); -lean_dec(x_25); -x_46 = lean_ctor_get(x_36, 0); -lean_inc(x_46); -lean_dec_ref(x_36); -x_19 = x_46; -x_20 = lean_box(0); -goto block_23; -} -} -else -{ -lean_object* x_47; -x_47 = lean_ctor_get(x_34, 0); -lean_inc(x_47); -lean_dec(x_34); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_6); -x_48 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__2; -x_49 = l_Lean_MessageData_ofName(x_28); -x_50 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__4; -x_52 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(x_25, x_52, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_12); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_25); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - x_55 = x_53; -} else { - lean_dec_ref(x_53); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(1, 1, 0); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_54); -return x_56; -} -else -{ -lean_object* x_57; -lean_dec(x_28); -lean_dec(x_25); -x_57 = lean_ctor_get(x_47, 0); -lean_inc(x_57); -lean_dec_ref(x_47); -x_19 = x_57; -x_20 = lean_box(0); -goto block_23; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_28); -lean_dec(x_25); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -x_58 = !lean_is_exclusive(x_33); -if (x_58 == 0) +if (lean_obj_tag(x_27) == 0) { +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_free_object(x_15); +x_28 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__2; +x_29 = l_Lean_MessageData_ofName(x_10); +x_30 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__4; +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_2, x_32, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_5); return x_33; } else { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_33, 0); -lean_inc(x_59); -lean_dec(x_33); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, x_59); -return x_60; -} -} -block_23: -{ -lean_object* x_21; -if (lean_is_scalar(x_18)) { - x_21 = lean_alloc_ctor(1, 2, 0); -} else { - x_21 = x_18; -} -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_6); -x_5 = x_17; -x_6 = x_21; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_12); -lean_dec_ref(x_11); +lean_object* x_34; lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); lean_dec_ref(x_7); -x_14 = l_List_reverse___redArg(x_6); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_14); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +lean_dec_ref(x_27); +lean_ctor_set(x_15, 0, x_34); return x_15; } +} +} else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_5, 1); -lean_inc(x_17); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - x_18 = x_5; +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_15, 0); +lean_inc(x_35); +lean_dec(x_15); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + x_37 = x_35; } else { - lean_dec_ref(x_5); - x_18 = lean_box(0); + lean_dec_ref(x_35); + x_37 = lean_box(0); } -x_24 = lean_unsigned_to_nat(0u); -x_25 = l_Lean_Syntax_getArg(x_16, x_24); -x_26 = lean_unsigned_to_nat(2u); -x_27 = l_Lean_Syntax_getArg(x_16, x_26); -lean_dec(x_16); -x_28 = l_Lean_Syntax_getId(x_25); -x_29 = lean_box(0); -x_30 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__0; -x_31 = lean_array_size(x_4); -x_32 = 0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_33 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___redArg(x_28, x_1, x_29, x_27, x_4, x_4, x_31, x_32, x_30, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -lean_dec_ref(x_33); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_ctor_get(x_34, 1); -lean_dec(x_37); if (lean_obj_tag(x_36) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_6); -x_38 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__2; -x_39 = l_Lean_MessageData_ofName(x_28); -lean_ctor_set_tag(x_34, 7); -lean_ctor_set(x_34, 1, x_39); -lean_ctor_set(x_34, 0, x_38); -x_40 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__4; -x_41 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_41, 0, x_34); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(x_25, x_41, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_12); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_25); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -return x_42; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_38 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__2; +x_39 = l_Lean_MessageData_ofName(x_10); +if (lean_is_scalar(x_37)) { + x_40 = lean_alloc_ctor(7, 2, 0); +} else { + x_40 = x_37; + lean_ctor_set_tag(x_40, 7); +} +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__4; +x_42 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_2, x_42, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_5); +return x_43; } else { lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_37); +lean_dec(x_10); +lean_dec_ref(x_7); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +x_44 = lean_ctor_get(x_36, 0); lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_alloc_ctor(1, 1, 0); +lean_dec_ref(x_36); +x_45 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_45, 0, x_44); return x_45; } } -else -{ -lean_object* x_46; -lean_free_object(x_34); -lean_dec(x_28); -lean_dec(x_25); -x_46 = lean_ctor_get(x_36, 0); -lean_inc(x_46); -lean_dec_ref(x_36); -x_19 = x_46; -x_20 = lean_box(0); -goto block_23; -} } else { -lean_object* x_47; -x_47 = lean_ctor_get(x_34, 0); -lean_inc(x_47); -lean_dec(x_34); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_6); -x_48 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__2; -x_49 = l_Lean_MessageData_ofName(x_28); -x_50 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__4; -x_52 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(x_25, x_52, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_12); +uint8_t x_46; lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_25); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - x_55 = x_53; -} else { - lean_dec_ref(x_53); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(1, 1, 0); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_54); -return x_56; -} -else -{ -lean_object* x_57; -lean_dec(x_28); -lean_dec(x_25); -x_57 = lean_ctor_get(x_47, 0); -lean_inc(x_57); -lean_dec_ref(x_47); -x_19 = x_57; -x_20 = lean_box(0); -goto block_23; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_28); -lean_dec(x_25); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); lean_dec_ref(x_7); -lean_dec(x_6); -x_58 = !lean_is_exclusive(x_33); -if (x_58 == 0) +lean_dec_ref(x_5); +lean_dec_ref(x_3); +x_46 = !lean_is_exclusive(x_15); +if (x_46 == 0) { -return x_33; +return x_15; } else { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_33, 0); -lean_inc(x_59); -lean_dec(x_33); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, x_59); -return x_60; +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_15, 0); +lean_inc(x_47); +lean_dec(x_15); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; } } -block_23: +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: { -lean_object* x_21; lean_object* x_22; -if (lean_is_scalar(x_18)) { - x_21 = lean_alloc_ctor(1, 2, 0); -} else { - x_21 = x_18; +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_13 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0___redArg(x_1, x_2, x_3, x_4, x_12, x_13, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_14; } -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_6); -x_22 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4(x_4, x_1, x_2, x_3, x_17, x_21, x_7, x_8, x_9, x_10, x_11, x_12); +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__0(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_Expr_hasMVar(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_5, 0, x_1); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_6 = lean_st_ref_get(x_2); +x_7 = lean_ctor_get(x_6, 0); +lean_inc_ref(x_7); +lean_dec_ref(x_6); +x_8 = l_Lean_instantiateMVarsCore(x_7, x_1); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec_ref(x_8); +x_11 = lean_st_ref_take(x_2); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +lean_dec(x_13); +lean_ctor_set(x_11, 0, x_10); +x_14 = lean_st_ref_set(x_2, x_11); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_11, 1); +x_17 = lean_ctor_get(x_11, 2); +x_18 = lean_ctor_get(x_11, 3); +x_19 = lean_ctor_get(x_11, 4); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_11); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_18); +lean_ctor_set(x_20, 4, x_19); +x_21 = lean_st_ref_set(x_2, x_20); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_9); return x_22; } } } } -static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__0() { +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___redArg(x_1, x_5); +return x_9; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__0() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_ReaderT_instMonadLift___lam__0___boxed), 3, 0); +x_1 = lean_mk_string_unchecked("invalid constraint, rhs contains a synthetic `sorry`", 52, 52); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__1() { +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___boxed), 6, 3); -lean_closure_set(x_1, 0, lean_box(0)); -lean_closure_set(x_1, 1, lean_box(0)); -lean_closure_set(x_1, 2, lean_box(0)); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -if (lean_obj_tag(x_2) == 1) +lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_3); +x_12 = 1; +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_2); +x_13 = l_Lean_Elab_Term_elabTerm(x_2, x_11, x_12, x_12, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_10 = lean_ctor_get(x_2, 0); -x_11 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__0; -x_12 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__1; -x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_Syntax_getArg(x_10, x_13); -x_15 = l_Lean_Syntax_getArgs(x_14); -lean_dec(x_14); -x_16 = lean_array_to_list(x_15); -x_17 = lean_box(0); -x_18 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4(x_13, x_12, x_11, x_1, x_16, x_17, x_3, x_4, x_5, x_6, x_7, x_8); -return x_18; +lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec_ref(x_13); +x_15 = 1; +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_16 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_15, x_12, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_dec_ref(x_16); +x_17 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___redArg(x_14, x_7); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec_ref(x_17); +x_19 = l_Lean_Expr_hasSyntheticSorry(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_20 = l_Lean_Expr_eta(x_18); +x_21 = l_Lean_Meta_abstractMVars(x_20, x_12, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_23, 1); +x_26 = lean_ctor_get(x_23, 2); +x_27 = lean_array_get_size(x_25); +lean_dec_ref(x_25); +x_28 = lean_expr_abstract(x_26, x_1); +lean_dec_ref(x_26); +lean_ctor_set(x_23, 2, x_28); +lean_ctor_set(x_23, 1, x_27); +return x_21; } else { -lean_object* x_19; lean_object* x_20; -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -return x_20; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_23, 0); +x_30 = lean_ctor_get(x_23, 1); +x_31 = lean_ctor_get(x_23, 2); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_23); +x_32 = lean_array_get_size(x_30); +lean_dec_ref(x_30); +x_33 = lean_expr_abstract(x_31, x_1); +lean_dec_ref(x_31); +x_34 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_33); +lean_ctor_set(x_21, 0, x_34); +return x_21; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_21, 0); +lean_inc(x_35); +lean_dec(x_21); +x_36 = lean_ctor_get(x_35, 0); +lean_inc_ref(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc_ref(x_37); +x_38 = lean_ctor_get(x_35, 2); +lean_inc_ref(x_38); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + lean_ctor_release(x_35, 2); + x_39 = x_35; +} else { + lean_dec_ref(x_35); + x_39 = lean_box(0); +} +x_40 = lean_array_get_size(x_37); +lean_dec_ref(x_37); +x_41 = lean_expr_abstract(x_38, x_1); +lean_dec_ref(x_38); +if (lean_is_scalar(x_39)) { + x_42 = lean_alloc_ctor(0, 3, 0); +} else { + x_42 = x_39; +} +lean_ctor_set(x_42, 0, x_36); +lean_ctor_set(x_42, 1, x_40); +lean_ctor_set(x_42, 2, x_41); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +return x_43; +} +} +else +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_21); +if (x_44 == 0) +{ +return x_21; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_21, 0); +lean_inc(x_45); +lean_dec(x_21); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +return x_46; } } } -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +else +{ +lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_dec(x_18); +x_47 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__1; +x_48 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_2, x_47, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +return x_48; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_48, 0); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +return x_51; +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_14); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_52 = !lean_is_exclusive(x_16); +if (x_52 == 0) +{ +return x_16; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_16, 0); +lean_inc(x_53); +lean_dec(x_16); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_53); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_55 = !lean_is_exclusive(x_13); +if (x_55 == 0) +{ +return x_13; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_13, 0); +lean_inc(x_56); +lean_dec(x_13); +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_56); +return x_57; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___redArg(x_1, x_2); +x_4 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___redArg(x_1, x_2); lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); @@ -7737,122 +7265,1686 @@ lean_dec_ref(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; -x_10 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_11; +x_11 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_1); +return x_11; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Level_ofNat(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__0; +x_2 = l_Lean_Expr_sort___override(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("invalid proposition, it contains metavariables", 46, 46); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("invalid proposition, it contains a synthetic `sorry`", 52, 52); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__2; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_2); +x_11 = l_Lean_Elab_Term_elabTermAndSynthesize(x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec_ref(x_11); +x_13 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___redArg(x_12, x_6); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = l_Lean_Expr_hasSyntheticSorry(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +x_17 = l_Lean_Expr_hasMVar(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +x_18 = lean_expr_abstract(x_15, x_1); +lean_dec(x_15); +lean_ctor_set(x_13, 0, x_18); +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_free_object(x_13); +x_19 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__4; +x_20 = l_Lean_indentExpr(x_15); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_2, x_21, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +lean_dec(x_2); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) { -lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_free_object(x_13); +lean_dec(x_15); +x_26 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__6; +x_27 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_2, x_26, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +return x_27; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +return x_30; +} +} +} +else +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_13, 0); +lean_inc(x_31); +lean_dec(x_13); +x_32 = l_Lean_Expr_hasSyntheticSorry(x_31); +if (x_32 == 0) +{ +uint8_t x_33; +x_33 = l_Lean_Expr_hasMVar(x_31); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +x_34 = lean_expr_abstract(x_31, x_1); +lean_dec(x_31); +x_35 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_35, 0, x_34); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_36 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__4; +x_37 = l_Lean_indentExpr(x_31); +x_38 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_2, x_38, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + x_41 = x_39; +} else { + lean_dec_ref(x_39); + x_41 = lean_box(0); +} +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(1, 1, 0); +} else { + x_42 = x_41; +} +lean_ctor_set(x_42, 0, x_40); +return x_42; +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_31); +x_43 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__6; +x_44 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_2, x_43, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + x_46 = x_44; +} else { + lean_dec_ref(x_44); + x_46 = lean_box(0); +} +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(1, 1, 0); +} else { + x_47 = x_46; +} +lean_ctor_set(x_47, 0, x_45); +return x_47; +} +} +} +else +{ +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_18 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec_ref(x_6); -lean_dec_ref(x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_19; +lean_object* x_10; +x_10 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_1); +return x_10; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabNotDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_17; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_18 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec_ref(x_6); -lean_dec_ref(x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_19; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: +lean_object* x_11; +lean_inc_ref(x_8); +lean_inc_ref(x_6); +lean_inc_ref(x_4); +x_11 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) { -size_t x_19; size_t x_20; lean_object* x_21; -x_19 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_20 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_21 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19, x_20, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec_ref(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_5); -lean_dec(x_2); -lean_dec(x_1); +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec_ref(x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +x_16 = l_Lean_LocalDecl_type(x_14); +lean_dec(x_14); +x_17 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS(x_1, x_3, x_16, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); +lean_ctor_set(x_12, 1, x_19); +lean_ctor_set(x_12, 0, x_15); +lean_ctor_set(x_17, 0, x_12); +return x_17; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +lean_dec(x_17); +lean_ctor_set(x_12, 1, x_20); +lean_ctor_set(x_12, 0, x_15); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_12); return x_21; } } -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +else +{ +uint8_t x_22; +lean_free_object(x_12); +lean_dec(x_15); +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +return x_17; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_17, 0); +lean_inc(x_23); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_12, 0); +x_26 = lean_ctor_get(x_12, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_12); +x_27 = l_Lean_LocalDecl_type(x_25); +lean_dec(x_25); +x_28 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS(x_1, x_3, x_27, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_30 = x_28; +} else { + lean_dec_ref(x_28); + x_30 = lean_box(0); +} +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_29); +if (lean_is_scalar(x_30)) { + x_32 = lean_alloc_ctor(0, 1, 0); +} else { + x_32 = x_30; +} +lean_ctor_set(x_32, 0, x_31); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_26); +x_33 = lean_ctor_get(x_28, 0); +lean_inc(x_33); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_34 = x_28; +} else { + lean_dec_ref(x_28); + x_34 = lean_box(0); +} +if (lean_is_scalar(x_34)) { + x_35 = lean_alloc_ctor(1, 1, 0); +} else { + x_35 = x_34; +} +lean_ctor_set(x_35, 0, x_33); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +x_36 = !lean_is_exclusive(x_11); +if (x_36 == 0) +{ +return x_11; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_11, 0); +lean_inc(x_37); +lean_dec(x_11); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +return x_38; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabNotDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_14; -x_14 = l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_4); -lean_dec_ref(x_3); +lean_object* x_11; +x_11 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabNotDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); lean_dec_ref(x_1); -return x_14; +return x_11; } } -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_14; -x_14 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_11; +lean_inc_ref(x_8); +lean_inc_ref(x_6); +lean_inc_ref(x_4); +x_11 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec_ref(x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +x_16 = l_Lean_LocalDecl_type(x_14); +lean_dec(x_14); +x_17 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS(x_1, x_3, x_16, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 1, x_19); +lean_ctor_set(x_12, 0, x_15); +lean_ctor_set(x_17, 0, x_12); +return x_17; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +lean_dec(x_17); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 1, x_20); +lean_ctor_set(x_12, 0, x_15); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_12); +return x_21; +} +} +else +{ +uint8_t x_22; +lean_free_object(x_12); +lean_dec(x_15); +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +return x_17; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_17, 0); +lean_inc(x_23); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_12, 0); +x_26 = lean_ctor_get(x_12, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_12); +x_27 = l_Lean_LocalDecl_type(x_25); +lean_dec(x_25); +x_28 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS(x_1, x_3, x_27, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_30 = x_28; +} else { + lean_dec_ref(x_28); + x_30 = lean_box(0); +} +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_29); +if (lean_is_scalar(x_30)) { + x_32 = lean_alloc_ctor(0, 1, 0); +} else { + x_32 = x_30; +} +lean_ctor_set(x_32, 0, x_31); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_26); +x_33 = lean_ctor_get(x_28, 0); +lean_inc(x_33); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_34 = x_28; +} else { + lean_dec_ref(x_28); + x_34 = lean_box(0); +} +if (lean_is_scalar(x_34)) { + x_35 = lean_alloc_ctor(1, 1, 0); +} else { + x_35 = x_34; +} +lean_ctor_set(x_35, 0, x_33); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); lean_dec_ref(x_4); +lean_dec(x_3); +x_36 = !lean_is_exclusive(x_11); +if (x_36 == 0) +{ +return x_11; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_11, 0); +lean_inc(x_37); +lean_dec(x_11); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +return x_38; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_11; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Parser", 6, 6); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Command", 7, 7); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("GrindCnstr", 10, 10); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("notDefEq", 8, 8); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__3; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("defEq", 5, 5); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__5; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("genLt", 5, 5); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__7; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("sizeLt", 6, 6); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__9; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("depthLt", 7, 7); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__11; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("maxInsts", 8, 8); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__13; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isValue", 7, 7); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__15; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isStrictValue", 13, 13); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__17; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isGround", 8, 8); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__19; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("check", 5, 5); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__21; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("guard", 5, 5); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__23; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unexpected constraint", 21, 21); +return x_1; +} +} +static lean_object* _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__25; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_12 = l_List_reverse___redArg(x_4); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_22; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_14 = lean_ctor_get(x_3, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_3, 1); +lean_inc(x_15); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_16 = x_3; +} else { + lean_dec_ref(x_3); + x_16 = lean_box(0); +} +lean_inc(x_14); +x_28 = l_Lean_Syntax_getKind(x_14); +x_29 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__4; +x_30 = lean_name_eq(x_28, x_29); +if (x_30 == 0) +{ +lean_object* x_31; uint8_t x_32; +x_31 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__6; +x_32 = lean_name_eq(x_28, x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +x_33 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__8; +x_34 = lean_name_eq(x_28, x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__10; +x_36 = lean_name_eq(x_28, x_35); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__12; +x_38 = lean_name_eq(x_28, x_37); +if (x_38 == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__14; +x_40 = lean_name_eq(x_28, x_39); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__16; +x_42 = lean_name_eq(x_28, x_41); +if (x_42 == 0) +{ +lean_object* x_43; uint8_t x_44; +x_43 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__18; +x_44 = lean_name_eq(x_28, x_43); +if (x_44 == 0) +{ +lean_object* x_45; uint8_t x_46; +x_45 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__20; +x_46 = lean_name_eq(x_28, x_45); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__22; +x_48 = lean_name_eq(x_28, x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +x_49 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__24; +x_50 = lean_name_eq(x_28, x_49); +lean_dec(x_28); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__26; +lean_inc_ref(x_9); +lean_inc_ref(x_5); +x_52 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_14, x_51, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_14); +x_22 = x_52; +goto block_27; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = l_Lean_Syntax_getArg(x_14, x_1); +lean_dec(x_14); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_54 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp(x_2, x_53, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +lean_dec_ref(x_54); +x_56 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_56, 0, x_55); +x_17 = x_56; +x_18 = lean_box(0); +goto block_21; +} +else +{ +uint8_t x_57; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_57 = !lean_is_exclusive(x_54); +if (x_57 == 0) +{ +return x_54; +} +else +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_54, 0); +lean_inc(x_58); +lean_dec(x_54); +x_59 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_59, 0, x_58); +return x_59; +} +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_28); +x_60 = l_Lean_Syntax_getArg(x_14, x_1); +lean_dec(x_14); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_61 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp(x_2, x_60, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +lean_dec_ref(x_61); +x_63 = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_17 = x_63; +x_18 = lean_box(0); +goto block_21; +} +else +{ +uint8_t x_64; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_64 = !lean_is_exclusive(x_61); +if (x_64 == 0) +{ +return x_61; +} +else +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_61, 0); +lean_inc(x_65); +lean_dec(x_61); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +return x_66; +} +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; +lean_dec(x_28); +x_67 = l_Lean_Syntax_getArg(x_14, x_1); +lean_dec(x_14); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc_ref(x_5); +x_68 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(x_2, x_67, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_67); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +lean_dec_ref(x_68); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_17 = x_71; +x_18 = lean_box(0); +goto block_21; +} +else +{ +uint8_t x_72; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_72 = !lean_is_exclusive(x_68); +if (x_72 == 0) +{ +return x_68; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_68, 0); +lean_inc(x_73); +lean_dec(x_68); +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_73); +return x_74; +} +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_28); +x_75 = l_Lean_Syntax_getArg(x_14, x_1); +lean_dec(x_14); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc_ref(x_5); +x_76 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(x_2, x_75, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_75); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +lean_dec_ref(x_76); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_79 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_44); +x_17 = x_79; +x_18 = lean_box(0); +goto block_21; +} +else +{ +uint8_t x_80; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_80 = !lean_is_exclusive(x_76); +if (x_80 == 0) +{ +return x_76; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_76, 0); +lean_inc(x_81); +lean_dec(x_76); +x_82 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_82, 0, x_81); +return x_82; +} +} +} +} +else +{ +lean_object* x_83; lean_object* x_84; +lean_dec(x_28); +x_83 = l_Lean_Syntax_getArg(x_14, x_1); +lean_dec(x_14); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc_ref(x_5); +x_84 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(x_2, x_83, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_83); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +lean_dec_ref(x_84); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set_uint8(x_87, sizeof(void*)*1, x_40); +x_17 = x_87; +x_18 = lean_box(0); +goto block_21; +} +else +{ +uint8_t x_88; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_88 = !lean_is_exclusive(x_84); +if (x_88 == 0) +{ +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 0); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_90, 0, x_89); +return x_90; +} +} +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_28); +x_91 = l_Lean_Syntax_getArg(x_14, x_1); +lean_dec(x_14); +x_92 = l_Lean_Syntax_toNat(x_91); +lean_dec(x_91); +x_93 = lean_alloc_ctor(7, 1, 0); +lean_ctor_set(x_93, 0, x_92); +x_17 = x_93; +x_18 = lean_box(0); +goto block_21; +} +} +else +{ +lean_object* x_94; lean_object* x_95; +lean_dec(x_28); +x_94 = l_Lean_Syntax_getArg(x_14, x_1); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc_ref(x_5); +x_95 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(x_2, x_94, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_94); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +lean_dec_ref(x_95); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_98 = lean_ctor_get(x_96, 1); +x_99 = lean_ctor_get(x_96, 0); +lean_dec(x_99); +x_100 = lean_unsigned_to_nat(3u); +x_101 = l_Lean_Syntax_getArg(x_14, x_100); +lean_dec(x_14); +x_102 = l_Lean_Syntax_toNat(x_101); +lean_dec(x_101); +lean_ctor_set_tag(x_96, 3); +lean_ctor_set(x_96, 1, x_102); +lean_ctor_set(x_96, 0, x_98); +x_17 = x_96; +x_18 = lean_box(0); +goto block_21; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_103 = lean_ctor_get(x_96, 1); +lean_inc(x_103); +lean_dec(x_96); +x_104 = lean_unsigned_to_nat(3u); +x_105 = l_Lean_Syntax_getArg(x_14, x_104); +lean_dec(x_14); +x_106 = l_Lean_Syntax_toNat(x_105); +lean_dec(x_105); +x_107 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_107, 0, x_103); +lean_ctor_set(x_107, 1, x_106); +x_17 = x_107; +x_18 = lean_box(0); +goto block_21; +} +} +else +{ +uint8_t x_108; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_108 = !lean_is_exclusive(x_95); +if (x_108 == 0) +{ +return x_95; +} +else +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_95, 0); +lean_inc(x_109); +lean_dec(x_95); +x_110 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_110, 0, x_109); +return x_110; +} +} +} +} +else +{ +lean_object* x_111; lean_object* x_112; +lean_dec(x_28); +x_111 = l_Lean_Syntax_getArg(x_14, x_1); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc_ref(x_5); +x_112 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(x_2, x_111, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_111); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; uint8_t x_114; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +lean_dec_ref(x_112); +x_114 = !lean_is_exclusive(x_113); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_115 = lean_ctor_get(x_113, 1); +x_116 = lean_ctor_get(x_113, 0); +lean_dec(x_116); +x_117 = lean_unsigned_to_nat(3u); +x_118 = l_Lean_Syntax_getArg(x_14, x_117); +lean_dec(x_14); +x_119 = l_Lean_Syntax_toNat(x_118); +lean_dec(x_118); +lean_ctor_set_tag(x_113, 2); +lean_ctor_set(x_113, 1, x_119); +lean_ctor_set(x_113, 0, x_115); +x_17 = x_113; +x_18 = lean_box(0); +goto block_21; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_120 = lean_ctor_get(x_113, 1); +lean_inc(x_120); +lean_dec(x_113); +x_121 = lean_unsigned_to_nat(3u); +x_122 = l_Lean_Syntax_getArg(x_14, x_121); +lean_dec(x_14); +x_123 = l_Lean_Syntax_toNat(x_122); +lean_dec(x_122); +x_124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_124, 0, x_120); +lean_ctor_set(x_124, 1, x_123); +x_17 = x_124; +x_18 = lean_box(0); +goto block_21; +} +} +else +{ +uint8_t x_125; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_125 = !lean_is_exclusive(x_112); +if (x_125 == 0) +{ +return x_112; +} +else +{ +lean_object* x_126; lean_object* x_127; +x_126 = lean_ctor_get(x_112, 0); +lean_inc(x_126); +lean_dec(x_112); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_126); +return x_127; +} +} +} +} +else +{ +lean_object* x_128; lean_object* x_129; +lean_dec(x_28); +x_128 = l_Lean_Syntax_getArg(x_14, x_1); +lean_inc_ref(x_9); +lean_inc_ref(x_7); +lean_inc_ref(x_5); +x_129 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS(x_2, x_128, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_128); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; uint8_t x_131; +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +lean_dec_ref(x_129); +x_131 = !lean_is_exclusive(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_132 = lean_ctor_get(x_130, 1); +x_133 = lean_ctor_get(x_130, 0); +lean_dec(x_133); +x_134 = lean_unsigned_to_nat(3u); +x_135 = l_Lean_Syntax_getArg(x_14, x_134); +lean_dec(x_14); +x_136 = l_Lean_Syntax_toNat(x_135); +lean_dec(x_135); +lean_ctor_set_tag(x_130, 4); +lean_ctor_set(x_130, 1, x_136); +lean_ctor_set(x_130, 0, x_132); +x_17 = x_130; +x_18 = lean_box(0); +goto block_21; +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_137 = lean_ctor_get(x_130, 1); +lean_inc(x_137); +lean_dec(x_130); +x_138 = lean_unsigned_to_nat(3u); +x_139 = l_Lean_Syntax_getArg(x_14, x_138); +lean_dec(x_14); +x_140 = l_Lean_Syntax_toNat(x_139); +lean_dec(x_139); +x_141 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_141, 0, x_137); +lean_ctor_set(x_141, 1, x_140); +x_17 = x_141; +x_18 = lean_box(0); +goto block_21; +} +} +else +{ +uint8_t x_142; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_142 = !lean_is_exclusive(x_129); +if (x_142 == 0) +{ +return x_129; +} +else +{ +lean_object* x_143; lean_object* x_144; +x_143 = lean_ctor_get(x_129, 0); +lean_inc(x_143); +lean_dec(x_129); +x_144 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_144, 0, x_143); +return x_144; +} +} +} +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +lean_dec(x_28); +x_145 = lean_unsigned_to_nat(0u); +x_146 = l_Lean_Syntax_getArg(x_14, x_145); +x_147 = lean_unsigned_to_nat(2u); +x_148 = l_Lean_Syntax_getArg(x_14, x_147); +lean_dec(x_14); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_149 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabDefEq(x_2, x_146, x_148, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_146); +x_22 = x_149; +goto block_27; +} +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +lean_dec(x_28); +x_150 = lean_unsigned_to_nat(0u); +x_151 = l_Lean_Syntax_getArg(x_14, x_150); +x_152 = lean_unsigned_to_nat(2u); +x_153 = l_Lean_Syntax_getArg(x_14, x_152); +lean_dec(x_14); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_154 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabNotDefEq(x_2, x_151, x_153, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_151); +x_22 = x_154; +goto block_27; +} +block_21: +{ +lean_object* x_19; +if (lean_is_scalar(x_16)) { + x_19 = lean_alloc_ctor(1, 2, 0); +} else { + x_19 = x_16; +} +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_4); +x_3 = x_15; +x_4 = x_19; +goto _start; +} +block_27: +{ +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +lean_dec_ref(x_22); +x_17 = x_23; +x_18 = lean_box(0); +goto block_21; +} +else +{ +uint8_t x_24; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +return x_22; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_10, x_11); +x_13 = l_Lean_Syntax_getArgs(x_12); +lean_dec(x_12); +x_14 = lean_array_to_list(x_13); +x_15 = lean_box(0); +x_16 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0(x_11, x_1, x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); lean_dec_ref(x_3); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec_ref(x_2); lean_dec(x_1); -return x_14; +return x_12; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -7915,7 +9007,7 @@ if (lean_obj_tag(x_33) == 0) { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec_ref(x_33); -x_34 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___redArg(x_32, x_9); +x_34 = l_Lean_instantiateMVars___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS_spec__0___redArg(x_32, x_9); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); lean_dec_ref(x_34); @@ -8527,7 +9619,7 @@ x_11 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt_ x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); lean_dec_ref(x_11); -x_13 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__1___redArg(x_1, x_12, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS_spec__1___redArg(x_1, x_12, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } } @@ -9157,39 +10249,23 @@ static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Parser", 6, 6); +x_1 = lean_mk_string_unchecked("grindPattern", 12, 12); return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Command", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("grindPattern", 12, 12); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__2; -x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__1; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__4() { +static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__2() { _start: { lean_object* x_1; @@ -9197,7 +10273,7 @@ x_1 = lean_mk_string_unchecked("Term", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__5() { +static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__3() { _start: { lean_object* x_1; @@ -9205,13 +10281,33 @@ x_1 = lean_mk_string_unchecked("attrKind", 8, 8); return x_1; } } +static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__3; +x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; +x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("scoped", 6, 6); +return x_1; +} +} static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__5; -x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__4; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9221,7 +10317,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__7() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("scoped", 6, 6); +x_1 = lean_mk_string_unchecked("local", 5, 5); return x_1; } } @@ -9230,8 +10326,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__7; -x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__4; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__2; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9241,40 +10337,20 @@ static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__9() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("local", 5, 5); +x_1 = lean_mk_string_unchecked("ident", 5, 5); return x_1; } } static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__9; -x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__4; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; -x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ident", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__12() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__11; +x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__9; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__13() { +static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__11() { _start: { lean_object* x_1; @@ -9282,13 +10358,13 @@ x_1 = lean_mk_string_unchecked("grindPatternCnstrs", 18, 18); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__14() { +static lean_object* _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__13; -x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__1; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_1 = l_Lean_Elab_Tactic_elabGrindPattern___closed__11; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -9298,7 +10374,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindPattern(lean_object* x_1, l _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lean_Elab_Tactic_elabGrindPattern___closed__3; +x_5 = l_Lean_Elab_Tactic_elabGrindPattern___closed__1; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) @@ -9314,7 +10390,7 @@ else lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Elab_Tactic_elabGrindPattern___closed__6; +x_10 = l_Lean_Elab_Tactic_elabGrindPattern___closed__4; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -9353,13 +10429,13 @@ else lean_object* x_18; lean_object* x_19; uint8_t x_20; x_18 = l_Lean_Syntax_getArg(x_13, x_8); lean_dec(x_13); -x_19 = l_Lean_Elab_Tactic_elabGrindPattern___closed__8; +x_19 = l_Lean_Elab_Tactic_elabGrindPattern___closed__6; lean_inc(x_18); x_20 = l_Lean_Syntax_isOfKind(x_18, x_19); if (x_20 == 0) { lean_object* x_21; uint8_t x_22; -x_21 = l_Lean_Elab_Tactic_elabGrindPattern___closed__10; +x_21 = l_Lean_Elab_Tactic_elabGrindPattern___closed__8; x_22 = l_Lean_Syntax_isOfKind(x_18, x_21); if (x_22 == 0) { @@ -9374,7 +10450,7 @@ else lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = lean_unsigned_to_nat(2u); x_25 = l_Lean_Syntax_getArg(x_1, x_24); -x_26 = l_Lean_Elab_Tactic_elabGrindPattern___closed__12; +x_26 = l_Lean_Elab_Tactic_elabGrindPattern___closed__10; lean_inc(x_25); x_27 = l_Lean_Syntax_isOfKind(x_25, x_26); if (x_27 == 0) @@ -9415,7 +10491,7 @@ else lean_object* x_44; lean_object* x_45; uint8_t x_46; x_44 = l_Lean_Syntax_getArg(x_40, x_8); lean_dec(x_40); -x_45 = l_Lean_Elab_Tactic_elabGrindPattern___closed__14; +x_45 = l_Lean_Elab_Tactic_elabGrindPattern___closed__12; lean_inc(x_44); x_46 = l_Lean_Syntax_isOfKind(x_44, x_45); if (x_46 == 0) @@ -9470,7 +10546,7 @@ lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_dec(x_18); x_50 = lean_unsigned_to_nat(2u); x_51 = l_Lean_Syntax_getArg(x_1, x_50); -x_52 = l_Lean_Elab_Tactic_elabGrindPattern___closed__12; +x_52 = l_Lean_Elab_Tactic_elabGrindPattern___closed__10; lean_inc(x_51); x_53 = l_Lean_Syntax_isOfKind(x_51, x_52); if (x_53 == 0) @@ -9511,7 +10587,7 @@ else lean_object* x_70; lean_object* x_71; uint8_t x_72; x_70 = l_Lean_Syntax_getArg(x_66, x_8); lean_dec(x_66); -x_71 = l_Lean_Elab_Tactic_elabGrindPattern___closed__14; +x_71 = l_Lean_Elab_Tactic_elabGrindPattern___closed__12; lean_inc(x_70); x_72 = l_Lean_Syntax_isOfKind(x_70, x_71); if (x_72 == 0) @@ -9567,7 +10643,7 @@ lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_dec(x_13); x_76 = lean_unsigned_to_nat(2u); x_77 = l_Lean_Syntax_getArg(x_1, x_76); -x_78 = l_Lean_Elab_Tactic_elabGrindPattern___closed__12; +x_78 = l_Lean_Elab_Tactic_elabGrindPattern___closed__10; lean_inc(x_77); x_79 = l_Lean_Syntax_isOfKind(x_77, x_78); if (x_79 == 0) @@ -9609,7 +10685,7 @@ else lean_object* x_97; lean_object* x_98; uint8_t x_99; x_97 = l_Lean_Syntax_getArg(x_92, x_8); lean_dec(x_92); -x_98 = l_Lean_Elab_Tactic_elabGrindPattern___closed__14; +x_98 = l_Lean_Elab_Tactic_elabGrindPattern___closed__12; lean_inc(x_97); x_99 = l_Lean_Syntax_isOfKind(x_97, x_98); if (x_99 == 0) @@ -9737,7 +10813,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__0; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__3; +x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__1; x_4 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__4; x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabGrindPattern___boxed), 4, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); @@ -9843,7 +10919,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Tactic_elabResetGrindAttrs___regBuiltin_Lean_Elab_Tactic_elabResetGrindAttrs__1___closed__0; -x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_3 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; @@ -10707,8 +11783,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Tactic_elabInitGrindNorm___closed__0; -x_2 = l_Lean_Elab_Tactic_elabGrindPattern___closed__1; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_2 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -10964,7 +12040,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_parseModifier___closed__1; x_2 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_parseModifier___closed__0; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -11353,18 +12429,18 @@ if (x_37 == 0) uint8_t x_38; x_38 = l_Lean_Exception_isRuntime(x_36); lean_dec(x_36); -x_16 = lean_box(0); -x_17 = x_34; -x_18 = x_24; +x_16 = x_34; +x_17 = x_24; +x_18 = lean_box(0); x_19 = x_38; goto block_20; } else { lean_dec(x_36); -x_16 = lean_box(0); -x_17 = x_34; -x_18 = x_24; +x_16 = x_34; +x_17 = x_24; +x_18 = lean_box(0); x_19 = x_37; goto block_20; } @@ -11384,19 +12460,19 @@ block_20: { if (x_19 == 0) { -lean_dec_ref(x_17); -x_10 = x_18; +lean_dec_ref(x_16); +x_10 = x_17; x_11 = lean_box(0); goto block_15; } else { -lean_dec_ref(x_18); +lean_dec_ref(x_17); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -return x_17; +return x_16; } } } @@ -14517,7 +15593,7 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Elab_Tactic_evalGrindCore_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; uint8_t x_55; uint8_t x_56; lean_object* x_57; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_77; uint8_t x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; x_100 = 2; x_125 = l_Lean_instBEqMessageSeverity_beq(x_3, x_100); if (x_125 == 0) @@ -14552,14 +15628,14 @@ lean_ctor_set(x_25, 0, x_21); lean_ctor_set(x_25, 1, x_22); x_26 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_14); +lean_ctor_set(x_26, 1, x_11); x_27 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_27, 0, x_11); +lean_ctor_set(x_27, 0, x_12); lean_ctor_set(x_27, 1, x_10); -lean_ctor_set(x_27, 2, x_12); -lean_ctor_set(x_27, 3, x_13); +lean_ctor_set(x_27, 2, x_15); +lean_ctor_set(x_27, 3, x_14); lean_ctor_set(x_27, 4, x_26); -lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_15); +lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_13); lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_16); lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 2, x_4); x_28 = l_Lean_MessageLog_add(x_27, x_24); @@ -14597,14 +15673,14 @@ lean_ctor_set(x_41, 0, x_21); lean_ctor_set(x_41, 1, x_22); x_42 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_14); +lean_ctor_set(x_42, 1, x_11); x_43 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_43, 0, x_11); +lean_ctor_set(x_43, 0, x_12); lean_ctor_set(x_43, 1, x_10); -lean_ctor_set(x_43, 2, x_12); -lean_ctor_set(x_43, 3, x_13); +lean_ctor_set(x_43, 2, x_15); +lean_ctor_set(x_43, 3, x_14); lean_ctor_set(x_43, 4, x_42); -lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_15); +lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_13); lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_16); lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 2, x_4); x_44 = l_Lean_MessageLog_add(x_43, x_38); @@ -14635,24 +15711,24 @@ if (x_60 == 0) { lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; x_61 = lean_ctor_get(x_59, 0); -lean_inc_ref(x_54); -x_62 = l_Lean_FileMap_toPosition(x_54, x_52); -lean_dec(x_52); -x_63 = l_Lean_FileMap_toPosition(x_54, x_57); +lean_inc_ref(x_55); +x_62 = l_Lean_FileMap_toPosition(x_55, x_53); +lean_dec(x_53); +x_63 = l_Lean_FileMap_toPosition(x_55, x_57); lean_dec(x_57); x_64 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_64, 0, x_63); x_65 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__4___redArg___closed__1; -if (x_53 == 0) +if (x_51 == 0) { lean_free_object(x_59); lean_dec_ref(x_50); x_10 = x_62; -x_11 = x_51; -x_12 = x_64; -x_13 = x_65; -x_14 = x_61; -x_15 = x_55; +x_11 = x_61; +x_12 = x_52; +x_13 = x_54; +x_14 = x_65; +x_15 = x_64; x_16 = x_56; x_17 = x_7; x_18 = x_8; @@ -14670,7 +15746,7 @@ lean_object* x_67; lean_dec_ref(x_64); lean_dec_ref(x_62); lean_dec(x_61); -lean_dec_ref(x_51); +lean_dec_ref(x_52); lean_dec_ref(x_7); x_67 = lean_box(0); lean_ctor_set(x_59, 0, x_67); @@ -14680,11 +15756,11 @@ else { lean_free_object(x_59); x_10 = x_62; -x_11 = x_51; -x_12 = x_64; -x_13 = x_65; -x_14 = x_61; -x_15 = x_55; +x_11 = x_61; +x_12 = x_52; +x_13 = x_54; +x_14 = x_65; +x_15 = x_64; x_16 = x_56; x_17 = x_7; x_18 = x_8; @@ -14699,23 +15775,23 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean x_68 = lean_ctor_get(x_59, 0); lean_inc(x_68); lean_dec(x_59); -lean_inc_ref(x_54); -x_69 = l_Lean_FileMap_toPosition(x_54, x_52); -lean_dec(x_52); -x_70 = l_Lean_FileMap_toPosition(x_54, x_57); +lean_inc_ref(x_55); +x_69 = l_Lean_FileMap_toPosition(x_55, x_53); +lean_dec(x_53); +x_70 = l_Lean_FileMap_toPosition(x_55, x_57); lean_dec(x_57); x_71 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_71, 0, x_70); x_72 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Tactic_elabGrindConfig_spec__0_spec__0_spec__4___redArg___closed__1; -if (x_53 == 0) +if (x_51 == 0) { lean_dec_ref(x_50); x_10 = x_69; -x_11 = x_51; -x_12 = x_71; -x_13 = x_72; -x_14 = x_68; -x_15 = x_55; +x_11 = x_68; +x_12 = x_52; +x_13 = x_54; +x_14 = x_72; +x_15 = x_71; x_16 = x_56; x_17 = x_7; x_18 = x_8; @@ -14733,7 +15809,7 @@ lean_object* x_74; lean_object* x_75; lean_dec_ref(x_71); lean_dec_ref(x_69); lean_dec(x_68); -lean_dec_ref(x_51); +lean_dec_ref(x_52); lean_dec_ref(x_7); x_74 = lean_box(0); x_75 = lean_alloc_ctor(0, 1, 0); @@ -14743,11 +15819,11 @@ return x_75; else { x_10 = x_69; -x_11 = x_51; -x_12 = x_71; -x_13 = x_72; -x_14 = x_68; -x_15 = x_55; +x_11 = x_68; +x_12 = x_52; +x_13 = x_54; +x_14 = x_72; +x_15 = x_71; x_16 = x_56; x_17 = x_7; x_18 = x_8; @@ -14760,17 +15836,17 @@ goto block_49; block_87: { lean_object* x_85; -x_85 = l_Lean_Syntax_getTailPos_x3f(x_79, x_82); -lean_dec(x_79); +x_85 = l_Lean_Syntax_getTailPos_x3f(x_82, x_80); +lean_dec(x_82); if (lean_obj_tag(x_85) == 0) { lean_inc(x_84); x_50 = x_77; x_51 = x_78; -x_52 = x_84; -x_53 = x_80; -x_54 = x_81; -x_55 = x_82; +x_52 = x_79; +x_53 = x_84; +x_54 = x_80; +x_55 = x_81; x_56 = x_83; x_57 = x_84; goto block_76; @@ -14783,10 +15859,10 @@ lean_inc(x_86); lean_dec_ref(x_85); x_50 = x_77; x_51 = x_78; -x_52 = x_84; -x_53 = x_80; -x_54 = x_81; -x_55 = x_82; +x_52 = x_79; +x_53 = x_84; +x_54 = x_80; +x_55 = x_81; x_56 = x_83; x_57 = x_86; goto block_76; @@ -14797,17 +15873,17 @@ block_99: lean_object* x_95; lean_object* x_96; x_95 = l_Lean_replaceRef(x_1, x_90); lean_dec(x_90); -x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_93); +x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_92); if (lean_obj_tag(x_96) == 0) { lean_object* x_97; x_97 = lean_unsigned_to_nat(0u); x_77 = x_88; x_78 = x_89; -x_79 = x_95; -x_80 = x_91; -x_81 = x_92; -x_82 = x_93; +x_79 = x_91; +x_80 = x_92; +x_81 = x_93; +x_82 = x_95; x_83 = x_94; x_84 = x_97; goto block_87; @@ -14820,10 +15896,10 @@ lean_inc(x_98); lean_dec_ref(x_96); x_77 = x_88; x_78 = x_89; -x_79 = x_95; -x_80 = x_91; -x_81 = x_92; -x_82 = x_93; +x_79 = x_91; +x_80 = x_92; +x_81 = x_93; +x_82 = x_95; x_83 = x_94; x_84 = x_98; goto block_87; @@ -14833,23 +15909,23 @@ block_108: { if (x_107 == 0) { -x_88 = x_105; -x_89 = x_101; -x_90 = x_102; -x_91 = x_103; -x_92 = x_104; -x_93 = x_106; +x_88 = x_101; +x_89 = x_102; +x_90 = x_103; +x_91 = x_104; +x_92 = x_106; +x_93 = x_105; x_94 = x_3; goto block_99; } else { -x_88 = x_105; -x_89 = x_101; -x_90 = x_102; -x_91 = x_103; -x_92 = x_104; -x_93 = x_106; +x_88 = x_101; +x_89 = x_102; +x_90 = x_103; +x_91 = x_104; +x_92 = x_106; +x_93 = x_105; x_94 = x_100; goto block_99; } @@ -14874,13 +15950,13 @@ x_119 = l_Lean_instBEqMessageSeverity_beq(x_3, x_118); if (x_119 == 0) { lean_inc_ref(x_111); -lean_inc(x_113); lean_inc_ref(x_110); -x_101 = x_110; -x_102 = x_113; -x_103 = x_114; -x_104 = x_111; -x_105 = x_117; +lean_inc(x_113); +x_101 = x_117; +x_102 = x_114; +x_103 = x_113; +x_104 = x_110; +x_105 = x_111; x_106 = x_109; x_107 = x_119; goto block_108; @@ -14891,13 +15967,13 @@ lean_object* x_120; uint8_t x_121; x_120 = l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Elab_Tactic_evalGrindCore_spec__0_spec__0___redArg___closed__0; x_121 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Tactic_elabGrindConfig_spec__8_spec__8_spec__8(x_112, x_120); lean_inc_ref(x_111); -lean_inc(x_113); lean_inc_ref(x_110); -x_101 = x_110; -x_102 = x_113; -x_103 = x_114; -x_104 = x_111; -x_105 = x_117; +lean_inc(x_113); +x_101 = x_117; +x_102 = x_114; +x_103 = x_113; +x_104 = x_110; +x_105 = x_111; x_106 = x_109; x_107 = x_121; goto block_108; @@ -15209,7 +16285,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Tactic_mkGrindParams___closed__0; x_2 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -15448,7 +16524,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_filterSuggestionsFromGrindConfig_spec__0_spec__0___closed__0; x_2 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -16453,7 +17529,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Tactic_evalGrind___closed__3; x_2 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -16474,7 +17550,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Elab_Tactic_evalGrind___closed__5; x_2 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__1_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_3 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; -x_4 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_4 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_5 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; @@ -16674,18 +17750,18 @@ if (lean_is_scalar(x_14)) { lean_ctor_set_tag(x_64, 1); } lean_ctor_set(x_64, 0, x_60); -x_20 = x_51; -x_21 = x_48; -x_22 = x_50; -x_23 = x_49; -x_24 = x_64; -x_25 = x_46; -x_26 = x_45; -x_27 = lean_box(0); -x_28 = x_44; -x_29 = x_53; -x_30 = x_47; -x_31 = x_52; +x_20 = x_64; +x_21 = x_45; +x_22 = x_51; +x_23 = x_53; +x_24 = x_49; +x_25 = x_48; +x_26 = x_47; +x_27 = x_46; +x_28 = x_52; +x_29 = x_44; +x_30 = lean_box(0); +x_31 = x_50; x_32 = x_41; goto block_39; } @@ -16697,18 +17773,18 @@ lean_object* x_65; lean_dec(x_56); lean_dec(x_14); x_65 = lean_box(0); -x_20 = x_51; -x_21 = x_48; -x_22 = x_50; -x_23 = x_49; -x_24 = x_65; -x_25 = x_46; -x_26 = x_45; -x_27 = lean_box(0); -x_28 = x_44; -x_29 = x_53; -x_30 = x_47; -x_31 = x_52; +x_20 = x_65; +x_21 = x_45; +x_22 = x_51; +x_23 = x_53; +x_24 = x_49; +x_25 = x_48; +x_26 = x_47; +x_27 = x_46; +x_28 = x_52; +x_29 = x_44; +x_30 = lean_box(0); +x_31 = x_50; x_32 = x_12; goto block_39; } @@ -16789,22 +17865,22 @@ goto block_66; block_39: { lean_object* x_33; -lean_inc(x_29); -lean_inc_ref(x_31); -lean_inc(x_20); -lean_inc_ref(x_22); lean_inc(x_23); -lean_inc_ref(x_21); -x_33 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindConfig_x27___redArg(x_19, x_32, x_25, x_21, x_23, x_22, x_20, x_31, x_29); +lean_inc_ref(x_28); +lean_inc(x_22); +lean_inc_ref(x_31); +lean_inc(x_24); +lean_inc_ref(x_25); +x_33 = l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindConfig_x27___redArg(x_19, x_32, x_27, x_25, x_24, x_31, x_22, x_28, x_23); if (lean_obj_tag(x_33) == 0) { lean_object* x_34; lean_object* x_35; x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); lean_dec_ref(x_33); -x_35 = l_Lean_Elab_Tactic_evalGrindCore(x_1, x_34, x_28, x_26, x_24, x_25, x_30, x_21, x_23, x_22, x_20, x_31, x_29); -lean_dec(x_26); -lean_dec(x_28); +x_35 = l_Lean_Elab_Tactic_evalGrindCore(x_1, x_34, x_29, x_21, x_20, x_27, x_26, x_25, x_24, x_31, x_22, x_28, x_23); +lean_dec(x_21); +lean_dec(x_29); lean_dec(x_1); return x_35; } @@ -16812,15 +17888,15 @@ else { uint8_t x_36; lean_dec_ref(x_31); -lean_dec(x_30); lean_dec(x_29); -lean_dec(x_28); +lean_dec_ref(x_28); +lean_dec_ref(x_27); lean_dec(x_26); lean_dec_ref(x_25); lean_dec(x_24); lean_dec(x_23); -lean_dec_ref(x_22); -lean_dec_ref(x_21); +lean_dec(x_22); +lean_dec(x_21); lean_dec(x_20); lean_dec(x_1); x_36 = !lean_is_exclusive(x_33); @@ -18042,7 +19118,7 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; x_19 = lean_unsigned_to_nat(1u); x_20 = l_Lean_Syntax_getArg(x_2, x_19); x_21 = l_Lean_Elab_Tactic_evalGrind___closed__3; @@ -18144,21 +19220,21 @@ goto block_146; block_50: { lean_object* x_37; -x_37 = l_Lean_Elab_Tactic_getMainGoal___redArg(x_26, x_32, x_28, x_30, x_25); +x_37 = l_Lean_Elab_Tactic_getMainGoal___redArg(x_26, x_35, x_28, x_31, x_27); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); lean_dec_ref(x_37); -lean_inc(x_25); -lean_inc_ref(x_30); +lean_inc(x_27); +lean_inc_ref(x_31); lean_inc(x_28); -lean_inc_ref(x_32); +lean_inc_ref(x_35); lean_inc(x_29); -lean_inc_ref(x_34); +lean_inc_ref(x_32); lean_inc(x_38); -x_39 = l_Lean_Elab_Tactic_mkGrindParams(x_27, x_31, x_36, x_38, x_34, x_29, x_32, x_28, x_30, x_25); +x_39 = l_Lean_Elab_Tactic_mkGrindParams(x_24, x_25, x_36, x_38, x_32, x_29, x_35, x_28, x_31, x_27); lean_dec_ref(x_36); if (lean_obj_tag(x_39) == 0) { @@ -18176,21 +19252,21 @@ lean_closure_set(x_42, 4, x_5); lean_closure_set(x_42, 5, x_22); lean_closure_set(x_42, 6, x_40); lean_closure_set(x_42, 7, x_19); -x_43 = l_Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1___redArg(x_33, x_38, x_42, x_24, x_26, x_34, x_29, x_32, x_28, x_30, x_25); +x_43 = l_Lean_Meta_Grind_withProtectedMCtx___at___00Lean_Elab_Tactic_grind_spec__1___redArg(x_33, x_38, x_42, x_34, x_26, x_32, x_29, x_35, x_28, x_31, x_27); return x_43; } else { uint8_t x_44; lean_dec(x_38); +lean_dec_ref(x_35); lean_dec_ref(x_34); lean_dec_ref(x_32); -lean_dec_ref(x_30); +lean_dec_ref(x_31); lean_dec(x_29); lean_dec(x_28); +lean_dec(x_27); lean_dec(x_26); -lean_dec(x_25); -lean_dec_ref(x_24); lean_dec(x_22); lean_dec(x_20); lean_dec_ref(x_5); @@ -18217,14 +19293,14 @@ else { uint8_t x_47; lean_dec_ref(x_36); +lean_dec_ref(x_35); lean_dec_ref(x_34); lean_dec_ref(x_32); -lean_dec_ref(x_30); +lean_dec_ref(x_31); lean_dec(x_29); lean_dec(x_28); -lean_dec_ref(x_27); +lean_dec(x_27); lean_dec(x_26); -lean_dec(x_25); lean_dec_ref(x_24); lean_dec(x_22); lean_dec(x_20); @@ -18250,48 +19326,48 @@ return x_49; } block_68: { -if (lean_obj_tag(x_55) == 1) +if (lean_obj_tag(x_54) == 1) { lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_55, 0); +x_65 = lean_ctor_get(x_54, 0); lean_inc(x_65); -lean_dec_ref(x_55); +lean_dec_ref(x_54); x_66 = l_Lean_Syntax_TSepArray_getElems___redArg(x_65); lean_dec(x_65); -x_23 = x_52; +x_23 = x_51; x_24 = x_53; -x_25 = x_54; -x_26 = x_56; -x_27 = x_58; +x_25 = x_64; +x_26 = x_55; +x_27 = x_56; x_28 = x_57; -x_29 = x_60; -x_30 = x_59; -x_31 = x_64; +x_29 = x_58; +x_30 = lean_box(0); +x_31 = x_59; x_32 = x_61; -x_33 = x_51; +x_33 = x_52; x_34 = x_63; -x_35 = lean_box(0); +x_35 = x_62; x_36 = x_66; goto block_50; } else { lean_object* x_67; -lean_dec(x_55); +lean_dec(x_54); x_67 = l_Lean_Elab_Tactic_evalGrindCore___closed__4; -x_23 = x_52; +x_23 = x_51; x_24 = x_53; -x_25 = x_54; -x_26 = x_56; -x_27 = x_58; +x_25 = x_64; +x_26 = x_55; +x_27 = x_56; x_28 = x_57; -x_29 = x_60; -x_30 = x_59; -x_31 = x_64; +x_29 = x_58; +x_30 = lean_box(0); +x_31 = x_59; x_32 = x_61; -x_33 = x_51; +x_33 = x_52; x_34 = x_63; -x_35 = lean_box(0); +x_35 = x_62; x_36 = x_67; goto block_50; } @@ -18325,38 +19401,38 @@ lean_ctor_set_uint8(x_82, sizeof(void*)*10 + 14, x_85); lean_ctor_set_uint8(x_82, sizeof(void*)*10 + 26, x_8); if (lean_obj_tag(x_70) == 0) { -x_51 = x_84; -x_52 = x_85; -x_53 = x_72; -x_54 = x_79; -x_55 = x_71; -x_56 = x_73; +x_51 = x_85; +x_52 = x_84; +x_53 = x_82; +x_54 = x_71; +x_55 = x_73; +x_56 = x_79; x_57 = x_77; -x_58 = x_82; +x_58 = x_75; x_59 = x_78; -x_60 = x_75; -x_61 = x_76; -x_62 = lean_box(0); -x_63 = x_74; +x_60 = lean_box(0); +x_61 = x_74; +x_62 = x_76; +x_63 = x_72; x_64 = x_85; goto block_68; } else { lean_dec_ref(x_70); -x_51 = x_84; -x_52 = x_85; -x_53 = x_72; -x_54 = x_79; -x_55 = x_71; -x_56 = x_73; +x_51 = x_85; +x_52 = x_84; +x_53 = x_82; +x_54 = x_71; +x_55 = x_73; +x_56 = x_79; x_57 = x_77; -x_58 = x_82; +x_58 = x_75; x_59 = x_78; -x_60 = x_75; -x_61 = x_76; -x_62 = lean_box(0); -x_63 = x_74; +x_60 = lean_box(0); +x_61 = x_74; +x_62 = x_76; +x_63 = x_72; x_64 = x_69; goto block_68; } @@ -18453,38 +19529,38 @@ lean_ctor_set_uint8(x_122, sizeof(void*)*10 + 27, x_119); lean_ctor_set_uint8(x_122, sizeof(void*)*10 + 28, x_120); if (lean_obj_tag(x_70) == 0) { -x_51 = x_114; -x_52 = x_121; -x_53 = x_72; -x_54 = x_79; -x_55 = x_71; -x_56 = x_73; +x_51 = x_121; +x_52 = x_114; +x_53 = x_122; +x_54 = x_71; +x_55 = x_73; +x_56 = x_79; x_57 = x_77; -x_58 = x_122; +x_58 = x_75; x_59 = x_78; -x_60 = x_75; -x_61 = x_76; -x_62 = lean_box(0); -x_63 = x_74; +x_60 = lean_box(0); +x_61 = x_74; +x_62 = x_76; +x_63 = x_72; x_64 = x_121; goto block_68; } else { lean_dec_ref(x_70); -x_51 = x_114; -x_52 = x_121; -x_53 = x_72; -x_54 = x_79; -x_55 = x_71; -x_56 = x_73; +x_51 = x_121; +x_52 = x_114; +x_53 = x_122; +x_54 = x_71; +x_55 = x_73; +x_56 = x_79; x_57 = x_77; -x_58 = x_122; +x_58 = x_75; x_59 = x_78; -x_60 = x_75; -x_61 = x_76; -x_62 = lean_box(0); -x_63 = x_74; +x_60 = lean_box(0); +x_61 = x_74; +x_62 = x_76; +x_63 = x_72; x_64 = x_69; goto block_68; } @@ -18616,7 +19692,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Tactic_evalGrindTraceCore___closed__0; x_2 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -18657,7 +19733,7 @@ _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_14 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; -x_15 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_15 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_16 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; x_17 = l_Lean_Elab_Tactic_evalGrindTraceCore___closed__1; lean_inc(x_1); @@ -18940,7 +20016,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Tactic_evalLia___closed__0; x_2 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19136,7 +20212,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Tactic_evalCutsat___closed__0; x_2 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19426,7 +20502,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Tactic_evalGrobner___closed__0; x_2 = l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__2; -x_3 = l_Lean_Elab_Tactic_elabGrindPattern___closed__0; +x_3 = l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0; x_4 = l_Lean_Elab_Tactic_evalUnsafe___redArg___closed__0_00___x40_Lean_Elab_Tactic_Grind_Main_2289994934____hygCtx___hyg_3_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; @@ -19777,24 +20853,88 @@ l_Lean_Elab_Tactic_elabGrobnerConfig___redArg___closed__1 = _init_l_Lean_Elab_Ta lean_mark_persistent(l_Lean_Elab_Tactic_elabGrobnerConfig___redArg___closed__1); l_Lean_Elab_Tactic_elabGrobnerConfig___redArg___closed__2 = _init_l_Lean_Elab_Tactic_elabGrobnerConfig___redArg___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_elabGrobnerConfig___redArg___closed__2); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__0); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__2_spec__2___closed__1); -l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__0 = _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__0(); -lean_mark_persistent(l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__0); -l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__1 = _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__1(); -lean_mark_persistent(l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__1); -l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__2 = _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__2(); -lean_mark_persistent(l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__2); -l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__3 = _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__3(); -lean_mark_persistent(l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__3); -l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__4 = _init_l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__4(); -lean_mark_persistent(l_List_mapM_loop___at___00List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__4_spec__4___closed__4); -l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__0 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__0(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__0); -l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__1 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs___closed__1); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__0 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__0); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__1 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__1); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__2 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__2); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__3 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__3); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__4 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_findLHS___closed__4); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__0 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__0); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__1 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrRHS___closed__1); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__0 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__0(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__0); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__1 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__1); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__2 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__2); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__3 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__3); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__4 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__4); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__5 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__5); +l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__6 = _init_l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabProp___closed__6); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__0); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__1); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__2); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__3 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__3(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__3); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__4 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__4(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__4); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__5 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__5(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__5); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__6 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__6(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__6); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__7 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__7(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__7); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__8 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__8(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__8); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__9 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__9(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__9); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__10 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__10(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__10); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__11 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__11(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__11); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__12 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__12(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__12); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__13 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__13(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__13); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__14 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__14(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__14); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__15 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__15(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__15); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__16 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__16(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__16); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__17 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__17(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__17); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__18 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__18(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__18); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__19 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__19(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__19); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__20 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__20(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__20); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__21 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__21(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__21); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__22 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__22(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__22); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__23 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__23(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__23); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__24 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__24(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__24); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__25 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__25(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__25); +l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__26 = _init_l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__26(); +lean_mark_persistent(l_List_mapM_loop___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_elabCnstrs_spec__0___closed__26); l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__0 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__0(); lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__0); l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__1 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00__private_Lean_Elab_Tactic_Grind_Main_0__Lean_Elab_Tactic_elabGrindPattern_go_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__1(); @@ -19877,10 +21017,6 @@ l_Lean_Elab_Tactic_elabGrindPattern___closed__11 = _init_l_Lean_Elab_Tactic_elab lean_mark_persistent(l_Lean_Elab_Tactic_elabGrindPattern___closed__11); l_Lean_Elab_Tactic_elabGrindPattern___closed__12 = _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__12(); lean_mark_persistent(l_Lean_Elab_Tactic_elabGrindPattern___closed__12); -l_Lean_Elab_Tactic_elabGrindPattern___closed__13 = _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__13(); -lean_mark_persistent(l_Lean_Elab_Tactic_elabGrindPattern___closed__13); -l_Lean_Elab_Tactic_elabGrindPattern___closed__14 = _init_l_Lean_Elab_Tactic_elabGrindPattern___closed__14(); -lean_mark_persistent(l_Lean_Elab_Tactic_elabGrindPattern___closed__14); l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__0 = _init_l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__0(); lean_mark_persistent(l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__0); l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__1 = _init_l_Lean_Elab_Tactic_elabGrindPattern___regBuiltin_Lean_Elab_Tactic_elabGrindPattern__1___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Grind/Param.c b/stage0/stdlib/Lean/Elab/Tactic/Grind/Param.c index cf8ec77c74..f3c6215dbb 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Grind/Param.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Grind/Param.c @@ -3201,21 +3201,21 @@ goto block_34; block_67: { lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_63 = l_Lean_PersistentArray_push___redArg(x_56, x_48); -x_64 = l_Lean_PersistentArray_push___redArg(x_63, x_52); +x_63 = l_Lean_PersistentArray_push___redArg(x_57, x_48); +x_64 = l_Lean_PersistentArray_push___redArg(x_63, x_51); x_65 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_65, 0, x_58); -lean_ctor_set(x_65, 1, x_57); +lean_ctor_set(x_65, 0, x_60); +lean_ctor_set(x_65, 1, x_55); lean_ctor_set(x_65, 2, x_61); -lean_ctor_set(x_65, 3, x_53); -lean_ctor_set(x_65, 4, x_55); +lean_ctor_set(x_65, 3, x_58); +lean_ctor_set(x_65, 4, x_59); lean_ctor_set(x_65, 5, x_64); -lean_ctor_set(x_65, 6, x_59); -lean_ctor_set(x_65, 7, x_60); -lean_ctor_set(x_65, 8, x_51); -lean_ctor_set(x_65, 9, x_49); -lean_ctor_set(x_65, 10, x_50); -lean_ctor_set(x_65, 11, x_54); +lean_ctor_set(x_65, 6, x_53); +lean_ctor_set(x_65, 7, x_52); +lean_ctor_set(x_65, 8, x_56); +lean_ctor_set(x_65, 9, x_50); +lean_ctor_set(x_65, 10, x_54); +lean_ctor_set(x_65, 11, x_49); x_66 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_66, 0, x_65); return x_66; @@ -3750,18 +3750,18 @@ x_197 = lean_ctor_get(x_196, 0); lean_inc(x_197); lean_dec_ref(x_196); x_48 = x_194; -x_49 = x_190; -x_50 = x_191; -x_51 = x_189; -x_52 = x_197; -x_53 = x_184; -x_54 = x_192; -x_55 = x_185; -x_56 = x_186; -x_57 = x_182; -x_58 = x_181; -x_59 = x_187; -x_60 = x_188; +x_49 = x_192; +x_50 = x_190; +x_51 = x_197; +x_52 = x_188; +x_53 = x_187; +x_54 = x_191; +x_55 = x_182; +x_56 = x_189; +x_57 = x_186; +x_58 = x_184; +x_59 = x_185; +x_60 = x_181; x_61 = x_183; x_62 = lean_box(0); goto block_67; @@ -3787,18 +3787,18 @@ lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_3); x_48 = x_194; -x_49 = x_190; -x_50 = x_191; -x_51 = x_189; -x_52 = x_198; -x_53 = x_184; -x_54 = x_192; -x_55 = x_185; -x_56 = x_186; -x_57 = x_182; -x_58 = x_181; -x_59 = x_187; -x_60 = x_188; +x_49 = x_192; +x_50 = x_190; +x_51 = x_198; +x_52 = x_188; +x_53 = x_187; +x_54 = x_191; +x_55 = x_182; +x_56 = x_189; +x_57 = x_186; +x_58 = x_184; +x_59 = x_185; +x_60 = x_181; x_61 = x_183; x_62 = lean_box(0); goto block_67; @@ -3821,18 +3821,18 @@ lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_3); x_48 = x_194; -x_49 = x_190; -x_50 = x_191; -x_51 = x_189; -x_52 = x_198; -x_53 = x_184; -x_54 = x_192; -x_55 = x_185; -x_56 = x_186; -x_57 = x_182; -x_58 = x_181; -x_59 = x_187; -x_60 = x_188; +x_49 = x_192; +x_50 = x_190; +x_51 = x_198; +x_52 = x_188; +x_53 = x_187; +x_54 = x_191; +x_55 = x_182; +x_56 = x_189; +x_57 = x_186; +x_58 = x_184; +x_59 = x_185; +x_60 = x_181; x_61 = x_183; x_62 = lean_box(0); goto block_67; @@ -3847,18 +3847,18 @@ lean_dec(x_174); lean_dec_ref(x_173); lean_dec_ref(x_207); x_48 = x_194; -x_49 = x_190; -x_50 = x_191; -x_51 = x_189; -x_52 = x_198; -x_53 = x_184; -x_54 = x_192; -x_55 = x_185; -x_56 = x_186; -x_57 = x_182; -x_58 = x_181; -x_59 = x_187; -x_60 = x_188; +x_49 = x_192; +x_50 = x_190; +x_51 = x_198; +x_52 = x_188; +x_53 = x_187; +x_54 = x_191; +x_55 = x_182; +x_56 = x_189; +x_57 = x_186; +x_58 = x_184; +x_59 = x_185; +x_60 = x_181; x_61 = x_183; x_62 = lean_box(0); goto block_67; @@ -4041,18 +4041,18 @@ x_236 = lean_ctor_get(x_235, 0); lean_inc(x_236); lean_dec_ref(x_235); x_48 = x_233; -x_49 = x_228; -x_50 = x_229; -x_51 = x_227; -x_52 = x_236; -x_53 = x_222; -x_54 = x_230; -x_55 = x_223; -x_56 = x_224; -x_57 = x_220; -x_58 = x_219; -x_59 = x_225; -x_60 = x_226; +x_49 = x_230; +x_50 = x_228; +x_51 = x_236; +x_52 = x_226; +x_53 = x_225; +x_54 = x_229; +x_55 = x_220; +x_56 = x_227; +x_57 = x_224; +x_58 = x_222; +x_59 = x_223; +x_60 = x_219; x_61 = x_221; x_62 = lean_box(0); goto block_67; @@ -4078,18 +4078,18 @@ lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_3); x_48 = x_233; -x_49 = x_228; -x_50 = x_229; -x_51 = x_227; -x_52 = x_237; -x_53 = x_222; -x_54 = x_230; -x_55 = x_223; -x_56 = x_224; -x_57 = x_220; -x_58 = x_219; -x_59 = x_225; -x_60 = x_226; +x_49 = x_230; +x_50 = x_228; +x_51 = x_237; +x_52 = x_226; +x_53 = x_225; +x_54 = x_229; +x_55 = x_220; +x_56 = x_227; +x_57 = x_224; +x_58 = x_222; +x_59 = x_223; +x_60 = x_219; x_61 = x_221; x_62 = lean_box(0); goto block_67; @@ -4112,18 +4112,18 @@ lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_3); x_48 = x_233; -x_49 = x_228; -x_50 = x_229; -x_51 = x_227; -x_52 = x_237; -x_53 = x_222; -x_54 = x_230; -x_55 = x_223; -x_56 = x_224; -x_57 = x_220; -x_58 = x_219; -x_59 = x_225; -x_60 = x_226; +x_49 = x_230; +x_50 = x_228; +x_51 = x_237; +x_52 = x_226; +x_53 = x_225; +x_54 = x_229; +x_55 = x_220; +x_56 = x_227; +x_57 = x_224; +x_58 = x_222; +x_59 = x_223; +x_60 = x_219; x_61 = x_221; x_62 = lean_box(0); goto block_67; @@ -4138,18 +4138,18 @@ lean_dec(x_174); lean_dec_ref(x_173); lean_dec_ref(x_246); x_48 = x_233; -x_49 = x_228; -x_50 = x_229; -x_51 = x_227; -x_52 = x_237; -x_53 = x_222; -x_54 = x_230; -x_55 = x_223; -x_56 = x_224; -x_57 = x_220; -x_58 = x_219; -x_59 = x_225; -x_60 = x_226; +x_49 = x_230; +x_50 = x_228; +x_51 = x_237; +x_52 = x_226; +x_53 = x_225; +x_54 = x_229; +x_55 = x_220; +x_56 = x_227; +x_57 = x_224; +x_58 = x_222; +x_59 = x_223; +x_60 = x_219; x_61 = x_221; x_62 = lean_box(0); goto block_67; diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/EMatch.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/EMatch.c index c656bcbe53..497c07b2ff 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/EMatch.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/EMatch.c @@ -24,8 +24,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_ static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__3; static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_expandReportDbgIssueMacro(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_ematchTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -37,7 +36,6 @@ lean_object* l_Lean_mkNatLit(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_ematchCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchGroundPattern___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_ForEachExpr_visit___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__5_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadCoreM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processContinue_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignmentToMessageData_spec__0___closed__1; @@ -55,11 +53,10 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__7_spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_Cnstr_continue_elim___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__0_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_checkMaxInstancesExceeded___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignDelayedEqProof_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_ematchOnly_go_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatch_doElemReportEMatchIssue_x21_____00__closed__12; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_MVarId_isAssigned___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_synthesizeInsts_spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); @@ -90,7 +87,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_ematchOnly_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__1___redArg___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isOffset_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__3_spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_markTheoremInstance___redArg(lean_object*, lean_object*, lean_object*); @@ -112,16 +109,15 @@ uint8_t l_Lean_instBEqMVarId_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processChoices_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__9; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getUnassignedLevelMVars___closed__0; -LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_match__1_splitter(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_reportIssue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_qpartition___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignmentToMessageData_spec__0___boxed(lean_object*, lean_object*, lean_object*); @@ -129,6 +125,7 @@ LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___0 lean_object* l_Lean_Core_checkSystem(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__8___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_ForEachExpr_visit___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__5_spec__5___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchEqBwdPat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_getFalseExpr___redArg(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignmentToMessageData_spec__0___closed__0; @@ -137,6 +134,7 @@ static lean_object* l_Lean_Meta_Grind_EMatch_instInhabitedSearchState_default___ extern lean_object* l_Lean_unknownIdentifierMessageTag; static lean_object* l_Lean_Meta_Grind_EMatch_ematchTheorem___closed__0; uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__0_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*); lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchArgs_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -161,13 +159,13 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getAppsOf___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_spec__5___redArg___lam__0___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processMatch_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___00Lean_isLevelMVarAssignable___at___00Lean_hasAssignableLevelMVar___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__1_spec__1_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processDelayed___redArg___closed__3; extern lean_object* l_Lean_Meta_Grind_grind_debug_proofs; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_annotateMatchEqnType___lam__0___closed__5; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__0_spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getUnassignedLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -195,7 +193,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_ static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__15; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_Choice_updateGen(lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Origin_pp(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processUnassigned_unassignOrFail___redArg___closed__4; static lean_object* l_Lean_Meta_Grind_EMatch_doElemReportEMatchIssue_x21_____00__closed__0; lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -204,7 +202,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withoutModifyingMCtx___at___00__private_Lea LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignGeneralizedPatternProof___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatch_M_run_x27___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_instInhabitedSearchState_default; -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentArray_forMAux___at___00Lean_PersistentArray_forM___at___00Lean_Meta_Grind_EMatch_ematchTheorems_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -231,6 +229,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentArray_forMAux___at___00Lean_PersistentArray_forM___at___00Lean_Meta_Grind_EMatch_ematchTheorems_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processUnassigned___redArg___closed__2; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_main_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__1; extern lean_object* l_Lean_Meta_Grind_grind_debug; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_annotateMatchEqnType___lam__0___closed__0; lean_object* l_Lean_Expr_appArg_x21(lean_object*); @@ -251,6 +250,7 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Meta_Tact lean_object* l_Lean_Meta_Grind_Goal_getENode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_insertManyIfNewUnit___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00Lean_MVarId_isAssigned___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_synthesizeInsts_spec__0_spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___boxed__const__1; uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -262,9 +262,10 @@ lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp___redArg(lean_object*, lean_o LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_findOriginalGeneralizedPatternLhs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__11; lean_object* l_Lean_mkNatAdd(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_ForEachExpr_visit___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__5_spec__7_spec__7___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_ematchCore___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_MVarId_isAssigned___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_synthesizeInsts_spec__0_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); @@ -281,21 +282,18 @@ LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00Lean_MVarId_isAss static double l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__1___redArg___closed__0; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__13; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_annotateMatchEqnType___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__0; static lean_object* l_Lean_Meta_Grind_EMatch_doElemReportEMatchIssue_x21_____00__closed__14; lean_object* lean_checked_assign(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__0; static lean_object* l_Lean_isLevelMVarAssignable___at___00Lean_hasAssignableLevelMVar___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__1_spec__1___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_isGenPattern_x3f(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__2; -LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_withFreshNGen___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchArg_x3f___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__6; lean_object* lean_st_ref_take(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_preprocessGeneralizedPatternRHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___lam__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__20; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -334,9 +332,9 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_ForEachExpr_visit___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__5_spec__5_spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getAppsOf_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_applyAssignment_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go___closed__6; +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_groundPattern_x3f(lean_object*); @@ -346,6 +344,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processUnassigned___redArg___closed__1; lean_object* l_ReaderT_instAlternativeOfMonad___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatch_instInhabitedSearchState_default___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchArgsPrefix_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_isDefEqD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -397,13 +396,15 @@ lean_object* l_Lean_Meta_Grind_dsimpCore(lean_object*, lean_object*, lean_object LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_ematchCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processChoices_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processOffset_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f___closed__1; static lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f_spec__0___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_withInitApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forMAux___at___00Lean_PersistentArray_forM___at___00Lean_Meta_Grind_EMatch_ematchTheorems_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_toHeadIndex(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchArg_x3f___closed__4; @@ -411,14 +412,13 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind lean_object* l_Lean_mkConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_annotateMatchEqnType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignmentToMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_annotateMatchEqnType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_isOffsetPattern_x3f(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchEqBwdPat___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__10_spec__10___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_M_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_quick_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__3_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -433,7 +433,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Lean_Meta_Grind_GenPatternInfo_assign_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); -LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; static size_t l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getAppsOf_spec__0_spec__0___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -448,7 +447,7 @@ static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknow LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatch_M_run_x27___redArg___closed__1; lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getAppsOf_spec__0___redArg(lean_object*, lean_object*); lean_object* l_Lean_Meta_isEqnThm___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -457,6 +456,7 @@ LEAN_EXPORT lean_object* l_panic___at___00Lean_isLevelMVarAssignable___at___00__ static lean_object* l_Lean_Meta_Grind_EMatch_doElemReportEMatchIssue_x21_____00__closed__11; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_preprocessGeneralizedPatternRHS___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_isTheoremInstanceProof_x3f___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__1; LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_ematchOnly_go_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__0_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); @@ -500,7 +500,6 @@ static lean_object* l_Lean_Meta_Grind_EMatch_doElemReportEMatchIssue_x21_____00_ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processUnassigned_unassignOrFail___boxed(lean_object**); extern lean_object* l_Lean_Meta_Grind_instInhabitedEMatchTheorem_default; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_ematchCore___lam__1___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__8(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_ematchOnly_go_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_instantiateLevelParams(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f___closed__3; @@ -513,18 +512,18 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_obje static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__19; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_ematchTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getAppsOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_appendTR___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__10_spec__10___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_M_run_x27___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at___00Lean_hasAssignableLevelMVar___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_Cnstr_offset_elim(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withoutModifyingMCtx___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchGroundPattern_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__0___redArg(lean_object*, lean_object*); lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_checkMaxEmatchExceeded___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processUnassigned___redArg___closed__0; lean_object* lean_usize_to_nat(size_t); @@ -535,15 +534,14 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignGenInfo_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignDelayedEqProof_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__3___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Meta_Grind_EMatch_instInhabitedSearchState_default___closed__1; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_annotateEqnTypeConds_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_isLevelMVarAssignable___at___00Lean_hasAssignableLevelMVar___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__1_spec__1_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_ematchCore___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -568,6 +566,7 @@ static lean_object* l_Lean_Meta_Grind_EMatch_doElemReportEMatchIssue_x21_____00_ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__3_spec__7___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getUnassignedLevelMVars_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgs(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0___redArg(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Context_config(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_doElemReportEMatchIssue_x21____; lean_object* l_List_head_x21___redArg(lean_object*, lean_object*); @@ -575,7 +574,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_ematchTheorems(lean_object*, l static lean_object* l_Lean_Meta_Grind_EMatch_instInhabitedCnstr_default___closed__1; lean_object* l_Lean_Meta_forallMetaBoundedTelescope(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_isCandidate___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__10; static lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f_spec__0___closed__0; @@ -588,6 +587,7 @@ LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Meta_Tactic_G LEAN_EXPORT lean_object* l_Lean_PersistentArray_forM___at___00Lean_Meta_Grind_EMatch_ematchTheorems_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getAppsOf_spec__0_spec__0___redArg___closed__1; lean_object* lean_grind_mk_eq_proof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_findOriginalGeneralizedPatternLhs___closed__0; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_withoutReportingMVarIssues___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processUnassigned_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -607,11 +607,12 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind lean_object* l_Lean_Expr_constLevels_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchEqBwdPat_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatch_Cnstr_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchGroundPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignGeneralizedPatternProof___redArg___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_ForEachExpr_visit___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__5_spec__5(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_annotateEqnTypeConds___lam__0___closed__0; LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchEqBwdPat_spec__0___boxed(lean_object**); @@ -639,6 +640,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_preprocessGeneralizedPatternRHS___closed__8; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__3_spec__4_spec__4_spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_withFreshNGen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_addTheoremInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppPrefix(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -652,9 +654,9 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_a static lean_object* l_Lean_Meta_Grind_EMatch_instInhabitedContext_default___closed__0; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_thmInstanceKey___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__0(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchArgsPrefix_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f___closed__0; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processDelayed_spec__0___redArg(lean_object*, lean_object*, lean_object*); @@ -678,7 +680,7 @@ lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_synthesizeInsts_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__3_spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -720,6 +722,7 @@ lean_object* lean_nat_mul(lean_object*, lean_object*); uint8_t l_Lean_instBEqHeadIndex_beq(lean_object*, lean_object*); lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_insert(lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_left(uint64_t, uint64_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -739,9 +742,11 @@ static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknow LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_matchArgs_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_getAppsOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_collectLevelMVars(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatch_doElemReportEMatchIssue_x21_____00__closed__1; lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processUnassigned_unassignOrFail___redArg___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instAlternativeMetaM; @@ -824,18 +829,20 @@ static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknow LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__3_spec__4_spec__4___redArg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_delayedEqProof___closed__2; -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_proveEq_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processDelayed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processDelayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assignUnassignedLevelMVars_search_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Origin_key(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_profileitIOUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatch_instInhabitedCnstr_default___closed__2; @@ -845,6 +852,7 @@ uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Meta_Grind_EMatch_doElemReportEMatchIssue_x21_____00__closed__9; lean_object* l_Lean_Meta_Grind_synthInstanceAndAssign___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__5_spec__5(uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_instHashableLevelMVarId_hash(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_isCandidate(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processDelayed_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -889,9 +897,10 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__pri LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_ForEachExpr_visit___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__5_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processUnassigned_unassignOrFail___redArg___closed__2; LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_processOffset_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatch_instInhabitedSearchState_default___closed__2; LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_collectConstsWithLevelMVars_go_spec__0_spec__0(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_MVarId_isAssigned___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_synthesizeInsts_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Meta_isProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -25125,6 +25134,529 @@ x_14 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_withF return x_14; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0___redArg(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_3); +return x_10; +} +else +{ +lean_object* x_11; +x_11 = l_Lean_Meta_mkFreshLevelMVar(x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec_ref(x_11); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_3, x_2, x_13); +x_15 = 1; +x_16 = lean_usize_add(x_2, x_15); +x_17 = lean_array_uset(x_14, x_2, x_12); +x_2 = x_16; +x_3 = x_17; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec_ref(x_3); +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) +{ +return x_11; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_11, 0); +lean_inc(x_20); +lean_dec(x_11); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0___redArg(x_1, x_2, x_3, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +x_11 = lean_apply_9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, lean_box(0)); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg___lam__0___boxed), 10, 5); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_3); +lean_closure_set(x_12, 2, x_4); +lean_closure_set(x_12, 3, x_5); +lean_closure_set(x_12, 4, x_6); +x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp(lean_box(0), x_2, x_12, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) +{ +return x_13; +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_4, 5); +x_8 = l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +lean_inc(x_7); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_7); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg(x_2, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___lam__0(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_16; +lean_inc_ref(x_3); +x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0___redArg(x_1, x_2, x_3, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec_ref(x_16); +x_18 = l_Lean_Expr_instantiateLevelParamsArray(x_4, x_3, x_17); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_5); +lean_inc_ref(x_11); +x_20 = l_Lean_Meta_lambdaMetaTelescope(x_18, x_19, x_11, x_12, x_13, x_14); +lean_dec_ref(x_19); +lean_dec_ref(x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec_ref(x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = l_Lean_Meta_isExprDefEqGuarded(x_6, x_23, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_24) == 0) +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_unbox(x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +uint8_t x_28; lean_object* x_29; +x_28 = 1; +x_29 = lean_box(x_28); +lean_ctor_set(x_24, 0, x_29); +return x_24; +} +else +{ +uint8_t x_30; lean_object* x_31; +x_30 = 0; +x_31 = lean_box(x_30); +lean_ctor_set(x_24, 0, x_31); +return x_24; +} +} +else +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_24, 0); +lean_inc(x_32); +lean_dec(x_24); +x_33 = lean_unbox(x_32); +lean_dec(x_32); +if (x_33 == 0) +{ +uint8_t x_34; lean_object* x_35; lean_object* x_36; +x_34 = 1; +x_35 = lean_box(x_34); +x_36 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_36, 0, x_35); +return x_36; +} +else +{ +uint8_t x_37; lean_object* x_38; lean_object* x_39; +x_37 = 0; +x_38 = lean_box(x_37); +x_39 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_39, 0, x_38); +return x_39; +} +} +} +else +{ +return x_24; +} +} +else +{ +uint8_t x_40; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +x_40 = !lean_is_exclusive(x_20); +if (x_40 == 0) +{ +return x_20; +} +else +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_20, 0); +lean_inc(x_41); +lean_dec(x_20); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_3); +x_43 = !lean_is_exclusive(x_16); +if (x_43 == 0) +{ +return x_16; +} +else +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_16, 0); +lean_inc(x_44); +lean_dec(x_16); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +return x_45; +} +} +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`grind` internal error, invalid variable in `grind_pattern` constraint", 70, 70); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_17 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_18 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___lam__0(x_16, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_4); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_instInhabitedExpr; +x_16 = lean_array_get_size(x_3); +x_17 = lean_nat_dec_lt(x_4, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_16); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_18 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__1; +x_19 = l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg(x_18, x_10, x_11, x_12, x_13); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; +x_23 = lean_ctor_get(x_5, 0); +lean_inc_ref(x_23); +x_24 = lean_ctor_get(x_5, 1); +lean_inc(x_24); +x_25 = lean_ctor_get(x_5, 2); +lean_inc_ref(x_25); +lean_dec_ref(x_5); +x_26 = lean_nat_sub(x_16, x_4); +lean_dec(x_16); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_sub(x_26, x_27); +lean_dec(x_26); +x_29 = lean_array_get_borrowed(x_15, x_3, x_28); +lean_dec(x_28); +x_30 = lean_expr_instantiate_rev(x_25, x_3); +lean_dec_ref(x_25); +x_31 = l_Lean_Expr_instantiateLevelParams(x_30, x_1, x_2); +lean_dec_ref(x_30); +x_32 = lean_array_size(x_23); +x_33 = lean_box_usize(x_32); +x_34 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___boxed__const__1; +lean_inc_ref(x_29); +x_35 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___lam__0___boxed), 15, 6); +lean_closure_set(x_35, 0, x_33); +lean_closure_set(x_35, 1, x_34); +lean_closure_set(x_35, 2, x_23); +lean_closure_set(x_35, 3, x_31); +lean_closure_set(x_35, 4, x_24); +lean_closure_set(x_35, 5, x_29); +x_36 = 0; +x_37 = l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg(x_35, x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_37; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0___redArg(x_9, x_10, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_14 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__0(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_2); +x_13 = l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___redArg(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_3); +x_14 = l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_15; +} +} static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0() { _start: { @@ -25566,12 +26098,12 @@ return x_82; } } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_8; -x_8 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_6); -return x_8; +lean_object* x_12; +x_12 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_10); +return x_12; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0() { @@ -25582,82 +26114,39 @@ x_1 = l_Lean_unknownIdentifierMessageTag; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_6); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_8, 0); -x_11 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0; -x_12 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -lean_ctor_set(x_8, 0, x_12); -return x_8; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_8, 0); -lean_inc(x_13); -lean_dec(x_8); -x_14 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0; -x_15 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -x_16 = lean_alloc_ctor(0, 1, 0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0; +x_16 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_16, 0, x_15); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_ctor_get(x_4, 5); -x_8 = l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_go_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_7); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_7); -lean_ctor_set(x_11, 1, x_10); -lean_ctor_set_tag(x_8, 1); -lean_ctor_set(x_8, 0, x_11); -return x_8; +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_12, 0, x_16); +return x_12; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -lean_inc(x_7); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_7); -lean_ctor_set(x_13, 1, x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_12, 0); +lean_inc(x_17); +lean_dec(x_12); +x_18 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0; +x_19 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -25670,7 +26159,7 @@ x_9 = lean_ctor_get(x_5, 5); x_10 = l_Lean_replaceRef(x_1, x_9); lean_dec(x_9); lean_ctor_set(x_5, 5, x_10); -x_11 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_2, x_3, x_4, x_5, x_6); +x_11 = l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg(x_2, x_3, x_4, x_5, x_6); lean_dec_ref(x_5); return x_11; } @@ -25727,38 +26216,38 @@ lean_ctor_set(x_29, 12, x_25); lean_ctor_set(x_29, 13, x_27); lean_ctor_set_uint8(x_29, sizeof(void*)*14, x_24); lean_ctor_set_uint8(x_29, sizeof(void*)*14 + 1, x_26); -x_30 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_2, x_3, x_4, x_29, x_6); +x_30 = l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg(x_2, x_3, x_4, x_29, x_6); lean_dec_ref(x_29); return x_30; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_9; -x_9 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; +lean_object* x_13; +x_13 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(x_2, x_3, x_8, x_9, x_10, x_11); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0(x_2, x_3, x_4, x_5, x_6, x_7); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec_ref(x_9); -x_11 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(x_1, x_10, x_4, x_5, x_6, x_7); -return x_11; +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec_ref(x_13); +x_15 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(x_1, x_14, x_8, x_9, x_10, x_11); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_10; -x_10 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_10; +lean_object* x_14; +x_14 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; } } static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__0() { @@ -25795,609 +26284,314 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_8 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__1; -x_9 = 0; +lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__1; +x_13 = 0; lean_inc(x_2); -x_10 = l_Lean_MessageData_ofConstName(x_2, x_9); -x_11 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_11, 0, x_8); -lean_ctor_set(x_11, 1, x_10); -x_12 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__3; -x_13 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -x_14 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_13, x_2, x_3, x_4, x_5, x_6); -return x_14; +x_14 = l_Lean_MessageData_ofConstName(x_2, x_13); +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_12); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__3; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_9; -x_9 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; +lean_object* x_13; +x_13 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_4, 5); -lean_inc(x_7); -x_8 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(x_7, x_1, x_2, x_3, x_4, x_5); -lean_dec(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; -x_7 = lean_st_ref_get(x_5); -x_8 = lean_ctor_get(x_7, 0); -lean_inc_ref(x_8); -lean_dec_ref(x_7); -x_9 = 0; -lean_inc(x_1); -x_10 = l_Lean_Environment_find_x3f(x_8, x_1, x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; -x_11 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5); -return x_11; -} -else -{ -uint8_t x_12; -lean_dec_ref(x_4); -lean_dec(x_1); -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) -{ -lean_ctor_set_tag(x_10, 0); -return x_10; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_10, 0); -lean_inc(x_13); -lean_dec(x_10); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__8(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_9; -x_9 = lean_usize_dec_lt(x_2, x_1); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_10, 0, x_3); -return x_10; -} -else -{ -lean_object* x_11; -x_11 = l_Lean_Meta_mkFreshLevelMVar(x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec_ref(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_uset(x_3, x_2, x_13); -x_15 = 1; -x_16 = lean_usize_add(x_2, x_15); -x_17 = lean_array_uset(x_14, x_2, x_12); -x_2 = x_16; -x_3 = x_17; -goto _start; -} -else -{ -uint8_t x_19; -lean_dec_ref(x_3); -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) -{ -return x_11; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_11, 0); -lean_inc(x_20); +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 5); +lean_inc(x_11); +x_12 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_11); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_20); -return x_21; +return x_12; } } -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_8; -x_8 = l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp(lean_box(0), x_2, x_1, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_8) == 0) +lean_object* x_12; +x_12 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_11 = lean_st_ref_get(x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_12); +lean_dec_ref(x_11); +x_13 = 0; +lean_inc(x_1); +x_14 = l_Lean_Environment_find_x3f(x_12, x_1, x_13); +if (lean_obj_tag(x_14) == 0) { -return x_8; +lean_object* x_15; +x_15 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; } else { -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_11, 0, x_10); -return x_11; -} -} -else +uint8_t x_16; +lean_dec_ref(x_8); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_8); -if (x_12 == 0) -{ -return x_8; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_8, 0); -lean_inc(x_13); -lean_dec(x_8); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); +lean_ctor_set_tag(x_14, 0); return x_14; } +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +} +static lean_object* _init_l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__0() { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9___redArg(x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("NIY", 3, 3); +return x_1; } } -LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +static lean_object* _init_l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__1() { _start: { -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_array_size(x_1); -x_12 = 0; -lean_inc_ref(x_1); -x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__8(x_11, x_12, x_1, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_13) == 0) +lean_object* x_1; lean_object* x_2; +x_1 = l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec_ref(x_13); -x_15 = l_Lean_Expr_instantiateLevelParamsArray(x_2, x_1, x_14); -x_16 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_16, 0, x_3); -lean_inc_ref(x_6); -x_17 = l_Lean_Meta_lambdaMetaTelescope(x_15, x_16, x_6, x_7, x_8, x_9); -lean_dec_ref(x_16); -lean_dec_ref(x_15); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_14 = 1; +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_4, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_4, 1); +lean_inc(x_18); +lean_dec_ref(x_4); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_17, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_17, 1); +lean_inc_ref(x_25); +lean_dec_ref(x_17); +x_26 = l_Lean_ConstantInfo_levelParams(x_1); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_27 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq(x_26, x_2, x_3, x_24, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_24); +x_19 = x_27; +goto block_23; +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_17); +x_28 = l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__1; +x_29 = l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq_spec__2___redArg(x_28, x_9, x_10, x_11, x_12); +x_19 = x_29; +goto block_23; +} +block_23: +{ +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +x_21 = lean_unbox(x_20); +if (x_21 == 0) +{ +lean_dec(x_18); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_19; +} +else +{ +lean_dec_ref(x_19); +x_4 = x_18; +goto _start; +} +} +else +{ +lean_dec(x_18); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_19; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_1, 7); +lean_inc(x_13); +lean_dec_ref(x_1); +x_14 = l_List_isEmpty___redArg(x_13); +if (x_14 == 0) +{ +if (lean_obj_tag(x_2) == 4) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec_ref(x_2); +lean_inc_ref(x_10); +x_17 = l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); lean_dec_ref(x_17); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); +x_19 = l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7(x_18, x_16, x_3, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_18); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = l_Lean_Meta_isExprDefEqGuarded(x_4, x_20, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_unbox(x_23); -lean_dec(x_23); -if (x_24 == 0) -{ -uint8_t x_25; lean_object* x_26; -x_25 = 1; -x_26 = lean_box(x_25); -lean_ctor_set(x_21, 0, x_26); -return x_21; +return x_19; } else { -lean_object* x_27; -x_27 = lean_box(x_5); -lean_ctor_set(x_21, 0, x_27); -return x_21; -} -} -else -{ -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_21, 0); -lean_inc(x_28); -lean_dec(x_21); -x_29 = lean_unbox(x_28); -lean_dec(x_28); -if (x_29 == 0) -{ -uint8_t x_30; lean_object* x_31; lean_object* x_32; -x_30 = 1; -x_31 = lean_box(x_30); -x_32 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_32, 0, x_31); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_box(x_5); -x_34 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_34, 0, x_33); -return x_34; -} -} -} -else -{ -return x_21; -} -} -else -{ -uint8_t x_35; +uint8_t x_20; +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec_ref(x_4); -x_35 = !lean_is_exclusive(x_17); -if (x_35 == 0) +lean_dec(x_5); +lean_dec(x_4); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) { return x_17; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_17, 0); -lean_inc(x_36); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_17, 0); +lean_inc(x_21); lean_dec(x_17); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_36); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_1); -x_38 = !lean_is_exclusive(x_13); -if (x_38 == 0) -{ -return x_13; -} -else -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_13, 0); -lean_inc(x_39); -lean_dec(x_13); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_39); -return x_40; -} -} -} -} -static lean_object* _init_l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`grind` internal error, invalid variable in `grind_pattern` constraint", 70, 70); -return x_1; -} -} -static lean_object* _init_l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_5); -x_12 = l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___lam__0(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); -lean_dec_ref(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_4); -lean_dec_ref(x_2); -x_12 = 1; -x_13 = lean_box(x_12); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_41; uint8_t x_42; -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); -lean_dec_ref(x_6); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc_ref(x_18); -x_19 = lean_ctor_get(x_15, 2); -lean_inc(x_19); -x_20 = lean_ctor_get(x_15, 3); -lean_inc_ref(x_20); -lean_dec(x_15); -x_41 = lean_array_get_size(x_1); -x_42 = lean_nat_dec_lt(x_17, x_41); -lean_dec(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; uint8_t x_45; -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_4); -lean_dec_ref(x_2); -x_43 = l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__1; -x_44 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_43, x_7, x_8, x_9, x_10); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -return x_44; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_46); -return x_47; -} -} -else -{ -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_21 = x_7; -x_22 = x_8; -x_23 = x_9; -x_24 = x_10; -x_25 = lean_box(0); -goto block_40; -} -block_40: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_26 = lean_array_get_size(x_1); -x_27 = lean_nat_sub(x_26, x_17); -lean_dec(x_17); -lean_dec(x_26); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_sub(x_27, x_28); -lean_dec(x_27); -lean_inc_ref(x_2); -x_30 = lean_array_get_borrowed(x_2, x_1, x_29); -lean_dec(x_29); -x_31 = lean_expr_instantiate_rev(x_20, x_1); -lean_dec_ref(x_20); -x_32 = l_Lean_ConstantInfo_levelParams(x_3); -lean_inc(x_4); -x_33 = l_Lean_Expr_instantiateLevelParams(x_31, x_32, x_4); -lean_dec_ref(x_31); -x_34 = lean_box(x_5); -lean_inc_ref(x_30); -x_35 = lean_alloc_closure((void*)(l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___lam__0___boxed), 10, 5); -lean_closure_set(x_35, 0, x_18); -lean_closure_set(x_35, 1, x_33); -lean_closure_set(x_35, 2, x_19); -lean_closure_set(x_35, 3, x_30); -lean_closure_set(x_35, 4, x_34); -x_36 = l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9___redArg(x_35, x_5, x_21, x_22, x_23, x_24); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; uint8_t x_38; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_unbox(x_37); -lean_dec(x_37); -if (x_38 == 0) -{ -lean_dec(x_16); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_4); -lean_dec_ref(x_2); -return x_36; -} -else -{ -lean_dec_ref(x_36); -x_6 = x_16; -goto _start; -} -} -else -{ -lean_dec(x_16); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_4); -lean_dec_ref(x_2); -return x_36; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_ctor_get(x_1, 7); -lean_inc(x_9); -lean_dec_ref(x_1); -x_10 = l_List_isEmpty___redArg(x_9); -if (x_10 == 0) -{ -if (lean_obj_tag(x_2) == 4) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_2, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_2, 1); -lean_inc(x_12); -lean_dec_ref(x_2); -lean_inc_ref(x_6); -x_13 = l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0(x_11, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec_ref(x_13); -x_15 = l_Lean_instInhabitedExpr; -x_16 = l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10(x_3, x_15, x_14, x_12, x_10, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_14); -return x_16; -} -else -{ -uint8_t x_17; -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) -{ -return x_13; -} -else -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_13, 0); -lean_inc(x_18); -lean_dec(x_13); -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_18); -return x_19; -} -} -} -else -{ -uint8_t x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_2); -x_20 = 1; -x_21 = lean_box(x_20); -x_22 = lean_alloc_ctor(0, 1, 0); +x_22 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_22, 0, x_21); return x_22; } } +} else { -lean_object* x_23; lean_object* x_24; +uint8_t x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); lean_dec(x_9); +lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); -lean_dec_ref(x_4); +lean_dec(x_4); lean_dec_ref(x_2); -x_23 = lean_box(x_10); -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_23); -return x_24; +x_23 = 1; +x_24 = lean_box(x_23); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_13); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_2); +x_26 = lean_box(x_14); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_26); +return x_27; } } } @@ -26410,52 +26604,36 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_8; -x_8 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_12; +x_12 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); -lean_dec_ref(x_3); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec_ref(x_4); lean_dec(x_3); -lean_dec_ref(x_2); -return x_7; +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_8; -x_8 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_12; +x_12 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); -lean_dec_ref(x_3); -return x_8; +lean_dec(x_3); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -26470,151 +26648,148 @@ lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_9; -x_9 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_13; +x_13 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_5); -lean_dec_ref(x_4); +lean_dec(x_4); lean_dec(x_2); -return x_9; +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_9; -x_9 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_13; +x_13 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_5); -lean_dec_ref(x_4); +lean_dec(x_4); lean_dec(x_1); -return x_9; +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_10; -x_10 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_14; +x_14 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_12); +lean_dec(x_10); +lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); lean_dec(x_4); -lean_dec_ref(x_3); +lean_dec(x_3); lean_dec(x_1); -return x_8; +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_9; -x_9 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_13; +x_13 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); lean_dec(x_7); +lean_dec_ref(x_6); lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); lean_dec(x_4); -lean_dec_ref(x_3); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_10 = lean_unbox_usize(x_2); lean_dec(x_2); -x_11 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__8(x_9, x_10, x_3, x_4, x_5, x_6, x_7); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_2); -x_9 = l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9___redArg(x_1, x_8, x_3, x_4, x_5, x_6); -return x_9; +lean_object* x_12; +x_12 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_3); -x_10 = l_Lean_Meta_withNewMCtxDepth___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__9(x_1, x_2, x_9, x_4, x_5, x_6, x_7); -return x_10; +lean_object* x_11; +x_11 = l_Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; } } -LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_5); -x_13 = l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10); +lean_object* x_14; +x_14 = l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec_ref(x_3); lean_dec_ref(x_1); -return x_13; +return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_9; -x_9 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_13; +x_13 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec_ref(x_3); -return x_9; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__0___redArg(lean_object* x_1, lean_object* x_2) { @@ -27750,7 +27925,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__6; x_2 = lean_unsigned_to_nat(2u); -x_3 = lean_unsigned_to_nat(688u); +x_3 = lean_unsigned_to_nat(696u); x_4 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__5; x_5 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -27823,7 +27998,7 @@ lean_inc_ref(x_21); x_48 = l_Lean_Meta_Grind_markTheoremInstance___redArg(x_21, x_24, x_4); if (lean_obj_tag(x_48) == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_279; +lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_279; x_49 = lean_ctor_get(x_48, 0); lean_inc(x_49); lean_dec_ref(x_48); @@ -27935,7 +28110,7 @@ goto block_47; block_75: { lean_object* x_65; lean_object* x_66; uint8_t x_67; uint8_t x_68; uint8_t x_69; lean_object* x_70; -x_65 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_spec__0___redArg(x_53, x_61); +x_65 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_spec__0___redArg(x_52, x_61); x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); lean_dec_ref(x_65); @@ -27943,17 +28118,17 @@ x_67 = 0; x_68 = lean_unbox(x_49); x_69 = lean_unbox(x_49); lean_dec(x_49); -x_70 = l_Lean_Meta_mkLambdaFVars(x_50, x_66, x_52, x_68, x_52, x_69, x_67, x_60, x_61, x_62, x_63); -lean_dec_ref(x_50); +x_70 = l_Lean_Meta_mkLambdaFVars(x_51, x_66, x_50, x_68, x_50, x_69, x_67, x_60, x_61, x_62, x_63); +lean_dec_ref(x_51); if (lean_obj_tag(x_70) == 0) { lean_object* x_71; lean_object* x_72; lean_object* x_73; x_71 = lean_ctor_get(x_70, 0); lean_inc(x_71); lean_dec_ref(x_70); -x_72 = lean_ctor_get(x_51, 1); +x_72 = lean_ctor_get(x_53, 1); lean_inc(x_72); -lean_dec_ref(x_51); +lean_dec_ref(x_53); x_73 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance(x_19, x_71, x_72, x_54, x_55, x_56, x_57, x_58, x_59, x_60, x_61, x_62, x_63); lean_dec(x_72); x_44 = x_73; @@ -27972,7 +28147,7 @@ lean_dec(x_57); lean_dec(x_56); lean_dec(x_55); lean_dec_ref(x_54); -lean_dec_ref(x_51); +lean_dec_ref(x_53); lean_dec_ref(x_19); x_74 = lean_ctor_get(x_70, 0); lean_inc(x_74); @@ -27989,11 +28164,11 @@ x_91 = lean_box(0); x_92 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__0; x_93 = lean_array_size(x_89); x_94 = 0; -lean_inc(x_78); -lean_inc_ref(x_77); -lean_inc(x_83); -lean_inc_ref(x_81); -x_95 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__2___redArg(x_92, x_91, x_89, x_93, x_94, x_92, x_81, x_83, x_77, x_78); +lean_inc(x_77); +lean_inc_ref(x_80); +lean_inc(x_81); +lean_inc_ref(x_84); +x_95 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__2___redArg(x_92, x_91, x_89, x_93, x_94, x_92, x_84, x_81, x_80, x_77); if (lean_obj_tag(x_95) == 0) { lean_object* x_96; uint8_t x_97; @@ -28010,20 +28185,20 @@ lean_dec(x_99); if (lean_obj_tag(x_98) == 0) { lean_free_object(x_96); -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } @@ -28039,7 +28214,7 @@ lean_object* x_101; lean_object* x_102; x_101 = lean_ctor_get(x_100, 0); lean_inc(x_101); lean_dec_ref(x_100); -x_102 = l_Lean_Meta_Grind_getConfig___redArg(x_76); +x_102 = l_Lean_Meta_Grind_getConfig___redArg(x_87); if (lean_obj_tag(x_102) == 0) { lean_object* x_103; uint8_t x_104; @@ -28052,58 +28227,58 @@ if (x_104 == 0) { lean_dec(x_101); lean_free_object(x_96); -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } else { lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_105 = lean_ctor_get(x_77, 2); +x_105 = lean_ctor_get(x_80, 2); x_106 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance___closed__0; x_107 = l_Lean_Option_get___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_spec__2(x_105, x_106); if (x_107 == 0) { lean_dec(x_101); lean_free_object(x_96); -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } else { lean_object* x_108; -lean_inc(x_78); -lean_inc_ref(x_77); -lean_inc(x_83); -lean_inc_ref(x_81); -x_108 = lean_infer_type(x_101, x_81, x_83, x_77, x_78); +lean_inc(x_77); +lean_inc_ref(x_80); +lean_inc(x_81); +lean_inc_ref(x_84); +x_108 = lean_infer_type(x_101, x_84, x_81, x_80, x_77); if (lean_obj_tag(x_108) == 0) { lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; @@ -28124,24 +28299,24 @@ x_114 = l_Lean_indentExpr(x_109); x_115 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_115, 0, x_113); lean_ctor_set(x_115, 1, x_114); -x_116 = l_Lean_Meta_Grind_reportIssue(x_115, x_79, x_76, x_82, x_81, x_83, x_77, x_78); +x_116 = l_Lean_Meta_Grind_reportIssue(x_115, x_88, x_87, x_83, x_84, x_81, x_80, x_77); if (lean_obj_tag(x_116) == 0) { lean_dec_ref(x_116); -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } @@ -28150,16 +28325,16 @@ else lean_dec_ref(x_89); lean_dec(x_88); lean_dec_ref(x_87); -lean_dec_ref(x_86); -lean_dec(x_84); +lean_dec(x_86); +lean_dec(x_85); +lean_dec_ref(x_84); lean_dec(x_83); -lean_dec(x_82); -lean_dec_ref(x_81); +lean_dec_ref(x_82); +lean_dec(x_81); lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec(x_78); -lean_dec_ref(x_77); -lean_dec_ref(x_76); +lean_dec_ref(x_79); +lean_dec_ref(x_78); +lean_dec(x_77); lean_dec(x_49); lean_dec_ref(x_19); x_44 = x_116; @@ -28173,16 +28348,16 @@ lean_free_object(x_96); lean_dec_ref(x_89); lean_dec(x_88); lean_dec_ref(x_87); -lean_dec_ref(x_86); -lean_dec(x_84); +lean_dec(x_86); +lean_dec(x_85); +lean_dec_ref(x_84); lean_dec(x_83); -lean_dec(x_82); -lean_dec_ref(x_81); +lean_dec_ref(x_82); +lean_dec(x_81); lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec(x_78); -lean_dec_ref(x_77); -lean_dec_ref(x_76); +lean_dec_ref(x_79); +lean_dec_ref(x_78); +lean_dec(x_77); lean_dec(x_49); lean_dec_ref(x_19); x_117 = lean_ctor_get(x_108, 0); @@ -28203,16 +28378,16 @@ lean_free_object(x_96); lean_dec_ref(x_89); lean_dec(x_88); lean_dec_ref(x_87); -lean_dec_ref(x_86); -lean_dec(x_84); +lean_dec(x_86); +lean_dec(x_85); +lean_dec_ref(x_84); lean_dec(x_83); -lean_dec(x_82); -lean_dec_ref(x_81); +lean_dec_ref(x_82); +lean_dec(x_81); lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec(x_78); -lean_dec_ref(x_77); -lean_dec_ref(x_76); +lean_dec_ref(x_79); +lean_dec_ref(x_78); +lean_dec(x_77); lean_dec(x_49); lean_dec_ref(x_19); x_118 = lean_ctor_get(x_102, 0); @@ -28227,20 +28402,20 @@ else { lean_dec(x_100); lean_free_object(x_96); -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } @@ -28254,20 +28429,20 @@ lean_inc(x_119); lean_dec(x_96); if (lean_obj_tag(x_119) == 0) { -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } @@ -28283,7 +28458,7 @@ lean_object* x_121; lean_object* x_122; x_121 = lean_ctor_get(x_120, 0); lean_inc(x_121); lean_dec_ref(x_120); -x_122 = l_Lean_Meta_Grind_getConfig___redArg(x_76); +x_122 = l_Lean_Meta_Grind_getConfig___redArg(x_87); if (lean_obj_tag(x_122) == 0) { lean_object* x_123; uint8_t x_124; @@ -28295,57 +28470,57 @@ lean_dec(x_123); if (x_124 == 0) { lean_dec(x_121); -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } else { lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_125 = lean_ctor_get(x_77, 2); +x_125 = lean_ctor_get(x_80, 2); x_126 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance___closed__0; x_127 = l_Lean_Option_get___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_spec__2(x_125, x_126); if (x_127 == 0) { lean_dec(x_121); -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } else { lean_object* x_128; -lean_inc(x_78); -lean_inc_ref(x_77); -lean_inc(x_83); -lean_inc_ref(x_81); -x_128 = lean_infer_type(x_121, x_81, x_83, x_77, x_78); +lean_inc(x_77); +lean_inc_ref(x_80); +lean_inc(x_81); +lean_inc_ref(x_84); +x_128 = lean_infer_type(x_121, x_84, x_81, x_80, x_77); if (lean_obj_tag(x_128) == 0) { lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; @@ -28366,24 +28541,24 @@ x_135 = l_Lean_indentExpr(x_129); x_136 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_136, 0, x_134); lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Meta_Grind_reportIssue(x_136, x_79, x_76, x_82, x_81, x_83, x_77, x_78); +x_137 = l_Lean_Meta_Grind_reportIssue(x_136, x_88, x_87, x_83, x_84, x_81, x_80, x_77); if (lean_obj_tag(x_137) == 0) { lean_dec_ref(x_137); -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } @@ -28392,16 +28567,16 @@ else lean_dec_ref(x_89); lean_dec(x_88); lean_dec_ref(x_87); -lean_dec_ref(x_86); -lean_dec(x_84); +lean_dec(x_86); +lean_dec(x_85); +lean_dec_ref(x_84); lean_dec(x_83); -lean_dec(x_82); -lean_dec_ref(x_81); +lean_dec_ref(x_82); +lean_dec(x_81); lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec(x_78); -lean_dec_ref(x_77); -lean_dec_ref(x_76); +lean_dec_ref(x_79); +lean_dec_ref(x_78); +lean_dec(x_77); lean_dec(x_49); lean_dec_ref(x_19); x_44 = x_137; @@ -28414,16 +28589,16 @@ lean_object* x_138; lean_dec_ref(x_89); lean_dec(x_88); lean_dec_ref(x_87); -lean_dec_ref(x_86); -lean_dec(x_84); +lean_dec(x_86); +lean_dec(x_85); +lean_dec_ref(x_84); lean_dec(x_83); -lean_dec(x_82); -lean_dec_ref(x_81); +lean_dec_ref(x_82); +lean_dec(x_81); lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec(x_78); -lean_dec_ref(x_77); -lean_dec_ref(x_76); +lean_dec_ref(x_79); +lean_dec_ref(x_78); +lean_dec(x_77); lean_dec(x_49); lean_dec_ref(x_19); x_138 = lean_ctor_get(x_128, 0); @@ -28443,16 +28618,16 @@ lean_dec(x_121); lean_dec_ref(x_89); lean_dec(x_88); lean_dec_ref(x_87); -lean_dec_ref(x_86); -lean_dec(x_84); +lean_dec(x_86); +lean_dec(x_85); +lean_dec_ref(x_84); lean_dec(x_83); -lean_dec(x_82); -lean_dec_ref(x_81); +lean_dec_ref(x_82); +lean_dec(x_81); lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec(x_78); -lean_dec_ref(x_77); -lean_dec_ref(x_76); +lean_dec_ref(x_79); +lean_dec_ref(x_78); +lean_dec(x_77); lean_dec(x_49); lean_dec_ref(x_19); x_139 = lean_ctor_get(x_122, 0); @@ -28466,20 +28641,20 @@ goto block_32; else { lean_dec(x_120); -x_50 = x_89; -x_51 = x_80; -x_52 = x_85; -x_53 = x_86; -x_54 = x_87; -x_55 = x_84; -x_56 = x_88; -x_57 = x_79; -x_58 = x_76; -x_59 = x_82; -x_60 = x_81; -x_61 = x_83; -x_62 = x_77; -x_63 = x_78; +x_50 = x_76; +x_51 = x_89; +x_52 = x_78; +x_53 = x_82; +x_54 = x_79; +x_55 = x_86; +x_56 = x_85; +x_57 = x_88; +x_58 = x_87; +x_59 = x_83; +x_60 = x_84; +x_61 = x_81; +x_62 = x_80; +x_63 = x_77; x_64 = lean_box(0); goto block_75; } @@ -28492,16 +28667,16 @@ lean_object* x_140; lean_dec_ref(x_89); lean_dec(x_88); lean_dec_ref(x_87); -lean_dec_ref(x_86); -lean_dec(x_84); +lean_dec(x_86); +lean_dec(x_85); +lean_dec_ref(x_84); lean_dec(x_83); -lean_dec(x_82); -lean_dec_ref(x_81); +lean_dec_ref(x_82); +lean_dec(x_81); lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec(x_78); -lean_dec_ref(x_77); -lean_dec_ref(x_76); +lean_dec_ref(x_79); +lean_dec_ref(x_78); +lean_dec(x_77); lean_dec(x_49); lean_dec_ref(x_19); x_140 = lean_ctor_get(x_95, 0); @@ -28523,24 +28698,24 @@ if (x_159 == 0) { lean_object* x_160; uint8_t x_161; x_160 = lean_mk_empty_array_with_capacity(x_153); -x_161 = lean_nat_dec_lt(x_153, x_144); +x_161 = lean_nat_dec_lt(x_153, x_149); if (x_161 == 0) { uint8_t x_162; -lean_dec_ref(x_148); -lean_dec(x_144); +lean_dec(x_149); +lean_dec_ref(x_142); x_162 = lean_unbox(x_158); lean_dec(x_158); -x_76 = x_142; +x_76 = x_162; x_77 = x_143; -x_78 = x_145; -x_79 = x_146; -x_80 = x_147; -x_81 = x_149; -x_82 = x_150; -x_83 = x_151; -x_84 = x_152; -x_85 = x_162; +x_78 = x_144; +x_79 = x_145; +x_80 = x_146; +x_81 = x_147; +x_82 = x_148; +x_83 = x_150; +x_84 = x_151; +x_85 = x_152; x_86 = x_154; x_87 = x_155; x_88 = x_156; @@ -28551,24 +28726,24 @@ goto block_141; else { uint8_t x_163; -x_163 = lean_nat_dec_le(x_144, x_144); +x_163 = lean_nat_dec_le(x_149, x_149); if (x_163 == 0) { uint8_t x_164; -lean_dec_ref(x_148); -lean_dec(x_144); +lean_dec(x_149); +lean_dec_ref(x_142); x_164 = lean_unbox(x_158); lean_dec(x_158); -x_76 = x_142; +x_76 = x_164; x_77 = x_143; -x_78 = x_145; -x_79 = x_146; -x_80 = x_147; -x_81 = x_149; -x_82 = x_150; -x_83 = x_151; -x_84 = x_152; -x_85 = x_164; +x_78 = x_144; +x_79 = x_145; +x_80 = x_146; +x_81 = x_147; +x_82 = x_148; +x_83 = x_150; +x_84 = x_151; +x_85 = x_152; x_86 = x_154; x_87 = x_155; x_88 = x_156; @@ -28580,25 +28755,25 @@ else { size_t x_165; size_t x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; x_165 = 0; -x_166 = lean_usize_of_nat(x_144); -lean_dec(x_144); -x_167 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__3___redArg(x_148, x_165, x_166, x_160, x_155, x_152, x_156, x_146, x_142, x_150, x_149, x_151, x_143, x_145); -lean_dec_ref(x_148); +x_166 = lean_usize_of_nat(x_149); +lean_dec(x_149); +x_167 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__3___redArg(x_142, x_165, x_166, x_160, x_145, x_154, x_152, x_156, x_155, x_150, x_151, x_147, x_146, x_143); +lean_dec_ref(x_142); x_168 = lean_ctor_get(x_167, 0); lean_inc(x_168); lean_dec_ref(x_167); x_169 = lean_unbox(x_158); lean_dec(x_158); -x_76 = x_142; +x_76 = x_169; x_77 = x_143; -x_78 = x_145; -x_79 = x_146; -x_80 = x_147; -x_81 = x_149; -x_82 = x_150; -x_83 = x_151; -x_84 = x_152; -x_85 = x_169; +x_78 = x_144; +x_79 = x_145; +x_80 = x_146; +x_81 = x_147; +x_82 = x_148; +x_83 = x_150; +x_84 = x_151; +x_85 = x_152; x_86 = x_154; x_87 = x_155; x_88 = x_156; @@ -28612,13 +28787,13 @@ else { lean_object* x_170; lean_object* x_171; lean_dec(x_158); -lean_dec_ref(x_148); -lean_dec(x_144); +lean_dec(x_149); +lean_dec_ref(x_142); lean_dec(x_49); -x_170 = lean_ctor_get(x_147, 1); +x_170 = lean_ctor_get(x_148, 1); lean_inc(x_170); -lean_dec_ref(x_147); -x_171 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance(x_19, x_154, x_170, x_155, x_152, x_156, x_146, x_142, x_150, x_149, x_151, x_143, x_145); +lean_dec_ref(x_148); +x_171 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance(x_19, x_144, x_170, x_145, x_154, x_152, x_156, x_155, x_150, x_151, x_147, x_146, x_143); lean_dec(x_170); x_44 = x_171; goto block_47; @@ -28627,17 +28802,17 @@ goto block_47; block_219: { lean_object* x_188; -lean_inc(x_175); -lean_inc_ref(x_174); -lean_inc(x_182); +lean_inc(x_174); +lean_inc_ref(x_177); +lean_inc(x_178); lean_inc_ref(x_180); +lean_inc(x_179); +lean_inc_ref(x_183); +lean_inc(x_185); lean_inc(x_181); -lean_inc_ref(x_173); -lean_inc(x_176); -lean_inc(x_186); -lean_inc(x_183); -lean_inc_ref(x_185); -x_188 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_applyAssignment(x_179, x_1, x_185, x_183, x_186, x_176, x_173, x_181, x_180, x_182, x_174, x_175); +lean_inc(x_182); +lean_inc_ref(x_176); +x_188 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_applyAssignment(x_173, x_1, x_176, x_182, x_181, x_185, x_183, x_179, x_180, x_178, x_177, x_174); if (lean_obj_tag(x_188) == 0) { lean_object* x_189; lean_object* x_190; @@ -28651,12 +28826,12 @@ lean_object* x_191; lean_object* x_192; x_191 = lean_ctor_get(x_189, 1); lean_inc(x_191); lean_dec(x_189); -lean_inc(x_175); -lean_inc_ref(x_174); -lean_inc(x_182); +lean_inc(x_174); +lean_inc_ref(x_177); +lean_inc(x_178); lean_inc_ref(x_180); -lean_inc_ref(x_185); -x_192 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_synthesizeInsts(x_179, x_184, x_185, x_183, x_186, x_176, x_173, x_181, x_180, x_182, x_174, x_175); +lean_inc_ref(x_176); +x_192 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_synthesizeInsts(x_173, x_186, x_176, x_182, x_181, x_185, x_183, x_179, x_180, x_178, x_177, x_174); if (lean_obj_tag(x_192) == 0) { lean_object* x_193; @@ -28667,13 +28842,17 @@ if (lean_obj_tag(x_193) == 1) { lean_object* x_194; lean_dec_ref(x_193); -lean_inc(x_175); -lean_inc_ref(x_174); -lean_inc(x_182); -lean_inc_ref(x_180); +lean_inc(x_174); lean_inc_ref(x_177); +lean_inc(x_178); +lean_inc_ref(x_180); +lean_inc(x_179); +lean_inc_ref(x_183); +lean_inc(x_185); +lean_inc(x_181); +lean_inc_ref(x_184); lean_inc_ref(x_19); -x_194 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(x_19, x_177, x_179, x_180, x_182, x_174, x_175); +x_194 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(x_19, x_184, x_173, x_181, x_185, x_183, x_179, x_180, x_178, x_177, x_174); if (lean_obj_tag(x_194) == 0) { lean_object* x_195; uint8_t x_196; @@ -28686,17 +28865,17 @@ if (x_196 == 0) lean_object* x_197; lean_dec(x_195); lean_dec(x_191); -lean_dec(x_186); -lean_dec_ref(x_185); -lean_dec(x_183); +lean_dec(x_185); +lean_dec_ref(x_184); +lean_dec_ref(x_183); lean_dec(x_182); lean_dec(x_181); lean_dec_ref(x_180); -lean_dec_ref(x_179); +lean_dec(x_179); +lean_dec(x_178); lean_dec_ref(x_177); -lean_dec(x_176); -lean_dec(x_175); -lean_dec_ref(x_174); +lean_dec_ref(x_176); +lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_49); lean_dec_ref(x_19); @@ -28708,31 +28887,31 @@ goto block_40; else { lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; -x_198 = l_Lean_mkAppN(x_177, x_179); +x_198 = l_Lean_mkAppN(x_184, x_173); x_199 = lean_unsigned_to_nat(0u); -x_200 = lean_array_get_size(x_179); +x_200 = lean_array_get_size(x_173); x_201 = lean_nat_dec_lt(x_199, x_200); if (x_201 == 0) { uint8_t x_202; lean_object* x_203; x_202 = lean_unbox(x_195); lean_dec(x_195); -x_203 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_202, x_187, x_187, x_185, x_183, x_186, x_176, x_173, x_181, x_180, x_182, x_174, x_175); +x_203 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_202, x_187, x_187, x_176, x_182, x_181, x_185, x_183, x_179, x_180, x_178, x_177, x_174); x_142 = x_173; x_143 = x_174; -x_144 = x_200; -x_145 = x_175; -x_146 = x_176; -x_147 = x_191; -x_148 = x_179; -x_149 = x_180; -x_150 = x_181; -x_151 = x_182; -x_152 = x_183; +x_144 = x_198; +x_145 = x_176; +x_146 = x_177; +x_147 = x_178; +x_148 = x_191; +x_149 = x_200; +x_150 = x_179; +x_151 = x_180; +x_152 = x_181; x_153 = x_199; -x_154 = x_198; -x_155 = x_185; -x_156 = x_186; +x_154 = x_182; +x_155 = x_183; +x_156 = x_185; x_157 = x_203; goto block_172; } @@ -28743,22 +28922,22 @@ if (x_201 == 0) uint8_t x_204; lean_object* x_205; x_204 = lean_unbox(x_195); lean_dec(x_195); -x_205 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_204, x_187, x_187, x_185, x_183, x_186, x_176, x_173, x_181, x_180, x_182, x_174, x_175); +x_205 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_204, x_187, x_187, x_176, x_182, x_181, x_185, x_183, x_179, x_180, x_178, x_177, x_174); x_142 = x_173; x_143 = x_174; -x_144 = x_200; -x_145 = x_175; -x_146 = x_176; -x_147 = x_191; -x_148 = x_179; -x_149 = x_180; -x_150 = x_181; -x_151 = x_182; -x_152 = x_183; +x_144 = x_198; +x_145 = x_176; +x_146 = x_177; +x_147 = x_178; +x_148 = x_191; +x_149 = x_200; +x_150 = x_179; +x_151 = x_180; +x_152 = x_181; x_153 = x_199; -x_154 = x_198; -x_155 = x_185; -x_156 = x_186; +x_154 = x_182; +x_155 = x_183; +x_156 = x_185; x_157 = x_205; goto block_172; } @@ -28768,7 +28947,7 @@ size_t x_206; size_t x_207; uint8_t x_208; lean_object* x_209; lean_object* x_21 x_206 = 0; x_207 = lean_usize_of_nat(x_200); x_208 = lean_unbox(x_195); -x_209 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__5___redArg(x_208, x_187, x_179, x_206, x_207, x_185, x_183, x_186, x_176, x_173, x_181, x_180, x_182, x_174, x_175); +x_209 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__5___redArg(x_208, x_187, x_173, x_206, x_207, x_176, x_182, x_181, x_185, x_183, x_179, x_180, x_178, x_177, x_174); x_210 = lean_ctor_get(x_209, 0); lean_inc(x_210); lean_dec_ref(x_209); @@ -28776,22 +28955,22 @@ x_211 = lean_unbox(x_195); lean_dec(x_195); x_212 = lean_unbox(x_210); lean_dec(x_210); -x_213 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_211, x_187, x_212, x_185, x_183, x_186, x_176, x_173, x_181, x_180, x_182, x_174, x_175); +x_213 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_211, x_187, x_212, x_176, x_182, x_181, x_185, x_183, x_179, x_180, x_178, x_177, x_174); x_142 = x_173; x_143 = x_174; -x_144 = x_200; -x_145 = x_175; -x_146 = x_176; -x_147 = x_191; -x_148 = x_179; -x_149 = x_180; -x_150 = x_181; -x_151 = x_182; -x_152 = x_183; +x_144 = x_198; +x_145 = x_176; +x_146 = x_177; +x_147 = x_178; +x_148 = x_191; +x_149 = x_200; +x_150 = x_179; +x_151 = x_180; +x_152 = x_181; x_153 = x_199; -x_154 = x_198; -x_155 = x_185; -x_156 = x_186; +x_154 = x_182; +x_155 = x_183; +x_156 = x_185; x_157 = x_213; goto block_172; } @@ -28802,17 +28981,17 @@ else { lean_object* x_214; lean_dec(x_191); -lean_dec(x_186); -lean_dec_ref(x_185); -lean_dec(x_183); +lean_dec(x_185); +lean_dec_ref(x_184); +lean_dec_ref(x_183); lean_dec(x_182); lean_dec(x_181); lean_dec_ref(x_180); -lean_dec_ref(x_179); +lean_dec(x_179); +lean_dec(x_178); lean_dec_ref(x_177); -lean_dec(x_176); -lean_dec(x_175); -lean_dec_ref(x_174); +lean_dec_ref(x_176); +lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_49); lean_dec_ref(x_19); @@ -28829,17 +29008,17 @@ else lean_object* x_215; lean_dec(x_193); lean_dec(x_191); -lean_dec(x_186); -lean_dec_ref(x_185); -lean_dec(x_183); +lean_dec(x_185); +lean_dec_ref(x_184); +lean_dec_ref(x_183); lean_dec(x_182); lean_dec(x_181); lean_dec_ref(x_180); -lean_dec_ref(x_179); +lean_dec(x_179); +lean_dec(x_178); lean_dec_ref(x_177); -lean_dec(x_176); -lean_dec(x_175); -lean_dec_ref(x_174); +lean_dec_ref(x_176); +lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_49); lean_dec_ref(x_19); @@ -28853,17 +29032,17 @@ else { lean_object* x_216; lean_dec(x_191); -lean_dec(x_186); -lean_dec_ref(x_185); -lean_dec(x_183); +lean_dec(x_185); +lean_dec_ref(x_184); +lean_dec_ref(x_183); lean_dec(x_182); lean_dec(x_181); lean_dec_ref(x_180); -lean_dec_ref(x_179); +lean_dec(x_179); +lean_dec(x_178); lean_dec_ref(x_177); -lean_dec(x_176); -lean_dec(x_175); -lean_dec_ref(x_174); +lean_dec_ref(x_176); +lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_49); lean_dec_ref(x_19); @@ -28879,18 +29058,18 @@ else { lean_object* x_217; lean_dec(x_189); -lean_dec(x_186); -lean_dec_ref(x_185); +lean_dec_ref(x_186); +lean_dec(x_185); lean_dec_ref(x_184); -lean_dec(x_183); +lean_dec_ref(x_183); lean_dec(x_182); lean_dec(x_181); lean_dec_ref(x_180); -lean_dec_ref(x_179); +lean_dec(x_179); +lean_dec(x_178); lean_dec_ref(x_177); -lean_dec(x_176); -lean_dec(x_175); -lean_dec_ref(x_174); +lean_dec_ref(x_176); +lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_49); lean_dec_ref(x_19); @@ -28903,18 +29082,18 @@ goto block_40; else { lean_object* x_218; -lean_dec(x_186); -lean_dec_ref(x_185); +lean_dec_ref(x_186); +lean_dec(x_185); lean_dec_ref(x_184); -lean_dec(x_183); +lean_dec_ref(x_183); lean_dec(x_182); lean_dec(x_181); lean_dec_ref(x_180); -lean_dec_ref(x_179); +lean_dec(x_179); +lean_dec(x_178); lean_dec_ref(x_177); -lean_dec(x_176); -lean_dec(x_175); -lean_dec_ref(x_174); +lean_dec_ref(x_176); +lean_dec(x_174); lean_dec_ref(x_173); lean_dec(x_49); lean_dec_ref(x_19); @@ -29001,20 +29180,20 @@ if (x_248 == 0) if (x_234 == 0) { lean_free_object(x_242); -x_173 = x_224; -x_174 = x_228; -x_175 = x_229; -x_176 = x_223; -x_177 = x_232; -x_178 = lean_box(0); -x_179 = x_243; +x_173 = x_243; +x_174 = x_229; +x_175 = lean_box(0); +x_176 = x_220; +x_177 = x_228; +x_178 = x_227; +x_179 = x_225; x_180 = x_226; -x_181 = x_225; -x_182 = x_227; -x_183 = x_221; -x_184 = x_245; -x_185 = x_220; -x_186 = x_222; +x_181 = x_222; +x_182 = x_221; +x_183 = x_224; +x_184 = x_232; +x_185 = x_223; +x_186 = x_245; x_187 = x_234; goto block_219; } @@ -29130,20 +29309,20 @@ else uint8_t x_259; lean_free_object(x_242); x_259 = 0; -x_173 = x_224; -x_174 = x_228; -x_175 = x_229; -x_176 = x_223; -x_177 = x_232; -x_178 = lean_box(0); -x_179 = x_243; +x_173 = x_243; +x_174 = x_229; +x_175 = lean_box(0); +x_176 = x_220; +x_177 = x_228; +x_178 = x_227; +x_179 = x_225; x_180 = x_226; -x_181 = x_225; -x_182 = x_227; -x_183 = x_221; -x_184 = x_245; -x_185 = x_220; -x_186 = x_222; +x_181 = x_222; +x_182 = x_221; +x_183 = x_224; +x_184 = x_232; +x_185 = x_223; +x_186 = x_245; x_187 = x_259; goto block_219; } @@ -29161,20 +29340,20 @@ if (x_262 == 0) { if (x_234 == 0) { -x_173 = x_224; -x_174 = x_228; -x_175 = x_229; -x_176 = x_223; -x_177 = x_232; -x_178 = lean_box(0); -x_179 = x_243; +x_173 = x_243; +x_174 = x_229; +x_175 = lean_box(0); +x_176 = x_220; +x_177 = x_228; +x_178 = x_227; +x_179 = x_225; x_180 = x_226; -x_181 = x_225; -x_182 = x_227; -x_183 = x_221; -x_184 = x_260; -x_185 = x_220; -x_186 = x_222; +x_181 = x_222; +x_182 = x_221; +x_183 = x_224; +x_184 = x_232; +x_185 = x_223; +x_186 = x_260; x_187 = x_234; goto block_219; } @@ -29286,20 +29465,20 @@ else { uint8_t x_274; x_274 = 0; -x_173 = x_224; -x_174 = x_228; -x_175 = x_229; -x_176 = x_223; -x_177 = x_232; -x_178 = lean_box(0); -x_179 = x_243; +x_173 = x_243; +x_174 = x_229; +x_175 = lean_box(0); +x_176 = x_220; +x_177 = x_228; +x_178 = x_227; +x_179 = x_225; x_180 = x_226; -x_181 = x_225; -x_182 = x_227; -x_183 = x_221; -x_184 = x_260; -x_185 = x_220; -x_186 = x_222; +x_181 = x_222; +x_182 = x_221; +x_183 = x_224; +x_184 = x_232; +x_185 = x_223; +x_186 = x_260; x_187 = x_274; goto block_219; } @@ -29531,7 +29710,7 @@ lean_inc_ref(x_310); x_335 = l_Lean_Meta_Grind_markTheoremInstance___redArg(x_310, x_313, x_4); if (lean_obj_tag(x_335) == 0) { -lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; uint8_t x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; uint8_t x_453; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; uint8_t x_530; +lean_object* x_336; uint8_t x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; uint8_t x_453; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; uint8_t x_530; x_336 = lean_ctor_get(x_335, 0); lean_inc(x_336); lean_dec_ref(x_335); @@ -29643,7 +29822,7 @@ goto block_334; block_362: { lean_object* x_352; lean_object* x_353; uint8_t x_354; uint8_t x_355; uint8_t x_356; lean_object* x_357; -x_352 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_spec__0___redArg(x_340, x_348); +x_352 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_spec__0___redArg(x_339, x_348); x_353 = lean_ctor_get(x_352, 0); lean_inc(x_353); lean_dec_ref(x_352); @@ -29651,17 +29830,17 @@ x_354 = 0; x_355 = lean_unbox(x_336); x_356 = lean_unbox(x_336); lean_dec(x_336); -x_357 = l_Lean_Meta_mkLambdaFVars(x_337, x_353, x_339, x_355, x_339, x_356, x_354, x_347, x_348, x_349, x_350); -lean_dec_ref(x_337); +x_357 = l_Lean_Meta_mkLambdaFVars(x_338, x_353, x_337, x_355, x_337, x_356, x_354, x_347, x_348, x_349, x_350); +lean_dec_ref(x_338); if (lean_obj_tag(x_357) == 0) { lean_object* x_358; lean_object* x_359; lean_object* x_360; x_358 = lean_ctor_get(x_357, 0); lean_inc(x_358); lean_dec_ref(x_357); -x_359 = lean_ctor_get(x_338, 1); +x_359 = lean_ctor_get(x_340, 1); lean_inc(x_359); -lean_dec_ref(x_338); +lean_dec_ref(x_340); x_360 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance(x_308, x_358, x_359, x_341, x_342, x_343, x_344, x_345, x_346, x_347, x_348, x_349, x_350); lean_dec(x_359); x_331 = x_360; @@ -29680,7 +29859,7 @@ lean_dec(x_344); lean_dec(x_343); lean_dec(x_342); lean_dec_ref(x_341); -lean_dec_ref(x_338); +lean_dec_ref(x_340); lean_dec_ref(x_308); x_361 = lean_ctor_get(x_357, 0); lean_inc(x_361); @@ -29697,11 +29876,11 @@ x_378 = lean_box(0); x_379 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__0; x_380 = lean_array_size(x_376); x_381 = 0; -lean_inc(x_365); -lean_inc_ref(x_364); -lean_inc(x_370); -lean_inc_ref(x_368); -x_382 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__2___redArg(x_379, x_378, x_376, x_380, x_381, x_379, x_368, x_370, x_364, x_365); +lean_inc(x_364); +lean_inc_ref(x_367); +lean_inc(x_368); +lean_inc_ref(x_371); +x_382 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__2___redArg(x_379, x_378, x_376, x_380, x_381, x_379, x_371, x_368, x_367, x_364); if (lean_obj_tag(x_382) == 0) { lean_object* x_383; lean_object* x_384; lean_object* x_385; @@ -29721,20 +29900,20 @@ if (lean_is_exclusive(x_383)) { if (lean_obj_tag(x_384) == 0) { lean_dec(x_385); -x_337 = x_376; -x_338 = x_367; -x_339 = x_372; -x_340 = x_373; -x_341 = x_374; -x_342 = x_371; -x_343 = x_375; -x_344 = x_366; -x_345 = x_363; -x_346 = x_369; -x_347 = x_368; -x_348 = x_370; -x_349 = x_364; -x_350 = x_365; +x_337 = x_363; +x_338 = x_376; +x_339 = x_365; +x_340 = x_369; +x_341 = x_366; +x_342 = x_373; +x_343 = x_372; +x_344 = x_375; +x_345 = x_374; +x_346 = x_370; +x_347 = x_371; +x_348 = x_368; +x_349 = x_367; +x_350 = x_364; x_351 = lean_box(0); goto block_362; } @@ -29750,7 +29929,7 @@ lean_object* x_387; lean_object* x_388; x_387 = lean_ctor_get(x_386, 0); lean_inc(x_387); lean_dec_ref(x_386); -x_388 = l_Lean_Meta_Grind_getConfig___redArg(x_363); +x_388 = l_Lean_Meta_Grind_getConfig___redArg(x_374); if (lean_obj_tag(x_388) == 0) { lean_object* x_389; uint8_t x_390; @@ -29763,58 +29942,58 @@ if (x_390 == 0) { lean_dec(x_387); lean_dec(x_385); -x_337 = x_376; -x_338 = x_367; -x_339 = x_372; -x_340 = x_373; -x_341 = x_374; -x_342 = x_371; -x_343 = x_375; -x_344 = x_366; -x_345 = x_363; -x_346 = x_369; -x_347 = x_368; -x_348 = x_370; -x_349 = x_364; -x_350 = x_365; +x_337 = x_363; +x_338 = x_376; +x_339 = x_365; +x_340 = x_369; +x_341 = x_366; +x_342 = x_373; +x_343 = x_372; +x_344 = x_375; +x_345 = x_374; +x_346 = x_370; +x_347 = x_371; +x_348 = x_368; +x_349 = x_367; +x_350 = x_364; x_351 = lean_box(0); goto block_362; } else { lean_object* x_391; lean_object* x_392; uint8_t x_393; -x_391 = lean_ctor_get(x_364, 2); +x_391 = lean_ctor_get(x_367, 2); x_392 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance___closed__0; x_393 = l_Lean_Option_get___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance_spec__2(x_391, x_392); if (x_393 == 0) { lean_dec(x_387); lean_dec(x_385); -x_337 = x_376; -x_338 = x_367; -x_339 = x_372; -x_340 = x_373; -x_341 = x_374; -x_342 = x_371; -x_343 = x_375; -x_344 = x_366; -x_345 = x_363; -x_346 = x_369; -x_347 = x_368; -x_348 = x_370; -x_349 = x_364; -x_350 = x_365; +x_337 = x_363; +x_338 = x_376; +x_339 = x_365; +x_340 = x_369; +x_341 = x_366; +x_342 = x_373; +x_343 = x_372; +x_344 = x_375; +x_345 = x_374; +x_346 = x_370; +x_347 = x_371; +x_348 = x_368; +x_349 = x_367; +x_350 = x_364; x_351 = lean_box(0); goto block_362; } else { lean_object* x_394; -lean_inc(x_365); -lean_inc_ref(x_364); -lean_inc(x_370); -lean_inc_ref(x_368); -x_394 = lean_infer_type(x_387, x_368, x_370, x_364, x_365); +lean_inc(x_364); +lean_inc_ref(x_367); +lean_inc(x_368); +lean_inc_ref(x_371); +x_394 = lean_infer_type(x_387, x_371, x_368, x_367, x_364); if (lean_obj_tag(x_394) == 0) { lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; @@ -29840,24 +30019,24 @@ x_401 = l_Lean_indentExpr(x_395); x_402 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_402, 0, x_400); lean_ctor_set(x_402, 1, x_401); -x_403 = l_Lean_Meta_Grind_reportIssue(x_402, x_366, x_363, x_369, x_368, x_370, x_364, x_365); +x_403 = l_Lean_Meta_Grind_reportIssue(x_402, x_375, x_374, x_370, x_371, x_368, x_367, x_364); if (lean_obj_tag(x_403) == 0) { lean_dec_ref(x_403); -x_337 = x_376; -x_338 = x_367; -x_339 = x_372; -x_340 = x_373; -x_341 = x_374; -x_342 = x_371; -x_343 = x_375; -x_344 = x_366; -x_345 = x_363; -x_346 = x_369; -x_347 = x_368; -x_348 = x_370; -x_349 = x_364; -x_350 = x_365; +x_337 = x_363; +x_338 = x_376; +x_339 = x_365; +x_340 = x_369; +x_341 = x_366; +x_342 = x_373; +x_343 = x_372; +x_344 = x_375; +x_345 = x_374; +x_346 = x_370; +x_347 = x_371; +x_348 = x_368; +x_349 = x_367; +x_350 = x_364; x_351 = lean_box(0); goto block_362; } @@ -29866,16 +30045,16 @@ else lean_dec_ref(x_376); lean_dec(x_375); lean_dec_ref(x_374); -lean_dec_ref(x_373); -lean_dec(x_371); +lean_dec(x_373); +lean_dec(x_372); +lean_dec_ref(x_371); lean_dec(x_370); -lean_dec(x_369); -lean_dec_ref(x_368); +lean_dec_ref(x_369); +lean_dec(x_368); lean_dec_ref(x_367); -lean_dec(x_366); -lean_dec(x_365); -lean_dec_ref(x_364); -lean_dec_ref(x_363); +lean_dec_ref(x_366); +lean_dec_ref(x_365); +lean_dec(x_364); lean_dec(x_336); lean_dec_ref(x_308); x_331 = x_403; @@ -29889,16 +30068,16 @@ lean_dec(x_385); lean_dec_ref(x_376); lean_dec(x_375); lean_dec_ref(x_374); -lean_dec_ref(x_373); -lean_dec(x_371); +lean_dec(x_373); +lean_dec(x_372); +lean_dec_ref(x_371); lean_dec(x_370); -lean_dec(x_369); -lean_dec_ref(x_368); +lean_dec_ref(x_369); +lean_dec(x_368); lean_dec_ref(x_367); -lean_dec(x_366); -lean_dec(x_365); -lean_dec_ref(x_364); -lean_dec_ref(x_363); +lean_dec_ref(x_366); +lean_dec_ref(x_365); +lean_dec(x_364); lean_dec(x_336); lean_dec_ref(x_308); x_404 = lean_ctor_get(x_394, 0); @@ -29919,16 +30098,16 @@ lean_dec(x_385); lean_dec_ref(x_376); lean_dec(x_375); lean_dec_ref(x_374); -lean_dec_ref(x_373); -lean_dec(x_371); +lean_dec(x_373); +lean_dec(x_372); +lean_dec_ref(x_371); lean_dec(x_370); -lean_dec(x_369); -lean_dec_ref(x_368); +lean_dec_ref(x_369); +lean_dec(x_368); lean_dec_ref(x_367); -lean_dec(x_366); -lean_dec(x_365); -lean_dec_ref(x_364); -lean_dec_ref(x_363); +lean_dec_ref(x_366); +lean_dec_ref(x_365); +lean_dec(x_364); lean_dec(x_336); lean_dec_ref(x_308); x_405 = lean_ctor_get(x_388, 0); @@ -29943,20 +30122,20 @@ else { lean_dec(x_386); lean_dec(x_385); -x_337 = x_376; -x_338 = x_367; -x_339 = x_372; -x_340 = x_373; -x_341 = x_374; -x_342 = x_371; -x_343 = x_375; -x_344 = x_366; -x_345 = x_363; -x_346 = x_369; -x_347 = x_368; -x_348 = x_370; -x_349 = x_364; -x_350 = x_365; +x_337 = x_363; +x_338 = x_376; +x_339 = x_365; +x_340 = x_369; +x_341 = x_366; +x_342 = x_373; +x_343 = x_372; +x_344 = x_375; +x_345 = x_374; +x_346 = x_370; +x_347 = x_371; +x_348 = x_368; +x_349 = x_367; +x_350 = x_364; x_351 = lean_box(0); goto block_362; } @@ -29968,16 +30147,16 @@ lean_object* x_406; lean_dec_ref(x_376); lean_dec(x_375); lean_dec_ref(x_374); -lean_dec_ref(x_373); -lean_dec(x_371); +lean_dec(x_373); +lean_dec(x_372); +lean_dec_ref(x_371); lean_dec(x_370); -lean_dec(x_369); -lean_dec_ref(x_368); +lean_dec_ref(x_369); +lean_dec(x_368); lean_dec_ref(x_367); -lean_dec(x_366); -lean_dec(x_365); -lean_dec_ref(x_364); -lean_dec_ref(x_363); +lean_dec_ref(x_366); +lean_dec_ref(x_365); +lean_dec(x_364); lean_dec(x_336); lean_dec_ref(x_308); x_406 = lean_ctor_get(x_382, 0); @@ -29999,24 +30178,24 @@ if (x_425 == 0) { lean_object* x_426; uint8_t x_427; x_426 = lean_mk_empty_array_with_capacity(x_419); -x_427 = lean_nat_dec_lt(x_419, x_410); +x_427 = lean_nat_dec_lt(x_419, x_415); if (x_427 == 0) { uint8_t x_428; -lean_dec_ref(x_414); -lean_dec(x_410); +lean_dec(x_415); +lean_dec_ref(x_408); x_428 = lean_unbox(x_424); lean_dec(x_424); -x_363 = x_408; +x_363 = x_428; x_364 = x_409; -x_365 = x_411; -x_366 = x_412; -x_367 = x_413; -x_368 = x_415; -x_369 = x_416; -x_370 = x_417; -x_371 = x_418; -x_372 = x_428; +x_365 = x_410; +x_366 = x_411; +x_367 = x_412; +x_368 = x_413; +x_369 = x_414; +x_370 = x_416; +x_371 = x_417; +x_372 = x_418; x_373 = x_420; x_374 = x_421; x_375 = x_422; @@ -30027,24 +30206,24 @@ goto block_407; else { uint8_t x_429; -x_429 = lean_nat_dec_le(x_410, x_410); +x_429 = lean_nat_dec_le(x_415, x_415); if (x_429 == 0) { uint8_t x_430; -lean_dec_ref(x_414); -lean_dec(x_410); +lean_dec(x_415); +lean_dec_ref(x_408); x_430 = lean_unbox(x_424); lean_dec(x_424); -x_363 = x_408; +x_363 = x_430; x_364 = x_409; -x_365 = x_411; -x_366 = x_412; -x_367 = x_413; -x_368 = x_415; -x_369 = x_416; -x_370 = x_417; -x_371 = x_418; -x_372 = x_430; +x_365 = x_410; +x_366 = x_411; +x_367 = x_412; +x_368 = x_413; +x_369 = x_414; +x_370 = x_416; +x_371 = x_417; +x_372 = x_418; x_373 = x_420; x_374 = x_421; x_375 = x_422; @@ -30056,25 +30235,25 @@ else { size_t x_431; size_t x_432; lean_object* x_433; lean_object* x_434; uint8_t x_435; x_431 = 0; -x_432 = lean_usize_of_nat(x_410); -lean_dec(x_410); -x_433 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__3___redArg(x_414, x_431, x_432, x_426, x_421, x_418, x_422, x_412, x_408, x_416, x_415, x_417, x_409, x_411); -lean_dec_ref(x_414); +x_432 = lean_usize_of_nat(x_415); +lean_dec(x_415); +x_433 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__3___redArg(x_408, x_431, x_432, x_426, x_411, x_420, x_418, x_422, x_421, x_416, x_417, x_413, x_412, x_409); +lean_dec_ref(x_408); x_434 = lean_ctor_get(x_433, 0); lean_inc(x_434); lean_dec_ref(x_433); x_435 = lean_unbox(x_424); lean_dec(x_424); -x_363 = x_408; +x_363 = x_435; x_364 = x_409; -x_365 = x_411; -x_366 = x_412; -x_367 = x_413; -x_368 = x_415; -x_369 = x_416; -x_370 = x_417; -x_371 = x_418; -x_372 = x_435; +x_365 = x_410; +x_366 = x_411; +x_367 = x_412; +x_368 = x_413; +x_369 = x_414; +x_370 = x_416; +x_371 = x_417; +x_372 = x_418; x_373 = x_420; x_374 = x_421; x_375 = x_422; @@ -30088,13 +30267,13 @@ else { lean_object* x_436; lean_object* x_437; lean_dec(x_424); -lean_dec_ref(x_414); -lean_dec(x_410); +lean_dec(x_415); +lean_dec_ref(x_408); lean_dec(x_336); -x_436 = lean_ctor_get(x_413, 1); +x_436 = lean_ctor_get(x_414, 1); lean_inc(x_436); -lean_dec_ref(x_413); -x_437 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance(x_308, x_420, x_436, x_421, x_418, x_422, x_412, x_408, x_416, x_415, x_417, x_409, x_411); +lean_dec_ref(x_414); +x_437 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_addNewInstance(x_308, x_410, x_436, x_411, x_420, x_418, x_422, x_421, x_416, x_417, x_413, x_412, x_409); lean_dec(x_436); x_331 = x_437; goto block_334; @@ -30103,17 +30282,17 @@ goto block_334; block_485: { lean_object* x_454; -lean_inc(x_441); -lean_inc_ref(x_440); -lean_inc(x_448); +lean_inc(x_440); +lean_inc_ref(x_443); +lean_inc(x_444); lean_inc_ref(x_446); +lean_inc(x_445); +lean_inc_ref(x_449); +lean_inc(x_451); lean_inc(x_447); -lean_inc_ref(x_439); -lean_inc(x_442); -lean_inc(x_452); -lean_inc(x_449); -lean_inc_ref(x_451); -x_454 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_applyAssignment(x_445, x_1, x_451, x_449, x_452, x_442, x_439, x_447, x_446, x_448, x_440, x_441); +lean_inc(x_448); +lean_inc_ref(x_442); +x_454 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_applyAssignment(x_439, x_1, x_442, x_448, x_447, x_451, x_449, x_445, x_446, x_444, x_443, x_440); if (lean_obj_tag(x_454) == 0) { lean_object* x_455; lean_object* x_456; @@ -30127,12 +30306,12 @@ lean_object* x_457; lean_object* x_458; x_457 = lean_ctor_get(x_455, 1); lean_inc(x_457); lean_dec(x_455); -lean_inc(x_441); -lean_inc_ref(x_440); -lean_inc(x_448); +lean_inc(x_440); +lean_inc_ref(x_443); +lean_inc(x_444); lean_inc_ref(x_446); -lean_inc_ref(x_451); -x_458 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_synthesizeInsts(x_445, x_450, x_451, x_449, x_452, x_442, x_439, x_447, x_446, x_448, x_440, x_441); +lean_inc_ref(x_442); +x_458 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_synthesizeInsts(x_439, x_452, x_442, x_448, x_447, x_451, x_449, x_445, x_446, x_444, x_443, x_440); if (lean_obj_tag(x_458) == 0) { lean_object* x_459; @@ -30143,13 +30322,17 @@ if (lean_obj_tag(x_459) == 1) { lean_object* x_460; lean_dec_ref(x_459); -lean_inc(x_441); -lean_inc_ref(x_440); -lean_inc(x_448); -lean_inc_ref(x_446); +lean_inc(x_440); lean_inc_ref(x_443); +lean_inc(x_444); +lean_inc_ref(x_446); +lean_inc(x_445); +lean_inc_ref(x_449); +lean_inc(x_451); +lean_inc(x_447); +lean_inc_ref(x_450); lean_inc_ref(x_308); -x_460 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(x_308, x_443, x_445, x_446, x_448, x_440, x_441); +x_460 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints(x_308, x_450, x_439, x_447, x_451, x_449, x_445, x_446, x_444, x_443, x_440); if (lean_obj_tag(x_460) == 0) { lean_object* x_461; uint8_t x_462; @@ -30162,17 +30345,17 @@ if (x_462 == 0) lean_object* x_463; lean_dec(x_461); lean_dec(x_457); -lean_dec(x_452); -lean_dec_ref(x_451); -lean_dec(x_449); +lean_dec(x_451); +lean_dec_ref(x_450); +lean_dec_ref(x_449); lean_dec(x_448); lean_dec(x_447); lean_dec_ref(x_446); -lean_dec_ref(x_445); +lean_dec(x_445); +lean_dec(x_444); lean_dec_ref(x_443); -lean_dec(x_442); -lean_dec(x_441); -lean_dec_ref(x_440); +lean_dec_ref(x_442); +lean_dec(x_440); lean_dec_ref(x_439); lean_dec(x_336); lean_dec_ref(x_308); @@ -30184,31 +30367,31 @@ goto block_327; else { lean_object* x_464; lean_object* x_465; lean_object* x_466; uint8_t x_467; -x_464 = l_Lean_mkAppN(x_443, x_445); +x_464 = l_Lean_mkAppN(x_450, x_439); x_465 = lean_unsigned_to_nat(0u); -x_466 = lean_array_get_size(x_445); +x_466 = lean_array_get_size(x_439); x_467 = lean_nat_dec_lt(x_465, x_466); if (x_467 == 0) { uint8_t x_468; lean_object* x_469; x_468 = lean_unbox(x_461); lean_dec(x_461); -x_469 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_468, x_453, x_453, x_451, x_449, x_452, x_442, x_439, x_447, x_446, x_448, x_440, x_441); +x_469 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_468, x_453, x_453, x_442, x_448, x_447, x_451, x_449, x_445, x_446, x_444, x_443, x_440); x_408 = x_439; x_409 = x_440; -x_410 = x_466; -x_411 = x_441; -x_412 = x_442; -x_413 = x_457; -x_414 = x_445; -x_415 = x_446; -x_416 = x_447; -x_417 = x_448; -x_418 = x_449; +x_410 = x_464; +x_411 = x_442; +x_412 = x_443; +x_413 = x_444; +x_414 = x_457; +x_415 = x_466; +x_416 = x_445; +x_417 = x_446; +x_418 = x_447; x_419 = x_465; -x_420 = x_464; -x_421 = x_451; -x_422 = x_452; +x_420 = x_448; +x_421 = x_449; +x_422 = x_451; x_423 = x_469; goto block_438; } @@ -30219,22 +30402,22 @@ if (x_467 == 0) uint8_t x_470; lean_object* x_471; x_470 = lean_unbox(x_461); lean_dec(x_461); -x_471 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_470, x_453, x_453, x_451, x_449, x_452, x_442, x_439, x_447, x_446, x_448, x_440, x_441); +x_471 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_470, x_453, x_453, x_442, x_448, x_447, x_451, x_449, x_445, x_446, x_444, x_443, x_440); x_408 = x_439; x_409 = x_440; -x_410 = x_466; -x_411 = x_441; -x_412 = x_442; -x_413 = x_457; -x_414 = x_445; -x_415 = x_446; -x_416 = x_447; -x_417 = x_448; -x_418 = x_449; +x_410 = x_464; +x_411 = x_442; +x_412 = x_443; +x_413 = x_444; +x_414 = x_457; +x_415 = x_466; +x_416 = x_445; +x_417 = x_446; +x_418 = x_447; x_419 = x_465; -x_420 = x_464; -x_421 = x_451; -x_422 = x_452; +x_420 = x_448; +x_421 = x_449; +x_422 = x_451; x_423 = x_471; goto block_438; } @@ -30244,7 +30427,7 @@ size_t x_472; size_t x_473; uint8_t x_474; lean_object* x_475; lean_object* x_47 x_472 = 0; x_473 = lean_usize_of_nat(x_466); x_474 = lean_unbox(x_461); -x_475 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__5___redArg(x_474, x_453, x_445, x_472, x_473, x_451, x_449, x_452, x_442, x_439, x_447, x_446, x_448, x_440, x_441); +x_475 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem_spec__5___redArg(x_474, x_453, x_439, x_472, x_473, x_442, x_448, x_447, x_451, x_449, x_445, x_446, x_444, x_443, x_440); x_476 = lean_ctor_get(x_475, 0); lean_inc(x_476); lean_dec_ref(x_475); @@ -30252,22 +30435,22 @@ x_477 = lean_unbox(x_461); lean_dec(x_461); x_478 = lean_unbox(x_476); lean_dec(x_476); -x_479 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_477, x_453, x_478, x_451, x_449, x_452, x_442, x_439, x_447, x_446, x_448, x_440, x_441); +x_479 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__1(x_477, x_453, x_478, x_442, x_448, x_447, x_451, x_449, x_445, x_446, x_444, x_443, x_440); x_408 = x_439; x_409 = x_440; -x_410 = x_466; -x_411 = x_441; -x_412 = x_442; -x_413 = x_457; -x_414 = x_445; -x_415 = x_446; -x_416 = x_447; -x_417 = x_448; -x_418 = x_449; +x_410 = x_464; +x_411 = x_442; +x_412 = x_443; +x_413 = x_444; +x_414 = x_457; +x_415 = x_466; +x_416 = x_445; +x_417 = x_446; +x_418 = x_447; x_419 = x_465; -x_420 = x_464; -x_421 = x_451; -x_422 = x_452; +x_420 = x_448; +x_421 = x_449; +x_422 = x_451; x_423 = x_479; goto block_438; } @@ -30278,17 +30461,17 @@ else { lean_object* x_480; lean_dec(x_457); -lean_dec(x_452); -lean_dec_ref(x_451); -lean_dec(x_449); +lean_dec(x_451); +lean_dec_ref(x_450); +lean_dec_ref(x_449); lean_dec(x_448); lean_dec(x_447); lean_dec_ref(x_446); -lean_dec_ref(x_445); +lean_dec(x_445); +lean_dec(x_444); lean_dec_ref(x_443); -lean_dec(x_442); -lean_dec(x_441); -lean_dec_ref(x_440); +lean_dec_ref(x_442); +lean_dec(x_440); lean_dec_ref(x_439); lean_dec(x_336); lean_dec_ref(x_308); @@ -30305,17 +30488,17 @@ else lean_object* x_481; lean_dec(x_459); lean_dec(x_457); -lean_dec(x_452); -lean_dec_ref(x_451); -lean_dec(x_449); +lean_dec(x_451); +lean_dec_ref(x_450); +lean_dec_ref(x_449); lean_dec(x_448); lean_dec(x_447); lean_dec_ref(x_446); -lean_dec_ref(x_445); +lean_dec(x_445); +lean_dec(x_444); lean_dec_ref(x_443); -lean_dec(x_442); -lean_dec(x_441); -lean_dec_ref(x_440); +lean_dec_ref(x_442); +lean_dec(x_440); lean_dec_ref(x_439); lean_dec(x_336); lean_dec_ref(x_308); @@ -30329,17 +30512,17 @@ else { lean_object* x_482; lean_dec(x_457); -lean_dec(x_452); -lean_dec_ref(x_451); -lean_dec(x_449); +lean_dec(x_451); +lean_dec_ref(x_450); +lean_dec_ref(x_449); lean_dec(x_448); lean_dec(x_447); lean_dec_ref(x_446); -lean_dec_ref(x_445); +lean_dec(x_445); +lean_dec(x_444); lean_dec_ref(x_443); -lean_dec(x_442); -lean_dec(x_441); -lean_dec_ref(x_440); +lean_dec_ref(x_442); +lean_dec(x_440); lean_dec_ref(x_439); lean_dec(x_336); lean_dec_ref(x_308); @@ -30355,18 +30538,18 @@ else { lean_object* x_483; lean_dec(x_455); -lean_dec(x_452); -lean_dec_ref(x_451); +lean_dec_ref(x_452); +lean_dec(x_451); lean_dec_ref(x_450); -lean_dec(x_449); +lean_dec_ref(x_449); lean_dec(x_448); lean_dec(x_447); lean_dec_ref(x_446); -lean_dec_ref(x_445); +lean_dec(x_445); +lean_dec(x_444); lean_dec_ref(x_443); -lean_dec(x_442); -lean_dec(x_441); -lean_dec_ref(x_440); +lean_dec_ref(x_442); +lean_dec(x_440); lean_dec_ref(x_439); lean_dec(x_336); lean_dec_ref(x_308); @@ -30379,18 +30562,18 @@ goto block_327; else { lean_object* x_484; -lean_dec(x_452); -lean_dec_ref(x_451); +lean_dec_ref(x_452); +lean_dec(x_451); lean_dec_ref(x_450); -lean_dec(x_449); +lean_dec_ref(x_449); lean_dec(x_448); lean_dec(x_447); lean_dec_ref(x_446); -lean_dec_ref(x_445); +lean_dec(x_445); +lean_dec(x_444); lean_dec_ref(x_443); -lean_dec(x_442); -lean_dec(x_441); -lean_dec_ref(x_440); +lean_dec_ref(x_442); +lean_dec(x_440); lean_dec_ref(x_439); lean_dec(x_336); lean_dec_ref(x_308); @@ -30480,20 +30663,20 @@ if (x_513 == 0) if (x_500 == 0) { lean_dec(x_511); -x_439 = x_490; -x_440 = x_494; -x_441 = x_495; -x_442 = x_489; -x_443 = x_498; -x_444 = lean_box(0); -x_445 = x_509; +x_439 = x_509; +x_440 = x_495; +x_441 = lean_box(0); +x_442 = x_486; +x_443 = x_494; +x_444 = x_493; +x_445 = x_491; x_446 = x_492; -x_447 = x_491; -x_448 = x_493; -x_449 = x_487; -x_450 = x_510; -x_451 = x_486; -x_452 = x_488; +x_447 = x_488; +x_448 = x_487; +x_449 = x_490; +x_450 = x_498; +x_451 = x_489; +x_452 = x_510; x_453 = x_500; goto block_485; } @@ -30614,20 +30797,20 @@ else uint8_t x_525; lean_dec(x_511); x_525 = 0; -x_439 = x_490; -x_440 = x_494; -x_441 = x_495; -x_442 = x_489; -x_443 = x_498; -x_444 = lean_box(0); -x_445 = x_509; +x_439 = x_509; +x_440 = x_495; +x_441 = lean_box(0); +x_442 = x_486; +x_443 = x_494; +x_444 = x_493; +x_445 = x_491; x_446 = x_492; -x_447 = x_491; -x_448 = x_493; -x_449 = x_487; -x_450 = x_510; -x_451 = x_486; -x_452 = x_488; +x_447 = x_488; +x_448 = x_487; +x_449 = x_490; +x_450 = x_498; +x_451 = x_489; +x_452 = x_510; x_453 = x_525; goto block_485; } @@ -36529,7 +36712,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f___closed__2; x_2 = lean_unsigned_to_nat(22u); -x_3 = lean_unsigned_to_nat(776u); +x_3 = lean_unsigned_to_nat(784u); x_4 = l_Lean_Meta_Grind_EMatch_ematchTheorem___closed__0; x_5 = l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_assign_x3f___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -39815,6 +39998,12 @@ l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_withFreshNGe lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_withFreshNGen___redArg___closed__1); l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_withFreshNGen___redArg___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_withFreshNGen___redArg___closed__2(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_withFreshNGen___redArg___closed__2); +l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__0 = _init_l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__0(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__0); +l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___closed__1); +l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___boxed__const__1 = _init_l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___boxed__const__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkNotDefEq___boxed__const__1); l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0(); lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0); l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1(); @@ -39867,10 +40056,10 @@ l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_g lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__2); l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__3 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__3(); lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__0_spec__0_spec__0___redArg___closed__3); -l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__0 = _init_l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__0(); -lean_mark_persistent(l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__0); -l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__1 = _init_l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__1(); -lean_mark_persistent(l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__10___closed__1); +l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__0 = _init_l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__0(); +lean_mark_persistent(l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__0); +l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__1 = _init_l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__1(); +lean_mark_persistent(l_List_allM___at___00__private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_checkConstraints_spec__7___closed__1); l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__0 = _init_l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__0(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__0); l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_EMatch_0__Lean_Meta_Grind_EMatch_instantiateTheorem___lam__2___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/EMatchTheorem.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/EMatchTheorem.c index d9d6d3aa35..30e595e389 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/EMatchTheorem.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/EMatchTheorem.c @@ -19,6 +19,7 @@ static lean_object* l_Lean_Meta_Grind_isGenPattern_x3f___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__7_spec__7(lean_object*, lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__24; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_FVarSubst_apply(lean_object*, lean_object*); @@ -27,12 +28,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_dontCare___closed__0; LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__31; +static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__6; uint8_t lean_is_matcher(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_preprocessMatchCongrEqType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__38; LEAN_EXPORT lean_object* l_Lean_isInductive___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_getPatternFn_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__5; lean_object* l_Std_Format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremAndSuggest___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_normalizePattern_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -41,13 +42,16 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_getProofFor___closed__1; static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_genLt_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_paren(lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3___closed__18; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern___closed__1; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f_spec__0_spec__0___closed__0; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__2; +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__4; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttributeCore___closed__11; +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__0; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__16; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_dontCare; @@ -65,6 +69,7 @@ static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__1 LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen_spec__2_spec__2_spec__2___lam__0___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__0___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__4; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3___closed__14; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_eqBwd_elim___redArg___boxed(lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_normalizePattern_x3f_spec__0_spec__0___redArg___closed__0; @@ -107,8 +112,8 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_canBeSynthesized_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_addEMatchAttrAndSuggest(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__0; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttributeCore___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_SymbolPriorities_erase___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_canBeSynthesized_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -118,7 +123,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_a LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at___00Lean_Meta_Grind_isMatchCongrEqDeclName_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_noConfusion___redArg(uint8_t, uint8_t); static lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_canBeSynthesized_spec__2___closed__0; uint8_t l_Lean_Meta_FVarSubst_isEmpty(lean_object*); @@ -136,6 +140,7 @@ static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknow LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_ensureNoMinIndexable___closed__1; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__12; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__2_spec__2_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -162,7 +167,6 @@ LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__pri static lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_Meta_Grind_addSymbolPriorityAttr_spec__0___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttribute(lean_object*, uint8_t); extern lean_object* l_Lean_maxRecDepthErrorMessage; -LEAN_EXPORT lean_object* l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_addEMatchTheorem(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkTypeFVars___boxed(lean_object*, lean_object*, lean_object*); @@ -171,11 +175,11 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_eqBoth_elim(lean_ob LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___lam__2_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2____boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol_spec__2_spec__2___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg(lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_both_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__3; LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveBVar_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___redArg(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_isPatternDontCare(lean_object*); @@ -204,6 +208,7 @@ static lean_object* l_Lean_Meta_Grind_mkOffsetPattern___closed__1; size_t lean_uint64_to_usize(uint64_t); uint64_t lean_uint64_lor(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_user_elim___redArg___boxed(lean_object*, lean_object*); +static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__18; LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -215,6 +220,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__11___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go_spec__0(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_isGround_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectGroundPattern_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_instImplicit_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -264,6 +270,7 @@ static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__1 static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__9; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3___closed__15; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_instReprPatternArgKind_repr(uint8_t, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instTheoremLikeEMatchTheorem___lam__0(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_typeFormer_elim(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_isMatchCongrEqConst(lean_object*, lean_object*, lean_object*); @@ -307,6 +314,7 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_Meta_Grind_EMatchTheoremKind_toSyntax_spec__0_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchTheoremAndSuggest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__4; uint64_t l_Lean_ExprStructEq_hash(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_isGenPattern_x3f___closed__4; @@ -319,6 +327,7 @@ lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_Grind_preprocessPattern_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getEMatchTheoremsForNamespace(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__15; +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___lam__1_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2_(uint8_t, lean_object*); static lean_object* l_Lean_Meta_Grind_initFn___closed__5_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_1561772625____hygCtx___hyg_4_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -326,16 +335,18 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_preprocessMatchCongrEqType_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__6; lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_SymbolPriorities_insert_spec__0_spec__0___redArg___closed__0; +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__6(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___lam__0_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2_(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_CheckCoverageResult_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkTypeFVars___closed__0; uint8_t l_Lean_instBEqMessageSeverity_beq(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__2_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_sizeOfDiff_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_match__on__same__ctor_het___redArg_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2814061931____hygCtx___hyg_205_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_check_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremKind_beq___lam__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__1___redArg___closed__1; @@ -349,7 +360,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__11_spec__11_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__8; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___lam__2_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2_(lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_foundBVar_spec__0_spec__0___redArg(lean_object*, lean_object*); @@ -367,6 +377,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_preprocessMatchCongrEqType_spec__5___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); static lean_object* l_Lean_Meta_Grind_initFn___closed__4_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_3079947196____hygCtx___hyg_4_; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttributeCore___closed__10; static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremAndSuggest___closed__6; @@ -377,6 +388,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_isEMatchTheorem___redArg(lean_object* LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__7_spec__11(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__11_spec__11___redArg(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__9; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_getProofFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f_spec__0_spec__0(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -398,6 +410,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at___00Lean_Meta_Grind_isMatchC static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f___lam__0___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons___lam__0___closed__0; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__3; static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5_spec__5___redArg___closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__11_spec__11_spec__11___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__5_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2_; @@ -407,7 +420,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Met lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage___lam__0___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f_spec__0___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__4; uint8_t l_List_isEmpty___redArg(lean_object*); static lean_object* l_panic___at___00Lean_Meta_Grind_isGenPattern_x3f_spec__0___closed__0; lean_object* l_Lean_stringToMessageData(lean_object*); @@ -416,7 +429,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_Persis LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttributeCore(lean_object*); -static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__7; static lean_object* l_Lean_Meta_Grind_NormalizePattern_main___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__4; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3___closed__16; @@ -435,10 +447,10 @@ LEAN_EXPORT lean_object* l_Array_contains___at___00__private_Lean_Meta_Tactic_Gr lean_object* l___private_Lean_Util_FoldConsts_0__Lean_Expr_FoldConstsImpl_fold_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_ppParamsAt_spec__1___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_noConfusion___redArg___lam__0___boxed(lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___lam__1_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Grind_NormalizePattern_getPatternArgKinds_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__20; -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__2; uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_EMatchTheorems_containsWithSamePatterns(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); @@ -462,6 +474,8 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_isSupport( LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__7_spec__8___redArg(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___lam__1___closed__3; static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind___closed__0; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_proof_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -471,6 +485,7 @@ LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Gri LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_Grind_SymbolPriorities_contains_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_addEMatchAttr(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__16; LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__0___redArg___lam__0(lean_object*, lean_object*); static uint64_t l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash___closed__7; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttribute___closed__1; @@ -490,6 +505,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkGenPattern(lean_object*, lean_objec LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_getPropTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___closed__4; static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremForDecl___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instInhabitedCnstrRHS_default; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__2_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2_; lean_object* l_ReaderT_instMonad___redArg(lean_object*); static lean_object* l_Lean_Meta_Grind_ppPattern___closed__3; @@ -498,7 +514,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_isEMatchTheorem___boxed(lean_object*, LEAN_EXPORT lean_object* l_Lean_Meta_Grind_isPatternDontCare___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00Lean_Meta_Grind_getEMatchTheoremsForNamespace_spec__0(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen_spec__2_spec__2_spec__2___lam__0___closed__5; -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_resetSymbolPrioExt___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_noConfusion(lean_object*, uint8_t, uint8_t, lean_object*); @@ -509,11 +524,11 @@ uint8_t l_Lean_Expr_isBVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__11_spec__11_spec__11___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instTheoremLikeEMatchTheorem___lam__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_Grind_preprocessPattern_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_SMap_find_x3f___at___00Lean_Meta_Grind_getEMatchTheoremsForNamespace_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_default_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Grind_mkEMatchTheoremUsingSingletonPatterns_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, size_t, lean_object*); static lean_object* l_Lean_Meta_Grind_NormalizePattern_instReprPatternArgKind_repr___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addGrindEqAttr_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -524,6 +539,7 @@ LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Met uint8_t l_Lean_Expr_containsFVar(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); +static lean_object* l_Lean_Meta_Grind_instBEqCnstrRHS___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_ctorElim___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -531,6 +547,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind LEAN_EXPORT lean_object* l_Lean_Meta_Grind_isEqBwdPattern_x3f(lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__32; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_ctorElim___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0___lam__0(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_SymbolPriorities_getPrio_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_Meta_Grind_addSymbolPriorityAttr_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__4(lean_object*, lean_object*, size_t, size_t); @@ -540,6 +557,7 @@ static uint64_t l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash___closed__1 LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_isCandidateSymbol___redArg(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkNatAdd(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f___lam__1(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_mkEMatchTheoremUsingSingletonPatterns_go_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -600,6 +618,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea static lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_ppParamsAt_spec__1___redArg___lam__0___closed__0; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheorems_containsWithSamePatterns___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__3(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_isGenPattern_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheorems_containsWithSamePatterns___lam__0___boxed(lean_object*, lean_object*, lean_object*); @@ -614,7 +633,6 @@ lean_object* lean_st_ref_take(lean_object*); lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__7(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttributeCore___closed__8; -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_initFn___closed__4_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_3641107727____hygCtx___hyg_4_; static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f___lam__0___closed__4; @@ -623,9 +641,9 @@ static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownCons LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_getProofFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__2_spec__2_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__11; -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0___lam__0(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___lam__1___closed__2; static size_t l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_SymbolPriorities_erase_spec__0_spec__0___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instInhabitedCnstrRHS; uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_normalizePattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -644,9 +662,9 @@ static lean_object* l_Array_filterMapM___at___00__private_Lean_Meta_Tactic_Grind LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_canBeSynthesized___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremForDecl___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__1_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_normalizePattern_x3f_spec__0_spec__0___redArg___closed__1; static lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__7___closed__0; -static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__2; static lean_object* l_Lean_Meta_Grind_isEMatchTheorem___redArg___closed__0; uint64_t lean_uint64_shift_right(uint64_t, uint64_t); static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__6; @@ -667,6 +685,7 @@ static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___clo LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_no_elim___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__11; +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns_spec__0_spec__0_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getEMatchTheorems___redArg___boxed(lean_object*, lean_object*); @@ -682,6 +701,7 @@ LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00__private_Lea static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_eqLhs_elim___redArg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go_goArg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*); @@ -692,6 +712,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Met LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_SymbolPriorities_insert_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_preprocessMatchCongrEqType_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3___closed__1; +static lean_object* l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__2; LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_ppParamsAt_spec__1___redArg___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__1___redArg___closed__0; @@ -720,6 +741,7 @@ static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore_ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_canBeSynthesized_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_isPatternFnCandidate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__11_spec__11___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__25; uint8_t l_Lean_ConstantInfo_isCtor(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_isPatternFnCandidate___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__2_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -733,6 +755,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_resetEMatchTheoremsExt___boxed(lean_o LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_default_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttributeCore___closed__0; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_depthLt_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns_spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___boxed(lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__7; @@ -740,7 +763,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_ctorElim(lean_object LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Grind_mkEMatchEqTheoremsForDef_x3f_spec__0(uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__3; static lean_object* l_panic___at___00Lean_Meta_Grind_isGenPattern_x3f_spec__0___closed__2; -static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__3; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__5; lean_object* l_Lean_MessageData_ofFormat(lean_object*); static lean_object* l_Lean_Meta_Grind_initFn___closed__1_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_1561772625____hygCtx___hyg_4_; @@ -756,7 +778,9 @@ lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__22; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_SymbolPriorities_insert_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_guard_elim(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instInhabitedEMatchTheoremKind_default___closed__0; +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__15; LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00Lean_Meta_Grind_getEMatchTheoremsForNamespace_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); @@ -772,12 +796,14 @@ static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__3 LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremKind_beq___lam__4(uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_initFn___closed__1_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_3641107727____hygCtx___hyg_4_; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go___closed__1; +LEAN_EXPORT lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_ctorIdx(uint8_t); static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1___redArg___closed__2; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttributeCore___closed__6; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveBVar_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__8; LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_preprocessMatchCongrEqType_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getEMatchTheorems(lean_object*, lean_object*); @@ -786,6 +812,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_D double lean_float_of_nat(lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__9; static uint64_t l_Lean_Meta_Grind_mkEMatchTheoremUsingSingletonPatterns___lam__0___closed__1; +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__9; lean_object* l_instInhabitedOfMonad___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_SymbolPriorities_insert_spec__0_spec__0_spec__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__13; @@ -802,6 +829,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_ctorI LEAN_EXPORT lean_object* l_Lean_Meta_Grind_CheckCoverageResult_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_isMatchCongrEqDeclName(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__19; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__17; LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7___closed__2; @@ -814,6 +842,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea LEAN_EXPORT lean_object* l_Lean_Meta_Grind_addEMatchTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchEqBwdTheoremCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveBVar_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__27; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__17_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2_; lean_object* lean_array_to_list(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchTheoremCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -838,7 +867,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_mkRef___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_Grind_SymbolPriorities_contains_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f_spec__0___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_Grind_SymbolPriorities_contains_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__5; @@ -857,6 +885,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchTheoremForDecl(lean_object*, lean_object* l_Lean_mkConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f_collect_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_SMap_find_x3f___at___00Lean_Meta_Grind_getEMatchTheoremsForNamespace_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_defEq_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_CheckCoverageResult_ok_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -901,6 +930,7 @@ static lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheo LEAN_EXPORT lean_object* l_Lean_Meta_Grind_resetSymbolPrioExt___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_sizeLt_elim___redArg(lean_object*, lean_object*); static lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go_spec__1___closed__4; LEAN_EXPORT lean_object* l_List_beq___at___00Lean_Meta_Grind_EMatchTheorems_containsWithSamePatterns_spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_Grind_EMatchTheoremKind_toSyntax_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); @@ -916,6 +946,7 @@ lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_isGenPattern_x3f___closed__5; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__9(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Grind_ppPattern_spec__0___closed__0; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_SMap_find_x3f___at___00Lean_Meta_Grind_getEMatchTheoremsForNamespace_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_dontCare___closed__2; @@ -935,8 +966,10 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__pri lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save___closed__3; static lean_object* l_Lean_Meta_Grind_initFn___closed__1_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_3079947196____hygCtx___hyg_4_; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremForDecl___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheorems_eraseDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__14; uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_isEMatchTheorem___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_SymbolPriorities_erase(lean_object*, lean_object*); @@ -949,6 +982,7 @@ lean_object* l_Lean_Core_instMonadCoreM___lam__1___boxed(lean_object*, lean_obje static uint64_t l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_ppPattern_ppArg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_hasChildWithSameNewBVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprCnstrRHS; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr(lean_object*, lean_object*); lean_object* l_Lean_Expr_instantiateLevelParamsArray(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__7_spec__7_spec__7_spec__7(lean_object*, lean_object*, lean_object*); @@ -956,18 +990,17 @@ extern lean_object* l_Lean_warningAsError; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__0_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00Lean_Meta_Grind_NormalizePattern_getPatternArgKinds_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isArrow(lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__12; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f___closed__4; -LEAN_EXPORT lean_object* l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__10; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__7_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_SymbolPriorities_erase_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Meta_Grind_NormalizePattern_main_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__4; LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__8___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_isEqBwdPattern___boxed(lean_object*); static lean_object* l_Lean_Meta_Grind_splitWhileForbidden___closed__7; -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__7; +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00List_forIn_x27_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___00Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__4; @@ -977,7 +1010,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatternBVars_go___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__15; static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremAndSuggest___closed__3; -static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_symbolPrioExt; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_getPatternArgKinds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -996,6 +1028,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_fwd_elim___redArg__ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremKind_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_Grind_preprocessPattern_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_SymbolPriorities_insert_spec__0_spec__0___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -1022,6 +1055,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_instReprPatternArgKi static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__33; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_getPatternArgKinds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__29; +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Grind_ppPattern_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instBEqExtraModUse_beq___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instTheoremLikeEMatchTheorem___lam__4___boxed(lean_object*); @@ -1040,6 +1075,7 @@ lean_object* l_List_appendTR___redArg(lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_SymbolPriorities_erase_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_3641107727____hygCtx___hyg_4____boxed(lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__23; @@ -1053,19 +1089,21 @@ static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremForDecl___closed__3; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_ppParamsAt___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collect_go_spec__0___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__14; LEAN_EXPORT uint8_t l_List_beq___at___00Lean_Meta_Grind_EMatchTheorems_containsWithSamePatterns_spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__2_spec__2___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttribute___closed__3; -static lean_object* l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__2; lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_SMap_find_x3f___at___00Lean_Meta_Grind_getEMatchTheoremsForNamespace_spec__0_spec__0(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_preprocessMatchCongrEqType_spec__3_spec__3___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5_spec__5___redArg___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_maxInsts_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_isDefault___boxed(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect_spec__0_spec__0___closed__0; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr(lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect_spec__0_spec__0___closed__2; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__13; static lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_ppParamsAt_spec__1___redArg___lam__0___closed__1; @@ -1084,6 +1122,7 @@ lean_object* l_Lean_SimplePersistentEnvExtension_getState___redArg(lean_object*, static double l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7___closed__0; LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); +static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_leftRight_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremKind_beq___lam__0(uint8_t, uint8_t, uint8_t); lean_object* lean_register_option(lean_object*, lean_object*); @@ -1104,22 +1143,27 @@ LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__pri static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__10; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_SymbolPriorities_insert_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_NormalizePattern_instReprPatternArgKind_repr___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_match__on__same__ctor_het_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2814061931____hygCtx___hyg_205_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0___closed__3; static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremsForDef_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__18; LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_Grind_EMatchTheorems_eraseDecl_spec__1(lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchEqBwdTheoremCore___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addGrindEqAttr___closed__1; -static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__5; static lean_object* l_Lean_Meta_Grind_initFn___closed__2_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_3079947196____hygCtx___hyg_4_; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_isCandidateSymbol___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_depthLt_elim(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect_spec__0_spec__0___closed__3; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__1; +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__10; static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__22; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_isSupport___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorIdx(lean_object*); static lean_object* l_Lean_Meta_Grind_NormalizePattern_instReprPatternArgKind_repr___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatternBVars___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Grind_mkEMatchEqTheoremsForDef_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1127,8 +1171,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_ LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instTheoremLikeEMatchTheorem___lam__4(lean_object*); +static lean_object* l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__0; static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__12; static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__8; +static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_SymbolPriorities_getPrio_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__11_spec__11_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1146,7 +1192,6 @@ static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownCons static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__7; static lean_object* l_Lean_Meta_Grind_instInhabitedSymbolPriorities_default___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1157,8 +1202,10 @@ static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__1 lean_object* l_Lean_Meta_Grind_Theorems_find___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectGroundPattern_x3f_visit_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__7; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_resetEMatchTheoremsExt(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__13; LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Grind_mkEMatchTheoremUsingSingletonPatterns_spec__0(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1176,9 +1223,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__25; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage___lam__0___closed__1; LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__7_spec__7_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_isGround_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__16_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2_; -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__12; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__39; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_Meta_Grind_addSymbolPriorityAttr_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__23; @@ -1208,6 +1255,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchTheoremUsingSingletonPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_SymbolPriorities_erase_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_SymbolPriorities_contains(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_normalizePattern_x3f_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1216,6 +1264,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe static lean_object* l_panic___at___00Lean_Meta_Grind_isGenPattern_x3f_spec__0___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_fwd_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_guard_elim___redArg(lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_yes_elim___redArg(lean_object*); lean_object* l_Lean_Expr_appFnCleanup___redArg(lean_object*); @@ -1242,18 +1291,20 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_Persis LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Grind_EMatchTheorems_eraseDecl_spec__0(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_mkEMatchTheoremUsingSingletonPatterns_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_addEMatchAttrAndSuggest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__0; static lean_object* l_Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_isValue_elim(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addGrindEqAttr___closed__0; LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Meta_Grind_NormalizePattern_main_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash___boxed(lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttributeCore___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_backward_grind_inferPattern; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_normalizePattern_x3f___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__1; LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_log___at___00Lean_logInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen_spec__2_spec__2_spec__2___lam__0(uint8_t, uint8_t, lean_object*); lean_object* l_Lean_Meta_instMonadMetaM___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1264,6 +1315,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_instI uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_splitWhileForbidden___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getGlobalSymbolPriorities___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_sizeLt_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_Meta_Grind_addSymbolPriorityAttr_spec__0___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1297,6 +1349,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__26; LEAN_EXPORT lean_object* l_Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__7_spec__7_spec__7___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkTypeFVars_spec__0(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheorems_getKindsFor(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*); @@ -1337,11 +1390,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheorems_eraseDecl___lam__0___b LEAN_EXPORT lean_object* l_Lean_Meta_Grind_resetSymbolPrioExt(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__27; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00Lean_Meta_Grind_SymbolPriorities_contains_spec__0___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__20; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instTheoremLikeEMatchTheorem___lam__2___boxed(lean_object*); static lean_object* l_Lean_Meta_Grind_splitWhileForbidden___closed__3; -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__10; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_Meta_Grind_EMatchTheoremKind_toSyntax_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1361,13 +1413,14 @@ uint8_t l_Lean_instBEqBinderInfo_beq(uint8_t, uint8_t); static lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremKind___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_noConfusion___redArg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremAndSuggest___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_genLt_elim___redArg(lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__4; uint64_t l_Lean_Name_hash___override(lean_object*); static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_SymbolPriorities_getPrio_spec__0___redArg(lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_initFn___closed__4_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_1561772625____hygCtx___hyg_4_; @@ -1376,6 +1429,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_CheckCoverageResult_ok_elim(lean_obje LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchTheoremCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__8; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save___closed__6; LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint64_t l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash___closed__4; @@ -1403,6 +1457,7 @@ LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Meta_Tactic_Gr lean_object* l_List_reverse___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5_spec__5___redArg___closed__0; +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_yes_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_beq___at___00Lean_Meta_Grind_EMatchTheorems_containsWithSamePatterns_spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00List_forIn_x27_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__4_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1423,6 +1478,7 @@ uint8_t l_Lean_instBEqHeadIndex_beq(lean_object*, lean_object*); lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeFormer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_eqRhs_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_toCtorIdx(uint8_t); static lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__0___closed__0; @@ -1440,6 +1496,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_eqBwd_elim(lean_obj LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_Grind_SymbolPriorities_contains_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__21; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_sizeOfDiff_spec__0(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__2_spec__2___redArg___closed__0; static lean_object* l_Lean_Meta_Grind_getEMatchTheoremsForNamespace___redArg___closed__1; @@ -1447,8 +1504,6 @@ lean_object* l_Lean_Meta_Grind_instInhabitedTheorems_default(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheorems_eraseDecl___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at___00Lean_Meta_Grind_isMatchCongrEqDeclName_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__3; -static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__11; lean_object* l_Nat_nextPowerOfTwo(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save___closed__11; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1463,11 +1518,13 @@ lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_obj LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Grind_SymbolPriorities_getPrio_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__16; static lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__1; +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__17; uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f___lam__0___closed__6; lean_object* l_Lean_PersistentEnvExtension_addEntry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__11_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2_; static lean_object* l_Lean_Meta_Grind_NormalizePattern_main___closed__1; +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__7___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__25; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol_spec__2_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*); @@ -1484,6 +1541,7 @@ static lean_object* l_Lean_Meta_Grind_getEMatchTheoremsForNamespace___redArg___c LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchEqBwdTheoremCore___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_user_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_getPropTypes_spec__0_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFunInfoNArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1505,20 +1563,25 @@ size_t lean_usize_sub(size_t, size_t); static uint64_t l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash___closed__0; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_getProofFor___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_noConfusion(lean_object*, uint8_t, uint8_t, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__1; +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqCnstrRHS_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_maxInsts_elim___redArg(lean_object*, lean_object*); lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___redArg(lean_object*); static lean_object* l_Lean_Meta_Grind_ppPattern___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_Grind_EMatchTheoremKind_toSyntax_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__8; uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Theorems_mkEmpty(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveBVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___lam__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__1; +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__5(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern___closed__3; lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1526,6 +1589,7 @@ LEAN_EXPORT uint64_t l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash(lean_o LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instTheoremLikeEMatchTheorem___lam__3(lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_Grind_SymbolPriorities_contains_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqCnstrRHS_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_empty(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_Meta_Grind_SymbolPriorities_erase_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremKind; @@ -1538,6 +1602,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instInhabitedSymbolPriorityEntry; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__2_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2_; static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__20; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5_spec__5___redArg___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_getProofFor___closed__3; @@ -1581,6 +1646,7 @@ LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Gri LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_mkEMatchTheoremUsingSingletonPatterns_go_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremCore___closed__9; lean_object* l_Lean_Name_mkStr1(lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__23; size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_unfoldReducible(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1609,6 +1675,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lea static lean_object* l_panic___at___00Lean_Meta_Grind_isGenPattern_x3f_spec__0___closed__3; static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__4; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttributeCore___closed__5; +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__26; LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_SymbolPriorities_getPrio___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_CheckCoverageResult_missing_elim___redArg(lean_object*, lean_object*); @@ -1623,6 +1690,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collect_go_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_canBeSynthesized_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__28; LEAN_EXPORT lean_object* l_List_beq___at___00Option_instBEq_beq___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f_spec__2_spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_addCore___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); uint8_t l_Lean_Meta_FVarSubst_contains(lean_object*, lean_object*); @@ -1644,14 +1712,17 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkOffsetPattern(lean_object*, lean_ob LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_Theorems_insert___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2__spec__1_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremKind_beq___lam__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_CheckCoverageResult_ctorElim___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__5; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_mkEMatchTheoremUsingSingletonPatterns___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_notDefEq_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_preprocessMatchCongrEqType_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_Origin_key(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_isGroundPattern___boxed(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremKind_beq___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_canBeSynthesized_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toAttribute___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_no_elim___redArg___boxed(lean_object*); @@ -1661,6 +1732,8 @@ static uint64_t l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash___closed__8 static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__7; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00Lean_Meta_Grind_NormalizePattern_getPatternArgKinds_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Grind_EMatchTheoremKind_isEqLhs(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_defEq_elim___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__3; lean_object* l_Lean_Meta_Grind_foldProjs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addGrindEqAttr_spec__0___redArg(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1703,21 +1776,23 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_addEMatchEqTheorem(lean_object*, lean lean_object* l_Lean_FVarIdSet_ofList(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Grind_SymbolPriorities_insert_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_HeadIndex_hash(lean_object*); +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__1___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00Lean_Meta_Grind_SymbolPriorities_contains_spec__0___redArg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___closed__9_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2275318982____hygCtx___hyg_2_; +static lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__22; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_MinIndexableMode_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__3; lean_object* l_Lean_mkPtrSet___redArg(lean_object*); static lean_object* l_Lean_Meta_Grind_ppPattern___closed__6; extern lean_object* l_Lean_Meta_Grind_instInhabitedOrigin_default; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprGenPatternInfo_repr(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_isMatchCongrEqConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_notDefEq_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_saveSymbol_spec__0_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectGroundPattern_x3f_visit_x3f_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1726,10 +1801,10 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldrM___at___00__pri LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_Grind_preprocessPattern_spec__0___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save___closed__7; LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_ppParamsAt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_fwd_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqCnstrRHS; static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f_collect___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_groundPattern_x3f___boxed(lean_object*); @@ -1744,10 +1819,12 @@ LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00__private_Lea LEAN_EXPORT lean_object* l_Lean_isInductive___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_getPatternFn_x3f_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); static lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen_spec__2_spec__2_spec__2___lam__0___closed__2; +static lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__5; LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_leftRight_elim___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2_(); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_isValue_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_dontCare___closed__1; lean_object* l_Id_instMonad___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1759,6 +1836,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_instI static lean_object* l_Lean_Meta_Grind_mkEMatchTheoremAndSuggest___closed__4; LEAN_EXPORT lean_object* l_Lean_Option_register___at___00Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_3641107727____hygCtx___hyg_4__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_SMap_find_x3f___at___00Lean_Meta_Grind_getEMatchTheoremsForNamespace_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0(lean_object*, lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_Meta_Grind_getProofWithFreshMVarLevels___at___00Lean_Meta_Grind_EMatchTheorem_getProofWithFreshMVarLevels_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1_spec__1___redArg___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_isCandidateSymbol___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1768,6 +1846,7 @@ static lean_object* l_Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Gr LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_eqBwd_elim___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___lam__0___closed__0_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_expandOffsetPatterns_spec__0_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_NormalizePattern_PatternArgKind_typeFormer_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1791,9 +1870,11 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00Lean_Meta_Grind_Normali static lean_object* l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectPatterns_x3f___closed__2; static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__4; static lean_object* l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_check_elim___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_splitWhileForbidden___closed__2; LEAN_EXPORT lean_object* l_panic___at___00Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0_spec__5_spec__5___redArg___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax___closed__28; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_SMap_find_x3f___at___00Lean_Meta_Grind_getEMatchTheoremsForNamespace_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_getPropTypes_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -16357,7 +16438,7 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__0() { +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__0() { _start: { lean_object* x_1; @@ -16365,7 +16446,7 @@ x_1 = l_Array_empty(lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__1() { +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__1() { _start: { lean_object* x_1; @@ -16373,57 +16454,191 @@ x_1 = lean_mk_string_unchecked("_inhabitedExprDummy", 19, 19); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__2() { +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__1; +x_1 = l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__1; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__3() { +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__2; +x_2 = l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__2; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__4() { +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__3; -x_2 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__0; -x_3 = lean_unsigned_to_nat(0u); -x_4 = lean_alloc_ctor(0, 4, 0); +x_1 = l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__0; +x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_3); lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -lean_ctor_set(x_4, 3, x_1); +lean_ctor_set(x_4, 2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default() { +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default() { _start: { lean_object* x_1; -x_1 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__4; +x_1 = l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__4; return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint() { +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS() { _start: { lean_object* x_1; -x_1 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default; +x_1 = l_Lean_Meta_Grind_instInhabitedCnstrRHS_default; return x_1; } } -LEAN_EXPORT lean_object* l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_3, x_4); +if (x_5 == 1) +{ +lean_dec(x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_3, x_6); +lean_dec(x_3); +x_8 = lean_array_fget_borrowed(x_1, x_7); +x_9 = lean_array_fget_borrowed(x_2, x_7); +x_10 = lean_name_eq(x_8, x_9); +if (x_10 == 0) +{ +lean_dec(x_7); +return x_10; +} +else +{ +x_3 = x_7; +goto _start; +} +} +} +} +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0___redArg(x_1, x_2, x_4); +return x_6; +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqCnstrRHS_beq(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_1, 2); +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = lean_ctor_get(x_2, 2); +x_9 = lean_array_get_size(x_3); +x_10 = lean_array_get_size(x_6); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_dec(x_9); +return x_11; +} +else +{ +uint8_t x_12; +x_12 = l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0___redArg(x_3, x_6, x_9); +if (x_12 == 0) +{ +return x_12; +} +else +{ +uint8_t x_13; +x_13 = lean_nat_dec_eq(x_4, x_7); +if (x_13 == 0) +{ +return x_13; +} +else +{ +uint8_t x_14; +x_14 = lean_expr_eqv(x_5, x_8); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0___redArg(x_1, x_2, x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqCnstrRHS_beq_spec__0(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqCnstrRHS_beq___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Meta_Grind_instBEqCnstrRHS_beq(x_1, x_2); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instBEqCnstrRHS___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instBEqCnstrRHS_beq___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instBEqCnstrRHS() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Grind_instBEqCnstrRHS___closed__0; +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -16477,7 +16692,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -16503,7 +16718,7 @@ x_8 = l_Lean_Name_reprPrec(x_5, x_7); x_9 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_9, 0, x_3); lean_ctor_set(x_9, 1, x_8); -x_10 = l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0_spec__0_spec__0(x_1, x_9, x_6); +x_10 = l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0_spec__0_spec__0(x_1, x_9, x_6); return x_10; } else @@ -16523,13 +16738,13 @@ x_15 = l_Lean_Name_reprPrec(x_11, x_14); x_16 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_16, 0, x_13); lean_ctor_set(x_16, 1, x_15); -x_17 = l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0_spec__0_spec__0(x_1, x_16, x_12); +x_17 = l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0_spec__0_spec__0(x_1, x_16, x_12); return x_17; } } } } -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0___lam__0(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0___lam__0(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -16538,7 +16753,7 @@ x_3 = l_Lean_Name_reprPrec(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -16559,7 +16774,7 @@ lean_dec(x_2); x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec_ref(x_1); -x_6 = l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0___lam__0(x_5); +x_6 = l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0___lam__0(x_5); return x_6; } else @@ -16569,14 +16784,14 @@ lean_inc(x_4); x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); lean_dec_ref(x_1); -x_8 = l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0___lam__0(x_7); -x_9 = l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0_spec__0(x_2, x_8, x_4); +x_8 = l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0___lam__0(x_7); +x_9 = l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0_spec__0(x_2, x_8, x_4); return x_9; } } } } -static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__0() { +static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__0() { _start: { lean_object* x_1; @@ -16584,7 +16799,7 @@ x_1 = lean_mk_string_unchecked("#[", 2, 2); return x_1; } } -static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__1() { +static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -16596,35 +16811,35 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__2() { +static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__0; +x_1 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__0; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__3() { +static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__2; +x_1 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__2; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__4() { +static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__0; +x_1 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__0; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__5() { +static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -16634,7 +16849,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__6() { +static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__6() { _start: { lean_object* x_1; @@ -16642,17 +16857,17 @@ x_1 = lean_mk_string_unchecked("#[]", 3, 3); return x_1; } } -static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__7() { +static lean_object* _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__6; +x_1 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__6; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -16664,14 +16879,14 @@ if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_5 = lean_array_to_list(x_1); -x_6 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__1; -x_7 = l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0_spec__0(x_5, x_6); -x_8 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__3; -x_9 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__4; +x_6 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__1; +x_7 = l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0_spec__0(x_5, x_6); +x_8 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__3; +x_9 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__4; x_10 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_7); -x_11 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__5; +x_11 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__5; x_12 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); @@ -16685,63 +16900,12 @@ else { lean_object* x_15; lean_dec_ref(x_1); -x_15 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__7; +x_15 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__7; return x_15; } } } -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("bvarIdx", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__0; -x_2 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__1; -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__5; -x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__2; -x_3 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(11u); -x_2 = lean_nat_to_int(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__5() { +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__0() { _start: { lean_object* x_1; @@ -16749,17 +16913,41 @@ x_1 = lean_mk_string_unchecked("levelNames", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__6() { +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__5; +x_1 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__0; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__7() { +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__1; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__5; +x_2 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__2; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -16768,7 +16956,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__8() { +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__5() { _start: { lean_object* x_1; @@ -16776,17 +16964,17 @@ x_1 = lean_mk_string_unchecked("numMVars", 8, 8); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__9() { +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__8; +x_1 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__5; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__10() { +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -16795,154 +16983,1411 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__11() { +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__8() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("rhs", 3, 3); +x_1 = lean_mk_string_unchecked("expr", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__12() { +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__11; +x_1 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__8; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg(lean_object* x_1) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); +lean_inc_ref(x_2); x_3 = lean_ctor_get(x_1, 1); -lean_inc_ref(x_3); +lean_inc(x_3); x_4 = lean_ctor_get(x_1, 2); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 3); -lean_inc_ref(x_5); +lean_inc_ref(x_4); lean_dec_ref(x_1); -x_6 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__5; -x_7 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__3; -x_8 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__4; -x_9 = l_Nat_reprFast(x_2); -x_10 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_10, 0, x_9); -x_11 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_11, 0, x_8); -lean_ctor_set(x_11, 1, x_10); -x_12 = 0; -x_13 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set_uint8(x_13, sizeof(void*)*1, x_12); +x_5 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__5; +x_6 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__3; +x_7 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__4; +x_8 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0(x_2); +x_9 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +x_10 = 0; +x_11 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set_uint8(x_11, sizeof(void*)*1, x_10); +x_12 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_12, 0, x_6); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__9; x_14 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__9; +x_15 = lean_box(1); x_16 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); -x_17 = lean_box(1); +x_17 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__6; x_18 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__6; -x_20 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_6); -x_22 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__7; -x_23 = l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0(x_3); -x_24 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_12); +x_19 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_5); +x_20 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__7; +x_21 = l_Nat_reprFast(x_3); +x_22 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set_uint8(x_24, sizeof(void*)*1, x_10); +x_25 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_24); x_26 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_13); x_27 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_15); -x_28 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_17); -x_29 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__9; +x_28 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__9; +x_29 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); x_30 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_6); -x_32 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__10; -x_33 = l_Nat_reprFast(x_4); -x_34 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_35, 0, x_32); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_12); -x_37 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_37, 0, x_31); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_15); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_5); +x_31 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__12; +x_32 = lean_unsigned_to_nat(0u); +x_33 = l_Lean_instReprExpr_repr(x_4, x_32); +x_34 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set_uint8(x_35, sizeof(void*)*1, x_10); +x_36 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__17; +x_38 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__18; x_39 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_17); -x_40 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__12; +lean_ctor_set(x_39, 1, x_36); +x_40 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__19; x_41 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); -x_42 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_6); -x_43 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__7; -x_44 = lean_unsigned_to_nat(0u); -x_45 = l_Lean_instReprExpr_repr(x_5, x_44); -x_46 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set_uint8(x_47, sizeof(void*)*1, x_12); -x_48 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_48, 0, x_42); -lean_ctor_set(x_48, 1, x_47); -x_49 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__17; -x_50 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__18; -x_51 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_48); -x_52 = l_Lean_Meta_Grind_instReprGenPatternInfo_repr___redArg___closed__19; -x_53 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_54, 0, x_49); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set_uint8(x_55, sizeof(void*)*1, x_12); -return x_55; +x_42 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_42, 0, x_37); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set_uint8(x_43, sizeof(void*)*1, x_10); +return x_43; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprCnstrRHS_repr___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_instReprCnstrRHS_repr(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instReprCnstrRHS_repr___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprCnstrRHS() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Grind_instReprCnstrRHS___closed__0; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorIdx(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = lean_unsigned_to_nat(2u); +return x_4; +} +case 3: +{ +lean_object* x_5; +x_5 = lean_unsigned_to_nat(3u); +return x_5; +} +case 4: +{ +lean_object* x_6; +x_6 = lean_unsigned_to_nat(4u); +return x_6; +} +case 5: +{ +lean_object* x_7; +x_7 = lean_unsigned_to_nat(5u); +return x_7; +} +case 6: +{ +lean_object* x_8; +x_8 = lean_unsigned_to_nat(6u); +return x_8; +} +case 7: +{ +lean_object* x_9; +x_9 = lean_unsigned_to_nat(7u); +return x_9; +} +case 8: +{ +lean_object* x_10; +x_10 = lean_unsigned_to_nat(8u); +return x_10; +} +default: +{ +lean_object* x_11; +x_11 = lean_unsigned_to_nat(9u); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_4); +lean_dec_ref(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +case 1: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_7); +lean_dec_ref(x_1); +x_8 = lean_apply_2(x_2, x_6, x_7); +return x_8; +} +case 5: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec_ref(x_1); +x_10 = lean_apply_1(x_2, x_9); +return x_10; +} +case 6: +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +lean_dec_ref(x_1); +x_13 = lean_box(x_12); +x_14 = lean_apply_2(x_2, x_11, x_13); +return x_14; +} +case 7: +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +lean_dec_ref(x_1); +x_16 = lean_apply_1(x_2, x_15); +return x_16; +} +case 8: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_17); +lean_dec_ref(x_1); +x_18 = lean_apply_1(x_2, x_17); +return x_18; +} +case 9: +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_19); +lean_dec_ref(x_1); +x_20 = lean_apply_1(x_2, x_19); +return x_20; +} +default: +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_1, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_1, 1); +lean_inc(x_22); +lean_dec_ref(x_1); +x_23 = lean_apply_2(x_2, x_21, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_3, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_notDefEq_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_notDefEq_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_defEq_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_defEq_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_sizeLt_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_sizeLt_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_depthLt_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_depthLt_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_genLt_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_genLt_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_isGround_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_isGround_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_isValue_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_isValue_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_maxInsts_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_maxInsts_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_guard_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_guard_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_check_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_check_elim(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_Grind_instInhabitedCnstrRHS_default; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__0; +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default; +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.notDefEq", 48, 48); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__1; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.defEq", 45, 45); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__4; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.sizeLt", 46, 46); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__6; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__7; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.depthLt", 47, 47); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__9; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__10; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.genLt", 45, 45); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__12; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__13; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.isGround", 48, 48); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__15; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__16; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.isValue", 47, 47); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__18; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__19; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.maxInsts", 48, 48); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__21; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__22; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.guard", 45, 45); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__24; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__25; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Grind.EMatchTheoremConstraint.check", 45, 45); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__27; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(1); +x_2 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__28; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; -x_3 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg(x_1); -return x_3; +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_20; uint8_t x_21; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_4); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_5 = x_1; +} else { + lean_dec_ref(x_1); + x_5 = lean_box(0); +} +x_20 = lean_unsigned_to_nat(1024u); +x_21 = lean_nat_dec_le(x_20, x_2); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_6 = x_22; +goto block_19; +} +else +{ +lean_object* x_23; +x_23 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_6 = x_23; +goto block_19; +} +block_19: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; +x_7 = lean_box(1); +x_8 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__2; +x_9 = l_Nat_reprFast(x_3); +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_9); +if (lean_is_scalar(x_5)) { + x_11 = lean_alloc_ctor(5, 2, 0); +} else { + x_11 = x_5; + lean_ctor_set_tag(x_11, 5); +} +lean_ctor_set(x_11, 0, x_8); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_7); +x_13 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg(x_4); +x_14 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_15, 0, x_6); +lean_ctor_set(x_15, 1, x_14); +x_16 = 0; +x_17 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_16); +x_18 = l_Repr_addAppParen(x_17, x_2); +return x_18; +} +} +case 1: +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_41; uint8_t x_42; +x_24 = lean_ctor_get(x_1, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_25); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_26 = x_1; +} else { + lean_dec_ref(x_1); + x_26 = lean_box(0); +} +x_41 = lean_unsigned_to_nat(1024u); +x_42 = lean_nat_dec_le(x_41, x_2); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_27 = x_43; +goto block_40; +} +else +{ +lean_object* x_44; +x_44 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_27 = x_44; +goto block_40; +} +block_40: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; +x_28 = lean_box(1); +x_29 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__5; +x_30 = l_Nat_reprFast(x_24); +x_31 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_31, 0, x_30); +if (lean_is_scalar(x_26)) { + x_32 = lean_alloc_ctor(5, 2, 0); +} else { + x_32 = x_26; + lean_ctor_set_tag(x_32, 5); +} +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_28); +x_34 = l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg(x_25); +x_35 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_36, 0, x_27); +lean_ctor_set(x_36, 1, x_35); +x_37 = 0; +x_38 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_37); +x_39 = l_Repr_addAppParen(x_38, x_2); +return x_39; +} +} +case 2: +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_63; uint8_t x_64; +x_45 = lean_ctor_get(x_1, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_1, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_47 = x_1; +} else { + lean_dec_ref(x_1); + x_47 = lean_box(0); +} +x_63 = lean_unsigned_to_nat(1024u); +x_64 = lean_nat_dec_le(x_63, x_2); +if (x_64 == 0) +{ +lean_object* x_65; +x_65 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_48 = x_65; +goto block_62; +} +else +{ +lean_object* x_66; +x_66 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_48 = x_66; +goto block_62; +} +block_62: +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; +x_49 = lean_box(1); +x_50 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__8; +x_51 = l_Nat_reprFast(x_45); +x_52 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_52, 0, x_51); +if (lean_is_scalar(x_47)) { + x_53 = lean_alloc_ctor(5, 2, 0); +} else { + x_53 = x_47; + lean_ctor_set_tag(x_53, 5); +} +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_49); +x_55 = l_Nat_reprFast(x_46); +x_56 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_56, 0, x_55); +x_57 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_58, 0, x_48); +lean_ctor_set(x_58, 1, x_57); +x_59 = 0; +x_60 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set_uint8(x_60, sizeof(void*)*1, x_59); +x_61 = l_Repr_addAppParen(x_60, x_2); +return x_61; +} +} +case 3: +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_85; uint8_t x_86; +x_67 = lean_ctor_get(x_1, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_1, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_69 = x_1; +} else { + lean_dec_ref(x_1); + x_69 = lean_box(0); +} +x_85 = lean_unsigned_to_nat(1024u); +x_86 = lean_nat_dec_le(x_85, x_2); +if (x_86 == 0) +{ +lean_object* x_87; +x_87 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_70 = x_87; +goto block_84; +} +else +{ +lean_object* x_88; +x_88 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_70 = x_88; +goto block_84; +} +block_84: +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; +x_71 = lean_box(1); +x_72 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__11; +x_73 = l_Nat_reprFast(x_67); +x_74 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_74, 0, x_73); +if (lean_is_scalar(x_69)) { + x_75 = lean_alloc_ctor(5, 2, 0); +} else { + x_75 = x_69; + lean_ctor_set_tag(x_75, 5); +} +lean_ctor_set(x_75, 0, x_72); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_71); +x_77 = l_Nat_reprFast(x_68); +x_78 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_79, 0, x_76); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_80, 0, x_70); +lean_ctor_set(x_80, 1, x_79); +x_81 = 0; +x_82 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set_uint8(x_82, sizeof(void*)*1, x_81); +x_83 = l_Repr_addAppParen(x_82, x_2); +return x_83; +} +} +case 4: +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_107; uint8_t x_108; +x_89 = lean_ctor_get(x_1, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_1, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_91 = x_1; +} else { + lean_dec_ref(x_1); + x_91 = lean_box(0); +} +x_107 = lean_unsigned_to_nat(1024u); +x_108 = lean_nat_dec_le(x_107, x_2); +if (x_108 == 0) +{ +lean_object* x_109; +x_109 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_92 = x_109; +goto block_106; +} +else +{ +lean_object* x_110; +x_110 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_92 = x_110; +goto block_106; +} +block_106: +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; +x_93 = lean_box(1); +x_94 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__14; +x_95 = l_Nat_reprFast(x_89); +x_96 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_96, 0, x_95); +if (lean_is_scalar(x_91)) { + x_97 = lean_alloc_ctor(5, 2, 0); +} else { + x_97 = x_91; + lean_ctor_set_tag(x_97, 5); +} +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_96); +x_98 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_93); +x_99 = l_Nat_reprFast(x_90); +x_100 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_100, 0, x_99); +x_101 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_101, 0, x_98); +lean_ctor_set(x_101, 1, x_100); +x_102 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_102, 0, x_92); +lean_ctor_set(x_102, 1, x_101); +x_103 = 0; +x_104 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set_uint8(x_104, sizeof(void*)*1, x_103); +x_105 = l_Repr_addAppParen(x_104, x_2); +return x_105; +} +} +case 5: +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_123; uint8_t x_124; +x_111 = lean_ctor_get(x_1, 0); +lean_inc(x_111); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + x_112 = x_1; +} else { + lean_dec_ref(x_1); + x_112 = lean_box(0); +} +x_123 = lean_unsigned_to_nat(1024u); +x_124 = lean_nat_dec_le(x_123, x_2); +if (x_124 == 0) +{ +lean_object* x_125; +x_125 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_113 = x_125; +goto block_122; +} +else +{ +lean_object* x_126; +x_126 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_113 = x_126; +goto block_122; +} +block_122: +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; +x_114 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__17; +x_115 = l_Nat_reprFast(x_111); +if (lean_is_scalar(x_112)) { + x_116 = lean_alloc_ctor(3, 1, 0); +} else { + x_116 = x_112; + lean_ctor_set_tag(x_116, 3); +} +lean_ctor_set(x_116, 0, x_115); +x_117 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_117, 0, x_114); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_118, 0, x_113); +lean_ctor_set(x_118, 1, x_117); +x_119 = 0; +x_120 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set_uint8(x_120, sizeof(void*)*1, x_119); +x_121 = l_Repr_addAppParen(x_120, x_2); +return x_121; +} +} +case 6: +{ +lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_144; uint8_t x_145; +x_127 = lean_ctor_get(x_1, 0); +lean_inc(x_127); +x_128 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + x_129 = x_1; +} else { + lean_dec_ref(x_1); + x_129 = lean_box(0); +} +x_144 = lean_unsigned_to_nat(1024u); +x_145 = lean_nat_dec_le(x_144, x_2); +if (x_145 == 0) +{ +lean_object* x_146; +x_146 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_130 = x_146; +goto block_143; +} +else +{ +lean_object* x_147; +x_147 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_130 = x_147; +goto block_143; +} +block_143: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; lean_object* x_142; +x_131 = lean_box(1); +x_132 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__20; +x_133 = l_Nat_reprFast(x_127); +x_134 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_134, 0, x_133); +x_135 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_135, 0, x_132); +lean_ctor_set(x_135, 1, x_134); +x_136 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_131); +x_137 = l_Bool_repr___redArg(x_128); +x_138 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +x_139 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_139, 0, x_130); +lean_ctor_set(x_139, 1, x_138); +x_140 = 0; +if (lean_is_scalar(x_129)) { + x_141 = lean_alloc_ctor(6, 1, 1); +} else { + x_141 = x_129; +} +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set_uint8(x_141, sizeof(void*)*1, x_140); +x_142 = l_Repr_addAppParen(x_141, x_2); +return x_142; +} +} +case 7: +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_160; uint8_t x_161; +x_148 = lean_ctor_get(x_1, 0); +lean_inc(x_148); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + x_149 = x_1; +} else { + lean_dec_ref(x_1); + x_149 = lean_box(0); +} +x_160 = lean_unsigned_to_nat(1024u); +x_161 = lean_nat_dec_le(x_160, x_2); +if (x_161 == 0) +{ +lean_object* x_162; +x_162 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_150 = x_162; +goto block_159; +} +else +{ +lean_object* x_163; +x_163 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_150 = x_163; +goto block_159; +} +block_159: +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; lean_object* x_157; lean_object* x_158; +x_151 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__23; +x_152 = l_Nat_reprFast(x_148); +if (lean_is_scalar(x_149)) { + x_153 = lean_alloc_ctor(3, 1, 0); +} else { + x_153 = x_149; + lean_ctor_set_tag(x_153, 3); +} +lean_ctor_set(x_153, 0, x_152); +x_154 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_154, 0, x_151); +lean_ctor_set(x_154, 1, x_153); +x_155 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_155, 0, x_150); +lean_ctor_set(x_155, 1, x_154); +x_156 = 0; +x_157 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set_uint8(x_157, sizeof(void*)*1, x_156); +x_158 = l_Repr_addAppParen(x_157, x_2); +return x_158; +} +} +case 8: +{ +lean_object* x_164; lean_object* x_165; lean_object* x_175; uint8_t x_176; +x_164 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_164); +lean_dec_ref(x_1); +x_175 = lean_unsigned_to_nat(1024u); +x_176 = lean_nat_dec_le(x_175, x_2); +if (x_176 == 0) +{ +lean_object* x_177; +x_177 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_165 = x_177; +goto block_174; +} +else +{ +lean_object* x_178; +x_178 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_165 = x_178; +goto block_174; +} +block_174: +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; lean_object* x_173; +x_166 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__26; +x_167 = lean_unsigned_to_nat(1024u); +x_168 = l_Lean_instReprExpr_repr(x_164, x_167); +x_169 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_169, 0, x_166); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_170, 0, x_165); +lean_ctor_set(x_170, 1, x_169); +x_171 = 0; +x_172 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set_uint8(x_172, sizeof(void*)*1, x_171); +x_173 = l_Repr_addAppParen(x_172, x_2); +return x_173; +} +} +default: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_190; uint8_t x_191; +x_179 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_179); +lean_dec_ref(x_1); +x_190 = lean_unsigned_to_nat(1024u); +x_191 = lean_nat_dec_le(x_190, x_2); +if (x_191 == 0) +{ +lean_object* x_192; +x_192 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__13; +x_180 = x_192; +goto block_189; +} +else +{ +lean_object* x_193; +x_193 = l_Lean_Meta_Grind_instReprEMatchTheoremKind_repr___closed__14; +x_180 = x_193; +goto block_189; +} +block_189: +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; lean_object* x_187; lean_object* x_188; +x_181 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__29; +x_182 = lean_unsigned_to_nat(1024u); +x_183 = l_Lean_instReprExpr_repr(x_179, x_182); +x_184 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_185, 0, x_180); +lean_ctor_set(x_185, 1, x_184); +x_186 = 0; +x_187 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_187, 0, x_185); +lean_ctor_set_uint8(x_187, sizeof(void*)*1, x_186); +x_188 = l_Repr_addAppParen(x_187, x_2); +return x_188; +} +} +} } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___boxed(lean_object* x_1, lean_object* x_2) { @@ -16970,123 +18415,486 @@ x_1 = l_Lean_Meta_Grind_instReprEMatchTheoremConstraint___closed__0; return x_1; } } -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_match__on__same__ctor_het___redArg_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2814061931____hygCtx___hyg_205_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_4; uint8_t x_5; -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_eq(x_3, x_4); -if (x_5 == 1) +switch (lean_obj_tag(x_1)) { +case 0: { +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_14); +lean_dec_ref(x_1); +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_16); +lean_dec_ref(x_2); +x_17 = lean_apply_4(x_3, x_13, x_14, x_15, x_16); +return x_17; +} +case 1: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_19); +lean_dec_ref(x_1); +x_20 = lean_ctor_get(x_2, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_21); +lean_dec_ref(x_2); +x_22 = lean_apply_4(x_4, x_18, x_19, x_20, x_21); +return x_22; +} +case 2: +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_23 = lean_ctor_get(x_1, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_1, 1); +lean_inc(x_24); +lean_dec_ref(x_1); +x_25 = lean_ctor_get(x_2, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_2, 1); +lean_inc(x_26); +lean_dec_ref(x_2); +x_27 = lean_apply_4(x_5, x_23, x_24, x_25, x_26); +return x_27; +} +case 3: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_28 = lean_ctor_get(x_1, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_1, 1); +lean_inc(x_29); +lean_dec_ref(x_1); +x_30 = lean_ctor_get(x_2, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_2, 1); +lean_inc(x_31); +lean_dec_ref(x_2); +x_32 = lean_apply_4(x_6, x_28, x_29, x_30, x_31); +return x_32; +} +case 4: +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_ctor_get(x_1, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_1, 1); +lean_inc(x_34); +lean_dec_ref(x_1); +x_35 = lean_ctor_get(x_2, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_2, 1); +lean_inc(x_36); +lean_dec_ref(x_2); +x_37 = lean_apply_4(x_7, x_33, x_34, x_35, x_36); +return x_37; +} +case 5: +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_38 = lean_ctor_get(x_1, 0); +lean_inc(x_38); +lean_dec_ref(x_1); +x_39 = lean_ctor_get(x_2, 0); +lean_inc(x_39); +lean_dec_ref(x_2); +x_40 = lean_apply_2(x_8, x_38, x_39); +return x_40; +} +case 6: +{ +lean_object* x_41; uint8_t x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_41 = lean_ctor_get(x_1, 0); +lean_inc(x_41); +x_42 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +lean_dec_ref(x_1); +x_43 = lean_ctor_get(x_2, 0); +lean_inc(x_43); +x_44 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +lean_dec_ref(x_2); +x_45 = lean_box(x_42); +x_46 = lean_box(x_44); +x_47 = lean_apply_4(x_9, x_41, x_45, x_43, x_46); +return x_47; +} +case 7: +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_48 = lean_ctor_get(x_1, 0); +lean_inc(x_48); +lean_dec_ref(x_1); +x_49 = lean_ctor_get(x_2, 0); +lean_inc(x_49); +lean_dec_ref(x_2); +x_50 = lean_apply_2(x_10, x_48, x_49); +return x_50; +} +case 8: +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_51 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_51); +lean_dec_ref(x_1); +x_52 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_52); +lean_dec_ref(x_2); +x_53 = lean_apply_2(x_11, x_51, x_52); +return x_53; +} +default: +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_54); +lean_dec_ref(x_1); +x_55 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_55); +lean_dec_ref(x_2); +x_56 = lean_apply_2(x_12, x_54, x_55); +return x_56; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_EMatchTheoremConstraint_match__on__same__ctor_het_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2814061931____hygCtx___hyg_205_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Meta_Grind_EMatchTheoremConstraint_match__on__same__ctor_het___redArg_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2814061931____hygCtx___hyg_205_(x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_eq(x_1, x_3); +if (x_5 == 0) +{ return x_5; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = lean_unsigned_to_nat(1u); -x_7 = lean_nat_sub(x_3, x_6); -lean_dec(x_3); -x_8 = lean_array_fget_borrowed(x_1, x_7); -x_9 = lean_array_fget_borrowed(x_2, x_7); -x_10 = lean_name_eq(x_8, x_9); -if (x_10 == 0) +uint8_t x_6; +x_6 = l_Lean_Meta_Grind_instBEqCnstrRHS_beq(x_2, x_4); +return x_6; +} +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_dec(x_7); -return x_10; +uint8_t x_5; +x_5 = lean_nat_dec_eq(x_1, x_3); +if (x_5 == 0) +{ +return x_5; } else { -x_3 = x_7; -goto _start; +uint8_t x_6; +x_6 = lean_nat_dec_eq(x_2, x_4); +return x_6; } } } -} -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_6; -x_6 = l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0___redArg(x_1, x_2, x_4); +lean_object* x_8; uint8_t x_9; +x_8 = lean_apply_4(x_1, x_2, x_3, x_4, x_5); +x_9 = lean_unbox(x_8); +return x_9; +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_apply_4(x_1, x_2, x_3, x_4, x_5); +x_9 = lean_unbox(x_8); +return x_9; +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_eq(x_1, x_2); +return x_5; +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_nat_dec_eq(x_1, x_3); +if (x_7 == 0) +{ +return x_7; +} +else +{ +if (x_2 == 0) +{ +if (x_4 == 0) +{ +return x_7; +} +else +{ +return x_2; +} +} +else +{ +return x_4; +} +} +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_eq(x_1, x_2); +return x_5; +} +} +LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_expr_eqv(x_1, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__0(x_1, x_2, x_3, x_4); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_box(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_box(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__6(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; +x_7 = lean_unbox(x_2); +x_8 = lean_unbox(x_4); +x_9 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__3(x_1, x_7, x_3, x_8, x_5, x_6); +lean_dec(x_3); +lean_dec(x_1); +x_10 = lean_box(x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__5(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__7(x_1, x_2, x_3, x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_6 = lean_box(x_5); return x_6; } } LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_ctor_get(x_1, 1); -x_5 = lean_ctor_get(x_1, 2); -x_6 = lean_ctor_get(x_1, 3); -x_7 = lean_ctor_get(x_2, 0); -x_8 = lean_ctor_get(x_2, 1); -x_9 = lean_ctor_get(x_2, 2); -x_10 = lean_ctor_get(x_2, 3); -x_11 = lean_nat_dec_eq(x_3, x_7); -if (x_11 == 0) +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorIdx(x_1); +x_4 = l_Lean_Meta_Grind_EMatchTheoremConstraint_ctorIdx(x_2); +x_5 = lean_nat_dec_eq(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +if (x_5 == 0) { -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_array_get_size(x_4); -x_13 = lean_array_get_size(x_8); -x_14 = lean_nat_dec_eq(x_12, x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_dec(x_12); -return x_14; -} -else -{ -uint8_t x_15; -x_15 = l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0___redArg(x_4, x_8, x_12); -if (x_15 == 0) -{ -return x_15; -} -else -{ -uint8_t x_16; -x_16 = lean_nat_dec_eq(x_5, x_9); -if (x_16 == 0) -{ -return x_16; -} -else -{ -uint8_t x_17; -x_17 = lean_expr_eqv(x_6, x_10); -return x_17; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0___redArg(x_1, x_2, x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_5 = lean_box(x_4); return x_5; } -} -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +else { -uint8_t x_6; lean_object* x_7; -x_6 = l_Array_isEqvAux___at___00Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq_spec__0(x_1, x_2, x_3, x_4, x_5); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_7 = lean_box(x_6); -return x_7; +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_6 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__0___boxed), 4, 0); +x_7 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__1___boxed), 4, 0); +x_8 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__2___boxed), 7, 1); +lean_closure_set(x_8, 0, x_6); +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__4___boxed), 7, 1); +lean_closure_set(x_9, 0, x_7); +x_10 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__6___boxed), 4, 0); +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__3___boxed), 6, 0); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__5___boxed), 4, 0); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___lam__7___boxed), 4, 0); +lean_inc_ref(x_13); +lean_inc_ref_n(x_9, 2); +lean_inc_ref(x_8); +x_14 = l_Lean_Meta_Grind_EMatchTheoremConstraint_match__on__same__ctor_het___redArg_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_2814061931____hygCtx___hyg_205_(x_1, x_2, x_8, x_8, x_9, x_9, x_9, x_10, x_11, x_12, x_13, x_13); +x_15 = lean_apply_2(x_14, lean_box(0), lean_box(0)); +x_16 = lean_unbox(x_15); +return x_16; +} } } LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq___boxed(lean_object* x_1, lean_object* x_2) { @@ -17094,8 +18902,6 @@ _start: { uint8_t x_3; lean_object* x_4; x_3 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq(x_1, x_2); -lean_dec_ref(x_2); -lean_dec_ref(x_1); x_4 = lean_box(x_3); return x_4; } @@ -17133,8 +18939,8 @@ x_2 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremKind_default; x_3 = l_Lean_Meta_Grind_instInhabitedEMatchTheorem_default___closed__0; x_4 = lean_box(0); x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__3; -x_7 = l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__0; +x_6 = l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__3; +x_7 = l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__0; x_8 = lean_alloc_ctor(0, 8, 1); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_6); @@ -17362,6 +19168,7 @@ return x_3; else { uint8_t x_4; +lean_dec_ref(x_2); x_4 = 0; return x_4; } @@ -17371,6 +19178,7 @@ else if (lean_obj_tag(x_2) == 0) { uint8_t x_5; +lean_dec_ref(x_1); x_5 = 0; return x_5; } @@ -17378,12 +19186,20 @@ else { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +lean_dec_ref(x_1); x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_dec_ref(x_2); x_10 = l_Lean_Meta_Grind_instBEqEMatchTheoremConstraint_beq(x_6, x_8); if (x_10 == 0) { +lean_dec(x_9); +lean_dec(x_7); return x_10; } else @@ -17401,10 +19217,16 @@ _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; x_4 = lean_ctor_get(x_3, 3); +lean_inc(x_4); x_5 = lean_ctor_get(x_3, 7); +lean_inc(x_5); +lean_dec_ref(x_3); x_6 = l_List_beq___at___00Lean_Meta_Grind_EMatchTheorems_containsWithSamePatterns_spec__0(x_4, x_1); +lean_dec(x_4); if (x_6 == 0) { +lean_dec(x_5); +lean_dec(x_2); return x_6; } else @@ -17420,8 +19242,6 @@ _start: { uint8_t x_4; lean_object* x_5; x_4 = l_Lean_Meta_Grind_EMatchTheorems_containsWithSamePatterns___lam__0(x_1, x_2, x_3); -lean_dec_ref(x_3); -lean_dec(x_2); lean_dec(x_1); x_5 = lean_box(x_4); return x_5; @@ -17455,8 +19275,6 @@ _start: { uint8_t x_3; lean_object* x_4; x_3 = l_List_beq___at___00Lean_Meta_Grind_EMatchTheorems_containsWithSamePatterns_spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } @@ -20245,7 +22063,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Grind_isGenPattern_x3f___closed__2; x_2 = lean_unsigned_to_nat(15u); -x_3 = lean_unsigned_to_nat(417u); +x_3 = lean_unsigned_to_nat(465u); x_4 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_initFn___lam__0___closed__0_00___x40_Lean_Meta_Tactic_Grind_EMatchTheorem_480685688____hygCtx___hyg_2_; x_5 = l_Lean_Meta_Grind_isGenPattern_x3f___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -24142,7 +25960,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go___closed__1; x_2 = lean_unsigned_to_nat(2u); -x_3 = lean_unsigned_to_nat(629u); +x_3 = lean_unsigned_to_nat(677u); x_4 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_NormalizePattern_go___closed__0; x_5 = l_Lean_Meta_Grind_isGenPattern_x3f___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -28580,7 +30398,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage___lam__0___closed__2; x_2 = lean_unsigned_to_nat(4u); -x_3 = lean_unsigned_to_nat(719u); +x_3 = lean_unsigned_to_nat(767u); x_4 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_checkCoverage___lam__0___closed__1; x_5 = l_Lean_Meta_Grind_isGenPattern_x3f___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -28650,7 +30468,7 @@ x_27 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_20); x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_21); +lean_ctor_set(x_28, 0, x_22); lean_ctor_set(x_28, 1, x_27); x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_25); @@ -28800,7 +30618,7 @@ return x_55; else { lean_object* x_56; lean_object* x_57; -lean_dec(x_21); +lean_dec(x_22); lean_dec(x_20); lean_dec(x_19); lean_dec(x_17); @@ -28844,8 +30662,8 @@ x_68 = lean_ctor_get(x_67, 0); lean_inc(x_68); x_19 = x_64; x_20 = x_65; -x_21 = x_67; -x_22 = lean_box(0); +x_21 = lean_box(0); +x_22 = x_67; x_23 = x_68; goto block_58; } @@ -28855,8 +30673,8 @@ lean_object* x_69; x_69 = lean_unsigned_to_nat(0u); x_19 = x_64; x_20 = x_65; -x_21 = x_67; -x_22 = lean_box(0); +x_21 = lean_box(0); +x_22 = x_67; x_23 = x_69; goto block_58; } @@ -30096,7 +31914,7 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; uint8_t x_56; lean_object* x_57; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; uint8_t x_92; lean_object* x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; uint8_t x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_77; uint8_t x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; x_100 = 2; x_125 = l_Lean_instBEqMessageSeverity_beq(x_3, x_100); if (x_125 == 0) @@ -30131,15 +31949,15 @@ lean_ctor_set(x_25, 0, x_21); lean_ctor_set(x_25, 1, x_22); x_26 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_11); +lean_ctor_set(x_26, 1, x_13); x_27 = lean_alloc_ctor(0, 5, 3); lean_ctor_set(x_27, 0, x_12); -lean_ctor_set(x_27, 1, x_15); -lean_ctor_set(x_27, 2, x_14); -lean_ctor_set(x_27, 3, x_13); +lean_ctor_set(x_27, 1, x_10); +lean_ctor_set(x_27, 2, x_15); +lean_ctor_set(x_27, 3, x_14); lean_ctor_set(x_27, 4, x_26); lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_16); -lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_10); +lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 2, x_4); x_28 = l_Lean_MessageLog_add(x_27, x_24); lean_ctor_set(x_20, 6, x_28); @@ -30176,15 +31994,15 @@ lean_ctor_set(x_41, 0, x_21); lean_ctor_set(x_41, 1, x_22); x_42 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_11); +lean_ctor_set(x_42, 1, x_13); x_43 = lean_alloc_ctor(0, 5, 3); lean_ctor_set(x_43, 0, x_12); -lean_ctor_set(x_43, 1, x_15); -lean_ctor_set(x_43, 2, x_14); -lean_ctor_set(x_43, 3, x_13); +lean_ctor_set(x_43, 1, x_10); +lean_ctor_set(x_43, 2, x_15); +lean_ctor_set(x_43, 3, x_14); lean_ctor_set(x_43, 4, x_42); lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_16); -lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_10); +lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 2, x_4); x_44 = l_Lean_MessageLog_add(x_43, x_38); x_45 = lean_alloc_ctor(0, 9, 0); @@ -30214,24 +32032,24 @@ if (x_60 == 0) { lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; x_61 = lean_ctor_get(x_59, 0); -lean_inc_ref(x_53); -x_62 = l_Lean_FileMap_toPosition(x_53, x_54); +lean_inc_ref(x_55); +x_62 = l_Lean_FileMap_toPosition(x_55, x_54); lean_dec(x_54); -x_63 = l_Lean_FileMap_toPosition(x_53, x_57); +x_63 = l_Lean_FileMap_toPosition(x_55, x_57); lean_dec(x_57); x_64 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_64, 0, x_63); x_65 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7___closed__1; -if (x_55 == 0) +if (x_52 == 0) { lean_free_object(x_59); lean_dec_ref(x_50); -x_10 = x_51; -x_11 = x_61; -x_12 = x_52; -x_13 = x_65; -x_14 = x_64; -x_15 = x_62; +x_10 = x_62; +x_11 = x_51; +x_12 = x_53; +x_13 = x_61; +x_14 = x_65; +x_15 = x_64; x_16 = x_56; x_17 = x_7; x_18 = x_8; @@ -30249,7 +32067,7 @@ lean_object* x_67; lean_dec_ref(x_64); lean_dec_ref(x_62); lean_dec(x_61); -lean_dec_ref(x_52); +lean_dec_ref(x_53); lean_dec_ref(x_7); x_67 = lean_box(0); lean_ctor_set(x_59, 0, x_67); @@ -30258,12 +32076,12 @@ return x_59; else { lean_free_object(x_59); -x_10 = x_51; -x_11 = x_61; -x_12 = x_52; -x_13 = x_65; -x_14 = x_64; -x_15 = x_62; +x_10 = x_62; +x_11 = x_51; +x_12 = x_53; +x_13 = x_61; +x_14 = x_65; +x_15 = x_64; x_16 = x_56; x_17 = x_7; x_18 = x_8; @@ -30278,23 +32096,23 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean x_68 = lean_ctor_get(x_59, 0); lean_inc(x_68); lean_dec(x_59); -lean_inc_ref(x_53); -x_69 = l_Lean_FileMap_toPosition(x_53, x_54); +lean_inc_ref(x_55); +x_69 = l_Lean_FileMap_toPosition(x_55, x_54); lean_dec(x_54); -x_70 = l_Lean_FileMap_toPosition(x_53, x_57); +x_70 = l_Lean_FileMap_toPosition(x_55, x_57); lean_dec(x_57); x_71 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_71, 0, x_70); x_72 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7___closed__1; -if (x_55 == 0) +if (x_52 == 0) { lean_dec_ref(x_50); -x_10 = x_51; -x_11 = x_68; -x_12 = x_52; -x_13 = x_72; -x_14 = x_71; -x_15 = x_69; +x_10 = x_69; +x_11 = x_51; +x_12 = x_53; +x_13 = x_68; +x_14 = x_72; +x_15 = x_71; x_16 = x_56; x_17 = x_7; x_18 = x_8; @@ -30312,7 +32130,7 @@ lean_object* x_74; lean_object* x_75; lean_dec_ref(x_71); lean_dec_ref(x_69); lean_dec(x_68); -lean_dec_ref(x_52); +lean_dec_ref(x_53); lean_dec_ref(x_7); x_74 = lean_box(0); x_75 = lean_alloc_ctor(0, 1, 0); @@ -30321,12 +32139,12 @@ return x_75; } else { -x_10 = x_51; -x_11 = x_68; -x_12 = x_52; -x_13 = x_72; -x_14 = x_71; -x_15 = x_69; +x_10 = x_69; +x_11 = x_51; +x_12 = x_53; +x_13 = x_68; +x_14 = x_72; +x_15 = x_71; x_16 = x_56; x_17 = x_7; x_18 = x_8; @@ -30339,18 +32157,18 @@ goto block_49; block_87: { lean_object* x_85; -x_85 = l_Lean_Syntax_getTailPos_x3f(x_81, x_82); +x_85 = l_Lean_Syntax_getTailPos_x3f(x_81, x_83); lean_dec(x_81); if (lean_obj_tag(x_85) == 0) { lean_inc(x_84); x_50 = x_77; x_51 = x_78; -x_52 = x_79; -x_53 = x_80; +x_52 = x_80; +x_53 = x_79; x_54 = x_84; -x_55 = x_83; -x_56 = x_82; +x_55 = x_82; +x_56 = x_83; x_57 = x_84; goto block_76; } @@ -30362,11 +32180,11 @@ lean_inc(x_86); lean_dec_ref(x_85); x_50 = x_77; x_51 = x_78; -x_52 = x_79; -x_53 = x_80; +x_52 = x_80; +x_53 = x_79; x_54 = x_84; -x_55 = x_83; -x_56 = x_82; +x_55 = x_82; +x_56 = x_83; x_57 = x_86; goto block_76; } @@ -30374,20 +32192,20 @@ goto block_76; block_99: { lean_object* x_95; lean_object* x_96; -x_95 = l_Lean_replaceRef(x_1, x_93); -lean_dec(x_93); -x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_92); +x_95 = l_Lean_replaceRef(x_1, x_91); +lean_dec(x_91); +x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_93); if (lean_obj_tag(x_96) == 0) { lean_object* x_97; x_97 = lean_unsigned_to_nat(0u); x_77 = x_88; x_78 = x_94; -x_79 = x_89; -x_80 = x_90; +x_79 = x_90; +x_80 = x_89; x_81 = x_95; x_82 = x_92; -x_83 = x_91; +x_83 = x_93; x_84 = x_97; goto block_87; } @@ -30399,11 +32217,11 @@ lean_inc(x_98); lean_dec_ref(x_96); x_77 = x_88; x_78 = x_94; -x_79 = x_89; -x_80 = x_90; +x_79 = x_90; +x_80 = x_89; x_81 = x_95; x_82 = x_92; -x_83 = x_91; +x_83 = x_93; x_84 = x_98; goto block_87; } @@ -30412,23 +32230,23 @@ block_108: { if (x_107 == 0) { -x_88 = x_102; -x_89 = x_101; -x_90 = x_103; -x_91 = x_105; -x_92 = x_106; -x_93 = x_104; +x_88 = x_103; +x_89 = x_102; +x_90 = x_101; +x_91 = x_104; +x_92 = x_105; +x_93 = x_106; x_94 = x_3; goto block_99; } else { -x_88 = x_102; -x_89 = x_101; -x_90 = x_103; -x_91 = x_105; -x_92 = x_106; -x_93 = x_104; +x_88 = x_103; +x_89 = x_102; +x_90 = x_101; +x_91 = x_104; +x_92 = x_105; +x_93 = x_106; x_94 = x_100; goto block_99; } @@ -30452,14 +32270,14 @@ x_118 = 1; x_119 = l_Lean_instBEqMessageSeverity_beq(x_3, x_118); if (x_119 == 0) { -lean_inc(x_113); lean_inc_ref(x_111); +lean_inc(x_113); lean_inc_ref(x_110); x_101 = x_110; -x_102 = x_117; -x_103 = x_111; +x_102 = x_114; +x_103 = x_117; x_104 = x_113; -x_105 = x_114; +x_105 = x_111; x_106 = x_109; x_107 = x_119; goto block_108; @@ -30469,14 +32287,14 @@ else lean_object* x_120; uint8_t x_121; x_120 = l_Lean_logAt___at___00Lean_log___at___00Lean_logInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen_spec__2_spec__2_spec__2___closed__0; x_121 = l_Lean_Option_get___at___00Lean_logAt___at___00Lean_log___at___00Lean_logInfo___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_logPatternWhen_spec__2_spec__2_spec__2_spec__2(x_112, x_120); -lean_inc(x_113); lean_inc_ref(x_111); +lean_inc(x_113); lean_inc_ref(x_110); x_101 = x_110; -x_102 = x_117; -x_103 = x_111; +x_102 = x_114; +x_103 = x_117; x_104 = x_113; -x_105 = x_114; +x_105 = x_111; x_106 = x_109; x_107 = x_121; goto block_108; @@ -31810,15 +33628,15 @@ lean_inc(x_24); lean_inc_ref(x_23); lean_inc(x_22); lean_inc_ref(x_21); -x_26 = l_Lean_Meta_Grind_preprocessPattern(x_20, x_1, x_21, x_22, x_23, x_24); +x_26 = l_Lean_Meta_Grind_preprocessPattern(x_19, x_1, x_21, x_22, x_23, x_24); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); lean_dec_ref(x_26); -lean_inc(x_19); -x_28 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__6___redArg(x_19, x_23); +lean_inc(x_20); +x_28 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__6___redArg(x_20, x_23); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); lean_dec_ref(x_28); @@ -31830,7 +33648,7 @@ lean_dec(x_24); lean_dec_ref(x_23); lean_dec(x_22); lean_dec_ref(x_21); -lean_dec(x_19); +lean_dec(x_20); x_11 = x_27; x_12 = lean_box(0); goto block_18; @@ -31865,7 +33683,7 @@ x_39 = l_Lean_MessageData_ofExpr(x_33); x_40 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7(x_19, x_40, x_21, x_22, x_23, x_24); +x_41 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7(x_20, x_40, x_21, x_22, x_23, x_24); lean_dec(x_24); lean_dec_ref(x_23); lean_dec(x_22); @@ -31883,7 +33701,7 @@ lean_dec(x_24); lean_dec_ref(x_23); lean_dec(x_22); lean_dec_ref(x_21); -lean_dec(x_19); +lean_dec(x_20); x_42 = !lean_is_exclusive(x_32); if (x_42 == 0) { @@ -31909,7 +33727,7 @@ lean_dec(x_24); lean_dec_ref(x_23); lean_dec(x_22); lean_dec_ref(x_21); -lean_dec(x_19); +lean_dec(x_20); x_45 = !lean_is_exclusive(x_26); if (x_45 == 0) { @@ -31934,17 +33752,17 @@ x_58 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_58, 0, x_57); x_59 = l_Lean_MessageData_ofFormat(x_58); x_60 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 0, x_53); lean_ctor_set(x_60, 1, x_59); -lean_inc(x_53); -x_61 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7(x_53, x_60, x_52, x_49, x_55, x_50); +lean_inc(x_54); +x_61 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7(x_54, x_60, x_50, x_49, x_56, x_55); lean_dec_ref(x_61); -x_19 = x_53; -x_20 = x_51; -x_21 = x_52; +x_19 = x_51; +x_20 = x_54; +x_21 = x_50; x_22 = x_49; -x_23 = x_55; -x_24 = x_50; +x_23 = x_56; +x_24 = x_55; x_25 = lean_box(0); goto block_48; } @@ -31961,12 +33779,12 @@ lean_dec(x_71); if (x_72 == 0) { lean_dec_ref(x_2); -x_19 = x_69; -x_20 = x_68; -x_21 = x_66; -x_22 = x_64; +x_19 = x_68; +x_20 = x_69; +x_21 = x_65; +x_22 = x_63; x_23 = x_67; -x_24 = x_65; +x_24 = x_66; x_25 = lean_box(0); goto block_48; } @@ -31995,14 +33813,14 @@ if (x_3 == 0) { lean_object* x_82; x_82 = l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__12; -x_49 = x_64; +x_49 = x_63; x_50 = x_65; x_51 = x_68; -x_52 = x_66; -x_53 = x_69; -x_54 = lean_box(0); -x_55 = x_67; -x_56 = x_81; +x_52 = lean_box(0); +x_53 = x_81; +x_54 = x_69; +x_55 = x_66; +x_56 = x_67; x_57 = x_82; goto block_62; } @@ -32010,14 +33828,14 @@ else { lean_object* x_83; x_83 = l_Lean_Meta_Grind_mkEMatchEqTheoremCore___lam__0___closed__13; -x_49 = x_64; +x_49 = x_63; x_50 = x_65; x_51 = x_68; -x_52 = x_66; -x_53 = x_69; -x_54 = lean_box(0); -x_55 = x_67; -x_56 = x_81; +x_52 = lean_box(0); +x_53 = x_81; +x_54 = x_69; +x_55 = x_66; +x_56 = x_67; x_57 = x_83; goto block_62; } @@ -32028,10 +33846,10 @@ block_92: if (x_3 == 0) { lean_dec_ref(x_85); -x_63 = lean_box(0); -x_64 = x_88; -x_65 = x_90; -x_66 = x_87; +x_63 = x_88; +x_64 = lean_box(0); +x_65 = x_87; +x_66 = x_90; x_67 = x_89; x_68 = x_86; goto block_84; @@ -32039,10 +33857,10 @@ goto block_84; else { lean_dec_ref(x_86); -x_63 = lean_box(0); -x_64 = x_88; -x_65 = x_90; -x_66 = x_87; +x_63 = x_88; +x_64 = lean_box(0); +x_65 = x_87; +x_66 = x_90; x_67 = x_89; x_68 = x_85; goto block_84; @@ -35362,15 +37180,15 @@ block_44: { lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; x_25 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0___lam__1___closed__0; -lean_inc(x_15); -x_26 = lean_mk_array(x_15, x_25); +lean_inc(x_14); +x_26 = lean_mk_array(x_14, x_25); x_27 = lean_unsigned_to_nat(1u); -x_28 = lean_nat_sub(x_15, x_27); -lean_dec(x_15); +x_28 = lean_nat_sub(x_14, x_27); +lean_dec(x_14); x_29 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_26, x_28); x_30 = lean_unsigned_to_nat(0u); -x_31 = lean_array_get_size(x_14); -x_32 = l_Array_toSubarray___redArg(x_14, x_30, x_31); +x_31 = lean_array_get_size(x_15); +x_32 = l_Array_toSubarray___redArg(x_15, x_30, x_31); x_33 = lean_array_size(x_29); x_34 = 0; x_35 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect_spec__0___redArg(x_13, x_29, x_33, x_34, x_32, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); @@ -35423,16 +37241,16 @@ block_59: if (lean_obj_tag(x_55) == 0) { lean_dec_ref(x_55); -x_14 = x_45; -x_15 = x_51; -x_16 = x_46; -x_17 = x_50; -x_18 = x_53; -x_19 = x_52; -x_20 = x_54; -x_21 = x_48; -x_22 = x_49; -x_23 = x_47; +x_14 = x_48; +x_15 = x_52; +x_16 = x_54; +x_17 = x_47; +x_18 = x_49; +x_19 = x_51; +x_20 = x_45; +x_21 = x_46; +x_22 = x_50; +x_23 = x_53; x_24 = lean_box(0); goto block_44; } @@ -35440,14 +37258,14 @@ else { lean_object* x_57; lean_object* x_58; lean_dec_ref(x_54); -lean_dec_ref(x_53); -lean_dec(x_52); +lean_dec(x_53); +lean_dec_ref(x_52); lean_dec(x_51); -lean_dec(x_50); +lean_dec_ref(x_50); lean_dec_ref(x_49); lean_dec(x_48); lean_dec(x_47); -lean_dec_ref(x_46); +lean_dec(x_46); lean_dec_ref(x_45); lean_dec_ref(x_1); x_57 = lean_ctor_get(x_55, 0); @@ -35469,13 +37287,13 @@ lean_dec_ref(x_70); x_45 = x_60; x_46 = x_61; x_47 = x_62; -x_48 = x_63; -x_49 = x_65; -x_50 = x_64; -x_51 = x_68; -x_52 = x_67; -x_53 = x_66; -x_54 = x_69; +x_48 = x_64; +x_49 = x_63; +x_50 = x_66; +x_51 = x_65; +x_52 = x_69; +x_53 = x_68; +x_54 = x_67; x_55 = x_71; x_56 = lean_box(0); goto block_59; @@ -35485,13 +37303,13 @@ else uint8_t x_72; lean_dec_ref(x_69); lean_dec(x_68); -lean_dec(x_67); +lean_dec_ref(x_67); lean_dec_ref(x_66); -lean_dec_ref(x_65); +lean_dec(x_65); lean_dec(x_64); -lean_dec(x_63); +lean_dec_ref(x_63); lean_dec(x_62); -lean_dec_ref(x_61); +lean_dec(x_61); lean_dec_ref(x_60); lean_dec_ref(x_1); x_72 = !lean_is_exclusive(x_70); @@ -35516,7 +37334,7 @@ block_103: if (x_89 == 0) { lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_90 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern_spec__0___redArg(x_13, x_80); +x_90 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern_spec__0___redArg(x_13, x_79); x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); lean_dec_ref(x_90); @@ -35525,26 +37343,26 @@ lean_dec(x_91); if (x_92 == 0) { lean_object* x_93; lean_object* x_94; -lean_dec_ref(x_76); +lean_dec_ref(x_88); x_93 = lean_box(0); -lean_inc(x_86); -lean_inc_ref(x_80); -lean_inc(x_79); -lean_inc_ref(x_83); lean_inc(x_82); -lean_inc_ref(x_87); -lean_inc(x_81); -lean_inc_ref(x_77); -x_94 = lean_apply_10(x_85, x_93, x_77, x_81, x_87, x_82, x_83, x_79, x_80, x_86, lean_box(0)); +lean_inc_ref(x_79); +lean_inc(x_85); +lean_inc_ref(x_84); +lean_inc(x_80); +lean_inc_ref(x_86); +lean_inc(x_78); +lean_inc_ref(x_81); +x_94 = lean_apply_10(x_76, x_93, x_81, x_78, x_86, x_80, x_84, x_85, x_79, x_82, lean_box(0)); x_60 = x_84; -x_61 = x_77; -x_62 = x_86; -x_63 = x_79; -x_64 = x_81; +x_61 = x_85; +x_62 = x_78; +x_63 = x_86; +x_64 = x_87; x_65 = x_80; -x_66 = x_87; -x_67 = x_82; -x_68 = x_88; +x_66 = x_79; +x_67 = x_81; +x_68 = x_82; x_69 = x_83; x_70 = x_94; goto block_75; @@ -35553,33 +37371,33 @@ else { lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; x_95 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___closed__1; -x_96 = l_Lean_Exception_toMessageData(x_76); +x_96 = l_Lean_Exception_toMessageData(x_88); x_97 = l_Lean_indentD(x_96); x_98 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_98, 0, x_95); lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern_spec__1___redArg(x_13, x_98, x_83, x_79, x_80, x_86); +x_99 = l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern_spec__1___redArg(x_13, x_98, x_84, x_85, x_79, x_82); x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); lean_dec_ref(x_99); -lean_inc(x_86); -lean_inc_ref(x_80); -lean_inc(x_79); -lean_inc_ref(x_83); lean_inc(x_82); -lean_inc_ref(x_87); -lean_inc(x_81); -lean_inc_ref(x_77); -x_101 = lean_apply_10(x_85, x_100, x_77, x_81, x_87, x_82, x_83, x_79, x_80, x_86, lean_box(0)); +lean_inc_ref(x_79); +lean_inc(x_85); +lean_inc_ref(x_84); +lean_inc(x_80); +lean_inc_ref(x_86); +lean_inc(x_78); +lean_inc_ref(x_81); +x_101 = lean_apply_10(x_76, x_100, x_81, x_78, x_86, x_80, x_84, x_85, x_79, x_82, lean_box(0)); x_60 = x_84; -x_61 = x_77; -x_62 = x_86; -x_63 = x_79; -x_64 = x_81; +x_61 = x_85; +x_62 = x_78; +x_63 = x_86; +x_64 = x_87; x_65 = x_80; -x_66 = x_87; -x_67 = x_82; -x_68 = x_88; +x_66 = x_79; +x_67 = x_81; +x_68 = x_82; x_69 = x_83; x_70 = x_101; goto block_75; @@ -35588,20 +37406,20 @@ goto block_75; else { lean_object* x_102; -lean_dec(x_88); -lean_dec_ref(x_87); -lean_dec(x_86); -lean_dec_ref(x_85); +lean_dec(x_87); +lean_dec_ref(x_86); +lean_dec(x_85); lean_dec_ref(x_84); lean_dec_ref(x_83); lean_dec(x_82); -lean_dec(x_81); -lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec_ref(x_77); +lean_dec_ref(x_81); +lean_dec(x_80); +lean_dec_ref(x_79); +lean_dec(x_78); +lean_dec_ref(x_76); lean_dec_ref(x_1); x_102 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_102, 0, x_76); +lean_ctor_set(x_102, 0, x_88); return x_102; } } @@ -35613,37 +37431,37 @@ if (x_117 == 0) { uint8_t x_118; x_118 = l_Lean_Exception_isRuntime(x_115); -x_76 = x_115; -x_77 = x_105; -x_78 = lean_box(0); -x_79 = x_108; +x_76 = x_105; +x_77 = lean_box(0); +x_78 = x_107; +x_79 = x_111; x_80 = x_110; -x_81 = x_109; +x_81 = x_114; x_82 = x_113; -x_83 = x_114; +x_83 = x_112; x_84 = x_104; x_85 = x_106; -x_86 = x_107; -x_87 = x_112; -x_88 = x_111; +x_86 = x_109; +x_87 = x_108; +x_88 = x_115; x_89 = x_118; goto block_103; } else { -x_76 = x_115; -x_77 = x_105; -x_78 = lean_box(0); -x_79 = x_108; +x_76 = x_105; +x_77 = lean_box(0); +x_78 = x_107; +x_79 = x_111; x_80 = x_110; -x_81 = x_109; +x_81 = x_114; x_82 = x_113; -x_83 = x_114; +x_83 = x_112; x_84 = x_104; x_85 = x_106; -x_86 = x_107; -x_87 = x_112; -x_88 = x_111; +x_86 = x_109; +x_87 = x_108; +x_88 = x_115; x_89 = x_117; goto block_103; } @@ -35653,20 +37471,20 @@ block_134: if (lean_obj_tag(x_131) == 0) { lean_object* x_132; -lean_dec_ref(x_122); +lean_dec_ref(x_120); x_132 = lean_ctor_get(x_131, 0); lean_inc(x_132); lean_dec_ref(x_131); -x_45 = x_120; -x_46 = x_121; +x_45 = x_121; +x_46 = x_122; x_47 = x_123; -x_48 = x_124; -x_49 = x_126; -x_50 = x_125; -x_51 = x_129; -x_52 = x_128; -x_53 = x_127; -x_54 = x_130; +x_48 = x_125; +x_49 = x_124; +x_50 = x_127; +x_51 = x_126; +x_52 = x_130; +x_53 = x_129; +x_54 = x_128; x_55 = x_132; x_56 = lean_box(0); goto block_59; @@ -35677,17 +37495,17 @@ lean_object* x_133; x_133 = lean_ctor_get(x_131, 0); lean_inc(x_133); lean_dec_ref(x_131); -x_104 = x_120; -x_105 = x_121; +x_104 = x_121; +x_105 = x_120; x_106 = x_122; x_107 = x_123; -x_108 = x_124; -x_109 = x_125; +x_108 = x_125; +x_109 = x_124; x_110 = x_126; -x_111 = x_129; -x_112 = x_127; -x_113 = x_128; -x_114 = x_130; +x_111 = x_127; +x_112 = x_130; +x_113 = x_129; +x_114 = x_128; x_115 = x_133; x_116 = lean_box(0); goto block_119; @@ -35721,8 +37539,8 @@ x_150 = lean_unbox(x_149); lean_dec(x_149); if (x_150 == 0) { -x_14 = x_147; -x_15 = x_145; +x_14 = x_145; +x_15 = x_147; x_16 = x_135; x_17 = x_136; x_18 = x_137; @@ -35760,17 +37578,17 @@ lean_inc_ref(x_137); lean_inc_ref(x_135); lean_inc(x_147); x_157 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___lam__1(x_1, x_13, x_151, x_147, x_156, x_135, x_136, x_137, x_138, x_139, x_140, x_141, x_142); -x_120 = x_147; -x_121 = x_135; -x_122 = x_152; -x_123 = x_142; -x_124 = x_140; -x_125 = x_136; -x_126 = x_141; -x_127 = x_137; -x_128 = x_138; -x_129 = x_145; -x_130 = x_139; +x_120 = x_152; +x_121 = x_139; +x_122 = x_140; +x_123 = x_136; +x_124 = x_137; +x_125 = x_145; +x_126 = x_138; +x_127 = x_141; +x_128 = x_135; +x_129 = x_142; +x_130 = x_147; x_131 = x_157; goto block_134; } @@ -35796,17 +37614,17 @@ lean_inc_ref(x_137); lean_inc_ref(x_135); lean_inc(x_147); x_163 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___lam__1(x_1, x_13, x_151, x_147, x_162, x_135, x_136, x_137, x_138, x_139, x_140, x_141, x_142); -x_120 = x_147; -x_121 = x_135; -x_122 = x_152; -x_123 = x_142; -x_124 = x_140; -x_125 = x_136; -x_126 = x_141; -x_127 = x_137; -x_128 = x_138; -x_129 = x_145; -x_130 = x_139; +x_120 = x_152; +x_121 = x_139; +x_122 = x_140; +x_123 = x_136; +x_124 = x_137; +x_125 = x_145; +x_126 = x_138; +x_127 = x_141; +x_128 = x_135; +x_129 = x_142; +x_130 = x_147; x_131 = x_163; goto block_134; } @@ -39098,15 +40916,15 @@ block_45: { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; x_26 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectOffsets_spec__0_spec__0___lam__1___closed__0; -lean_inc(x_15); -x_27 = lean_mk_array(x_15, x_26); +lean_inc(x_16); +x_27 = lean_mk_array(x_16, x_26); x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_sub(x_15, x_28); -lean_dec(x_15); +x_29 = lean_nat_sub(x_16, x_28); +lean_dec(x_16); x_30 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_27, x_29); x_31 = lean_unsigned_to_nat(0u); -x_32 = lean_array_get_size(x_16); -x_33 = l_Array_toSubarray___redArg(x_16, x_31, x_32); +x_32 = lean_array_get_size(x_15); +x_33 = l_Array_toSubarray___redArg(x_15, x_31, x_32); x_34 = lean_array_size(x_30); x_35 = 0; x_36 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collect_go_spec__0___redArg(x_14, x_1, x_30, x_34, x_35, x_33, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24); @@ -39165,9 +40983,9 @@ lean_inc(x_51); lean_inc_ref(x_50); lean_inc(x_49); lean_inc_ref(x_48); -lean_inc_ref(x_47); +lean_inc_ref(x_46); lean_inc_ref(x_2); -x_57 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_normalizePattern_x3f(x_2, x_47, x_1, x_48, x_49, x_50, x_51, x_52, x_53, x_54, x_55); +x_57 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_normalizePattern_x3f(x_2, x_46, x_1, x_48, x_49, x_50, x_51, x_52, x_53, x_54, x_55); if (lean_obj_tag(x_57) == 0) { lean_object* x_58; @@ -39177,8 +40995,8 @@ lean_dec_ref(x_57); if (lean_obj_tag(x_58) == 1) { lean_object* x_59; lean_object* x_60; -lean_dec_ref(x_47); -lean_dec(x_46); +lean_dec(x_47); +lean_dec_ref(x_46); lean_dec_ref(x_2); x_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); @@ -39243,8 +41061,8 @@ lean_dec(x_51); lean_dec_ref(x_50); lean_dec(x_49); lean_dec_ref(x_48); -lean_dec_ref(x_47); -lean_dec(x_46); +lean_dec(x_47); +lean_dec_ref(x_46); lean_dec_ref(x_2); x_66 = !lean_is_exclusive(x_57); if (x_66 == 0) @@ -39291,8 +41109,8 @@ x_85 = lean_unbox(x_84); lean_dec(x_84); if (x_85 == 0) { -x_15 = x_80; -x_16 = x_82; +x_15 = x_82; +x_16 = x_80; x_17 = x_70; x_18 = x_71; x_19 = x_72; @@ -39315,8 +41133,8 @@ x_88 = lean_unbox(x_87); lean_dec(x_87); if (x_88 == 0) { -x_46 = x_80; -x_47 = x_82; +x_46 = x_82; +x_47 = x_80; x_48 = x_70; x_49 = x_71; x_50 = x_72; @@ -39339,8 +41157,8 @@ lean_ctor_set(x_91, 0, x_89); lean_ctor_set(x_91, 1, x_90); x_92 = l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_addNewPattern_spec__1___redArg(x_14, x_91, x_74, x_75, x_76, x_77); lean_dec_ref(x_92); -x_46 = x_80; -x_47 = x_82; +x_46 = x_82; +x_47 = x_80; x_48 = x_70; x_49 = x_71; x_50 = x_72; @@ -43550,21 +45368,21 @@ goto block_20; block_10: { uint8_t x_7; -lean_dec(x_4); +lean_dec(x_3); x_7 = lean_nat_dec_le(x_6, x_5); if (x_7 == 0) { lean_object* x_8; lean_dec(x_5); lean_inc(x_6); -x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__0___redArg(x_3, x_6, x_6); +x_8 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__0___redArg(x_4, x_6, x_6); lean_dec(x_6); return x_8; } else { lean_object* x_9; -x_9 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__0___redArg(x_3, x_6, x_5); +x_9 = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectUsedPriorities_spec__0___redArg(x_4, x_6, x_5); lean_dec(x_5); return x_9; } @@ -43588,16 +45406,16 @@ x_18 = lean_nat_dec_le(x_14, x_17); if (x_18 == 0) { lean_inc(x_17); -x_3 = x_11; -x_4 = x_13; +x_3 = x_13; +x_4 = x_11; x_5 = x_17; x_6 = x_17; goto block_10; } else { -x_3 = x_11; -x_4 = x_13; +x_3 = x_13; +x_4 = x_11; x_5 = x_17; x_6 = x_14; goto block_10; @@ -45277,7 +47095,7 @@ block_97: if (x_73 == 0) { lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_74 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__0___redArg(x_18, x_67, x_69); +x_74 = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__0___redArg(x_18, x_66, x_72); x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); lean_dec_ref(x_74); @@ -45286,21 +47104,21 @@ x_77 = lean_unbox(x_76); if (x_77 == 0) { lean_object* x_78; -lean_dec_ref(x_72); +lean_dec_ref(x_62); x_78 = lean_ctor_get(x_75, 1); lean_inc(x_78); lean_dec(x_75); -x_19 = x_61; -x_20 = x_71; +x_19 = x_67; +x_20 = x_68; x_21 = x_78; -x_22 = x_62; -x_23 = x_60; -x_24 = x_64; -x_25 = x_68; -x_26 = x_63; -x_27 = x_65; -x_28 = x_69; -x_29 = x_66; +x_22 = x_61; +x_23 = x_65; +x_24 = x_70; +x_25 = x_63; +x_26 = x_64; +x_27 = x_71; +x_28 = x_72; +x_29 = x_60; x_30 = lean_box(0); goto block_59; } @@ -45315,29 +47133,29 @@ x_80 = lean_ctor_get(x_75, 1); x_81 = lean_ctor_get(x_75, 0); lean_dec(x_81); x_82 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___closed__1; -x_83 = l_Lean_Exception_toMessageData(x_72); +x_83 = l_Lean_Exception_toMessageData(x_62); x_84 = l_Lean_indentD(x_83); lean_ctor_set_tag(x_75, 7); lean_ctor_set(x_75, 1, x_84); lean_ctor_set(x_75, 0, x_82); -x_85 = l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__1___redArg(x_18, x_75, x_80, x_63, x_65, x_69, x_66); +x_85 = l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__1___redArg(x_18, x_75, x_80, x_64, x_71, x_72, x_60); x_86 = lean_ctor_get(x_85, 0); lean_inc(x_86); lean_dec_ref(x_85); x_87 = lean_ctor_get(x_86, 1); lean_inc(x_87); lean_dec(x_86); -x_19 = x_61; -x_20 = x_71; +x_19 = x_67; +x_20 = x_68; x_21 = x_87; -x_22 = x_62; -x_23 = x_60; -x_24 = x_64; -x_25 = x_68; -x_26 = x_63; -x_27 = x_65; -x_28 = x_69; -x_29 = x_66; +x_22 = x_61; +x_23 = x_65; +x_24 = x_70; +x_25 = x_63; +x_26 = x_64; +x_27 = x_71; +x_28 = x_72; +x_29 = x_60; x_30 = lean_box(0); goto block_59; } @@ -45348,29 +47166,29 @@ x_88 = lean_ctor_get(x_75, 1); lean_inc(x_88); lean_dec(x_75); x_89 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_OldCollector_collect___closed__1; -x_90 = l_Lean_Exception_toMessageData(x_72); +x_90 = l_Lean_Exception_toMessageData(x_62); x_91 = l_Lean_indentD(x_90); x_92 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_92, 0, x_89); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__1___redArg(x_18, x_92, x_88, x_63, x_65, x_69, x_66); +x_93 = l_Lean_addTrace___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons_spec__1___redArg(x_18, x_92, x_88, x_64, x_71, x_72, x_60); x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); lean_dec_ref(x_93); x_95 = lean_ctor_get(x_94, 1); lean_inc(x_95); lean_dec(x_94); -x_19 = x_61; -x_20 = x_71; +x_19 = x_67; +x_20 = x_68; x_21 = x_95; -x_22 = x_62; -x_23 = x_60; -x_24 = x_64; -x_25 = x_68; -x_26 = x_63; -x_27 = x_65; -x_28 = x_69; -x_29 = x_66; +x_22 = x_61; +x_23 = x_65; +x_24 = x_70; +x_25 = x_63; +x_26 = x_64; +x_27 = x_71; +x_28 = x_72; +x_29 = x_60; x_30 = lean_box(0); goto block_59; } @@ -45379,19 +47197,19 @@ goto block_59; else { lean_object* x_96; +lean_dec_ref(x_72); lean_dec(x_71); -lean_dec_ref(x_69); +lean_dec_ref(x_70); lean_dec(x_68); lean_dec_ref(x_67); -lean_dec(x_66); -lean_dec(x_65); +lean_dec_ref(x_66); lean_dec_ref(x_64); -lean_dec_ref(x_63); -lean_dec_ref(x_62); +lean_dec(x_63); lean_dec_ref(x_61); +lean_dec(x_60); lean_dec_ref(x_1); x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_72); +lean_ctor_set(x_96, 0, x_62); return x_96; } } @@ -45403,37 +47221,37 @@ if (x_111 == 0) { uint8_t x_112; x_112 = l_Lean_Exception_isRuntime(x_109); -x_60 = x_98; -x_61 = x_99; -x_62 = x_102; -x_63 = x_104; -x_64 = x_106; -x_65 = x_108; -x_66 = x_107; -x_67 = x_101; -x_68 = x_100; -x_69 = x_103; -x_70 = lean_box(0); +x_60 = x_104; +x_61 = x_107; +x_62 = x_109; +x_63 = x_98; +x_64 = x_99; +x_65 = x_100; +x_66 = x_101; +x_67 = x_102; +x_68 = x_103; +x_69 = lean_box(0); +x_70 = x_106; x_71 = x_105; -x_72 = x_109; +x_72 = x_108; x_73 = x_112; goto block_97; } else { -x_60 = x_98; -x_61 = x_99; -x_62 = x_102; -x_63 = x_104; -x_64 = x_106; -x_65 = x_108; -x_66 = x_107; -x_67 = x_101; -x_68 = x_100; -x_69 = x_103; -x_70 = lean_box(0); +x_60 = x_104; +x_61 = x_107; +x_62 = x_109; +x_63 = x_98; +x_64 = x_99; +x_65 = x_100; +x_66 = x_101; +x_67 = x_102; +x_68 = x_103; +x_69 = lean_box(0); +x_70 = x_106; x_71 = x_105; -x_72 = x_109; +x_72 = x_108; x_73 = x_111; goto block_97; } @@ -45443,7 +47261,7 @@ block_145: if (lean_obj_tag(x_125) == 0) { uint8_t x_126; -lean_dec_ref(x_116); +lean_dec_ref(x_117); x_126 = !lean_is_exclusive(x_125); if (x_126 == 0) { @@ -45457,17 +47275,17 @@ lean_free_object(x_125); x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); lean_dec(x_127); -x_19 = x_115; -x_20 = x_121; +x_19 = x_118; +x_20 = x_119; x_21 = x_129; -x_22 = x_118; -x_23 = x_114; +x_22 = x_123; +x_23 = x_116; x_24 = x_122; -x_25 = x_117; -x_26 = x_120; -x_27 = x_124; -x_28 = x_119; -x_29 = x_123; +x_25 = x_114; +x_26 = x_115; +x_27 = x_121; +x_28 = x_124; +x_29 = x_120; x_30 = lean_box(0); goto block_59; } @@ -45475,15 +47293,15 @@ else { uint8_t x_130; lean_inc_ref(x_128); -lean_dec(x_124); -lean_dec(x_123); +lean_dec_ref(x_124); +lean_dec_ref(x_123); lean_dec_ref(x_122); lean_dec(x_121); -lean_dec_ref(x_120); -lean_dec_ref(x_119); +lean_dec(x_120); +lean_dec(x_119); lean_dec_ref(x_118); -lean_dec(x_117); lean_dec_ref(x_115); +lean_dec(x_114); lean_dec_ref(x_1); x_130 = !lean_is_exclusive(x_127); if (x_130 == 0) @@ -45527,17 +47345,17 @@ lean_object* x_138; x_138 = lean_ctor_get(x_136, 1); lean_inc(x_138); lean_dec(x_136); -x_19 = x_115; -x_20 = x_121; +x_19 = x_118; +x_20 = x_119; x_21 = x_138; -x_22 = x_118; -x_23 = x_114; +x_22 = x_123; +x_23 = x_116; x_24 = x_122; -x_25 = x_117; -x_26 = x_120; -x_27 = x_124; -x_28 = x_119; -x_29 = x_123; +x_25 = x_114; +x_26 = x_115; +x_27 = x_121; +x_28 = x_124; +x_29 = x_120; x_30 = lean_box(0); goto block_59; } @@ -45545,15 +47363,15 @@ else { lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_inc_ref(x_137); -lean_dec(x_124); -lean_dec(x_123); +lean_dec_ref(x_124); +lean_dec_ref(x_123); lean_dec_ref(x_122); lean_dec(x_121); -lean_dec_ref(x_120); -lean_dec_ref(x_119); +lean_dec(x_120); +lean_dec(x_119); lean_dec_ref(x_118); -lean_dec(x_117); lean_dec_ref(x_115); +lean_dec(x_114); lean_dec_ref(x_1); x_139 = lean_ctor_get(x_136, 1); lean_inc(x_139); @@ -45589,8 +47407,8 @@ lean_inc(x_144); lean_dec_ref(x_125); x_98 = x_114; x_99 = x_115; -x_100 = x_117; -x_101 = x_116; +x_100 = x_116; +x_101 = x_117; x_102 = x_118; x_103 = x_119; x_104 = x_120; @@ -45675,17 +47493,17 @@ lean_inc(x_150); lean_inc_ref(x_149); lean_inc_ref(x_147); x_174 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons___lam__0(x_1, x_18, x_163, x_173, x_172, x_147, x_148, x_149, x_150, x_151, x_152, x_153, x_154); -x_114 = x_148; -x_115 = x_159; -x_116 = x_146; -x_117 = x_150; -x_118 = x_147; -x_119 = x_153; -x_120 = x_151; -x_121 = x_157; +x_114 = x_150; +x_115 = x_151; +x_116 = x_148; +x_117 = x_146; +x_118 = x_159; +x_119 = x_157; +x_120 = x_154; +x_121 = x_152; x_122 = x_149; -x_123 = x_154; -x_124 = x_152; +x_123 = x_147; +x_124 = x_153; x_125 = x_174; goto block_145; } @@ -45722,17 +47540,17 @@ lean_inc(x_150); lean_inc_ref(x_149); lean_inc_ref(x_147); x_184 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons___lam__0(x_1, x_18, x_163, x_182, x_183, x_147, x_148, x_149, x_150, x_151, x_152, x_153, x_154); -x_114 = x_148; -x_115 = x_159; -x_116 = x_146; -x_117 = x_150; -x_118 = x_147; -x_119 = x_153; -x_120 = x_151; -x_121 = x_157; +x_114 = x_150; +x_115 = x_151; +x_116 = x_148; +x_117 = x_146; +x_118 = x_159; +x_119 = x_157; +x_120 = x_154; +x_121 = x_152; x_122 = x_149; -x_123 = x_154; -x_124 = x_152; +x_123 = x_147; +x_124 = x_153; x_125 = x_184; goto block_145; } @@ -45765,17 +47583,17 @@ lean_inc(x_150); lean_inc_ref(x_149); lean_inc_ref(x_147); x_193 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_collectSingletons___lam__0(x_1, x_18, x_163, x_191, x_192, x_147, x_148, x_149, x_150, x_151, x_152, x_153, x_154); -x_114 = x_148; -x_115 = x_159; -x_116 = x_146; -x_117 = x_150; -x_118 = x_147; -x_119 = x_153; -x_120 = x_151; -x_121 = x_157; +x_114 = x_150; +x_115 = x_151; +x_116 = x_148; +x_117 = x_146; +x_118 = x_159; +x_119 = x_157; +x_120 = x_154; +x_121 = x_152; x_122 = x_149; -x_123 = x_154; -x_124 = x_152; +x_123 = x_147; +x_124 = x_153; x_125 = x_193; goto block_145; } @@ -48991,7 +50809,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Grind_isGenPattern_x3f___closed__2; x_2 = lean_unsigned_to_nat(13u); -x_3 = lean_unsigned_to_nat(1311u); +x_3 = lean_unsigned_to_nat(1359u); x_4 = l_Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f___lam__0___closed__5; x_5 = l_Lean_Meta_Grind_isGenPattern_x3f___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -53856,7 +55674,7 @@ block_112: lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_47 = l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save___closed__0; x_48 = lean_string_append(x_46, x_47); -x_49 = l_List_toString___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save_spec__2(x_45); +x_49 = l_List_toString___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save_spec__2(x_44); x_50 = lean_string_append(x_48, x_49); lean_dec_ref(x_49); if (x_3 == 0) @@ -53865,8 +55683,8 @@ lean_dec(x_1); if (x_4 == 0) { lean_object* x_51; -x_51 = l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax(x_43, x_8, x_9); -lean_dec(x_43); +x_51 = l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax(x_41, x_8, x_9); +lean_dec(x_41); if (lean_obj_tag(x_51) == 0) { lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; @@ -53890,9 +55708,9 @@ x_62 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_62, 0, x_55); lean_ctor_set(x_62, 1, x_61); x_11 = x_50; -x_12 = x_44; +x_12 = x_45; x_13 = x_62; -x_14 = x_41; +x_14 = x_42; x_15 = lean_box(0); goto block_40; } @@ -53900,8 +55718,8 @@ else { uint8_t x_63; lean_dec_ref(x_50); -lean_dec_ref(x_44); -lean_dec_ref(x_41); +lean_dec_ref(x_45); +lean_dec_ref(x_42); lean_dec_ref(x_2); x_63 = !lean_is_exclusive(x_51); if (x_63 == 0) @@ -53923,8 +55741,8 @@ return x_65; else { lean_object* x_66; -x_66 = l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax(x_43, x_8, x_9); -lean_dec(x_43); +x_66 = l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax(x_41, x_8, x_9); +lean_dec(x_41); if (lean_obj_tag(x_66) == 0) { lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; @@ -53948,9 +55766,9 @@ x_77 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_77, 0, x_70); lean_ctor_set(x_77, 1, x_76); x_11 = x_50; -x_12 = x_44; +x_12 = x_45; x_13 = x_77; -x_14 = x_41; +x_14 = x_42; x_15 = lean_box(0); goto block_40; } @@ -53958,8 +55776,8 @@ else { uint8_t x_78; lean_dec_ref(x_50); -lean_dec_ref(x_44); -lean_dec_ref(x_41); +lean_dec_ref(x_45); +lean_dec_ref(x_42); lean_dec_ref(x_2); x_78 = !lean_is_exclusive(x_66); if (x_78 == 0) @@ -53984,8 +55802,8 @@ else if (x_4 == 0) { lean_object* x_81; -x_81 = l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax(x_43, x_8, x_9); -lean_dec(x_43); +x_81 = l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax(x_41, x_8, x_9); +lean_dec(x_41); if (lean_obj_tag(x_81) == 0) { lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; @@ -54006,9 +55824,9 @@ x_91 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_91, 0, x_85); lean_ctor_set(x_91, 1, x_90); x_11 = x_50; -x_12 = x_44; +x_12 = x_45; x_13 = x_91; -x_14 = x_41; +x_14 = x_42; x_15 = lean_box(0); goto block_40; } @@ -54016,8 +55834,8 @@ else { uint8_t x_92; lean_dec_ref(x_50); -lean_dec_ref(x_44); -lean_dec_ref(x_41); +lean_dec_ref(x_45); +lean_dec_ref(x_42); lean_dec_ref(x_2); lean_dec(x_1); x_92 = !lean_is_exclusive(x_81); @@ -54040,8 +55858,8 @@ return x_94; else { lean_object* x_95; -x_95 = l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax(x_43, x_8, x_9); -lean_dec(x_43); +x_95 = l_Lean_Meta_Grind_EMatchTheoremKind_toSyntax(x_41, x_8, x_9); +lean_dec(x_41); if (lean_obj_tag(x_95) == 0) { lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; @@ -54068,9 +55886,9 @@ x_108 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_108, 0, x_100); lean_ctor_set(x_108, 1, x_107); x_11 = x_50; -x_12 = x_44; +x_12 = x_45; x_13 = x_108; -x_14 = x_41; +x_14 = x_42; x_15 = lean_box(0); goto block_40; } @@ -54078,8 +55896,8 @@ else { uint8_t x_109; lean_dec_ref(x_50); -lean_dec_ref(x_44); -lean_dec_ref(x_41); +lean_dec_ref(x_45); +lean_dec_ref(x_42); lean_dec_ref(x_2); lean_dec(x_1); x_109 = !lean_is_exclusive(x_95); @@ -54107,11 +55925,11 @@ if (x_3 == 0) { lean_object* x_118; x_118 = l_Lean_Meta_Grind_EMatchTheoremKind_toAttribute___closed__2; -x_41 = x_114; -x_42 = lean_box(0); -x_43 = x_116; -x_44 = x_117; -x_45 = x_115; +x_41 = x_113; +x_42 = x_114; +x_43 = lean_box(0); +x_44 = x_115; +x_45 = x_117; x_46 = x_118; goto block_112; } @@ -54119,11 +55937,11 @@ else { lean_object* x_119; x_119 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7___closed__1; -x_41 = x_114; -x_42 = lean_box(0); -x_43 = x_116; -x_44 = x_117; -x_45 = x_115; +x_41 = x_113; +x_42 = x_114; +x_43 = lean_box(0); +x_44 = x_115; +x_45 = x_117; x_46 = x_119; goto block_112; } @@ -54149,10 +55967,10 @@ lean_inc(x_127); lean_dec(x_125); x_128 = l_List_toString___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_save_spec__2___closed__1; lean_inc(x_122); -x_113 = lean_box(0); +x_113 = x_122; x_114 = x_127; x_115 = x_126; -x_116 = x_122; +x_116 = lean_box(0); x_117 = x_128; goto block_120; } @@ -54166,10 +55984,10 @@ lean_inc(x_130); lean_dec(x_125); x_131 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_detectGeneralizedPatterns_x3f_spec__3_spec__3_spec__7___closed__1; lean_inc(x_122); -x_113 = lean_box(0); +x_113 = x_122; x_114 = x_130; x_115 = x_129; -x_116 = x_122; +x_116 = lean_box(0); x_117 = x_131; goto block_120; } @@ -55405,8 +57223,8 @@ goto block_57; block_16: { lean_object* x_14; lean_object* x_15; -x_14 = lean_array_fget(x_11, x_12); -lean_dec_ref(x_11); +x_14 = lean_array_fget(x_12, x_11); +lean_dec_ref(x_12); x_15 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_15, 0, x_14); return x_15; @@ -55414,7 +57232,7 @@ return x_15; block_40: { lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_array_get_size(x_17); +x_21 = lean_array_get_size(x_20); x_22 = lean_unsigned_to_nat(1u); x_23 = lean_nat_dec_eq(x_21, x_22); lean_dec(x_21); @@ -55424,12 +57242,12 @@ lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; x_24 = lean_box(0); x_25 = l_Lean_Meta_Grind_mkEMatchTheoremAndSuggest___closed__0; x_26 = 4; -x_27 = l_Lean_Meta_Tactic_TryThis_addSuggestions___redArg(x_1, x_17, x_24, x_25, x_24, x_26, x_8, x_9); +x_27 = l_Lean_Meta_Tactic_TryThis_addSuggestions___redArg(x_1, x_20, x_24, x_25, x_24, x_26, x_8, x_9); if (lean_obj_tag(x_27) == 0) { lean_dec_ref(x_27); -x_11 = x_18; -x_12 = x_20; +x_11 = x_17; +x_12 = x_18; x_13 = lean_box(0); goto block_16; } @@ -55458,8 +57276,8 @@ else { lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; x_31 = l_Lean_Meta_Grind_mkEMatchTheoremAndSuggest___closed__1; -x_32 = lean_array_get(x_31, x_17, x_20); -lean_dec_ref(x_17); +x_32 = lean_array_get(x_31, x_20, x_17); +lean_dec_ref(x_20); x_33 = lean_box(0); x_34 = l_Lean_Meta_Grind_mkEMatchTheoremAndSuggest___closed__2; x_35 = 4; @@ -55467,8 +57285,8 @@ x_36 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_1, x_32, x_33, x_34, x_33, x_3 if (lean_obj_tag(x_36) == 0) { lean_dec_ref(x_36); -x_11 = x_18; -x_12 = x_20; +x_11 = x_17; +x_12 = x_18; x_13 = lean_box(0); goto block_16; } @@ -55534,10 +57352,10 @@ lean_dec(x_7); lean_dec_ref(x_6); if (x_5 == 0) { -x_17 = x_44; +x_17 = x_46; x_18 = x_45; x_19 = lean_box(0); -x_20 = x_46; +x_20 = x_44; goto block_40; } else @@ -55552,17 +57370,17 @@ lean_dec_ref(x_44); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_1); -x_11 = x_45; -x_12 = x_46; +x_11 = x_46; +x_12 = x_45; x_13 = lean_box(0); goto block_16; } else { -x_17 = x_44; +x_17 = x_46; x_18 = x_45; x_19 = lean_box(0); -x_20 = x_46; +x_20 = x_44; goto block_40; } } @@ -56503,62 +58321,130 @@ l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheore lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__9); l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__10 = _init_l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__10(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_EMatchTheorem_0__Lean_Meta_Grind_EMatchTheoremKind_explainFailure___closed__10); +l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__0 = _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__0(); +lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__0); +l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__1 = _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__1); +l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__2 = _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__2); +l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__3 = _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__3); +l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__4 = _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedCnstrRHS_default___closed__4); +l_Lean_Meta_Grind_instInhabitedCnstrRHS_default = _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS_default(); +lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedCnstrRHS_default); +l_Lean_Meta_Grind_instInhabitedCnstrRHS = _init_l_Lean_Meta_Grind_instInhabitedCnstrRHS(); +lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedCnstrRHS); +l_Lean_Meta_Grind_instBEqCnstrRHS___closed__0 = _init_l_Lean_Meta_Grind_instBEqCnstrRHS___closed__0(); +lean_mark_persistent(l_Lean_Meta_Grind_instBEqCnstrRHS___closed__0); +l_Lean_Meta_Grind_instBEqCnstrRHS = _init_l_Lean_Meta_Grind_instBEqCnstrRHS(); +lean_mark_persistent(l_Lean_Meta_Grind_instBEqCnstrRHS); +l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__0 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__0(); +lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__0); +l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__1 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__1(); +lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__1); +l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__2 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__2(); +lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__2); +l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__3 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__3(); +lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__3); +l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__4 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__4(); +lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__4); +l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__5 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__5(); +lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__5); +l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__6 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__6(); +lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__6); +l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__7 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__7(); +lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprCnstrRHS_repr_spec__0___closed__7); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__0 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__0(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__0); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__1 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__1); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__2 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__2); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__3 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__3); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__4 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__4); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__5 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__5); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__6 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__6); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__7 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__7(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__7); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__8 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__8(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__8); +l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__9 = _init_l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__9(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS_repr___redArg___closed__9); +l_Lean_Meta_Grind_instReprCnstrRHS___closed__0 = _init_l_Lean_Meta_Grind_instReprCnstrRHS___closed__0(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS___closed__0); +l_Lean_Meta_Grind_instReprCnstrRHS = _init_l_Lean_Meta_Grind_instReprCnstrRHS(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprCnstrRHS); l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__0 = _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__0(); lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__0); -l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__1 = _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__1); -l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__2 = _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__2); -l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__3 = _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__3); -l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__4 = _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default___closed__4); l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default = _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default(); lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint_default); l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint = _init_l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint(); lean_mark_persistent(l_Lean_Meta_Grind_instInhabitedEMatchTheoremConstraint); -l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__0 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__0(); -lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__0); -l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__1 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__1(); -lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__1); -l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__2 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__2(); -lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__2); -l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__3 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__3(); -lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__3); -l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__4 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__4(); -lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__4); -l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__5 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__5(); -lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__5); -l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__6 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__6(); -lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__6); -l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__7 = _init_l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__7(); -lean_mark_persistent(l_Array_Array_repr___at___00Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr_spec__0___closed__7); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__0 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__0(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__0); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__1 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__1(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__1); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__2 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__2(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__2); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__3 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__3(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__3); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__4 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__4(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__4); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__5 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__5(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__5); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__6 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__6(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__6); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__7 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__7(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__7); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__8 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__8(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__8); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__9 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__9(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__9); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__10 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__10(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__10); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__11 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__11(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__11); -l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__12 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__12(); -lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___redArg___closed__12); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__0 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__0(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__0); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__1 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__1(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__1); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__2 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__2(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__2); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__3 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__3(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__3); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__4 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__4(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__4); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__5 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__5(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__5); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__6 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__6(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__6); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__7 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__7(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__7); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__8 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__8(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__8); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__9 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__9(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__9); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__10 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__10(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__10); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__11 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__11(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__11); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__12 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__12(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__12); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__13 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__13(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__13); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__14 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__14(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__14); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__15 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__15(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__15); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__16 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__16(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__16); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__17 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__17(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__17); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__18 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__18(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__18); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__19 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__19(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__19); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__20 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__20(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__20); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__21 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__21(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__21); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__22 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__22(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__22); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__23 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__23(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__23); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__24 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__24(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__24); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__25 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__25(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__25); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__26 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__26(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__26); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__27 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__27(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__27); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__28 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__28(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__28); +l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__29 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__29(); +lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint_repr___closed__29); l_Lean_Meta_Grind_instReprEMatchTheoremConstraint___closed__0 = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint___closed__0(); lean_mark_persistent(l_Lean_Meta_Grind_instReprEMatchTheoremConstraint___closed__0); l_Lean_Meta_Grind_instReprEMatchTheoremConstraint = _init_l_Lean_Meta_Grind_instReprEMatchTheoremConstraint(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/Parser.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/Parser.c index 59d2d9f3cd..611640c68c 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/Parser.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/Parser.c @@ -13,261 +13,602 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__13; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__3; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isValue; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55(); static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__13; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__1; lean_object* l_Lean_Parser_many1Indent_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__3; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__10; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__5; lean_object* l_Lean_Parser_Term_attrKind_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm_formatter__5___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13(); -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21(); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__10; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__12; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25___closed__0; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt___closed__5; lean_object* l_Lean_Parser_many_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47___boxed(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__7; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__8; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__0; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__12; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91(); lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern___closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63(); static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__11; -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__2; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__18; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__14; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__2; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__0; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__7; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__10; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__5; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__5; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__10; -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13___closed__0; -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25(); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__13; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__9; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__10; LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern; lean_object* l_Lean_Parser_leadingNode(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__7; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__3; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__3; static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_attrKind_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt___closed__2; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; static lean_object* l_Lean_Parser_Command_grindPattern___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_check___closed__8; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__1; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstrs; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__13; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__2; lean_object* l_Lean_Parser_optional(lean_object*); lean_object* l_Lean_Parser_termParser_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_nonReservedSymbol(lean_object*, uint8_t); static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__2; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__1; static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern__1___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__5; static lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__7; static lean_object* l_Lean_Parser_Command_initGrindNorm_formatter___closed__5; static lean_object* l_Lean_Parser_Command_grindPattern___closed__16; static lean_object* l_Lean_Parser_Command_initGrindNorm_formatter___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_genLt; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__12; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71(); static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__4; +lean_object* l_Lean_Parser_orelse(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__3; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__8; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__2; static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__5; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__4; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__16; LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt___closed__8; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__9; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround___closed__4; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__9; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__11; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__21; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5(); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_check___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__0; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__11; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__5; lean_object* l_Lean_Parser_ppLine_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern___closed__9; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__7; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__10; static lean_object* l_Lean_Parser_Command_initGrindNorm_formatter___closed__3; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_guard; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__9; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__2; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__9; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__9; -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_check___closed__7; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__0; static lean_object* l_Lean_Parser_Command_initGrindNorm_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41(); static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__0; lean_object* l_Lean_Parser_withPosition(lean_object*); static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__8; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__1; static lean_object* l_Lean_Parser_Command_grindPattern___closed__6; +lean_object* l_Lean_Parser_numLit_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79(); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59(); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21(); static lean_object* l_Lean_Parser_Command_grindPattern___closed__13; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__14; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__5; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21___boxed(lean_object*); static lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround___closed__0; lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__6; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__0; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__1; lean_object* l_Lean_Parser_ident_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__8; +lean_object* l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt___closed__7; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87___boxed(lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__0; extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__4; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59___closed__0; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_check___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97(); static lean_object* l_Lean_Parser_Command_grindPattern___closed__17; LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstrs_formatter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern___closed__11; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__8; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__2; lean_object* l_Lean_Parser_darrow_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__5; extern lean_object* l_Lean_Parser_Term_attrKind; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__4; lean_object* l_Lean_ppLine_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__1; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__4; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1(lean_object*, lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; lean_object* l_Lean_Parser_symbol(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__8; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__15; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__5; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_formatter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_grindPattern___closed__12; static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__5; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__12; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__5; lean_object* l_Lean_Parser_symbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__8; lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm_parenthesizer__9___closed__0; extern lean_object* l_Lean_Parser_darrow; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__9; static lean_object* l_Lean_Parser_Command_initGrindNorm_formatter___closed__0; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstrs_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_grindPattern___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__11; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Indent_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__10; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__0; static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm_parenthesizer__9(); static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__6; static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_grindPattern___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__6; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__10; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__7; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__11; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_check___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt; +lean_object* l_Lean_Parser_atomic_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern__1(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__2; lean_object* l_Lean_Parser_andthen(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__2; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79___closed__0; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__8; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__0; lean_object* l_Lean_Parser_checkColGe(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__7; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91___closed__0; +lean_object* l_Lean_Parser_atomic(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround___closed__8; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__9; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__7; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__11; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__11; -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__3; static lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm_formatter__5___closed__0; +lean_object* l_Lean_Name_mkStr6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37___boxed(lean_object*); lean_object* l_Lean_Parser_many(lean_object*); static lean_object* l_Lean_Parser_Command_initGrindNorm_formatter___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75(); static lean_object* l_Lean_Parser_Command_initGrindNorm_formatter___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__12; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75___closed__0; static lean_object* l_Lean_Parser_Command_grindPattern___closed__3; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__13; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__10; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__3; lean_object* l_Lean_Parser_termParser_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67(); static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__0; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_check___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt___closed__5; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__7; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__4; static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__3; lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq; +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__8; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround___closed__3; extern lean_object* l_Lean_Parser_ident; -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_initGrindNorm_formatter___closed__7; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__10; lean_object* l_Lean_Parser_sepBy1_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern__1___boxed(lean_object*); lean_object* l_Lean_Parser_symbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__20; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__14; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_defEq; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__7; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0; static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isGround; lean_object* l_Lean_Parser_ident_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_withCache(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern___closed__7; -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__9; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt___closed__3; static lean_object* l_Lean_Parser_Command_grindPattern___closed__10; static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__8; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround___closed__5; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__2; extern lean_object* l_Lean_Parser_skip; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__19; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__10; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__1; lean_object* l_Lean_Parser_optional_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optional_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt___closed__4; lean_object* l_Lean_Parser_addBuiltinLeadingParser(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__2; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround___closed__7; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt___closed__6; static lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer___closed__6; -static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59___boxed(lean_object*); lean_object* l_Lean_Parser_many1(lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__9; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__7; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__3; static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern__1___closed__1; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__17; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_check___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__8; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__7; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkColGe_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__15; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0; static lean_object* l_Lean_Parser_Command_grindPattern___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__8; static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__11; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstr; lean_object* l_Lean_Parser_sepBy1_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_check___closed__4; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__1; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__10; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__13; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__9; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t, uint8_t); +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__1; lean_object* l_Lean_Parser_darrow_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm_parenthesizer__9___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt___closed__7; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_numLit; lean_object* l_Lean_Name_mkStr1(lean_object*); extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37(); +extern lean_object* l_Lean_Parser_Command_check; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_initGrindNorm_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__2; static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__12; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51___boxed(lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__5; static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__0; +lean_object* l_Lean_Parser_nonReservedSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_formatter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern___closed__18; static lean_object* l_Lean_Parser_Command_grindPattern___closed__14; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__16; +static lean_object* l_Lean_Parser_Command_GrindCnstr_check___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_grindPatternCnstrs___closed__12; +lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_genLt___closed__8; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__17; +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__1; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__0; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__0; +lean_object* l_Lean_Parser_Command_check_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_check; +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97___closed__0; +lean_object* l_Lean_Parser_Command_check_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__3; static lean_object* l_Lean_Parser_Command_grindPattern_formatter___closed__7; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5(); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__8; static lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__7; -static lean_object* l_Lean_Parser_Command_grindPatternCnstr___closed__12; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__2; +lean_object* l_Lean_Parser_numLit_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_defEq___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isValue___closed__9; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75___boxed(lean_object*); static lean_object* l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9(); static lean_object* l_Lean_Parser_Command_grindPattern_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_guard___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm_formatter__5(); LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm__1(); +static lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47___closed__0; static lean_object* l_Lean_Parser_Command_initGrindNorm___closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101___boxed(lean_object*); static lean_object* l_Lean_Parser_Command_grindPattern___closed__15; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__4; +static lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__0; +static lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; lean_object* l_Lean_Parser_termParser(lean_object*); -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__0() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__0() { _start: { lean_object* x_1; @@ -275,7 +616,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__1() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__1() { _start: { lean_object* x_1; @@ -283,7 +624,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__2() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__2() { _start: { lean_object* x_1; @@ -291,39 +632,66 @@ x_1 = lean_mk_string_unchecked("Command", 7, 7); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__3() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("grindPatternCnstr", 17, 17); +x_1 = lean_mk_string_unchecked("GrindCnstr", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__4() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__3; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isValue", 7, 7); +return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__5() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__6() { _start: { uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = 1; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__4; x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__6() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("is_value ", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__8() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__7; +x_3 = l_Lean_Parser_nonReservedSymbol(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__9() { _start: { lean_object* x_1; @@ -331,24 +699,798 @@ x_1 = l_Lean_Parser_ident; return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__7() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__10() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(" =/= ", 5, 5); +x_1 = lean_mk_string_unchecked(";", 1, 1); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__8() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__7; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__10; x_2 = l_Lean_Parser_symbol(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__9() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__11; +x_2 = l_Lean_Parser_optional(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__12; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__9; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__13; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__8; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__14; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__15; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__6; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__16; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__17; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isStrictValue", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("is_strict_value ", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__3; +x_3 = l_Lean_Parser_nonReservedSymbol(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__13; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__4; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__5; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__7; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("isGround", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("is_ground ", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__3; +x_3 = l_Lean_Parser_nonReservedSymbol(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__13; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__4; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__5; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__7; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("sizeLt", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("size ", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__3; +x_3 = l_Lean_Parser_nonReservedSymbol(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" < ", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__5; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_numLit; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__12; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__7; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__8; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__6; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__9; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__9; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__10; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__4; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__11; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__12; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__13; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__14; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("depthLt", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("depth ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__3; +x_3 = l_Lean_Parser_nonReservedSymbol(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__10; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__4; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__5; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__7; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("genLt", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("gen ", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__3; +x_3 = l_Lean_Parser_nonReservedSymbol(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__10; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__4; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__5; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__7; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("maxInsts", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("max_insts ", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__3; +x_3 = l_Lean_Parser_nonReservedSymbol(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__8; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__4; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__5; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__7; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("guard", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_guard___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_guard___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("guard ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__3; +x_3 = l_Lean_Parser_nonReservedSymbol(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__5() { _start: { lean_object* x_1; @@ -356,16 +1498,16 @@ x_1 = lean_mk_string_unchecked("irrelevant", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__10() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__9; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__5; x_2 = l_Lean_Parser_checkColGe(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__11() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -374,108 +1516,524 @@ x_2 = l_Lean_Parser_termParser(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(";", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__12; -x_2 = l_Lean_Parser_symbol(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__13; -x_2 = l_Lean_Parser_optional(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__15() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__14; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__11; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__12; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__7; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__16() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__15; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__10; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__8; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__6; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__17() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__16; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__8; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__9; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__4; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__17; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__6; -x_3 = l_Lean_Parser_andthen(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__19() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__18; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__10; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; +x_3 = l_Lean_Parser_Command_GrindCnstr_guard___closed__1; x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__20() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__19; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__5; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__11; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__2; x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__21() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__20; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__12; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__1; x_3 = l_Lean_Parser_withCache(x_2, x_1); return x_3; } } +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__13; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("check", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_check___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_check___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_check___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("check ", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_check___closed__3; +x_3 = l_Lean_Parser_nonReservedSymbol(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__9; +x_2 = l_Lean_Parser_Command_GrindCnstr_check___closed__4; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_check___closed__5; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_check___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_check___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_check___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_check___closed__7; +x_2 = l_Lean_Parser_Command_GrindCnstr_check___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_check() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_check___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("notDefEq", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" =/= ", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__3; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__9; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__5; +x_2 = l_Lean_Parser_atomic(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__9; +x_2 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__6; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__7; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__8; +x_2 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__9; +x_2 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__10; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("defEq", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__2() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__0; +x_5 = l_Lean_Parser_mkAntiquot(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" =\?= ", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__3; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__9; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__5; +x_2 = l_Lean_Parser_atomic(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard___closed__9; +x_2 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__6; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__7; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__8; +x_2 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__9; +x_2 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__10; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_check; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq; +x_2 = l_Lean_Parser_Command_GrindCnstr_notDefEq; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; +x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__3; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__5; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__7; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__8; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__9; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__21; +x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__10; return x_1; } } @@ -492,9 +2050,9 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Parser_Command_grindPatternCnstrs___closed__0; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -551,7 +2109,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPatternCnstrs___closed__6; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__10; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__6; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -636,9 +2194,9 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Parser_Command_grindPattern___closed__0; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -712,7 +2270,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_1 = 0; x_2 = l_Lean_Parser_Command_grindPattern___closed__8; x_3 = l_Lean_Parser_Command_grindPattern___closed__7; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__11; +x_4 = l_Lean_Parser_Command_GrindCnstr_guard___closed__7; x_5 = l_Lean_Parser_sepBy1(x_4, x_3, x_2, x_1); return x_5; } @@ -751,7 +2309,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPattern___closed__12; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__9; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -852,14 +2410,14 @@ x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindP return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__0() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__0() { _start: { uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_1 = 0; x_2 = 1; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__4; x_5 = lean_box(x_2); x_6 = lean_box(x_1); x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); @@ -870,7 +2428,20 @@ lean_closure_set(x_7, 3, x_6); return x_7; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__1() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__7; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2() { _start: { lean_object* x_1; @@ -878,17 +2449,872 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ident_formatter___boxed), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__2() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__7; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__10; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__3() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__5; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__6; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__7; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PrettyPrinter_formatterAttribute; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("formatter", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__4; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__2; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__5; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__3; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__5; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__3; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_isGround_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isGround_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_numLit_formatter___boxed), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__5; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__7; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__8; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__3; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_depthLt_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__3; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_genLt_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_genLt_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__3; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_guard___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_guard___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -898,33 +3324,439 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__4() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkColGe_formatter___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__5; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_guard___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__6; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_guard_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_guard_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_guard___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_guard_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__12; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__5() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter___boxed), 6, 1); +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_atomic_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__4; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__5; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_atomic_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__4; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__5; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_formatter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_defEq_formatter(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_defEq_formatter___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_check_formatter___boxed), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_defEq_formatter___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__1; +x_2 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__0; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_guard_formatter___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_genLt_formatter___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__5; -x_2 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; @@ -935,8 +3767,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__6; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkColGe_formatter___boxed), 5, 0); -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; @@ -947,8 +3779,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__7; -x_2 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__2; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isGround_formatter___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; @@ -959,33 +3791,19 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__8; -x_2 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__1; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__9; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; -x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); -lean_closure_set(x_4, 0, x_3); -lean_closure_set(x_4, 1, x_2); -lean_closure_set(x_4, 2, x_1); -return x_4; -} -} LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstr_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__0; -x_7 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__10; +x_6 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___boxed), 5, 0); +x_7 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__9; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4); return x_8; } @@ -998,55 +3816,6 @@ x_6 = l_Lean_Parser_Command_grindPatternCnstr_formatter(x_1, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_PrettyPrinter_formatterAttribute; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("formatter", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__1; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__3; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_5 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; -x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5() { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__0; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; -x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__2; -x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_grindPatternCnstr_formatter___boxed), 5, 0); -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5(); -return x_2; -} -} static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__0() { _start: { @@ -1141,36 +3910,36 @@ x_6 = l_Lean_Parser_Command_grindPatternCnstrs_formatter(x_1, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9___closed__0() { +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__1; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; x_2 = l_Lean_Parser_Command_grindPatternCnstrs___closed__0; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_5 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9() { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47() { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__0; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; x_3 = l_Lean_Parser_Command_grindPatternCnstrs___closed__1; -x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9___closed__0; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_grindPatternCnstrs_formatter___boxed), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9(); +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47(); return x_2; } } @@ -1235,7 +4004,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_1 = 0; x_2 = l_Lean_Parser_Command_grindPattern_formatter___closed__4; x_3 = l_Lean_Parser_Command_grindPattern___closed__7; -x_4 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__2; x_5 = lean_box(x_1); x_6 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1_formatter___boxed), 9, 4); lean_closure_set(x_6, 0, x_4); @@ -1284,7 +4053,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPattern_formatter___closed__8; -x_2 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -1347,47 +4116,47 @@ x_6 = l_Lean_Parser_Command_grindPattern_formatter(x_1, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13___closed__0() { +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__1; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; x_2 = l_Lean_Parser_Command_grindPattern___closed__0; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_5 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13() { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51() { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__0; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; x_3 = l_Lean_Parser_Command_grindPattern___closed__1; -x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13___closed__0; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_grindPattern_formatter___boxed), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13(); +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51(); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__0() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__0() { _start: { uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_1 = 0; x_2 = 1; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__3; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__4; x_5 = lean_box(x_2); x_6 = lean_box(x_1); x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); @@ -1398,7 +4167,20 @@ lean_closure_set(x_7, 3, x_6); return x_7; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__1() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__7; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2() { _start: { lean_object* x_1; @@ -1406,17 +4188,872 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ident_parenthesizer___boxed), 5, return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__2() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__7; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__10; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__3() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__5; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__6; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__7; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PrettyPrinter_parenthesizerAttribute; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("parenthesizer", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__4; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__5; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__2; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__5; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__3; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__5; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__3; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isGround___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_numLit_parenthesizer___boxed), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__5; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__7; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__8; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__3; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__3; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_genLt___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__3; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_guard___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_guard___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__3; +x_3 = lean_box(x_1); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_2); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -1426,33 +5063,411 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__4() { +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__5; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_guard___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__6; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_guard___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_guard___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83(); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__12; +x_1 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__5() { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___lam__0(x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_6 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +x_7 = l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__0; +x_8 = lean_unsigned_to_nat(1024u); +x_9 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2; +x_10 = l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__1; +x_11 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___lam__0___boxed), 7, 2); +lean_closure_set(x_11, 0, x_9); +lean_closure_set(x_11, 1, x_10); +x_12 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__4; +x_13 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_13, 0, x_11); +lean_closure_set(x_13, 1, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_14, 0, x_6); +lean_closure_set(x_14, 1, x_8); +lean_closure_set(x_14, 2, x_13); +x_15 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_7, x_14, x_1, x_2, x_3, x_4); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__0() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = 0; +x_2 = 1; +x_3 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__0; +x_5 = lean_box(x_2); +x_6 = lean_box(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_4); +lean_closure_set(x_7, 1, x_3); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer___boxed), 6, 1); +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___lam__0___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__3; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__4; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer(x_1, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_6 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; +x_7 = l_Lean_Name_mkStr6(x_6, x_5, x_4, x_3, x_2, x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_defEq___closed__1; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___boxed), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91(); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_check_parenthesizer___boxed), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__0; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; +} +} static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__5; -x_2 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; @@ -1463,8 +5478,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__6; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed), 5, 0); -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; @@ -1475,8 +5490,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__7; -x_2 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__2; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; @@ -1487,34 +5502,20 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__8; -x_2 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__1; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__9; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; -x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); -lean_closure_set(x_4, 0, x_3); -lean_closure_set(x_4, 1, x_2); -lean_closure_set(x_4, 2, x_1); -return x_4; -} -} LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPatternCnstr_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__0; -x_7 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__10; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); +x_6 = lean_alloc_closure((void*)(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___boxed), 5, 0); +x_7 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__9; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4); return x_8; } } @@ -1526,55 +5527,6 @@ x_6 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer(x_1, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_PrettyPrinter_parenthesizerAttribute; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("parenthesizer", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__1; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__3; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_5 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; -x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17() { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__0; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__4; -x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__2; -x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___boxed), 5, 0); -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17(); -return x_2; -} -} static lean_object* _init_l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__0() { _start: { @@ -1677,36 +5629,36 @@ x_6 = l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer(x_1, x_2, x_3, x_4) return x_6; } } -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21___closed__0() { +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__1; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; x_2 = l_Lean_Parser_Command_grindPatternCnstrs___closed__0; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_5 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21() { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97() { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__0; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; x_3 = l_Lean_Parser_Command_grindPatternCnstrs___closed__1; -x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21___closed__0; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___boxed), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21(); +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97(); return x_2; } } @@ -1771,7 +5723,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_1 = 0; x_2 = l_Lean_Parser_Command_grindPattern_parenthesizer___closed__4; x_3 = l_Lean_Parser_Command_grindPattern___closed__7; -x_4 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__3; +x_4 = l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__2; x_5 = lean_box(x_1); x_6 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1_parenthesizer___boxed), 9, 4); lean_closure_set(x_6, 0, x_4); @@ -1820,7 +5772,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_grindPattern_parenthesizer___closed__8; -x_2 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -1883,36 +5835,36 @@ x_6 = l_Lean_Parser_Command_grindPattern_parenthesizer(x_1, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25___closed__0() { +static lean_object* _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__1; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; x_2 = l_Lean_Parser_Command_grindPattern___closed__0; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_5 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25() { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101() { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__0; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; x_3 = l_Lean_Parser_Command_grindPattern___closed__1; -x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25___closed__0; +x_4 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_grindPattern_parenthesizer___boxed), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25(); +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101(); return x_2; } } @@ -1929,9 +5881,9 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Parser_Command_initGrindNorm___closed__0; -x_2 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_2 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -1969,7 +5921,7 @@ static lean_object* _init_l_Lean_Parser_Command_initGrindNorm___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr___closed__6; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__9; x_2 = l_Lean_Parser_many(x_1); return x_2; } @@ -2112,7 +6064,7 @@ static lean_object* _init_l_Lean_Parser_Command_initGrindNorm_formatter___closed _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__1; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_many_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -2200,11 +6152,11 @@ static lean_object* _init_l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__1; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1; x_2 = l_Lean_Parser_Command_initGrindNorm___closed__0; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_5 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } @@ -2213,7 +6165,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_P _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__0; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0; x_3 = l_Lean_Parser_Command_initGrindNorm___closed__1; x_4 = l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm_formatter__5___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_initGrindNorm_formatter___boxed), 5, 0); @@ -2261,7 +6213,7 @@ static lean_object* _init_l_Lean_Parser_Command_initGrindNorm_parenthesizer___cl _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__1; +x_1 = l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_many_parenthesizer___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -2349,11 +6301,11 @@ static lean_object* _init_l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__1; +x_1 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1; x_2 = l_Lean_Parser_Command_initGrindNorm___closed__0; -x_3 = l_Lean_Parser_Command_grindPatternCnstr___closed__2; -x_4 = l_Lean_Parser_Command_grindPatternCnstr___closed__1; -x_5 = l_Lean_Parser_Command_grindPatternCnstr___closed__0; +x_3 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__2; +x_4 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__1; +x_5 = l_Lean_Parser_Command_GrindCnstr_isValue___closed__0; x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } @@ -2362,7 +6314,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_P _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__0; +x_2 = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0; x_3 = l_Lean_Parser_Command_initGrindNorm___closed__1; x_4 = l_Lean_Parser_Command_initGrindNorm___regBuiltin_Lean_Parser_Command_initGrindNorm_parenthesizer__9___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Command_initGrindNorm_parenthesizer___boxed), 5, 0); @@ -2387,6 +6339,274 @@ _G_initialized = true; res = initialize_Lean_Parser_Command(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__0); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__1); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__2); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__3); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__4); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__5); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__6); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__7); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__8); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__9 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__9); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__10 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__10); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__11 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__11); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__12 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__12); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__13 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__13); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__14 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__14(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__14); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__15 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__15(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__15); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__16 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__16); +l_Lean_Parser_Command_GrindCnstr_isValue___closed__17 = _init_l_Lean_Parser_Command_GrindCnstr_isValue___closed__17(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue___closed__17); +l_Lean_Parser_Command_GrindCnstr_isValue = _init_l_Lean_Parser_Command_GrindCnstr_isValue(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue); +l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__0); +l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__1); +l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__2); +l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__3); +l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__4); +l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__5); +l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__6); +l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__7); +l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue___closed__8); +l_Lean_Parser_Command_GrindCnstr_isStrictValue = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue); +l_Lean_Parser_Command_GrindCnstr_isGround___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround___closed__0); +l_Lean_Parser_Command_GrindCnstr_isGround___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround___closed__1); +l_Lean_Parser_Command_GrindCnstr_isGround___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround___closed__2); +l_Lean_Parser_Command_GrindCnstr_isGround___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround___closed__3); +l_Lean_Parser_Command_GrindCnstr_isGround___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround___closed__4); +l_Lean_Parser_Command_GrindCnstr_isGround___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround___closed__5); +l_Lean_Parser_Command_GrindCnstr_isGround___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround___closed__6); +l_Lean_Parser_Command_GrindCnstr_isGround___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround___closed__7); +l_Lean_Parser_Command_GrindCnstr_isGround___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_isGround___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround___closed__8); +l_Lean_Parser_Command_GrindCnstr_isGround = _init_l_Lean_Parser_Command_GrindCnstr_isGround(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__0); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__1); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__2); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__3); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__4); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__5); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__6); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__7); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__8); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__9 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__9); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__10 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__10); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__11 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__11); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__12 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__12); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__13 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__13); +l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__14 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__14(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt___closed__14); +l_Lean_Parser_Command_GrindCnstr_sizeLt = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt); +l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt___closed__0); +l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt___closed__1); +l_Lean_Parser_Command_GrindCnstr_depthLt___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt___closed__2); +l_Lean_Parser_Command_GrindCnstr_depthLt___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt___closed__3); +l_Lean_Parser_Command_GrindCnstr_depthLt___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt___closed__4); +l_Lean_Parser_Command_GrindCnstr_depthLt___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt___closed__5); +l_Lean_Parser_Command_GrindCnstr_depthLt___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt___closed__6); +l_Lean_Parser_Command_GrindCnstr_depthLt___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt___closed__7); +l_Lean_Parser_Command_GrindCnstr_depthLt___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt___closed__8); +l_Lean_Parser_Command_GrindCnstr_depthLt = _init_l_Lean_Parser_Command_GrindCnstr_depthLt(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt); +l_Lean_Parser_Command_GrindCnstr_genLt___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt___closed__0); +l_Lean_Parser_Command_GrindCnstr_genLt___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt___closed__1); +l_Lean_Parser_Command_GrindCnstr_genLt___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt___closed__2); +l_Lean_Parser_Command_GrindCnstr_genLt___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt___closed__3); +l_Lean_Parser_Command_GrindCnstr_genLt___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt___closed__4); +l_Lean_Parser_Command_GrindCnstr_genLt___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt___closed__5); +l_Lean_Parser_Command_GrindCnstr_genLt___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt___closed__6); +l_Lean_Parser_Command_GrindCnstr_genLt___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt___closed__7); +l_Lean_Parser_Command_GrindCnstr_genLt___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_genLt___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt___closed__8); +l_Lean_Parser_Command_GrindCnstr_genLt = _init_l_Lean_Parser_Command_GrindCnstr_genLt(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt); +l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__0); +l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__1); +l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__2); +l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__3); +l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__4); +l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__5); +l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__6); +l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__7); +l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts___closed__8); +l_Lean_Parser_Command_GrindCnstr_maxInsts = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts); +l_Lean_Parser_Command_GrindCnstr_guard___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__0); +l_Lean_Parser_Command_GrindCnstr_guard___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__1); +l_Lean_Parser_Command_GrindCnstr_guard___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__2); +l_Lean_Parser_Command_GrindCnstr_guard___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__3); +l_Lean_Parser_Command_GrindCnstr_guard___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__4); +l_Lean_Parser_Command_GrindCnstr_guard___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__5); +l_Lean_Parser_Command_GrindCnstr_guard___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__6); +l_Lean_Parser_Command_GrindCnstr_guard___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__7); +l_Lean_Parser_Command_GrindCnstr_guard___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__8); +l_Lean_Parser_Command_GrindCnstr_guard___closed__9 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__9); +l_Lean_Parser_Command_GrindCnstr_guard___closed__10 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__10); +l_Lean_Parser_Command_GrindCnstr_guard___closed__11 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__11); +l_Lean_Parser_Command_GrindCnstr_guard___closed__12 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__12); +l_Lean_Parser_Command_GrindCnstr_guard___closed__13 = _init_l_Lean_Parser_Command_GrindCnstr_guard___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard___closed__13); +l_Lean_Parser_Command_GrindCnstr_guard = _init_l_Lean_Parser_Command_GrindCnstr_guard(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard); +l_Lean_Parser_Command_GrindCnstr_check___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_check___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check___closed__0); +l_Lean_Parser_Command_GrindCnstr_check___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_check___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check___closed__1); +l_Lean_Parser_Command_GrindCnstr_check___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_check___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check___closed__2); +l_Lean_Parser_Command_GrindCnstr_check___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_check___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check___closed__3); +l_Lean_Parser_Command_GrindCnstr_check___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_check___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check___closed__4); +l_Lean_Parser_Command_GrindCnstr_check___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_check___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check___closed__5); +l_Lean_Parser_Command_GrindCnstr_check___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_check___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check___closed__6); +l_Lean_Parser_Command_GrindCnstr_check___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_check___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check___closed__7); +l_Lean_Parser_Command_GrindCnstr_check___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_check___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check___closed__8); +l_Lean_Parser_Command_GrindCnstr_check = _init_l_Lean_Parser_Command_GrindCnstr_check(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_check); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__0); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__1); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__2); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__3); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__4); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__5); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__6); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__7); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__8); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__9 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__9); +l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__10 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq___closed__10); +l_Lean_Parser_Command_GrindCnstr_notDefEq = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__0); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__1); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__2); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__3); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__4); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__5); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__6); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__7); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__8); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__9 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__9); +l_Lean_Parser_Command_GrindCnstr_defEq___closed__10 = _init_l_Lean_Parser_Command_GrindCnstr_defEq___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq___closed__10); +l_Lean_Parser_Command_GrindCnstr_defEq = _init_l_Lean_Parser_Command_GrindCnstr_defEq(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq); l_Lean_Parser_Command_grindPatternCnstr___closed__0 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__0(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__0); l_Lean_Parser_Command_grindPatternCnstr___closed__1 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__1(); @@ -2409,28 +6629,6 @@ l_Lean_Parser_Command_grindPatternCnstr___closed__9 = _init_l_Lean_Parser_Comman lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__9); l_Lean_Parser_Command_grindPatternCnstr___closed__10 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__10(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__10); -l_Lean_Parser_Command_grindPatternCnstr___closed__11 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__11); -l_Lean_Parser_Command_grindPatternCnstr___closed__12 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__12); -l_Lean_Parser_Command_grindPatternCnstr___closed__13 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__13); -l_Lean_Parser_Command_grindPatternCnstr___closed__14 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__14); -l_Lean_Parser_Command_grindPatternCnstr___closed__15 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__15(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__15); -l_Lean_Parser_Command_grindPatternCnstr___closed__16 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__16(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__16); -l_Lean_Parser_Command_grindPatternCnstr___closed__17 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__17(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__17); -l_Lean_Parser_Command_grindPatternCnstr___closed__18 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__18(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__18); -l_Lean_Parser_Command_grindPatternCnstr___closed__19 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__19(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__19); -l_Lean_Parser_Command_grindPatternCnstr___closed__20 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__20(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__20); -l_Lean_Parser_Command_grindPatternCnstr___closed__21 = _init_l_Lean_Parser_Command_grindPatternCnstr___closed__21(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr___closed__21); l_Lean_Parser_Command_grindPatternCnstr = _init_l_Lean_Parser_Command_grindPatternCnstr(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr); l_Lean_Parser_Command_grindPatternCnstrs___closed__0 = _init_l_Lean_Parser_Command_grindPatternCnstrs___closed__0(); @@ -2510,6 +6708,172 @@ lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern__1(); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__3); +l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__4); +l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__5); +l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__6); +l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_formatter___closed__7); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__0); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__1); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__2 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5___closed__2); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_formatter__5(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_formatter__9(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround_formatter___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_formatter__13(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__3); +l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__4); +l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__5); +l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__6); +l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__7); +l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_formatter___closed__8); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_formatter__17(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt_formatter___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_formatter__21(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt_formatter___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_formatter__25(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts_formatter___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_formatter__29(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__3); +l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__4); +l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__5); +l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_formatter___closed__6); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_formatter__33(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__3); +l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__4); +l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq_formatter___closed__5); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_formatter__37(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__0); +l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__1); +l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__2); +l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__3); +l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__4); +l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_formatter___closed__5); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_formatter__41(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); }l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__0 = _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__0(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__0); l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__1 = _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__1(); @@ -2530,18 +6894,7 @@ l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__8 = _init_l_Lean_Par lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__8); l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__9 = _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__9(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__9); -l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__10 = _init_l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr_formatter___closed__10); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__0(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__0); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__1 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__1(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__1); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__2 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__2(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5___closed__2); -if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_formatter__5(); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -}l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__0 = _init_l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__0(); +l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__0 = _init_l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__0(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__0); l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__1 = _init_l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__1); @@ -2553,9 +6906,9 @@ l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__4 = _init_l_Lean_Pa lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__4); l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__5 = _init_l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__5(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstrs_formatter___closed__5); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9___closed__0(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9___closed__0); -if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__9(); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_formatter__47(); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Command_grindPattern_formatter___closed__0 = _init_l_Lean_Parser_Command_grindPattern_formatter___closed__0(); @@ -2584,9 +6937,165 @@ l_Lean_Parser_Command_grindPattern_formatter___closed__11 = _init_l_Lean_Parser_ lean_mark_persistent(l_Lean_Parser_Command_grindPattern_formatter___closed__11); l_Lean_Parser_Command_grindPattern_formatter___closed__12 = _init_l_Lean_Parser_Command_grindPattern_formatter___closed__12(); lean_mark_persistent(l_Lean_Parser_Command_grindPattern_formatter___closed__12); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13___closed__0(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13___closed__0); -if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__13(); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_formatter__51(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__1); +l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__2); +l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__3); +l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__4); +l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__5); +l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__6); +l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer___closed__7); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__0); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__1); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__2 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55___closed__2); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isValue_parenthesizer__55(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__1); +l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__2); +l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isStrictValue_parenthesizer__59(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__1); +l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__2); +l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_isGround_parenthesizer__63(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__1); +l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__2); +l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__3); +l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__4); +l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__5); +l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__6); +l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__7 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__7); +l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__8 = _init_l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer___closed__8); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_sizeLt_parenthesizer__67(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__1); +l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__2); +l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_depthLt_parenthesizer__71(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__1); +l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__2); +l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_genLt_parenthesizer__75(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__1); +l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__2); +l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer___closed__3); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_maxInsts_parenthesizer__79(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__1); +l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__2); +l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__3); +l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__4); +l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__5); +l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_guard_parenthesizer___closed__6); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_guard_parenthesizer__83(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer___closed__1); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_notDefEq_parenthesizer__87(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__0); +l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__1); +l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__2); +l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__3); +l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer___closed__4); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_GrindCnstr_defEq_parenthesizer__91(); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__0(); @@ -2609,18 +7118,7 @@ l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__8 = _init_l_Lean lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__8); l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__9 = _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__9(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__9); -l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__10 = _init_l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstr_parenthesizer___closed__10); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__0(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__0); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__1 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__1(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__1); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__2 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__2(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17___closed__2); -if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstr_parenthesizer__17(); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -}l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__0(); +l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__0(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__0); l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__1); @@ -2634,9 +7132,9 @@ l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__5 = _init_l_Lea lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__5); l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__6(); lean_mark_persistent(l_Lean_Parser_Command_grindPatternCnstrs_parenthesizer___closed__6); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21___closed__0(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21___closed__0); -if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__21(); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPatternCnstrs_parenthesizer__97(); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Command_grindPattern_parenthesizer___closed__0 = _init_l_Lean_Parser_Command_grindPattern_parenthesizer___closed__0(); @@ -2665,9 +7163,9 @@ l_Lean_Parser_Command_grindPattern_parenthesizer___closed__11 = _init_l_Lean_Par lean_mark_persistent(l_Lean_Parser_Command_grindPattern_parenthesizer___closed__11); l_Lean_Parser_Command_grindPattern_parenthesizer___closed__12 = _init_l_Lean_Parser_Command_grindPattern_parenthesizer___closed__12(); lean_mark_persistent(l_Lean_Parser_Command_grindPattern_parenthesizer___closed__12); -l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25___closed__0(); -lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25___closed__0); -if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__25(); +l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101___closed__0 = _init_l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101___closed__0(); +lean_mark_persistent(l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101___closed__0); +if (builtin) {res = l_Lean_Parser_Command_grindPattern___regBuiltin_Lean_Parser_Command_grindPattern_parenthesizer__101(); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Command_initGrindNorm___closed__0 = _init_l_Lean_Parser_Command_initGrindNorm___closed__0();