diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index c45e2af19b..639fffc917 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -62,7 +62,7 @@ match arg with ensureArgType f val expectedType private def mkArrow (d b : Expr) : TermElabM Expr := do -n ← mkFreshAnonymousName; +n ← mkFreshUserName; pure $ Lean.mkForall n BinderInfo.default d b /- diff --git a/stage0/src/Lean/Elab/Binders.lean b/stage0/src/Lean/Elab/Binders.lean index dbed857e20..84a8e6fd89 100644 --- a/stage0/src/Lean/Elab/Binders.lean +++ b/stage0/src/Lean/Elab/Binders.lean @@ -26,7 +26,7 @@ else /-- Given syntax of the form `ident <|> hole`, return `ident`. If `hole`, then we create a new anonymous name. -/ private def expandBinderIdent (stx : Syntax) : TermElabM Syntax := match_syntax stx with -| `(_) => mkFreshAnonymousIdent stx +| `(_) => mkFreshIdent stx | _ => pure stx /-- Given syntax of the form `(ident >> " : ")?`, return `ident`, or a new instance name. -/ @@ -205,7 +205,7 @@ private partial def getFunBinderIdsAux? : Bool → Syntax → Array Syntax → T else do (some acc) ← getFunBinderIdsAux? false f acc | pure none; getFunBinderIdsAux? true a acc - | `(_) => do { ident ← mkFreshAnonymousIdent stx; pure (some (acc.push ident)) } + | `(_) => do { ident ← mkFreshIdent stx; pure (some (acc.push ident)) } | `($id:ident) => pure (some (acc.push id)) | _ => pure none @@ -225,7 +225,7 @@ private partial def expandFunBindersAux (binders : Array Syntax) : Syntax → Na let binder := binders.get ⟨i, h⟩; let processAsPattern : Unit → TermElabM (Array Syntax × Syntax × Bool) := fun _ => do { let pattern := binder; - major ← mkFreshAnonymousIdent binder; + major ← mkFreshIdent binder; (binders, newBody, _) ← expandFunBindersAux body (i+1) (newBinders.push $ mkExplicitBinder major (mkHole binder)); newBody ← `(match $major:ident with | $pattern => $newBody); pure (binders, newBody, true) @@ -235,7 +235,7 @@ private partial def expandFunBindersAux (binders : Array Syntax) : Syntax → Na | Syntax.node `Lean.Parser.Term.instBinder _ => expandFunBindersAux body (i+1) (newBinders.push binder) | Syntax.node `Lean.Parser.Term.explicitBinder _ => expandFunBindersAux body (i+1) (newBinders.push binder) | Syntax.node `Lean.Parser.Term.hole _ => do - ident ← mkFreshAnonymousIdent binder; + ident ← mkFreshIdent binder; let type := binder; expandFunBindersAux body (i+1) (newBinders.push $ mkExplicitBinder ident type) | Syntax.node `Lean.Parser.Term.paren args => diff --git a/stage0/src/Lean/Elab/Inductive.lean b/stage0/src/Lean/Elab/Inductive.lean index 20e43db613..78237a978e 100644 --- a/stage0/src/Lean/Elab/Inductive.lean +++ b/stage0/src/Lean/Elab/Inductive.lean @@ -120,6 +120,7 @@ private def throwUnexpectedInductiveType {α} : TermElabM α := throwError "unexpected inductive resulting type" -- Given `e` of the form `forall As, B`, return `B`. +-- It assumes `B` doesn't depend on `As`. private def getResultingType (e : Expr) : TermElabM Expr := forallTelescopeReducing e fun _ r => pure r @@ -219,6 +220,14 @@ r.view.ctors.toList.mapM fun ctorView => Term.elabBinders ctorView.binders.getAr throwError ("unexpected constructor resulting type" ++ indentExpr resultingType); unlessM (isType resultingType) $ throwError ("unexpected constructor resulting type, type expected" ++ indentExpr resultingType); + let args := resultingType.getAppArgs; + params.size.forM fun i => do { + let param := params.get! i; + let arg := args.get! i; + unlessM (isDefEq param arg) $ + throwError ("inductive datatype parameter mismatch" ++ indentExpr arg ++ Format.line ++ "expected" ++ indentExpr param); + pure () + }; pure type }; type ← mkForallFVars ctorParams type; diff --git a/stage0/src/Lean/Elab/Match.lean b/stage0/src/Lean/Elab/Match.lean index 1863fa8708..6dba38e485 100644 --- a/stage0/src/Lean/Elab/Match.lean +++ b/stage0/src/Lean/Elab/Match.lean @@ -48,22 +48,7 @@ private def expandSimpleMatchWithType (stx discr lhsVar type rhs : Syntax) (expe newStx ← `(let $lhsVar : $type := $discr; $rhs); withMacroExpansion stx newStx $ elabTerm newStx expectedType? -private def expandMatchOptTypeAux (ref : Syntax) : Nat → MacroM Syntax -| 0 => pure $ mkHole ref -| n+1 => do t ← expandMatchOptTypeAux n; r ← `(forall _, $t); pure (r.copyInfo ref) - -private def expandMatchOptType (ref : Syntax) (optType : Syntax) (numDiscrs : Nat) : MacroM Syntax := -if optType.isNone then - expandMatchOptTypeAux ref numDiscrs -else - pure $ (optType.getArg 0).getArg 1 - -private def elabMatchOptType (matchOptType : Syntax) (numDiscrs : Nat) : TermElabM Expr := do -ref ← getRef; -typeStx ← liftMacroM $ expandMatchOptType ref matchOptType numDiscrs; -elabType typeStx - -private partial def elabDiscrsAux (discrStxs : Array Syntax) (expectedType : Expr) : Nat → Expr → Array Expr → TermElabM (Array Expr) +private partial def elabDiscrsWitMatchTypeAux (discrStxs : Array Syntax) (expectedType : Expr) : Nat → Expr → Array Expr → TermElabM (Array Expr) | i, matchType, discrs => if h : i < discrStxs.size then do let discrStx := discrStxs.get ⟨i, h⟩; @@ -72,15 +57,40 @@ private partial def elabDiscrsAux (discrStxs : Array Syntax) (expectedType : Exp | Expr.forallE _ d b _ => do discr ← fullApproxDefEq $ elabTermEnsuringType discrStx d; trace `Elab.match fun _ => "discr #" ++ toString i ++ " " ++ discr ++ " : " ++ d; - elabDiscrsAux (i+1) (b.instantiate1 discr) (discrs.push discr) + elabDiscrsWitMatchTypeAux (i+1) (b.instantiate1 discr) (discrs.push discr) | _ => throwError ("invalid type provided to match-expression, function type with arity #" ++ toString discrStxs ++ " expected") else do unlessM (fullApproxDefEq $ isDefEq matchType expectedType) $ throwError ("invalid result type provided to match-expression" ++ indentExpr matchType ++ Format.line ++ "expected type" ++ indentExpr expectedType); pure discrs -private def elabDiscrs (discrStxs : Array Syntax) (matchType : Expr) (expectedType : Expr) : TermElabM (Array Expr) := -elabDiscrsAux discrStxs expectedType 0 matchType #[] +private def elabDiscrsWitMatchType (discrStxs : Array Syntax) (matchType : Expr) (expectedType : Expr) : TermElabM (Array Expr) := +elabDiscrsWitMatchTypeAux discrStxs expectedType 0 matchType #[] + +private def mkUserNameFor (e : Expr) : TermElabM Name := +match e with +| Expr.fvar fvarId _ => do localDecl ← getLocalDecl fvarId; pure localDecl.userName +| _ => mkFreshUserName + +private def elabMatchTypeAndDiscrs (discrStxs : Array Syntax) (matchOptType : Syntax) (expectedType : Expr) : TermElabM (Array Expr × Expr) := +let numDiscrs := discrStxs.size; +if matchOptType.isNone then do + discrs ← discrStxs.mapM fun discrStx => elabTerm discrStx none; + matchType ← discrs.foldrM + (fun (discr : Expr) (matchType : Expr) => do + discr ← instantiateMVars discr; + discrType ← inferType discr; + discrType ← instantiateMVars discrType; + matchTypeBody ← kabstract matchType discr; + userName ← mkUserNameFor discr; + pure $ Lean.mkForall userName BinderInfo.default discrType matchTypeBody) + expectedType; + pure (discrs, matchType) +else do + let matchTypeStx := (matchOptType.getArg 0).getArg 1; + matchType ← elabType matchTypeStx; + discrs ← elabDiscrsWitMatchType discrStxs matchType expectedType; + pure (discrs, matchType) /- nodeWithAntiquot "matchAlt" `Lean.Parser.Term.matchAlt $ sepBy1 termParser ", " >> darrow >> termParser @@ -485,7 +495,8 @@ private partial def withPatternVarsAux {α} (pVars : Array PatternVar) (k : Arra match pVars.get ⟨i, h⟩ with | PatternVar.anonymousVar mvarId => do type ← mkFreshTypeMVar; - withLocalDecl ((`_x).appendIndexAfter i) BinderInfo.default type fun x => + userName ← mkFreshUserName; + withLocalDecl userName BinderInfo.default type fun x => withPatternVarsAux (i+1) (decls.push (PatternVarDecl.anonymousVar mvarId x.fvarId!)) | PatternVar.localVar userName => do type ← mkFreshTypeMVar; @@ -575,7 +586,7 @@ match val? with /- HACK: `fvarId` is not in the scope of `mvarId` If this generates problems in the future, we should update the metavariable declarations. -/ assignExprMVar mvarId (mkFVar fvarId); - let userName := (`_x).appendIndexAfter (s.localDecls.size+1); + userName ← liftM $ mkFreshUserName; let newDecl := LocalDecl.cdecl (arbitrary _) fvarId userName type BinderInfo.default; modify $ fun s => { s with @@ -688,9 +699,8 @@ unless result.unusedAltIdxs.isEmpty $ private def elabMatchAux (discrStxs : Array Syntax) (altViews : Array MatchAltView) (matchOptType : Syntax) (expectedType : Expr) : TermElabM Expr := do -matchType ← elabMatchOptType matchOptType discrStxs.size; +(discrs, matchType) ← elabMatchTypeAndDiscrs discrStxs matchOptType expectedType; matchAlts ← expandMacrosInPatterns altViews; -discrs ← elabDiscrs discrStxs matchType expectedType; trace `Elab.match fun _ => "matchType: " ++ matchType; alts ← matchAlts.mapM $ fun alt => elabMatchAltView alt matchType; let rhss := alts.map Prod.snd; diff --git a/stage0/src/Lean/Elab/SyntheticMVars.lean b/stage0/src/Lean/Elab/SyntheticMVars.lean index 3310842bbc..3839c6a30a 100644 --- a/stage0/src/Lean/Elab/SyntheticMVars.lean +++ b/stage0/src/Lean/Elab/SyntheticMVars.lean @@ -26,14 +26,33 @@ def ensureAssignmentHasNoMVars (mvarId : MVarId) : TermElabM Unit := do val ← instantiateMVars (mkMVar mvarId); when val.hasExprMVar $ throwError ("tactic failed, result still contain metavariables" ++ indentExpr val) -def runTactic (mvarId : MVarId) (tacticCode : Syntax) : TermElabM Unit := do -modifyThe Meta.State $ fun s => { s with mctx := s.mctx.instantiateMVarDeclMVars mvarId }; -remainingGoals ← liftTacticElabM mvarId $ do { evalTactic tacticCode; getUnsolvedGoals }; +private partial def getTacticRCurly? : Syntax → Option Syntax +| stx => + if stx.isOfKind `Lean.Parser.Term.byTactic then + getTacticRCurly? $ stx.getArg 1 + else if stx.isOfKind `Lean.Parser.Tactic.seq && stx.getArgs.size == 1 then + getTacticRCurly? $ stx.getArg 0 + else if stx.isOfKind `Lean.Parser.Tactic.nestedTacticBlockCurly then + some (stx.getArg 2) + else + none + +private def getTacticErrorRef (tacticCode : Syntax) : TermElabM Syntax := do ref ← getRef; -let tailRef := ref.getTailWithPos.getD ref; -withRef tailRef do -unless remainingGoals.isEmpty (reportUnsolvedGoals remainingGoals); -ensureAssignmentHasNoMVars mvarId +match getTacticRCurly? tacticCode with +| some rcurly => pure $ replaceRef rcurly ref +| none => pure $ replaceRef tacticCode ref + +def runTactic (mvarId : MVarId) (tacticCode : Syntax) : TermElabM Unit := do +/- Recall, `tacticCode` is the whole `by ...` expression. + We store the `by` because in the future we want to save the initial state information at the `by` position. -/ +let code := tacticCode.getArg 1; +modifyThe Meta.State $ fun s => { s with mctx := s.mctx.instantiateMVarDeclMVars mvarId }; +remainingGoals ← liftTacticElabM mvarId $ do { evalTactic code; getUnsolvedGoals }; +ref ← getTacticErrorRef tacticCode; +withRef ref do + unless remainingGoals.isEmpty (reportUnsolvedGoals remainingGoals); + ensureAssignmentHasNoMVars mvarId /-- Auxiliary function used to implement `synthesizeSyntheticMVars`. -/ private def resumeElabTerm (stx : Syntax) (expectedType? : Option Expr) (errToSorry := true) : TermElabM Expr := diff --git a/stage0/src/Lean/Elab/Tactic/Basic.lean b/stage0/src/Lean/Elab/Tactic/Basic.lean index fdd1502329..86bcce81fd 100644 --- a/stage0/src/Lean/Elab/Tactic/Basic.lean +++ b/stage0/src/Lean/Elab/Tactic/Basic.lean @@ -22,9 +22,7 @@ def goalsToMessageData (goals : List MVarId) : MessageData := MessageData.joinSep (goals.map $ MessageData.ofGoal) (Format.line ++ Format.line) def Term.reportUnsolvedGoals (goals : List MVarId) : TermElabM Unit := do -ref ← getRef; -let tailRef := ref.getTailWithPos.getD ref; -throwErrorAt tailRef $ "unsolved goals" ++ Format.line ++ goalsToMessageData goals +throwError $ "unsolved goals" ++ Format.line ++ goalsToMessageData goals namespace Tactic @@ -398,7 +396,7 @@ match g? with @[builtinTactic «case»] def evalCase : Tactic := fun stx => match_syntax stx with - | `(tactic| case $tag $tac) => do + | `(tactic| case $tag => $tac:tacticSeq) => do let tag := tag.getId; gs ← getUnsolvedGoals; some g ← findTag? gs tag | throwError "tag not found"; diff --git a/stage0/src/Lean/Elab/Tactic/Match.lean b/stage0/src/Lean/Elab/Tactic/Match.lean index 15ae4e6266..766b24319c 100644 --- a/stage0/src/Lean/Elab/Tactic/Match.lean +++ b/stage0/src/Lean/Elab/Tactic/Match.lean @@ -20,19 +20,19 @@ let matchAlts := matchTac.getArg 4; let alts := (matchAlts.getArg 1).getArgs; newAlts ← alts.mapSepElemsM fun alt => do { let alt := alt.updateKind `Lean.Parser.Term.matchAlt; - let holeOrTactic := alt.getArg 2; - if holeOrTactic.isOfKind `Lean.Parser.Term.syntheticHole then + let holeOrTacticSeq := alt.getArg 2; + if holeOrTacticSeq.isOfKind `Lean.Parser.Term.syntheticHole then pure alt - else if holeOrTactic.isOfKind `Lean.Parser.Term.hole then do + else if holeOrTacticSeq.isOfKind `Lean.Parser.Term.hole then do s ← get; - let holeName := mkIdentFrom holeOrTactic (parentTag ++ (`match).appendIndexAfter s.nextIdx); + let holeName := mkIdentFrom holeOrTacticSeq (parentTag ++ (`match).appendIndexAfter s.nextIdx); newHole ← `(?$holeName:ident); modify fun s => { s with nextIdx := s.nextIdx + 1}; pure $ alt.setArg 2 newHole else withFreshMacroScope do newHole ← `(?rhs); let newHoleId := newHole.getArg 1; - newCase ← `(tactic| case $newHoleId $holeOrTactic); + newCase ← `(tactic| case $newHoleId => $holeOrTacticSeq:tacticSeq ); modify fun s => { s with cases := s.cases.push newCase }; pure $ alt.setArg 2 newHole }; diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index 2f86a05329..b99f055721 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -135,8 +135,6 @@ structure State := (syntheticMVars : List SyntheticMVarDecl := []) (mvarErrorContexts : List MVarErrorContext := []) (messages : MessageLog := {}) -(instImplicitIdx : Nat := 1) -(anonymousIdx : Nat := 1) (nextMacroScope : Nat := firstFrontendMacroScope + 1) (letRecsToLift : List LetRecToLift := []) @@ -435,28 +433,25 @@ pure e /-- Auxiliary method for creating fresh binder names. Do not confuse with the method for creating fresh free/meta variable ids. -/ -def mkFreshAnonymousName : TermElabM Name := do -s ← get; -let anonymousIdx := s.anonymousIdx; -modify $ fun s => { s with anonymousIdx := s.anonymousIdx + 1 }; -pure $ (`_a).appendIndexAfter anonymousIdx +def mkFreshUserName : TermElabM Name := +withFreshMacroScope do + x ← `(x); + pure x.getId /-- Auxiliary method for creating a `Syntax.ident` containing a fresh name. This method is intended for creating fresh binder names. - It is just a thin layer on top of `mkFreshAnonymousName`. -/ -def mkFreshAnonymousIdent (ref : Syntax) : TermElabM Syntax := do -n ← mkFreshAnonymousName; + It is just a thin layer on top of `mkFreshUserName`. -/ +def mkFreshIdent (ref : Syntax) : TermElabM Syntax := do +n ← mkFreshUserName; pure $ mkIdentFrom ref n /-- - Auxiliary method for creating binder names for local instances. - Users expect them to be named as `_inst_`. -/ -def mkFreshInstanceName : TermElabM Name := do -s ← get; -let instIdx := s.instImplicitIdx; -modify $ fun s => { s with instImplicitIdx := s.instImplicitIdx + 1 }; -pure $ (`_inst).appendIndexAfter instIdx + Auxiliary method for creating binder names for local instances. -/ +def mkFreshInstanceName : TermElabM Name := +withFreshMacroScope do + inst ← `(inst); + pure inst.getId private partial def hasCDot : Syntax → Bool | Syntax.node k args => @@ -1037,7 +1032,7 @@ fun stx expectedType? => do registerMVarErrorContext mvar.mvarId! stx; pure mvar -def mkTacticMVar (type : Expr) (tacticCode : Syntax) : TermElabM Expr := do +private def mkTacticMVar (type : Expr) (tacticCode : Syntax) : TermElabM Expr := do mvar ← mkFreshExprMVar type MetavarKind.syntheticOpaque `main; let mvarId := mvar.mvarId!; ref ← getRef; @@ -1048,7 +1043,7 @@ pure mvar @[builtinTermElab byTactic] def elabByTactic : TermElab := fun stx expectedType? => match expectedType? with - | some expectedType => mkTacticMVar expectedType (stx.getArg 1) + | some expectedType => mkTacticMVar expectedType stx | none => throwError ("invalid 'by' tactic, expected type has not been provided") /-- Main loop for `mkPairs`. -/ diff --git a/stage0/src/Lean/Parser/Tactic.lean b/stage0/src/Lean/Parser/Tactic.lean index 17fb7fa599..43cb0fa92a 100644 --- a/stage0/src/Lean/Parser/Tactic.lean +++ b/stage0/src/Lean/Parser/Tactic.lean @@ -41,6 +41,8 @@ def ident' : Parser := ident <|> underscore @[builtinTacticParser] def «case» := parser! nonReservedSymbol "case " >> ident >> darrow >> indentedNonEmptySeq @[builtinTacticParser] def «allGoals» := parser! nonReservedSymbol "allGoals " >> indentedNonEmptySeq @[builtinTacticParser] def «skip» := parser! nonReservedSymbol "skip" +@[builtinTacticParser] def «done» := parser! nonReservedSymbol "done" +@[builtinTacticParser] def «admit» := parser! nonReservedSymbol "admit" @[builtinTacticParser] def «traceState» := parser! nonReservedSymbol "traceState" @[builtinTacticParser] def «failIfSuccess» := parser! nonReservedSymbol "failIfSuccess " >> indentedNonEmptySeq @[builtinTacticParser] def «generalize» := parser! nonReservedSymbol "generalize " >> optional (try (ident >> " : ")) >> termParser 51 >> " = " >> ident diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 2bec0dedc1..3e59baeb21 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -19,7 +19,7 @@ lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_App_28__elabAppAux lean_object* l_Array_forMAux___main___at___private_Lean_Elab_App_10__elabAppArgsAux___main___spec__18___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___private_Lean_Elab_App_7__hasOnlyTypeMVar___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); -extern lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__9; +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_fieldIdxKind; lean_object* l___private_Lean_Elab_App_14__resolveLValAux___closed__23; lean_object* l___private_Lean_Elab_App_26__toMessageList(lean_object*); @@ -27,6 +27,7 @@ lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Name_eraseMacroScopes(lean_object*); lean_object* l___private_Lean_Elab_App_14__resolveLValAux___closed__13; +extern lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__9; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_ExprDefEq_8__checkTypesAndAssign___closed__7; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__3; @@ -75,7 +76,6 @@ lean_object* l___private_Lean_Elab_App_4__tryCoeFun___closed__7; extern lean_object* l_Array_empty___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; -extern lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__10; lean_object* l___private_Lean_Elab_App_5__getForallBody(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__6; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); @@ -130,7 +130,6 @@ lean_object* l___private_Lean_Elab_App_14__resolveLValAux___closed__2; lean_object* l_Lean_Elab_Term_addNamedArg___closed__6; lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_1__inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at___private_Lean_Elab_App_10__elabAppArgsAux___main___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_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_23__elabAppFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FindMVar_main___main___at___private_Lean_Elab_App_6__hasTypeMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at___private_Lean_Elab_App_10__elabAppArgsAux___main___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*); @@ -176,10 +175,10 @@ extern lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNestedTacticBlock___clos lean_object* l___private_Lean_Elab_App_14__resolveLValAux___closed__18; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__10; lean_object* l___private_Lean_Elab_App_14__resolveLValAux___closed__15; lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayRef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_19__addLValArg___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*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern___closed__1; @@ -317,6 +316,7 @@ lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_25__toMessageDat extern lean_object* l_Lean_mkAppStx___closed__3; lean_object* l_Lean_Meta_getLevel___at_Lean_Elab_Term_tryCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_25__toMessageData___closed__1; +lean_object* l_Lean_Elab_Term_mkFreshUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__3; lean_object* l_Array_forMAux___main___at___private_Lean_Elab_App_10__elabAppArgsAux___main___spec__13___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_Array_forMAux___main___at___private_Lean_Elab_App_10__elabAppArgsAux___main___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1085,7 +1085,7 @@ lean_object* l___private_Lean_Elab_App_3__mkArrow(lean_object* x_1, lean_object* _start: { lean_object* x_10; uint8_t x_11; -x_10 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg(x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Term_mkFreshUserName(x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -1123,7 +1123,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); return x_10; } } @@ -1216,6 +1215,7 @@ lean_inc(x_12); lean_dec(x_10); lean_inc(x_11); x_13 = l_Lean_mkSort(x_11); +lean_inc(x_3); lean_inc(x_1); x_14 = l___private_Lean_Elab_App_3__mkArrow(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); x_15 = lean_ctor_get(x_14, 0); @@ -14095,7 +14095,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_37 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_35, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_34); +x_37 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_35, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_34); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; @@ -19783,7 +19783,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_1920 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_1918, x_1919, x_4, x_5, x_6, x_7, x_1909, x_9, x_1917); +x_1920 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_1918, x_1919, x_4, x_5, x_6, x_7, x_1909, x_9, x_1917); if (lean_obj_tag(x_1920) == 0) { lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; @@ -20439,7 +20439,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_App_11__elabAppArgs___closed__5; -x_2 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__9; +x_2 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__9; x_3 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -20463,7 +20463,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_App_11__elabAppArgs___closed__5; -x_2 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__10; +x_2 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__10; x_3 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 4b881b84b4..b21e0f7190 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -123,14 +123,12 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_quoteAutoTactic___ma lean_object* l___private_Lean_Elab_Binders_3__expandOptIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_declareTacticSyntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_7__elabBinderViews___main___lambda__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* l_Lean_Elab_Term_mkFreshAnonymousIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow(lean_object*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Binders_6__matchBinder___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* l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_Basic_6__liftMkBindingM___rarg___closed__3; lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__18; lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__15; -lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__11; lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Binders_6__matchBinder___spec__4(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_restoreSynthInstanceCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__6; @@ -150,6 +148,7 @@ lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed(lean_object lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_4__expandBinderModifier___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_mkFreshUserName___closed__2; lean_object* l_Lean_Elab_Term_declareTacticSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__7; @@ -157,6 +156,7 @@ extern lean_object* l_Lean_choiceKind___closed__2; lean_object* l___private_Lean_Elab_Binders_4__expandBinderModifier___closed__1; lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; lean_object* l___private_Lean_Meta_Basic_28__withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshInstanceName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_8__elabBindersAux___main(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_Elab_Term_elabLetDeclAux___closed__1; extern lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; @@ -231,12 +231,12 @@ lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__4; lean_object* l___private_Lean_Elab_Binders_6__matchBinder___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_6__matchBinder___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_6__matchBinder___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; extern lean_object* l___private_Lean_Elab_Util_4__regTraceClasses___closed__1; lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_6__matchBinder___closed__1; lean_object* l___private_Lean_Elab_Binders_12__checkNoOptAutoParam___closed__2; -lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_formatEntry___closed__1; lean_object* l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -388,7 +388,6 @@ lean_object* l_Lean_Elab_Term_elabForall(lean_object*, lean_object*, lean_object lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(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_Array_iterateMAux___main___at___private_Lean_Elab_Quotation_2__quoteSyntax___main___spec__1___closed__4; lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__14; -lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_elabLetDeclCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Term_14__isExplicit___closed__2; @@ -414,7 +413,6 @@ lean_object* l___private_Lean_Elab_Binders_5__getBinderIds___boxed(lean_object*, extern lean_object* l_addParenHeuristic___closed__1; lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__5; lean_object* l___private_Lean_Elab_Binders_13__propagateExpectedType___boxed(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_AbstractMVars_abstractExprMVars___main___closed__1; lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatch(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow(lean_object*); @@ -470,6 +468,7 @@ x_10 = l_Lean_Syntax_isOfKind(x_1, x_9); if (x_10 == 0) { lean_object* x_11; +lean_dec(x_2); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_1); lean_ctor_set(x_11, 1, x_8); @@ -487,6 +486,7 @@ lean_dec(x_13); if (x_15 == 0) { lean_object* x_16; +lean_dec(x_2); x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_1); lean_ctor_set(x_16, 1, x_8); @@ -495,7 +495,7 @@ return x_16; else { lean_object* x_17; -x_17 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_17 = l_Lean_Elab_Term_mkFreshIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_1); return x_17; } @@ -512,7 +512,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); return x_9; } } @@ -527,6 +526,7 @@ lean_dec(x_9); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; +lean_dec(x_2); x_12 = l_Lean_Syntax_getArg(x_1, x_10); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); @@ -536,7 +536,7 @@ return x_13; else { lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_Elab_Term_mkFreshInstanceName___rarg(x_3, x_4, x_5, x_6, x_7, x_8); +x_14 = l_Lean_Elab_Term_mkFreshInstanceName(x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -573,7 +573,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); return x_9; } @@ -1778,10 +1777,10 @@ x_12 = !lean_is_exclusive(x_10); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_ctor_get(x_10, 5); +x_13 = lean_ctor_get(x_10, 3); x_14 = lean_unsigned_to_nat(1u); x_15 = lean_nat_add(x_13, x_14); -lean_ctor_set(x_10, 5, x_15); +lean_ctor_set(x_10, 3, x_15); x_16 = lean_st_ref_set(x_3, x_10, x_11); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); @@ -2539,53 +2538,47 @@ return x_180; } else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; uint8_t x_201; uint8_t x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; uint8_t x_199; uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; x_181 = lean_ctor_get(x_10, 0); x_182 = lean_ctor_get(x_10, 1); x_183 = lean_ctor_get(x_10, 2); x_184 = lean_ctor_get(x_10, 3); x_185 = lean_ctor_get(x_10, 4); -x_186 = lean_ctor_get(x_10, 5); -x_187 = lean_ctor_get(x_10, 6); -lean_inc(x_187); -lean_inc(x_186); lean_inc(x_185); lean_inc(x_184); lean_inc(x_183); lean_inc(x_182); lean_inc(x_181); lean_dec(x_10); -x_188 = lean_unsigned_to_nat(1u); -x_189 = lean_nat_add(x_186, x_188); -x_190 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_190, 0, x_181); -lean_ctor_set(x_190, 1, x_182); -lean_ctor_set(x_190, 2, x_183); -lean_ctor_set(x_190, 3, x_184); -lean_ctor_set(x_190, 4, x_185); -lean_ctor_set(x_190, 5, x_189); -lean_ctor_set(x_190, 6, x_187); -x_191 = lean_st_ref_set(x_3, x_190, x_11); -x_192 = lean_ctor_get(x_191, 1); +x_186 = lean_unsigned_to_nat(1u); +x_187 = lean_nat_add(x_184, x_186); +x_188 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_188, 0, x_181); +lean_ctor_set(x_188, 1, x_182); +lean_ctor_set(x_188, 2, x_183); +lean_ctor_set(x_188, 3, x_187); +lean_ctor_set(x_188, 4, x_185); +x_189 = lean_st_ref_set(x_3, x_188, x_11); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +lean_dec(x_189); +x_191 = lean_ctor_get(x_2, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_2, 1); lean_inc(x_192); -lean_dec(x_191); -x_193 = lean_ctor_get(x_2, 0); +x_193 = lean_ctor_get(x_2, 2); lean_inc(x_193); -x_194 = lean_ctor_get(x_2, 1); +x_194 = lean_ctor_get(x_2, 3); lean_inc(x_194); -x_195 = lean_ctor_get(x_2, 2); +x_195 = lean_ctor_get(x_2, 4); lean_inc(x_195); -x_196 = lean_ctor_get(x_2, 3); +x_196 = lean_ctor_get(x_2, 5); lean_inc(x_196); -x_197 = lean_ctor_get(x_2, 4); +x_197 = lean_ctor_get(x_2, 6); lean_inc(x_197); -x_198 = lean_ctor_get(x_2, 5); -lean_inc(x_198); -x_199 = lean_ctor_get(x_2, 6); -lean_inc(x_199); -x_200 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_201 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_202 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); +x_198 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); +x_199 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); +x_200 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -2595,384 +2588,384 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 5); lean_ctor_release(x_2, 6); lean_ctor_release(x_2, 7); - x_203 = x_2; + x_201 = x_2; } else { lean_dec_ref(x_2); - x_203 = lean_box(0); + x_201 = lean_box(0); } -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_201)) { + x_202 = lean_alloc_ctor(0, 8, 3); } else { - x_204 = x_203; + x_202 = x_201; } -lean_ctor_set(x_204, 0, x_193); -lean_ctor_set(x_204, 1, x_194); -lean_ctor_set(x_204, 2, x_195); -lean_ctor_set(x_204, 3, x_196); -lean_ctor_set(x_204, 4, x_197); -lean_ctor_set(x_204, 5, x_198); -lean_ctor_set(x_204, 6, x_199); -lean_ctor_set(x_204, 7, x_186); -lean_ctor_set_uint8(x_204, sizeof(void*)*8, x_200); -lean_ctor_set_uint8(x_204, sizeof(void*)*8 + 1, x_201); -lean_ctor_set_uint8(x_204, sizeof(void*)*8 + 2, x_202); -x_205 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_192); -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); +lean_ctor_set(x_202, 0, x_191); +lean_ctor_set(x_202, 1, x_192); +lean_ctor_set(x_202, 2, x_193); +lean_ctor_set(x_202, 3, x_194); +lean_ctor_set(x_202, 4, x_195); +lean_ctor_set(x_202, 5, x_196); +lean_ctor_set(x_202, 6, x_197); +lean_ctor_set(x_202, 7, x_184); +lean_ctor_set_uint8(x_202, sizeof(void*)*8, x_198); +lean_ctor_set_uint8(x_202, sizeof(void*)*8 + 1, x_199); +lean_ctor_set_uint8(x_202, sizeof(void*)*8 + 2, x_200); +x_203 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_190); +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_203, 1); +lean_inc(x_205); +lean_dec(x_203); +x_206 = l_Lean_Elab_Term_getCurrMacroScope(x_202, x_3, x_4, x_5, x_6, x_7, x_205); +x_207 = lean_ctor_get(x_206, 0); lean_inc(x_207); -lean_dec(x_205); -x_208 = l_Lean_Elab_Term_getCurrMacroScope(x_204, x_3, x_4, x_5, x_6, x_7, x_207); -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 1); -lean_inc(x_210); -lean_dec(x_208); -x_211 = l_Lean_Elab_Term_declareTacticSyntax___closed__2; -x_212 = l_Lean_addMacroScope(x_206, x_211, x_209); -x_213 = lean_box(0); +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); +lean_dec(x_206); +x_209 = l_Lean_Elab_Term_declareTacticSyntax___closed__2; +x_210 = l_Lean_addMacroScope(x_204, x_209, x_207); +x_211 = lean_box(0); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_204); -x_214 = l_Lean_Elab_Term_quoteAutoTactic___main(x_1, x_204, x_3, x_4, x_5, x_6, x_7, x_210); -if (lean_obj_tag(x_214) == 0) +lean_inc(x_202); +x_212 = l_Lean_Elab_Term_quoteAutoTactic___main(x_1, x_202, x_3, x_4, x_5, x_6, x_7, x_208); +if (lean_obj_tag(x_212) == 0) { -lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; lean_object* x_219; -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = l_Lean_Elab_Term_declareTacticSyntax___closed__4; -x_218 = 1; +lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +x_215 = l_Lean_Elab_Term_declareTacticSyntax___closed__4; +x_216 = 1; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_204); -x_219 = l_Lean_Elab_Term_elabTerm(x_215, x_217, x_218, x_204, x_3, x_4, x_5, x_6, x_7, x_216); -if (lean_obj_tag(x_219) == 0) +lean_inc(x_202); +x_217 = l_Lean_Elab_Term_elabTerm(x_213, x_215, x_216, x_202, x_3, x_4, x_5, x_6, x_7, x_214); +if (lean_obj_tag(x_217) == 0) { -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; uint8_t x_227; -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 1); +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; +x_218 = lean_ctor_get(x_217, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_217, 1); +lean_inc(x_219); +lean_dec(x_217); +lean_inc(x_202); +x_220 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1(x_218, x_202, x_3, x_4, x_5, x_6, x_7, x_219); +x_221 = lean_ctor_get(x_220, 0); lean_inc(x_221); -lean_dec(x_219); -lean_inc(x_204); -x_222 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1(x_220, x_204, x_3, x_4, x_5, x_6, x_7, x_221); -x_223 = lean_ctor_get(x_222, 0); +x_222 = lean_ctor_get(x_220, 1); +lean_inc(x_222); +lean_dec(x_220); +x_223 = lean_ctor_get(x_6, 0); lean_inc(x_223); -x_224 = lean_ctor_get(x_222, 1); -lean_inc(x_224); -lean_dec(x_222); -x_225 = lean_ctor_get(x_6, 0); -lean_inc(x_225); -x_226 = l_Lean_Elab_Term_declareTacticSyntax___closed__5; -x_227 = l_Lean_checkTraceOption(x_225, x_226); -lean_dec(x_225); -if (x_227 == 0) +x_224 = l_Lean_Elab_Term_declareTacticSyntax___closed__5; +x_225 = l_Lean_checkTraceOption(x_223, x_224); +lean_dec(x_223); +if (x_225 == 0) { -lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_228 = l_Lean_Elab_Term_declareTacticSyntax___closed__3; -lean_inc(x_212); -x_229 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_229, 0, x_212); -lean_ctor_set(x_229, 1, x_213); -lean_ctor_set(x_229, 2, x_228); -x_230 = lean_box(0); -x_231 = 0; -x_232 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_232, 0, x_229); -lean_ctor_set(x_232, 1, x_223); -lean_ctor_set(x_232, 2, x_230); -lean_ctor_set_uint8(x_232, sizeof(void*)*3, x_231); -x_233 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_233, 0, x_232); +lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_226 = l_Lean_Elab_Term_declareTacticSyntax___closed__3; +lean_inc(x_210); +x_227 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_227, 0, x_210); +lean_ctor_set(x_227, 1, x_211); +lean_ctor_set(x_227, 2, x_226); +x_228 = lean_box(0); +x_229 = 0; +x_230 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_230, 0, x_227); +lean_ctor_set(x_230, 1, x_221); +lean_ctor_set(x_230, 2, x_228); +lean_ctor_set_uint8(x_230, sizeof(void*)*3, x_229); +x_231 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_231, 0, x_230); lean_inc(x_6); -lean_inc(x_204); -x_234 = l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(x_233, x_204, x_3, x_4, x_5, x_6, x_7, x_224); +lean_inc(x_202); +x_232 = l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(x_231, x_202, x_3, x_4, x_5, x_6, x_7, x_222); +if (lean_obj_tag(x_232) == 0) +{ +lean_object* x_233; lean_object* x_234; +x_233 = lean_ctor_get(x_232, 1); +lean_inc(x_233); +lean_dec(x_232); +x_234 = l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4(x_231, x_202, x_3, x_4, x_5, x_6, x_7, x_233); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_231); if (lean_obj_tag(x_234) == 0) { -lean_object* x_235; lean_object* x_236; +lean_object* x_235; lean_object* x_236; lean_object* x_237; x_235 = lean_ctor_get(x_234, 1); lean_inc(x_235); -lean_dec(x_234); -x_236 = l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4(x_233, x_204, x_3, x_4, x_5, x_6, x_7, x_235); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_233); -if (lean_obj_tag(x_236) == 0) -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_237 = lean_ctor_get(x_236, 1); -lean_inc(x_237); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - lean_ctor_release(x_236, 1); - x_238 = x_236; -} else { - lean_dec_ref(x_236); - x_238 = lean_box(0); -} -if (lean_is_scalar(x_238)) { - x_239 = lean_alloc_ctor(0, 2, 0); -} else { - x_239 = x_238; -} -lean_ctor_set(x_239, 0, x_212); -lean_ctor_set(x_239, 1, x_237); -return x_239; -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -lean_dec(x_212); -x_240 = lean_ctor_get(x_236, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_236, 1); -lean_inc(x_241); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - lean_ctor_release(x_236, 1); - x_242 = x_236; -} else { - lean_dec_ref(x_236); - x_242 = lean_box(0); -} -if (lean_is_scalar(x_242)) { - x_243 = lean_alloc_ctor(1, 2, 0); -} else { - x_243 = x_242; -} -lean_ctor_set(x_243, 0, x_240); -lean_ctor_set(x_243, 1, x_241); -return x_243; -} -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -lean_dec(x_233); -lean_dec(x_212); -lean_dec(x_204); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_244 = lean_ctor_get(x_234, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_234, 1); -lean_inc(x_245); if (lean_is_exclusive(x_234)) { lean_ctor_release(x_234, 0); lean_ctor_release(x_234, 1); - x_246 = x_234; + x_236 = x_234; } else { lean_dec_ref(x_234); - x_246 = lean_box(0); + x_236 = lean_box(0); } -if (lean_is_scalar(x_246)) { - x_247 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_236)) { + x_237 = lean_alloc_ctor(0, 2, 0); } else { - x_247 = x_246; + x_237 = x_236; } -lean_ctor_set(x_247, 0, x_244); -lean_ctor_set(x_247, 1, x_245); -return x_247; +lean_ctor_set(x_237, 0, x_210); +lean_ctor_set(x_237, 1, x_235); +return x_237; +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +lean_dec(x_210); +x_238 = lean_ctor_get(x_234, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_234, 1); +lean_inc(x_239); +if (lean_is_exclusive(x_234)) { + lean_ctor_release(x_234, 0); + lean_ctor_release(x_234, 1); + x_240 = x_234; +} else { + lean_dec_ref(x_234); + x_240 = lean_box(0); +} +if (lean_is_scalar(x_240)) { + x_241 = lean_alloc_ctor(1, 2, 0); +} else { + x_241 = x_240; +} +lean_ctor_set(x_241, 0, x_238); +lean_ctor_set(x_241, 1, x_239); +return x_241; } } else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -lean_inc(x_223); -x_248 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_248, 0, x_223); -x_249 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_226, x_248, x_204, x_3, x_4, x_5, x_6, x_7, x_224); -x_250 = lean_ctor_get(x_249, 1); -lean_inc(x_250); -lean_dec(x_249); -x_251 = l_Lean_Elab_Term_declareTacticSyntax___closed__3; -lean_inc(x_212); -x_252 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_252, 0, x_212); -lean_ctor_set(x_252, 1, x_213); -lean_ctor_set(x_252, 2, x_251); -x_253 = lean_box(0); -x_254 = 0; -x_255 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_255, 0, x_252); -lean_ctor_set(x_255, 1, x_223); -lean_ctor_set(x_255, 2, x_253); -lean_ctor_set_uint8(x_255, sizeof(void*)*3, x_254); -x_256 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_256, 0, x_255); -lean_inc(x_6); -lean_inc(x_204); -x_257 = l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(x_256, x_204, x_3, x_4, x_5, x_6, x_7, x_250); -if (lean_obj_tag(x_257) == 0) -{ -lean_object* x_258; lean_object* x_259; -x_258 = lean_ctor_get(x_257, 1); -lean_inc(x_258); -lean_dec(x_257); -x_259 = l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4(x_256, x_204, x_3, x_4, x_5, x_6, x_7, x_258); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_256); -if (lean_obj_tag(x_259) == 0) -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_260 = lean_ctor_get(x_259, 1); -lean_inc(x_260); -if (lean_is_exclusive(x_259)) { - lean_ctor_release(x_259, 0); - lean_ctor_release(x_259, 1); - x_261 = x_259; -} else { - lean_dec_ref(x_259); - x_261 = lean_box(0); -} -if (lean_is_scalar(x_261)) { - x_262 = lean_alloc_ctor(0, 2, 0); -} else { - x_262 = x_261; -} -lean_ctor_set(x_262, 0, x_212); -lean_ctor_set(x_262, 1, x_260); -return x_262; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -lean_dec(x_212); -x_263 = lean_ctor_get(x_259, 0); -lean_inc(x_263); -x_264 = lean_ctor_get(x_259, 1); -lean_inc(x_264); -if (lean_is_exclusive(x_259)) { - lean_ctor_release(x_259, 0); - lean_ctor_release(x_259, 1); - x_265 = x_259; -} else { - lean_dec_ref(x_259); - x_265 = lean_box(0); -} -if (lean_is_scalar(x_265)) { - x_266 = lean_alloc_ctor(1, 2, 0); -} else { - x_266 = x_265; -} -lean_ctor_set(x_266, 0, x_263); -lean_ctor_set(x_266, 1, x_264); -return x_266; -} -} -else -{ -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; -lean_dec(x_256); -lean_dec(x_212); -lean_dec(x_204); +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_dec(x_231); +lean_dec(x_210); +lean_dec(x_202); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_267 = lean_ctor_get(x_257, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_257, 1); -lean_inc(x_268); +x_242 = lean_ctor_get(x_232, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_232, 1); +lean_inc(x_243); +if (lean_is_exclusive(x_232)) { + lean_ctor_release(x_232, 0); + lean_ctor_release(x_232, 1); + x_244 = x_232; +} else { + lean_dec_ref(x_232); + x_244 = lean_box(0); +} +if (lean_is_scalar(x_244)) { + x_245 = lean_alloc_ctor(1, 2, 0); +} else { + x_245 = x_244; +} +lean_ctor_set(x_245, 0, x_242); +lean_ctor_set(x_245, 1, x_243); +return x_245; +} +} +else +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; +lean_inc(x_221); +x_246 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_246, 0, x_221); +x_247 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_224, x_246, x_202, x_3, x_4, x_5, x_6, x_7, x_222); +x_248 = lean_ctor_get(x_247, 1); +lean_inc(x_248); +lean_dec(x_247); +x_249 = l_Lean_Elab_Term_declareTacticSyntax___closed__3; +lean_inc(x_210); +x_250 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_250, 0, x_210); +lean_ctor_set(x_250, 1, x_211); +lean_ctor_set(x_250, 2, x_249); +x_251 = lean_box(0); +x_252 = 0; +x_253 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_253, 0, x_250); +lean_ctor_set(x_253, 1, x_221); +lean_ctor_set(x_253, 2, x_251); +lean_ctor_set_uint8(x_253, sizeof(void*)*3, x_252); +x_254 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_254, 0, x_253); +lean_inc(x_6); +lean_inc(x_202); +x_255 = l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(x_254, x_202, x_3, x_4, x_5, x_6, x_7, x_248); +if (lean_obj_tag(x_255) == 0) +{ +lean_object* x_256; lean_object* x_257; +x_256 = lean_ctor_get(x_255, 1); +lean_inc(x_256); +lean_dec(x_255); +x_257 = l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4(x_254, x_202, x_3, x_4, x_5, x_6, x_7, x_256); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_254); +if (lean_obj_tag(x_257) == 0) +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_258 = lean_ctor_get(x_257, 1); +lean_inc(x_258); if (lean_is_exclusive(x_257)) { lean_ctor_release(x_257, 0); lean_ctor_release(x_257, 1); - x_269 = x_257; + x_259 = x_257; } else { lean_dec_ref(x_257); - x_269 = lean_box(0); + x_259 = lean_box(0); } -if (lean_is_scalar(x_269)) { - x_270 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_259)) { + x_260 = lean_alloc_ctor(0, 2, 0); } else { - x_270 = x_269; + x_260 = x_259; } -lean_ctor_set(x_270, 0, x_267); -lean_ctor_set(x_270, 1, x_268); -return x_270; +lean_ctor_set(x_260, 0, x_210); +lean_ctor_set(x_260, 1, x_258); +return x_260; } +else +{ +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +lean_dec(x_210); +x_261 = lean_ctor_get(x_257, 0); +lean_inc(x_261); +x_262 = lean_ctor_get(x_257, 1); +lean_inc(x_262); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_263 = x_257; +} else { + lean_dec_ref(x_257); + x_263 = lean_box(0); +} +if (lean_is_scalar(x_263)) { + x_264 = lean_alloc_ctor(1, 2, 0); +} else { + x_264 = x_263; +} +lean_ctor_set(x_264, 0, x_261); +lean_ctor_set(x_264, 1, x_262); +return x_264; } } else { -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_212); -lean_dec(x_204); +lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +lean_dec(x_254); +lean_dec(x_210); +lean_dec(x_202); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_271 = lean_ctor_get(x_219, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_219, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - x_273 = x_219; +x_265 = lean_ctor_get(x_255, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_255, 1); +lean_inc(x_266); +if (lean_is_exclusive(x_255)) { + lean_ctor_release(x_255, 0); + lean_ctor_release(x_255, 1); + x_267 = x_255; } else { - lean_dec_ref(x_219); - x_273 = lean_box(0); + lean_dec_ref(x_255); + x_267 = lean_box(0); } -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_267)) { + x_268 = lean_alloc_ctor(1, 2, 0); } else { - x_274 = x_273; + x_268 = x_267; +} +lean_ctor_set(x_268, 0, x_265); +lean_ctor_set(x_268, 1, x_266); +return x_268; } -lean_ctor_set(x_274, 0, x_271); -lean_ctor_set(x_274, 1, x_272); -return x_274; } } else { -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -lean_dec(x_212); -lean_dec(x_204); +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +lean_dec(x_210); +lean_dec(x_202); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_275 = lean_ctor_get(x_214, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_214, 1); -lean_inc(x_276); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_277 = x_214; +x_269 = lean_ctor_get(x_217, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_217, 1); +lean_inc(x_270); +if (lean_is_exclusive(x_217)) { + lean_ctor_release(x_217, 0); + lean_ctor_release(x_217, 1); + x_271 = x_217; } else { - lean_dec_ref(x_214); - x_277 = lean_box(0); + lean_dec_ref(x_217); + x_271 = lean_box(0); } -if (lean_is_scalar(x_277)) { - x_278 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_271)) { + x_272 = lean_alloc_ctor(1, 2, 0); } else { - x_278 = x_277; + x_272 = x_271; } -lean_ctor_set(x_278, 0, x_275); -lean_ctor_set(x_278, 1, x_276); -return x_278; +lean_ctor_set(x_272, 0, x_269); +lean_ctor_set(x_272, 1, x_270); +return x_272; +} +} +else +{ +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +lean_dec(x_210); +lean_dec(x_202); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_273 = lean_ctor_get(x_212, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_212, 1); +lean_inc(x_274); +if (lean_is_exclusive(x_212)) { + lean_ctor_release(x_212, 0); + lean_ctor_release(x_212, 1); + x_275 = x_212; +} else { + lean_dec_ref(x_212); + x_275 = lean_box(0); +} +if (lean_is_scalar(x_275)) { + x_276 = lean_alloc_ctor(1, 2, 0); +} else { + x_276 = x_275; +} +lean_ctor_set(x_276, 0, x_273); +lean_ctor_set(x_276, 1, x_274); +return x_276; } } } @@ -3631,6 +3624,7 @@ lean_dec(x_11); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); x_13 = x_3; @@ -3646,6 +3640,7 @@ x_15 = lean_array_fget(x_3, x_2); x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_fset(x_3, x_2, x_16); x_18 = x_15; +lean_inc(x_4); x_19 = l___private_Lean_Elab_Binders_2__expandBinderIdent(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); @@ -3680,6 +3675,7 @@ lean_dec(x_11); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); x_13 = x_3; @@ -3695,6 +3691,7 @@ x_15 = lean_array_fget(x_3, x_2); x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_fset(x_3, x_2, x_16); x_18 = x_15; +lean_inc(x_4); x_19 = l___private_Lean_Elab_Binders_2__expandBinderIdent(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); @@ -3729,6 +3726,7 @@ lean_dec(x_11); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); x_13 = x_3; @@ -3744,6 +3742,7 @@ x_15 = lean_array_fget(x_3, x_2); x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_fset(x_3, x_2, x_16); x_18 = x_15; +lean_inc(x_4); x_19 = l___private_Lean_Elab_Binders_2__expandBinderIdent(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); @@ -3855,7 +3854,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_22); x_24 = !lean_is_exclusive(x_23); if (x_24 == 0) @@ -4178,7 +4176,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); return x_11; } } @@ -4192,7 +4189,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); return x_11; } } @@ -4206,7 +4202,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); return x_11; } } @@ -6608,6 +6603,7 @@ x_13 = l_Lean_Syntax_isOfKind(x_2, x_12); if (x_13 == 0) { lean_object* x_14; uint8_t x_15; +lean_dec(x_4); x_14 = l_Lean_identKind___closed__2; lean_inc(x_2); x_15 = l_Lean_Syntax_isOfKind(x_2, x_14); @@ -6646,6 +6642,7 @@ lean_dec(x_22); if (x_24 == 0) { lean_object* x_25; uint8_t x_26; +lean_dec(x_4); x_25 = l_Lean_identKind___closed__2; lean_inc(x_2); x_26 = l_Lean_Syntax_isOfKind(x_2, x_25); @@ -6675,7 +6672,7 @@ return x_31; else { lean_object* x_32; uint8_t x_33; -x_32 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_32 = l_Lean_Elab_Term_mkFreshIdent(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) @@ -6723,6 +6720,7 @@ if (x_47 == 0) lean_object* x_48; lean_object* x_49; lean_dec(x_45); lean_dec(x_43); +lean_dec(x_4); lean_dec(x_3); x_48 = lean_box(0); x_49 = lean_alloc_ctor(0, 2, 0); @@ -6743,6 +6741,7 @@ if (x_52 == 0) lean_object* x_53; lean_object* x_54; lean_dec(x_45); lean_dec(x_43); +lean_dec(x_4); lean_dec(x_3); x_53 = lean_box(0); x_54 = lean_alloc_ctor(0, 2, 0); @@ -6758,6 +6757,7 @@ lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; x_55 = l_Lean_Syntax_getArg(x_45, x_42); lean_dec(x_45); x_56 = 0; +lean_inc(x_4); x_57 = l___private_Lean_Elab_Binders_9__getFunBinderIdsAux_x3f___main(x_56, x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); @@ -6765,6 +6765,7 @@ if (lean_obj_tag(x_58) == 0) { uint8_t x_59; lean_dec(x_55); +lean_dec(x_4); x_59 = !lean_is_exclusive(x_57); if (x_59 == 0) { @@ -6807,6 +6808,7 @@ else lean_object* x_67; lean_object* x_68; lean_dec(x_45); lean_dec(x_43); +lean_dec(x_4); lean_dec(x_3); x_67 = lean_box(0); x_68 = lean_alloc_ctor(0, 2, 0); @@ -6832,7 +6834,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); return x_12; } } @@ -6856,7 +6857,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); return x_12; } } @@ -6880,7 +6880,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); return x_9; } } @@ -7105,6 +7104,7 @@ lean_dec(x_12); if (x_13 == 0) { uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_5); lean_dec(x_3); x_14 = 0; x_15 = lean_box(x_14); @@ -7127,7 +7127,8 @@ switch (lean_obj_tag(x_19)) { case 0: { 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; uint8_t x_32; -x_20 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_20 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); @@ -7140,6 +7141,7 @@ x_25 = l_Lean_mkHole(x_19); lean_inc(x_21); x_26 = l_Lean_Elab_Term_mkExplicitBinder(x_21, x_25); x_27 = lean_array_push(x_4, x_26); +lean_inc(x_5); x_28 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_24, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_22); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); @@ -7162,6 +7164,7 @@ x_35 = lean_ctor_get(x_30, 0); x_36 = lean_ctor_get(x_30, 1); lean_dec(x_36); x_37 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_31); +lean_dec(x_5); x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); @@ -7292,6 +7295,7 @@ x_110 = lean_ctor_get(x_30, 0); lean_inc(x_110); lean_dec(x_30); x_111 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_31); +lean_dec(x_5); x_112 = lean_ctor_get(x_111, 1); lean_inc(x_112); lean_dec(x_111); @@ -7384,6 +7388,7 @@ if (lean_is_exclusive(x_30)) { x_153 = lean_box(0); } x_154 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_31); +lean_dec(x_5); x_155 = lean_ctor_get(x_154, 1); lean_inc(x_155); lean_dec(x_154); @@ -7514,7 +7519,8 @@ lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_dec(x_202); lean_dec(x_201); lean_dec(x_200); -x_206 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_206 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_207 = lean_ctor_get(x_206, 0); lean_inc(x_207); x_208 = lean_ctor_get(x_206, 1); @@ -7527,6 +7533,7 @@ x_211 = l_Lean_mkHole(x_19); lean_inc(x_207); x_212 = l_Lean_Elab_Term_mkExplicitBinder(x_207, x_211); x_213 = lean_array_push(x_4, x_212); +lean_inc(x_5); x_214 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_210, x_213, x_5, x_6, x_7, x_8, x_9, x_10, x_208); x_215 = lean_ctor_get(x_214, 0); lean_inc(x_215); @@ -7549,6 +7556,7 @@ x_221 = lean_ctor_get(x_216, 0); x_222 = lean_ctor_get(x_216, 1); lean_dec(x_222); x_223 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_217); +lean_dec(x_5); x_224 = lean_ctor_get(x_223, 1); lean_inc(x_224); lean_dec(x_223); @@ -7738,6 +7746,7 @@ x_317 = lean_ctor_get(x_216, 0); lean_inc(x_317); lean_dec(x_216); x_318 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_217); +lean_dec(x_5); x_319 = lean_ctor_get(x_318, 1); lean_inc(x_319); lean_dec(x_318); @@ -7843,6 +7852,7 @@ if (lean_is_exclusive(x_216)) { x_361 = lean_box(0); } x_362 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_217); +lean_dec(x_5); x_363 = lean_ctor_get(x_362, 1); lean_inc(x_363); lean_dec(x_362); @@ -7948,7 +7958,8 @@ if (x_405 == 0) lean_object* x_406; lean_object* x_407; 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; uint8_t x_418; lean_dec(x_201); lean_dec(x_200); -x_406 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_406 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_407 = lean_ctor_get(x_406, 0); lean_inc(x_407); x_408 = lean_ctor_get(x_406, 1); @@ -7961,6 +7972,7 @@ x_411 = l_Lean_mkHole(x_19); lean_inc(x_407); x_412 = l_Lean_Elab_Term_mkExplicitBinder(x_407, x_411); x_413 = lean_array_push(x_4, x_412); +lean_inc(x_5); x_414 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_410, x_413, x_5, x_6, x_7, x_8, x_9, x_10, x_408); x_415 = lean_ctor_get(x_414, 0); lean_inc(x_415); @@ -7983,6 +7995,7 @@ x_421 = lean_ctor_get(x_416, 0); x_422 = lean_ctor_get(x_416, 1); lean_dec(x_422); x_423 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_417); +lean_dec(x_5); x_424 = lean_ctor_get(x_423, 1); lean_inc(x_424); lean_dec(x_423); @@ -8172,6 +8185,7 @@ x_517 = lean_ctor_get(x_416, 0); lean_inc(x_517); lean_dec(x_416); x_518 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_417); +lean_dec(x_5); x_519 = lean_ctor_get(x_518, 1); lean_inc(x_519); lean_dec(x_518); @@ -8277,6 +8291,7 @@ if (lean_is_exclusive(x_416)) { x_561 = lean_box(0); } x_562 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_417); +lean_dec(x_5); x_563 = lean_ctor_get(x_562, 1); lean_inc(x_563); lean_dec(x_562); @@ -8381,7 +8396,8 @@ if (x_605 == 0) { lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; uint8_t x_618; lean_dec(x_200); -x_606 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_606 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_607 = lean_ctor_get(x_606, 0); lean_inc(x_607); x_608 = lean_ctor_get(x_606, 1); @@ -8394,6 +8410,7 @@ x_611 = l_Lean_mkHole(x_19); lean_inc(x_607); x_612 = l_Lean_Elab_Term_mkExplicitBinder(x_607, x_611); x_613 = lean_array_push(x_4, x_612); +lean_inc(x_5); x_614 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_610, x_613, x_5, x_6, x_7, x_8, x_9, x_10, x_608); x_615 = lean_ctor_get(x_614, 0); lean_inc(x_615); @@ -8416,6 +8433,7 @@ x_621 = lean_ctor_get(x_616, 0); x_622 = lean_ctor_get(x_616, 1); lean_dec(x_622); x_623 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_617); +lean_dec(x_5); x_624 = lean_ctor_get(x_623, 1); lean_inc(x_624); lean_dec(x_623); @@ -8605,6 +8623,7 @@ x_717 = lean_ctor_get(x_616, 0); lean_inc(x_717); lean_dec(x_616); x_718 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_617); +lean_dec(x_5); x_719 = lean_ctor_get(x_718, 1); lean_inc(x_719); lean_dec(x_718); @@ -8710,6 +8729,7 @@ if (lean_is_exclusive(x_616)) { x_761 = lean_box(0); } x_762 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_617); +lean_dec(x_5); x_763 = lean_ctor_get(x_762, 1); lean_inc(x_763); lean_dec(x_762); @@ -8833,7 +8853,8 @@ lean_dec(x_200); if (x_813 == 0) { lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; uint8_t x_826; -x_814 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_814 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_815 = lean_ctor_get(x_814, 0); lean_inc(x_815); x_816 = lean_ctor_get(x_814, 1); @@ -8846,6 +8867,7 @@ x_819 = l_Lean_mkHole(x_19); lean_inc(x_815); x_820 = l_Lean_Elab_Term_mkExplicitBinder(x_815, x_819); x_821 = lean_array_push(x_4, x_820); +lean_inc(x_5); x_822 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_818, x_821, x_5, x_6, x_7, x_8, x_9, x_10, x_816); x_823 = lean_ctor_get(x_822, 0); lean_inc(x_823); @@ -8868,6 +8890,7 @@ x_829 = lean_ctor_get(x_824, 0); x_830 = lean_ctor_get(x_824, 1); lean_dec(x_830); x_831 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_825); +lean_dec(x_5); x_832 = lean_ctor_get(x_831, 1); lean_inc(x_832); lean_dec(x_831); @@ -9057,6 +9080,7 @@ x_925 = lean_ctor_get(x_824, 0); lean_inc(x_925); lean_dec(x_824); x_926 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_825); +lean_dec(x_5); x_927 = lean_ctor_get(x_926, 1); lean_inc(x_927); lean_dec(x_926); @@ -9162,6 +9186,7 @@ if (lean_is_exclusive(x_824)) { x_969 = lean_box(0); } x_970 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_825); +lean_dec(x_5); x_971 = lean_ctor_get(x_970, 1); lean_inc(x_971); lean_dec(x_970); @@ -9290,7 +9315,8 @@ if (x_1026 == 0) lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; uint8_t x_1038; lean_dec(x_1019); lean_dec(x_1016); -x_1027 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_1027 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_1028 = lean_ctor_get(x_1027, 0); lean_inc(x_1028); x_1029 = lean_ctor_get(x_1027, 1); @@ -9302,6 +9328,7 @@ x_1031 = l_Lean_mkHole(x_19); lean_inc(x_1028); x_1032 = l_Lean_Elab_Term_mkExplicitBinder(x_1028, x_1031); x_1033 = lean_array_push(x_4, x_1032); +lean_inc(x_5); x_1034 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_1030, x_1033, x_5, x_6, x_7, x_8, x_9, x_10, x_1029); x_1035 = lean_ctor_get(x_1034, 0); lean_inc(x_1035); @@ -9324,6 +9351,7 @@ x_1041 = lean_ctor_get(x_1036, 0); x_1042 = lean_ctor_get(x_1036, 1); lean_dec(x_1042); x_1043 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1037); +lean_dec(x_5); x_1044 = lean_ctor_get(x_1043, 1); lean_inc(x_1044); lean_dec(x_1043); @@ -9513,6 +9541,7 @@ x_1137 = lean_ctor_get(x_1036, 0); lean_inc(x_1137); lean_dec(x_1036); x_1138 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1037); +lean_dec(x_5); x_1139 = lean_ctor_get(x_1138, 1); lean_inc(x_1139); lean_dec(x_1138); @@ -9618,6 +9647,7 @@ if (lean_is_exclusive(x_1036)) { x_1181 = lean_box(0); } x_1182 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1037); +lean_dec(x_5); x_1183 = lean_ctor_get(x_1182, 1); lean_inc(x_1183); lean_dec(x_1182); @@ -9717,6 +9747,7 @@ else lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; x_1224 = l_Lean_Syntax_getArg(x_1019, x_1012); lean_dec(x_1019); +lean_inc(x_5); x_1225 = l___private_Lean_Elab_Binders_10__getFunBinderIds_x3f(x_1016, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_1226 = lean_ctor_get(x_1225, 0); lean_inc(x_1226); @@ -9727,7 +9758,8 @@ lean_dec(x_1224); x_1227 = lean_ctor_get(x_1225, 1); lean_inc(x_1227); lean_dec(x_1225); -x_1228 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_1227); +lean_inc(x_5); +x_1228 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_1227); x_1229 = lean_ctor_get(x_1228, 0); lean_inc(x_1229); x_1230 = lean_ctor_get(x_1228, 1); @@ -9739,6 +9771,7 @@ x_1232 = l_Lean_mkHole(x_19); lean_inc(x_1229); x_1233 = l_Lean_Elab_Term_mkExplicitBinder(x_1229, x_1232); x_1234 = lean_array_push(x_4, x_1233); +lean_inc(x_5); x_1235 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_1231, x_1234, x_5, x_6, x_7, x_8, x_9, x_10, x_1230); x_1236 = lean_ctor_get(x_1235, 0); lean_inc(x_1236); @@ -9761,6 +9794,7 @@ x_1242 = lean_ctor_get(x_1237, 0); x_1243 = lean_ctor_get(x_1237, 1); lean_dec(x_1243); x_1244 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1238); +lean_dec(x_5); x_1245 = lean_ctor_get(x_1244, 1); lean_inc(x_1245); lean_dec(x_1244); @@ -9950,6 +9984,7 @@ x_1338 = lean_ctor_get(x_1237, 0); lean_inc(x_1338); lean_dec(x_1237); x_1339 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1238); +lean_dec(x_5); x_1340 = lean_ctor_get(x_1339, 1); lean_inc(x_1340); lean_dec(x_1339); @@ -10055,6 +10090,7 @@ if (lean_is_exclusive(x_1237)) { x_1382 = lean_box(0); } x_1383 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1238); +lean_dec(x_5); x_1384 = lean_ctor_get(x_1383, 1); lean_inc(x_1384); lean_dec(x_1383); @@ -10178,7 +10214,8 @@ else lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; uint8_t x_1444; lean_dec(x_1017); lean_dec(x_1016); -x_1433 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_1433 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_1434 = lean_ctor_get(x_1433, 0); lean_inc(x_1434); x_1435 = lean_ctor_get(x_1433, 1); @@ -10190,6 +10227,7 @@ x_1437 = l_Lean_mkHole(x_19); lean_inc(x_1434); x_1438 = l_Lean_Elab_Term_mkExplicitBinder(x_1434, x_1437); x_1439 = lean_array_push(x_4, x_1438); +lean_inc(x_5); x_1440 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_1436, x_1439, x_5, x_6, x_7, x_8, x_9, x_10, x_1435); x_1441 = lean_ctor_get(x_1440, 0); lean_inc(x_1441); @@ -10212,6 +10250,7 @@ x_1447 = lean_ctor_get(x_1442, 0); x_1448 = lean_ctor_get(x_1442, 1); lean_dec(x_1448); x_1449 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1443); +lean_dec(x_5); x_1450 = lean_ctor_get(x_1449, 1); lean_inc(x_1450); lean_dec(x_1449); @@ -10401,6 +10440,7 @@ x_1543 = lean_ctor_get(x_1442, 0); lean_inc(x_1543); lean_dec(x_1442); x_1544 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1443); +lean_dec(x_5); x_1545 = lean_ctor_get(x_1544, 1); lean_inc(x_1545); lean_dec(x_1544); @@ -10506,6 +10546,7 @@ if (lean_is_exclusive(x_1442)) { x_1587 = lean_box(0); } x_1588 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1443); +lean_dec(x_5); x_1589 = lean_ctor_get(x_1588, 1); lean_inc(x_1589); lean_dec(x_1588); @@ -10605,7 +10646,8 @@ else { lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; uint8_t x_1641; lean_dec(x_1013); -x_1630 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_1630 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_1631 = lean_ctor_get(x_1630, 0); lean_inc(x_1631); x_1632 = lean_ctor_get(x_1630, 1); @@ -10617,6 +10659,7 @@ x_1634 = l_Lean_mkHole(x_19); lean_inc(x_1631); x_1635 = l_Lean_Elab_Term_mkExplicitBinder(x_1631, x_1634); x_1636 = lean_array_push(x_4, x_1635); +lean_inc(x_5); x_1637 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_1633, x_1636, x_5, x_6, x_7, x_8, x_9, x_10, x_1632); x_1638 = lean_ctor_get(x_1637, 0); lean_inc(x_1638); @@ -10639,6 +10682,7 @@ x_1644 = lean_ctor_get(x_1639, 0); x_1645 = lean_ctor_get(x_1639, 1); lean_dec(x_1645); x_1646 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1640); +lean_dec(x_5); x_1647 = lean_ctor_get(x_1646, 1); lean_inc(x_1647); lean_dec(x_1646); @@ -10828,6 +10872,7 @@ x_1740 = lean_ctor_get(x_1639, 0); lean_inc(x_1740); lean_dec(x_1639); x_1741 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1640); +lean_dec(x_5); x_1742 = lean_ctor_get(x_1741, 1); lean_inc(x_1742); lean_dec(x_1741); @@ -10933,6 +10978,7 @@ if (lean_is_exclusive(x_1639)) { x_1784 = lean_box(0); } x_1785 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1640); +lean_dec(x_5); x_1786 = lean_ctor_get(x_1785, 1); lean_inc(x_1786); lean_dec(x_1785); @@ -11033,7 +11079,8 @@ else { lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_dec(x_200); -x_1827 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_1827 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_1828 = lean_ctor_get(x_1827, 0); lean_inc(x_1828); x_1829 = lean_ctor_get(x_1827, 1); @@ -11100,7 +11147,8 @@ lean_dec(x_198); lean_dec(x_197); lean_dec(x_196); lean_dec(x_195); -x_1847 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_1847 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_1848 = lean_ctor_get(x_1847, 0); lean_inc(x_1848); x_1849 = lean_ctor_get(x_1847, 1); @@ -11113,6 +11161,7 @@ x_1852 = l_Lean_mkHole(x_19); lean_inc(x_1848); x_1853 = l_Lean_Elab_Term_mkExplicitBinder(x_1848, x_1852); x_1854 = lean_array_push(x_4, x_1853); +lean_inc(x_5); x_1855 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_1851, x_1854, x_5, x_6, x_7, x_8, x_9, x_10, x_1849); x_1856 = lean_ctor_get(x_1855, 0); lean_inc(x_1856); @@ -11135,6 +11184,7 @@ x_1862 = lean_ctor_get(x_1857, 0); x_1863 = lean_ctor_get(x_1857, 1); lean_dec(x_1863); x_1864 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1858); +lean_dec(x_5); x_1865 = lean_ctor_get(x_1864, 1); lean_inc(x_1865); lean_dec(x_1864); @@ -11324,6 +11374,7 @@ x_1958 = lean_ctor_get(x_1857, 0); lean_inc(x_1958); lean_dec(x_1857); x_1959 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1858); +lean_dec(x_5); x_1960 = lean_ctor_get(x_1959, 1); lean_inc(x_1960); lean_dec(x_1959); @@ -11429,6 +11480,7 @@ if (lean_is_exclusive(x_1857)) { x_2002 = lean_box(0); } x_2003 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_1858); +lean_dec(x_5); x_2004 = lean_ctor_get(x_2003, 1); lean_inc(x_2004); lean_dec(x_2003); @@ -11531,7 +11583,8 @@ lean_dec(x_198); lean_dec(x_197); lean_dec(x_196); lean_dec(x_195); -x_2045 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_2045 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_2046 = lean_ctor_get(x_2045, 0); lean_inc(x_2046); x_2047 = lean_ctor_get(x_2045, 1); @@ -11544,6 +11597,7 @@ x_2050 = l_Lean_mkHole(x_19); lean_inc(x_2046); x_2051 = l_Lean_Elab_Term_mkExplicitBinder(x_2046, x_2050); x_2052 = lean_array_push(x_4, x_2051); +lean_inc(x_5); x_2053 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_2049, x_2052, x_5, x_6, x_7, x_8, x_9, x_10, x_2047); x_2054 = lean_ctor_get(x_2053, 0); lean_inc(x_2054); @@ -11566,6 +11620,7 @@ x_2060 = lean_ctor_get(x_2055, 0); x_2061 = lean_ctor_get(x_2055, 1); lean_dec(x_2061); x_2062 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2056); +lean_dec(x_5); x_2063 = lean_ctor_get(x_2062, 1); lean_inc(x_2063); lean_dec(x_2062); @@ -11755,6 +11810,7 @@ x_2156 = lean_ctor_get(x_2055, 0); lean_inc(x_2156); lean_dec(x_2055); x_2157 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2056); +lean_dec(x_5); x_2158 = lean_ctor_get(x_2157, 1); lean_inc(x_2158); lean_dec(x_2157); @@ -11860,6 +11916,7 @@ if (lean_is_exclusive(x_2055)) { x_2200 = lean_box(0); } x_2201 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2056); +lean_dec(x_5); x_2202 = lean_ctor_get(x_2201, 1); lean_inc(x_2202); lean_dec(x_2201); @@ -11961,7 +12018,8 @@ lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_22 lean_dec(x_197); lean_dec(x_196); lean_dec(x_195); -x_2243 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_2243 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_2244 = lean_ctor_get(x_2243, 0); lean_inc(x_2244); x_2245 = lean_ctor_get(x_2243, 1); @@ -11974,6 +12032,7 @@ x_2248 = l_Lean_mkHole(x_19); lean_inc(x_2244); x_2249 = l_Lean_Elab_Term_mkExplicitBinder(x_2244, x_2248); x_2250 = lean_array_push(x_4, x_2249); +lean_inc(x_5); x_2251 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_2247, x_2250, x_5, x_6, x_7, x_8, x_9, x_10, x_2245); x_2252 = lean_ctor_get(x_2251, 0); lean_inc(x_2252); @@ -11996,6 +12055,7 @@ x_2258 = lean_ctor_get(x_2253, 0); x_2259 = lean_ctor_get(x_2253, 1); lean_dec(x_2259); x_2260 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2254); +lean_dec(x_5); x_2261 = lean_ctor_get(x_2260, 1); lean_inc(x_2261); lean_dec(x_2260); @@ -12185,6 +12245,7 @@ x_2354 = lean_ctor_get(x_2253, 0); lean_inc(x_2354); lean_dec(x_2253); x_2355 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2254); +lean_dec(x_5); x_2356 = lean_ctor_get(x_2355, 1); lean_inc(x_2356); lean_dec(x_2355); @@ -12290,6 +12351,7 @@ if (lean_is_exclusive(x_2253)) { x_2398 = lean_box(0); } x_2399 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2254); +lean_dec(x_5); x_2400 = lean_ctor_get(x_2399, 1); lean_inc(x_2400); lean_dec(x_2399); @@ -12390,7 +12452,8 @@ else lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; uint8_t x_2453; lean_dec(x_196); lean_dec(x_195); -x_2441 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_2441 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_2442 = lean_ctor_get(x_2441, 0); lean_inc(x_2442); x_2443 = lean_ctor_get(x_2441, 1); @@ -12403,6 +12466,7 @@ x_2446 = l_Lean_mkHole(x_19); lean_inc(x_2442); x_2447 = l_Lean_Elab_Term_mkExplicitBinder(x_2442, x_2446); x_2448 = lean_array_push(x_4, x_2447); +lean_inc(x_5); x_2449 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_2445, x_2448, x_5, x_6, x_7, x_8, x_9, x_10, x_2443); x_2450 = lean_ctor_get(x_2449, 0); lean_inc(x_2450); @@ -12425,6 +12489,7 @@ x_2456 = lean_ctor_get(x_2451, 0); x_2457 = lean_ctor_get(x_2451, 1); lean_dec(x_2457); x_2458 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2452); +lean_dec(x_5); x_2459 = lean_ctor_get(x_2458, 1); lean_inc(x_2459); lean_dec(x_2458); @@ -12614,6 +12679,7 @@ x_2552 = lean_ctor_get(x_2451, 0); lean_inc(x_2552); lean_dec(x_2451); x_2553 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2452); +lean_dec(x_5); x_2554 = lean_ctor_get(x_2553, 1); lean_inc(x_2554); lean_dec(x_2553); @@ -12719,6 +12785,7 @@ if (lean_is_exclusive(x_2451)) { x_2596 = lean_box(0); } x_2597 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2452); +lean_dec(x_5); x_2598 = lean_ctor_get(x_2597, 1); lean_inc(x_2598); lean_dec(x_2597); @@ -12818,7 +12885,8 @@ else { lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; uint8_t x_2651; lean_dec(x_195); -x_2639 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_2639 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_2640 = lean_ctor_get(x_2639, 0); lean_inc(x_2640); x_2641 = lean_ctor_get(x_2639, 1); @@ -12831,6 +12899,7 @@ x_2644 = l_Lean_mkHole(x_19); lean_inc(x_2640); x_2645 = l_Lean_Elab_Term_mkExplicitBinder(x_2640, x_2644); x_2646 = lean_array_push(x_4, x_2645); +lean_inc(x_5); x_2647 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_2643, x_2646, x_5, x_6, x_7, x_8, x_9, x_10, x_2641); x_2648 = lean_ctor_get(x_2647, 0); lean_inc(x_2648); @@ -12853,6 +12922,7 @@ x_2654 = lean_ctor_get(x_2649, 0); x_2655 = lean_ctor_get(x_2649, 1); lean_dec(x_2655); x_2656 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2650); +lean_dec(x_5); x_2657 = lean_ctor_get(x_2656, 1); lean_inc(x_2657); lean_dec(x_2656); @@ -13042,6 +13112,7 @@ x_2750 = lean_ctor_get(x_2649, 0); lean_inc(x_2750); lean_dec(x_2649); x_2751 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2650); +lean_dec(x_5); x_2752 = lean_ctor_get(x_2751, 1); lean_inc(x_2752); lean_dec(x_2751); @@ -13147,6 +13218,7 @@ if (lean_is_exclusive(x_2649)) { x_2794 = lean_box(0); } x_2795 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2650); +lean_dec(x_5); x_2796 = lean_ctor_get(x_2795, 1); lean_inc(x_2796); lean_dec(x_2795); @@ -13245,7 +13317,8 @@ return x_2836; case 2: { lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; lean_object* x_2844; lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; lean_object* x_2848; uint8_t x_2849; -x_2837 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_5); +x_2837 = l_Lean_Elab_Term_mkFreshIdent(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_2838 = lean_ctor_get(x_2837, 0); lean_inc(x_2838); x_2839 = lean_ctor_get(x_2837, 1); @@ -13258,6 +13331,7 @@ x_2842 = l_Lean_mkHole(x_19); lean_inc(x_2838); x_2843 = l_Lean_Elab_Term_mkExplicitBinder(x_2838, x_2842); x_2844 = lean_array_push(x_4, x_2843); +lean_inc(x_5); x_2845 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main(x_1, x_2, x_2841, x_2844, x_5, x_6, x_7, x_8, x_9, x_10, x_2839); x_2846 = lean_ctor_get(x_2845, 0); lean_inc(x_2846); @@ -13280,6 +13354,7 @@ x_2852 = lean_ctor_get(x_2847, 0); x_2853 = lean_ctor_get(x_2847, 1); lean_dec(x_2853); x_2854 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2848); +lean_dec(x_5); x_2855 = lean_ctor_get(x_2854, 1); lean_inc(x_2855); lean_dec(x_2854); @@ -13471,6 +13546,7 @@ x_2948 = lean_ctor_get(x_2847, 0); lean_inc(x_2948); lean_dec(x_2847); x_2949 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2848); +lean_dec(x_5); x_2950 = lean_ctor_get(x_2949, 1); lean_inc(x_2950); lean_dec(x_2949); @@ -13577,6 +13653,7 @@ if (lean_is_exclusive(x_2847)) { x_2992 = lean_box(0); } x_2993 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_2848); +lean_dec(x_5); x_2994 = lean_ctor_get(x_2993, 1); lean_inc(x_2994); lean_dec(x_2993); @@ -13699,7 +13776,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_1); return x_12; } @@ -13722,7 +13798,6 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_1); return x_12; } @@ -13747,7 +13822,6 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); return x_10; } @@ -15489,29 +15563,6 @@ return x_2; lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__1; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__9; x_2 = l_Lean_mkOptionalNode___closed__1; @@ -15519,7 +15570,7 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__4() { +lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -15531,17 +15582,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5() { +lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__4; +x_2 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__6() { +lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__4() { _start: { lean_object* x_1; @@ -15549,39 +15600,39 @@ x_1 = lean_mk_string("intro"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7() { +lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1; -x_2 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__6; +x_2 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__8() { +lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_SourceInfo_inhabited___closed__1; -x_2 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__6; +x_2 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__4; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9() { +lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__8; +x_2 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__6; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10() { +lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__8() { _start: { lean_object* x_1; @@ -15589,7 +15640,7 @@ x_1 = lean_mk_string("match "); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__11() { +lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9() { _start: { lean_object* x_1; @@ -15597,7 +15648,7 @@ x_1 = lean_mk_string(" with "); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12() { +lean_object* _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -15633,14 +15684,14 @@ x_16 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_17 = l_Lean_addMacroScope(x_14, x_16, x_7); x_18 = lean_box(0); x_19 = l_Lean_SourceInfo_inhabited___closed__1; -x_20 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_20 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); lean_ctor_set(x_21, 2, x_17); lean_ctor_set(x_21, 3, x_18); x_22 = l_Array_isEmpty___rarg(x_5); -x_23 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; +x_23 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__1; lean_inc(x_21); x_24 = lean_array_push(x_23, x_21); x_25 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; @@ -15690,7 +15741,7 @@ x_41 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); -x_43 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; +x_43 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; x_44 = lean_array_push(x_43, x_42); x_45 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_46 = lean_alloc_ctor(1, 2, 0); @@ -15722,7 +15773,7 @@ x_58 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); -x_60 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; +x_60 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; x_61 = lean_array_push(x_60, x_59); x_62 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_63 = lean_alloc_ctor(1, 2, 0); @@ -15748,9 +15799,9 @@ x_69 = l_Lean_nullKind___closed__2; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); -x_71 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; +x_71 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; x_72 = lean_array_push(x_71, x_70); -x_73 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; +x_73 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -15778,9 +15829,9 @@ x_84 = l_Lean_nullKind___closed__2; x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_83); -x_86 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; +x_86 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; x_87 = lean_array_push(x_86, x_85); -x_88 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; +x_88 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); @@ -15820,14 +15871,14 @@ x_104 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_105 = l_Lean_addMacroScope(x_100, x_104, x_7); x_106 = lean_box(0); x_107 = l_Lean_SourceInfo_inhabited___closed__1; -x_108 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_108 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_109 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_109, 0, x_107); lean_ctor_set(x_109, 1, x_108); lean_ctor_set(x_109, 2, x_105); lean_ctor_set(x_109, 3, x_106); x_110 = l_Array_isEmpty___rarg(x_5); -x_111 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; +x_111 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__1; lean_inc(x_109); x_112 = lean_array_push(x_111, x_109); x_113 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; @@ -15884,7 +15935,7 @@ x_130 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; x_131 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_129); -x_132 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; +x_132 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; x_133 = lean_array_push(x_132, x_131); x_134 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_135 = lean_alloc_ctor(1, 2, 0); @@ -15920,9 +15971,9 @@ x_142 = l_Lean_nullKind___closed__2; x_143 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_143, 0, x_142); lean_ctor_set(x_143, 1, x_141); -x_144 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; +x_144 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; x_145 = lean_array_push(x_144, x_143); -x_146 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; +x_146 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; x_147 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_147, 0, x_146); lean_ctor_set(x_147, 1, x_145); @@ -15949,13 +16000,13 @@ else { lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_dec(x_6); -x_158 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10; +x_158 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__8; x_159 = l_Lean_mkAtomFrom(x_1, x_158); x_160 = l_Lean_nullKind; x_161 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_161, 0, x_160); lean_ctor_set(x_161, 1, x_5); -x_162 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__11; +x_162 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; x_163 = l_Lean_mkAtomFrom(x_1, x_162); x_164 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; x_165 = lean_array_push(x_164, x_159); @@ -15979,7 +16030,7 @@ return x_173; else { lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_174 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12; +x_174 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10; x_175 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_175, 0, x_174); lean_ctor_set(x_175, 1, x_170); @@ -16140,6 +16191,7 @@ x_39 = l_Lean_Syntax_getArgs(x_36); lean_dec(x_36); x_40 = lean_unsigned_to_nat(3u); x_41 = l_Lean_Syntax_getArg(x_1, x_40); +lean_inc(x_3); x_42 = l_Lean_Elab_Term_expandFunBinders(x_39, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_39); x_43 = lean_ctor_get(x_42, 0); @@ -16295,7 +16347,7 @@ lean_inc(x_101); x_102 = lean_ctor_get(x_100, 1); lean_inc(x_102); lean_dec(x_100); -x_103 = lean_ctor_get(x_101, 5); +x_103 = lean_ctor_get(x_101, 3); lean_inc(x_103); lean_dec(x_101); x_104 = lean_ctor_get(x_7, 1); @@ -16325,9 +16377,9 @@ x_115 = !lean_is_exclusive(x_113); if (x_115 == 0) { lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_113, 5); +x_116 = lean_ctor_get(x_113, 3); lean_dec(x_116); -lean_ctor_set(x_113, 5, x_111); +lean_ctor_set(x_113, 3, x_111); x_117 = lean_st_ref_set(x_4, x_113, x_114); x_118 = lean_ctor_get(x_117, 1); lean_inc(x_118); @@ -16338,34 +16390,28 @@ goto block_34; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; x_119 = lean_ctor_get(x_113, 0); x_120 = lean_ctor_get(x_113, 1); x_121 = lean_ctor_get(x_113, 2); -x_122 = lean_ctor_get(x_113, 3); -x_123 = lean_ctor_get(x_113, 4); -x_124 = lean_ctor_get(x_113, 6); -lean_inc(x_124); -lean_inc(x_123); +x_122 = lean_ctor_get(x_113, 4); lean_inc(x_122); lean_inc(x_121); lean_inc(x_120); lean_inc(x_119); lean_dec(x_113); -x_125 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_125, 0, x_119); -lean_ctor_set(x_125, 1, x_120); -lean_ctor_set(x_125, 2, x_121); -lean_ctor_set(x_125, 3, x_122); -lean_ctor_set(x_125, 4, x_123); -lean_ctor_set(x_125, 5, x_111); -lean_ctor_set(x_125, 6, x_124); -x_126 = lean_st_ref_set(x_4, x_125, x_114); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); +x_123 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_123, 0, x_119); +lean_ctor_set(x_123, 1, x_120); +lean_ctor_set(x_123, 2, x_121); +lean_ctor_set(x_123, 3, x_111); +lean_ctor_set(x_123, 4, x_122); +x_124 = lean_st_ref_set(x_4, x_123, x_114); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +lean_dec(x_124); x_10 = x_110; -x_11 = x_127; +x_11 = x_125; goto block_34; } } @@ -17066,14 +17112,14 @@ x_15 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_16 = l_Lean_addMacroScope(x_13, x_15, x_6); x_17 = lean_box(0); x_18 = l_Lean_SourceInfo_inhabited___closed__1; -x_19 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_19 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_20 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); lean_ctor_set(x_20, 2, x_16); lean_ctor_set(x_20, 3, x_17); x_21 = l_Array_isEmpty___rarg(x_4); -x_22 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; +x_22 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__1; lean_inc(x_20); x_23 = lean_array_push(x_22, x_20); x_24 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; @@ -17221,14 +17267,14 @@ x_91 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_92 = l_Lean_addMacroScope(x_87, x_91, x_6); x_93 = lean_box(0); x_94 = l_Lean_SourceInfo_inhabited___closed__1; -x_95 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_95 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_96 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); lean_ctor_set(x_96, 2, x_92); lean_ctor_set(x_96, 3, x_93); x_97 = l_Array_isEmpty___rarg(x_4); -x_98 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; +x_98 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__1; lean_inc(x_96); x_99 = lean_array_push(x_98, x_96); x_100 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; @@ -17328,13 +17374,13 @@ else { lean_object* x_139; lean_object* x_140; lean_object* x_141; 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_dec(x_5); -x_139 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10; +x_139 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__8; x_140 = l_Lean_mkAtomFrom(x_1, x_139); x_141 = l_Lean_nullKind; x_142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_142, 0, x_141); lean_ctor_set(x_142, 1, x_4); -x_143 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__11; +x_143 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; x_144 = l_Lean_mkAtomFrom(x_1, x_143); x_145 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; x_146 = lean_array_push(x_145, x_140); @@ -17596,7 +17642,7 @@ lean_inc(x_61); x_62 = lean_ctor_get(x_60, 1); lean_inc(x_62); lean_dec(x_60); -x_63 = lean_ctor_get(x_61, 5); +x_63 = lean_ctor_get(x_61, 3); lean_inc(x_63); lean_dec(x_61); x_64 = lean_ctor_get(x_8, 1); @@ -17626,9 +17672,9 @@ x_74 = !lean_is_exclusive(x_72); if (x_74 == 0) { lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_72, 5); +x_75 = lean_ctor_get(x_72, 3); lean_dec(x_75); -lean_ctor_set(x_72, 5, x_70); +lean_ctor_set(x_72, 3, x_70); x_76 = lean_st_ref_set(x_5, x_72, x_73); x_77 = lean_ctor_get(x_76, 1); lean_inc(x_77); @@ -17639,312 +17685,306 @@ goto block_40; } else { -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_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; x_78 = lean_ctor_get(x_72, 0); x_79 = lean_ctor_get(x_72, 1); x_80 = lean_ctor_get(x_72, 2); -x_81 = lean_ctor_get(x_72, 3); -x_82 = lean_ctor_get(x_72, 4); -x_83 = lean_ctor_get(x_72, 6); -lean_inc(x_83); -lean_inc(x_82); +x_81 = lean_ctor_get(x_72, 4); lean_inc(x_81); lean_inc(x_80); lean_inc(x_79); lean_inc(x_78); lean_dec(x_72); -x_84 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_84, 0, x_78); -lean_ctor_set(x_84, 1, x_79); -lean_ctor_set(x_84, 2, x_80); -lean_ctor_set(x_84, 3, x_81); -lean_ctor_set(x_84, 4, x_82); -lean_ctor_set(x_84, 5, x_70); -lean_ctor_set(x_84, 6, x_83); -x_85 = lean_st_ref_set(x_5, x_84, x_73); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); +x_82 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_82, 0, x_78); +lean_ctor_set(x_82, 1, x_79); +lean_ctor_set(x_82, 2, x_80); +lean_ctor_set(x_82, 3, x_70); +lean_ctor_set(x_82, 4, x_81); +x_83 = lean_st_ref_set(x_5, x_82, x_73); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); x_13 = x_69; -x_14 = x_86; +x_14 = x_84; goto block_40; } } } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; 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; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; 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_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 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_158; +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; lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; 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; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; 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_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 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_dec(x_45); lean_dec(x_12); -x_87 = l_Lean_Syntax_getArg(x_42, x_41); -x_88 = lean_unsigned_to_nat(2u); -x_89 = l_Lean_Syntax_getArg(x_42, x_88); -x_90 = l_Lean_Elab_Term_expandOptType(x_1, x_89); -lean_dec(x_89); -x_91 = lean_unsigned_to_nat(4u); -x_92 = l_Lean_Syntax_getArg(x_42, x_91); +x_85 = l_Lean_Syntax_getArg(x_42, x_41); +x_86 = lean_unsigned_to_nat(2u); +x_87 = l_Lean_Syntax_getArg(x_42, x_86); +x_88 = l_Lean_Elab_Term_expandOptType(x_1, x_87); +lean_dec(x_87); +x_89 = lean_unsigned_to_nat(4u); +x_90 = l_Lean_Syntax_getArg(x_42, x_89); lean_dec(x_42); -x_93 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); +x_91 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_93); +x_95 = lean_ctor_get(x_94, 0); lean_inc(x_95); -lean_dec(x_93); -x_96 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_95); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; -x_100 = l_Lean_addMacroScope(x_97, x_99, x_94); -x_101 = lean_box(0); -x_102 = l_Lean_SourceInfo_inhabited___closed__1; -x_103 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -x_104 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -lean_ctor_set(x_104, 2, x_100); -lean_ctor_set(x_104, 3, x_101); -x_105 = l_Array_empty___closed__1; -lean_inc(x_104); -x_106 = lean_array_push(x_105, x_104); -x_107 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_108 = lean_array_push(x_106, x_107); -x_109 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__26; -x_110 = lean_array_push(x_109, x_90); -x_111 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_110); -x_113 = lean_array_push(x_105, x_112); -x_114 = l_Lean_nullKind___closed__2; -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -x_116 = lean_array_push(x_108, x_115); -x_117 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_118 = lean_array_push(x_116, x_117); -x_119 = lean_array_push(x_118, x_92); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_46); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_push(x_105, x_120); -x_122 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -x_124 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_125 = lean_array_push(x_124, x_123); -x_126 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_127 = lean_array_push(x_125, x_126); -x_128 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; -x_129 = lean_array_push(x_128, x_104); -x_130 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; +x_98 = l_Lean_addMacroScope(x_95, x_97, x_92); +x_99 = lean_box(0); +x_100 = l_Lean_SourceInfo_inhabited___closed__1; +x_101 = l_Lean_Elab_Term_mkFreshUserName___closed__2; +x_102 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +lean_ctor_set(x_102, 2, x_98); +lean_ctor_set(x_102, 3, x_99); +x_103 = l_Array_empty___closed__1; +lean_inc(x_102); +x_104 = lean_array_push(x_103, x_102); +x_105 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_106 = lean_array_push(x_104, x_105); +x_107 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__26; +x_108 = lean_array_push(x_107, x_88); +x_109 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +x_111 = lean_array_push(x_103, x_110); +x_112 = l_Lean_nullKind___closed__2; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +x_114 = lean_array_push(x_106, x_113); +x_115 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_116 = lean_array_push(x_114, x_115); +x_117 = lean_array_push(x_116, x_90); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_46); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_103, x_118); +x_120 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +x_122 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_123 = lean_array_push(x_122, x_121); +x_124 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_125 = lean_array_push(x_123, x_124); +x_126 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; +x_127 = lean_array_push(x_126, x_102); +x_128 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_array_push(x_103, x_129); x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_131, 1, x_129); -x_132 = lean_array_push(x_105, x_131); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_114); -lean_ctor_set(x_133, 1, x_132); -x_134 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; -x_135 = lean_array_push(x_134, x_133); -x_136 = lean_array_push(x_135, x_107); -x_137 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; -x_138 = lean_array_push(x_136, x_137); -x_139 = lean_array_push(x_105, x_87); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_114); -lean_ctor_set(x_140, 1, x_139); -x_141 = lean_array_push(x_105, x_140); -x_142 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__17; -x_143 = lean_array_push(x_141, x_142); -x_144 = lean_array_push(x_143, x_44); -x_145 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +lean_ctor_set(x_131, 0, x_112); +lean_ctor_set(x_131, 1, x_130); +x_132 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; +x_133 = lean_array_push(x_132, x_131); +x_134 = lean_array_push(x_133, x_105); +x_135 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; +x_136 = lean_array_push(x_134, x_135); +x_137 = lean_array_push(x_103, x_85); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_112); +lean_ctor_set(x_138, 1, x_137); +x_139 = lean_array_push(x_103, x_138); +x_140 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__17; +x_141 = lean_array_push(x_139, x_140); +x_142 = lean_array_push(x_141, x_44); +x_143 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_142); +x_145 = lean_array_push(x_103, x_144); x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_144); -x_147 = lean_array_push(x_105, x_146); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_114); -lean_ctor_set(x_148, 1, x_147); -x_149 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; -x_150 = lean_array_push(x_149, x_148); -x_151 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = lean_array_push(x_138, x_152); -x_154 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = lean_array_push(x_127, x_155); -x_157 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_156); +lean_ctor_set(x_146, 0, x_112); +lean_ctor_set(x_146, 1, x_145); +x_147 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; +x_148 = lean_array_push(x_147, x_146); +x_149 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_148); +x_151 = lean_array_push(x_136, x_150); +x_152 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_151); +x_154 = lean_array_push(x_125, x_153); +x_155 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_154); if (x_3 == 0) { -uint8_t x_159; -x_159 = !lean_is_exclusive(x_4); -if (x_159 == 0) +uint8_t x_157; +x_157 = !lean_is_exclusive(x_4); +if (x_157 == 0) { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; -x_160 = lean_ctor_get(x_4, 6); -x_161 = l_Lean_Elab_Term_elabLetDeclCore___closed__8; -x_162 = l_Lean_Syntax_updateKind(x_158, x_161); -lean_inc(x_162); -x_163 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_163, 0, x_1); -lean_ctor_set(x_163, 1, x_162); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_160); -lean_ctor_set(x_4, 6, x_164); -x_165 = 1; -x_166 = l_Lean_Elab_Term_elabTerm(x_162, x_2, x_165, x_4, x_5, x_6, x_7, x_8, x_9, x_98); -return x_166; +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; +x_158 = lean_ctor_get(x_4, 6); +x_159 = l_Lean_Elab_Term_elabLetDeclCore___closed__8; +x_160 = l_Lean_Syntax_updateKind(x_156, x_159); +lean_inc(x_160); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_1); +lean_ctor_set(x_161, 1, x_160); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_158); +lean_ctor_set(x_4, 6, x_162); +x_163 = 1; +x_164 = l_Lean_Elab_Term_elabTerm(x_160, x_2, x_163, x_4, x_5, x_6, x_7, x_8, x_9, x_96); +return x_164; } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; uint8_t x_176; uint8_t x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; lean_object* x_184; -x_167 = lean_ctor_get(x_4, 0); -x_168 = lean_ctor_get(x_4, 1); -x_169 = lean_ctor_get(x_4, 2); -x_170 = lean_ctor_get(x_4, 3); -x_171 = lean_ctor_get(x_4, 4); -x_172 = lean_ctor_get(x_4, 5); -x_173 = lean_ctor_get(x_4, 6); -x_174 = lean_ctor_get(x_4, 7); -x_175 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_176 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_177 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -lean_inc(x_174); -lean_inc(x_173); +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; uint8_t x_174; uint8_t x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; lean_object* x_182; +x_165 = lean_ctor_get(x_4, 0); +x_166 = lean_ctor_get(x_4, 1); +x_167 = lean_ctor_get(x_4, 2); +x_168 = lean_ctor_get(x_4, 3); +x_169 = lean_ctor_get(x_4, 4); +x_170 = lean_ctor_get(x_4, 5); +x_171 = lean_ctor_get(x_4, 6); +x_172 = lean_ctor_get(x_4, 7); +x_173 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_174 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_175 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); lean_inc(x_172); lean_inc(x_171); lean_inc(x_170); lean_inc(x_169); lean_inc(x_168); lean_inc(x_167); +lean_inc(x_166); +lean_inc(x_165); lean_dec(x_4); -x_178 = l_Lean_Elab_Term_elabLetDeclCore___closed__8; -x_179 = l_Lean_Syntax_updateKind(x_158, x_178); -lean_inc(x_179); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_1); -lean_ctor_set(x_180, 1, x_179); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_173); -x_182 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_182, 0, x_167); -lean_ctor_set(x_182, 1, x_168); -lean_ctor_set(x_182, 2, x_169); -lean_ctor_set(x_182, 3, x_170); -lean_ctor_set(x_182, 4, x_171); -lean_ctor_set(x_182, 5, x_172); -lean_ctor_set(x_182, 6, x_181); -lean_ctor_set(x_182, 7, x_174); -lean_ctor_set_uint8(x_182, sizeof(void*)*8, x_175); -lean_ctor_set_uint8(x_182, sizeof(void*)*8 + 1, x_176); -lean_ctor_set_uint8(x_182, sizeof(void*)*8 + 2, x_177); -x_183 = 1; -x_184 = l_Lean_Elab_Term_elabTerm(x_179, x_2, x_183, x_182, x_5, x_6, x_7, x_8, x_9, x_98); -return x_184; +x_176 = l_Lean_Elab_Term_elabLetDeclCore___closed__8; +x_177 = l_Lean_Syntax_updateKind(x_156, x_176); +lean_inc(x_177); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_1); +lean_ctor_set(x_178, 1, x_177); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_171); +x_180 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_180, 0, x_165); +lean_ctor_set(x_180, 1, x_166); +lean_ctor_set(x_180, 2, x_167); +lean_ctor_set(x_180, 3, x_168); +lean_ctor_set(x_180, 4, x_169); +lean_ctor_set(x_180, 5, x_170); +lean_ctor_set(x_180, 6, x_179); +lean_ctor_set(x_180, 7, x_172); +lean_ctor_set_uint8(x_180, sizeof(void*)*8, x_173); +lean_ctor_set_uint8(x_180, sizeof(void*)*8 + 1, x_174); +lean_ctor_set_uint8(x_180, sizeof(void*)*8 + 2, x_175); +x_181 = 1; +x_182 = l_Lean_Elab_Term_elabTerm(x_177, x_2, x_181, x_180, x_5, x_6, x_7, x_8, x_9, x_96); +return x_182; } } else { -uint8_t x_185; -x_185 = !lean_is_exclusive(x_4); -if (x_185 == 0) +uint8_t x_183; +x_183 = !lean_is_exclusive(x_4); +if (x_183 == 0) { -lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; lean_object* x_190; -x_186 = lean_ctor_get(x_4, 6); -lean_inc(x_158); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_1); -lean_ctor_set(x_187, 1, x_158); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_186); -lean_ctor_set(x_4, 6, x_188); -x_189 = 1; -x_190 = l_Lean_Elab_Term_elabTerm(x_158, x_2, x_189, x_4, x_5, x_6, x_7, x_8, x_9, x_98); -return x_190; +lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_188; +x_184 = lean_ctor_get(x_4, 6); +lean_inc(x_156); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_1); +lean_ctor_set(x_185, 1, x_156); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_184); +lean_ctor_set(x_4, 6, x_186); +x_187 = 1; +x_188 = l_Lean_Elab_Term_elabTerm(x_156, x_2, x_187, x_4, x_5, x_6, x_7, x_8, x_9, x_96); +return x_188; } else { -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; uint8_t x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; lean_object* x_206; -x_191 = lean_ctor_get(x_4, 0); -x_192 = lean_ctor_get(x_4, 1); -x_193 = lean_ctor_get(x_4, 2); -x_194 = lean_ctor_get(x_4, 3); -x_195 = lean_ctor_get(x_4, 4); -x_196 = lean_ctor_get(x_4, 5); -x_197 = lean_ctor_get(x_4, 6); -x_198 = lean_ctor_get(x_4, 7); -x_199 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_200 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_201 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -lean_inc(x_198); -lean_inc(x_197); +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; uint8_t x_198; uint8_t x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; lean_object* x_204; +x_189 = lean_ctor_get(x_4, 0); +x_190 = lean_ctor_get(x_4, 1); +x_191 = lean_ctor_get(x_4, 2); +x_192 = lean_ctor_get(x_4, 3); +x_193 = lean_ctor_get(x_4, 4); +x_194 = lean_ctor_get(x_4, 5); +x_195 = lean_ctor_get(x_4, 6); +x_196 = lean_ctor_get(x_4, 7); +x_197 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_198 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_199 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); lean_inc(x_196); lean_inc(x_195); lean_inc(x_194); lean_inc(x_193); lean_inc(x_192); lean_inc(x_191); +lean_inc(x_190); +lean_inc(x_189); lean_dec(x_4); -lean_inc(x_158); -x_202 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_202, 0, x_1); -lean_ctor_set(x_202, 1, x_158); -x_203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_203, 0, x_202); -lean_ctor_set(x_203, 1, x_197); -x_204 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_204, 0, x_191); -lean_ctor_set(x_204, 1, x_192); -lean_ctor_set(x_204, 2, x_193); -lean_ctor_set(x_204, 3, x_194); -lean_ctor_set(x_204, 4, x_195); -lean_ctor_set(x_204, 5, x_196); -lean_ctor_set(x_204, 6, x_203); -lean_ctor_set(x_204, 7, x_198); -lean_ctor_set_uint8(x_204, sizeof(void*)*8, x_199); -lean_ctor_set_uint8(x_204, sizeof(void*)*8 + 1, x_200); -lean_ctor_set_uint8(x_204, sizeof(void*)*8 + 2, x_201); -x_205 = 1; -x_206 = l_Lean_Elab_Term_elabTerm(x_158, x_2, x_205, x_204, x_5, x_6, x_7, x_8, x_9, x_98); -return x_206; +lean_inc(x_156); +x_200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_200, 0, x_1); +lean_ctor_set(x_200, 1, x_156); +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_195); +x_202 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_202, 0, x_189); +lean_ctor_set(x_202, 1, x_190); +lean_ctor_set(x_202, 2, x_191); +lean_ctor_set(x_202, 3, x_192); +lean_ctor_set(x_202, 4, x_193); +lean_ctor_set(x_202, 5, x_194); +lean_ctor_set(x_202, 6, x_201); +lean_ctor_set(x_202, 7, x_196); +lean_ctor_set_uint8(x_202, sizeof(void*)*8, x_197); +lean_ctor_set_uint8(x_202, sizeof(void*)*8 + 1, x_198); +lean_ctor_set_uint8(x_202, sizeof(void*)*8 + 2, x_199); +x_203 = 1; +x_204 = l_Lean_Elab_Term_elabTerm(x_156, x_2, x_203, x_202, x_5, x_6, x_7, x_8, x_9, x_96); +return x_204; } } } } else { -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_dec(x_45); lean_dec(x_12); lean_dec(x_1); -x_207 = l_Lean_Elab_Term_mkLetIdDeclView(x_42); +x_205 = l_Lean_Elab_Term_mkLetIdDeclView(x_42); lean_dec(x_42); -x_208 = lean_ctor_get(x_207, 0); +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_205, 1); +lean_inc(x_207); +x_208 = lean_ctor_get(x_205, 2); lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); +x_209 = lean_ctor_get(x_205, 3); lean_inc(x_209); -x_210 = lean_ctor_get(x_207, 2); -lean_inc(x_210); -x_211 = lean_ctor_get(x_207, 3); -lean_inc(x_211); +lean_dec(x_205); +x_210 = l_Lean_Elab_Term_elabLetDeclAux(x_206, x_207, x_208, x_209, x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_207); -x_212 = l_Lean_Elab_Term_elabLetDeclAux(x_208, x_209, x_210, x_211, x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_209); -return x_212; +return x_210; } block_40: { @@ -18359,10 +18399,6 @@ l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9 lean_mark_persistent(l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9); l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10 = _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10(); lean_mark_persistent(l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10); -l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__11 = _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__11); -l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12 = _init_l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12); l___regBuiltin_Lean_Elab_Term_elabFun___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabFun___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabFun___closed__1); res = l___regBuiltin_Lean_Elab_Term_elabFun(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index bdc5e7ffa7..9d508ce757 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -22,6 +22,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_3__elabCommandUs lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabEval___closed__3; lean_object* l_Lean_extractMacroScopes(lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_9__addNamespace(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__3; lean_object* l_Lean_Elab_Command_Lean_MonadOptions; @@ -169,7 +170,6 @@ lean_object* l_Lean_Elab_Command_getLevelNames___rarg(lean_object*, lean_object* lean_object* l_Lean_Elab_Command_getScopes___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MonadIO(lean_object*); lean_object* l_Std_mkHashMap___at_Lean_Elab_Command_commandElabAttribute___spec__1(lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttribute___closed__10; lean_object* l___private_Lean_Elab_Command_8__addScopes___main___closed__3; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___main___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -6103,7 +6103,7 @@ return x_5; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(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; 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_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_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_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_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_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; x_6 = lean_st_ref_get(x_4, x_5); x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); @@ -6121,295 +6121,292 @@ lean_inc(x_12); x_13 = l___private_Lean_Elab_Command_6__mkTermContext(x_3, x_7, x_1); x_14 = lean_box(0); x_15 = l_Std_PersistentArray_empty___closed__3; -x_16 = lean_unsigned_to_nat(1u); -x_17 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_14); -lean_ctor_set(x_17, 2, x_15); -lean_ctor_set(x_17, 3, x_16); -lean_ctor_set(x_17, 4, x_16); -lean_ctor_set(x_17, 5, x_11); -lean_ctor_set(x_17, 6, x_14); -x_18 = l___private_Lean_Elab_Command_1__mkCoreContext(x_3, x_7); +x_16 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_16, 2, x_15); +lean_ctor_set(x_16, 3, x_11); +lean_ctor_set(x_16, 4, x_14); +x_17 = l___private_Lean_Elab_Command_1__mkCoreContext(x_3, x_7); lean_dec(x_7); -x_19 = l_Lean_TraceState_Inhabited___closed__1; -x_20 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_20, 0, x_9); -lean_ctor_set(x_20, 1, x_12); -lean_ctor_set(x_20, 2, x_19); -x_21 = lean_st_mk_ref(x_20, x_8); -x_22 = lean_ctor_get(x_21, 0); +x_18 = l_Lean_TraceState_Inhabited___closed__1; +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_12); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_st_mk_ref(x_19, x_8); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_71 = l_Lean_Meta_State_inhabited___closed__7; -x_72 = lean_st_mk_ref(x_71, x_23); -x_73 = lean_ctor_get(x_72, 0); +lean_dec(x_20); +x_70 = l_Lean_Meta_State_inhabited___closed__7; +x_71 = lean_st_mk_ref(x_70, x_22); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_st_mk_ref(x_17, x_74); -x_76 = lean_ctor_get(x_75, 0); +lean_dec(x_71); +x_74 = lean_st_mk_ref(x_16, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__2; -lean_inc(x_22); -lean_inc(x_73); -lean_inc(x_76); -x_79 = lean_apply_7(x_2, x_13, x_76, x_78, x_73, x_18, x_22, x_77); -if (lean_obj_tag(x_79) == 0) +lean_dec(x_74); +x_77 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__2; +lean_inc(x_21); +lean_inc(x_72); +lean_inc(x_75); +x_78 = lean_apply_7(x_2, x_13, x_75, x_77, x_72, x_17, x_21, x_76); +if (lean_obj_tag(x_78) == 0) { -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; -x_80 = lean_ctor_get(x_79, 0); +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; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_80); -x_83 = lean_st_ref_get(x_76, x_81); -lean_dec(x_76); -x_84 = lean_ctor_get(x_83, 0); +lean_dec(x_78); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_79); +x_82 = lean_st_ref_get(x_75, x_80); +lean_dec(x_75); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_82); -lean_ctor_set(x_86, 1, x_84); -x_87 = lean_st_ref_get(x_73, x_85); -lean_dec(x_73); -x_88 = lean_ctor_get(x_87, 0); +lean_dec(x_82); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_81); +lean_ctor_set(x_85, 1, x_83); +x_86 = lean_st_ref_get(x_72, x_84); +lean_dec(x_72); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_86); -lean_ctor_set(x_90, 1, x_88); -x_24 = x_90; -x_25 = x_89; -goto block_70; +lean_dec(x_86); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_85); +lean_ctor_set(x_89, 1, x_87); +x_23 = x_89; +x_24 = x_88; +goto block_69; } else { -lean_object* x_91; lean_object* x_92; 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; -x_91 = lean_ctor_get(x_79, 0); +lean_object* x_90; lean_object* x_91; lean_object* x_92; 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; +x_90 = lean_ctor_get(x_78, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_78, 1); lean_inc(x_91); -x_92 = lean_ctor_get(x_79, 1); -lean_inc(x_92); -lean_dec(x_79); -x_93 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_93, 0, x_91); -x_94 = lean_st_ref_get(x_76, x_92); -lean_dec(x_76); -x_95 = lean_ctor_get(x_94, 0); +lean_dec(x_78); +x_92 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_92, 0, x_90); +x_93 = lean_st_ref_get(x_75, x_91); +lean_dec(x_75); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_93); -lean_ctor_set(x_97, 1, x_95); -x_98 = lean_st_ref_get(x_73, x_96); -lean_dec(x_73); -x_99 = lean_ctor_get(x_98, 0); +lean_dec(x_93); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_92); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_st_ref_get(x_72, x_95); +lean_dec(x_72); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec(x_98); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_97); -lean_ctor_set(x_101, 1, x_99); -x_24 = x_101; -x_25 = x_100; -goto block_70; +lean_dec(x_97); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_96); +lean_ctor_set(x_100, 1, x_98); +x_23 = x_100; +x_24 = x_99; +goto block_69; } -block_70: +block_69: { -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; uint8_t x_39; -x_26 = lean_st_ref_get(x_22, x_25); -lean_dec(x_22); -x_27 = lean_ctor_get(x_24, 0); +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; uint8_t x_38; +x_25 = lean_st_ref_get(x_21, x_24); +lean_dec(x_21); +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +lean_dec(x_23); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_ctor_get(x_26, 0); +x_28 = lean_ctor_get(x_25, 1); lean_inc(x_28); -x_29 = lean_ctor_get(x_26, 1); +lean_dec(x_25); +x_29 = lean_ctor_get(x_26, 0); lean_inc(x_29); -lean_dec(x_26); -x_30 = lean_ctor_get(x_27, 0); +x_30 = lean_ctor_get(x_26, 1); lean_inc(x_30); -x_31 = lean_ctor_get(x_27, 1); -lean_inc(x_31); -lean_dec(x_27); -x_32 = lean_st_ref_take(x_4, x_29); -x_33 = lean_ctor_get(x_32, 0); +lean_dec(x_26); +x_31 = lean_st_ref_take(x_4, x_28); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_28, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_28, 1); -lean_inc(x_36); -lean_dec(x_28); -x_37 = lean_ctor_get(x_31, 2); -lean_inc(x_37); lean_dec(x_31); -x_38 = l_Std_PersistentArray_append___rarg(x_10, x_37); -lean_dec(x_37); -x_39 = !lean_is_exclusive(x_33); -if (x_39 == 0) +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_27, 1); +lean_inc(x_35); +lean_dec(x_27); +x_36 = lean_ctor_get(x_30, 2); +lean_inc(x_36); +lean_dec(x_30); +x_37 = l_Std_PersistentArray_append___rarg(x_10, x_36); +lean_dec(x_36); +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_33, 6); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_32, 6); +lean_dec(x_39); +x_40 = lean_ctor_get(x_32, 1); lean_dec(x_40); -x_41 = lean_ctor_get(x_33, 1); +x_41 = lean_ctor_get(x_32, 0); lean_dec(x_41); -x_42 = lean_ctor_get(x_33, 0); -lean_dec(x_42); -lean_ctor_set(x_33, 6, x_36); -lean_ctor_set(x_33, 1, x_38); -lean_ctor_set(x_33, 0, x_35); -x_43 = lean_st_ref_set(x_4, x_33, x_34); -if (lean_obj_tag(x_30) == 0) +lean_ctor_set(x_32, 6, x_35); +lean_ctor_set(x_32, 1, x_37); +lean_ctor_set(x_32, 0, x_34); +x_42 = lean_st_ref_set(x_4, x_32, x_33); +if (lean_obj_tag(x_29) == 0) { -uint8_t x_44; -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) +uint8_t x_43; +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -x_46 = lean_ctor_get(x_30, 0); +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +x_45 = lean_ctor_get(x_29, 0); +lean_inc(x_45); +lean_dec(x_29); +lean_ctor_set_tag(x_42, 1); +lean_ctor_set(x_42, 0, x_45); +return x_42; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_42, 1); lean_inc(x_46); -lean_dec(x_30); -lean_ctor_set_tag(x_43, 1); -lean_ctor_set(x_43, 0, x_46); -return x_43; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_43, 1); +lean_dec(x_42); +x_47 = lean_ctor_get(x_29, 0); lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_ctor_get(x_30, 0); -lean_inc(x_48); -lean_dec(x_30); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; +lean_dec(x_29); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +return x_48; } } else { -uint8_t x_50; -x_50 = !lean_is_exclusive(x_43); -if (x_50 == 0) +uint8_t x_49; +x_49 = !lean_is_exclusive(x_42); +if (x_49 == 0) { -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_43, 0); -lean_dec(x_51); -x_52 = lean_ctor_get(x_30, 0); +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_42, 0); +lean_dec(x_50); +x_51 = lean_ctor_get(x_29, 0); +lean_inc(x_51); +lean_dec(x_29); +lean_ctor_set(x_42, 0, x_51); +return x_42; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_42, 1); lean_inc(x_52); -lean_dec(x_30); -lean_ctor_set(x_43, 0, x_52); -return x_43; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_43, 1); +lean_dec(x_42); +x_53 = lean_ctor_get(x_29, 0); lean_inc(x_53); -lean_dec(x_43); -x_54 = lean_ctor_get(x_30, 0); -lean_inc(x_54); -lean_dec(x_30); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -return x_55; +lean_dec(x_29); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +return x_54; } } } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_56 = lean_ctor_get(x_33, 2); -x_57 = lean_ctor_get(x_33, 3); -x_58 = lean_ctor_get(x_33, 4); -x_59 = lean_ctor_get(x_33, 5); -lean_inc(x_59); +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_55 = lean_ctor_get(x_32, 2); +x_56 = lean_ctor_get(x_32, 3); +x_57 = lean_ctor_get(x_32, 4); +x_58 = lean_ctor_get(x_32, 5); lean_inc(x_58); lean_inc(x_57); lean_inc(x_56); -lean_dec(x_33); -x_60 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_60, 0, x_35); -lean_ctor_set(x_60, 1, x_38); -lean_ctor_set(x_60, 2, x_56); -lean_ctor_set(x_60, 3, x_57); -lean_ctor_set(x_60, 4, x_58); -lean_ctor_set(x_60, 5, x_59); -lean_ctor_set(x_60, 6, x_36); -x_61 = lean_st_ref_set(x_4, x_60, x_34); -if (lean_obj_tag(x_30) == 0) +lean_inc(x_55); +lean_dec(x_32); +x_59 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_59, 0, x_34); +lean_ctor_set(x_59, 1, x_37); +lean_ctor_set(x_59, 2, x_55); +lean_ctor_set(x_59, 3, x_56); +lean_ctor_set(x_59, 4, x_57); +lean_ctor_set(x_59, 5, x_58); +lean_ctor_set(x_59, 6, x_35); +x_60 = lean_st_ref_set(x_4, x_59, x_33); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_63 = x_61; +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_62 = x_60; } else { - lean_dec_ref(x_61); - x_63 = lean_box(0); + lean_dec_ref(x_60); + x_62 = lean_box(0); } -x_64 = lean_ctor_get(x_30, 0); -lean_inc(x_64); -lean_dec(x_30); -if (lean_is_scalar(x_63)) { - x_65 = lean_alloc_ctor(1, 2, 0); +x_63 = lean_ctor_get(x_29, 0); +lean_inc(x_63); +lean_dec(x_29); +if (lean_is_scalar(x_62)) { + x_64 = lean_alloc_ctor(1, 2, 0); } else { - x_65 = x_63; - lean_ctor_set_tag(x_65, 1); + x_64 = x_62; + lean_ctor_set_tag(x_64, 1); } -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_61); +return x_64; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_66 = lean_ctor_get(x_61, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_67 = x_61; +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_60, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_66 = x_60; } else { - lean_dec_ref(x_61); - x_67 = lean_box(0); + lean_dec_ref(x_60); + x_66 = lean_box(0); } -x_68 = lean_ctor_get(x_30, 0); -lean_inc(x_68); -lean_dec(x_30); -if (lean_is_scalar(x_67)) { - x_69 = lean_alloc_ctor(0, 2, 0); +x_67 = lean_ctor_get(x_29, 0); +lean_inc(x_67); +lean_dec(x_29); +if (lean_is_scalar(x_66)) { + x_68 = lean_alloc_ctor(0, 2, 0); } else { - x_69 = x_67; + x_68 = x_66; } -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_66); -return x_69; +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_65); +return x_68; } } } @@ -12812,7 +12809,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_19 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +x_19 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_16); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; @@ -14078,7 +14075,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_21 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_19, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_21 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_19, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_18); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; @@ -14727,7 +14724,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_21 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_19, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_21 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_19, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_18); if (lean_obj_tag(x_21) == 0) { 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; uint8_t x_29; lean_object* x_30; @@ -15707,7 +15704,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_19 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +x_19 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_16); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index 1e3f9d7f4c..6baab26678 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -17,6 +17,7 @@ lean_object* l_Lean_Elab_Command_elabDeclaration(lean_object*, lean_object*, lea extern lean_object* l_Lean_Elab_Command_elabStructure___closed__11; lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); lean_object* l___private_Lean_Elab_Declaration_8__expandMutualPreamble_x3f___closed__5; lean_object* l_Lean_Elab_Command_elabAxiom___lambda__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*); @@ -58,7 +59,6 @@ lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Declaration_10_ uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Declaration_5__isMutualDef___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual(lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__7; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1834,7 +1834,7 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_26 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_24, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +x_26 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_24, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_23); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; diff --git a/stage0/stdlib/Lean/Elab/DoNotation.c b/stage0/stdlib/Lean/Elab/DoNotation.c index 9f97d4fef7..168a25671c 100644 --- a/stage0/stdlib/Lean/Elab/DoNotation.c +++ b/stage0/stdlib/Lean/Elab/DoNotation.c @@ -23,7 +23,6 @@ lean_object* l___private_Lean_Elab_DoNotation_5__expandLiftMethodAux(lean_object lean_object* l_Array_back___at___private_Lean_Elab_DoNotation_10__mkBind___spec__1___boxed(lean_object*); extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* l___private_Lean_Elab_DoNotation_7__expandDoElemsAux___main___closed__5; -extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; lean_object* l___private_Lean_Elab_DoNotation_11__processDoElemsAux___main___lambda__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*); extern lean_object* l___private_Lean_Elab_Term_6__expandCDot___main___closed__3; lean_object* l___private_Lean_Elab_DoNotation_11__processDoElemsAux___main___closed__2; @@ -60,6 +59,7 @@ lean_object* l___private_Lean_Elab_DoNotation_1__mkIdBindFor___closed__3; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__14; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_DoNotation_4__hasLiftMethod___main(lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Lean_Elab_DoNotation_10__mkBind___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*); @@ -79,6 +79,7 @@ extern lean_object* l_Lean_Expr_Inhabited___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_mkFreshUserName___closed__2; lean_object* l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; lean_object* l___private_Lean_Elab_DoNotation_5__expandLiftMethodAux___main___closed__4; @@ -99,7 +100,6 @@ lean_object* l___private_Lean_Elab_DoNotation_7__expandDoElemsAux___main___close lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(lean_object*); lean_object* l___private_Lean_Elab_DoNotation_11__processDoElemsAux___main___lambda__1(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*); extern lean_object* l_Lean_mkAppStx___closed__6; lean_object* l___private_Lean_Elab_DoNotation_11__processDoElemsAux___main(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*); @@ -2230,7 +2230,7 @@ x_82 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_83 = l_Lean_addMacroScope(x_81, x_82, x_80); x_84 = lean_box(0); x_85 = l_Lean_SourceInfo_inhabited___closed__1; -x_86 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_86 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_87 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_87, 0, x_85); lean_ctor_set(x_87, 1, x_86); @@ -2336,7 +2336,7 @@ x_145 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_146 = l_Lean_addMacroScope(x_128, x_145, x_60); x_147 = lean_box(0); x_148 = l_Lean_SourceInfo_inhabited___closed__1; -x_149 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_149 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_150 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_150, 0, x_148); lean_ctor_set(x_150, 1, x_149); @@ -2431,7 +2431,7 @@ x_203 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_204 = l_Lean_addMacroScope(x_128, x_203, x_60); x_205 = lean_box(0); x_206 = l_Lean_SourceInfo_inhabited___closed__1; -x_207 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_207 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_208 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_208, 0, x_206); lean_ctor_set(x_208, 1, x_207); @@ -2533,7 +2533,7 @@ x_262 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_263 = l_Lean_addMacroScope(x_259, x_262, x_60); x_264 = lean_box(0); x_265 = l_Lean_SourceInfo_inhabited___closed__1; -x_266 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_266 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_267 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_267, 0, x_265); lean_ctor_set(x_267, 1, x_266); @@ -2632,7 +2632,7 @@ x_324 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_325 = l_Lean_addMacroScope(x_259, x_324, x_60); x_326 = lean_box(0); x_327 = l_Lean_SourceInfo_inhabited___closed__1; -x_328 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_328 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_329 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_329, 0, x_327); lean_ctor_set(x_329, 1, x_328); @@ -2948,7 +2948,7 @@ x_480 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_481 = l_Lean_addMacroScope(x_479, x_480, x_478); x_482 = lean_box(0); x_483 = l_Lean_SourceInfo_inhabited___closed__1; -x_484 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_484 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_485 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_485, 0, x_483); lean_ctor_set(x_485, 1, x_484); @@ -3054,7 +3054,7 @@ x_543 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_544 = l_Lean_addMacroScope(x_526, x_543, x_459); x_545 = lean_box(0); x_546 = l_Lean_SourceInfo_inhabited___closed__1; -x_547 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_547 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_548 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_548, 0, x_546); lean_ctor_set(x_548, 1, x_547); @@ -3149,7 +3149,7 @@ x_601 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_602 = l_Lean_addMacroScope(x_526, x_601, x_459); x_603 = lean_box(0); x_604 = l_Lean_SourceInfo_inhabited___closed__1; -x_605 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_605 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_606 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_606, 0, x_604); lean_ctor_set(x_606, 1, x_605); @@ -3251,7 +3251,7 @@ x_660 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_661 = l_Lean_addMacroScope(x_657, x_660, x_459); x_662 = lean_box(0); x_663 = l_Lean_SourceInfo_inhabited___closed__1; -x_664 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_664 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_665 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_665, 0, x_663); lean_ctor_set(x_665, 1, x_664); @@ -3350,7 +3350,7 @@ x_722 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_723 = l_Lean_addMacroScope(x_657, x_722, x_459); x_724 = lean_box(0); x_725 = l_Lean_SourceInfo_inhabited___closed__1; -x_726 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_726 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_727 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_727, 0, x_725); lean_ctor_set(x_727, 1, x_726); @@ -5452,7 +5452,7 @@ lean_inc(x_129); x_130 = lean_ctor_get(x_128, 1); lean_inc(x_130); lean_dec(x_128); -x_131 = lean_ctor_get(x_129, 5); +x_131 = lean_ctor_get(x_129, 3); lean_inc(x_131); lean_dec(x_129); x_132 = lean_ctor_get(x_7, 1); @@ -5487,9 +5487,9 @@ x_144 = !lean_is_exclusive(x_142); if (x_144 == 0) { lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_145 = lean_ctor_get(x_142, 5); +x_145 = lean_ctor_get(x_142, 3); lean_dec(x_145); -lean_ctor_set(x_142, 5, x_140); +lean_ctor_set(x_142, 3, x_140); x_146 = lean_st_ref_set(x_4, x_142, x_143); x_147 = lean_ctor_get(x_146, 1); lean_inc(x_147); @@ -5500,111 +5500,105 @@ goto block_120; } else { -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_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; x_148 = lean_ctor_get(x_142, 0); x_149 = lean_ctor_get(x_142, 1); x_150 = lean_ctor_get(x_142, 2); -x_151 = lean_ctor_get(x_142, 3); -x_152 = lean_ctor_get(x_142, 4); -x_153 = lean_ctor_get(x_142, 6); -lean_inc(x_153); -lean_inc(x_152); +x_151 = lean_ctor_get(x_142, 4); lean_inc(x_151); lean_inc(x_150); lean_inc(x_149); lean_inc(x_148); lean_dec(x_142); -x_154 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_154, 0, x_148); -lean_ctor_set(x_154, 1, x_149); -lean_ctor_set(x_154, 2, x_150); -lean_ctor_set(x_154, 3, x_151); -lean_ctor_set(x_154, 4, x_152); -lean_ctor_set(x_154, 5, x_140); -lean_ctor_set(x_154, 6, x_153); -x_155 = lean_st_ref_set(x_4, x_154, x_143); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -lean_dec(x_155); +x_152 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_152, 0, x_148); +lean_ctor_set(x_152, 1, x_149); +lean_ctor_set(x_152, 2, x_150); +lean_ctor_set(x_152, 3, x_140); +lean_ctor_set(x_152, 4, x_151); +x_153 = lean_st_ref_set(x_4, x_152, x_143); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +lean_dec(x_153); x_13 = x_139; -x_14 = x_156; +x_14 = x_154; goto block_120; } } else { -lean_object* x_157; +lean_object* x_155; lean_dec(x_12); lean_dec(x_2); lean_dec(x_1); -x_157 = lean_ctor_get(x_138, 0); -lean_inc(x_157); +x_155 = lean_ctor_get(x_138, 0); +lean_inc(x_155); lean_dec(x_138); -if (lean_obj_tag(x_157) == 0) +if (lean_obj_tag(x_155) == 0) { -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_161, 0, x_160); -x_162 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_158, x_161, x_3, x_4, x_5, x_6, x_7, x_8, x_130); +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec(x_155); +x_158 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_158, 0, x_157); +x_159 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_159, 0, x_158); +x_160 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_156, x_159, x_3, x_4, x_5, x_6, x_7, x_8, x_130); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_158); -x_163 = !lean_is_exclusive(x_162); -if (x_163 == 0) +lean_dec(x_156); +x_161 = !lean_is_exclusive(x_160); +if (x_161 == 0) { -return x_162; +return x_160; } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_162, 0); -x_165 = lean_ctor_get(x_162, 1); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_162); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; +lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_162 = lean_ctor_get(x_160, 0); +x_163 = lean_ctor_get(x_160, 1); +lean_inc(x_163); +lean_inc(x_162); +lean_dec(x_160); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_162); +lean_ctor_set(x_164, 1, x_163); +return x_164; } } else { -lean_object* x_167; uint8_t x_168; +lean_object* x_165; uint8_t x_166; 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_167 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_130); -x_168 = !lean_is_exclusive(x_167); -if (x_168 == 0) +x_165 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_130); +x_166 = !lean_is_exclusive(x_165); +if (x_166 == 0) { -return x_167; +return x_165; } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_167, 0); -x_170 = lean_ctor_get(x_167, 1); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_167); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -return x_171; +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_165, 0); +x_168 = lean_ctor_get(x_165, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_165); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +return x_169; } } } @@ -6045,7 +6039,7 @@ return x_119; } else { -uint8_t x_172; +uint8_t x_170; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6054,23 +6048,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_172 = !lean_is_exclusive(x_10); -if (x_172 == 0) +x_170 = !lean_is_exclusive(x_10); +if (x_170 == 0) { return x_10; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_10, 0); -x_174 = lean_ctor_get(x_10, 1); -lean_inc(x_174); -lean_inc(x_173); +lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_10, 0); +x_172 = lean_ctor_get(x_10, 1); +lean_inc(x_172); +lean_inc(x_171); lean_dec(x_10); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_172); +return x_173; } } } diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index e9e2cc0aec..625dfbc9a8 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -23,7 +23,9 @@ lean_object* l_Lean_Elab_Term_removeUnused(lean_object*, lean_object*, lean_obje lean_object* l_List_map___main___at___private_Lean_Elab_Inductive_23__updateResultingUniverse___spec__2___lambda__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___lambda__1___closed__1; lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___closed__2; +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__8; lean_object* l_IO_getStdout___at___private_Lean_Elab_Inductive_24__traceIndTypes___spec__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___main___at___private_Lean_Elab_Inductive_22__collectUniverses___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_mk_cases_on(lean_object*, lean_object*); lean_object* l_Lean_Meta_isType___at_Lean_Elab_Term_ensureType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -32,6 +34,7 @@ lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_4__checkL lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___closed__1; lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___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_Elab_Command_checkValidInductiveModifier___closed__6; +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__4; lean_object* l_Lean_mkSort(lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___closed__5; lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Inductive_32__mkCtor2InferMod___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -40,22 +43,22 @@ extern lean_object* l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___clos lean_object* l_unreachable_x21___rarg(lean_object*); lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at___private_Lean_Elab_Inductive_23__updateResultingUniverse___spec__2(lean_object*, lean_object*); +lean_object* l___private_Lean_Expr_3__getAppArgsAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__4; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_27__withUsed(lean_object*); extern lean_object* l_Lean_MessageData_ofList___closed__3; uint8_t l_USize_decEq(size_t, size_t); +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__6; lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__1; lean_object* l___private_Lean_Elab_Inductive_7__getResultingType___closed__1; lean_object* lean_io_error_to_string(lean_object*); lean_object* l_List_map___main___at___private_Lean_Elab_Inductive_23__updateResultingUniverse___spec__4(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Inductive_32__mkCtor2InferMod___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_mdata(lean_object*, lean_object*); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__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* l___private_Lean_Elab_Inductive_2__checkNumParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_InductiveView_inhabited; -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__7; +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___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* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_3__checkUnsafe___spec__1___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Attribute_inhabited; @@ -86,6 +89,7 @@ lean_object* l___private_Lean_Elab_Inductive_8__eqvFirstTypeResult___lambda__1__ lean_object* l___private_Lean_Elab_Inductive_27__withUsed___rarg(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_Elab_Inductive_24__traceIndTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___lambda__1___closed__3; +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__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*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___lambda__2___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_Elab_Inductive_1__elabHeaderAux___main(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_Elab_Inductive_19__getResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,7 +97,6 @@ lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM___main___at___private_L lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__10; lean_object* l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_2__visit___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___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_List_foldlM___main___at___private_Lean_Elab_Inductive_22__collectUniverses___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_object*); lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM___main___at___private_Lean_Elab_Inductive_23__updateResultingUniverse___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_17__levelMVarToParamAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -110,16 +113,15 @@ lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_2__checkN lean_object* l___private_Lean_Elab_Inductive_26__removeUnused___closed__1; lean_object* l_Lean_Elab_Command_accLevelAtCtor___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_ElabHeaderResult_inhabited; +extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Inductive_32__mkCtor2InferMod___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___lambda__1(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_Command_shouldInferResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_accLevelAtCtor(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__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*); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__2; +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2(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* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_35__mkInductiveDecl___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_Elab_Command_accLevelAtCtor___main___closed__1; -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__9; lean_object* l___private_Lean_Elab_Inductive_20__collectUniversesFromCtorTypeAux___main___lambda__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*); @@ -129,7 +131,6 @@ lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_28__updatePar lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__8; lean_object* l_Lean_Elab_Command_accLevelAtCtor___main___closed__2; lean_object* l___private_Lean_Elab_Inductive_6__throwUnexpectedInductiveType___rarg___closed__2; -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__9; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_Elab_applyAttributesImp___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_15__isInductiveFamily(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -147,24 +148,27 @@ lean_object* l___private_Lean_Elab_Inductive_6__throwUnexpectedInductiveType___r lean_object* l___private_Lean_Elab_Inductive_13__withInductiveLocalDeclsAux___main___rarg___lambda__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* l___private_Lean_Elab_Inductive_19__getResultingUniverse___closed__6; lean_object* l___private_Lean_Elab_Inductive_6__throwUnexpectedInductiveType___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; lean_object* l___private_Lean_Elab_Inductive_17__levelMVarToParamAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___main___at___private_Lean_Elab_Inductive_25__collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_3__checkUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_11__checkHeaders___main(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___private_Lean_Elab_Inductive_14__withInductiveLocalDecls___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__6; lean_object* l_List_forM___main___at___private_Lean_Elab_Inductive_25__collectUsed___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___main___at___private_Lean_Elab_Inductive_22__collectUniverses___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* l_Lean_Level_getLevelOffset___main(lean_object*); lean_object* l___private_Lean_Elab_Inductive_8__eqvFirstTypeResult___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__9; lean_object* l___private_Lean_Elab_Inductive_13__withInductiveLocalDeclsAux___main(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__5; lean_object* l___private_Lean_Elab_Inductive_20__collectUniversesFromCtorTypeAux___main___lambda__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*); uint8_t l_List_beq___main___at_Lean_Elab_OpenDecl_HasToString___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___main___rarg(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_Expr_Inhabited___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__6; lean_object* l___private_Lean_Elab_Inductive_23__updateResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_isParam(lean_object*); lean_object* l___private_Lean_Elab_Inductive_16__elabCtors___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -178,6 +182,7 @@ lean_object* l_Lean_Meta_instantiateLevelMVars___at_Lean_Elab_Command_shouldInfe lean_object* l_List_map___main___at___private_Lean_Elab_Inductive_23__updateResultingUniverse___spec__5(lean_object*, size_t, lean_object*); lean_object* l_List_map___main___at___private_Lean_Elab_Inductive_23__updateResultingUniverse___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_13__withInductiveLocalDeclsAux(lean_object*); +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__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* l_Lean_Elab_Command_tmpIndParam___closed__2; lean_object* l___private_Lean_Elab_Inductive_11__checkHeaders(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_Expr_heq_x3f___closed__2; @@ -208,6 +213,7 @@ lean_object* l___private_Lean_Elab_Inductive_1__elabHeaderAux___main___lambda__1 lean_object* l___private_Lean_Elab_Inductive_35__mkInductiveDecl___lambda__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___private_Lean_Elab_Inductive_30__mkIndFVar2Const(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__3; lean_object* l___private_Lean_Elab_Inductive_22__collectUniverses___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_Command_ElabHeaderResult_inhabited___closed__1; lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__11; @@ -235,6 +241,7 @@ lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_2__checkN lean_object* l_Nat_foldAux___main___at___private_Lean_Elab_Inductive_30__mkIndFVar2Const___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_1__elabHeaderAux(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*); +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__1; lean_object* l_Lean_Elab_applyAttributes___at___private_Lean_Elab_Inductive_35__mkInductiveDecl___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* l_Lean_Level_getOffsetAux___main(lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_34__mkAuxConstructions___spec__2(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -250,6 +257,7 @@ lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__2; lean_object* l_Lean_Elab_Command_accLevelAtCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__6; lean_object* l___private_Lean_Elab_Inductive_17__levelMVarToParamAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__4; lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_31__replaceIndFVarsWithConsts___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* lean_mk_no_confusion(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___main___rarg___closed__18; @@ -257,6 +265,7 @@ lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__5; lean_object* l___private_Lean_Meta_Basic_20__forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_accLevelAtCtor___main(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__5; lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_31__replaceIndFVarsWithConsts___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_collectUsedFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); @@ -278,18 +287,20 @@ lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___boxed(lean_object*, lean_object* l_List_map___main___at___private_Lean_Elab_Inductive_23__updateResultingUniverse___spec__6(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_21__forallBoundedTelescopeImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_1__elabHeaderAux___main___lambda__1(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_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__1; lean_object* l___private_Lean_Elab_Inductive_30__mkIndFVar2Const___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_prodToExpr___rarg___lambda__1___closed__2; +lean_object* l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___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_expr_update_proj(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_7__elabBinderViews___main___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_HashSet_Inhabited___closed__1; +lean_object* l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__2; lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Meta_isDefEqNoConstantApprox___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_binduction_on(lean_object*, lean_object*); size_t l_USize_mod(size_t, size_t); lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_2__checkNumParams___spec__1___closed__2; lean_object* l_Lean_Meta_getLevel___at_Lean_Elab_Term_tryCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__4; lean_object* l___private_Lean_Elab_Inductive_32__mkCtor2InferMod(lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__1; @@ -307,6 +318,7 @@ lean_object* l___private_Lean_Elab_Inductive_4__checkLevelNames(lean_object*, le lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNamesImp___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Inductive_31__replaceIndFVarsWithConsts___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_ReaderT_MonadLift___closed__1; +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__3; lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_2__visit___spec__1(lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_35__mkInductiveDecl___spec__3(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_mkLevelSucc(lean_object*); @@ -323,6 +335,7 @@ lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2_ lean_object* l_List_foldl___main___at___private_Lean_Elab_Inductive_29__collectLevelParamsInInductive___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_List_map___main___at___private_Lean_Elab_Inductive_33__applyInferMod___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___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_object* l_Lean_Elab_Command_tmpIndParam___closed__3; lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_4__checkLevelNames___spec__1___closed__1; extern uint8_t l_Bool_Inhabited; @@ -375,6 +388,7 @@ lean_object* l_Lean_Elab_Command_CtorView_inhabited___closed__1; lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___main___at___private_Lean_Elab_Inductive_22__collectUniverses___spec__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_object* l_IO_print___at___private_Lean_Elab_Inductive_24__traceIndTypes___spec__2(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*); lean_object* l___private_Lean_Elab_Inductive_9__checkParamsAndResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_28__updateParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___closed__4; @@ -384,6 +398,8 @@ lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_34__mkAux lean_object* l_Lean_Level_replace___main(lean_object*, lean_object*); lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM___main___at___private_Lean_Elab_Inductive_31__replaceIndFVarsWithConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__2; +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__7; lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM___main___at___private_Lean_Elab_Inductive_31__replaceIndFVarsWithConsts___spec__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Inductive_2__checkNumParams___spec__1(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_inferType___at_Lean_Elab_Term_tryLiftAndCoe___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -418,7 +434,6 @@ lean_object* l_Lean_Level_mkNaryMax___main(lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Inductive_31__replaceIndFVarsWithConsts___spec__2(lean_object*); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__8; lean_object* l___private_Lean_Elab_Inductive_35__mkInductiveDecl___lambda__2(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*); uint8_t lean_level_eq(lean_object*, lean_object*); lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_31__replaceIndFVarsWithConsts___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -426,7 +441,6 @@ lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_35__mkInductiveDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___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* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_tmpIndParam; @@ -441,7 +455,6 @@ lean_object* l___private_Lean_Elab_Inductive_35__mkInductiveDecl___lambda__2___b lean_object* lean_expr_update_const(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__12; lean_object* l___private_Lean_Elab_Inductive_19__getResultingUniverse___closed__5; -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__5; lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Inductive_14__withInductiveLocalDecls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_13__withInductiveLocalDeclsAux___main___rarg___lambda__1(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_List_forM___main___at___private_Lean_Elab_Inductive_25__collectUsed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -449,7 +462,6 @@ lean_object* l___private_Lean_Elab_Inductive_19__getResultingUniverse___closed__ extern lean_object* l_Lean_Expr_ReplaceImpl_initCache; lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_28__updateParams___spec__1(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*); -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Inductive_3__checkUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___closed__1() { _start: @@ -3841,7 +3853,206 @@ lean_dec(x_1); return x_11; } } -lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__1() { +lean_object* _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("inductive datatype parameter mismatch"); +return x_1; +} +} +lean_object* _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("expected"); +return x_1; +} +} +lean_object* _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__4; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__5; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___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_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_nat_dec_eq(x_4, x_12); +if (x_13 == 0) +{ +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; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_sub(x_4, x_14); +lean_dec(x_4); +x_16 = lean_nat_sub(x_3, x_15); +x_17 = lean_nat_sub(x_16, x_14); +lean_dec(x_16); +x_18 = l_Lean_Expr_Inhabited; +x_19 = lean_array_get(x_18, x_1, x_17); +x_20 = lean_array_get(x_18, x_2, x_17); +lean_dec(x_17); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_5); +lean_inc(x_20); +lean_inc(x_19); +x_21 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_19, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +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; uint8_t x_35; +lean_dec(x_15); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = l_Lean_indentExpr(x_20); +x_26 = l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__3; +x_27 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = l_Lean_MessageData_ofList___closed__3; +x_29 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__6; +x_31 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_indentExpr(x_19); +x_33 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_33, x_5, x_6, x_7, x_8, x_9, x_10, x_24); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +return x_34; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_34); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +else +{ +lean_object* x_39; +lean_dec(x_20); +lean_dec(x_19); +x_39 = lean_ctor_get(x_21, 1); +lean_inc(x_39); +lean_dec(x_21); +x_4 = x_15; +x_11 = x_39; +goto _start; +} +} +else +{ +uint8_t x_41; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +x_41 = !lean_is_exclusive(x_21); +if (x_41 == 0) +{ +return x_21; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_21, 0); +x_43 = lean_ctor_get(x_21, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_21); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_11); +return x_46; +} +} +} +lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -3849,27 +4060,27 @@ x_1 = lean_mk_string("constructor resulting type must be specified in inductive return x_1; } } -lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__2() { +lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__1; +x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__3() { +lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__2; +x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__4() { +lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -3877,27 +4088,27 @@ x_1 = lean_mk_string("unexpected constructor resulting type"); return x_1; } } -lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__5() { +lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__4; +x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__6() { +lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__5; +x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__7() { +lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__7() { _start: { lean_object* x_1; @@ -3905,249 +4116,251 @@ x_1 = lean_mk_string("unexpected constructor resulting type, type expected"); return x_1; } } -lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__8() { +lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__7; +x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__9() { +lean_object* _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__8; +x_1 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__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, lean_object* x_12) { +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__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, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 4); +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_1, 0); lean_inc(x_14); -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) +x_15 = lean_ctor_get(x_1, 4); +lean_inc(x_15); +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_10, 3); -x_17 = l_Lean_replaceRef(x_13, x_16); -lean_dec(x_13); -x_18 = l_Lean_replaceRef(x_17, x_16); -lean_dec(x_17); -x_19 = l_Lean_replaceRef(x_18, x_16); -lean_dec(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_17 = lean_ctor_get(x_11, 3); +x_18 = l_Lean_replaceRef(x_14, x_17); +lean_dec(x_14); +x_19 = l_Lean_replaceRef(x_18, x_17); lean_dec(x_18); -lean_ctor_set(x_10, 3, x_19); -if (lean_obj_tag(x_14) == 0) +x_20 = l_Lean_replaceRef(x_19, x_17); +lean_dec(x_17); +lean_dec(x_19); +lean_ctor_set(x_11, 3, x_20); +if (lean_obj_tag(x_15) == 0) { +lean_dec(x_5); if (x_3 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_unsigned_to_nat(0u); -x_45 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2, x_2, x_44, x_4); -x_20 = x_45; -x_21 = x_12; -goto block_43; +lean_object* x_45; lean_object* x_46; +x_45 = lean_unsigned_to_nat(0u); +x_46 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2, x_2, x_45, x_4); +x_21 = x_46; +x_22 = x_13; +goto block_44; } else { -lean_object* x_46; lean_object* x_47; uint8_t x_48; -lean_dec(x_5); +lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_46 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__3; -x_47 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_46, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_47 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__3; +x_48 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_47, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) { -return x_47; +return x_48; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_47, 0); -x_50 = lean_ctor_get(x_47, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_48, 0); +x_51 = lean_ctor_get(x_48, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_47); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_dec(x_48); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; -x_52 = lean_ctor_get(x_14, 0); -lean_inc(x_52); -lean_dec(x_14); -x_53 = lean_box(0); -x_54 = 1; +lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_15, 0); +lean_inc(x_53); +lean_dec(x_15); +x_54 = lean_box(0); +x_55 = 1; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_55 = l_Lean_Elab_Term_elabTerm(x_52, x_53, x_54, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_55) == 0) +x_56 = l_Lean_Elab_Term_elabTerm(x_53, x_54, x_55, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_56, 0); lean_inc(x_57); -lean_dec(x_55); -x_58 = l___private_Lean_Elab_Inductive_7__getResultingType___closed__1; +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = l___private_Lean_Elab_Inductive_7__getResultingType___closed__1; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_56); -x_59 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_7__getResultingType___spec__1___rarg(x_56, x_58, x_6, x_7, x_8, x_9, x_10, x_11, x_57); -if (lean_obj_tag(x_59) == 0) +lean_inc(x_57); +x_60 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_7__getResultingType___spec__1___rarg(x_57, x_59, x_7, x_8, x_9, x_10, x_11, x_12, x_58); +if (lean_obj_tag(x_60) == 0) { -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_78; uint8_t x_79; +x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); -lean_dec(x_59); -x_62 = l_Lean_Expr_getAppFn___main(x_60); -x_63 = lean_expr_eqv(x_62, x_4); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_78 = l_Lean_Expr_getAppFn___main(x_61); +x_79 = lean_expr_eqv(x_78, x_4); lean_dec(x_4); -lean_dec(x_62); -if (x_63 == 0) +lean_dec(x_78); +if (x_79 == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -lean_dec(x_56); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +lean_dec(x_57); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_64 = l_Lean_indentExpr(x_60); -x_65 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__6; -x_66 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_66, x_6, x_7, x_8, x_9, x_10, x_11, x_61); +x_80 = l_Lean_indentExpr(x_61); +x_81 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__6; +x_82 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +x_83 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_82, x_7, x_8, x_9, x_10, x_11, x_12, x_62); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -x_68 = !lean_is_exclusive(x_67); -if (x_68 == 0) +x_84 = !lean_is_exclusive(x_83); +if (x_84 == 0) { -return x_67; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_67, 0); -x_70 = lean_ctor_get(x_67, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_67); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -else -{ -lean_object* x_72; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_60); -x_72 = l_Lean_Meta_isType___at_Lean_Elab_Term_ensureType___spec__1(x_60, x_6, x_7, x_8, x_9, x_10, x_11, x_61); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; uint8_t x_74; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_unbox(x_73); -lean_dec(x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -lean_dec(x_56); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_75 = lean_ctor_get(x_72, 1); -lean_inc(x_75); -lean_dec(x_72); -x_76 = l_Lean_indentExpr(x_60); -x_77 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__9; -x_78 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -x_79 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_78, x_6, x_7, x_8, x_9, x_10, x_11, x_75); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) -{ -return x_79; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_79, 0); -x_82 = lean_ctor_get(x_79, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_79); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); return x_83; } -} else { -lean_object* x_84; -lean_dec(x_60); -x_84 = lean_ctor_get(x_72, 1); -lean_inc(x_84); -lean_dec(x_72); -x_20 = x_56; -x_21 = x_84; -goto block_43; +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_83, 0); +x_86 = lean_ctor_get(x_83, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_83); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } else { -uint8_t x_85; -lean_dec(x_60); -lean_dec(x_56); -lean_dec(x_10); +lean_object* x_88; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +lean_inc(x_61); +x_88 = l_Lean_Meta_isType___at_Lean_Elab_Term_ensureType___spec__1(x_61, x_7, x_8, x_9, x_10, x_11, x_12, x_62); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; uint8_t x_90; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_unbox(x_89); +lean_dec(x_89); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +lean_dec(x_57); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_91); +lean_dec(x_88); +x_92 = l_Lean_indentExpr(x_61); +x_93 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__9; +x_94 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_94, x_7, x_8, x_9, x_10, x_11, x_12, x_91); +lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) +{ +return x_95; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_95, 0); +x_98 = lean_ctor_get(x_95, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_95); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; +} +} +else +{ +lean_object* x_100; +x_100 = lean_ctor_get(x_88, 1); +lean_inc(x_100); +lean_dec(x_88); +x_63 = x_100; +goto block_77; +} +} +else +{ +uint8_t x_101; +lean_dec(x_61); +lean_dec(x_57); +lean_dec(x_11); +lean_dec(x_12); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4155,100 +4368,838 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_85 = !lean_is_exclusive(x_72); -if (x_85 == 0) +x_101 = !lean_is_exclusive(x_88); +if (x_101 == 0) { -return x_72; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_72, 0); -x_87 = lean_ctor_get(x_72, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_72); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); return x_88; } +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_88, 0); +x_103 = lean_ctor_get(x_88, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_88); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +block_77: +{ +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_object* x_71; +x_64 = lean_unsigned_to_nat(0u); +x_65 = l_Lean_Expr_getAppNumArgsAux___main(x_61, x_64); +x_66 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_65); +x_67 = lean_mk_array(x_65, x_66); +x_68 = lean_unsigned_to_nat(1u); +x_69 = lean_nat_sub(x_65, x_68); +lean_dec(x_65); +x_70 = l___private_Lean_Expr_3__getAppArgsAux___main(x_61, x_67, x_69); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +lean_inc(x_5); +x_71 = l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1(x_2, x_70, x_5, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_63); +lean_dec(x_5); +lean_dec(x_70); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +lean_dec(x_71); +x_21 = x_57; +x_22 = x_72; +goto block_44; +} +else +{ +uint8_t x_73; +lean_dec(x_57); +lean_dec(x_11); +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_2); +lean_dec(x_1); +x_73 = !lean_is_exclusive(x_71); +if (x_73 == 0) +{ +return x_71; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_71, 0); +x_75 = lean_ctor_get(x_71, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_71); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} } } } else { -uint8_t x_89; +uint8_t x_105; +lean_dec(x_57); +lean_dec(x_11); +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_2); +lean_dec(x_1); +x_105 = !lean_is_exclusive(x_60); +if (x_105 == 0) +{ +return x_60; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_60, 0); +x_107 = lean_ctor_get(x_60, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_60); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; +} +} +} +else +{ +uint8_t x_109; +lean_dec(x_11); +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_2); +lean_dec(x_1); +x_109 = !lean_is_exclusive(x_56); +if (x_109 == 0) +{ +return x_56; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_56, 0); +x_111 = lean_ctor_get(x_56, 1); +lean_inc(x_111); +lean_inc(x_110); lean_dec(x_56); -lean_dec(x_10); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; +} +} +} +block_44: +{ +lean_object* x_23; +lean_inc(x_9); +lean_inc(x_7); +x_23 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_6, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_25); +lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +if (lean_obj_tag(x_26) == 0) +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_1, 2); +lean_inc(x_29); +lean_dec(x_1); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +lean_ctor_set(x_26, 0, x_30); +return x_26; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_26, 0); +x_32 = lean_ctor_get(x_26, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_26); +x_33 = lean_ctor_get(x_1, 2); +lean_inc(x_33); +lean_dec(x_1); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_26); +if (x_36 == 0) +{ +return x_26; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_26, 0); +x_38 = lean_ctor_get(x_26, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_26); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_11); +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_2); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_23); +if (x_40 == 0) +{ +return x_23; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_23, 0); +x_42 = lean_ctor_get(x_23, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_23); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_113 = lean_ctor_get(x_11, 0); +x_114 = lean_ctor_get(x_11, 1); +x_115 = lean_ctor_get(x_11, 2); +x_116 = lean_ctor_get(x_11, 3); +lean_inc(x_116); +lean_inc(x_115); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_11); +x_117 = l_Lean_replaceRef(x_14, x_116); +lean_dec(x_14); +x_118 = l_Lean_replaceRef(x_117, x_116); +lean_dec(x_117); +x_119 = l_Lean_replaceRef(x_118, x_116); +lean_dec(x_116); +lean_dec(x_118); +x_120 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_120, 0, x_113); +lean_ctor_set(x_120, 1, x_114); +lean_ctor_set(x_120, 2, x_115); +lean_ctor_set(x_120, 3, x_119); +if (lean_obj_tag(x_15) == 0) +{ lean_dec(x_5); +if (x_3 == 0) +{ +lean_object* x_142; lean_object* x_143; +x_142 = lean_unsigned_to_nat(0u); +x_143 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2, x_2, x_142, x_4); +x_121 = x_143; +x_122 = x_13; +goto block_141; +} +else +{ +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_dec(x_6); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_89 = !lean_is_exclusive(x_59); -if (x_89 == 0) -{ -return x_59; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_59, 0); -x_91 = lean_ctor_get(x_59, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_59); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; -} -} -} -else -{ -uint8_t x_93; +x_144 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__3; +x_145 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_144, x_7, x_8, x_9, x_10, x_120, x_12, x_13); +lean_dec(x_12); +lean_dec(x_120); lean_dec(x_10); -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_2); -lean_dec(x_1); -x_93 = !lean_is_exclusive(x_55); -if (x_93 == 0) -{ -return x_55; +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_148 = x_145; +} else { + lean_dec_ref(x_145); + x_148 = lean_box(0); +} +if (lean_is_scalar(x_148)) { + x_149 = lean_alloc_ctor(1, 2, 0); +} else { + x_149 = x_148; +} +lean_ctor_set(x_149, 0, x_146); +lean_ctor_set(x_149, 1, x_147); +return x_149; +} } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_55, 0); -x_95 = lean_ctor_get(x_55, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_55); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; -} -} -} -block_43: -{ -lean_object* x_22; +lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; +x_150 = lean_ctor_get(x_15, 0); +lean_inc(x_150); +lean_dec(x_15); +x_151 = lean_box(0); +x_152 = 1; +lean_inc(x_12); +lean_inc(x_120); +lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); +x_153 = l_Lean_Elab_Term_elabTerm(x_150, x_151, x_152, x_7, x_8, x_9, x_10, x_120, x_12, x_13); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l___private_Lean_Elab_Inductive_7__getResultingType___closed__1; +lean_inc(x_12); +lean_inc(x_120); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_154); +x_157 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_7__getResultingType___spec__1___rarg(x_154, x_156, x_7, x_8, x_9, x_10, x_120, x_12, x_155); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_175; uint8_t x_176; +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_175 = l_Lean_Expr_getAppFn___main(x_158); +x_176 = lean_expr_eqv(x_175, x_4); +lean_dec(x_4); +lean_dec(x_175); +if (x_176 == 0) +{ +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_dec(x_154); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_177 = l_Lean_indentExpr(x_158); +x_178 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__6; +x_179 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_177); +x_180 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_179, x_7, x_8, x_9, x_10, x_120, x_12, x_159); +lean_dec(x_12); +lean_dec(x_120); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_183 = x_180; +} else { + lean_dec_ref(x_180); + x_183 = lean_box(0); +} +if (lean_is_scalar(x_183)) { + x_184 = lean_alloc_ctor(1, 2, 0); +} else { + x_184 = x_183; +} +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_182); +return x_184; +} +else +{ +lean_object* x_185; +lean_inc(x_12); +lean_inc(x_120); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +lean_inc(x_158); +x_185 = l_Lean_Meta_isType___at_Lean_Elab_Term_ensureType___spec__1(x_158, x_7, x_8, x_9, x_10, x_120, x_12, x_159); +if (lean_obj_tag(x_185) == 0) +{ +lean_object* x_186; uint8_t x_187; +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_unbox(x_186); +lean_dec(x_186); +if (x_187 == 0) +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +lean_dec(x_154); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_188 = lean_ctor_get(x_185, 1); +lean_inc(x_188); +lean_dec(x_185); +x_189 = l_Lean_indentExpr(x_158); +x_190 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__9; +x_191 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_189); +x_192 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_191, x_7, x_8, x_9, x_10, x_120, x_12, x_188); +lean_dec(x_12); +lean_dec(x_120); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_195 = x_192; +} else { + lean_dec_ref(x_192); + x_195 = lean_box(0); +} +if (lean_is_scalar(x_195)) { + x_196 = lean_alloc_ctor(1, 2, 0); +} else { + x_196 = x_195; +} +lean_ctor_set(x_196, 0, x_193); +lean_ctor_set(x_196, 1, x_194); +return x_196; +} +else +{ +lean_object* x_197; +x_197 = lean_ctor_get(x_185, 1); +lean_inc(x_197); +lean_dec(x_185); +x_160 = x_197; +goto block_174; +} +} +else +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_158); +lean_dec(x_154); +lean_dec(x_120); +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_2); +lean_dec(x_1); +x_198 = lean_ctor_get(x_185, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_185, 1); +lean_inc(x_199); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + x_200 = x_185; +} else { + lean_dec_ref(x_185); + x_200 = lean_box(0); +} +if (lean_is_scalar(x_200)) { + x_201 = lean_alloc_ctor(1, 2, 0); +} else { + x_201 = x_200; +} +lean_ctor_set(x_201, 0, x_198); +lean_ctor_set(x_201, 1, x_199); +return x_201; +} +} +block_174: +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_161 = lean_unsigned_to_nat(0u); +x_162 = l_Lean_Expr_getAppNumArgsAux___main(x_158, x_161); +x_163 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_162); +x_164 = lean_mk_array(x_162, x_163); +x_165 = lean_unsigned_to_nat(1u); +x_166 = lean_nat_sub(x_162, x_165); +lean_dec(x_162); +x_167 = l___private_Lean_Expr_3__getAppArgsAux___main(x_158, x_164, x_166); +lean_inc(x_12); +lean_inc(x_120); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_7); +lean_inc(x_5); +x_168 = l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1(x_2, x_167, x_5, x_5, x_7, x_8, x_9, x_10, x_120, x_12, x_160); +lean_dec(x_5); +lean_dec(x_167); +if (lean_obj_tag(x_168) == 0) +{ +lean_object* x_169; +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +lean_dec(x_168); +x_121 = x_154; +x_122 = x_169; +goto block_141; +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_dec(x_154); +lean_dec(x_120); +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_2); +lean_dec(x_1); +x_170 = lean_ctor_get(x_168, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_168, 1); +lean_inc(x_171); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_172 = x_168; +} else { + lean_dec_ref(x_168); + x_172 = lean_box(0); +} +if (lean_is_scalar(x_172)) { + x_173 = lean_alloc_ctor(1, 2, 0); +} else { + x_173 = x_172; +} +lean_ctor_set(x_173, 0, x_170); +lean_ctor_set(x_173, 1, x_171); +return x_173; +} +} +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +lean_dec(x_154); +lean_dec(x_120); +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_2); +lean_dec(x_1); +x_202 = lean_ctor_get(x_157, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_157, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + x_204 = x_157; +} else { + lean_dec_ref(x_157); + x_204 = lean_box(0); +} +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(1, 2, 0); +} else { + x_205 = x_204; +} +lean_ctor_set(x_205, 0, x_202); +lean_ctor_set(x_205, 1, x_203); +return x_205; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_dec(x_120); +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_2); +lean_dec(x_1); +x_206 = lean_ctor_get(x_153, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_153, 1); +lean_inc(x_207); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_208 = x_153; +} else { + lean_dec_ref(x_153); + x_208 = lean_box(0); +} +if (lean_is_scalar(x_208)) { + x_209 = lean_alloc_ctor(1, 2, 0); +} else { + x_209 = x_208; +} +lean_ctor_set(x_209, 0, x_206); +lean_ctor_set(x_209, 1, x_207); +return x_209; +} +} +block_141: +{ +lean_object* x_123; +lean_inc(x_9); +lean_inc(x_7); +x_123 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_6, x_121, x_7, x_8, x_9, x_10, x_120, x_12, x_122); +if (lean_obj_tag(x_123) == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_126 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_124, x_7, x_8, x_9, x_10, x_120, x_12, x_125); +lean_dec(x_12); +lean_dec(x_120); +lean_dec(x_10); +lean_dec(x_8); +if (lean_obj_tag(x_126) == 0) +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_129 = x_126; +} else { + lean_dec_ref(x_126); + x_129 = lean_box(0); +} +x_130 = lean_ctor_get(x_1, 2); +lean_inc(x_130); +lean_dec(x_1); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_127); +if (lean_is_scalar(x_129)) { + x_132 = lean_alloc_ctor(0, 2, 0); +} else { + x_132 = x_129; +} +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_128); +return x_132; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_1); +x_133 = lean_ctor_get(x_126, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_126, 1); +lean_inc(x_134); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_135 = x_126; +} else { + lean_dec_ref(x_126); + x_135 = lean_box(0); +} +if (lean_is_scalar(x_135)) { + x_136 = lean_alloc_ctor(1, 2, 0); +} else { + x_136 = x_135; +} +lean_ctor_set(x_136, 0, x_133); +lean_ctor_set(x_136, 1, x_134); +return x_136; +} +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +lean_dec(x_120); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_137 = lean_ctor_get(x_123, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_123, 1); +lean_inc(x_138); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_139 = x_123; +} else { + lean_dec_ref(x_123); + x_139 = lean_box(0); +} +if (lean_is_scalar(x_139)) { + x_140 = lean_alloc_ctor(1, 2, 0); +} else { + x_140 = x_139; +} +lean_ctor_set(x_140, 0, x_137); +lean_ctor_set(x_140, 1, x_138); +return x_140; +} +} +} +} +} +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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_13; lean_object* x_14; +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_5); +if (x_15 == 0) +{ +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_5, 0); +x_17 = lean_ctor_get(x_5, 1); +x_18 = lean_ctor_get(x_16, 3); +lean_inc(x_18); +x_19 = l_Lean_Syntax_getArgs(x_18); +lean_dec(x_18); +x_20 = lean_box(x_4); +lean_inc(x_3); +lean_inc(x_1); +lean_inc(x_2); +x_21 = lean_alloc_closure((void*)(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___boxed), 13, 5); +lean_closure_set(x_21, 0, x_16); +lean_closure_set(x_21, 1, x_2); +lean_closure_set(x_21, 2, x_20); +lean_closure_set(x_21, 3, x_1); +lean_closure_set(x_21, 4, x_3); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); -x_22 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_5, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +x_22 = l_Lean_Elab_Term_elabBinders___rarg(x_19, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_19); if (lean_obj_tag(x_22) == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; @@ -4257,65 +5208,88 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); -x_25 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_24); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); +x_25 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2(x_1, x_2, x_3, x_4, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_24); if (lean_obj_tag(x_25) == 0) { uint8_t x_26; x_26 = !lean_is_exclusive(x_25); if (x_26 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_27; x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_1, 2); -lean_inc(x_28); -lean_dec(x_1); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set(x_25, 0, x_29); +lean_ctor_set(x_5, 1, x_27); +lean_ctor_set(x_5, 0, x_23); +lean_ctor_set(x_25, 0, x_5); return x_25; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_30 = lean_ctor_get(x_25, 0); -x_31 = lean_ctor_get(x_25, 1); -lean_inc(x_31); -lean_inc(x_30); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_inc(x_28); lean_dec(x_25); -x_32 = lean_ctor_get(x_1, 2); +lean_ctor_set(x_5, 1, x_28); +lean_ctor_set(x_5, 0, x_23); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_5); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_23); +lean_free_object(x_5); +x_31 = !lean_is_exclusive(x_25); +if (x_31 == 0) +{ +return x_25; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_25, 0); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); lean_inc(x_32); -lean_dec(x_1); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_31); +lean_dec(x_25); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); return x_34; } } +} else { uint8_t x_35; +lean_free_object(x_5); +lean_dec(x_17); +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_3); +lean_dec(x_2); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_25); +x_35 = !lean_is_exclusive(x_22); if (x_35 == 0) { -return x_25; +return x_22; } else { lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_25, 0); -x_37 = lean_ctor_get(x_25, 1); +x_36 = lean_ctor_get(x_22, 0); +x_37 = lean_ctor_get(x_22, 1); lean_inc(x_37); lean_inc(x_36); -lean_dec(x_25); +lean_dec(x_22); x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_36); lean_ctor_set(x_38, 1, x_37); @@ -4325,747 +5299,129 @@ return x_38; } else { -uint8_t x_39; -lean_dec(x_10); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_39 = !lean_is_exclusive(x_22); -if (x_39 == 0) -{ -return x_22; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_22, 0); -x_41 = lean_ctor_get(x_22, 1); -lean_inc(x_41); +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; +x_39 = lean_ctor_get(x_5, 0); +x_40 = lean_ctor_get(x_5, 1); lean_inc(x_40); -lean_dec(x_22); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -} -else -{ -lean_object* x_97; lean_object* 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; -x_97 = lean_ctor_get(x_10, 0); -x_98 = lean_ctor_get(x_10, 1); -x_99 = lean_ctor_get(x_10, 2); -x_100 = lean_ctor_get(x_10, 3); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_10); -x_101 = l_Lean_replaceRef(x_13, x_100); -lean_dec(x_13); -x_102 = l_Lean_replaceRef(x_101, x_100); -lean_dec(x_101); -x_103 = l_Lean_replaceRef(x_102, x_100); -lean_dec(x_100); -lean_dec(x_102); -x_104 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_104, 0, x_97); -lean_ctor_set(x_104, 1, x_98); -lean_ctor_set(x_104, 2, x_99); -lean_ctor_set(x_104, 3, x_103); -if (lean_obj_tag(x_14) == 0) -{ -if (x_3 == 0) -{ -lean_object* x_126; lean_object* x_127; -x_126 = lean_unsigned_to_nat(0u); -x_127 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2, x_2, x_126, x_4); -x_105 = x_127; -x_106 = x_12; -goto block_125; -} -else -{ -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_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_128 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__3; -x_129 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_128, x_6, x_7, x_8, x_9, x_104, x_11, x_12); -lean_dec(x_11); -lean_dec(x_104); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - x_132 = x_129; -} else { - lean_dec_ref(x_129); - x_132 = lean_box(0); -} -if (lean_is_scalar(x_132)) { - x_133 = lean_alloc_ctor(1, 2, 0); -} else { - x_133 = x_132; -} -lean_ctor_set(x_133, 0, x_130); -lean_ctor_set(x_133, 1, x_131); -return x_133; -} -} -else -{ -lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; -x_134 = lean_ctor_get(x_14, 0); -lean_inc(x_134); -lean_dec(x_14); -x_135 = lean_box(0); -x_136 = 1; -lean_inc(x_11); -lean_inc(x_104); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_137 = l_Lean_Elab_Term_elabTerm(x_134, x_135, x_136, x_6, x_7, x_8, x_9, x_104, x_11, x_12); -if (lean_obj_tag(x_137) == 0) -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec(x_137); -x_140 = l___private_Lean_Elab_Inductive_7__getResultingType___closed__1; -lean_inc(x_11); -lean_inc(x_104); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_138); -x_141 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_7__getResultingType___spec__1___rarg(x_138, x_140, x_6, x_7, x_8, x_9, x_104, x_11, x_139); -if (lean_obj_tag(x_141) == 0) -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = l_Lean_Expr_getAppFn___main(x_142); -x_145 = lean_expr_eqv(x_144, x_4); -lean_dec(x_4); -lean_dec(x_144); -if (x_145 == 0) -{ -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_dec(x_138); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_146 = l_Lean_indentExpr(x_142); -x_147 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__6; -x_148 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_148, x_6, x_7, x_8, x_9, x_104, x_11, x_143); -lean_dec(x_11); -lean_dec(x_104); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_150 = lean_ctor_get(x_149, 0); -lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - x_152 = x_149; -} else { - lean_dec_ref(x_149); - x_152 = lean_box(0); -} -if (lean_is_scalar(x_152)) { - x_153 = lean_alloc_ctor(1, 2, 0); -} else { - x_153 = x_152; -} -lean_ctor_set(x_153, 0, x_150); -lean_ctor_set(x_153, 1, x_151); -return x_153; -} -else -{ -lean_object* x_154; -lean_inc(x_11); -lean_inc(x_104); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_142); -x_154 = l_Lean_Meta_isType___at_Lean_Elab_Term_ensureType___spec__1(x_142, x_6, x_7, x_8, x_9, x_104, x_11, x_143); -if (lean_obj_tag(x_154) == 0) -{ -lean_object* x_155; uint8_t x_156; -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_unbox(x_155); -lean_dec(x_155); -if (x_156 == 0) -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -lean_dec(x_138); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_157 = lean_ctor_get(x_154, 1); -lean_inc(x_157); -lean_dec(x_154); -x_158 = l_Lean_indentExpr(x_142); -x_159 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__9; -x_160 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_160, x_6, x_7, x_8, x_9, x_104, x_11, x_157); -lean_dec(x_11); -lean_dec(x_104); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_164 = x_161; -} else { - lean_dec_ref(x_161); - x_164 = lean_box(0); -} -if (lean_is_scalar(x_164)) { - x_165 = lean_alloc_ctor(1, 2, 0); -} else { - x_165 = x_164; -} -lean_ctor_set(x_165, 0, x_162); -lean_ctor_set(x_165, 1, x_163); -return x_165; -} -else -{ -lean_object* x_166; -lean_dec(x_142); -x_166 = lean_ctor_get(x_154, 1); -lean_inc(x_166); -lean_dec(x_154); -x_105 = x_138; -x_106 = x_166; -goto block_125; -} -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -lean_dec(x_142); -lean_dec(x_138); -lean_dec(x_104); -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_2); -lean_dec(x_1); -x_167 = lean_ctor_get(x_154, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_154, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_154)) { - lean_ctor_release(x_154, 0); - lean_ctor_release(x_154, 1); - x_169 = x_154; -} else { - lean_dec_ref(x_154); - x_169 = lean_box(0); -} -if (lean_is_scalar(x_169)) { - x_170 = lean_alloc_ctor(1, 2, 0); -} else { - x_170 = x_169; -} -lean_ctor_set(x_170, 0, x_167); -lean_ctor_set(x_170, 1, x_168); -return x_170; -} -} -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -lean_dec(x_138); -lean_dec(x_104); -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_2); -lean_dec(x_1); -x_171 = lean_ctor_get(x_141, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_141, 1); -lean_inc(x_172); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_173 = x_141; -} else { - lean_dec_ref(x_141); - x_173 = lean_box(0); -} -if (lean_is_scalar(x_173)) { - x_174 = lean_alloc_ctor(1, 2, 0); -} else { - x_174 = x_173; -} -lean_ctor_set(x_174, 0, x_171); -lean_ctor_set(x_174, 1, x_172); -return x_174; -} -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -lean_dec(x_104); -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_2); -lean_dec(x_1); -x_175 = lean_ctor_get(x_137, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_137, 1); -lean_inc(x_176); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - lean_ctor_release(x_137, 1); - x_177 = x_137; -} else { - lean_dec_ref(x_137); - x_177 = lean_box(0); -} -if (lean_is_scalar(x_177)) { - x_178 = lean_alloc_ctor(1, 2, 0); -} else { - x_178 = x_177; -} -lean_ctor_set(x_178, 0, x_175); -lean_ctor_set(x_178, 1, x_176); -return x_178; -} -} -block_125: -{ -lean_object* x_107; -lean_inc(x_8); -lean_inc(x_6); -x_107 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_5, x_105, x_6, x_7, x_8, x_9, x_104, x_11, x_106); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_108, x_6, x_7, x_8, x_9, x_104, x_11, x_109); -lean_dec(x_11); -lean_dec(x_104); -lean_dec(x_9); -lean_dec(x_7); -if (lean_obj_tag(x_110) == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_113 = x_110; -} else { - lean_dec_ref(x_110); - x_113 = lean_box(0); -} -x_114 = lean_ctor_get(x_1, 2); -lean_inc(x_114); -lean_dec(x_1); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_111); -if (lean_is_scalar(x_113)) { - x_116 = lean_alloc_ctor(0, 2, 0); -} else { - x_116 = x_113; -} -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_112); -return x_116; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_1); -x_117 = lean_ctor_get(x_110, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_110, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_119 = x_110; -} else { - lean_dec_ref(x_110); - x_119 = lean_box(0); -} -if (lean_is_scalar(x_119)) { - x_120 = lean_alloc_ctor(1, 2, 0); -} else { - x_120 = x_119; -} -lean_ctor_set(x_120, 0, x_117); -lean_ctor_set(x_120, 1, x_118); -return x_120; -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -lean_dec(x_104); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_121 = lean_ctor_get(x_107, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_107, 1); -lean_inc(x_122); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_123 = x_107; -} else { - lean_dec_ref(x_107); - x_123 = lean_box(0); -} -if (lean_is_scalar(x_123)) { - x_124 = lean_alloc_ctor(1, 2, 0); -} else { - x_124 = x_123; -} -lean_ctor_set(x_124, 0, x_121); -lean_ctor_set(x_124, 1, x_122); -return x_124; -} -} -} -} -} -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___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: -{ -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_12; lean_object* x_13; -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_2); -lean_dec(x_1); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_4); -if (x_14 == 0) -{ -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; -x_15 = lean_ctor_get(x_4, 0); -x_16 = lean_ctor_get(x_4, 1); -x_17 = lean_ctor_get(x_15, 3); -lean_inc(x_17); -x_18 = l_Lean_Syntax_getArgs(x_17); -lean_dec(x_17); -x_19 = lean_box(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_20 = lean_alloc_closure((void*)(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___boxed), 12, 4); -lean_closure_set(x_20, 0, x_15); -lean_closure_set(x_20, 1, x_2); -lean_closure_set(x_20, 2, x_19); -lean_closure_set(x_20, 3, x_1); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_21 = l_Lean_Elab_Term_elabBinders___rarg(x_18, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_18); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1(x_1, x_2, x_3, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_23); -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; -x_26 = lean_ctor_get(x_24, 0); -lean_ctor_set(x_4, 1, x_26); -lean_ctor_set(x_4, 0, x_22); -lean_ctor_set(x_24, 0, x_4); -return x_24; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_24, 0); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_24); -lean_ctor_set(x_4, 1, x_27); -lean_ctor_set(x_4, 0, x_22); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_4); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -else -{ -uint8_t x_30; -lean_dec(x_22); -lean_free_object(x_4); -x_30 = !lean_is_exclusive(x_24); -if (x_30 == 0) -{ -return x_24; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_24, 0); -x_32 = lean_ctor_get(x_24, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_24); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -} -else -{ -uint8_t x_34; -lean_free_object(x_4); -lean_dec(x_16); -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_2); -lean_dec(x_1); -x_34 = !lean_is_exclusive(x_21); -if (x_34 == 0) -{ -return x_21; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_21, 0); -x_36 = lean_ctor_get(x_21, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_21); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -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; -x_38 = lean_ctor_get(x_4, 0); -x_39 = lean_ctor_get(x_4, 1); lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_4); -x_40 = lean_ctor_get(x_38, 3); -lean_inc(x_40); -x_41 = l_Lean_Syntax_getArgs(x_40); -lean_dec(x_40); -x_42 = lean_box(x_3); +lean_dec(x_5); +x_41 = lean_ctor_get(x_39, 3); +lean_inc(x_41); +x_42 = l_Lean_Syntax_getArgs(x_41); +lean_dec(x_41); +x_43 = lean_box(x_4); +lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_43 = lean_alloc_closure((void*)(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___boxed), 12, 4); -lean_closure_set(x_43, 0, x_38); -lean_closure_set(x_43, 1, x_2); -lean_closure_set(x_43, 2, x_42); -lean_closure_set(x_43, 3, x_1); +x_44 = lean_alloc_closure((void*)(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___boxed), 13, 5); +lean_closure_set(x_44, 0, x_39); +lean_closure_set(x_44, 1, x_2); +lean_closure_set(x_44, 2, x_43); +lean_closure_set(x_44, 3, x_1); +lean_closure_set(x_44, 4, x_3); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_44 = l_Lean_Elab_Term_elabBinders___rarg(x_41, x_43, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_41); -if (lean_obj_tag(x_44) == 0) +x_45 = l_Lean_Elab_Term_elabBinders___rarg(x_42, x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_42); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); -lean_dec(x_44); -x_47 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1(x_1, x_2, x_3, x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_46); -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; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - x_50 = x_47; -} else { - lean_dec_ref(x_47); - x_50 = lean_box(0); -} -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_45); -lean_ctor_set(x_51, 1, x_48); -if (lean_is_scalar(x_50)) { - x_52 = lean_alloc_ctor(0, 2, 0); -} else { - x_52 = x_50; -} -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_49); -return x_52; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); lean_dec(x_45); -x_53 = lean_ctor_get(x_47, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_47, 1); +x_48 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2(x_1, x_2, x_3, x_4, x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_47); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_51 = x_48; +} else { + lean_dec_ref(x_48); + x_51 = lean_box(0); +} +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_46); +lean_ctor_set(x_52, 1, x_49); +if (lean_is_scalar(x_51)) { + x_53 = lean_alloc_ctor(0, 2, 0); +} else { + x_53 = x_51; +} +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_50); +return x_53; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_46); +x_54 = lean_ctor_get(x_48, 0); lean_inc(x_54); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - x_55 = x_47; +x_55 = lean_ctor_get(x_48, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_56 = x_48; } else { - lean_dec_ref(x_47); - x_55 = lean_box(0); + lean_dec_ref(x_48); + x_56 = lean_box(0); } -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(1, 2, 0); } else { - x_56 = x_55; + x_57 = x_56; } -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_54); -return x_56; +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_55); +return x_57; } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_39); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_40); +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); lean_dec(x_2); lean_dec(x_1); -x_57 = lean_ctor_get(x_44, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_44, 1); +x_58 = lean_ctor_get(x_45, 0); lean_inc(x_58); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_59 = x_44; +x_59 = lean_ctor_get(x_45, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_60 = x_45; } else { - lean_dec_ref(x_44); - x_59 = lean_box(0); + lean_dec_ref(x_45); + x_60 = lean_box(0); } -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(1, 2, 0); } else { - x_60 = x_59; + x_61 = x_60; } -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_58); -return x_60; +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } } @@ -5097,6 +5453,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); +lean_inc(x_13); x_19 = l___private_Lean_Elab_Inductive_15__isInductiveFamily(x_13, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_19) == 0) { @@ -5110,13 +5467,14 @@ x_22 = lean_ctor_get(x_11, 7); x_23 = l_Array_toList___rarg(x_22); x_24 = lean_unbox(x_20); lean_dec(x_20); -x_25 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1(x_1, x_2, x_24, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +x_25 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2(x_1, x_2, x_13, x_24, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_21); return x_25; } else { uint8_t x_26; lean_dec(x_8); +lean_dec(x_13); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -5174,6 +5532,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); +lean_inc(x_13); x_38 = l___private_Lean_Elab_Inductive_15__isInductiveFamily(x_13, x_1, x_4, x_5, x_6, x_7, x_37, x_9, x_10); if (lean_obj_tag(x_38) == 0) { @@ -5187,13 +5546,14 @@ x_41 = lean_ctor_get(x_11, 7); x_42 = l_Array_toList___rarg(x_41); x_43 = lean_unbox(x_39); lean_dec(x_39); -x_44 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1(x_1, x_2, x_43, x_42, x_4, x_5, x_6, x_7, x_37, x_9, x_40); +x_44 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2(x_1, x_2, x_13, x_43, x_42, x_4, x_5, x_6, x_7, x_37, x_9, x_40); return x_44; } else { lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_dec(x_37); +lean_dec(x_13); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -5225,26 +5585,38 @@ return x_48; } } } -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__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) { +lean_object* l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1(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_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__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, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; +} +} +lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___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: { uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); -lean_dec(x_3); -x_14 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = lean_unbox(x_4); +lean_dec(x_4); +x_14 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } -lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___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) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_3); -lean_dec(x_3); -x_13 = l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; -} -} lean_object* l___private_Lean_Elab_Inductive_16__elabCtors___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: { @@ -13316,7 +13688,7 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_25 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_23, x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_21); +x_25 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_23, x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_21); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; @@ -13965,24 +14337,36 @@ l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___closed__2 = _init_ lean_mark_persistent(l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___closed__2); l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___closed__3 = _init_l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___closed__3(); lean_mark_persistent(l___private_Lean_Elab_Inductive_9__checkParamsAndResultType___closed__3); -l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__1 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__1(); -lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__1); -l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__2 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__2(); -lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__2); -l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__3 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__3(); -lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__3); -l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__4 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__4(); -lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__4); -l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__5 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__5(); -lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__5); -l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__6 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__6(); -lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__6); -l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__7 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__7(); -lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__7); -l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__8 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__8(); -lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__8); -l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__9 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__9(); -lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___lambda__1___closed__9); +l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__1 = _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__1(); +lean_mark_persistent(l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__1); +l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__2 = _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__2(); +lean_mark_persistent(l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__2); +l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__3 = _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__3(); +lean_mark_persistent(l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__3); +l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__4 = _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__4(); +lean_mark_persistent(l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__4); +l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__5 = _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__5(); +lean_mark_persistent(l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__5); +l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__6 = _init_l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__6(); +lean_mark_persistent(l_Nat_forMAux___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__1___closed__6); +l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__1 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__1(); +lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__1); +l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__2 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__2(); +lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__2); +l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__3 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__3(); +lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__3); +l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__4 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__4(); +lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__4); +l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__5 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__5(); +lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__5); +l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__6 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__6(); +lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__6); +l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__7 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__7(); +lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__7); +l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__8 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__8(); +lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__8); +l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__9 = _init_l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__9(); +lean_mark_persistent(l_List_mapM___main___at___private_Lean_Elab_Inductive_16__elabCtors___spec__2___lambda__1___closed__9); l___private_Lean_Elab_Inductive_19__getResultingUniverse___closed__1 = _init_l___private_Lean_Elab_Inductive_19__getResultingUniverse___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Inductive_19__getResultingUniverse___closed__1); l___private_Lean_Elab_Inductive_19__getResultingUniverse___closed__2 = _init_l___private_Lean_Elab_Inductive_19__getResultingUniverse___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index d6085837a5..f65fb24809 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -1104,13 +1104,13 @@ lean_inc(x_32); x_36 = l_Lean_Syntax_isOfKind(x_32, x_35); if (x_36 == 0) { -lean_object* x_126; uint8_t x_127; -x_126 = l_Lean_Elab_Term_elabLetDeclCore___closed__4; +lean_object* x_124; uint8_t x_125; +x_124 = l_Lean_Elab_Term_elabLetDeclCore___closed__4; lean_inc(x_32); -x_127 = l_Lean_Syntax_isOfKind(x_32, x_126); -if (x_127 == 0) +x_125 = l_Lean_Syntax_isOfKind(x_32, x_124); +if (x_125 == 0) { -lean_object* x_128; uint8_t x_129; +lean_object* x_126; uint8_t x_127; lean_dec(x_32); lean_dec(x_28); lean_dec(x_16); @@ -1121,42 +1121,42 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_128 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__6___rarg(x_29); -x_129 = !lean_is_exclusive(x_128); -if (x_129 == 0) +x_126 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__6___rarg(x_29); +x_127 = !lean_is_exclusive(x_126); +if (x_127 == 0) { -return x_128; +return x_126; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_128, 0); -x_131 = lean_ctor_get(x_128, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_128); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_126, 0); +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_inc(x_128); +lean_dec(x_126); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +return x_130; } } else { -lean_object* x_133; -x_133 = lean_box(0); -x_37 = x_133; -goto block_125; +lean_object* x_131; +x_131 = lean_box(0); +x_37 = x_131; +goto block_123; } } else { -lean_object* x_134; -x_134 = lean_box(0); -x_37 = x_134; -goto block_125; +lean_object* x_132; +x_132 = lean_box(0); +x_37 = x_132; +goto block_123; } -block_125: +block_123: { lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_dec(x_37); @@ -1169,21 +1169,21 @@ lean_inc(x_41); lean_dec(x_39); if (lean_obj_tag(x_40) == 0) { -lean_object* x_123; -x_123 = lean_box(0); -x_42 = x_123; -goto block_122; +lean_object* x_121; +x_121 = lean_box(0); +x_42 = x_121; +goto block_120; } else { -lean_object* x_124; -x_124 = lean_ctor_get(x_40, 0); -lean_inc(x_124); +lean_object* x_122; +x_122 = lean_ctor_get(x_40, 0); +lean_inc(x_122); lean_dec(x_40); -x_42 = x_124; -goto block_122; +x_42 = x_122; +goto block_120; } -block_122: +block_120: { lean_object* x_43; lean_object* x_44; lean_inc(x_38); @@ -1278,7 +1278,7 @@ lean_inc(x_76); x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); lean_dec(x_75); -x_78 = lean_ctor_get(x_76, 5); +x_78 = lean_ctor_get(x_76, 3); lean_inc(x_78); lean_dec(x_76); x_79 = lean_ctor_get(x_7, 1); @@ -1308,9 +1308,9 @@ x_90 = !lean_is_exclusive(x_88); if (x_90 == 0) { lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_88, 5); +x_91 = lean_ctor_get(x_88, 3); lean_dec(x_91); -lean_ctor_set(x_88, 5, x_86); +lean_ctor_set(x_88, 3, x_86); x_92 = lean_st_ref_set(x_4, x_88, x_89); x_93 = lean_ctor_get(x_92, 1); lean_inc(x_93); @@ -1330,73 +1330,67 @@ goto block_24; } 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; lean_object* x_102; lean_object* x_103; lean_object* x_104; +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; x_95 = lean_ctor_get(x_88, 0); x_96 = lean_ctor_get(x_88, 1); x_97 = lean_ctor_get(x_88, 2); -x_98 = lean_ctor_get(x_88, 3); -x_99 = lean_ctor_get(x_88, 4); -x_100 = lean_ctor_get(x_88, 6); -lean_inc(x_100); -lean_inc(x_99); +x_98 = lean_ctor_get(x_88, 4); lean_inc(x_98); lean_inc(x_97); lean_inc(x_96); lean_inc(x_95); lean_dec(x_88); -x_101 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_101, 0, x_95); -lean_ctor_set(x_101, 1, x_96); -lean_ctor_set(x_101, 2, x_97); -lean_ctor_set(x_101, 3, x_98); -lean_ctor_set(x_101, 4, x_99); -lean_ctor_set(x_101, 5, x_86); -lean_ctor_set(x_101, 6, x_100); -x_102 = lean_st_ref_set(x_4, x_101, x_89); -x_103 = lean_ctor_get(x_102, 1); +x_99 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_99, 0, x_95); +lean_ctor_set(x_99, 1, x_96); +lean_ctor_set(x_99, 2, x_97); +lean_ctor_set(x_99, 3, x_86); +lean_ctor_set(x_99, 4, x_98); +x_100 = lean_st_ref_set(x_4, x_99, x_89); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec(x_100); +x_102 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_102, 0, x_32); +lean_ctor_set(x_102, 1, x_28); +lean_ctor_set(x_102, 2, x_38); +lean_ctor_set(x_102, 3, x_43); +lean_ctor_set(x_102, 4, x_59); +lean_ctor_set(x_102, 5, x_58); +lean_ctor_set(x_102, 6, x_64); +lean_ctor_set(x_102, 7, x_85); +x_17 = x_102; +x_18 = x_101; +goto block_24; +} +} +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_63, 0); lean_inc(x_103); -lean_dec(x_102); -x_104 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_104, 0, x_32); -lean_ctor_set(x_104, 1, x_28); -lean_ctor_set(x_104, 2, x_38); -lean_ctor_set(x_104, 3, x_43); -lean_ctor_set(x_104, 4, x_59); -lean_ctor_set(x_104, 5, x_58); -lean_ctor_set(x_104, 6, x_64); -lean_ctor_set(x_104, 7, x_85); -x_17 = x_104; -x_18 = x_103; -goto block_24; -} -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_105 = lean_ctor_get(x_63, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_63, 1); -lean_inc(x_106); +x_104 = lean_ctor_get(x_63, 1); +lean_inc(x_104); lean_dec(x_63); -x_107 = lean_unsigned_to_nat(4u); -x_108 = l_Lean_Syntax_getArg(x_32, x_107); -x_109 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_109, 0, x_32); -lean_ctor_set(x_109, 1, x_28); -lean_ctor_set(x_109, 2, x_38); -lean_ctor_set(x_109, 3, x_43); -lean_ctor_set(x_109, 4, x_59); -lean_ctor_set(x_109, 5, x_58); -lean_ctor_set(x_109, 6, x_105); -lean_ctor_set(x_109, 7, x_108); -x_17 = x_109; -x_18 = x_106; +x_105 = lean_unsigned_to_nat(4u); +x_106 = l_Lean_Syntax_getArg(x_32, x_105); +x_107 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_107, 0, x_32); +lean_ctor_set(x_107, 1, x_28); +lean_ctor_set(x_107, 2, x_38); +lean_ctor_set(x_107, 3, x_43); +lean_ctor_set(x_107, 4, x_59); +lean_ctor_set(x_107, 5, x_58); +lean_ctor_set(x_107, 6, x_103); +lean_ctor_set(x_107, 7, x_106); +x_17 = x_107; +x_18 = x_104; goto block_24; } } else { -uint8_t x_110; +uint8_t x_108; lean_dec(x_43); lean_dec(x_38); lean_dec(x_32); @@ -1409,29 +1403,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_110 = !lean_is_exclusive(x_55); -if (x_110 == 0) +x_108 = !lean_is_exclusive(x_55); +if (x_108 == 0) { return x_55; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_55, 0); -x_112 = lean_ctor_get(x_55, 1); -lean_inc(x_112); -lean_inc(x_111); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_55, 0); +x_110 = lean_ctor_get(x_55, 1); +lean_inc(x_110); +lean_inc(x_109); lean_dec(x_55); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } else { -uint8_t x_114; +uint8_t x_112; lean_dec(x_43); lean_dec(x_38); lean_dec(x_32); @@ -1444,29 +1438,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_114 = !lean_is_exclusive(x_47); -if (x_114 == 0) +x_112 = !lean_is_exclusive(x_47); +if (x_112 == 0) { return x_47; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_47, 0); -x_116 = lean_ctor_get(x_47, 1); -lean_inc(x_116); -lean_inc(x_115); +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_47, 0); +x_114 = lean_ctor_get(x_47, 1); +lean_inc(x_114); +lean_inc(x_113); lean_dec(x_47); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } else { -uint8_t x_118; +uint8_t x_116; lean_dec(x_43); lean_dec(x_38); lean_dec(x_32); @@ -1479,23 +1473,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_118 = !lean_is_exclusive(x_44); -if (x_118 == 0) +x_116 = !lean_is_exclusive(x_44); +if (x_116 == 0) { return x_44; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_44, 0); -x_120 = lean_ctor_get(x_44, 1); -lean_inc(x_120); -lean_inc(x_119); +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_44, 0); +x_118 = lean_ctor_get(x_44, 1); +lean_inc(x_118); +lean_inc(x_117); lean_dec(x_44); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; } } } @@ -1503,41 +1497,41 @@ return x_121; } else { -lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_dec(x_28); lean_dec(x_16); lean_dec(x_1); -x_135 = l_Array_umapMAux___main___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__7___closed__3; -x_136 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_32, x_135, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_133 = l_Array_umapMAux___main___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__7___closed__3; +x_134 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_32, x_133, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_32); -x_137 = !lean_is_exclusive(x_136); -if (x_137 == 0) +x_135 = !lean_is_exclusive(x_134); +if (x_135 == 0) { -return x_136; +return x_134; } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_136, 0); -x_139 = lean_ctor_get(x_136, 1); -lean_inc(x_139); -lean_inc(x_138); -lean_dec(x_136); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -return x_140; +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_134, 0); +x_137 = lean_ctor_get(x_134, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_134); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; } } } else { -uint8_t x_141; +uint8_t x_139; lean_dec(x_25); lean_dec(x_16); lean_dec(x_8); @@ -1547,23 +1541,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_141 = !lean_is_exclusive(x_27); -if (x_141 == 0) +x_139 = !lean_is_exclusive(x_27); +if (x_139 == 0) { return x_27; } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_27, 0); -x_143 = lean_ctor_get(x_27, 1); -lean_inc(x_143); -lean_inc(x_142); +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_27, 0); +x_141 = lean_ctor_get(x_27, 1); +lean_inc(x_141); +lean_inc(x_140); lean_dec(x_27); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_143); -return x_144; +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_140); +lean_ctor_set(x_142, 1, x_141); +return x_142; } } block_24: @@ -2214,11 +2208,11 @@ x_22 = !lean_is_exclusive(x_20); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_23 = lean_ctor_get(x_20, 6); +x_23 = lean_ctor_get(x_20, 4); x_24 = l_Array_toList___rarg(x_18); lean_dec(x_18); x_25 = l_List_append___rarg(x_24, x_23); -lean_ctor_set(x_20, 6, x_25); +lean_ctor_set(x_20, 4, x_25); x_26 = lean_st_ref_set(x_5, x_20, x_21); x_27 = !lean_is_exclusive(x_26); if (x_27 == 0) @@ -2245,53 +2239,47 @@ return x_32; } else { -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_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; x_33 = lean_ctor_get(x_20, 0); x_34 = lean_ctor_get(x_20, 1); x_35 = lean_ctor_get(x_20, 2); x_36 = lean_ctor_get(x_20, 3); x_37 = lean_ctor_get(x_20, 4); -x_38 = lean_ctor_get(x_20, 5); -x_39 = lean_ctor_get(x_20, 6); -lean_inc(x_39); -lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); lean_dec(x_20); -x_40 = l_Array_toList___rarg(x_18); +x_38 = l_Array_toList___rarg(x_18); lean_dec(x_18); -x_41 = l_List_append___rarg(x_40, x_39); -x_42 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_42, 0, x_33); -lean_ctor_set(x_42, 1, x_34); -lean_ctor_set(x_42, 2, x_35); -lean_ctor_set(x_42, 3, x_36); -lean_ctor_set(x_42, 4, x_37); -lean_ctor_set(x_42, 5, x_38); -lean_ctor_set(x_42, 6, x_41); -x_43 = lean_st_ref_set(x_5, x_42, x_21); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); +x_39 = l_List_append___rarg(x_38, x_37); +x_40 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_40, 0, x_33); +lean_ctor_set(x_40, 1, x_34); +lean_ctor_set(x_40, 2, x_35); +lean_ctor_set(x_40, 3, x_36); +lean_ctor_set(x_40, 4, x_39); +x_41 = lean_st_ref_set(x_5, x_40, x_21); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_43 = x_41; +} else { + lean_dec_ref(x_41); + x_43 = lean_box(0); +} +x_44 = lean_box(0); +if (lean_is_scalar(x_43)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { x_45 = x_43; -} else { - lean_dec_ref(x_43); - x_45 = lean_box(0); } -x_46 = lean_box(0); -if (lean_is_scalar(x_45)) { - x_47 = lean_alloc_ctor(0, 2, 0); -} else { - x_47 = x_45; -} -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_44); -return x_47; +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_42); +return x_45; } } } diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index db244831a4..384d2441fb 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -14,308 +14,305 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg___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___private_Lean_Elab_Match_9__getMatchAlts(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__12; -lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__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* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__3; +lean_object* l___private_Lean_Elab_Match_24__processVar___closed__8; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNoMatch___closed__1; lean_object* l_Lean_mkAppStx(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_8__getMatchAlts(lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_Context_inhabited___closed__1; +lean_object* l___private_Lean_Elab_Match_21__processExplicitArg___closed__3; +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___rarg(lean_object*); -lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3___rarg___lambda__1(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_Elab_Match_9__getMatchAlts___boxed(lean_object*); -lean_object* l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__2; -lean_object* l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_37__withElaboratedLHS___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___closed__7; uint8_t l_Lean_Expr_isCharLit(lean_object*); -lean_object* l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_24__processCtorAppAux___main___spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isNatLit(lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__4(lean_object*); lean_object* l_Lean_Name_eraseMacroScopes(lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__11; +lean_object* l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId___boxed(lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__6; extern lean_object* l___private_Lean_Meta_ExprDefEq_8__checkTypesAndAssign___closed__7; -lean_object* l___private_Lean_Elab_Match_24__processCtorAppAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_Exception_toString___spec__2(lean_object*); -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__5; lean_object* l_Lean_Elab_Term_mkMotiveType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_24__processVar___closed__1; uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_ToDepElimPattern_main___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__15; +lean_object* l___private_Lean_Elab_Match_23__processCtorAppAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___spec__3(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_mk_empty_array_with_capacity(lean_object*); extern lean_object* l_Lean_Elab_throwIllFormedSyntax___rarg___closed__3; -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__15; +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2(lean_object*); lean_object* l_Lean_mkSort(lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__14; -lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_47__mkNewAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_24__processVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___spec__2(lean_object*); extern lean_object* l___private_Lean_Meta_ExprDefEq_12__addAssignmentInfo___closed__4; -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__14; -lean_object* l___private_Lean_Elab_Match_29__collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__19; extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__18; lean_object* l_Lean_LocalDecl_userName(lean_object*); -lean_object* l___private_Lean_Elab_Match_25__processVar___closed__6; lean_object* l_Lean_Elab_Term_elabMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); extern lean_object* l_Lean_nullKind; +lean_object* l___private_Lean_Elab_Match_28__collect___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_3__getAppArgsAux___main(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_8__getMatchAlts___boxed(lean_object*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_App_10__elabAppArgsAux___main___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___main___closed__2; -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg___lambda__1(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___private_Lean_Elab_Match_44__mkNewDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__1; +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__12; +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_App_23__elabAppFn___main___closed__12; lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__1; -lean_object* l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId___boxed(lean_object*); -extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -lean_object* l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___closed__1; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___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* l___private_Lean_Elab_Match_5__mkUserNameFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__14; +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__5; +lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_46__mkNewAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNoMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__1; +lean_object* l___private_Lean_Elab_Match_22__processImplicitArg___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_Elab_throwUnsupportedSyntax___rarg___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_8__getMatchAltsAux(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_25__processVar___closed__5; -lean_object* l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___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* l___private_Lean_Elab_Match_7__getMatchAltsAux(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_HeadIndex_1__headNumArgsAux___main(lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__1; +lean_object* l___private_Lean_Elab_Match_17__finalize___closed__3; +lean_object* l___private_Lean_Elab_Match_24__processVar___closed__2; +lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_36__mkLocalDeclFor___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* l_Lean_Meta_getFVarLocalDecl___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__2; extern lean_object* l_Lean_identKind___closed__2; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__2; extern lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; lean_object* l_Lean_Elab_Term_withDepElimPatterns(lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkMotiveType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_4__liftMetaMFinalizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_41__elabMatchCore___spec__1(lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___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* l_List_map___main___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1(lean_object*); -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__5; lean_object* l_Lean_Elab_Term_elabMVarWithIdKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_erase(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__15; lean_object* l_Lean_mkMVar(lean_object*); -lean_object* l___private_Lean_Elab_Match_47__mkNewAlts___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__3; -lean_object* l___private_Lean_Elab_Match_22__processExplicitArg___closed__1; +lean_object* l___private_Lean_Elab_Match_34__markAsVisited___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__elabMatchAux___spec__1(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_Elab_Match_16__isDone___boxed(lean_object*); +lean_object* l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg(lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__16; -lean_object* l___private_Lean_Elab_Match_18__finalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_22__processExplicitArg___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___private_Lean_Elab_Match_26__nameToPattern___main___closed__16; extern lean_object* l_Lean_Name_toExprAux___main___closed__1; +lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__4(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_Term_CollectPatternVars_CtorApp_processCtorApp___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_st_ref_get(lean_object*, lean_object*); +lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(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_Elab_Match_17__finalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__3; -lean_object* l___private_Lean_Elab_Match_25__processVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___main___closed__5; +lean_object* l___private_Lean_Elab_Match_24__processVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__3; extern lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; -lean_object* l___private_Lean_Elab_Match_43__mkOptType(lean_object*); -lean_object* l___private_Lean_Elab_Match_19__isNextArgAccessible___boxed(lean_object*); -lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_29__collect___main___spec__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*); extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(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_Term_elabMatchAltView___lambda__1___closed__1; lean_object* l_Lean_annotation_x3f(lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2___rarg(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_Elab_Match_6__elabMatchTypeAndDiscrs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -lean_object* l___private_Lean_Elab_Match_22__processExplicitArg___closed__4; lean_object* l_Lean_Elab_Term_elabInaccessible(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_44__mkNewPatterns___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___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*); extern lean_object* l___private_Lean_Meta_AppBuilder_5__mkEqReflImp___closed__2; extern lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__6; -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__withElaboratedLHS___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__5; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarWithIdImpl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___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* l___private_Lean_Elab_Match_29__collect___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_23__processImplicitArg___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___private_Lean_Elab_Match_24__processCtorAppAux(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_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__11; lean_object* l_Lean_MessageData_ofList(lean_object*); -lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__7; +lean_object* l___private_Lean_Elab_Match_28__collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__7; lean_object* l_Lean_Expr_getAppFn___main(lean_object*); -lean_object* l___private_Lean_Elab_Match_30__collectPatternVars___closed__1; extern lean_object* l_String_splitAux___main___closed__1; +lean_object* l___private_Lean_Elab_Match_46__mkNewAlts(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getAppArgs___closed__1; -lean_object* l___private_Lean_Elab_Match_22__processExplicitArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_46__mkNewAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___lambda__1(lean_object*, lean_object*, uint8_t, 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* l___private_Lean_Elab_Match_37__mkLocalDeclFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_22__processExplicitArg___closed__2; extern lean_object* l_List_repr___rarg___closed__3; -lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_37__mkLocalDeclFor___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* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1(lean_object*); extern lean_object* l_Lean_Name_toExprAux___main___closed__2; -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__5; -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___main___closed__3; -lean_object* l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_23__processCtorAppAux(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_Term_ToDepElimPattern_main___main___closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp(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* l_Lean_Meta_Match_mkMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__1(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_myMacro____x40_Lean_Util_Trace___hyg_11____closed__14; -lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_47__mkNewAlts(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_41__mkMatchType___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___main___at_Lean_Elab_Term_ToDepElimPattern_main___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_24__processVar___closed__4; lean_object* l___private_Lean_Elab_Match_1__expandSimpleMatch(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_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___lambda__1___boxed(lean_object**); extern lean_object* l_Lean_Elab_Term_NamedArg_inhabited; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__7; +lean_object* l___private_Lean_Elab_Match_21__processExplicitArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_22__processImplicitArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(lean_object*); +lean_object* l___private_Lean_Elab_Match_42__mkOptType(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__8; -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___main___closed__1; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1(lean_object*); +lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___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* l___private_Lean_Elab_Match_7__getMatchAltsAux___main(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___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___private_Lean_Elab_Match_24__processVar___closed__9; lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg___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_Elab_Match_27__nameToPattern___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2___rarg___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__1; extern lean_object* l_Lean_getConstInfo___rarg___lambda__1___closed__3; -lean_object* l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__1; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__9; -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg___lambda__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* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_47__mkNewAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_35__markAsVisited___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_37__withElaboratedLHS___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__13; +lean_object* l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Meta_Closure_mkBinding___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_finalizePatternDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__5; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__4; +lean_object* l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___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_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_8__getMatchAltsAux___main(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_16__throwInvalidPattern(lean_object*); +lean_object* l___private_Lean_Elab_Match_15__throwInvalidPattern(lean_object*); lean_object* l_Lean_Meta_instantiateLocalDeclMVars___at_Lean_Elab_Term_finalizePatternDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_28__quotedNameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__5(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__8; -uint8_t l___private_Lean_Elab_Match_17__isDone(lean_object*); +lean_object* l___private_Lean_Elab_Match_20__pushNewArg(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_Elab_Term_finalizePatternDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_18__finalize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__withElaboratedLHS___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_18__finalize___closed__1; lean_object* l_Lean_Elab_Term_mkMatchAltView___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_21__pushNewArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Elab_Match_16__isDone(lean_object*); +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg___closed__2; -lean_object* l___private_Lean_Elab_Match_25__processVar___closed__7; +lean_object* l___private_Lean_Elab_Match_27__quotedNameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__3; lean_object* l_Lean_Elab_Term_elabMatchAltView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_HasRepr___rarg___closed__1; -lean_object* l___private_Lean_Elab_Match_25__processVar___closed__3; lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__1; +lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___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* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__20; -lean_object* l___private_Lean_Elab_Match_21__pushNewArg___closed__1; -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_35__markAsVisited(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_10__mkMVarSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_34__markAsVisited(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_48__regTraceClasses(lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__10; -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg(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___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_28__collect___main___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*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_49__regTraceClasses(lean_object*); -lean_object* l___private_Lean_Elab_Match_41__elabMatchCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__6; +lean_object* l___private_Lean_Elab_Match_29__collectPatternVars___closed__1; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__9; lean_object* l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(lean_object*); -lean_object* l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__3; -lean_object* l___private_Lean_Elab_Match_21__pushNewArg___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_inferType___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_35__throwInvalidPattern(lean_object*); +lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_46__mkNewAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_withDepElimPatterns___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_29__collectPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf___at_Lean_Elab_Term_ToDepElimPattern_main___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_17__finalize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_CollectPatternVars_main___spec__3(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___private_Lean_Elab_Match_41__mkMatchType___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; -lean_object* l___private_Lean_Elab_Match_36__throwInvalidPattern(lean_object*); -lean_object* l___private_Lean_Elab_Match_30__collectPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_28__quotedNameToPattern___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_11__mkMVarSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__1(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___private_Lean_Elab_Match_28__collect___main___closed__10; +lean_object* l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg___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___private_Lean_Elab_Match_17__finalize___closed__1; +lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_23__processCtorAppAux___main___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_mkFreshUserName___closed__2; +lean_object* l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__2; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___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___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__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* l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__2; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__1; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__2; extern lean_object* l_Lean_strLitKind; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__24; -lean_object* l_List_toStringAux___main___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__2(uint8_t, lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_withDepElimPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__1; extern lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; -lean_object* l___private_Lean_Elab_Match_15__throwAmbiguous(lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toStringAux___main___at_Lean_Elab_Term_elabMatchAltView___spec__2___boxed(lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_29__collect___main___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* l___private_Lean_Elab_Match_38__elabMatchAux___closed__4; +lean_object* l___private_Lean_Elab_Match_7__getMatchAltsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameToExpr___closed__1; -lean_object* l___private_Lean_Elab_Match_40__waitExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_toHeadIndex___main(lean_object*); +lean_object* l___private_Lean_Elab_Match_39__waitExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_kabstract___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___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* l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_copyInfo(lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); -lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3___rarg(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_Elab_Match_17__finalize___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___closed__1; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -lean_object* l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___closed__1; +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_14__throwAmbiguous(lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_CollectPatternVars_main___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__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* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_27__quotedNameToPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_CollectPatternVars_main___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* l_Lean_Meta_inferType___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_withDepElimPatterns___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_getConstInfo___rarg___lambda__1___closed__5; -lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__1; extern lean_object* l___private_Lean_Elab_App_23__elabAppFn___main___closed__5; -lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_47__mkNewAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind(lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(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_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__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* l_Lean_Meta_getFVarLocalDecl___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__7; lean_object* l_Lean_Elab_Term_mkMatcher(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___private_Lean_Elab_Match_27__nameToPattern___main___closed__12; -lean_object* l___private_Lean_Elab_Match_8__getMatchAltsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg(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___private_Lean_Elab_Match_14__getNumExplicitCtorParams___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind(lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__12; lean_object* l_Lean_Meta_instantiateLocalDeclMVars___at_Lean_Elab_Term_finalizePatternDecls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___closed__8; +lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_23__processCtorAppAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__1; +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_mkMatchAltView(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__6; lean_object* l_Lean_Elab_Term_elabMatchAltView___closed__3; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_withDepElimPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_2__expandSimpleMatchWithType(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___private_Lean_Elab_Match_5__elabMatchOptType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__2; uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* l_Lean_Elab_Term_expandMacrosInPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_inferTypeRef; lean_object* l_Lean_Elab_Term_elabNoMatch___closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___closed__2; lean_object* l_Lean_Elab_Term_mkInaccessible___closed__2; lean_object* l_Lean_Elab_Term_inaccessible_x3f___boxed(lean_object*); -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__10; lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_27__quotedNameToPattern___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__6; lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; @@ -324,355 +321,351 @@ extern lean_object* l_List_repr___rarg___closed__2; extern lean_object* l_Lean_charLitKind; lean_object* l_Lean_Elab_expandMacros___main(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_reprAux___main___rarg___closed__1; +lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___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_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__elabMatchAux___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__3; +lean_object* l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___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* l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalDecl_Inhabited; lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAtomic(lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -extern lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__2; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__7; -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___main___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__1; -extern lean_object* l_Lean_Elab_Term_elabForall___closed__2; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main(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___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__19; -lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__1; lean_object* l_Lean_Elab_Term_CollectPatternVars_processCtorApp(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_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(lean_object*); -lean_object* l___private_Lean_Elab_Match_15__throwAmbiguous___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_38__elabMatchAux(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_mkAppStx___closed__6; lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__1(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_Elab_Match_39__elabMatchAux___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___private_Lean_Elab_Match_31__withPatternVarsAux___rarg(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_List_toStringAux___main___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__2___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__8; -lean_object* l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_4__elabDiscrsWitMatchType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___main___at_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; -lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___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* l___private_Lean_Elab_Match_41__mkMatchType(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__2; lean_object* l_Lean_Elab_Term_expandApp(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible(lean_object*); -lean_object* l___private_Lean_Elab_Match_42__mkMatchType(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__2; -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__4; -lean_object* l___private_Lean_Elab_Match_26__processId(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_Elab_Match_12__throwCtorExpected___rarg___closed__3; +lean_object* l___private_Lean_Elab_Match_44__mkNewPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_32__elabPatternsAux___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* l___private_Lean_Elab_Match_41__mkMatchType___main___closed__3; +lean_object* l___private_Lean_Elab_Match_25__processId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__12; uint8_t l_Array_isEmpty___rarg(lean_object*); -lean_object* l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_45__mkNewPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__12; +lean_object* l___private_Lean_Elab_Match_46__mkNewAlts___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__2; lean_object* l_Lean_Elab_addMacroStack(lean_object*, lean_object*); -lean_object* l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__14; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__15; +lean_object* l___private_Lean_Elab_Match_36__mkLocalDeclFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___closed__3; +lean_object* l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__2; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_20__forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___main___rarg(lean_object*); extern lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +lean_object* l___private_Lean_Elab_Match_33__alreadyVisited(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_inaccessible_x3f(lean_object*); extern lean_object* l___private_Lean_Elab_Util_4__regTraceClasses___closed__1; -lean_object* l___private_Lean_Elab_Match_34__alreadyVisited(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__11; -lean_object* l___private_Lean_Elab_Match_34__alreadyVisited___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__3; +lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___closed__5; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__18; +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2___rarg___lambda__1(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_Term_mkInaccessible(lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_7__elabBinderViews___main___spec__1___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___closed__4; -lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_22__processExplicitArg___closed__3; lean_object* l_Lean_mkFVar(lean_object*); uint8_t l_Lean_Expr_isAppOfArity___main(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___closed__12; -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___closed__8; uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_ToDepElimPattern_main___main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___main___closed__4; -lean_object* l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_ConstantInfo_type(lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__11; +lean_object* l___private_Lean_Elab_Match_36__mkLocalDeclFor___boxed(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_21__forallBoundedTelescopeImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__11; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__26; lean_object* l_Lean_Elab_Term_PatternVar_hasToString___closed__1; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1(lean_object*); +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg(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___private_Lean_Meta_ExprDefEq_8__checkTypesAndAssign___lambda__1___closed__1; -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux(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_throwError___at_Lean_Meta_mkWHNFRef___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS(lean_object*); +lean_object* l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__3; +lean_object* l___private_Lean_Elab_Match_32__elabPatternsAux___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_Array_forMAux___main___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; -lean_object* l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__2; -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__1; +lean_object* l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__1; lean_object* l_List_toString___at_Lean_Elab_Term_elabMatchAltView___spec__1(lean_object*); -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux(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_Elab_Term_termElabAttribute; -lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3(lean_object*); +lean_object* l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_39__elabMatchAux___spec__3(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_18__finalize___closed__2; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkInaccessible___closed__1; -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_processCtor(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_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel___at_Lean_Elab_Term_tryCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__17; +lean_object* l_Lean_Elab_Term_mkFreshUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_toStringAux___main___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__2___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_45__mkNewAlt(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatchAltView___lambda__1(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_Elab_elabAttr___rarg___closed__3; +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main(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_Syntax_inhabited; -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__1; +lean_object* l___private_Lean_Elab_Match_44__mkNewPatterns___main___closed__1; +lean_object* l___private_Lean_Elab_Match_44__mkNewPatterns___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; lean_object* l_Lean_Elab_Term_elabMVarWithIdKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_41__mkMatchType___main___closed__5; lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___main___closed__3; -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__8; -lean_object* l___private_Lean_Elab_Match_32__withPatternVars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_12__throwCtorExpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__6; -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___closed__3; +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__1; +lean_object* l___private_Lean_Elab_Match_13__getNumExplicitCtorParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___closed__5; -lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkHole(lean_object*); +lean_object* l___private_Lean_Elab_Match_24__processVar___closed__3; +uint8_t l___private_Lean_Elab_Match_18__isNextArgAccessible(lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__8; +lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___closed__6; +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___main(lean_object*); lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_8__getMatchAltsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__1; -uint8_t l___private_Lean_Elab_Match_19__isNextArgAccessible(lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__4; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__4; +lean_object* l___private_Lean_Meta_KAbstract_1__kabstractAux___main(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_Elab_Term_CollectPatternVars_resolveId_x3f___closed__2; -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__12; lean_object* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__3; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Lean_Expr_getRevArg_x21___main(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__3; -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__4; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__17; extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__6; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkMotiveType___closed__1; lean_object* l_Lean_mkApp(lean_object*, lean_object*); extern lean_object* l_Lean_SourceInfo_inhabited___closed__1; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__13; lean_object* l_Lean_Elab_Term_elabInaccessible___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__2; -lean_object* l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__3; -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__9; +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__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* l_Lean_Syntax_getArgs(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3; lean_object* l_Lean_Meta_throwUnknownFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__2; +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_40__elabMatchCore___spec__1(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__7; uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2___rarg___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_46__mkNewAlt___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__5; lean_object* l_Lean_Elab_Term_elabMatchAltView___lambda__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* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_28__quotedNameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_41__elabMatchCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Binders_6__matchBinder___closed__2; +lean_object* l___private_Lean_Elab_Match_44__mkNewPatterns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_24__processVar___closed__7; +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__3; extern lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__2; lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__7; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_ToDepElimPattern_main___main___spec__2(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_Elab_Match_12__throwCtorExpected___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_40__elabMatchCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_27__quotedNameToPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_11__mkMVarSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__2; uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___closed__1; +lean_object* l___private_Lean_Elab_Match_32__elabPatternsAux(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_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__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* l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__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_object*); -lean_object* l___private_Lean_Elab_Match_37__mkLocalDeclFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_14__throwAmbiguous___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_whnfRef; lean_object* l_Lean_LocalContext_addDecl(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_25__processVar___closed__9; -lean_object* l___private_Lean_Elab_Match_14__getNumExplicitCtorParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___closed__2; +lean_object* l___private_Lean_Elab_Match_19__getNextParam(lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__7; lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_20__getNextParam(lean_object*); -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__4; -lean_object* l___private_Lean_Elab_Match_32__withPatternVars(lean_object*); lean_object* l_Lean_Parser_registerBuiltinNodeKind(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_33__elabPatternsAux(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_kabstract___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch___closed__1; -lean_object* l___private_Lean_Elab_Match_46__mkNewAlt(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__5; +lean_object* l___private_Lean_Elab_Match_31__withPatternVars(lean_object*); +lean_object* l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__1; lean_object* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_ToDepElimPattern_main___main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___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_mkStxStrLit(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__5; -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_39__elabMatchAux___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); -lean_object* l___private_Lean_Elab_Match_23__processImplicitArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__1; +lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_List_toString___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__1(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__9; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__4; lean_object* l_Lean_Elab_Term_withSynthesize___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_4__expandMatchOptType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_39__waitExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__13; -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main(lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_Context_inhabited; -lean_object* l___private_Lean_Elab_Match_25__processVar___closed__4; -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___main(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___closed__6; +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__9; +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__2; lean_object* l_Lean_Elab_Term_elabMatchAltView___lambda__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* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_28__quotedNameToPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_28__collect___main___spec__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*); uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_24__processCtorAppAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_TraceState_Inhabited___closed__1; +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__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_object*); lean_object* l_Lean_Elab_Term_mkMotiveType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__1; -lean_object* l___private_Lean_Elab_Match_40__waitExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_arrayLit_x3f(lean_object*); -lean_object* l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_29__collect___main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg___lambda__1(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_mkOptionalNode___closed__1; lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); -extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; -lean_object* l___private_Lean_Elab_Match_13__throwCtorExpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__4; +lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4(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_Elab_Match_18__finalize___closed__3; +lean_object* l___private_Lean_Elab_Match_12__throwCtorExpected(lean_object*); lean_object* l_Array_toList___rarg(lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___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* l___private_Lean_Elab_Match_43__mkNewDiscrs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_31__withPatternVars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isStringLit(lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__4; lean_object* lean_mk_array(lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__2; -lean_object* l_List_toString___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__1(lean_object*); -lean_object* l___private_Lean_Elab_Match_45__mkNewPatterns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_40__elabMatchCore___boxed(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___private_Lean_Elab_Match_31__withPatternVarsAux(lean_object*); +lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatchAltView___closed__1; -lean_object* l___private_Lean_Elab_Match_13__throwCtorExpected(lean_object*); -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__11; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_withDepElimPatterns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__4; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__10; extern lean_object* l_Lean_mkHole___closed__2; -lean_object* l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__3; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; +lean_object* l_List_toStringAux___main___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__2(uint8_t, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg___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_Elab_Match_28__collect___main___closed__2; +uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__2; +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___rarg(lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_tryLiftAndCoe___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Meta_instantiateLocalDeclMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_17__isDone___boxed(lean_object*); +lean_object* l___private_Lean_Elab_Match_10__mkMVarSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs(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_Term_reportMatcherResultErrors___closed__3; uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__2; -lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__4(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_Elab_Match_44__mkNewDiscrs___main___closed__4; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkStxLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__4___rarg___lambda__1(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___private_Lean_Elab_Match_37__withElaboratedLHS___rarg(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_Syntax_getArg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__1; lean_object* l_Lean_Meta_whnf___at_Lean_Elab_Term_ToDepElimPattern_main___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_20__pushNewArg___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___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___closed__1; +lean_object* l___private_Lean_Elab_Match_26__nameToPattern___main___closed__20; +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux(lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__8; lean_object* l_Lean_Elab_Term_CollectPatternVars_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__9; lean_object* l_Lean_Elab_Term_mkMatcher___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_Array_forMAux___main___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_20__pushNewArg___closed__1; lean_object* l_List_map___main___at_Lean_MessageData_hasCoeOfListExpr___spec__1(lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_39__elabMatchAux___spec__1(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_Elab_Match_15__throwAmbiguous___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__1; +lean_object* l___private_Lean_Elab_Match_28__collect___main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_24__processVar___closed__5; +lean_object* l___private_Lean_Elab_Match_33__alreadyVisited___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_processCtorApp___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_Elab_Match_25__processVar___closed__2; -lean_object* l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___closed__1; extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__2; -lean_object* l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__2; lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_List_toArrayAux___main___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__5; -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__13; +lean_object* l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg___lambda__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*); extern lean_object* l_System_FilePath_dirName___closed__1; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___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* l___private_Lean_Elab_Match_21__processExplicitArg___closed__4; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_PatternVar_hasToString(lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__3; lean_object* lean_local_ctx_find(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1(lean_object*); +lean_object* l___private_Lean_Elab_Match_37__withElaboratedLHS(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_occurs(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_7__elabDiscrs(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_Elab_Match_33__elabPatternsAux___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___private_Lean_Elab_Match_38__elabMatchAux___closed__7; lean_object* l_Lean_Elab_Term_reportMatcherResultErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg(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_Elab_Match_29__collect___main___closed__9; -extern lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; +lean_object* l___private_Lean_Elab_Match_41__mkMatchType___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__8; lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__2; extern lean_object* l___private_Lean_Elab_Term_14__isExplicit___closed__2; +lean_object* l___private_Lean_Elab_Match_18__isNextArgAccessible___boxed(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1; lean_object* l_List_toStringAux___main___at_Lean_Elab_Term_elabMatchAltView___spec__2(uint8_t, lean_object*); -lean_object* l___private_Lean_Elab_Match_25__processVar___closed__1; +lean_object* l___private_Lean_Elab_Match_41__mkMatchType___main___closed__2; extern lean_object* l___private_Lean_Elab_App_23__elabAppFn___main___closed__11; lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__5; lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_ToDepElimPattern_main___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__2; -lean_object* l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(lean_object*); +lean_object* l___private_Lean_Elab_Match_4__elabDiscrsWitMatchType___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_Elab_Match_32__elabPatternsAux___main___closed__3; +lean_object* l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_7__getMatchAltsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_withDepElimPatterns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatchAltView___closed__2; +lean_object* l___private_Lean_Elab_Match_21__processExplicitArg___closed__2; +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___rarg(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_Term_reportMatcherResultErrors___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_counterExamplesToMessageData(lean_object*); -lean_object* l___private_Lean_Elab_Match_29__collect___main___closed__2; -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux(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___private_Lean_Elab_Match_5__mkUserNameFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_7__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__2; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___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* l___private_Lean_Elab_Match_45__mkNewPatterns___main___closed__1; -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__6; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__13; -lean_object* l___private_Lean_Elab_Match_25__processVar___closed__8; +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_7__elabDiscrs___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_Elab_log___at_Lean_Elab_Term_CollectPatternVars_main___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* l___private_Lean_Elab_Match_25__processVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_45__mkNewPatterns___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_45__mkNewPatterns___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_24__processVar___closed__6; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__3; +lean_object* l___private_Lean_Elab_Match_32__elabPatternsAux___main(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___private_Lean_Elab_Match_21__processExplicitArg___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_logAt___at_Lean_Elab_Term_CollectPatternVars_main___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* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind(lean_object*); extern lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__1; extern lean_object* l_Lean_mkAppStx___closed__1; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__3(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_Elab_Match_15__throwInvalidPattern___rarg___closed__3; lean_object* l_Lean_Elab_Term_withDepElimPatterns___rarg(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_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__8; -lean_object* l___private_Lean_Elab_Match_4__expandMatchOptType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__3; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__9; -lean_object* l___private_Lean_Elab_Match_33__elabPatternsAux___main(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___private_Lean_Elab_Match_33__elabPatternsAux___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* l___private_Lean_Elab_Match_5__elabMatchOptType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_47__mkNewAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__1; +lean_object* l___private_Lean_Elab_Match_41__mkMatchType___main___closed__1; +lean_object* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__6; +lean_object* l___private_Lean_Elab_Match_21__processExplicitArg___closed__1; +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__elabMatchAux___spec__2(lean_object*, lean_object*); +lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_46__mkNewAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Match_45__mkNewAlt___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__2; +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__1(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 lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__1; +lean_object* l___private_Lean_Elab_Match_28__collect___main___closed__13; lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__34; extern lean_object* l_Lean_matchPatternAttr; @@ -680,7 +673,7 @@ extern lean_object* l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed_ uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch(lean_object*); lean_object* l_Lean_mkThunk(lean_object*); -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__6; +lean_object* l___private_Lean_Elab_Match_41__mkMatchType___main___closed__4; lean_object* l_Lean_Elab_Term_mkMatchAltView(lean_object* x_1, lean_object* x_2) { _start: { @@ -927,310 +920,7 @@ return x_66; } } } -lean_object* _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__14; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Binders_6__matchBinder___closed__2; -x_2 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__2; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; -x_2 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__3; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__2; -x_2 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__4; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__5; -x_2 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_eq(x_2, x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_unsigned_to_nat(1u); -x_8 = lean_nat_sub(x_2, x_7); -x_9 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main(x_1, x_8, x_3, x_4); -lean_dec(x_8); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -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_11 = lean_ctor_get(x_9, 0); -x_12 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__6; -x_13 = lean_array_push(x_12, x_11); -x_14 = l_Lean_Elab_Term_elabForall___closed__2; -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -x_16 = l_Lean_Syntax_copyInfo(x_15, x_1); -lean_ctor_set(x_9, 0, x_16); -return x_9; -} -else -{ -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; -x_17 = lean_ctor_get(x_9, 0); -x_18 = lean_ctor_get(x_9, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_9); -x_19 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__6; -x_20 = lean_array_push(x_19, x_17); -x_21 = l_Lean_Elab_Term_elabForall___closed__2; -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_Syntax_copyInfo(x_22, x_1); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_18); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = l_Lean_mkHole(x_1); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_4); -return x_26; -} -} -} -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main(x_1, x_2, x_3, x_4); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Match_4__expandMatchOptType(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_Lean_Syntax_isNone(x_2); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Lean_Syntax_getArg(x_2, x_7); -x_9 = lean_unsigned_to_nat(1u); -x_10 = l_Lean_Syntax_getArg(x_8, x_9); -lean_dec(x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_5); -return x_11; -} -else -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main(x_1, x_3, x_4, x_5); -return x_12; -} -} -} -lean_object* l___private_Lean_Elab_Match_4__expandMatchOptType___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___private_Lean_Elab_Match_4__expandMatchOptType(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Match_5__elabMatchOptType(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; 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; uint8_t x_32; -x_10 = lean_ctor_get(x_7, 3); -lean_inc(x_10); -x_11 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_st_ref_get(x_8, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_st_ref_get(x_4, x_16); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_ctor_get(x_19, 5); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_7, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_7, 2); -lean_inc(x_23); -x_24 = lean_environment_main_module(x_17); -x_25 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_12); -lean_ctor_set(x_25, 2, x_22); -lean_ctor_set(x_25, 3, x_23); -x_26 = l___private_Lean_Elab_Match_4__expandMatchOptType(x_10, x_1, x_2, x_25, x_21); -lean_dec(x_25); -lean_dec(x_10); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_st_ref_take(x_4, x_20); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = !lean_is_exclusive(x_30); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_30, 5); -lean_dec(x_33); -lean_ctor_set(x_30, 5, x_28); -x_34 = lean_st_ref_set(x_4, x_30, x_31); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = l_Lean_Elab_Term_elabType(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_35); -return x_36; -} -else -{ -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; -x_37 = lean_ctor_get(x_30, 0); -x_38 = lean_ctor_get(x_30, 1); -x_39 = lean_ctor_get(x_30, 2); -x_40 = lean_ctor_get(x_30, 3); -x_41 = lean_ctor_get(x_30, 4); -x_42 = lean_ctor_get(x_30, 6); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_30); -x_43 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_43, 0, x_37); -lean_ctor_set(x_43, 1, x_38); -lean_ctor_set(x_43, 2, x_39); -lean_ctor_set(x_43, 3, x_40); -lean_ctor_set(x_43, 4, x_41); -lean_ctor_set(x_43, 5, x_28); -lean_ctor_set(x_43, 6, x_42); -x_44 = lean_st_ref_set(x_4, x_43, x_31); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec(x_44); -x_46 = l_Lean_Elab_Term_elabType(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_45); -return x_46; -} -} -} -lean_object* l___private_Lean_Elab_Match_5__elabMatchOptType___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_Match_5__elabMatchOptType(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_List_toStringAux___main___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__2(uint8_t x_1, lean_object* x_2) { +lean_object* l_List_toStringAux___main___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__2(uint8_t x_1, lean_object* x_2) { _start: { if (x_1 == 0) @@ -1258,7 +948,7 @@ x_11 = l_Lean_Format_pretty(x_9, x_10); x_12 = l_List_reprAux___main___rarg___closed__1; x_13 = lean_string_append(x_12, x_11); lean_dec(x_11); -x_14 = l_List_toStringAux___main___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__2(x_1, x_5); +x_14 = l_List_toStringAux___main___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__2(x_1, x_5); x_15 = lean_string_append(x_13, x_14); lean_dec(x_14); return x_15; @@ -1286,7 +976,7 @@ x_21 = lean_unsigned_to_nat(0u); x_22 = l_Lean_Syntax_formatStxAux___main(x_19, x_20, x_21, x_17); x_23 = lean_box(0); x_24 = l_Lean_Format_pretty(x_22, x_23); -x_25 = l_List_toStringAux___main___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__2(x_20, x_18); +x_25 = l_List_toStringAux___main___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__2(x_20, x_18); x_26 = lean_string_append(x_24, x_25); lean_dec(x_25); return x_26; @@ -1294,7 +984,7 @@ return x_26; } } } -lean_object* l_List_toString___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__1(lean_object* x_1) { +lean_object* l_List_toString___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1307,7 +997,7 @@ else { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_3 = 1; -x_4 = l_List_toStringAux___main___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__2(x_3, x_1); +x_4 = l_List_toStringAux___main___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__2(x_3, x_1); x_5 = l_List_repr___rarg___closed__2; x_6 = lean_string_append(x_5, x_4); lean_dec(x_4); @@ -1317,7 +1007,7 @@ return x_8; } } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__1() { _start: { lean_object* x_1; @@ -1325,27 +1015,27 @@ x_1 = lean_mk_string("invalid result type provided to match-expression"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__1; +x_1 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__2; +x_1 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__4() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__4() { _start: { lean_object* x_1; @@ -1353,27 +1043,27 @@ x_1 = lean_mk_string("invalid type provided to match-expression, function type w return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__5() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__4; +x_1 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__6() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__5; +x_1 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__7() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__7() { _start: { lean_object* x_1; @@ -1381,27 +1071,27 @@ x_1 = lean_mk_string(" expected"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__8() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__7; +x_1 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__9() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__8; +x_1 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1411,7 +1101,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__11() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__11() { _start: { lean_object* x_1; @@ -1419,27 +1109,27 @@ x_1 = lean_mk_string("discr #"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__12() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__11; +x_1 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__11; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__13() { +lean_object* _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__12; +x_1 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__12; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main(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* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main(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_13; uint8_t x_14; @@ -1491,7 +1181,7 @@ x_24 = lean_ctor_get(x_21, 1); lean_inc(x_24); lean_dec(x_21); x_25 = l_Lean_indentExpr(x_4); -x_26 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__3; +x_26 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__3; x_27 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); @@ -1641,7 +1331,7 @@ x_57 = lean_ctor_get(x_54, 1); lean_inc(x_57); lean_dec(x_54); x_58 = l_Lean_indentExpr(x_4); -x_59 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__3; +x_59 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__3; x_60 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); @@ -1813,7 +1503,7 @@ lean_inc(x_107); lean_dec(x_105); x_108 = lean_ctor_get(x_10, 0); lean_inc(x_108); -x_109 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; +x_109 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; x_110 = l_Lean_checkTraceOption(x_108, x_109); lean_dec(x_108); if (x_110 == 0) @@ -1841,7 +1531,7 @@ x_117 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_117, 0, x_116); x_118 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_118, 0, x_117); -x_119 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__13; +x_119 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13; x_120 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_118); @@ -1953,7 +1643,7 @@ lean_inc(x_149); lean_dec(x_147); x_150 = lean_ctor_get(x_10, 0); lean_inc(x_150); -x_151 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; +x_151 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; x_152 = l_Lean_checkTraceOption(x_150, x_151); lean_dec(x_150); if (x_152 == 0) @@ -1981,7 +1671,7 @@ x_159 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_159, 0, x_158); x_160 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_160, 0, x_159); -x_161 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__13; +x_161 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13; x_162 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); @@ -2075,7 +1765,7 @@ block_95: 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; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_dec(x_83); x_84 = l_Array_toList___rarg(x_1); -x_85 = l_List_toString___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__1(x_84); +x_85 = l_List_toString___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__1(x_84); x_86 = l_Array_HasRepr___rarg___closed__1; x_87 = lean_string_append(x_86, x_85); lean_dec(x_85); @@ -2083,11 +1773,11 @@ x_88 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_88, 0, x_87); x_89 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_89, 0, x_88); -x_90 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__6; +x_90 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__6; x_91 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); -x_92 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__9; +x_92 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__9; x_93 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_93, 0, x_91); lean_ctor_set(x_93, 1, x_92); @@ -2135,1279 +1825,62 @@ return x_186; } } } -lean_object* l_List_toStringAux___main___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_List_toStringAux___main___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l_List_toStringAux___main___at___private_Lean_Elab_Match_6__elabDiscrsAux___main___spec__2(x_3, x_2); +x_4 = l_List_toStringAux___main___at___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___spec__2(x_3, x_2); return x_4; } } -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___main___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* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___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_13; -x_13 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main(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 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main(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_1); return x_13; } } -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux(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* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux(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_13; -x_13 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main(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 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_13; } } -lean_object* l___private_Lean_Elab_Match_6__elabDiscrsAux___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* l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___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_13; -x_13 = l___private_Lean_Elab_Match_6__elabDiscrsAux(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 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux(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_1); return x_13; } } -lean_object* l___private_Lean_Elab_Match_7__elabDiscrs(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* l___private_Lean_Elab_Match_4__elabDiscrsWitMatchType(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; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(0u); x_12 = l_Array_empty___closed__1; -x_13 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main(x_1, x_3, x_11, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main(x_1, x_3, x_11, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } -lean_object* l___private_Lean_Elab_Match_7__elabDiscrs___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* l___private_Lean_Elab_Match_4__elabDiscrsWitMatchType___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_Match_7__elabDiscrs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Lean_Elab_Match_4__elabDiscrsWitMatchType(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_11; } } -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1(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; uint8_t x_7; -x_6 = lean_array_get_size(x_3); -x_7 = lean_nat_dec_lt(x_2, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_8 = x_3; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_5); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_array_fget(x_3, x_2); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_fset(x_3, x_2, x_11); -x_13 = x_10; -lean_inc(x_4); -lean_inc(x_1); -x_14 = l_Lean_Elab_expandMacros___main(x_1, x_13, x_4, x_5); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_2, x_17); -x_19 = x_15; -x_20 = lean_array_fset(x_12, x_2, x_19); -lean_dec(x_2); -x_2 = x_18; -x_3 = x_20; -x_5 = x_16; -goto _start; -} -else -{ -uint8_t x_22; -lean_dec(x_12); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_22 = !lean_is_exclusive(x_14); -if (x_22 == 0) -{ -return x_14; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_14); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___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_7; -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___rarg), 1, 0); -return x_7; -} -} -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__3(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; uint8_t x_12; -x_11 = lean_array_get_size(x_3); -x_12 = lean_nat_dec_lt(x_2, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_13 = x_3; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_10); -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_26; uint8_t x_27; -x_15 = lean_array_fget(x_3, x_2); -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_array_fset(x_3, x_2, x_16); -x_26 = x_15; -x_27 = !lean_is_exclusive(x_26); -if (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_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; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_ctor_get(x_26, 1); -x_30 = lean_ctor_get(x_26, 2); -x_31 = x_29; -lean_inc(x_1); -x_32 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1), 5, 3); -lean_closure_set(x_32, 0, x_1); -lean_closure_set(x_32, 1, x_16); -lean_closure_set(x_32, 2, x_31); -x_33 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_st_ref_get(x_9, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_ctor_get(x_37, 0); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_st_ref_get(x_5, x_38); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_41, 5); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_8, 1); -x_45 = lean_ctor_get(x_8, 2); -x_46 = lean_environment_main_module(x_39); -lean_inc(x_45); -lean_inc(x_44); -x_47 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_34); -lean_ctor_set(x_47, 2, x_44); -lean_ctor_set(x_47, 3, x_45); -x_48 = x_32; -x_49 = lean_apply_2(x_48, x_47, x_43); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_st_ref_take(x_5, x_42); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = !lean_is_exclusive(x_53); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_53, 5); -lean_dec(x_56); -lean_ctor_set(x_53, 5, x_51); -x_57 = lean_st_ref_set(x_5, x_53, x_54); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -lean_ctor_set(x_26, 1, x_50); -x_18 = x_26; -x_19 = x_58; -goto block_25; -} -else -{ -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_65; lean_object* x_66; lean_object* x_67; -x_59 = lean_ctor_get(x_53, 0); -x_60 = lean_ctor_get(x_53, 1); -x_61 = lean_ctor_get(x_53, 2); -x_62 = lean_ctor_get(x_53, 3); -x_63 = lean_ctor_get(x_53, 4); -x_64 = lean_ctor_get(x_53, 6); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_53); -x_65 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_65, 0, x_59); -lean_ctor_set(x_65, 1, x_60); -lean_ctor_set(x_65, 2, x_61); -lean_ctor_set(x_65, 3, x_62); -lean_ctor_set(x_65, 4, x_63); -lean_ctor_set(x_65, 5, x_51); -lean_ctor_set(x_65, 6, x_64); -x_66 = lean_st_ref_set(x_5, x_65, x_54); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -lean_ctor_set(x_26, 1, x_50); -x_18 = x_26; -x_19 = x_67; -goto block_25; -} -} -else -{ -lean_object* x_68; -lean_free_object(x_26); -lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_17); -lean_dec(x_2); -lean_dec(x_1); -x_68 = lean_ctor_get(x_49, 0); -lean_inc(x_68); -lean_dec(x_49); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_71, 0, x_70); -x_72 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_72, 0, x_71); -x_73 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_69, x_72, x_4, x_5, x_6, x_7, x_8, x_9, x_42); -lean_dec(x_69); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -return x_73; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_73, 0); -x_76 = lean_ctor_get(x_73, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_73); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -else -{ -lean_object* x_78; uint8_t x_79; -lean_dec(x_4); -x_78 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___rarg(x_42); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -return x_78; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_78, 0); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_78); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -} -} -else -{ -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; lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; -x_83 = lean_ctor_get(x_26, 0); -x_84 = lean_ctor_get(x_26, 1); -x_85 = lean_ctor_get(x_26, 2); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_26); -x_86 = x_84; -lean_inc(x_1); -x_87 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1), 5, 3); -lean_closure_set(x_87, 0, x_1); -lean_closure_set(x_87, 1, x_16); -lean_closure_set(x_87, 2, x_86); -x_88 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_st_ref_get(x_9, x_90); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_ctor_get(x_92, 0); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_st_ref_get(x_5, x_93); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = lean_ctor_get(x_96, 5); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_ctor_get(x_8, 1); -x_100 = lean_ctor_get(x_8, 2); -x_101 = lean_environment_main_module(x_94); -lean_inc(x_100); -lean_inc(x_99); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_89); -lean_ctor_set(x_102, 2, x_99); -lean_ctor_set(x_102, 3, x_100); -x_103 = x_87; -x_104 = lean_apply_2(x_103, x_102, x_98); -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; 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; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_st_ref_take(x_5, x_97); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_ctor_get(x_108, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_108, 1); -lean_inc(x_111); -x_112 = lean_ctor_get(x_108, 2); -lean_inc(x_112); -x_113 = lean_ctor_get(x_108, 3); -lean_inc(x_113); -x_114 = lean_ctor_get(x_108, 4); -lean_inc(x_114); -x_115 = lean_ctor_get(x_108, 6); -lean_inc(x_115); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - lean_ctor_release(x_108, 2); - lean_ctor_release(x_108, 3); - lean_ctor_release(x_108, 4); - lean_ctor_release(x_108, 5); - lean_ctor_release(x_108, 6); - x_116 = x_108; -} else { - lean_dec_ref(x_108); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(0, 7, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_110); -lean_ctor_set(x_117, 1, x_111); -lean_ctor_set(x_117, 2, x_112); -lean_ctor_set(x_117, 3, x_113); -lean_ctor_set(x_117, 4, x_114); -lean_ctor_set(x_117, 5, x_106); -lean_ctor_set(x_117, 6, x_115); -x_118 = lean_st_ref_set(x_5, x_117, x_109); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -lean_dec(x_118); -x_120 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_120, 0, x_83); -lean_ctor_set(x_120, 1, x_105); -lean_ctor_set(x_120, 2, x_85); -x_18 = x_120; -x_19 = x_119; -goto block_25; -} -else -{ -lean_object* x_121; -lean_dec(x_85); -lean_dec(x_83); -lean_dec(x_17); -lean_dec(x_2); -lean_dec(x_1); -x_121 = lean_ctor_get(x_104, 0); -lean_inc(x_121); -lean_dec(x_104); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_124, 0, x_123); -x_125 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_125, 0, x_124); -x_126 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_122, x_125, x_4, x_5, x_6, x_7, x_8, x_9, x_97); -lean_dec(x_122); -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_129 = x_126; -} else { - lean_dec_ref(x_126); - x_129 = lean_box(0); -} -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(1, 2, 0); -} else { - x_130 = x_129; -} -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_128); -return x_130; -} -else -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_4); -x_131 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___rarg(x_97); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_134 = x_131; -} else { - lean_dec_ref(x_131); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 2, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_132); -lean_ctor_set(x_135, 1, x_133); -return x_135; -} -} -} -block_25: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_add(x_2, x_20); -x_22 = x_18; -x_23 = lean_array_fset(x_17, x_2, x_22); -lean_dec(x_2); -x_2 = x_21; -x_3 = x_23; -x_10 = x_19; -goto _start; -} -} -} -} -lean_object* l_Lean_Elab_Term_expandMacrosInPatterns(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; 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; -x_9 = lean_st_ref_get(x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = x_1; -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__3___boxed), 10, 3); -lean_closure_set(x_15, 0, x_12); -lean_closure_set(x_15, 1, x_14); -lean_closure_set(x_15, 2, x_13); -x_16 = x_15; -x_17 = lean_apply_7(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_11); -return x_17; -} -} -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_11; -} -} -lean_object* l___private_Lean_Elab_Match_8__getMatchAltsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_array_get_size(x_1); -x_6 = lean_nat_dec_lt(x_2, x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -lean_dec(x_3); -lean_dec(x_2); -return x_4; -} -else -{ -lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_7 = lean_array_fget(x_1, x_2); -x_8 = l_Lean_Syntax_isNone(x_3); -lean_inc(x_7); -x_9 = l_Lean_Syntax_getKind(x_7); -x_10 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -x_11 = lean_name_eq(x_9, x_10); -lean_dec(x_9); -if (x_8 == 0) -{ -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_3); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_2, x_12); -lean_dec(x_2); -x_2 = x_13; -x_3 = x_7; -goto _start; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_2, x_15); -lean_dec(x_2); -lean_inc(x_3); -x_17 = l_Lean_Elab_Term_mkMatchAltView(x_3, x_7); -lean_dec(x_7); -x_18 = lean_array_push(x_4, x_17); -x_2 = x_16; -x_4 = x_18; -goto _start; -} -} -else -{ -lean_dec(x_3); -if (x_11 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_add(x_2, x_20); -lean_dec(x_2); -x_2 = x_21; -x_3 = x_7; -goto _start; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_add(x_2, x_23); -lean_dec(x_2); -lean_inc(x_7); -x_25 = l_Lean_Elab_Term_mkMatchAltView(x_7, x_7); -x_26 = lean_array_push(x_4, x_25); -x_2 = x_24; -x_3 = x_7; -x_4 = x_26; -goto _start; -} -} -} -} -} -lean_object* l___private_Lean_Elab_Match_8__getMatchAltsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_8__getMatchAltsAux___main(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Match_8__getMatchAltsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_8__getMatchAltsAux___main(x_1, x_2, x_3, x_4); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Match_8__getMatchAltsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_8__getMatchAltsAux(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l___private_Lean_Elab_Match_9__getMatchAlts(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; -x_2 = lean_unsigned_to_nat(4u); -x_3 = l_Lean_Syntax_getArg(x_1, x_2); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Syntax_getArg(x_3, x_4); -x_6 = lean_unsigned_to_nat(1u); -x_7 = l_Lean_Syntax_getArg(x_3, x_6); -lean_dec(x_3); -x_8 = l_Lean_Syntax_getArgs(x_7); -lean_dec(x_7); -x_9 = l_Array_empty___closed__1; -x_10 = l___private_Lean_Elab_Match_8__getMatchAltsAux___main(x_8, x_4, x_5, x_9); -lean_dec(x_8); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Match_9__getMatchAlts___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Elab_Match_9__getMatchAlts(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_mkInaccessible___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_inaccessible"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_mkInaccessible___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_mkInaccessible___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_mkInaccessible(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_mkInaccessible___closed__2; -x_3 = l_Lean_mkAnnotation(x_2, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_inaccessible_x3f(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_mkInaccessible___closed__2; -x_3 = l_Lean_annotation_x3f(x_2, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_inaccessible_x3f___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Term_inaccessible_x3f(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_PatternVar_hasToString___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("?m"); -return x_1; -} -} -lean_object* l_Lean_Elab_Term_PatternVar_hasToString(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -lean_dec(x_1); -x_3 = l_System_FilePath_dirName___closed__1; -x_4 = l_Lean_Name_toStringWithSep___main(x_3, x_2); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = l_System_FilePath_dirName___closed__1; -x_7 = l_Lean_Name_toStringWithSep___main(x_6, x_5); -x_8 = l_Lean_Elab_Term_PatternVar_hasToString___closed__1; -x_9 = lean_string_append(x_8, x_7); -lean_dec(x_7); -return x_9; -} -} -} -lean_object* _init_l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("MVarWithIdKind"); -return x_1; -} -} -lean_object* _init_l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__2; -x_3 = l_Lean_Parser_registerBuiltinNodeKind(x_2, x_1); -return x_3; -} -} -lean_object* l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_mkFreshId___at___private_Lean_Elab_Binders_7__elabBinderViews___main___spec__1___rarg(x_1, x_2); -x_4 = !lean_is_exclusive(x_3); -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; -x_5 = lean_ctor_get(x_3, 0); -x_6 = l_Array_empty___closed__1; -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -x_8 = l_Lean_mkOptionalNode___closed__2; -x_9 = lean_array_push(x_8, x_7); -x_10 = l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__2; -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -lean_ctor_set(x_3, 0, x_11); -return x_3; -} -else -{ -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; -x_12 = lean_ctor_get(x_3, 0); -x_13 = lean_ctor_get(x_3, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_3); -x_14 = l_Array_empty___closed__1; -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_12); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_mkOptionalNode___closed__2; -x_17 = lean_array_push(x_16, x_15); -x_18 = l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__2; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -} -} -lean_object* l___private_Lean_Elab_Match_11__mkMVarSyntax(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 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg___boxed), 2, 0); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l___private_Lean_Elab_Match_11__mkMVarSyntax___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___private_Lean_Elab_Match_11__mkMVarSyntax(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Syntax_getArg(x_1, x_2); -x_4 = l_Lean_Syntax_getKind(x_3); -return x_4; -} -} -lean_object* l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_elabMVarWithIdKind(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(x_1); -x_11 = l_Lean_mkMVar(x_10); -x_12 = l_Lean_Elab_Term_mkInaccessible(x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_9); -return x_13; -} -} -lean_object* l_Lean_Elab_Term_elabMVarWithIdKind___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_Elab_Term_elabMVarWithIdKind(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, 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); -lean_dec(x_2); -lean_dec(x_1); -return x_10; -} -} -lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMVarWithIdKind___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_Term_elabInaccessible(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; lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = 1; -x_13 = l_Lean_Elab_Term_elabTerm(x_11, x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -x_16 = l_Lean_Elab_Term_mkInaccessible(x_15); -lean_ctor_set(x_13, 0, x_16); -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_13, 0); -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_13); -x_19 = l_Lean_Elab_Term_mkInaccessible(x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -else -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_13); -if (x_21 == 0) -{ -return x_13; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_13, 0); -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_13); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -lean_object* l_Lean_Elab_Term_elabInaccessible___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_Elab_Term_elabInaccessible(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_10; -} -} -lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("inaccessible"); -return x_1; -} -} -lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabInaccessible___boxed), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(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; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_ctor_get(x_7, 3); -x_11 = lean_ctor_get(x_3, 6); -lean_inc(x_11); -lean_inc(x_11); -x_12 = l_Lean_Elab_getBetterRef(x_10, x_11); -x_13 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -lean_dec(x_3); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -lean_dec(x_11); -x_14 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_12); -lean_ctor_set(x_17, 1, x_16); -lean_ctor_set_tag(x_14, 1); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_14, 0); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_14); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_12); -lean_ctor_set(x_20, 1, x_18); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = l_Lean_Elab_addMacroStack(x_1, x_11); -x_23 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_22, x_5, x_6, x_7, x_8, x_9); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_12); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set_tag(x_23, 1); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_12); -lean_ctor_set(x_29, 1, x_27); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg___boxed), 9, 0); -return x_2; -} -} -lean_object* _init_l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid pattern, constructor or constant marked with '[matchPattern]' expected"); -return x_1; -} -} -lean_object* _init_l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_Match_13__throwCtorExpected___rarg(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; lean_object* x_10; -x_9 = l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__3; -x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Match_13__throwCtorExpected(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___boxed), 8, 0); -return x_2; -} -} -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg___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_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, 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_2); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___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___private_Lean_Elab_Match_13__throwCtorExpected___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___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* l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___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) { _start: { 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; @@ -3589,7 +2062,2071 @@ return x_56; } } } -lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___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) { +lean_object* l___private_Lean_Elab_Match_5__mkUserNameFor(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_1) == 1) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = l_Lean_LocalDecl_userName(x_12); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +x_16 = l_Lean_LocalDecl_userName(x_14); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +return x_10; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +else +{ +lean_object* x_22; +lean_dec(x_1); +x_22 = l_Lean_Elab_Term_mkFreshUserName(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +return x_22; +} +} +} +lean_object* l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_9; +} +} +lean_object* l___private_Lean_Elab_Match_5__mkUserNameFor___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___private_Lean_Elab_Match_5__mkUserNameFor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___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_10; uint8_t x_11; +x_10 = lean_array_get_size(x_2); +x_11 = lean_nat_dec_lt(x_1, x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_12 = x_2; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_9); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_14 = lean_array_fget(x_2, x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_fset(x_2, x_1, x_15); +x_17 = x_14; +x_18 = lean_box(0); +x_19 = 1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_20 = l_Lean_Elab_Term_elabTerm(x_17, x_18, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_1, x_23); +x_25 = x_21; +x_26 = lean_array_fset(x_16, x_1, x_25); +lean_dec(x_1); +x_1 = x_24; +x_2 = x_26; +x_9 = x_22; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_16); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_20); +if (x_28 == 0) +{ +return x_20; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_20, 0); +x_30 = lean_ctor_get(x_20, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_20); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +} +lean_object* l_Lean_Meta_kabstract___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___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_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; uint8_t x_21; +x_11 = l_Lean_Expr_toHeadIndex___main(x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l___private_Lean_HeadIndex_1__headNumArgsAux___main(x_2, x_12); +x_14 = lean_st_ref_get(x_9, x_10); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 2); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_st_ref_take(x_9, x_16); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = !lean_is_exclusive(x_19); +if (x_21 == 0) +{ +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; +x_22 = lean_ctor_get(x_19, 2); +lean_dec(x_22); +x_23 = l_Lean_TraceState_Inhabited___closed__1; +lean_ctor_set(x_19, 2, x_23); +x_24 = lean_st_ref_set(x_9, x_19, x_20); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_st_mk_ref(x_26, x_25); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_30 = l___private_Lean_Meta_KAbstract_1__kabstractAux___main(x_3, x_2, x_11, x_13, x_1, x_12, x_28, x_6, x_7, x_8, x_9, x_29); +lean_dec(x_13); +lean_dec(x_11); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_st_ref_get(x_28, x_32); +lean_dec(x_28); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = l___private_Lean_Elab_Term_4__liftMetaMFinalizer(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_34); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_31); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_31); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_dec(x_28); +x_40 = lean_ctor_get(x_30, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_30, 1); +lean_inc(x_41); +lean_dec(x_30); +x_42 = l___private_Lean_Elab_Term_4__liftMetaMFinalizer(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_41); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +lean_ctor_set_tag(x_42, 1); +lean_ctor_set(x_42, 0, x_40); +return x_42; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +lean_dec(x_42); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_40); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +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_56; lean_object* x_57; +x_47 = lean_ctor_get(x_19, 0); +x_48 = lean_ctor_get(x_19, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_19); +x_49 = l_Lean_TraceState_Inhabited___closed__1; +x_50 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_48); +lean_ctor_set(x_50, 2, x_49); +x_51 = lean_st_ref_set(x_9, x_50, x_20); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_unsigned_to_nat(1u); +x_54 = lean_st_mk_ref(x_53, x_52); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_57 = l___private_Lean_Meta_KAbstract_1__kabstractAux___main(x_3, x_2, x_11, x_13, x_1, x_12, x_55, x_6, x_7, x_8, x_9, x_56); +lean_dec(x_13); +lean_dec(x_11); +if (lean_obj_tag(x_57) == 0) +{ +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_65; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_st_ref_get(x_55, x_59); +lean_dec(x_55); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec(x_60); +x_62 = l___private_Lean_Elab_Term_4__liftMetaMFinalizer(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_61); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_58); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_55); +x_66 = lean_ctor_get(x_57, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_57, 1); +lean_inc(x_67); +lean_dec(x_57); +x_68 = l___private_Lean_Elab_Term_4__liftMetaMFinalizer(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_67); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_70 = x_68; +} else { + lean_dec_ref(x_68); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 2, 0); +} else { + x_71 = x_70; + lean_ctor_set_tag(x_71, 1); +} +lean_ctor_set(x_71, 0, x_66); +lean_ctor_set(x_71, 1, x_69); +return x_71; +} +} +} +} +lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___spec__3(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_13; uint8_t x_14; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_eq(x_3, x_13); +if (x_14 == 0) +{ +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; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_sub(x_3, x_15); +lean_dec(x_3); +x_17 = lean_array_fget(x_2, x_16); +lean_inc(x_6); +x_18 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1(x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_19); +x_21 = l_Lean_Meta_inferType___at_Lean_Elab_Term_tryLiftAndCoe___spec__2(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +if (lean_obj_tag(x_21) == 0) +{ +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; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +lean_inc(x_6); +x_24 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1(x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_box(0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_19); +x_28 = l_Lean_Meta_kabstract___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___spec__2(x_5, x_19, x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_8); +lean_inc(x_6); +x_31 = l___private_Lean_Elab_Match_5__mkUserNameFor(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = 0; +x_35 = l_Lean_mkForall(x_32, x_34, x_25, x_29); +x_3 = x_16; +x_4 = lean_box(0); +x_5 = x_35; +x_12 = x_33; +goto _start; +} +else +{ +uint8_t x_37; +lean_dec(x_29); +lean_dec(x_25); +lean_dec(x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +x_37 = !lean_is_exclusive(x_31); +if (x_37 == 0) +{ +return x_31; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_31, 0); +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_31); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +x_41 = !lean_is_exclusive(x_28); +if (x_41 == 0) +{ +return x_28; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_28, 0); +x_43 = lean_ctor_get(x_28, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_28); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_45 = !lean_is_exclusive(x_21); +if (x_45 == 0) +{ +return x_21; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_21, 0); +x_47 = lean_ctor_get(x_21, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_21); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_5); +lean_ctor_set(x_49, 1, x_12); +return x_49; +} +} +} +lean_object* l___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs(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; +x_11 = l_Lean_Syntax_isNone(x_2); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Syntax_getArg(x_2, x_12); +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_13, x_14); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_16 = l_Lean_Elab_Term_elabType(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_17); +x_19 = l___private_Lean_Elab_Match_4__elabDiscrsWitMatchType(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +lean_dec(x_1); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +lean_ctor_set(x_19, 0, x_22); +return x_19; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_19, 0); +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_17); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_17); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) +{ +return x_19; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +uint8_t x_31; +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); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_16); +if (x_31 == 0) +{ +return x_16; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 0); +x_33 = lean_ctor_get(x_16, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_16); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = x_1; +x_36 = lean_unsigned_to_nat(0u); +x_37 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___spec__1), 9, 2); +lean_closure_set(x_37, 0, x_36); +lean_closure_set(x_37, 1, x_35); +x_38 = x_37; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_39 = lean_apply_7(x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_array_get_size(x_40); +x_43 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___spec__3(x_40, x_40, x_42, lean_box(0), x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_41); +lean_dec(x_5); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_43, 0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_40); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_43, 0, x_46); +return x_43; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_43, 0); +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_43); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_40); +lean_ctor_set(x_49, 1, x_47); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +else +{ +uint8_t x_51; +lean_dec(x_40); +x_51 = !lean_is_exclusive(x_43); +if (x_51 == 0) +{ +return x_43; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_43, 0); +x_53 = lean_ctor_get(x_43, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_43); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +uint8_t x_55; +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_55 = !lean_is_exclusive(x_39); +if (x_55 == 0) +{ +return x_39; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_39, 0); +x_57 = lean_ctor_get(x_39, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_39); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +} +} +lean_object* l_Lean_Meta_kabstract___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_kabstract___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___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_5); +lean_dec(x_3); +return x_11; +} +} +lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___spec__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, 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_13; +x_13 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___spec__3(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_7); +lean_dec(x_2); +lean_dec(x_1); +return x_13; +} +} +lean_object* l___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs___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_Match_6__elabMatchTypeAndDiscrs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1(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; uint8_t x_7; +x_6 = lean_array_get_size(x_3); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = x_3; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_array_fget(x_3, x_2); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_fset(x_3, x_2, x_11); +x_13 = x_10; +lean_inc(x_4); +lean_inc(x_1); +x_14 = l_Lean_Elab_expandMacros___main(x_1, x_13, x_4, x_5); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_2, x_17); +x_19 = x_15; +x_20 = lean_array_fset(x_12, x_2, x_19); +lean_dec(x_2); +x_2 = x_18; +x_3 = x_20; +x_5 = x_16; +goto _start; +} +else +{ +uint8_t x_22; +lean_dec(x_12); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_14); +if (x_22 == 0) +{ +return x_14; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_14, 0); +x_24 = lean_ctor_get(x_14, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_14); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___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_7; +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___rarg), 1, 0); +return x_7; +} +} +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__3(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; uint8_t x_12; +x_11 = lean_array_get_size(x_3); +x_12 = lean_nat_dec_lt(x_2, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_13 = x_3; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +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_26; uint8_t x_27; +x_15 = lean_array_fget(x_3, x_2); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_fset(x_3, x_2, x_16); +x_26 = x_15; +x_27 = !lean_is_exclusive(x_26); +if (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_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; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +x_30 = lean_ctor_get(x_26, 2); +x_31 = x_29; +lean_inc(x_1); +x_32 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1), 5, 3); +lean_closure_set(x_32, 0, x_1); +lean_closure_set(x_32, 1, x_16); +lean_closure_set(x_32, 2, x_31); +x_33 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_st_ref_get(x_9, x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_st_ref_get(x_5, x_38); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_ctor_get(x_41, 3); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_8, 1); +x_45 = lean_ctor_get(x_8, 2); +x_46 = lean_environment_main_module(x_39); +lean_inc(x_45); +lean_inc(x_44); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_34); +lean_ctor_set(x_47, 2, x_44); +lean_ctor_set(x_47, 3, x_45); +x_48 = x_32; +x_49 = lean_apply_2(x_48, x_47, x_43); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_st_ref_take(x_5, x_42); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_53, 3); +lean_dec(x_56); +lean_ctor_set(x_53, 3, x_51); +x_57 = lean_st_ref_set(x_5, x_53, x_54); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); +lean_ctor_set(x_26, 1, x_50); +x_18 = x_26; +x_19 = x_58; +goto block_25; +} +else +{ +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_65; +x_59 = lean_ctor_get(x_53, 0); +x_60 = lean_ctor_get(x_53, 1); +x_61 = lean_ctor_get(x_53, 2); +x_62 = lean_ctor_get(x_53, 4); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_53); +x_63 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_63, 0, x_59); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +lean_ctor_set(x_63, 3, x_51); +lean_ctor_set(x_63, 4, x_62); +x_64 = lean_st_ref_set(x_5, x_63, x_54); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +lean_ctor_set(x_26, 1, x_50); +x_18 = x_26; +x_19 = x_65; +goto block_25; +} +} +else +{ +lean_object* x_66; +lean_free_object(x_26); +lean_dec(x_30); +lean_dec(x_28); +lean_dec(x_17); +lean_dec(x_2); +lean_dec(x_1); +x_66 = lean_ctor_get(x_49, 0); +lean_inc(x_66); +lean_dec(x_49); +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; uint8_t x_72; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_67, x_70, x_4, x_5, x_6, x_7, x_8, x_9, x_42); +lean_dec(x_67); +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +return x_71; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_71, 0); +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_71); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +else +{ +lean_object* x_76; uint8_t x_77; +lean_dec(x_4); +x_76 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___rarg(x_42); +x_77 = !lean_is_exclusive(x_76); +if (x_77 == 0) +{ +return x_76; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_76, 0); +x_79 = lean_ctor_get(x_76, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_76); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +} +} +else +{ +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_91; lean_object* x_92; 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; +x_81 = lean_ctor_get(x_26, 0); +x_82 = lean_ctor_get(x_26, 1); +x_83 = lean_ctor_get(x_26, 2); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_26); +x_84 = x_82; +lean_inc(x_1); +x_85 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1), 5, 3); +lean_closure_set(x_85, 0, x_1); +lean_closure_set(x_85, 1, x_16); +lean_closure_set(x_85, 2, x_84); +x_86 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_st_ref_get(x_9, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_ctor_get(x_90, 0); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_st_ref_get(x_5, x_91); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_ctor_get(x_94, 3); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_ctor_get(x_8, 1); +x_98 = lean_ctor_get(x_8, 2); +x_99 = lean_environment_main_module(x_92); +lean_inc(x_98); +lean_inc(x_97); +x_100 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_87); +lean_ctor_set(x_100, 2, x_97); +lean_ctor_set(x_100, 3, x_98); +x_101 = x_85; +x_102 = lean_apply_2(x_101, x_100, x_96); +if (lean_obj_tag(x_102) == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; 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; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +x_105 = lean_st_ref_take(x_5, x_95); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_ctor_get(x_106, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_106, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_106, 2); +lean_inc(x_110); +x_111 = lean_ctor_get(x_106, 4); +lean_inc(x_111); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + lean_ctor_release(x_106, 2); + lean_ctor_release(x_106, 3); + lean_ctor_release(x_106, 4); + x_112 = x_106; +} else { + lean_dec_ref(x_106); + x_112 = lean_box(0); +} +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(0, 5, 0); +} else { + x_113 = x_112; +} +lean_ctor_set(x_113, 0, x_108); +lean_ctor_set(x_113, 1, x_109); +lean_ctor_set(x_113, 2, x_110); +lean_ctor_set(x_113, 3, x_104); +lean_ctor_set(x_113, 4, x_111); +x_114 = lean_st_ref_set(x_5, x_113, x_107); +x_115 = lean_ctor_get(x_114, 1); +lean_inc(x_115); +lean_dec(x_114); +x_116 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_116, 0, x_81); +lean_ctor_set(x_116, 1, x_103); +lean_ctor_set(x_116, 2, x_83); +x_18 = x_116; +x_19 = x_115; +goto block_25; +} +else +{ +lean_object* x_117; +lean_dec(x_83); +lean_dec(x_81); +lean_dec(x_17); +lean_dec(x_2); +lean_dec(x_1); +x_117 = lean_ctor_get(x_102, 0); +lean_inc(x_117); +lean_dec(x_102); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_120 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_120, 0, x_119); +x_121 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_121, 0, x_120); +x_122 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_118, x_121, x_4, x_5, x_6, x_7, x_8, x_9, x_95); +lean_dec(x_118); +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_125 = x_122; +} else { + lean_dec_ref(x_122); + x_125 = lean_box(0); +} +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(1, 2, 0); +} else { + x_126 = x_125; +} +lean_ctor_set(x_126, 0, x_123); +lean_ctor_set(x_126, 1, x_124); +return x_126; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_4); +x_127 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2___rarg(x_95); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_130 = x_127; +} else { + lean_dec_ref(x_127); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(1, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_128); +lean_ctor_set(x_131, 1, x_129); +return x_131; +} +} +} +block_25: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_2, x_20); +x_22 = x_18; +x_23 = lean_array_fset(x_17, x_2, x_22); +lean_dec(x_2); +x_2 = x_21; +x_3 = x_23; +x_10 = x_19; +goto _start; +} +} +} +} +lean_object* l_Lean_Elab_Term_expandMacrosInPatterns(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; 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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = x_1; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__3___boxed), 10, 3); +lean_closure_set(x_15, 0, x_12); +lean_closure_set(x_15, 1, x_14); +lean_closure_set(x_15, 2, x_13); +x_16 = x_15; +x_17 = lean_apply_7(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_17; +} +} +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_expandMacrosInPatterns___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandMacrosInPatterns___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_11; +} +} +lean_object* l___private_Lean_Elab_Match_7__getMatchAltsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_array_get_size(x_1); +x_6 = lean_nat_dec_lt(x_2, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_4; +} +else +{ +lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_array_fget(x_1, x_2); +x_8 = l_Lean_Syntax_isNone(x_3); +lean_inc(x_7); +x_9 = l_Lean_Syntax_getKind(x_7); +x_10 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +x_11 = lean_name_eq(x_9, x_10); +lean_dec(x_9); +if (x_8 == 0) +{ +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_3); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_2, x_12); +lean_dec(x_2); +x_2 = x_13; +x_3 = x_7; +goto _start; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_2, x_15); +lean_dec(x_2); +lean_inc(x_3); +x_17 = l_Lean_Elab_Term_mkMatchAltView(x_3, x_7); +lean_dec(x_7); +x_18 = lean_array_push(x_4, x_17); +x_2 = x_16; +x_4 = x_18; +goto _start; +} +} +else +{ +lean_dec(x_3); +if (x_11 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_2, x_20); +lean_dec(x_2); +x_2 = x_21; +x_3 = x_7; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_2, x_23); +lean_dec(x_2); +lean_inc(x_7); +x_25 = l_Lean_Elab_Term_mkMatchAltView(x_7, x_7); +x_26 = lean_array_push(x_4, x_25); +x_2 = x_24; +x_3 = x_7; +x_4 = x_26; +goto _start; +} +} +} +} +} +lean_object* l___private_Lean_Elab_Match_7__getMatchAltsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_Match_7__getMatchAltsAux___main(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Lean_Elab_Match_7__getMatchAltsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_Match_7__getMatchAltsAux___main(x_1, x_2, x_3, x_4); +return x_5; +} +} +lean_object* l___private_Lean_Elab_Match_7__getMatchAltsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_Match_7__getMatchAltsAux(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Lean_Elab_Match_8__getMatchAlts(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; +x_2 = lean_unsigned_to_nat(4u); +x_3 = l_Lean_Syntax_getArg(x_1, x_2); +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Syntax_getArg(x_3, x_4); +x_6 = lean_unsigned_to_nat(1u); +x_7 = l_Lean_Syntax_getArg(x_3, x_6); +lean_dec(x_3); +x_8 = l_Lean_Syntax_getArgs(x_7); +lean_dec(x_7); +x_9 = l_Array_empty___closed__1; +x_10 = l___private_Lean_Elab_Match_7__getMatchAltsAux___main(x_8, x_4, x_5, x_9); +lean_dec(x_8); +return x_10; +} +} +lean_object* l___private_Lean_Elab_Match_8__getMatchAlts___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_Match_8__getMatchAlts(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_mkInaccessible___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_inaccessible"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_mkInaccessible___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_mkInaccessible___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_mkInaccessible(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Term_mkInaccessible___closed__2; +x_3 = l_Lean_mkAnnotation(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_inaccessible_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_Term_mkInaccessible___closed__2; +x_3 = l_Lean_annotation_x3f(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_inaccessible_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Term_inaccessible_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_PatternVar_hasToString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("?m"); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_PatternVar_hasToString(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = l_System_FilePath_dirName___closed__1; +x_4 = l_Lean_Name_toStringWithSep___main(x_3, x_2); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = l_System_FilePath_dirName___closed__1; +x_7 = l_Lean_Name_toStringWithSep___main(x_6, x_5); +x_8 = l_Lean_Elab_Term_PatternVar_hasToString___closed__1; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +return x_9; +} +} +} +lean_object* _init_l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("MVarWithIdKind"); +return x_1; +} +} +lean_object* _init_l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__2; +x_3 = l_Lean_Parser_registerBuiltinNodeKind(x_2, x_1); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = l_Lean_mkFreshId___at___private_Lean_Elab_Binders_7__elabBinderViews___main___spec__1___rarg(x_1, x_2); +x_4 = !lean_is_exclusive(x_3); +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; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l_Array_empty___closed__1; +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = l_Lean_mkOptionalNode___closed__2; +x_9 = lean_array_push(x_8, x_7); +x_10 = l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__2; +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +lean_ctor_set(x_3, 0, x_11); +return x_3; +} +else +{ +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; +x_12 = lean_ctor_get(x_3, 0); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_3); +x_14 = l_Array_empty___closed__1; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_12); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_mkOptionalNode___closed__2; +x_17 = lean_array_push(x_16, x_15); +x_18 = l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__2; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_13); +return x_20; +} +} +} +lean_object* l___private_Lean_Elab_Match_10__mkMVarSyntax(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 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg___boxed), 2, 0); +return x_6; +} +} +lean_object* l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Lean_Elab_Match_10__mkMVarSyntax___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___private_Lean_Elab_Match_10__mkMVarSyntax(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Syntax_getArg(x_1, x_2); +x_4 = l_Lean_Syntax_getKind(x_3); +return x_4; +} +} +lean_object* l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabMVarWithIdKind(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(x_1); +x_11 = l_Lean_mkMVar(x_10); +x_12 = l_Lean_Elab_Term_mkInaccessible(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_9); +return x_13; +} +} +lean_object* l_Lean_Elab_Term_elabMVarWithIdKind___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_Elab_Term_elabMVarWithIdKind(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, 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); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMVarWithIdKind___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_Term_elabInaccessible(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; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = 1; +x_13 = l_Lean_Elab_Term_elabTerm(x_11, x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = l_Lean_Elab_Term_mkInaccessible(x_15); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = l_Lean_Elab_Term_mkInaccessible(x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabInaccessible___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_Elab_Term_elabInaccessible(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("inaccessible"); +return x_1; +} +} +lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkAppStx___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabInaccessible___boxed), 9, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Elab_Term_termElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(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; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_7, 3); +x_11 = lean_ctor_get(x_3, 6); +lean_inc(x_11); +lean_inc(x_11); +x_12 = l_Lean_Elab_getBetterRef(x_10, x_11); +x_13 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); +lean_dec(x_3); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +lean_dec(x_11); +x_14 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_12); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set_tag(x_14, 1); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_14, 0); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_14); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_12); +lean_ctor_set(x_20, 1, x_18); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = l_Lean_Elab_addMacroStack(x_1, x_11); +x_23 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_22, x_5, x_6, x_7, x_8, x_9); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_12); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set_tag(x_23, 1); +lean_ctor_set(x_23, 0, x_26); +return x_23; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_23, 0); +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_23); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_12); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg___boxed), 9, 0); +return x_2; +} +} +lean_object* _init_l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid pattern, constructor or constant marked with '[matchPattern]' expected"); +return x_1; +} +} +lean_object* _init_l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Match_12__throwCtorExpected___rarg(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; lean_object* x_10; +x_9 = l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__3; +x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +lean_object* l___private_Lean_Elab_Match_12__throwCtorExpected(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___boxed), 8, 0); +return x_2; +} +} +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg___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_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, 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_2); +return x_10; +} +} +lean_object* l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___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___private_Lean_Elab_Match_12__throwCtorExpected___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___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_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; uint8_t x_13; @@ -3618,7 +4155,7 @@ x_18 = l_Lean_Expr_fvarId_x21(x_15); lean_dec(x_15); lean_inc(x_7); lean_inc(x_5); -x_19 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__1(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_19 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___spec__1(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; @@ -3676,7 +4213,7 @@ return x_30; } } } -lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3___rarg___lambda__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_object* x_10) { +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2___rarg___lambda__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_object* x_10) { _start: { lean_object* x_11; @@ -3684,11 +4221,11 @@ x_11 = lean_apply_9(x_1, x_4, x_5, x_2, x_3, x_6, x_7, x_8, x_9, x_10); return x_11; } } -lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3___rarg(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* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2___rarg(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; lean_object* x_12; -x_11 = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3___rarg___lambda__1), 10, 3); +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2___rarg___lambda__1), 10, 3); lean_closure_set(x_11, 0, x_3); lean_closure_set(x_11, 1, x_4); lean_closure_set(x_11, 2, x_5); @@ -3739,32 +4276,32 @@ return x_20; } } } -lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3(lean_object* x_1) { +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3___rarg), 10, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2___rarg), 10, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___lambda__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_object* l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___lambda__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_10; lean_object* x_11; x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Array_iterateMAux___main___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__2(x_1, x_1, x_10, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Array_iterateMAux___main___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__1(x_1, x_1, x_10, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -lean_object* _init_l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___lambda__1___boxed), 9, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___lambda__1___boxed), 9, 0); return x_1; } } -lean_object* l___private_Lean_Elab_Match_14__getNumExplicitCtorParams(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* l___private_Lean_Elab_Match_13__getNumExplicitCtorParams(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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -3778,28 +4315,16 @@ lean_inc(x_11); lean_dec(x_1); x_12 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_12, 0, x_11); -x_13 = l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___closed__1; -x_14 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3___rarg(x_10, x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_13 = l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___closed__1; +x_14 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2___rarg(x_10, x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_14; } } -lean_object* l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___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) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___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* l_Array_iterateMAux___main___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___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) { _start: { lean_object* x_12; -x_12 = l_Array_iterateMAux___main___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Array_iterateMAux___main___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__1(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_10); lean_dec(x_9); lean_dec(x_8); @@ -3809,11 +4334,11 @@ lean_dec(x_1); return x_12; } } -lean_object* l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___lambda__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* l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___lambda__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) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -3823,7 +4348,7 @@ lean_dec(x_1); return x_10; } } -lean_object* _init_l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__1() { _start: { lean_object* x_1; @@ -3831,54 +4356,54 @@ x_1 = lean_mk_string("ambiguous pattern, use fully qualified name, possible inte return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__1; +x_1 = l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__2; +x_1 = l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_15__throwAmbiguous___rarg(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* l___private_Lean_Elab_Match_14__throwAmbiguous___rarg(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_10 = l_List_map___main___at_Lean_MessageData_hasCoeOfListExpr___spec__1(x_1); x_11 = l_Lean_MessageData_ofList(x_10); lean_dec(x_10); -x_12 = l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__3; +x_12 = l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__3; x_13 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_14; } } -lean_object* l___private_Lean_Elab_Match_15__throwAmbiguous(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_14__throwAmbiguous(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___boxed), 9, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___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* l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___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_Match_15__throwAmbiguous___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_14__throwAmbiguous___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4083,7 +4608,7 @@ else lean_object* x_23; lean_dec(x_20); lean_free_object(x_13); -x_23 = l___private_Lean_Elab_Match_15__throwAmbiguous___rarg(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +x_23 = l___private_Lean_Elab_Match_14__throwAmbiguous___rarg(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); lean_dec(x_5); return x_23; } @@ -4134,7 +4659,7 @@ else { lean_object* x_34; lean_dec(x_30); -x_34 = l___private_Lean_Elab_Match_15__throwAmbiguous___rarg(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +x_34 = l___private_Lean_Elab_Match_14__throwAmbiguous___rarg(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25); lean_dec(x_5); return x_34; } @@ -4185,7 +4710,7 @@ else lean_object* x_43; lean_dec(x_40); lean_free_object(x_13); -x_43 = l___private_Lean_Elab_Match_15__throwAmbiguous___rarg(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_36); +x_43 = l___private_Lean_Elab_Match_14__throwAmbiguous___rarg(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_36); lean_dec(x_5); return x_43; } @@ -4232,7 +4757,7 @@ else { lean_object* x_52; lean_dec(x_48); -x_52 = l___private_Lean_Elab_Match_15__throwAmbiguous___rarg(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_44); +x_52 = l___private_Lean_Elab_Match_14__throwAmbiguous___rarg(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_44); lean_dec(x_5); return x_52; } @@ -4245,7 +4770,7 @@ else lean_object* x_53; lean_object* x_54; lean_dec(x_1); x_53 = l_Lean_Elab_elabAttr___rarg___closed__3; -x_54 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_54 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_5); return x_54; } @@ -4264,7 +4789,7 @@ lean_dec(x_2); return x_10; } } -lean_object* _init_l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__1() { _start: { lean_object* x_1; @@ -4272,48 +4797,48 @@ x_1 = lean_mk_string("invalid pattern"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__1; +x_1 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__2; +x_1 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg(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* l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg(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; lean_object* x_10; -x_9 = l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__3; -x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__3; +x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -lean_object* l___private_Lean_Elab_Match_16__throwInvalidPattern(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_15__throwInvalidPattern(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___boxed), 8, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___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* l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___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___private_Lean_Elab_Match_16__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4354,7 +4879,7 @@ x_1 = l_Lean_Elab_Term_CollectPatternVars_CtorApp_Context_inhabited___closed__1; return x_1; } } -uint8_t l___private_Lean_Elab_Match_17__isDone(lean_object* x_1) { +uint8_t l___private_Lean_Elab_Match_16__isDone(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -4366,17 +4891,17 @@ lean_dec(x_3); return x_5; } } -lean_object* l___private_Lean_Elab_Match_17__isDone___boxed(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_16__isDone___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Match_17__isDone(x_1); +x_2 = l___private_Lean_Elab_Match_16__isDone(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_18__finalize___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_17__finalize___closed__1() { _start: { lean_object* x_1; @@ -4384,27 +4909,27 @@ x_1 = lean_mk_string("too many arguments"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_18__finalize___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_17__finalize___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_18__finalize___closed__1; +x_1 = l___private_Lean_Elab_Match_17__finalize___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_18__finalize___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_17__finalize___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_18__finalize___closed__2; +x_1 = l___private_Lean_Elab_Match_17__finalize___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_18__finalize(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* l___private_Lean_Elab_Match_17__finalize(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; uint8_t x_11; @@ -4416,8 +4941,8 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_dec(x_1); -x_12 = l___private_Lean_Elab_Match_18__finalize___closed__3; -x_13 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l___private_Lean_Elab_Match_17__finalize___closed__3; +x_13 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } else @@ -4431,8 +4956,8 @@ if (x_15 == 0) { lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_16 = l___private_Lean_Elab_Match_18__finalize___closed__3; -x_17 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = l___private_Lean_Elab_Match_17__finalize___closed__3; +x_17 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_17; } else @@ -4452,7 +4977,7 @@ x_22 = lean_ctor_get(x_20, 0); lean_dec(x_22); x_23 = lean_ctor_get(x_1, 0); lean_inc(x_23); -x_24 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; +x_24 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; x_25 = lean_array_push(x_24, x_23); x_26 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_27 = lean_alloc_ctor(1, 2, 0); @@ -4473,7 +4998,7 @@ lean_inc(x_30); lean_dec(x_20); x_31 = lean_ctor_get(x_1, 0); lean_inc(x_31); -x_32 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; +x_32 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; x_33 = lean_array_push(x_32, x_31); x_34 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_35 = lean_alloc_ctor(1, 2, 0); @@ -4492,11 +5017,11 @@ return x_38; } } } -lean_object* l___private_Lean_Elab_Match_18__finalize___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* l___private_Lean_Elab_Match_17__finalize___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_Match_18__finalize(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_17__finalize(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -4506,7 +5031,7 @@ lean_dec(x_2); return x_10; } } -uint8_t l___private_Lean_Elab_Match_19__isNextArgAccessible(lean_object* x_1) { +uint8_t l___private_Lean_Elab_Match_18__isNextArgAccessible(lean_object* x_1) { _start: { lean_object* x_2; @@ -4546,17 +5071,17 @@ return x_14; } } } -lean_object* l___private_Lean_Elab_Match_19__isNextArgAccessible___boxed(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_18__isNextArgAccessible___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Match_19__isNextArgAccessible(x_1); +x_2 = l___private_Lean_Elab_Match_18__isNextArgAccessible(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Match_20__getNextParam(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_19__getNextParam(lean_object* x_1) { _start: { uint8_t x_2; @@ -4619,7 +5144,7 @@ return x_24; } } } -lean_object* _init_l___private_Lean_Elab_Match_21__pushNewArg___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_20__pushNewArg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4629,7 +5154,7 @@ x_3 = l_monadInhabited___rarg(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Match_21__pushNewArg(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, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Match_20__pushNewArg(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, lean_object* x_11, lean_object* x_12) { _start: { if (lean_obj_tag(x_4) == 0) @@ -4847,24 +5372,24 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_68 = l___private_Lean_Elab_Match_21__pushNewArg___closed__1; +x_68 = l___private_Lean_Elab_Match_20__pushNewArg___closed__1; x_69 = l_unreachable_x21___rarg(x_68); x_70 = lean_apply_8(x_69, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_70; } } } -lean_object* l___private_Lean_Elab_Match_21__pushNewArg___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* l___private_Lean_Elab_Match_20__pushNewArg___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_2); lean_dec(x_2); -x_14 = l___private_Lean_Elab_Match_21__pushNewArg(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l___private_Lean_Elab_Match_20__pushNewArg(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } -lean_object* _init_l___private_Lean_Elab_Match_22__processExplicitArg___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_21__processExplicitArg___closed__1() { _start: { lean_object* x_1; @@ -4872,27 +5397,27 @@ x_1 = lean_mk_string("explicit parameter is missing, unused named arguments "); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_22__processExplicitArg___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_21__processExplicitArg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_22__processExplicitArg___closed__1; +x_1 = l___private_Lean_Elab_Match_21__processExplicitArg___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_22__processExplicitArg___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_21__processExplicitArg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_22__processExplicitArg___closed__2; +x_1 = l___private_Lean_Elab_Match_21__processExplicitArg___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_22__processExplicitArg___closed__4() { +lean_object* _init_l___private_Lean_Elab_Match_21__processExplicitArg___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -4902,7 +5427,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_22__processExplicitArg(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, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Match_21__processExplicitArg(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, lean_object* x_11) { _start: { lean_object* x_12; @@ -4933,11 +5458,11 @@ x_23 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_23, 0, x_22); x_24 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_24, 0, x_23); -x_25 = l___private_Lean_Elab_Match_22__processExplicitArg___closed__3; +x_25 = l___private_Lean_Elab_Match_21__processExplicitArg___closed__3; x_26 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_27 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4957,8 +5482,8 @@ x_30 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_29); x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = l___private_Lean_Elab_Match_22__processExplicitArg___closed__4; -x_33 = l___private_Lean_Elab_Match_21__pushNewArg(x_1, x_2, x_3, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +x_32 = l___private_Lean_Elab_Match_21__processExplicitArg___closed__4; +x_33 = l___private_Lean_Elab_Match_20__pushNewArg(x_1, x_2, x_3, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); return x_33; } } @@ -4977,7 +5502,7 @@ x_37 = lean_ctor_get(x_12, 1); lean_inc(x_37); lean_dec(x_12); lean_ctor_set(x_3, 5, x_37); -x_38 = l___private_Lean_Elab_Match_21__pushNewArg(x_1, x_2, x_3, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_38 = l___private_Lean_Elab_Match_20__pushNewArg(x_1, x_2, x_3, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_38; } else @@ -5013,23 +5538,23 @@ lean_ctor_set(x_49, 5, x_48); lean_ctor_set(x_49, 6, x_46); lean_ctor_set_uint8(x_49, sizeof(void*)*7, x_41); lean_ctor_set_uint8(x_49, sizeof(void*)*7 + 1, x_42); -x_50 = l___private_Lean_Elab_Match_21__pushNewArg(x_1, x_2, x_49, x_47, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_50 = l___private_Lean_Elab_Match_20__pushNewArg(x_1, x_2, x_49, x_47, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_50; } } } } -lean_object* l___private_Lean_Elab_Match_22__processExplicitArg___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* l___private_Lean_Elab_Match_21__processExplicitArg___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); lean_dec(x_2); -x_13 = l___private_Lean_Elab_Match_22__processExplicitArg(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l___private_Lean_Elab_Match_21__processExplicitArg(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_13; } } -lean_object* l___private_Lean_Elab_Match_23__processImplicitArg(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, lean_object* x_11) { +lean_object* l___private_Lean_Elab_Match_22__processImplicitArg(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, lean_object* x_11) { _start: { uint8_t x_12; @@ -5045,29 +5570,29 @@ x_15 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_14); x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l___private_Lean_Elab_Match_22__processExplicitArg___closed__4; -x_18 = l___private_Lean_Elab_Match_21__pushNewArg(x_1, x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +x_17 = l___private_Lean_Elab_Match_21__processExplicitArg___closed__4; +x_18 = l___private_Lean_Elab_Match_20__pushNewArg(x_1, x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); return x_18; } else { lean_object* x_19; -x_19 = l___private_Lean_Elab_Match_22__processExplicitArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_19 = l___private_Lean_Elab_Match_21__processExplicitArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_19; } } } -lean_object* l___private_Lean_Elab_Match_23__processImplicitArg___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* l___private_Lean_Elab_Match_22__processImplicitArg___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); lean_dec(x_2); -x_13 = l___private_Lean_Elab_Match_23__processImplicitArg(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l___private_Lean_Elab_Match_22__processImplicitArg(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_13; } } -lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_24__processCtorAppAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_23__processCtorAppAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -5111,16 +5636,16 @@ return x_14; } } } -lean_object* l___private_Lean_Elab_Match_24__processCtorAppAux___main(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* l___private_Lean_Elab_Match_23__processCtorAppAux___main(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; -x_11 = l___private_Lean_Elab_Match_17__isDone(x_2); +x_11 = l___private_Lean_Elab_Match_16__isDone(x_2); if (x_11 == 0) { uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t 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; -x_12 = l___private_Lean_Elab_Match_19__isNextArgAccessible(x_2); -x_13 = l___private_Lean_Elab_Match_20__getNextParam(x_2); +x_12 = l___private_Lean_Elab_Match_18__isNextArgAccessible(x_2); +x_13 = l___private_Lean_Elab_Match_19__getNextParam(x_2); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 0); @@ -5143,7 +5668,7 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_14, 6); lean_inc(x_24); x_25 = lean_unsigned_to_nat(0u); -x_26 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_24__processCtorAppAux___main___spec__1(x_15, x_22, x_25); +x_26 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_23__processCtorAppAux___main___spec__1(x_15, x_22, x_25); if (lean_obj_tag(x_26) == 0) { uint8_t x_27; lean_object* x_28; @@ -5169,7 +5694,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_29 = l___private_Lean_Elab_Match_23__processImplicitArg(x_1, x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_29 = l___private_Lean_Elab_Match_22__processImplicitArg(x_1, x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_29) == 0) { lean_object* x_30; lean_object* x_31; @@ -5224,7 +5749,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_37 = l___private_Lean_Elab_Match_23__processImplicitArg(x_1, x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_37 = l___private_Lean_Elab_Match_22__processImplicitArg(x_1, x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; @@ -5280,7 +5805,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_45 = l___private_Lean_Elab_Match_22__processExplicitArg(x_1, x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_45 = l___private_Lean_Elab_Match_21__processExplicitArg(x_1, x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_45) == 0) { lean_object* x_46; lean_object* x_47; @@ -5367,7 +5892,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_66 = l___private_Lean_Elab_Match_21__pushNewArg(x_1, x_12, x_14, x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_66 = l___private_Lean_Elab_Match_20__pushNewArg(x_1, x_12, x_14, x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_66) == 0) { lean_object* x_67; lean_object* x_68; @@ -5443,7 +5968,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_80 = l___private_Lean_Elab_Match_21__pushNewArg(x_1, x_12, x_78, x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_80 = l___private_Lean_Elab_Match_20__pushNewArg(x_1, x_12, x_78, x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_80) == 0) { lean_object* x_81; lean_object* x_82; @@ -5495,7 +6020,7 @@ else { lean_object* x_88; lean_dec(x_1); -x_88 = l___private_Lean_Elab_Match_18__finalize(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_88 = l___private_Lean_Elab_Match_17__finalize(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5506,21 +6031,21 @@ return x_88; } } } -lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_24__processCtorAppAux___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_23__processCtorAppAux___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_24__processCtorAppAux___main___spec__1(x_1, x_2, x_3); +x_4 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_23__processCtorAppAux___main___spec__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l___private_Lean_Elab_Match_24__processCtorAppAux(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* l___private_Lean_Elab_Match_23__processCtorAppAux(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_Match_24__processCtorAppAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Lean_Elab_Match_23__processCtorAppAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_11; } } @@ -5554,7 +6079,7 @@ x_19 = l_Lean_getConstInfo___rarg___lambda__1___closed__5; x_20 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +x_21 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); return x_21; } else @@ -5595,7 +6120,7 @@ x_30 = l_Lean_getConstInfo___rarg___lambda__1___closed__5; x_31 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_24); +x_32 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_24); return x_32; } else @@ -5986,7 +6511,7 @@ lean_ctor_set(x_42, 5, x_6); lean_ctor_set(x_42, 6, x_41); lean_ctor_set_uint8(x_42, sizeof(void*)*7, x_3); lean_ctor_set_uint8(x_42, sizeof(void*)*7 + 1, x_4); -x_43 = l___private_Lean_Elab_Match_24__processCtorAppAux___main(x_7, x_42, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_25); +x_43 = l___private_Lean_Elab_Match_23__processCtorAppAux___main(x_7, x_42, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_25); return x_43; } else @@ -6020,7 +6545,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_33 = l___private_Lean_Elab_Match_13__throwCtorExpected___rarg(x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_29); +x_33 = l___private_Lean_Elab_Match_12__throwCtorExpected___rarg(x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_29); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -6044,7 +6569,7 @@ lean_ctor_set(x_36, 5, x_6); lean_ctor_set(x_36, 6, x_35); lean_ctor_set_uint8(x_36, sizeof(void*)*7, x_3); lean_ctor_set_uint8(x_36, sizeof(void*)*7 + 1, x_4); -x_37 = l___private_Lean_Elab_Match_24__processCtorAppAux___main(x_7, x_36, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_29); +x_37 = l___private_Lean_Elab_Match_23__processCtorAppAux___main(x_7, x_36, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_29); return x_37; } } @@ -6106,7 +6631,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_48 = l_Lean_Elab_elabAttr___rarg___closed__3; -x_49 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_48, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_49 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_48, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6149,7 +6674,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_58 = l_Lean_Elab_elabAttr___rarg___closed__3; -x_59 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_58, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_59 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_58, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6191,7 +6716,7 @@ lean_dec(x_14); lean_dec(x_3); lean_dec(x_1); x_67 = l_Lean_Elab_elabAttr___rarg___closed__3; -x_68 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_67, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_68 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_67, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6272,7 +6797,7 @@ lean_dec(x_1); x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec(x_19); -x_22 = l___private_Lean_Elab_Match_13__throwCtorExpected___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +x_22 = l___private_Lean_Elab_Match_12__throwCtorExpected___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6369,7 +6894,7 @@ lean_dec(x_1); x_37 = lean_ctor_get(x_19, 1); lean_inc(x_37); lean_dec(x_19); -x_38 = l___private_Lean_Elab_Match_13__throwCtorExpected___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +x_38 = l___private_Lean_Elab_Match_12__throwCtorExpected___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6589,7 +7114,7 @@ x_13 = l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp(x_1, x_2, x_11 return x_13; } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg(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* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(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; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -6672,15 +7197,15 @@ return x_32; } } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1(lean_object* x_1) { +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg___boxed), 10, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg___boxed), 10, 0); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_25__processVar___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_24__processVar___closed__1() { _start: { lean_object* x_1; @@ -6688,27 +7213,27 @@ x_1 = lean_mk_string("invalid pattern, variable '"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_25__processVar___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_24__processVar___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_25__processVar___closed__1; +x_1 = l___private_Lean_Elab_Match_24__processVar___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_25__processVar___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_24__processVar___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_25__processVar___closed__2; +x_1 = l___private_Lean_Elab_Match_24__processVar___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_25__processVar___closed__4() { +lean_object* _init_l___private_Lean_Elab_Match_24__processVar___closed__4() { _start: { lean_object* x_1; @@ -6716,27 +7241,27 @@ x_1 = lean_mk_string("' occurred more than once"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_25__processVar___closed__5() { +lean_object* _init_l___private_Lean_Elab_Match_24__processVar___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_25__processVar___closed__4; +x_1 = l___private_Lean_Elab_Match_24__processVar___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_25__processVar___closed__6() { +lean_object* _init_l___private_Lean_Elab_Match_24__processVar___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_25__processVar___closed__5; +x_1 = l___private_Lean_Elab_Match_24__processVar___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_25__processVar___closed__7() { +lean_object* _init_l___private_Lean_Elab_Match_24__processVar___closed__7() { _start: { lean_object* x_1; @@ -6744,27 +7269,27 @@ x_1 = lean_mk_string("invalid pattern variable, must be atomic"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_25__processVar___closed__8() { +lean_object* _init_l___private_Lean_Elab_Match_24__processVar___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_25__processVar___closed__7; +x_1 = l___private_Lean_Elab_Match_24__processVar___closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_25__processVar___closed__9() { +lean_object* _init_l___private_Lean_Elab_Match_24__processVar___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_25__processVar___closed__8; +x_1 = l___private_Lean_Elab_Match_24__processVar___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_25__processVar(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* l___private_Lean_Elab_Match_24__processVar(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; uint8_t x_54; @@ -6773,7 +7298,7 @@ if (x_54 == 0) { lean_object* x_55; lean_object* x_56; uint8_t x_57; x_55 = l_Lean_Elab_elabAttr___rarg___closed__3; -x_56 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg(x_1, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_56 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(x_1, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) @@ -6811,8 +7336,8 @@ if (x_43 == 0) lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_dec(x_11); lean_dec(x_1); -x_44 = l___private_Lean_Elab_Match_25__processVar___closed__9; -x_45 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10); +x_44 = l___private_Lean_Elab_Match_24__processVar___closed__9; +x_45 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10); x_46 = !lean_is_exclusive(x_45); if (x_46 == 0) { @@ -6905,15 +7430,15 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean lean_dec(x_1); x_31 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_31, 0, x_11); -x_32 = l___private_Lean_Elab_Match_25__processVar___closed__3; +x_32 = l___private_Lean_Elab_Match_24__processVar___closed__3; x_33 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); -x_34 = l___private_Lean_Elab_Match_25__processVar___closed__6; +x_34 = l___private_Lean_Elab_Match_24__processVar___closed__6; x_35 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +x_36 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); x_37 = !lean_is_exclusive(x_36); if (x_37 == 0) { @@ -6937,11 +7462,11 @@ return x_40; } } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg___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* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg___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___private_Lean_Elab_Match_25__processVar___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6952,11 +7477,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l___private_Lean_Elab_Match_25__processVar___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* l___private_Lean_Elab_Match_24__processVar___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_Match_25__processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_24__processVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6966,7 +7491,7 @@ lean_dec(x_2); return x_10; } } -lean_object* l___private_Lean_Elab_Match_26__processId(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* l___private_Lean_Elab_Match_25__processId(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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -6996,7 +7521,7 @@ lean_dec(x_1); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l___private_Lean_Elab_Match_25__processVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +x_18 = l___private_Lean_Elab_Match_24__processVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -7030,7 +7555,7 @@ lean_dec(x_21); lean_dec(x_14); lean_dec(x_2); lean_dec(x_1); -x_29 = l___private_Lean_Elab_Match_13__throwCtorExpected___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +x_29 = l___private_Lean_Elab_Match_12__throwCtorExpected___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -7075,7 +7600,7 @@ if (x_24 == 0) { lean_object* x_25; lean_dec(x_1); -x_25 = l___private_Lean_Elab_Match_25__processVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +x_25 = l___private_Lean_Elab_Match_24__processVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -7101,7 +7626,7 @@ lean_dec(x_1); x_33 = lean_ctor_get(x_15, 1); lean_inc(x_33); lean_dec(x_15); -x_34 = l___private_Lean_Elab_Match_25__processVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_33); +x_34 = l___private_Lean_Elab_Match_24__processVar(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_33); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -7146,7 +7671,7 @@ return x_38; } } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__1() { _start: { lean_object* x_1; @@ -7154,22 +7679,22 @@ x_1 = lean_mk_string("Name.anonymous"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__1; +x_1 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__1; +x_1 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__2; +x_3 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7177,7 +7702,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__4() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__4() { _start: { lean_object* x_1; @@ -7185,22 +7710,22 @@ x_1 = lean_mk_string("Name.str"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__5() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__4; +x_1 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__4; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__6() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__4; +x_1 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__4; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__5; +x_3 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__5; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7208,7 +7733,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__7() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__7() { _start: { lean_object* x_1; @@ -7216,17 +7741,17 @@ x_1 = lean_mk_string("str"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__8() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nameToExpr___closed__1; -x_2 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__7; +x_2 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__9() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7236,41 +7761,41 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__10() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__9; -x_2 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__7; +x_1 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__9; +x_2 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__11() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__10; +x_2 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__10; 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; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__12() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__11; +x_2 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__11; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__13() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__13() { _start: { lean_object* x_1; @@ -7278,22 +7803,22 @@ x_1 = lean_mk_string("Name.num"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__14() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__13; +x_1 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__13; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__15() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__13; +x_1 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__13; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__14; +x_3 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__14; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7301,7 +7826,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__16() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__16() { _start: { lean_object* x_1; @@ -7309,51 +7834,51 @@ x_1 = lean_mk_string("num"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__17() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nameToExpr___closed__1; -x_2 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__16; +x_2 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__18() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__9; -x_2 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__16; +x_1 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__9; +x_2 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__19() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__18; +x_2 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__18; 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; } } -lean_object* _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__20() { +lean_object* _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__19; +x_2 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__19; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main(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* l___private_Lean_Elab_Match_26__nameToPattern___main(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: { switch (lean_obj_tag(x_1)) { @@ -7389,7 +7914,7 @@ x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); x_27 = l_Lean_SourceInfo_inhabited___closed__1; -x_28 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__3; +x_28 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__3; x_29 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); @@ -7423,7 +7948,7 @@ x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); x_44 = l_Lean_SourceInfo_inhabited___closed__1; -x_45 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__3; +x_45 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__3; x_46 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_46, 0, x_44); lean_ctor_set(x_46, 1, x_45); @@ -7443,7 +7968,7 @@ lean_inc(x_48); x_49 = lean_ctor_get(x_1, 1); lean_inc(x_49); lean_dec(x_1); -x_50 = l___private_Lean_Elab_Match_27__nameToPattern___main(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_50 = l___private_Lean_Elab_Match_26__nameToPattern___main(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -7461,11 +7986,11 @@ if (x_57 == 0) { 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_65; lean_object* x_66; 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; x_58 = lean_ctor_get(x_56, 0); -x_59 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__8; +x_59 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__8; x_60 = l_Lean_addMacroScope(x_58, x_59, x_54); x_61 = l_Lean_SourceInfo_inhabited___closed__1; -x_62 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__6; -x_63 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__12; +x_62 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__6; +x_63 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__12; x_64 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_64, 0, x_61); lean_ctor_set(x_64, 1, x_62); @@ -7498,11 +8023,11 @@ x_78 = lean_ctor_get(x_56, 1); lean_inc(x_78); lean_inc(x_77); lean_dec(x_56); -x_79 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__8; +x_79 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__8; x_80 = l_Lean_addMacroScope(x_77, x_79, x_54); x_81 = l_Lean_SourceInfo_inhabited___closed__1; -x_82 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__6; -x_83 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__12; +x_82 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__6; +x_83 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__12; x_84 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_84, 0, x_81); lean_ctor_set(x_84, 1, x_82); @@ -7538,7 +8063,7 @@ lean_inc(x_98); x_99 = lean_ctor_get(x_1, 1); lean_inc(x_99); lean_dec(x_1); -x_100 = l___private_Lean_Elab_Match_27__nameToPattern___main(x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_100 = l___private_Lean_Elab_Match_26__nameToPattern___main(x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_101 = lean_ctor_get(x_100, 0); lean_inc(x_101); x_102 = lean_ctor_get(x_100, 1); @@ -7556,11 +8081,11 @@ if (x_107 == 0) { lean_object* x_108; 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; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; x_108 = lean_ctor_get(x_106, 0); -x_109 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__17; +x_109 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__17; x_110 = l_Lean_addMacroScope(x_108, x_109, x_104); x_111 = l_Lean_SourceInfo_inhabited___closed__1; -x_112 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__15; -x_113 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__20; +x_112 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__15; +x_113 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__20; x_114 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_114, 0, x_111); lean_ctor_set(x_114, 1, x_112); @@ -7595,11 +8120,11 @@ x_130 = lean_ctor_get(x_106, 1); lean_inc(x_130); lean_inc(x_129); lean_dec(x_106); -x_131 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__17; +x_131 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__17; x_132 = l_Lean_addMacroScope(x_129, x_131, x_104); x_133 = l_Lean_SourceInfo_inhabited___closed__1; -x_134 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__15; -x_135 = l___private_Lean_Elab_Match_27__nameToPattern___main___closed__20; +x_134 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__15; +x_135 = l___private_Lean_Elab_Match_26__nameToPattern___main___closed__20; x_136 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_136, 0, x_133); lean_ctor_set(x_136, 1, x_134); @@ -7632,11 +8157,11 @@ return x_151; } } } -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___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* l___private_Lean_Elab_Match_26__nameToPattern___main___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___private_Lean_Elab_Match_27__nameToPattern___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Match_26__nameToPattern___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -7646,19 +8171,19 @@ lean_dec(x_2); return x_9; } } -lean_object* l___private_Lean_Elab_Match_27__nameToPattern(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* l___private_Lean_Elab_Match_26__nameToPattern(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___private_Lean_Elab_Match_27__nameToPattern___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Match_26__nameToPattern___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_9; } } -lean_object* l___private_Lean_Elab_Match_27__nameToPattern___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* l___private_Lean_Elab_Match_26__nameToPattern___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___private_Lean_Elab_Match_27__nameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Match_26__nameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -7668,7 +8193,7 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_28__quotedNameToPattern___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* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_27__quotedNameToPattern___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) { _start: { lean_object* x_8; lean_object* x_9; @@ -7677,7 +8202,7 @@ x_9 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg( return x_9; } } -lean_object* l___private_Lean_Elab_Match_28__quotedNameToPattern(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* l___private_Lean_Elab_Match_27__quotedNameToPattern(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; lean_object* x_10; lean_object* x_11; @@ -7688,7 +8213,7 @@ lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; -x_12 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_28__quotedNameToPattern___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_12 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_27__quotedNameToPattern___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_12; } else @@ -7697,17 +8222,17 @@ lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); lean_dec(x_11); -x_14 = l___private_Lean_Elab_Match_27__nameToPattern___main(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_14 = l___private_Lean_Elab_Match_26__nameToPattern___main(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_2); return x_14; } } } -lean_object* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_28__quotedNameToPattern___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* l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_27__quotedNameToPattern___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) { _start: { lean_object* x_8; -x_8 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_28__quotedNameToPattern___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_throwIllFormedSyntax___at___private_Lean_Elab_Match_27__quotedNameToPattern___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -7716,11 +8241,11 @@ lean_dec(x_2); return x_8; } } -lean_object* l___private_Lean_Elab_Match_28__quotedNameToPattern___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* l___private_Lean_Elab_Match_27__quotedNameToPattern___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___private_Lean_Elab_Match_28__quotedNameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Match_27__quotedNameToPattern(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -7730,7 +8255,7 @@ lean_dec(x_1); return x_9; } } -lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_29__collect___main___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, lean_object* x_12) { +lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_28__collect___main___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, lean_object* x_12) { _start: { lean_object* x_13; uint8_t x_14; @@ -7839,23 +8364,23 @@ return x_35; } } } -lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___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_object* x_10) { +lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___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_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(0u); x_12 = l_Array_empty___closed__1; -x_13 = l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_29__collect___main___spec__2(x_1, x_2, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_28__collect___main___spec__2(x_1, x_2, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } -lean_object* l___private_Lean_Elab_Match_29__collect___main___lambda__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_object* l___private_Lean_Elab_Match_28__collect___main___lambda__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_10; lean_object* x_11; lean_object* x_12; x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l___private_Lean_Elab_Match_29__collect___main(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l___private_Lean_Elab_Match_28__collect___main(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_12) == 0) { uint8_t x_13; @@ -7908,7 +8433,7 @@ return x_23; } } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__1() { _start: { lean_object* x_1; @@ -7916,17 +8441,17 @@ x_1 = lean_mk_string("anonymousCtor"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l___private_Lean_Elab_Match_29__collect___main___closed__1; +x_2 = l___private_Lean_Elab_Match_28__collect___main___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__3() { _start: { lean_object* x_1; @@ -7934,27 +8459,27 @@ x_1 = lean_mk_string("invalid pattern, notation is ambiguous"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__4() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_29__collect___main___closed__3; +x_1 = l___private_Lean_Elab_Match_28__collect___main___closed__3; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__5() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_29__collect___main___closed__4; +x_1 = l___private_Lean_Elab_Match_28__collect___main___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__6() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -7963,13 +8488,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__7() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Elab_App_23__elabAppFn___main___closed__11; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Match_29__collect___main___closed__6; +x_3 = l___private_Lean_Elab_Match_28__collect___main___closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7977,7 +8502,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__8() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7987,39 +8512,39 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__9() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_29__collect___main___closed__8; +x_2 = l___private_Lean_Elab_Match_28__collect___main___closed__8; 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; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__10() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_29__collect___main___closed__9; +x_2 = l___private_Lean_Elab_Match_28__collect___main___closed__9; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__11() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__11() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_29__collect___main), 9, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_28__collect___main), 9, 0); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__12() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__12() { _start: { lean_object* x_1; @@ -8027,35 +8552,35 @@ x_1 = lean_mk_string("invalid struct instance pattern, 'with' is not allowed in return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__13() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_29__collect___main___closed__12; +x_1 = l___private_Lean_Elab_Match_28__collect___main___closed__12; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__14() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_29__collect___main___closed__13; +x_1 = l___private_Lean_Elab_Match_28__collect___main___closed__13; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_29__collect___main___closed__15() { +lean_object* _init_l___private_Lean_Elab_Match_28__collect___main___closed__15() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_29__collect___main___lambda__1), 9, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_28__collect___main___lambda__1), 9, 0); return x_1; } } -lean_object* l___private_Lean_Elab_Match_29__collect___main(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* l___private_Lean_Elab_Match_28__collect___main(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: { switch (lean_obj_tag(x_1)) { @@ -8083,43 +8608,43 @@ lean_ctor_set(x_7, 3, x_18); x_19 = lean_st_ref_take(x_4, x_9); if (x_13 == 0) { -lean_object* x_1061; lean_object* x_1062; uint8_t x_1063; -x_1061 = lean_ctor_get(x_19, 0); -lean_inc(x_1061); -x_1062 = lean_ctor_get(x_19, 1); -lean_inc(x_1062); +lean_object* x_1059; lean_object* x_1060; uint8_t x_1061; +x_1059 = lean_ctor_get(x_19, 0); +lean_inc(x_1059); +x_1060 = lean_ctor_get(x_19, 1); +lean_inc(x_1060); lean_dec(x_19); -x_1063 = 0; -x_20 = x_1063; -x_21 = x_1061; -x_22 = x_1062; -goto block_1060; +x_1061 = 0; +x_20 = x_1061; +x_21 = x_1059; +x_22 = x_1060; +goto block_1058; } else { -lean_object* x_1064; lean_object* x_1065; uint8_t x_1066; -x_1064 = lean_ctor_get(x_19, 0); -lean_inc(x_1064); -x_1065 = lean_ctor_get(x_19, 1); -lean_inc(x_1065); +lean_object* x_1062; lean_object* x_1063; uint8_t x_1064; +x_1062 = lean_ctor_get(x_19, 0); +lean_inc(x_1062); +x_1063 = lean_ctor_get(x_19, 1); +lean_inc(x_1063); lean_dec(x_19); -x_1066 = 1; -x_20 = x_1066; -x_21 = x_1064; -x_22 = x_1065; -goto block_1060; +x_1064 = 1; +x_20 = x_1064; +x_21 = x_1062; +x_22 = x_1063; +goto block_1058; } -block_1060: +block_1058: { uint8_t x_23; x_23 = !lean_is_exclusive(x_21); if (x_23 == 0) { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_24 = lean_ctor_get(x_21, 5); +x_24 = lean_ctor_get(x_21, 3); x_25 = lean_unsigned_to_nat(1u); x_26 = lean_nat_add(x_24, x_25); -lean_ctor_set(x_21, 5, x_26); +lean_ctor_set(x_21, 3, x_26); x_27 = lean_st_ref_set(x_4, x_21, x_22); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) @@ -8138,7 +8663,7 @@ lean_ctor_set(x_3, 7, x_24); if (x_20 == 0) { lean_object* x_33; uint8_t x_34; -x_33 = l___private_Lean_Elab_Match_29__collect___main___closed__2; +x_33 = l___private_Lean_Elab_Match_28__collect___main___closed__2; x_34 = lean_name_eq(x_10, x_33); if (x_34 == 0) { @@ -8202,7 +8727,7 @@ lean_dec(x_10); if (x_56 == 0) { lean_object* x_57; -x_57 = l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_57 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -8214,8 +8739,8 @@ return x_57; else { lean_object* x_58; lean_object* x_59; -x_58 = l___private_Lean_Elab_Match_29__collect___main___closed__5; -x_59 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_58 = l___private_Lean_Elab_Match_28__collect___main___closed__5; +x_59 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -8230,7 +8755,7 @@ else lean_object* x_60; lean_dec(x_10); lean_dec(x_2); -x_60 = l___private_Lean_Elab_Match_28__quotedNameToPattern(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_60 = l___private_Lean_Elab_Match_27__quotedNameToPattern(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -8305,7 +8830,7 @@ x_61 = lean_unsigned_to_nat(0u); x_62 = l_Lean_Syntax_getArg(x_1, x_61); lean_inc(x_3); lean_inc(x_62); -x_63 = l___private_Lean_Elab_Match_25__processVar(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_63 = l___private_Lean_Elab_Match_24__processVar(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_63) == 0) { lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; @@ -8328,7 +8853,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_70 = l___private_Lean_Elab_Match_29__collect___main(x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_64); +x_70 = l___private_Lean_Elab_Match_28__collect___main(x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_64); if (lean_obj_tag(x_70) == 0) { lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; @@ -8355,11 +8880,11 @@ if (x_77 == 0) { 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_91; x_78 = lean_ctor_get(x_76, 0); -x_79 = l___private_Lean_Elab_Match_29__collect___main___closed__8; +x_79 = l___private_Lean_Elab_Match_28__collect___main___closed__8; x_80 = l_Lean_addMacroScope(x_78, x_79, x_74); x_81 = l_Lean_SourceInfo_inhabited___closed__1; -x_82 = l___private_Lean_Elab_Match_29__collect___main___closed__7; -x_83 = l___private_Lean_Elab_Match_29__collect___main___closed__10; +x_82 = l___private_Lean_Elab_Match_28__collect___main___closed__7; +x_83 = l___private_Lean_Elab_Match_28__collect___main___closed__10; x_84 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_84, 0, x_81); lean_ctor_set(x_84, 1, x_82); @@ -8387,11 +8912,11 @@ x_93 = lean_ctor_get(x_76, 1); lean_inc(x_93); lean_inc(x_92); lean_dec(x_76); -x_94 = l___private_Lean_Elab_Match_29__collect___main___closed__8; +x_94 = l___private_Lean_Elab_Match_28__collect___main___closed__8; x_95 = l_Lean_addMacroScope(x_92, x_94, x_74); x_96 = l_Lean_SourceInfo_inhabited___closed__1; -x_97 = l___private_Lean_Elab_Match_29__collect___main___closed__7; -x_98 = l___private_Lean_Elab_Match_29__collect___main___closed__10; +x_97 = l___private_Lean_Elab_Match_28__collect___main___closed__7; +x_98 = l___private_Lean_Elab_Match_28__collect___main___closed__10; x_99 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_99, 0, x_96); lean_ctor_set(x_99, 1, x_97); @@ -8455,7 +8980,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_112 = l___private_Lean_Elab_Match_29__collect___main(x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_64); +x_112 = l___private_Lean_Elab_Match_28__collect___main(x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_64); if (lean_obj_tag(x_112) == 0) { lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; 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; @@ -8489,11 +9014,11 @@ if (lean_is_exclusive(x_118)) { lean_dec_ref(x_118); x_121 = lean_box(0); } -x_122 = l___private_Lean_Elab_Match_29__collect___main___closed__8; +x_122 = l___private_Lean_Elab_Match_28__collect___main___closed__8; x_123 = l_Lean_addMacroScope(x_119, x_122, x_116); x_124 = l_Lean_SourceInfo_inhabited___closed__1; -x_125 = l___private_Lean_Elab_Match_29__collect___main___closed__7; -x_126 = l___private_Lean_Elab_Match_29__collect___main___closed__10; +x_125 = l___private_Lean_Elab_Match_28__collect___main___closed__7; +x_126 = l___private_Lean_Elab_Match_28__collect___main___closed__10; x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_124); lean_ctor_set(x_127, 1, x_125); @@ -8594,7 +9119,7 @@ lean_dec(x_10); x_145 = lean_unsigned_to_nat(0u); x_146 = l_Lean_Syntax_getArg(x_1, x_145); lean_dec(x_1); -x_147 = l___private_Lean_Elab_Match_29__collect___main___closed__11; +x_147 = l___private_Lean_Elab_Match_28__collect___main___closed__11; x_148 = l_Lean_Elab_Term_CollectPatternVars_processCtor(x_147, x_146, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); return x_148; } @@ -8638,7 +9163,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_162 = l___private_Lean_Elab_Match_29__collect___main(x_156, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_162 = l___private_Lean_Elab_Match_28__collect___main(x_156, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_162) == 0) { lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; @@ -8651,8 +9176,8 @@ x_165 = l_Lean_Syntax_setArg(x_150, x_155, x_163); x_166 = l_Lean_Syntax_getArg(x_159, x_25); x_167 = l_Lean_Syntax_getArgs(x_166); lean_dec(x_166); -x_168 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_169 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_167, x_168, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_164); +x_168 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_169 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_167, x_168, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_164); lean_dec(x_167); if (lean_obj_tag(x_169) == 0) { @@ -8769,7 +9294,7 @@ else lean_object* x_195; lean_dec(x_159); lean_dec(x_157); -x_195 = l___private_Lean_Elab_Match_29__collect___main(x_156, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_195 = l___private_Lean_Elab_Match_28__collect___main(x_156, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_195) == 0) { uint8_t x_196; @@ -8833,7 +9358,7 @@ else { lean_object* x_209; lean_dec(x_157); -x_209 = l___private_Lean_Elab_Match_29__collect___main(x_156, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_209 = l___private_Lean_Elab_Match_28__collect___main(x_156, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_209) == 0) { uint8_t x_210; @@ -8918,7 +9443,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_230 = l___private_Lean_Elab_Match_29__collect___main(x_224, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_230 = l___private_Lean_Elab_Match_28__collect___main(x_224, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_230) == 0) { lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; @@ -8931,8 +9456,8 @@ x_233 = l_Lean_Syntax_setArg(x_150, x_223, x_231); x_234 = l_Lean_Syntax_getArg(x_227, x_25); x_235 = l_Lean_Syntax_getArgs(x_234); lean_dec(x_234); -x_236 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_237 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_235, x_236, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_232); +x_236 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_237 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_235, x_236, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_232); lean_dec(x_235); if (lean_obj_tag(x_237) == 0) { @@ -9041,7 +9566,7 @@ else lean_object* x_257; lean_dec(x_227); lean_dec(x_225); -x_257 = l___private_Lean_Elab_Match_29__collect___main(x_224, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_257 = l___private_Lean_Elab_Match_28__collect___main(x_224, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_257) == 0) { lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; @@ -9104,7 +9629,7 @@ else { lean_object* x_269; lean_dec(x_225); -x_269 = l___private_Lean_Elab_Match_29__collect___main(x_224, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_269 = l___private_Lean_Elab_Match_28__collect___main(x_224, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_269) == 0) { lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; @@ -9193,7 +9718,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_281 = l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg(x_8, x_29); +x_281 = l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg(x_8, x_29); lean_dec(x_8); x_282 = lean_ctor_get(x_281, 0); lean_inc(x_282); @@ -9211,7 +9736,7 @@ if (x_287 == 0) { lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; uint8_t x_293; x_288 = lean_ctor_get(x_285, 1); -x_289 = l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(x_282); +x_289 = l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(x_282); x_290 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_290, 0, x_289); x_291 = lean_array_push(x_288, x_290); @@ -9247,7 +9772,7 @@ x_298 = lean_ctor_get(x_285, 1); lean_inc(x_298); lean_inc(x_297); lean_dec(x_285); -x_299 = l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(x_282); +x_299 = l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(x_282); x_300 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_300, 0, x_299); x_301 = lean_array_push(x_298, x_300); @@ -9298,8 +9823,8 @@ lean_object* x_313; lean_object* x_314; uint8_t x_315; lean_free_object(x_1); lean_dec(x_11); lean_dec(x_10); -x_313 = l___private_Lean_Elab_Match_29__collect___main___closed__14; -x_314 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg(x_311, x_313, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_313 = l___private_Lean_Elab_Match_28__collect___main___closed__14; +x_314 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(x_311, x_313, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -9334,8 +9859,8 @@ x_319 = lean_unsigned_to_nat(2u); x_320 = lean_array_get(x_310, x_11, x_319); x_321 = l_Lean_Syntax_getArgs(x_320); lean_dec(x_320); -x_322 = l___private_Lean_Elab_Match_29__collect___main___closed__15; -x_323 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_321, x_322, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_322 = l___private_Lean_Elab_Match_28__collect___main___closed__15; +x_323 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_321, x_322, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_321); if (lean_obj_tag(x_323) == 0) { @@ -9415,8 +9940,8 @@ if (x_341 == 0) 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_dec(x_11); lean_dec(x_10); -x_342 = l___private_Lean_Elab_Match_29__collect___main___closed__14; -x_343 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg(x_340, x_342, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_342 = l___private_Lean_Elab_Match_28__collect___main___closed__14; +x_343 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(x_340, x_342, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -9453,8 +9978,8 @@ x_348 = lean_unsigned_to_nat(2u); x_349 = lean_array_get(x_339, x_11, x_348); x_350 = l_Lean_Syntax_getArgs(x_349); lean_dec(x_349); -x_351 = l___private_Lean_Elab_Match_29__collect___main___closed__15; -x_352 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_350, x_351, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_351 = l___private_Lean_Elab_Match_28__collect___main___closed__15; +x_352 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_350, x_351, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_350); if (lean_obj_tag(x_352) == 0) { @@ -9534,8 +10059,8 @@ x_368 = l_Lean_Syntax_inhabited; x_369 = lean_array_get(x_368, x_11, x_25); x_370 = l_Lean_Syntax_getArgs(x_369); lean_dec(x_369); -x_371 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_372 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_370, x_371, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_371 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_372 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_370, x_371, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_370); if (lean_obj_tag(x_372) == 0) { @@ -9610,8 +10135,8 @@ x_388 = l_Lean_Syntax_inhabited; x_389 = lean_array_get(x_388, x_11, x_25); x_390 = l_Lean_Syntax_getArgs(x_389); lean_dec(x_389); -x_391 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_392 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_390, x_391, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_391 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_392 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_390, x_391, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_390); if (lean_obj_tag(x_392) == 0) { @@ -9680,7 +10205,7 @@ lean_object* x_405; lean_object* x_406; lean_free_object(x_27); lean_dec(x_11); lean_dec(x_10); -x_405 = l___private_Lean_Elab_Match_29__collect___main___closed__11; +x_405 = l___private_Lean_Elab_Match_28__collect___main___closed__11; x_406 = l_Lean_Elab_Term_CollectPatternVars_processCtorApp(x_405, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_1); return x_406; @@ -9722,7 +10247,7 @@ lean_ctor_set_uint8(x_417, sizeof(void*)*8 + 2, x_416); if (x_20 == 0) { lean_object* x_418; uint8_t x_419; -x_418 = l___private_Lean_Elab_Match_29__collect___main___closed__2; +x_418 = l___private_Lean_Elab_Match_28__collect___main___closed__2; x_419 = lean_name_eq(x_10, x_418); if (x_419 == 0) { @@ -9786,7 +10311,7 @@ lean_dec(x_10); if (x_441 == 0) { lean_object* x_442; -x_442 = l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg(x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_442 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg(x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -9798,8 +10323,8 @@ return x_442; else { lean_object* x_443; lean_object* x_444; -x_443 = l___private_Lean_Elab_Match_29__collect___main___closed__5; -x_444 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_443, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_443 = l___private_Lean_Elab_Match_28__collect___main___closed__5; +x_444 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_443, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -9814,7 +10339,7 @@ else lean_object* x_445; lean_dec(x_10); lean_dec(x_2); -x_445 = l___private_Lean_Elab_Match_28__quotedNameToPattern(x_1, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_445 = l___private_Lean_Elab_Match_27__quotedNameToPattern(x_1, x_417, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -9889,7 +10414,7 @@ x_446 = lean_unsigned_to_nat(0u); x_447 = l_Lean_Syntax_getArg(x_1, x_446); lean_inc(x_417); lean_inc(x_447); -x_448 = l___private_Lean_Elab_Match_25__processVar(x_447, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_448 = l___private_Lean_Elab_Match_24__processVar(x_447, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_448) == 0) { lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; @@ -9912,7 +10437,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_417); -x_453 = l___private_Lean_Elab_Match_29__collect___main(x_451, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_449); +x_453 = l___private_Lean_Elab_Match_28__collect___main(x_451, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_449); if (lean_obj_tag(x_453) == 0) { lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; @@ -9946,11 +10471,11 @@ if (lean_is_exclusive(x_459)) { lean_dec_ref(x_459); x_462 = lean_box(0); } -x_463 = l___private_Lean_Elab_Match_29__collect___main___closed__8; +x_463 = l___private_Lean_Elab_Match_28__collect___main___closed__8; x_464 = l_Lean_addMacroScope(x_460, x_463, x_457); x_465 = l_Lean_SourceInfo_inhabited___closed__1; -x_466 = l___private_Lean_Elab_Match_29__collect___main___closed__7; -x_467 = l___private_Lean_Elab_Match_29__collect___main___closed__10; +x_466 = l___private_Lean_Elab_Match_28__collect___main___closed__7; +x_467 = l___private_Lean_Elab_Match_28__collect___main___closed__10; x_468 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_468, 0, x_465); lean_ctor_set(x_468, 1, x_466); @@ -10057,7 +10582,7 @@ lean_dec(x_10); x_486 = lean_unsigned_to_nat(0u); x_487 = l_Lean_Syntax_getArg(x_1, x_486); lean_dec(x_1); -x_488 = l___private_Lean_Elab_Match_29__collect___main___closed__11; +x_488 = l___private_Lean_Elab_Match_28__collect___main___closed__11; x_489 = l_Lean_Elab_Term_CollectPatternVars_processCtor(x_488, x_487, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); return x_489; } @@ -10101,7 +10626,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_417); lean_inc(x_2); -x_501 = l___private_Lean_Elab_Match_29__collect___main(x_495, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_501 = l___private_Lean_Elab_Match_28__collect___main(x_495, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_501) == 0) { lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; @@ -10114,8 +10639,8 @@ x_504 = l_Lean_Syntax_setArg(x_491, x_494, x_502); x_505 = l_Lean_Syntax_getArg(x_498, x_25); x_506 = l_Lean_Syntax_getArgs(x_505); lean_dec(x_505); -x_507 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_508 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_506, x_507, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_503); +x_507 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_508 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_506, x_507, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_503); lean_dec(x_506); if (lean_obj_tag(x_508) == 0) { @@ -10230,7 +10755,7 @@ else lean_object* x_528; lean_dec(x_498); lean_dec(x_496); -x_528 = l___private_Lean_Elab_Match_29__collect___main(x_495, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_528 = l___private_Lean_Elab_Match_28__collect___main(x_495, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_528) == 0) { lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; @@ -10298,7 +10823,7 @@ else { lean_object* x_540; lean_dec(x_496); -x_540 = l___private_Lean_Elab_Match_29__collect___main(x_495, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_540 = l___private_Lean_Elab_Match_28__collect___main(x_495, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_540) == 0) { lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; @@ -10391,7 +10916,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_552 = l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg(x_8, x_29); +x_552 = l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg(x_8, x_29); lean_dec(x_8); x_553 = lean_ctor_get(x_552, 0); lean_inc(x_553); @@ -10416,7 +10941,7 @@ if (lean_is_exclusive(x_556)) { lean_dec_ref(x_556); x_560 = lean_box(0); } -x_561 = l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(x_553); +x_561 = l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(x_553); x_562 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_562, 0, x_561); x_563 = lean_array_push(x_559, x_562); @@ -10470,8 +10995,8 @@ lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_dec(x_569); lean_dec(x_11); lean_dec(x_10); -x_573 = l___private_Lean_Elab_Match_29__collect___main___closed__14; -x_574 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg(x_571, x_573, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_573 = l___private_Lean_Elab_Match_28__collect___main___closed__14; +x_574 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(x_571, x_573, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10508,8 +11033,8 @@ x_579 = lean_unsigned_to_nat(2u); x_580 = lean_array_get(x_570, x_11, x_579); x_581 = l_Lean_Syntax_getArgs(x_580); lean_dec(x_580); -x_582 = l___private_Lean_Elab_Match_29__collect___main___closed__15; -x_583 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_581, x_582, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_582 = l___private_Lean_Elab_Match_28__collect___main___closed__15; +x_583 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_581, x_582, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_581); if (lean_obj_tag(x_583) == 0) { @@ -10593,8 +11118,8 @@ x_597 = l_Lean_Syntax_inhabited; x_598 = lean_array_get(x_597, x_11, x_25); x_599 = l_Lean_Syntax_getArgs(x_598); lean_dec(x_598); -x_600 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_601 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_599, x_600, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); +x_600 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_601 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_599, x_600, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_599); if (lean_obj_tag(x_601) == 0) { @@ -10667,7 +11192,7 @@ lean_object* x_614; lean_object* x_615; lean_free_object(x_27); lean_dec(x_11); lean_dec(x_10); -x_614 = l___private_Lean_Elab_Match_29__collect___main___closed__11; +x_614 = l___private_Lean_Elab_Match_28__collect___main___closed__11; x_615 = l_Lean_Elab_Term_CollectPatternVars_processCtorApp(x_614, x_1, x_2, x_417, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec(x_1); return x_615; @@ -10730,7 +11255,7 @@ lean_ctor_set_uint8(x_628, sizeof(void*)*8 + 2, x_626); if (x_20 == 0) { lean_object* x_629; uint8_t x_630; -x_629 = l___private_Lean_Elab_Match_29__collect___main___closed__2; +x_629 = l___private_Lean_Elab_Match_28__collect___main___closed__2; x_630 = lean_name_eq(x_10, x_629); if (x_630 == 0) { @@ -10793,7 +11318,7 @@ lean_dec(x_10); if (x_652 == 0) { lean_object* x_653; -x_653 = l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg(x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_653 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg(x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10805,8 +11330,8 @@ return x_653; else { lean_object* x_654; lean_object* x_655; -x_654 = l___private_Lean_Elab_Match_29__collect___main___closed__5; -x_655 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_654, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_654 = l___private_Lean_Elab_Match_28__collect___main___closed__5; +x_655 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_654, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10821,7 +11346,7 @@ else lean_object* x_656; lean_dec(x_10); lean_dec(x_2); -x_656 = l___private_Lean_Elab_Match_28__quotedNameToPattern(x_1, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_656 = l___private_Lean_Elab_Match_27__quotedNameToPattern(x_1, x_628, x_4, x_5, x_6, x_7, x_8, x_616); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10907,7 +11432,7 @@ x_661 = lean_unsigned_to_nat(0u); x_662 = l_Lean_Syntax_getArg(x_1, x_661); lean_inc(x_628); lean_inc(x_662); -x_663 = l___private_Lean_Elab_Match_25__processVar(x_662, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_663 = l___private_Lean_Elab_Match_24__processVar(x_662, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); if (lean_obj_tag(x_663) == 0) { lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; @@ -10930,7 +11455,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_628); -x_668 = l___private_Lean_Elab_Match_29__collect___main(x_666, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_664); +x_668 = l___private_Lean_Elab_Match_28__collect___main(x_666, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_664); if (lean_obj_tag(x_668) == 0) { lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; @@ -10964,11 +11489,11 @@ if (lean_is_exclusive(x_674)) { lean_dec_ref(x_674); x_677 = lean_box(0); } -x_678 = l___private_Lean_Elab_Match_29__collect___main___closed__8; +x_678 = l___private_Lean_Elab_Match_28__collect___main___closed__8; x_679 = l_Lean_addMacroScope(x_675, x_678, x_672); x_680 = l_Lean_SourceInfo_inhabited___closed__1; -x_681 = l___private_Lean_Elab_Match_29__collect___main___closed__7; -x_682 = l___private_Lean_Elab_Match_29__collect___main___closed__10; +x_681 = l___private_Lean_Elab_Match_28__collect___main___closed__7; +x_682 = l___private_Lean_Elab_Match_28__collect___main___closed__10; x_683 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_683, 0, x_680); lean_ctor_set(x_683, 1, x_681); @@ -11074,7 +11599,7 @@ lean_dec(x_10); x_701 = lean_unsigned_to_nat(0u); x_702 = l_Lean_Syntax_getArg(x_1, x_701); lean_dec(x_1); -x_703 = l___private_Lean_Elab_Match_29__collect___main___closed__11; +x_703 = l___private_Lean_Elab_Match_28__collect___main___closed__11; x_704 = l_Lean_Elab_Term_CollectPatternVars_processCtor(x_703, x_702, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); return x_704; } @@ -11117,7 +11642,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_628); lean_inc(x_2); -x_716 = l___private_Lean_Elab_Match_29__collect___main(x_710, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_716 = l___private_Lean_Elab_Match_28__collect___main(x_710, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); if (lean_obj_tag(x_716) == 0) { lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; @@ -11130,8 +11655,8 @@ x_719 = l_Lean_Syntax_setArg(x_706, x_709, x_717); x_720 = l_Lean_Syntax_getArg(x_713, x_25); x_721 = l_Lean_Syntax_getArgs(x_720); lean_dec(x_720); -x_722 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_723 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_721, x_722, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_718); +x_722 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_723 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_721, x_722, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_718); lean_dec(x_721); if (lean_obj_tag(x_723) == 0) { @@ -11246,7 +11771,7 @@ else lean_object* x_743; lean_dec(x_713); lean_dec(x_711); -x_743 = l___private_Lean_Elab_Match_29__collect___main(x_710, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_743 = l___private_Lean_Elab_Match_28__collect___main(x_710, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); if (lean_obj_tag(x_743) == 0) { lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; @@ -11314,7 +11839,7 @@ else { lean_object* x_755; lean_dec(x_711); -x_755 = l___private_Lean_Elab_Match_29__collect___main(x_710, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_755 = l___private_Lean_Elab_Match_28__collect___main(x_710, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); if (lean_obj_tag(x_755) == 0) { lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; @@ -11409,7 +11934,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_768 = l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg(x_8, x_616); +x_768 = l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg(x_8, x_616); lean_dec(x_8); x_769 = lean_ctor_get(x_768, 0); lean_inc(x_769); @@ -11434,7 +11959,7 @@ if (lean_is_exclusive(x_772)) { lean_dec_ref(x_772); x_776 = lean_box(0); } -x_777 = l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(x_769); +x_777 = l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(x_769); x_778 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_778, 0, x_777); x_779 = lean_array_push(x_775, x_778); @@ -11487,8 +12012,8 @@ lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_dec(x_785); lean_dec(x_11); lean_dec(x_10); -x_789 = l___private_Lean_Elab_Match_29__collect___main___closed__14; -x_790 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg(x_787, x_789, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_789 = l___private_Lean_Elab_Match_28__collect___main___closed__14; +x_790 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(x_787, x_789, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -11525,8 +12050,8 @@ x_795 = lean_unsigned_to_nat(2u); x_796 = lean_array_get(x_786, x_11, x_795); x_797 = l_Lean_Syntax_getArgs(x_796); lean_dec(x_796); -x_798 = l___private_Lean_Elab_Match_29__collect___main___closed__15; -x_799 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_797, x_798, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_798 = l___private_Lean_Elab_Match_28__collect___main___closed__15; +x_799 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_797, x_798, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); lean_dec(x_797); if (lean_obj_tag(x_799) == 0) { @@ -11609,8 +12134,8 @@ x_813 = l_Lean_Syntax_inhabited; x_814 = lean_array_get(x_813, x_11, x_25); x_815 = l_Lean_Syntax_getArgs(x_814); lean_dec(x_814); -x_816 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_817 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_815, x_816, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); +x_816 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_817 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_815, x_816, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); lean_dec(x_815); if (lean_obj_tag(x_817) == 0) { @@ -11682,7 +12207,7 @@ else lean_object* x_830; lean_object* x_831; lean_dec(x_11); lean_dec(x_10); -x_830 = l___private_Lean_Elab_Match_29__collect___main___closed__11; +x_830 = l___private_Lean_Elab_Match_28__collect___main___closed__11; x_831 = l_Lean_Elab_Term_CollectPatternVars_processCtorApp(x_830, x_1, x_2, x_628, x_4, x_5, x_6, x_7, x_8, x_616); lean_dec(x_1); return x_831; @@ -11691,60 +12216,54 @@ return x_831; } else { -lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; uint8_t x_852; uint8_t x_853; uint8_t x_854; lean_object* x_855; lean_object* x_856; +lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; uint8_t x_850; uint8_t x_851; uint8_t x_852; lean_object* x_853; lean_object* x_854; x_832 = lean_ctor_get(x_21, 0); x_833 = lean_ctor_get(x_21, 1); x_834 = lean_ctor_get(x_21, 2); x_835 = lean_ctor_get(x_21, 3); x_836 = lean_ctor_get(x_21, 4); -x_837 = lean_ctor_get(x_21, 5); -x_838 = lean_ctor_get(x_21, 6); -lean_inc(x_838); -lean_inc(x_837); lean_inc(x_836); lean_inc(x_835); lean_inc(x_834); lean_inc(x_833); lean_inc(x_832); lean_dec(x_21); -x_839 = lean_unsigned_to_nat(1u); -x_840 = lean_nat_add(x_837, x_839); -x_841 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_841, 0, x_832); -lean_ctor_set(x_841, 1, x_833); -lean_ctor_set(x_841, 2, x_834); -lean_ctor_set(x_841, 3, x_835); -lean_ctor_set(x_841, 4, x_836); -lean_ctor_set(x_841, 5, x_840); -lean_ctor_set(x_841, 6, x_838); -x_842 = lean_st_ref_set(x_4, x_841, x_22); -x_843 = lean_ctor_get(x_842, 1); -lean_inc(x_843); -if (lean_is_exclusive(x_842)) { - lean_ctor_release(x_842, 0); - lean_ctor_release(x_842, 1); - x_844 = x_842; +x_837 = lean_unsigned_to_nat(1u); +x_838 = lean_nat_add(x_835, x_837); +x_839 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_839, 0, x_832); +lean_ctor_set(x_839, 1, x_833); +lean_ctor_set(x_839, 2, x_834); +lean_ctor_set(x_839, 3, x_838); +lean_ctor_set(x_839, 4, x_836); +x_840 = lean_st_ref_set(x_4, x_839, x_22); +x_841 = lean_ctor_get(x_840, 1); +lean_inc(x_841); +if (lean_is_exclusive(x_840)) { + lean_ctor_release(x_840, 0); + lean_ctor_release(x_840, 1); + x_842 = x_840; } else { - lean_dec_ref(x_842); - x_844 = lean_box(0); + lean_dec_ref(x_840); + x_842 = lean_box(0); } -x_845 = lean_ctor_get(x_3, 0); +x_843 = lean_ctor_get(x_3, 0); +lean_inc(x_843); +x_844 = lean_ctor_get(x_3, 1); +lean_inc(x_844); +x_845 = lean_ctor_get(x_3, 2); lean_inc(x_845); -x_846 = lean_ctor_get(x_3, 1); +x_846 = lean_ctor_get(x_3, 3); lean_inc(x_846); -x_847 = lean_ctor_get(x_3, 2); +x_847 = lean_ctor_get(x_3, 4); lean_inc(x_847); -x_848 = lean_ctor_get(x_3, 3); +x_848 = lean_ctor_get(x_3, 5); lean_inc(x_848); -x_849 = lean_ctor_get(x_3, 4); +x_849 = lean_ctor_get(x_3, 6); lean_inc(x_849); -x_850 = lean_ctor_get(x_3, 5); -lean_inc(x_850); -x_851 = lean_ctor_get(x_3, 6); -lean_inc(x_851); -x_852 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_853 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_854 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); +x_850 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); +x_851 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); +x_852 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); @@ -11754,95 +12273,108 @@ if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 5); lean_ctor_release(x_3, 6); lean_ctor_release(x_3, 7); - x_855 = x_3; + x_853 = x_3; } else { lean_dec_ref(x_3); - x_855 = lean_box(0); + x_853 = lean_box(0); } -if (lean_is_scalar(x_855)) { - x_856 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_853)) { + x_854 = lean_alloc_ctor(0, 8, 3); } else { - x_856 = x_855; + x_854 = x_853; } -lean_ctor_set(x_856, 0, x_845); -lean_ctor_set(x_856, 1, x_846); -lean_ctor_set(x_856, 2, x_847); -lean_ctor_set(x_856, 3, x_848); -lean_ctor_set(x_856, 4, x_849); -lean_ctor_set(x_856, 5, x_850); -lean_ctor_set(x_856, 6, x_851); -lean_ctor_set(x_856, 7, x_837); -lean_ctor_set_uint8(x_856, sizeof(void*)*8, x_852); -lean_ctor_set_uint8(x_856, sizeof(void*)*8 + 1, x_853); -lean_ctor_set_uint8(x_856, sizeof(void*)*8 + 2, x_854); +lean_ctor_set(x_854, 0, x_843); +lean_ctor_set(x_854, 1, x_844); +lean_ctor_set(x_854, 2, x_845); +lean_ctor_set(x_854, 3, x_846); +lean_ctor_set(x_854, 4, x_847); +lean_ctor_set(x_854, 5, x_848); +lean_ctor_set(x_854, 6, x_849); +lean_ctor_set(x_854, 7, x_835); +lean_ctor_set_uint8(x_854, sizeof(void*)*8, x_850); +lean_ctor_set_uint8(x_854, sizeof(void*)*8 + 1, x_851); +lean_ctor_set_uint8(x_854, sizeof(void*)*8 + 2, x_852); if (x_20 == 0) { +lean_object* x_855; uint8_t x_856; +x_855 = l___private_Lean_Elab_Match_28__collect___main___closed__2; +x_856 = lean_name_eq(x_10, x_855); +if (x_856 == 0) +{ lean_object* x_857; uint8_t x_858; -x_857 = l___private_Lean_Elab_Match_29__collect___main___closed__2; +x_857 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__2; x_858 = lean_name_eq(x_10, x_857); if (x_858 == 0) { lean_object* x_859; uint8_t x_860; -x_859 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__2; +x_859 = l_Lean_mkHole___closed__2; x_860 = lean_name_eq(x_10, x_859); if (x_860 == 0) { lean_object* x_861; uint8_t x_862; -x_861 = l_Lean_mkHole___closed__2; +x_861 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; x_862 = lean_name_eq(x_10, x_861); if (x_862 == 0) { lean_object* x_863; uint8_t x_864; -x_863 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; +lean_dec(x_11); +x_863 = l___private_Lean_Elab_App_23__elabAppFn___main___closed__5; x_864 = lean_name_eq(x_10, x_863); if (x_864 == 0) { lean_object* x_865; uint8_t x_866; -lean_dec(x_11); -x_865 = l___private_Lean_Elab_App_23__elabAppFn___main___closed__5; +x_865 = l___private_Lean_Elab_App_23__elabAppFn___main___closed__12; x_866 = lean_name_eq(x_10, x_865); if (x_866 == 0) { lean_object* x_867; uint8_t x_868; -x_867 = l___private_Lean_Elab_App_23__elabAppFn___main___closed__12; +x_867 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; x_868 = lean_name_eq(x_10, x_867); if (x_868 == 0) { lean_object* x_869; uint8_t x_870; -x_869 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; +x_869 = l_Lean_strLitKind; x_870 = lean_name_eq(x_10, x_869); if (x_870 == 0) { lean_object* x_871; uint8_t x_872; -x_871 = l_Lean_strLitKind; +x_871 = l_Lean_numLitKind; x_872 = lean_name_eq(x_10, x_871); if (x_872 == 0) { lean_object* x_873; uint8_t x_874; -x_873 = l_Lean_numLitKind; +x_873 = l_Lean_charLitKind; x_874 = lean_name_eq(x_10, x_873); if (x_874 == 0) { lean_object* x_875; uint8_t x_876; -x_875 = l_Lean_charLitKind; +lean_dec(x_842); +x_875 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; x_876 = lean_name_eq(x_10, x_875); if (x_876 == 0) { lean_object* x_877; uint8_t x_878; -lean_dec(x_844); -x_877 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; +lean_dec(x_1); +x_877 = l_Lean_choiceKind; x_878 = lean_name_eq(x_10, x_877); +lean_dec(x_10); if (x_878 == 0) { -lean_object* x_879; uint8_t x_880; -lean_dec(x_1); -x_879 = l_Lean_choiceKind; -x_880 = lean_name_eq(x_10, x_879); -lean_dec(x_10); -if (x_880 == 0) +lean_object* x_879; +x_879 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg(x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_879; +} +else { -lean_object* x_881; -x_881 = l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg(x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); +lean_object* x_880; lean_object* x_881; +x_880 = l___private_Lean_Elab_Match_28__collect___main___closed__5; +x_881 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_880, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -11851,39 +12383,68 @@ lean_dec(x_4); lean_dec(x_2); return x_881; } +} else { -lean_object* x_882; lean_object* x_883; -x_882 = l___private_Lean_Elab_Match_29__collect___main___closed__5; -x_883 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_882, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); +lean_object* x_882; +lean_dec(x_10); +lean_dec(x_2); +x_882 = l___private_Lean_Elab_Match_27__quotedNameToPattern(x_1, x_854, x_4, x_5, x_6, x_7, x_8, x_841); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_1); +return x_882; +} +} +else +{ +lean_object* x_883; +lean_dec(x_854); +lean_dec(x_7); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); +if (lean_is_scalar(x_842)) { + x_883 = lean_alloc_ctor(0, 2, 0); +} else { + x_883 = x_842; +} +lean_ctor_set(x_883, 0, x_1); +lean_ctor_set(x_883, 1, x_841); return x_883; } } else { lean_object* x_884; -lean_dec(x_10); -lean_dec(x_2); -x_884 = l___private_Lean_Elab_Match_28__quotedNameToPattern(x_1, x_856, x_4, x_5, x_6, x_7, x_8, x_843); -lean_dec(x_8); +lean_dec(x_854); lean_dec(x_7); +lean_dec(x_10); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1); +lean_dec(x_2); +if (lean_is_scalar(x_842)) { + x_884 = lean_alloc_ctor(0, 2, 0); +} else { + x_884 = x_842; +} +lean_ctor_set(x_884, 0, x_1); +lean_ctor_set(x_884, 1, x_841); return x_884; } } else { lean_object* x_885; -lean_dec(x_856); +lean_dec(x_854); lean_dec(x_7); lean_dec(x_10); lean_dec(x_8); @@ -11891,20 +12452,20 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -if (lean_is_scalar(x_844)) { +if (lean_is_scalar(x_842)) { x_885 = lean_alloc_ctor(0, 2, 0); } else { - x_885 = x_844; + x_885 = x_842; } lean_ctor_set(x_885, 0, x_1); -lean_ctor_set(x_885, 1, x_843); +lean_ctor_set(x_885, 1, x_841); return x_885; } } else { lean_object* x_886; -lean_dec(x_856); +lean_dec(x_854); lean_dec(x_7); lean_dec(x_10); lean_dec(x_8); @@ -11912,197 +12473,155 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -if (lean_is_scalar(x_844)) { +if (lean_is_scalar(x_842)) { x_886 = lean_alloc_ctor(0, 2, 0); } else { - x_886 = x_844; + x_886 = x_842; } lean_ctor_set(x_886, 0, x_1); -lean_ctor_set(x_886, 1, x_843); +lean_ctor_set(x_886, 1, x_841); return x_886; } } else { -lean_object* x_887; -lean_dec(x_856); -lean_dec(x_7); +lean_object* x_887; lean_object* x_888; lean_object* x_889; +lean_dec(x_842); lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_844)) { - x_887 = lean_alloc_ctor(0, 2, 0); -} else { - x_887 = x_844; -} -lean_ctor_set(x_887, 0, x_1); -lean_ctor_set(x_887, 1, x_843); -return x_887; -} -} -else +x_887 = lean_unsigned_to_nat(0u); +x_888 = l_Lean_Syntax_getArg(x_1, x_887); +lean_inc(x_854); +lean_inc(x_888); +x_889 = l___private_Lean_Elab_Match_24__processVar(x_888, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); +if (lean_obj_tag(x_889) == 0) { -lean_object* x_888; -lean_dec(x_856); -lean_dec(x_7); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_844)) { - x_888 = lean_alloc_ctor(0, 2, 0); -} else { - x_888 = x_844; -} -lean_ctor_set(x_888, 0, x_1); -lean_ctor_set(x_888, 1, x_843); -return x_888; -} -} -else -{ -lean_object* x_889; lean_object* x_890; lean_object* x_891; -lean_dec(x_844); -lean_dec(x_10); -x_889 = lean_unsigned_to_nat(0u); -x_890 = l_Lean_Syntax_getArg(x_1, x_889); -lean_inc(x_856); +lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; +x_890 = lean_ctor_get(x_889, 1); lean_inc(x_890); -x_891 = l___private_Lean_Elab_Match_25__processVar(x_890, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); -if (lean_obj_tag(x_891) == 0) -{ -lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; -x_892 = lean_ctor_get(x_891, 1); -lean_inc(x_892); -lean_dec(x_891); -x_893 = lean_unsigned_to_nat(2u); -x_894 = l_Lean_Syntax_getArg(x_1, x_893); +lean_dec(x_889); +x_891 = lean_unsigned_to_nat(2u); +x_892 = l_Lean_Syntax_getArg(x_1, x_891); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); - x_895 = x_1; + x_893 = x_1; } else { lean_dec_ref(x_1); - x_895 = lean_box(0); + x_893 = lean_box(0); } lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_856); -x_896 = l___private_Lean_Elab_Match_29__collect___main(x_894, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_892); -if (lean_obj_tag(x_896) == 0) +lean_inc(x_854); +x_894 = l___private_Lean_Elab_Match_28__collect___main(x_892, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_890); +if (lean_obj_tag(x_894) == 0) { -lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; -x_897 = lean_ctor_get(x_896, 0); -lean_inc(x_897); -x_898 = lean_ctor_get(x_896, 1); +lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; +x_895 = lean_ctor_get(x_894, 0); +lean_inc(x_895); +x_896 = lean_ctor_get(x_894, 1); +lean_inc(x_896); +lean_dec(x_894); +x_897 = l_Lean_Elab_Term_getCurrMacroScope(x_854, x_4, x_5, x_6, x_7, x_8, x_896); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_854); +x_898 = lean_ctor_get(x_897, 0); lean_inc(x_898); -lean_dec(x_896); -x_899 = l_Lean_Elab_Term_getCurrMacroScope(x_856, x_4, x_5, x_6, x_7, x_8, x_898); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_856); -x_900 = lean_ctor_get(x_899, 0); -lean_inc(x_900); -x_901 = lean_ctor_get(x_899, 1); +x_899 = lean_ctor_get(x_897, 1); +lean_inc(x_899); +lean_dec(x_897); +x_900 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_899); +lean_dec(x_8); +x_901 = lean_ctor_get(x_900, 0); lean_inc(x_901); -lean_dec(x_899); -x_902 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_901); -lean_dec(x_8); -x_903 = lean_ctor_get(x_902, 0); -lean_inc(x_903); -x_904 = lean_ctor_get(x_902, 1); -lean_inc(x_904); -if (lean_is_exclusive(x_902)) { - lean_ctor_release(x_902, 0); - lean_ctor_release(x_902, 1); - x_905 = x_902; +x_902 = lean_ctor_get(x_900, 1); +lean_inc(x_902); +if (lean_is_exclusive(x_900)) { + lean_ctor_release(x_900, 0); + lean_ctor_release(x_900, 1); + x_903 = x_900; } else { - lean_dec_ref(x_902); - x_905 = lean_box(0); + lean_dec_ref(x_900); + x_903 = lean_box(0); } -x_906 = l___private_Lean_Elab_Match_29__collect___main___closed__8; -x_907 = l_Lean_addMacroScope(x_903, x_906, x_900); -x_908 = l_Lean_SourceInfo_inhabited___closed__1; -x_909 = l___private_Lean_Elab_Match_29__collect___main___closed__7; -x_910 = l___private_Lean_Elab_Match_29__collect___main___closed__10; -x_911 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_911, 0, x_908); -lean_ctor_set(x_911, 1, x_909); -lean_ctor_set(x_911, 2, x_907); -lean_ctor_set(x_911, 3, x_910); -x_912 = l_Array_empty___closed__1; -x_913 = lean_array_push(x_912, x_911); -x_914 = lean_array_push(x_912, x_890); -x_915 = lean_array_push(x_914, x_897); -x_916 = l_Lean_nullKind___closed__2; -if (lean_is_scalar(x_895)) { - x_917 = lean_alloc_ctor(1, 2, 0); +x_904 = l___private_Lean_Elab_Match_28__collect___main___closed__8; +x_905 = l_Lean_addMacroScope(x_901, x_904, x_898); +x_906 = l_Lean_SourceInfo_inhabited___closed__1; +x_907 = l___private_Lean_Elab_Match_28__collect___main___closed__7; +x_908 = l___private_Lean_Elab_Match_28__collect___main___closed__10; +x_909 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_909, 0, x_906); +lean_ctor_set(x_909, 1, x_907); +lean_ctor_set(x_909, 2, x_905); +lean_ctor_set(x_909, 3, x_908); +x_910 = l_Array_empty___closed__1; +x_911 = lean_array_push(x_910, x_909); +x_912 = lean_array_push(x_910, x_888); +x_913 = lean_array_push(x_912, x_895); +x_914 = l_Lean_nullKind___closed__2; +if (lean_is_scalar(x_893)) { + x_915 = lean_alloc_ctor(1, 2, 0); } else { - x_917 = x_895; + x_915 = x_893; } -lean_ctor_set(x_917, 0, x_916); -lean_ctor_set(x_917, 1, x_915); -x_918 = lean_array_push(x_913, x_917); -x_919 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_919, 0, x_12); -lean_ctor_set(x_919, 1, x_918); -if (lean_is_scalar(x_905)) { - x_920 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_915, 0, x_914); +lean_ctor_set(x_915, 1, x_913); +x_916 = lean_array_push(x_911, x_915); +x_917 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_917, 0, x_12); +lean_ctor_set(x_917, 1, x_916); +if (lean_is_scalar(x_903)) { + x_918 = lean_alloc_ctor(0, 2, 0); } else { - x_920 = x_905; + x_918 = x_903; } -lean_ctor_set(x_920, 0, x_919); -lean_ctor_set(x_920, 1, x_904); -return x_920; +lean_ctor_set(x_918, 0, x_917); +lean_ctor_set(x_918, 1, x_902); +return x_918; } else { -lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; -lean_dec(x_895); -lean_dec(x_890); -lean_dec(x_856); +lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; +lean_dec(x_893); +lean_dec(x_888); +lean_dec(x_854); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_921 = lean_ctor_get(x_896, 0); -lean_inc(x_921); -x_922 = lean_ctor_get(x_896, 1); -lean_inc(x_922); -if (lean_is_exclusive(x_896)) { - lean_ctor_release(x_896, 0); - lean_ctor_release(x_896, 1); - x_923 = x_896; +x_919 = lean_ctor_get(x_894, 0); +lean_inc(x_919); +x_920 = lean_ctor_get(x_894, 1); +lean_inc(x_920); +if (lean_is_exclusive(x_894)) { + lean_ctor_release(x_894, 0); + lean_ctor_release(x_894, 1); + x_921 = x_894; } else { - lean_dec_ref(x_896); - x_923 = lean_box(0); + lean_dec_ref(x_894); + x_921 = lean_box(0); } -if (lean_is_scalar(x_923)) { - x_924 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_921)) { + x_922 = lean_alloc_ctor(1, 2, 0); } else { - x_924 = x_923; + x_922 = x_921; } -lean_ctor_set(x_924, 0, x_921); -lean_ctor_set(x_924, 1, x_922); -return x_924; +lean_ctor_set(x_922, 0, x_919); +lean_ctor_set(x_922, 1, x_920); +return x_922; } } else { -lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; -lean_dec(x_890); -lean_dec(x_856); +lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; +lean_dec(x_888); +lean_dec(x_854); lean_dec(x_7); lean_dec(x_8); lean_dec(x_6); @@ -12110,175 +12629,175 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_925 = lean_ctor_get(x_891, 0); -lean_inc(x_925); -x_926 = lean_ctor_get(x_891, 1); -lean_inc(x_926); -if (lean_is_exclusive(x_891)) { - lean_ctor_release(x_891, 0); - lean_ctor_release(x_891, 1); - x_927 = x_891; +x_923 = lean_ctor_get(x_889, 0); +lean_inc(x_923); +x_924 = lean_ctor_get(x_889, 1); +lean_inc(x_924); +if (lean_is_exclusive(x_889)) { + lean_ctor_release(x_889, 0); + lean_ctor_release(x_889, 1); + x_925 = x_889; } else { - lean_dec_ref(x_891); - x_927 = lean_box(0); + lean_dec_ref(x_889); + x_925 = lean_box(0); } -if (lean_is_scalar(x_927)) { - x_928 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_925)) { + x_926 = lean_alloc_ctor(1, 2, 0); } else { - x_928 = x_927; + x_926 = x_925; } -lean_ctor_set(x_928, 0, x_925); -lean_ctor_set(x_928, 1, x_926); -return x_928; +lean_ctor_set(x_926, 0, x_923); +lean_ctor_set(x_926, 1, x_924); +return x_926; } } } else { -lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; -lean_dec(x_844); +lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; +lean_dec(x_842); lean_dec(x_10); -x_929 = lean_unsigned_to_nat(0u); -x_930 = l_Lean_Syntax_getArg(x_1, x_929); +x_927 = lean_unsigned_to_nat(0u); +x_928 = l_Lean_Syntax_getArg(x_1, x_927); lean_dec(x_1); -x_931 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_932 = l_Lean_Elab_Term_CollectPatternVars_processCtor(x_931, x_930, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); -return x_932; +x_929 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_930 = l_Lean_Elab_Term_CollectPatternVars_processCtor(x_929, x_928, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); +return x_930; } } else { -lean_object* x_933; lean_object* x_934; uint8_t x_935; -x_933 = l_Lean_Syntax_inhabited; -x_934 = lean_array_get(x_933, x_11, x_839); -x_935 = l_Lean_Syntax_isNone(x_934); -if (x_935 == 0) +lean_object* x_931; lean_object* x_932; uint8_t x_933; +x_931 = l_Lean_Syntax_inhabited; +x_932 = lean_array_get(x_931, x_11, x_837); +x_933 = l_Lean_Syntax_isNone(x_932); +if (x_933 == 0) { -lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; uint8_t x_940; -lean_dec(x_844); +lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; uint8_t x_938; +lean_dec(x_842); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); - x_936 = x_1; + x_934 = x_1; } else { lean_dec_ref(x_1); - x_936 = lean_box(0); + x_934 = lean_box(0); } -x_937 = lean_unsigned_to_nat(0u); -x_938 = l_Lean_Syntax_getArg(x_934, x_937); -x_939 = l_Lean_Syntax_getArg(x_934, x_839); -x_940 = l_Lean_Syntax_isNone(x_939); -if (x_940 == 0) +x_935 = lean_unsigned_to_nat(0u); +x_936 = l_Lean_Syntax_getArg(x_932, x_935); +x_937 = l_Lean_Syntax_getArg(x_932, x_837); +x_938 = l_Lean_Syntax_isNone(x_937); +if (x_938 == 0) { -lean_object* x_941; lean_object* x_942; uint8_t x_943; -x_941 = l_Lean_Syntax_getArg(x_939, x_937); -x_942 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__24; -lean_inc(x_941); -x_943 = l_Lean_Syntax_isOfKind(x_941, x_942); -if (x_943 == 0) +lean_object* x_939; lean_object* x_940; uint8_t x_941; +x_939 = l_Lean_Syntax_getArg(x_937, x_935); +x_940 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__24; +lean_inc(x_939); +x_941 = l_Lean_Syntax_isOfKind(x_939, x_940); +if (x_941 == 0) { -lean_object* x_944; +lean_object* x_942; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_856); +lean_inc(x_854); lean_inc(x_2); -x_944 = l___private_Lean_Elab_Match_29__collect___main(x_938, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); -if (lean_obj_tag(x_944) == 0) +x_942 = l___private_Lean_Elab_Match_28__collect___main(x_936, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); +if (lean_obj_tag(x_942) == 0) { -lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; -x_945 = lean_ctor_get(x_944, 0); -lean_inc(x_945); -x_946 = lean_ctor_get(x_944, 1); -lean_inc(x_946); -lean_dec(x_944); -x_947 = l_Lean_Syntax_setArg(x_934, x_937, x_945); -x_948 = l_Lean_Syntax_getArg(x_941, x_839); -x_949 = l_Lean_Syntax_getArgs(x_948); -lean_dec(x_948); -x_950 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_951 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_949, x_950, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_946); -lean_dec(x_949); -if (lean_obj_tag(x_951) == 0) -{ -lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; -x_952 = lean_ctor_get(x_951, 0); -lean_inc(x_952); -x_953 = lean_ctor_get(x_951, 1); -lean_inc(x_953); -if (lean_is_exclusive(x_951)) { - lean_ctor_release(x_951, 0); - lean_ctor_release(x_951, 1); - x_954 = x_951; -} else { - lean_dec_ref(x_951); - x_954 = lean_box(0); -} -x_955 = l_Lean_nullKind; -if (lean_is_scalar(x_936)) { - x_956 = lean_alloc_ctor(1, 2, 0); -} else { - x_956 = x_936; -} -lean_ctor_set(x_956, 0, x_955); -lean_ctor_set(x_956, 1, x_952); -x_957 = l_Lean_Syntax_setArg(x_941, x_839, x_956); -x_958 = l_Lean_Syntax_setArg(x_939, x_937, x_957); -x_959 = l_Lean_Syntax_setArg(x_947, x_839, x_958); -x_960 = lean_array_set(x_11, x_839, x_959); -x_961 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_961, 0, x_10); -lean_ctor_set(x_961, 1, x_960); -if (lean_is_scalar(x_954)) { - x_962 = lean_alloc_ctor(0, 2, 0); -} else { - x_962 = x_954; -} -lean_ctor_set(x_962, 0, x_961); -lean_ctor_set(x_962, 1, x_953); -return x_962; -} -else -{ -lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; +lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; +x_943 = lean_ctor_get(x_942, 0); +lean_inc(x_943); +x_944 = lean_ctor_get(x_942, 1); +lean_inc(x_944); +lean_dec(x_942); +x_945 = l_Lean_Syntax_setArg(x_932, x_935, x_943); +x_946 = l_Lean_Syntax_getArg(x_939, x_837); +x_947 = l_Lean_Syntax_getArgs(x_946); +lean_dec(x_946); +x_948 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_949 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_947, x_948, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_944); lean_dec(x_947); -lean_dec(x_941); +if (lean_obj_tag(x_949) == 0) +{ +lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; +x_950 = lean_ctor_get(x_949, 0); +lean_inc(x_950); +x_951 = lean_ctor_get(x_949, 1); +lean_inc(x_951); +if (lean_is_exclusive(x_949)) { + lean_ctor_release(x_949, 0); + lean_ctor_release(x_949, 1); + x_952 = x_949; +} else { + lean_dec_ref(x_949); + x_952 = lean_box(0); +} +x_953 = l_Lean_nullKind; +if (lean_is_scalar(x_934)) { + x_954 = lean_alloc_ctor(1, 2, 0); +} else { + x_954 = x_934; +} +lean_ctor_set(x_954, 0, x_953); +lean_ctor_set(x_954, 1, x_950); +x_955 = l_Lean_Syntax_setArg(x_939, x_837, x_954); +x_956 = l_Lean_Syntax_setArg(x_937, x_935, x_955); +x_957 = l_Lean_Syntax_setArg(x_945, x_837, x_956); +x_958 = lean_array_set(x_11, x_837, x_957); +x_959 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_959, 0, x_10); +lean_ctor_set(x_959, 1, x_958); +if (lean_is_scalar(x_952)) { + x_960 = lean_alloc_ctor(0, 2, 0); +} else { + x_960 = x_952; +} +lean_ctor_set(x_960, 0, x_959); +lean_ctor_set(x_960, 1, x_951); +return x_960; +} +else +{ +lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; +lean_dec(x_945); lean_dec(x_939); -lean_dec(x_936); +lean_dec(x_937); +lean_dec(x_934); lean_dec(x_11); lean_dec(x_10); -x_963 = lean_ctor_get(x_951, 0); -lean_inc(x_963); -x_964 = lean_ctor_get(x_951, 1); -lean_inc(x_964); -if (lean_is_exclusive(x_951)) { - lean_ctor_release(x_951, 0); - lean_ctor_release(x_951, 1); - x_965 = x_951; +x_961 = lean_ctor_get(x_949, 0); +lean_inc(x_961); +x_962 = lean_ctor_get(x_949, 1); +lean_inc(x_962); +if (lean_is_exclusive(x_949)) { + lean_ctor_release(x_949, 0); + lean_ctor_release(x_949, 1); + x_963 = x_949; } else { - lean_dec_ref(x_951); - x_965 = lean_box(0); + lean_dec_ref(x_949); + x_963 = lean_box(0); } -if (lean_is_scalar(x_965)) { - x_966 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_963)) { + x_964 = lean_alloc_ctor(1, 2, 0); } else { - x_966 = x_965; + x_964 = x_963; } -lean_ctor_set(x_966, 0, x_963); -lean_ctor_set(x_966, 1, x_964); -return x_966; +lean_ctor_set(x_964, 0, x_961); +lean_ctor_set(x_964, 1, x_962); +return x_964; } } else { -lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; -lean_dec(x_941); +lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_dec(x_939); -lean_dec(x_936); +lean_dec(x_937); lean_dec(x_934); -lean_dec(x_856); +lean_dec(x_932); +lean_dec(x_854); lean_dec(x_7); lean_dec(x_11); lean_dec(x_10); @@ -12287,170 +12806,170 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_967 = lean_ctor_get(x_944, 0); -lean_inc(x_967); -x_968 = lean_ctor_get(x_944, 1); -lean_inc(x_968); -if (lean_is_exclusive(x_944)) { - lean_ctor_release(x_944, 0); - lean_ctor_release(x_944, 1); - x_969 = x_944; +x_965 = lean_ctor_get(x_942, 0); +lean_inc(x_965); +x_966 = lean_ctor_get(x_942, 1); +lean_inc(x_966); +if (lean_is_exclusive(x_942)) { + lean_ctor_release(x_942, 0); + lean_ctor_release(x_942, 1); + x_967 = x_942; } else { - lean_dec_ref(x_944); - x_969 = lean_box(0); + lean_dec_ref(x_942); + x_967 = lean_box(0); } -if (lean_is_scalar(x_969)) { - x_970 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_967)) { + x_968 = lean_alloc_ctor(1, 2, 0); } else { - x_970 = x_969; + x_968 = x_967; } -lean_ctor_set(x_970, 0, x_967); -lean_ctor_set(x_970, 1, x_968); -return x_970; +lean_ctor_set(x_968, 0, x_965); +lean_ctor_set(x_968, 1, x_966); +return x_968; } } else { -lean_object* x_971; -lean_dec(x_941); +lean_object* x_969; lean_dec(x_939); -x_971 = l___private_Lean_Elab_Match_29__collect___main(x_938, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); -if (lean_obj_tag(x_971) == 0) +lean_dec(x_937); +x_969 = l___private_Lean_Elab_Match_28__collect___main(x_936, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); +if (lean_obj_tag(x_969) == 0) { -lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; -x_972 = lean_ctor_get(x_971, 0); -lean_inc(x_972); -x_973 = lean_ctor_get(x_971, 1); -lean_inc(x_973); -if (lean_is_exclusive(x_971)) { - lean_ctor_release(x_971, 0); - lean_ctor_release(x_971, 1); - x_974 = x_971; +lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; +x_970 = lean_ctor_get(x_969, 0); +lean_inc(x_970); +x_971 = lean_ctor_get(x_969, 1); +lean_inc(x_971); +if (lean_is_exclusive(x_969)) { + lean_ctor_release(x_969, 0); + lean_ctor_release(x_969, 1); + x_972 = x_969; } else { - lean_dec_ref(x_971); - x_974 = lean_box(0); + lean_dec_ref(x_969); + x_972 = lean_box(0); } -x_975 = l_Lean_Syntax_setArg(x_934, x_937, x_972); -x_976 = lean_array_set(x_11, x_839, x_975); -if (lean_is_scalar(x_936)) { - x_977 = lean_alloc_ctor(1, 2, 0); +x_973 = l_Lean_Syntax_setArg(x_932, x_935, x_970); +x_974 = lean_array_set(x_11, x_837, x_973); +if (lean_is_scalar(x_934)) { + x_975 = lean_alloc_ctor(1, 2, 0); } else { - x_977 = x_936; + x_975 = x_934; } -lean_ctor_set(x_977, 0, x_10); -lean_ctor_set(x_977, 1, x_976); -if (lean_is_scalar(x_974)) { - x_978 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_975, 0, x_10); +lean_ctor_set(x_975, 1, x_974); +if (lean_is_scalar(x_972)) { + x_976 = lean_alloc_ctor(0, 2, 0); } else { - x_978 = x_974; + x_976 = x_972; } -lean_ctor_set(x_978, 0, x_977); -lean_ctor_set(x_978, 1, x_973); -return x_978; +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_971); +return x_976; } else { -lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; -lean_dec(x_936); +lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_dec(x_934); +lean_dec(x_932); lean_dec(x_11); lean_dec(x_10); -x_979 = lean_ctor_get(x_971, 0); -lean_inc(x_979); -x_980 = lean_ctor_get(x_971, 1); -lean_inc(x_980); -if (lean_is_exclusive(x_971)) { - lean_ctor_release(x_971, 0); - lean_ctor_release(x_971, 1); - x_981 = x_971; +x_977 = lean_ctor_get(x_969, 0); +lean_inc(x_977); +x_978 = lean_ctor_get(x_969, 1); +lean_inc(x_978); +if (lean_is_exclusive(x_969)) { + lean_ctor_release(x_969, 0); + lean_ctor_release(x_969, 1); + x_979 = x_969; } else { - lean_dec_ref(x_971); - x_981 = lean_box(0); + lean_dec_ref(x_969); + x_979 = lean_box(0); } -if (lean_is_scalar(x_981)) { - x_982 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_979)) { + x_980 = lean_alloc_ctor(1, 2, 0); } else { - x_982 = x_981; + x_980 = x_979; } -lean_ctor_set(x_982, 0, x_979); -lean_ctor_set(x_982, 1, x_980); -return x_982; +lean_ctor_set(x_980, 0, x_977); +lean_ctor_set(x_980, 1, x_978); +return x_980; } } } else { -lean_object* x_983; -lean_dec(x_939); -x_983 = l___private_Lean_Elab_Match_29__collect___main(x_938, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); -if (lean_obj_tag(x_983) == 0) +lean_object* x_981; +lean_dec(x_937); +x_981 = l___private_Lean_Elab_Match_28__collect___main(x_936, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); +if (lean_obj_tag(x_981) == 0) { -lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; -x_984 = lean_ctor_get(x_983, 0); -lean_inc(x_984); -x_985 = lean_ctor_get(x_983, 1); -lean_inc(x_985); -if (lean_is_exclusive(x_983)) { - lean_ctor_release(x_983, 0); - lean_ctor_release(x_983, 1); - x_986 = x_983; +lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; +x_982 = lean_ctor_get(x_981, 0); +lean_inc(x_982); +x_983 = lean_ctor_get(x_981, 1); +lean_inc(x_983); +if (lean_is_exclusive(x_981)) { + lean_ctor_release(x_981, 0); + lean_ctor_release(x_981, 1); + x_984 = x_981; } else { - lean_dec_ref(x_983); - x_986 = lean_box(0); + lean_dec_ref(x_981); + x_984 = lean_box(0); } -x_987 = l_Lean_Syntax_setArg(x_934, x_937, x_984); -x_988 = lean_array_set(x_11, x_839, x_987); -if (lean_is_scalar(x_936)) { - x_989 = lean_alloc_ctor(1, 2, 0); +x_985 = l_Lean_Syntax_setArg(x_932, x_935, x_982); +x_986 = lean_array_set(x_11, x_837, x_985); +if (lean_is_scalar(x_934)) { + x_987 = lean_alloc_ctor(1, 2, 0); } else { - x_989 = x_936; + x_987 = x_934; } -lean_ctor_set(x_989, 0, x_10); -lean_ctor_set(x_989, 1, x_988); -if (lean_is_scalar(x_986)) { - x_990 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_987, 0, x_10); +lean_ctor_set(x_987, 1, x_986); +if (lean_is_scalar(x_984)) { + x_988 = lean_alloc_ctor(0, 2, 0); } else { - x_990 = x_986; + x_988 = x_984; } -lean_ctor_set(x_990, 0, x_989); -lean_ctor_set(x_990, 1, x_985); -return x_990; +lean_ctor_set(x_988, 0, x_987); +lean_ctor_set(x_988, 1, x_983); +return x_988; } else { -lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; -lean_dec(x_936); +lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_dec(x_934); +lean_dec(x_932); lean_dec(x_11); lean_dec(x_10); -x_991 = lean_ctor_get(x_983, 0); -lean_inc(x_991); -x_992 = lean_ctor_get(x_983, 1); -lean_inc(x_992); -if (lean_is_exclusive(x_983)) { - lean_ctor_release(x_983, 0); - lean_ctor_release(x_983, 1); - x_993 = x_983; +x_989 = lean_ctor_get(x_981, 0); +lean_inc(x_989); +x_990 = lean_ctor_get(x_981, 1); +lean_inc(x_990); +if (lean_is_exclusive(x_981)) { + lean_ctor_release(x_981, 0); + lean_ctor_release(x_981, 1); + x_991 = x_981; } else { - lean_dec_ref(x_983); - x_993 = lean_box(0); + lean_dec_ref(x_981); + x_991 = lean_box(0); } -if (lean_is_scalar(x_993)) { - x_994 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_991)) { + x_992 = lean_alloc_ctor(1, 2, 0); } else { - x_994 = x_993; + x_992 = x_991; } -lean_ctor_set(x_994, 0, x_991); -lean_ctor_set(x_994, 1, x_992); -return x_994; +lean_ctor_set(x_992, 0, x_989); +lean_ctor_set(x_992, 1, x_990); +return x_992; } } } else { -lean_object* x_995; -lean_dec(x_934); -lean_dec(x_856); +lean_object* x_993; +lean_dec(x_932); +lean_dec(x_854); lean_dec(x_7); lean_dec(x_11); lean_dec(x_10); @@ -12459,22 +12978,22 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -if (lean_is_scalar(x_844)) { - x_995 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_842)) { + x_993 = lean_alloc_ctor(0, 2, 0); } else { - x_995 = x_844; + x_993 = x_842; } -lean_ctor_set(x_995, 0, x_1); -lean_ctor_set(x_995, 1, x_843); -return x_995; +lean_ctor_set(x_993, 0, x_1); +lean_ctor_set(x_993, 1, x_841); +return x_993; } } } else { -lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; -lean_dec(x_856); -lean_dec(x_844); +lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; +lean_dec(x_854); +lean_dec(x_842); lean_dec(x_7); lean_dec(x_11); lean_dec(x_10); @@ -12482,414 +13001,406 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_996 = l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg(x_8, x_843); +x_994 = l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg(x_8, x_841); lean_dec(x_8); -x_997 = lean_ctor_get(x_996, 0); -lean_inc(x_997); -x_998 = lean_ctor_get(x_996, 1); +x_995 = lean_ctor_get(x_994, 0); +lean_inc(x_995); +x_996 = lean_ctor_get(x_994, 1); +lean_inc(x_996); +lean_dec(x_994); +x_997 = lean_st_ref_take(x_2, x_996); +x_998 = lean_ctor_get(x_997, 0); lean_inc(x_998); -lean_dec(x_996); -x_999 = lean_st_ref_take(x_2, x_998); -x_1000 = lean_ctor_get(x_999, 0); +x_999 = lean_ctor_get(x_997, 1); +lean_inc(x_999); +lean_dec(x_997); +x_1000 = lean_ctor_get(x_998, 0); lean_inc(x_1000); -x_1001 = lean_ctor_get(x_999, 1); +x_1001 = lean_ctor_get(x_998, 1); lean_inc(x_1001); -lean_dec(x_999); -x_1002 = lean_ctor_get(x_1000, 0); -lean_inc(x_1002); -x_1003 = lean_ctor_get(x_1000, 1); -lean_inc(x_1003); -if (lean_is_exclusive(x_1000)) { - lean_ctor_release(x_1000, 0); - lean_ctor_release(x_1000, 1); - x_1004 = x_1000; +if (lean_is_exclusive(x_998)) { + lean_ctor_release(x_998, 0); + lean_ctor_release(x_998, 1); + x_1002 = x_998; } else { - lean_dec_ref(x_1000); - x_1004 = lean_box(0); + lean_dec_ref(x_998); + x_1002 = lean_box(0); } -x_1005 = l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(x_997); -x_1006 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1006, 0, x_1005); -x_1007 = lean_array_push(x_1003, x_1006); -if (lean_is_scalar(x_1004)) { - x_1008 = lean_alloc_ctor(0, 2, 0); +x_1003 = l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(x_995); +x_1004 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1004, 0, x_1003); +x_1005 = lean_array_push(x_1001, x_1004); +if (lean_is_scalar(x_1002)) { + x_1006 = lean_alloc_ctor(0, 2, 0); } else { - x_1008 = x_1004; + x_1006 = x_1002; } -lean_ctor_set(x_1008, 0, x_1002); -lean_ctor_set(x_1008, 1, x_1007); -x_1009 = lean_st_ref_set(x_2, x_1008, x_1001); +lean_ctor_set(x_1006, 0, x_1000); +lean_ctor_set(x_1006, 1, x_1005); +x_1007 = lean_st_ref_set(x_2, x_1006, x_999); lean_dec(x_2); -x_1010 = lean_ctor_get(x_1009, 1); -lean_inc(x_1010); -if (lean_is_exclusive(x_1009)) { - lean_ctor_release(x_1009, 0); - lean_ctor_release(x_1009, 1); - x_1011 = x_1009; +x_1008 = lean_ctor_get(x_1007, 1); +lean_inc(x_1008); +if (lean_is_exclusive(x_1007)) { + lean_ctor_release(x_1007, 0); + lean_ctor_release(x_1007, 1); + x_1009 = x_1007; } else { - lean_dec_ref(x_1009); + lean_dec_ref(x_1007); + x_1009 = lean_box(0); +} +if (lean_is_scalar(x_1009)) { + x_1010 = lean_alloc_ctor(0, 2, 0); +} else { + x_1010 = x_1009; +} +lean_ctor_set(x_1010, 0, x_995); +lean_ctor_set(x_1010, 1, x_1008); +return x_1010; +} +} +else +{ +lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; uint8_t x_1014; +lean_dec(x_842); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_1011 = x_1; +} else { + lean_dec_ref(x_1); x_1011 = lean_box(0); } -if (lean_is_scalar(x_1011)) { - x_1012 = lean_alloc_ctor(0, 2, 0); -} else { - x_1012 = x_1011; -} -lean_ctor_set(x_1012, 0, x_997); -lean_ctor_set(x_1012, 1, x_1010); -return x_1012; -} -} -else +x_1012 = l_Lean_Syntax_inhabited; +x_1013 = lean_array_get(x_1012, x_11, x_837); +x_1014 = l_Lean_Syntax_isNone(x_1013); +if (x_1014 == 0) { -lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; uint8_t x_1016; -lean_dec(x_844); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_1013 = x_1; -} else { - lean_dec_ref(x_1); - x_1013 = lean_box(0); -} -x_1014 = l_Lean_Syntax_inhabited; -x_1015 = lean_array_get(x_1014, x_11, x_839); -x_1016 = l_Lean_Syntax_isNone(x_1015); -if (x_1016 == 0) -{ -lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; -lean_dec(x_1013); +lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; +lean_dec(x_1011); lean_dec(x_11); lean_dec(x_10); -x_1017 = l___private_Lean_Elab_Match_29__collect___main___closed__14; -x_1018 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg(x_1015, x_1017, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); +x_1015 = l___private_Lean_Elab_Match_28__collect___main___closed__14; +x_1016 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(x_1013, x_1015, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1015); -x_1019 = lean_ctor_get(x_1018, 0); -lean_inc(x_1019); -x_1020 = lean_ctor_get(x_1018, 1); -lean_inc(x_1020); -if (lean_is_exclusive(x_1018)) { - lean_ctor_release(x_1018, 0); - lean_ctor_release(x_1018, 1); - x_1021 = x_1018; -} else { - lean_dec_ref(x_1018); - x_1021 = lean_box(0); -} -if (lean_is_scalar(x_1021)) { - x_1022 = lean_alloc_ctor(1, 2, 0); -} else { - x_1022 = x_1021; -} -lean_ctor_set(x_1022, 0, x_1019); -lean_ctor_set(x_1022, 1, x_1020); -return x_1022; -} -else -{ -lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; -lean_dec(x_1015); -x_1023 = lean_unsigned_to_nat(2u); -x_1024 = lean_array_get(x_1014, x_11, x_1023); -x_1025 = l_Lean_Syntax_getArgs(x_1024); -lean_dec(x_1024); -x_1026 = l___private_Lean_Elab_Match_29__collect___main___closed__15; -x_1027 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_1025, x_1026, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); -lean_dec(x_1025); -if (lean_obj_tag(x_1027) == 0) -{ -lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; -x_1028 = lean_ctor_get(x_1027, 0); -lean_inc(x_1028); -x_1029 = lean_ctor_get(x_1027, 1); -lean_inc(x_1029); -if (lean_is_exclusive(x_1027)) { - lean_ctor_release(x_1027, 0); - lean_ctor_release(x_1027, 1); - x_1030 = x_1027; -} else { - lean_dec_ref(x_1027); - x_1030 = lean_box(0); -} -x_1031 = l_Lean_nullKind; -if (lean_is_scalar(x_1013)) { - x_1032 = lean_alloc_ctor(1, 2, 0); -} else { - x_1032 = x_1013; -} -lean_ctor_set(x_1032, 0, x_1031); -lean_ctor_set(x_1032, 1, x_1028); -x_1033 = lean_array_set(x_11, x_1023, x_1032); -x_1034 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1034, 0, x_10); -lean_ctor_set(x_1034, 1, x_1033); -if (lean_is_scalar(x_1030)) { - x_1035 = lean_alloc_ctor(0, 2, 0); -} else { - x_1035 = x_1030; -} -lean_ctor_set(x_1035, 0, x_1034); -lean_ctor_set(x_1035, 1, x_1029); -return x_1035; -} -else -{ -lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_dec(x_1013); +x_1017 = lean_ctor_get(x_1016, 0); +lean_inc(x_1017); +x_1018 = lean_ctor_get(x_1016, 1); +lean_inc(x_1018); +if (lean_is_exclusive(x_1016)) { + lean_ctor_release(x_1016, 0); + lean_ctor_release(x_1016, 1); + x_1019 = x_1016; +} else { + lean_dec_ref(x_1016); + x_1019 = lean_box(0); +} +if (lean_is_scalar(x_1019)) { + x_1020 = lean_alloc_ctor(1, 2, 0); +} else { + x_1020 = x_1019; +} +lean_ctor_set(x_1020, 0, x_1017); +lean_ctor_set(x_1020, 1, x_1018); +return x_1020; +} +else +{ +lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; +lean_dec(x_1013); +x_1021 = lean_unsigned_to_nat(2u); +x_1022 = lean_array_get(x_1012, x_11, x_1021); +x_1023 = l_Lean_Syntax_getArgs(x_1022); +lean_dec(x_1022); +x_1024 = l___private_Lean_Elab_Match_28__collect___main___closed__15; +x_1025 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_1023, x_1024, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); +lean_dec(x_1023); +if (lean_obj_tag(x_1025) == 0) +{ +lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; +x_1026 = lean_ctor_get(x_1025, 0); +lean_inc(x_1026); +x_1027 = lean_ctor_get(x_1025, 1); +lean_inc(x_1027); +if (lean_is_exclusive(x_1025)) { + lean_ctor_release(x_1025, 0); + lean_ctor_release(x_1025, 1); + x_1028 = x_1025; +} else { + lean_dec_ref(x_1025); + x_1028 = lean_box(0); +} +x_1029 = l_Lean_nullKind; +if (lean_is_scalar(x_1011)) { + x_1030 = lean_alloc_ctor(1, 2, 0); +} else { + x_1030 = x_1011; +} +lean_ctor_set(x_1030, 0, x_1029); +lean_ctor_set(x_1030, 1, x_1026); +x_1031 = lean_array_set(x_11, x_1021, x_1030); +x_1032 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1032, 0, x_10); +lean_ctor_set(x_1032, 1, x_1031); +if (lean_is_scalar(x_1028)) { + x_1033 = lean_alloc_ctor(0, 2, 0); +} else { + x_1033 = x_1028; +} +lean_ctor_set(x_1033, 0, x_1032); +lean_ctor_set(x_1033, 1, x_1027); +return x_1033; +} +else +{ +lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; +lean_dec(x_1011); lean_dec(x_11); lean_dec(x_10); -x_1036 = lean_ctor_get(x_1027, 0); -lean_inc(x_1036); -x_1037 = lean_ctor_get(x_1027, 1); -lean_inc(x_1037); -if (lean_is_exclusive(x_1027)) { - lean_ctor_release(x_1027, 0); - lean_ctor_release(x_1027, 1); - x_1038 = x_1027; +x_1034 = lean_ctor_get(x_1025, 0); +lean_inc(x_1034); +x_1035 = lean_ctor_get(x_1025, 1); +lean_inc(x_1035); +if (lean_is_exclusive(x_1025)) { + lean_ctor_release(x_1025, 0); + lean_ctor_release(x_1025, 1); + x_1036 = x_1025; } else { - lean_dec_ref(x_1027); - x_1038 = lean_box(0); + lean_dec_ref(x_1025); + x_1036 = lean_box(0); } -if (lean_is_scalar(x_1038)) { - x_1039 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1036)) { + x_1037 = lean_alloc_ctor(1, 2, 0); } else { - x_1039 = x_1038; + x_1037 = x_1036; } -lean_ctor_set(x_1039, 0, x_1036); -lean_ctor_set(x_1039, 1, x_1037); -return x_1039; +lean_ctor_set(x_1037, 0, x_1034); +lean_ctor_set(x_1037, 1, x_1035); +return x_1037; } } } } else { -lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; -lean_dec(x_844); +lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; +lean_dec(x_842); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); - x_1040 = x_1; + x_1038 = x_1; } else { lean_dec_ref(x_1); - x_1040 = lean_box(0); + x_1038 = lean_box(0); } -x_1041 = l_Lean_Syntax_inhabited; -x_1042 = lean_array_get(x_1041, x_11, x_839); -x_1043 = l_Lean_Syntax_getArgs(x_1042); -lean_dec(x_1042); -x_1044 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_1045 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_1043, x_1044, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); -lean_dec(x_1043); -if (lean_obj_tag(x_1045) == 0) +x_1039 = l_Lean_Syntax_inhabited; +x_1040 = lean_array_get(x_1039, x_11, x_837); +x_1041 = l_Lean_Syntax_getArgs(x_1040); +lean_dec(x_1040); +x_1042 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_1043 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_1041, x_1042, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); +lean_dec(x_1041); +if (lean_obj_tag(x_1043) == 0) { -lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; -x_1046 = lean_ctor_get(x_1045, 0); -lean_inc(x_1046); -x_1047 = lean_ctor_get(x_1045, 1); -lean_inc(x_1047); -if (lean_is_exclusive(x_1045)) { - lean_ctor_release(x_1045, 0); - lean_ctor_release(x_1045, 1); - x_1048 = x_1045; +lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; +x_1044 = lean_ctor_get(x_1043, 0); +lean_inc(x_1044); +x_1045 = lean_ctor_get(x_1043, 1); +lean_inc(x_1045); +if (lean_is_exclusive(x_1043)) { + lean_ctor_release(x_1043, 0); + lean_ctor_release(x_1043, 1); + x_1046 = x_1043; } else { - lean_dec_ref(x_1045); - x_1048 = lean_box(0); + lean_dec_ref(x_1043); + x_1046 = lean_box(0); } -x_1049 = l_Lean_nullKind; -if (lean_is_scalar(x_1040)) { - x_1050 = lean_alloc_ctor(1, 2, 0); +x_1047 = l_Lean_nullKind; +if (lean_is_scalar(x_1038)) { + x_1048 = lean_alloc_ctor(1, 2, 0); } else { - x_1050 = x_1040; + x_1048 = x_1038; } -lean_ctor_set(x_1050, 0, x_1049); -lean_ctor_set(x_1050, 1, x_1046); -x_1051 = lean_array_set(x_11, x_839, x_1050); -x_1052 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1052, 0, x_10); -lean_ctor_set(x_1052, 1, x_1051); -if (lean_is_scalar(x_1048)) { - x_1053 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1048, 0, x_1047); +lean_ctor_set(x_1048, 1, x_1044); +x_1049 = lean_array_set(x_11, x_837, x_1048); +x_1050 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1050, 0, x_10); +lean_ctor_set(x_1050, 1, x_1049); +if (lean_is_scalar(x_1046)) { + x_1051 = lean_alloc_ctor(0, 2, 0); } else { - x_1053 = x_1048; + x_1051 = x_1046; } -lean_ctor_set(x_1053, 0, x_1052); -lean_ctor_set(x_1053, 1, x_1047); -return x_1053; +lean_ctor_set(x_1051, 0, x_1050); +lean_ctor_set(x_1051, 1, x_1045); +return x_1051; } else { -lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; -lean_dec(x_1040); +lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; +lean_dec(x_1038); lean_dec(x_11); lean_dec(x_10); -x_1054 = lean_ctor_get(x_1045, 0); -lean_inc(x_1054); -x_1055 = lean_ctor_get(x_1045, 1); -lean_inc(x_1055); -if (lean_is_exclusive(x_1045)) { - lean_ctor_release(x_1045, 0); - lean_ctor_release(x_1045, 1); - x_1056 = x_1045; +x_1052 = lean_ctor_get(x_1043, 0); +lean_inc(x_1052); +x_1053 = lean_ctor_get(x_1043, 1); +lean_inc(x_1053); +if (lean_is_exclusive(x_1043)) { + lean_ctor_release(x_1043, 0); + lean_ctor_release(x_1043, 1); + x_1054 = x_1043; } else { - lean_dec_ref(x_1045); - x_1056 = lean_box(0); + lean_dec_ref(x_1043); + x_1054 = lean_box(0); } -if (lean_is_scalar(x_1056)) { - x_1057 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1054)) { + x_1055 = lean_alloc_ctor(1, 2, 0); } else { - x_1057 = x_1056; + x_1055 = x_1054; } -lean_ctor_set(x_1057, 0, x_1054); -lean_ctor_set(x_1057, 1, x_1055); +lean_ctor_set(x_1055, 0, x_1052); +lean_ctor_set(x_1055, 1, x_1053); +return x_1055; +} +} +} +else +{ +lean_object* x_1056; lean_object* x_1057; +lean_dec(x_842); +lean_dec(x_11); +lean_dec(x_10); +x_1056 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_1057 = l_Lean_Elab_Term_CollectPatternVars_processCtorApp(x_1056, x_1, x_2, x_854, x_4, x_5, x_6, x_7, x_8, x_841); +lean_dec(x_1); return x_1057; } } } -else -{ -lean_object* x_1058; lean_object* x_1059; -lean_dec(x_844); -lean_dec(x_11); -lean_dec(x_10); -x_1058 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_1059 = l_Lean_Elab_Term_CollectPatternVars_processCtorApp(x_1058, x_1, x_2, x_856, x_4, x_5, x_6, x_7, x_8, x_843); -lean_dec(x_1); -return x_1059; -} -} -} } else { -lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; uint8_t x_1076; lean_object* x_1077; lean_object* x_1078; -x_1067 = lean_ctor_get(x_7, 0); -x_1068 = lean_ctor_get(x_7, 1); -x_1069 = lean_ctor_get(x_7, 2); -x_1070 = lean_ctor_get(x_7, 3); -lean_inc(x_1070); -lean_inc(x_1069); +lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; uint8_t x_1074; lean_object* x_1075; lean_object* x_1076; +x_1065 = lean_ctor_get(x_7, 0); +x_1066 = lean_ctor_get(x_7, 1); +x_1067 = lean_ctor_get(x_7, 2); +x_1068 = lean_ctor_get(x_7, 3); lean_inc(x_1068); lean_inc(x_1067); +lean_inc(x_1066); +lean_inc(x_1065); lean_dec(x_7); -x_1071 = l_Lean_replaceRef(x_1, x_1070); -x_1072 = l_Lean_replaceRef(x_1071, x_1070); -lean_dec(x_1071); -x_1073 = l_Lean_replaceRef(x_1072, x_1070); +x_1069 = l_Lean_replaceRef(x_1, x_1068); +x_1070 = l_Lean_replaceRef(x_1069, x_1068); +lean_dec(x_1069); +x_1071 = l_Lean_replaceRef(x_1070, x_1068); +lean_dec(x_1068); lean_dec(x_1070); -lean_dec(x_1072); -x_1074 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1074, 0, x_1067); -lean_ctor_set(x_1074, 1, x_1068); -lean_ctor_set(x_1074, 2, x_1069); -lean_ctor_set(x_1074, 3, x_1073); -x_1075 = lean_st_ref_take(x_4, x_9); +x_1072 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1072, 0, x_1065); +lean_ctor_set(x_1072, 1, x_1066); +lean_ctor_set(x_1072, 2, x_1067); +lean_ctor_set(x_1072, 3, x_1071); +x_1073 = lean_st_ref_take(x_4, x_9); if (x_13 == 0) { -lean_object* x_1309; lean_object* x_1310; uint8_t x_1311; -x_1309 = lean_ctor_get(x_1075, 0); -lean_inc(x_1309); -x_1310 = lean_ctor_get(x_1075, 1); -lean_inc(x_1310); -lean_dec(x_1075); -x_1311 = 0; -x_1076 = x_1311; -x_1077 = x_1309; -x_1078 = x_1310; -goto block_1308; +lean_object* x_1305; lean_object* x_1306; uint8_t x_1307; +x_1305 = lean_ctor_get(x_1073, 0); +lean_inc(x_1305); +x_1306 = lean_ctor_get(x_1073, 1); +lean_inc(x_1306); +lean_dec(x_1073); +x_1307 = 0; +x_1074 = x_1307; +x_1075 = x_1305; +x_1076 = x_1306; +goto block_1304; } else { -lean_object* x_1312; lean_object* x_1313; uint8_t x_1314; -x_1312 = lean_ctor_get(x_1075, 0); -lean_inc(x_1312); -x_1313 = lean_ctor_get(x_1075, 1); -lean_inc(x_1313); -lean_dec(x_1075); -x_1314 = 1; -x_1076 = x_1314; -x_1077 = x_1312; -x_1078 = x_1313; -goto block_1308; +lean_object* x_1308; lean_object* x_1309; uint8_t x_1310; +x_1308 = lean_ctor_get(x_1073, 0); +lean_inc(x_1308); +x_1309 = lean_ctor_get(x_1073, 1); +lean_inc(x_1309); +lean_dec(x_1073); +x_1310 = 1; +x_1074 = x_1310; +x_1075 = x_1308; +x_1076 = x_1309; +goto block_1304; } -block_1308: +block_1304: { -lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; uint8_t x_1100; uint8_t x_1101; uint8_t x_1102; lean_object* x_1103; lean_object* x_1104; -x_1079 = lean_ctor_get(x_1077, 0); +lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; uint8_t x_1096; uint8_t x_1097; uint8_t x_1098; lean_object* x_1099; lean_object* x_1100; +x_1077 = lean_ctor_get(x_1075, 0); +lean_inc(x_1077); +x_1078 = lean_ctor_get(x_1075, 1); +lean_inc(x_1078); +x_1079 = lean_ctor_get(x_1075, 2); lean_inc(x_1079); -x_1080 = lean_ctor_get(x_1077, 1); +x_1080 = lean_ctor_get(x_1075, 3); lean_inc(x_1080); -x_1081 = lean_ctor_get(x_1077, 2); +x_1081 = lean_ctor_get(x_1075, 4); lean_inc(x_1081); -x_1082 = lean_ctor_get(x_1077, 3); -lean_inc(x_1082); -x_1083 = lean_ctor_get(x_1077, 4); -lean_inc(x_1083); -x_1084 = lean_ctor_get(x_1077, 5); -lean_inc(x_1084); -x_1085 = lean_ctor_get(x_1077, 6); -lean_inc(x_1085); -if (lean_is_exclusive(x_1077)) { - lean_ctor_release(x_1077, 0); - lean_ctor_release(x_1077, 1); - lean_ctor_release(x_1077, 2); - lean_ctor_release(x_1077, 3); - lean_ctor_release(x_1077, 4); - lean_ctor_release(x_1077, 5); - lean_ctor_release(x_1077, 6); - x_1086 = x_1077; +if (lean_is_exclusive(x_1075)) { + lean_ctor_release(x_1075, 0); + lean_ctor_release(x_1075, 1); + lean_ctor_release(x_1075, 2); + lean_ctor_release(x_1075, 3); + lean_ctor_release(x_1075, 4); + x_1082 = x_1075; } else { - lean_dec_ref(x_1077); - x_1086 = lean_box(0); + lean_dec_ref(x_1075); + x_1082 = lean_box(0); } -x_1087 = lean_unsigned_to_nat(1u); -x_1088 = lean_nat_add(x_1084, x_1087); -if (lean_is_scalar(x_1086)) { - x_1089 = lean_alloc_ctor(0, 7, 0); +x_1083 = lean_unsigned_to_nat(1u); +x_1084 = lean_nat_add(x_1080, x_1083); +if (lean_is_scalar(x_1082)) { + x_1085 = lean_alloc_ctor(0, 5, 0); } else { - x_1089 = x_1086; + x_1085 = x_1082; } -lean_ctor_set(x_1089, 0, x_1079); -lean_ctor_set(x_1089, 1, x_1080); -lean_ctor_set(x_1089, 2, x_1081); -lean_ctor_set(x_1089, 3, x_1082); -lean_ctor_set(x_1089, 4, x_1083); -lean_ctor_set(x_1089, 5, x_1088); -lean_ctor_set(x_1089, 6, x_1085); -x_1090 = lean_st_ref_set(x_4, x_1089, x_1078); -x_1091 = lean_ctor_get(x_1090, 1); +lean_ctor_set(x_1085, 0, x_1077); +lean_ctor_set(x_1085, 1, x_1078); +lean_ctor_set(x_1085, 2, x_1079); +lean_ctor_set(x_1085, 3, x_1084); +lean_ctor_set(x_1085, 4, x_1081); +x_1086 = lean_st_ref_set(x_4, x_1085, x_1076); +x_1087 = lean_ctor_get(x_1086, 1); +lean_inc(x_1087); +if (lean_is_exclusive(x_1086)) { + lean_ctor_release(x_1086, 0); + lean_ctor_release(x_1086, 1); + x_1088 = x_1086; +} else { + lean_dec_ref(x_1086); + x_1088 = lean_box(0); +} +x_1089 = lean_ctor_get(x_3, 0); +lean_inc(x_1089); +x_1090 = lean_ctor_get(x_3, 1); +lean_inc(x_1090); +x_1091 = lean_ctor_get(x_3, 2); lean_inc(x_1091); -if (lean_is_exclusive(x_1090)) { - lean_ctor_release(x_1090, 0); - lean_ctor_release(x_1090, 1); - x_1092 = x_1090; -} else { - lean_dec_ref(x_1090); - x_1092 = lean_box(0); -} -x_1093 = lean_ctor_get(x_3, 0); +x_1092 = lean_ctor_get(x_3, 3); +lean_inc(x_1092); +x_1093 = lean_ctor_get(x_3, 4); lean_inc(x_1093); -x_1094 = lean_ctor_get(x_3, 1); +x_1094 = lean_ctor_get(x_3, 5); lean_inc(x_1094); -x_1095 = lean_ctor_get(x_3, 2); +x_1095 = lean_ctor_get(x_3, 6); lean_inc(x_1095); -x_1096 = lean_ctor_get(x_3, 3); -lean_inc(x_1096); -x_1097 = lean_ctor_get(x_3, 4); -lean_inc(x_1097); -x_1098 = lean_ctor_get(x_3, 5); -lean_inc(x_1098); -x_1099 = lean_ctor_get(x_3, 6); -lean_inc(x_1099); -x_1100 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_1101 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_1102 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); +x_1096 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); +x_1097 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); +x_1098 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); @@ -12899,338 +13410,372 @@ if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 5); lean_ctor_release(x_3, 6); lean_ctor_release(x_3, 7); - x_1103 = x_3; + x_1099 = x_3; } else { lean_dec_ref(x_3); - x_1103 = lean_box(0); + x_1099 = lean_box(0); } -if (lean_is_scalar(x_1103)) { - x_1104 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_1099)) { + x_1100 = lean_alloc_ctor(0, 8, 3); } else { - x_1104 = x_1103; + x_1100 = x_1099; } -lean_ctor_set(x_1104, 0, x_1093); -lean_ctor_set(x_1104, 1, x_1094); -lean_ctor_set(x_1104, 2, x_1095); -lean_ctor_set(x_1104, 3, x_1096); -lean_ctor_set(x_1104, 4, x_1097); -lean_ctor_set(x_1104, 5, x_1098); -lean_ctor_set(x_1104, 6, x_1099); -lean_ctor_set(x_1104, 7, x_1084); -lean_ctor_set_uint8(x_1104, sizeof(void*)*8, x_1100); -lean_ctor_set_uint8(x_1104, sizeof(void*)*8 + 1, x_1101); -lean_ctor_set_uint8(x_1104, sizeof(void*)*8 + 2, x_1102); -if (x_1076 == 0) +lean_ctor_set(x_1100, 0, x_1089); +lean_ctor_set(x_1100, 1, x_1090); +lean_ctor_set(x_1100, 2, x_1091); +lean_ctor_set(x_1100, 3, x_1092); +lean_ctor_set(x_1100, 4, x_1093); +lean_ctor_set(x_1100, 5, x_1094); +lean_ctor_set(x_1100, 6, x_1095); +lean_ctor_set(x_1100, 7, x_1080); +lean_ctor_set_uint8(x_1100, sizeof(void*)*8, x_1096); +lean_ctor_set_uint8(x_1100, sizeof(void*)*8 + 1, x_1097); +lean_ctor_set_uint8(x_1100, sizeof(void*)*8 + 2, x_1098); +if (x_1074 == 0) +{ +lean_object* x_1101; uint8_t x_1102; +x_1101 = l___private_Lean_Elab_Match_28__collect___main___closed__2; +x_1102 = lean_name_eq(x_10, x_1101); +if (x_1102 == 0) +{ +lean_object* x_1103; uint8_t x_1104; +x_1103 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__2; +x_1104 = lean_name_eq(x_10, x_1103); +if (x_1104 == 0) { lean_object* x_1105; uint8_t x_1106; -x_1105 = l___private_Lean_Elab_Match_29__collect___main___closed__2; +x_1105 = l_Lean_mkHole___closed__2; x_1106 = lean_name_eq(x_10, x_1105); if (x_1106 == 0) { lean_object* x_1107; uint8_t x_1108; -x_1107 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__2; +x_1107 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; x_1108 = lean_name_eq(x_10, x_1107); if (x_1108 == 0) { lean_object* x_1109; uint8_t x_1110; -x_1109 = l_Lean_mkHole___closed__2; +lean_dec(x_11); +x_1109 = l___private_Lean_Elab_App_23__elabAppFn___main___closed__5; x_1110 = lean_name_eq(x_10, x_1109); if (x_1110 == 0) { lean_object* x_1111; uint8_t x_1112; -x_1111 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; +x_1111 = l___private_Lean_Elab_App_23__elabAppFn___main___closed__12; x_1112 = lean_name_eq(x_10, x_1111); if (x_1112 == 0) { lean_object* x_1113; uint8_t x_1114; -lean_dec(x_11); -x_1113 = l___private_Lean_Elab_App_23__elabAppFn___main___closed__5; +x_1113 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; x_1114 = lean_name_eq(x_10, x_1113); if (x_1114 == 0) { lean_object* x_1115; uint8_t x_1116; -x_1115 = l___private_Lean_Elab_App_23__elabAppFn___main___closed__12; +x_1115 = l_Lean_strLitKind; x_1116 = lean_name_eq(x_10, x_1115); if (x_1116 == 0) { lean_object* x_1117; uint8_t x_1118; -x_1117 = l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; +x_1117 = l_Lean_numLitKind; x_1118 = lean_name_eq(x_10, x_1117); if (x_1118 == 0) { lean_object* x_1119; uint8_t x_1120; -x_1119 = l_Lean_strLitKind; +x_1119 = l_Lean_charLitKind; x_1120 = lean_name_eq(x_10, x_1119); if (x_1120 == 0) { lean_object* x_1121; uint8_t x_1122; -x_1121 = l_Lean_numLitKind; +lean_dec(x_1088); +x_1121 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; x_1122 = lean_name_eq(x_10, x_1121); if (x_1122 == 0) { lean_object* x_1123; uint8_t x_1124; -x_1123 = l_Lean_charLitKind; +lean_dec(x_1); +x_1123 = l_Lean_choiceKind; x_1124 = lean_name_eq(x_10, x_1123); +lean_dec(x_10); if (x_1124 == 0) { -lean_object* x_1125; uint8_t x_1126; -lean_dec(x_1092); -x_1125 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; -x_1126 = lean_name_eq(x_10, x_1125); -if (x_1126 == 0) -{ -lean_object* x_1127; uint8_t x_1128; -lean_dec(x_1); -x_1127 = l_Lean_choiceKind; -x_1128 = lean_name_eq(x_10, x_1127); -lean_dec(x_10); -if (x_1128 == 0) -{ -lean_object* x_1129; -x_1129 = l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg(x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); +lean_object* x_1125; +x_1125 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg(x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); lean_dec(x_8); -lean_dec(x_1074); +lean_dec(x_1072); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -return x_1129; +return x_1125; } else { -lean_object* x_1130; lean_object* x_1131; -x_1130 = l___private_Lean_Elab_Match_29__collect___main___closed__5; -x_1131 = l_Lean_throwError___at___private_Lean_Elab_Match_13__throwCtorExpected___spec__1___rarg(x_1130, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); +lean_object* x_1126; lean_object* x_1127; +x_1126 = l___private_Lean_Elab_Match_28__collect___main___closed__5; +x_1127 = l_Lean_throwError___at___private_Lean_Elab_Match_12__throwCtorExpected___spec__1___rarg(x_1126, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); lean_dec(x_8); -lean_dec(x_1074); +lean_dec(x_1072); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); +return x_1127; +} +} +else +{ +lean_object* x_1128; +lean_dec(x_10); +lean_dec(x_2); +x_1128 = l___private_Lean_Elab_Match_27__quotedNameToPattern(x_1, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); +lean_dec(x_8); +lean_dec(x_1072); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_1128; +} +} +else +{ +lean_object* x_1129; +lean_dec(x_1100); +lean_dec(x_1072); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +if (lean_is_scalar(x_1088)) { + x_1129 = lean_alloc_ctor(0, 2, 0); +} else { + x_1129 = x_1088; +} +lean_ctor_set(x_1129, 0, x_1); +lean_ctor_set(x_1129, 1, x_1087); +return x_1129; +} +} +else +{ +lean_object* x_1130; +lean_dec(x_1100); +lean_dec(x_1072); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +if (lean_is_scalar(x_1088)) { + x_1130 = lean_alloc_ctor(0, 2, 0); +} else { + x_1130 = x_1088; +} +lean_ctor_set(x_1130, 0, x_1); +lean_ctor_set(x_1130, 1, x_1087); +return x_1130; +} +} +else +{ +lean_object* x_1131; +lean_dec(x_1100); +lean_dec(x_1072); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +if (lean_is_scalar(x_1088)) { + x_1131 = lean_alloc_ctor(0, 2, 0); +} else { + x_1131 = x_1088; +} +lean_ctor_set(x_1131, 0, x_1); +lean_ctor_set(x_1131, 1, x_1087); return x_1131; } } else { lean_object* x_1132; +lean_dec(x_1100); +lean_dec(x_1072); lean_dec(x_10); -lean_dec(x_2); -x_1132 = l___private_Lean_Elab_Match_28__quotedNameToPattern(x_1, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); lean_dec(x_8); -lean_dec(x_1074); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1); +lean_dec(x_2); +if (lean_is_scalar(x_1088)) { + x_1132 = lean_alloc_ctor(0, 2, 0); +} else { + x_1132 = x_1088; +} +lean_ctor_set(x_1132, 0, x_1); +lean_ctor_set(x_1132, 1, x_1087); return x_1132; } } else { -lean_object* x_1133; -lean_dec(x_1104); -lean_dec(x_1074); +lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; +lean_dec(x_1088); lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_1092)) { - x_1133 = lean_alloc_ctor(0, 2, 0); -} else { - x_1133 = x_1092; -} -lean_ctor_set(x_1133, 0, x_1); -lean_ctor_set(x_1133, 1, x_1091); -return x_1133; -} -} -else +x_1133 = lean_unsigned_to_nat(0u); +x_1134 = l_Lean_Syntax_getArg(x_1, x_1133); +lean_inc(x_1100); +lean_inc(x_1134); +x_1135 = l___private_Lean_Elab_Match_24__processVar(x_1134, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); +if (lean_obj_tag(x_1135) == 0) { -lean_object* x_1134; -lean_dec(x_1104); -lean_dec(x_1074); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_1092)) { - x_1134 = lean_alloc_ctor(0, 2, 0); -} else { - x_1134 = x_1092; -} -lean_ctor_set(x_1134, 0, x_1); -lean_ctor_set(x_1134, 1, x_1091); -return x_1134; -} -} -else -{ -lean_object* x_1135; -lean_dec(x_1104); -lean_dec(x_1074); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_1092)) { - x_1135 = lean_alloc_ctor(0, 2, 0); -} else { - x_1135 = x_1092; -} -lean_ctor_set(x_1135, 0, x_1); -lean_ctor_set(x_1135, 1, x_1091); -return x_1135; -} -} -else -{ -lean_object* x_1136; -lean_dec(x_1104); -lean_dec(x_1074); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -if (lean_is_scalar(x_1092)) { - x_1136 = lean_alloc_ctor(0, 2, 0); -} else { - x_1136 = x_1092; -} -lean_ctor_set(x_1136, 0, x_1); -lean_ctor_set(x_1136, 1, x_1091); -return x_1136; -} -} -else -{ -lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; -lean_dec(x_1092); -lean_dec(x_10); -x_1137 = lean_unsigned_to_nat(0u); +lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; +x_1136 = lean_ctor_get(x_1135, 1); +lean_inc(x_1136); +lean_dec(x_1135); +x_1137 = lean_unsigned_to_nat(2u); x_1138 = l_Lean_Syntax_getArg(x_1, x_1137); -lean_inc(x_1104); -lean_inc(x_1138); -x_1139 = l___private_Lean_Elab_Match_25__processVar(x_1138, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); -if (lean_obj_tag(x_1139) == 0) -{ -lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; -x_1140 = lean_ctor_get(x_1139, 1); -lean_inc(x_1140); -lean_dec(x_1139); -x_1141 = lean_unsigned_to_nat(2u); -x_1142 = l_Lean_Syntax_getArg(x_1, x_1141); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); - x_1143 = x_1; + x_1139 = x_1; } else { lean_dec_ref(x_1); - x_1143 = lean_box(0); + x_1139 = lean_box(0); } lean_inc(x_8); -lean_inc(x_1074); +lean_inc(x_1072); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_1104); -x_1144 = l___private_Lean_Elab_Match_29__collect___main(x_1142, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1140); -if (lean_obj_tag(x_1144) == 0) +lean_inc(x_1100); +x_1140 = l___private_Lean_Elab_Match_28__collect___main(x_1138, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1136); +if (lean_obj_tag(x_1140) == 0) { -lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; -x_1145 = lean_ctor_get(x_1144, 0); -lean_inc(x_1145); -x_1146 = lean_ctor_get(x_1144, 1); -lean_inc(x_1146); -lean_dec(x_1144); -x_1147 = l_Lean_Elab_Term_getCurrMacroScope(x_1104, x_4, x_5, x_6, x_1074, x_8, x_1146); -lean_dec(x_1074); +lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; +x_1141 = lean_ctor_get(x_1140, 0); +lean_inc(x_1141); +x_1142 = lean_ctor_get(x_1140, 1); +lean_inc(x_1142); +lean_dec(x_1140); +x_1143 = l_Lean_Elab_Term_getCurrMacroScope(x_1100, x_4, x_5, x_6, x_1072, x_8, x_1142); +lean_dec(x_1072); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1104); -x_1148 = lean_ctor_get(x_1147, 0); -lean_inc(x_1148); -x_1149 = lean_ctor_get(x_1147, 1); -lean_inc(x_1149); -lean_dec(x_1147); -x_1150 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_1149); +lean_dec(x_1100); +x_1144 = lean_ctor_get(x_1143, 0); +lean_inc(x_1144); +x_1145 = lean_ctor_get(x_1143, 1); +lean_inc(x_1145); +lean_dec(x_1143); +x_1146 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_1145); lean_dec(x_8); -x_1151 = lean_ctor_get(x_1150, 0); -lean_inc(x_1151); -x_1152 = lean_ctor_get(x_1150, 1); -lean_inc(x_1152); -if (lean_is_exclusive(x_1150)) { - lean_ctor_release(x_1150, 0); - lean_ctor_release(x_1150, 1); - x_1153 = x_1150; +x_1147 = lean_ctor_get(x_1146, 0); +lean_inc(x_1147); +x_1148 = lean_ctor_get(x_1146, 1); +lean_inc(x_1148); +if (lean_is_exclusive(x_1146)) { + lean_ctor_release(x_1146, 0); + lean_ctor_release(x_1146, 1); + x_1149 = x_1146; } else { - lean_dec_ref(x_1150); - x_1153 = lean_box(0); + lean_dec_ref(x_1146); + x_1149 = lean_box(0); } -x_1154 = l___private_Lean_Elab_Match_29__collect___main___closed__8; -x_1155 = l_Lean_addMacroScope(x_1151, x_1154, x_1148); -x_1156 = l_Lean_SourceInfo_inhabited___closed__1; -x_1157 = l___private_Lean_Elab_Match_29__collect___main___closed__7; -x_1158 = l___private_Lean_Elab_Match_29__collect___main___closed__10; -x_1159 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1159, 0, x_1156); -lean_ctor_set(x_1159, 1, x_1157); -lean_ctor_set(x_1159, 2, x_1155); -lean_ctor_set(x_1159, 3, x_1158); -x_1160 = l_Array_empty___closed__1; -x_1161 = lean_array_push(x_1160, x_1159); -x_1162 = lean_array_push(x_1160, x_1138); -x_1163 = lean_array_push(x_1162, x_1145); -x_1164 = l_Lean_nullKind___closed__2; -if (lean_is_scalar(x_1143)) { - x_1165 = lean_alloc_ctor(1, 2, 0); +x_1150 = l___private_Lean_Elab_Match_28__collect___main___closed__8; +x_1151 = l_Lean_addMacroScope(x_1147, x_1150, x_1144); +x_1152 = l_Lean_SourceInfo_inhabited___closed__1; +x_1153 = l___private_Lean_Elab_Match_28__collect___main___closed__7; +x_1154 = l___private_Lean_Elab_Match_28__collect___main___closed__10; +x_1155 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1155, 0, x_1152); +lean_ctor_set(x_1155, 1, x_1153); +lean_ctor_set(x_1155, 2, x_1151); +lean_ctor_set(x_1155, 3, x_1154); +x_1156 = l_Array_empty___closed__1; +x_1157 = lean_array_push(x_1156, x_1155); +x_1158 = lean_array_push(x_1156, x_1134); +x_1159 = lean_array_push(x_1158, x_1141); +x_1160 = l_Lean_nullKind___closed__2; +if (lean_is_scalar(x_1139)) { + x_1161 = lean_alloc_ctor(1, 2, 0); } else { - x_1165 = x_1143; + x_1161 = x_1139; } -lean_ctor_set(x_1165, 0, x_1164); -lean_ctor_set(x_1165, 1, x_1163); -x_1166 = lean_array_push(x_1161, x_1165); -x_1167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1167, 0, x_12); -lean_ctor_set(x_1167, 1, x_1166); -if (lean_is_scalar(x_1153)) { - x_1168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1161, 0, x_1160); +lean_ctor_set(x_1161, 1, x_1159); +x_1162 = lean_array_push(x_1157, x_1161); +x_1163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1163, 0, x_12); +lean_ctor_set(x_1163, 1, x_1162); +if (lean_is_scalar(x_1149)) { + x_1164 = lean_alloc_ctor(0, 2, 0); } else { - x_1168 = x_1153; + x_1164 = x_1149; } -lean_ctor_set(x_1168, 0, x_1167); -lean_ctor_set(x_1168, 1, x_1152); +lean_ctor_set(x_1164, 0, x_1163); +lean_ctor_set(x_1164, 1, x_1148); +return x_1164; +} +else +{ +lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; +lean_dec(x_1139); +lean_dec(x_1134); +lean_dec(x_1100); +lean_dec(x_1072); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_1165 = lean_ctor_get(x_1140, 0); +lean_inc(x_1165); +x_1166 = lean_ctor_get(x_1140, 1); +lean_inc(x_1166); +if (lean_is_exclusive(x_1140)) { + lean_ctor_release(x_1140, 0); + lean_ctor_release(x_1140, 1); + x_1167 = x_1140; +} else { + lean_dec_ref(x_1140); + x_1167 = lean_box(0); +} +if (lean_is_scalar(x_1167)) { + x_1168 = lean_alloc_ctor(1, 2, 0); +} else { + x_1168 = x_1167; +} +lean_ctor_set(x_1168, 0, x_1165); +lean_ctor_set(x_1168, 1, x_1166); return x_1168; } +} else { lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; -lean_dec(x_1143); -lean_dec(x_1138); -lean_dec(x_1104); -lean_dec(x_1074); +lean_dec(x_1134); +lean_dec(x_1100); +lean_dec(x_1072); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_1169 = lean_ctor_get(x_1144, 0); +lean_dec(x_2); +lean_dec(x_1); +x_1169 = lean_ctor_get(x_1135, 0); lean_inc(x_1169); -x_1170 = lean_ctor_get(x_1144, 1); +x_1170 = lean_ctor_get(x_1135, 1); lean_inc(x_1170); -if (lean_is_exclusive(x_1144)) { - lean_ctor_release(x_1144, 0); - lean_ctor_release(x_1144, 1); - x_1171 = x_1144; +if (lean_is_exclusive(x_1135)) { + lean_ctor_release(x_1135, 0); + lean_ctor_release(x_1135, 1); + x_1171 = x_1135; } else { - lean_dec_ref(x_1144); + lean_dec_ref(x_1135); x_1171 = lean_box(0); } if (lean_is_scalar(x_1171)) { @@ -13243,167 +13788,171 @@ lean_ctor_set(x_1172, 1, x_1170); return x_1172; } } +} else { lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; -lean_dec(x_1138); -lean_dec(x_1104); -lean_dec(x_1074); +lean_dec(x_1088); +lean_dec(x_10); +x_1173 = lean_unsigned_to_nat(0u); +x_1174 = l_Lean_Syntax_getArg(x_1, x_1173); +lean_dec(x_1); +x_1175 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_1176 = l_Lean_Elab_Term_CollectPatternVars_processCtor(x_1175, x_1174, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); +return x_1176; +} +} +else +{ +lean_object* x_1177; lean_object* x_1178; uint8_t x_1179; +x_1177 = l_Lean_Syntax_inhabited; +x_1178 = lean_array_get(x_1177, x_11, x_1083); +x_1179 = l_Lean_Syntax_isNone(x_1178); +if (x_1179 == 0) +{ +lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; uint8_t x_1184; +lean_dec(x_1088); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_1180 = x_1; +} else { + lean_dec_ref(x_1); + x_1180 = lean_box(0); +} +x_1181 = lean_unsigned_to_nat(0u); +x_1182 = l_Lean_Syntax_getArg(x_1178, x_1181); +x_1183 = l_Lean_Syntax_getArg(x_1178, x_1083); +x_1184 = l_Lean_Syntax_isNone(x_1183); +if (x_1184 == 0) +{ +lean_object* x_1185; lean_object* x_1186; uint8_t x_1187; +x_1185 = l_Lean_Syntax_getArg(x_1183, x_1181); +x_1186 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__24; +lean_inc(x_1185); +x_1187 = l_Lean_Syntax_isOfKind(x_1185, x_1186); +if (x_1187 == 0) +{ +lean_object* x_1188; +lean_inc(x_8); +lean_inc(x_1072); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1100); +lean_inc(x_2); +x_1188 = l___private_Lean_Elab_Match_28__collect___main(x_1182, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); +if (lean_obj_tag(x_1188) == 0) +{ +lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; +x_1189 = lean_ctor_get(x_1188, 0); +lean_inc(x_1189); +x_1190 = lean_ctor_get(x_1188, 1); +lean_inc(x_1190); +lean_dec(x_1188); +x_1191 = l_Lean_Syntax_setArg(x_1178, x_1181, x_1189); +x_1192 = l_Lean_Syntax_getArg(x_1185, x_1083); +x_1193 = l_Lean_Syntax_getArgs(x_1192); +lean_dec(x_1192); +x_1194 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_1195 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_1193, x_1194, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1190); +lean_dec(x_1193); +if (lean_obj_tag(x_1195) == 0) +{ +lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; +x_1196 = lean_ctor_get(x_1195, 0); +lean_inc(x_1196); +x_1197 = lean_ctor_get(x_1195, 1); +lean_inc(x_1197); +if (lean_is_exclusive(x_1195)) { + lean_ctor_release(x_1195, 0); + lean_ctor_release(x_1195, 1); + x_1198 = x_1195; +} else { + lean_dec_ref(x_1195); + x_1198 = lean_box(0); +} +x_1199 = l_Lean_nullKind; +if (lean_is_scalar(x_1180)) { + x_1200 = lean_alloc_ctor(1, 2, 0); +} else { + x_1200 = x_1180; +} +lean_ctor_set(x_1200, 0, x_1199); +lean_ctor_set(x_1200, 1, x_1196); +x_1201 = l_Lean_Syntax_setArg(x_1185, x_1083, x_1200); +x_1202 = l_Lean_Syntax_setArg(x_1183, x_1181, x_1201); +x_1203 = l_Lean_Syntax_setArg(x_1191, x_1083, x_1202); +x_1204 = lean_array_set(x_11, x_1083, x_1203); +x_1205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1205, 0, x_10); +lean_ctor_set(x_1205, 1, x_1204); +if (lean_is_scalar(x_1198)) { + x_1206 = lean_alloc_ctor(0, 2, 0); +} else { + x_1206 = x_1198; +} +lean_ctor_set(x_1206, 0, x_1205); +lean_ctor_set(x_1206, 1, x_1197); +return x_1206; +} +else +{ +lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; +lean_dec(x_1191); +lean_dec(x_1185); +lean_dec(x_1183); +lean_dec(x_1180); +lean_dec(x_11); +lean_dec(x_10); +x_1207 = lean_ctor_get(x_1195, 0); +lean_inc(x_1207); +x_1208 = lean_ctor_get(x_1195, 1); +lean_inc(x_1208); +if (lean_is_exclusive(x_1195)) { + lean_ctor_release(x_1195, 0); + lean_ctor_release(x_1195, 1); + x_1209 = x_1195; +} else { + lean_dec_ref(x_1195); + x_1209 = lean_box(0); +} +if (lean_is_scalar(x_1209)) { + x_1210 = lean_alloc_ctor(1, 2, 0); +} else { + x_1210 = x_1209; +} +lean_ctor_set(x_1210, 0, x_1207); +lean_ctor_set(x_1210, 1, x_1208); +return x_1210; +} +} +else +{ +lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; +lean_dec(x_1185); +lean_dec(x_1183); +lean_dec(x_1180); +lean_dec(x_1178); +lean_dec(x_1100); +lean_dec(x_1072); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); -x_1173 = lean_ctor_get(x_1139, 0); -lean_inc(x_1173); -x_1174 = lean_ctor_get(x_1139, 1); -lean_inc(x_1174); -if (lean_is_exclusive(x_1139)) { - lean_ctor_release(x_1139, 0); - lean_ctor_release(x_1139, 1); - x_1175 = x_1139; -} else { - lean_dec_ref(x_1139); - x_1175 = lean_box(0); -} -if (lean_is_scalar(x_1175)) { - x_1176 = lean_alloc_ctor(1, 2, 0); -} else { - x_1176 = x_1175; -} -lean_ctor_set(x_1176, 0, x_1173); -lean_ctor_set(x_1176, 1, x_1174); -return x_1176; -} -} -} -else -{ -lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; -lean_dec(x_1092); -lean_dec(x_10); -x_1177 = lean_unsigned_to_nat(0u); -x_1178 = l_Lean_Syntax_getArg(x_1, x_1177); -lean_dec(x_1); -x_1179 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_1180 = l_Lean_Elab_Term_CollectPatternVars_processCtor(x_1179, x_1178, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); -return x_1180; -} -} -else -{ -lean_object* x_1181; lean_object* x_1182; uint8_t x_1183; -x_1181 = l_Lean_Syntax_inhabited; -x_1182 = lean_array_get(x_1181, x_11, x_1087); -x_1183 = l_Lean_Syntax_isNone(x_1182); -if (x_1183 == 0) -{ -lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; uint8_t x_1188; -lean_dec(x_1092); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_1184 = x_1; -} else { - lean_dec_ref(x_1); - x_1184 = lean_box(0); -} -x_1185 = lean_unsigned_to_nat(0u); -x_1186 = l_Lean_Syntax_getArg(x_1182, x_1185); -x_1187 = l_Lean_Syntax_getArg(x_1182, x_1087); -x_1188 = l_Lean_Syntax_isNone(x_1187); -if (x_1188 == 0) -{ -lean_object* x_1189; lean_object* x_1190; uint8_t x_1191; -x_1189 = l_Lean_Syntax_getArg(x_1187, x_1185); -x_1190 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__24; -lean_inc(x_1189); -x_1191 = l_Lean_Syntax_isOfKind(x_1189, x_1190); -if (x_1191 == 0) -{ -lean_object* x_1192; -lean_inc(x_8); -lean_inc(x_1074); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1104); -lean_inc(x_2); -x_1192 = l___private_Lean_Elab_Match_29__collect___main(x_1186, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); -if (lean_obj_tag(x_1192) == 0) -{ -lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; -x_1193 = lean_ctor_get(x_1192, 0); -lean_inc(x_1193); -x_1194 = lean_ctor_get(x_1192, 1); -lean_inc(x_1194); -lean_dec(x_1192); -x_1195 = l_Lean_Syntax_setArg(x_1182, x_1185, x_1193); -x_1196 = l_Lean_Syntax_getArg(x_1189, x_1087); -x_1197 = l_Lean_Syntax_getArgs(x_1196); -lean_dec(x_1196); -x_1198 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_1199 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_1197, x_1198, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1194); -lean_dec(x_1197); -if (lean_obj_tag(x_1199) == 0) -{ -lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; -x_1200 = lean_ctor_get(x_1199, 0); -lean_inc(x_1200); -x_1201 = lean_ctor_get(x_1199, 1); -lean_inc(x_1201); -if (lean_is_exclusive(x_1199)) { - lean_ctor_release(x_1199, 0); - lean_ctor_release(x_1199, 1); - x_1202 = x_1199; -} else { - lean_dec_ref(x_1199); - x_1202 = lean_box(0); -} -x_1203 = l_Lean_nullKind; -if (lean_is_scalar(x_1184)) { - x_1204 = lean_alloc_ctor(1, 2, 0); -} else { - x_1204 = x_1184; -} -lean_ctor_set(x_1204, 0, x_1203); -lean_ctor_set(x_1204, 1, x_1200); -x_1205 = l_Lean_Syntax_setArg(x_1189, x_1087, x_1204); -x_1206 = l_Lean_Syntax_setArg(x_1187, x_1185, x_1205); -x_1207 = l_Lean_Syntax_setArg(x_1195, x_1087, x_1206); -x_1208 = lean_array_set(x_11, x_1087, x_1207); -x_1209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1209, 0, x_10); -lean_ctor_set(x_1209, 1, x_1208); -if (lean_is_scalar(x_1202)) { - x_1210 = lean_alloc_ctor(0, 2, 0); -} else { - x_1210 = x_1202; -} -lean_ctor_set(x_1210, 0, x_1209); -lean_ctor_set(x_1210, 1, x_1201); -return x_1210; -} -else -{ -lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; -lean_dec(x_1195); -lean_dec(x_1189); -lean_dec(x_1187); -lean_dec(x_1184); -lean_dec(x_11); -lean_dec(x_10); -x_1211 = lean_ctor_get(x_1199, 0); +x_1211 = lean_ctor_get(x_1188, 0); lean_inc(x_1211); -x_1212 = lean_ctor_get(x_1199, 1); +x_1212 = lean_ctor_get(x_1188, 1); lean_inc(x_1212); -if (lean_is_exclusive(x_1199)) { - lean_ctor_release(x_1199, 0); - lean_ctor_release(x_1199, 1); - x_1213 = x_1199; +if (lean_is_exclusive(x_1188)) { + lean_ctor_release(x_1188, 0); + lean_ctor_release(x_1188, 1); + x_1213 = x_1188; } else { - lean_dec_ref(x_1199); + lean_dec_ref(x_1188); x_1213 = lean_box(0); } if (lean_is_scalar(x_1213)) { @@ -13418,185 +13967,147 @@ return x_1214; } else { -lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; -lean_dec(x_1189); -lean_dec(x_1187); -lean_dec(x_1184); -lean_dec(x_1182); -lean_dec(x_1104); -lean_dec(x_1074); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1215 = lean_ctor_get(x_1192, 0); -lean_inc(x_1215); -x_1216 = lean_ctor_get(x_1192, 1); +lean_object* x_1215; +lean_dec(x_1185); +lean_dec(x_1183); +x_1215 = l___private_Lean_Elab_Match_28__collect___main(x_1182, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); +if (lean_obj_tag(x_1215) == 0) +{ +lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; +x_1216 = lean_ctor_get(x_1215, 0); lean_inc(x_1216); -if (lean_is_exclusive(x_1192)) { - lean_ctor_release(x_1192, 0); - lean_ctor_release(x_1192, 1); - x_1217 = x_1192; +x_1217 = lean_ctor_get(x_1215, 1); +lean_inc(x_1217); +if (lean_is_exclusive(x_1215)) { + lean_ctor_release(x_1215, 0); + lean_ctor_release(x_1215, 1); + x_1218 = x_1215; } else { - lean_dec_ref(x_1192); - x_1217 = lean_box(0); + lean_dec_ref(x_1215); + x_1218 = lean_box(0); } -if (lean_is_scalar(x_1217)) { - x_1218 = lean_alloc_ctor(1, 2, 0); +x_1219 = l_Lean_Syntax_setArg(x_1178, x_1181, x_1216); +x_1220 = lean_array_set(x_11, x_1083, x_1219); +if (lean_is_scalar(x_1180)) { + x_1221 = lean_alloc_ctor(1, 2, 0); } else { - x_1218 = x_1217; + x_1221 = x_1180; } -lean_ctor_set(x_1218, 0, x_1215); -lean_ctor_set(x_1218, 1, x_1216); -return x_1218; +lean_ctor_set(x_1221, 0, x_10); +lean_ctor_set(x_1221, 1, x_1220); +if (lean_is_scalar(x_1218)) { + x_1222 = lean_alloc_ctor(0, 2, 0); +} else { + x_1222 = x_1218; } +lean_ctor_set(x_1222, 0, x_1221); +lean_ctor_set(x_1222, 1, x_1217); +return x_1222; } else { -lean_object* x_1219; -lean_dec(x_1189); -lean_dec(x_1187); -x_1219 = l___private_Lean_Elab_Match_29__collect___main(x_1186, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); -if (lean_obj_tag(x_1219) == 0) -{ -lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; -x_1220 = lean_ctor_get(x_1219, 0); -lean_inc(x_1220); -x_1221 = lean_ctor_get(x_1219, 1); -lean_inc(x_1221); -if (lean_is_exclusive(x_1219)) { - lean_ctor_release(x_1219, 0); - lean_ctor_release(x_1219, 1); - x_1222 = x_1219; +lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; +lean_dec(x_1180); +lean_dec(x_1178); +lean_dec(x_11); +lean_dec(x_10); +x_1223 = lean_ctor_get(x_1215, 0); +lean_inc(x_1223); +x_1224 = lean_ctor_get(x_1215, 1); +lean_inc(x_1224); +if (lean_is_exclusive(x_1215)) { + lean_ctor_release(x_1215, 0); + lean_ctor_release(x_1215, 1); + x_1225 = x_1215; } else { - lean_dec_ref(x_1219); - x_1222 = lean_box(0); + lean_dec_ref(x_1215); + x_1225 = lean_box(0); } -x_1223 = l_Lean_Syntax_setArg(x_1182, x_1185, x_1220); -x_1224 = lean_array_set(x_11, x_1087, x_1223); -if (lean_is_scalar(x_1184)) { - x_1225 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1225)) { + x_1226 = lean_alloc_ctor(1, 2, 0); } else { - x_1225 = x_1184; + x_1226 = x_1225; } -lean_ctor_set(x_1225, 0, x_10); -lean_ctor_set(x_1225, 1, x_1224); -if (lean_is_scalar(x_1222)) { - x_1226 = lean_alloc_ctor(0, 2, 0); -} else { - x_1226 = x_1222; -} -lean_ctor_set(x_1226, 0, x_1225); -lean_ctor_set(x_1226, 1, x_1221); +lean_ctor_set(x_1226, 0, x_1223); +lean_ctor_set(x_1226, 1, x_1224); return x_1226; } +} +} else { -lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; -lean_dec(x_1184); -lean_dec(x_1182); +lean_object* x_1227; +lean_dec(x_1183); +x_1227 = l___private_Lean_Elab_Match_28__collect___main(x_1182, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); +if (lean_obj_tag(x_1227) == 0) +{ +lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; +x_1228 = lean_ctor_get(x_1227, 0); +lean_inc(x_1228); +x_1229 = lean_ctor_get(x_1227, 1); +lean_inc(x_1229); +if (lean_is_exclusive(x_1227)) { + lean_ctor_release(x_1227, 0); + lean_ctor_release(x_1227, 1); + x_1230 = x_1227; +} else { + lean_dec_ref(x_1227); + x_1230 = lean_box(0); +} +x_1231 = l_Lean_Syntax_setArg(x_1178, x_1181, x_1228); +x_1232 = lean_array_set(x_11, x_1083, x_1231); +if (lean_is_scalar(x_1180)) { + x_1233 = lean_alloc_ctor(1, 2, 0); +} else { + x_1233 = x_1180; +} +lean_ctor_set(x_1233, 0, x_10); +lean_ctor_set(x_1233, 1, x_1232); +if (lean_is_scalar(x_1230)) { + x_1234 = lean_alloc_ctor(0, 2, 0); +} else { + x_1234 = x_1230; +} +lean_ctor_set(x_1234, 0, x_1233); +lean_ctor_set(x_1234, 1, x_1229); +return x_1234; +} +else +{ +lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; +lean_dec(x_1180); +lean_dec(x_1178); lean_dec(x_11); lean_dec(x_10); -x_1227 = lean_ctor_get(x_1219, 0); -lean_inc(x_1227); -x_1228 = lean_ctor_get(x_1219, 1); -lean_inc(x_1228); -if (lean_is_exclusive(x_1219)) { - lean_ctor_release(x_1219, 0); - lean_ctor_release(x_1219, 1); - x_1229 = x_1219; +x_1235 = lean_ctor_get(x_1227, 0); +lean_inc(x_1235); +x_1236 = lean_ctor_get(x_1227, 1); +lean_inc(x_1236); +if (lean_is_exclusive(x_1227)) { + lean_ctor_release(x_1227, 0); + lean_ctor_release(x_1227, 1); + x_1237 = x_1227; } else { - lean_dec_ref(x_1219); - x_1229 = lean_box(0); + lean_dec_ref(x_1227); + x_1237 = lean_box(0); } -if (lean_is_scalar(x_1229)) { - x_1230 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1237)) { + x_1238 = lean_alloc_ctor(1, 2, 0); } else { - x_1230 = x_1229; + x_1238 = x_1237; } -lean_ctor_set(x_1230, 0, x_1227); -lean_ctor_set(x_1230, 1, x_1228); -return x_1230; -} -} -} -else -{ -lean_object* x_1231; -lean_dec(x_1187); -x_1231 = l___private_Lean_Elab_Match_29__collect___main(x_1186, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); -if (lean_obj_tag(x_1231) == 0) -{ -lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; -x_1232 = lean_ctor_get(x_1231, 0); -lean_inc(x_1232); -x_1233 = lean_ctor_get(x_1231, 1); -lean_inc(x_1233); -if (lean_is_exclusive(x_1231)) { - lean_ctor_release(x_1231, 0); - lean_ctor_release(x_1231, 1); - x_1234 = x_1231; -} else { - lean_dec_ref(x_1231); - x_1234 = lean_box(0); -} -x_1235 = l_Lean_Syntax_setArg(x_1182, x_1185, x_1232); -x_1236 = lean_array_set(x_11, x_1087, x_1235); -if (lean_is_scalar(x_1184)) { - x_1237 = lean_alloc_ctor(1, 2, 0); -} else { - x_1237 = x_1184; -} -lean_ctor_set(x_1237, 0, x_10); -lean_ctor_set(x_1237, 1, x_1236); -if (lean_is_scalar(x_1234)) { - x_1238 = lean_alloc_ctor(0, 2, 0); -} else { - x_1238 = x_1234; -} -lean_ctor_set(x_1238, 0, x_1237); -lean_ctor_set(x_1238, 1, x_1233); +lean_ctor_set(x_1238, 0, x_1235); +lean_ctor_set(x_1238, 1, x_1236); return x_1238; } -else -{ -lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; -lean_dec(x_1184); -lean_dec(x_1182); -lean_dec(x_11); -lean_dec(x_10); -x_1239 = lean_ctor_get(x_1231, 0); -lean_inc(x_1239); -x_1240 = lean_ctor_get(x_1231, 1); -lean_inc(x_1240); -if (lean_is_exclusive(x_1231)) { - lean_ctor_release(x_1231, 0); - lean_ctor_release(x_1231, 1); - x_1241 = x_1231; -} else { - lean_dec_ref(x_1231); - x_1241 = lean_box(0); -} -if (lean_is_scalar(x_1241)) { - x_1242 = lean_alloc_ctor(1, 2, 0); -} else { - x_1242 = x_1241; -} -lean_ctor_set(x_1242, 0, x_1239); -lean_ctor_set(x_1242, 1, x_1240); -return x_1242; -} } } else { -lean_object* x_1243; -lean_dec(x_1182); -lean_dec(x_1104); -lean_dec(x_1074); +lean_object* x_1239; +lean_dec(x_1178); +lean_dec(x_1100); +lean_dec(x_1072); lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); @@ -13604,359 +14115,359 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -if (lean_is_scalar(x_1092)) { - x_1243 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1088)) { + x_1239 = lean_alloc_ctor(0, 2, 0); } else { - x_1243 = x_1092; + x_1239 = x_1088; } -lean_ctor_set(x_1243, 0, x_1); -lean_ctor_set(x_1243, 1, x_1091); -return x_1243; +lean_ctor_set(x_1239, 0, x_1); +lean_ctor_set(x_1239, 1, x_1087); +return x_1239; } } } else { -lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; -lean_dec(x_1104); -lean_dec(x_1092); -lean_dec(x_1074); +lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; +lean_dec(x_1100); +lean_dec(x_1088); +lean_dec(x_1072); lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_1244 = l___private_Lean_Elab_Match_11__mkMVarSyntax___rarg(x_8, x_1091); +x_1240 = l___private_Lean_Elab_Match_10__mkMVarSyntax___rarg(x_8, x_1087); lean_dec(x_8); -x_1245 = lean_ctor_get(x_1244, 0); +x_1241 = lean_ctor_get(x_1240, 0); +lean_inc(x_1241); +x_1242 = lean_ctor_get(x_1240, 1); +lean_inc(x_1242); +lean_dec(x_1240); +x_1243 = lean_st_ref_take(x_2, x_1242); +x_1244 = lean_ctor_get(x_1243, 0); +lean_inc(x_1244); +x_1245 = lean_ctor_get(x_1243, 1); lean_inc(x_1245); -x_1246 = lean_ctor_get(x_1244, 1); +lean_dec(x_1243); +x_1246 = lean_ctor_get(x_1244, 0); lean_inc(x_1246); -lean_dec(x_1244); -x_1247 = lean_st_ref_take(x_2, x_1246); -x_1248 = lean_ctor_get(x_1247, 0); -lean_inc(x_1248); -x_1249 = lean_ctor_get(x_1247, 1); -lean_inc(x_1249); -lean_dec(x_1247); -x_1250 = lean_ctor_get(x_1248, 0); -lean_inc(x_1250); -x_1251 = lean_ctor_get(x_1248, 1); -lean_inc(x_1251); -if (lean_is_exclusive(x_1248)) { - lean_ctor_release(x_1248, 0); - lean_ctor_release(x_1248, 1); - x_1252 = x_1248; +x_1247 = lean_ctor_get(x_1244, 1); +lean_inc(x_1247); +if (lean_is_exclusive(x_1244)) { + lean_ctor_release(x_1244, 0); + lean_ctor_release(x_1244, 1); + x_1248 = x_1244; } else { - lean_dec_ref(x_1248); - x_1252 = lean_box(0); + lean_dec_ref(x_1244); + x_1248 = lean_box(0); } -x_1253 = l___private_Lean_Elab_Match_12__getMVarSyntaxMVarId(x_1245); -x_1254 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1254, 0, x_1253); -x_1255 = lean_array_push(x_1251, x_1254); -if (lean_is_scalar(x_1252)) { +x_1249 = l___private_Lean_Elab_Match_11__getMVarSyntaxMVarId(x_1241); +x_1250 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1250, 0, x_1249); +x_1251 = lean_array_push(x_1247, x_1250); +if (lean_is_scalar(x_1248)) { + x_1252 = lean_alloc_ctor(0, 2, 0); +} else { + x_1252 = x_1248; +} +lean_ctor_set(x_1252, 0, x_1246); +lean_ctor_set(x_1252, 1, x_1251); +x_1253 = lean_st_ref_set(x_2, x_1252, x_1245); +lean_dec(x_2); +x_1254 = lean_ctor_get(x_1253, 1); +lean_inc(x_1254); +if (lean_is_exclusive(x_1253)) { + lean_ctor_release(x_1253, 0); + lean_ctor_release(x_1253, 1); + x_1255 = x_1253; +} else { + lean_dec_ref(x_1253); + x_1255 = lean_box(0); +} +if (lean_is_scalar(x_1255)) { x_1256 = lean_alloc_ctor(0, 2, 0); } else { - x_1256 = x_1252; + x_1256 = x_1255; } -lean_ctor_set(x_1256, 0, x_1250); -lean_ctor_set(x_1256, 1, x_1255); -x_1257 = lean_st_ref_set(x_2, x_1256, x_1249); -lean_dec(x_2); -x_1258 = lean_ctor_get(x_1257, 1); -lean_inc(x_1258); -if (lean_is_exclusive(x_1257)) { - lean_ctor_release(x_1257, 0); - lean_ctor_release(x_1257, 1); - x_1259 = x_1257; -} else { - lean_dec_ref(x_1257); - x_1259 = lean_box(0); -} -if (lean_is_scalar(x_1259)) { - x_1260 = lean_alloc_ctor(0, 2, 0); -} else { - x_1260 = x_1259; -} -lean_ctor_set(x_1260, 0, x_1245); -lean_ctor_set(x_1260, 1, x_1258); -return x_1260; +lean_ctor_set(x_1256, 0, x_1241); +lean_ctor_set(x_1256, 1, x_1254); +return x_1256; } } else { -lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; uint8_t x_1264; -lean_dec(x_1092); +lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; uint8_t x_1260; +lean_dec(x_1088); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); - x_1261 = x_1; + x_1257 = x_1; } else { lean_dec_ref(x_1); - x_1261 = lean_box(0); + x_1257 = lean_box(0); } -x_1262 = l_Lean_Syntax_inhabited; -x_1263 = lean_array_get(x_1262, x_11, x_1087); -x_1264 = l_Lean_Syntax_isNone(x_1263); -if (x_1264 == 0) +x_1258 = l_Lean_Syntax_inhabited; +x_1259 = lean_array_get(x_1258, x_11, x_1083); +x_1260 = l_Lean_Syntax_isNone(x_1259); +if (x_1260 == 0) { -lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; -lean_dec(x_1261); +lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; +lean_dec(x_1257); lean_dec(x_11); lean_dec(x_10); -x_1265 = l___private_Lean_Elab_Match_29__collect___main___closed__14; -x_1266 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_25__processVar___spec__1___rarg(x_1263, x_1265, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); +x_1261 = l___private_Lean_Elab_Match_28__collect___main___closed__14; +x_1262 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_24__processVar___spec__1___rarg(x_1259, x_1261, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); lean_dec(x_8); -lean_dec(x_1074); +lean_dec(x_1072); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1263); -x_1267 = lean_ctor_get(x_1266, 0); -lean_inc(x_1267); -x_1268 = lean_ctor_get(x_1266, 1); -lean_inc(x_1268); -if (lean_is_exclusive(x_1266)) { - lean_ctor_release(x_1266, 0); - lean_ctor_release(x_1266, 1); - x_1269 = x_1266; +lean_dec(x_1259); +x_1263 = lean_ctor_get(x_1262, 0); +lean_inc(x_1263); +x_1264 = lean_ctor_get(x_1262, 1); +lean_inc(x_1264); +if (lean_is_exclusive(x_1262)) { + lean_ctor_release(x_1262, 0); + lean_ctor_release(x_1262, 1); + x_1265 = x_1262; } else { - lean_dec_ref(x_1266); - x_1269 = lean_box(0); + lean_dec_ref(x_1262); + x_1265 = lean_box(0); } -if (lean_is_scalar(x_1269)) { - x_1270 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1265)) { + x_1266 = lean_alloc_ctor(1, 2, 0); } else { - x_1270 = x_1269; + x_1266 = x_1265; } -lean_ctor_set(x_1270, 0, x_1267); -lean_ctor_set(x_1270, 1, x_1268); -return x_1270; +lean_ctor_set(x_1266, 0, x_1263); +lean_ctor_set(x_1266, 1, x_1264); +return x_1266; } else { -lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; -lean_dec(x_1263); -x_1271 = lean_unsigned_to_nat(2u); -x_1272 = lean_array_get(x_1262, x_11, x_1271); -x_1273 = l_Lean_Syntax_getArgs(x_1272); -lean_dec(x_1272); -x_1274 = l___private_Lean_Elab_Match_29__collect___main___closed__15; -x_1275 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_1273, x_1274, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); -lean_dec(x_1273); -if (lean_obj_tag(x_1275) == 0) +lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; +lean_dec(x_1259); +x_1267 = lean_unsigned_to_nat(2u); +x_1268 = lean_array_get(x_1258, x_11, x_1267); +x_1269 = l_Lean_Syntax_getArgs(x_1268); +lean_dec(x_1268); +x_1270 = l___private_Lean_Elab_Match_28__collect___main___closed__15; +x_1271 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_1269, x_1270, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); +lean_dec(x_1269); +if (lean_obj_tag(x_1271) == 0) { -lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; -x_1276 = lean_ctor_get(x_1275, 0); -lean_inc(x_1276); -x_1277 = lean_ctor_get(x_1275, 1); -lean_inc(x_1277); -if (lean_is_exclusive(x_1275)) { - lean_ctor_release(x_1275, 0); - lean_ctor_release(x_1275, 1); - x_1278 = x_1275; +lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; +x_1272 = lean_ctor_get(x_1271, 0); +lean_inc(x_1272); +x_1273 = lean_ctor_get(x_1271, 1); +lean_inc(x_1273); +if (lean_is_exclusive(x_1271)) { + lean_ctor_release(x_1271, 0); + lean_ctor_release(x_1271, 1); + x_1274 = x_1271; } else { - lean_dec_ref(x_1275); - x_1278 = lean_box(0); + lean_dec_ref(x_1271); + x_1274 = lean_box(0); } -x_1279 = l_Lean_nullKind; -if (lean_is_scalar(x_1261)) { - x_1280 = lean_alloc_ctor(1, 2, 0); +x_1275 = l_Lean_nullKind; +if (lean_is_scalar(x_1257)) { + x_1276 = lean_alloc_ctor(1, 2, 0); } else { - x_1280 = x_1261; + x_1276 = x_1257; } -lean_ctor_set(x_1280, 0, x_1279); -lean_ctor_set(x_1280, 1, x_1276); -x_1281 = lean_array_set(x_11, x_1271, x_1280); -x_1282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1282, 0, x_10); -lean_ctor_set(x_1282, 1, x_1281); -if (lean_is_scalar(x_1278)) { - x_1283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1276, 0, x_1275); +lean_ctor_set(x_1276, 1, x_1272); +x_1277 = lean_array_set(x_11, x_1267, x_1276); +x_1278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1278, 0, x_10); +lean_ctor_set(x_1278, 1, x_1277); +if (lean_is_scalar(x_1274)) { + x_1279 = lean_alloc_ctor(0, 2, 0); } else { - x_1283 = x_1278; + x_1279 = x_1274; } -lean_ctor_set(x_1283, 0, x_1282); -lean_ctor_set(x_1283, 1, x_1277); -return x_1283; +lean_ctor_set(x_1279, 0, x_1278); +lean_ctor_set(x_1279, 1, x_1273); +return x_1279; } else { -lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; -lean_dec(x_1261); +lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; +lean_dec(x_1257); lean_dec(x_11); lean_dec(x_10); -x_1284 = lean_ctor_get(x_1275, 0); -lean_inc(x_1284); -x_1285 = lean_ctor_get(x_1275, 1); -lean_inc(x_1285); -if (lean_is_exclusive(x_1275)) { - lean_ctor_release(x_1275, 0); - lean_ctor_release(x_1275, 1); - x_1286 = x_1275; +x_1280 = lean_ctor_get(x_1271, 0); +lean_inc(x_1280); +x_1281 = lean_ctor_get(x_1271, 1); +lean_inc(x_1281); +if (lean_is_exclusive(x_1271)) { + lean_ctor_release(x_1271, 0); + lean_ctor_release(x_1271, 1); + x_1282 = x_1271; } else { - lean_dec_ref(x_1275); - x_1286 = lean_box(0); + lean_dec_ref(x_1271); + x_1282 = lean_box(0); } -if (lean_is_scalar(x_1286)) { - x_1287 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1282)) { + x_1283 = lean_alloc_ctor(1, 2, 0); } else { - x_1287 = x_1286; + x_1283 = x_1282; } -lean_ctor_set(x_1287, 0, x_1284); -lean_ctor_set(x_1287, 1, x_1285); -return x_1287; +lean_ctor_set(x_1283, 0, x_1280); +lean_ctor_set(x_1283, 1, x_1281); +return x_1283; } } } } else { -lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; -lean_dec(x_1092); +lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; +lean_dec(x_1088); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); - x_1288 = x_1; + x_1284 = x_1; } else { lean_dec_ref(x_1); - x_1288 = lean_box(0); + x_1284 = lean_box(0); } -x_1289 = l_Lean_Syntax_inhabited; -x_1290 = lean_array_get(x_1289, x_11, x_1087); -x_1291 = l_Lean_Syntax_getArgs(x_1290); -lean_dec(x_1290); -x_1292 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_1293 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_1291, x_1292, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); -lean_dec(x_1291); -if (lean_obj_tag(x_1293) == 0) +x_1285 = l_Lean_Syntax_inhabited; +x_1286 = lean_array_get(x_1285, x_11, x_1083); +x_1287 = l_Lean_Syntax_getArgs(x_1286); +lean_dec(x_1286); +x_1288 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_1289 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_1287, x_1288, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); +lean_dec(x_1287); +if (lean_obj_tag(x_1289) == 0) { -lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; -x_1294 = lean_ctor_get(x_1293, 0); -lean_inc(x_1294); -x_1295 = lean_ctor_get(x_1293, 1); -lean_inc(x_1295); -if (lean_is_exclusive(x_1293)) { - lean_ctor_release(x_1293, 0); - lean_ctor_release(x_1293, 1); - x_1296 = x_1293; +lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; +x_1290 = lean_ctor_get(x_1289, 0); +lean_inc(x_1290); +x_1291 = lean_ctor_get(x_1289, 1); +lean_inc(x_1291); +if (lean_is_exclusive(x_1289)) { + lean_ctor_release(x_1289, 0); + lean_ctor_release(x_1289, 1); + x_1292 = x_1289; } else { - lean_dec_ref(x_1293); - x_1296 = lean_box(0); + lean_dec_ref(x_1289); + x_1292 = lean_box(0); } -x_1297 = l_Lean_nullKind; -if (lean_is_scalar(x_1288)) { - x_1298 = lean_alloc_ctor(1, 2, 0); +x_1293 = l_Lean_nullKind; +if (lean_is_scalar(x_1284)) { + x_1294 = lean_alloc_ctor(1, 2, 0); } else { - x_1298 = x_1288; + x_1294 = x_1284; } -lean_ctor_set(x_1298, 0, x_1297); -lean_ctor_set(x_1298, 1, x_1294); -x_1299 = lean_array_set(x_11, x_1087, x_1298); -x_1300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1300, 0, x_10); -lean_ctor_set(x_1300, 1, x_1299); -if (lean_is_scalar(x_1296)) { - x_1301 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1294, 0, x_1293); +lean_ctor_set(x_1294, 1, x_1290); +x_1295 = lean_array_set(x_11, x_1083, x_1294); +x_1296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1296, 0, x_10); +lean_ctor_set(x_1296, 1, x_1295); +if (lean_is_scalar(x_1292)) { + x_1297 = lean_alloc_ctor(0, 2, 0); } else { - x_1301 = x_1296; + x_1297 = x_1292; } -lean_ctor_set(x_1301, 0, x_1300); -lean_ctor_set(x_1301, 1, x_1295); +lean_ctor_set(x_1297, 0, x_1296); +lean_ctor_set(x_1297, 1, x_1291); +return x_1297; +} +else +{ +lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; +lean_dec(x_1284); +lean_dec(x_11); +lean_dec(x_10); +x_1298 = lean_ctor_get(x_1289, 0); +lean_inc(x_1298); +x_1299 = lean_ctor_get(x_1289, 1); +lean_inc(x_1299); +if (lean_is_exclusive(x_1289)) { + lean_ctor_release(x_1289, 0); + lean_ctor_release(x_1289, 1); + x_1300 = x_1289; +} else { + lean_dec_ref(x_1289); + x_1300 = lean_box(0); +} +if (lean_is_scalar(x_1300)) { + x_1301 = lean_alloc_ctor(1, 2, 0); +} else { + x_1301 = x_1300; +} +lean_ctor_set(x_1301, 0, x_1298); +lean_ctor_set(x_1301, 1, x_1299); return x_1301; } -else -{ -lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; -lean_dec(x_1288); -lean_dec(x_11); -lean_dec(x_10); -x_1302 = lean_ctor_get(x_1293, 0); -lean_inc(x_1302); -x_1303 = lean_ctor_get(x_1293, 1); -lean_inc(x_1303); -if (lean_is_exclusive(x_1293)) { - lean_ctor_release(x_1293, 0); - lean_ctor_release(x_1293, 1); - x_1304 = x_1293; -} else { - lean_dec_ref(x_1293); - x_1304 = lean_box(0); -} -if (lean_is_scalar(x_1304)) { - x_1305 = lean_alloc_ctor(1, 2, 0); -} else { - x_1305 = x_1304; -} -lean_ctor_set(x_1305, 0, x_1302); -lean_ctor_set(x_1305, 1, x_1303); -return x_1305; -} } } else { -lean_object* x_1306; lean_object* x_1307; -lean_dec(x_1092); +lean_object* x_1302; lean_object* x_1303; +lean_dec(x_1088); lean_dec(x_11); lean_dec(x_10); -x_1306 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_1307 = l_Lean_Elab_Term_CollectPatternVars_processCtorApp(x_1306, x_1, x_2, x_1104, x_4, x_5, x_6, x_1074, x_8, x_1091); +x_1302 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_1303 = l_Lean_Elab_Term_CollectPatternVars_processCtorApp(x_1302, x_1, x_2, x_1100, x_4, x_5, x_6, x_1072, x_8, x_1087); lean_dec(x_1); -return x_1307; +return x_1303; } } } } case 3: { -lean_object* x_1315; lean_object* x_1316; -x_1315 = l___private_Lean_Elab_Match_29__collect___main___closed__11; -x_1316 = l___private_Lean_Elab_Match_26__processId(x_1315, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_1316; +lean_object* x_1311; lean_object* x_1312; +x_1311 = l___private_Lean_Elab_Match_28__collect___main___closed__11; +x_1312 = l___private_Lean_Elab_Match_25__processId(x_1311, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_1312; } default: { -lean_object* x_1317; +lean_object* x_1313; lean_dec(x_1); -x_1317 = l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_1313 = l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, 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_2); -return x_1317; +return x_1313; } } } } -lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_29__collect___main___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* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_28__collect___main___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_13; -x_13 = l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_29__collect___main___spec__2(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 = l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_28__collect___main___spec__2(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_1); return x_13; } } -lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___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* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___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_Array_mapSepElemsM___at___private_Lean_Elab_Match_29__collect___main___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_28__collect___main___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_11; } } -lean_object* l___private_Lean_Elab_Match_29__collect(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* l___private_Lean_Elab_Match_28__collect(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_Match_29__collect___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_28__collect___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_10; } } @@ -14030,162 +14541,150 @@ return x_37; } else { -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_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; x_38 = lean_ctor_get(x_26, 0); x_39 = lean_ctor_get(x_26, 1); x_40 = lean_ctor_get(x_26, 2); x_41 = lean_ctor_get(x_26, 3); x_42 = lean_ctor_get(x_26, 4); -x_43 = lean_ctor_get(x_26, 5); -x_44 = lean_ctor_get(x_26, 6); -lean_inc(x_44); -lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); lean_inc(x_40); lean_inc(x_39); lean_inc(x_38); lean_dec(x_26); -x_45 = l_Std_PersistentArray_push___rarg(x_40, x_24); -x_46 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_46, 0, x_38); -lean_ctor_set(x_46, 1, x_39); -lean_ctor_set(x_46, 2, x_45); -lean_ctor_set(x_46, 3, x_41); -lean_ctor_set(x_46, 4, x_42); -lean_ctor_set(x_46, 5, x_43); -lean_ctor_set(x_46, 6, x_44); -x_47 = lean_st_ref_set(x_6, x_46, x_27); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); +x_43 = l_Std_PersistentArray_push___rarg(x_40, x_24); +x_44 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_39); +lean_ctor_set(x_44, 2, x_43); +lean_ctor_set(x_44, 3, x_41); +lean_ctor_set(x_44, 4, x_42); +x_45 = lean_st_ref_set(x_6, x_44, x_27); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_47 = x_45; +} else { + lean_dec_ref(x_45); + x_47 = lean_box(0); +} +x_48 = lean_box(0); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { x_49 = x_47; -} else { - lean_dec_ref(x_47); - x_49 = lean_box(0); } -x_50 = lean_box(0); -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_49; -} -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_48); -return x_51; +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_46); +return x_49; } } else { -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_65; -x_52 = lean_ctor_get(x_14, 0); -lean_inc(x_52); +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; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_50 = lean_ctor_get(x_14, 0); +lean_inc(x_50); lean_dec(x_14); -x_53 = lean_ctor_get(x_5, 0); -x_54 = lean_ctor_get(x_5, 1); -x_55 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = l_Lean_FileMap_toPosition(x_54, x_52); -x_59 = lean_box(0); -x_60 = l_String_splitAux___main___closed__1; -lean_inc(x_53); -x_61 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_61, 0, x_53); -lean_ctor_set(x_61, 1, x_58); -lean_ctor_set(x_61, 2, x_59); -lean_ctor_set(x_61, 3, x_60); -lean_ctor_set(x_61, 4, x_56); -lean_ctor_set_uint8(x_61, sizeof(void*)*5, x_3); -x_62 = lean_st_ref_take(x_6, x_57); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = !lean_is_exclusive(x_63); -if (x_65 == 0) +x_51 = lean_ctor_get(x_5, 0); +x_52 = lean_ctor_get(x_5, 1); +x_53 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = l_Lean_FileMap_toPosition(x_52, x_50); +x_57 = lean_box(0); +x_58 = l_String_splitAux___main___closed__1; +lean_inc(x_51); +x_59 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_59, 0, x_51); +lean_ctor_set(x_59, 1, x_56); +lean_ctor_set(x_59, 2, x_57); +lean_ctor_set(x_59, 3, x_58); +lean_ctor_set(x_59, 4, x_54); +lean_ctor_set_uint8(x_59, sizeof(void*)*5, x_3); +x_60 = lean_st_ref_take(x_6, x_55); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_66 = lean_ctor_get(x_63, 2); -x_67 = l_Std_PersistentArray_push___rarg(x_66, x_61); -lean_ctor_set(x_63, 2, x_67); -x_68 = lean_st_ref_set(x_6, x_63, x_64); -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) +lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_64 = lean_ctor_get(x_61, 2); +x_65 = l_Std_PersistentArray_push___rarg(x_64, x_59); +lean_ctor_set(x_61, 2, x_65); +x_66 = lean_st_ref_set(x_6, x_61, x_62); +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) { -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_68, 0); -lean_dec(x_70); -x_71 = lean_box(0); -lean_ctor_set(x_68, 0, x_71); -return x_68; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_68, 1); -lean_inc(x_72); +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_66, 0); lean_dec(x_68); -x_73 = lean_box(0); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -return x_74; +x_69 = lean_box(0); +lean_ctor_set(x_66, 0, x_69); +return x_66; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = lean_box(0); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +return x_72; } } else { -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_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; -x_75 = lean_ctor_get(x_63, 0); -x_76 = lean_ctor_get(x_63, 1); -x_77 = lean_ctor_get(x_63, 2); -x_78 = lean_ctor_get(x_63, 3); -x_79 = lean_ctor_get(x_63, 4); -x_80 = lean_ctor_get(x_63, 5); -x_81 = lean_ctor_get(x_63, 6); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); +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_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_73 = lean_ctor_get(x_61, 0); +x_74 = lean_ctor_get(x_61, 1); +x_75 = lean_ctor_get(x_61, 2); +x_76 = lean_ctor_get(x_61, 3); +x_77 = lean_ctor_get(x_61, 4); lean_inc(x_77); lean_inc(x_76); lean_inc(x_75); -lean_dec(x_63); -x_82 = l_Std_PersistentArray_push___rarg(x_77, x_61); -x_83 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_83, 0, x_75); -lean_ctor_set(x_83, 1, x_76); -lean_ctor_set(x_83, 2, x_82); -lean_ctor_set(x_83, 3, x_78); -lean_ctor_set(x_83, 4, x_79); -lean_ctor_set(x_83, 5, x_80); -lean_ctor_set(x_83, 6, x_81); -x_84 = lean_st_ref_set(x_6, x_83, x_64); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_86 = x_84; +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_61); +x_78 = l_Std_PersistentArray_push___rarg(x_75, x_59); +x_79 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_79, 0, x_73); +lean_ctor_set(x_79, 1, x_74); +lean_ctor_set(x_79, 2, x_78); +lean_ctor_set(x_79, 3, x_76); +lean_ctor_set(x_79, 4, x_77); +x_80 = lean_st_ref_set(x_6, x_79, x_62); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_82 = x_80; } else { - lean_dec_ref(x_84); - x_86 = lean_box(0); + lean_dec_ref(x_80); + x_82 = lean_box(0); } -x_87 = lean_box(0); -if (lean_is_scalar(x_86)) { - x_88 = lean_alloc_ctor(0, 2, 0); +x_83 = lean_box(0); +if (lean_is_scalar(x_82)) { + x_84 = lean_alloc_ctor(0, 2, 0); } else { - x_88 = x_86; + x_84 = x_82; } -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_85); -return x_88; +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_81); +return x_84; } } } @@ -14272,7 +14771,7 @@ x_17 = lean_array_fset(x_2, x_1, x_16); x_18 = x_15; x_19 = lean_ctor_get(x_8, 0); lean_inc(x_19); -x_20 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; +x_20 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; x_21 = l_Lean_checkTraceOption(x_19, x_20); lean_dec(x_19); if (x_21 == 0) @@ -14285,7 +14784,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_22 = l___private_Lean_Elab_Match_29__collect___main(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_22 = l___private_Lean_Elab_Match_28__collect___main(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_22) == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; @@ -14357,7 +14856,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_39 = l___private_Lean_Elab_Match_29__collect___main(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_38); +x_39 = l___private_Lean_Elab_Match_28__collect___main(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_38); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; @@ -14606,7 +15105,7 @@ lean_dec(x_3); return x_11; } } -lean_object* _init_l___private_Lean_Elab_Match_30__collectPatternVars___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_29__collectPatternVars___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -14618,11 +15117,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Match_30__collectPatternVars(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* l___private_Lean_Elab_Match_29__collectPatternVars(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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = l___private_Lean_Elab_Match_30__collectPatternVars___closed__1; +x_9 = l___private_Lean_Elab_Match_29__collectPatternVars___closed__1; x_10 = lean_st_mk_ref(x_9, x_8); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); @@ -14700,7 +15199,7 @@ return x_29; } } } -lean_object* l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___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) { +lean_object* l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___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_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; uint8_t x_19; @@ -14808,7 +15307,7 @@ return x_44; } } } -lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___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* l_Array_forMAux___main___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___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) { _start: { lean_object* x_10; uint8_t x_11; @@ -14861,7 +15360,7 @@ x_22 = 0; x_23 = lean_box(0); lean_inc(x_5); lean_inc(x_3); -x_24 = l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___spec__1(x_15, x_21, x_22, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +x_24 = l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___spec__1(x_15, x_21, x_22, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_20); x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); @@ -14914,7 +15413,7 @@ goto _start; } } } -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__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_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__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_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -14924,11 +15423,11 @@ x_15 = l_Lean_Expr_fvarId_x21(x_5); x_16 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_16, 0, x_15); x_17 = lean_array_push(x_2, x_16); -x_18 = l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg(x_3, x_4, x_14, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_18 = l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg(x_3, x_4, x_14, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_18; } } -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__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, lean_object* x_12, lean_object* x_13) { +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__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, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -14939,11 +15438,11 @@ x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_2); lean_ctor_set(x_17, 1, x_16); x_18 = lean_array_push(x_3, x_17); -x_19 = l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg(x_4, x_5, x_15, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_19 = l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg(x_4, x_5, x_15, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_19; } } -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg(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* l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg(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; uint8_t x_13; @@ -14960,7 +15459,7 @@ lean_inc(x_10); lean_inc(x_8); lean_inc(x_7); lean_inc(x_5); -x_15 = l_Array_forMAux___main___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___spec__2(x_4, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Array_forMAux___main___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___spec__2(x_4, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; @@ -15021,7 +15520,7 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__1___boxed), 12, 4); +x_29 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__1___boxed), 12, 4); lean_closure_set(x_29, 0, x_3); lean_closure_set(x_29, 1, x_4); lean_closure_set(x_29, 2, x_1); @@ -15032,7 +15531,7 @@ return x_31; } else { -lean_object* x_32; uint8_t 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; uint8_t x_41; lean_object* x_42; +lean_object* x_32; uint8_t 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; uint8_t x_42; lean_object* x_43; x_32 = lean_ctor_get(x_22, 0); lean_inc(x_32); lean_dec(x_22); @@ -15046,37 +15545,41 @@ lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); -x_38 = l_Lean_Meta_Closure_mkNextUserName___rarg___closed__2; -lean_inc(x_3); -x_39 = l_Lean_Name_appendIndexAfter(x_38, x_3); -x_40 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__2___boxed), 13, 5); -lean_closure_set(x_40, 0, x_3); -lean_closure_set(x_40, 1, x_32); -lean_closure_set(x_40, 2, x_4); -lean_closure_set(x_40, 3, x_1); -lean_closure_set(x_40, 4, x_2); -x_41 = 0; -x_42 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_39, x_41, x_36, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_37); -return x_42; +lean_inc(x_5); +x_38 = l_Lean_Elab_Term_mkFreshUserName(x_5, x_6, x_7, x_8, x_9, x_10, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__2___boxed), 13, 5); +lean_closure_set(x_41, 0, x_3); +lean_closure_set(x_41, 1, x_32); +lean_closure_set(x_41, 2, x_4); +lean_closure_set(x_41, 3, x_1); +lean_closure_set(x_41, 4, x_2); +x_42 = 0; +x_43 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_39, x_42, x_36, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +return x_43; } } } } -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___main(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg), 11, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg), 11, 0); return x_2; } } -lean_object* l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___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* l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___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) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_3); lean_dec(x_3); -x_13 = l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___spec__1(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_Meta_mkFreshExprMVarWithId___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___spec__1(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -15084,72 +15587,72 @@ lean_dec(x_6); return x_13; } } -lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___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* l_Array_forMAux___main___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___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) { _start: { lean_object* x_10; -x_10 = l_Array_forMAux___main___at___private_Lean_Elab_Match_31__withPatternVarsAux___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Array_forMAux___main___at___private_Lean_Elab_Match_30__withPatternVarsAux___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); lean_dec(x_4); lean_dec(x_1); return x_10; } } -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__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) { +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__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: { lean_object* x_13; -x_13 = l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__1(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 = l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__1(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_5); lean_dec(x_1); return x_13; } } -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__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* l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__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) { _start: { lean_object* x_14; -x_14 = l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg___lambda__2(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); +x_14 = l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg___lambda__2(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_6); lean_dec(x_1); return x_14; } } -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux___rarg(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* l___private_Lean_Elab_Match_30__withPatternVarsAux___rarg(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___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_12; } } -lean_object* l___private_Lean_Elab_Match_31__withPatternVarsAux(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_30__withPatternVarsAux(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_31__withPatternVarsAux___rarg), 11, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_30__withPatternVarsAux___rarg), 11, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Match_32__withPatternVars___rarg(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* l___private_Lean_Elab_Match_31__withPatternVars___rarg(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; lean_object* x_11; lean_object* x_12; x_10 = lean_unsigned_to_nat(0u); x_11 = l_Array_empty___closed__1; -x_12 = l___private_Lean_Elab_Match_31__withPatternVarsAux___main___rarg(x_1, x_2, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l___private_Lean_Elab_Match_30__withPatternVarsAux___main___rarg(x_1, x_2, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -lean_object* l___private_Lean_Elab_Match_32__withPatternVars(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_31__withPatternVars(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_32__withPatternVars___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_31__withPatternVars___rarg), 9, 0); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__1() { _start: { lean_object* x_1; @@ -15157,27 +15660,27 @@ x_1 = lean_mk_string("unexpected match type"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__1; +x_1 = l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__2; +x_1 = l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_33__elabPatternsAux___main(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* l___private_Lean_Elab_Match_32__elabPatternsAux___main(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; uint8_t x_13; @@ -15298,7 +15801,7 @@ lean_dec(x_2); x_36 = lean_ctor_get(x_16, 1); lean_inc(x_36); lean_dec(x_16); -x_37 = l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__3; +x_37 = l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__3; x_38 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_36); lean_dec(x_10); lean_dec(x_9); @@ -15341,28 +15844,28 @@ return x_42; } } } -lean_object* l___private_Lean_Elab_Match_33__elabPatternsAux___main___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* l___private_Lean_Elab_Match_32__elabPatternsAux___main___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___private_Lean_Elab_Match_33__elabPatternsAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_Match_32__elabPatternsAux___main(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_1); return x_12; } } -lean_object* l___private_Lean_Elab_Match_33__elabPatternsAux(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* l___private_Lean_Elab_Match_32__elabPatternsAux(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___private_Lean_Elab_Match_33__elabPatternsAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_Match_32__elabPatternsAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_12; } } -lean_object* l___private_Lean_Elab_Match_33__elabPatternsAux___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* l___private_Lean_Elab_Match_32__elabPatternsAux___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___private_Lean_Elab_Match_33__elabPatternsAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Elab_Match_32__elabPatternsAux(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_1); return x_12; } @@ -15915,7 +16418,7 @@ x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); x_68 = lean_ctor_get(x_9, 0); -x_69 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; +x_69 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; x_70 = l_Lean_checkTraceOption(x_68, x_69); if (x_70 == 0) { @@ -15978,7 +16481,7 @@ x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); x_29 = lean_ctor_get(x_9, 0); -x_30 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; +x_30 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; x_31 = l_Lean_checkTraceOption(x_29, x_30); if (x_31 == 0) { @@ -15987,7 +16490,7 @@ lean_dec(x_26); lean_dec(x_25); lean_inc(x_7); lean_inc(x_5); -x_32 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__1(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_28); +x_32 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___spec__1(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_28); if (lean_obj_tag(x_32) == 0) { lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; @@ -16061,7 +16564,7 @@ lean_inc(x_53); lean_dec(x_52); lean_inc(x_7); lean_inc(x_5); -x_54 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__1(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_53); +x_54 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___spec__1(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_53); if (lean_obj_tag(x_54) == 0) { lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; @@ -16129,7 +16632,7 @@ lean_inc(x_85); lean_dec(x_15); lean_inc(x_7); lean_inc(x_5); -x_86 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__1(x_85, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_86 = l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_Match_5__mkUserNameFor___spec__1(x_85, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_86) == 0) { lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; @@ -16231,7 +16734,7 @@ lean_dec(x_1); return x_9; } } -lean_object* l___private_Lean_Elab_Match_34__alreadyVisited(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* l___private_Lean_Elab_Match_33__alreadyVisited(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; uint8_t x_11; @@ -16271,11 +16774,11 @@ return x_21; } } } -lean_object* l___private_Lean_Elab_Match_34__alreadyVisited___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* l___private_Lean_Elab_Match_33__alreadyVisited___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_Match_34__alreadyVisited(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_33__alreadyVisited(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -16287,7 +16790,7 @@ lean_dec(x_1); return x_10; } } -lean_object* l___private_Lean_Elab_Match_35__markAsVisited(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* l___private_Lean_Elab_Match_34__markAsVisited(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; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -16365,11 +16868,11 @@ return x_31; } } } -lean_object* l___private_Lean_Elab_Match_35__markAsVisited___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* l___private_Lean_Elab_Match_34__markAsVisited___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_Match_35__markAsVisited(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_34__markAsVisited(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -16380,7 +16883,7 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1___rarg(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* l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1___rarg(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; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -16461,15 +16964,15 @@ return x_30; } } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1(lean_object* x_1) { +lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1___rarg___boxed), 9, 0); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__1() { _start: { lean_object* x_1; @@ -16477,52 +16980,52 @@ x_1 = lean_mk_string("invalid pattern "); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__1; +x_1 = l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__2; +x_1 = l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg(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* l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = l_Lean_indentExpr(x_1); -x_11 = l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__3; +x_11 = l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__3; x_12 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); -x_13 = l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1___rarg(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1___rarg(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } } -lean_object* l___private_Lean_Elab_Match_36__throwInvalidPattern(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_35__throwInvalidPattern(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___boxed), 9, 0); return x_2; } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1___rarg___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* l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1___rarg___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_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -16532,11 +17035,11 @@ lean_dec(x_2); return x_10; } } -lean_object* l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___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* l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___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_Match_36__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -16546,7 +17049,7 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_37__mkLocalDeclFor___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_object* l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_36__mkLocalDeclFor___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_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; uint8_t x_17; @@ -16658,7 +17161,7 @@ return x_46; } } } -lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2___rarg(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; uint8_t x_7; @@ -16818,15 +17321,15 @@ return x_46; } } } -lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___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* l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___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_7; -x_7 = lean_alloc_closure((void*)(l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2___rarg___boxed), 2, 0); +x_7 = lean_alloc_closure((void*)(l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2___rarg___boxed), 2, 0); return x_7; } } -lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__3(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* l_Lean_Meta_inferType___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__3(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -17140,7 +17643,7 @@ return x_96; } } } -lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_37__mkLocalDeclFor___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* l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_36__mkLocalDeclFor___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) { _start: { 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; uint8_t x_18; @@ -17327,7 +17830,7 @@ return x_71; } } } -lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17367,239 +17870,264 @@ return x_13; } } } -lean_object* l___private_Lean_Elab_Match_37__mkLocalDeclFor(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* l___private_Lean_Elab_Match_36__mkLocalDeclFor(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_10 = l_Lean_Expr_mvarId_x21(x_1); x_11 = lean_st_ref_get(x_2, x_9); -x_12 = lean_ctor_get(x_11, 0); +x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); lean_dec(x_11); lean_inc(x_3); lean_inc(x_10); -x_14 = l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) +x_13 = l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2___rarg(x_8, x_16); -x_18 = lean_ctor_get(x_17, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2___rarg(x_8, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); +lean_dec(x_16); lean_inc(x_8); lean_inc(x_6); lean_inc(x_5); lean_inc(x_3); lean_inc(x_1); -x_20 = l_Lean_Meta_inferType___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); -if (lean_obj_tag(x_20) == 0) +x_19 = l_Lean_Meta_inferType___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); +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_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; lean_object* x_37; uint8_t x_38; -x_21 = lean_ctor_get(x_20, 0); +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; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_18); -x_23 = l_Lean_mkFVar(x_18); -x_24 = l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__4(x_10, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +lean_dec(x_19); +lean_inc(x_17); +x_22 = l_Lean_mkFVar(x_17); +lean_inc(x_3); +x_23 = l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__4(x_10, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Lean_Elab_Term_mkFreshUserName(x_3, x_4, x_5, x_6, x_7, x_8, x_24); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_ctor_get(x_12, 1); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_12); -x_27 = lean_array_get_size(x_26); -lean_dec(x_26); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_27, x_28); -lean_dec(x_27); -x_30 = l_Lean_Meta_Closure_mkNextUserName___rarg___closed__2; -x_31 = l_Lean_Name_appendIndexAfter(x_30, x_29); -x_32 = lean_unsigned_to_nat(0u); -x_33 = 0; -lean_inc(x_18); -x_34 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_18); -lean_ctor_set(x_34, 2, x_31); -lean_ctor_set(x_34, 3, x_21); -lean_ctor_set_uint8(x_34, sizeof(void*)*4, x_33); -x_35 = lean_st_ref_take(x_2, x_25); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = !lean_is_exclusive(x_36); -if (x_38 == 0) +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_unsigned_to_nat(0u); +x_29 = 0; +lean_inc(x_17); +x_30 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_17); +lean_ctor_set(x_30, 2, x_26); +lean_ctor_set(x_30, 3, x_20); +lean_ctor_set_uint8(x_30, sizeof(void*)*4, x_29); +x_31 = lean_st_ref_take(x_2, x_27); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = !lean_is_exclusive(x_32); +if (x_34 == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = lean_ctor_get(x_36, 1); -x_40 = lean_ctor_get(x_36, 2); -x_41 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__5(x_1, x_39, x_32); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_32, 1); +x_36 = lean_ctor_get(x_32, 2); +x_37 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__5(x_1, x_35, x_28); lean_dec(x_1); -x_42 = lean_box(0); -lean_inc(x_18); -x_43 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_40, x_18, x_42); -if (lean_obj_tag(x_41) == 0) +x_38 = lean_box(0); +lean_inc(x_17); +x_39 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_36, x_17, x_38); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_44 = lean_array_push(x_39, x_34); -lean_ctor_set(x_36, 2, x_43); -lean_ctor_set(x_36, 1, x_44); -x_45 = lean_st_ref_set(x_2, x_36, x_37); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_array_push(x_35, x_30); +lean_ctor_set(x_32, 2, x_39); +lean_ctor_set(x_32, 1, x_40); +x_41 = lean_st_ref_set(x_2, x_32, x_33); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) { -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_18); -lean_ctor_set(x_45, 0, x_48); -return x_45; +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_41, 0); +lean_dec(x_43); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_17); +lean_ctor_set(x_41, 0, x_44); +return x_41; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_dec(x_45); -x_50 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_50, 0, x_18); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -return x_51; -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_52 = lean_ctor_get(x_41, 0); -lean_inc(x_52); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); lean_dec(x_41); -x_53 = l_Array_insertAt___rarg(x_39, x_52, x_34); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_17); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +return x_47; +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_48 = lean_ctor_get(x_37, 0); +lean_inc(x_48); +lean_dec(x_37); +x_49 = l_Array_insertAt___rarg(x_35, x_48, x_30); +lean_dec(x_48); +lean_ctor_set(x_32, 2, x_39); +lean_ctor_set(x_32, 1, x_49); +x_50 = lean_st_ref_set(x_2, x_32, x_33); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_50, 0); lean_dec(x_52); -lean_ctor_set(x_36, 2, x_43); -lean_ctor_set(x_36, 1, x_53); -x_54 = lean_st_ref_set(x_2, x_36, x_37); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -x_57 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_57, 0, x_18); -lean_ctor_set(x_54, 0, x_57); -return x_54; +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_17); +lean_ctor_set(x_50, 0, x_53); +return x_50; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_54, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_50, 1); +lean_inc(x_54); +lean_dec(x_50); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_17); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +return x_56; +} +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_57 = lean_ctor_get(x_32, 0); +x_58 = lean_ctor_get(x_32, 1); +x_59 = lean_ctor_get(x_32, 2); +lean_inc(x_59); lean_inc(x_58); -lean_dec(x_54); -x_59 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_59, 0, x_18); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -return x_60; -} -} -} -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; -x_61 = lean_ctor_get(x_36, 0); -x_62 = lean_ctor_get(x_36, 1); -x_63 = lean_ctor_get(x_36, 2); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_36); -x_64 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__5(x_1, x_62, x_32); +lean_inc(x_57); +lean_dec(x_32); +x_60 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__5(x_1, x_58, x_28); lean_dec(x_1); -x_65 = lean_box(0); -lean_inc(x_18); -x_66 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_63, x_18, x_65); -if (lean_obj_tag(x_64) == 0) +x_61 = lean_box(0); +lean_inc(x_17); +x_62 = l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_59, x_17, x_61); +if (lean_obj_tag(x_60) == 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; -x_67 = lean_array_push(x_62, x_34); -x_68 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_68, 0, x_61); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_66); -x_69 = lean_st_ref_set(x_2, x_68, x_37); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_71 = x_69; +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; +x_63 = lean_array_push(x_58, x_30); +x_64 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_64, 0, x_57); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_62); +x_65 = lean_st_ref_set(x_2, x_64, x_33); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_67 = x_65; } else { - lean_dec_ref(x_69); - x_71 = lean_box(0); + lean_dec_ref(x_65); + x_67 = lean_box(0); } -x_72 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_72, 0, x_18); -if (lean_is_scalar(x_71)) { - x_73 = lean_alloc_ctor(0, 2, 0); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_17); +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 2, 0); } else { - x_73 = x_71; + x_69 = x_67; } -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_70); -return x_73; +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_66); +return x_69; } else { -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_81; -x_74 = lean_ctor_get(x_64, 0); +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; +x_70 = lean_ctor_get(x_60, 0); +lean_inc(x_70); +lean_dec(x_60); +x_71 = l_Array_insertAt___rarg(x_58, x_70, x_30); +lean_dec(x_70); +x_72 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_72, 0, x_57); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_62); +x_73 = lean_st_ref_set(x_2, x_72, x_33); +x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); -lean_dec(x_64); -x_75 = l_Array_insertAt___rarg(x_62, x_74, x_34); -lean_dec(x_74); -x_76 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_76, 0, x_61); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_76, 2, x_66); -x_77 = lean_st_ref_set(x_2, x_76, x_37); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_79 = x_77; +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_75 = x_73; } else { - lean_dec_ref(x_77); - x_79 = lean_box(0); + lean_dec_ref(x_73); + x_75 = lean_box(0); } -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_18); -if (lean_is_scalar(x_79)) { - x_81 = lean_alloc_ctor(0, 2, 0); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_17); +if (lean_is_scalar(x_75)) { + x_77 = lean_alloc_ctor(0, 2, 0); } else { - x_81 = x_79; + x_77 = x_75; } -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_78); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +return x_77; +} +} +} +else +{ +uint8_t x_78; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_19); +if (x_78 == 0) +{ +return x_19; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_19, 0); +x_80 = lean_ctor_get(x_19, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_19); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); return x_81; } } @@ -17607,82 +18135,50 @@ return x_81; else { uint8_t x_82; -lean_dec(x_18); -lean_dec(x_12); lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_82 = !lean_is_exclusive(x_20); +x_82 = !lean_is_exclusive(x_13); if (x_82 == 0) { -return x_20; -} -else -{ lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_20, 0); -x_84 = lean_ctor_get(x_20, 1); +x_83 = lean_ctor_get(x_13, 0); +lean_dec(x_83); +x_84 = lean_ctor_get(x_14, 0); lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_20); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -} -else -{ -uint8_t x_86; -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_86 = !lean_is_exclusive(x_14); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_14, 0); -lean_dec(x_87); -x_88 = lean_ctor_get(x_15, 0); -lean_inc(x_88); -lean_dec(x_15); -x_89 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_14, 0, x_89); -return x_14; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_90 = lean_ctor_get(x_14, 1); -lean_inc(x_90); lean_dec(x_14); -x_91 = lean_ctor_get(x_15, 0); -lean_inc(x_91); -lean_dec(x_15); -x_92 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_90); -return x_93; +x_85 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_13, 0, x_85); +return x_13; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_86 = lean_ctor_get(x_13, 1); +lean_inc(x_86); +lean_dec(x_13); +x_87 = lean_ctor_get(x_14, 0); +lean_inc(x_87); +lean_dec(x_14); +x_88 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_86); +return x_89; } } } } -lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_37__mkLocalDeclFor___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* l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_36__mkLocalDeclFor___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) { _start: { lean_object* x_10; -x_10 = l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Meta_getExprMVarAssignment_x3f___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -17692,20 +18188,20 @@ lean_dec(x_2); return x_10; } } -lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2___rarg(x_1, x_2); +x_3 = l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2___rarg(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___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* l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___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) { _start: { lean_object* x_7; -x_7 = l_Lean_mkFreshId___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_mkFreshId___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -17715,22 +18211,22 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Meta_inferType___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Meta_inferType___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); lean_dec(x_4); lean_dec(x_2); return x_10; } } -lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_37__mkLocalDeclFor___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* l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_36__mkLocalDeclFor___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) { _start: { lean_object* x_11; -x_11 = l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Meta_assignExprMVar___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -17740,21 +18236,21 @@ lean_dec(x_3); return x_11; } } -lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_37__mkLocalDeclFor___spec__5(x_1, x_2, x_3); +x_4 = l_Array_findIdxAux___main___at___private_Lean_Elab_Match_36__mkLocalDeclFor___spec__5(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l___private_Lean_Elab_Match_37__mkLocalDeclFor___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* l___private_Lean_Elab_Match_36__mkLocalDeclFor___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_Match_37__mkLocalDeclFor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_36__mkLocalDeclFor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); lean_dec(x_4); lean_dec(x_2); @@ -18525,7 +19021,7 @@ x_11 = l_Lean_Expr_arrayLit_x3f(x_1); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = l___private_Lean_Elab_Match_29__collect___main___closed__8; +x_12 = l___private_Lean_Elab_Match_28__collect___main___closed__8; x_13 = lean_unsigned_to_nat(3u); x_14 = l_Lean_Expr_isAppOfArity___main(x_1, x_12, x_13); if (x_14 == 0) @@ -18600,7 +19096,7 @@ if (lean_obj_tag(x_32) == 0) { lean_object* x_33; lean_dec(x_27); -x_33 = l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +x_33 = l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -18648,7 +19144,7 @@ lean_dec(x_43); lean_dec(x_42); lean_dec(x_35); lean_dec(x_27); -x_48 = l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +x_48 = l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -18772,7 +19268,7 @@ else lean_object* x_77; lean_dec(x_34); lean_dec(x_27); -x_77 = l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +x_77 = l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -18787,7 +19283,7 @@ else { lean_object* x_78; lean_dec(x_25); -x_78 = l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +x_78 = l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -18832,7 +19328,7 @@ return x_82; else { lean_object* x_83; -x_83 = l___private_Lean_Elab_Match_37__mkLocalDeclFor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_83 = l___private_Lean_Elab_Match_36__mkLocalDeclFor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); lean_dec(x_4); lean_dec(x_2); @@ -18861,7 +19357,7 @@ if (x_110 == 0) { lean_object* x_111; uint8_t x_112; lean_dec(x_84); -x_111 = l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_106); +x_111 = l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_106); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -18895,7 +19391,7 @@ goto block_103; block_103: { lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_86 = l___private_Lean_Elab_Match_34__alreadyVisited(x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_85); +x_86 = l___private_Lean_Elab_Match_33__alreadyVisited(x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_85); x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); x_88 = lean_unbox(x_87); @@ -18908,7 +19404,7 @@ x_89 = lean_ctor_get(x_86, 1); lean_inc(x_89); lean_dec(x_86); lean_inc(x_84); -x_90 = l___private_Lean_Elab_Match_35__markAsVisited(x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_89); +x_90 = l___private_Lean_Elab_Match_34__markAsVisited(x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_89); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -19094,7 +19590,7 @@ lean_dec(x_135); lean_free_object(x_129); lean_dec(x_131); x_138 = l_Lean_Elab_Term_ToDepElimPattern_main___main___closed__3; -x_139 = l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1___rarg(x_138, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132); +x_139 = l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1___rarg(x_138, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_132); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -19145,7 +19641,7 @@ lean_object* x_148; lean_object* x_149; lean_dec(x_144); lean_dec(x_140); x_148 = l_Lean_Elab_Term_ToDepElimPattern_main___main___closed__3; -x_149 = l_Lean_throwError___at___private_Lean_Elab_Match_36__throwInvalidPattern___spec__1___rarg(x_148, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_141); +x_149 = l_Lean_throwError___at___private_Lean_Elab_Match_35__throwInvalidPattern___spec__1___rarg(x_148, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_141); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -19305,7 +19801,7 @@ else { lean_object* x_180; lean_object* x_181; uint8_t x_182; lean_free_object(x_171); -x_180 = l___private_Lean_Elab_Match_34__alreadyVisited(x_170, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_174); +x_180 = l___private_Lean_Elab_Match_33__alreadyVisited(x_170, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_174); x_181 = lean_ctor_get(x_180, 0); lean_inc(x_181); x_182 = lean_unbox(x_181); @@ -19316,7 +19812,7 @@ lean_object* x_183; lean_object* x_184; uint8_t x_185; x_183 = lean_ctor_get(x_180, 1); lean_inc(x_183); lean_dec(x_180); -x_184 = l___private_Lean_Elab_Match_35__markAsVisited(x_170, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_183); +x_184 = l___private_Lean_Elab_Match_34__markAsVisited(x_170, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_183); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -19428,7 +19924,7 @@ return x_206; else { lean_object* x_207; lean_object* x_208; uint8_t x_209; -x_207 = l___private_Lean_Elab_Match_34__alreadyVisited(x_170, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_200); +x_207 = l___private_Lean_Elab_Match_33__alreadyVisited(x_170, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_200); x_208 = lean_ctor_get(x_207, 0); lean_inc(x_208); x_209 = lean_unbox(x_208); @@ -19439,7 +19935,7 @@ lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; x_210 = lean_ctor_get(x_207, 1); lean_inc(x_210); lean_dec(x_207); -x_211 = l___private_Lean_Elab_Match_35__markAsVisited(x_170, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_210); +x_211 = l___private_Lean_Elab_Match_34__markAsVisited(x_170, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_210); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -19870,7 +20366,7 @@ lean_dec(x_1); return x_5; } } -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__withElaboratedLHS___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_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_37__withElaboratedLHS___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_10; uint8_t x_11; @@ -19914,7 +20410,7 @@ goto _start; } } } -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg___lambda__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_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg___lambda__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_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -19928,13 +20424,13 @@ x_16 = lean_apply_9(x_2, x_15, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_16; } } -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg(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* l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg(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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Array_empty___closed__1; -x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_33__elabPatternsAux___boxed), 11, 4); +x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_32__elabPatternsAux___boxed), 11, 4); lean_closure_set(x_15, 0, x_3); lean_closure_set(x_15, 1, x_13); lean_closure_set(x_15, 2, x_4); @@ -19971,7 +20467,7 @@ x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); x_24 = x_19; -x_25 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__withElaboratedLHS___spec__1___boxed), 9, 2); +x_25 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at___private_Lean_Elab_Match_37__withElaboratedLHS___spec__1___boxed), 9, 2); lean_closure_set(x_25, 0, x_13); lean_closure_set(x_25, 1, x_24); x_26 = x_25; @@ -19990,7 +20486,7 @@ lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg___lambda__1___boxed), 12, 3); +x_30 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg___lambda__1___boxed), 12, 3); lean_closure_set(x_30, 0, x_1); lean_closure_set(x_30, 1, x_5); lean_closure_set(x_30, 2, x_20); @@ -20095,19 +20591,19 @@ return x_43; } } } -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_37__withElaboratedLHS(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg___boxed), 12, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg___boxed), 12, 0); return x_2; } } -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__withElaboratedLHS___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* l_Array_umapMAux___main___at___private_Lean_Elab_Match_37__withElaboratedLHS___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) { _start: { lean_object* x_10; -x_10 = l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__withElaboratedLHS___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Array_umapMAux___main___at___private_Lean_Elab_Match_37__withElaboratedLHS___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -20116,21 +20612,21 @@ lean_dec(x_4); return x_10; } } -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg___lambda__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) { +lean_object* l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg___lambda__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: { lean_object* x_13; -x_13 = l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg___lambda__1(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 = l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg___lambda__1(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_5); lean_dec(x_4); return x_13; } } -lean_object* l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg___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* l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg___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_13; -x_13 = l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg(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 = l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg(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_2); return x_13; } @@ -20840,7 +21336,7 @@ lean_inc(x_13); x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMatchAltView___lambda__1), 11, 2); lean_closure_set(x_14, 0, x_1); lean_closure_set(x_14, 1, x_2); -x_15 = l___private_Lean_Elab_Match_38__withElaboratedLHS___rarg(x_12, x_4, x_13, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l___private_Lean_Elab_Match_37__withElaboratedLHS___rarg(x_12, x_4, x_13, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_15; } } @@ -20899,7 +21395,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_17 = l___private_Lean_Elab_Match_30__collectPatternVars(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_17 = l___private_Lean_Elab_Match_29__collectPatternVars(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); 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_22; uint8_t x_23; @@ -20913,7 +21409,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); lean_dec(x_18); -x_22 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; +x_22 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; x_23 = l_Lean_checkTraceOption(x_12, x_22); lean_dec(x_12); if (x_23 == 0) @@ -20923,7 +21419,7 @@ x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMatchAltView___lambda__2_ lean_closure_set(x_24, 0, x_21); lean_closure_set(x_24, 1, x_22); lean_closure_set(x_24, 2, x_2); -x_25 = l___private_Lean_Elab_Match_32__withPatternVars___rarg(x_20, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_25 = l___private_Lean_Elab_Match_31__withPatternVars___rarg(x_20, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_19); return x_25; } else @@ -20950,7 +21446,7 @@ x_36 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMatchAltView___lambda__2_ lean_closure_set(x_36, 0, x_21); lean_closure_set(x_36, 1, x_22); lean_closure_set(x_36, 2, x_2); -x_37 = l___private_Lean_Elab_Match_32__withPatternVars___rarg(x_20, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_35); +x_37 = l___private_Lean_Elab_Match_31__withPatternVars___rarg(x_20, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_35); return x_37; } } @@ -21016,7 +21512,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_50 = l___private_Lean_Elab_Match_30__collectPatternVars(x_1, x_3, x_4, x_5, x_6, x_49, x_8, x_9); +x_50 = l___private_Lean_Elab_Match_29__collectPatternVars(x_1, x_3, x_4, x_5, x_6, x_49, x_8, x_9); if (lean_obj_tag(x_50) == 0) { lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; @@ -21030,7 +21526,7 @@ lean_inc(x_53); x_54 = lean_ctor_get(x_51, 1); lean_inc(x_54); lean_dec(x_51); -x_55 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; +x_55 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; x_56 = l_Lean_checkTraceOption(x_42, x_55); lean_dec(x_42); if (x_56 == 0) @@ -21040,7 +21536,7 @@ x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMatchAltView___lambda__2_ lean_closure_set(x_57, 0, x_54); lean_closure_set(x_57, 1, x_55); lean_closure_set(x_57, 2, x_2); -x_58 = l___private_Lean_Elab_Match_32__withPatternVars___rarg(x_53, x_57, x_3, x_4, x_5, x_6, x_49, x_8, x_52); +x_58 = l___private_Lean_Elab_Match_31__withPatternVars___rarg(x_53, x_57, x_3, x_4, x_5, x_6, x_49, x_8, x_52); return x_58; } else @@ -21067,7 +21563,7 @@ x_69 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMatchAltView___lambda__2_ lean_closure_set(x_69, 0, x_54); lean_closure_set(x_69, 1, x_55); lean_closure_set(x_69, 2, x_2); -x_70 = l___private_Lean_Elab_Match_32__withPatternVars___rarg(x_53, x_69, x_3, x_4, x_5, x_6, x_49, x_8, x_68); +x_70 = l___private_Lean_Elab_Match_31__withPatternVars___rarg(x_53, x_69, x_3, x_4, x_5, x_6, x_49, x_8, x_68); return x_70; } } @@ -21195,7 +21691,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_10, 0, x_2); x_11 = l_Lean_Elab_Term_mkMotiveType___closed__1; -x_12 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3___rarg(x_1, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2___rarg(x_1, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } @@ -21622,7 +22118,7 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_39__elabMatchAux___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_object* x_10) { +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__elabMatchAux___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_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -21713,7 +22209,7 @@ return x_30; } } } -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_39__elabMatchAux___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__elabMatchAux___spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -21748,7 +22244,7 @@ goto _start; } } } -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_39__elabMatchAux___spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__elabMatchAux___spec__3(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -21783,7 +22279,7 @@ goto _start; } } } -lean_object* _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__1() { _start: { lean_object* x_1; @@ -21791,7 +22287,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_mkLambdaFVars___at___private_Lean_E return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21801,7 +22297,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__3() { _start: { lean_object* x_1; @@ -21809,27 +22305,27 @@ x_1 = lean_mk_string("result: "); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__4() { +lean_object* _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__3; +x_1 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__3; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__5() { +lean_object* _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__4; +x_1 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__6() { +lean_object* _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__6() { _start: { lean_object* x_1; @@ -21837,654 +22333,608 @@ x_1 = lean_mk_string("matchType: "); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__7() { +lean_object* _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__6; +x_1 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__6; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__8() { +lean_object* _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__7; +x_1 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__7; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux(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; lean_object* x_13; -x_12 = lean_array_get_size(x_1); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_13 = l___private_Lean_Elab_Match_5__elabMatchOptType(x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_12); -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); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_16 = l_Lean_Elab_Term_expandMacrosInPatterns(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_15); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_14); -x_19 = l___private_Lean_Elab_Match_7__elabDiscrs(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_112; lean_object* x_113; uint8_t x_114; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_112 = lean_ctor_get(x_9, 0); -lean_inc(x_112); -x_113 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; -x_114 = l_Lean_checkTraceOption(x_112, x_113); -lean_dec(x_112); -if (x_114 == 0) -{ -x_22 = x_21; -goto block_111; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -lean_inc(x_14); -x_115 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_115, 0, x_14); -x_116 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__8; -x_117 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_113, x_117, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -lean_dec(x_118); -x_22 = x_119; -goto block_111; -} -block_111: -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = x_17; -x_24 = lean_unsigned_to_nat(0u); -lean_inc(x_14); -x_25 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at___private_Lean_Elab_Match_39__elabMatchAux___spec__1), 10, 3); -lean_closure_set(x_25, 0, x_14); -lean_closure_set(x_25, 1, x_24); -lean_closure_set(x_25, 2, x_23); -x_26 = x_25; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_27 = lean_apply_7(x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_22); -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_object* x_34; lean_object* x_35; lean_object* x_36; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = x_28; -lean_inc(x_30); -x_31 = l_Array_umapMAux___main___at___private_Lean_Elab_Match_39__elabMatchAux___spec__2(x_24, x_30); -x_32 = x_31; -x_33 = l_Array_umapMAux___main___at___private_Lean_Elab_Match_39__elabMatchAux___spec__3(x_24, x_30); -x_34 = x_33; -x_35 = lean_array_get_size(x_20); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_35); -lean_inc(x_14); -x_36 = l_Lean_Elab_Term_mkMotiveType(x_14, x_35, x_5, x_6, x_7, x_8, x_9, x_10, x_29); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -lean_inc(x_35); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_35); -x_40 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__1; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_41 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_14__getNumExplicitCtorParams___spec__3___rarg(x_14, x_39, x_40, x_5, x_6, x_7, x_8, x_9, x_10, x_38); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__2; -lean_inc(x_5); -x_45 = l_Lean_Elab_Term_mkAuxName(x_44, x_5, x_6, x_7, x_8, x_9, x_10, x_43); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Array_toList___rarg(x_34); -lean_dec(x_34); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -x_49 = l_Lean_Elab_Term_mkMatcher(x_46, x_37, x_35, x_48, x_5, x_6, x_7, x_8, x_9, x_10, x_47); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -lean_inc(x_5); -lean_inc(x_50); -x_52 = l_Lean_Elab_Term_reportMatcherResultErrors(x_50, x_5, x_6, x_7, x_8, x_9, x_10, x_51); -if (lean_obj_tag(x_52) == 0) -{ -uint8_t x_53; -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -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; uint8_t x_62; -x_54 = lean_ctor_get(x_52, 1); -x_55 = lean_ctor_get(x_52, 0); -lean_dec(x_55); -x_56 = lean_ctor_get(x_50, 0); -lean_inc(x_56); -lean_dec(x_50); -x_57 = l_Lean_mkApp(x_56, x_42); -x_58 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_20, x_20, x_24, x_57); -lean_dec(x_20); -x_59 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_32, x_32, x_24, x_58); -lean_dec(x_32); -x_60 = lean_ctor_get(x_9, 0); -lean_inc(x_60); -x_61 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; -x_62 = l_Lean_checkTraceOption(x_60, x_61); -lean_dec(x_60); -if (x_62 == 0) -{ -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_ctor_set(x_52, 0, x_59); -return x_52; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -lean_free_object(x_52); -lean_inc(x_59); -x_63 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_63, 0, x_59); -x_64 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__5; -x_65 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -x_66 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_61, x_65, x_5, x_6, x_7, x_8, x_9, x_10, x_54); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_ctor_get(x_66, 0); -lean_dec(x_68); -lean_ctor_set(x_66, 0, x_59); -return x_66; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_59); -lean_ctor_set(x_70, 1, x_69); -return x_70; -} -} -} -else -{ -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; uint8_t x_78; -x_71 = lean_ctor_get(x_52, 1); -lean_inc(x_71); -lean_dec(x_52); -x_72 = lean_ctor_get(x_50, 0); -lean_inc(x_72); -lean_dec(x_50); -x_73 = l_Lean_mkApp(x_72, x_42); -x_74 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_20, x_20, x_24, x_73); -lean_dec(x_20); -x_75 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_32, x_32, x_24, x_74); -lean_dec(x_32); -x_76 = lean_ctor_get(x_9, 0); -lean_inc(x_76); -x_77 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; -x_78 = l_Lean_checkTraceOption(x_76, x_77); -lean_dec(x_76); -if (x_78 == 0) -{ -lean_object* x_79; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_75); -lean_ctor_set(x_79, 1, x_71); -return x_79; -} -else -{ -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_inc(x_75); -x_80 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_80, 0, x_75); -x_81 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__5; -x_82 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_77, x_82, x_5, x_6, x_7, x_8, x_9, x_10, x_71); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_85 = x_83; -} else { - lean_dec_ref(x_83); - x_85 = lean_box(0); -} -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_85; -} -lean_ctor_set(x_86, 0, x_75); -lean_ctor_set(x_86, 1, x_84); -return x_86; -} -} -} -else -{ -uint8_t x_87; -lean_dec(x_50); -lean_dec(x_42); -lean_dec(x_32); -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_87 = !lean_is_exclusive(x_52); -if (x_87 == 0) -{ -return x_52; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_52, 0); -x_89 = lean_ctor_get(x_52, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_52); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; -} -} -} -else -{ -uint8_t x_91; -lean_dec(x_42); -lean_dec(x_32); -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_91 = !lean_is_exclusive(x_49); -if (x_91 == 0) -{ -return x_49; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_49, 0); -x_93 = lean_ctor_get(x_49, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_49); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} -} -} -else -{ -uint8_t x_95; -lean_dec(x_42); -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_32); -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_95 = !lean_is_exclusive(x_45); -if (x_95 == 0) -{ -return x_45; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_45, 0); -x_97 = lean_ctor_get(x_45, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_45); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; -} -} -} -else -{ -uint8_t x_99; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_32); -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_99 = !lean_is_exclusive(x_41); -if (x_99 == 0) -{ -return x_41; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_41, 0); -x_101 = lean_ctor_get(x_41, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_41); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; -} -} -} -else -{ -uint8_t x_103; -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_32); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_103 = !lean_is_exclusive(x_36); -if (x_103 == 0) -{ -return x_36; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_36, 0); -x_105 = lean_ctor_get(x_36, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_36); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -} -else -{ -uint8_t x_107; -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_107 = !lean_is_exclusive(x_27); -if (x_107 == 0) -{ -return x_27; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_27, 0); -x_109 = lean_ctor_get(x_27, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_27); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; -} -} -} -} -else -{ -uint8_t x_120; -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_120 = !lean_is_exclusive(x_19); -if (x_120 == 0) -{ -return x_19; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_19, 0); -x_122 = lean_ctor_get(x_19, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_19); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -return x_123; -} -} -} -else -{ -uint8_t x_124; -lean_dec(x_14); -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_124 = !lean_is_exclusive(x_16); -if (x_124 == 0) -{ -return x_16; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_16, 0); -x_126 = lean_ctor_get(x_16, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_16); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; -} -} -} -else -{ -uint8_t x_128; -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_2); -x_128 = !lean_is_exclusive(x_13); -if (x_128 == 0) -{ -return x_13; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_13, 0); -x_130 = lean_ctor_get(x_13, 1); -lean_inc(x_130); -lean_inc(x_129); -lean_dec(x_13); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -return x_131; -} -} -} -} -lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___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* l___private_Lean_Elab_Match_38__elabMatchAux(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___private_Lean_Elab_Match_39__elabMatchAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_12 = l___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrs(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_17 = l_Lean_Elab_Term_expandMacrosInPatterns(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_110 = lean_ctor_get(x_9, 0); +lean_inc(x_110); +x_111 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; +x_112 = l_Lean_checkTraceOption(x_110, x_111); +lean_dec(x_110); +if (x_112 == 0) +{ +x_20 = x_19; +goto block_109; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_inc(x_16); +x_113 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_113, 0, x_16); +x_114 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__8; +x_115 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +x_116 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_111, x_115, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +x_117 = lean_ctor_get(x_116, 1); +lean_inc(x_117); +lean_dec(x_116); +x_20 = x_117; +goto block_109; +} +block_109: +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = x_18; +x_22 = lean_unsigned_to_nat(0u); +lean_inc(x_16); +x_23 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__elabMatchAux___spec__1), 10, 3); +lean_closure_set(x_23, 0, x_16); +lean_closure_set(x_23, 1, x_22); +lean_closure_set(x_23, 2, x_21); +x_24 = x_23; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_25 = lean_apply_7(x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +if (lean_obj_tag(x_25) == 0) +{ +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; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = x_26; +lean_inc(x_28); +x_29 = l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__elabMatchAux___spec__2(x_22, x_28); +x_30 = x_29; +x_31 = l_Array_umapMAux___main___at___private_Lean_Elab_Match_38__elabMatchAux___spec__3(x_22, x_28); +x_32 = x_31; +x_33 = lean_array_get_size(x_15); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_33); +lean_inc(x_16); +x_34 = l_Lean_Elab_Term_mkMotiveType(x_16, x_33, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +lean_inc(x_33); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_33); +x_38 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_39 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Match_13__getNumExplicitCtorParams___spec__2___rarg(x_16, x_37, x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_36); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__2; +lean_inc(x_5); +x_43 = l_Lean_Elab_Term_mkAuxName(x_42, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Array_toList___rarg(x_32); +lean_dec(x_32); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_5); +x_47 = l_Lean_Elab_Term_mkMatcher(x_44, x_35, x_33, x_46, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +lean_inc(x_5); +lean_inc(x_48); +x_50 = l_Lean_Elab_Term_reportMatcherResultErrors(x_48, x_5, x_6, x_7, x_8, x_9, x_10, x_49); +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; uint8_t x_60; +x_52 = lean_ctor_get(x_50, 1); +x_53 = lean_ctor_get(x_50, 0); +lean_dec(x_53); +x_54 = lean_ctor_get(x_48, 0); +lean_inc(x_54); +lean_dec(x_48); +x_55 = l_Lean_mkApp(x_54, x_40); +x_56 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_15, x_15, x_22, x_55); +lean_dec(x_15); +x_57 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_30, x_30, x_22, x_56); +lean_dec(x_30); +x_58 = lean_ctor_get(x_9, 0); +lean_inc(x_58); +x_59 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; +x_60 = l_Lean_checkTraceOption(x_58, x_59); +lean_dec(x_58); +if (x_60 == 0) +{ +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_ctor_set(x_50, 0, x_57); +return x_50; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +lean_free_object(x_50); +lean_inc(x_57); +x_61 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_61, 0, x_57); +x_62 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__5; +x_63 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_59, x_63, x_5, x_6, x_7, x_8, x_9, x_10, x_52); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_64, 0); +lean_dec(x_66); +lean_ctor_set(x_64, 0, x_57); +return x_64; +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_dec(x_64); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_57); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +else +{ +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; uint8_t x_76; +x_69 = lean_ctor_get(x_50, 1); +lean_inc(x_69); +lean_dec(x_50); +x_70 = lean_ctor_get(x_48, 0); +lean_inc(x_70); +lean_dec(x_48); +x_71 = l_Lean_mkApp(x_70, x_40); +x_72 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_15, x_15, x_22, x_71); +lean_dec(x_15); +x_73 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_30, x_30, x_22, x_72); +lean_dec(x_30); +x_74 = lean_ctor_get(x_9, 0); +lean_inc(x_74); +x_75 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; +x_76 = l_Lean_checkTraceOption(x_74, x_75); +lean_dec(x_74); +if (x_76 == 0) +{ +lean_object* x_77; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_73); +lean_ctor_set(x_77, 1, x_69); +return x_77; +} +else +{ +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_inc(x_73); +x_78 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_78, 0, x_73); +x_79 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__5; +x_80 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_75, x_80, x_5, x_6, x_7, x_8, x_9, x_10, x_69); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_83 = x_81; +} else { + lean_dec_ref(x_81); + x_83 = lean_box(0); +} +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(0, 2, 0); +} else { + x_84 = x_83; +} +lean_ctor_set(x_84, 0, x_73); +lean_ctor_set(x_84, 1, x_82); +return x_84; +} +} +} +else +{ +uint8_t x_85; +lean_dec(x_48); +lean_dec(x_40); +lean_dec(x_30); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_85 = !lean_is_exclusive(x_50); +if (x_85 == 0) +{ +return x_50; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_50, 0); +x_87 = lean_ctor_get(x_50, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_50); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +else +{ +uint8_t x_89; +lean_dec(x_40); +lean_dec(x_30); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_89 = !lean_is_exclusive(x_47); +if (x_89 == 0) +{ +return x_47; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_47, 0); +x_91 = lean_ctor_get(x_47, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_47); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} +} +} +else +{ +uint8_t x_93; +lean_dec(x_40); +lean_dec(x_35); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_93 = !lean_is_exclusive(x_43); +if (x_93 == 0) +{ +return x_43; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_43, 0); +x_95 = lean_ctor_get(x_43, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_43); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +else +{ +uint8_t x_97; +lean_dec(x_35); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_97 = !lean_is_exclusive(x_39); +if (x_97 == 0) +{ +return x_39; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_39, 0); +x_99 = lean_ctor_get(x_39, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_39); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_101 = !lean_is_exclusive(x_34); +if (x_101 == 0) +{ +return x_34; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_34, 0); +x_103 = lean_ctor_get(x_34, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_34); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +else +{ +uint8_t x_105; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_105 = !lean_is_exclusive(x_25); +if (x_105 == 0) +{ +return x_25; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_25, 0); +x_107 = lean_ctor_get(x_25, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_25); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; +} +} +} +} +else +{ +uint8_t x_118; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_118 = !lean_is_exclusive(x_17); +if (x_118 == 0) +{ +return x_17; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_17, 0); +x_120 = lean_ctor_get(x_17, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_17); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; +} +} +} +else +{ +uint8_t x_122; +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_2); +x_122 = !lean_is_exclusive(x_12); +if (x_122 == 0) +{ +return x_12; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_12, 0); +x_124 = lean_ctor_get(x_12, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_12); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; +} +} +} +} +lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___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___private_Lean_Elab_Match_38__elabMatchAux(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_3); -lean_dec(x_1); return x_12; } } -lean_object* l___private_Lean_Elab_Match_40__waitExpectedType(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* l___private_Lean_Elab_Match_39__waitExpectedType(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; @@ -22564,11 +23014,11 @@ return x_23; } } } -lean_object* l___private_Lean_Elab_Match_40__waitExpectedType___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* l___private_Lean_Elab_Match_39__waitExpectedType___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___private_Lean_Elab_Match_40__waitExpectedType(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Match_39__waitExpectedType(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -22576,7 +23026,7 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_41__elabMatchCore___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Match_40__elabMatchCore___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -22610,13 +23060,13 @@ goto _start; } } } -lean_object* l___private_Lean_Elab_Match_41__elabMatchCore(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* l___private_Lean_Elab_Match_40__elabMatchCore(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; lean_inc(x_5); lean_inc(x_3); -x_10 = l___private_Lean_Elab_Match_40__waitExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_39__waitExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { 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; @@ -22635,13 +23085,12 @@ x_18 = l_Array_empty___closed__1; x_19 = l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(x_16, x_15, x_17, x_18); lean_dec(x_15); x_20 = x_19; -x_21 = l_Array_umapMAux___main___at___private_Lean_Elab_Match_41__elabMatchCore___spec__1(x_17, x_20); +x_21 = l_Array_umapMAux___main___at___private_Lean_Elab_Match_40__elabMatchCore___spec__1(x_17, x_20); x_22 = x_21; -x_23 = l___private_Lean_Elab_Match_9__getMatchAlts(x_1); +x_23 = l___private_Lean_Elab_Match_8__getMatchAlts(x_1); x_24 = l_Lean_Syntax_getArg(x_1, x_16); -x_25 = l___private_Lean_Elab_Match_39__elabMatchAux(x_22, x_23, x_24, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_25 = l___private_Lean_Elab_Match_38__elabMatchAux(x_22, x_23, x_24, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_12); lean_dec(x_24); -lean_dec(x_22); return x_25; } else @@ -22674,16 +23123,16 @@ return x_29; } } } -lean_object* l___private_Lean_Elab_Match_41__elabMatchCore___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* l___private_Lean_Elab_Match_40__elabMatchCore___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_Match_41__elabMatchCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Match_40__elabMatchCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); return x_10; } } -lean_object* _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -22693,19 +23142,19 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nullKind___closed__2; -x_2 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__1; +x_2 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__3() { _start: { lean_object* x_1; @@ -22713,29 +23162,29 @@ x_1 = lean_mk_string("→"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__4() { +lean_object* _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_SourceInfo_inhabited___closed__1; -x_2 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__3; +x_2 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__3; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__5() { +lean_object* _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__13; -x_2 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__4; +x_2 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Match_41__mkMatchType___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; @@ -22790,7 +23239,7 @@ else lean_object* x_19; lean_object* x_20; uint8_t x_21; x_19 = lean_nat_add(x_2, x_7); lean_dec(x_2); -x_20 = l___private_Lean_Elab_Match_42__mkMatchType___main(x_1, x_19, x_3, x_8); +x_20 = l___private_Lean_Elab_Match_41__mkMatchType___main(x_1, x_19, x_3, x_8); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -22809,7 +23258,7 @@ x_27 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_28 = l_Lean_addMacroScope(x_12, x_27, x_4); x_29 = lean_box(0); x_30 = l_Lean_SourceInfo_inhabited___closed__1; -x_31 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_31 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_32 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -22824,7 +23273,7 @@ lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_34); x_37 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; x_38 = lean_array_push(x_37, x_36); -x_39 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__2; +x_39 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__2; x_40 = lean_array_push(x_38, x_39); x_41 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; x_42 = lean_array_push(x_40, x_41); @@ -22835,7 +23284,7 @@ x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); x_47 = lean_array_push(x_33, x_46); -x_48 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__4; +x_48 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__4; x_49 = lean_array_push(x_47, x_48); x_50 = lean_array_push(x_33, x_26); x_51 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; @@ -22866,7 +23315,7 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_dec(x_14); lean_dec(x_12); lean_dec(x_4); -x_64 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__5; +x_64 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__5; x_65 = lean_array_push(x_64, x_22); x_66 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; x_67 = lean_alloc_ctor(1, 2, 0); @@ -22897,7 +23346,7 @@ x_74 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_75 = l_Lean_addMacroScope(x_12, x_74, x_4); x_76 = lean_box(0); x_77 = l_Lean_SourceInfo_inhabited___closed__1; -x_78 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_78 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_79 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); @@ -22912,7 +23361,7 @@ lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_81); x_84 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; x_85 = lean_array_push(x_84, x_83); -x_86 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__2; +x_86 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__2; x_87 = lean_array_push(x_85, x_86); x_88 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; x_89 = lean_array_push(x_87, x_88); @@ -22923,7 +23372,7 @@ x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); x_94 = lean_array_push(x_80, x_93); -x_95 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__4; +x_95 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__4; x_96 = lean_array_push(x_94, x_95); x_97 = lean_array_push(x_80, x_73); x_98 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; @@ -22956,7 +23405,7 @@ lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_dec(x_14); lean_dec(x_12); lean_dec(x_4); -x_112 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__5; +x_112 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__5; x_113 = lean_array_push(x_112, x_68); x_114 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; x_115 = lean_alloc_ctor(1, 2, 0); @@ -23009,7 +23458,7 @@ else lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; x_126 = lean_nat_add(x_2, x_7); lean_dec(x_2); -x_127 = l___private_Lean_Elab_Match_42__mkMatchType___main(x_1, x_126, x_120, x_8); +x_127 = l___private_Lean_Elab_Match_41__mkMatchType___main(x_1, x_126, x_120, x_8); x_128 = lean_ctor_get(x_127, 0); lean_inc(x_128); x_129 = lean_ctor_get(x_127, 1); @@ -23035,7 +23484,7 @@ x_135 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; x_136 = l_Lean_addMacroScope(x_117, x_135, x_4); x_137 = lean_box(0); x_138 = l_Lean_SourceInfo_inhabited___closed__1; -x_139 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_139 = l_Lean_Elab_Term_mkFreshUserName___closed__2; x_140 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_140, 0, x_138); lean_ctor_set(x_140, 1, x_139); @@ -23050,7 +23499,7 @@ lean_ctor_set(x_144, 0, x_143); lean_ctor_set(x_144, 1, x_142); x_145 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; x_146 = lean_array_push(x_145, x_144); -x_147 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__2; +x_147 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__2; x_148 = lean_array_push(x_146, x_147); x_149 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; x_150 = lean_array_push(x_148, x_149); @@ -23061,7 +23510,7 @@ x_154 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_154, 0, x_153); lean_ctor_set(x_154, 1, x_152); x_155 = lean_array_push(x_141, x_154); -x_156 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__4; +x_156 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__4; x_157 = lean_array_push(x_155, x_156); x_158 = lean_array_push(x_141, x_134); x_159 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; @@ -23098,7 +23547,7 @@ lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_dec(x_121); lean_dec(x_117); lean_dec(x_4); -x_173 = l___private_Lean_Elab_Match_42__mkMatchType___main___closed__5; +x_173 = l___private_Lean_Elab_Match_41__mkMatchType___main___closed__5; x_174 = lean_array_push(x_173, x_128); x_175 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; x_176 = lean_alloc_ctor(1, 2, 0); @@ -23118,33 +23567,33 @@ return x_177; } } } -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Match_41__mkMatchType___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_42__mkMatchType___main(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Elab_Match_41__mkMatchType___main(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } } -lean_object* l___private_Lean_Elab_Match_42__mkMatchType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Match_41__mkMatchType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_42__mkMatchType___main(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Elab_Match_41__mkMatchType___main(x_1, x_2, x_3, x_4); return x_5; } } -lean_object* l___private_Lean_Elab_Match_42__mkMatchType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Match_41__mkMatchType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_42__mkMatchType(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Elab_Match_41__mkMatchType(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } } -lean_object* l___private_Lean_Elab_Match_43__mkOptType(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_42__mkOptType(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; lean_object* x_12; @@ -23166,7 +23615,7 @@ lean_ctor_set(x_12, 1, x_10); return x_12; } } -lean_object* _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__1() { _start: { lean_object* x_1; @@ -23174,22 +23623,22 @@ x_1 = lean_mk_string("Eq.refl"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__2() { +lean_object* _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__1; +x_1 = l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__3() { +lean_object* _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__1; +x_1 = l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__2; +x_3 = l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -23197,7 +23646,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__4() { +lean_object* _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -23209,19 +23658,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__5() { +lean_object* _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__4; +x_2 = l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___main(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; uint8_t x_7; @@ -23281,8 +23730,8 @@ lean_inc(x_26); x_27 = l___private_Lean_Meta_AppBuilder_5__mkEqReflImp___closed__2; x_28 = l_Lean_addMacroScope(x_26, x_27, x_25); x_29 = l_Lean_SourceInfo_inhabited___closed__1; -x_30 = l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__3; -x_31 = l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__5; +x_30 = l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__3; +x_31 = l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__5; x_32 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_32, 0, x_29); lean_ctor_set(x_32, 1, x_30); @@ -23296,7 +23745,7 @@ x_37 = l_Lean_mkAppStx___closed__8; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); -x_39 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__3; +x_39 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__1; x_40 = lean_array_push(x_39, x_38); x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_10); @@ -23324,33 +23773,33 @@ goto _start; } } } -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___main___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___private_Lean_Elab_Match_44__mkNewDiscrs___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Elab_Match_43__mkNewDiscrs___main(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } } -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs(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___private_Lean_Elab_Match_44__mkNewDiscrs___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Elab_Match_43__mkNewDiscrs___main(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l___private_Lean_Elab_Match_44__mkNewDiscrs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Elab_Match_43__mkNewDiscrs___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___private_Lean_Elab_Match_44__mkNewDiscrs(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Elab_Match_43__mkNewDiscrs(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } } -lean_object* _init_l___private_Lean_Elab_Match_45__mkNewPatterns___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_44__mkNewPatterns___main___closed__1() { _start: { lean_object* x_1; @@ -23358,7 +23807,7 @@ x_1 = lean_mk_string("invalid number of patterns, expected #"); return x_1; } } -lean_object* l___private_Lean_Elab_Match_45__mkNewPatterns___main(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* l___private_Lean_Elab_Match_44__mkNewPatterns___main(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; @@ -23389,7 +23838,7 @@ lean_dec(x_11); lean_dec(x_5); lean_dec(x_4); x_14 = l_Nat_repr(x_8); -x_15 = l___private_Lean_Elab_Match_45__mkNewPatterns___main___closed__1; +x_15 = l___private_Lean_Elab_Match_44__mkNewPatterns___main___closed__1; x_16 = lean_string_append(x_15, x_14); lean_dec(x_14); x_17 = lean_alloc_ctor(0, 2, 0); @@ -23463,37 +23912,37 @@ goto _start; } } } -lean_object* l___private_Lean_Elab_Match_45__mkNewPatterns___main___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* l___private_Lean_Elab_Match_44__mkNewPatterns___main___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___private_Lean_Elab_Match_45__mkNewPatterns___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Lean_Elab_Match_44__mkNewPatterns___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); return x_8; } } -lean_object* l___private_Lean_Elab_Match_45__mkNewPatterns(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* l___private_Lean_Elab_Match_44__mkNewPatterns(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___private_Lean_Elab_Match_45__mkNewPatterns___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Lean_Elab_Match_44__mkNewPatterns___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_8; } } -lean_object* l___private_Lean_Elab_Match_45__mkNewPatterns___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* l___private_Lean_Elab_Match_44__mkNewPatterns___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___private_Lean_Elab_Match_45__mkNewPatterns(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Lean_Elab_Match_44__mkNewPatterns(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); return x_8; } } -lean_object* l___private_Lean_Elab_Match_46__mkNewAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Match_45__mkNewAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -23503,7 +23952,7 @@ x_7 = l_Lean_Syntax_getArgs(x_6); lean_dec(x_6); x_8 = l_Array_empty___closed__1; lean_inc(x_2); -x_9 = l___private_Lean_Elab_Match_45__mkNewPatterns___main(x_2, x_1, x_7, x_5, x_8, x_3, x_4); +x_9 = l___private_Lean_Elab_Match_44__mkNewPatterns___main(x_2, x_1, x_7, x_5, x_8, x_3, x_4); lean_dec(x_7); if (lean_obj_tag(x_9) == 0) { @@ -23565,17 +24014,17 @@ return x_24; } } } -lean_object* l___private_Lean_Elab_Match_46__mkNewAlt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Match_45__mkNewAlt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_46__mkNewAlt(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Elab_Match_45__mkNewAlt(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); return x_5; } } -lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_47__mkNewAlts___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* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_46__mkNewAlts___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_7; uint8_t x_8; @@ -23666,54 +24115,54 @@ return x_29; } } } -lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_47__mkNewAlts___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_46__mkNewAlts___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; x_5 = lean_unsigned_to_nat(0u); x_6 = l_Array_empty___closed__1; -x_7 = l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_47__mkNewAlts___spec__2(x_1, x_2, x_5, x_6, x_3, x_4); +x_7 = l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_46__mkNewAlts___spec__2(x_1, x_2, x_5, x_6, x_3, x_4); return x_7; } } -lean_object* l___private_Lean_Elab_Match_47__mkNewAlts(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Match_46__mkNewAlts(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_46__mkNewAlt___boxed), 4, 1); +x_5 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_45__mkNewAlt___boxed), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_47__mkNewAlts___spec__1(x_2, x_5, x_3, x_4); +x_6 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_46__mkNewAlts___spec__1(x_2, x_5, x_3, x_4); return x_6; } } -lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_47__mkNewAlts___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* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_46__mkNewAlts___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) { _start: { lean_object* x_7; -x_7 = l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_47__mkNewAlts___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Match_46__mkNewAlts___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); return x_7; } } -lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_47__mkNewAlts___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Match_46__mkNewAlts___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_47__mkNewAlts___spec__1(x_1, x_2, x_3, x_4); +x_5 = l_Array_mapSepElemsM___at___private_Lean_Elab_Match_46__mkNewAlts___spec__1(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } } -lean_object* l___private_Lean_Elab_Match_47__mkNewAlts___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Match_46__mkNewAlts___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Elab_Match_47__mkNewAlts(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Elab_Match_46__mkNewAlts(x_1, x_2, x_3, x_4); lean_dec(x_2); return x_5; } } -uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -23753,7 +24202,7 @@ goto _start; } } } -lean_object* _init_l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___closed__1() { +lean_object* _init_l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___closed__1() { _start: { lean_object* x_1; @@ -23761,7 +24210,7 @@ x_1 = lean_mk_string("match expected type should not be provided when discrimina return x_1; } } -lean_object* l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { 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; @@ -23774,7 +24223,7 @@ x_8 = lean_unsigned_to_nat(0u); x_9 = l_Array_empty___closed__1; x_10 = l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(x_7, x_6, x_8, x_9); x_11 = lean_array_get_size(x_10); -x_12 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___spec__1(x_1, x_10, x_11, x_8); +x_12 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___spec__1(x_1, x_10, x_11, x_8); lean_dec(x_11); lean_dec(x_10); if (x_12 == 0) @@ -23800,7 +24249,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_17 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___closed__1; +x_17 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___closed__1; x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_17); @@ -23814,17 +24263,17 @@ else 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_dec(x_15); lean_inc(x_2); -x_20 = l___private_Lean_Elab_Match_42__mkMatchType___main(x_6, x_8, x_2, x_3); +x_20 = l___private_Lean_Elab_Match_41__mkMatchType___main(x_6, x_8, x_2, x_3); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); x_23 = l_Lean_Syntax_copyInfo(x_21, x_1); -x_24 = l___private_Lean_Elab_Match_43__mkOptType(x_23); +x_24 = l___private_Lean_Elab_Match_42__mkOptType(x_23); x_25 = l_Lean_Syntax_setArg(x_1, x_7, x_24); lean_inc(x_2); -x_26 = l___private_Lean_Elab_Match_44__mkNewDiscrs___main(x_6, x_8, x_9, x_2, x_22); +x_26 = l___private_Lean_Elab_Match_43__mkNewDiscrs___main(x_6, x_8, x_9, x_2, x_22); x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); @@ -23840,7 +24289,7 @@ x_33 = l_Lean_Syntax_getArg(x_31, x_32); x_34 = l_Lean_Syntax_getArg(x_33, x_4); x_35 = l_Lean_Syntax_getArgs(x_34); lean_dec(x_34); -x_36 = l___private_Lean_Elab_Match_47__mkNewAlts(x_6, x_35, x_2, x_28); +x_36 = l___private_Lean_Elab_Match_46__mkNewAlts(x_6, x_35, x_2, x_28); lean_dec(x_35); if (lean_obj_tag(x_36) == 0) { @@ -23909,11 +24358,11 @@ return x_53; } } } -lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___spec__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_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___spec__1(x_1, x_2, x_3, x_4); +x_5 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___spec__1(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -23924,35 +24373,35 @@ return x_6; lean_object* l_Lean_Elab_Term_elabMatch(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; lean_object* x_11; uint8_t x_37; lean_object* x_1545; uint8_t x_1546; -x_1545 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +lean_object* x_10; lean_object* x_11; uint8_t x_37; lean_object* x_1493; uint8_t x_1494; +x_1493 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; lean_inc(x_1); -x_1546 = l_Lean_Syntax_isOfKind(x_1, x_1545); -if (x_1546 == 0) +x_1494 = l_Lean_Syntax_isOfKind(x_1, x_1493); +if (x_1494 == 0) { -uint8_t x_1547; -x_1547 = 0; -x_37 = x_1547; -goto block_1544; +uint8_t x_1495; +x_1495 = 0; +x_37 = x_1495; +goto block_1492; } else { -lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; uint8_t x_1551; -x_1548 = l_Lean_Syntax_getArgs(x_1); -x_1549 = lean_array_get_size(x_1548); -lean_dec(x_1548); -x_1550 = lean_unsigned_to_nat(5u); -x_1551 = lean_nat_dec_eq(x_1549, x_1550); -lean_dec(x_1549); -x_37 = x_1551; -goto block_1544; +lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; uint8_t x_1499; +x_1496 = l_Lean_Syntax_getArgs(x_1); +x_1497 = lean_array_get_size(x_1496); +lean_dec(x_1496); +x_1498 = lean_unsigned_to_nat(5u); +x_1499 = lean_nat_dec_eq(x_1497, x_1498); +lean_dec(x_1497); +x_37 = x_1499; +goto block_1492; } block_36: { if (lean_obj_tag(x_10) == 0) { lean_object* x_12; -x_12 = l___private_Lean_Elab_Match_41__elabMatchCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11); +x_12 = l___private_Lean_Elab_Match_40__elabMatchCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11); lean_dec(x_1); return x_12; } @@ -24027,7 +24476,7 @@ return x_35; } } } -block_1544: +block_1492: { if (x_37 == 0) { @@ -24053,7 +24502,7 @@ lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 5); +x_48 = lean_ctor_get(x_46, 3); lean_inc(x_48); lean_dec(x_46); x_49 = lean_ctor_get(x_7, 1); @@ -24067,7 +24516,7 @@ lean_ctor_set(x_52, 1, x_39); lean_ctor_set(x_52, 2, x_49); lean_ctor_set(x_52, 3, x_50); lean_inc(x_1); -x_53 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_52, x_48); +x_53 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_52, x_48); if (lean_obj_tag(x_53) == 0) { lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; @@ -24086,9 +24535,9 @@ x_59 = !lean_is_exclusive(x_57); if (x_59 == 0) { lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_57, 5); +x_60 = lean_ctor_get(x_57, 3); lean_dec(x_60); -lean_ctor_set(x_57, 5, x_55); +lean_ctor_set(x_57, 3, x_55); x_61 = lean_st_ref_set(x_4, x_57, x_58); x_62 = lean_ctor_get(x_61, 1); lean_inc(x_62); @@ -24099,3258 +24548,3162 @@ goto block_36; } 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_object* x_71; +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; x_63 = lean_ctor_get(x_57, 0); x_64 = lean_ctor_get(x_57, 1); x_65 = lean_ctor_get(x_57, 2); -x_66 = lean_ctor_get(x_57, 3); -x_67 = lean_ctor_get(x_57, 4); -x_68 = lean_ctor_get(x_57, 6); -lean_inc(x_68); -lean_inc(x_67); +x_66 = lean_ctor_get(x_57, 4); lean_inc(x_66); lean_inc(x_65); lean_inc(x_64); lean_inc(x_63); lean_dec(x_57); -x_69 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_69, 0, x_63); -lean_ctor_set(x_69, 1, x_64); -lean_ctor_set(x_69, 2, x_65); -lean_ctor_set(x_69, 3, x_66); -lean_ctor_set(x_69, 4, x_67); -lean_ctor_set(x_69, 5, x_55); -lean_ctor_set(x_69, 6, x_68); -x_70 = lean_st_ref_set(x_4, x_69, x_58); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); +x_67 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_67, 0, x_63); +lean_ctor_set(x_67, 1, x_64); +lean_ctor_set(x_67, 2, x_65); +lean_ctor_set(x_67, 3, x_55); +lean_ctor_set(x_67, 4, x_66); +x_68 = lean_st_ref_set(x_4, x_67, x_58); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); x_10 = x_54; -x_11 = x_71; +x_11 = x_69; goto block_36; } } else { -lean_object* x_72; +lean_object* x_70; lean_dec(x_2); lean_dec(x_1); -x_72 = lean_ctor_get(x_53, 0); -lean_inc(x_72); +x_70 = lean_ctor_get(x_53, 0); +lean_inc(x_70); lean_dec(x_53); -if (lean_obj_tag(x_72) == 0) +if (lean_obj_tag(x_70) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_76 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_76, 0, x_75); -x_77 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_73, x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_47); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_74 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_71, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_47); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_73); -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) +lean_dec(x_71); +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) { -return x_77; +return x_75; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_77, 0); -x_80 = lean_ctor_get(x_77, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_77); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_75, 0); +x_78 = lean_ctor_get(x_75, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_75); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } else { -lean_object* x_82; uint8_t x_83; +lean_object* x_80; uint8_t x_81; 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_82 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_47); -x_83 = !lean_is_exclusive(x_82); -if (x_83 == 0) +x_80 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_47); +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -return x_82; +return x_80; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_82, 0); -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_82); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_80, 0); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_80); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } } else { -lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_1538; uint8_t x_1539; -x_87 = lean_unsigned_to_nat(1u); -x_88 = l_Lean_Syntax_getArg(x_1, x_87); -x_1538 = l_Lean_nullKind___closed__2; -lean_inc(x_88); -x_1539 = l_Lean_Syntax_isOfKind(x_88, x_1538); -if (x_1539 == 0) +lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_1486; uint8_t x_1487; +x_85 = lean_unsigned_to_nat(1u); +x_86 = l_Lean_Syntax_getArg(x_1, x_85); +x_1486 = l_Lean_nullKind___closed__2; +lean_inc(x_86); +x_1487 = l_Lean_Syntax_isOfKind(x_86, x_1486); +if (x_1487 == 0) { -uint8_t x_1540; -x_1540 = 0; -x_89 = x_1540; -goto block_1537; +uint8_t x_1488; +x_1488 = 0; +x_87 = x_1488; +goto block_1485; } else { -lean_object* x_1541; lean_object* x_1542; uint8_t x_1543; -x_1541 = l_Lean_Syntax_getArgs(x_88); -x_1542 = lean_array_get_size(x_1541); -lean_dec(x_1541); -x_1543 = lean_nat_dec_eq(x_1542, x_87); -lean_dec(x_1542); -x_89 = x_1543; -goto block_1537; +lean_object* x_1489; lean_object* x_1490; uint8_t x_1491; +x_1489 = l_Lean_Syntax_getArgs(x_86); +x_1490 = lean_array_get_size(x_1489); +lean_dec(x_1489); +x_1491 = lean_nat_dec_eq(x_1490, x_85); +lean_dec(x_1490); +x_87 = x_1491; +goto block_1485; } -block_1537: +block_1485: { -if (x_89 == 0) +if (x_87 == 0) { -lean_object* x_90; lean_object* x_91; lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 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; lean_object* x_103; +lean_dec(x_86); +x_88 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); lean_dec(x_88); -x_90 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); +x_91 = lean_st_ref_get(x_8, x_90); +x_92 = lean_ctor_get(x_91, 0); lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_st_ref_get(x_8, x_92); -x_94 = lean_ctor_get(x_93, 0); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_92, 0); lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = lean_ctor_get(x_94, 0); +lean_dec(x_92); +x_95 = lean_st_ref_get(x_4, x_93); +x_96 = lean_ctor_get(x_95, 0); lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_st_ref_get(x_4, x_95); -x_98 = lean_ctor_get(x_97, 0); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_ctor_get(x_96, 3); lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); +lean_dec(x_96); +x_99 = lean_ctor_get(x_7, 1); lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_ctor_get(x_98, 5); +x_100 = lean_ctor_get(x_7, 2); lean_inc(x_100); -lean_dec(x_98); -x_101 = lean_ctor_get(x_7, 1); -lean_inc(x_101); -x_102 = lean_ctor_get(x_7, 2); -lean_inc(x_102); -x_103 = lean_environment_main_module(x_96); -x_104 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_91); -lean_ctor_set(x_104, 2, x_101); -lean_ctor_set(x_104, 3, x_102); +x_101 = lean_environment_main_module(x_94); +x_102 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_89); +lean_ctor_set(x_102, 2, x_99); +lean_ctor_set(x_102, 3, x_100); lean_inc(x_1); -x_105 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_104, x_100); -if (lean_obj_tag(x_105) == 0) +x_103 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_102, x_98); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_st_ref_take(x_4, x_97); +x_107 = lean_ctor_get(x_106, 0); lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_st_ref_take(x_4, x_99); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = !lean_is_exclusive(x_109); -if (x_111 == 0) +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = !lean_is_exclusive(x_107); +if (x_109 == 0) { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_109, 5); -lean_dec(x_112); -lean_ctor_set(x_109, 5, x_107); -x_113 = lean_st_ref_set(x_4, x_109, x_110); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_10 = x_106; -x_11 = x_114; +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_107, 3); +lean_dec(x_110); +lean_ctor_set(x_107, 3, x_105); +x_111 = lean_st_ref_set(x_4, x_107, x_108); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +lean_dec(x_111); +x_10 = x_104; +x_11 = x_112; goto block_36; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_115 = lean_ctor_get(x_109, 0); -x_116 = lean_ctor_get(x_109, 1); -x_117 = lean_ctor_get(x_109, 2); -x_118 = lean_ctor_get(x_109, 3); -x_119 = lean_ctor_get(x_109, 4); -x_120 = lean_ctor_get(x_109, 6); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_113 = lean_ctor_get(x_107, 0); +x_114 = lean_ctor_get(x_107, 1); +x_115 = lean_ctor_get(x_107, 2); +x_116 = lean_ctor_get(x_107, 4); lean_inc(x_116); lean_inc(x_115); -lean_dec(x_109); -x_121 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_121, 0, x_115); -lean_ctor_set(x_121, 1, x_116); -lean_ctor_set(x_121, 2, x_117); -lean_ctor_set(x_121, 3, x_118); -lean_ctor_set(x_121, 4, x_119); -lean_ctor_set(x_121, 5, x_107); -lean_ctor_set(x_121, 6, x_120); -x_122 = lean_st_ref_set(x_4, x_121, x_110); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -lean_dec(x_122); -x_10 = x_106; -x_11 = x_123; +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_107); +x_117 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_117, 0, x_113); +lean_ctor_set(x_117, 1, x_114); +lean_ctor_set(x_117, 2, x_115); +lean_ctor_set(x_117, 3, x_105); +lean_ctor_set(x_117, 4, x_116); +x_118 = lean_st_ref_set(x_4, x_117, x_108); +x_119 = lean_ctor_get(x_118, 1); +lean_inc(x_119); +lean_dec(x_118); +x_10 = x_104; +x_11 = x_119; goto block_36; } } else { -lean_object* x_124; +lean_object* x_120; lean_dec(x_2); lean_dec(x_1); -x_124 = lean_ctor_get(x_105, 0); -lean_inc(x_124); -lean_dec(x_105); -if (lean_obj_tag(x_124) == 0) +x_120 = lean_ctor_get(x_103, 0); +lean_inc(x_120); +lean_dec(x_103); +if (lean_obj_tag(x_120) == 0) { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_127, 0, x_126); -x_128 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_128, 0, x_127); -x_129 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_125, x_128, x_3, x_4, x_5, x_6, x_7, x_8, x_99); +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); +x_123 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_123, 0, x_122); +x_124 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_124, 0, x_123); +x_125 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_121, x_124, x_3, x_4, x_5, x_6, x_7, x_8, x_97); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_125); -x_130 = !lean_is_exclusive(x_129); -if (x_130 == 0) +lean_dec(x_121); +x_126 = !lean_is_exclusive(x_125); +if (x_126 == 0) { +return x_125; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_125, 0); +x_128 = lean_ctor_get(x_125, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_125); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); return x_129; } -else -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_129, 0); -x_132 = lean_ctor_get(x_129, 1); -lean_inc(x_132); -lean_inc(x_131); -lean_dec(x_129); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -return x_133; -} } else { -lean_object* x_134; uint8_t x_135; +lean_object* x_130; uint8_t x_131; 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_134 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_99); -x_135 = !lean_is_exclusive(x_134); -if (x_135 == 0) +x_130 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_97); +x_131 = !lean_is_exclusive(x_130); +if (x_131 == 0) { +return x_130; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_130, 0); +x_133 = lean_ctor_get(x_130, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_130); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); return x_134; } +} +} +} else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_134, 0); -x_137 = lean_ctor_get(x_134, 1); -lean_inc(x_137); +lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_1478; uint8_t x_1479; +x_135 = lean_unsigned_to_nat(0u); +x_136 = l_Lean_Syntax_getArg(x_86, x_135); +lean_dec(x_86); +x_1478 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; lean_inc(x_136); -lean_dec(x_134); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; -} -} -} +x_1479 = l_Lean_Syntax_isOfKind(x_136, x_1478); +if (x_1479 == 0) +{ +uint8_t x_1480; +x_1480 = 0; +x_137 = x_1480; +goto block_1477; } else { -lean_object* x_139; lean_object* x_140; uint8_t x_141; lean_object* x_1530; uint8_t x_1531; -x_139 = lean_unsigned_to_nat(0u); -x_140 = l_Lean_Syntax_getArg(x_88, x_139); -lean_dec(x_88); -x_1530 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; uint8_t x_1484; +x_1481 = l_Lean_Syntax_getArgs(x_136); +x_1482 = lean_array_get_size(x_1481); +lean_dec(x_1481); +x_1483 = lean_unsigned_to_nat(2u); +x_1484 = lean_nat_dec_eq(x_1482, x_1483); +lean_dec(x_1482); +x_137 = x_1484; +goto block_1477; +} +block_1477: +{ +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 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_dec(x_136); +x_138 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -x_1531 = l_Lean_Syntax_isOfKind(x_140, x_1530); -if (x_1531 == 0) -{ -uint8_t x_1532; -x_1532 = 0; -x_141 = x_1532; -goto block_1529; -} -else -{ -lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; uint8_t x_1536; -x_1533 = l_Lean_Syntax_getArgs(x_140); -x_1534 = lean_array_get_size(x_1533); -lean_dec(x_1533); -x_1535 = lean_unsigned_to_nat(2u); -x_1536 = lean_nat_dec_eq(x_1534, x_1535); -lean_dec(x_1534); -x_141 = x_1536; -goto block_1529; -} -block_1529: -{ -if (x_141 == 0) -{ -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_dec(x_140); -x_142 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_143 = lean_ctor_get(x_142, 0); +lean_dec(x_138); +x_141 = lean_st_ref_get(x_8, x_140); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); +lean_dec(x_141); +x_144 = lean_ctor_get(x_142, 0); lean_inc(x_144); lean_dec(x_142); -x_145 = lean_st_ref_get(x_8, x_144); +x_145 = lean_st_ref_get(x_4, x_143); x_146 = lean_ctor_get(x_145, 0); lean_inc(x_146); x_147 = lean_ctor_get(x_145, 1); lean_inc(x_147); lean_dec(x_145); -x_148 = lean_ctor_get(x_146, 0); +x_148 = lean_ctor_get(x_146, 3); lean_inc(x_148); lean_dec(x_146); -x_149 = lean_st_ref_get(x_4, x_147); -x_150 = lean_ctor_get(x_149, 0); +x_149 = lean_ctor_get(x_7, 1); +lean_inc(x_149); +x_150 = lean_ctor_get(x_7, 2); lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -lean_dec(x_149); -x_152 = lean_ctor_get(x_150, 5); -lean_inc(x_152); -lean_dec(x_150); -x_153 = lean_ctor_get(x_7, 1); -lean_inc(x_153); -x_154 = lean_ctor_get(x_7, 2); +x_151 = lean_environment_main_module(x_144); +x_152 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_139); +lean_ctor_set(x_152, 2, x_149); +lean_ctor_set(x_152, 3, x_150); +lean_inc(x_1); +x_153 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_152, x_148); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; +x_154 = lean_ctor_get(x_153, 0); lean_inc(x_154); -x_155 = lean_environment_main_module(x_148); -x_156 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_143); -lean_ctor_set(x_156, 2, x_153); -lean_ctor_set(x_156, 3, x_154); -lean_inc(x_1); -x_157 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_156, x_152); -if (lean_obj_tag(x_157) == 0) -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; -x_158 = lean_ctor_get(x_157, 0); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = lean_st_ref_take(x_4, x_147); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_st_ref_take(x_4, x_151); -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); -lean_inc(x_162); +lean_dec(x_156); +x_159 = !lean_is_exclusive(x_157); +if (x_159 == 0) +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_160 = lean_ctor_get(x_157, 3); lean_dec(x_160); -x_163 = !lean_is_exclusive(x_161); -if (x_163 == 0) -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_161, 5); -lean_dec(x_164); -lean_ctor_set(x_161, 5, x_159); -x_165 = lean_st_ref_set(x_4, x_161, x_162); -x_166 = lean_ctor_get(x_165, 1); -lean_inc(x_166); -lean_dec(x_165); -x_10 = x_158; -x_11 = x_166; -goto block_36; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_167 = lean_ctor_get(x_161, 0); -x_168 = lean_ctor_get(x_161, 1); -x_169 = lean_ctor_get(x_161, 2); -x_170 = lean_ctor_get(x_161, 3); -x_171 = lean_ctor_get(x_161, 4); -x_172 = lean_ctor_get(x_161, 6); -lean_inc(x_172); -lean_inc(x_171); -lean_inc(x_170); -lean_inc(x_169); -lean_inc(x_168); -lean_inc(x_167); +lean_ctor_set(x_157, 3, x_155); +x_161 = lean_st_ref_set(x_4, x_157, x_158); +x_162 = lean_ctor_get(x_161, 1); +lean_inc(x_162); lean_dec(x_161); -x_173 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_173, 0, x_167); -lean_ctor_set(x_173, 1, x_168); -lean_ctor_set(x_173, 2, x_169); -lean_ctor_set(x_173, 3, x_170); -lean_ctor_set(x_173, 4, x_171); -lean_ctor_set(x_173, 5, x_159); -lean_ctor_set(x_173, 6, x_172); -x_174 = lean_st_ref_set(x_4, x_173, x_162); -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -lean_dec(x_174); -x_10 = x_158; -x_11 = x_175; +x_10 = x_154; +x_11 = x_162; goto block_36; } -} else { -lean_object* x_176; -lean_dec(x_2); -lean_dec(x_1); -x_176 = lean_ctor_get(x_157, 0); -lean_inc(x_176); +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_163 = lean_ctor_get(x_157, 0); +x_164 = lean_ctor_get(x_157, 1); +x_165 = lean_ctor_get(x_157, 2); +x_166 = lean_ctor_get(x_157, 4); +lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); +lean_inc(x_163); lean_dec(x_157); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_179, 0, x_178); -x_180 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_180, 0, x_179); -x_181 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_177, x_180, x_3, x_4, x_5, x_6, x_7, x_8, x_151); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_177); -x_182 = !lean_is_exclusive(x_181); -if (x_182 == 0) -{ -return x_181; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_183 = lean_ctor_get(x_181, 0); -x_184 = lean_ctor_get(x_181, 1); -lean_inc(x_184); -lean_inc(x_183); -lean_dec(x_181); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_183); -lean_ctor_set(x_185, 1, x_184); -return x_185; -} -} -else -{ -lean_object* x_186; uint8_t x_187; -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_186 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_151); -x_187 = !lean_is_exclusive(x_186); -if (x_187 == 0) -{ -return x_186; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_186, 0); -x_189 = lean_ctor_get(x_186, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_186); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set(x_190, 1, x_189); -return x_190; -} -} -} -} -else -{ -lean_object* x_191; uint8_t x_192; lean_object* x_1523; uint8_t x_1524; -x_191 = l_Lean_Syntax_getArg(x_140, x_139); -x_1523 = l_Lean_nullKind___closed__2; -lean_inc(x_191); -x_1524 = l_Lean_Syntax_isOfKind(x_191, x_1523); -if (x_1524 == 0) -{ -uint8_t x_1525; -lean_dec(x_191); -x_1525 = 0; -x_192 = x_1525; -goto block_1522; -} -else -{ -lean_object* x_1526; lean_object* x_1527; uint8_t x_1528; -x_1526 = l_Lean_Syntax_getArgs(x_191); -lean_dec(x_191); -x_1527 = lean_array_get_size(x_1526); -lean_dec(x_1526); -x_1528 = lean_nat_dec_eq(x_1527, x_139); -lean_dec(x_1527); -x_192 = x_1528; -goto block_1522; -} -block_1522: -{ -if (x_192 == 0) -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -lean_dec(x_140); -x_193 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_193, 1); -lean_inc(x_195); -lean_dec(x_193); -x_196 = lean_st_ref_get(x_8, x_195); -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -lean_dec(x_196); -x_199 = lean_ctor_get(x_197, 0); -lean_inc(x_199); -lean_dec(x_197); -x_200 = lean_st_ref_get(x_4, x_198); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_ctor_get(x_201, 5); -lean_inc(x_203); -lean_dec(x_201); -x_204 = lean_ctor_get(x_7, 1); -lean_inc(x_204); -x_205 = lean_ctor_get(x_7, 2); -lean_inc(x_205); -x_206 = lean_environment_main_module(x_199); -x_207 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_207, 0, x_206); -lean_ctor_set(x_207, 1, x_194); -lean_ctor_set(x_207, 2, x_204); -lean_ctor_set(x_207, 3, x_205); -lean_inc(x_1); -x_208 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_207, x_203); -if (lean_obj_tag(x_208) == 0) -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 1); -lean_inc(x_210); -lean_dec(x_208); -x_211 = lean_st_ref_take(x_4, x_202); -x_212 = lean_ctor_get(x_211, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_211, 1); -lean_inc(x_213); -lean_dec(x_211); -x_214 = !lean_is_exclusive(x_212); -if (x_214 == 0) -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_215 = lean_ctor_get(x_212, 5); -lean_dec(x_215); -lean_ctor_set(x_212, 5, x_210); -x_216 = lean_st_ref_set(x_4, x_212, x_213); -x_217 = lean_ctor_get(x_216, 1); -lean_inc(x_217); -lean_dec(x_216); -x_10 = x_209; -x_11 = x_217; -goto block_36; -} -else -{ -lean_object* x_218; lean_object* x_219; 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; -x_218 = lean_ctor_get(x_212, 0); -x_219 = lean_ctor_get(x_212, 1); -x_220 = lean_ctor_get(x_212, 2); -x_221 = lean_ctor_get(x_212, 3); -x_222 = lean_ctor_get(x_212, 4); -x_223 = lean_ctor_get(x_212, 6); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_212); -x_224 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_224, 0, x_218); -lean_ctor_set(x_224, 1, x_219); -lean_ctor_set(x_224, 2, x_220); -lean_ctor_set(x_224, 3, x_221); -lean_ctor_set(x_224, 4, x_222); -lean_ctor_set(x_224, 5, x_210); -lean_ctor_set(x_224, 6, x_223); -x_225 = lean_st_ref_set(x_4, x_224, x_213); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -lean_dec(x_225); -x_10 = x_209; -x_11 = x_226; +x_167 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_167, 0, x_163); +lean_ctor_set(x_167, 1, x_164); +lean_ctor_set(x_167, 2, x_165); +lean_ctor_set(x_167, 3, x_155); +lean_ctor_set(x_167, 4, x_166); +x_168 = lean_st_ref_set(x_4, x_167, x_158); +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +lean_dec(x_168); +x_10 = x_154; +x_11 = x_169; goto block_36; } } else { -lean_object* x_227; +lean_object* x_170; lean_dec(x_2); lean_dec(x_1); -x_227 = lean_ctor_get(x_208, 0); -lean_inc(x_227); -lean_dec(x_208); -if (lean_obj_tag(x_227) == 0) +x_170 = lean_ctor_get(x_153, 0); +lean_inc(x_170); +lean_dec(x_153); +if (lean_obj_tag(x_170) == 0) { -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -x_229 = lean_ctor_get(x_227, 1); -lean_inc(x_229); -lean_dec(x_227); -x_230 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_230, 0, x_229); -x_231 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_231, 0, x_230); -x_232 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_228, x_231, x_3, x_4, x_5, x_6, x_7, x_8, x_202); +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec(x_170); +x_173 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_173, 0, x_172); +x_174 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_174, 0, x_173); +x_175 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_171, x_174, x_3, x_4, x_5, x_6, x_7, x_8, x_147); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_228); -x_233 = !lean_is_exclusive(x_232); -if (x_233 == 0) +lean_dec(x_171); +x_176 = !lean_is_exclusive(x_175); +if (x_176 == 0) { -return x_232; +return x_175; } else { -lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_234 = lean_ctor_get(x_232, 0); -x_235 = lean_ctor_get(x_232, 1); -lean_inc(x_235); -lean_inc(x_234); -lean_dec(x_232); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_234); -lean_ctor_set(x_236, 1, x_235); -return x_236; +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_175, 0); +x_178 = lean_ctor_get(x_175, 1); +lean_inc(x_178); +lean_inc(x_177); +lean_dec(x_175); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +return x_179; } } else { -lean_object* x_237; uint8_t x_238; +lean_object* x_180; uint8_t x_181; 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_237 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_202); -x_238 = !lean_is_exclusive(x_237); -if (x_238 == 0) +x_180 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_147); +x_181 = !lean_is_exclusive(x_180); +if (x_181 == 0) { -return x_237; +return x_180; } else { -lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_239 = lean_ctor_get(x_237, 0); -x_240 = lean_ctor_get(x_237, 1); -lean_inc(x_240); +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_180, 0); +x_183 = lean_ctor_get(x_180, 1); +lean_inc(x_183); +lean_inc(x_182); +lean_dec(x_180); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +} +} +} +else +{ +lean_object* x_185; uint8_t x_186; lean_object* x_1471; uint8_t x_1472; +x_185 = l_Lean_Syntax_getArg(x_136, x_135); +x_1471 = l_Lean_nullKind___closed__2; +lean_inc(x_185); +x_1472 = l_Lean_Syntax_isOfKind(x_185, x_1471); +if (x_1472 == 0) +{ +uint8_t x_1473; +lean_dec(x_185); +x_1473 = 0; +x_186 = x_1473; +goto block_1470; +} +else +{ +lean_object* x_1474; lean_object* x_1475; uint8_t x_1476; +x_1474 = l_Lean_Syntax_getArgs(x_185); +lean_dec(x_185); +x_1475 = lean_array_get_size(x_1474); +lean_dec(x_1474); +x_1476 = lean_nat_dec_eq(x_1475, x_135); +lean_dec(x_1475); +x_186 = x_1476; +goto block_1470; +} +block_1470: +{ +if (x_186 == 0) +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_136); +x_187 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = lean_st_ref_get(x_8, x_189); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_190, 1); +lean_inc(x_192); +lean_dec(x_190); +x_193 = lean_ctor_get(x_191, 0); +lean_inc(x_193); +lean_dec(x_191); +x_194 = lean_st_ref_get(x_4, x_192); +x_195 = lean_ctor_get(x_194, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_194, 1); +lean_inc(x_196); +lean_dec(x_194); +x_197 = lean_ctor_get(x_195, 3); +lean_inc(x_197); +lean_dec(x_195); +x_198 = lean_ctor_get(x_7, 1); +lean_inc(x_198); +x_199 = lean_ctor_get(x_7, 2); +lean_inc(x_199); +x_200 = lean_environment_main_module(x_193); +x_201 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_188); +lean_ctor_set(x_201, 2, x_198); +lean_ctor_set(x_201, 3, x_199); +lean_inc(x_1); +x_202 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_201, x_197); +if (lean_obj_tag(x_202) == 0) +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = lean_st_ref_take(x_4, x_196); +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_205, 1); +lean_inc(x_207); +lean_dec(x_205); +x_208 = !lean_is_exclusive(x_206); +if (x_208 == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_209 = lean_ctor_get(x_206, 3); +lean_dec(x_209); +lean_ctor_set(x_206, 3, x_204); +x_210 = lean_st_ref_set(x_4, x_206, x_207); +x_211 = lean_ctor_get(x_210, 1); +lean_inc(x_211); +lean_dec(x_210); +x_10 = x_203; +x_11 = x_211; +goto block_36; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_212 = lean_ctor_get(x_206, 0); +x_213 = lean_ctor_get(x_206, 1); +x_214 = lean_ctor_get(x_206, 2); +x_215 = lean_ctor_get(x_206, 4); +lean_inc(x_215); +lean_inc(x_214); +lean_inc(x_213); +lean_inc(x_212); +lean_dec(x_206); +x_216 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_216, 0, x_212); +lean_ctor_set(x_216, 1, x_213); +lean_ctor_set(x_216, 2, x_214); +lean_ctor_set(x_216, 3, x_204); +lean_ctor_set(x_216, 4, x_215); +x_217 = lean_st_ref_set(x_4, x_216, x_207); +x_218 = lean_ctor_get(x_217, 1); +lean_inc(x_218); +lean_dec(x_217); +x_10 = x_203; +x_11 = x_218; +goto block_36; +} +} +else +{ +lean_object* x_219; +lean_dec(x_2); +lean_dec(x_1); +x_219 = lean_ctor_get(x_202, 0); +lean_inc(x_219); +lean_dec(x_202); +if (lean_obj_tag(x_219) == 0) +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_219, 1); +lean_inc(x_221); +lean_dec(x_219); +x_222 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_223 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_223, 0, x_222); +x_224 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_220, x_223, x_3, x_4, x_5, x_6, x_7, x_8, x_196); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_220); +x_225 = !lean_is_exclusive(x_224); +if (x_225 == 0) +{ +return x_224; +} +else +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_224, 0); +x_227 = lean_ctor_get(x_224, 1); +lean_inc(x_227); +lean_inc(x_226); +lean_dec(x_224); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_227); +return x_228; +} +} +else +{ +lean_object* x_229; uint8_t x_230; +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_229 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_196); +x_230 = !lean_is_exclusive(x_229); +if (x_230 == 0) +{ +return x_229; +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_231 = lean_ctor_get(x_229, 0); +x_232 = lean_ctor_get(x_229, 1); +lean_inc(x_232); +lean_inc(x_231); +lean_dec(x_229); +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_231); +lean_ctor_set(x_233, 1, x_232); +return x_233; +} +} +} +} +else +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; lean_object* x_902; uint8_t x_903; uint8_t x_904; +x_234 = l_Lean_Syntax_getArg(x_136, x_85); +lean_dec(x_136); +x_235 = lean_unsigned_to_nat(2u); +x_236 = l_Lean_Syntax_getArg(x_1, x_235); +x_902 = l_Lean_nullKind___closed__2; +lean_inc(x_236); +x_903 = l_Lean_Syntax_isOfKind(x_236, x_902); +if (x_903 == 0) +{ +uint8_t x_1466; +x_1466 = 0; +x_904 = x_1466; +goto block_1465; +} +else +{ +lean_object* x_1467; lean_object* x_1468; uint8_t x_1469; +x_1467 = l_Lean_Syntax_getArgs(x_236); +x_1468 = lean_array_get_size(x_1467); +lean_dec(x_1467); +x_1469 = lean_nat_dec_eq(x_1468, x_135); +lean_dec(x_1468); +x_904 = x_1469; +goto block_1465; +} +block_901: +{ +if (x_237 == 0) +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +lean_dec(x_236); +lean_dec(x_234); +x_238 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_239 = lean_ctor_get(x_238, 0); lean_inc(x_239); -lean_dec(x_237); -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_239); -lean_ctor_set(x_241, 1, x_240); -return x_241; -} -} -} -} -else -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; lean_object* x_934; uint8_t x_935; uint8_t x_936; -x_242 = l_Lean_Syntax_getArg(x_140, x_87); -lean_dec(x_140); -x_243 = lean_unsigned_to_nat(2u); -x_244 = l_Lean_Syntax_getArg(x_1, x_243); -x_934 = l_Lean_nullKind___closed__2; +x_240 = lean_ctor_get(x_238, 1); +lean_inc(x_240); +lean_dec(x_238); +x_241 = lean_st_ref_get(x_8, x_240); +x_242 = lean_ctor_get(x_241, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_241, 1); +lean_inc(x_243); +lean_dec(x_241); +x_244 = lean_ctor_get(x_242, 0); lean_inc(x_244); -x_935 = l_Lean_Syntax_isOfKind(x_244, x_934); -if (x_935 == 0) -{ -uint8_t x_1518; -x_1518 = 0; -x_936 = x_1518; -goto block_1517; -} -else -{ -lean_object* x_1519; lean_object* x_1520; uint8_t x_1521; -x_1519 = l_Lean_Syntax_getArgs(x_244); -x_1520 = lean_array_get_size(x_1519); -lean_dec(x_1519); -x_1521 = lean_nat_dec_eq(x_1520, x_139); -lean_dec(x_1520); -x_936 = x_1521; -goto block_1517; -} -block_933: -{ -if (x_245 == 0) -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -lean_dec(x_244); lean_dec(x_242); -x_246 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_247 = lean_ctor_get(x_246, 0); +x_245 = lean_st_ref_get(x_4, x_243); +x_246 = lean_ctor_get(x_245, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_245, 1); lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); +lean_dec(x_245); +x_248 = lean_ctor_get(x_246, 3); lean_inc(x_248); lean_dec(x_246); -x_249 = lean_st_ref_get(x_8, x_248); -x_250 = lean_ctor_get(x_249, 0); +x_249 = lean_ctor_get(x_7, 1); +lean_inc(x_249); +x_250 = lean_ctor_get(x_7, 2); lean_inc(x_250); -x_251 = lean_ctor_get(x_249, 1); -lean_inc(x_251); -lean_dec(x_249); -x_252 = lean_ctor_get(x_250, 0); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_st_ref_get(x_4, x_251); +x_251 = lean_environment_main_module(x_244); +x_252 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_239); +lean_ctor_set(x_252, 2, x_249); +lean_ctor_set(x_252, 3, x_250); +lean_inc(x_1); +x_253 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_252, x_248); +if (lean_obj_tag(x_253) == 0) +{ +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; x_254 = lean_ctor_get(x_253, 0); lean_inc(x_254); x_255 = lean_ctor_get(x_253, 1); lean_inc(x_255); lean_dec(x_253); -x_256 = lean_ctor_get(x_254, 5); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_ctor_get(x_7, 1); +x_256 = lean_st_ref_take(x_4, x_247); +x_257 = lean_ctor_get(x_256, 0); lean_inc(x_257); -x_258 = lean_ctor_get(x_7, 2); +x_258 = lean_ctor_get(x_256, 1); lean_inc(x_258); -x_259 = lean_environment_main_module(x_252); -x_260 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_247); -lean_ctor_set(x_260, 2, x_257); -lean_ctor_set(x_260, 3, x_258); -lean_inc(x_1); -x_261 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_260, x_256); -if (lean_obj_tag(x_261) == 0) +lean_dec(x_256); +x_259 = !lean_is_exclusive(x_257); +if (x_259 == 0) { -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; -x_262 = lean_ctor_get(x_261, 0); +lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_260 = lean_ctor_get(x_257, 3); +lean_dec(x_260); +lean_ctor_set(x_257, 3, x_255); +x_261 = lean_st_ref_set(x_4, x_257, x_258); +x_262 = lean_ctor_get(x_261, 1); lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); lean_dec(x_261); -x_264 = lean_st_ref_take(x_4, x_255); -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); +x_10 = x_254; +x_11 = x_262; +goto block_36; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_263 = lean_ctor_get(x_257, 0); +x_264 = lean_ctor_get(x_257, 1); +x_265 = lean_ctor_get(x_257, 2); +x_266 = lean_ctor_get(x_257, 4); lean_inc(x_266); -lean_dec(x_264); -x_267 = !lean_is_exclusive(x_265); -if (x_267 == 0) -{ -lean_object* x_268; lean_object* x_269; lean_object* x_270; -x_268 = lean_ctor_get(x_265, 5); +lean_inc(x_265); +lean_inc(x_264); +lean_inc(x_263); +lean_dec(x_257); +x_267 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_267, 0, x_263); +lean_ctor_set(x_267, 1, x_264); +lean_ctor_set(x_267, 2, x_265); +lean_ctor_set(x_267, 3, x_255); +lean_ctor_set(x_267, 4, x_266); +x_268 = lean_st_ref_set(x_4, x_267, x_258); +x_269 = lean_ctor_get(x_268, 1); +lean_inc(x_269); lean_dec(x_268); -lean_ctor_set(x_265, 5, x_263); -x_269 = lean_st_ref_set(x_4, x_265, x_266); -x_270 = lean_ctor_get(x_269, 1); -lean_inc(x_270); -lean_dec(x_269); -x_10 = x_262; -x_11 = x_270; -goto block_36; -} -else -{ -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; -x_271 = lean_ctor_get(x_265, 0); -x_272 = lean_ctor_get(x_265, 1); -x_273 = lean_ctor_get(x_265, 2); -x_274 = lean_ctor_get(x_265, 3); -x_275 = lean_ctor_get(x_265, 4); -x_276 = lean_ctor_get(x_265, 6); -lean_inc(x_276); -lean_inc(x_275); -lean_inc(x_274); -lean_inc(x_273); -lean_inc(x_272); -lean_inc(x_271); -lean_dec(x_265); -x_277 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_277, 0, x_271); -lean_ctor_set(x_277, 1, x_272); -lean_ctor_set(x_277, 2, x_273); -lean_ctor_set(x_277, 3, x_274); -lean_ctor_set(x_277, 4, x_275); -lean_ctor_set(x_277, 5, x_263); -lean_ctor_set(x_277, 6, x_276); -x_278 = lean_st_ref_set(x_4, x_277, x_266); -x_279 = lean_ctor_get(x_278, 1); -lean_inc(x_279); -lean_dec(x_278); -x_10 = x_262; -x_11 = x_279; +x_10 = x_254; +x_11 = x_269; goto block_36; } } else { -lean_object* x_280; +lean_object* x_270; lean_dec(x_2); lean_dec(x_1); -x_280 = lean_ctor_get(x_261, 0); -lean_inc(x_280); -lean_dec(x_261); -if (lean_obj_tag(x_280) == 0) +x_270 = lean_ctor_get(x_253, 0); +lean_inc(x_270); +lean_dec(x_253); +if (lean_obj_tag(x_270) == 0) { -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; uint8_t x_286; -x_281 = lean_ctor_get(x_280, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_280, 1); +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_270, 1); +lean_inc(x_272); +lean_dec(x_270); +x_273 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_273, 0, x_272); +x_274 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_274, 0, x_273); +x_275 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_271, x_274, x_3, x_4, x_5, x_6, x_7, x_8, x_247); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_271); +x_276 = !lean_is_exclusive(x_275); +if (x_276 == 0) +{ +return x_275; +} +else +{ +lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_277 = lean_ctor_get(x_275, 0); +x_278 = lean_ctor_get(x_275, 1); +lean_inc(x_278); +lean_inc(x_277); +lean_dec(x_275); +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_277); +lean_ctor_set(x_279, 1, x_278); +return x_279; +} +} +else +{ +lean_object* x_280; uint8_t x_281; +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_280 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_247); +x_281 = !lean_is_exclusive(x_280); +if (x_281 == 0) +{ +return x_280; +} +else +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_282 = lean_ctor_get(x_280, 0); +x_283 = lean_ctor_get(x_280, 1); +lean_inc(x_283); lean_inc(x_282); lean_dec(x_280); -x_283 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_283, 0, x_282); -x_284 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_284, 0, x_283); -x_285 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_281, x_284, x_3, x_4, x_5, x_6, x_7, x_8, x_255); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_281); -x_286 = !lean_is_exclusive(x_285); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_282); +lean_ctor_set(x_284, 1, x_283); +return x_284; +} +} +} +} +else +{ +lean_object* x_285; uint8_t x_286; lean_object* x_895; uint8_t x_896; +x_285 = l_Lean_Syntax_getArg(x_236, x_135); +lean_dec(x_236); +x_895 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; +lean_inc(x_285); +x_896 = l_Lean_Syntax_isOfKind(x_285, x_895); +if (x_896 == 0) +{ +uint8_t x_897; +x_897 = 0; +x_286 = x_897; +goto block_894; +} +else +{ +lean_object* x_898; lean_object* x_899; uint8_t x_900; +x_898 = l_Lean_Syntax_getArgs(x_285); +x_899 = lean_array_get_size(x_898); +lean_dec(x_898); +x_900 = lean_nat_dec_eq(x_899, x_235); +lean_dec(x_899); +x_286 = x_900; +goto block_894; +} +block_894: +{ if (x_286 == 0) { -return x_285; -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_287 = lean_ctor_get(x_285, 0); -x_288 = lean_ctor_get(x_285, 1); -lean_inc(x_288); -lean_inc(x_287); +lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_dec(x_285); -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_287); -lean_ctor_set(x_289, 1, x_288); -return x_289; -} -} -else -{ -lean_object* x_290; uint8_t x_291; -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_290 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_255); -x_291 = !lean_is_exclusive(x_290); -if (x_291 == 0) -{ -return x_290; -} -else -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_292 = lean_ctor_get(x_290, 0); -x_293 = lean_ctor_get(x_290, 1); -lean_inc(x_293); +lean_dec(x_234); +x_287 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_288 = lean_ctor_get(x_287, 0); +lean_inc(x_288); +x_289 = lean_ctor_get(x_287, 1); +lean_inc(x_289); +lean_dec(x_287); +x_290 = lean_st_ref_get(x_8, x_289); +x_291 = lean_ctor_get(x_290, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_290, 1); lean_inc(x_292); lean_dec(x_290); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_292); -lean_ctor_set(x_294, 1, x_293); -return x_294; -} -} -} -} -else -{ -lean_object* x_295; uint8_t x_296; lean_object* x_927; uint8_t x_928; -x_295 = l_Lean_Syntax_getArg(x_244, x_139); -lean_dec(x_244); -x_927 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; +x_293 = lean_ctor_get(x_291, 0); +lean_inc(x_293); +lean_dec(x_291); +x_294 = lean_st_ref_get(x_4, x_292); +x_295 = lean_ctor_get(x_294, 0); lean_inc(x_295); -x_928 = l_Lean_Syntax_isOfKind(x_295, x_927); -if (x_928 == 0) -{ -uint8_t x_929; -x_929 = 0; -x_296 = x_929; -goto block_926; -} -else -{ -lean_object* x_930; lean_object* x_931; uint8_t x_932; -x_930 = l_Lean_Syntax_getArgs(x_295); -x_931 = lean_array_get_size(x_930); -lean_dec(x_930); -x_932 = lean_nat_dec_eq(x_931, x_243); -lean_dec(x_931); -x_296 = x_932; -goto block_926; -} -block_926: -{ -if (x_296 == 0) -{ -lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +x_296 = lean_ctor_get(x_294, 1); +lean_inc(x_296); +lean_dec(x_294); +x_297 = lean_ctor_get(x_295, 3); +lean_inc(x_297); lean_dec(x_295); -lean_dec(x_242); -x_297 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_298 = lean_ctor_get(x_297, 0); +x_298 = lean_ctor_get(x_7, 1); lean_inc(x_298); -x_299 = lean_ctor_get(x_297, 1); +x_299 = lean_ctor_get(x_7, 2); lean_inc(x_299); -lean_dec(x_297); -x_300 = lean_st_ref_get(x_8, x_299); -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -lean_dec(x_300); -x_303 = lean_ctor_get(x_301, 0); +x_300 = lean_environment_main_module(x_293); +x_301 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_301, 0, x_300); +lean_ctor_set(x_301, 1, x_288); +lean_ctor_set(x_301, 2, x_298); +lean_ctor_set(x_301, 3, x_299); +lean_inc(x_1); +x_302 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_301, x_297); +if (lean_obj_tag(x_302) == 0) +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; +x_303 = lean_ctor_get(x_302, 0); lean_inc(x_303); -lean_dec(x_301); -x_304 = lean_st_ref_get(x_4, x_302); -x_305 = lean_ctor_get(x_304, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_304, 1); +x_304 = lean_ctor_get(x_302, 1); +lean_inc(x_304); +lean_dec(x_302); +x_305 = lean_st_ref_take(x_4, x_296); +x_306 = lean_ctor_get(x_305, 0); lean_inc(x_306); -lean_dec(x_304); -x_307 = lean_ctor_get(x_305, 5); +x_307 = lean_ctor_get(x_305, 1); lean_inc(x_307); lean_dec(x_305); -x_308 = lean_ctor_get(x_7, 1); -lean_inc(x_308); -x_309 = lean_ctor_get(x_7, 2); -lean_inc(x_309); -x_310 = lean_environment_main_module(x_303); -x_311 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_311, 0, x_310); -lean_ctor_set(x_311, 1, x_298); -lean_ctor_set(x_311, 2, x_308); -lean_ctor_set(x_311, 3, x_309); -lean_inc(x_1); -x_312 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_311, x_307); -if (lean_obj_tag(x_312) == 0) +x_308 = !lean_is_exclusive(x_306); +if (x_308 == 0) { -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); +lean_object* x_309; lean_object* x_310; lean_object* x_311; +x_309 = lean_ctor_get(x_306, 3); +lean_dec(x_309); +lean_ctor_set(x_306, 3, x_304); +x_310 = lean_st_ref_set(x_4, x_306, x_307); +x_311 = lean_ctor_get(x_310, 1); +lean_inc(x_311); +lean_dec(x_310); +x_10 = x_303; +x_11 = x_311; +goto block_36; +} +else +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; +x_312 = lean_ctor_get(x_306, 0); +x_313 = lean_ctor_get(x_306, 1); +x_314 = lean_ctor_get(x_306, 2); +x_315 = lean_ctor_get(x_306, 4); +lean_inc(x_315); lean_inc(x_314); -lean_dec(x_312); -x_315 = lean_st_ref_take(x_4, x_306); -x_316 = lean_ctor_get(x_315, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); -lean_inc(x_317); -lean_dec(x_315); -x_318 = !lean_is_exclusive(x_316); -if (x_318 == 0) -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; -x_319 = lean_ctor_get(x_316, 5); -lean_dec(x_319); -lean_ctor_set(x_316, 5, x_314); -x_320 = lean_st_ref_set(x_4, x_316, x_317); -x_321 = lean_ctor_get(x_320, 1); -lean_inc(x_321); -lean_dec(x_320); -x_10 = x_313; -x_11 = x_321; -goto block_36; -} -else -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_322 = lean_ctor_get(x_316, 0); -x_323 = lean_ctor_get(x_316, 1); -x_324 = lean_ctor_get(x_316, 2); -x_325 = lean_ctor_get(x_316, 3); -x_326 = lean_ctor_get(x_316, 4); -x_327 = lean_ctor_get(x_316, 6); -lean_inc(x_327); -lean_inc(x_326); -lean_inc(x_325); -lean_inc(x_324); -lean_inc(x_323); -lean_inc(x_322); -lean_dec(x_316); -x_328 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_328, 0, x_322); -lean_ctor_set(x_328, 1, x_323); -lean_ctor_set(x_328, 2, x_324); -lean_ctor_set(x_328, 3, x_325); -lean_ctor_set(x_328, 4, x_326); -lean_ctor_set(x_328, 5, x_314); -lean_ctor_set(x_328, 6, x_327); -x_329 = lean_st_ref_set(x_4, x_328, x_317); -x_330 = lean_ctor_get(x_329, 1); -lean_inc(x_330); -lean_dec(x_329); -x_10 = x_313; -x_11 = x_330; +lean_inc(x_313); +lean_inc(x_312); +lean_dec(x_306); +x_316 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_316, 0, x_312); +lean_ctor_set(x_316, 1, x_313); +lean_ctor_set(x_316, 2, x_314); +lean_ctor_set(x_316, 3, x_304); +lean_ctor_set(x_316, 4, x_315); +x_317 = lean_st_ref_set(x_4, x_316, x_307); +x_318 = lean_ctor_get(x_317, 1); +lean_inc(x_318); +lean_dec(x_317); +x_10 = x_303; +x_11 = x_318; goto block_36; } } else { -lean_object* x_331; +lean_object* x_319; lean_dec(x_2); lean_dec(x_1); -x_331 = lean_ctor_get(x_312, 0); -lean_inc(x_331); -lean_dec(x_312); -if (lean_obj_tag(x_331) == 0) +x_319 = lean_ctor_get(x_302, 0); +lean_inc(x_319); +lean_dec(x_302); +if (lean_obj_tag(x_319) == 0) { -lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; uint8_t x_337; -x_332 = lean_ctor_get(x_331, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_331, 1); -lean_inc(x_333); -lean_dec(x_331); -x_334 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_334, 0, x_333); -x_335 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_335, 0, x_334); -x_336 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_332, x_335, x_3, x_4, x_5, x_6, x_7, x_8, x_306); +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_325; +x_320 = lean_ctor_get(x_319, 0); +lean_inc(x_320); +x_321 = lean_ctor_get(x_319, 1); +lean_inc(x_321); +lean_dec(x_319); +x_322 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_322, 0, x_321); +x_323 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_323, 0, x_322); +x_324 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_320, x_323, x_3, x_4, x_5, x_6, x_7, x_8, x_296); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_332); -x_337 = !lean_is_exclusive(x_336); -if (x_337 == 0) +lean_dec(x_320); +x_325 = !lean_is_exclusive(x_324); +if (x_325 == 0) { -return x_336; +return x_324; } else { -lean_object* x_338; lean_object* x_339; lean_object* x_340; -x_338 = lean_ctor_get(x_336, 0); -x_339 = lean_ctor_get(x_336, 1); -lean_inc(x_339); -lean_inc(x_338); -lean_dec(x_336); -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_338); -lean_ctor_set(x_340, 1, x_339); -return x_340; +lean_object* x_326; lean_object* x_327; lean_object* x_328; +x_326 = lean_ctor_get(x_324, 0); +x_327 = lean_ctor_get(x_324, 1); +lean_inc(x_327); +lean_inc(x_326); +lean_dec(x_324); +x_328 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_328, 0, x_326); +lean_ctor_set(x_328, 1, x_327); +return x_328; } } else { -lean_object* x_341; uint8_t x_342; +lean_object* x_329; uint8_t x_330; 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_341 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_306); -x_342 = !lean_is_exclusive(x_341); -if (x_342 == 0) +x_329 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_296); +x_330 = !lean_is_exclusive(x_329); +if (x_330 == 0) { -return x_341; +return x_329; } else { -lean_object* x_343; lean_object* x_344; lean_object* x_345; -x_343 = lean_ctor_get(x_341, 0); -x_344 = lean_ctor_get(x_341, 1); -lean_inc(x_344); +lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_331 = lean_ctor_get(x_329, 0); +x_332 = lean_ctor_get(x_329, 1); +lean_inc(x_332); +lean_inc(x_331); +lean_dec(x_329); +x_333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_333, 0, x_331); +lean_ctor_set(x_333, 1, x_332); +return x_333; +} +} +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; uint8_t x_337; lean_object* x_888; uint8_t x_889; +x_334 = l_Lean_Syntax_getArg(x_285, x_85); +lean_dec(x_285); +x_335 = lean_unsigned_to_nat(4u); +x_336 = l_Lean_Syntax_getArg(x_1, x_335); +x_888 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +lean_inc(x_336); +x_889 = l_Lean_Syntax_isOfKind(x_336, x_888); +if (x_889 == 0) +{ +uint8_t x_890; +x_890 = 0; +x_337 = x_890; +goto block_887; +} +else +{ +lean_object* x_891; lean_object* x_892; uint8_t x_893; +x_891 = l_Lean_Syntax_getArgs(x_336); +x_892 = lean_array_get_size(x_891); +lean_dec(x_891); +x_893 = lean_nat_dec_eq(x_892, x_235); +lean_dec(x_892); +x_337 = x_893; +goto block_887; +} +block_887: +{ +if (x_337 == 0) +{ +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; lean_object* x_352; lean_object* x_353; +lean_dec(x_336); +lean_dec(x_334); +lean_dec(x_234); +x_338 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_339 = lean_ctor_get(x_338, 0); +lean_inc(x_339); +x_340 = lean_ctor_get(x_338, 1); +lean_inc(x_340); +lean_dec(x_338); +x_341 = lean_st_ref_get(x_8, x_340); +x_342 = lean_ctor_get(x_341, 0); +lean_inc(x_342); +x_343 = lean_ctor_get(x_341, 1); lean_inc(x_343); lean_dec(x_341); -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_343); -lean_ctor_set(x_345, 1, x_344); -return x_345; -} -} -} -} -else -{ -lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; lean_object* x_920; uint8_t x_921; -x_346 = l_Lean_Syntax_getArg(x_295, x_87); -lean_dec(x_295); -x_347 = lean_unsigned_to_nat(4u); -x_348 = l_Lean_Syntax_getArg(x_1, x_347); -x_920 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_344 = lean_ctor_get(x_342, 0); +lean_inc(x_344); +lean_dec(x_342); +x_345 = lean_st_ref_get(x_4, x_343); +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_345, 1); +lean_inc(x_347); +lean_dec(x_345); +x_348 = lean_ctor_get(x_346, 3); lean_inc(x_348); -x_921 = l_Lean_Syntax_isOfKind(x_348, x_920); -if (x_921 == 0) -{ -uint8_t x_922; -x_922 = 0; -x_349 = x_922; -goto block_919; -} -else -{ -lean_object* x_923; lean_object* x_924; uint8_t x_925; -x_923 = l_Lean_Syntax_getArgs(x_348); -x_924 = lean_array_get_size(x_923); -lean_dec(x_923); -x_925 = lean_nat_dec_eq(x_924, x_243); -lean_dec(x_924); -x_349 = x_925; -goto block_919; -} -block_919: -{ -if (x_349 == 0) -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; -lean_dec(x_348); lean_dec(x_346); -lean_dec(x_242); -x_350 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_351 = lean_ctor_get(x_350, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_350, 1); -lean_inc(x_352); -lean_dec(x_350); -x_353 = lean_st_ref_get(x_8, x_352); +x_349 = lean_ctor_get(x_7, 1); +lean_inc(x_349); +x_350 = lean_ctor_get(x_7, 2); +lean_inc(x_350); +x_351 = lean_environment_main_module(x_344); +x_352 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_339); +lean_ctor_set(x_352, 2, x_349); +lean_ctor_set(x_352, 3, x_350); +lean_inc(x_1); +x_353 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_352, x_348); +if (lean_obj_tag(x_353) == 0) +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; uint8_t x_359; x_354 = lean_ctor_get(x_353, 0); lean_inc(x_354); x_355 = lean_ctor_get(x_353, 1); lean_inc(x_355); lean_dec(x_353); -x_356 = lean_ctor_get(x_354, 0); -lean_inc(x_356); -lean_dec(x_354); -x_357 = lean_st_ref_get(x_4, x_355); -x_358 = lean_ctor_get(x_357, 0); +x_356 = lean_st_ref_take(x_4, x_347); +x_357 = lean_ctor_get(x_356, 0); +lean_inc(x_357); +x_358 = lean_ctor_get(x_356, 1); lean_inc(x_358); -x_359 = lean_ctor_get(x_357, 1); -lean_inc(x_359); -lean_dec(x_357); -x_360 = lean_ctor_get(x_358, 5); -lean_inc(x_360); -lean_dec(x_358); -x_361 = lean_ctor_get(x_7, 1); -lean_inc(x_361); -x_362 = lean_ctor_get(x_7, 2); +lean_dec(x_356); +x_359 = !lean_is_exclusive(x_357); +if (x_359 == 0) +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; +x_360 = lean_ctor_get(x_357, 3); +lean_dec(x_360); +lean_ctor_set(x_357, 3, x_355); +x_361 = lean_st_ref_set(x_4, x_357, x_358); +x_362 = lean_ctor_get(x_361, 1); lean_inc(x_362); -x_363 = lean_environment_main_module(x_356); -x_364 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_364, 0, x_363); -lean_ctor_set(x_364, 1, x_351); -lean_ctor_set(x_364, 2, x_361); -lean_ctor_set(x_364, 3, x_362); -lean_inc(x_1); -x_365 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_364, x_360); -if (lean_obj_tag(x_365) == 0) +lean_dec(x_361); +x_10 = x_354; +x_11 = x_362; +goto block_36; +} +else { -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; uint8_t x_371; -x_366 = lean_ctor_get(x_365, 0); +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; +x_363 = lean_ctor_get(x_357, 0); +x_364 = lean_ctor_get(x_357, 1); +x_365 = lean_ctor_get(x_357, 2); +x_366 = lean_ctor_get(x_357, 4); lean_inc(x_366); -x_367 = lean_ctor_get(x_365, 1); -lean_inc(x_367); -lean_dec(x_365); -x_368 = lean_st_ref_take(x_4, x_359); -x_369 = lean_ctor_get(x_368, 0); +lean_inc(x_365); +lean_inc(x_364); +lean_inc(x_363); +lean_dec(x_357); +x_367 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_367, 0, x_363); +lean_ctor_set(x_367, 1, x_364); +lean_ctor_set(x_367, 2, x_365); +lean_ctor_set(x_367, 3, x_355); +lean_ctor_set(x_367, 4, x_366); +x_368 = lean_st_ref_set(x_4, x_367, x_358); +x_369 = lean_ctor_get(x_368, 1); lean_inc(x_369); -x_370 = lean_ctor_get(x_368, 1); -lean_inc(x_370); lean_dec(x_368); -x_371 = !lean_is_exclusive(x_369); -if (x_371 == 0) -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_372 = lean_ctor_get(x_369, 5); -lean_dec(x_372); -lean_ctor_set(x_369, 5, x_367); -x_373 = lean_st_ref_set(x_4, x_369, x_370); -x_374 = lean_ctor_get(x_373, 1); -lean_inc(x_374); -lean_dec(x_373); -x_10 = x_366; -x_11 = x_374; -goto block_36; -} -else -{ -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; -x_375 = lean_ctor_get(x_369, 0); -x_376 = lean_ctor_get(x_369, 1); -x_377 = lean_ctor_get(x_369, 2); -x_378 = lean_ctor_get(x_369, 3); -x_379 = lean_ctor_get(x_369, 4); -x_380 = lean_ctor_get(x_369, 6); -lean_inc(x_380); -lean_inc(x_379); -lean_inc(x_378); -lean_inc(x_377); -lean_inc(x_376); -lean_inc(x_375); -lean_dec(x_369); -x_381 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_381, 0, x_375); -lean_ctor_set(x_381, 1, x_376); -lean_ctor_set(x_381, 2, x_377); -lean_ctor_set(x_381, 3, x_378); -lean_ctor_set(x_381, 4, x_379); -lean_ctor_set(x_381, 5, x_367); -lean_ctor_set(x_381, 6, x_380); -x_382 = lean_st_ref_set(x_4, x_381, x_370); -x_383 = lean_ctor_get(x_382, 1); -lean_inc(x_383); -lean_dec(x_382); -x_10 = x_366; -x_11 = x_383; +x_10 = x_354; +x_11 = x_369; goto block_36; } } else { -lean_object* x_384; +lean_object* x_370; lean_dec(x_2); lean_dec(x_1); -x_384 = lean_ctor_get(x_365, 0); -lean_inc(x_384); -lean_dec(x_365); -if (lean_obj_tag(x_384) == 0) +x_370 = lean_ctor_get(x_353, 0); +lean_inc(x_370); +lean_dec(x_353); +if (lean_obj_tag(x_370) == 0) { -lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; uint8_t x_390; -x_385 = lean_ctor_get(x_384, 0); -lean_inc(x_385); -x_386 = lean_ctor_get(x_384, 1); -lean_inc(x_386); -lean_dec(x_384); -x_387 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_387, 0, x_386); -x_388 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_388, 0, x_387); -x_389 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_385, x_388, x_3, x_4, x_5, x_6, x_7, x_8, x_359); +lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; uint8_t x_376; +x_371 = lean_ctor_get(x_370, 0); +lean_inc(x_371); +x_372 = lean_ctor_get(x_370, 1); +lean_inc(x_372); +lean_dec(x_370); +x_373 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_373, 0, x_372); +x_374 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_374, 0, x_373); +x_375 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_371, x_374, x_3, x_4, x_5, x_6, x_7, x_8, x_347); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_385); -x_390 = !lean_is_exclusive(x_389); -if (x_390 == 0) +lean_dec(x_371); +x_376 = !lean_is_exclusive(x_375); +if (x_376 == 0) { -return x_389; +return x_375; } else { -lean_object* x_391; lean_object* x_392; lean_object* x_393; -x_391 = lean_ctor_get(x_389, 0); -x_392 = lean_ctor_get(x_389, 1); -lean_inc(x_392); -lean_inc(x_391); -lean_dec(x_389); -x_393 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_393, 0, x_391); -lean_ctor_set(x_393, 1, x_392); -return x_393; +lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_377 = lean_ctor_get(x_375, 0); +x_378 = lean_ctor_get(x_375, 1); +lean_inc(x_378); +lean_inc(x_377); +lean_dec(x_375); +x_379 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_379, 0, x_377); +lean_ctor_set(x_379, 1, x_378); +return x_379; } } else { -lean_object* x_394; uint8_t x_395; +lean_object* x_380; uint8_t x_381; 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_394 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_359); -x_395 = !lean_is_exclusive(x_394); -if (x_395 == 0) +x_380 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_347); +x_381 = !lean_is_exclusive(x_380); +if (x_381 == 0) { -return x_394; +return x_380; } else { -lean_object* x_396; lean_object* x_397; lean_object* x_398; -x_396 = lean_ctor_get(x_394, 0); -x_397 = lean_ctor_get(x_394, 1); -lean_inc(x_397); +lean_object* x_382; lean_object* x_383; lean_object* x_384; +x_382 = lean_ctor_get(x_380, 0); +x_383 = lean_ctor_get(x_380, 1); +lean_inc(x_383); +lean_inc(x_382); +lean_dec(x_380); +x_384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_384, 0, x_382); +lean_ctor_set(x_384, 1, x_383); +return x_384; +} +} +} +} +else +{ +lean_object* x_385; uint8_t x_386; lean_object* x_656; uint8_t x_657; uint8_t x_658; +x_385 = l_Lean_Syntax_getArg(x_336, x_135); +x_656 = l_Lean_nullKind___closed__2; +lean_inc(x_385); +x_657 = l_Lean_Syntax_isOfKind(x_385, x_656); +if (x_657 == 0) +{ +uint8_t x_883; +x_883 = 0; +x_658 = x_883; +goto block_882; +} +else +{ +lean_object* x_884; lean_object* x_885; uint8_t x_886; +x_884 = l_Lean_Syntax_getArgs(x_385); +x_885 = lean_array_get_size(x_884); +lean_dec(x_884); +x_886 = lean_nat_dec_eq(x_885, x_135); +lean_dec(x_885); +x_658 = x_886; +goto block_882; +} +block_655: +{ +if (x_386 == 0) +{ +lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; 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_dec(x_336); +lean_dec(x_334); +lean_dec(x_234); +x_387 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_388 = lean_ctor_get(x_387, 0); +lean_inc(x_388); +x_389 = lean_ctor_get(x_387, 1); +lean_inc(x_389); +lean_dec(x_387); +x_390 = lean_st_ref_get(x_8, x_389); +x_391 = lean_ctor_get(x_390, 0); +lean_inc(x_391); +x_392 = lean_ctor_get(x_390, 1); +lean_inc(x_392); +lean_dec(x_390); +x_393 = lean_ctor_get(x_391, 0); +lean_inc(x_393); +lean_dec(x_391); +x_394 = lean_st_ref_get(x_4, x_392); +x_395 = lean_ctor_get(x_394, 0); +lean_inc(x_395); +x_396 = lean_ctor_get(x_394, 1); lean_inc(x_396); lean_dec(x_394); -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_396); -lean_ctor_set(x_398, 1, x_397); -return x_398; -} -} -} -} -else -{ -lean_object* x_399; uint8_t x_400; lean_object* x_680; uint8_t x_681; uint8_t x_682; -x_399 = l_Lean_Syntax_getArg(x_348, x_139); -x_680 = l_Lean_nullKind___closed__2; +x_397 = lean_ctor_get(x_395, 3); +lean_inc(x_397); +lean_dec(x_395); +x_398 = lean_ctor_get(x_7, 1); +lean_inc(x_398); +x_399 = lean_ctor_get(x_7, 2); lean_inc(x_399); -x_681 = l_Lean_Syntax_isOfKind(x_399, x_680); -if (x_681 == 0) +x_400 = lean_environment_main_module(x_393); +x_401 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_401, 0, x_400); +lean_ctor_set(x_401, 1, x_388); +lean_ctor_set(x_401, 2, x_398); +lean_ctor_set(x_401, 3, x_399); +lean_inc(x_1); +x_402 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_401, x_397); +if (lean_obj_tag(x_402) == 0) { -uint8_t x_915; -x_915 = 0; -x_682 = x_915; -goto block_914; -} -else -{ -lean_object* x_916; lean_object* x_917; uint8_t x_918; -x_916 = l_Lean_Syntax_getArgs(x_399); -x_917 = lean_array_get_size(x_916); -lean_dec(x_916); -x_918 = lean_nat_dec_eq(x_917, x_139); -lean_dec(x_917); -x_682 = x_918; -goto block_914; -} -block_679: -{ -if (x_400 == 0) -{ -lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; 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_dec(x_348); -lean_dec(x_346); -lean_dec(x_242); -x_401 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_402 = lean_ctor_get(x_401, 0); -lean_inc(x_402); -x_403 = lean_ctor_get(x_401, 1); +lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; uint8_t x_408; +x_403 = lean_ctor_get(x_402, 0); lean_inc(x_403); -lean_dec(x_401); -x_404 = lean_st_ref_get(x_8, x_403); -x_405 = lean_ctor_get(x_404, 0); -lean_inc(x_405); -x_406 = lean_ctor_get(x_404, 1); +x_404 = lean_ctor_get(x_402, 1); +lean_inc(x_404); +lean_dec(x_402); +x_405 = lean_st_ref_take(x_4, x_396); +x_406 = lean_ctor_get(x_405, 0); lean_inc(x_406); -lean_dec(x_404); -x_407 = lean_ctor_get(x_405, 0); +x_407 = lean_ctor_get(x_405, 1); lean_inc(x_407); lean_dec(x_405); -x_408 = lean_st_ref_get(x_4, x_406); -x_409 = lean_ctor_get(x_408, 0); -lean_inc(x_409); -x_410 = lean_ctor_get(x_408, 1); -lean_inc(x_410); -lean_dec(x_408); -x_411 = lean_ctor_get(x_409, 5); -lean_inc(x_411); -lean_dec(x_409); -x_412 = lean_ctor_get(x_7, 1); -lean_inc(x_412); -x_413 = lean_ctor_get(x_7, 2); -lean_inc(x_413); -x_414 = lean_environment_main_module(x_407); -x_415 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_402); -lean_ctor_set(x_415, 2, x_412); -lean_ctor_set(x_415, 3, x_413); -lean_inc(x_1); -x_416 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_415, x_411); -if (lean_obj_tag(x_416) == 0) +x_408 = !lean_is_exclusive(x_406); +if (x_408 == 0) { -lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; -x_417 = lean_ctor_get(x_416, 0); -lean_inc(x_417); -x_418 = lean_ctor_get(x_416, 1); +lean_object* x_409; lean_object* x_410; lean_object* x_411; +x_409 = lean_ctor_get(x_406, 3); +lean_dec(x_409); +lean_ctor_set(x_406, 3, x_404); +x_410 = lean_st_ref_set(x_4, x_406, x_407); +x_411 = lean_ctor_get(x_410, 1); +lean_inc(x_411); +lean_dec(x_410); +x_10 = x_403; +x_11 = x_411; +goto block_36; +} +else +{ +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; +x_412 = lean_ctor_get(x_406, 0); +x_413 = lean_ctor_get(x_406, 1); +x_414 = lean_ctor_get(x_406, 2); +x_415 = lean_ctor_get(x_406, 4); +lean_inc(x_415); +lean_inc(x_414); +lean_inc(x_413); +lean_inc(x_412); +lean_dec(x_406); +x_416 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_416, 0, x_412); +lean_ctor_set(x_416, 1, x_413); +lean_ctor_set(x_416, 2, x_414); +lean_ctor_set(x_416, 3, x_404); +lean_ctor_set(x_416, 4, x_415); +x_417 = lean_st_ref_set(x_4, x_416, x_407); +x_418 = lean_ctor_get(x_417, 1); lean_inc(x_418); -lean_dec(x_416); -x_419 = lean_st_ref_take(x_4, x_410); +lean_dec(x_417); +x_10 = x_403; +x_11 = x_418; +goto block_36; +} +} +else +{ +lean_object* x_419; +lean_dec(x_2); +lean_dec(x_1); +x_419 = lean_ctor_get(x_402, 0); +lean_inc(x_419); +lean_dec(x_402); +if (lean_obj_tag(x_419) == 0) +{ +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; x_420 = lean_ctor_get(x_419, 0); lean_inc(x_420); x_421 = lean_ctor_get(x_419, 1); lean_inc(x_421); lean_dec(x_419); -x_422 = !lean_is_exclusive(x_420); -if (x_422 == 0) +x_422 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_422, 0, x_421); +x_423 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_423, 0, x_422); +x_424 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_420, x_423, x_3, x_4, x_5, x_6, x_7, x_8, x_396); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_420); +x_425 = !lean_is_exclusive(x_424); +if (x_425 == 0) { -lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_423 = lean_ctor_get(x_420, 5); -lean_dec(x_423); -lean_ctor_set(x_420, 5, x_418); -x_424 = lean_st_ref_set(x_4, x_420, x_421); -x_425 = lean_ctor_get(x_424, 1); -lean_inc(x_425); -lean_dec(x_424); -x_10 = x_417; -x_11 = x_425; -goto block_36; +return x_424; } else { -lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; -x_426 = lean_ctor_get(x_420, 0); -x_427 = lean_ctor_get(x_420, 1); -x_428 = lean_ctor_get(x_420, 2); -x_429 = lean_ctor_get(x_420, 3); -x_430 = lean_ctor_get(x_420, 4); -x_431 = lean_ctor_get(x_420, 6); -lean_inc(x_431); -lean_inc(x_430); -lean_inc(x_429); -lean_inc(x_428); +lean_object* x_426; lean_object* x_427; lean_object* x_428; +x_426 = lean_ctor_get(x_424, 0); +x_427 = lean_ctor_get(x_424, 1); lean_inc(x_427); lean_inc(x_426); -lean_dec(x_420); -x_432 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_432, 0, x_426); -lean_ctor_set(x_432, 1, x_427); -lean_ctor_set(x_432, 2, x_428); -lean_ctor_set(x_432, 3, x_429); -lean_ctor_set(x_432, 4, x_430); -lean_ctor_set(x_432, 5, x_418); -lean_ctor_set(x_432, 6, x_431); -x_433 = lean_st_ref_set(x_4, x_432, x_421); -x_434 = lean_ctor_get(x_433, 1); -lean_inc(x_434); -lean_dec(x_433); -x_10 = x_417; -x_11 = x_434; -goto block_36; +lean_dec(x_424); +x_428 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_428, 0, x_426); +lean_ctor_set(x_428, 1, x_427); +return x_428; } } else { -lean_object* x_435; -lean_dec(x_2); -lean_dec(x_1); -x_435 = lean_ctor_get(x_416, 0); -lean_inc(x_435); -lean_dec(x_416); -if (lean_obj_tag(x_435) == 0) -{ -lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; uint8_t x_441; -x_436 = lean_ctor_get(x_435, 0); -lean_inc(x_436); -x_437 = lean_ctor_get(x_435, 1); -lean_inc(x_437); -lean_dec(x_435); -x_438 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_438, 0, x_437); -x_439 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_439, 0, x_438); -x_440 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_436, x_439, x_3, x_4, x_5, x_6, x_7, x_8, x_410); +lean_object* x_429; uint8_t x_430; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_436); -x_441 = !lean_is_exclusive(x_440); -if (x_441 == 0) +lean_dec(x_3); +x_429 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_396); +x_430 = !lean_is_exclusive(x_429); +if (x_430 == 0) { -return x_440; +return x_429; } else { -lean_object* x_442; lean_object* x_443; lean_object* x_444; +lean_object* x_431; lean_object* x_432; lean_object* x_433; +x_431 = lean_ctor_get(x_429, 0); +x_432 = lean_ctor_get(x_429, 1); +lean_inc(x_432); +lean_inc(x_431); +lean_dec(x_429); +x_433 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_433, 0, x_431); +lean_ctor_set(x_433, 1, x_432); +return x_433; +} +} +} +} +else +{ +lean_object* x_434; uint8_t x_435; lean_object* x_649; uint8_t x_650; +x_434 = l_Lean_Syntax_getArg(x_336, x_85); +lean_dec(x_336); +x_649 = l_Lean_nullKind___closed__2; +lean_inc(x_434); +x_650 = l_Lean_Syntax_isOfKind(x_434, x_649); +if (x_650 == 0) +{ +uint8_t x_651; +x_651 = 0; +x_435 = x_651; +goto block_648; +} +else +{ +lean_object* x_652; lean_object* x_653; uint8_t x_654; +x_652 = l_Lean_Syntax_getArgs(x_434); +x_653 = lean_array_get_size(x_652); +lean_dec(x_652); +x_654 = lean_nat_dec_eq(x_653, x_85); +lean_dec(x_653); +x_435 = x_654; +goto block_648; +} +block_648: +{ +if (x_435 == 0) +{ +lean_object* x_436; lean_object* x_437; lean_object* x_438; 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_dec(x_434); +lean_dec(x_334); +lean_dec(x_234); +x_436 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_437 = lean_ctor_get(x_436, 0); +lean_inc(x_437); +x_438 = lean_ctor_get(x_436, 1); +lean_inc(x_438); +lean_dec(x_436); +x_439 = lean_st_ref_get(x_8, x_438); +x_440 = lean_ctor_get(x_439, 0); +lean_inc(x_440); +x_441 = lean_ctor_get(x_439, 1); +lean_inc(x_441); +lean_dec(x_439); x_442 = lean_ctor_get(x_440, 0); -x_443 = lean_ctor_get(x_440, 1); -lean_inc(x_443); lean_inc(x_442); lean_dec(x_440); -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_442); -lean_ctor_set(x_444, 1, x_443); -return x_444; -} -} -else -{ -lean_object* x_445; uint8_t x_446; -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_445 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_410); -x_446 = !lean_is_exclusive(x_445); -if (x_446 == 0) -{ -return x_445; -} -else -{ -lean_object* x_447; lean_object* x_448; lean_object* x_449; -x_447 = lean_ctor_get(x_445, 0); -x_448 = lean_ctor_get(x_445, 1); -lean_inc(x_448); +x_443 = lean_st_ref_get(x_4, x_441); +x_444 = lean_ctor_get(x_443, 0); +lean_inc(x_444); +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +lean_dec(x_443); +x_446 = lean_ctor_get(x_444, 3); +lean_inc(x_446); +lean_dec(x_444); +x_447 = lean_ctor_get(x_7, 1); lean_inc(x_447); -lean_dec(x_445); -x_449 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_449, 0, x_447); -lean_ctor_set(x_449, 1, x_448); -return x_449; -} -} -} -} -else -{ -lean_object* x_450; uint8_t x_451; lean_object* x_673; uint8_t x_674; -x_450 = l_Lean_Syntax_getArg(x_348, x_87); -lean_dec(x_348); -x_673 = l_Lean_nullKind___closed__2; -lean_inc(x_450); -x_674 = l_Lean_Syntax_isOfKind(x_450, x_673); -if (x_674 == 0) -{ -uint8_t x_675; -x_675 = 0; -x_451 = x_675; -goto block_672; -} -else -{ -lean_object* x_676; lean_object* x_677; uint8_t x_678; -x_676 = l_Lean_Syntax_getArgs(x_450); -x_677 = lean_array_get_size(x_676); -lean_dec(x_676); -x_678 = lean_nat_dec_eq(x_677, x_87); -lean_dec(x_677); -x_451 = x_678; -goto block_672; -} -block_672: -{ -if (x_451 == 0) -{ -lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; -lean_dec(x_450); -lean_dec(x_346); -lean_dec(x_242); -x_452 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_453 = lean_ctor_get(x_452, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_452, 1); -lean_inc(x_454); -lean_dec(x_452); -x_455 = lean_st_ref_get(x_8, x_454); -x_456 = lean_ctor_get(x_455, 0); -lean_inc(x_456); -x_457 = lean_ctor_get(x_455, 1); -lean_inc(x_457); -lean_dec(x_455); -x_458 = lean_ctor_get(x_456, 0); -lean_inc(x_458); -lean_dec(x_456); -x_459 = lean_st_ref_get(x_4, x_457); -x_460 = lean_ctor_get(x_459, 0); -lean_inc(x_460); -x_461 = lean_ctor_get(x_459, 1); -lean_inc(x_461); -lean_dec(x_459); -x_462 = lean_ctor_get(x_460, 5); -lean_inc(x_462); -lean_dec(x_460); -x_463 = lean_ctor_get(x_7, 1); -lean_inc(x_463); -x_464 = lean_ctor_get(x_7, 2); -lean_inc(x_464); -x_465 = lean_environment_main_module(x_458); -x_466 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_466, 0, x_465); -lean_ctor_set(x_466, 1, x_453); -lean_ctor_set(x_466, 2, x_463); -lean_ctor_set(x_466, 3, x_464); +x_448 = lean_ctor_get(x_7, 2); +lean_inc(x_448); +x_449 = lean_environment_main_module(x_442); +x_450 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_450, 0, x_449); +lean_ctor_set(x_450, 1, x_437); +lean_ctor_set(x_450, 2, x_447); +lean_ctor_set(x_450, 3, x_448); lean_inc(x_1); -x_467 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_466, x_462); -if (lean_obj_tag(x_467) == 0) +x_451 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_450, x_446); +if (lean_obj_tag(x_451) == 0) { -lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; uint8_t x_473; -x_468 = lean_ctor_get(x_467, 0); -lean_inc(x_468); -x_469 = lean_ctor_get(x_467, 1); -lean_inc(x_469); -lean_dec(x_467); -x_470 = lean_st_ref_take(x_4, x_461); -x_471 = lean_ctor_get(x_470, 0); -lean_inc(x_471); -x_472 = lean_ctor_get(x_470, 1); -lean_inc(x_472); -lean_dec(x_470); -x_473 = !lean_is_exclusive(x_471); -if (x_473 == 0) +lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; uint8_t x_457; +x_452 = lean_ctor_get(x_451, 0); +lean_inc(x_452); +x_453 = lean_ctor_get(x_451, 1); +lean_inc(x_453); +lean_dec(x_451); +x_454 = lean_st_ref_take(x_4, x_445); +x_455 = lean_ctor_get(x_454, 0); +lean_inc(x_455); +x_456 = lean_ctor_get(x_454, 1); +lean_inc(x_456); +lean_dec(x_454); +x_457 = !lean_is_exclusive(x_455); +if (x_457 == 0) { -lean_object* x_474; lean_object* x_475; lean_object* x_476; -x_474 = lean_ctor_get(x_471, 5); -lean_dec(x_474); -lean_ctor_set(x_471, 5, x_469); -x_475 = lean_st_ref_set(x_4, x_471, x_472); -x_476 = lean_ctor_get(x_475, 1); -lean_inc(x_476); -lean_dec(x_475); -x_10 = x_468; -x_11 = x_476; +lean_object* x_458; lean_object* x_459; lean_object* x_460; +x_458 = lean_ctor_get(x_455, 3); +lean_dec(x_458); +lean_ctor_set(x_455, 3, x_453); +x_459 = lean_st_ref_set(x_4, x_455, x_456); +x_460 = lean_ctor_get(x_459, 1); +lean_inc(x_460); +lean_dec(x_459); +x_10 = x_452; +x_11 = x_460; goto block_36; } else { -lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; -x_477 = lean_ctor_get(x_471, 0); -x_478 = lean_ctor_get(x_471, 1); -x_479 = lean_ctor_get(x_471, 2); -x_480 = lean_ctor_get(x_471, 3); -x_481 = lean_ctor_get(x_471, 4); -x_482 = lean_ctor_get(x_471, 6); -lean_inc(x_482); -lean_inc(x_481); -lean_inc(x_480); -lean_inc(x_479); -lean_inc(x_478); -lean_inc(x_477); -lean_dec(x_471); -x_483 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_483, 0, x_477); -lean_ctor_set(x_483, 1, x_478); -lean_ctor_set(x_483, 2, x_479); -lean_ctor_set(x_483, 3, x_480); -lean_ctor_set(x_483, 4, x_481); -lean_ctor_set(x_483, 5, x_469); -lean_ctor_set(x_483, 6, x_482); -x_484 = lean_st_ref_set(x_4, x_483, x_472); -x_485 = lean_ctor_get(x_484, 1); -lean_inc(x_485); -lean_dec(x_484); -x_10 = x_468; -x_11 = x_485; +lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_461 = lean_ctor_get(x_455, 0); +x_462 = lean_ctor_get(x_455, 1); +x_463 = lean_ctor_get(x_455, 2); +x_464 = lean_ctor_get(x_455, 4); +lean_inc(x_464); +lean_inc(x_463); +lean_inc(x_462); +lean_inc(x_461); +lean_dec(x_455); +x_465 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_465, 0, x_461); +lean_ctor_set(x_465, 1, x_462); +lean_ctor_set(x_465, 2, x_463); +lean_ctor_set(x_465, 3, x_453); +lean_ctor_set(x_465, 4, x_464); +x_466 = lean_st_ref_set(x_4, x_465, x_456); +x_467 = lean_ctor_get(x_466, 1); +lean_inc(x_467); +lean_dec(x_466); +x_10 = x_452; +x_11 = x_467; goto block_36; } } else { -lean_object* x_486; +lean_object* x_468; lean_dec(x_2); lean_dec(x_1); -x_486 = lean_ctor_get(x_467, 0); -lean_inc(x_486); -lean_dec(x_467); -if (lean_obj_tag(x_486) == 0) +x_468 = lean_ctor_get(x_451, 0); +lean_inc(x_468); +lean_dec(x_451); +if (lean_obj_tag(x_468) == 0) { -lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; uint8_t x_492; -x_487 = lean_ctor_get(x_486, 0); -lean_inc(x_487); -x_488 = lean_ctor_get(x_486, 1); -lean_inc(x_488); -lean_dec(x_486); -x_489 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_489, 0, x_488); -x_490 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_490, 0, x_489); -x_491 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_487, x_490, x_3, x_4, x_5, x_6, x_7, x_8, x_461); +lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; uint8_t x_474; +x_469 = lean_ctor_get(x_468, 0); +lean_inc(x_469); +x_470 = lean_ctor_get(x_468, 1); +lean_inc(x_470); +lean_dec(x_468); +x_471 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_471, 0, x_470); +x_472 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_472, 0, x_471); +x_473 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_469, x_472, x_3, x_4, x_5, x_6, x_7, x_8, x_445); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_487); -x_492 = !lean_is_exclusive(x_491); -if (x_492 == 0) +lean_dec(x_469); +x_474 = !lean_is_exclusive(x_473); +if (x_474 == 0) { -return x_491; +return x_473; } else { -lean_object* x_493; lean_object* x_494; lean_object* x_495; -x_493 = lean_ctor_get(x_491, 0); -x_494 = lean_ctor_get(x_491, 1); -lean_inc(x_494); -lean_inc(x_493); -lean_dec(x_491); -x_495 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_495, 0, x_493); -lean_ctor_set(x_495, 1, x_494); -return x_495; +lean_object* x_475; lean_object* x_476; lean_object* x_477; +x_475 = lean_ctor_get(x_473, 0); +x_476 = lean_ctor_get(x_473, 1); +lean_inc(x_476); +lean_inc(x_475); +lean_dec(x_473); +x_477 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_477, 0, x_475); +lean_ctor_set(x_477, 1, x_476); +return x_477; } } else { -lean_object* x_496; uint8_t x_497; +lean_object* x_478; uint8_t x_479; 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_496 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_461); -x_497 = !lean_is_exclusive(x_496); -if (x_497 == 0) +x_478 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_445); +x_479 = !lean_is_exclusive(x_478); +if (x_479 == 0) { -return x_496; +return x_478; } else { -lean_object* x_498; lean_object* x_499; lean_object* x_500; -x_498 = lean_ctor_get(x_496, 0); -x_499 = lean_ctor_get(x_496, 1); -lean_inc(x_499); -lean_inc(x_498); -lean_dec(x_496); -x_500 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_500, 0, x_498); -lean_ctor_set(x_500, 1, x_499); -return x_500; +lean_object* x_480; lean_object* x_481; lean_object* x_482; +x_480 = lean_ctor_get(x_478, 0); +x_481 = lean_ctor_get(x_478, 1); +lean_inc(x_481); +lean_inc(x_480); +lean_dec(x_478); +x_482 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_482, 0, x_480); +lean_ctor_set(x_482, 1, x_481); +return x_482; } } } } else { -lean_object* x_501; uint8_t x_502; lean_object* x_665; uint8_t x_666; -x_501 = l_Lean_Syntax_getArg(x_450, x_139); -lean_dec(x_450); -x_665 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +lean_object* x_483; uint8_t x_484; lean_object* x_641; uint8_t x_642; +x_483 = l_Lean_Syntax_getArg(x_434, x_135); +lean_dec(x_434); +x_641 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +lean_inc(x_483); +x_642 = l_Lean_Syntax_isOfKind(x_483, x_641); +if (x_642 == 0) +{ +uint8_t x_643; +x_643 = 0; +x_484 = x_643; +goto block_640; +} +else +{ +lean_object* x_644; lean_object* x_645; lean_object* x_646; uint8_t x_647; +x_644 = l_Lean_Syntax_getArgs(x_483); +x_645 = lean_array_get_size(x_644); +lean_dec(x_644); +x_646 = lean_unsigned_to_nat(3u); +x_647 = lean_nat_dec_eq(x_645, x_646); +lean_dec(x_645); +x_484 = x_647; +goto block_640; +} +block_640: +{ +if (x_484 == 0) +{ +lean_object* x_485; 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; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; +lean_dec(x_483); +lean_dec(x_334); +lean_dec(x_234); +x_485 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_486 = lean_ctor_get(x_485, 0); +lean_inc(x_486); +x_487 = lean_ctor_get(x_485, 1); +lean_inc(x_487); +lean_dec(x_485); +x_488 = lean_st_ref_get(x_8, x_487); +x_489 = lean_ctor_get(x_488, 0); +lean_inc(x_489); +x_490 = lean_ctor_get(x_488, 1); +lean_inc(x_490); +lean_dec(x_488); +x_491 = lean_ctor_get(x_489, 0); +lean_inc(x_491); +lean_dec(x_489); +x_492 = lean_st_ref_get(x_4, x_490); +x_493 = lean_ctor_get(x_492, 0); +lean_inc(x_493); +x_494 = lean_ctor_get(x_492, 1); +lean_inc(x_494); +lean_dec(x_492); +x_495 = lean_ctor_get(x_493, 3); +lean_inc(x_495); +lean_dec(x_493); +x_496 = lean_ctor_get(x_7, 1); +lean_inc(x_496); +x_497 = lean_ctor_get(x_7, 2); +lean_inc(x_497); +x_498 = lean_environment_main_module(x_491); +x_499 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_499, 0, x_498); +lean_ctor_set(x_499, 1, x_486); +lean_ctor_set(x_499, 2, x_496); +lean_ctor_set(x_499, 3, x_497); +lean_inc(x_1); +x_500 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_499, x_495); +if (lean_obj_tag(x_500) == 0) +{ +lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; uint8_t x_506; +x_501 = lean_ctor_get(x_500, 0); lean_inc(x_501); -x_666 = l_Lean_Syntax_isOfKind(x_501, x_665); -if (x_666 == 0) -{ -uint8_t x_667; -x_667 = 0; -x_502 = x_667; -goto block_664; -} -else -{ -lean_object* x_668; lean_object* x_669; lean_object* x_670; uint8_t x_671; -x_668 = l_Lean_Syntax_getArgs(x_501); -x_669 = lean_array_get_size(x_668); -lean_dec(x_668); -x_670 = lean_unsigned_to_nat(3u); -x_671 = lean_nat_dec_eq(x_669, x_670); -lean_dec(x_669); -x_502 = x_671; -goto block_664; -} -block_664: -{ -if (x_502 == 0) -{ -lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; -lean_dec(x_501); -lean_dec(x_346); -lean_dec(x_242); -x_503 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_502 = lean_ctor_get(x_500, 1); +lean_inc(x_502); +lean_dec(x_500); +x_503 = lean_st_ref_take(x_4, x_494); x_504 = lean_ctor_get(x_503, 0); lean_inc(x_504); x_505 = lean_ctor_get(x_503, 1); lean_inc(x_505); lean_dec(x_503); -x_506 = lean_st_ref_get(x_8, x_505); -x_507 = lean_ctor_get(x_506, 0); -lean_inc(x_507); -x_508 = lean_ctor_get(x_506, 1); -lean_inc(x_508); -lean_dec(x_506); -x_509 = lean_ctor_get(x_507, 0); -lean_inc(x_509); +x_506 = !lean_is_exclusive(x_504); +if (x_506 == 0) +{ +lean_object* x_507; lean_object* x_508; lean_object* x_509; +x_507 = lean_ctor_get(x_504, 3); lean_dec(x_507); -x_510 = lean_st_ref_get(x_4, x_508); -x_511 = lean_ctor_get(x_510, 0); -lean_inc(x_511); -x_512 = lean_ctor_get(x_510, 1); -lean_inc(x_512); -lean_dec(x_510); -x_513 = lean_ctor_get(x_511, 5); +lean_ctor_set(x_504, 3, x_502); +x_508 = lean_st_ref_set(x_4, x_504, x_505); +x_509 = lean_ctor_get(x_508, 1); +lean_inc(x_509); +lean_dec(x_508); +x_10 = x_501; +x_11 = x_509; +goto block_36; +} +else +{ +lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; +x_510 = lean_ctor_get(x_504, 0); +x_511 = lean_ctor_get(x_504, 1); +x_512 = lean_ctor_get(x_504, 2); +x_513 = lean_ctor_get(x_504, 4); lean_inc(x_513); -lean_dec(x_511); -x_514 = lean_ctor_get(x_7, 1); -lean_inc(x_514); -x_515 = lean_ctor_get(x_7, 2); -lean_inc(x_515); -x_516 = lean_environment_main_module(x_509); -x_517 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_517, 0, x_516); -lean_ctor_set(x_517, 1, x_504); -lean_ctor_set(x_517, 2, x_514); -lean_ctor_set(x_517, 3, x_515); -lean_inc(x_1); -x_518 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_517, x_513); -if (lean_obj_tag(x_518) == 0) -{ -lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; uint8_t x_524; -x_519 = lean_ctor_get(x_518, 0); -lean_inc(x_519); -x_520 = lean_ctor_get(x_518, 1); -lean_inc(x_520); -lean_dec(x_518); -x_521 = lean_st_ref_take(x_4, x_512); -x_522 = lean_ctor_get(x_521, 0); -lean_inc(x_522); -x_523 = lean_ctor_get(x_521, 1); -lean_inc(x_523); -lean_dec(x_521); -x_524 = !lean_is_exclusive(x_522); -if (x_524 == 0) -{ -lean_object* x_525; lean_object* x_526; lean_object* x_527; -x_525 = lean_ctor_get(x_522, 5); -lean_dec(x_525); -lean_ctor_set(x_522, 5, x_520); -x_526 = lean_st_ref_set(x_4, x_522, x_523); -x_527 = lean_ctor_get(x_526, 1); -lean_inc(x_527); -lean_dec(x_526); -x_10 = x_519; -x_11 = x_527; -goto block_36; -} -else -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; -x_528 = lean_ctor_get(x_522, 0); -x_529 = lean_ctor_get(x_522, 1); -x_530 = lean_ctor_get(x_522, 2); -x_531 = lean_ctor_get(x_522, 3); -x_532 = lean_ctor_get(x_522, 4); -x_533 = lean_ctor_get(x_522, 6); -lean_inc(x_533); -lean_inc(x_532); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_529); -lean_inc(x_528); -lean_dec(x_522); -x_534 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_534, 0, x_528); -lean_ctor_set(x_534, 1, x_529); -lean_ctor_set(x_534, 2, x_530); -lean_ctor_set(x_534, 3, x_531); -lean_ctor_set(x_534, 4, x_532); -lean_ctor_set(x_534, 5, x_520); -lean_ctor_set(x_534, 6, x_533); -x_535 = lean_st_ref_set(x_4, x_534, x_523); -x_536 = lean_ctor_get(x_535, 1); -lean_inc(x_536); -lean_dec(x_535); -x_10 = x_519; -x_11 = x_536; +lean_inc(x_512); +lean_inc(x_511); +lean_inc(x_510); +lean_dec(x_504); +x_514 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_514, 0, x_510); +lean_ctor_set(x_514, 1, x_511); +lean_ctor_set(x_514, 2, x_512); +lean_ctor_set(x_514, 3, x_502); +lean_ctor_set(x_514, 4, x_513); +x_515 = lean_st_ref_set(x_4, x_514, x_505); +x_516 = lean_ctor_get(x_515, 1); +lean_inc(x_516); +lean_dec(x_515); +x_10 = x_501; +x_11 = x_516; goto block_36; } } else { -lean_object* x_537; +lean_object* x_517; lean_dec(x_2); lean_dec(x_1); -x_537 = lean_ctor_get(x_518, 0); -lean_inc(x_537); -lean_dec(x_518); -if (lean_obj_tag(x_537) == 0) +x_517 = lean_ctor_get(x_500, 0); +lean_inc(x_517); +lean_dec(x_500); +if (lean_obj_tag(x_517) == 0) { -lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; uint8_t x_543; +lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; uint8_t x_523; +x_518 = lean_ctor_get(x_517, 0); +lean_inc(x_518); +x_519 = lean_ctor_get(x_517, 1); +lean_inc(x_519); +lean_dec(x_517); +x_520 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_520, 0, x_519); +x_521 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_521, 0, x_520); +x_522 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_518, x_521, x_3, x_4, x_5, x_6, x_7, x_8, x_494); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_518); +x_523 = !lean_is_exclusive(x_522); +if (x_523 == 0) +{ +return x_522; +} +else +{ +lean_object* x_524; lean_object* x_525; lean_object* x_526; +x_524 = lean_ctor_get(x_522, 0); +x_525 = lean_ctor_get(x_522, 1); +lean_inc(x_525); +lean_inc(x_524); +lean_dec(x_522); +x_526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_526, 0, x_524); +lean_ctor_set(x_526, 1, x_525); +return x_526; +} +} +else +{ +lean_object* x_527; uint8_t x_528; +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_527 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_494); +x_528 = !lean_is_exclusive(x_527); +if (x_528 == 0) +{ +return x_527; +} +else +{ +lean_object* x_529; lean_object* x_530; lean_object* x_531; +x_529 = lean_ctor_get(x_527, 0); +x_530 = lean_ctor_get(x_527, 1); +lean_inc(x_530); +lean_inc(x_529); +lean_dec(x_527); +x_531 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_531, 0, x_529); +lean_ctor_set(x_531, 1, x_530); +return x_531; +} +} +} +} +else +{ +lean_object* x_532; uint8_t x_533; lean_object* x_634; uint8_t x_635; +x_532 = l_Lean_Syntax_getArg(x_483, x_135); +x_634 = l_Lean_nullKind___closed__2; +lean_inc(x_532); +x_635 = l_Lean_Syntax_isOfKind(x_532, x_634); +if (x_635 == 0) +{ +uint8_t x_636; +x_636 = 0; +x_533 = x_636; +goto block_633; +} +else +{ +lean_object* x_637; lean_object* x_638; uint8_t x_639; +x_637 = l_Lean_Syntax_getArgs(x_532); +x_638 = lean_array_get_size(x_637); +lean_dec(x_637); +x_639 = lean_nat_dec_eq(x_638, x_85); +lean_dec(x_638); +x_533 = x_639; +goto block_633; +} +block_633: +{ +if (x_533 == 0) +{ +lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; +lean_dec(x_532); +lean_dec(x_483); +lean_dec(x_334); +lean_dec(x_234); +x_534 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_535 = lean_ctor_get(x_534, 0); +lean_inc(x_535); +x_536 = lean_ctor_get(x_534, 1); +lean_inc(x_536); +lean_dec(x_534); +x_537 = lean_st_ref_get(x_8, x_536); x_538 = lean_ctor_get(x_537, 0); lean_inc(x_538); x_539 = lean_ctor_get(x_537, 1); lean_inc(x_539); lean_dec(x_537); -x_540 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_540, 0, x_539); -x_541 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_541, 0, x_540); -x_542 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_538, x_541, x_3, x_4, x_5, x_6, x_7, x_8, x_512); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +x_540 = lean_ctor_get(x_538, 0); +lean_inc(x_540); lean_dec(x_538); -x_543 = !lean_is_exclusive(x_542); -if (x_543 == 0) -{ -return x_542; -} -else -{ -lean_object* x_544; lean_object* x_545; lean_object* x_546; -x_544 = lean_ctor_get(x_542, 0); -x_545 = lean_ctor_get(x_542, 1); -lean_inc(x_545); +x_541 = lean_st_ref_get(x_4, x_539); +x_542 = lean_ctor_get(x_541, 0); +lean_inc(x_542); +x_543 = lean_ctor_get(x_541, 1); +lean_inc(x_543); +lean_dec(x_541); +x_544 = lean_ctor_get(x_542, 3); lean_inc(x_544); lean_dec(x_542); -x_546 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_546, 0, x_544); -lean_ctor_set(x_546, 1, x_545); -return x_546; +x_545 = lean_ctor_get(x_7, 1); +lean_inc(x_545); +x_546 = lean_ctor_get(x_7, 2); +lean_inc(x_546); +x_547 = lean_environment_main_module(x_540); +x_548 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_548, 0, x_547); +lean_ctor_set(x_548, 1, x_535); +lean_ctor_set(x_548, 2, x_545); +lean_ctor_set(x_548, 3, x_546); +lean_inc(x_1); +x_549 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_548, x_544); +if (lean_obj_tag(x_549) == 0) +{ +lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; uint8_t x_555; +x_550 = lean_ctor_get(x_549, 0); +lean_inc(x_550); +x_551 = lean_ctor_get(x_549, 1); +lean_inc(x_551); +lean_dec(x_549); +x_552 = lean_st_ref_take(x_4, x_543); +x_553 = lean_ctor_get(x_552, 0); +lean_inc(x_553); +x_554 = lean_ctor_get(x_552, 1); +lean_inc(x_554); +lean_dec(x_552); +x_555 = !lean_is_exclusive(x_553); +if (x_555 == 0) +{ +lean_object* x_556; lean_object* x_557; lean_object* x_558; +x_556 = lean_ctor_get(x_553, 3); +lean_dec(x_556); +lean_ctor_set(x_553, 3, x_551); +x_557 = lean_st_ref_set(x_4, x_553, x_554); +x_558 = lean_ctor_get(x_557, 1); +lean_inc(x_558); +lean_dec(x_557); +x_10 = x_550; +x_11 = x_558; +goto block_36; +} +else +{ +lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; +x_559 = lean_ctor_get(x_553, 0); +x_560 = lean_ctor_get(x_553, 1); +x_561 = lean_ctor_get(x_553, 2); +x_562 = lean_ctor_get(x_553, 4); +lean_inc(x_562); +lean_inc(x_561); +lean_inc(x_560); +lean_inc(x_559); +lean_dec(x_553); +x_563 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_563, 0, x_559); +lean_ctor_set(x_563, 1, x_560); +lean_ctor_set(x_563, 2, x_561); +lean_ctor_set(x_563, 3, x_551); +lean_ctor_set(x_563, 4, x_562); +x_564 = lean_st_ref_set(x_4, x_563, x_554); +x_565 = lean_ctor_get(x_564, 1); +lean_inc(x_565); +lean_dec(x_564); +x_10 = x_550; +x_11 = x_565; +goto block_36; } } else { -lean_object* x_547; uint8_t x_548; +lean_object* x_566; +lean_dec(x_2); +lean_dec(x_1); +x_566 = lean_ctor_get(x_549, 0); +lean_inc(x_566); +lean_dec(x_549); +if (lean_obj_tag(x_566) == 0) +{ +lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; uint8_t x_572; +x_567 = lean_ctor_get(x_566, 0); +lean_inc(x_567); +x_568 = lean_ctor_get(x_566, 1); +lean_inc(x_568); +lean_dec(x_566); +x_569 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_569, 0, x_568); +x_570 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_570, 0, x_569); +x_571 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_567, x_570, x_3, x_4, x_5, x_6, x_7, x_8, x_543); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_567); +x_572 = !lean_is_exclusive(x_571); +if (x_572 == 0) +{ +return x_571; +} +else +{ +lean_object* x_573; lean_object* x_574; lean_object* x_575; +x_573 = lean_ctor_get(x_571, 0); +x_574 = lean_ctor_get(x_571, 1); +lean_inc(x_574); +lean_inc(x_573); +lean_dec(x_571); +x_575 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_575, 0, x_573); +lean_ctor_set(x_575, 1, x_574); +return x_575; +} +} +else +{ +lean_object* x_576; uint8_t x_577; 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_547 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_512); -x_548 = !lean_is_exclusive(x_547); -if (x_548 == 0) +x_576 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_543); +x_577 = !lean_is_exclusive(x_576); +if (x_577 == 0) { -return x_547; +return x_576; } else { -lean_object* x_549; lean_object* x_550; lean_object* x_551; -x_549 = lean_ctor_get(x_547, 0); -x_550 = lean_ctor_get(x_547, 1); -lean_inc(x_550); -lean_inc(x_549); -lean_dec(x_547); -x_551 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_551, 0, x_549); -lean_ctor_set(x_551, 1, x_550); -return x_551; -} -} -} -} -else -{ -lean_object* x_552; uint8_t x_553; lean_object* x_658; uint8_t x_659; -x_552 = l_Lean_Syntax_getArg(x_501, x_139); -x_658 = l_Lean_nullKind___closed__2; -lean_inc(x_552); -x_659 = l_Lean_Syntax_isOfKind(x_552, x_658); -if (x_659 == 0) -{ -uint8_t x_660; -x_660 = 0; -x_553 = x_660; -goto block_657; -} -else -{ -lean_object* x_661; lean_object* x_662; uint8_t x_663; -x_661 = l_Lean_Syntax_getArgs(x_552); -x_662 = lean_array_get_size(x_661); -lean_dec(x_661); -x_663 = lean_nat_dec_eq(x_662, x_87); -lean_dec(x_662); -x_553 = x_663; -goto block_657; -} -block_657: -{ -if (x_553 == 0) -{ -lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; -lean_dec(x_552); -lean_dec(x_501); -lean_dec(x_346); -lean_dec(x_242); -x_554 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_555 = lean_ctor_get(x_554, 0); -lean_inc(x_555); -x_556 = lean_ctor_get(x_554, 1); -lean_inc(x_556); -lean_dec(x_554); -x_557 = lean_st_ref_get(x_8, x_556); -x_558 = lean_ctor_get(x_557, 0); -lean_inc(x_558); -x_559 = lean_ctor_get(x_557, 1); -lean_inc(x_559); -lean_dec(x_557); -x_560 = lean_ctor_get(x_558, 0); -lean_inc(x_560); -lean_dec(x_558); -x_561 = lean_st_ref_get(x_4, x_559); -x_562 = lean_ctor_get(x_561, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_561, 1); -lean_inc(x_563); -lean_dec(x_561); -x_564 = lean_ctor_get(x_562, 5); -lean_inc(x_564); -lean_dec(x_562); -x_565 = lean_ctor_get(x_7, 1); -lean_inc(x_565); -x_566 = lean_ctor_get(x_7, 2); -lean_inc(x_566); -x_567 = lean_environment_main_module(x_560); -x_568 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_568, 0, x_567); -lean_ctor_set(x_568, 1, x_555); -lean_ctor_set(x_568, 2, x_565); -lean_ctor_set(x_568, 3, x_566); -lean_inc(x_1); -x_569 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_568, x_564); -if (lean_obj_tag(x_569) == 0) -{ -lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; uint8_t x_575; -x_570 = lean_ctor_get(x_569, 0); -lean_inc(x_570); -x_571 = lean_ctor_get(x_569, 1); -lean_inc(x_571); -lean_dec(x_569); -x_572 = lean_st_ref_take(x_4, x_563); -x_573 = lean_ctor_get(x_572, 0); -lean_inc(x_573); -x_574 = lean_ctor_get(x_572, 1); -lean_inc(x_574); -lean_dec(x_572); -x_575 = !lean_is_exclusive(x_573); -if (x_575 == 0) -{ -lean_object* x_576; lean_object* x_577; lean_object* x_578; -x_576 = lean_ctor_get(x_573, 5); -lean_dec(x_576); -lean_ctor_set(x_573, 5, x_571); -x_577 = lean_st_ref_set(x_4, x_573, x_574); -x_578 = lean_ctor_get(x_577, 1); -lean_inc(x_578); -lean_dec(x_577); -x_10 = x_570; -x_11 = x_578; -goto block_36; -} -else -{ -lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; -x_579 = lean_ctor_get(x_573, 0); -x_580 = lean_ctor_get(x_573, 1); -x_581 = lean_ctor_get(x_573, 2); -x_582 = lean_ctor_get(x_573, 3); -x_583 = lean_ctor_get(x_573, 4); -x_584 = lean_ctor_get(x_573, 6); -lean_inc(x_584); -lean_inc(x_583); -lean_inc(x_582); -lean_inc(x_581); -lean_inc(x_580); +lean_object* x_578; lean_object* x_579; lean_object* x_580; +x_578 = lean_ctor_get(x_576, 0); +x_579 = lean_ctor_get(x_576, 1); lean_inc(x_579); -lean_dec(x_573); -x_585 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_585, 0, x_579); -lean_ctor_set(x_585, 1, x_580); -lean_ctor_set(x_585, 2, x_581); -lean_ctor_set(x_585, 3, x_582); -lean_ctor_set(x_585, 4, x_583); -lean_ctor_set(x_585, 5, x_571); -lean_ctor_set(x_585, 6, x_584); -x_586 = lean_st_ref_set(x_4, x_585, x_574); -x_587 = lean_ctor_get(x_586, 1); -lean_inc(x_587); -lean_dec(x_586); -x_10 = x_570; -x_11 = x_587; -goto block_36; +lean_inc(x_578); +lean_dec(x_576); +x_580 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_580, 0, x_578); +lean_ctor_set(x_580, 1, x_579); +return x_580; +} +} } } else { -lean_object* x_588; -lean_dec(x_2); -lean_dec(x_1); -x_588 = lean_ctor_get(x_569, 0); -lean_inc(x_588); -lean_dec(x_569); -if (lean_obj_tag(x_588) == 0) +lean_object* x_581; lean_object* x_582; uint8_t x_583; +x_581 = l_Lean_Syntax_getArg(x_532, x_135); +lean_dec(x_532); +x_582 = l_Lean_identKind___closed__2; +lean_inc(x_581); +x_583 = l_Lean_Syntax_isOfKind(x_581, x_582); +if (x_583 == 0) { -lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; uint8_t x_594; -x_589 = lean_ctor_get(x_588, 0); +lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; +lean_dec(x_581); +lean_dec(x_483); +lean_dec(x_334); +lean_dec(x_234); +x_584 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_585 = lean_ctor_get(x_584, 0); +lean_inc(x_585); +x_586 = lean_ctor_get(x_584, 1); +lean_inc(x_586); +lean_dec(x_584); +x_587 = lean_st_ref_get(x_8, x_586); +x_588 = lean_ctor_get(x_587, 0); +lean_inc(x_588); +x_589 = lean_ctor_get(x_587, 1); lean_inc(x_589); -x_590 = lean_ctor_get(x_588, 1); +lean_dec(x_587); +x_590 = lean_ctor_get(x_588, 0); lean_inc(x_590); lean_dec(x_588); -x_591 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_591, 0, x_590); -x_592 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_592, 0, x_591); -x_593 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_589, x_592, x_3, x_4, x_5, x_6, x_7, x_8, x_563); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_589); -x_594 = !lean_is_exclusive(x_593); -if (x_594 == 0) -{ -return x_593; -} -else -{ -lean_object* x_595; lean_object* x_596; lean_object* x_597; -x_595 = lean_ctor_get(x_593, 0); -x_596 = lean_ctor_get(x_593, 1); -lean_inc(x_596); +x_591 = lean_st_ref_get(x_4, x_589); +x_592 = lean_ctor_get(x_591, 0); +lean_inc(x_592); +x_593 = lean_ctor_get(x_591, 1); +lean_inc(x_593); +lean_dec(x_591); +x_594 = lean_ctor_get(x_592, 3); +lean_inc(x_594); +lean_dec(x_592); +x_595 = lean_ctor_get(x_7, 1); lean_inc(x_595); -lean_dec(x_593); -x_597 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_597, 0, x_595); -lean_ctor_set(x_597, 1, x_596); -return x_597; -} -} -else +x_596 = lean_ctor_get(x_7, 2); +lean_inc(x_596); +x_597 = lean_environment_main_module(x_590); +x_598 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_598, 0, x_597); +lean_ctor_set(x_598, 1, x_585); +lean_ctor_set(x_598, 2, x_595); +lean_ctor_set(x_598, 3, x_596); +lean_inc(x_1); +x_599 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_598, x_594); +if (lean_obj_tag(x_599) == 0) { -lean_object* x_598; uint8_t x_599; -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_598 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_563); -x_599 = !lean_is_exclusive(x_598); -if (x_599 == 0) -{ -return x_598; -} -else -{ -lean_object* x_600; lean_object* x_601; lean_object* x_602; -x_600 = lean_ctor_get(x_598, 0); -x_601 = lean_ctor_get(x_598, 1); -lean_inc(x_601); +lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; uint8_t x_605; +x_600 = lean_ctor_get(x_599, 0); lean_inc(x_600); -lean_dec(x_598); -x_602 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_602, 0, x_600); -lean_ctor_set(x_602, 1, x_601); -return x_602; -} -} -} -} -else -{ -lean_object* x_603; lean_object* x_604; uint8_t x_605; -x_603 = l_Lean_Syntax_getArg(x_552, x_139); -lean_dec(x_552); -x_604 = l_Lean_identKind___closed__2; +x_601 = lean_ctor_get(x_599, 1); +lean_inc(x_601); +lean_dec(x_599); +x_602 = lean_st_ref_take(x_4, x_593); +x_603 = lean_ctor_get(x_602, 0); lean_inc(x_603); -x_605 = l_Lean_Syntax_isOfKind(x_603, x_604); +x_604 = lean_ctor_get(x_602, 1); +lean_inc(x_604); +lean_dec(x_602); +x_605 = !lean_is_exclusive(x_603); if (x_605 == 0) { -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; -lean_dec(x_603); -lean_dec(x_501); -lean_dec(x_346); -lean_dec(x_242); -x_606 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_607 = lean_ctor_get(x_606, 0); -lean_inc(x_607); -x_608 = lean_ctor_get(x_606, 1); -lean_inc(x_608); +lean_object* x_606; lean_object* x_607; lean_object* x_608; +x_606 = lean_ctor_get(x_603, 3); lean_dec(x_606); -x_609 = lean_st_ref_get(x_8, x_608); -x_610 = lean_ctor_get(x_609, 0); -lean_inc(x_610); -x_611 = lean_ctor_get(x_609, 1); -lean_inc(x_611); -lean_dec(x_609); -x_612 = lean_ctor_get(x_610, 0); -lean_inc(x_612); -lean_dec(x_610); -x_613 = lean_st_ref_get(x_4, x_611); -x_614 = lean_ctor_get(x_613, 0); -lean_inc(x_614); -x_615 = lean_ctor_get(x_613, 1); -lean_inc(x_615); -lean_dec(x_613); -x_616 = lean_ctor_get(x_614, 5); -lean_inc(x_616); -lean_dec(x_614); -x_617 = lean_ctor_get(x_7, 1); -lean_inc(x_617); -x_618 = lean_ctor_get(x_7, 2); -lean_inc(x_618); -x_619 = lean_environment_main_module(x_612); -x_620 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_620, 0, x_619); -lean_ctor_set(x_620, 1, x_607); -lean_ctor_set(x_620, 2, x_617); -lean_ctor_set(x_620, 3, x_618); -lean_inc(x_1); -x_621 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_620, x_616); -if (lean_obj_tag(x_621) == 0) +lean_ctor_set(x_603, 3, x_601); +x_607 = lean_st_ref_set(x_4, x_603, x_604); +x_608 = lean_ctor_get(x_607, 1); +lean_inc(x_608); +lean_dec(x_607); +x_10 = x_600; +x_11 = x_608; +goto block_36; +} +else { -lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; uint8_t x_627; -x_622 = lean_ctor_get(x_621, 0); -lean_inc(x_622); -x_623 = lean_ctor_get(x_621, 1); +lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; +x_609 = lean_ctor_get(x_603, 0); +x_610 = lean_ctor_get(x_603, 1); +x_611 = lean_ctor_get(x_603, 2); +x_612 = lean_ctor_get(x_603, 4); +lean_inc(x_612); +lean_inc(x_611); +lean_inc(x_610); +lean_inc(x_609); +lean_dec(x_603); +x_613 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_613, 0, x_609); +lean_ctor_set(x_613, 1, x_610); +lean_ctor_set(x_613, 2, x_611); +lean_ctor_set(x_613, 3, x_601); +lean_ctor_set(x_613, 4, x_612); +x_614 = lean_st_ref_set(x_4, x_613, x_604); +x_615 = lean_ctor_get(x_614, 1); +lean_inc(x_615); +lean_dec(x_614); +x_10 = x_600; +x_11 = x_615; +goto block_36; +} +} +else +{ +lean_object* x_616; +lean_dec(x_2); +lean_dec(x_1); +x_616 = lean_ctor_get(x_599, 0); +lean_inc(x_616); +lean_dec(x_599); +if (lean_obj_tag(x_616) == 0) +{ +lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; uint8_t x_622; +x_617 = lean_ctor_get(x_616, 0); +lean_inc(x_617); +x_618 = lean_ctor_get(x_616, 1); +lean_inc(x_618); +lean_dec(x_616); +x_619 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_619, 0, x_618); +x_620 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_620, 0, x_619); +x_621 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_617, x_620, x_3, x_4, x_5, x_6, x_7, x_8, x_593); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_617); +x_622 = !lean_is_exclusive(x_621); +if (x_622 == 0) +{ +return x_621; +} +else +{ +lean_object* x_623; lean_object* x_624; lean_object* x_625; +x_623 = lean_ctor_get(x_621, 0); +x_624 = lean_ctor_get(x_621, 1); +lean_inc(x_624); lean_inc(x_623); lean_dec(x_621); -x_624 = lean_st_ref_take(x_4, x_615); -x_625 = lean_ctor_get(x_624, 0); -lean_inc(x_625); -x_626 = lean_ctor_get(x_624, 1); -lean_inc(x_626); -lean_dec(x_624); -x_627 = !lean_is_exclusive(x_625); +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_623); +lean_ctor_set(x_625, 1, x_624); +return x_625; +} +} +else +{ +lean_object* x_626; uint8_t x_627; +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_626 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_593); +x_627 = !lean_is_exclusive(x_626); if (x_627 == 0) { +return x_626; +} +else +{ lean_object* x_628; lean_object* x_629; lean_object* x_630; -x_628 = lean_ctor_get(x_625, 5); -lean_dec(x_628); -lean_ctor_set(x_625, 5, x_623); -x_629 = lean_st_ref_set(x_4, x_625, x_626); -x_630 = lean_ctor_get(x_629, 1); -lean_inc(x_630); -lean_dec(x_629); -x_10 = x_622; -x_11 = x_630; +x_628 = lean_ctor_get(x_626, 0); +x_629 = lean_ctor_get(x_626, 1); +lean_inc(x_629); +lean_inc(x_628); +lean_dec(x_626); +x_630 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_630, 0, x_628); +lean_ctor_set(x_630, 1, x_629); +return x_630; +} +} +} +} +else +{ +lean_object* x_631; lean_object* x_632; +x_631 = l_Lean_Syntax_getArg(x_483, x_235); +lean_dec(x_483); +x_632 = l___private_Lean_Elab_Match_2__expandSimpleMatchWithType(x_1, x_234, x_581, x_334, x_631, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_632; +} +} +} +} +} +} +} +} +} +block_882: +{ +if (x_658 == 0) +{ +if (x_657 == 0) +{ +uint8_t x_659; +lean_dec(x_385); +x_659 = 0; +x_386 = x_659; +goto block_655; +} +else +{ +lean_object* x_660; lean_object* x_661; uint8_t x_662; +x_660 = l_Lean_Syntax_getArgs(x_385); +lean_dec(x_385); +x_661 = lean_array_get_size(x_660); +lean_dec(x_660); +x_662 = lean_nat_dec_eq(x_661, x_85); +lean_dec(x_661); +x_386 = x_662; +goto block_655; +} +} +else +{ +lean_object* x_663; uint8_t x_664; uint8_t x_877; +lean_dec(x_385); +x_663 = l_Lean_Syntax_getArg(x_336, x_85); +lean_dec(x_336); +lean_inc(x_663); +x_877 = l_Lean_Syntax_isOfKind(x_663, x_656); +if (x_877 == 0) +{ +uint8_t x_878; +x_878 = 0; +x_664 = x_878; +goto block_876; +} +else +{ +lean_object* x_879; lean_object* x_880; uint8_t x_881; +x_879 = l_Lean_Syntax_getArgs(x_663); +x_880 = lean_array_get_size(x_879); +lean_dec(x_879); +x_881 = lean_nat_dec_eq(x_880, x_85); +lean_dec(x_880); +x_664 = x_881; +goto block_876; +} +block_876: +{ +if (x_664 == 0) +{ +lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; +lean_dec(x_663); +lean_dec(x_334); +lean_dec(x_234); +x_665 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_666 = lean_ctor_get(x_665, 0); +lean_inc(x_666); +x_667 = lean_ctor_get(x_665, 1); +lean_inc(x_667); +lean_dec(x_665); +x_668 = lean_st_ref_get(x_8, x_667); +x_669 = lean_ctor_get(x_668, 0); +lean_inc(x_669); +x_670 = lean_ctor_get(x_668, 1); +lean_inc(x_670); +lean_dec(x_668); +x_671 = lean_ctor_get(x_669, 0); +lean_inc(x_671); +lean_dec(x_669); +x_672 = lean_st_ref_get(x_4, x_670); +x_673 = lean_ctor_get(x_672, 0); +lean_inc(x_673); +x_674 = lean_ctor_get(x_672, 1); +lean_inc(x_674); +lean_dec(x_672); +x_675 = lean_ctor_get(x_673, 3); +lean_inc(x_675); +lean_dec(x_673); +x_676 = lean_ctor_get(x_7, 1); +lean_inc(x_676); +x_677 = lean_ctor_get(x_7, 2); +lean_inc(x_677); +x_678 = lean_environment_main_module(x_671); +x_679 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_679, 0, x_678); +lean_ctor_set(x_679, 1, x_666); +lean_ctor_set(x_679, 2, x_676); +lean_ctor_set(x_679, 3, x_677); +lean_inc(x_1); +x_680 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_679, x_675); +if (lean_obj_tag(x_680) == 0) +{ +lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; uint8_t x_686; +x_681 = lean_ctor_get(x_680, 0); +lean_inc(x_681); +x_682 = lean_ctor_get(x_680, 1); +lean_inc(x_682); +lean_dec(x_680); +x_683 = lean_st_ref_take(x_4, x_674); +x_684 = lean_ctor_get(x_683, 0); +lean_inc(x_684); +x_685 = lean_ctor_get(x_683, 1); +lean_inc(x_685); +lean_dec(x_683); +x_686 = !lean_is_exclusive(x_684); +if (x_686 == 0) +{ +lean_object* x_687; lean_object* x_688; lean_object* x_689; +x_687 = lean_ctor_get(x_684, 3); +lean_dec(x_687); +lean_ctor_set(x_684, 3, x_682); +x_688 = lean_st_ref_set(x_4, x_684, x_685); +x_689 = lean_ctor_get(x_688, 1); +lean_inc(x_689); +lean_dec(x_688); +x_10 = x_681; +x_11 = x_689; goto block_36; } else { -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_631 = lean_ctor_get(x_625, 0); -x_632 = lean_ctor_get(x_625, 1); -x_633 = lean_ctor_get(x_625, 2); -x_634 = lean_ctor_get(x_625, 3); -x_635 = lean_ctor_get(x_625, 4); -x_636 = lean_ctor_get(x_625, 6); -lean_inc(x_636); -lean_inc(x_635); -lean_inc(x_634); -lean_inc(x_633); -lean_inc(x_632); -lean_inc(x_631); -lean_dec(x_625); -x_637 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_637, 0, x_631); -lean_ctor_set(x_637, 1, x_632); -lean_ctor_set(x_637, 2, x_633); -lean_ctor_set(x_637, 3, x_634); -lean_ctor_set(x_637, 4, x_635); -lean_ctor_set(x_637, 5, x_623); -lean_ctor_set(x_637, 6, x_636); -x_638 = lean_st_ref_set(x_4, x_637, x_626); -x_639 = lean_ctor_get(x_638, 1); -lean_inc(x_639); -lean_dec(x_638); -x_10 = x_622; -x_11 = x_639; +lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; +x_690 = lean_ctor_get(x_684, 0); +x_691 = lean_ctor_get(x_684, 1); +x_692 = lean_ctor_get(x_684, 2); +x_693 = lean_ctor_get(x_684, 4); +lean_inc(x_693); +lean_inc(x_692); +lean_inc(x_691); +lean_inc(x_690); +lean_dec(x_684); +x_694 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_694, 0, x_690); +lean_ctor_set(x_694, 1, x_691); +lean_ctor_set(x_694, 2, x_692); +lean_ctor_set(x_694, 3, x_682); +lean_ctor_set(x_694, 4, x_693); +x_695 = lean_st_ref_set(x_4, x_694, x_685); +x_696 = lean_ctor_get(x_695, 1); +lean_inc(x_696); +lean_dec(x_695); +x_10 = x_681; +x_11 = x_696; goto block_36; } } else { -lean_object* x_640; +lean_object* x_697; lean_dec(x_2); lean_dec(x_1); -x_640 = lean_ctor_get(x_621, 0); -lean_inc(x_640); -lean_dec(x_621); -if (lean_obj_tag(x_640) == 0) -{ -lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; uint8_t x_646; -x_641 = lean_ctor_get(x_640, 0); -lean_inc(x_641); -x_642 = lean_ctor_get(x_640, 1); -lean_inc(x_642); -lean_dec(x_640); -x_643 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_643, 0, x_642); -x_644 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_644, 0, x_643); -x_645 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_641, x_644, x_3, x_4, x_5, x_6, x_7, x_8, x_615); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_641); -x_646 = !lean_is_exclusive(x_645); -if (x_646 == 0) -{ -return x_645; -} -else -{ -lean_object* x_647; lean_object* x_648; lean_object* x_649; -x_647 = lean_ctor_get(x_645, 0); -x_648 = lean_ctor_get(x_645, 1); -lean_inc(x_648); -lean_inc(x_647); -lean_dec(x_645); -x_649 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_649, 0, x_647); -lean_ctor_set(x_649, 1, x_648); -return x_649; -} -} -else -{ -lean_object* x_650; uint8_t x_651; -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_650 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_615); -x_651 = !lean_is_exclusive(x_650); -if (x_651 == 0) -{ -return x_650; -} -else -{ -lean_object* x_652; lean_object* x_653; lean_object* x_654; -x_652 = lean_ctor_get(x_650, 0); -x_653 = lean_ctor_get(x_650, 1); -lean_inc(x_653); -lean_inc(x_652); -lean_dec(x_650); -x_654 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_654, 0, x_652); -lean_ctor_set(x_654, 1, x_653); -return x_654; -} -} -} -} -else -{ -lean_object* x_655; lean_object* x_656; -x_655 = l_Lean_Syntax_getArg(x_501, x_243); -lean_dec(x_501); -x_656 = l___private_Lean_Elab_Match_2__expandSimpleMatchWithType(x_1, x_242, x_603, x_346, x_655, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_656; -} -} -} -} -} -} -} -} -} -block_914: -{ -if (x_682 == 0) -{ -if (x_681 == 0) -{ -uint8_t x_683; -lean_dec(x_399); -x_683 = 0; -x_400 = x_683; -goto block_679; -} -else -{ -lean_object* x_684; lean_object* x_685; uint8_t x_686; -x_684 = l_Lean_Syntax_getArgs(x_399); -lean_dec(x_399); -x_685 = lean_array_get_size(x_684); -lean_dec(x_684); -x_686 = lean_nat_dec_eq(x_685, x_87); -lean_dec(x_685); -x_400 = x_686; -goto block_679; -} -} -else -{ -lean_object* x_687; uint8_t x_688; uint8_t x_909; -lean_dec(x_399); -x_687 = l_Lean_Syntax_getArg(x_348, x_87); -lean_dec(x_348); -lean_inc(x_687); -x_909 = l_Lean_Syntax_isOfKind(x_687, x_680); -if (x_909 == 0) -{ -uint8_t x_910; -x_910 = 0; -x_688 = x_910; -goto block_908; -} -else -{ -lean_object* x_911; lean_object* x_912; uint8_t x_913; -x_911 = l_Lean_Syntax_getArgs(x_687); -x_912 = lean_array_get_size(x_911); -lean_dec(x_911); -x_913 = lean_nat_dec_eq(x_912, x_87); -lean_dec(x_912); -x_688 = x_913; -goto block_908; -} -block_908: -{ -if (x_688 == 0) -{ -lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; -lean_dec(x_687); -lean_dec(x_346); -lean_dec(x_242); -x_689 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_690 = lean_ctor_get(x_689, 0); -lean_inc(x_690); -x_691 = lean_ctor_get(x_689, 1); -lean_inc(x_691); -lean_dec(x_689); -x_692 = lean_st_ref_get(x_8, x_691); -x_693 = lean_ctor_get(x_692, 0); -lean_inc(x_693); -x_694 = lean_ctor_get(x_692, 1); -lean_inc(x_694); -lean_dec(x_692); -x_695 = lean_ctor_get(x_693, 0); -lean_inc(x_695); -lean_dec(x_693); -x_696 = lean_st_ref_get(x_4, x_694); -x_697 = lean_ctor_get(x_696, 0); +x_697 = lean_ctor_get(x_680, 0); lean_inc(x_697); -x_698 = lean_ctor_get(x_696, 1); +lean_dec(x_680); +if (lean_obj_tag(x_697) == 0) +{ +lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; uint8_t x_703; +x_698 = lean_ctor_get(x_697, 0); lean_inc(x_698); -lean_dec(x_696); -x_699 = lean_ctor_get(x_697, 5); +x_699 = lean_ctor_get(x_697, 1); lean_inc(x_699); lean_dec(x_697); -x_700 = lean_ctor_get(x_7, 1); -lean_inc(x_700); -x_701 = lean_ctor_get(x_7, 2); -lean_inc(x_701); -x_702 = lean_environment_main_module(x_695); -x_703 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_703, 0, x_702); -lean_ctor_set(x_703, 1, x_690); -lean_ctor_set(x_703, 2, x_700); -lean_ctor_set(x_703, 3, x_701); -lean_inc(x_1); -x_704 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_703, x_699); -if (lean_obj_tag(x_704) == 0) +x_700 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_700, 0, x_699); +x_701 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_701, 0, x_700); +x_702 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_698, x_701, x_3, x_4, x_5, x_6, x_7, x_8, x_674); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_698); +x_703 = !lean_is_exclusive(x_702); +if (x_703 == 0) { -lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; uint8_t x_710; -x_705 = lean_ctor_get(x_704, 0); +return x_702; +} +else +{ +lean_object* x_704; lean_object* x_705; lean_object* x_706; +x_704 = lean_ctor_get(x_702, 0); +x_705 = lean_ctor_get(x_702, 1); lean_inc(x_705); -x_706 = lean_ctor_get(x_704, 1); -lean_inc(x_706); -lean_dec(x_704); -x_707 = lean_st_ref_take(x_4, x_698); -x_708 = lean_ctor_get(x_707, 0); -lean_inc(x_708); -x_709 = lean_ctor_get(x_707, 1); +lean_inc(x_704); +lean_dec(x_702); +x_706 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_706, 0, x_704); +lean_ctor_set(x_706, 1, x_705); +return x_706; +} +} +else +{ +lean_object* x_707; uint8_t x_708; +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_707 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_674); +x_708 = !lean_is_exclusive(x_707); +if (x_708 == 0) +{ +return x_707; +} +else +{ +lean_object* x_709; lean_object* x_710; lean_object* x_711; +x_709 = lean_ctor_get(x_707, 0); +x_710 = lean_ctor_get(x_707, 1); +lean_inc(x_710); lean_inc(x_709); lean_dec(x_707); -x_710 = !lean_is_exclusive(x_708); -if (x_710 == 0) +x_711 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_711, 0, x_709); +lean_ctor_set(x_711, 1, x_710); +return x_711; +} +} +} +} +else { -lean_object* x_711; lean_object* x_712; lean_object* x_713; -x_711 = lean_ctor_get(x_708, 5); -lean_dec(x_711); -lean_ctor_set(x_708, 5, x_706); -x_712 = lean_st_ref_set(x_4, x_708, x_709); -x_713 = lean_ctor_get(x_712, 1); -lean_inc(x_713); +lean_object* x_712; uint8_t x_713; lean_object* x_869; uint8_t x_870; +x_712 = l_Lean_Syntax_getArg(x_663, x_135); +lean_dec(x_663); +x_869 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +lean_inc(x_712); +x_870 = l_Lean_Syntax_isOfKind(x_712, x_869); +if (x_870 == 0) +{ +uint8_t x_871; +x_871 = 0; +x_713 = x_871; +goto block_868; +} +else +{ +lean_object* x_872; lean_object* x_873; lean_object* x_874; uint8_t x_875; +x_872 = l_Lean_Syntax_getArgs(x_712); +x_873 = lean_array_get_size(x_872); +lean_dec(x_872); +x_874 = lean_unsigned_to_nat(3u); +x_875 = lean_nat_dec_eq(x_873, x_874); +lean_dec(x_873); +x_713 = x_875; +goto block_868; +} +block_868: +{ +if (x_713 == 0) +{ +lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_dec(x_712); -x_10 = x_705; -x_11 = x_713; -goto block_36; -} -else -{ -lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; -x_714 = lean_ctor_get(x_708, 0); -x_715 = lean_ctor_get(x_708, 1); -x_716 = lean_ctor_get(x_708, 2); -x_717 = lean_ctor_get(x_708, 3); -x_718 = lean_ctor_get(x_708, 4); -x_719 = lean_ctor_get(x_708, 6); -lean_inc(x_719); -lean_inc(x_718); -lean_inc(x_717); -lean_inc(x_716); +lean_dec(x_334); +lean_dec(x_234); +x_714 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_715 = lean_ctor_get(x_714, 0); lean_inc(x_715); -lean_inc(x_714); -lean_dec(x_708); -x_720 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_720, 0, x_714); -lean_ctor_set(x_720, 1, x_715); -lean_ctor_set(x_720, 2, x_716); -lean_ctor_set(x_720, 3, x_717); -lean_ctor_set(x_720, 4, x_718); -lean_ctor_set(x_720, 5, x_706); -lean_ctor_set(x_720, 6, x_719); -x_721 = lean_st_ref_set(x_4, x_720, x_709); -x_722 = lean_ctor_get(x_721, 1); +x_716 = lean_ctor_get(x_714, 1); +lean_inc(x_716); +lean_dec(x_714); +x_717 = lean_st_ref_get(x_8, x_716); +x_718 = lean_ctor_get(x_717, 0); +lean_inc(x_718); +x_719 = lean_ctor_get(x_717, 1); +lean_inc(x_719); +lean_dec(x_717); +x_720 = lean_ctor_get(x_718, 0); +lean_inc(x_720); +lean_dec(x_718); +x_721 = lean_st_ref_get(x_4, x_719); +x_722 = lean_ctor_get(x_721, 0); lean_inc(x_722); -lean_dec(x_721); -x_10 = x_705; -x_11 = x_722; -goto block_36; -} -} -else -{ -lean_object* x_723; -lean_dec(x_2); -lean_dec(x_1); -x_723 = lean_ctor_get(x_704, 0); +x_723 = lean_ctor_get(x_721, 1); lean_inc(x_723); -lean_dec(x_704); -if (lean_obj_tag(x_723) == 0) -{ -lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; uint8_t x_729; -x_724 = lean_ctor_get(x_723, 0); +lean_dec(x_721); +x_724 = lean_ctor_get(x_722, 3); lean_inc(x_724); -x_725 = lean_ctor_get(x_723, 1); +lean_dec(x_722); +x_725 = lean_ctor_get(x_7, 1); lean_inc(x_725); -lean_dec(x_723); -x_726 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_726, 0, x_725); -x_727 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_727, 0, x_726); -x_728 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_724, x_727, x_3, x_4, x_5, x_6, x_7, x_8, x_698); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_724); -x_729 = !lean_is_exclusive(x_728); -if (x_729 == 0) -{ -return x_728; -} -else -{ -lean_object* x_730; lean_object* x_731; lean_object* x_732; -x_730 = lean_ctor_get(x_728, 0); -x_731 = lean_ctor_get(x_728, 1); -lean_inc(x_731); -lean_inc(x_730); -lean_dec(x_728); -x_732 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_732, 0, x_730); -lean_ctor_set(x_732, 1, x_731); -return x_732; -} -} -else -{ -lean_object* x_733; uint8_t x_734; -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_733 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_698); -x_734 = !lean_is_exclusive(x_733); -if (x_734 == 0) -{ -return x_733; -} -else -{ -lean_object* x_735; lean_object* x_736; lean_object* x_737; -x_735 = lean_ctor_get(x_733, 0); -x_736 = lean_ctor_get(x_733, 1); -lean_inc(x_736); -lean_inc(x_735); -lean_dec(x_733); -x_737 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_737, 0, x_735); -lean_ctor_set(x_737, 1, x_736); -return x_737; -} -} -} -} -else -{ -lean_object* x_738; uint8_t x_739; lean_object* x_901; uint8_t x_902; -x_738 = l_Lean_Syntax_getArg(x_687, x_139); -lean_dec(x_687); -x_901 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -lean_inc(x_738); -x_902 = l_Lean_Syntax_isOfKind(x_738, x_901); -if (x_902 == 0) -{ -uint8_t x_903; -x_903 = 0; -x_739 = x_903; -goto block_900; -} -else -{ -lean_object* x_904; lean_object* x_905; lean_object* x_906; uint8_t x_907; -x_904 = l_Lean_Syntax_getArgs(x_738); -x_905 = lean_array_get_size(x_904); -lean_dec(x_904); -x_906 = lean_unsigned_to_nat(3u); -x_907 = lean_nat_dec_eq(x_905, x_906); -lean_dec(x_905); -x_739 = x_907; -goto block_900; -} -block_900: -{ -if (x_739 == 0) -{ -lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; -lean_dec(x_738); -lean_dec(x_346); -lean_dec(x_242); -x_740 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_741 = lean_ctor_get(x_740, 0); -lean_inc(x_741); -x_742 = lean_ctor_get(x_740, 1); -lean_inc(x_742); -lean_dec(x_740); -x_743 = lean_st_ref_get(x_8, x_742); -x_744 = lean_ctor_get(x_743, 0); -lean_inc(x_744); -x_745 = lean_ctor_get(x_743, 1); -lean_inc(x_745); -lean_dec(x_743); -x_746 = lean_ctor_get(x_744, 0); -lean_inc(x_746); -lean_dec(x_744); -x_747 = lean_st_ref_get(x_4, x_745); -x_748 = lean_ctor_get(x_747, 0); -lean_inc(x_748); -x_749 = lean_ctor_get(x_747, 1); -lean_inc(x_749); -lean_dec(x_747); -x_750 = lean_ctor_get(x_748, 5); -lean_inc(x_750); -lean_dec(x_748); -x_751 = lean_ctor_get(x_7, 1); -lean_inc(x_751); -x_752 = lean_ctor_get(x_7, 2); -lean_inc(x_752); -x_753 = lean_environment_main_module(x_746); -x_754 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_754, 0, x_753); -lean_ctor_set(x_754, 1, x_741); -lean_ctor_set(x_754, 2, x_751); -lean_ctor_set(x_754, 3, x_752); +x_726 = lean_ctor_get(x_7, 2); +lean_inc(x_726); +x_727 = lean_environment_main_module(x_720); +x_728 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_728, 0, x_727); +lean_ctor_set(x_728, 1, x_715); +lean_ctor_set(x_728, 2, x_725); +lean_ctor_set(x_728, 3, x_726); lean_inc(x_1); -x_755 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_754, x_750); -if (lean_obj_tag(x_755) == 0) +x_729 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_728, x_724); +if (lean_obj_tag(x_729) == 0) { -lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; uint8_t x_761; -x_756 = lean_ctor_get(x_755, 0); -lean_inc(x_756); -x_757 = lean_ctor_get(x_755, 1); -lean_inc(x_757); -lean_dec(x_755); -x_758 = lean_st_ref_take(x_4, x_749); -x_759 = lean_ctor_get(x_758, 0); -lean_inc(x_759); -x_760 = lean_ctor_get(x_758, 1); -lean_inc(x_760); -lean_dec(x_758); -x_761 = !lean_is_exclusive(x_759); -if (x_761 == 0) +lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; uint8_t x_735; +x_730 = lean_ctor_get(x_729, 0); +lean_inc(x_730); +x_731 = lean_ctor_get(x_729, 1); +lean_inc(x_731); +lean_dec(x_729); +x_732 = lean_st_ref_take(x_4, x_723); +x_733 = lean_ctor_get(x_732, 0); +lean_inc(x_733); +x_734 = lean_ctor_get(x_732, 1); +lean_inc(x_734); +lean_dec(x_732); +x_735 = !lean_is_exclusive(x_733); +if (x_735 == 0) { -lean_object* x_762; lean_object* x_763; lean_object* x_764; -x_762 = lean_ctor_get(x_759, 5); -lean_dec(x_762); -lean_ctor_set(x_759, 5, x_757); -x_763 = lean_st_ref_set(x_4, x_759, x_760); -x_764 = lean_ctor_get(x_763, 1); -lean_inc(x_764); -lean_dec(x_763); -x_10 = x_756; -x_11 = x_764; +lean_object* x_736; lean_object* x_737; lean_object* x_738; +x_736 = lean_ctor_get(x_733, 3); +lean_dec(x_736); +lean_ctor_set(x_733, 3, x_731); +x_737 = lean_st_ref_set(x_4, x_733, x_734); +x_738 = lean_ctor_get(x_737, 1); +lean_inc(x_738); +lean_dec(x_737); +x_10 = x_730; +x_11 = x_738; goto block_36; } else { -lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; -x_765 = lean_ctor_get(x_759, 0); -x_766 = lean_ctor_get(x_759, 1); -x_767 = lean_ctor_get(x_759, 2); -x_768 = lean_ctor_get(x_759, 3); -x_769 = lean_ctor_get(x_759, 4); -x_770 = lean_ctor_get(x_759, 6); -lean_inc(x_770); -lean_inc(x_769); -lean_inc(x_768); -lean_inc(x_767); -lean_inc(x_766); -lean_inc(x_765); -lean_dec(x_759); -x_771 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_771, 0, x_765); -lean_ctor_set(x_771, 1, x_766); -lean_ctor_set(x_771, 2, x_767); -lean_ctor_set(x_771, 3, x_768); -lean_ctor_set(x_771, 4, x_769); -lean_ctor_set(x_771, 5, x_757); -lean_ctor_set(x_771, 6, x_770); -x_772 = lean_st_ref_set(x_4, x_771, x_760); -x_773 = lean_ctor_get(x_772, 1); -lean_inc(x_773); -lean_dec(x_772); -x_10 = x_756; -x_11 = x_773; +lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; +x_739 = lean_ctor_get(x_733, 0); +x_740 = lean_ctor_get(x_733, 1); +x_741 = lean_ctor_get(x_733, 2); +x_742 = lean_ctor_get(x_733, 4); +lean_inc(x_742); +lean_inc(x_741); +lean_inc(x_740); +lean_inc(x_739); +lean_dec(x_733); +x_743 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_743, 0, x_739); +lean_ctor_set(x_743, 1, x_740); +lean_ctor_set(x_743, 2, x_741); +lean_ctor_set(x_743, 3, x_731); +lean_ctor_set(x_743, 4, x_742); +x_744 = lean_st_ref_set(x_4, x_743, x_734); +x_745 = lean_ctor_get(x_744, 1); +lean_inc(x_745); +lean_dec(x_744); +x_10 = x_730; +x_11 = x_745; goto block_36; } } else { -lean_object* x_774; +lean_object* x_746; lean_dec(x_2); lean_dec(x_1); -x_774 = lean_ctor_get(x_755, 0); -lean_inc(x_774); -lean_dec(x_755); -if (lean_obj_tag(x_774) == 0) +x_746 = lean_ctor_get(x_729, 0); +lean_inc(x_746); +lean_dec(x_729); +if (lean_obj_tag(x_746) == 0) { -lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; uint8_t x_780; -x_775 = lean_ctor_get(x_774, 0); -lean_inc(x_775); -x_776 = lean_ctor_get(x_774, 1); -lean_inc(x_776); -lean_dec(x_774); -x_777 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_777, 0, x_776); -x_778 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_778, 0, x_777); -x_779 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_775, x_778, x_3, x_4, x_5, x_6, x_7, x_8, x_749); +lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; uint8_t x_752; +x_747 = lean_ctor_get(x_746, 0); +lean_inc(x_747); +x_748 = lean_ctor_get(x_746, 1); +lean_inc(x_748); +lean_dec(x_746); +x_749 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_749, 0, x_748); +x_750 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_750, 0, x_749); +x_751 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_747, x_750, x_3, x_4, x_5, x_6, x_7, x_8, x_723); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_775); -x_780 = !lean_is_exclusive(x_779); -if (x_780 == 0) +lean_dec(x_747); +x_752 = !lean_is_exclusive(x_751); +if (x_752 == 0) { -return x_779; +return x_751; } else { -lean_object* x_781; lean_object* x_782; lean_object* x_783; -x_781 = lean_ctor_get(x_779, 0); -x_782 = lean_ctor_get(x_779, 1); -lean_inc(x_782); -lean_inc(x_781); -lean_dec(x_779); -x_783 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_783, 0, x_781); -lean_ctor_set(x_783, 1, x_782); -return x_783; +lean_object* x_753; lean_object* x_754; lean_object* x_755; +x_753 = lean_ctor_get(x_751, 0); +x_754 = lean_ctor_get(x_751, 1); +lean_inc(x_754); +lean_inc(x_753); +lean_dec(x_751); +x_755 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_755, 0, x_753); +lean_ctor_set(x_755, 1, x_754); +return x_755; } } else { -lean_object* x_784; uint8_t x_785; +lean_object* x_756; uint8_t x_757; 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_784 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_749); -x_785 = !lean_is_exclusive(x_784); -if (x_785 == 0) +x_756 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_723); +x_757 = !lean_is_exclusive(x_756); +if (x_757 == 0) { -return x_784; +return x_756; } else { -lean_object* x_786; lean_object* x_787; lean_object* x_788; -x_786 = lean_ctor_get(x_784, 0); -x_787 = lean_ctor_get(x_784, 1); +lean_object* x_758; lean_object* x_759; lean_object* x_760; +x_758 = lean_ctor_get(x_756, 0); +x_759 = lean_ctor_get(x_756, 1); +lean_inc(x_759); +lean_inc(x_758); +lean_dec(x_756); +x_760 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_760, 0, x_758); +lean_ctor_set(x_760, 1, x_759); +return x_760; +} +} +} +} +else +{ +lean_object* x_761; uint8_t x_762; uint8_t x_863; +x_761 = l_Lean_Syntax_getArg(x_712, x_135); +lean_inc(x_761); +x_863 = l_Lean_Syntax_isOfKind(x_761, x_656); +if (x_863 == 0) +{ +uint8_t x_864; +x_864 = 0; +x_762 = x_864; +goto block_862; +} +else +{ +lean_object* x_865; lean_object* x_866; uint8_t x_867; +x_865 = l_Lean_Syntax_getArgs(x_761); +x_866 = lean_array_get_size(x_865); +lean_dec(x_865); +x_867 = lean_nat_dec_eq(x_866, x_85); +lean_dec(x_866); +x_762 = x_867; +goto block_862; +} +block_862: +{ +if (x_762 == 0) +{ +lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; +lean_dec(x_761); +lean_dec(x_712); +lean_dec(x_334); +lean_dec(x_234); +x_763 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_764 = lean_ctor_get(x_763, 0); +lean_inc(x_764); +x_765 = lean_ctor_get(x_763, 1); +lean_inc(x_765); +lean_dec(x_763); +x_766 = lean_st_ref_get(x_8, x_765); +x_767 = lean_ctor_get(x_766, 0); +lean_inc(x_767); +x_768 = lean_ctor_get(x_766, 1); +lean_inc(x_768); +lean_dec(x_766); +x_769 = lean_ctor_get(x_767, 0); +lean_inc(x_769); +lean_dec(x_767); +x_770 = lean_st_ref_get(x_4, x_768); +x_771 = lean_ctor_get(x_770, 0); +lean_inc(x_771); +x_772 = lean_ctor_get(x_770, 1); +lean_inc(x_772); +lean_dec(x_770); +x_773 = lean_ctor_get(x_771, 3); +lean_inc(x_773); +lean_dec(x_771); +x_774 = lean_ctor_get(x_7, 1); +lean_inc(x_774); +x_775 = lean_ctor_get(x_7, 2); +lean_inc(x_775); +x_776 = lean_environment_main_module(x_769); +x_777 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_777, 0, x_776); +lean_ctor_set(x_777, 1, x_764); +lean_ctor_set(x_777, 2, x_774); +lean_ctor_set(x_777, 3, x_775); +lean_inc(x_1); +x_778 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_777, x_773); +if (lean_obj_tag(x_778) == 0) +{ +lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; uint8_t x_784; +x_779 = lean_ctor_get(x_778, 0); +lean_inc(x_779); +x_780 = lean_ctor_get(x_778, 1); +lean_inc(x_780); +lean_dec(x_778); +x_781 = lean_st_ref_take(x_4, x_772); +x_782 = lean_ctor_get(x_781, 0); +lean_inc(x_782); +x_783 = lean_ctor_get(x_781, 1); +lean_inc(x_783); +lean_dec(x_781); +x_784 = !lean_is_exclusive(x_782); +if (x_784 == 0) +{ +lean_object* x_785; lean_object* x_786; lean_object* x_787; +x_785 = lean_ctor_get(x_782, 3); +lean_dec(x_785); +lean_ctor_set(x_782, 3, x_780); +x_786 = lean_st_ref_set(x_4, x_782, x_783); +x_787 = lean_ctor_get(x_786, 1); lean_inc(x_787); -lean_inc(x_786); -lean_dec(x_784); -x_788 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_788, 0, x_786); -lean_ctor_set(x_788, 1, x_787); -return x_788; -} -} -} +lean_dec(x_786); +x_10 = x_779; +x_11 = x_787; +goto block_36; } else { -lean_object* x_789; uint8_t x_790; uint8_t x_895; -x_789 = l_Lean_Syntax_getArg(x_738, x_139); +lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; +x_788 = lean_ctor_get(x_782, 0); +x_789 = lean_ctor_get(x_782, 1); +x_790 = lean_ctor_get(x_782, 2); +x_791 = lean_ctor_get(x_782, 4); +lean_inc(x_791); +lean_inc(x_790); lean_inc(x_789); -x_895 = l_Lean_Syntax_isOfKind(x_789, x_680); -if (x_895 == 0) -{ -uint8_t x_896; -x_896 = 0; -x_790 = x_896; -goto block_894; +lean_inc(x_788); +lean_dec(x_782); +x_792 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_792, 0, x_788); +lean_ctor_set(x_792, 1, x_789); +lean_ctor_set(x_792, 2, x_790); +lean_ctor_set(x_792, 3, x_780); +lean_ctor_set(x_792, 4, x_791); +x_793 = lean_st_ref_set(x_4, x_792, x_783); +x_794 = lean_ctor_get(x_793, 1); +lean_inc(x_794); +lean_dec(x_793); +x_10 = x_779; +x_11 = x_794; +goto block_36; +} } else { -lean_object* x_897; lean_object* x_898; uint8_t x_899; -x_897 = l_Lean_Syntax_getArgs(x_789); -x_898 = lean_array_get_size(x_897); -lean_dec(x_897); -x_899 = lean_nat_dec_eq(x_898, x_87); -lean_dec(x_898); -x_790 = x_899; -goto block_894; -} -block_894: -{ -if (x_790 == 0) -{ -lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; -lean_dec(x_789); -lean_dec(x_738); -lean_dec(x_346); -lean_dec(x_242); -x_791 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_792 = lean_ctor_get(x_791, 0); -lean_inc(x_792); -x_793 = lean_ctor_get(x_791, 1); -lean_inc(x_793); -lean_dec(x_791); -x_794 = lean_st_ref_get(x_8, x_793); -x_795 = lean_ctor_get(x_794, 0); +lean_object* x_795; +lean_dec(x_2); +lean_dec(x_1); +x_795 = lean_ctor_get(x_778, 0); lean_inc(x_795); -x_796 = lean_ctor_get(x_794, 1); +lean_dec(x_778); +if (lean_obj_tag(x_795) == 0) +{ +lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; uint8_t x_801; +x_796 = lean_ctor_get(x_795, 0); lean_inc(x_796); -lean_dec(x_794); -x_797 = lean_ctor_get(x_795, 0); +x_797 = lean_ctor_get(x_795, 1); lean_inc(x_797); lean_dec(x_795); -x_798 = lean_st_ref_get(x_4, x_796); -x_799 = lean_ctor_get(x_798, 0); -lean_inc(x_799); -x_800 = lean_ctor_get(x_798, 1); -lean_inc(x_800); -lean_dec(x_798); -x_801 = lean_ctor_get(x_799, 5); -lean_inc(x_801); -lean_dec(x_799); -x_802 = lean_ctor_get(x_7, 1); -lean_inc(x_802); -x_803 = lean_ctor_get(x_7, 2); -lean_inc(x_803); -x_804 = lean_environment_main_module(x_797); -x_805 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_805, 0, x_804); -lean_ctor_set(x_805, 1, x_792); -lean_ctor_set(x_805, 2, x_802); -lean_ctor_set(x_805, 3, x_803); -lean_inc(x_1); -x_806 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_805, x_801); -if (lean_obj_tag(x_806) == 0) +x_798 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_798, 0, x_797); +x_799 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_799, 0, x_798); +x_800 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_796, x_799, x_3, x_4, x_5, x_6, x_7, x_8, x_772); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_796); +x_801 = !lean_is_exclusive(x_800); +if (x_801 == 0) { -lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; uint8_t x_812; -x_807 = lean_ctor_get(x_806, 0); -lean_inc(x_807); -x_808 = lean_ctor_get(x_806, 1); +return x_800; +} +else +{ +lean_object* x_802; lean_object* x_803; lean_object* x_804; +x_802 = lean_ctor_get(x_800, 0); +x_803 = lean_ctor_get(x_800, 1); +lean_inc(x_803); +lean_inc(x_802); +lean_dec(x_800); +x_804 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_804, 0, x_802); +lean_ctor_set(x_804, 1, x_803); +return x_804; +} +} +else +{ +lean_object* x_805; uint8_t x_806; +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_805 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_772); +x_806 = !lean_is_exclusive(x_805); +if (x_806 == 0) +{ +return x_805; +} +else +{ +lean_object* x_807; lean_object* x_808; lean_object* x_809; +x_807 = lean_ctor_get(x_805, 0); +x_808 = lean_ctor_get(x_805, 1); lean_inc(x_808); -lean_dec(x_806); -x_809 = lean_st_ref_take(x_4, x_800); -x_810 = lean_ctor_get(x_809, 0); +lean_inc(x_807); +lean_dec(x_805); +x_809 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_809, 0, x_807); +lean_ctor_set(x_809, 1, x_808); +return x_809; +} +} +} +} +else +{ +lean_object* x_810; lean_object* x_811; uint8_t x_812; +x_810 = l_Lean_Syntax_getArg(x_761, x_135); +lean_dec(x_761); +x_811 = l_Lean_identKind___closed__2; lean_inc(x_810); -x_811 = lean_ctor_get(x_809, 1); -lean_inc(x_811); -lean_dec(x_809); -x_812 = !lean_is_exclusive(x_810); +x_812 = l_Lean_Syntax_isOfKind(x_810, x_811); if (x_812 == 0) { -lean_object* x_813; lean_object* x_814; lean_object* x_815; -x_813 = lean_ctor_get(x_810, 5); -lean_dec(x_813); -lean_ctor_set(x_810, 5, x_808); -x_814 = lean_st_ref_set(x_4, x_810, x_811); -x_815 = lean_ctor_get(x_814, 1); -lean_inc(x_815); -lean_dec(x_814); -x_10 = x_807; -x_11 = x_815; -goto block_36; -} -else -{ -lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; -x_816 = lean_ctor_get(x_810, 0); -x_817 = lean_ctor_get(x_810, 1); -x_818 = lean_ctor_get(x_810, 2); -x_819 = lean_ctor_get(x_810, 3); -x_820 = lean_ctor_get(x_810, 4); -x_821 = lean_ctor_get(x_810, 6); -lean_inc(x_821); -lean_inc(x_820); -lean_inc(x_819); -lean_inc(x_818); -lean_inc(x_817); -lean_inc(x_816); +lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_dec(x_810); -x_822 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_822, 0, x_816); -lean_ctor_set(x_822, 1, x_817); -lean_ctor_set(x_822, 2, x_818); -lean_ctor_set(x_822, 3, x_819); -lean_ctor_set(x_822, 4, x_820); -lean_ctor_set(x_822, 5, x_808); -lean_ctor_set(x_822, 6, x_821); -x_823 = lean_st_ref_set(x_4, x_822, x_811); -x_824 = lean_ctor_get(x_823, 1); +lean_dec(x_712); +lean_dec(x_334); +lean_dec(x_234); +x_813 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_814 = lean_ctor_get(x_813, 0); +lean_inc(x_814); +x_815 = lean_ctor_get(x_813, 1); +lean_inc(x_815); +lean_dec(x_813); +x_816 = lean_st_ref_get(x_8, x_815); +x_817 = lean_ctor_get(x_816, 0); +lean_inc(x_817); +x_818 = lean_ctor_get(x_816, 1); +lean_inc(x_818); +lean_dec(x_816); +x_819 = lean_ctor_get(x_817, 0); +lean_inc(x_819); +lean_dec(x_817); +x_820 = lean_st_ref_get(x_4, x_818); +x_821 = lean_ctor_get(x_820, 0); +lean_inc(x_821); +x_822 = lean_ctor_get(x_820, 1); +lean_inc(x_822); +lean_dec(x_820); +x_823 = lean_ctor_get(x_821, 3); +lean_inc(x_823); +lean_dec(x_821); +x_824 = lean_ctor_get(x_7, 1); lean_inc(x_824); -lean_dec(x_823); -x_10 = x_807; -x_11 = x_824; +x_825 = lean_ctor_get(x_7, 2); +lean_inc(x_825); +x_826 = lean_environment_main_module(x_819); +x_827 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_827, 0, x_826); +lean_ctor_set(x_827, 1, x_814); +lean_ctor_set(x_827, 2, x_824); +lean_ctor_set(x_827, 3, x_825); +lean_inc(x_1); +x_828 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_827, x_823); +if (lean_obj_tag(x_828) == 0) +{ +lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; uint8_t x_834; +x_829 = lean_ctor_get(x_828, 0); +lean_inc(x_829); +x_830 = lean_ctor_get(x_828, 1); +lean_inc(x_830); +lean_dec(x_828); +x_831 = lean_st_ref_take(x_4, x_822); +x_832 = lean_ctor_get(x_831, 0); +lean_inc(x_832); +x_833 = lean_ctor_get(x_831, 1); +lean_inc(x_833); +lean_dec(x_831); +x_834 = !lean_is_exclusive(x_832); +if (x_834 == 0) +{ +lean_object* x_835; lean_object* x_836; lean_object* x_837; +x_835 = lean_ctor_get(x_832, 3); +lean_dec(x_835); +lean_ctor_set(x_832, 3, x_830); +x_836 = lean_st_ref_set(x_4, x_832, x_833); +x_837 = lean_ctor_get(x_836, 1); +lean_inc(x_837); +lean_dec(x_836); +x_10 = x_829; +x_11 = x_837; +goto block_36; +} +else +{ +lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; +x_838 = lean_ctor_get(x_832, 0); +x_839 = lean_ctor_get(x_832, 1); +x_840 = lean_ctor_get(x_832, 2); +x_841 = lean_ctor_get(x_832, 4); +lean_inc(x_841); +lean_inc(x_840); +lean_inc(x_839); +lean_inc(x_838); +lean_dec(x_832); +x_842 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_842, 0, x_838); +lean_ctor_set(x_842, 1, x_839); +lean_ctor_set(x_842, 2, x_840); +lean_ctor_set(x_842, 3, x_830); +lean_ctor_set(x_842, 4, x_841); +x_843 = lean_st_ref_set(x_4, x_842, x_833); +x_844 = lean_ctor_get(x_843, 1); +lean_inc(x_844); +lean_dec(x_843); +x_10 = x_829; +x_11 = x_844; goto block_36; } } else { -lean_object* x_825; +lean_object* x_845; lean_dec(x_2); lean_dec(x_1); -x_825 = lean_ctor_get(x_806, 0); -lean_inc(x_825); -lean_dec(x_806); -if (lean_obj_tag(x_825) == 0) -{ -lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; uint8_t x_831; -x_826 = lean_ctor_get(x_825, 0); -lean_inc(x_826); -x_827 = lean_ctor_get(x_825, 1); -lean_inc(x_827); -lean_dec(x_825); -x_828 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_828, 0, x_827); -x_829 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_829, 0, x_828); -x_830 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_826, x_829, x_3, x_4, x_5, x_6, x_7, x_8, x_800); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_826); -x_831 = !lean_is_exclusive(x_830); -if (x_831 == 0) -{ -return x_830; -} -else -{ -lean_object* x_832; lean_object* x_833; lean_object* x_834; -x_832 = lean_ctor_get(x_830, 0); -x_833 = lean_ctor_get(x_830, 1); -lean_inc(x_833); -lean_inc(x_832); -lean_dec(x_830); -x_834 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_834, 0, x_832); -lean_ctor_set(x_834, 1, x_833); -return x_834; -} -} -else -{ -lean_object* x_835; uint8_t x_836; -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_835 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_800); -x_836 = !lean_is_exclusive(x_835); -if (x_836 == 0) -{ -return x_835; -} -else -{ -lean_object* x_837; lean_object* x_838; lean_object* x_839; -x_837 = lean_ctor_get(x_835, 0); -x_838 = lean_ctor_get(x_835, 1); -lean_inc(x_838); -lean_inc(x_837); -lean_dec(x_835); -x_839 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_839, 0, x_837); -lean_ctor_set(x_839, 1, x_838); -return x_839; -} -} -} -} -else -{ -lean_object* x_840; lean_object* x_841; uint8_t x_842; -x_840 = l_Lean_Syntax_getArg(x_789, x_139); -lean_dec(x_789); -x_841 = l_Lean_identKind___closed__2; -lean_inc(x_840); -x_842 = l_Lean_Syntax_isOfKind(x_840, x_841); -if (x_842 == 0) -{ -lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; -lean_dec(x_840); -lean_dec(x_738); -lean_dec(x_346); -lean_dec(x_242); -x_843 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_844 = lean_ctor_get(x_843, 0); -lean_inc(x_844); -x_845 = lean_ctor_get(x_843, 1); +x_845 = lean_ctor_get(x_828, 0); lean_inc(x_845); -lean_dec(x_843); -x_846 = lean_st_ref_get(x_8, x_845); -x_847 = lean_ctor_get(x_846, 0); +lean_dec(x_828); +if (lean_obj_tag(x_845) == 0) +{ +lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; uint8_t x_851; +x_846 = lean_ctor_get(x_845, 0); +lean_inc(x_846); +x_847 = lean_ctor_get(x_845, 1); lean_inc(x_847); -x_848 = lean_ctor_get(x_846, 1); -lean_inc(x_848); +lean_dec(x_845); +x_848 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_848, 0, x_847); +x_849 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_849, 0, x_848); +x_850 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_846, x_849, x_3, x_4, x_5, x_6, x_7, x_8, x_822); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_846); -x_849 = lean_ctor_get(x_847, 0); -lean_inc(x_849); -lean_dec(x_847); -x_850 = lean_st_ref_get(x_4, x_848); -x_851 = lean_ctor_get(x_850, 0); -lean_inc(x_851); -x_852 = lean_ctor_get(x_850, 1); +x_851 = !lean_is_exclusive(x_850); +if (x_851 == 0) +{ +return x_850; +} +else +{ +lean_object* x_852; lean_object* x_853; lean_object* x_854; +x_852 = lean_ctor_get(x_850, 0); +x_853 = lean_ctor_get(x_850, 1); +lean_inc(x_853); lean_inc(x_852); lean_dec(x_850); -x_853 = lean_ctor_get(x_851, 5); -lean_inc(x_853); -lean_dec(x_851); -x_854 = lean_ctor_get(x_7, 1); -lean_inc(x_854); -x_855 = lean_ctor_get(x_7, 2); -lean_inc(x_855); -x_856 = lean_environment_main_module(x_849); -x_857 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_857, 0, x_856); -lean_ctor_set(x_857, 1, x_844); -lean_ctor_set(x_857, 2, x_854); -lean_ctor_set(x_857, 3, x_855); -lean_inc(x_1); -x_858 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_857, x_853); -if (lean_obj_tag(x_858) == 0) -{ -lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; uint8_t x_864; -x_859 = lean_ctor_get(x_858, 0); -lean_inc(x_859); -x_860 = lean_ctor_get(x_858, 1); -lean_inc(x_860); -lean_dec(x_858); -x_861 = lean_st_ref_take(x_4, x_852); -x_862 = lean_ctor_get(x_861, 0); -lean_inc(x_862); -x_863 = lean_ctor_get(x_861, 1); -lean_inc(x_863); -lean_dec(x_861); -x_864 = !lean_is_exclusive(x_862); -if (x_864 == 0) -{ -lean_object* x_865; lean_object* x_866; lean_object* x_867; -x_865 = lean_ctor_get(x_862, 5); -lean_dec(x_865); -lean_ctor_set(x_862, 5, x_860); -x_866 = lean_st_ref_set(x_4, x_862, x_863); -x_867 = lean_ctor_get(x_866, 1); -lean_inc(x_867); -lean_dec(x_866); -x_10 = x_859; -x_11 = x_867; -goto block_36; -} -else -{ -lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; -x_868 = lean_ctor_get(x_862, 0); -x_869 = lean_ctor_get(x_862, 1); -x_870 = lean_ctor_get(x_862, 2); -x_871 = lean_ctor_get(x_862, 3); -x_872 = lean_ctor_get(x_862, 4); -x_873 = lean_ctor_get(x_862, 6); -lean_inc(x_873); -lean_inc(x_872); -lean_inc(x_871); -lean_inc(x_870); -lean_inc(x_869); -lean_inc(x_868); -lean_dec(x_862); -x_874 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_874, 0, x_868); -lean_ctor_set(x_874, 1, x_869); -lean_ctor_set(x_874, 2, x_870); -lean_ctor_set(x_874, 3, x_871); -lean_ctor_set(x_874, 4, x_872); -lean_ctor_set(x_874, 5, x_860); -lean_ctor_set(x_874, 6, x_873); -x_875 = lean_st_ref_set(x_4, x_874, x_863); -x_876 = lean_ctor_get(x_875, 1); -lean_inc(x_876); -lean_dec(x_875); -x_10 = x_859; -x_11 = x_876; -goto block_36; +x_854 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_854, 0, x_852); +lean_ctor_set(x_854, 1, x_853); +return x_854; } } else { -lean_object* x_877; -lean_dec(x_2); -lean_dec(x_1); -x_877 = lean_ctor_get(x_858, 0); -lean_inc(x_877); -lean_dec(x_858); -if (lean_obj_tag(x_877) == 0) -{ -lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; uint8_t x_883; -x_878 = lean_ctor_get(x_877, 0); -lean_inc(x_878); -x_879 = lean_ctor_get(x_877, 1); -lean_inc(x_879); -lean_dec(x_877); -x_880 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_880, 0, x_879); -x_881 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_881, 0, x_880); -x_882 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_878, x_881, x_3, x_4, x_5, x_6, x_7, x_8, x_852); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_878); -x_883 = !lean_is_exclusive(x_882); -if (x_883 == 0) -{ -return x_882; -} -else -{ -lean_object* x_884; lean_object* x_885; lean_object* x_886; -x_884 = lean_ctor_get(x_882, 0); -x_885 = lean_ctor_get(x_882, 1); -lean_inc(x_885); -lean_inc(x_884); -lean_dec(x_882); -x_886 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_886, 0, x_884); -lean_ctor_set(x_886, 1, x_885); -return x_886; -} -} -else -{ -lean_object* x_887; uint8_t x_888; +lean_object* x_855; uint8_t x_856; 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_887 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_852); -x_888 = !lean_is_exclusive(x_887); -if (x_888 == 0) +x_855 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_822); +x_856 = !lean_is_exclusive(x_855); +if (x_856 == 0) { -return x_887; +return x_855; } else { -lean_object* x_889; lean_object* x_890; lean_object* x_891; -x_889 = lean_ctor_get(x_887, 0); -x_890 = lean_ctor_get(x_887, 1); -lean_inc(x_890); -lean_inc(x_889); -lean_dec(x_887); -x_891 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_891, 0, x_889); -lean_ctor_set(x_891, 1, x_890); -return x_891; +lean_object* x_857; lean_object* x_858; lean_object* x_859; +x_857 = lean_ctor_get(x_855, 0); +x_858 = lean_ctor_get(x_855, 1); +lean_inc(x_858); +lean_inc(x_857); +lean_dec(x_855); +x_859 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_859, 0, x_857); +lean_ctor_set(x_859, 1, x_858); +return x_859; } } } } else { -lean_object* x_892; lean_object* x_893; -x_892 = l_Lean_Syntax_getArg(x_738, x_243); -lean_dec(x_738); -x_893 = l___private_Lean_Elab_Match_2__expandSimpleMatchWithType(x_1, x_242, x_840, x_346, x_892, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_893; +lean_object* x_860; lean_object* x_861; +x_860 = l_Lean_Syntax_getArg(x_712, x_235); +lean_dec(x_712); +x_861 = l___private_Lean_Elab_Match_2__expandSimpleMatchWithType(x_1, x_234, x_810, x_334, x_860, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_861; } } } @@ -27366,1840 +27719,1969 @@ return x_893; } } } -block_1517: +block_1465: { -if (x_936 == 0) +if (x_904 == 0) { -if (x_935 == 0) +if (x_903 == 0) { -uint8_t x_937; -x_937 = 0; -x_245 = x_937; -goto block_933; +uint8_t x_905; +x_905 = 0; +x_237 = x_905; +goto block_901; } else { -lean_object* x_938; lean_object* x_939; uint8_t x_940; -x_938 = l_Lean_Syntax_getArgs(x_244); -x_939 = lean_array_get_size(x_938); -lean_dec(x_938); -x_940 = lean_nat_dec_eq(x_939, x_87); -lean_dec(x_939); -x_245 = x_940; -goto block_933; +lean_object* x_906; lean_object* x_907; uint8_t x_908; +x_906 = l_Lean_Syntax_getArgs(x_236); +x_907 = lean_array_get_size(x_906); +lean_dec(x_906); +x_908 = lean_nat_dec_eq(x_907, x_85); +lean_dec(x_907); +x_237 = x_908; +goto block_901; } } else { -lean_object* x_941; lean_object* x_942; uint8_t x_943; lean_object* x_1511; uint8_t x_1512; -lean_dec(x_244); -x_941 = lean_unsigned_to_nat(4u); -x_942 = l_Lean_Syntax_getArg(x_1, x_941); -x_1511 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; -lean_inc(x_942); -x_1512 = l_Lean_Syntax_isOfKind(x_942, x_1511); -if (x_1512 == 0) +lean_object* x_909; lean_object* x_910; uint8_t x_911; lean_object* x_1459; uint8_t x_1460; +lean_dec(x_236); +x_909 = lean_unsigned_to_nat(4u); +x_910 = l_Lean_Syntax_getArg(x_1, x_909); +x_1459 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +lean_inc(x_910); +x_1460 = l_Lean_Syntax_isOfKind(x_910, x_1459); +if (x_1460 == 0) { -uint8_t x_1513; -x_1513 = 0; -x_943 = x_1513; -goto block_1510; +uint8_t x_1461; +x_1461 = 0; +x_911 = x_1461; +goto block_1458; } else { -lean_object* x_1514; lean_object* x_1515; uint8_t x_1516; -x_1514 = l_Lean_Syntax_getArgs(x_942); -x_1515 = lean_array_get_size(x_1514); -lean_dec(x_1514); -x_1516 = lean_nat_dec_eq(x_1515, x_243); -lean_dec(x_1515); -x_943 = x_1516; -goto block_1510; +lean_object* x_1462; lean_object* x_1463; uint8_t x_1464; +x_1462 = l_Lean_Syntax_getArgs(x_910); +x_1463 = lean_array_get_size(x_1462); +lean_dec(x_1462); +x_1464 = lean_nat_dec_eq(x_1463, x_235); +lean_dec(x_1463); +x_911 = x_1464; +goto block_1458; } -block_1510: +block_1458: { -if (x_943 == 0) +if (x_911 == 0) { -lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; +lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; +lean_dec(x_910); +lean_dec(x_234); +x_912 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_913 = lean_ctor_get(x_912, 0); +lean_inc(x_913); +x_914 = lean_ctor_get(x_912, 1); +lean_inc(x_914); +lean_dec(x_912); +x_915 = lean_st_ref_get(x_8, x_914); +x_916 = lean_ctor_get(x_915, 0); +lean_inc(x_916); +x_917 = lean_ctor_get(x_915, 1); +lean_inc(x_917); +lean_dec(x_915); +x_918 = lean_ctor_get(x_916, 0); +lean_inc(x_918); +lean_dec(x_916); +x_919 = lean_st_ref_get(x_4, x_917); +x_920 = lean_ctor_get(x_919, 0); +lean_inc(x_920); +x_921 = lean_ctor_get(x_919, 1); +lean_inc(x_921); +lean_dec(x_919); +x_922 = lean_ctor_get(x_920, 3); +lean_inc(x_922); +lean_dec(x_920); +x_923 = lean_ctor_get(x_7, 1); +lean_inc(x_923); +x_924 = lean_ctor_get(x_7, 2); +lean_inc(x_924); +x_925 = lean_environment_main_module(x_918); +x_926 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_926, 0, x_925); +lean_ctor_set(x_926, 1, x_913); +lean_ctor_set(x_926, 2, x_923); +lean_ctor_set(x_926, 3, x_924); +lean_inc(x_1); +x_927 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_926, x_922); +if (lean_obj_tag(x_927) == 0) +{ +lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; uint8_t x_933; +x_928 = lean_ctor_get(x_927, 0); +lean_inc(x_928); +x_929 = lean_ctor_get(x_927, 1); +lean_inc(x_929); +lean_dec(x_927); +x_930 = lean_st_ref_take(x_4, x_921); +x_931 = lean_ctor_get(x_930, 0); +lean_inc(x_931); +x_932 = lean_ctor_get(x_930, 1); +lean_inc(x_932); +lean_dec(x_930); +x_933 = !lean_is_exclusive(x_931); +if (x_933 == 0) +{ +lean_object* x_934; lean_object* x_935; lean_object* x_936; +x_934 = lean_ctor_get(x_931, 3); +lean_dec(x_934); +lean_ctor_set(x_931, 3, x_929); +x_935 = lean_st_ref_set(x_4, x_931, x_932); +x_936 = lean_ctor_get(x_935, 1); +lean_inc(x_936); +lean_dec(x_935); +x_10 = x_928; +x_11 = x_936; +goto block_36; +} +else +{ +lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; +x_937 = lean_ctor_get(x_931, 0); +x_938 = lean_ctor_get(x_931, 1); +x_939 = lean_ctor_get(x_931, 2); +x_940 = lean_ctor_get(x_931, 4); +lean_inc(x_940); +lean_inc(x_939); +lean_inc(x_938); +lean_inc(x_937); +lean_dec(x_931); +x_941 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_941, 0, x_937); +lean_ctor_set(x_941, 1, x_938); +lean_ctor_set(x_941, 2, x_939); +lean_ctor_set(x_941, 3, x_929); +lean_ctor_set(x_941, 4, x_940); +x_942 = lean_st_ref_set(x_4, x_941, x_932); +x_943 = lean_ctor_get(x_942, 1); +lean_inc(x_943); lean_dec(x_942); -lean_dec(x_242); -x_944 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = x_928; +x_11 = x_943; +goto block_36; +} +} +else +{ +lean_object* x_944; +lean_dec(x_2); +lean_dec(x_1); +x_944 = lean_ctor_get(x_927, 0); +lean_inc(x_944); +lean_dec(x_927); +if (lean_obj_tag(x_944) == 0) +{ +lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; uint8_t x_950; x_945 = lean_ctor_get(x_944, 0); lean_inc(x_945); x_946 = lean_ctor_get(x_944, 1); lean_inc(x_946); lean_dec(x_944); -x_947 = lean_st_ref_get(x_8, x_946); -x_948 = lean_ctor_get(x_947, 0); -lean_inc(x_948); -x_949 = lean_ctor_get(x_947, 1); -lean_inc(x_949); -lean_dec(x_947); -x_950 = lean_ctor_get(x_948, 0); -lean_inc(x_950); -lean_dec(x_948); -x_951 = lean_st_ref_get(x_4, x_949); -x_952 = lean_ctor_get(x_951, 0); -lean_inc(x_952); -x_953 = lean_ctor_get(x_951, 1); -lean_inc(x_953); -lean_dec(x_951); -x_954 = lean_ctor_get(x_952, 5); -lean_inc(x_954); -lean_dec(x_952); -x_955 = lean_ctor_get(x_7, 1); -lean_inc(x_955); -x_956 = lean_ctor_get(x_7, 2); -lean_inc(x_956); -x_957 = lean_environment_main_module(x_950); -x_958 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_958, 0, x_957); -lean_ctor_set(x_958, 1, x_945); -lean_ctor_set(x_958, 2, x_955); -lean_ctor_set(x_958, 3, x_956); -lean_inc(x_1); -x_959 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_958, x_954); -if (lean_obj_tag(x_959) == 0) -{ -lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; uint8_t x_965; -x_960 = lean_ctor_get(x_959, 0); -lean_inc(x_960); -x_961 = lean_ctor_get(x_959, 1); -lean_inc(x_961); -lean_dec(x_959); -x_962 = lean_st_ref_take(x_4, x_953); -x_963 = lean_ctor_get(x_962, 0); -lean_inc(x_963); -x_964 = lean_ctor_get(x_962, 1); -lean_inc(x_964); -lean_dec(x_962); -x_965 = !lean_is_exclusive(x_963); -if (x_965 == 0) -{ -lean_object* x_966; lean_object* x_967; lean_object* x_968; -x_966 = lean_ctor_get(x_963, 5); -lean_dec(x_966); -lean_ctor_set(x_963, 5, x_961); -x_967 = lean_st_ref_set(x_4, x_963, x_964); -x_968 = lean_ctor_get(x_967, 1); -lean_inc(x_968); -lean_dec(x_967); -x_10 = x_960; -x_11 = x_968; -goto block_36; -} -else -{ -lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; -x_969 = lean_ctor_get(x_963, 0); -x_970 = lean_ctor_get(x_963, 1); -x_971 = lean_ctor_get(x_963, 2); -x_972 = lean_ctor_get(x_963, 3); -x_973 = lean_ctor_get(x_963, 4); -x_974 = lean_ctor_get(x_963, 6); -lean_inc(x_974); -lean_inc(x_973); -lean_inc(x_972); -lean_inc(x_971); -lean_inc(x_970); -lean_inc(x_969); -lean_dec(x_963); -x_975 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_975, 0, x_969); -lean_ctor_set(x_975, 1, x_970); -lean_ctor_set(x_975, 2, x_971); -lean_ctor_set(x_975, 3, x_972); -lean_ctor_set(x_975, 4, x_973); -lean_ctor_set(x_975, 5, x_961); -lean_ctor_set(x_975, 6, x_974); -x_976 = lean_st_ref_set(x_4, x_975, x_964); -x_977 = lean_ctor_get(x_976, 1); -lean_inc(x_977); -lean_dec(x_976); -x_10 = x_960; -x_11 = x_977; -goto block_36; -} -} -else -{ -lean_object* x_978; -lean_dec(x_2); -lean_dec(x_1); -x_978 = lean_ctor_get(x_959, 0); -lean_inc(x_978); -lean_dec(x_959); -if (lean_obj_tag(x_978) == 0) -{ -lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; uint8_t x_984; -x_979 = lean_ctor_get(x_978, 0); -lean_inc(x_979); -x_980 = lean_ctor_get(x_978, 1); -lean_inc(x_980); -lean_dec(x_978); -x_981 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_981, 0, x_980); -x_982 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_982, 0, x_981); -x_983 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_979, x_982, x_3, x_4, x_5, x_6, x_7, x_8, x_953); +x_947 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_947, 0, x_946); +x_948 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_948, 0, x_947); +x_949 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_945, x_948, x_3, x_4, x_5, x_6, x_7, x_8, x_921); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_979); -x_984 = !lean_is_exclusive(x_983); -if (x_984 == 0) +lean_dec(x_945); +x_950 = !lean_is_exclusive(x_949); +if (x_950 == 0) { -return x_983; +return x_949; } else { -lean_object* x_985; lean_object* x_986; lean_object* x_987; -x_985 = lean_ctor_get(x_983, 0); -x_986 = lean_ctor_get(x_983, 1); -lean_inc(x_986); -lean_inc(x_985); -lean_dec(x_983); -x_987 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_987, 0, x_985); -lean_ctor_set(x_987, 1, x_986); -return x_987; +lean_object* x_951; lean_object* x_952; lean_object* x_953; +x_951 = lean_ctor_get(x_949, 0); +x_952 = lean_ctor_get(x_949, 1); +lean_inc(x_952); +lean_inc(x_951); +lean_dec(x_949); +x_953 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_953, 0, x_951); +lean_ctor_set(x_953, 1, x_952); +return x_953; } } else { -lean_object* x_988; uint8_t x_989; +lean_object* x_954; uint8_t x_955; 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_988 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_953); -x_989 = !lean_is_exclusive(x_988); -if (x_989 == 0) +x_954 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_921); +x_955 = !lean_is_exclusive(x_954); +if (x_955 == 0) { -return x_988; +return x_954; } else { -lean_object* x_990; lean_object* x_991; lean_object* x_992; -x_990 = lean_ctor_get(x_988, 0); -x_991 = lean_ctor_get(x_988, 1); -lean_inc(x_991); -lean_inc(x_990); -lean_dec(x_988); -x_992 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_992, 0, x_990); -lean_ctor_set(x_992, 1, x_991); -return x_992; +lean_object* x_956; lean_object* x_957; lean_object* x_958; +x_956 = lean_ctor_get(x_954, 0); +x_957 = lean_ctor_get(x_954, 1); +lean_inc(x_957); +lean_inc(x_956); +lean_dec(x_954); +x_958 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_958, 0, x_956); +lean_ctor_set(x_958, 1, x_957); +return x_958; } } } } else { -lean_object* x_993; uint8_t x_994; uint8_t x_1272; uint8_t x_1273; -x_993 = l_Lean_Syntax_getArg(x_942, x_139); +lean_object* x_959; uint8_t x_960; uint8_t x_1228; uint8_t x_1229; +x_959 = l_Lean_Syntax_getArg(x_910, x_135); +lean_inc(x_959); +x_1228 = l_Lean_Syntax_isOfKind(x_959, x_902); +if (x_1228 == 0) +{ +uint8_t x_1454; +x_1454 = 0; +x_1229 = x_1454; +goto block_1453; +} +else +{ +lean_object* x_1455; lean_object* x_1456; uint8_t x_1457; +x_1455 = l_Lean_Syntax_getArgs(x_959); +x_1456 = lean_array_get_size(x_1455); +lean_dec(x_1455); +x_1457 = lean_nat_dec_eq(x_1456, x_135); +lean_dec(x_1456); +x_1229 = x_1457; +goto block_1453; +} +block_1227: +{ +if (x_960 == 0) +{ +lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; +lean_dec(x_910); +lean_dec(x_234); +x_961 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_962 = lean_ctor_get(x_961, 0); +lean_inc(x_962); +x_963 = lean_ctor_get(x_961, 1); +lean_inc(x_963); +lean_dec(x_961); +x_964 = lean_st_ref_get(x_8, x_963); +x_965 = lean_ctor_get(x_964, 0); +lean_inc(x_965); +x_966 = lean_ctor_get(x_964, 1); +lean_inc(x_966); +lean_dec(x_964); +x_967 = lean_ctor_get(x_965, 0); +lean_inc(x_967); +lean_dec(x_965); +x_968 = lean_st_ref_get(x_4, x_966); +x_969 = lean_ctor_get(x_968, 0); +lean_inc(x_969); +x_970 = lean_ctor_get(x_968, 1); +lean_inc(x_970); +lean_dec(x_968); +x_971 = lean_ctor_get(x_969, 3); +lean_inc(x_971); +lean_dec(x_969); +x_972 = lean_ctor_get(x_7, 1); +lean_inc(x_972); +x_973 = lean_ctor_get(x_7, 2); +lean_inc(x_973); +x_974 = lean_environment_main_module(x_967); +x_975 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_975, 0, x_974); +lean_ctor_set(x_975, 1, x_962); +lean_ctor_set(x_975, 2, x_972); +lean_ctor_set(x_975, 3, x_973); +lean_inc(x_1); +x_976 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_975, x_971); +if (lean_obj_tag(x_976) == 0) +{ +lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; uint8_t x_982; +x_977 = lean_ctor_get(x_976, 0); +lean_inc(x_977); +x_978 = lean_ctor_get(x_976, 1); +lean_inc(x_978); +lean_dec(x_976); +x_979 = lean_st_ref_take(x_4, x_970); +x_980 = lean_ctor_get(x_979, 0); +lean_inc(x_980); +x_981 = lean_ctor_get(x_979, 1); +lean_inc(x_981); +lean_dec(x_979); +x_982 = !lean_is_exclusive(x_980); +if (x_982 == 0) +{ +lean_object* x_983; lean_object* x_984; lean_object* x_985; +x_983 = lean_ctor_get(x_980, 3); +lean_dec(x_983); +lean_ctor_set(x_980, 3, x_978); +x_984 = lean_st_ref_set(x_4, x_980, x_981); +x_985 = lean_ctor_get(x_984, 1); +lean_inc(x_985); +lean_dec(x_984); +x_10 = x_977; +x_11 = x_985; +goto block_36; +} +else +{ +lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; +x_986 = lean_ctor_get(x_980, 0); +x_987 = lean_ctor_get(x_980, 1); +x_988 = lean_ctor_get(x_980, 2); +x_989 = lean_ctor_get(x_980, 4); +lean_inc(x_989); +lean_inc(x_988); +lean_inc(x_987); +lean_inc(x_986); +lean_dec(x_980); +x_990 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_990, 0, x_986); +lean_ctor_set(x_990, 1, x_987); +lean_ctor_set(x_990, 2, x_988); +lean_ctor_set(x_990, 3, x_978); +lean_ctor_set(x_990, 4, x_989); +x_991 = lean_st_ref_set(x_4, x_990, x_981); +x_992 = lean_ctor_get(x_991, 1); +lean_inc(x_992); +lean_dec(x_991); +x_10 = x_977; +x_11 = x_992; +goto block_36; +} +} +else +{ +lean_object* x_993; +lean_dec(x_2); +lean_dec(x_1); +x_993 = lean_ctor_get(x_976, 0); lean_inc(x_993); -x_1272 = l_Lean_Syntax_isOfKind(x_993, x_934); -if (x_1272 == 0) +lean_dec(x_976); +if (lean_obj_tag(x_993) == 0) { -uint8_t x_1506; -x_1506 = 0; -x_1273 = x_1506; -goto block_1505; +lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; uint8_t x_999; +x_994 = lean_ctor_get(x_993, 0); +lean_inc(x_994); +x_995 = lean_ctor_get(x_993, 1); +lean_inc(x_995); +lean_dec(x_993); +x_996 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_996, 0, x_995); +x_997 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_997, 0, x_996); +x_998 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_994, x_997, x_3, x_4, x_5, x_6, x_7, x_8, x_970); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_994); +x_999 = !lean_is_exclusive(x_998); +if (x_999 == 0) +{ +return x_998; } else { -lean_object* x_1507; lean_object* x_1508; uint8_t x_1509; -x_1507 = l_Lean_Syntax_getArgs(x_993); -x_1508 = lean_array_get_size(x_1507); -lean_dec(x_1507); -x_1509 = lean_nat_dec_eq(x_1508, x_139); -lean_dec(x_1508); -x_1273 = x_1509; -goto block_1505; -} -block_1271: -{ -if (x_994 == 0) -{ -lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; -lean_dec(x_942); -lean_dec(x_242); -x_995 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_996 = lean_ctor_get(x_995, 0); -lean_inc(x_996); -x_997 = lean_ctor_get(x_995, 1); -lean_inc(x_997); -lean_dec(x_995); -x_998 = lean_st_ref_get(x_8, x_997); -x_999 = lean_ctor_get(x_998, 0); -lean_inc(x_999); -x_1000 = lean_ctor_get(x_998, 1); +lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; +x_1000 = lean_ctor_get(x_998, 0); +x_1001 = lean_ctor_get(x_998, 1); +lean_inc(x_1001); lean_inc(x_1000); lean_dec(x_998); -x_1001 = lean_ctor_get(x_999, 0); -lean_inc(x_1001); -lean_dec(x_999); -x_1002 = lean_st_ref_get(x_4, x_1000); -x_1003 = lean_ctor_get(x_1002, 0); -lean_inc(x_1003); -x_1004 = lean_ctor_get(x_1002, 1); -lean_inc(x_1004); -lean_dec(x_1002); -x_1005 = lean_ctor_get(x_1003, 5); +x_1002 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1002, 0, x_1000); +lean_ctor_set(x_1002, 1, x_1001); +return x_1002; +} +} +else +{ +lean_object* x_1003; uint8_t x_1004; +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_1003 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_970); +x_1004 = !lean_is_exclusive(x_1003); +if (x_1004 == 0) +{ +return x_1003; +} +else +{ +lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; +x_1005 = lean_ctor_get(x_1003, 0); +x_1006 = lean_ctor_get(x_1003, 1); +lean_inc(x_1006); lean_inc(x_1005); lean_dec(x_1003); -x_1006 = lean_ctor_get(x_7, 1); -lean_inc(x_1006); -x_1007 = lean_ctor_get(x_7, 2); -lean_inc(x_1007); -x_1008 = lean_environment_main_module(x_1001); -x_1009 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1009, 0, x_1008); -lean_ctor_set(x_1009, 1, x_996); -lean_ctor_set(x_1009, 2, x_1006); -lean_ctor_set(x_1009, 3, x_1007); -lean_inc(x_1); -x_1010 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_1009, x_1005); -if (lean_obj_tag(x_1010) == 0) +x_1007 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1007, 0, x_1005); +lean_ctor_set(x_1007, 1, x_1006); +return x_1007; +} +} +} +} +else { -lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; uint8_t x_1016; +lean_object* x_1008; uint8_t x_1009; uint8_t x_1222; +x_1008 = l_Lean_Syntax_getArg(x_910, x_85); +lean_dec(x_910); +lean_inc(x_1008); +x_1222 = l_Lean_Syntax_isOfKind(x_1008, x_902); +if (x_1222 == 0) +{ +uint8_t x_1223; +x_1223 = 0; +x_1009 = x_1223; +goto block_1221; +} +else +{ +lean_object* x_1224; lean_object* x_1225; uint8_t x_1226; +x_1224 = l_Lean_Syntax_getArgs(x_1008); +x_1225 = lean_array_get_size(x_1224); +lean_dec(x_1224); +x_1226 = lean_nat_dec_eq(x_1225, x_85); +lean_dec(x_1225); +x_1009 = x_1226; +goto block_1221; +} +block_1221: +{ +if (x_1009 == 0) +{ +lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; +lean_dec(x_1008); +lean_dec(x_234); +x_1010 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_1011 = lean_ctor_get(x_1010, 0); lean_inc(x_1011); x_1012 = lean_ctor_get(x_1010, 1); lean_inc(x_1012); lean_dec(x_1010); -x_1013 = lean_st_ref_take(x_4, x_1004); +x_1013 = lean_st_ref_get(x_8, x_1012); x_1014 = lean_ctor_get(x_1013, 0); lean_inc(x_1014); x_1015 = lean_ctor_get(x_1013, 1); lean_inc(x_1015); lean_dec(x_1013); -x_1016 = !lean_is_exclusive(x_1014); -if (x_1016 == 0) -{ -lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; -x_1017 = lean_ctor_get(x_1014, 5); -lean_dec(x_1017); -lean_ctor_set(x_1014, 5, x_1012); -x_1018 = lean_st_ref_set(x_4, x_1014, x_1015); -x_1019 = lean_ctor_get(x_1018, 1); -lean_inc(x_1019); -lean_dec(x_1018); -x_10 = x_1011; -x_11 = x_1019; -goto block_36; -} -else -{ -lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; -x_1020 = lean_ctor_get(x_1014, 0); -x_1021 = lean_ctor_get(x_1014, 1); -x_1022 = lean_ctor_get(x_1014, 2); -x_1023 = lean_ctor_get(x_1014, 3); -x_1024 = lean_ctor_get(x_1014, 4); -x_1025 = lean_ctor_get(x_1014, 6); -lean_inc(x_1025); -lean_inc(x_1024); -lean_inc(x_1023); -lean_inc(x_1022); -lean_inc(x_1021); -lean_inc(x_1020); +x_1016 = lean_ctor_get(x_1014, 0); +lean_inc(x_1016); lean_dec(x_1014); -x_1026 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1026, 0, x_1020); -lean_ctor_set(x_1026, 1, x_1021); -lean_ctor_set(x_1026, 2, x_1022); -lean_ctor_set(x_1026, 3, x_1023); -lean_ctor_set(x_1026, 4, x_1024); -lean_ctor_set(x_1026, 5, x_1012); -lean_ctor_set(x_1026, 6, x_1025); -x_1027 = lean_st_ref_set(x_4, x_1026, x_1015); -x_1028 = lean_ctor_get(x_1027, 1); -lean_inc(x_1028); -lean_dec(x_1027); -x_10 = x_1011; -x_11 = x_1028; +x_1017 = lean_st_ref_get(x_4, x_1015); +x_1018 = lean_ctor_get(x_1017, 0); +lean_inc(x_1018); +x_1019 = lean_ctor_get(x_1017, 1); +lean_inc(x_1019); +lean_dec(x_1017); +x_1020 = lean_ctor_get(x_1018, 3); +lean_inc(x_1020); +lean_dec(x_1018); +x_1021 = lean_ctor_get(x_7, 1); +lean_inc(x_1021); +x_1022 = lean_ctor_get(x_7, 2); +lean_inc(x_1022); +x_1023 = lean_environment_main_module(x_1016); +x_1024 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1024, 0, x_1023); +lean_ctor_set(x_1024, 1, x_1011); +lean_ctor_set(x_1024, 2, x_1021); +lean_ctor_set(x_1024, 3, x_1022); +lean_inc(x_1); +x_1025 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_1024, x_1020); +if (lean_obj_tag(x_1025) == 0) +{ +lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; uint8_t x_1031; +x_1026 = lean_ctor_get(x_1025, 0); +lean_inc(x_1026); +x_1027 = lean_ctor_get(x_1025, 1); +lean_inc(x_1027); +lean_dec(x_1025); +x_1028 = lean_st_ref_take(x_4, x_1019); +x_1029 = lean_ctor_get(x_1028, 0); +lean_inc(x_1029); +x_1030 = lean_ctor_get(x_1028, 1); +lean_inc(x_1030); +lean_dec(x_1028); +x_1031 = !lean_is_exclusive(x_1029); +if (x_1031 == 0) +{ +lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; +x_1032 = lean_ctor_get(x_1029, 3); +lean_dec(x_1032); +lean_ctor_set(x_1029, 3, x_1027); +x_1033 = lean_st_ref_set(x_4, x_1029, x_1030); +x_1034 = lean_ctor_get(x_1033, 1); +lean_inc(x_1034); +lean_dec(x_1033); +x_10 = x_1026; +x_11 = x_1034; goto block_36; } -} else { -lean_object* x_1029; -lean_dec(x_2); -lean_dec(x_1); -x_1029 = lean_ctor_get(x_1010, 0); -lean_inc(x_1029); -lean_dec(x_1010); -if (lean_obj_tag(x_1029) == 0) -{ -lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; uint8_t x_1035; -x_1030 = lean_ctor_get(x_1029, 0); -lean_inc(x_1030); -x_1031 = lean_ctor_get(x_1029, 1); -lean_inc(x_1031); -lean_dec(x_1029); -x_1032 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1032, 0, x_1031); -x_1033 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1033, 0, x_1032); -x_1034 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1030, x_1033, x_3, x_4, x_5, x_6, x_7, x_8, x_1004); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1030); -x_1035 = !lean_is_exclusive(x_1034); -if (x_1035 == 0) -{ -return x_1034; -} -else -{ -lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; -x_1036 = lean_ctor_get(x_1034, 0); -x_1037 = lean_ctor_get(x_1034, 1); +lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; +x_1035 = lean_ctor_get(x_1029, 0); +x_1036 = lean_ctor_get(x_1029, 1); +x_1037 = lean_ctor_get(x_1029, 2); +x_1038 = lean_ctor_get(x_1029, 4); +lean_inc(x_1038); lean_inc(x_1037); lean_inc(x_1036); -lean_dec(x_1034); -x_1038 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1038, 0, x_1036); -lean_ctor_set(x_1038, 1, x_1037); -return x_1038; -} -} -else -{ -lean_object* x_1039; uint8_t x_1040; -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_1039 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_1004); -x_1040 = !lean_is_exclusive(x_1039); -if (x_1040 == 0) -{ -return x_1039; -} -else -{ -lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; -x_1041 = lean_ctor_get(x_1039, 0); -x_1042 = lean_ctor_get(x_1039, 1); -lean_inc(x_1042); +lean_inc(x_1035); +lean_dec(x_1029); +x_1039 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_1039, 0, x_1035); +lean_ctor_set(x_1039, 1, x_1036); +lean_ctor_set(x_1039, 2, x_1037); +lean_ctor_set(x_1039, 3, x_1027); +lean_ctor_set(x_1039, 4, x_1038); +x_1040 = lean_st_ref_set(x_4, x_1039, x_1030); +x_1041 = lean_ctor_get(x_1040, 1); lean_inc(x_1041); -lean_dec(x_1039); -x_1043 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1043, 0, x_1041); -lean_ctor_set(x_1043, 1, x_1042); -return x_1043; -} -} -} -} -else -{ -lean_object* x_1044; uint8_t x_1045; uint8_t x_1266; -x_1044 = l_Lean_Syntax_getArg(x_942, x_87); -lean_dec(x_942); -lean_inc(x_1044); -x_1266 = l_Lean_Syntax_isOfKind(x_1044, x_934); -if (x_1266 == 0) -{ -uint8_t x_1267; -x_1267 = 0; -x_1045 = x_1267; -goto block_1265; -} -else -{ -lean_object* x_1268; lean_object* x_1269; uint8_t x_1270; -x_1268 = l_Lean_Syntax_getArgs(x_1044); -x_1269 = lean_array_get_size(x_1268); -lean_dec(x_1268); -x_1270 = lean_nat_dec_eq(x_1269, x_87); -lean_dec(x_1269); -x_1045 = x_1270; -goto block_1265; -} -block_1265: -{ -if (x_1045 == 0) -{ -lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; -lean_dec(x_1044); -lean_dec(x_242); -x_1046 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_1047 = lean_ctor_get(x_1046, 0); -lean_inc(x_1047); -x_1048 = lean_ctor_get(x_1046, 1); -lean_inc(x_1048); -lean_dec(x_1046); -x_1049 = lean_st_ref_get(x_8, x_1048); -x_1050 = lean_ctor_get(x_1049, 0); -lean_inc(x_1050); -x_1051 = lean_ctor_get(x_1049, 1); -lean_inc(x_1051); -lean_dec(x_1049); -x_1052 = lean_ctor_get(x_1050, 0); -lean_inc(x_1052); -lean_dec(x_1050); -x_1053 = lean_st_ref_get(x_4, x_1051); -x_1054 = lean_ctor_get(x_1053, 0); -lean_inc(x_1054); -x_1055 = lean_ctor_get(x_1053, 1); -lean_inc(x_1055); -lean_dec(x_1053); -x_1056 = lean_ctor_get(x_1054, 5); -lean_inc(x_1056); -lean_dec(x_1054); -x_1057 = lean_ctor_get(x_7, 1); -lean_inc(x_1057); -x_1058 = lean_ctor_get(x_7, 2); -lean_inc(x_1058); -x_1059 = lean_environment_main_module(x_1052); -x_1060 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1060, 0, x_1059); -lean_ctor_set(x_1060, 1, x_1047); -lean_ctor_set(x_1060, 2, x_1057); -lean_ctor_set(x_1060, 3, x_1058); -lean_inc(x_1); -x_1061 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_1060, x_1056); -if (lean_obj_tag(x_1061) == 0) -{ -lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; uint8_t x_1067; -x_1062 = lean_ctor_get(x_1061, 0); -lean_inc(x_1062); -x_1063 = lean_ctor_get(x_1061, 1); -lean_inc(x_1063); -lean_dec(x_1061); -x_1064 = lean_st_ref_take(x_4, x_1055); -x_1065 = lean_ctor_get(x_1064, 0); -lean_inc(x_1065); -x_1066 = lean_ctor_get(x_1064, 1); -lean_inc(x_1066); -lean_dec(x_1064); -x_1067 = !lean_is_exclusive(x_1065); -if (x_1067 == 0) -{ -lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; -x_1068 = lean_ctor_get(x_1065, 5); -lean_dec(x_1068); -lean_ctor_set(x_1065, 5, x_1063); -x_1069 = lean_st_ref_set(x_4, x_1065, x_1066); -x_1070 = lean_ctor_get(x_1069, 1); -lean_inc(x_1070); -lean_dec(x_1069); -x_10 = x_1062; -x_11 = x_1070; -goto block_36; -} -else -{ -lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; -x_1071 = lean_ctor_get(x_1065, 0); -x_1072 = lean_ctor_get(x_1065, 1); -x_1073 = lean_ctor_get(x_1065, 2); -x_1074 = lean_ctor_get(x_1065, 3); -x_1075 = lean_ctor_get(x_1065, 4); -x_1076 = lean_ctor_get(x_1065, 6); -lean_inc(x_1076); -lean_inc(x_1075); -lean_inc(x_1074); -lean_inc(x_1073); -lean_inc(x_1072); -lean_inc(x_1071); -lean_dec(x_1065); -x_1077 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1077, 0, x_1071); -lean_ctor_set(x_1077, 1, x_1072); -lean_ctor_set(x_1077, 2, x_1073); -lean_ctor_set(x_1077, 3, x_1074); -lean_ctor_set(x_1077, 4, x_1075); -lean_ctor_set(x_1077, 5, x_1063); -lean_ctor_set(x_1077, 6, x_1076); -x_1078 = lean_st_ref_set(x_4, x_1077, x_1066); -x_1079 = lean_ctor_get(x_1078, 1); -lean_inc(x_1079); -lean_dec(x_1078); -x_10 = x_1062; -x_11 = x_1079; +lean_dec(x_1040); +x_10 = x_1026; +x_11 = x_1041; goto block_36; } } else { -lean_object* x_1080; +lean_object* x_1042; lean_dec(x_2); lean_dec(x_1); -x_1080 = lean_ctor_get(x_1061, 0); -lean_inc(x_1080); -lean_dec(x_1061); -if (lean_obj_tag(x_1080) == 0) +x_1042 = lean_ctor_get(x_1025, 0); +lean_inc(x_1042); +lean_dec(x_1025); +if (lean_obj_tag(x_1042) == 0) { -lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; uint8_t x_1086; -x_1081 = lean_ctor_get(x_1080, 0); -lean_inc(x_1081); -x_1082 = lean_ctor_get(x_1080, 1); -lean_inc(x_1082); -lean_dec(x_1080); -x_1083 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1083, 0, x_1082); -x_1084 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1084, 0, x_1083); -x_1085 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1081, x_1084, x_3, x_4, x_5, x_6, x_7, x_8, x_1055); +lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; uint8_t x_1048; +x_1043 = lean_ctor_get(x_1042, 0); +lean_inc(x_1043); +x_1044 = lean_ctor_get(x_1042, 1); +lean_inc(x_1044); +lean_dec(x_1042); +x_1045 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1045, 0, x_1044); +x_1046 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1046, 0, x_1045); +x_1047 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1043, x_1046, x_3, x_4, x_5, x_6, x_7, x_8, x_1019); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1081); -x_1086 = !lean_is_exclusive(x_1085); -if (x_1086 == 0) +lean_dec(x_1043); +x_1048 = !lean_is_exclusive(x_1047); +if (x_1048 == 0) { -return x_1085; +return x_1047; } else { -lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; -x_1087 = lean_ctor_get(x_1085, 0); -x_1088 = lean_ctor_get(x_1085, 1); -lean_inc(x_1088); -lean_inc(x_1087); -lean_dec(x_1085); -x_1089 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1089, 0, x_1087); -lean_ctor_set(x_1089, 1, x_1088); -return x_1089; +lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; +x_1049 = lean_ctor_get(x_1047, 0); +x_1050 = lean_ctor_get(x_1047, 1); +lean_inc(x_1050); +lean_inc(x_1049); +lean_dec(x_1047); +x_1051 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1051, 0, x_1049); +lean_ctor_set(x_1051, 1, x_1050); +return x_1051; } } else { -lean_object* x_1090; uint8_t x_1091; +lean_object* x_1052; uint8_t x_1053; 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_1090 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_1055); -x_1091 = !lean_is_exclusive(x_1090); -if (x_1091 == 0) +x_1052 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_1019); +x_1053 = !lean_is_exclusive(x_1052); +if (x_1053 == 0) { -return x_1090; +return x_1052; } else { -lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; -x_1092 = lean_ctor_get(x_1090, 0); -x_1093 = lean_ctor_get(x_1090, 1); -lean_inc(x_1093); +lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; +x_1054 = lean_ctor_get(x_1052, 0); +x_1055 = lean_ctor_get(x_1052, 1); +lean_inc(x_1055); +lean_inc(x_1054); +lean_dec(x_1052); +x_1056 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1056, 0, x_1054); +lean_ctor_set(x_1056, 1, x_1055); +return x_1056; +} +} +} +} +else +{ +lean_object* x_1057; uint8_t x_1058; lean_object* x_1214; uint8_t x_1215; +x_1057 = l_Lean_Syntax_getArg(x_1008, x_135); +lean_dec(x_1008); +x_1214 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +lean_inc(x_1057); +x_1215 = l_Lean_Syntax_isOfKind(x_1057, x_1214); +if (x_1215 == 0) +{ +uint8_t x_1216; +x_1216 = 0; +x_1058 = x_1216; +goto block_1213; +} +else +{ +lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; uint8_t x_1220; +x_1217 = l_Lean_Syntax_getArgs(x_1057); +x_1218 = lean_array_get_size(x_1217); +lean_dec(x_1217); +x_1219 = lean_unsigned_to_nat(3u); +x_1220 = lean_nat_dec_eq(x_1218, x_1219); +lean_dec(x_1218); +x_1058 = x_1220; +goto block_1213; +} +block_1213: +{ +if (x_1058 == 0) +{ +lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; +lean_dec(x_1057); +lean_dec(x_234); +x_1059 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_1060 = lean_ctor_get(x_1059, 0); +lean_inc(x_1060); +x_1061 = lean_ctor_get(x_1059, 1); +lean_inc(x_1061); +lean_dec(x_1059); +x_1062 = lean_st_ref_get(x_8, x_1061); +x_1063 = lean_ctor_get(x_1062, 0); +lean_inc(x_1063); +x_1064 = lean_ctor_get(x_1062, 1); +lean_inc(x_1064); +lean_dec(x_1062); +x_1065 = lean_ctor_get(x_1063, 0); +lean_inc(x_1065); +lean_dec(x_1063); +x_1066 = lean_st_ref_get(x_4, x_1064); +x_1067 = lean_ctor_get(x_1066, 0); +lean_inc(x_1067); +x_1068 = lean_ctor_get(x_1066, 1); +lean_inc(x_1068); +lean_dec(x_1066); +x_1069 = lean_ctor_get(x_1067, 3); +lean_inc(x_1069); +lean_dec(x_1067); +x_1070 = lean_ctor_get(x_7, 1); +lean_inc(x_1070); +x_1071 = lean_ctor_get(x_7, 2); +lean_inc(x_1071); +x_1072 = lean_environment_main_module(x_1065); +x_1073 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1073, 0, x_1072); +lean_ctor_set(x_1073, 1, x_1060); +lean_ctor_set(x_1073, 2, x_1070); +lean_ctor_set(x_1073, 3, x_1071); +lean_inc(x_1); +x_1074 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_1073, x_1069); +if (lean_obj_tag(x_1074) == 0) +{ +lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; uint8_t x_1080; +x_1075 = lean_ctor_get(x_1074, 0); +lean_inc(x_1075); +x_1076 = lean_ctor_get(x_1074, 1); +lean_inc(x_1076); +lean_dec(x_1074); +x_1077 = lean_st_ref_take(x_4, x_1068); +x_1078 = lean_ctor_get(x_1077, 0); +lean_inc(x_1078); +x_1079 = lean_ctor_get(x_1077, 1); +lean_inc(x_1079); +lean_dec(x_1077); +x_1080 = !lean_is_exclusive(x_1078); +if (x_1080 == 0) +{ +lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; +x_1081 = lean_ctor_get(x_1078, 3); +lean_dec(x_1081); +lean_ctor_set(x_1078, 3, x_1076); +x_1082 = lean_st_ref_set(x_4, x_1078, x_1079); +x_1083 = lean_ctor_get(x_1082, 1); +lean_inc(x_1083); +lean_dec(x_1082); +x_10 = x_1075; +x_11 = x_1083; +goto block_36; +} +else +{ +lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; +x_1084 = lean_ctor_get(x_1078, 0); +x_1085 = lean_ctor_get(x_1078, 1); +x_1086 = lean_ctor_get(x_1078, 2); +x_1087 = lean_ctor_get(x_1078, 4); +lean_inc(x_1087); +lean_inc(x_1086); +lean_inc(x_1085); +lean_inc(x_1084); +lean_dec(x_1078); +x_1088 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_1088, 0, x_1084); +lean_ctor_set(x_1088, 1, x_1085); +lean_ctor_set(x_1088, 2, x_1086); +lean_ctor_set(x_1088, 3, x_1076); +lean_ctor_set(x_1088, 4, x_1087); +x_1089 = lean_st_ref_set(x_4, x_1088, x_1079); +x_1090 = lean_ctor_get(x_1089, 1); +lean_inc(x_1090); +lean_dec(x_1089); +x_10 = x_1075; +x_11 = x_1090; +goto block_36; +} +} +else +{ +lean_object* x_1091; +lean_dec(x_2); +lean_dec(x_1); +x_1091 = lean_ctor_get(x_1074, 0); +lean_inc(x_1091); +lean_dec(x_1074); +if (lean_obj_tag(x_1091) == 0) +{ +lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; uint8_t x_1097; +x_1092 = lean_ctor_get(x_1091, 0); lean_inc(x_1092); -lean_dec(x_1090); -x_1094 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1094, 0, x_1092); -lean_ctor_set(x_1094, 1, x_1093); -return x_1094; -} -} -} +x_1093 = lean_ctor_get(x_1091, 1); +lean_inc(x_1093); +lean_dec(x_1091); +x_1094 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1094, 0, x_1093); +x_1095 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1095, 0, x_1094); +x_1096 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1092, x_1095, x_3, x_4, x_5, x_6, x_7, x_8, x_1068); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1092); +x_1097 = !lean_is_exclusive(x_1096); +if (x_1097 == 0) +{ +return x_1096; } else { -lean_object* x_1095; uint8_t x_1096; lean_object* x_1258; uint8_t x_1259; -x_1095 = l_Lean_Syntax_getArg(x_1044, x_139); -lean_dec(x_1044); -x_1258 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -lean_inc(x_1095); -x_1259 = l_Lean_Syntax_isOfKind(x_1095, x_1258); -if (x_1259 == 0) -{ -uint8_t x_1260; -x_1260 = 0; -x_1096 = x_1260; -goto block_1257; -} -else -{ -lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; uint8_t x_1264; -x_1261 = l_Lean_Syntax_getArgs(x_1095); -x_1262 = lean_array_get_size(x_1261); -lean_dec(x_1261); -x_1263 = lean_unsigned_to_nat(3u); -x_1264 = lean_nat_dec_eq(x_1262, x_1263); -lean_dec(x_1262); -x_1096 = x_1264; -goto block_1257; -} -block_1257: -{ -if (x_1096 == 0) -{ -lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; -lean_dec(x_1095); -lean_dec(x_242); -x_1097 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_1098 = lean_ctor_get(x_1097, 0); -lean_inc(x_1098); -x_1099 = lean_ctor_get(x_1097, 1); +lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; +x_1098 = lean_ctor_get(x_1096, 0); +x_1099 = lean_ctor_get(x_1096, 1); lean_inc(x_1099); -lean_dec(x_1097); -x_1100 = lean_st_ref_get(x_8, x_1099); -x_1101 = lean_ctor_get(x_1100, 0); -lean_inc(x_1101); -x_1102 = lean_ctor_get(x_1100, 1); -lean_inc(x_1102); -lean_dec(x_1100); +lean_inc(x_1098); +lean_dec(x_1096); +x_1100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1100, 0, x_1098); +lean_ctor_set(x_1100, 1, x_1099); +return x_1100; +} +} +else +{ +lean_object* x_1101; uint8_t x_1102; +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_1101 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_1068); +x_1102 = !lean_is_exclusive(x_1101); +if (x_1102 == 0) +{ +return x_1101; +} +else +{ +lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; x_1103 = lean_ctor_get(x_1101, 0); +x_1104 = lean_ctor_get(x_1101, 1); +lean_inc(x_1104); lean_inc(x_1103); lean_dec(x_1101); -x_1104 = lean_st_ref_get(x_4, x_1102); -x_1105 = lean_ctor_get(x_1104, 0); -lean_inc(x_1105); -x_1106 = lean_ctor_get(x_1104, 1); -lean_inc(x_1106); -lean_dec(x_1104); -x_1107 = lean_ctor_get(x_1105, 5); -lean_inc(x_1107); -lean_dec(x_1105); -x_1108 = lean_ctor_get(x_7, 1); -lean_inc(x_1108); -x_1109 = lean_ctor_get(x_7, 2); -lean_inc(x_1109); -x_1110 = lean_environment_main_module(x_1103); -x_1111 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1111, 0, x_1110); -lean_ctor_set(x_1111, 1, x_1098); -lean_ctor_set(x_1111, 2, x_1108); -lean_ctor_set(x_1111, 3, x_1109); -lean_inc(x_1); -x_1112 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_1111, x_1107); -if (lean_obj_tag(x_1112) == 0) +x_1105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1105, 0, x_1103); +lean_ctor_set(x_1105, 1, x_1104); +return x_1105; +} +} +} +} +else { -lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; uint8_t x_1118; -x_1113 = lean_ctor_get(x_1112, 0); +lean_object* x_1106; uint8_t x_1107; uint8_t x_1208; +x_1106 = l_Lean_Syntax_getArg(x_1057, x_135); +lean_inc(x_1106); +x_1208 = l_Lean_Syntax_isOfKind(x_1106, x_902); +if (x_1208 == 0) +{ +uint8_t x_1209; +x_1209 = 0; +x_1107 = x_1209; +goto block_1207; +} +else +{ +lean_object* x_1210; lean_object* x_1211; uint8_t x_1212; +x_1210 = l_Lean_Syntax_getArgs(x_1106); +x_1211 = lean_array_get_size(x_1210); +lean_dec(x_1210); +x_1212 = lean_nat_dec_eq(x_1211, x_85); +lean_dec(x_1211); +x_1107 = x_1212; +goto block_1207; +} +block_1207: +{ +if (x_1107 == 0) +{ +lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; +lean_dec(x_1106); +lean_dec(x_1057); +lean_dec(x_234); +x_1108 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_1109 = lean_ctor_get(x_1108, 0); +lean_inc(x_1109); +x_1110 = lean_ctor_get(x_1108, 1); +lean_inc(x_1110); +lean_dec(x_1108); +x_1111 = lean_st_ref_get(x_8, x_1110); +x_1112 = lean_ctor_get(x_1111, 0); +lean_inc(x_1112); +x_1113 = lean_ctor_get(x_1111, 1); lean_inc(x_1113); -x_1114 = lean_ctor_get(x_1112, 1); +lean_dec(x_1111); +x_1114 = lean_ctor_get(x_1112, 0); lean_inc(x_1114); lean_dec(x_1112); -x_1115 = lean_st_ref_take(x_4, x_1106); +x_1115 = lean_st_ref_get(x_4, x_1113); x_1116 = lean_ctor_get(x_1115, 0); lean_inc(x_1116); x_1117 = lean_ctor_get(x_1115, 1); lean_inc(x_1117); lean_dec(x_1115); -x_1118 = !lean_is_exclusive(x_1116); -if (x_1118 == 0) -{ -lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; -x_1119 = lean_ctor_get(x_1116, 5); -lean_dec(x_1119); -lean_ctor_set(x_1116, 5, x_1114); -x_1120 = lean_st_ref_set(x_4, x_1116, x_1117); -x_1121 = lean_ctor_get(x_1120, 1); -lean_inc(x_1121); -lean_dec(x_1120); -x_10 = x_1113; -x_11 = x_1121; -goto block_36; -} -else -{ -lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; -x_1122 = lean_ctor_get(x_1116, 0); -x_1123 = lean_ctor_get(x_1116, 1); -x_1124 = lean_ctor_get(x_1116, 2); -x_1125 = lean_ctor_get(x_1116, 3); -x_1126 = lean_ctor_get(x_1116, 4); -x_1127 = lean_ctor_get(x_1116, 6); -lean_inc(x_1127); -lean_inc(x_1126); -lean_inc(x_1125); -lean_inc(x_1124); -lean_inc(x_1123); -lean_inc(x_1122); +x_1118 = lean_ctor_get(x_1116, 3); +lean_inc(x_1118); lean_dec(x_1116); -x_1128 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1128, 0, x_1122); -lean_ctor_set(x_1128, 1, x_1123); -lean_ctor_set(x_1128, 2, x_1124); -lean_ctor_set(x_1128, 3, x_1125); -lean_ctor_set(x_1128, 4, x_1126); -lean_ctor_set(x_1128, 5, x_1114); -lean_ctor_set(x_1128, 6, x_1127); -x_1129 = lean_st_ref_set(x_4, x_1128, x_1117); -x_1130 = lean_ctor_get(x_1129, 1); -lean_inc(x_1130); -lean_dec(x_1129); -x_10 = x_1113; -x_11 = x_1130; +x_1119 = lean_ctor_get(x_7, 1); +lean_inc(x_1119); +x_1120 = lean_ctor_get(x_7, 2); +lean_inc(x_1120); +x_1121 = lean_environment_main_module(x_1114); +x_1122 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1122, 0, x_1121); +lean_ctor_set(x_1122, 1, x_1109); +lean_ctor_set(x_1122, 2, x_1119); +lean_ctor_set(x_1122, 3, x_1120); +lean_inc(x_1); +x_1123 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_1122, x_1118); +if (lean_obj_tag(x_1123) == 0) +{ +lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; uint8_t x_1129; +x_1124 = lean_ctor_get(x_1123, 0); +lean_inc(x_1124); +x_1125 = lean_ctor_get(x_1123, 1); +lean_inc(x_1125); +lean_dec(x_1123); +x_1126 = lean_st_ref_take(x_4, x_1117); +x_1127 = lean_ctor_get(x_1126, 0); +lean_inc(x_1127); +x_1128 = lean_ctor_get(x_1126, 1); +lean_inc(x_1128); +lean_dec(x_1126); +x_1129 = !lean_is_exclusive(x_1127); +if (x_1129 == 0) +{ +lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; +x_1130 = lean_ctor_get(x_1127, 3); +lean_dec(x_1130); +lean_ctor_set(x_1127, 3, x_1125); +x_1131 = lean_st_ref_set(x_4, x_1127, x_1128); +x_1132 = lean_ctor_get(x_1131, 1); +lean_inc(x_1132); +lean_dec(x_1131); +x_10 = x_1124; +x_11 = x_1132; +goto block_36; +} +else +{ +lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; +x_1133 = lean_ctor_get(x_1127, 0); +x_1134 = lean_ctor_get(x_1127, 1); +x_1135 = lean_ctor_get(x_1127, 2); +x_1136 = lean_ctor_get(x_1127, 4); +lean_inc(x_1136); +lean_inc(x_1135); +lean_inc(x_1134); +lean_inc(x_1133); +lean_dec(x_1127); +x_1137 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_1137, 0, x_1133); +lean_ctor_set(x_1137, 1, x_1134); +lean_ctor_set(x_1137, 2, x_1135); +lean_ctor_set(x_1137, 3, x_1125); +lean_ctor_set(x_1137, 4, x_1136); +x_1138 = lean_st_ref_set(x_4, x_1137, x_1128); +x_1139 = lean_ctor_get(x_1138, 1); +lean_inc(x_1139); +lean_dec(x_1138); +x_10 = x_1124; +x_11 = x_1139; goto block_36; } } else { -lean_object* x_1131; +lean_object* x_1140; lean_dec(x_2); lean_dec(x_1); -x_1131 = lean_ctor_get(x_1112, 0); -lean_inc(x_1131); -lean_dec(x_1112); -if (lean_obj_tag(x_1131) == 0) +x_1140 = lean_ctor_get(x_1123, 0); +lean_inc(x_1140); +lean_dec(x_1123); +if (lean_obj_tag(x_1140) == 0) { -lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; uint8_t x_1137; -x_1132 = lean_ctor_get(x_1131, 0); -lean_inc(x_1132); -x_1133 = lean_ctor_get(x_1131, 1); -lean_inc(x_1133); -lean_dec(x_1131); -x_1134 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1134, 0, x_1133); -x_1135 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1135, 0, x_1134); -x_1136 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1132, x_1135, x_3, x_4, x_5, x_6, x_7, x_8, x_1106); +lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; uint8_t x_1146; +x_1141 = lean_ctor_get(x_1140, 0); +lean_inc(x_1141); +x_1142 = lean_ctor_get(x_1140, 1); +lean_inc(x_1142); +lean_dec(x_1140); +x_1143 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1143, 0, x_1142); +x_1144 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1144, 0, x_1143); +x_1145 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1141, x_1144, x_3, x_4, x_5, x_6, x_7, x_8, x_1117); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1132); -x_1137 = !lean_is_exclusive(x_1136); -if (x_1137 == 0) -{ -return x_1136; -} -else -{ -lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; -x_1138 = lean_ctor_get(x_1136, 0); -x_1139 = lean_ctor_get(x_1136, 1); -lean_inc(x_1139); -lean_inc(x_1138); -lean_dec(x_1136); -x_1140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1140, 0, x_1138); -lean_ctor_set(x_1140, 1, x_1139); -return x_1140; -} -} -else -{ -lean_object* x_1141; uint8_t x_1142; -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_1141 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_1106); -x_1142 = !lean_is_exclusive(x_1141); -if (x_1142 == 0) -{ -return x_1141; -} -else -{ -lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; -x_1143 = lean_ctor_get(x_1141, 0); -x_1144 = lean_ctor_get(x_1141, 1); -lean_inc(x_1144); -lean_inc(x_1143); lean_dec(x_1141); -x_1145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1145, 0, x_1143); -lean_ctor_set(x_1145, 1, x_1144); +x_1146 = !lean_is_exclusive(x_1145); +if (x_1146 == 0) +{ return x_1145; } -} +else +{ +lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; +x_1147 = lean_ctor_get(x_1145, 0); +x_1148 = lean_ctor_get(x_1145, 1); +lean_inc(x_1148); +lean_inc(x_1147); +lean_dec(x_1145); +x_1149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1149, 0, x_1147); +lean_ctor_set(x_1149, 1, x_1148); +return x_1149; } } else { -lean_object* x_1146; uint8_t x_1147; uint8_t x_1252; -x_1146 = l_Lean_Syntax_getArg(x_1095, x_139); -lean_inc(x_1146); -x_1252 = l_Lean_Syntax_isOfKind(x_1146, x_934); -if (x_1252 == 0) +lean_object* x_1150; uint8_t x_1151; +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_1150 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_1117); +x_1151 = !lean_is_exclusive(x_1150); +if (x_1151 == 0) { -uint8_t x_1253; -x_1253 = 0; -x_1147 = x_1253; -goto block_1251; +return x_1150; } else { -lean_object* x_1254; lean_object* x_1255; uint8_t x_1256; -x_1254 = l_Lean_Syntax_getArgs(x_1146); -x_1255 = lean_array_get_size(x_1254); -lean_dec(x_1254); -x_1256 = lean_nat_dec_eq(x_1255, x_87); -lean_dec(x_1255); -x_1147 = x_1256; -goto block_1251; -} -block_1251: -{ -if (x_1147 == 0) -{ -lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; -lean_dec(x_1146); -lean_dec(x_1095); -lean_dec(x_242); -x_1148 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_1149 = lean_ctor_get(x_1148, 0); -lean_inc(x_1149); -x_1150 = lean_ctor_get(x_1148, 1); -lean_inc(x_1150); -lean_dec(x_1148); -x_1151 = lean_st_ref_get(x_8, x_1150); -x_1152 = lean_ctor_get(x_1151, 0); -lean_inc(x_1152); -x_1153 = lean_ctor_get(x_1151, 1); +lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; +x_1152 = lean_ctor_get(x_1150, 0); +x_1153 = lean_ctor_get(x_1150, 1); lean_inc(x_1153); -lean_dec(x_1151); -x_1154 = lean_ctor_get(x_1152, 0); -lean_inc(x_1154); -lean_dec(x_1152); -x_1155 = lean_st_ref_get(x_4, x_1153); -x_1156 = lean_ctor_get(x_1155, 0); -lean_inc(x_1156); -x_1157 = lean_ctor_get(x_1155, 1); -lean_inc(x_1157); -lean_dec(x_1155); -x_1158 = lean_ctor_get(x_1156, 5); -lean_inc(x_1158); -lean_dec(x_1156); -x_1159 = lean_ctor_get(x_7, 1); -lean_inc(x_1159); -x_1160 = lean_ctor_get(x_7, 2); -lean_inc(x_1160); -x_1161 = lean_environment_main_module(x_1154); -x_1162 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1162, 0, x_1161); -lean_ctor_set(x_1162, 1, x_1149); -lean_ctor_set(x_1162, 2, x_1159); -lean_ctor_set(x_1162, 3, x_1160); -lean_inc(x_1); -x_1163 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_1162, x_1158); -if (lean_obj_tag(x_1163) == 0) +lean_inc(x_1152); +lean_dec(x_1150); +x_1154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1154, 0, x_1152); +lean_ctor_set(x_1154, 1, x_1153); +return x_1154; +} +} +} +} +else { -lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; uint8_t x_1169; -x_1164 = lean_ctor_get(x_1163, 0); +lean_object* x_1155; lean_object* x_1156; uint8_t x_1157; +x_1155 = l_Lean_Syntax_getArg(x_1106, x_135); +lean_dec(x_1106); +x_1156 = l_Lean_identKind___closed__2; +lean_inc(x_1155); +x_1157 = l_Lean_Syntax_isOfKind(x_1155, x_1156); +if (x_1157 == 0) +{ +lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; +lean_dec(x_1155); +lean_dec(x_1057); +lean_dec(x_234); +x_1158 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_1159 = lean_ctor_get(x_1158, 0); +lean_inc(x_1159); +x_1160 = lean_ctor_get(x_1158, 1); +lean_inc(x_1160); +lean_dec(x_1158); +x_1161 = lean_st_ref_get(x_8, x_1160); +x_1162 = lean_ctor_get(x_1161, 0); +lean_inc(x_1162); +x_1163 = lean_ctor_get(x_1161, 1); +lean_inc(x_1163); +lean_dec(x_1161); +x_1164 = lean_ctor_get(x_1162, 0); lean_inc(x_1164); -x_1165 = lean_ctor_get(x_1163, 1); -lean_inc(x_1165); -lean_dec(x_1163); -x_1166 = lean_st_ref_take(x_4, x_1157); -x_1167 = lean_ctor_get(x_1166, 0); +lean_dec(x_1162); +x_1165 = lean_st_ref_get(x_4, x_1163); +x_1166 = lean_ctor_get(x_1165, 0); +lean_inc(x_1166); +x_1167 = lean_ctor_get(x_1165, 1); lean_inc(x_1167); -x_1168 = lean_ctor_get(x_1166, 1); +lean_dec(x_1165); +x_1168 = lean_ctor_get(x_1166, 3); lean_inc(x_1168); lean_dec(x_1166); -x_1169 = !lean_is_exclusive(x_1167); -if (x_1169 == 0) +x_1169 = lean_ctor_get(x_7, 1); +lean_inc(x_1169); +x_1170 = lean_ctor_get(x_7, 2); +lean_inc(x_1170); +x_1171 = lean_environment_main_module(x_1164); +x_1172 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1172, 0, x_1171); +lean_ctor_set(x_1172, 1, x_1159); +lean_ctor_set(x_1172, 2, x_1169); +lean_ctor_set(x_1172, 3, x_1170); +lean_inc(x_1); +x_1173 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_1172, x_1168); +if (lean_obj_tag(x_1173) == 0) { -lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; -x_1170 = lean_ctor_get(x_1167, 5); -lean_dec(x_1170); -lean_ctor_set(x_1167, 5, x_1165); -x_1171 = lean_st_ref_set(x_4, x_1167, x_1168); -x_1172 = lean_ctor_get(x_1171, 1); -lean_inc(x_1172); -lean_dec(x_1171); -x_10 = x_1164; -x_11 = x_1172; -goto block_36; -} -else -{ -lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; -x_1173 = lean_ctor_get(x_1167, 0); -x_1174 = lean_ctor_get(x_1167, 1); -x_1175 = lean_ctor_get(x_1167, 2); -x_1176 = lean_ctor_get(x_1167, 3); -x_1177 = lean_ctor_get(x_1167, 4); -x_1178 = lean_ctor_get(x_1167, 6); -lean_inc(x_1178); -lean_inc(x_1177); -lean_inc(x_1176); -lean_inc(x_1175); +lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; uint8_t x_1179; +x_1174 = lean_ctor_get(x_1173, 0); lean_inc(x_1174); -lean_inc(x_1173); -lean_dec(x_1167); -x_1179 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1179, 0, x_1173); -lean_ctor_set(x_1179, 1, x_1174); -lean_ctor_set(x_1179, 2, x_1175); -lean_ctor_set(x_1179, 3, x_1176); -lean_ctor_set(x_1179, 4, x_1177); -lean_ctor_set(x_1179, 5, x_1165); -lean_ctor_set(x_1179, 6, x_1178); -x_1180 = lean_st_ref_set(x_4, x_1179, x_1168); -x_1181 = lean_ctor_get(x_1180, 1); -lean_inc(x_1181); +x_1175 = lean_ctor_get(x_1173, 1); +lean_inc(x_1175); +lean_dec(x_1173); +x_1176 = lean_st_ref_take(x_4, x_1167); +x_1177 = lean_ctor_get(x_1176, 0); +lean_inc(x_1177); +x_1178 = lean_ctor_get(x_1176, 1); +lean_inc(x_1178); +lean_dec(x_1176); +x_1179 = !lean_is_exclusive(x_1177); +if (x_1179 == 0) +{ +lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; +x_1180 = lean_ctor_get(x_1177, 3); lean_dec(x_1180); -x_10 = x_1164; -x_11 = x_1181; +lean_ctor_set(x_1177, 3, x_1175); +x_1181 = lean_st_ref_set(x_4, x_1177, x_1178); +x_1182 = lean_ctor_get(x_1181, 1); +lean_inc(x_1182); +lean_dec(x_1181); +x_10 = x_1174; +x_11 = x_1182; +goto block_36; +} +else +{ +lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; +x_1183 = lean_ctor_get(x_1177, 0); +x_1184 = lean_ctor_get(x_1177, 1); +x_1185 = lean_ctor_get(x_1177, 2); +x_1186 = lean_ctor_get(x_1177, 4); +lean_inc(x_1186); +lean_inc(x_1185); +lean_inc(x_1184); +lean_inc(x_1183); +lean_dec(x_1177); +x_1187 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_1187, 0, x_1183); +lean_ctor_set(x_1187, 1, x_1184); +lean_ctor_set(x_1187, 2, x_1185); +lean_ctor_set(x_1187, 3, x_1175); +lean_ctor_set(x_1187, 4, x_1186); +x_1188 = lean_st_ref_set(x_4, x_1187, x_1178); +x_1189 = lean_ctor_get(x_1188, 1); +lean_inc(x_1189); +lean_dec(x_1188); +x_10 = x_1174; +x_11 = x_1189; goto block_36; } } else { -lean_object* x_1182; +lean_object* x_1190; lean_dec(x_2); lean_dec(x_1); -x_1182 = lean_ctor_get(x_1163, 0); -lean_inc(x_1182); -lean_dec(x_1163); -if (lean_obj_tag(x_1182) == 0) +x_1190 = lean_ctor_get(x_1173, 0); +lean_inc(x_1190); +lean_dec(x_1173); +if (lean_obj_tag(x_1190) == 0) { -lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; uint8_t x_1188; -x_1183 = lean_ctor_get(x_1182, 0); -lean_inc(x_1183); -x_1184 = lean_ctor_get(x_1182, 1); -lean_inc(x_1184); -lean_dec(x_1182); -x_1185 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1185, 0, x_1184); -x_1186 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1186, 0, x_1185); -x_1187 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1183, x_1186, x_3, x_4, x_5, x_6, x_7, x_8, x_1157); +lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; uint8_t x_1196; +x_1191 = lean_ctor_get(x_1190, 0); +lean_inc(x_1191); +x_1192 = lean_ctor_get(x_1190, 1); +lean_inc(x_1192); +lean_dec(x_1190); +x_1193 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1193, 0, x_1192); +x_1194 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1194, 0, x_1193); +x_1195 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1191, x_1194, x_3, x_4, x_5, x_6, x_7, x_8, x_1167); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1183); -x_1188 = !lean_is_exclusive(x_1187); -if (x_1188 == 0) +lean_dec(x_1191); +x_1196 = !lean_is_exclusive(x_1195); +if (x_1196 == 0) { -return x_1187; +return x_1195; } else { -lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; -x_1189 = lean_ctor_get(x_1187, 0); -x_1190 = lean_ctor_get(x_1187, 1); -lean_inc(x_1190); -lean_inc(x_1189); -lean_dec(x_1187); -x_1191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1191, 0, x_1189); -lean_ctor_set(x_1191, 1, x_1190); -return x_1191; +lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; +x_1197 = lean_ctor_get(x_1195, 0); +x_1198 = lean_ctor_get(x_1195, 1); +lean_inc(x_1198); +lean_inc(x_1197); +lean_dec(x_1195); +x_1199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1199, 0, x_1197); +lean_ctor_set(x_1199, 1, x_1198); +return x_1199; } } else { -lean_object* x_1192; uint8_t x_1193; +lean_object* x_1200; uint8_t x_1201; 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_1192 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_1157); -x_1193 = !lean_is_exclusive(x_1192); -if (x_1193 == 0) +x_1200 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_1167); +x_1201 = !lean_is_exclusive(x_1200); +if (x_1201 == 0) { -return x_1192; +return x_1200; } else { -lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; -x_1194 = lean_ctor_get(x_1192, 0); -x_1195 = lean_ctor_get(x_1192, 1); -lean_inc(x_1195); -lean_inc(x_1194); -lean_dec(x_1192); -x_1196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1196, 0, x_1194); -lean_ctor_set(x_1196, 1, x_1195); -return x_1196; -} -} -} -} -else -{ -lean_object* x_1197; lean_object* x_1198; uint8_t x_1199; -x_1197 = l_Lean_Syntax_getArg(x_1146, x_139); -lean_dec(x_1146); -x_1198 = l_Lean_identKind___closed__2; -lean_inc(x_1197); -x_1199 = l_Lean_Syntax_isOfKind(x_1197, x_1198); -if (x_1199 == 0) -{ -lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; -lean_dec(x_1197); -lean_dec(x_1095); -lean_dec(x_242); -x_1200 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_1201 = lean_ctor_get(x_1200, 0); -lean_inc(x_1201); -x_1202 = lean_ctor_get(x_1200, 1); +lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; +x_1202 = lean_ctor_get(x_1200, 0); +x_1203 = lean_ctor_get(x_1200, 1); +lean_inc(x_1203); lean_inc(x_1202); lean_dec(x_1200); -x_1203 = lean_st_ref_get(x_8, x_1202); -x_1204 = lean_ctor_get(x_1203, 0); -lean_inc(x_1204); -x_1205 = lean_ctor_get(x_1203, 1); -lean_inc(x_1205); -lean_dec(x_1203); -x_1206 = lean_ctor_get(x_1204, 0); -lean_inc(x_1206); -lean_dec(x_1204); -x_1207 = lean_st_ref_get(x_4, x_1205); -x_1208 = lean_ctor_get(x_1207, 0); -lean_inc(x_1208); -x_1209 = lean_ctor_get(x_1207, 1); -lean_inc(x_1209); -lean_dec(x_1207); -x_1210 = lean_ctor_get(x_1208, 5); -lean_inc(x_1210); -lean_dec(x_1208); -x_1211 = lean_ctor_get(x_7, 1); -lean_inc(x_1211); -x_1212 = lean_ctor_get(x_7, 2); -lean_inc(x_1212); -x_1213 = lean_environment_main_module(x_1206); -x_1214 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1214, 0, x_1213); -lean_ctor_set(x_1214, 1, x_1201); -lean_ctor_set(x_1214, 2, x_1211); -lean_ctor_set(x_1214, 3, x_1212); -lean_inc(x_1); -x_1215 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_1214, x_1210); -if (lean_obj_tag(x_1215) == 0) -{ -lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; uint8_t x_1221; -x_1216 = lean_ctor_get(x_1215, 0); -lean_inc(x_1216); -x_1217 = lean_ctor_get(x_1215, 1); -lean_inc(x_1217); -lean_dec(x_1215); -x_1218 = lean_st_ref_take(x_4, x_1209); -x_1219 = lean_ctor_get(x_1218, 0); -lean_inc(x_1219); -x_1220 = lean_ctor_get(x_1218, 1); -lean_inc(x_1220); -lean_dec(x_1218); -x_1221 = !lean_is_exclusive(x_1219); -if (x_1221 == 0) -{ -lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; -x_1222 = lean_ctor_get(x_1219, 5); -lean_dec(x_1222); -lean_ctor_set(x_1219, 5, x_1217); -x_1223 = lean_st_ref_set(x_4, x_1219, x_1220); -x_1224 = lean_ctor_get(x_1223, 1); -lean_inc(x_1224); -lean_dec(x_1223); -x_10 = x_1216; -x_11 = x_1224; -goto block_36; +x_1204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1204, 0, x_1202); +lean_ctor_set(x_1204, 1, x_1203); +return x_1204; +} +} +} } else { -lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; -x_1225 = lean_ctor_get(x_1219, 0); -x_1226 = lean_ctor_get(x_1219, 1); -x_1227 = lean_ctor_get(x_1219, 2); -x_1228 = lean_ctor_get(x_1219, 3); -x_1229 = lean_ctor_get(x_1219, 4); -x_1230 = lean_ctor_get(x_1219, 6); -lean_inc(x_1230); -lean_inc(x_1229); -lean_inc(x_1228); -lean_inc(x_1227); -lean_inc(x_1226); -lean_inc(x_1225); -lean_dec(x_1219); -x_1231 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1231, 0, x_1225); -lean_ctor_set(x_1231, 1, x_1226); -lean_ctor_set(x_1231, 2, x_1227); -lean_ctor_set(x_1231, 3, x_1228); -lean_ctor_set(x_1231, 4, x_1229); -lean_ctor_set(x_1231, 5, x_1217); -lean_ctor_set(x_1231, 6, x_1230); -x_1232 = lean_st_ref_set(x_4, x_1231, x_1220); -x_1233 = lean_ctor_get(x_1232, 1); -lean_inc(x_1233); +lean_object* x_1205; lean_object* x_1206; +x_1205 = l_Lean_Syntax_getArg(x_1057, x_235); +lean_dec(x_1057); +x_1206 = l___private_Lean_Elab_Match_1__expandSimpleMatch(x_1, x_234, x_1155, x_1205, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_1206; +} +} +} +} +} +} +} +} +} +block_1453: +{ +if (x_1229 == 0) +{ +if (x_1228 == 0) +{ +uint8_t x_1230; +lean_dec(x_959); +x_1230 = 0; +x_960 = x_1230; +goto block_1227; +} +else +{ +lean_object* x_1231; lean_object* x_1232; uint8_t x_1233; +x_1231 = l_Lean_Syntax_getArgs(x_959); +lean_dec(x_959); +x_1232 = lean_array_get_size(x_1231); +lean_dec(x_1231); +x_1233 = lean_nat_dec_eq(x_1232, x_85); lean_dec(x_1232); -x_10 = x_1216; -x_11 = x_1233; -goto block_36; +x_960 = x_1233; +goto block_1227; } } else { -lean_object* x_1234; -lean_dec(x_2); -lean_dec(x_1); -x_1234 = lean_ctor_get(x_1215, 0); +lean_object* x_1234; uint8_t x_1235; uint8_t x_1448; +lean_dec(x_959); +x_1234 = l_Lean_Syntax_getArg(x_910, x_85); +lean_dec(x_910); lean_inc(x_1234); -lean_dec(x_1215); -if (lean_obj_tag(x_1234) == 0) +x_1448 = l_Lean_Syntax_isOfKind(x_1234, x_902); +if (x_1448 == 0) { -lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; uint8_t x_1240; -x_1235 = lean_ctor_get(x_1234, 0); -lean_inc(x_1235); -x_1236 = lean_ctor_get(x_1234, 1); -lean_inc(x_1236); -lean_dec(x_1234); -x_1237 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1237, 0, x_1236); -x_1238 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1238, 0, x_1237); -x_1239 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1235, x_1238, x_3, x_4, x_5, x_6, x_7, x_8, x_1209); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1235); -x_1240 = !lean_is_exclusive(x_1239); -if (x_1240 == 0) -{ -return x_1239; +uint8_t x_1449; +x_1449 = 0; +x_1235 = x_1449; +goto block_1447; } else { -lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; -x_1241 = lean_ctor_get(x_1239, 0); -x_1242 = lean_ctor_get(x_1239, 1); -lean_inc(x_1242); +lean_object* x_1450; lean_object* x_1451; uint8_t x_1452; +x_1450 = l_Lean_Syntax_getArgs(x_1234); +x_1451 = lean_array_get_size(x_1450); +lean_dec(x_1450); +x_1452 = lean_nat_dec_eq(x_1451, x_85); +lean_dec(x_1451); +x_1235 = x_1452; +goto block_1447; +} +block_1447: +{ +if (x_1235 == 0) +{ +lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; +lean_dec(x_1234); +lean_dec(x_234); +x_1236 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_1237 = lean_ctor_get(x_1236, 0); +lean_inc(x_1237); +x_1238 = lean_ctor_get(x_1236, 1); +lean_inc(x_1238); +lean_dec(x_1236); +x_1239 = lean_st_ref_get(x_8, x_1238); +x_1240 = lean_ctor_get(x_1239, 0); +lean_inc(x_1240); +x_1241 = lean_ctor_get(x_1239, 1); lean_inc(x_1241); lean_dec(x_1239); -x_1243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1243, 0, x_1241); -lean_ctor_set(x_1243, 1, x_1242); -return x_1243; -} -} -else -{ -lean_object* x_1244; uint8_t x_1245; -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_1244 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_1209); -x_1245 = !lean_is_exclusive(x_1244); -if (x_1245 == 0) -{ -return x_1244; -} -else -{ -lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; -x_1246 = lean_ctor_get(x_1244, 0); -x_1247 = lean_ctor_get(x_1244, 1); -lean_inc(x_1247); +x_1242 = lean_ctor_get(x_1240, 0); +lean_inc(x_1242); +lean_dec(x_1240); +x_1243 = lean_st_ref_get(x_4, x_1241); +x_1244 = lean_ctor_get(x_1243, 0); +lean_inc(x_1244); +x_1245 = lean_ctor_get(x_1243, 1); +lean_inc(x_1245); +lean_dec(x_1243); +x_1246 = lean_ctor_get(x_1244, 3); lean_inc(x_1246); lean_dec(x_1244); -x_1248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1248, 0, x_1246); -lean_ctor_set(x_1248, 1, x_1247); -return x_1248; -} -} -} -} -else -{ -lean_object* x_1249; lean_object* x_1250; -x_1249 = l_Lean_Syntax_getArg(x_1095, x_243); -lean_dec(x_1095); -x_1250 = l___private_Lean_Elab_Match_1__expandSimpleMatch(x_1, x_242, x_1197, x_1249, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_1250; -} -} -} -} -} -} -} -} -} -block_1505: -{ -if (x_1273 == 0) -{ -if (x_1272 == 0) -{ -uint8_t x_1274; -lean_dec(x_993); -x_1274 = 0; -x_994 = x_1274; -goto block_1271; -} -else -{ -lean_object* x_1275; lean_object* x_1276; uint8_t x_1277; -x_1275 = l_Lean_Syntax_getArgs(x_993); -lean_dec(x_993); -x_1276 = lean_array_get_size(x_1275); -lean_dec(x_1275); -x_1277 = lean_nat_dec_eq(x_1276, x_87); -lean_dec(x_1276); -x_994 = x_1277; -goto block_1271; -} -} -else -{ -lean_object* x_1278; uint8_t x_1279; uint8_t x_1500; -lean_dec(x_993); -x_1278 = l_Lean_Syntax_getArg(x_942, x_87); -lean_dec(x_942); -lean_inc(x_1278); -x_1500 = l_Lean_Syntax_isOfKind(x_1278, x_934); -if (x_1500 == 0) -{ -uint8_t x_1501; -x_1501 = 0; -x_1279 = x_1501; -goto block_1499; -} -else -{ -lean_object* x_1502; lean_object* x_1503; uint8_t x_1504; -x_1502 = l_Lean_Syntax_getArgs(x_1278); -x_1503 = lean_array_get_size(x_1502); -lean_dec(x_1502); -x_1504 = lean_nat_dec_eq(x_1503, x_87); -lean_dec(x_1503); -x_1279 = x_1504; -goto block_1499; -} -block_1499: -{ -if (x_1279 == 0) -{ -lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; -lean_dec(x_1278); -lean_dec(x_242); -x_1280 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_1281 = lean_ctor_get(x_1280, 0); -lean_inc(x_1281); -x_1282 = lean_ctor_get(x_1280, 1); -lean_inc(x_1282); -lean_dec(x_1280); -x_1283 = lean_st_ref_get(x_8, x_1282); -x_1284 = lean_ctor_get(x_1283, 0); -lean_inc(x_1284); -x_1285 = lean_ctor_get(x_1283, 1); -lean_inc(x_1285); -lean_dec(x_1283); -x_1286 = lean_ctor_get(x_1284, 0); -lean_inc(x_1286); -lean_dec(x_1284); -x_1287 = lean_st_ref_get(x_4, x_1285); -x_1288 = lean_ctor_get(x_1287, 0); -lean_inc(x_1288); -x_1289 = lean_ctor_get(x_1287, 1); -lean_inc(x_1289); -lean_dec(x_1287); -x_1290 = lean_ctor_get(x_1288, 5); -lean_inc(x_1290); -lean_dec(x_1288); -x_1291 = lean_ctor_get(x_7, 1); -lean_inc(x_1291); -x_1292 = lean_ctor_get(x_7, 2); -lean_inc(x_1292); -x_1293 = lean_environment_main_module(x_1286); -x_1294 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1294, 0, x_1293); -lean_ctor_set(x_1294, 1, x_1281); -lean_ctor_set(x_1294, 2, x_1291); -lean_ctor_set(x_1294, 3, x_1292); +x_1247 = lean_ctor_get(x_7, 1); +lean_inc(x_1247); +x_1248 = lean_ctor_get(x_7, 2); +lean_inc(x_1248); +x_1249 = lean_environment_main_module(x_1242); +x_1250 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1250, 0, x_1249); +lean_ctor_set(x_1250, 1, x_1237); +lean_ctor_set(x_1250, 2, x_1247); +lean_ctor_set(x_1250, 3, x_1248); lean_inc(x_1); -x_1295 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_1294, x_1290); -if (lean_obj_tag(x_1295) == 0) +x_1251 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_1250, x_1246); +if (lean_obj_tag(x_1251) == 0) { -lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; uint8_t x_1301; -x_1296 = lean_ctor_get(x_1295, 0); -lean_inc(x_1296); -x_1297 = lean_ctor_get(x_1295, 1); -lean_inc(x_1297); -lean_dec(x_1295); -x_1298 = lean_st_ref_take(x_4, x_1289); -x_1299 = lean_ctor_get(x_1298, 0); -lean_inc(x_1299); -x_1300 = lean_ctor_get(x_1298, 1); -lean_inc(x_1300); -lean_dec(x_1298); -x_1301 = !lean_is_exclusive(x_1299); -if (x_1301 == 0) +lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; uint8_t x_1257; +x_1252 = lean_ctor_get(x_1251, 0); +lean_inc(x_1252); +x_1253 = lean_ctor_get(x_1251, 1); +lean_inc(x_1253); +lean_dec(x_1251); +x_1254 = lean_st_ref_take(x_4, x_1245); +x_1255 = lean_ctor_get(x_1254, 0); +lean_inc(x_1255); +x_1256 = lean_ctor_get(x_1254, 1); +lean_inc(x_1256); +lean_dec(x_1254); +x_1257 = !lean_is_exclusive(x_1255); +if (x_1257 == 0) { -lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; -x_1302 = lean_ctor_get(x_1299, 5); -lean_dec(x_1302); -lean_ctor_set(x_1299, 5, x_1297); -x_1303 = lean_st_ref_set(x_4, x_1299, x_1300); -x_1304 = lean_ctor_get(x_1303, 1); -lean_inc(x_1304); -lean_dec(x_1303); -x_10 = x_1296; -x_11 = x_1304; +lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; +x_1258 = lean_ctor_get(x_1255, 3); +lean_dec(x_1258); +lean_ctor_set(x_1255, 3, x_1253); +x_1259 = lean_st_ref_set(x_4, x_1255, x_1256); +x_1260 = lean_ctor_get(x_1259, 1); +lean_inc(x_1260); +lean_dec(x_1259); +x_10 = x_1252; +x_11 = x_1260; goto block_36; } else { -lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; -x_1305 = lean_ctor_get(x_1299, 0); -x_1306 = lean_ctor_get(x_1299, 1); -x_1307 = lean_ctor_get(x_1299, 2); -x_1308 = lean_ctor_get(x_1299, 3); -x_1309 = lean_ctor_get(x_1299, 4); -x_1310 = lean_ctor_get(x_1299, 6); -lean_inc(x_1310); -lean_inc(x_1309); -lean_inc(x_1308); -lean_inc(x_1307); -lean_inc(x_1306); -lean_inc(x_1305); -lean_dec(x_1299); -x_1311 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1311, 0, x_1305); -lean_ctor_set(x_1311, 1, x_1306); -lean_ctor_set(x_1311, 2, x_1307); -lean_ctor_set(x_1311, 3, x_1308); -lean_ctor_set(x_1311, 4, x_1309); -lean_ctor_set(x_1311, 5, x_1297); -lean_ctor_set(x_1311, 6, x_1310); -x_1312 = lean_st_ref_set(x_4, x_1311, x_1300); -x_1313 = lean_ctor_get(x_1312, 1); -lean_inc(x_1313); -lean_dec(x_1312); -x_10 = x_1296; -x_11 = x_1313; +lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; +x_1261 = lean_ctor_get(x_1255, 0); +x_1262 = lean_ctor_get(x_1255, 1); +x_1263 = lean_ctor_get(x_1255, 2); +x_1264 = lean_ctor_get(x_1255, 4); +lean_inc(x_1264); +lean_inc(x_1263); +lean_inc(x_1262); +lean_inc(x_1261); +lean_dec(x_1255); +x_1265 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_1265, 0, x_1261); +lean_ctor_set(x_1265, 1, x_1262); +lean_ctor_set(x_1265, 2, x_1263); +lean_ctor_set(x_1265, 3, x_1253); +lean_ctor_set(x_1265, 4, x_1264); +x_1266 = lean_st_ref_set(x_4, x_1265, x_1256); +x_1267 = lean_ctor_get(x_1266, 1); +lean_inc(x_1267); +lean_dec(x_1266); +x_10 = x_1252; +x_11 = x_1267; goto block_36; } } else { -lean_object* x_1314; +lean_object* x_1268; lean_dec(x_2); lean_dec(x_1); -x_1314 = lean_ctor_get(x_1295, 0); -lean_inc(x_1314); -lean_dec(x_1295); -if (lean_obj_tag(x_1314) == 0) +x_1268 = lean_ctor_get(x_1251, 0); +lean_inc(x_1268); +lean_dec(x_1251); +if (lean_obj_tag(x_1268) == 0) { -lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; uint8_t x_1320; -x_1315 = lean_ctor_get(x_1314, 0); -lean_inc(x_1315); -x_1316 = lean_ctor_get(x_1314, 1); -lean_inc(x_1316); -lean_dec(x_1314); -x_1317 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1317, 0, x_1316); -x_1318 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1318, 0, x_1317); -x_1319 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1315, x_1318, x_3, x_4, x_5, x_6, x_7, x_8, x_1289); +lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; uint8_t x_1274; +x_1269 = lean_ctor_get(x_1268, 0); +lean_inc(x_1269); +x_1270 = lean_ctor_get(x_1268, 1); +lean_inc(x_1270); +lean_dec(x_1268); +x_1271 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1271, 0, x_1270); +x_1272 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1272, 0, x_1271); +x_1273 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1269, x_1272, x_3, x_4, x_5, x_6, x_7, x_8, x_1245); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1315); -x_1320 = !lean_is_exclusive(x_1319); -if (x_1320 == 0) +lean_dec(x_1269); +x_1274 = !lean_is_exclusive(x_1273); +if (x_1274 == 0) { -return x_1319; +return x_1273; } else { -lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; -x_1321 = lean_ctor_get(x_1319, 0); -x_1322 = lean_ctor_get(x_1319, 1); -lean_inc(x_1322); -lean_inc(x_1321); -lean_dec(x_1319); -x_1323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1323, 0, x_1321); -lean_ctor_set(x_1323, 1, x_1322); -return x_1323; +lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; +x_1275 = lean_ctor_get(x_1273, 0); +x_1276 = lean_ctor_get(x_1273, 1); +lean_inc(x_1276); +lean_inc(x_1275); +lean_dec(x_1273); +x_1277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1277, 0, x_1275); +lean_ctor_set(x_1277, 1, x_1276); +return x_1277; } } else { -lean_object* x_1324; uint8_t x_1325; +lean_object* x_1278; uint8_t x_1279; 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_1324 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_1289); -x_1325 = !lean_is_exclusive(x_1324); -if (x_1325 == 0) +x_1278 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_1245); +x_1279 = !lean_is_exclusive(x_1278); +if (x_1279 == 0) { -return x_1324; +return x_1278; } else { -lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; -x_1326 = lean_ctor_get(x_1324, 0); -x_1327 = lean_ctor_get(x_1324, 1); -lean_inc(x_1327); -lean_inc(x_1326); -lean_dec(x_1324); -x_1328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1328, 0, x_1326); -lean_ctor_set(x_1328, 1, x_1327); -return x_1328; -} -} -} -} -else -{ -lean_object* x_1329; uint8_t x_1330; lean_object* x_1492; uint8_t x_1493; -x_1329 = l_Lean_Syntax_getArg(x_1278, x_139); +lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; +x_1280 = lean_ctor_get(x_1278, 0); +x_1281 = lean_ctor_get(x_1278, 1); +lean_inc(x_1281); +lean_inc(x_1280); lean_dec(x_1278); -x_1492 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -lean_inc(x_1329); -x_1493 = l_Lean_Syntax_isOfKind(x_1329, x_1492); -if (x_1493 == 0) -{ -uint8_t x_1494; -x_1494 = 0; -x_1330 = x_1494; -goto block_1491; +x_1282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1282, 0, x_1280); +lean_ctor_set(x_1282, 1, x_1281); +return x_1282; +} +} +} } else { -lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; uint8_t x_1498; -x_1495 = l_Lean_Syntax_getArgs(x_1329); -x_1496 = lean_array_get_size(x_1495); -lean_dec(x_1495); -x_1497 = lean_unsigned_to_nat(3u); -x_1498 = lean_nat_dec_eq(x_1496, x_1497); -lean_dec(x_1496); -x_1330 = x_1498; -goto block_1491; +lean_object* x_1283; uint8_t x_1284; lean_object* x_1440; uint8_t x_1441; +x_1283 = l_Lean_Syntax_getArg(x_1234, x_135); +lean_dec(x_1234); +x_1440 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +lean_inc(x_1283); +x_1441 = l_Lean_Syntax_isOfKind(x_1283, x_1440); +if (x_1441 == 0) +{ +uint8_t x_1442; +x_1442 = 0; +x_1284 = x_1442; +goto block_1439; } -block_1491: +else { -if (x_1330 == 0) +lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; uint8_t x_1446; +x_1443 = l_Lean_Syntax_getArgs(x_1283); +x_1444 = lean_array_get_size(x_1443); +lean_dec(x_1443); +x_1445 = lean_unsigned_to_nat(3u); +x_1446 = lean_nat_dec_eq(x_1444, x_1445); +lean_dec(x_1444); +x_1284 = x_1446; +goto block_1439; +} +block_1439: { -lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; -lean_dec(x_1329); -lean_dec(x_242); -x_1331 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_1332 = lean_ctor_get(x_1331, 0); +if (x_1284 == 0) +{ +lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; +lean_dec(x_1283); +lean_dec(x_234); +x_1285 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_1286 = lean_ctor_get(x_1285, 0); +lean_inc(x_1286); +x_1287 = lean_ctor_get(x_1285, 1); +lean_inc(x_1287); +lean_dec(x_1285); +x_1288 = lean_st_ref_get(x_8, x_1287); +x_1289 = lean_ctor_get(x_1288, 0); +lean_inc(x_1289); +x_1290 = lean_ctor_get(x_1288, 1); +lean_inc(x_1290); +lean_dec(x_1288); +x_1291 = lean_ctor_get(x_1289, 0); +lean_inc(x_1291); +lean_dec(x_1289); +x_1292 = lean_st_ref_get(x_4, x_1290); +x_1293 = lean_ctor_get(x_1292, 0); +lean_inc(x_1293); +x_1294 = lean_ctor_get(x_1292, 1); +lean_inc(x_1294); +lean_dec(x_1292); +x_1295 = lean_ctor_get(x_1293, 3); +lean_inc(x_1295); +lean_dec(x_1293); +x_1296 = lean_ctor_get(x_7, 1); +lean_inc(x_1296); +x_1297 = lean_ctor_get(x_7, 2); +lean_inc(x_1297); +x_1298 = lean_environment_main_module(x_1291); +x_1299 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1299, 0, x_1298); +lean_ctor_set(x_1299, 1, x_1286); +lean_ctor_set(x_1299, 2, x_1296); +lean_ctor_set(x_1299, 3, x_1297); +lean_inc(x_1); +x_1300 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_1299, x_1295); +if (lean_obj_tag(x_1300) == 0) +{ +lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; uint8_t x_1306; +x_1301 = lean_ctor_get(x_1300, 0); +lean_inc(x_1301); +x_1302 = lean_ctor_get(x_1300, 1); +lean_inc(x_1302); +lean_dec(x_1300); +x_1303 = lean_st_ref_take(x_4, x_1294); +x_1304 = lean_ctor_get(x_1303, 0); +lean_inc(x_1304); +x_1305 = lean_ctor_get(x_1303, 1); +lean_inc(x_1305); +lean_dec(x_1303); +x_1306 = !lean_is_exclusive(x_1304); +if (x_1306 == 0) +{ +lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; +x_1307 = lean_ctor_get(x_1304, 3); +lean_dec(x_1307); +lean_ctor_set(x_1304, 3, x_1302); +x_1308 = lean_st_ref_set(x_4, x_1304, x_1305); +x_1309 = lean_ctor_get(x_1308, 1); +lean_inc(x_1309); +lean_dec(x_1308); +x_10 = x_1301; +x_11 = x_1309; +goto block_36; +} +else +{ +lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; +x_1310 = lean_ctor_get(x_1304, 0); +x_1311 = lean_ctor_get(x_1304, 1); +x_1312 = lean_ctor_get(x_1304, 2); +x_1313 = lean_ctor_get(x_1304, 4); +lean_inc(x_1313); +lean_inc(x_1312); +lean_inc(x_1311); +lean_inc(x_1310); +lean_dec(x_1304); +x_1314 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_1314, 0, x_1310); +lean_ctor_set(x_1314, 1, x_1311); +lean_ctor_set(x_1314, 2, x_1312); +lean_ctor_set(x_1314, 3, x_1302); +lean_ctor_set(x_1314, 4, x_1313); +x_1315 = lean_st_ref_set(x_4, x_1314, x_1305); +x_1316 = lean_ctor_get(x_1315, 1); +lean_inc(x_1316); +lean_dec(x_1315); +x_10 = x_1301; +x_11 = x_1316; +goto block_36; +} +} +else +{ +lean_object* x_1317; +lean_dec(x_2); +lean_dec(x_1); +x_1317 = lean_ctor_get(x_1300, 0); +lean_inc(x_1317); +lean_dec(x_1300); +if (lean_obj_tag(x_1317) == 0) +{ +lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; uint8_t x_1323; +x_1318 = lean_ctor_get(x_1317, 0); +lean_inc(x_1318); +x_1319 = lean_ctor_get(x_1317, 1); +lean_inc(x_1319); +lean_dec(x_1317); +x_1320 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1320, 0, x_1319); +x_1321 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1321, 0, x_1320); +x_1322 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1318, x_1321, x_3, x_4, x_5, x_6, x_7, x_8, x_1294); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1318); +x_1323 = !lean_is_exclusive(x_1322); +if (x_1323 == 0) +{ +return x_1322; +} +else +{ +lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; +x_1324 = lean_ctor_get(x_1322, 0); +x_1325 = lean_ctor_get(x_1322, 1); +lean_inc(x_1325); +lean_inc(x_1324); +lean_dec(x_1322); +x_1326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1326, 0, x_1324); +lean_ctor_set(x_1326, 1, x_1325); +return x_1326; +} +} +else +{ +lean_object* x_1327; uint8_t x_1328; +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_1327 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_1294); +x_1328 = !lean_is_exclusive(x_1327); +if (x_1328 == 0) +{ +return x_1327; +} +else +{ +lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; +x_1329 = lean_ctor_get(x_1327, 0); +x_1330 = lean_ctor_get(x_1327, 1); +lean_inc(x_1330); +lean_inc(x_1329); +lean_dec(x_1327); +x_1331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1331, 0, x_1329); +lean_ctor_set(x_1331, 1, x_1330); +return x_1331; +} +} +} +} +else +{ +lean_object* x_1332; uint8_t x_1333; uint8_t x_1434; +x_1332 = l_Lean_Syntax_getArg(x_1283, x_135); lean_inc(x_1332); -x_1333 = lean_ctor_get(x_1331, 1); -lean_inc(x_1333); -lean_dec(x_1331); -x_1334 = lean_st_ref_get(x_8, x_1333); +x_1434 = l_Lean_Syntax_isOfKind(x_1332, x_902); +if (x_1434 == 0) +{ +uint8_t x_1435; +x_1435 = 0; +x_1333 = x_1435; +goto block_1433; +} +else +{ +lean_object* x_1436; lean_object* x_1437; uint8_t x_1438; +x_1436 = l_Lean_Syntax_getArgs(x_1332); +x_1437 = lean_array_get_size(x_1436); +lean_dec(x_1436); +x_1438 = lean_nat_dec_eq(x_1437, x_85); +lean_dec(x_1437); +x_1333 = x_1438; +goto block_1433; +} +block_1433: +{ +if (x_1333 == 0) +{ +lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; +lean_dec(x_1332); +lean_dec(x_1283); +lean_dec(x_234); +x_1334 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_1335 = lean_ctor_get(x_1334, 0); lean_inc(x_1335); x_1336 = lean_ctor_get(x_1334, 1); lean_inc(x_1336); lean_dec(x_1334); -x_1337 = lean_ctor_get(x_1335, 0); -lean_inc(x_1337); -lean_dec(x_1335); -x_1338 = lean_st_ref_get(x_4, x_1336); -x_1339 = lean_ctor_get(x_1338, 0); +x_1337 = lean_st_ref_get(x_8, x_1336); +x_1338 = lean_ctor_get(x_1337, 0); +lean_inc(x_1338); +x_1339 = lean_ctor_get(x_1337, 1); lean_inc(x_1339); -x_1340 = lean_ctor_get(x_1338, 1); +lean_dec(x_1337); +x_1340 = lean_ctor_get(x_1338, 0); lean_inc(x_1340); lean_dec(x_1338); -x_1341 = lean_ctor_get(x_1339, 5); -lean_inc(x_1341); -lean_dec(x_1339); -x_1342 = lean_ctor_get(x_7, 1); +x_1341 = lean_st_ref_get(x_4, x_1339); +x_1342 = lean_ctor_get(x_1341, 0); lean_inc(x_1342); -x_1343 = lean_ctor_get(x_7, 2); +x_1343 = lean_ctor_get(x_1341, 1); lean_inc(x_1343); -x_1344 = lean_environment_main_module(x_1337); -x_1345 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1345, 0, x_1344); -lean_ctor_set(x_1345, 1, x_1332); -lean_ctor_set(x_1345, 2, x_1342); -lean_ctor_set(x_1345, 3, x_1343); +lean_dec(x_1341); +x_1344 = lean_ctor_get(x_1342, 3); +lean_inc(x_1344); +lean_dec(x_1342); +x_1345 = lean_ctor_get(x_7, 1); +lean_inc(x_1345); +x_1346 = lean_ctor_get(x_7, 2); +lean_inc(x_1346); +x_1347 = lean_environment_main_module(x_1340); +x_1348 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1348, 0, x_1347); +lean_ctor_set(x_1348, 1, x_1335); +lean_ctor_set(x_1348, 2, x_1345); +lean_ctor_set(x_1348, 3, x_1346); lean_inc(x_1); -x_1346 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_1345, x_1341); -if (lean_obj_tag(x_1346) == 0) +x_1349 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_1348, x_1344); +if (lean_obj_tag(x_1349) == 0) { -lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; uint8_t x_1352; -x_1347 = lean_ctor_get(x_1346, 0); -lean_inc(x_1347); -x_1348 = lean_ctor_get(x_1346, 1); -lean_inc(x_1348); -lean_dec(x_1346); -x_1349 = lean_st_ref_take(x_4, x_1340); +lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; uint8_t x_1355; x_1350 = lean_ctor_get(x_1349, 0); lean_inc(x_1350); x_1351 = lean_ctor_get(x_1349, 1); lean_inc(x_1351); lean_dec(x_1349); -x_1352 = !lean_is_exclusive(x_1350); -if (x_1352 == 0) +x_1352 = lean_st_ref_take(x_4, x_1343); +x_1353 = lean_ctor_get(x_1352, 0); +lean_inc(x_1353); +x_1354 = lean_ctor_get(x_1352, 1); +lean_inc(x_1354); +lean_dec(x_1352); +x_1355 = !lean_is_exclusive(x_1353); +if (x_1355 == 0) { -lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; -x_1353 = lean_ctor_get(x_1350, 5); -lean_dec(x_1353); -lean_ctor_set(x_1350, 5, x_1348); -x_1354 = lean_st_ref_set(x_4, x_1350, x_1351); -x_1355 = lean_ctor_get(x_1354, 1); -lean_inc(x_1355); -lean_dec(x_1354); -x_10 = x_1347; -x_11 = x_1355; +lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; +x_1356 = lean_ctor_get(x_1353, 3); +lean_dec(x_1356); +lean_ctor_set(x_1353, 3, x_1351); +x_1357 = lean_st_ref_set(x_4, x_1353, x_1354); +x_1358 = lean_ctor_get(x_1357, 1); +lean_inc(x_1358); +lean_dec(x_1357); +x_10 = x_1350; +x_11 = x_1358; goto block_36; } else { -lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; -x_1356 = lean_ctor_get(x_1350, 0); -x_1357 = lean_ctor_get(x_1350, 1); -x_1358 = lean_ctor_get(x_1350, 2); -x_1359 = lean_ctor_get(x_1350, 3); -x_1360 = lean_ctor_get(x_1350, 4); -x_1361 = lean_ctor_get(x_1350, 6); +lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; +x_1359 = lean_ctor_get(x_1353, 0); +x_1360 = lean_ctor_get(x_1353, 1); +x_1361 = lean_ctor_get(x_1353, 2); +x_1362 = lean_ctor_get(x_1353, 4); +lean_inc(x_1362); lean_inc(x_1361); lean_inc(x_1360); lean_inc(x_1359); -lean_inc(x_1358); -lean_inc(x_1357); -lean_inc(x_1356); -lean_dec(x_1350); -x_1362 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1362, 0, x_1356); -lean_ctor_set(x_1362, 1, x_1357); -lean_ctor_set(x_1362, 2, x_1358); -lean_ctor_set(x_1362, 3, x_1359); -lean_ctor_set(x_1362, 4, x_1360); -lean_ctor_set(x_1362, 5, x_1348); -lean_ctor_set(x_1362, 6, x_1361); -x_1363 = lean_st_ref_set(x_4, x_1362, x_1351); -x_1364 = lean_ctor_get(x_1363, 1); -lean_inc(x_1364); -lean_dec(x_1363); -x_10 = x_1347; -x_11 = x_1364; +lean_dec(x_1353); +x_1363 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_1363, 0, x_1359); +lean_ctor_set(x_1363, 1, x_1360); +lean_ctor_set(x_1363, 2, x_1361); +lean_ctor_set(x_1363, 3, x_1351); +lean_ctor_set(x_1363, 4, x_1362); +x_1364 = lean_st_ref_set(x_4, x_1363, x_1354); +x_1365 = lean_ctor_get(x_1364, 1); +lean_inc(x_1365); +lean_dec(x_1364); +x_10 = x_1350; +x_11 = x_1365; goto block_36; } } else { -lean_object* x_1365; +lean_object* x_1366; lean_dec(x_2); lean_dec(x_1); -x_1365 = lean_ctor_get(x_1346, 0); -lean_inc(x_1365); -lean_dec(x_1346); -if (lean_obj_tag(x_1365) == 0) -{ -lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; uint8_t x_1371; -x_1366 = lean_ctor_get(x_1365, 0); +x_1366 = lean_ctor_get(x_1349, 0); lean_inc(x_1366); -x_1367 = lean_ctor_get(x_1365, 1); +lean_dec(x_1349); +if (lean_obj_tag(x_1366) == 0) +{ +lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; uint8_t x_1372; +x_1367 = lean_ctor_get(x_1366, 0); lean_inc(x_1367); -lean_dec(x_1365); -x_1368 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1368, 0, x_1367); -x_1369 = lean_alloc_ctor(0, 1, 0); +x_1368 = lean_ctor_get(x_1366, 1); +lean_inc(x_1368); +lean_dec(x_1366); +x_1369 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_1369, 0, x_1368); -x_1370 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1366, x_1369, x_3, x_4, x_5, x_6, x_7, x_8, x_1340); +x_1370 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1370, 0, x_1369); +x_1371 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1367, x_1370, x_3, x_4, x_5, x_6, x_7, x_8, x_1343); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1366); -x_1371 = !lean_is_exclusive(x_1370); -if (x_1371 == 0) +lean_dec(x_1367); +x_1372 = !lean_is_exclusive(x_1371); +if (x_1372 == 0) { -return x_1370; +return x_1371; } else { -lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; -x_1372 = lean_ctor_get(x_1370, 0); -x_1373 = lean_ctor_get(x_1370, 1); +lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; +x_1373 = lean_ctor_get(x_1371, 0); +x_1374 = lean_ctor_get(x_1371, 1); +lean_inc(x_1374); lean_inc(x_1373); -lean_inc(x_1372); -lean_dec(x_1370); -x_1374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1374, 0, x_1372); -lean_ctor_set(x_1374, 1, x_1373); -return x_1374; +lean_dec(x_1371); +x_1375 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1375, 0, x_1373); +lean_ctor_set(x_1375, 1, x_1374); +return x_1375; } } else { -lean_object* x_1375; uint8_t x_1376; +lean_object* x_1376; uint8_t x_1377; 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_1375 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_1340); -x_1376 = !lean_is_exclusive(x_1375); -if (x_1376 == 0) +x_1376 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_1343); +x_1377 = !lean_is_exclusive(x_1376); +if (x_1377 == 0) { -return x_1375; +return x_1376; } else { -lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; -x_1377 = lean_ctor_get(x_1375, 0); -x_1378 = lean_ctor_get(x_1375, 1); +lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; +x_1378 = lean_ctor_get(x_1376, 0); +x_1379 = lean_ctor_get(x_1376, 1); +lean_inc(x_1379); lean_inc(x_1378); -lean_inc(x_1377); -lean_dec(x_1375); -x_1379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1379, 0, x_1377); -lean_ctor_set(x_1379, 1, x_1378); -return x_1379; +lean_dec(x_1376); +x_1380 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1380, 0, x_1378); +lean_ctor_set(x_1380, 1, x_1379); +return x_1380; } } } } else { -lean_object* x_1380; uint8_t x_1381; uint8_t x_1486; -x_1380 = l_Lean_Syntax_getArg(x_1329, x_139); -lean_inc(x_1380); -x_1486 = l_Lean_Syntax_isOfKind(x_1380, x_934); -if (x_1486 == 0) +lean_object* x_1381; lean_object* x_1382; uint8_t x_1383; +x_1381 = l_Lean_Syntax_getArg(x_1332, x_135); +lean_dec(x_1332); +x_1382 = l_Lean_identKind___closed__2; +lean_inc(x_1381); +x_1383 = l_Lean_Syntax_isOfKind(x_1381, x_1382); +if (x_1383 == 0) { -uint8_t x_1487; -x_1487 = 0; -x_1381 = x_1487; -goto block_1485; -} -else -{ -lean_object* x_1488; lean_object* x_1489; uint8_t x_1490; -x_1488 = l_Lean_Syntax_getArgs(x_1380); -x_1489 = lean_array_get_size(x_1488); -lean_dec(x_1488); -x_1490 = lean_nat_dec_eq(x_1489, x_87); -lean_dec(x_1489); -x_1381 = x_1490; -goto block_1485; -} -block_1485: -{ -if (x_1381 == 0) -{ -lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; -lean_dec(x_1380); -lean_dec(x_1329); -lean_dec(x_242); -x_1382 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_1383 = lean_ctor_get(x_1382, 0); -lean_inc(x_1383); -x_1384 = lean_ctor_get(x_1382, 1); -lean_inc(x_1384); -lean_dec(x_1382); -x_1385 = lean_st_ref_get(x_8, x_1384); -x_1386 = lean_ctor_get(x_1385, 0); +lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; +lean_dec(x_1381); +lean_dec(x_1283); +lean_dec(x_234); +x_1384 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_1385 = lean_ctor_get(x_1384, 0); +lean_inc(x_1385); +x_1386 = lean_ctor_get(x_1384, 1); lean_inc(x_1386); -x_1387 = lean_ctor_get(x_1385, 1); -lean_inc(x_1387); -lean_dec(x_1385); -x_1388 = lean_ctor_get(x_1386, 0); +lean_dec(x_1384); +x_1387 = lean_st_ref_get(x_8, x_1386); +x_1388 = lean_ctor_get(x_1387, 0); lean_inc(x_1388); -lean_dec(x_1386); -x_1389 = lean_st_ref_get(x_4, x_1387); -x_1390 = lean_ctor_get(x_1389, 0); +x_1389 = lean_ctor_get(x_1387, 1); +lean_inc(x_1389); +lean_dec(x_1387); +x_1390 = lean_ctor_get(x_1388, 0); lean_inc(x_1390); -x_1391 = lean_ctor_get(x_1389, 1); -lean_inc(x_1391); -lean_dec(x_1389); -x_1392 = lean_ctor_get(x_1390, 5); +lean_dec(x_1388); +x_1391 = lean_st_ref_get(x_4, x_1389); +x_1392 = lean_ctor_get(x_1391, 0); lean_inc(x_1392); -lean_dec(x_1390); -x_1393 = lean_ctor_get(x_7, 1); +x_1393 = lean_ctor_get(x_1391, 1); lean_inc(x_1393); -x_1394 = lean_ctor_get(x_7, 2); +lean_dec(x_1391); +x_1394 = lean_ctor_get(x_1392, 3); lean_inc(x_1394); -x_1395 = lean_environment_main_module(x_1388); -x_1396 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1396, 0, x_1395); -lean_ctor_set(x_1396, 1, x_1383); -lean_ctor_set(x_1396, 2, x_1393); -lean_ctor_set(x_1396, 3, x_1394); +lean_dec(x_1392); +x_1395 = lean_ctor_get(x_7, 1); +lean_inc(x_1395); +x_1396 = lean_ctor_get(x_7, 2); +lean_inc(x_1396); +x_1397 = lean_environment_main_module(x_1390); +x_1398 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1398, 0, x_1397); +lean_ctor_set(x_1398, 1, x_1385); +lean_ctor_set(x_1398, 2, x_1395); +lean_ctor_set(x_1398, 3, x_1396); lean_inc(x_1); -x_1397 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_1396, x_1392); -if (lean_obj_tag(x_1397) == 0) +x_1399 = l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f(x_1, x_1398, x_1394); +if (lean_obj_tag(x_1399) == 0) { -lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; uint8_t x_1403; -x_1398 = lean_ctor_get(x_1397, 0); -lean_inc(x_1398); -x_1399 = lean_ctor_get(x_1397, 1); -lean_inc(x_1399); -lean_dec(x_1397); -x_1400 = lean_st_ref_take(x_4, x_1391); -x_1401 = lean_ctor_get(x_1400, 0); +lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; uint8_t x_1405; +x_1400 = lean_ctor_get(x_1399, 0); +lean_inc(x_1400); +x_1401 = lean_ctor_get(x_1399, 1); lean_inc(x_1401); -x_1402 = lean_ctor_get(x_1400, 1); -lean_inc(x_1402); -lean_dec(x_1400); -x_1403 = !lean_is_exclusive(x_1401); -if (x_1403 == 0) +lean_dec(x_1399); +x_1402 = lean_st_ref_take(x_4, x_1393); +x_1403 = lean_ctor_get(x_1402, 0); +lean_inc(x_1403); +x_1404 = lean_ctor_get(x_1402, 1); +lean_inc(x_1404); +lean_dec(x_1402); +x_1405 = !lean_is_exclusive(x_1403); +if (x_1405 == 0) { -lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; -x_1404 = lean_ctor_get(x_1401, 5); -lean_dec(x_1404); -lean_ctor_set(x_1401, 5, x_1399); -x_1405 = lean_st_ref_set(x_4, x_1401, x_1402); -x_1406 = lean_ctor_get(x_1405, 1); -lean_inc(x_1406); -lean_dec(x_1405); -x_10 = x_1398; -x_11 = x_1406; +lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; +x_1406 = lean_ctor_get(x_1403, 3); +lean_dec(x_1406); +lean_ctor_set(x_1403, 3, x_1401); +x_1407 = lean_st_ref_set(x_4, x_1403, x_1404); +x_1408 = lean_ctor_get(x_1407, 1); +lean_inc(x_1408); +lean_dec(x_1407); +x_10 = x_1400; +x_11 = x_1408; goto block_36; } else { -lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; -x_1407 = lean_ctor_get(x_1401, 0); -x_1408 = lean_ctor_get(x_1401, 1); -x_1409 = lean_ctor_get(x_1401, 2); -x_1410 = lean_ctor_get(x_1401, 3); -x_1411 = lean_ctor_get(x_1401, 4); -x_1412 = lean_ctor_get(x_1401, 6); +lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; +x_1409 = lean_ctor_get(x_1403, 0); +x_1410 = lean_ctor_get(x_1403, 1); +x_1411 = lean_ctor_get(x_1403, 2); +x_1412 = lean_ctor_get(x_1403, 4); lean_inc(x_1412); lean_inc(x_1411); lean_inc(x_1410); lean_inc(x_1409); -lean_inc(x_1408); -lean_inc(x_1407); -lean_dec(x_1401); -x_1413 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1413, 0, x_1407); -lean_ctor_set(x_1413, 1, x_1408); -lean_ctor_set(x_1413, 2, x_1409); -lean_ctor_set(x_1413, 3, x_1410); -lean_ctor_set(x_1413, 4, x_1411); -lean_ctor_set(x_1413, 5, x_1399); -lean_ctor_set(x_1413, 6, x_1412); -x_1414 = lean_st_ref_set(x_4, x_1413, x_1402); +lean_dec(x_1403); +x_1413 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_1413, 0, x_1409); +lean_ctor_set(x_1413, 1, x_1410); +lean_ctor_set(x_1413, 2, x_1411); +lean_ctor_set(x_1413, 3, x_1401); +lean_ctor_set(x_1413, 4, x_1412); +x_1414 = lean_st_ref_set(x_4, x_1413, x_1404); x_1415 = lean_ctor_get(x_1414, 1); lean_inc(x_1415); lean_dec(x_1414); -x_10 = x_1398; +x_10 = x_1400; x_11 = x_1415; goto block_36; } @@ -29209,9 +29691,9 @@ else lean_object* x_1416; lean_dec(x_2); lean_dec(x_1); -x_1416 = lean_ctor_get(x_1397, 0); +x_1416 = lean_ctor_get(x_1399, 0); lean_inc(x_1416); -lean_dec(x_1397); +lean_dec(x_1399); if (lean_obj_tag(x_1416) == 0) { lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; uint8_t x_1422; @@ -29224,7 +29706,7 @@ x_1419 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_1419, 0, x_1418); x_1420 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_1420, 0, x_1419); -x_1421 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1417, x_1420, x_3, x_4, x_5, x_6, x_7, x_8, x_1391); +x_1421 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1417, x_1420, x_3, x_4, x_5, x_6, x_7, x_8, x_1393); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -29259,7 +29741,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1426 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_1391); +x_1426 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_1393); x_1427 = !lean_is_exclusive(x_1426); if (x_1427 == 0) { @@ -29283,200 +29765,11 @@ return x_1430; } else { -lean_object* x_1431; lean_object* x_1432; uint8_t x_1433; -x_1431 = l_Lean_Syntax_getArg(x_1380, x_139); -lean_dec(x_1380); -x_1432 = l_Lean_identKind___closed__2; -lean_inc(x_1431); -x_1433 = l_Lean_Syntax_isOfKind(x_1431, x_1432); -if (x_1433 == 0) -{ -lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; -lean_dec(x_1431); -lean_dec(x_1329); -lean_dec(x_242); -x_1434 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_1435 = lean_ctor_get(x_1434, 0); -lean_inc(x_1435); -x_1436 = lean_ctor_get(x_1434, 1); -lean_inc(x_1436); -lean_dec(x_1434); -x_1437 = lean_st_ref_get(x_8, x_1436); -x_1438 = lean_ctor_get(x_1437, 0); -lean_inc(x_1438); -x_1439 = lean_ctor_get(x_1437, 1); -lean_inc(x_1439); -lean_dec(x_1437); -x_1440 = lean_ctor_get(x_1438, 0); -lean_inc(x_1440); -lean_dec(x_1438); -x_1441 = lean_st_ref_get(x_4, x_1439); -x_1442 = lean_ctor_get(x_1441, 0); -lean_inc(x_1442); -x_1443 = lean_ctor_get(x_1441, 1); -lean_inc(x_1443); -lean_dec(x_1441); -x_1444 = lean_ctor_get(x_1442, 5); -lean_inc(x_1444); -lean_dec(x_1442); -x_1445 = lean_ctor_get(x_7, 1); -lean_inc(x_1445); -x_1446 = lean_ctor_get(x_7, 2); -lean_inc(x_1446); -x_1447 = lean_environment_main_module(x_1440); -x_1448 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1448, 0, x_1447); -lean_ctor_set(x_1448, 1, x_1435); -lean_ctor_set(x_1448, 2, x_1445); -lean_ctor_set(x_1448, 3, x_1446); -lean_inc(x_1); -x_1449 = l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f(x_1, x_1448, x_1444); -if (lean_obj_tag(x_1449) == 0) -{ -lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; uint8_t x_1455; -x_1450 = lean_ctor_get(x_1449, 0); -lean_inc(x_1450); -x_1451 = lean_ctor_get(x_1449, 1); -lean_inc(x_1451); -lean_dec(x_1449); -x_1452 = lean_st_ref_take(x_4, x_1443); -x_1453 = lean_ctor_get(x_1452, 0); -lean_inc(x_1453); -x_1454 = lean_ctor_get(x_1452, 1); -lean_inc(x_1454); -lean_dec(x_1452); -x_1455 = !lean_is_exclusive(x_1453); -if (x_1455 == 0) -{ -lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; -x_1456 = lean_ctor_get(x_1453, 5); -lean_dec(x_1456); -lean_ctor_set(x_1453, 5, x_1451); -x_1457 = lean_st_ref_set(x_4, x_1453, x_1454); -x_1458 = lean_ctor_get(x_1457, 1); -lean_inc(x_1458); -lean_dec(x_1457); -x_10 = x_1450; -x_11 = x_1458; -goto block_36; -} -else -{ -lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; -x_1459 = lean_ctor_get(x_1453, 0); -x_1460 = lean_ctor_get(x_1453, 1); -x_1461 = lean_ctor_get(x_1453, 2); -x_1462 = lean_ctor_get(x_1453, 3); -x_1463 = lean_ctor_get(x_1453, 4); -x_1464 = lean_ctor_get(x_1453, 6); -lean_inc(x_1464); -lean_inc(x_1463); -lean_inc(x_1462); -lean_inc(x_1461); -lean_inc(x_1460); -lean_inc(x_1459); -lean_dec(x_1453); -x_1465 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1465, 0, x_1459); -lean_ctor_set(x_1465, 1, x_1460); -lean_ctor_set(x_1465, 2, x_1461); -lean_ctor_set(x_1465, 3, x_1462); -lean_ctor_set(x_1465, 4, x_1463); -lean_ctor_set(x_1465, 5, x_1451); -lean_ctor_set(x_1465, 6, x_1464); -x_1466 = lean_st_ref_set(x_4, x_1465, x_1454); -x_1467 = lean_ctor_get(x_1466, 1); -lean_inc(x_1467); -lean_dec(x_1466); -x_10 = x_1450; -x_11 = x_1467; -goto block_36; -} -} -else -{ -lean_object* x_1468; -lean_dec(x_2); -lean_dec(x_1); -x_1468 = lean_ctor_get(x_1449, 0); -lean_inc(x_1468); -lean_dec(x_1449); -if (lean_obj_tag(x_1468) == 0) -{ -lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; uint8_t x_1474; -x_1469 = lean_ctor_get(x_1468, 0); -lean_inc(x_1469); -x_1470 = lean_ctor_get(x_1468, 1); -lean_inc(x_1470); -lean_dec(x_1468); -x_1471 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1471, 0, x_1470); -x_1472 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1472, 0, x_1471); -x_1473 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1469, x_1472, x_3, x_4, x_5, x_6, x_7, x_8, x_1443); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1469); -x_1474 = !lean_is_exclusive(x_1473); -if (x_1474 == 0) -{ -return x_1473; -} -else -{ -lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; -x_1475 = lean_ctor_get(x_1473, 0); -x_1476 = lean_ctor_get(x_1473, 1); -lean_inc(x_1476); -lean_inc(x_1475); -lean_dec(x_1473); -x_1477 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1477, 0, x_1475); -lean_ctor_set(x_1477, 1, x_1476); -return x_1477; -} -} -else -{ -lean_object* x_1478; uint8_t x_1479; -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_1478 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_1443); -x_1479 = !lean_is_exclusive(x_1478); -if (x_1479 == 0) -{ -return x_1478; -} -else -{ -lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; -x_1480 = lean_ctor_get(x_1478, 0); -x_1481 = lean_ctor_get(x_1478, 1); -lean_inc(x_1481); -lean_inc(x_1480); -lean_dec(x_1478); -x_1482 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1482, 0, x_1480); -lean_ctor_set(x_1482, 1, x_1481); -return x_1482; -} -} -} -} -else -{ -lean_object* x_1483; lean_object* x_1484; -x_1483 = l_Lean_Syntax_getArg(x_1329, x_243); -lean_dec(x_1329); -x_1484 = l___private_Lean_Elab_Match_1__expandSimpleMatch(x_1, x_242, x_1431, x_1483, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_1484; +lean_object* x_1431; lean_object* x_1432; +x_1431 = l_Lean_Syntax_getArg(x_1283, x_235); +lean_dec(x_1283); +x_1432 = l___private_Lean_Elab_Match_1__expandSimpleMatch(x_1, x_234, x_1381, x_1431, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_1432; } } } @@ -29519,11 +29812,11 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Lean_Elab_Match_49__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Match_48__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10; +x_2 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -29645,7 +29938,7 @@ x_19 = l_Lean_Syntax_getArg(x_1, x_18); lean_dec(x_1); lean_inc(x_5); lean_inc(x_3); -x_20 = l___private_Lean_Elab_Match_40__waitExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_20 = l___private_Lean_Elab_Match_39__waitExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_20) == 0) { 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; @@ -29658,8 +29951,7 @@ x_23 = l_Lean_mkOptionalNode___closed__2; x_24 = lean_array_push(x_23, x_19); x_25 = l_Array_empty___closed__1; x_26 = l_Lean_mkOptionalNode___closed__1; -x_27 = l___private_Lean_Elab_Match_39__elabMatchAux(x_24, x_25, x_26, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -lean_dec(x_24); +x_27 = l___private_Lean_Elab_Match_38__elabMatchAux(x_24, x_25, x_26, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_22); return x_27; } else @@ -29739,55 +30031,43 @@ lean_dec_ref(res); res = initialize_Lean_Elab_App(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__1 = _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__1); -l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__2 = _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__2); -l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__3 = _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__3); -l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__4 = _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__4); -l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__5 = _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__5); -l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__6 = _init_l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Match_3__expandMatchOptTypeAux___main___closed__6); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__1 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__1); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__2 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__2); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__3 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__3); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__4 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__4); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__5 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__5); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__6 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__6); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__7 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__7); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__8 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__8); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__9 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__9); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__10); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__11 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__11); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__12 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__12); -l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__13 = _init_l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Match_6__elabDiscrsAux___main___closed__13); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__1 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__1); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__2 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__2); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__3 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__3); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__4 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__4); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__5 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__5); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__6 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__6); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__7 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__7); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__8 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__8); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__9 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__9); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__11 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__11); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__12 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__12); +l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13 = _init_l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13); l_Lean_Elab_Term_mkInaccessible___closed__1 = _init_l_Lean_Elab_Term_mkInaccessible___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_mkInaccessible___closed__1); l_Lean_Elab_Term_mkInaccessible___closed__2 = _init_l_Lean_Elab_Term_mkInaccessible___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkInaccessible___closed__2); l_Lean_Elab_Term_PatternVar_hasToString___closed__1 = _init_l_Lean_Elab_Term_PatternVar_hasToString___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_PatternVar_hasToString___closed__1); -l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__1 = _init_l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__1); -l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__2 = _init_l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind___closed__2); -res = l___private_Lean_Elab_Match_10__registerAuxiliaryNodeKind(lean_io_mk_world()); +l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__1 = _init_l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__1); +l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__2 = _init_l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind___closed__2); +res = l___private_Lean_Elab_Match_9__registerAuxiliaryNodeKind(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__1(); @@ -29804,152 +30084,152 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3) res = l___regBuiltin_Lean_Elab_Term_elabInaccessible(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__1 = _init_l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__1); -l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__2 = _init_l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__2); -l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__3 = _init_l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_13__throwCtorExpected___rarg___closed__3); -l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___closed__1 = _init_l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_14__getNumExplicitCtorParams___closed__1); -l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__1 = _init_l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__1); -l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__2 = _init_l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__2); -l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__3 = _init_l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_15__throwAmbiguous___rarg___closed__3); +l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__1 = _init_l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__1); +l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__2 = _init_l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__2); +l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__3 = _init_l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_12__throwCtorExpected___rarg___closed__3); +l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___closed__1 = _init_l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_13__getNumExplicitCtorParams___closed__1); +l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__1 = _init_l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__1); +l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__2 = _init_l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__2); +l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__3 = _init_l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_14__throwAmbiguous___rarg___closed__3); l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___closed__1); l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___closed__2); -l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__1 = _init_l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__1); -l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__2 = _init_l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__2); -l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__3 = _init_l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_16__throwInvalidPattern___rarg___closed__3); +l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__1 = _init_l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__1); +l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__2 = _init_l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__2); +l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__3 = _init_l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_15__throwInvalidPattern___rarg___closed__3); l_Lean_Elab_Term_CollectPatternVars_CtorApp_Context_inhabited___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_CtorApp_Context_inhabited___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_CtorApp_Context_inhabited___closed__1); l_Lean_Elab_Term_CollectPatternVars_CtorApp_Context_inhabited = _init_l_Lean_Elab_Term_CollectPatternVars_CtorApp_Context_inhabited(); lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_CtorApp_Context_inhabited); -l___private_Lean_Elab_Match_18__finalize___closed__1 = _init_l___private_Lean_Elab_Match_18__finalize___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_18__finalize___closed__1); -l___private_Lean_Elab_Match_18__finalize___closed__2 = _init_l___private_Lean_Elab_Match_18__finalize___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_18__finalize___closed__2); -l___private_Lean_Elab_Match_18__finalize___closed__3 = _init_l___private_Lean_Elab_Match_18__finalize___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_18__finalize___closed__3); -l___private_Lean_Elab_Match_21__pushNewArg___closed__1 = _init_l___private_Lean_Elab_Match_21__pushNewArg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_21__pushNewArg___closed__1); -l___private_Lean_Elab_Match_22__processExplicitArg___closed__1 = _init_l___private_Lean_Elab_Match_22__processExplicitArg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_22__processExplicitArg___closed__1); -l___private_Lean_Elab_Match_22__processExplicitArg___closed__2 = _init_l___private_Lean_Elab_Match_22__processExplicitArg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_22__processExplicitArg___closed__2); -l___private_Lean_Elab_Match_22__processExplicitArg___closed__3 = _init_l___private_Lean_Elab_Match_22__processExplicitArg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_22__processExplicitArg___closed__3); -l___private_Lean_Elab_Match_22__processExplicitArg___closed__4 = _init_l___private_Lean_Elab_Match_22__processExplicitArg___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_22__processExplicitArg___closed__4); -l___private_Lean_Elab_Match_25__processVar___closed__1 = _init_l___private_Lean_Elab_Match_25__processVar___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_25__processVar___closed__1); -l___private_Lean_Elab_Match_25__processVar___closed__2 = _init_l___private_Lean_Elab_Match_25__processVar___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_25__processVar___closed__2); -l___private_Lean_Elab_Match_25__processVar___closed__3 = _init_l___private_Lean_Elab_Match_25__processVar___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_25__processVar___closed__3); -l___private_Lean_Elab_Match_25__processVar___closed__4 = _init_l___private_Lean_Elab_Match_25__processVar___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_25__processVar___closed__4); -l___private_Lean_Elab_Match_25__processVar___closed__5 = _init_l___private_Lean_Elab_Match_25__processVar___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_25__processVar___closed__5); -l___private_Lean_Elab_Match_25__processVar___closed__6 = _init_l___private_Lean_Elab_Match_25__processVar___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Match_25__processVar___closed__6); -l___private_Lean_Elab_Match_25__processVar___closed__7 = _init_l___private_Lean_Elab_Match_25__processVar___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Match_25__processVar___closed__7); -l___private_Lean_Elab_Match_25__processVar___closed__8 = _init_l___private_Lean_Elab_Match_25__processVar___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Match_25__processVar___closed__8); -l___private_Lean_Elab_Match_25__processVar___closed__9 = _init_l___private_Lean_Elab_Match_25__processVar___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Match_25__processVar___closed__9); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__1 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__1); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__2 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__2); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__3 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__3); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__4 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__4); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__5 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__5); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__6 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__6); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__7 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__7); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__8 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__8); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__9 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__9); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__10 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__10); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__11 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__11); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__12 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__12); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__13 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__13); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__14 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__14); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__15 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__15); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__16 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__16); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__17 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__17); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__18 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__18(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__18); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__19 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__19(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__19); -l___private_Lean_Elab_Match_27__nameToPattern___main___closed__20 = _init_l___private_Lean_Elab_Match_27__nameToPattern___main___closed__20(); -lean_mark_persistent(l___private_Lean_Elab_Match_27__nameToPattern___main___closed__20); -l___private_Lean_Elab_Match_29__collect___main___closed__1 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__1); -l___private_Lean_Elab_Match_29__collect___main___closed__2 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__2); -l___private_Lean_Elab_Match_29__collect___main___closed__3 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__3); -l___private_Lean_Elab_Match_29__collect___main___closed__4 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__4); -l___private_Lean_Elab_Match_29__collect___main___closed__5 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__5); -l___private_Lean_Elab_Match_29__collect___main___closed__6 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__6); -l___private_Lean_Elab_Match_29__collect___main___closed__7 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__7); -l___private_Lean_Elab_Match_29__collect___main___closed__8 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__8); -l___private_Lean_Elab_Match_29__collect___main___closed__9 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__9); -l___private_Lean_Elab_Match_29__collect___main___closed__10 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__10); -l___private_Lean_Elab_Match_29__collect___main___closed__11 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__11); -l___private_Lean_Elab_Match_29__collect___main___closed__12 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__12); -l___private_Lean_Elab_Match_29__collect___main___closed__13 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__13); -l___private_Lean_Elab_Match_29__collect___main___closed__14 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__14); -l___private_Lean_Elab_Match_29__collect___main___closed__15 = _init_l___private_Lean_Elab_Match_29__collect___main___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Match_29__collect___main___closed__15); +l___private_Lean_Elab_Match_17__finalize___closed__1 = _init_l___private_Lean_Elab_Match_17__finalize___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_17__finalize___closed__1); +l___private_Lean_Elab_Match_17__finalize___closed__2 = _init_l___private_Lean_Elab_Match_17__finalize___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_17__finalize___closed__2); +l___private_Lean_Elab_Match_17__finalize___closed__3 = _init_l___private_Lean_Elab_Match_17__finalize___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_17__finalize___closed__3); +l___private_Lean_Elab_Match_20__pushNewArg___closed__1 = _init_l___private_Lean_Elab_Match_20__pushNewArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_20__pushNewArg___closed__1); +l___private_Lean_Elab_Match_21__processExplicitArg___closed__1 = _init_l___private_Lean_Elab_Match_21__processExplicitArg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_21__processExplicitArg___closed__1); +l___private_Lean_Elab_Match_21__processExplicitArg___closed__2 = _init_l___private_Lean_Elab_Match_21__processExplicitArg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_21__processExplicitArg___closed__2); +l___private_Lean_Elab_Match_21__processExplicitArg___closed__3 = _init_l___private_Lean_Elab_Match_21__processExplicitArg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_21__processExplicitArg___closed__3); +l___private_Lean_Elab_Match_21__processExplicitArg___closed__4 = _init_l___private_Lean_Elab_Match_21__processExplicitArg___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Match_21__processExplicitArg___closed__4); +l___private_Lean_Elab_Match_24__processVar___closed__1 = _init_l___private_Lean_Elab_Match_24__processVar___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_24__processVar___closed__1); +l___private_Lean_Elab_Match_24__processVar___closed__2 = _init_l___private_Lean_Elab_Match_24__processVar___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_24__processVar___closed__2); +l___private_Lean_Elab_Match_24__processVar___closed__3 = _init_l___private_Lean_Elab_Match_24__processVar___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_24__processVar___closed__3); +l___private_Lean_Elab_Match_24__processVar___closed__4 = _init_l___private_Lean_Elab_Match_24__processVar___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Match_24__processVar___closed__4); +l___private_Lean_Elab_Match_24__processVar___closed__5 = _init_l___private_Lean_Elab_Match_24__processVar___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Match_24__processVar___closed__5); +l___private_Lean_Elab_Match_24__processVar___closed__6 = _init_l___private_Lean_Elab_Match_24__processVar___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Match_24__processVar___closed__6); +l___private_Lean_Elab_Match_24__processVar___closed__7 = _init_l___private_Lean_Elab_Match_24__processVar___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Match_24__processVar___closed__7); +l___private_Lean_Elab_Match_24__processVar___closed__8 = _init_l___private_Lean_Elab_Match_24__processVar___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Match_24__processVar___closed__8); +l___private_Lean_Elab_Match_24__processVar___closed__9 = _init_l___private_Lean_Elab_Match_24__processVar___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Match_24__processVar___closed__9); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__1 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__1); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__2 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__2); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__3 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__3); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__4 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__4); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__5 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__5); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__6 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__6); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__7 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__7); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__8 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__8); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__9 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__9); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__10 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__10); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__11 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__11); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__12 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__12); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__13 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__13); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__14 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__14); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__15 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__15); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__16 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__16(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__16); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__17 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__17(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__17); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__18 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__18(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__18); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__19 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__19(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__19); +l___private_Lean_Elab_Match_26__nameToPattern___main___closed__20 = _init_l___private_Lean_Elab_Match_26__nameToPattern___main___closed__20(); +lean_mark_persistent(l___private_Lean_Elab_Match_26__nameToPattern___main___closed__20); +l___private_Lean_Elab_Match_28__collect___main___closed__1 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__1); +l___private_Lean_Elab_Match_28__collect___main___closed__2 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__2); +l___private_Lean_Elab_Match_28__collect___main___closed__3 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__3); +l___private_Lean_Elab_Match_28__collect___main___closed__4 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__4); +l___private_Lean_Elab_Match_28__collect___main___closed__5 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__5); +l___private_Lean_Elab_Match_28__collect___main___closed__6 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__6); +l___private_Lean_Elab_Match_28__collect___main___closed__7 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__7); +l___private_Lean_Elab_Match_28__collect___main___closed__8 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__8); +l___private_Lean_Elab_Match_28__collect___main___closed__9 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__9); +l___private_Lean_Elab_Match_28__collect___main___closed__10 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__10); +l___private_Lean_Elab_Match_28__collect___main___closed__11 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__11(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__11); +l___private_Lean_Elab_Match_28__collect___main___closed__12 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__12(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__12); +l___private_Lean_Elab_Match_28__collect___main___closed__13 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__13(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__13); +l___private_Lean_Elab_Match_28__collect___main___closed__14 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__14(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__14); +l___private_Lean_Elab_Match_28__collect___main___closed__15 = _init_l___private_Lean_Elab_Match_28__collect___main___closed__15(); +lean_mark_persistent(l___private_Lean_Elab_Match_28__collect___main___closed__15); l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__1 = _init_l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__1(); lean_mark_persistent(l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__1); l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__2 = _init_l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__2(); lean_mark_persistent(l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__2); l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__3 = _init_l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__3(); lean_mark_persistent(l_Array_umapMAux___main___at_Lean_Elab_Term_CollectPatternVars_main___spec__4___closed__3); -l___private_Lean_Elab_Match_30__collectPatternVars___closed__1 = _init_l___private_Lean_Elab_Match_30__collectPatternVars___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_30__collectPatternVars___closed__1); -l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__1 = _init_l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__1); -l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__2 = _init_l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__2); -l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__3 = _init_l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_33__elabPatternsAux___main___closed__3); +l___private_Lean_Elab_Match_29__collectPatternVars___closed__1 = _init_l___private_Lean_Elab_Match_29__collectPatternVars___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_29__collectPatternVars___closed__1); +l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__1 = _init_l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__1); +l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__2 = _init_l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__2); +l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__3 = _init_l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__3); l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__1 = _init_l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__1(); lean_mark_persistent(l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__1); l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__2 = _init_l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__2(); @@ -29968,12 +30248,12 @@ l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___ lean_mark_persistent(l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__8); l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__9 = _init_l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__9(); lean_mark_persistent(l_Array_iterateMAux___main___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__9); -l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__1 = _init_l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__1); -l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__2 = _init_l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__2); -l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__3 = _init_l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_36__throwInvalidPattern___rarg___closed__3); +l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__1 = _init_l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__1); +l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__2 = _init_l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__2); +l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__3 = _init_l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_35__throwInvalidPattern___rarg___closed__3); l_Lean_Elab_Term_ToDepElimPattern_main___main___closed__1 = _init_l_Lean_Elab_Term_ToDepElimPattern_main___main___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_ToDepElimPattern_main___main___closed__1); l_Lean_Elab_Term_ToDepElimPattern_main___main___closed__2 = _init_l_Lean_Elab_Term_ToDepElimPattern_main___main___closed__2(); @@ -30008,52 +30288,52 @@ l_Lean_Elab_Term_reportMatcherResultErrors___closed__6 = _init_l_Lean_Elab_Term_ lean_mark_persistent(l_Lean_Elab_Term_reportMatcherResultErrors___closed__6); l_Lean_Elab_Term_reportMatcherResultErrors___closed__7 = _init_l_Lean_Elab_Term_reportMatcherResultErrors___closed__7(); lean_mark_persistent(l_Lean_Elab_Term_reportMatcherResultErrors___closed__7); -l___private_Lean_Elab_Match_39__elabMatchAux___closed__1 = _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_39__elabMatchAux___closed__1); -l___private_Lean_Elab_Match_39__elabMatchAux___closed__2 = _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_39__elabMatchAux___closed__2); -l___private_Lean_Elab_Match_39__elabMatchAux___closed__3 = _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_39__elabMatchAux___closed__3); -l___private_Lean_Elab_Match_39__elabMatchAux___closed__4 = _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_39__elabMatchAux___closed__4); -l___private_Lean_Elab_Match_39__elabMatchAux___closed__5 = _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_39__elabMatchAux___closed__5); -l___private_Lean_Elab_Match_39__elabMatchAux___closed__6 = _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Match_39__elabMatchAux___closed__6); -l___private_Lean_Elab_Match_39__elabMatchAux___closed__7 = _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Match_39__elabMatchAux___closed__7); -l___private_Lean_Elab_Match_39__elabMatchAux___closed__8 = _init_l___private_Lean_Elab_Match_39__elabMatchAux___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Match_39__elabMatchAux___closed__8); -l___private_Lean_Elab_Match_42__mkMatchType___main___closed__1 = _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_42__mkMatchType___main___closed__1); -l___private_Lean_Elab_Match_42__mkMatchType___main___closed__2 = _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_42__mkMatchType___main___closed__2); -l___private_Lean_Elab_Match_42__mkMatchType___main___closed__3 = _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_42__mkMatchType___main___closed__3); -l___private_Lean_Elab_Match_42__mkMatchType___main___closed__4 = _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_42__mkMatchType___main___closed__4); -l___private_Lean_Elab_Match_42__mkMatchType___main___closed__5 = _init_l___private_Lean_Elab_Match_42__mkMatchType___main___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_42__mkMatchType___main___closed__5); -l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__1 = _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__1); -l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__2 = _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__2); -l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__3 = _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__3); -l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__4 = _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__4); -l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__5 = _init_l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Match_44__mkNewDiscrs___main___closed__5); -l___private_Lean_Elab_Match_45__mkNewPatterns___main___closed__1 = _init_l___private_Lean_Elab_Match_45__mkNewPatterns___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_45__mkNewPatterns___main___closed__1); -l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___closed__1 = _init_l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Match_48__expandMatchDiscr_x3f___closed__1); +l___private_Lean_Elab_Match_38__elabMatchAux___closed__1 = _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_38__elabMatchAux___closed__1); +l___private_Lean_Elab_Match_38__elabMatchAux___closed__2 = _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_38__elabMatchAux___closed__2); +l___private_Lean_Elab_Match_38__elabMatchAux___closed__3 = _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_38__elabMatchAux___closed__3); +l___private_Lean_Elab_Match_38__elabMatchAux___closed__4 = _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Match_38__elabMatchAux___closed__4); +l___private_Lean_Elab_Match_38__elabMatchAux___closed__5 = _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Match_38__elabMatchAux___closed__5); +l___private_Lean_Elab_Match_38__elabMatchAux___closed__6 = _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Match_38__elabMatchAux___closed__6); +l___private_Lean_Elab_Match_38__elabMatchAux___closed__7 = _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Match_38__elabMatchAux___closed__7); +l___private_Lean_Elab_Match_38__elabMatchAux___closed__8 = _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Match_38__elabMatchAux___closed__8); +l___private_Lean_Elab_Match_41__mkMatchType___main___closed__1 = _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_41__mkMatchType___main___closed__1); +l___private_Lean_Elab_Match_41__mkMatchType___main___closed__2 = _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_41__mkMatchType___main___closed__2); +l___private_Lean_Elab_Match_41__mkMatchType___main___closed__3 = _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_41__mkMatchType___main___closed__3); +l___private_Lean_Elab_Match_41__mkMatchType___main___closed__4 = _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Match_41__mkMatchType___main___closed__4); +l___private_Lean_Elab_Match_41__mkMatchType___main___closed__5 = _init_l___private_Lean_Elab_Match_41__mkMatchType___main___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Match_41__mkMatchType___main___closed__5); +l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__1 = _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__1); +l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__2 = _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__2); +l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__3 = _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__3); +l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__4 = _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__4); +l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__5 = _init_l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Match_43__mkNewDiscrs___main___closed__5); +l___private_Lean_Elab_Match_44__mkNewPatterns___main___closed__1 = _init_l___private_Lean_Elab_Match_44__mkNewPatterns___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_44__mkNewPatterns___main___closed__1); +l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___closed__1 = _init_l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Match_47__expandMatchDiscr_x3f___closed__1); l___regBuiltin_Lean_Elab_Term_elabMatch___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabMatch___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabMatch___closed__1); res = l___regBuiltin_Lean_Elab_Term_elabMatch(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l___private_Lean_Elab_Match_49__regTraceClasses(lean_io_mk_world()); +res = l___private_Lean_Elab_Match_48__regTraceClasses(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_elabNoMatch___closed__1 = _init_l_Lean_Elab_Term_elabNoMatch___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index afd30d7baa..493136091d 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -25,6 +25,7 @@ lean_object* l___private_Lean_Elab_MutualDef_34__mkClosureForAux___main___closed lean_object* l_Array_forMAux___main___at___private_Lean_Elab_MutualDef_10__collectUsed___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* l_Lean_Elab_Term_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_23__markModified___rarg(lean_object*); lean_object* l_Std_RBNode_fold___main___at___private_Lean_Elab_MutualDef_32__pushNewVars___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_MutualDef_9__elabFunValues___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -129,7 +130,6 @@ lean_object* l_Lean_Meta_getLocalDecl___at___private_Lean_Elab_MutualDef_34__mkC lean_object* l___private_Lean_Elab_MutualDef_6__withFunLocalDeclsAux___main___rarg(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_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Elab_PreDefinition_Structural_7__elimRecursion_x3f___spec__1___rarg___lambda__1(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_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_MutualDef_34__mkClosureForAux___main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___main___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2004,7 +2004,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_27 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_25, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +x_27 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_25, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_24); 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; @@ -4278,7 +4278,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 5); +x_17 = lean_ctor_get(x_15, 3); lean_inc(x_17); lean_dec(x_15); x_18 = lean_ctor_get(x_7, 1); @@ -4311,9 +4311,9 @@ x_28 = !lean_is_exclusive(x_26); if (x_28 == 0) { lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_29 = lean_ctor_get(x_26, 5); +x_29 = lean_ctor_get(x_26, 3); lean_dec(x_29); -lean_ctor_set(x_26, 5, x_24); +lean_ctor_set(x_26, 3, x_24); x_30 = lean_st_ref_set(x_4, x_26, x_27); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) @@ -4338,77 +4338,71 @@ return x_34; } 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; lean_object* x_44; lean_object* x_45; +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_26, 0); x_36 = lean_ctor_get(x_26, 1); x_37 = lean_ctor_get(x_26, 2); -x_38 = lean_ctor_get(x_26, 3); -x_39 = lean_ctor_get(x_26, 4); -x_40 = lean_ctor_get(x_26, 6); -lean_inc(x_40); -lean_inc(x_39); +x_38 = lean_ctor_get(x_26, 4); lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); lean_dec(x_26); -x_41 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_41, 0, x_35); -lean_ctor_set(x_41, 1, x_36); -lean_ctor_set(x_41, 2, x_37); -lean_ctor_set(x_41, 3, x_38); -lean_ctor_set(x_41, 4, x_39); -lean_ctor_set(x_41, 5, x_24); -lean_ctor_set(x_41, 6, x_40); -x_42 = lean_st_ref_set(x_4, x_41, x_27); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_44 = x_42; +x_39 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_37); +lean_ctor_set(x_39, 3, x_24); +lean_ctor_set(x_39, 4, x_38); +x_40 = lean_st_ref_set(x_4, x_39, x_27); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_42 = x_40; } else { - lean_dec_ref(x_42); - x_44 = lean_box(0); + lean_dec_ref(x_40); + x_42 = lean_box(0); } -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(0, 2, 0); } else { - x_45 = x_44; + x_43 = x_42; } -lean_ctor_set(x_45, 0, x_23); -lean_ctor_set(x_45, 1, x_43); -return x_45; +lean_ctor_set(x_43, 0, x_23); +lean_ctor_set(x_43, 1, x_41); +return x_43; } } else { -lean_object* x_46; -x_46 = lean_ctor_get(x_22, 0); -lean_inc(x_46); +lean_object* x_44; +x_44 = lean_ctor_get(x_22, 0); +lean_inc(x_44); lean_dec(x_22); -if (lean_obj_tag(x_46) == 0) +if (lean_obj_tag(x_44) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_49, 0, x_48); -x_50 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_50, 0, x_49); -x_51 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_47, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -lean_dec(x_47); -return x_51; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_45, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +lean_dec(x_45); +return x_49; } else { -lean_object* x_52; +lean_object* x_50; lean_dec(x_3); -x_52 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_16); -return x_52; +x_50 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_16); +return x_50; } } } @@ -8621,162 +8615,150 @@ return x_37; } else { -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_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; x_38 = lean_ctor_get(x_26, 0); x_39 = lean_ctor_get(x_26, 1); x_40 = lean_ctor_get(x_26, 2); x_41 = lean_ctor_get(x_26, 3); x_42 = lean_ctor_get(x_26, 4); -x_43 = lean_ctor_get(x_26, 5); -x_44 = lean_ctor_get(x_26, 6); -lean_inc(x_44); -lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); lean_inc(x_40); lean_inc(x_39); lean_inc(x_38); lean_dec(x_26); -x_45 = l_Std_PersistentArray_push___rarg(x_40, x_24); -x_46 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_46, 0, x_38); -lean_ctor_set(x_46, 1, x_39); -lean_ctor_set(x_46, 2, x_45); -lean_ctor_set(x_46, 3, x_41); -lean_ctor_set(x_46, 4, x_42); -lean_ctor_set(x_46, 5, x_43); -lean_ctor_set(x_46, 6, x_44); -x_47 = lean_st_ref_set(x_6, x_46, x_27); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); +x_43 = l_Std_PersistentArray_push___rarg(x_40, x_24); +x_44 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_39); +lean_ctor_set(x_44, 2, x_43); +lean_ctor_set(x_44, 3, x_41); +lean_ctor_set(x_44, 4, x_42); +x_45 = lean_st_ref_set(x_6, x_44, x_27); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_47 = x_45; +} else { + lean_dec_ref(x_45); + x_47 = lean_box(0); +} +x_48 = lean_box(0); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { x_49 = x_47; -} else { - lean_dec_ref(x_47); - x_49 = lean_box(0); } -x_50 = lean_box(0); -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_49; -} -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_48); -return x_51; +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_46); +return x_49; } } else { -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_65; -x_52 = lean_ctor_get(x_14, 0); -lean_inc(x_52); +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; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_50 = lean_ctor_get(x_14, 0); +lean_inc(x_50); lean_dec(x_14); -x_53 = lean_ctor_get(x_5, 0); -x_54 = lean_ctor_get(x_5, 1); -x_55 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = l_Lean_FileMap_toPosition(x_54, x_52); -x_59 = lean_box(0); -x_60 = l_String_splitAux___main___closed__1; -lean_inc(x_53); -x_61 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_61, 0, x_53); -lean_ctor_set(x_61, 1, x_58); -lean_ctor_set(x_61, 2, x_59); -lean_ctor_set(x_61, 3, x_60); -lean_ctor_set(x_61, 4, x_56); -lean_ctor_set_uint8(x_61, sizeof(void*)*5, x_3); -x_62 = lean_st_ref_take(x_6, x_57); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = !lean_is_exclusive(x_63); -if (x_65 == 0) +x_51 = lean_ctor_get(x_5, 0); +x_52 = lean_ctor_get(x_5, 1); +x_53 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_2, x_7, x_8, x_9, x_10, x_11); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = l_Lean_FileMap_toPosition(x_52, x_50); +x_57 = lean_box(0); +x_58 = l_String_splitAux___main___closed__1; +lean_inc(x_51); +x_59 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_59, 0, x_51); +lean_ctor_set(x_59, 1, x_56); +lean_ctor_set(x_59, 2, x_57); +lean_ctor_set(x_59, 3, x_58); +lean_ctor_set(x_59, 4, x_54); +lean_ctor_set_uint8(x_59, sizeof(void*)*5, x_3); +x_60 = lean_st_ref_take(x_6, x_55); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_66 = lean_ctor_get(x_63, 2); -x_67 = l_Std_PersistentArray_push___rarg(x_66, x_61); -lean_ctor_set(x_63, 2, x_67); -x_68 = lean_st_ref_set(x_6, x_63, x_64); -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) +lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_64 = lean_ctor_get(x_61, 2); +x_65 = l_Std_PersistentArray_push___rarg(x_64, x_59); +lean_ctor_set(x_61, 2, x_65); +x_66 = lean_st_ref_set(x_6, x_61, x_62); +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) { -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_68, 0); -lean_dec(x_70); -x_71 = lean_box(0); -lean_ctor_set(x_68, 0, x_71); -return x_68; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_68, 1); -lean_inc(x_72); +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_66, 0); lean_dec(x_68); -x_73 = lean_box(0); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -return x_74; +x_69 = lean_box(0); +lean_ctor_set(x_66, 0, x_69); +return x_66; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = lean_box(0); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +return x_72; } } else { -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_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; -x_75 = lean_ctor_get(x_63, 0); -x_76 = lean_ctor_get(x_63, 1); -x_77 = lean_ctor_get(x_63, 2); -x_78 = lean_ctor_get(x_63, 3); -x_79 = lean_ctor_get(x_63, 4); -x_80 = lean_ctor_get(x_63, 5); -x_81 = lean_ctor_get(x_63, 6); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); +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_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_73 = lean_ctor_get(x_61, 0); +x_74 = lean_ctor_get(x_61, 1); +x_75 = lean_ctor_get(x_61, 2); +x_76 = lean_ctor_get(x_61, 3); +x_77 = lean_ctor_get(x_61, 4); lean_inc(x_77); lean_inc(x_76); lean_inc(x_75); -lean_dec(x_63); -x_82 = l_Std_PersistentArray_push___rarg(x_77, x_61); -x_83 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_83, 0, x_75); -lean_ctor_set(x_83, 1, x_76); -lean_ctor_set(x_83, 2, x_82); -lean_ctor_set(x_83, 3, x_78); -lean_ctor_set(x_83, 4, x_79); -lean_ctor_set(x_83, 5, x_80); -lean_ctor_set(x_83, 6, x_81); -x_84 = lean_st_ref_set(x_6, x_83, x_64); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_86 = x_84; +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_61); +x_78 = l_Std_PersistentArray_push___rarg(x_75, x_59); +x_79 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_79, 0, x_73); +lean_ctor_set(x_79, 1, x_74); +lean_ctor_set(x_79, 2, x_78); +lean_ctor_set(x_79, 3, x_76); +lean_ctor_set(x_79, 4, x_77); +x_80 = lean_st_ref_set(x_6, x_79, x_62); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_82 = x_80; } else { - lean_dec_ref(x_84); - x_86 = lean_box(0); + lean_dec_ref(x_80); + x_82 = lean_box(0); } -x_87 = lean_box(0); -if (lean_is_scalar(x_86)) { - x_88 = lean_alloc_ctor(0, 2, 0); +x_83 = lean_box(0); +if (lean_is_scalar(x_82)) { + x_84 = lean_alloc_ctor(0, 2, 0); } else { - x_88 = x_86; + x_84 = x_82; } -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_85); -return x_88; +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_81); +return x_84; } } } @@ -14925,7 +14907,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_19 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +x_19 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_16); if (lean_obj_tag(x_19) == 0) { uint8_t x_20; diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 45aa02f731..ec166dd498 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -123,7 +123,6 @@ lean_object* l___private_Lean_Elab_Quotation_8__letBindRhss(lean_object*, lean_o extern lean_object* l_String_splitAux___main___closed__1; lean_object* l___private_Lean_Elab_Quotation_11__oldRunTermElabMUnsafe___rarg___closed__2; lean_object* l___private_Lean_Elab_Quotation_7__getPatternVarsAux___main(lean_object*); -extern lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__14; lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -281,6 +280,7 @@ extern lean_object* l_Lean_mkThunkType___closed__1; lean_object* l_Lean_Elab_Term_Quotation_getAntiquotTerm(lean_object*); lean_object* lean_mk_empty_local_ctx(lean_object*); lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7; lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Quotation_2__quoteSyntax___main___spec__1___closed__7; lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__1; lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__36; @@ -7924,10 +7924,10 @@ x_40 = !lean_is_exclusive(x_38); if (x_40 == 0) { 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; uint8_t x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; -x_41 = lean_ctor_get(x_38, 5); +x_41 = lean_ctor_get(x_38, 3); x_42 = lean_unsigned_to_nat(1u); x_43 = lean_nat_add(x_41, x_42); -lean_ctor_set(x_38, 5, x_43); +lean_ctor_set(x_38, 3, x_43); x_44 = lean_st_ref_set(x_4, x_38, x_39); x_45 = lean_ctor_get(x_44, 1); lean_inc(x_45); @@ -8126,9 +8126,9 @@ x_128 = !lean_is_exclusive(x_126); if (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; -x_129 = lean_ctor_get(x_126, 5); +x_129 = lean_ctor_get(x_126, 3); x_130 = lean_nat_add(x_129, x_42); -lean_ctor_set(x_126, 5, x_130); +lean_ctor_set(x_126, 3, x_130); x_131 = lean_st_ref_set(x_4, x_126, x_127); x_132 = lean_ctor_get(x_131, 1); lean_inc(x_132); @@ -8398,206 +8398,200 @@ return x_259; } else { -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; x_260 = lean_ctor_get(x_126, 0); x_261 = lean_ctor_get(x_126, 1); x_262 = lean_ctor_get(x_126, 2); x_263 = lean_ctor_get(x_126, 3); x_264 = lean_ctor_get(x_126, 4); -x_265 = lean_ctor_get(x_126, 5); -x_266 = lean_ctor_get(x_126, 6); -lean_inc(x_266); -lean_inc(x_265); lean_inc(x_264); lean_inc(x_263); lean_inc(x_262); lean_inc(x_261); lean_inc(x_260); lean_dec(x_126); -x_267 = lean_nat_add(x_265, x_42); -x_268 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_268, 0, x_260); -lean_ctor_set(x_268, 1, x_261); -lean_ctor_set(x_268, 2, x_262); -lean_ctor_set(x_268, 3, x_263); -lean_ctor_set(x_268, 4, x_264); -lean_ctor_set(x_268, 5, x_267); -lean_ctor_set(x_268, 6, x_266); -x_269 = lean_st_ref_set(x_4, x_268, x_127); -x_270 = lean_ctor_get(x_269, 1); -lean_inc(x_270); -lean_dec(x_269); -x_271 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_271, 0, x_46); -lean_ctor_set(x_271, 1, x_47); -lean_ctor_set(x_271, 2, x_48); -lean_ctor_set(x_271, 3, x_49); -lean_ctor_set(x_271, 4, x_50); -lean_ctor_set(x_271, 5, x_51); -lean_ctor_set(x_271, 6, x_52); -lean_ctor_set(x_271, 7, x_265); -lean_ctor_set_uint8(x_271, sizeof(void*)*8, x_53); -lean_ctor_set_uint8(x_271, sizeof(void*)*8 + 1, x_54); -lean_ctor_set_uint8(x_271, sizeof(void*)*8 + 2, x_55); +x_265 = lean_nat_add(x_263, x_42); +x_266 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_266, 0, x_260); +lean_ctor_set(x_266, 1, x_261); +lean_ctor_set(x_266, 2, x_262); +lean_ctor_set(x_266, 3, x_265); +lean_ctor_set(x_266, 4, x_264); +x_267 = lean_st_ref_set(x_4, x_266, x_127); +x_268 = lean_ctor_get(x_267, 1); +lean_inc(x_268); +lean_dec(x_267); +x_269 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_269, 0, x_46); +lean_ctor_set(x_269, 1, x_47); +lean_ctor_set(x_269, 2, x_48); +lean_ctor_set(x_269, 3, x_49); +lean_ctor_set(x_269, 4, x_50); +lean_ctor_set(x_269, 5, x_51); +lean_ctor_set(x_269, 6, x_52); +lean_ctor_set(x_269, 7, x_263); +lean_ctor_set_uint8(x_269, sizeof(void*)*8, x_53); +lean_ctor_set_uint8(x_269, sizeof(void*)*8 + 1, x_54); +lean_ctor_set_uint8(x_269, sizeof(void*)*8 + 2, x_55); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_272 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_124, x_271, x_4, x_5, x_6, x_7, x_8, x_270); -if (lean_obj_tag(x_272) == 0) +x_270 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_124, x_269, x_4, x_5, x_6, x_7, x_8, x_268); +if (lean_obj_tag(x_270) == 0) { -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* 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; -x_273 = lean_ctor_get(x_272, 0); -lean_inc(x_273); -x_274 = lean_ctor_get(x_272, 1); +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* 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; +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_270, 1); +lean_inc(x_272); +lean_dec(x_270); +x_273 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_272); +x_274 = lean_ctor_get(x_273, 0); lean_inc(x_274); -lean_dec(x_272); -x_275 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_274); -x_276 = lean_ctor_get(x_275, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 1); +x_275 = lean_ctor_get(x_273, 1); +lean_inc(x_275); +lean_dec(x_273); +x_276 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_275); +x_277 = lean_ctor_get(x_276, 0); lean_inc(x_277); -lean_dec(x_275); -x_278 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_277); -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_278, 1); -lean_inc(x_280); -lean_dec(x_278); -x_281 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; -lean_inc(x_276); -lean_inc(x_279); -x_282 = l_Lean_addMacroScope(x_279, x_281, x_276); -x_283 = l_Lean_SourceInfo_inhabited___closed__1; -x_284 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; -x_285 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; -x_286 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_286, 0, x_283); -lean_ctor_set(x_286, 1, x_284); -lean_ctor_set(x_286, 2, x_282); -lean_ctor_set(x_286, 3, x_285); -x_287 = l_Array_empty___closed__1; -x_288 = lean_array_push(x_287, x_286); -x_289 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; -x_290 = l_Lean_addMacroScope(x_279, x_289, x_276); -x_291 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; -x_292 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_292, 0, x_283); -lean_ctor_set(x_292, 1, x_291); -lean_ctor_set(x_292, 2, x_290); -lean_ctor_set(x_292, 3, x_31); -x_293 = lean_array_push(x_287, x_292); -x_294 = l___private_Lean_Syntax_7__quoteName___main(x_122); -x_295 = lean_array_push(x_293, x_294); -x_296 = l_Lean_nullKind___closed__2; -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_295); -x_298 = lean_array_push(x_288, x_297); -x_299 = l_Lean_mkAppStx___closed__8; -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_298); -x_301 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_280); +x_278 = lean_ctor_get(x_276, 1); +lean_inc(x_278); +lean_dec(x_276); +x_279 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; +lean_inc(x_274); +lean_inc(x_277); +x_280 = l_Lean_addMacroScope(x_277, x_279, x_274); +x_281 = l_Lean_SourceInfo_inhabited___closed__1; +x_282 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; +x_283 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; +x_284 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_284, 0, x_281); +lean_ctor_set(x_284, 1, x_282); +lean_ctor_set(x_284, 2, x_280); +lean_ctor_set(x_284, 3, x_283); +x_285 = l_Array_empty___closed__1; +x_286 = lean_array_push(x_285, x_284); +x_287 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; +x_288 = l_Lean_addMacroScope(x_277, x_287, x_274); +x_289 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; +x_290 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_290, 0, x_281); +lean_ctor_set(x_290, 1, x_289); +lean_ctor_set(x_290, 2, x_288); +lean_ctor_set(x_290, 3, x_31); +x_291 = lean_array_push(x_285, x_290); +x_292 = l___private_Lean_Syntax_7__quoteName___main(x_122); +x_293 = lean_array_push(x_291, x_292); +x_294 = l_Lean_nullKind___closed__2; +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_293); +x_296 = lean_array_push(x_286, x_295); +x_297 = l_Lean_mkAppStx___closed__8; +x_298 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_298, 0, x_297); +lean_ctor_set(x_298, 1, x_296); +x_299 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_278); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); -lean_inc(x_303); -lean_dec(x_301); -x_304 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_303); +x_300 = lean_ctor_get(x_299, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_299, 1); +lean_inc(x_301); +lean_dec(x_299); +x_302 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_301); lean_dec(x_8); -x_305 = lean_ctor_get(x_304, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_304, 1); -lean_inc(x_306); -if (lean_is_exclusive(x_304)) { - lean_ctor_release(x_304, 0); - lean_ctor_release(x_304, 1); - x_307 = x_304; +x_303 = lean_ctor_get(x_302, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_302, 1); +lean_inc(x_304); +if (lean_is_exclusive(x_302)) { + lean_ctor_release(x_302, 0); + lean_ctor_release(x_302, 1); + x_305 = x_302; } else { - lean_dec_ref(x_304); - x_307 = lean_box(0); + lean_dec_ref(x_302); + x_305 = lean_box(0); } -lean_inc(x_302); -lean_inc(x_305); -x_308 = l_Lean_addMacroScope(x_305, x_289, x_302); -x_309 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_309, 0, x_283); -lean_ctor_set(x_309, 1, x_291); -lean_ctor_set(x_309, 2, x_308); -lean_ctor_set(x_309, 3, x_31); -x_310 = lean_array_push(x_287, x_309); -x_311 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_312 = lean_array_push(x_310, x_311); -x_313 = lean_array_push(x_312, x_311); -x_314 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_315 = lean_array_push(x_313, x_314); -x_316 = lean_array_push(x_315, x_21); -x_317 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_316); -x_319 = lean_array_push(x_287, x_318); -x_320 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_320); -lean_ctor_set(x_321, 1, x_319); -x_322 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_323 = lean_array_push(x_322, x_321); -x_324 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_325 = lean_array_push(x_323, x_324); -x_326 = lean_array_push(x_287, x_300); -x_327 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; -x_328 = lean_array_push(x_326, x_327); -x_329 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; -x_330 = l_Lean_addMacroScope(x_305, x_329, x_302); -x_331 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; -x_332 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; -x_333 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_333, 0, x_283); -lean_ctor_set(x_333, 1, x_331); -lean_ctor_set(x_333, 2, x_330); -lean_ctor_set(x_333, 3, x_332); -x_334 = lean_array_push(x_328, x_333); -x_335 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_335); -lean_ctor_set(x_336, 1, x_334); -x_337 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; -x_338 = lean_array_push(x_337, x_336); -x_339 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; -x_340 = lean_array_push(x_338, x_339); -x_341 = lean_array_push(x_340, x_120); -x_342 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; -x_343 = lean_array_push(x_341, x_342); -x_344 = lean_array_push(x_343, x_273); -x_345 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; -x_346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_344); -x_347 = lean_array_push(x_325, x_346); -x_348 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_347); -if (lean_is_scalar(x_307)) { - x_350 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_300); +lean_inc(x_303); +x_306 = l_Lean_addMacroScope(x_303, x_287, x_300); +x_307 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_307, 0, x_281); +lean_ctor_set(x_307, 1, x_289); +lean_ctor_set(x_307, 2, x_306); +lean_ctor_set(x_307, 3, x_31); +x_308 = lean_array_push(x_285, x_307); +x_309 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_310 = lean_array_push(x_308, x_309); +x_311 = lean_array_push(x_310, x_309); +x_312 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_313 = lean_array_push(x_311, x_312); +x_314 = lean_array_push(x_313, x_21); +x_315 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_315); +lean_ctor_set(x_316, 1, x_314); +x_317 = lean_array_push(x_285, x_316); +x_318 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_319 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_319, 0, x_318); +lean_ctor_set(x_319, 1, x_317); +x_320 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_321 = lean_array_push(x_320, x_319); +x_322 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_323 = lean_array_push(x_321, x_322); +x_324 = lean_array_push(x_285, x_298); +x_325 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; +x_326 = lean_array_push(x_324, x_325); +x_327 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; +x_328 = l_Lean_addMacroScope(x_303, x_327, x_300); +x_329 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; +x_330 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; +x_331 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_331, 0, x_281); +lean_ctor_set(x_331, 1, x_329); +lean_ctor_set(x_331, 2, x_328); +lean_ctor_set(x_331, 3, x_330); +x_332 = lean_array_push(x_326, x_331); +x_333 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_333); +lean_ctor_set(x_334, 1, x_332); +x_335 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; +x_336 = lean_array_push(x_335, x_334); +x_337 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; +x_338 = lean_array_push(x_336, x_337); +x_339 = lean_array_push(x_338, x_120); +x_340 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; +x_341 = lean_array_push(x_339, x_340); +x_342 = lean_array_push(x_341, x_271); +x_343 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_342); +x_345 = lean_array_push(x_323, x_344); +x_346 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_347 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_345); +if (lean_is_scalar(x_305)) { + x_348 = lean_alloc_ctor(0, 2, 0); } else { - x_350 = x_307; + x_348 = x_305; } -lean_ctor_set(x_350, 0, x_349); -lean_ctor_set(x_350, 1, x_306); -return x_350; +lean_ctor_set(x_348, 0, x_347); +lean_ctor_set(x_348, 1, x_304); +return x_348; } else { -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_dec(x_122); lean_dec(x_120); lean_dec(x_21); @@ -8607,33 +8601,33 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_351 = lean_ctor_get(x_272, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_272, 1); -lean_inc(x_352); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - x_353 = x_272; +x_349 = lean_ctor_get(x_270, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_270, 1); +lean_inc(x_350); +if (lean_is_exclusive(x_270)) { + lean_ctor_release(x_270, 0); + lean_ctor_release(x_270, 1); + x_351 = x_270; } else { - lean_dec_ref(x_272); - x_353 = lean_box(0); + lean_dec_ref(x_270); + x_351 = lean_box(0); } -if (lean_is_scalar(x_353)) { - x_354 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_351)) { + x_352 = lean_alloc_ctor(1, 2, 0); } else { - x_354 = x_353; + x_352 = x_351; } -lean_ctor_set(x_354, 0, x_351); -lean_ctor_set(x_354, 1, x_352); -return x_354; +lean_ctor_set(x_352, 0, x_349); +lean_ctor_set(x_352, 1, x_350); +return x_352; } } } } else { -uint8_t x_355; +uint8_t x_353; lean_dec(x_52); lean_dec(x_51); lean_dec(x_50); @@ -8651,429 +8645,415 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_355 = !lean_is_exclusive(x_57); -if (x_355 == 0) +x_353 = !lean_is_exclusive(x_57); +if (x_353 == 0) { return x_57; } else { -lean_object* x_356; lean_object* x_357; lean_object* x_358; -x_356 = lean_ctor_get(x_57, 0); -x_357 = lean_ctor_get(x_57, 1); -lean_inc(x_357); -lean_inc(x_356); +lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_354 = lean_ctor_get(x_57, 0); +x_355 = lean_ctor_get(x_57, 1); +lean_inc(x_355); +lean_inc(x_354); lean_dec(x_57); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_356); -lean_ctor_set(x_358, 1, x_357); -return x_358; +x_356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_356, 0, x_354); +lean_ctor_set(x_356, 1, x_355); +return x_356; } } } else { -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; 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; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; uint8_t x_378; uint8_t x_379; uint8_t x_380; lean_object* x_381; lean_object* x_382; -x_359 = lean_ctor_get(x_38, 0); -x_360 = lean_ctor_get(x_38, 1); -x_361 = lean_ctor_get(x_38, 2); -x_362 = lean_ctor_get(x_38, 3); -x_363 = lean_ctor_get(x_38, 4); -x_364 = lean_ctor_get(x_38, 5); -x_365 = lean_ctor_get(x_38, 6); -lean_inc(x_365); -lean_inc(x_364); -lean_inc(x_363); -lean_inc(x_362); +lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; 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; lean_object* x_372; lean_object* x_373; uint8_t x_374; uint8_t x_375; uint8_t x_376; lean_object* x_377; lean_object* x_378; +x_357 = lean_ctor_get(x_38, 0); +x_358 = lean_ctor_get(x_38, 1); +x_359 = lean_ctor_get(x_38, 2); +x_360 = lean_ctor_get(x_38, 3); +x_361 = lean_ctor_get(x_38, 4); lean_inc(x_361); lean_inc(x_360); lean_inc(x_359); +lean_inc(x_358); +lean_inc(x_357); lean_dec(x_38); -x_366 = lean_unsigned_to_nat(1u); -x_367 = lean_nat_add(x_364, x_366); -x_368 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_368, 0, x_359); -lean_ctor_set(x_368, 1, x_360); -lean_ctor_set(x_368, 2, x_361); -lean_ctor_set(x_368, 3, x_362); -lean_ctor_set(x_368, 4, x_363); -lean_ctor_set(x_368, 5, x_367); -lean_ctor_set(x_368, 6, x_365); -x_369 = lean_st_ref_set(x_4, x_368, x_39); -x_370 = lean_ctor_get(x_369, 1); +x_362 = lean_unsigned_to_nat(1u); +x_363 = lean_nat_add(x_360, x_362); +x_364 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_364, 0, x_357); +lean_ctor_set(x_364, 1, x_358); +lean_ctor_set(x_364, 2, x_359); +lean_ctor_set(x_364, 3, x_363); +lean_ctor_set(x_364, 4, x_361); +x_365 = lean_st_ref_set(x_4, x_364, x_39); +x_366 = lean_ctor_get(x_365, 1); +lean_inc(x_366); +lean_dec(x_365); +x_367 = lean_ctor_get(x_3, 0); +lean_inc(x_367); +x_368 = lean_ctor_get(x_3, 1); +lean_inc(x_368); +x_369 = lean_ctor_get(x_3, 2); +lean_inc(x_369); +x_370 = lean_ctor_get(x_3, 3); lean_inc(x_370); -lean_dec(x_369); -x_371 = lean_ctor_get(x_3, 0); +x_371 = lean_ctor_get(x_3, 4); lean_inc(x_371); -x_372 = lean_ctor_get(x_3, 1); +x_372 = lean_ctor_get(x_3, 5); lean_inc(x_372); -x_373 = lean_ctor_get(x_3, 2); +x_373 = lean_ctor_get(x_3, 6); lean_inc(x_373); -x_374 = lean_ctor_get(x_3, 3); -lean_inc(x_374); -x_375 = lean_ctor_get(x_3, 4); -lean_inc(x_375); -x_376 = lean_ctor_get(x_3, 5); -lean_inc(x_376); -x_377 = lean_ctor_get(x_3, 6); -lean_inc(x_377); -x_378 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_379 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_380 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -lean_inc(x_377); -lean_inc(x_376); -lean_inc(x_375); -lean_inc(x_374); +x_374 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); +x_375 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); +x_376 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); lean_inc(x_373); lean_inc(x_372); lean_inc(x_371); -x_381 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_381, 0, x_371); -lean_ctor_set(x_381, 1, x_372); -lean_ctor_set(x_381, 2, x_373); -lean_ctor_set(x_381, 3, x_374); -lean_ctor_set(x_381, 4, x_375); -lean_ctor_set(x_381, 5, x_376); -lean_ctor_set(x_381, 6, x_377); -lean_ctor_set(x_381, 7, x_364); -lean_ctor_set_uint8(x_381, sizeof(void*)*8, x_378); -lean_ctor_set_uint8(x_381, sizeof(void*)*8 + 1, x_379); -lean_ctor_set_uint8(x_381, sizeof(void*)*8 + 2, x_380); +lean_inc(x_370); +lean_inc(x_369); +lean_inc(x_368); +lean_inc(x_367); +x_377 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_377, 0, x_367); +lean_ctor_set(x_377, 1, x_368); +lean_ctor_set(x_377, 2, x_369); +lean_ctor_set(x_377, 3, x_370); +lean_ctor_set(x_377, 4, x_371); +lean_ctor_set(x_377, 5, x_372); +lean_ctor_set(x_377, 6, x_373); +lean_ctor_set(x_377, 7, x_360); +lean_ctor_set_uint8(x_377, sizeof(void*)*8, x_374); +lean_ctor_set_uint8(x_377, sizeof(void*)*8 + 1, x_375); +lean_ctor_set_uint8(x_377, sizeof(void*)*8 + 2, x_376); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_382 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_36, x_34, x_381, x_4, x_5, x_6, x_7, x_8, x_370); -if (lean_obj_tag(x_382) == 0) +x_378 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_36, x_34, x_377, x_4, x_5, x_6, x_7, x_8, x_366); +if (lean_obj_tag(x_378) == 0) { -lean_object* x_383; -x_383 = lean_ctor_get(x_29, 0); -lean_inc(x_383); -if (lean_obj_tag(x_383) == 0) +lean_object* x_379; +x_379 = lean_ctor_get(x_29, 0); +lean_inc(x_379); +if (lean_obj_tag(x_379) == 0) { -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; 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; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; 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_dec(x_377); -lean_dec(x_376); -lean_dec(x_375); -lean_dec(x_374); +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; 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; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; 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_dec(x_373); lean_dec(x_372); lean_dec(x_371); +lean_dec(x_370); +lean_dec(x_369); +lean_dec(x_368); +lean_dec(x_367); lean_dec(x_29); lean_dec(x_25); lean_dec(x_1); -x_384 = lean_ctor_get(x_382, 0); -lean_inc(x_384); -x_385 = lean_ctor_get(x_382, 1); -lean_inc(x_385); -lean_dec(x_382); -x_386 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_385); +x_380 = lean_ctor_get(x_378, 0); +lean_inc(x_380); +x_381 = lean_ctor_get(x_378, 1); +lean_inc(x_381); +lean_dec(x_378); +x_382 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_381); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_387 = lean_ctor_get(x_386, 0); -lean_inc(x_387); -x_388 = lean_ctor_get(x_386, 1); -lean_inc(x_388); -lean_dec(x_386); -x_389 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_388); +x_383 = lean_ctor_get(x_382, 0); +lean_inc(x_383); +x_384 = lean_ctor_get(x_382, 1); +lean_inc(x_384); +lean_dec(x_382); +x_385 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_384); lean_dec(x_8); -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_389, 1); -lean_inc(x_391); -if (lean_is_exclusive(x_389)) { - lean_ctor_release(x_389, 0); - lean_ctor_release(x_389, 1); - x_392 = x_389; +x_386 = lean_ctor_get(x_385, 0); +lean_inc(x_386); +x_387 = lean_ctor_get(x_385, 1); +lean_inc(x_387); +if (lean_is_exclusive(x_385)) { + lean_ctor_release(x_385, 0); + lean_ctor_release(x_385, 1); + x_388 = x_385; } else { - lean_dec_ref(x_389); - x_392 = lean_box(0); + lean_dec_ref(x_385); + x_388 = lean_box(0); } -x_393 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; -x_394 = l_Lean_addMacroScope(x_390, x_393, x_387); -x_395 = l_Lean_SourceInfo_inhabited___closed__1; -x_396 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; -x_397 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_397, 0, x_395); -lean_ctor_set(x_397, 1, x_396); -lean_ctor_set(x_397, 2, x_394); -lean_ctor_set(x_397, 3, x_31); -x_398 = l_Array_empty___closed__1; -x_399 = lean_array_push(x_398, x_397); -x_400 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_401 = lean_array_push(x_399, x_400); -x_402 = lean_array_push(x_401, x_400); -x_403 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_404 = lean_array_push(x_402, x_403); -x_405 = lean_array_push(x_404, x_21); -x_406 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_405); -x_408 = lean_array_push(x_398, x_407); -x_409 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_409); -lean_ctor_set(x_410, 1, x_408); -x_411 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_412 = lean_array_push(x_411, x_410); -x_413 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_414 = lean_array_push(x_412, x_413); -x_415 = lean_array_push(x_414, x_384); -x_416 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_417, 0, x_416); -lean_ctor_set(x_417, 1, x_415); -if (lean_is_scalar(x_392)) { - x_418 = lean_alloc_ctor(0, 2, 0); +x_389 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; +x_390 = l_Lean_addMacroScope(x_386, x_389, x_383); +x_391 = l_Lean_SourceInfo_inhabited___closed__1; +x_392 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; +x_393 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_393, 0, x_391); +lean_ctor_set(x_393, 1, x_392); +lean_ctor_set(x_393, 2, x_390); +lean_ctor_set(x_393, 3, x_31); +x_394 = l_Array_empty___closed__1; +x_395 = lean_array_push(x_394, x_393); +x_396 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_397 = lean_array_push(x_395, x_396); +x_398 = lean_array_push(x_397, x_396); +x_399 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_400 = lean_array_push(x_398, x_399); +x_401 = lean_array_push(x_400, x_21); +x_402 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_403 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_403, 0, x_402); +lean_ctor_set(x_403, 1, x_401); +x_404 = lean_array_push(x_394, x_403); +x_405 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_406 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_406, 0, x_405); +lean_ctor_set(x_406, 1, x_404); +x_407 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_408 = lean_array_push(x_407, x_406); +x_409 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_410 = lean_array_push(x_408, x_409); +x_411 = lean_array_push(x_410, x_380); +x_412 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_412); +lean_ctor_set(x_413, 1, x_411); +if (lean_is_scalar(x_388)) { + x_414 = lean_alloc_ctor(0, 2, 0); } else { - x_418 = x_392; + x_414 = x_388; } -lean_ctor_set(x_418, 0, x_417); -lean_ctor_set(x_418, 1, x_391); -return x_418; +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_387); +return x_414; } else { -lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_419 = lean_ctor_get(x_382, 0); -lean_inc(x_419); -x_420 = lean_ctor_get(x_382, 1); -lean_inc(x_420); -lean_dec(x_382); -x_421 = lean_ctor_get(x_383, 0); -lean_inc(x_421); -lean_dec(x_383); -x_422 = l_List_filterAux___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__6(x_29, x_25, x_31); +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_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; +x_415 = lean_ctor_get(x_378, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_378, 1); +lean_inc(x_416); +lean_dec(x_378); +x_417 = lean_ctor_get(x_379, 0); +lean_inc(x_417); +lean_dec(x_379); +x_418 = l_List_filterAux___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__6(x_29, x_25, x_31); lean_dec(x_29); -x_423 = l_List_map___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__7(x_422); -x_424 = lean_st_ref_take(x_4, x_420); -x_425 = lean_ctor_get(x_424, 0); +x_419 = l_List_map___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__7(x_418); +x_420 = lean_st_ref_take(x_4, x_416); +x_421 = lean_ctor_get(x_420, 0); +lean_inc(x_421); +x_422 = lean_ctor_get(x_420, 1); +lean_inc(x_422); +lean_dec(x_420); +x_423 = lean_ctor_get(x_421, 0); +lean_inc(x_423); +x_424 = lean_ctor_get(x_421, 1); +lean_inc(x_424); +x_425 = lean_ctor_get(x_421, 2); lean_inc(x_425); -x_426 = lean_ctor_get(x_424, 1); +x_426 = lean_ctor_get(x_421, 3); lean_inc(x_426); -lean_dec(x_424); -x_427 = lean_ctor_get(x_425, 0); +x_427 = lean_ctor_get(x_421, 4); lean_inc(x_427); -x_428 = lean_ctor_get(x_425, 1); -lean_inc(x_428); -x_429 = lean_ctor_get(x_425, 2); -lean_inc(x_429); -x_430 = lean_ctor_get(x_425, 3); -lean_inc(x_430); -x_431 = lean_ctor_get(x_425, 4); -lean_inc(x_431); -x_432 = lean_ctor_get(x_425, 5); +if (lean_is_exclusive(x_421)) { + lean_ctor_release(x_421, 0); + lean_ctor_release(x_421, 1); + lean_ctor_release(x_421, 2); + lean_ctor_release(x_421, 3); + lean_ctor_release(x_421, 4); + x_428 = x_421; +} else { + lean_dec_ref(x_421); + x_428 = lean_box(0); +} +x_429 = lean_nat_add(x_426, x_362); +if (lean_is_scalar(x_428)) { + x_430 = lean_alloc_ctor(0, 5, 0); +} else { + x_430 = x_428; +} +lean_ctor_set(x_430, 0, x_423); +lean_ctor_set(x_430, 1, x_424); +lean_ctor_set(x_430, 2, x_425); +lean_ctor_set(x_430, 3, x_429); +lean_ctor_set(x_430, 4, x_427); +x_431 = lean_st_ref_set(x_4, x_430, x_422); +x_432 = lean_ctor_get(x_431, 1); lean_inc(x_432); -x_433 = lean_ctor_get(x_425, 6); -lean_inc(x_433); -if (lean_is_exclusive(x_425)) { - lean_ctor_release(x_425, 0); - lean_ctor_release(x_425, 1); - lean_ctor_release(x_425, 2); - lean_ctor_release(x_425, 3); - lean_ctor_release(x_425, 4); - lean_ctor_release(x_425, 5); - lean_ctor_release(x_425, 6); - x_434 = x_425; -} else { - lean_dec_ref(x_425); - x_434 = lean_box(0); -} -x_435 = lean_nat_add(x_432, x_366); -if (lean_is_scalar(x_434)) { - x_436 = lean_alloc_ctor(0, 7, 0); -} else { - x_436 = x_434; -} -lean_ctor_set(x_436, 0, x_427); -lean_ctor_set(x_436, 1, x_428); -lean_ctor_set(x_436, 2, x_429); -lean_ctor_set(x_436, 3, x_430); -lean_ctor_set(x_436, 4, x_431); -lean_ctor_set(x_436, 5, x_435); -lean_ctor_set(x_436, 6, x_433); -x_437 = lean_st_ref_set(x_4, x_436, x_426); -x_438 = lean_ctor_get(x_437, 1); -lean_inc(x_438); -lean_dec(x_437); -x_439 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_439, 0, x_371); -lean_ctor_set(x_439, 1, x_372); -lean_ctor_set(x_439, 2, x_373); -lean_ctor_set(x_439, 3, x_374); -lean_ctor_set(x_439, 4, x_375); -lean_ctor_set(x_439, 5, x_376); -lean_ctor_set(x_439, 6, x_377); -lean_ctor_set(x_439, 7, x_432); -lean_ctor_set_uint8(x_439, sizeof(void*)*8, x_378); -lean_ctor_set_uint8(x_439, sizeof(void*)*8 + 1, x_379); -lean_ctor_set_uint8(x_439, sizeof(void*)*8 + 2, x_380); +lean_dec(x_431); +x_433 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_433, 0, x_367); +lean_ctor_set(x_433, 1, x_368); +lean_ctor_set(x_433, 2, x_369); +lean_ctor_set(x_433, 3, x_370); +lean_ctor_set(x_433, 4, x_371); +lean_ctor_set(x_433, 5, x_372); +lean_ctor_set(x_433, 6, x_373); +lean_ctor_set(x_433, 7, x_426); +lean_ctor_set_uint8(x_433, sizeof(void*)*8, x_374); +lean_ctor_set_uint8(x_433, sizeof(void*)*8 + 1, x_375); +lean_ctor_set_uint8(x_433, sizeof(void*)*8 + 2, x_376); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_440 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_423, x_439, x_4, x_5, x_6, x_7, x_8, x_438); -if (lean_obj_tag(x_440) == 0) +x_434 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_419, x_433, x_4, x_5, x_6, x_7, x_8, x_432); +if (lean_obj_tag(x_434) == 0) { -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; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; 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; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; +lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; 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; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; 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; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; +x_435 = lean_ctor_get(x_434, 0); +lean_inc(x_435); +x_436 = lean_ctor_get(x_434, 1); +lean_inc(x_436); +lean_dec(x_434); +x_437 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_436); +x_438 = lean_ctor_get(x_437, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_437, 1); +lean_inc(x_439); +lean_dec(x_437); +x_440 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_439); x_441 = lean_ctor_get(x_440, 0); lean_inc(x_441); x_442 = lean_ctor_get(x_440, 1); lean_inc(x_442); lean_dec(x_440); -x_443 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_442); -x_444 = lean_ctor_get(x_443, 0); -lean_inc(x_444); -x_445 = lean_ctor_get(x_443, 1); -lean_inc(x_445); -lean_dec(x_443); -x_446 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_445); -x_447 = lean_ctor_get(x_446, 0); -lean_inc(x_447); -x_448 = lean_ctor_get(x_446, 1); -lean_inc(x_448); -lean_dec(x_446); -x_449 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; -lean_inc(x_444); -lean_inc(x_447); -x_450 = l_Lean_addMacroScope(x_447, x_449, x_444); -x_451 = l_Lean_SourceInfo_inhabited___closed__1; -x_452 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; -x_453 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; +x_443 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; +lean_inc(x_438); +lean_inc(x_441); +x_444 = l_Lean_addMacroScope(x_441, x_443, x_438); +x_445 = l_Lean_SourceInfo_inhabited___closed__1; +x_446 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; +x_447 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; +x_448 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_448, 0, x_445); +lean_ctor_set(x_448, 1, x_446); +lean_ctor_set(x_448, 2, x_444); +lean_ctor_set(x_448, 3, x_447); +x_449 = l_Array_empty___closed__1; +x_450 = lean_array_push(x_449, x_448); +x_451 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; +x_452 = l_Lean_addMacroScope(x_441, x_451, x_438); +x_453 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; x_454 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_454, 0, x_451); -lean_ctor_set(x_454, 1, x_452); -lean_ctor_set(x_454, 2, x_450); -lean_ctor_set(x_454, 3, x_453); -x_455 = l_Array_empty___closed__1; -x_456 = lean_array_push(x_455, x_454); -x_457 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; -x_458 = l_Lean_addMacroScope(x_447, x_457, x_444); -x_459 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; -x_460 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_460, 0, x_451); -lean_ctor_set(x_460, 1, x_459); -lean_ctor_set(x_460, 2, x_458); -lean_ctor_set(x_460, 3, x_31); -x_461 = lean_array_push(x_455, x_460); -x_462 = l___private_Lean_Syntax_7__quoteName___main(x_421); -x_463 = lean_array_push(x_461, x_462); -x_464 = l_Lean_nullKind___closed__2; -x_465 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_465, 0, x_464); -lean_ctor_set(x_465, 1, x_463); -x_466 = lean_array_push(x_456, x_465); -x_467 = l_Lean_mkAppStx___closed__8; -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_466); -x_469 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_448); +lean_ctor_set(x_454, 0, x_445); +lean_ctor_set(x_454, 1, x_453); +lean_ctor_set(x_454, 2, x_452); +lean_ctor_set(x_454, 3, x_31); +x_455 = lean_array_push(x_449, x_454); +x_456 = l___private_Lean_Syntax_7__quoteName___main(x_417); +x_457 = lean_array_push(x_455, x_456); +x_458 = l_Lean_nullKind___closed__2; +x_459 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_459, 0, x_458); +lean_ctor_set(x_459, 1, x_457); +x_460 = lean_array_push(x_450, x_459); +x_461 = l_Lean_mkAppStx___closed__8; +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_461); +lean_ctor_set(x_462, 1, x_460); +x_463 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_442); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_470 = lean_ctor_get(x_469, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_469, 1); -lean_inc(x_471); -lean_dec(x_469); -x_472 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_471); +x_464 = lean_ctor_get(x_463, 0); +lean_inc(x_464); +x_465 = lean_ctor_get(x_463, 1); +lean_inc(x_465); +lean_dec(x_463); +x_466 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_465); lean_dec(x_8); -x_473 = lean_ctor_get(x_472, 0); -lean_inc(x_473); -x_474 = lean_ctor_get(x_472, 1); -lean_inc(x_474); -if (lean_is_exclusive(x_472)) { - lean_ctor_release(x_472, 0); - lean_ctor_release(x_472, 1); - x_475 = x_472; +x_467 = lean_ctor_get(x_466, 0); +lean_inc(x_467); +x_468 = lean_ctor_get(x_466, 1); +lean_inc(x_468); +if (lean_is_exclusive(x_466)) { + lean_ctor_release(x_466, 0); + lean_ctor_release(x_466, 1); + x_469 = x_466; } else { - lean_dec_ref(x_472); - x_475 = lean_box(0); + lean_dec_ref(x_466); + x_469 = lean_box(0); } -lean_inc(x_470); -lean_inc(x_473); -x_476 = l_Lean_addMacroScope(x_473, x_457, x_470); -x_477 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_477, 0, x_451); -lean_ctor_set(x_477, 1, x_459); -lean_ctor_set(x_477, 2, x_476); -lean_ctor_set(x_477, 3, x_31); -x_478 = lean_array_push(x_455, x_477); -x_479 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_480 = lean_array_push(x_478, x_479); -x_481 = lean_array_push(x_480, x_479); -x_482 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_483 = lean_array_push(x_481, x_482); -x_484 = lean_array_push(x_483, x_21); -x_485 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_486 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_486, 0, x_485); -lean_ctor_set(x_486, 1, x_484); -x_487 = lean_array_push(x_455, x_486); -x_488 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_489 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_489, 0, x_488); -lean_ctor_set(x_489, 1, x_487); -x_490 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_491 = lean_array_push(x_490, x_489); -x_492 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_493 = lean_array_push(x_491, x_492); -x_494 = lean_array_push(x_455, x_468); -x_495 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; -x_496 = lean_array_push(x_494, x_495); -x_497 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; -x_498 = l_Lean_addMacroScope(x_473, x_497, x_470); -x_499 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; -x_500 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; -x_501 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_501, 0, x_451); -lean_ctor_set(x_501, 1, x_499); -lean_ctor_set(x_501, 2, x_498); -lean_ctor_set(x_501, 3, x_500); -x_502 = lean_array_push(x_496, x_501); -x_503 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; -x_504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_504, 0, x_503); -lean_ctor_set(x_504, 1, x_502); -x_505 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; -x_506 = lean_array_push(x_505, x_504); -x_507 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; -x_508 = lean_array_push(x_506, x_507); -x_509 = lean_array_push(x_508, x_419); -x_510 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; -x_511 = lean_array_push(x_509, x_510); -x_512 = lean_array_push(x_511, x_441); -x_513 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_513); -lean_ctor_set(x_514, 1, x_512); -x_515 = lean_array_push(x_493, x_514); -x_516 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_516); -lean_ctor_set(x_517, 1, x_515); -if (lean_is_scalar(x_475)) { - x_518 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_464); +lean_inc(x_467); +x_470 = l_Lean_addMacroScope(x_467, x_451, x_464); +x_471 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_471, 0, x_445); +lean_ctor_set(x_471, 1, x_453); +lean_ctor_set(x_471, 2, x_470); +lean_ctor_set(x_471, 3, x_31); +x_472 = lean_array_push(x_449, x_471); +x_473 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_474 = lean_array_push(x_472, x_473); +x_475 = lean_array_push(x_474, x_473); +x_476 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_477 = lean_array_push(x_475, x_476); +x_478 = lean_array_push(x_477, x_21); +x_479 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_480 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_480, 0, x_479); +lean_ctor_set(x_480, 1, x_478); +x_481 = lean_array_push(x_449, x_480); +x_482 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_483 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_483, 0, x_482); +lean_ctor_set(x_483, 1, x_481); +x_484 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_485 = lean_array_push(x_484, x_483); +x_486 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_487 = lean_array_push(x_485, x_486); +x_488 = lean_array_push(x_449, x_462); +x_489 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; +x_490 = lean_array_push(x_488, x_489); +x_491 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; +x_492 = l_Lean_addMacroScope(x_467, x_491, x_464); +x_493 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; +x_494 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; +x_495 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_495, 0, x_445); +lean_ctor_set(x_495, 1, x_493); +lean_ctor_set(x_495, 2, x_492); +lean_ctor_set(x_495, 3, x_494); +x_496 = lean_array_push(x_490, x_495); +x_497 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; +x_498 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_496); +x_499 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; +x_500 = lean_array_push(x_499, x_498); +x_501 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; +x_502 = lean_array_push(x_500, x_501); +x_503 = lean_array_push(x_502, x_415); +x_504 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; +x_505 = lean_array_push(x_503, x_504); +x_506 = lean_array_push(x_505, x_435); +x_507 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; +x_508 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_508, 0, x_507); +lean_ctor_set(x_508, 1, x_506); +x_509 = lean_array_push(x_487, x_508); +x_510 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_511 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_511, 0, x_510); +lean_ctor_set(x_511, 1, x_509); +if (lean_is_scalar(x_469)) { + x_512 = lean_alloc_ctor(0, 2, 0); } else { - x_518 = x_475; + x_512 = x_469; } -lean_ctor_set(x_518, 0, x_517); -lean_ctor_set(x_518, 1, x_474); -return x_518; +lean_ctor_set(x_512, 0, x_511); +lean_ctor_set(x_512, 1, x_468); +return x_512; } else { -lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; -lean_dec(x_421); -lean_dec(x_419); +lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; +lean_dec(x_417); +lean_dec(x_415); lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); @@ -9081,39 +9061,39 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_519 = lean_ctor_get(x_440, 0); -lean_inc(x_519); -x_520 = lean_ctor_get(x_440, 1); -lean_inc(x_520); -if (lean_is_exclusive(x_440)) { - lean_ctor_release(x_440, 0); - lean_ctor_release(x_440, 1); - x_521 = x_440; +x_513 = lean_ctor_get(x_434, 0); +lean_inc(x_513); +x_514 = lean_ctor_get(x_434, 1); +lean_inc(x_514); +if (lean_is_exclusive(x_434)) { + lean_ctor_release(x_434, 0); + lean_ctor_release(x_434, 1); + x_515 = x_434; } else { - lean_dec_ref(x_440); - x_521 = lean_box(0); + lean_dec_ref(x_434); + x_515 = lean_box(0); } -if (lean_is_scalar(x_521)) { - x_522 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_515)) { + x_516 = lean_alloc_ctor(1, 2, 0); } else { - x_522 = x_521; + x_516 = x_515; } -lean_ctor_set(x_522, 0, x_519); -lean_ctor_set(x_522, 1, x_520); -return x_522; +lean_ctor_set(x_516, 0, x_513); +lean_ctor_set(x_516, 1, x_514); +return x_516; } } } else { -lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; -lean_dec(x_377); -lean_dec(x_376); -lean_dec(x_375); -lean_dec(x_374); +lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_dec(x_373); lean_dec(x_372); lean_dec(x_371); +lean_dec(x_370); +lean_dec(x_369); +lean_dec(x_368); +lean_dec(x_367); lean_dec(x_29); lean_dec(x_25); lean_dec(x_21); @@ -9124,32 +9104,32 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_523 = lean_ctor_get(x_382, 0); -lean_inc(x_523); -x_524 = lean_ctor_get(x_382, 1); -lean_inc(x_524); -if (lean_is_exclusive(x_382)) { - lean_ctor_release(x_382, 0); - lean_ctor_release(x_382, 1); - x_525 = x_382; +x_517 = lean_ctor_get(x_378, 0); +lean_inc(x_517); +x_518 = lean_ctor_get(x_378, 1); +lean_inc(x_518); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + x_519 = x_378; } else { - lean_dec_ref(x_382); - x_525 = lean_box(0); + lean_dec_ref(x_378); + x_519 = lean_box(0); } -if (lean_is_scalar(x_525)) { - x_526 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_519)) { + x_520 = lean_alloc_ctor(1, 2, 0); } else { - x_526 = x_525; + x_520 = x_519; } -lean_ctor_set(x_526, 0, x_523); -lean_ctor_set(x_526, 1, x_524); -return x_526; +lean_ctor_set(x_520, 0, x_517); +lean_ctor_set(x_520, 1, x_518); +return x_520; } } } else { -uint8_t x_527; +uint8_t x_521; lean_dec(x_29); lean_dec(x_25); lean_dec(x_22); @@ -9161,589 +9141,589 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_527 = !lean_is_exclusive(x_33); -if (x_527 == 0) +x_521 = !lean_is_exclusive(x_33); +if (x_521 == 0) { return x_33; } else { -lean_object* x_528; lean_object* x_529; lean_object* x_530; -x_528 = lean_ctor_get(x_33, 0); -x_529 = lean_ctor_get(x_33, 1); -lean_inc(x_529); -lean_inc(x_528); +lean_object* x_522; lean_object* x_523; lean_object* x_524; +x_522 = lean_ctor_get(x_33, 0); +x_523 = lean_ctor_get(x_33, 1); +lean_inc(x_523); +lean_inc(x_522); lean_dec(x_33); -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_528); -lean_ctor_set(x_530, 1, x_529); -return x_530; +x_524 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_524, 0, x_522); +lean_ctor_set(x_524, 1, x_523); +return x_524; } } } else { -lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; -x_531 = lean_ctor_get(x_30, 0); -lean_inc(x_531); +lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; +x_525 = lean_ctor_get(x_30, 0); +lean_inc(x_525); lean_dec(x_30); -x_532 = lean_array_get_size(x_531); -lean_dec(x_531); -lean_inc(x_532); -x_533 = l_List_range(x_532); -x_534 = l_List_mapM___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__8(x_533, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_535 = lean_ctor_get(x_534, 0); -lean_inc(x_535); -x_536 = lean_ctor_get(x_534, 1); -lean_inc(x_536); -lean_dec(x_534); -x_537 = lean_box(0); +x_526 = lean_array_get_size(x_525); +lean_dec(x_525); +lean_inc(x_526); +x_527 = l_List_range(x_526); +x_528 = l_List_mapM___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__8(x_527, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_529 = lean_ctor_get(x_528, 0); +lean_inc(x_529); +x_530 = lean_ctor_get(x_528, 1); +lean_inc(x_530); +lean_dec(x_528); +x_531 = lean_box(0); lean_inc(x_25); -x_538 = l_List_filterAux___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__9(x_29, x_25, x_537); +x_532 = l_List_filterAux___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__9(x_29, x_25, x_531); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_539 = l_List_mapM___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__10(x_535, x_538, x_3, x_4, x_5, x_6, x_7, x_8, x_536); -if (lean_obj_tag(x_539) == 0) +x_533 = l_List_mapM___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__10(x_529, x_532, x_3, x_4, x_5, x_6, x_7, x_8, x_530); +if (lean_obj_tag(x_533) == 0) { -lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; uint8_t x_546; -x_540 = lean_ctor_get(x_539, 0); -lean_inc(x_540); -x_541 = lean_ctor_get(x_539, 1); -lean_inc(x_541); -lean_dec(x_539); -x_542 = l_List_append___rarg(x_535, x_22); -x_543 = lean_st_ref_take(x_4, x_541); -x_544 = lean_ctor_get(x_543, 0); -lean_inc(x_544); -x_545 = lean_ctor_get(x_543, 1); +lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; uint8_t x_540; +x_534 = lean_ctor_get(x_533, 0); +lean_inc(x_534); +x_535 = lean_ctor_get(x_533, 1); +lean_inc(x_535); +lean_dec(x_533); +x_536 = l_List_append___rarg(x_529, x_22); +x_537 = lean_st_ref_take(x_4, x_535); +x_538 = lean_ctor_get(x_537, 0); +lean_inc(x_538); +x_539 = lean_ctor_get(x_537, 1); +lean_inc(x_539); +lean_dec(x_537); +x_540 = !lean_is_exclusive(x_538); +if (x_540 == 0) +{ +lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; uint8_t x_553; uint8_t x_554; uint8_t x_555; lean_object* x_556; lean_object* x_557; +x_541 = lean_ctor_get(x_538, 3); +x_542 = lean_unsigned_to_nat(1u); +x_543 = lean_nat_add(x_541, x_542); +lean_ctor_set(x_538, 3, x_543); +x_544 = lean_st_ref_set(x_4, x_538, x_539); +x_545 = lean_ctor_get(x_544, 1); lean_inc(x_545); -lean_dec(x_543); -x_546 = !lean_is_exclusive(x_544); -if (x_546 == 0) -{ -lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; uint8_t x_559; uint8_t x_560; uint8_t x_561; lean_object* x_562; lean_object* x_563; -x_547 = lean_ctor_get(x_544, 5); -x_548 = lean_unsigned_to_nat(1u); -x_549 = lean_nat_add(x_547, x_548); -lean_ctor_set(x_544, 5, x_549); -x_550 = lean_st_ref_set(x_4, x_544, x_545); -x_551 = lean_ctor_get(x_550, 1); +lean_dec(x_544); +x_546 = lean_ctor_get(x_3, 0); +lean_inc(x_546); +x_547 = lean_ctor_get(x_3, 1); +lean_inc(x_547); +x_548 = lean_ctor_get(x_3, 2); +lean_inc(x_548); +x_549 = lean_ctor_get(x_3, 3); +lean_inc(x_549); +x_550 = lean_ctor_get(x_3, 4); +lean_inc(x_550); +x_551 = lean_ctor_get(x_3, 5); lean_inc(x_551); -lean_dec(x_550); -x_552 = lean_ctor_get(x_3, 0); +x_552 = lean_ctor_get(x_3, 6); lean_inc(x_552); -x_553 = lean_ctor_get(x_3, 1); -lean_inc(x_553); -x_554 = lean_ctor_get(x_3, 2); -lean_inc(x_554); -x_555 = lean_ctor_get(x_3, 3); -lean_inc(x_555); -x_556 = lean_ctor_get(x_3, 4); -lean_inc(x_556); -x_557 = lean_ctor_get(x_3, 5); -lean_inc(x_557); -x_558 = lean_ctor_get(x_3, 6); -lean_inc(x_558); -x_559 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_560 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_561 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -lean_inc(x_558); -lean_inc(x_557); -lean_inc(x_556); -lean_inc(x_555); -lean_inc(x_554); -lean_inc(x_553); +x_553 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); +x_554 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); +x_555 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); lean_inc(x_552); -x_562 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_562, 0, x_552); -lean_ctor_set(x_562, 1, x_553); -lean_ctor_set(x_562, 2, x_554); -lean_ctor_set(x_562, 3, x_555); -lean_ctor_set(x_562, 4, x_556); -lean_ctor_set(x_562, 5, x_557); -lean_ctor_set(x_562, 6, x_558); -lean_ctor_set(x_562, 7, x_547); -lean_ctor_set_uint8(x_562, sizeof(void*)*8, x_559); -lean_ctor_set_uint8(x_562, sizeof(void*)*8 + 1, x_560); -lean_ctor_set_uint8(x_562, sizeof(void*)*8 + 2, x_561); +lean_inc(x_551); +lean_inc(x_550); +lean_inc(x_549); +lean_inc(x_548); +lean_inc(x_547); +lean_inc(x_546); +x_556 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_556, 0, x_546); +lean_ctor_set(x_556, 1, x_547); +lean_ctor_set(x_556, 2, x_548); +lean_ctor_set(x_556, 3, x_549); +lean_ctor_set(x_556, 4, x_550); +lean_ctor_set(x_556, 5, x_551); +lean_ctor_set(x_556, 6, x_552); +lean_ctor_set(x_556, 7, x_541); +lean_ctor_set_uint8(x_556, sizeof(void*)*8, x_553); +lean_ctor_set_uint8(x_556, sizeof(void*)*8 + 1, x_554); +lean_ctor_set_uint8(x_556, sizeof(void*)*8 + 2, x_555); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_563 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_542, x_540, x_562, x_4, x_5, x_6, x_7, x_8, x_551); -if (lean_obj_tag(x_563) == 0) +x_557 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_536, x_534, x_556, x_4, x_5, x_6, x_7, x_8, x_545); +if (lean_obj_tag(x_557) == 0) { -lean_object* x_564; -x_564 = lean_ctor_get(x_29, 0); -lean_inc(x_564); -if (lean_obj_tag(x_564) == 0) +lean_object* x_558; +x_558 = lean_ctor_get(x_29, 0); +lean_inc(x_558); +if (lean_obj_tag(x_558) == 0) { -lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; uint8_t x_571; -lean_dec(x_558); -lean_dec(x_557); -lean_dec(x_556); -lean_dec(x_555); -lean_dec(x_554); -lean_dec(x_553); +lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; uint8_t x_565; lean_dec(x_552); -lean_dec(x_532); +lean_dec(x_551); +lean_dec(x_550); +lean_dec(x_549); +lean_dec(x_548); +lean_dec(x_547); +lean_dec(x_546); +lean_dec(x_526); lean_dec(x_29); lean_dec(x_25); lean_dec(x_1); -x_565 = lean_ctor_get(x_563, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_563, 1); -lean_inc(x_566); -lean_dec(x_563); -x_567 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_566); +x_559 = lean_ctor_get(x_557, 0); +lean_inc(x_559); +x_560 = lean_ctor_get(x_557, 1); +lean_inc(x_560); +lean_dec(x_557); +x_561 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_560); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_568 = lean_ctor_get(x_567, 0); -lean_inc(x_568); -x_569 = lean_ctor_get(x_567, 1); -lean_inc(x_569); -lean_dec(x_567); -x_570 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_569); +x_562 = lean_ctor_get(x_561, 0); +lean_inc(x_562); +x_563 = lean_ctor_get(x_561, 1); +lean_inc(x_563); +lean_dec(x_561); +x_564 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_563); lean_dec(x_8); -x_571 = !lean_is_exclusive(x_570); -if (x_571 == 0) +x_565 = !lean_is_exclusive(x_564); +if (x_565 == 0) { -lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; -x_572 = lean_ctor_get(x_570, 0); -x_573 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; -x_574 = l_Lean_addMacroScope(x_572, x_573, x_568); -x_575 = l_Lean_SourceInfo_inhabited___closed__1; -x_576 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; -x_577 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_577, 0, x_575); -lean_ctor_set(x_577, 1, x_576); -lean_ctor_set(x_577, 2, x_574); -lean_ctor_set(x_577, 3, x_537); -x_578 = l_Array_empty___closed__1; -x_579 = lean_array_push(x_578, x_577); -x_580 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_581 = lean_array_push(x_579, x_580); -x_582 = lean_array_push(x_581, x_580); -x_583 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_584 = lean_array_push(x_582, x_583); -x_585 = lean_array_push(x_584, x_21); -x_586 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_587, 0, x_586); -lean_ctor_set(x_587, 1, x_585); -x_588 = lean_array_push(x_578, x_587); -x_589 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_590, 0, x_589); -lean_ctor_set(x_590, 1, x_588); -x_591 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_592 = lean_array_push(x_591, x_590); -x_593 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_594 = lean_array_push(x_592, x_593); -x_595 = lean_array_push(x_594, x_565); -x_596 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_597 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_597, 0, x_596); -lean_ctor_set(x_597, 1, x_595); -lean_ctor_set(x_570, 0, x_597); -return x_570; +lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; +x_566 = lean_ctor_get(x_564, 0); +x_567 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; +x_568 = l_Lean_addMacroScope(x_566, x_567, x_562); +x_569 = l_Lean_SourceInfo_inhabited___closed__1; +x_570 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; +x_571 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_571, 0, x_569); +lean_ctor_set(x_571, 1, x_570); +lean_ctor_set(x_571, 2, x_568); +lean_ctor_set(x_571, 3, x_531); +x_572 = l_Array_empty___closed__1; +x_573 = lean_array_push(x_572, x_571); +x_574 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_575 = lean_array_push(x_573, x_574); +x_576 = lean_array_push(x_575, x_574); +x_577 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_578 = lean_array_push(x_576, x_577); +x_579 = lean_array_push(x_578, x_21); +x_580 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_581 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_581, 0, x_580); +lean_ctor_set(x_581, 1, x_579); +x_582 = lean_array_push(x_572, x_581); +x_583 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_584 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_584, 0, x_583); +lean_ctor_set(x_584, 1, x_582); +x_585 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_586 = lean_array_push(x_585, x_584); +x_587 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_588 = lean_array_push(x_586, x_587); +x_589 = lean_array_push(x_588, x_559); +x_590 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_591, 0, x_590); +lean_ctor_set(x_591, 1, x_589); +lean_ctor_set(x_564, 0, x_591); +return x_564; } else { -lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; -x_598 = lean_ctor_get(x_570, 0); -x_599 = lean_ctor_get(x_570, 1); -lean_inc(x_599); -lean_inc(x_598); -lean_dec(x_570); -x_600 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; -x_601 = l_Lean_addMacroScope(x_598, x_600, x_568); -x_602 = l_Lean_SourceInfo_inhabited___closed__1; -x_603 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; -x_604 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_604, 0, x_602); -lean_ctor_set(x_604, 1, x_603); -lean_ctor_set(x_604, 2, x_601); -lean_ctor_set(x_604, 3, x_537); -x_605 = l_Array_empty___closed__1; -x_606 = lean_array_push(x_605, x_604); -x_607 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_608 = lean_array_push(x_606, x_607); -x_609 = lean_array_push(x_608, x_607); -x_610 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_611 = lean_array_push(x_609, x_610); -x_612 = lean_array_push(x_611, x_21); -x_613 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_614 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_614, 0, x_613); -lean_ctor_set(x_614, 1, x_612); -x_615 = lean_array_push(x_605, x_614); -x_616 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_617, 0, x_616); -lean_ctor_set(x_617, 1, x_615); -x_618 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_619 = lean_array_push(x_618, x_617); -x_620 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_621 = lean_array_push(x_619, x_620); -x_622 = lean_array_push(x_621, x_565); -x_623 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_624 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_624, 0, x_623); -lean_ctor_set(x_624, 1, x_622); -x_625 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_625, 0, x_624); -lean_ctor_set(x_625, 1, x_599); -return x_625; -} -} -else -{ -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; uint8_t x_634; -x_626 = lean_ctor_get(x_563, 0); -lean_inc(x_626); -x_627 = lean_ctor_get(x_563, 1); -lean_inc(x_627); -lean_dec(x_563); -x_628 = lean_ctor_get(x_564, 0); -lean_inc(x_628); +lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; +x_592 = lean_ctor_get(x_564, 0); +x_593 = lean_ctor_get(x_564, 1); +lean_inc(x_593); +lean_inc(x_592); lean_dec(x_564); -x_629 = l_List_filterAux___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__11(x_29, x_25, x_537); -lean_dec(x_29); -x_630 = l_List_map___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__7(x_629); -x_631 = lean_st_ref_take(x_4, x_627); -x_632 = lean_ctor_get(x_631, 0); -lean_inc(x_632); -x_633 = lean_ctor_get(x_631, 1); -lean_inc(x_633); -lean_dec(x_631); -x_634 = !lean_is_exclusive(x_632); -if (x_634 == 0) +x_594 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; +x_595 = l_Lean_addMacroScope(x_592, x_594, x_562); +x_596 = l_Lean_SourceInfo_inhabited___closed__1; +x_597 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; +x_598 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_598, 0, x_596); +lean_ctor_set(x_598, 1, x_597); +lean_ctor_set(x_598, 2, x_595); +lean_ctor_set(x_598, 3, x_531); +x_599 = l_Array_empty___closed__1; +x_600 = lean_array_push(x_599, x_598); +x_601 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_602 = lean_array_push(x_600, x_601); +x_603 = lean_array_push(x_602, x_601); +x_604 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_605 = lean_array_push(x_603, x_604); +x_606 = lean_array_push(x_605, x_21); +x_607 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_608 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_608, 0, x_607); +lean_ctor_set(x_608, 1, x_606); +x_609 = lean_array_push(x_599, x_608); +x_610 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_611 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_611, 0, x_610); +lean_ctor_set(x_611, 1, x_609); +x_612 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_613 = lean_array_push(x_612, x_611); +x_614 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_615 = lean_array_push(x_613, x_614); +x_616 = lean_array_push(x_615, x_559); +x_617 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_618 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_618, 0, x_617); +lean_ctor_set(x_618, 1, x_616); +x_619 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_619, 0, x_618); +lean_ctor_set(x_619, 1, x_593); +return x_619; +} +} +else { -lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; -x_635 = lean_ctor_get(x_632, 5); -x_636 = lean_nat_add(x_635, x_548); -lean_ctor_set(x_632, 5, x_636); -x_637 = lean_st_ref_set(x_4, x_632, x_633); -x_638 = lean_ctor_get(x_637, 1); -lean_inc(x_638); -lean_dec(x_637); -x_639 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_639, 0, x_552); -lean_ctor_set(x_639, 1, x_553); -lean_ctor_set(x_639, 2, x_554); -lean_ctor_set(x_639, 3, x_555); -lean_ctor_set(x_639, 4, x_556); -lean_ctor_set(x_639, 5, x_557); -lean_ctor_set(x_639, 6, x_558); -lean_ctor_set(x_639, 7, x_635); -lean_ctor_set_uint8(x_639, sizeof(void*)*8, x_559); -lean_ctor_set_uint8(x_639, sizeof(void*)*8 + 1, x_560); -lean_ctor_set_uint8(x_639, sizeof(void*)*8 + 2, x_561); +lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; uint8_t x_628; +x_620 = lean_ctor_get(x_557, 0); +lean_inc(x_620); +x_621 = lean_ctor_get(x_557, 1); +lean_inc(x_621); +lean_dec(x_557); +x_622 = lean_ctor_get(x_558, 0); +lean_inc(x_622); +lean_dec(x_558); +x_623 = l_List_filterAux___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__11(x_29, x_25, x_531); +lean_dec(x_29); +x_624 = l_List_map___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__7(x_623); +x_625 = lean_st_ref_take(x_4, x_621); +x_626 = lean_ctor_get(x_625, 0); +lean_inc(x_626); +x_627 = lean_ctor_get(x_625, 1); +lean_inc(x_627); +lean_dec(x_625); +x_628 = !lean_is_exclusive(x_626); +if (x_628 == 0) +{ +lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; +x_629 = lean_ctor_get(x_626, 3); +x_630 = lean_nat_add(x_629, x_542); +lean_ctor_set(x_626, 3, x_630); +x_631 = lean_st_ref_set(x_4, x_626, x_627); +x_632 = lean_ctor_get(x_631, 1); +lean_inc(x_632); +lean_dec(x_631); +x_633 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_633, 0, x_546); +lean_ctor_set(x_633, 1, x_547); +lean_ctor_set(x_633, 2, x_548); +lean_ctor_set(x_633, 3, x_549); +lean_ctor_set(x_633, 4, x_550); +lean_ctor_set(x_633, 5, x_551); +lean_ctor_set(x_633, 6, x_552); +lean_ctor_set(x_633, 7, x_629); +lean_ctor_set_uint8(x_633, sizeof(void*)*8, x_553); +lean_ctor_set_uint8(x_633, sizeof(void*)*8 + 1, x_554); +lean_ctor_set_uint8(x_633, sizeof(void*)*8 + 2, x_555); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_640 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_630, x_639, x_4, x_5, x_6, x_7, x_8, x_638); -if (lean_obj_tag(x_640) == 0) +x_634 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_624, x_633, x_4, x_5, x_6, x_7, x_8, x_632); +if (lean_obj_tag(x_634) == 0) { -lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; uint8_t x_717; +lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; uint8_t x_711; +x_635 = lean_ctor_get(x_634, 0); +lean_inc(x_635); +x_636 = lean_ctor_get(x_634, 1); +lean_inc(x_636); +lean_dec(x_634); +x_637 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_636); +x_638 = lean_ctor_get(x_637, 0); +lean_inc(x_638); +x_639 = lean_ctor_get(x_637, 1); +lean_inc(x_639); +lean_dec(x_637); +x_640 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_639); x_641 = lean_ctor_get(x_640, 0); lean_inc(x_641); x_642 = lean_ctor_get(x_640, 1); lean_inc(x_642); lean_dec(x_640); -x_643 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_642); -x_644 = lean_ctor_get(x_643, 0); -lean_inc(x_644); -x_645 = lean_ctor_get(x_643, 1); -lean_inc(x_645); -lean_dec(x_643); -x_646 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_645); -x_647 = lean_ctor_get(x_646, 0); -lean_inc(x_647); -x_648 = lean_ctor_get(x_646, 1); -lean_inc(x_648); -lean_dec(x_646); -x_649 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; -lean_inc(x_644); -lean_inc(x_647); -x_650 = l_Lean_addMacroScope(x_647, x_649, x_644); -x_651 = l_Lean_SourceInfo_inhabited___closed__1; -x_652 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; -x_653 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; +x_643 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; +lean_inc(x_638); +lean_inc(x_641); +x_644 = l_Lean_addMacroScope(x_641, x_643, x_638); +x_645 = l_Lean_SourceInfo_inhabited___closed__1; +x_646 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; +x_647 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; +x_648 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_648, 0, x_645); +lean_ctor_set(x_648, 1, x_646); +lean_ctor_set(x_648, 2, x_644); +lean_ctor_set(x_648, 3, x_647); +x_649 = l_Array_empty___closed__1; +x_650 = lean_array_push(x_649, x_648); +x_651 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; +lean_inc(x_638); +lean_inc(x_641); +x_652 = l_Lean_addMacroScope(x_641, x_651, x_638); +x_653 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; x_654 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_654, 0, x_651); -lean_ctor_set(x_654, 1, x_652); -lean_ctor_set(x_654, 2, x_650); -lean_ctor_set(x_654, 3, x_653); -x_655 = l_Array_empty___closed__1; -x_656 = lean_array_push(x_655, x_654); -x_657 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; -lean_inc(x_644); -lean_inc(x_647); -x_658 = l_Lean_addMacroScope(x_647, x_657, x_644); -x_659 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; -x_660 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_660, 0, x_651); -lean_ctor_set(x_660, 1, x_659); -lean_ctor_set(x_660, 2, x_658); -lean_ctor_set(x_660, 3, x_537); -x_661 = lean_array_push(x_655, x_660); -x_662 = l___private_Lean_Syntax_7__quoteName___main(x_628); -lean_inc(x_661); -x_663 = lean_array_push(x_661, x_662); -x_664 = l_Lean_nullKind___closed__2; -x_665 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_665, 0, x_664); -lean_ctor_set(x_665, 1, x_663); -x_666 = lean_array_push(x_656, x_665); -x_667 = l_Lean_mkAppStx___closed__8; -x_668 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_668, 0, x_667); -lean_ctor_set(x_668, 1, x_666); -x_669 = lean_array_push(x_655, x_668); -x_670 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__32; -x_671 = lean_array_push(x_669, x_670); -x_672 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__38; -lean_inc(x_644); -lean_inc(x_647); -x_673 = l_Lean_addMacroScope(x_647, x_672, x_644); -x_674 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__36; -x_675 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__40; +lean_ctor_set(x_654, 0, x_645); +lean_ctor_set(x_654, 1, x_653); +lean_ctor_set(x_654, 2, x_652); +lean_ctor_set(x_654, 3, x_531); +x_655 = lean_array_push(x_649, x_654); +x_656 = l___private_Lean_Syntax_7__quoteName___main(x_622); +lean_inc(x_655); +x_657 = lean_array_push(x_655, x_656); +x_658 = l_Lean_nullKind___closed__2; +x_659 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_659, 0, x_658); +lean_ctor_set(x_659, 1, x_657); +x_660 = lean_array_push(x_650, x_659); +x_661 = l_Lean_mkAppStx___closed__8; +x_662 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_662, 0, x_661); +lean_ctor_set(x_662, 1, x_660); +x_663 = lean_array_push(x_649, x_662); +x_664 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__32; +x_665 = lean_array_push(x_663, x_664); +x_666 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__38; +lean_inc(x_638); +lean_inc(x_641); +x_667 = l_Lean_addMacroScope(x_641, x_666, x_638); +x_668 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__36; +x_669 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__40; +x_670 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_670, 0, x_645); +lean_ctor_set(x_670, 1, x_668); +lean_ctor_set(x_670, 2, x_667); +lean_ctor_set(x_670, 3, x_669); +x_671 = lean_array_push(x_649, x_670); +x_672 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__5; +x_673 = l_Lean_addMacroScope(x_641, x_672, x_638); +x_674 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__3; +x_675 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__43; x_676 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_676, 0, x_651); +lean_ctor_set(x_676, 0, x_645); lean_ctor_set(x_676, 1, x_674); lean_ctor_set(x_676, 2, x_673); lean_ctor_set(x_676, 3, x_675); -x_677 = lean_array_push(x_655, x_676); -x_678 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__5; -x_679 = l_Lean_addMacroScope(x_647, x_678, x_644); -x_680 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__3; -x_681 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__43; -x_682 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_682, 0, x_651); -lean_ctor_set(x_682, 1, x_680); -lean_ctor_set(x_682, 2, x_679); -lean_ctor_set(x_682, 3, x_681); -x_683 = lean_array_push(x_655, x_682); +x_677 = lean_array_push(x_649, x_676); +x_678 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_678, 0, x_658); +lean_ctor_set(x_678, 1, x_655); +x_679 = lean_array_push(x_677, x_678); +x_680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_680, 0, x_661); +lean_ctor_set(x_680, 1, x_679); +x_681 = lean_array_push(x_649, x_680); +x_682 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_683 = lean_array_push(x_681, x_682); x_684 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_684, 0, x_664); -lean_ctor_set(x_684, 1, x_661); -x_685 = lean_array_push(x_683, x_684); -x_686 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_686, 0, x_667); -lean_ctor_set(x_686, 1, x_685); -x_687 = lean_array_push(x_655, x_686); -x_688 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_689 = lean_array_push(x_687, x_688); +lean_ctor_set(x_684, 0, x_658); +lean_ctor_set(x_684, 1, x_683); +x_685 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; +x_686 = lean_array_push(x_685, x_684); +x_687 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__34; +x_688 = lean_array_push(x_686, x_687); +x_689 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_664); -lean_ctor_set(x_690, 1, x_689); -x_691 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; -x_692 = lean_array_push(x_691, x_690); -x_693 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__34; -x_694 = lean_array_push(x_692, x_693); -x_695 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; -x_696 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_696, 0, x_695); -lean_ctor_set(x_696, 1, x_694); -x_697 = lean_array_push(x_655, x_696); -x_698 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_698, 0, x_664); -lean_ctor_set(x_698, 1, x_697); -x_699 = lean_array_push(x_677, x_698); -x_700 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_700, 0, x_667); -lean_ctor_set(x_700, 1, x_699); -x_701 = lean_array_push(x_655, x_700); -x_702 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__45; -x_703 = lean_array_push(x_701, x_702); -x_704 = l_Nat_repr(x_532); -x_705 = l_Lean_numLitKind; -x_706 = l_Lean_mkStxLit(x_705, x_704, x_651); -x_707 = lean_array_push(x_703, x_706); -x_708 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__33; -x_709 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_709, 0, x_708); -lean_ctor_set(x_709, 1, x_707); -x_710 = lean_array_push(x_671, x_709); -x_711 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__30; -x_712 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_712, 0, x_711); -lean_ctor_set(x_712, 1, x_710); -x_713 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_648); +lean_ctor_set(x_690, 0, x_689); +lean_ctor_set(x_690, 1, x_688); +x_691 = lean_array_push(x_649, x_690); +x_692 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_692, 0, x_658); +lean_ctor_set(x_692, 1, x_691); +x_693 = lean_array_push(x_671, x_692); +x_694 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_694, 0, x_661); +lean_ctor_set(x_694, 1, x_693); +x_695 = lean_array_push(x_649, x_694); +x_696 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__45; +x_697 = lean_array_push(x_695, x_696); +x_698 = l_Nat_repr(x_526); +x_699 = l_Lean_numLitKind; +x_700 = l_Lean_mkStxLit(x_699, x_698, x_645); +x_701 = lean_array_push(x_697, x_700); +x_702 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__33; +x_703 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_703, 0, x_702); +lean_ctor_set(x_703, 1, x_701); +x_704 = lean_array_push(x_665, x_703); +x_705 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__30; +x_706 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_706, 0, x_705); +lean_ctor_set(x_706, 1, x_704); +x_707 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_642); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_714 = lean_ctor_get(x_713, 0); -lean_inc(x_714); -x_715 = lean_ctor_get(x_713, 1); -lean_inc(x_715); -lean_dec(x_713); -x_716 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_715); +x_708 = lean_ctor_get(x_707, 0); +lean_inc(x_708); +x_709 = lean_ctor_get(x_707, 1); +lean_inc(x_709); +lean_dec(x_707); +x_710 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_709); lean_dec(x_8); -x_717 = !lean_is_exclusive(x_716); -if (x_717 == 0) +x_711 = !lean_is_exclusive(x_710); +if (x_711 == 0) { -lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; -x_718 = lean_ctor_get(x_716, 0); -lean_inc(x_714); -lean_inc(x_718); -x_719 = l_Lean_addMacroScope(x_718, x_657, x_714); -x_720 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_720, 0, x_651); -lean_ctor_set(x_720, 1, x_659); -lean_ctor_set(x_720, 2, x_719); -lean_ctor_set(x_720, 3, x_537); -x_721 = lean_array_push(x_655, x_720); -x_722 = lean_array_push(x_721, x_688); -x_723 = lean_array_push(x_722, x_688); -x_724 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_725 = lean_array_push(x_723, x_724); -x_726 = lean_array_push(x_725, x_21); -x_727 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_728 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_728, 0, x_727); -lean_ctor_set(x_728, 1, x_726); -x_729 = lean_array_push(x_655, x_728); -x_730 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_731 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_731, 0, x_730); -lean_ctor_set(x_731, 1, x_729); -x_732 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_733 = lean_array_push(x_732, x_731); -x_734 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_735 = lean_array_push(x_733, x_734); -x_736 = lean_array_push(x_655, x_712); -x_737 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; -x_738 = lean_array_push(x_736, x_737); -x_739 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; -x_740 = l_Lean_addMacroScope(x_718, x_739, x_714); -x_741 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; -x_742 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; -x_743 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_743, 0, x_651); -lean_ctor_set(x_743, 1, x_741); -lean_ctor_set(x_743, 2, x_740); -lean_ctor_set(x_743, 3, x_742); -x_744 = lean_array_push(x_738, x_743); -x_745 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; -x_746 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_746, 0, x_745); -lean_ctor_set(x_746, 1, x_744); -x_747 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; -x_748 = lean_array_push(x_747, x_746); -x_749 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; -x_750 = lean_array_push(x_748, x_749); -x_751 = lean_array_push(x_750, x_626); -x_752 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; -x_753 = lean_array_push(x_751, x_752); -x_754 = lean_array_push(x_753, x_641); -x_755 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; -x_756 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_756, 0, x_755); -lean_ctor_set(x_756, 1, x_754); -x_757 = lean_array_push(x_735, x_756); -x_758 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_759 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_759, 0, x_758); -lean_ctor_set(x_759, 1, x_757); -lean_ctor_set(x_716, 0, x_759); -return x_716; +lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; +x_712 = lean_ctor_get(x_710, 0); +lean_inc(x_708); +lean_inc(x_712); +x_713 = l_Lean_addMacroScope(x_712, x_651, x_708); +x_714 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_714, 0, x_645); +lean_ctor_set(x_714, 1, x_653); +lean_ctor_set(x_714, 2, x_713); +lean_ctor_set(x_714, 3, x_531); +x_715 = lean_array_push(x_649, x_714); +x_716 = lean_array_push(x_715, x_682); +x_717 = lean_array_push(x_716, x_682); +x_718 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_719 = lean_array_push(x_717, x_718); +x_720 = lean_array_push(x_719, x_21); +x_721 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_722 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_722, 0, x_721); +lean_ctor_set(x_722, 1, x_720); +x_723 = lean_array_push(x_649, x_722); +x_724 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_725 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_723); +x_726 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_727 = lean_array_push(x_726, x_725); +x_728 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_729 = lean_array_push(x_727, x_728); +x_730 = lean_array_push(x_649, x_706); +x_731 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; +x_732 = lean_array_push(x_730, x_731); +x_733 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; +x_734 = l_Lean_addMacroScope(x_712, x_733, x_708); +x_735 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; +x_736 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; +x_737 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_737, 0, x_645); +lean_ctor_set(x_737, 1, x_735); +lean_ctor_set(x_737, 2, x_734); +lean_ctor_set(x_737, 3, x_736); +x_738 = lean_array_push(x_732, x_737); +x_739 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; +x_740 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_740, 0, x_739); +lean_ctor_set(x_740, 1, x_738); +x_741 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; +x_742 = lean_array_push(x_741, x_740); +x_743 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; +x_744 = lean_array_push(x_742, x_743); +x_745 = lean_array_push(x_744, x_620); +x_746 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; +x_747 = lean_array_push(x_745, x_746); +x_748 = lean_array_push(x_747, x_635); +x_749 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; +x_750 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_750, 0, x_749); +lean_ctor_set(x_750, 1, x_748); +x_751 = lean_array_push(x_729, x_750); +x_752 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_753 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_753, 0, x_752); +lean_ctor_set(x_753, 1, x_751); +lean_ctor_set(x_710, 0, x_753); +return x_710; } else { -lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; -x_760 = lean_ctor_get(x_716, 0); -x_761 = lean_ctor_get(x_716, 1); -lean_inc(x_761); -lean_inc(x_760); -lean_dec(x_716); -lean_inc(x_714); -lean_inc(x_760); -x_762 = l_Lean_addMacroScope(x_760, x_657, x_714); -x_763 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_763, 0, x_651); -lean_ctor_set(x_763, 1, x_659); -lean_ctor_set(x_763, 2, x_762); -lean_ctor_set(x_763, 3, x_537); -x_764 = lean_array_push(x_655, x_763); -x_765 = lean_array_push(x_764, x_688); -x_766 = lean_array_push(x_765, x_688); -x_767 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_768 = lean_array_push(x_766, x_767); -x_769 = lean_array_push(x_768, x_21); -x_770 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_771 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_771, 0, x_770); -lean_ctor_set(x_771, 1, x_769); -x_772 = lean_array_push(x_655, x_771); -x_773 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_774, 0, x_773); -lean_ctor_set(x_774, 1, x_772); -x_775 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_776 = lean_array_push(x_775, x_774); -x_777 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_778 = lean_array_push(x_776, x_777); -x_779 = lean_array_push(x_655, x_712); -x_780 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; -x_781 = lean_array_push(x_779, x_780); -x_782 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; -x_783 = l_Lean_addMacroScope(x_760, x_782, x_714); -x_784 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; -x_785 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; -x_786 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_786, 0, x_651); -lean_ctor_set(x_786, 1, x_784); -lean_ctor_set(x_786, 2, x_783); -lean_ctor_set(x_786, 3, x_785); -x_787 = lean_array_push(x_781, x_786); -x_788 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; -x_789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_789, 0, x_788); -lean_ctor_set(x_789, 1, x_787); -x_790 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; -x_791 = lean_array_push(x_790, x_789); -x_792 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; -x_793 = lean_array_push(x_791, x_792); -x_794 = lean_array_push(x_793, x_626); -x_795 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; -x_796 = lean_array_push(x_794, x_795); -x_797 = lean_array_push(x_796, x_641); -x_798 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; -x_799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_799, 0, x_798); -lean_ctor_set(x_799, 1, x_797); -x_800 = lean_array_push(x_778, x_799); -x_801 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_802 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_802, 0, x_801); -lean_ctor_set(x_802, 1, x_800); -x_803 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_803, 0, x_802); -lean_ctor_set(x_803, 1, x_761); -return x_803; +lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; +x_754 = lean_ctor_get(x_710, 0); +x_755 = lean_ctor_get(x_710, 1); +lean_inc(x_755); +lean_inc(x_754); +lean_dec(x_710); +lean_inc(x_708); +lean_inc(x_754); +x_756 = l_Lean_addMacroScope(x_754, x_651, x_708); +x_757 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_757, 0, x_645); +lean_ctor_set(x_757, 1, x_653); +lean_ctor_set(x_757, 2, x_756); +lean_ctor_set(x_757, 3, x_531); +x_758 = lean_array_push(x_649, x_757); +x_759 = lean_array_push(x_758, x_682); +x_760 = lean_array_push(x_759, x_682); +x_761 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_762 = lean_array_push(x_760, x_761); +x_763 = lean_array_push(x_762, x_21); +x_764 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_765, 0, x_764); +lean_ctor_set(x_765, 1, x_763); +x_766 = lean_array_push(x_649, x_765); +x_767 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_768 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_768, 0, x_767); +lean_ctor_set(x_768, 1, x_766); +x_769 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_770 = lean_array_push(x_769, x_768); +x_771 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_772 = lean_array_push(x_770, x_771); +x_773 = lean_array_push(x_649, x_706); +x_774 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; +x_775 = lean_array_push(x_773, x_774); +x_776 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; +x_777 = l_Lean_addMacroScope(x_754, x_776, x_708); +x_778 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; +x_779 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; +x_780 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_780, 0, x_645); +lean_ctor_set(x_780, 1, x_778); +lean_ctor_set(x_780, 2, x_777); +lean_ctor_set(x_780, 3, x_779); +x_781 = lean_array_push(x_775, x_780); +x_782 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; +x_783 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_783, 0, x_782); +lean_ctor_set(x_783, 1, x_781); +x_784 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; +x_785 = lean_array_push(x_784, x_783); +x_786 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; +x_787 = lean_array_push(x_785, x_786); +x_788 = lean_array_push(x_787, x_620); +x_789 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; +x_790 = lean_array_push(x_788, x_789); +x_791 = lean_array_push(x_790, x_635); +x_792 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; +x_793 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_793, 0, x_792); +lean_ctor_set(x_793, 1, x_791); +x_794 = lean_array_push(x_772, x_793); +x_795 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_796 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_796, 0, x_795); +lean_ctor_set(x_796, 1, x_794); +x_797 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_797, 0, x_796); +lean_ctor_set(x_797, 1, x_755); +return x_797; } } else { -uint8_t x_804; -lean_dec(x_628); -lean_dec(x_626); -lean_dec(x_532); +uint8_t x_798; +lean_dec(x_622); +lean_dec(x_620); +lean_dec(x_526); lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); @@ -9751,303 +9731,297 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_804 = !lean_is_exclusive(x_640); -if (x_804 == 0) +x_798 = !lean_is_exclusive(x_634); +if (x_798 == 0) { -return x_640; +return x_634; } else { -lean_object* x_805; lean_object* x_806; lean_object* x_807; -x_805 = lean_ctor_get(x_640, 0); -x_806 = lean_ctor_get(x_640, 1); +lean_object* x_799; lean_object* x_800; lean_object* x_801; +x_799 = lean_ctor_get(x_634, 0); +x_800 = lean_ctor_get(x_634, 1); +lean_inc(x_800); +lean_inc(x_799); +lean_dec(x_634); +x_801 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_801, 0, x_799); +lean_ctor_set(x_801, 1, x_800); +return x_801; +} +} +} +else +{ +lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; +x_802 = lean_ctor_get(x_626, 0); +x_803 = lean_ctor_get(x_626, 1); +x_804 = lean_ctor_get(x_626, 2); +x_805 = lean_ctor_get(x_626, 3); +x_806 = lean_ctor_get(x_626, 4); lean_inc(x_806); lean_inc(x_805); -lean_dec(x_640); -x_807 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_807, 0, x_805); -lean_ctor_set(x_807, 1, x_806); -return x_807; -} -} -} -else -{ -lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; -x_808 = lean_ctor_get(x_632, 0); -x_809 = lean_ctor_get(x_632, 1); -x_810 = lean_ctor_get(x_632, 2); -x_811 = lean_ctor_get(x_632, 3); -x_812 = lean_ctor_get(x_632, 4); -x_813 = lean_ctor_get(x_632, 5); -x_814 = lean_ctor_get(x_632, 6); -lean_inc(x_814); -lean_inc(x_813); -lean_inc(x_812); -lean_inc(x_811); +lean_inc(x_804); +lean_inc(x_803); +lean_inc(x_802); +lean_dec(x_626); +x_807 = lean_nat_add(x_805, x_542); +x_808 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_808, 0, x_802); +lean_ctor_set(x_808, 1, x_803); +lean_ctor_set(x_808, 2, x_804); +lean_ctor_set(x_808, 3, x_807); +lean_ctor_set(x_808, 4, x_806); +x_809 = lean_st_ref_set(x_4, x_808, x_627); +x_810 = lean_ctor_get(x_809, 1); lean_inc(x_810); -lean_inc(x_809); -lean_inc(x_808); -lean_dec(x_632); -x_815 = lean_nat_add(x_813, x_548); -x_816 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_816, 0, x_808); -lean_ctor_set(x_816, 1, x_809); -lean_ctor_set(x_816, 2, x_810); -lean_ctor_set(x_816, 3, x_811); -lean_ctor_set(x_816, 4, x_812); -lean_ctor_set(x_816, 5, x_815); -lean_ctor_set(x_816, 6, x_814); -x_817 = lean_st_ref_set(x_4, x_816, x_633); -x_818 = lean_ctor_get(x_817, 1); -lean_inc(x_818); -lean_dec(x_817); -x_819 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_819, 0, x_552); -lean_ctor_set(x_819, 1, x_553); -lean_ctor_set(x_819, 2, x_554); -lean_ctor_set(x_819, 3, x_555); -lean_ctor_set(x_819, 4, x_556); -lean_ctor_set(x_819, 5, x_557); -lean_ctor_set(x_819, 6, x_558); -lean_ctor_set(x_819, 7, x_813); -lean_ctor_set_uint8(x_819, sizeof(void*)*8, x_559); -lean_ctor_set_uint8(x_819, sizeof(void*)*8 + 1, x_560); -lean_ctor_set_uint8(x_819, sizeof(void*)*8 + 2, x_561); +lean_dec(x_809); +x_811 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_811, 0, x_546); +lean_ctor_set(x_811, 1, x_547); +lean_ctor_set(x_811, 2, x_548); +lean_ctor_set(x_811, 3, x_549); +lean_ctor_set(x_811, 4, x_550); +lean_ctor_set(x_811, 5, x_551); +lean_ctor_set(x_811, 6, x_552); +lean_ctor_set(x_811, 7, x_805); +lean_ctor_set_uint8(x_811, sizeof(void*)*8, x_553); +lean_ctor_set_uint8(x_811, sizeof(void*)*8 + 1, x_554); +lean_ctor_set_uint8(x_811, sizeof(void*)*8 + 2, x_555); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_820 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_630, x_819, x_4, x_5, x_6, x_7, x_8, x_818); -if (lean_obj_tag(x_820) == 0) +x_812 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_624, x_811, x_4, x_5, x_6, x_7, x_8, x_810); +if (lean_obj_tag(x_812) == 0) { -lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; -x_821 = lean_ctor_get(x_820, 0); -lean_inc(x_821); -x_822 = lean_ctor_get(x_820, 1); -lean_inc(x_822); -lean_dec(x_820); -x_823 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_822); -x_824 = lean_ctor_get(x_823, 0); -lean_inc(x_824); -x_825 = lean_ctor_get(x_823, 1); -lean_inc(x_825); -lean_dec(x_823); -x_826 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_825); -x_827 = lean_ctor_get(x_826, 0); -lean_inc(x_827); -x_828 = lean_ctor_get(x_826, 1); -lean_inc(x_828); -lean_dec(x_826); -x_829 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; -lean_inc(x_824); -lean_inc(x_827); -x_830 = l_Lean_addMacroScope(x_827, x_829, x_824); -x_831 = l_Lean_SourceInfo_inhabited___closed__1; -x_832 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; -x_833 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; -x_834 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_834, 0, x_831); -lean_ctor_set(x_834, 1, x_832); -lean_ctor_set(x_834, 2, x_830); -lean_ctor_set(x_834, 3, x_833); -x_835 = l_Array_empty___closed__1; -x_836 = lean_array_push(x_835, x_834); -x_837 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; -lean_inc(x_824); -lean_inc(x_827); -x_838 = l_Lean_addMacroScope(x_827, x_837, x_824); -x_839 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; -x_840 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_840, 0, x_831); -lean_ctor_set(x_840, 1, x_839); -lean_ctor_set(x_840, 2, x_838); -lean_ctor_set(x_840, 3, x_537); -x_841 = lean_array_push(x_835, x_840); -x_842 = l___private_Lean_Syntax_7__quoteName___main(x_628); -lean_inc(x_841); +lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; +x_813 = lean_ctor_get(x_812, 0); +lean_inc(x_813); +x_814 = lean_ctor_get(x_812, 1); +lean_inc(x_814); +lean_dec(x_812); +x_815 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_814); +x_816 = lean_ctor_get(x_815, 0); +lean_inc(x_816); +x_817 = lean_ctor_get(x_815, 1); +lean_inc(x_817); +lean_dec(x_815); +x_818 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_817); +x_819 = lean_ctor_get(x_818, 0); +lean_inc(x_819); +x_820 = lean_ctor_get(x_818, 1); +lean_inc(x_820); +lean_dec(x_818); +x_821 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; +lean_inc(x_816); +lean_inc(x_819); +x_822 = l_Lean_addMacroScope(x_819, x_821, x_816); +x_823 = l_Lean_SourceInfo_inhabited___closed__1; +x_824 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; +x_825 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; +x_826 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_826, 0, x_823); +lean_ctor_set(x_826, 1, x_824); +lean_ctor_set(x_826, 2, x_822); +lean_ctor_set(x_826, 3, x_825); +x_827 = l_Array_empty___closed__1; +x_828 = lean_array_push(x_827, x_826); +x_829 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; +lean_inc(x_816); +lean_inc(x_819); +x_830 = l_Lean_addMacroScope(x_819, x_829, x_816); +x_831 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; +x_832 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_832, 0, x_823); +lean_ctor_set(x_832, 1, x_831); +lean_ctor_set(x_832, 2, x_830); +lean_ctor_set(x_832, 3, x_531); +x_833 = lean_array_push(x_827, x_832); +x_834 = l___private_Lean_Syntax_7__quoteName___main(x_622); +lean_inc(x_833); +x_835 = lean_array_push(x_833, x_834); +x_836 = l_Lean_nullKind___closed__2; +x_837 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_837, 0, x_836); +lean_ctor_set(x_837, 1, x_835); +x_838 = lean_array_push(x_828, x_837); +x_839 = l_Lean_mkAppStx___closed__8; +x_840 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_840, 0, x_839); +lean_ctor_set(x_840, 1, x_838); +x_841 = lean_array_push(x_827, x_840); +x_842 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__32; x_843 = lean_array_push(x_841, x_842); -x_844 = l_Lean_nullKind___closed__2; -x_845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_845, 0, x_844); -lean_ctor_set(x_845, 1, x_843); -x_846 = lean_array_push(x_836, x_845); -x_847 = l_Lean_mkAppStx___closed__8; -x_848 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_848, 0, x_847); +x_844 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__38; +lean_inc(x_816); +lean_inc(x_819); +x_845 = l_Lean_addMacroScope(x_819, x_844, x_816); +x_846 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__36; +x_847 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__40; +x_848 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_848, 0, x_823); lean_ctor_set(x_848, 1, x_846); -x_849 = lean_array_push(x_835, x_848); -x_850 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__32; -x_851 = lean_array_push(x_849, x_850); -x_852 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__38; -lean_inc(x_824); -lean_inc(x_827); -x_853 = l_Lean_addMacroScope(x_827, x_852, x_824); -x_854 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__36; -x_855 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__40; -x_856 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_856, 0, x_831); -lean_ctor_set(x_856, 1, x_854); -lean_ctor_set(x_856, 2, x_853); -lean_ctor_set(x_856, 3, x_855); -x_857 = lean_array_push(x_835, x_856); -x_858 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__5; -x_859 = l_Lean_addMacroScope(x_827, x_858, x_824); -x_860 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__3; -x_861 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__43; -x_862 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_862, 0, x_831); -lean_ctor_set(x_862, 1, x_860); -lean_ctor_set(x_862, 2, x_859); -lean_ctor_set(x_862, 3, x_861); -x_863 = lean_array_push(x_835, x_862); -x_864 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_864, 0, x_844); -lean_ctor_set(x_864, 1, x_841); -x_865 = lean_array_push(x_863, x_864); -x_866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_866, 0, x_847); -lean_ctor_set(x_866, 1, x_865); -x_867 = lean_array_push(x_835, x_866); -x_868 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_869 = lean_array_push(x_867, x_868); +lean_ctor_set(x_848, 2, x_845); +lean_ctor_set(x_848, 3, x_847); +x_849 = lean_array_push(x_827, x_848); +x_850 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__5; +x_851 = l_Lean_addMacroScope(x_819, x_850, x_816); +x_852 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__3; +x_853 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__43; +x_854 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_854, 0, x_823); +lean_ctor_set(x_854, 1, x_852); +lean_ctor_set(x_854, 2, x_851); +lean_ctor_set(x_854, 3, x_853); +x_855 = lean_array_push(x_827, x_854); +x_856 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_856, 0, x_836); +lean_ctor_set(x_856, 1, x_833); +x_857 = lean_array_push(x_855, x_856); +x_858 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_858, 0, x_839); +lean_ctor_set(x_858, 1, x_857); +x_859 = lean_array_push(x_827, x_858); +x_860 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_861 = lean_array_push(x_859, x_860); +x_862 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_862, 0, x_836); +lean_ctor_set(x_862, 1, x_861); +x_863 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; +x_864 = lean_array_push(x_863, x_862); +x_865 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__34; +x_866 = lean_array_push(x_864, x_865); +x_867 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; +x_868 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_868, 0, x_867); +lean_ctor_set(x_868, 1, x_866); +x_869 = lean_array_push(x_827, x_868); x_870 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_870, 0, x_844); +lean_ctor_set(x_870, 0, x_836); lean_ctor_set(x_870, 1, x_869); -x_871 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; -x_872 = lean_array_push(x_871, x_870); -x_873 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__34; -x_874 = lean_array_push(x_872, x_873); -x_875 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; -x_876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_876, 0, x_875); -lean_ctor_set(x_876, 1, x_874); -x_877 = lean_array_push(x_835, x_876); -x_878 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_878, 0, x_844); -lean_ctor_set(x_878, 1, x_877); -x_879 = lean_array_push(x_857, x_878); -x_880 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_880, 0, x_847); -lean_ctor_set(x_880, 1, x_879); -x_881 = lean_array_push(x_835, x_880); -x_882 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__45; -x_883 = lean_array_push(x_881, x_882); -x_884 = l_Nat_repr(x_532); -x_885 = l_Lean_numLitKind; -x_886 = l_Lean_mkStxLit(x_885, x_884, x_831); -x_887 = lean_array_push(x_883, x_886); -x_888 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__33; -x_889 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_889, 0, x_888); -lean_ctor_set(x_889, 1, x_887); -x_890 = lean_array_push(x_851, x_889); -x_891 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__30; -x_892 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_892, 0, x_891); -lean_ctor_set(x_892, 1, x_890); -x_893 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_828); +x_871 = lean_array_push(x_849, x_870); +x_872 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_872, 0, x_839); +lean_ctor_set(x_872, 1, x_871); +x_873 = lean_array_push(x_827, x_872); +x_874 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__45; +x_875 = lean_array_push(x_873, x_874); +x_876 = l_Nat_repr(x_526); +x_877 = l_Lean_numLitKind; +x_878 = l_Lean_mkStxLit(x_877, x_876, x_823); +x_879 = lean_array_push(x_875, x_878); +x_880 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__33; +x_881 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_881, 0, x_880); +lean_ctor_set(x_881, 1, x_879); +x_882 = lean_array_push(x_843, x_881); +x_883 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__30; +x_884 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_884, 0, x_883); +lean_ctor_set(x_884, 1, x_882); +x_885 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_820); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_894 = lean_ctor_get(x_893, 0); -lean_inc(x_894); -x_895 = lean_ctor_get(x_893, 1); -lean_inc(x_895); -lean_dec(x_893); -x_896 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_895); +x_886 = lean_ctor_get(x_885, 0); +lean_inc(x_886); +x_887 = lean_ctor_get(x_885, 1); +lean_inc(x_887); +lean_dec(x_885); +x_888 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_887); lean_dec(x_8); -x_897 = lean_ctor_get(x_896, 0); -lean_inc(x_897); -x_898 = lean_ctor_get(x_896, 1); -lean_inc(x_898); -if (lean_is_exclusive(x_896)) { - lean_ctor_release(x_896, 0); - lean_ctor_release(x_896, 1); - x_899 = x_896; +x_889 = lean_ctor_get(x_888, 0); +lean_inc(x_889); +x_890 = lean_ctor_get(x_888, 1); +lean_inc(x_890); +if (lean_is_exclusive(x_888)) { + lean_ctor_release(x_888, 0); + lean_ctor_release(x_888, 1); + x_891 = x_888; } else { - lean_dec_ref(x_896); - x_899 = lean_box(0); + lean_dec_ref(x_888); + x_891 = lean_box(0); } -lean_inc(x_894); -lean_inc(x_897); -x_900 = l_Lean_addMacroScope(x_897, x_837, x_894); -x_901 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_901, 0, x_831); -lean_ctor_set(x_901, 1, x_839); -lean_ctor_set(x_901, 2, x_900); -lean_ctor_set(x_901, 3, x_537); -x_902 = lean_array_push(x_835, x_901); -x_903 = lean_array_push(x_902, x_868); -x_904 = lean_array_push(x_903, x_868); -x_905 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_906 = lean_array_push(x_904, x_905); -x_907 = lean_array_push(x_906, x_21); -x_908 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_909 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_909, 0, x_908); -lean_ctor_set(x_909, 1, x_907); -x_910 = lean_array_push(x_835, x_909); -x_911 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_912 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_912, 0, x_911); -lean_ctor_set(x_912, 1, x_910); -x_913 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_914 = lean_array_push(x_913, x_912); -x_915 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_916 = lean_array_push(x_914, x_915); -x_917 = lean_array_push(x_835, x_892); -x_918 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; -x_919 = lean_array_push(x_917, x_918); -x_920 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; -x_921 = l_Lean_addMacroScope(x_897, x_920, x_894); -x_922 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; -x_923 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; -x_924 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_924, 0, x_831); -lean_ctor_set(x_924, 1, x_922); -lean_ctor_set(x_924, 2, x_921); -lean_ctor_set(x_924, 3, x_923); -x_925 = lean_array_push(x_919, x_924); -x_926 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; -x_927 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_927, 0, x_926); -lean_ctor_set(x_927, 1, x_925); -x_928 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; -x_929 = lean_array_push(x_928, x_927); -x_930 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; -x_931 = lean_array_push(x_929, x_930); -x_932 = lean_array_push(x_931, x_626); -x_933 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; -x_934 = lean_array_push(x_932, x_933); -x_935 = lean_array_push(x_934, x_821); -x_936 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; -x_937 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_937, 0, x_936); -lean_ctor_set(x_937, 1, x_935); -x_938 = lean_array_push(x_916, x_937); -x_939 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_940 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_940, 0, x_939); -lean_ctor_set(x_940, 1, x_938); -if (lean_is_scalar(x_899)) { - x_941 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_886); +lean_inc(x_889); +x_892 = l_Lean_addMacroScope(x_889, x_829, x_886); +x_893 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_893, 0, x_823); +lean_ctor_set(x_893, 1, x_831); +lean_ctor_set(x_893, 2, x_892); +lean_ctor_set(x_893, 3, x_531); +x_894 = lean_array_push(x_827, x_893); +x_895 = lean_array_push(x_894, x_860); +x_896 = lean_array_push(x_895, x_860); +x_897 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_898 = lean_array_push(x_896, x_897); +x_899 = lean_array_push(x_898, x_21); +x_900 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_901 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_901, 0, x_900); +lean_ctor_set(x_901, 1, x_899); +x_902 = lean_array_push(x_827, x_901); +x_903 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_904 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_904, 0, x_903); +lean_ctor_set(x_904, 1, x_902); +x_905 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_906 = lean_array_push(x_905, x_904); +x_907 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_908 = lean_array_push(x_906, x_907); +x_909 = lean_array_push(x_827, x_884); +x_910 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; +x_911 = lean_array_push(x_909, x_910); +x_912 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; +x_913 = l_Lean_addMacroScope(x_889, x_912, x_886); +x_914 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; +x_915 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; +x_916 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_916, 0, x_823); +lean_ctor_set(x_916, 1, x_914); +lean_ctor_set(x_916, 2, x_913); +lean_ctor_set(x_916, 3, x_915); +x_917 = lean_array_push(x_911, x_916); +x_918 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; +x_919 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_919, 0, x_918); +lean_ctor_set(x_919, 1, x_917); +x_920 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; +x_921 = lean_array_push(x_920, x_919); +x_922 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; +x_923 = lean_array_push(x_921, x_922); +x_924 = lean_array_push(x_923, x_620); +x_925 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; +x_926 = lean_array_push(x_924, x_925); +x_927 = lean_array_push(x_926, x_813); +x_928 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; +x_929 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_929, 0, x_928); +lean_ctor_set(x_929, 1, x_927); +x_930 = lean_array_push(x_908, x_929); +x_931 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_932 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_932, 0, x_931); +lean_ctor_set(x_932, 1, x_930); +if (lean_is_scalar(x_891)) { + x_933 = lean_alloc_ctor(0, 2, 0); } else { - x_941 = x_899; + x_933 = x_891; } -lean_ctor_set(x_941, 0, x_940); -lean_ctor_set(x_941, 1, x_898); -return x_941; +lean_ctor_set(x_933, 0, x_932); +lean_ctor_set(x_933, 1, x_890); +return x_933; } else { -lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; -lean_dec(x_628); -lean_dec(x_626); -lean_dec(x_532); +lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; +lean_dec(x_622); +lean_dec(x_620); +lean_dec(x_526); lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); @@ -10055,41 +10029,41 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_942 = lean_ctor_get(x_820, 0); -lean_inc(x_942); -x_943 = lean_ctor_get(x_820, 1); -lean_inc(x_943); -if (lean_is_exclusive(x_820)) { - lean_ctor_release(x_820, 0); - lean_ctor_release(x_820, 1); - x_944 = x_820; +x_934 = lean_ctor_get(x_812, 0); +lean_inc(x_934); +x_935 = lean_ctor_get(x_812, 1); +lean_inc(x_935); +if (lean_is_exclusive(x_812)) { + lean_ctor_release(x_812, 0); + lean_ctor_release(x_812, 1); + x_936 = x_812; } else { - lean_dec_ref(x_820); - x_944 = lean_box(0); + lean_dec_ref(x_812); + x_936 = lean_box(0); } -if (lean_is_scalar(x_944)) { - x_945 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_936)) { + x_937 = lean_alloc_ctor(1, 2, 0); } else { - x_945 = x_944; + x_937 = x_936; } -lean_ctor_set(x_945, 0, x_942); -lean_ctor_set(x_945, 1, x_943); -return x_945; +lean_ctor_set(x_937, 0, x_934); +lean_ctor_set(x_937, 1, x_935); +return x_937; } } } } else { -uint8_t x_946; -lean_dec(x_558); -lean_dec(x_557); -lean_dec(x_556); -lean_dec(x_555); -lean_dec(x_554); -lean_dec(x_553); +uint8_t x_938; lean_dec(x_552); -lean_dec(x_532); +lean_dec(x_551); +lean_dec(x_550); +lean_dec(x_549); +lean_dec(x_548); +lean_dec(x_547); +lean_dec(x_546); +lean_dec(x_526); lean_dec(x_29); lean_dec(x_25); lean_dec(x_21); @@ -10100,503 +10074,489 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_946 = !lean_is_exclusive(x_563); -if (x_946 == 0) +x_938 = !lean_is_exclusive(x_557); +if (x_938 == 0) { -return x_563; +return x_557; } else { -lean_object* x_947; lean_object* x_948; lean_object* x_949; -x_947 = lean_ctor_get(x_563, 0); -x_948 = lean_ctor_get(x_563, 1); -lean_inc(x_948); -lean_inc(x_947); -lean_dec(x_563); -x_949 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_949, 0, x_947); -lean_ctor_set(x_949, 1, x_948); -return x_949; +lean_object* x_939; lean_object* x_940; lean_object* x_941; +x_939 = lean_ctor_get(x_557, 0); +x_940 = lean_ctor_get(x_557, 1); +lean_inc(x_940); +lean_inc(x_939); +lean_dec(x_557); +x_941 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_941, 0, x_939); +lean_ctor_set(x_941, 1, x_940); +return x_941; } } } else { -lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; uint8_t x_969; uint8_t x_970; uint8_t x_971; lean_object* x_972; lean_object* x_973; -x_950 = lean_ctor_get(x_544, 0); -x_951 = lean_ctor_get(x_544, 1); -x_952 = lean_ctor_get(x_544, 2); -x_953 = lean_ctor_get(x_544, 3); -x_954 = lean_ctor_get(x_544, 4); -x_955 = lean_ctor_get(x_544, 5); -x_956 = lean_ctor_get(x_544, 6); +lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; uint8_t x_959; uint8_t x_960; uint8_t x_961; lean_object* x_962; lean_object* x_963; +x_942 = lean_ctor_get(x_538, 0); +x_943 = lean_ctor_get(x_538, 1); +x_944 = lean_ctor_get(x_538, 2); +x_945 = lean_ctor_get(x_538, 3); +x_946 = lean_ctor_get(x_538, 4); +lean_inc(x_946); +lean_inc(x_945); +lean_inc(x_944); +lean_inc(x_943); +lean_inc(x_942); +lean_dec(x_538); +x_947 = lean_unsigned_to_nat(1u); +x_948 = lean_nat_add(x_945, x_947); +x_949 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_949, 0, x_942); +lean_ctor_set(x_949, 1, x_943); +lean_ctor_set(x_949, 2, x_944); +lean_ctor_set(x_949, 3, x_948); +lean_ctor_set(x_949, 4, x_946); +x_950 = lean_st_ref_set(x_4, x_949, x_539); +x_951 = lean_ctor_get(x_950, 1); +lean_inc(x_951); +lean_dec(x_950); +x_952 = lean_ctor_get(x_3, 0); +lean_inc(x_952); +x_953 = lean_ctor_get(x_3, 1); +lean_inc(x_953); +x_954 = lean_ctor_get(x_3, 2); +lean_inc(x_954); +x_955 = lean_ctor_get(x_3, 3); +lean_inc(x_955); +x_956 = lean_ctor_get(x_3, 4); +lean_inc(x_956); +x_957 = lean_ctor_get(x_3, 5); +lean_inc(x_957); +x_958 = lean_ctor_get(x_3, 6); +lean_inc(x_958); +x_959 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); +x_960 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); +x_961 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); +lean_inc(x_958); +lean_inc(x_957); lean_inc(x_956); lean_inc(x_955); lean_inc(x_954); lean_inc(x_953); lean_inc(x_952); -lean_inc(x_951); -lean_inc(x_950); -lean_dec(x_544); -x_957 = lean_unsigned_to_nat(1u); -x_958 = lean_nat_add(x_955, x_957); -x_959 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_959, 0, x_950); -lean_ctor_set(x_959, 1, x_951); -lean_ctor_set(x_959, 2, x_952); -lean_ctor_set(x_959, 3, x_953); -lean_ctor_set(x_959, 4, x_954); -lean_ctor_set(x_959, 5, x_958); -lean_ctor_set(x_959, 6, x_956); -x_960 = lean_st_ref_set(x_4, x_959, x_545); -x_961 = lean_ctor_get(x_960, 1); -lean_inc(x_961); -lean_dec(x_960); -x_962 = lean_ctor_get(x_3, 0); -lean_inc(x_962); -x_963 = lean_ctor_get(x_3, 1); -lean_inc(x_963); -x_964 = lean_ctor_get(x_3, 2); -lean_inc(x_964); -x_965 = lean_ctor_get(x_3, 3); -lean_inc(x_965); -x_966 = lean_ctor_get(x_3, 4); -lean_inc(x_966); -x_967 = lean_ctor_get(x_3, 5); -lean_inc(x_967); -x_968 = lean_ctor_get(x_3, 6); -lean_inc(x_968); -x_969 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_970 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); -x_971 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 2); -lean_inc(x_968); -lean_inc(x_967); -lean_inc(x_966); -lean_inc(x_965); -lean_inc(x_964); -lean_inc(x_963); -lean_inc(x_962); -x_972 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_972, 0, x_962); -lean_ctor_set(x_972, 1, x_963); -lean_ctor_set(x_972, 2, x_964); -lean_ctor_set(x_972, 3, x_965); -lean_ctor_set(x_972, 4, x_966); -lean_ctor_set(x_972, 5, x_967); -lean_ctor_set(x_972, 6, x_968); -lean_ctor_set(x_972, 7, x_955); -lean_ctor_set_uint8(x_972, sizeof(void*)*8, x_969); -lean_ctor_set_uint8(x_972, sizeof(void*)*8 + 1, x_970); -lean_ctor_set_uint8(x_972, sizeof(void*)*8 + 2, x_971); +x_962 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_962, 0, x_952); +lean_ctor_set(x_962, 1, x_953); +lean_ctor_set(x_962, 2, x_954); +lean_ctor_set(x_962, 3, x_955); +lean_ctor_set(x_962, 4, x_956); +lean_ctor_set(x_962, 5, x_957); +lean_ctor_set(x_962, 6, x_958); +lean_ctor_set(x_962, 7, x_945); +lean_ctor_set_uint8(x_962, sizeof(void*)*8, x_959); +lean_ctor_set_uint8(x_962, sizeof(void*)*8 + 1, x_960); +lean_ctor_set_uint8(x_962, sizeof(void*)*8 + 2, x_961); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_973 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_542, x_540, x_972, x_4, x_5, x_6, x_7, x_8, x_961); -if (lean_obj_tag(x_973) == 0) +x_963 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_536, x_534, x_962, x_4, x_5, x_6, x_7, x_8, x_951); +if (lean_obj_tag(x_963) == 0) { -lean_object* x_974; -x_974 = lean_ctor_get(x_29, 0); -lean_inc(x_974); -if (lean_obj_tag(x_974) == 0) +lean_object* x_964; +x_964 = lean_ctor_get(x_29, 0); +lean_inc(x_964); +if (lean_obj_tag(x_964) == 0) { -lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; -lean_dec(x_968); -lean_dec(x_967); -lean_dec(x_966); -lean_dec(x_965); -lean_dec(x_964); -lean_dec(x_963); -lean_dec(x_962); -lean_dec(x_532); +lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; +lean_dec(x_958); +lean_dec(x_957); +lean_dec(x_956); +lean_dec(x_955); +lean_dec(x_954); +lean_dec(x_953); +lean_dec(x_952); +lean_dec(x_526); lean_dec(x_29); lean_dec(x_25); lean_dec(x_1); -x_975 = lean_ctor_get(x_973, 0); -lean_inc(x_975); -x_976 = lean_ctor_get(x_973, 1); -lean_inc(x_976); -lean_dec(x_973); -x_977 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_976); +x_965 = lean_ctor_get(x_963, 0); +lean_inc(x_965); +x_966 = lean_ctor_get(x_963, 1); +lean_inc(x_966); +lean_dec(x_963); +x_967 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_966); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_978 = lean_ctor_get(x_977, 0); -lean_inc(x_978); -x_979 = lean_ctor_get(x_977, 1); -lean_inc(x_979); -lean_dec(x_977); -x_980 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_979); +x_968 = lean_ctor_get(x_967, 0); +lean_inc(x_968); +x_969 = lean_ctor_get(x_967, 1); +lean_inc(x_969); +lean_dec(x_967); +x_970 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_969); lean_dec(x_8); -x_981 = lean_ctor_get(x_980, 0); -lean_inc(x_981); -x_982 = lean_ctor_get(x_980, 1); -lean_inc(x_982); -if (lean_is_exclusive(x_980)) { - lean_ctor_release(x_980, 0); - lean_ctor_release(x_980, 1); - x_983 = x_980; +x_971 = lean_ctor_get(x_970, 0); +lean_inc(x_971); +x_972 = lean_ctor_get(x_970, 1); +lean_inc(x_972); +if (lean_is_exclusive(x_970)) { + lean_ctor_release(x_970, 0); + lean_ctor_release(x_970, 1); + x_973 = x_970; } else { - lean_dec_ref(x_980); - x_983 = lean_box(0); + lean_dec_ref(x_970); + x_973 = lean_box(0); } -x_984 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; -x_985 = l_Lean_addMacroScope(x_981, x_984, x_978); -x_986 = l_Lean_SourceInfo_inhabited___closed__1; -x_987 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; -x_988 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_988, 0, x_986); -lean_ctor_set(x_988, 1, x_987); -lean_ctor_set(x_988, 2, x_985); -lean_ctor_set(x_988, 3, x_537); -x_989 = l_Array_empty___closed__1; -x_990 = lean_array_push(x_989, x_988); -x_991 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_992 = lean_array_push(x_990, x_991); +x_974 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; +x_975 = l_Lean_addMacroScope(x_971, x_974, x_968); +x_976 = l_Lean_SourceInfo_inhabited___closed__1; +x_977 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; +x_978 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_978, 0, x_976); +lean_ctor_set(x_978, 1, x_977); +lean_ctor_set(x_978, 2, x_975); +lean_ctor_set(x_978, 3, x_531); +x_979 = l_Array_empty___closed__1; +x_980 = lean_array_push(x_979, x_978); +x_981 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_982 = lean_array_push(x_980, x_981); +x_983 = lean_array_push(x_982, x_981); +x_984 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_985 = lean_array_push(x_983, x_984); +x_986 = lean_array_push(x_985, x_21); +x_987 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_988 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_988, 0, x_987); +lean_ctor_set(x_988, 1, x_986); +x_989 = lean_array_push(x_979, x_988); +x_990 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_991 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_991, 0, x_990); +lean_ctor_set(x_991, 1, x_989); +x_992 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; x_993 = lean_array_push(x_992, x_991); -x_994 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_994 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; x_995 = lean_array_push(x_993, x_994); -x_996 = lean_array_push(x_995, x_21); -x_997 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_996 = lean_array_push(x_995, x_965); +x_997 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; x_998 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_998, 0, x_997); lean_ctor_set(x_998, 1, x_996); -x_999 = lean_array_push(x_989, x_998); -x_1000 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_1001 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1001, 0, x_1000); -lean_ctor_set(x_1001, 1, x_999); -x_1002 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_1003 = lean_array_push(x_1002, x_1001); -x_1004 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_1005 = lean_array_push(x_1003, x_1004); -x_1006 = lean_array_push(x_1005, x_975); -x_1007 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_1008 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1008, 0, x_1007); -lean_ctor_set(x_1008, 1, x_1006); -if (lean_is_scalar(x_983)) { - x_1009 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_973)) { + x_999 = lean_alloc_ctor(0, 2, 0); } else { - x_1009 = x_983; + x_999 = x_973; } -lean_ctor_set(x_1009, 0, x_1008); -lean_ctor_set(x_1009, 1, x_982); -return x_1009; +lean_ctor_set(x_999, 0, x_998); +lean_ctor_set(x_999, 1, x_972); +return x_999; } else { -lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; -x_1010 = lean_ctor_get(x_973, 0); -lean_inc(x_1010); -x_1011 = lean_ctor_get(x_973, 1); -lean_inc(x_1011); -lean_dec(x_973); -x_1012 = lean_ctor_get(x_974, 0); -lean_inc(x_1012); -lean_dec(x_974); -x_1013 = l_List_filterAux___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__11(x_29, x_25, x_537); +lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; +x_1000 = lean_ctor_get(x_963, 0); +lean_inc(x_1000); +x_1001 = lean_ctor_get(x_963, 1); +lean_inc(x_1001); +lean_dec(x_963); +x_1002 = lean_ctor_get(x_964, 0); +lean_inc(x_1002); +lean_dec(x_964); +x_1003 = l_List_filterAux___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__11(x_29, x_25, x_531); lean_dec(x_29); -x_1014 = l_List_map___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__7(x_1013); -x_1015 = lean_st_ref_take(x_4, x_1011); -x_1016 = lean_ctor_get(x_1015, 0); -lean_inc(x_1016); -x_1017 = lean_ctor_get(x_1015, 1); +x_1004 = l_List_map___main___at___private_Lean_Elab_Quotation_6__compileStxMatch___main___spec__7(x_1003); +x_1005 = lean_st_ref_take(x_4, x_1001); +x_1006 = lean_ctor_get(x_1005, 0); +lean_inc(x_1006); +x_1007 = lean_ctor_get(x_1005, 1); +lean_inc(x_1007); +lean_dec(x_1005); +x_1008 = lean_ctor_get(x_1006, 0); +lean_inc(x_1008); +x_1009 = lean_ctor_get(x_1006, 1); +lean_inc(x_1009); +x_1010 = lean_ctor_get(x_1006, 2); +lean_inc(x_1010); +x_1011 = lean_ctor_get(x_1006, 3); +lean_inc(x_1011); +x_1012 = lean_ctor_get(x_1006, 4); +lean_inc(x_1012); +if (lean_is_exclusive(x_1006)) { + lean_ctor_release(x_1006, 0); + lean_ctor_release(x_1006, 1); + lean_ctor_release(x_1006, 2); + lean_ctor_release(x_1006, 3); + lean_ctor_release(x_1006, 4); + x_1013 = x_1006; +} else { + lean_dec_ref(x_1006); + x_1013 = lean_box(0); +} +x_1014 = lean_nat_add(x_1011, x_947); +if (lean_is_scalar(x_1013)) { + x_1015 = lean_alloc_ctor(0, 5, 0); +} else { + x_1015 = x_1013; +} +lean_ctor_set(x_1015, 0, x_1008); +lean_ctor_set(x_1015, 1, x_1009); +lean_ctor_set(x_1015, 2, x_1010); +lean_ctor_set(x_1015, 3, x_1014); +lean_ctor_set(x_1015, 4, x_1012); +x_1016 = lean_st_ref_set(x_4, x_1015, x_1007); +x_1017 = lean_ctor_get(x_1016, 1); lean_inc(x_1017); -lean_dec(x_1015); -x_1018 = lean_ctor_get(x_1016, 0); -lean_inc(x_1018); -x_1019 = lean_ctor_get(x_1016, 1); -lean_inc(x_1019); -x_1020 = lean_ctor_get(x_1016, 2); -lean_inc(x_1020); -x_1021 = lean_ctor_get(x_1016, 3); -lean_inc(x_1021); -x_1022 = lean_ctor_get(x_1016, 4); -lean_inc(x_1022); -x_1023 = lean_ctor_get(x_1016, 5); -lean_inc(x_1023); -x_1024 = lean_ctor_get(x_1016, 6); -lean_inc(x_1024); -if (lean_is_exclusive(x_1016)) { - lean_ctor_release(x_1016, 0); - lean_ctor_release(x_1016, 1); - lean_ctor_release(x_1016, 2); - lean_ctor_release(x_1016, 3); - lean_ctor_release(x_1016, 4); - lean_ctor_release(x_1016, 5); - lean_ctor_release(x_1016, 6); - x_1025 = x_1016; -} else { - lean_dec_ref(x_1016); - x_1025 = lean_box(0); -} -x_1026 = lean_nat_add(x_1023, x_957); -if (lean_is_scalar(x_1025)) { - x_1027 = lean_alloc_ctor(0, 7, 0); -} else { - x_1027 = x_1025; -} -lean_ctor_set(x_1027, 0, x_1018); -lean_ctor_set(x_1027, 1, x_1019); -lean_ctor_set(x_1027, 2, x_1020); -lean_ctor_set(x_1027, 3, x_1021); -lean_ctor_set(x_1027, 4, x_1022); -lean_ctor_set(x_1027, 5, x_1026); -lean_ctor_set(x_1027, 6, x_1024); -x_1028 = lean_st_ref_set(x_4, x_1027, x_1017); -x_1029 = lean_ctor_get(x_1028, 1); -lean_inc(x_1029); -lean_dec(x_1028); -x_1030 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_1030, 0, x_962); -lean_ctor_set(x_1030, 1, x_963); -lean_ctor_set(x_1030, 2, x_964); -lean_ctor_set(x_1030, 3, x_965); -lean_ctor_set(x_1030, 4, x_966); -lean_ctor_set(x_1030, 5, x_967); -lean_ctor_set(x_1030, 6, x_968); -lean_ctor_set(x_1030, 7, x_1023); -lean_ctor_set_uint8(x_1030, sizeof(void*)*8, x_969); -lean_ctor_set_uint8(x_1030, sizeof(void*)*8 + 1, x_970); -lean_ctor_set_uint8(x_1030, sizeof(void*)*8 + 2, x_971); +lean_dec(x_1016); +x_1018 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_1018, 0, x_952); +lean_ctor_set(x_1018, 1, x_953); +lean_ctor_set(x_1018, 2, x_954); +lean_ctor_set(x_1018, 3, x_955); +lean_ctor_set(x_1018, 4, x_956); +lean_ctor_set(x_1018, 5, x_957); +lean_ctor_set(x_1018, 6, x_958); +lean_ctor_set(x_1018, 7, x_1011); +lean_ctor_set_uint8(x_1018, sizeof(void*)*8, x_959); +lean_ctor_set_uint8(x_1018, sizeof(void*)*8 + 1, x_960); +lean_ctor_set_uint8(x_1018, sizeof(void*)*8 + 2, x_961); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_1031 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_1014, x_1030, x_4, x_5, x_6, x_7, x_8, x_1029); -if (lean_obj_tag(x_1031) == 0) +x_1019 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main(x_1, x_1004, x_1018, x_4, x_5, x_6, x_7, x_8, x_1017); +if (lean_obj_tag(x_1019) == 0) { -lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; -x_1032 = lean_ctor_get(x_1031, 0); -lean_inc(x_1032); -x_1033 = lean_ctor_get(x_1031, 1); -lean_inc(x_1033); -lean_dec(x_1031); -x_1034 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_1033); -x_1035 = lean_ctor_get(x_1034, 0); -lean_inc(x_1035); -x_1036 = lean_ctor_get(x_1034, 1); -lean_inc(x_1036); -lean_dec(x_1034); -x_1037 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_1036); -x_1038 = lean_ctor_get(x_1037, 0); -lean_inc(x_1038); -x_1039 = lean_ctor_get(x_1037, 1); -lean_inc(x_1039); -lean_dec(x_1037); -x_1040 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; -lean_inc(x_1035); -lean_inc(x_1038); -x_1041 = l_Lean_addMacroScope(x_1038, x_1040, x_1035); -x_1042 = l_Lean_SourceInfo_inhabited___closed__1; -x_1043 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; -x_1044 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; -x_1045 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1045, 0, x_1042); -lean_ctor_set(x_1045, 1, x_1043); -lean_ctor_set(x_1045, 2, x_1041); -lean_ctor_set(x_1045, 3, x_1044); -x_1046 = l_Array_empty___closed__1; -x_1047 = lean_array_push(x_1046, x_1045); -x_1048 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; -lean_inc(x_1035); -lean_inc(x_1038); -x_1049 = l_Lean_addMacroScope(x_1038, x_1048, x_1035); -x_1050 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; -x_1051 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1051, 0, x_1042); -lean_ctor_set(x_1051, 1, x_1050); -lean_ctor_set(x_1051, 2, x_1049); -lean_ctor_set(x_1051, 3, x_537); -x_1052 = lean_array_push(x_1046, x_1051); -x_1053 = l___private_Lean_Syntax_7__quoteName___main(x_1012); -lean_inc(x_1052); -x_1054 = lean_array_push(x_1052, x_1053); -x_1055 = l_Lean_nullKind___closed__2; -x_1056 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1056, 0, x_1055); -lean_ctor_set(x_1056, 1, x_1054); -x_1057 = lean_array_push(x_1047, x_1056); -x_1058 = l_Lean_mkAppStx___closed__8; -x_1059 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1059, 0, x_1058); -lean_ctor_set(x_1059, 1, x_1057); -x_1060 = lean_array_push(x_1046, x_1059); -x_1061 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__32; -x_1062 = lean_array_push(x_1060, x_1061); -x_1063 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__38; -lean_inc(x_1035); -lean_inc(x_1038); -x_1064 = l_Lean_addMacroScope(x_1038, x_1063, x_1035); -x_1065 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__36; -x_1066 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__40; -x_1067 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1067, 0, x_1042); -lean_ctor_set(x_1067, 1, x_1065); -lean_ctor_set(x_1067, 2, x_1064); -lean_ctor_set(x_1067, 3, x_1066); -x_1068 = lean_array_push(x_1046, x_1067); -x_1069 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__5; -x_1070 = l_Lean_addMacroScope(x_1038, x_1069, x_1035); -x_1071 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__3; -x_1072 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__43; -x_1073 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1073, 0, x_1042); -lean_ctor_set(x_1073, 1, x_1071); -lean_ctor_set(x_1073, 2, x_1070); -lean_ctor_set(x_1073, 3, x_1072); -x_1074 = lean_array_push(x_1046, x_1073); +lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; +x_1020 = lean_ctor_get(x_1019, 0); +lean_inc(x_1020); +x_1021 = lean_ctor_get(x_1019, 1); +lean_inc(x_1021); +lean_dec(x_1019); +x_1022 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_1021); +x_1023 = lean_ctor_get(x_1022, 0); +lean_inc(x_1023); +x_1024 = lean_ctor_get(x_1022, 1); +lean_inc(x_1024); +lean_dec(x_1022); +x_1025 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_1024); +x_1026 = lean_ctor_get(x_1025, 0); +lean_inc(x_1026); +x_1027 = lean_ctor_get(x_1025, 1); +lean_inc(x_1027); +lean_dec(x_1025); +x_1028 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__8; +lean_inc(x_1023); +lean_inc(x_1026); +x_1029 = l_Lean_addMacroScope(x_1026, x_1028, x_1023); +x_1030 = l_Lean_SourceInfo_inhabited___closed__1; +x_1031 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__6; +x_1032 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__11; +x_1033 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1033, 0, x_1030); +lean_ctor_set(x_1033, 1, x_1031); +lean_ctor_set(x_1033, 2, x_1029); +lean_ctor_set(x_1033, 3, x_1032); +x_1034 = l_Array_empty___closed__1; +x_1035 = lean_array_push(x_1034, x_1033); +x_1036 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__14; +lean_inc(x_1023); +lean_inc(x_1026); +x_1037 = l_Lean_addMacroScope(x_1026, x_1036, x_1023); +x_1038 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__13; +x_1039 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1039, 0, x_1030); +lean_ctor_set(x_1039, 1, x_1038); +lean_ctor_set(x_1039, 2, x_1037); +lean_ctor_set(x_1039, 3, x_531); +x_1040 = lean_array_push(x_1034, x_1039); +x_1041 = l___private_Lean_Syntax_7__quoteName___main(x_1002); +lean_inc(x_1040); +x_1042 = lean_array_push(x_1040, x_1041); +x_1043 = l_Lean_nullKind___closed__2; +x_1044 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1044, 0, x_1043); +lean_ctor_set(x_1044, 1, x_1042); +x_1045 = lean_array_push(x_1035, x_1044); +x_1046 = l_Lean_mkAppStx___closed__8; +x_1047 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1047, 0, x_1046); +lean_ctor_set(x_1047, 1, x_1045); +x_1048 = lean_array_push(x_1034, x_1047); +x_1049 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__32; +x_1050 = lean_array_push(x_1048, x_1049); +x_1051 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__38; +lean_inc(x_1023); +lean_inc(x_1026); +x_1052 = l_Lean_addMacroScope(x_1026, x_1051, x_1023); +x_1053 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__36; +x_1054 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__40; +x_1055 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1055, 0, x_1030); +lean_ctor_set(x_1055, 1, x_1053); +lean_ctor_set(x_1055, 2, x_1052); +lean_ctor_set(x_1055, 3, x_1054); +x_1056 = lean_array_push(x_1034, x_1055); +x_1057 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__5; +x_1058 = l_Lean_addMacroScope(x_1026, x_1057, x_1023); +x_1059 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__3; +x_1060 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__43; +x_1061 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1061, 0, x_1030); +lean_ctor_set(x_1061, 1, x_1059); +lean_ctor_set(x_1061, 2, x_1058); +lean_ctor_set(x_1061, 3, x_1060); +x_1062 = lean_array_push(x_1034, x_1061); +x_1063 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1063, 0, x_1043); +lean_ctor_set(x_1063, 1, x_1040); +x_1064 = lean_array_push(x_1062, x_1063); +x_1065 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1065, 0, x_1046); +lean_ctor_set(x_1065, 1, x_1064); +x_1066 = lean_array_push(x_1034, x_1065); +x_1067 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_1068 = lean_array_push(x_1066, x_1067); +x_1069 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1069, 0, x_1043); +lean_ctor_set(x_1069, 1, x_1068); +x_1070 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; +x_1071 = lean_array_push(x_1070, x_1069); +x_1072 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__34; +x_1073 = lean_array_push(x_1071, x_1072); +x_1074 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; x_1075 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1075, 0, x_1055); -lean_ctor_set(x_1075, 1, x_1052); -x_1076 = lean_array_push(x_1074, x_1075); +lean_ctor_set(x_1075, 0, x_1074); +lean_ctor_set(x_1075, 1, x_1073); +x_1076 = lean_array_push(x_1034, x_1075); x_1077 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1077, 0, x_1058); +lean_ctor_set(x_1077, 0, x_1043); lean_ctor_set(x_1077, 1, x_1076); -x_1078 = lean_array_push(x_1046, x_1077); -x_1079 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_1080 = lean_array_push(x_1078, x_1079); -x_1081 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1081, 0, x_1055); -lean_ctor_set(x_1081, 1, x_1080); -x_1082 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__22; -x_1083 = lean_array_push(x_1082, x_1081); -x_1084 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__34; -x_1085 = lean_array_push(x_1083, x_1084); -x_1086 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; -x_1087 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1087, 0, x_1086); -lean_ctor_set(x_1087, 1, x_1085); -x_1088 = lean_array_push(x_1046, x_1087); -x_1089 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1089, 0, x_1055); -lean_ctor_set(x_1089, 1, x_1088); -x_1090 = lean_array_push(x_1068, x_1089); +x_1078 = lean_array_push(x_1056, x_1077); +x_1079 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1079, 0, x_1046); +lean_ctor_set(x_1079, 1, x_1078); +x_1080 = lean_array_push(x_1034, x_1079); +x_1081 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__45; +x_1082 = lean_array_push(x_1080, x_1081); +x_1083 = l_Nat_repr(x_526); +x_1084 = l_Lean_numLitKind; +x_1085 = l_Lean_mkStxLit(x_1084, x_1083, x_1030); +x_1086 = lean_array_push(x_1082, x_1085); +x_1087 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__33; +x_1088 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1088, 0, x_1087); +lean_ctor_set(x_1088, 1, x_1086); +x_1089 = lean_array_push(x_1050, x_1088); +x_1090 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__30; x_1091 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1091, 0, x_1058); -lean_ctor_set(x_1091, 1, x_1090); -x_1092 = lean_array_push(x_1046, x_1091); -x_1093 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__45; -x_1094 = lean_array_push(x_1092, x_1093); -x_1095 = l_Nat_repr(x_532); -x_1096 = l_Lean_numLitKind; -x_1097 = l_Lean_mkStxLit(x_1096, x_1095, x_1042); -x_1098 = lean_array_push(x_1094, x_1097); -x_1099 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__33; -x_1100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1100, 0, x_1099); -lean_ctor_set(x_1100, 1, x_1098); -x_1101 = lean_array_push(x_1062, x_1100); -x_1102 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__30; -x_1103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1103, 0, x_1102); -lean_ctor_set(x_1103, 1, x_1101); -x_1104 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_1039); +lean_ctor_set(x_1091, 0, x_1090); +lean_ctor_set(x_1091, 1, x_1089); +x_1092 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_1027); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1105 = lean_ctor_get(x_1104, 0); -lean_inc(x_1105); -x_1106 = lean_ctor_get(x_1104, 1); -lean_inc(x_1106); -lean_dec(x_1104); -x_1107 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_1106); +x_1093 = lean_ctor_get(x_1092, 0); +lean_inc(x_1093); +x_1094 = lean_ctor_get(x_1092, 1); +lean_inc(x_1094); +lean_dec(x_1092); +x_1095 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_1094); lean_dec(x_8); -x_1108 = lean_ctor_get(x_1107, 0); -lean_inc(x_1108); -x_1109 = lean_ctor_get(x_1107, 1); -lean_inc(x_1109); -if (lean_is_exclusive(x_1107)) { - lean_ctor_release(x_1107, 0); - lean_ctor_release(x_1107, 1); - x_1110 = x_1107; +x_1096 = lean_ctor_get(x_1095, 0); +lean_inc(x_1096); +x_1097 = lean_ctor_get(x_1095, 1); +lean_inc(x_1097); +if (lean_is_exclusive(x_1095)) { + lean_ctor_release(x_1095, 0); + lean_ctor_release(x_1095, 1); + x_1098 = x_1095; } else { - lean_dec_ref(x_1107); - x_1110 = lean_box(0); + lean_dec_ref(x_1095); + x_1098 = lean_box(0); } -lean_inc(x_1105); -lean_inc(x_1108); -x_1111 = l_Lean_addMacroScope(x_1108, x_1048, x_1105); -x_1112 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1112, 0, x_1042); -lean_ctor_set(x_1112, 1, x_1050); -lean_ctor_set(x_1112, 2, x_1111); -lean_ctor_set(x_1112, 3, x_537); -x_1113 = lean_array_push(x_1046, x_1112); -x_1114 = lean_array_push(x_1113, x_1079); -x_1115 = lean_array_push(x_1114, x_1079); -x_1116 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_1117 = lean_array_push(x_1115, x_1116); -x_1118 = lean_array_push(x_1117, x_21); -x_1119 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_1120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1120, 0, x_1119); -lean_ctor_set(x_1120, 1, x_1118); -x_1121 = lean_array_push(x_1046, x_1120); -x_1122 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_1123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1123, 0, x_1122); +lean_inc(x_1093); +lean_inc(x_1096); +x_1099 = l_Lean_addMacroScope(x_1096, x_1036, x_1093); +x_1100 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1100, 0, x_1030); +lean_ctor_set(x_1100, 1, x_1038); +lean_ctor_set(x_1100, 2, x_1099); +lean_ctor_set(x_1100, 3, x_531); +x_1101 = lean_array_push(x_1034, x_1100); +x_1102 = lean_array_push(x_1101, x_1067); +x_1103 = lean_array_push(x_1102, x_1067); +x_1104 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_1105 = lean_array_push(x_1103, x_1104); +x_1106 = lean_array_push(x_1105, x_21); +x_1107 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_1108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1108, 0, x_1107); +lean_ctor_set(x_1108, 1, x_1106); +x_1109 = lean_array_push(x_1034, x_1108); +x_1110 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_1111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1111, 0, x_1110); +lean_ctor_set(x_1111, 1, x_1109); +x_1112 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_1113 = lean_array_push(x_1112, x_1111); +x_1114 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_1115 = lean_array_push(x_1113, x_1114); +x_1116 = lean_array_push(x_1034, x_1091); +x_1117 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; +x_1118 = lean_array_push(x_1116, x_1117); +x_1119 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; +x_1120 = l_Lean_addMacroScope(x_1096, x_1119, x_1093); +x_1121 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; +x_1122 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; +x_1123 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1123, 0, x_1030); lean_ctor_set(x_1123, 1, x_1121); -x_1124 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_1125 = lean_array_push(x_1124, x_1123); -x_1126 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_1127 = lean_array_push(x_1125, x_1126); -x_1128 = lean_array_push(x_1046, x_1103); -x_1129 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__19; +lean_ctor_set(x_1123, 2, x_1120); +lean_ctor_set(x_1123, 3, x_1122); +x_1124 = lean_array_push(x_1118, x_1123); +x_1125 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; +x_1126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1126, 0, x_1125); +lean_ctor_set(x_1126, 1, x_1124); +x_1127 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; +x_1128 = lean_array_push(x_1127, x_1126); +x_1129 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; x_1130 = lean_array_push(x_1128, x_1129); -x_1131 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__22; -x_1132 = l_Lean_addMacroScope(x_1108, x_1131, x_1105); -x_1133 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__21; -x_1134 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__24; -x_1135 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1135, 0, x_1042); -lean_ctor_set(x_1135, 1, x_1133); -lean_ctor_set(x_1135, 2, x_1132); -lean_ctor_set(x_1135, 3, x_1134); -x_1136 = lean_array_push(x_1130, x_1135); -x_1137 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18; -x_1138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1138, 0, x_1137); -lean_ctor_set(x_1138, 1, x_1136); -x_1139 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__16; -x_1140 = lean_array_push(x_1139, x_1138); -x_1141 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__26; -x_1142 = lean_array_push(x_1140, x_1141); -x_1143 = lean_array_push(x_1142, x_1010); -x_1144 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; -x_1145 = lean_array_push(x_1143, x_1144); -x_1146 = lean_array_push(x_1145, x_1032); -x_1147 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; -x_1148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1148, 0, x_1147); -lean_ctor_set(x_1148, 1, x_1146); -x_1149 = lean_array_push(x_1127, x_1148); -x_1150 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_1151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1151, 0, x_1150); -lean_ctor_set(x_1151, 1, x_1149); -if (lean_is_scalar(x_1110)) { - x_1152 = lean_alloc_ctor(0, 2, 0); +x_1131 = lean_array_push(x_1130, x_1000); +x_1132 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__28; +x_1133 = lean_array_push(x_1131, x_1132); +x_1134 = lean_array_push(x_1133, x_1020); +x_1135 = l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__13; +x_1136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1136, 0, x_1135); +lean_ctor_set(x_1136, 1, x_1134); +x_1137 = lean_array_push(x_1115, x_1136); +x_1138 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_1139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1139, 0, x_1138); +lean_ctor_set(x_1139, 1, x_1137); +if (lean_is_scalar(x_1098)) { + x_1140 = lean_alloc_ctor(0, 2, 0); } else { - x_1152 = x_1110; + x_1140 = x_1098; } -lean_ctor_set(x_1152, 0, x_1151); -lean_ctor_set(x_1152, 1, x_1109); -return x_1152; +lean_ctor_set(x_1140, 0, x_1139); +lean_ctor_set(x_1140, 1, x_1097); +return x_1140; } else { -lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; -lean_dec(x_1012); -lean_dec(x_1010); -lean_dec(x_532); +lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; +lean_dec(x_1002); +lean_dec(x_1000); +lean_dec(x_526); lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); @@ -10604,40 +10564,40 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1153 = lean_ctor_get(x_1031, 0); -lean_inc(x_1153); -x_1154 = lean_ctor_get(x_1031, 1); -lean_inc(x_1154); -if (lean_is_exclusive(x_1031)) { - lean_ctor_release(x_1031, 0); - lean_ctor_release(x_1031, 1); - x_1155 = x_1031; +x_1141 = lean_ctor_get(x_1019, 0); +lean_inc(x_1141); +x_1142 = lean_ctor_get(x_1019, 1); +lean_inc(x_1142); +if (lean_is_exclusive(x_1019)) { + lean_ctor_release(x_1019, 0); + lean_ctor_release(x_1019, 1); + x_1143 = x_1019; } else { - lean_dec_ref(x_1031); - x_1155 = lean_box(0); + lean_dec_ref(x_1019); + x_1143 = lean_box(0); } -if (lean_is_scalar(x_1155)) { - x_1156 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1143)) { + x_1144 = lean_alloc_ctor(1, 2, 0); } else { - x_1156 = x_1155; + x_1144 = x_1143; } -lean_ctor_set(x_1156, 0, x_1153); -lean_ctor_set(x_1156, 1, x_1154); -return x_1156; +lean_ctor_set(x_1144, 0, x_1141); +lean_ctor_set(x_1144, 1, x_1142); +return x_1144; } } } else { -lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; -lean_dec(x_968); -lean_dec(x_967); -lean_dec(x_966); -lean_dec(x_965); -lean_dec(x_964); -lean_dec(x_963); -lean_dec(x_962); -lean_dec(x_532); +lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; +lean_dec(x_958); +lean_dec(x_957); +lean_dec(x_956); +lean_dec(x_955); +lean_dec(x_954); +lean_dec(x_953); +lean_dec(x_952); +lean_dec(x_526); lean_dec(x_29); lean_dec(x_25); lean_dec(x_21); @@ -10648,34 +10608,34 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_1157 = lean_ctor_get(x_973, 0); -lean_inc(x_1157); -x_1158 = lean_ctor_get(x_973, 1); -lean_inc(x_1158); -if (lean_is_exclusive(x_973)) { - lean_ctor_release(x_973, 0); - lean_ctor_release(x_973, 1); - x_1159 = x_973; +x_1145 = lean_ctor_get(x_963, 0); +lean_inc(x_1145); +x_1146 = lean_ctor_get(x_963, 1); +lean_inc(x_1146); +if (lean_is_exclusive(x_963)) { + lean_ctor_release(x_963, 0); + lean_ctor_release(x_963, 1); + x_1147 = x_963; } else { - lean_dec_ref(x_973); - x_1159 = lean_box(0); + lean_dec_ref(x_963); + x_1147 = lean_box(0); } -if (lean_is_scalar(x_1159)) { - x_1160 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1147)) { + x_1148 = lean_alloc_ctor(1, 2, 0); } else { - x_1160 = x_1159; + x_1148 = x_1147; } -lean_ctor_set(x_1160, 0, x_1157); -lean_ctor_set(x_1160, 1, x_1158); -return x_1160; +lean_ctor_set(x_1148, 0, x_1145); +lean_ctor_set(x_1148, 1, x_1146); +return x_1148; } } } else { -uint8_t x_1161; -lean_dec(x_535); -lean_dec(x_532); +uint8_t x_1149; +lean_dec(x_529); +lean_dec(x_526); lean_dec(x_29); lean_dec(x_25); lean_dec(x_22); @@ -10687,23 +10647,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_1161 = !lean_is_exclusive(x_539); -if (x_1161 == 0) +x_1149 = !lean_is_exclusive(x_533); +if (x_1149 == 0) { -return x_539; +return x_533; } else { -lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; -x_1162 = lean_ctor_get(x_539, 0); -x_1163 = lean_ctor_get(x_539, 1); -lean_inc(x_1163); -lean_inc(x_1162); -lean_dec(x_539); -x_1164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1164, 0, x_1162); -lean_ctor_set(x_1164, 1, x_1163); -return x_1164; +lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; +x_1150 = lean_ctor_get(x_533, 0); +x_1151 = lean_ctor_get(x_533, 1); +lean_inc(x_1151); +lean_inc(x_1150); +lean_dec(x_533); +x_1152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1152, 0, x_1150); +lean_ctor_set(x_1152, 1, x_1151); +return x_1152; } } } @@ -11212,10 +11172,10 @@ x_42 = !lean_is_exclusive(x_40); if (x_42 == 0) { 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; uint8_t x_55; uint8_t x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; -x_43 = lean_ctor_get(x_40, 5); +x_43 = lean_ctor_get(x_40, 3); x_44 = lean_unsigned_to_nat(1u); x_45 = lean_nat_add(x_43, x_44); -lean_ctor_set(x_40, 5, x_45); +lean_ctor_set(x_40, 3, x_45); x_46 = lean_st_ref_set(x_5, x_40, x_41); x_47 = lean_ctor_get(x_46, 1); lean_inc(x_47); @@ -11404,153 +11364,147 @@ return x_124; } else { -lean_object* x_125; lean_object* x_126; 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_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; uint8_t x_145; uint8_t x_146; lean_object* x_147; lean_object* x_148; +lean_object* x_125; lean_object* x_126; 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_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; uint8_t x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; x_125 = lean_ctor_get(x_40, 0); x_126 = lean_ctor_get(x_40, 1); x_127 = lean_ctor_get(x_40, 2); x_128 = lean_ctor_get(x_40, 3); x_129 = lean_ctor_get(x_40, 4); -x_130 = lean_ctor_get(x_40, 5); -x_131 = lean_ctor_get(x_40, 6); -lean_inc(x_131); -lean_inc(x_130); lean_inc(x_129); lean_inc(x_128); lean_inc(x_127); lean_inc(x_126); lean_inc(x_125); lean_dec(x_40); -x_132 = lean_unsigned_to_nat(1u); -x_133 = lean_nat_add(x_130, x_132); -x_134 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_134, 0, x_125); -lean_ctor_set(x_134, 1, x_126); -lean_ctor_set(x_134, 2, x_127); -lean_ctor_set(x_134, 3, x_128); -lean_ctor_set(x_134, 4, x_129); -lean_ctor_set(x_134, 5, x_133); -lean_ctor_set(x_134, 6, x_131); -x_135 = lean_st_ref_set(x_5, x_134, x_41); -x_136 = lean_ctor_get(x_135, 1); +x_130 = lean_unsigned_to_nat(1u); +x_131 = lean_nat_add(x_128, x_130); +x_132 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_132, 0, x_125); +lean_ctor_set(x_132, 1, x_126); +lean_ctor_set(x_132, 2, x_127); +lean_ctor_set(x_132, 3, x_131); +lean_ctor_set(x_132, 4, x_129); +x_133 = lean_st_ref_set(x_5, x_132, x_41); +x_134 = lean_ctor_get(x_133, 1); +lean_inc(x_134); +lean_dec(x_133); +x_135 = lean_ctor_get(x_4, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_4, 1); lean_inc(x_136); -lean_dec(x_135); -x_137 = lean_ctor_get(x_4, 0); +x_137 = lean_ctor_get(x_4, 2); lean_inc(x_137); -x_138 = lean_ctor_get(x_4, 1); +x_138 = lean_ctor_get(x_4, 3); lean_inc(x_138); -x_139 = lean_ctor_get(x_4, 2); +x_139 = lean_ctor_get(x_4, 4); lean_inc(x_139); -x_140 = lean_ctor_get(x_4, 3); +x_140 = lean_ctor_get(x_4, 5); lean_inc(x_140); -x_141 = lean_ctor_get(x_4, 4); +x_141 = lean_ctor_get(x_4, 6); lean_inc(x_141); -x_142 = lean_ctor_get(x_4, 5); -lean_inc(x_142); -x_143 = lean_ctor_get(x_4, 6); -lean_inc(x_143); -x_144 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_145 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_146 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_147 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_147, 0, x_137); -lean_ctor_set(x_147, 1, x_138); -lean_ctor_set(x_147, 2, x_139); -lean_ctor_set(x_147, 3, x_140); -lean_ctor_set(x_147, 4, x_141); -lean_ctor_set(x_147, 5, x_142); -lean_ctor_set(x_147, 6, x_143); -lean_ctor_set(x_147, 7, x_130); -lean_ctor_set_uint8(x_147, sizeof(void*)*8, x_144); -lean_ctor_set_uint8(x_147, sizeof(void*)*8 + 1, x_145); -lean_ctor_set_uint8(x_147, sizeof(void*)*8 + 2, x_146); +x_142 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_143 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_144 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_145 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_145, 0, x_135); +lean_ctor_set(x_145, 1, x_136); +lean_ctor_set(x_145, 2, x_137); +lean_ctor_set(x_145, 3, x_138); +lean_ctor_set(x_145, 4, x_139); +lean_ctor_set(x_145, 5, x_140); +lean_ctor_set(x_145, 6, x_141); +lean_ctor_set(x_145, 7, x_128); +lean_ctor_set_uint8(x_145, sizeof(void*)*8, x_142); +lean_ctor_set_uint8(x_145, sizeof(void*)*8 + 1, x_143); +lean_ctor_set_uint8(x_145, sizeof(void*)*8 + 2, x_144); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_148 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_16, x_2, x_147, x_5, x_6, x_7, x_8, x_9, x_136); -if (lean_obj_tag(x_148) == 0) +x_146 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_16, x_2, x_145, x_5, x_6, x_7, x_8, x_9, x_134); +if (lean_obj_tag(x_146) == 0) { -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_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; 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; -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -lean_dec(x_148); -x_151 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_150); +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_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; 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; +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_149 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_148); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_153); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_151); lean_dec(x_9); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_154)) { - lean_ctor_release(x_154, 0); - lean_ctor_release(x_154, 1); - x_157 = x_154; +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_155 = x_152; } else { - lean_dec_ref(x_154); - x_157 = lean_box(0); + lean_dec_ref(x_152); + x_155 = lean_box(0); } -x_158 = l_Lean_addMacroScope(x_155, x_27, x_152); -x_159 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_159, 0, x_30); -lean_ctor_set(x_159, 1, x_31); -lean_ctor_set(x_159, 2, x_158); -lean_ctor_set(x_159, 3, x_29); -x_160 = lean_array_push(x_33, x_159); -x_161 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_162 = lean_array_push(x_160, x_161); -x_163 = lean_array_push(x_162, x_161); -x_164 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_165 = lean_array_push(x_163, x_164); -x_166 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__18; -x_167 = lean_array_push(x_166, x_18); -x_168 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -x_170 = lean_array_push(x_165, x_169); -x_171 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -x_173 = lean_array_push(x_33, x_172); -x_174 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_173); -x_176 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_177 = lean_array_push(x_176, x_175); -x_178 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_179 = lean_array_push(x_177, x_178); -x_180 = lean_array_push(x_179, x_149); -x_181 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_180); -if (lean_is_scalar(x_157)) { - x_183 = lean_alloc_ctor(0, 2, 0); +x_156 = l_Lean_addMacroScope(x_153, x_27, x_150); +x_157 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_157, 0, x_30); +lean_ctor_set(x_157, 1, x_31); +lean_ctor_set(x_157, 2, x_156); +lean_ctor_set(x_157, 3, x_29); +x_158 = lean_array_push(x_33, x_157); +x_159 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_160 = lean_array_push(x_158, x_159); +x_161 = lean_array_push(x_160, x_159); +x_162 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_163 = lean_array_push(x_161, x_162); +x_164 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__18; +x_165 = lean_array_push(x_164, x_18); +x_166 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = lean_array_push(x_163, x_167); +x_169 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_168); +x_171 = lean_array_push(x_33, x_170); +x_172 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_171); +x_174 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_175 = lean_array_push(x_174, x_173); +x_176 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_177 = lean_array_push(x_175, x_176); +x_178 = lean_array_push(x_177, x_147); +x_179 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +if (lean_is_scalar(x_155)) { + x_181 = lean_alloc_ctor(0, 2, 0); } else { - x_183 = x_157; + x_181 = x_155; } -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_156); -return x_183; +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_154); +return x_181; } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_dec(x_18); lean_dec(x_9); lean_dec(x_8); @@ -11558,1706 +11512,1660 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_184 = lean_ctor_get(x_148, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_148, 1); -lean_inc(x_185); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_186 = x_148; +x_182 = lean_ctor_get(x_146, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_146, 1); +lean_inc(x_183); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_184 = x_146; } else { - lean_dec_ref(x_148); - x_186 = lean_box(0); + lean_dec_ref(x_146); + x_184 = lean_box(0); } -if (lean_is_scalar(x_186)) { - x_187 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_184)) { + x_185 = lean_alloc_ctor(1, 2, 0); } else { - x_187 = x_186; + x_185 = x_184; } -lean_ctor_set(x_187, 0, x_184); -lean_ctor_set(x_187, 1, x_185); -return x_187; +lean_ctor_set(x_185, 0, x_182); +lean_ctor_set(x_185, 1, x_183); +return x_185; } } } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; +lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; lean_free_object(x_2); -x_188 = l_List_redLength___main___rarg(x_20); -x_189 = lean_mk_empty_array_with_capacity(x_188); -lean_dec(x_188); +x_186 = l_List_redLength___main___rarg(x_20); +x_187 = lean_mk_empty_array_with_capacity(x_186); +lean_dec(x_186); lean_inc(x_20); -x_190 = l_List_toArrayAux___main___rarg(x_20, x_189); -x_191 = !lean_is_exclusive(x_20); -if (x_191 == 0) +x_188 = l_List_toArrayAux___main___rarg(x_20, x_187); +x_189 = !lean_is_exclusive(x_20); +if (x_189 == 0) { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; -x_192 = lean_ctor_get(x_20, 1); -lean_dec(x_192); -x_193 = lean_ctor_get(x_20, 0); -lean_dec(x_193); -x_194 = l_Lean_nullKind___closed__2; -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_190); -x_196 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__12; -x_197 = lean_array_push(x_196, x_195); -x_198 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__11; -x_199 = lean_array_push(x_197, x_198); -x_200 = lean_array_push(x_199, x_18); -x_201 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_200); -x_203 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_204 = lean_ctor_get(x_203, 0); -lean_inc(x_204); -x_205 = lean_ctor_get(x_203, 1); +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; +x_190 = lean_ctor_get(x_20, 1); +lean_dec(x_190); +x_191 = lean_ctor_get(x_20, 0); +lean_dec(x_191); +x_192 = l_Lean_nullKind___closed__2; +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_188); +x_194 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__12; +x_195 = lean_array_push(x_194, x_193); +x_196 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__11; +x_197 = lean_array_push(x_195, x_196); +x_198 = lean_array_push(x_197, x_18); +x_199 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec(x_201); +x_204 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_203); +x_205 = lean_ctor_get(x_204, 0); lean_inc(x_205); -lean_dec(x_203); -x_206 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_205); -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -lean_dec(x_206); -x_209 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; -x_210 = l_Lean_addMacroScope(x_207, x_209, x_204); -x_211 = lean_box(0); -x_212 = l_Lean_SourceInfo_inhabited___closed__1; -x_213 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; -x_214 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_214, 0, x_212); -lean_ctor_set(x_214, 1, x_213); -lean_ctor_set(x_214, 2, x_210); -lean_ctor_set(x_214, 3, x_211); -lean_ctor_set(x_14, 1, x_214); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; +x_208 = l_Lean_addMacroScope(x_205, x_207, x_202); +x_209 = lean_box(0); +x_210 = l_Lean_SourceInfo_inhabited___closed__1; +x_211 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; +x_212 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_212, 0, x_210); +lean_ctor_set(x_212, 1, x_211); +lean_ctor_set(x_212, 2, x_208); +lean_ctor_set(x_212, 3, x_209); +lean_ctor_set(x_14, 1, x_212); lean_ctor_set(x_20, 1, x_3); lean_ctor_set(x_20, 0, x_14); -x_215 = lean_st_ref_take(x_5, x_208); -x_216 = lean_ctor_get(x_215, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_215, 1); -lean_inc(x_217); -lean_dec(x_215); -x_218 = !lean_is_exclusive(x_216); -if (x_218 == 0) +x_213 = lean_st_ref_take(x_5, x_206); +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_213, 1); +lean_inc(x_215); +lean_dec(x_213); +x_216 = !lean_is_exclusive(x_214); +if (x_216 == 0) { -lean_object* x_219; 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_231; uint8_t x_232; uint8_t x_233; lean_object* x_234; lean_object* x_235; -x_219 = lean_ctor_get(x_216, 5); -x_220 = lean_unsigned_to_nat(1u); -x_221 = lean_nat_add(x_219, x_220); -lean_ctor_set(x_216, 5, x_221); -x_222 = lean_st_ref_set(x_5, x_216, x_217); -x_223 = lean_ctor_get(x_222, 1); +lean_object* x_217; lean_object* x_218; lean_object* x_219; 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; uint8_t x_229; uint8_t x_230; uint8_t x_231; lean_object* x_232; lean_object* x_233; +x_217 = lean_ctor_get(x_214, 3); +x_218 = lean_unsigned_to_nat(1u); +x_219 = lean_nat_add(x_217, x_218); +lean_ctor_set(x_214, 3, x_219); +x_220 = lean_st_ref_set(x_5, x_214, x_215); +x_221 = lean_ctor_get(x_220, 1); +lean_inc(x_221); +lean_dec(x_220); +x_222 = lean_ctor_get(x_4, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_4, 1); lean_inc(x_223); -lean_dec(x_222); -x_224 = lean_ctor_get(x_4, 0); +x_224 = lean_ctor_get(x_4, 2); lean_inc(x_224); -x_225 = lean_ctor_get(x_4, 1); +x_225 = lean_ctor_get(x_4, 3); lean_inc(x_225); -x_226 = lean_ctor_get(x_4, 2); +x_226 = lean_ctor_get(x_4, 4); lean_inc(x_226); -x_227 = lean_ctor_get(x_4, 3); +x_227 = lean_ctor_get(x_4, 5); lean_inc(x_227); -x_228 = lean_ctor_get(x_4, 4); +x_228 = lean_ctor_get(x_4, 6); lean_inc(x_228); -x_229 = lean_ctor_get(x_4, 5); -lean_inc(x_229); -x_230 = lean_ctor_get(x_4, 6); -lean_inc(x_230); -x_231 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_232 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_233 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_234 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_234, 0, x_224); -lean_ctor_set(x_234, 1, x_225); -lean_ctor_set(x_234, 2, x_226); -lean_ctor_set(x_234, 3, x_227); -lean_ctor_set(x_234, 4, x_228); -lean_ctor_set(x_234, 5, x_229); -lean_ctor_set(x_234, 6, x_230); -lean_ctor_set(x_234, 7, x_219); -lean_ctor_set_uint8(x_234, sizeof(void*)*8, x_231); -lean_ctor_set_uint8(x_234, sizeof(void*)*8 + 1, x_232); -lean_ctor_set_uint8(x_234, sizeof(void*)*8 + 2, x_233); +x_229 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_230 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_231 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_232 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_232, 0, x_222); +lean_ctor_set(x_232, 1, x_223); +lean_ctor_set(x_232, 2, x_224); +lean_ctor_set(x_232, 3, x_225); +lean_ctor_set(x_232, 4, x_226); +lean_ctor_set(x_232, 5, x_227); +lean_ctor_set(x_232, 6, x_228); +lean_ctor_set(x_232, 7, x_217); +lean_ctor_set_uint8(x_232, sizeof(void*)*8, x_229); +lean_ctor_set_uint8(x_232, sizeof(void*)*8 + 1, x_230); +lean_ctor_set_uint8(x_232, sizeof(void*)*8 + 2, x_231); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_235 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_16, x_20, x_234, x_5, x_6, x_7, x_8, x_9, x_223); -if (lean_obj_tag(x_235) == 0) +x_233 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_16, x_20, x_232, x_5, x_6, x_7, x_8, x_9, x_221); +if (lean_obj_tag(x_233) == 0) { -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_235, 1); +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; +x_234 = lean_ctor_get(x_233, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_233, 1); +lean_inc(x_235); +lean_dec(x_233); +x_236 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_235); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_237 = lean_ctor_get(x_236, 0); lean_inc(x_237); -lean_dec(x_235); -x_238 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_237); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -lean_dec(x_238); -x_241 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_240); +x_238 = lean_ctor_get(x_236, 1); +lean_inc(x_238); +lean_dec(x_236); +x_239 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_238); lean_dec(x_9); -x_242 = !lean_is_exclusive(x_241); -if (x_242 == 0) +x_240 = !lean_is_exclusive(x_239); +if (x_240 == 0) { -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_243 = lean_ctor_get(x_241, 0); -x_244 = l_Lean_addMacroScope(x_243, x_209, x_239); -x_245 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_245, 0, x_212); -lean_ctor_set(x_245, 1, x_213); -lean_ctor_set(x_245, 2, x_244); -lean_ctor_set(x_245, 3, x_211); -x_246 = l_Array_empty___closed__1; -x_247 = lean_array_push(x_246, x_245); -x_248 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; -x_249 = lean_array_push(x_247, x_248); -x_250 = lean_array_push(x_249, x_248); -x_251 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_252 = lean_array_push(x_250, x_251); -x_253 = lean_array_push(x_252, x_202); -x_254 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_255, 0, x_254); -lean_ctor_set(x_255, 1, x_253); -x_256 = lean_array_push(x_246, x_255); -x_257 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_256); -x_259 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_260 = lean_array_push(x_259, x_258); -x_261 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_262 = lean_array_push(x_260, x_261); -x_263 = lean_array_push(x_262, x_236); -x_264 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -lean_ctor_set(x_241, 0, x_265); -return x_241; +lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_241 = lean_ctor_get(x_239, 0); +x_242 = l_Lean_addMacroScope(x_241, x_207, x_237); +x_243 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_243, 0, x_210); +lean_ctor_set(x_243, 1, x_211); +lean_ctor_set(x_243, 2, x_242); +lean_ctor_set(x_243, 3, x_209); +x_244 = l_Array_empty___closed__1; +x_245 = lean_array_push(x_244, x_243); +x_246 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; +x_247 = lean_array_push(x_245, x_246); +x_248 = lean_array_push(x_247, x_246); +x_249 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_250 = lean_array_push(x_248, x_249); +x_251 = lean_array_push(x_250, x_200); +x_252 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_252); +lean_ctor_set(x_253, 1, x_251); +x_254 = lean_array_push(x_244, x_253); +x_255 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_254); +x_257 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_258 = lean_array_push(x_257, x_256); +x_259 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_260 = lean_array_push(x_258, x_259); +x_261 = lean_array_push(x_260, x_234); +x_262 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_261); +lean_ctor_set(x_239, 0, x_263); +return x_239; } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_266 = lean_ctor_get(x_241, 0); -x_267 = lean_ctor_get(x_241, 1); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_241); -x_268 = l_Lean_addMacroScope(x_266, x_209, x_239); -x_269 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_269, 0, x_212); -lean_ctor_set(x_269, 1, x_213); -lean_ctor_set(x_269, 2, x_268); -lean_ctor_set(x_269, 3, x_211); -x_270 = l_Array_empty___closed__1; -x_271 = lean_array_push(x_270, x_269); -x_272 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; -x_273 = lean_array_push(x_271, x_272); -x_274 = lean_array_push(x_273, x_272); -x_275 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_276 = lean_array_push(x_274, x_275); -x_277 = lean_array_push(x_276, x_202); -x_278 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -x_280 = lean_array_push(x_270, x_279); -x_281 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_280); -x_283 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_284 = lean_array_push(x_283, x_282); -x_285 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_286 = lean_array_push(x_284, x_285); -x_287 = lean_array_push(x_286, x_236); -x_288 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_267); -return x_290; +lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +x_264 = lean_ctor_get(x_239, 0); +x_265 = lean_ctor_get(x_239, 1); +lean_inc(x_265); +lean_inc(x_264); +lean_dec(x_239); +x_266 = l_Lean_addMacroScope(x_264, x_207, x_237); +x_267 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_267, 0, x_210); +lean_ctor_set(x_267, 1, x_211); +lean_ctor_set(x_267, 2, x_266); +lean_ctor_set(x_267, 3, x_209); +x_268 = l_Array_empty___closed__1; +x_269 = lean_array_push(x_268, x_267); +x_270 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; +x_271 = lean_array_push(x_269, x_270); +x_272 = lean_array_push(x_271, x_270); +x_273 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_274 = lean_array_push(x_272, x_273); +x_275 = lean_array_push(x_274, x_200); +x_276 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_277, 0, x_276); +lean_ctor_set(x_277, 1, x_275); +x_278 = lean_array_push(x_268, x_277); +x_279 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_278); +x_281 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_282 = lean_array_push(x_281, x_280); +x_283 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_284 = lean_array_push(x_282, x_283); +x_285 = lean_array_push(x_284, x_234); +x_286 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_285); +x_288 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_265); +return x_288; } } else { -uint8_t x_291; -lean_dec(x_202); +uint8_t x_289; +lean_dec(x_200); 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_291 = !lean_is_exclusive(x_235); -if (x_291 == 0) +x_289 = !lean_is_exclusive(x_233); +if (x_289 == 0) { -return x_235; +return x_233; } else { -lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_292 = lean_ctor_get(x_235, 0); -x_293 = lean_ctor_get(x_235, 1); -lean_inc(x_293); -lean_inc(x_292); -lean_dec(x_235); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_292); -lean_ctor_set(x_294, 1, x_293); -return x_294; +lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_290 = lean_ctor_get(x_233, 0); +x_291 = lean_ctor_get(x_233, 1); +lean_inc(x_291); +lean_inc(x_290); +lean_dec(x_233); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_290); +lean_ctor_set(x_292, 1, x_291); +return x_292; } } } else { -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; uint8_t x_314; uint8_t x_315; uint8_t x_316; lean_object* x_317; lean_object* x_318; -x_295 = lean_ctor_get(x_216, 0); -x_296 = lean_ctor_get(x_216, 1); -x_297 = lean_ctor_get(x_216, 2); -x_298 = lean_ctor_get(x_216, 3); -x_299 = lean_ctor_get(x_216, 4); -x_300 = lean_ctor_get(x_216, 5); -x_301 = lean_ctor_get(x_216, 6); -lean_inc(x_301); -lean_inc(x_300); -lean_inc(x_299); -lean_inc(x_298); +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; uint8_t x_311; uint8_t x_312; lean_object* x_313; lean_object* x_314; +x_293 = lean_ctor_get(x_214, 0); +x_294 = lean_ctor_get(x_214, 1); +x_295 = lean_ctor_get(x_214, 2); +x_296 = lean_ctor_get(x_214, 3); +x_297 = lean_ctor_get(x_214, 4); lean_inc(x_297); lean_inc(x_296); lean_inc(x_295); -lean_dec(x_216); -x_302 = lean_unsigned_to_nat(1u); -x_303 = lean_nat_add(x_300, x_302); -x_304 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_304, 0, x_295); -lean_ctor_set(x_304, 1, x_296); -lean_ctor_set(x_304, 2, x_297); -lean_ctor_set(x_304, 3, x_298); -lean_ctor_set(x_304, 4, x_299); -lean_ctor_set(x_304, 5, x_303); -lean_ctor_set(x_304, 6, x_301); -x_305 = lean_st_ref_set(x_5, x_304, x_217); -x_306 = lean_ctor_get(x_305, 1); +lean_inc(x_294); +lean_inc(x_293); +lean_dec(x_214); +x_298 = lean_unsigned_to_nat(1u); +x_299 = lean_nat_add(x_296, x_298); +x_300 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_300, 0, x_293); +lean_ctor_set(x_300, 1, x_294); +lean_ctor_set(x_300, 2, x_295); +lean_ctor_set(x_300, 3, x_299); +lean_ctor_set(x_300, 4, x_297); +x_301 = lean_st_ref_set(x_5, x_300, x_215); +x_302 = lean_ctor_get(x_301, 1); +lean_inc(x_302); +lean_dec(x_301); +x_303 = lean_ctor_get(x_4, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_4, 1); +lean_inc(x_304); +x_305 = lean_ctor_get(x_4, 2); +lean_inc(x_305); +x_306 = lean_ctor_get(x_4, 3); lean_inc(x_306); -lean_dec(x_305); -x_307 = lean_ctor_get(x_4, 0); +x_307 = lean_ctor_get(x_4, 4); lean_inc(x_307); -x_308 = lean_ctor_get(x_4, 1); +x_308 = lean_ctor_get(x_4, 5); lean_inc(x_308); -x_309 = lean_ctor_get(x_4, 2); +x_309 = lean_ctor_get(x_4, 6); lean_inc(x_309); -x_310 = lean_ctor_get(x_4, 3); -lean_inc(x_310); -x_311 = lean_ctor_get(x_4, 4); -lean_inc(x_311); -x_312 = lean_ctor_get(x_4, 5); -lean_inc(x_312); -x_313 = lean_ctor_get(x_4, 6); -lean_inc(x_313); -x_314 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_315 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_316 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_317 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_317, 0, x_307); -lean_ctor_set(x_317, 1, x_308); -lean_ctor_set(x_317, 2, x_309); -lean_ctor_set(x_317, 3, x_310); -lean_ctor_set(x_317, 4, x_311); -lean_ctor_set(x_317, 5, x_312); -lean_ctor_set(x_317, 6, x_313); -lean_ctor_set(x_317, 7, x_300); -lean_ctor_set_uint8(x_317, sizeof(void*)*8, x_314); -lean_ctor_set_uint8(x_317, sizeof(void*)*8 + 1, x_315); -lean_ctor_set_uint8(x_317, sizeof(void*)*8 + 2, x_316); +x_310 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_311 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_312 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_313 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_313, 0, x_303); +lean_ctor_set(x_313, 1, x_304); +lean_ctor_set(x_313, 2, x_305); +lean_ctor_set(x_313, 3, x_306); +lean_ctor_set(x_313, 4, x_307); +lean_ctor_set(x_313, 5, x_308); +lean_ctor_set(x_313, 6, x_309); +lean_ctor_set(x_313, 7, x_296); +lean_ctor_set_uint8(x_313, sizeof(void*)*8, x_310); +lean_ctor_set_uint8(x_313, sizeof(void*)*8 + 1, x_311); +lean_ctor_set_uint8(x_313, sizeof(void*)*8 + 2, x_312); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_318 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_16, x_20, x_317, x_5, x_6, x_7, x_8, x_9, x_306); -if (lean_obj_tag(x_318) == 0) +x_314 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_16, x_20, x_313, x_5, x_6, x_7, x_8, x_9, x_302); +if (lean_obj_tag(x_314) == 0) { -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* 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; -x_319 = lean_ctor_get(x_318, 0); -lean_inc(x_319); -x_320 = lean_ctor_get(x_318, 1); -lean_inc(x_320); -lean_dec(x_318); -x_321 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_320); +lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* 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; +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +x_316 = lean_ctor_get(x_314, 1); +lean_inc(x_316); +lean_dec(x_314); +x_317 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_316); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_322 = lean_ctor_get(x_321, 0); -lean_inc(x_322); -x_323 = lean_ctor_get(x_321, 1); -lean_inc(x_323); -lean_dec(x_321); -x_324 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_323); +x_318 = lean_ctor_get(x_317, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_317, 1); +lean_inc(x_319); +lean_dec(x_317); +x_320 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_319); lean_dec(x_9); -x_325 = lean_ctor_get(x_324, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_324, 1); -lean_inc(x_326); -if (lean_is_exclusive(x_324)) { - lean_ctor_release(x_324, 0); - lean_ctor_release(x_324, 1); - x_327 = x_324; +x_321 = lean_ctor_get(x_320, 0); +lean_inc(x_321); +x_322 = lean_ctor_get(x_320, 1); +lean_inc(x_322); +if (lean_is_exclusive(x_320)) { + lean_ctor_release(x_320, 0); + lean_ctor_release(x_320, 1); + x_323 = x_320; } else { - lean_dec_ref(x_324); - x_327 = lean_box(0); + lean_dec_ref(x_320); + x_323 = lean_box(0); } -x_328 = l_Lean_addMacroScope(x_325, x_209, x_322); -x_329 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_329, 0, x_212); -lean_ctor_set(x_329, 1, x_213); -lean_ctor_set(x_329, 2, x_328); -lean_ctor_set(x_329, 3, x_211); -x_330 = l_Array_empty___closed__1; -x_331 = lean_array_push(x_330, x_329); -x_332 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; -x_333 = lean_array_push(x_331, x_332); -x_334 = lean_array_push(x_333, x_332); -x_335 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_336 = lean_array_push(x_334, x_335); -x_337 = lean_array_push(x_336, x_202); -x_338 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_337); -x_340 = lean_array_push(x_330, x_339); -x_341 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_342 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_342, 0, x_341); -lean_ctor_set(x_342, 1, x_340); -x_343 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_344 = lean_array_push(x_343, x_342); -x_345 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_346 = lean_array_push(x_344, x_345); -x_347 = lean_array_push(x_346, x_319); -x_348 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_347); -if (lean_is_scalar(x_327)) { - x_350 = lean_alloc_ctor(0, 2, 0); +x_324 = l_Lean_addMacroScope(x_321, x_207, x_318); +x_325 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_325, 0, x_210); +lean_ctor_set(x_325, 1, x_211); +lean_ctor_set(x_325, 2, x_324); +lean_ctor_set(x_325, 3, x_209); +x_326 = l_Array_empty___closed__1; +x_327 = lean_array_push(x_326, x_325); +x_328 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; +x_329 = lean_array_push(x_327, x_328); +x_330 = lean_array_push(x_329, x_328); +x_331 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_332 = lean_array_push(x_330, x_331); +x_333 = lean_array_push(x_332, x_200); +x_334 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_335 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_335, 0, x_334); +lean_ctor_set(x_335, 1, x_333); +x_336 = lean_array_push(x_326, x_335); +x_337 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_336); +x_339 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_340 = lean_array_push(x_339, x_338); +x_341 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_342 = lean_array_push(x_340, x_341); +x_343 = lean_array_push(x_342, x_315); +x_344 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_345, 0, x_344); +lean_ctor_set(x_345, 1, x_343); +if (lean_is_scalar(x_323)) { + x_346 = lean_alloc_ctor(0, 2, 0); } else { - x_350 = x_327; + x_346 = x_323; } -lean_ctor_set(x_350, 0, x_349); -lean_ctor_set(x_350, 1, x_326); +lean_ctor_set(x_346, 0, x_345); +lean_ctor_set(x_346, 1, x_322); +return x_346; +} +else +{ +lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; +lean_dec(x_200); +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_347 = lean_ctor_get(x_314, 0); +lean_inc(x_347); +x_348 = lean_ctor_get(x_314, 1); +lean_inc(x_348); +if (lean_is_exclusive(x_314)) { + lean_ctor_release(x_314, 0); + lean_ctor_release(x_314, 1); + x_349 = x_314; +} else { + lean_dec_ref(x_314); + x_349 = lean_box(0); +} +if (lean_is_scalar(x_349)) { + x_350 = lean_alloc_ctor(1, 2, 0); +} else { + x_350 = x_349; +} +lean_ctor_set(x_350, 0, x_347); +lean_ctor_set(x_350, 1, x_348); return x_350; } -else -{ -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -lean_dec(x_202); -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_351 = lean_ctor_get(x_318, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_318, 1); -lean_inc(x_352); -if (lean_is_exclusive(x_318)) { - lean_ctor_release(x_318, 0); - lean_ctor_release(x_318, 1); - x_353 = x_318; -} else { - lean_dec_ref(x_318); - x_353 = lean_box(0); -} -if (lean_is_scalar(x_353)) { - x_354 = lean_alloc_ctor(1, 2, 0); -} else { - x_354 = x_353; -} -lean_ctor_set(x_354, 0, x_351); -lean_ctor_set(x_354, 1, x_352); -return x_354; -} } } else { -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; 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; 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_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; uint8_t x_400; uint8_t x_401; uint8_t x_402; lean_object* x_403; lean_object* x_404; +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; 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; 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_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; uint8_t x_394; uint8_t x_395; uint8_t x_396; lean_object* x_397; lean_object* x_398; lean_dec(x_20); -x_355 = l_Lean_nullKind___closed__2; -x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_190); -x_357 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__12; -x_358 = lean_array_push(x_357, x_356); -x_359 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__11; -x_360 = lean_array_push(x_358, x_359); -x_361 = lean_array_push(x_360, x_18); -x_362 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; -x_363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_363, 0, x_362); -lean_ctor_set(x_363, 1, x_361); -x_364 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_365 = lean_ctor_get(x_364, 0); +x_351 = l_Lean_nullKind___closed__2; +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_188); +x_353 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__12; +x_354 = lean_array_push(x_353, x_352); +x_355 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__11; +x_356 = lean_array_push(x_354, x_355); +x_357 = lean_array_push(x_356, x_18); +x_358 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_358); +lean_ctor_set(x_359, 1, x_357); +x_360 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_361 = lean_ctor_get(x_360, 0); +lean_inc(x_361); +x_362 = lean_ctor_get(x_360, 1); +lean_inc(x_362); +lean_dec(x_360); +x_363 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_362); +x_364 = lean_ctor_get(x_363, 0); +lean_inc(x_364); +x_365 = lean_ctor_get(x_363, 1); lean_inc(x_365); -x_366 = lean_ctor_get(x_364, 1); -lean_inc(x_366); -lean_dec(x_364); -x_367 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_366); -x_368 = lean_ctor_get(x_367, 0); -lean_inc(x_368); -x_369 = lean_ctor_get(x_367, 1); -lean_inc(x_369); -lean_dec(x_367); -x_370 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; -x_371 = l_Lean_addMacroScope(x_368, x_370, x_365); -x_372 = lean_box(0); -x_373 = l_Lean_SourceInfo_inhabited___closed__1; -x_374 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; -x_375 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_375, 0, x_373); -lean_ctor_set(x_375, 1, x_374); -lean_ctor_set(x_375, 2, x_371); -lean_ctor_set(x_375, 3, x_372); -lean_ctor_set(x_14, 1, x_375); -x_376 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_376, 0, x_14); -lean_ctor_set(x_376, 1, x_3); -x_377 = lean_st_ref_take(x_5, x_369); -x_378 = lean_ctor_get(x_377, 0); +lean_dec(x_363); +x_366 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; +x_367 = l_Lean_addMacroScope(x_364, x_366, x_361); +x_368 = lean_box(0); +x_369 = l_Lean_SourceInfo_inhabited___closed__1; +x_370 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; +x_371 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_371, 0, x_369); +lean_ctor_set(x_371, 1, x_370); +lean_ctor_set(x_371, 2, x_367); +lean_ctor_set(x_371, 3, x_368); +lean_ctor_set(x_14, 1, x_371); +x_372 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_372, 0, x_14); +lean_ctor_set(x_372, 1, x_3); +x_373 = lean_st_ref_take(x_5, x_365); +x_374 = lean_ctor_get(x_373, 0); +lean_inc(x_374); +x_375 = lean_ctor_get(x_373, 1); +lean_inc(x_375); +lean_dec(x_373); +x_376 = lean_ctor_get(x_374, 0); +lean_inc(x_376); +x_377 = lean_ctor_get(x_374, 1); +lean_inc(x_377); +x_378 = lean_ctor_get(x_374, 2); lean_inc(x_378); -x_379 = lean_ctor_get(x_377, 1); +x_379 = lean_ctor_get(x_374, 3); lean_inc(x_379); -lean_dec(x_377); -x_380 = lean_ctor_get(x_378, 0); +x_380 = lean_ctor_get(x_374, 4); lean_inc(x_380); -x_381 = lean_ctor_get(x_378, 1); -lean_inc(x_381); -x_382 = lean_ctor_get(x_378, 2); -lean_inc(x_382); -x_383 = lean_ctor_get(x_378, 3); -lean_inc(x_383); -x_384 = lean_ctor_get(x_378, 4); -lean_inc(x_384); -x_385 = lean_ctor_get(x_378, 5); -lean_inc(x_385); -x_386 = lean_ctor_get(x_378, 6); +if (lean_is_exclusive(x_374)) { + lean_ctor_release(x_374, 0); + lean_ctor_release(x_374, 1); + lean_ctor_release(x_374, 2); + lean_ctor_release(x_374, 3); + lean_ctor_release(x_374, 4); + x_381 = x_374; +} else { + lean_dec_ref(x_374); + x_381 = lean_box(0); +} +x_382 = lean_unsigned_to_nat(1u); +x_383 = lean_nat_add(x_379, x_382); +if (lean_is_scalar(x_381)) { + x_384 = lean_alloc_ctor(0, 5, 0); +} else { + x_384 = x_381; +} +lean_ctor_set(x_384, 0, x_376); +lean_ctor_set(x_384, 1, x_377); +lean_ctor_set(x_384, 2, x_378); +lean_ctor_set(x_384, 3, x_383); +lean_ctor_set(x_384, 4, x_380); +x_385 = lean_st_ref_set(x_5, x_384, x_375); +x_386 = lean_ctor_get(x_385, 1); lean_inc(x_386); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - lean_ctor_release(x_378, 2); - lean_ctor_release(x_378, 3); - lean_ctor_release(x_378, 4); - lean_ctor_release(x_378, 5); - lean_ctor_release(x_378, 6); - x_387 = x_378; -} else { - lean_dec_ref(x_378); - x_387 = lean_box(0); -} -x_388 = lean_unsigned_to_nat(1u); -x_389 = lean_nat_add(x_385, x_388); -if (lean_is_scalar(x_387)) { - x_390 = lean_alloc_ctor(0, 7, 0); -} else { - x_390 = x_387; -} -lean_ctor_set(x_390, 0, x_380); -lean_ctor_set(x_390, 1, x_381); -lean_ctor_set(x_390, 2, x_382); -lean_ctor_set(x_390, 3, x_383); -lean_ctor_set(x_390, 4, x_384); -lean_ctor_set(x_390, 5, x_389); -lean_ctor_set(x_390, 6, x_386); -x_391 = lean_st_ref_set(x_5, x_390, x_379); -x_392 = lean_ctor_get(x_391, 1); +lean_dec(x_385); +x_387 = lean_ctor_get(x_4, 0); +lean_inc(x_387); +x_388 = lean_ctor_get(x_4, 1); +lean_inc(x_388); +x_389 = lean_ctor_get(x_4, 2); +lean_inc(x_389); +x_390 = lean_ctor_get(x_4, 3); +lean_inc(x_390); +x_391 = lean_ctor_get(x_4, 4); +lean_inc(x_391); +x_392 = lean_ctor_get(x_4, 5); lean_inc(x_392); -lean_dec(x_391); -x_393 = lean_ctor_get(x_4, 0); +x_393 = lean_ctor_get(x_4, 6); lean_inc(x_393); -x_394 = lean_ctor_get(x_4, 1); -lean_inc(x_394); -x_395 = lean_ctor_get(x_4, 2); -lean_inc(x_395); -x_396 = lean_ctor_get(x_4, 3); -lean_inc(x_396); -x_397 = lean_ctor_get(x_4, 4); -lean_inc(x_397); -x_398 = lean_ctor_get(x_4, 5); -lean_inc(x_398); -x_399 = lean_ctor_get(x_4, 6); -lean_inc(x_399); -x_400 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_401 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_402 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_403 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_403, 0, x_393); -lean_ctor_set(x_403, 1, x_394); -lean_ctor_set(x_403, 2, x_395); -lean_ctor_set(x_403, 3, x_396); -lean_ctor_set(x_403, 4, x_397); -lean_ctor_set(x_403, 5, x_398); -lean_ctor_set(x_403, 6, x_399); -lean_ctor_set(x_403, 7, x_385); -lean_ctor_set_uint8(x_403, sizeof(void*)*8, x_400); -lean_ctor_set_uint8(x_403, sizeof(void*)*8 + 1, x_401); -lean_ctor_set_uint8(x_403, sizeof(void*)*8 + 2, x_402); +x_394 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_395 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_396 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_397 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_397, 0, x_387); +lean_ctor_set(x_397, 1, x_388); +lean_ctor_set(x_397, 2, x_389); +lean_ctor_set(x_397, 3, x_390); +lean_ctor_set(x_397, 4, x_391); +lean_ctor_set(x_397, 5, x_392); +lean_ctor_set(x_397, 6, x_393); +lean_ctor_set(x_397, 7, x_379); +lean_ctor_set_uint8(x_397, sizeof(void*)*8, x_394); +lean_ctor_set_uint8(x_397, sizeof(void*)*8 + 1, x_395); +lean_ctor_set_uint8(x_397, sizeof(void*)*8 + 2, x_396); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_404 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_16, x_376, x_403, x_5, x_6, x_7, x_8, x_9, x_392); -if (lean_obj_tag(x_404) == 0) +x_398 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_16, x_372, x_397, x_5, x_6, x_7, x_8, x_9, x_386); +if (lean_obj_tag(x_398) == 0) { -lean_object* x_405; lean_object* x_406; lean_object* x_407; 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_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; +lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; 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_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; +x_399 = lean_ctor_get(x_398, 0); +lean_inc(x_399); +x_400 = lean_ctor_get(x_398, 1); +lean_inc(x_400); +lean_dec(x_398); +x_401 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_400); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_402 = lean_ctor_get(x_401, 0); +lean_inc(x_402); +x_403 = lean_ctor_get(x_401, 1); +lean_inc(x_403); +lean_dec(x_401); +x_404 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_403); +lean_dec(x_9); x_405 = lean_ctor_get(x_404, 0); lean_inc(x_405); x_406 = lean_ctor_get(x_404, 1); lean_inc(x_406); -lean_dec(x_404); -x_407 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_406); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_408 = lean_ctor_get(x_407, 0); -lean_inc(x_408); -x_409 = lean_ctor_get(x_407, 1); -lean_inc(x_409); -lean_dec(x_407); -x_410 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_409); -lean_dec(x_9); -x_411 = lean_ctor_get(x_410, 0); -lean_inc(x_411); -x_412 = lean_ctor_get(x_410, 1); -lean_inc(x_412); -if (lean_is_exclusive(x_410)) { - lean_ctor_release(x_410, 0); - lean_ctor_release(x_410, 1); - x_413 = x_410; -} else { - lean_dec_ref(x_410); - x_413 = lean_box(0); -} -x_414 = l_Lean_addMacroScope(x_411, x_370, x_408); -x_415 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_415, 0, x_373); -lean_ctor_set(x_415, 1, x_374); -lean_ctor_set(x_415, 2, x_414); -lean_ctor_set(x_415, 3, x_372); -x_416 = l_Array_empty___closed__1; -x_417 = lean_array_push(x_416, x_415); -x_418 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; -x_419 = lean_array_push(x_417, x_418); -x_420 = lean_array_push(x_419, x_418); -x_421 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_422 = lean_array_push(x_420, x_421); -x_423 = lean_array_push(x_422, x_363); -x_424 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_423); -x_426 = lean_array_push(x_416, x_425); -x_427 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_428 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_428, 0, x_427); -lean_ctor_set(x_428, 1, x_426); -x_429 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_430 = lean_array_push(x_429, x_428); -x_431 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_432 = lean_array_push(x_430, x_431); -x_433 = lean_array_push(x_432, x_405); -x_434 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_435 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_435, 0, x_434); -lean_ctor_set(x_435, 1, x_433); -if (lean_is_scalar(x_413)) { - x_436 = lean_alloc_ctor(0, 2, 0); -} else { - x_436 = x_413; -} -lean_ctor_set(x_436, 0, x_435); -lean_ctor_set(x_436, 1, x_412); -return x_436; -} -else -{ -lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; -lean_dec(x_363); -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_437 = lean_ctor_get(x_404, 0); -lean_inc(x_437); -x_438 = lean_ctor_get(x_404, 1); -lean_inc(x_438); if (lean_is_exclusive(x_404)) { lean_ctor_release(x_404, 0); lean_ctor_release(x_404, 1); - x_439 = x_404; + x_407 = x_404; } else { lean_dec_ref(x_404); - x_439 = lean_box(0); + x_407 = lean_box(0); } -if (lean_is_scalar(x_439)) { - x_440 = lean_alloc_ctor(1, 2, 0); +x_408 = l_Lean_addMacroScope(x_405, x_366, x_402); +x_409 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_409, 0, x_369); +lean_ctor_set(x_409, 1, x_370); +lean_ctor_set(x_409, 2, x_408); +lean_ctor_set(x_409, 3, x_368); +x_410 = l_Array_empty___closed__1; +x_411 = lean_array_push(x_410, x_409); +x_412 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; +x_413 = lean_array_push(x_411, x_412); +x_414 = lean_array_push(x_413, x_412); +x_415 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_416 = lean_array_push(x_414, x_415); +x_417 = lean_array_push(x_416, x_359); +x_418 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_419, 0, x_418); +lean_ctor_set(x_419, 1, x_417); +x_420 = lean_array_push(x_410, x_419); +x_421 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_422 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_422, 0, x_421); +lean_ctor_set(x_422, 1, x_420); +x_423 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_424 = lean_array_push(x_423, x_422); +x_425 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_426 = lean_array_push(x_424, x_425); +x_427 = lean_array_push(x_426, x_399); +x_428 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_429 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_429, 0, x_428); +lean_ctor_set(x_429, 1, x_427); +if (lean_is_scalar(x_407)) { + x_430 = lean_alloc_ctor(0, 2, 0); } else { - x_440 = x_439; + x_430 = x_407; } -lean_ctor_set(x_440, 0, x_437); -lean_ctor_set(x_440, 1, x_438); -return x_440; +lean_ctor_set(x_430, 0, x_429); +lean_ctor_set(x_430, 1, x_406); +return x_430; +} +else +{ +lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; +lean_dec(x_359); +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_431 = lean_ctor_get(x_398, 0); +lean_inc(x_431); +x_432 = lean_ctor_get(x_398, 1); +lean_inc(x_432); +if (lean_is_exclusive(x_398)) { + lean_ctor_release(x_398, 0); + lean_ctor_release(x_398, 1); + x_433 = x_398; +} else { + lean_dec_ref(x_398); + x_433 = lean_box(0); +} +if (lean_is_scalar(x_433)) { + x_434 = lean_alloc_ctor(1, 2, 0); +} else { + x_434 = x_433; +} +lean_ctor_set(x_434, 0, x_431); +lean_ctor_set(x_434, 1, x_432); +return x_434; } } } } else { -lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; -x_441 = lean_ctor_get(x_2, 1); -x_442 = lean_ctor_get(x_14, 0); -x_443 = lean_ctor_get(x_14, 1); -lean_inc(x_443); -lean_inc(x_442); +lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_435 = lean_ctor_get(x_2, 1); +x_436 = lean_ctor_get(x_14, 0); +x_437 = lean_ctor_get(x_14, 1); +lean_inc(x_437); +lean_inc(x_436); lean_dec(x_14); +lean_inc(x_436); +x_438 = l_List_map___main___at___private_Lean_Elab_Quotation_8__letBindRhss___main___spec__1(x_436); +x_439 = l_List_join___main___rarg(x_438); +if (lean_obj_tag(x_439) == 0) +{ +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; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; uint8_t x_480; uint8_t x_481; uint8_t x_482; lean_object* x_483; lean_object* x_484; +x_440 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_441 = lean_ctor_get(x_440, 0); +lean_inc(x_441); +x_442 = lean_ctor_get(x_440, 1); lean_inc(x_442); -x_444 = l_List_map___main___at___private_Lean_Elab_Quotation_8__letBindRhss___main___spec__1(x_442); -x_445 = l_List_join___main___rarg(x_444); -if (lean_obj_tag(x_445) == 0) -{ -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; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; uint8_t x_488; uint8_t x_489; uint8_t x_490; lean_object* x_491; lean_object* x_492; -x_446 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_447 = lean_ctor_get(x_446, 0); -lean_inc(x_447); -x_448 = lean_ctor_get(x_446, 1); -lean_inc(x_448); -lean_dec(x_446); -x_449 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_448); -x_450 = lean_ctor_get(x_449, 0); -lean_inc(x_450); -x_451 = lean_ctor_get(x_449, 1); -lean_inc(x_451); -lean_dec(x_449); -x_452 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; -x_453 = l_Lean_addMacroScope(x_450, x_452, x_447); -x_454 = lean_box(0); -x_455 = l_Lean_SourceInfo_inhabited___closed__1; -x_456 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; -x_457 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_457, 0, x_455); -lean_ctor_set(x_457, 1, x_456); -lean_ctor_set(x_457, 2, x_453); -lean_ctor_set(x_457, 3, x_454); -x_458 = l_Array_empty___closed__1; -x_459 = lean_array_push(x_458, x_457); -x_460 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__9; -x_461 = lean_array_push(x_459, x_460); -x_462 = l_Lean_mkAppStx___closed__8; -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_461); -x_464 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_464, 0, x_442); -lean_ctor_set(x_464, 1, x_463); -lean_ctor_set(x_2, 1, x_3); -lean_ctor_set(x_2, 0, x_464); -x_465 = lean_st_ref_take(x_5, x_451); -x_466 = lean_ctor_get(x_465, 0); -lean_inc(x_466); -x_467 = lean_ctor_get(x_465, 1); -lean_inc(x_467); -lean_dec(x_465); -x_468 = lean_ctor_get(x_466, 0); -lean_inc(x_468); -x_469 = lean_ctor_get(x_466, 1); -lean_inc(x_469); -x_470 = lean_ctor_get(x_466, 2); -lean_inc(x_470); -x_471 = lean_ctor_get(x_466, 3); -lean_inc(x_471); -x_472 = lean_ctor_get(x_466, 4); -lean_inc(x_472); -x_473 = lean_ctor_get(x_466, 5); -lean_inc(x_473); -x_474 = lean_ctor_get(x_466, 6); -lean_inc(x_474); -if (lean_is_exclusive(x_466)) { - lean_ctor_release(x_466, 0); - lean_ctor_release(x_466, 1); - lean_ctor_release(x_466, 2); - lean_ctor_release(x_466, 3); - lean_ctor_release(x_466, 4); - lean_ctor_release(x_466, 5); - lean_ctor_release(x_466, 6); - x_475 = x_466; -} else { - lean_dec_ref(x_466); - x_475 = lean_box(0); -} -x_476 = lean_unsigned_to_nat(1u); -x_477 = lean_nat_add(x_473, x_476); -if (lean_is_scalar(x_475)) { - x_478 = lean_alloc_ctor(0, 7, 0); -} else { - x_478 = x_475; -} -lean_ctor_set(x_478, 0, x_468); -lean_ctor_set(x_478, 1, x_469); -lean_ctor_set(x_478, 2, x_470); -lean_ctor_set(x_478, 3, x_471); -lean_ctor_set(x_478, 4, x_472); -lean_ctor_set(x_478, 5, x_477); -lean_ctor_set(x_478, 6, x_474); -x_479 = lean_st_ref_set(x_5, x_478, x_467); -x_480 = lean_ctor_get(x_479, 1); -lean_inc(x_480); -lean_dec(x_479); -x_481 = lean_ctor_get(x_4, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_4, 1); -lean_inc(x_482); -x_483 = lean_ctor_get(x_4, 2); -lean_inc(x_483); -x_484 = lean_ctor_get(x_4, 3); -lean_inc(x_484); -x_485 = lean_ctor_get(x_4, 4); -lean_inc(x_485); -x_486 = lean_ctor_get(x_4, 5); -lean_inc(x_486); -x_487 = lean_ctor_get(x_4, 6); -lean_inc(x_487); -x_488 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_489 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_490 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_491 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_491, 0, x_481); -lean_ctor_set(x_491, 1, x_482); -lean_ctor_set(x_491, 2, x_483); -lean_ctor_set(x_491, 3, x_484); -lean_ctor_set(x_491, 4, x_485); -lean_ctor_set(x_491, 5, x_486); -lean_ctor_set(x_491, 6, x_487); -lean_ctor_set(x_491, 7, x_473); -lean_ctor_set_uint8(x_491, sizeof(void*)*8, x_488); -lean_ctor_set_uint8(x_491, sizeof(void*)*8 + 1, x_489); -lean_ctor_set_uint8(x_491, sizeof(void*)*8 + 2, x_490); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_492 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_441, x_2, x_491, x_5, x_6, x_7, x_8, x_9, x_480); -if (lean_obj_tag(x_492) == 0) -{ -lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; -x_493 = lean_ctor_get(x_492, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_492, 1); -lean_inc(x_494); -lean_dec(x_492); -x_495 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_494); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_496 = lean_ctor_get(x_495, 0); -lean_inc(x_496); -x_497 = lean_ctor_get(x_495, 1); -lean_inc(x_497); -lean_dec(x_495); -x_498 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_497); -lean_dec(x_9); -x_499 = lean_ctor_get(x_498, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_498, 1); -lean_inc(x_500); -if (lean_is_exclusive(x_498)) { - lean_ctor_release(x_498, 0); - lean_ctor_release(x_498, 1); - x_501 = x_498; -} else { - lean_dec_ref(x_498); - x_501 = lean_box(0); -} -x_502 = l_Lean_addMacroScope(x_499, x_452, x_496); -x_503 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_503, 0, x_455); -lean_ctor_set(x_503, 1, x_456); -lean_ctor_set(x_503, 2, x_502); -lean_ctor_set(x_503, 3, x_454); -x_504 = lean_array_push(x_458, x_503); -x_505 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_506 = lean_array_push(x_504, x_505); -x_507 = lean_array_push(x_506, x_505); -x_508 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_509 = lean_array_push(x_507, x_508); -x_510 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__18; -x_511 = lean_array_push(x_510, x_443); -x_512 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; -x_513 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_513, 0, x_512); -lean_ctor_set(x_513, 1, x_511); -x_514 = lean_array_push(x_509, x_513); -x_515 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_516, 0, x_515); -lean_ctor_set(x_516, 1, x_514); -x_517 = lean_array_push(x_458, x_516); -x_518 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_519 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_519, 0, x_518); -lean_ctor_set(x_519, 1, x_517); -x_520 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_521 = lean_array_push(x_520, x_519); -x_522 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_523 = lean_array_push(x_521, x_522); -x_524 = lean_array_push(x_523, x_493); -x_525 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_526, 0, x_525); -lean_ctor_set(x_526, 1, x_524); -if (lean_is_scalar(x_501)) { - x_527 = lean_alloc_ctor(0, 2, 0); -} else { - x_527 = x_501; -} -lean_ctor_set(x_527, 0, x_526); -lean_ctor_set(x_527, 1, x_500); -return x_527; -} -else -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; -lean_dec(x_443); -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_528 = lean_ctor_get(x_492, 0); -lean_inc(x_528); -x_529 = lean_ctor_get(x_492, 1); -lean_inc(x_529); -if (lean_is_exclusive(x_492)) { - lean_ctor_release(x_492, 0); - lean_ctor_release(x_492, 1); - x_530 = x_492; -} else { - lean_dec_ref(x_492); - x_530 = lean_box(0); -} -if (lean_is_scalar(x_530)) { - x_531 = lean_alloc_ctor(1, 2, 0); -} else { - x_531 = x_530; -} -lean_ctor_set(x_531, 0, x_528); -lean_ctor_set(x_531, 1, x_529); -return x_531; -} -} -else -{ -lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; uint8_t x_582; uint8_t x_583; uint8_t x_584; lean_object* x_585; lean_object* x_586; -lean_free_object(x_2); -x_532 = l_List_redLength___main___rarg(x_445); -x_533 = lean_mk_empty_array_with_capacity(x_532); -lean_dec(x_532); +lean_dec(x_440); +x_443 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_442); +x_444 = lean_ctor_get(x_443, 0); +lean_inc(x_444); +x_445 = lean_ctor_get(x_443, 1); lean_inc(x_445); -x_534 = l_List_toArrayAux___main___rarg(x_445, x_533); -if (lean_is_exclusive(x_445)) { - lean_ctor_release(x_445, 0); - lean_ctor_release(x_445, 1); - x_535 = x_445; +lean_dec(x_443); +x_446 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; +x_447 = l_Lean_addMacroScope(x_444, x_446, x_441); +x_448 = lean_box(0); +x_449 = l_Lean_SourceInfo_inhabited___closed__1; +x_450 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; +x_451 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_451, 0, x_449); +lean_ctor_set(x_451, 1, x_450); +lean_ctor_set(x_451, 2, x_447); +lean_ctor_set(x_451, 3, x_448); +x_452 = l_Array_empty___closed__1; +x_453 = lean_array_push(x_452, x_451); +x_454 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__9; +x_455 = lean_array_push(x_453, x_454); +x_456 = l_Lean_mkAppStx___closed__8; +x_457 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_457, 0, x_456); +lean_ctor_set(x_457, 1, x_455); +x_458 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_458, 0, x_436); +lean_ctor_set(x_458, 1, x_457); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_458); +x_459 = lean_st_ref_take(x_5, x_445); +x_460 = lean_ctor_get(x_459, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_459, 1); +lean_inc(x_461); +lean_dec(x_459); +x_462 = lean_ctor_get(x_460, 0); +lean_inc(x_462); +x_463 = lean_ctor_get(x_460, 1); +lean_inc(x_463); +x_464 = lean_ctor_get(x_460, 2); +lean_inc(x_464); +x_465 = lean_ctor_get(x_460, 3); +lean_inc(x_465); +x_466 = lean_ctor_get(x_460, 4); +lean_inc(x_466); +if (lean_is_exclusive(x_460)) { + lean_ctor_release(x_460, 0); + lean_ctor_release(x_460, 1); + lean_ctor_release(x_460, 2); + lean_ctor_release(x_460, 3); + lean_ctor_release(x_460, 4); + x_467 = x_460; } else { - lean_dec_ref(x_445); - x_535 = lean_box(0); + lean_dec_ref(x_460); + x_467 = lean_box(0); } -x_536 = l_Lean_nullKind___closed__2; -x_537 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_537, 0, x_536); -lean_ctor_set(x_537, 1, x_534); -x_538 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__12; -x_539 = lean_array_push(x_538, x_537); -x_540 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__11; -x_541 = lean_array_push(x_539, x_540); -x_542 = lean_array_push(x_541, x_443); -x_543 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; -x_544 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_544, 0, x_543); -lean_ctor_set(x_544, 1, x_542); -x_545 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_546 = lean_ctor_get(x_545, 0); -lean_inc(x_546); -x_547 = lean_ctor_get(x_545, 1); -lean_inc(x_547); -lean_dec(x_545); -x_548 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_547); -x_549 = lean_ctor_get(x_548, 0); -lean_inc(x_549); -x_550 = lean_ctor_get(x_548, 1); -lean_inc(x_550); -lean_dec(x_548); -x_551 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; -x_552 = l_Lean_addMacroScope(x_549, x_551, x_546); -x_553 = lean_box(0); -x_554 = l_Lean_SourceInfo_inhabited___closed__1; -x_555 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; -x_556 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_556, 0, x_554); -lean_ctor_set(x_556, 1, x_555); -lean_ctor_set(x_556, 2, x_552); -lean_ctor_set(x_556, 3, x_553); -x_557 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_557, 0, x_442); -lean_ctor_set(x_557, 1, x_556); -if (lean_is_scalar(x_535)) { - x_558 = lean_alloc_ctor(1, 2, 0); +x_468 = lean_unsigned_to_nat(1u); +x_469 = lean_nat_add(x_465, x_468); +if (lean_is_scalar(x_467)) { + x_470 = lean_alloc_ctor(0, 5, 0); } else { - x_558 = x_535; + x_470 = x_467; } -lean_ctor_set(x_558, 0, x_557); -lean_ctor_set(x_558, 1, x_3); -x_559 = lean_st_ref_take(x_5, x_550); -x_560 = lean_ctor_get(x_559, 0); -lean_inc(x_560); -x_561 = lean_ctor_get(x_559, 1); -lean_inc(x_561); -lean_dec(x_559); -x_562 = lean_ctor_get(x_560, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_560, 1); -lean_inc(x_563); -x_564 = lean_ctor_get(x_560, 2); -lean_inc(x_564); -x_565 = lean_ctor_get(x_560, 3); -lean_inc(x_565); -x_566 = lean_ctor_get(x_560, 4); -lean_inc(x_566); -x_567 = lean_ctor_get(x_560, 5); -lean_inc(x_567); -x_568 = lean_ctor_get(x_560, 6); -lean_inc(x_568); -if (lean_is_exclusive(x_560)) { - lean_ctor_release(x_560, 0); - lean_ctor_release(x_560, 1); - lean_ctor_release(x_560, 2); - lean_ctor_release(x_560, 3); - lean_ctor_release(x_560, 4); - lean_ctor_release(x_560, 5); - lean_ctor_release(x_560, 6); - x_569 = x_560; -} else { - lean_dec_ref(x_560); - x_569 = lean_box(0); -} -x_570 = lean_unsigned_to_nat(1u); -x_571 = lean_nat_add(x_567, x_570); -if (lean_is_scalar(x_569)) { - x_572 = lean_alloc_ctor(0, 7, 0); -} else { - x_572 = x_569; -} -lean_ctor_set(x_572, 0, x_562); -lean_ctor_set(x_572, 1, x_563); -lean_ctor_set(x_572, 2, x_564); -lean_ctor_set(x_572, 3, x_565); -lean_ctor_set(x_572, 4, x_566); -lean_ctor_set(x_572, 5, x_571); -lean_ctor_set(x_572, 6, x_568); -x_573 = lean_st_ref_set(x_5, x_572, x_561); -x_574 = lean_ctor_get(x_573, 1); -lean_inc(x_574); -lean_dec(x_573); -x_575 = lean_ctor_get(x_4, 0); -lean_inc(x_575); -x_576 = lean_ctor_get(x_4, 1); -lean_inc(x_576); -x_577 = lean_ctor_get(x_4, 2); -lean_inc(x_577); -x_578 = lean_ctor_get(x_4, 3); -lean_inc(x_578); -x_579 = lean_ctor_get(x_4, 4); -lean_inc(x_579); -x_580 = lean_ctor_get(x_4, 5); -lean_inc(x_580); -x_581 = lean_ctor_get(x_4, 6); -lean_inc(x_581); -x_582 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_583 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_584 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_585 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_585, 0, x_575); -lean_ctor_set(x_585, 1, x_576); -lean_ctor_set(x_585, 2, x_577); -lean_ctor_set(x_585, 3, x_578); -lean_ctor_set(x_585, 4, x_579); -lean_ctor_set(x_585, 5, x_580); -lean_ctor_set(x_585, 6, x_581); -lean_ctor_set(x_585, 7, x_567); -lean_ctor_set_uint8(x_585, sizeof(void*)*8, x_582); -lean_ctor_set_uint8(x_585, sizeof(void*)*8 + 1, x_583); -lean_ctor_set_uint8(x_585, sizeof(void*)*8 + 2, x_584); +lean_ctor_set(x_470, 0, x_462); +lean_ctor_set(x_470, 1, x_463); +lean_ctor_set(x_470, 2, x_464); +lean_ctor_set(x_470, 3, x_469); +lean_ctor_set(x_470, 4, x_466); +x_471 = lean_st_ref_set(x_5, x_470, x_461); +x_472 = lean_ctor_get(x_471, 1); +lean_inc(x_472); +lean_dec(x_471); +x_473 = lean_ctor_get(x_4, 0); +lean_inc(x_473); +x_474 = lean_ctor_get(x_4, 1); +lean_inc(x_474); +x_475 = lean_ctor_get(x_4, 2); +lean_inc(x_475); +x_476 = lean_ctor_get(x_4, 3); +lean_inc(x_476); +x_477 = lean_ctor_get(x_4, 4); +lean_inc(x_477); +x_478 = lean_ctor_get(x_4, 5); +lean_inc(x_478); +x_479 = lean_ctor_get(x_4, 6); +lean_inc(x_479); +x_480 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_481 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_482 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_483 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_483, 0, x_473); +lean_ctor_set(x_483, 1, x_474); +lean_ctor_set(x_483, 2, x_475); +lean_ctor_set(x_483, 3, x_476); +lean_ctor_set(x_483, 4, x_477); +lean_ctor_set(x_483, 5, x_478); +lean_ctor_set(x_483, 6, x_479); +lean_ctor_set(x_483, 7, x_465); +lean_ctor_set_uint8(x_483, sizeof(void*)*8, x_480); +lean_ctor_set_uint8(x_483, sizeof(void*)*8 + 1, x_481); +lean_ctor_set_uint8(x_483, sizeof(void*)*8 + 2, x_482); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_586 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_441, x_558, x_585, x_5, x_6, x_7, x_8, x_9, x_574); -if (lean_obj_tag(x_586) == 0) +x_484 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_435, x_2, x_483, x_5, x_6, x_7, x_8, x_9, x_472); +if (lean_obj_tag(x_484) == 0) { -lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; -x_587 = lean_ctor_get(x_586, 0); -lean_inc(x_587); -x_588 = lean_ctor_get(x_586, 1); -lean_inc(x_588); -lean_dec(x_586); -x_589 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_588); +lean_object* x_485; 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; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; +x_485 = lean_ctor_get(x_484, 0); +lean_inc(x_485); +x_486 = lean_ctor_get(x_484, 1); +lean_inc(x_486); +lean_dec(x_484); +x_487 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_486); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_590 = lean_ctor_get(x_589, 0); -lean_inc(x_590); -x_591 = lean_ctor_get(x_589, 1); -lean_inc(x_591); -lean_dec(x_589); -x_592 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_591); +x_488 = lean_ctor_get(x_487, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_487, 1); +lean_inc(x_489); +lean_dec(x_487); +x_490 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_489); lean_dec(x_9); -x_593 = lean_ctor_get(x_592, 0); -lean_inc(x_593); -x_594 = lean_ctor_get(x_592, 1); -lean_inc(x_594); -if (lean_is_exclusive(x_592)) { - lean_ctor_release(x_592, 0); - lean_ctor_release(x_592, 1); - x_595 = x_592; +x_491 = lean_ctor_get(x_490, 0); +lean_inc(x_491); +x_492 = lean_ctor_get(x_490, 1); +lean_inc(x_492); +if (lean_is_exclusive(x_490)) { + lean_ctor_release(x_490, 0); + lean_ctor_release(x_490, 1); + x_493 = x_490; } else { - lean_dec_ref(x_592); - x_595 = lean_box(0); + lean_dec_ref(x_490); + x_493 = lean_box(0); } -x_596 = l_Lean_addMacroScope(x_593, x_551, x_590); -x_597 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_597, 0, x_554); -lean_ctor_set(x_597, 1, x_555); -lean_ctor_set(x_597, 2, x_596); -lean_ctor_set(x_597, 3, x_553); -x_598 = l_Array_empty___closed__1; -x_599 = lean_array_push(x_598, x_597); -x_600 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; -x_601 = lean_array_push(x_599, x_600); +x_494 = l_Lean_addMacroScope(x_491, x_446, x_488); +x_495 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_495, 0, x_449); +lean_ctor_set(x_495, 1, x_450); +lean_ctor_set(x_495, 2, x_494); +lean_ctor_set(x_495, 3, x_448); +x_496 = lean_array_push(x_452, x_495); +x_497 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_498 = lean_array_push(x_496, x_497); +x_499 = lean_array_push(x_498, x_497); +x_500 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_501 = lean_array_push(x_499, x_500); +x_502 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__18; +x_503 = lean_array_push(x_502, x_437); +x_504 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; +x_505 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_505, 0, x_504); +lean_ctor_set(x_505, 1, x_503); +x_506 = lean_array_push(x_501, x_505); +x_507 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_508 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_508, 0, x_507); +lean_ctor_set(x_508, 1, x_506); +x_509 = lean_array_push(x_452, x_508); +x_510 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_511 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_511, 0, x_510); +lean_ctor_set(x_511, 1, x_509); +x_512 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_513 = lean_array_push(x_512, x_511); +x_514 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_515 = lean_array_push(x_513, x_514); +x_516 = lean_array_push(x_515, x_485); +x_517 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_517); +lean_ctor_set(x_518, 1, x_516); +if (lean_is_scalar(x_493)) { + x_519 = lean_alloc_ctor(0, 2, 0); +} else { + x_519 = x_493; +} +lean_ctor_set(x_519, 0, x_518); +lean_ctor_set(x_519, 1, x_492); +return x_519; +} +else +{ +lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; +lean_dec(x_437); +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_520 = lean_ctor_get(x_484, 0); +lean_inc(x_520); +x_521 = lean_ctor_get(x_484, 1); +lean_inc(x_521); +if (lean_is_exclusive(x_484)) { + lean_ctor_release(x_484, 0); + lean_ctor_release(x_484, 1); + x_522 = x_484; +} else { + lean_dec_ref(x_484); + x_522 = lean_box(0); +} +if (lean_is_scalar(x_522)) { + x_523 = lean_alloc_ctor(1, 2, 0); +} else { + x_523 = x_522; +} +lean_ctor_set(x_523, 0, x_520); +lean_ctor_set(x_523, 1, x_521); +return x_523; +} +} +else +{ +lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; uint8_t x_572; uint8_t x_573; uint8_t x_574; lean_object* x_575; lean_object* x_576; +lean_free_object(x_2); +x_524 = l_List_redLength___main___rarg(x_439); +x_525 = lean_mk_empty_array_with_capacity(x_524); +lean_dec(x_524); +lean_inc(x_439); +x_526 = l_List_toArrayAux___main___rarg(x_439, x_525); +if (lean_is_exclusive(x_439)) { + lean_ctor_release(x_439, 0); + lean_ctor_release(x_439, 1); + x_527 = x_439; +} else { + lean_dec_ref(x_439); + x_527 = lean_box(0); +} +x_528 = l_Lean_nullKind___closed__2; +x_529 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_529, 0, x_528); +lean_ctor_set(x_529, 1, x_526); +x_530 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__12; +x_531 = lean_array_push(x_530, x_529); +x_532 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__11; +x_533 = lean_array_push(x_531, x_532); +x_534 = lean_array_push(x_533, x_437); +x_535 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; +x_536 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_536, 0, x_535); +lean_ctor_set(x_536, 1, x_534); +x_537 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_538 = lean_ctor_get(x_537, 0); +lean_inc(x_538); +x_539 = lean_ctor_get(x_537, 1); +lean_inc(x_539); +lean_dec(x_537); +x_540 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_539); +x_541 = lean_ctor_get(x_540, 0); +lean_inc(x_541); +x_542 = lean_ctor_get(x_540, 1); +lean_inc(x_542); +lean_dec(x_540); +x_543 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; +x_544 = l_Lean_addMacroScope(x_541, x_543, x_538); +x_545 = lean_box(0); +x_546 = l_Lean_SourceInfo_inhabited___closed__1; +x_547 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; +x_548 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_548, 0, x_546); +lean_ctor_set(x_548, 1, x_547); +lean_ctor_set(x_548, 2, x_544); +lean_ctor_set(x_548, 3, x_545); +x_549 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_549, 0, x_436); +lean_ctor_set(x_549, 1, x_548); +if (lean_is_scalar(x_527)) { + x_550 = lean_alloc_ctor(1, 2, 0); +} else { + x_550 = x_527; +} +lean_ctor_set(x_550, 0, x_549); +lean_ctor_set(x_550, 1, x_3); +x_551 = lean_st_ref_take(x_5, x_542); +x_552 = lean_ctor_get(x_551, 0); +lean_inc(x_552); +x_553 = lean_ctor_get(x_551, 1); +lean_inc(x_553); +lean_dec(x_551); +x_554 = lean_ctor_get(x_552, 0); +lean_inc(x_554); +x_555 = lean_ctor_get(x_552, 1); +lean_inc(x_555); +x_556 = lean_ctor_get(x_552, 2); +lean_inc(x_556); +x_557 = lean_ctor_get(x_552, 3); +lean_inc(x_557); +x_558 = lean_ctor_get(x_552, 4); +lean_inc(x_558); +if (lean_is_exclusive(x_552)) { + lean_ctor_release(x_552, 0); + lean_ctor_release(x_552, 1); + lean_ctor_release(x_552, 2); + lean_ctor_release(x_552, 3); + lean_ctor_release(x_552, 4); + x_559 = x_552; +} else { + lean_dec_ref(x_552); + x_559 = lean_box(0); +} +x_560 = lean_unsigned_to_nat(1u); +x_561 = lean_nat_add(x_557, x_560); +if (lean_is_scalar(x_559)) { + x_562 = lean_alloc_ctor(0, 5, 0); +} else { + x_562 = x_559; +} +lean_ctor_set(x_562, 0, x_554); +lean_ctor_set(x_562, 1, x_555); +lean_ctor_set(x_562, 2, x_556); +lean_ctor_set(x_562, 3, x_561); +lean_ctor_set(x_562, 4, x_558); +x_563 = lean_st_ref_set(x_5, x_562, x_553); +x_564 = lean_ctor_get(x_563, 1); +lean_inc(x_564); +lean_dec(x_563); +x_565 = lean_ctor_get(x_4, 0); +lean_inc(x_565); +x_566 = lean_ctor_get(x_4, 1); +lean_inc(x_566); +x_567 = lean_ctor_get(x_4, 2); +lean_inc(x_567); +x_568 = lean_ctor_get(x_4, 3); +lean_inc(x_568); +x_569 = lean_ctor_get(x_4, 4); +lean_inc(x_569); +x_570 = lean_ctor_get(x_4, 5); +lean_inc(x_570); +x_571 = lean_ctor_get(x_4, 6); +lean_inc(x_571); +x_572 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_573 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_574 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_575 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_575, 0, x_565); +lean_ctor_set(x_575, 1, x_566); +lean_ctor_set(x_575, 2, x_567); +lean_ctor_set(x_575, 3, x_568); +lean_ctor_set(x_575, 4, x_569); +lean_ctor_set(x_575, 5, x_570); +lean_ctor_set(x_575, 6, x_571); +lean_ctor_set(x_575, 7, x_557); +lean_ctor_set_uint8(x_575, sizeof(void*)*8, x_572); +lean_ctor_set_uint8(x_575, sizeof(void*)*8 + 1, x_573); +lean_ctor_set_uint8(x_575, sizeof(void*)*8 + 2, x_574); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_576 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_435, x_550, x_575, x_5, x_6, x_7, x_8, x_9, x_564); +if (lean_obj_tag(x_576) == 0) +{ +lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; +x_577 = lean_ctor_get(x_576, 0); +lean_inc(x_577); +x_578 = lean_ctor_get(x_576, 1); +lean_inc(x_578); +lean_dec(x_576); +x_579 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_578); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_580 = lean_ctor_get(x_579, 0); +lean_inc(x_580); +x_581 = lean_ctor_get(x_579, 1); +lean_inc(x_581); +lean_dec(x_579); +x_582 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_581); +lean_dec(x_9); +x_583 = lean_ctor_get(x_582, 0); +lean_inc(x_583); +x_584 = lean_ctor_get(x_582, 1); +lean_inc(x_584); +if (lean_is_exclusive(x_582)) { + lean_ctor_release(x_582, 0); + lean_ctor_release(x_582, 1); + x_585 = x_582; +} else { + lean_dec_ref(x_582); + x_585 = lean_box(0); +} +x_586 = l_Lean_addMacroScope(x_583, x_543, x_580); +x_587 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_587, 0, x_546); +lean_ctor_set(x_587, 1, x_547); +lean_ctor_set(x_587, 2, x_586); +lean_ctor_set(x_587, 3, x_545); +x_588 = l_Array_empty___closed__1; +x_589 = lean_array_push(x_588, x_587); +x_590 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; +x_591 = lean_array_push(x_589, x_590); +x_592 = lean_array_push(x_591, x_590); +x_593 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_594 = lean_array_push(x_592, x_593); +x_595 = lean_array_push(x_594, x_536); +x_596 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_597, 0, x_596); +lean_ctor_set(x_597, 1, x_595); +x_598 = lean_array_push(x_588, x_597); +x_599 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_600 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_600, 0, x_599); +lean_ctor_set(x_600, 1, x_598); +x_601 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; x_602 = lean_array_push(x_601, x_600); -x_603 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_603 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; x_604 = lean_array_push(x_602, x_603); -x_605 = lean_array_push(x_604, x_544); -x_606 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_605 = lean_array_push(x_604, x_577); +x_606 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; x_607 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_607, 0, x_606); lean_ctor_set(x_607, 1, x_605); -x_608 = lean_array_push(x_598, x_607); -x_609 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_610 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_610, 0, x_609); -lean_ctor_set(x_610, 1, x_608); -x_611 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_612 = lean_array_push(x_611, x_610); -x_613 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_614 = lean_array_push(x_612, x_613); -x_615 = lean_array_push(x_614, x_587); -x_616 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_617, 0, x_616); -lean_ctor_set(x_617, 1, x_615); -if (lean_is_scalar(x_595)) { - x_618 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_585)) { + x_608 = lean_alloc_ctor(0, 2, 0); } else { - x_618 = x_595; + x_608 = x_585; } -lean_ctor_set(x_618, 0, x_617); -lean_ctor_set(x_618, 1, x_594); -return x_618; +lean_ctor_set(x_608, 0, x_607); +lean_ctor_set(x_608, 1, x_584); +return x_608; } else { -lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; -lean_dec(x_544); +lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; +lean_dec(x_536); 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_619 = lean_ctor_get(x_586, 0); -lean_inc(x_619); -x_620 = lean_ctor_get(x_586, 1); -lean_inc(x_620); -if (lean_is_exclusive(x_586)) { - lean_ctor_release(x_586, 0); - lean_ctor_release(x_586, 1); - x_621 = x_586; +x_609 = lean_ctor_get(x_576, 0); +lean_inc(x_609); +x_610 = lean_ctor_get(x_576, 1); +lean_inc(x_610); +if (lean_is_exclusive(x_576)) { + lean_ctor_release(x_576, 0); + lean_ctor_release(x_576, 1); + x_611 = x_576; } else { - lean_dec_ref(x_586); - x_621 = lean_box(0); + lean_dec_ref(x_576); + x_611 = lean_box(0); } -if (lean_is_scalar(x_621)) { - x_622 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_611)) { + x_612 = lean_alloc_ctor(1, 2, 0); } else { - x_622 = x_621; + x_612 = x_611; } -lean_ctor_set(x_622, 0, x_619); -lean_ctor_set(x_622, 1, x_620); -return x_622; +lean_ctor_set(x_612, 0, x_609); +lean_ctor_set(x_612, 1, x_610); +return x_612; } } } } else { -lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; -x_623 = lean_ctor_get(x_2, 0); -x_624 = lean_ctor_get(x_2, 1); -lean_inc(x_624); -lean_inc(x_623); +lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; +x_613 = lean_ctor_get(x_2, 0); +x_614 = lean_ctor_get(x_2, 1); +lean_inc(x_614); +lean_inc(x_613); lean_dec(x_2); -x_625 = lean_ctor_get(x_623, 0); -lean_inc(x_625); -x_626 = lean_ctor_get(x_623, 1); -lean_inc(x_626); -if (lean_is_exclusive(x_623)) { - lean_ctor_release(x_623, 0); - lean_ctor_release(x_623, 1); - x_627 = x_623; +x_615 = lean_ctor_get(x_613, 0); +lean_inc(x_615); +x_616 = lean_ctor_get(x_613, 1); +lean_inc(x_616); +if (lean_is_exclusive(x_613)) { + lean_ctor_release(x_613, 0); + lean_ctor_release(x_613, 1); + x_617 = x_613; } else { - lean_dec_ref(x_623); - x_627 = lean_box(0); + lean_dec_ref(x_613); + x_617 = lean_box(0); } -lean_inc(x_625); -x_628 = l_List_map___main___at___private_Lean_Elab_Quotation_8__letBindRhss___main___spec__1(x_625); -x_629 = l_List_join___main___rarg(x_628); -if (lean_obj_tag(x_629) == 0) +lean_inc(x_615); +x_618 = l_List_map___main___at___private_Lean_Elab_Quotation_8__letBindRhss___main___spec__1(x_615); +x_619 = l_List_join___main___rarg(x_618); +if (lean_obj_tag(x_619) == 0) { -lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; uint8_t x_673; uint8_t x_674; uint8_t x_675; lean_object* x_676; lean_object* x_677; -x_630 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_631 = lean_ctor_get(x_630, 0); -lean_inc(x_631); -x_632 = lean_ctor_get(x_630, 1); -lean_inc(x_632); -lean_dec(x_630); -x_633 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_632); -x_634 = lean_ctor_get(x_633, 0); -lean_inc(x_634); -x_635 = lean_ctor_get(x_633, 1); -lean_inc(x_635); -lean_dec(x_633); -x_636 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; -x_637 = l_Lean_addMacroScope(x_634, x_636, x_631); -x_638 = lean_box(0); -x_639 = l_Lean_SourceInfo_inhabited___closed__1; -x_640 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; -x_641 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_641, 0, x_639); -lean_ctor_set(x_641, 1, x_640); -lean_ctor_set(x_641, 2, x_637); -lean_ctor_set(x_641, 3, x_638); -x_642 = l_Array_empty___closed__1; -x_643 = lean_array_push(x_642, x_641); -x_644 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__9; -x_645 = lean_array_push(x_643, x_644); -x_646 = l_Lean_mkAppStx___closed__8; -x_647 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_647, 0, x_646); -lean_ctor_set(x_647, 1, x_645); -if (lean_is_scalar(x_627)) { - x_648 = lean_alloc_ctor(0, 2, 0); +lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; uint8_t x_661; uint8_t x_662; uint8_t x_663; lean_object* x_664; lean_object* x_665; +x_620 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_621 = lean_ctor_get(x_620, 0); +lean_inc(x_621); +x_622 = lean_ctor_get(x_620, 1); +lean_inc(x_622); +lean_dec(x_620); +x_623 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_622); +x_624 = lean_ctor_get(x_623, 0); +lean_inc(x_624); +x_625 = lean_ctor_get(x_623, 1); +lean_inc(x_625); +lean_dec(x_623); +x_626 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; +x_627 = l_Lean_addMacroScope(x_624, x_626, x_621); +x_628 = lean_box(0); +x_629 = l_Lean_SourceInfo_inhabited___closed__1; +x_630 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; +x_631 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_631, 0, x_629); +lean_ctor_set(x_631, 1, x_630); +lean_ctor_set(x_631, 2, x_627); +lean_ctor_set(x_631, 3, x_628); +x_632 = l_Array_empty___closed__1; +x_633 = lean_array_push(x_632, x_631); +x_634 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__9; +x_635 = lean_array_push(x_633, x_634); +x_636 = l_Lean_mkAppStx___closed__8; +x_637 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_637, 0, x_636); +lean_ctor_set(x_637, 1, x_635); +if (lean_is_scalar(x_617)) { + x_638 = lean_alloc_ctor(0, 2, 0); } else { - x_648 = x_627; + x_638 = x_617; } -lean_ctor_set(x_648, 0, x_625); -lean_ctor_set(x_648, 1, x_647); -x_649 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_649, 0, x_648); -lean_ctor_set(x_649, 1, x_3); -x_650 = lean_st_ref_take(x_5, x_635); -x_651 = lean_ctor_get(x_650, 0); -lean_inc(x_651); -x_652 = lean_ctor_get(x_650, 1); -lean_inc(x_652); -lean_dec(x_650); -x_653 = lean_ctor_get(x_651, 0); +lean_ctor_set(x_638, 0, x_615); +lean_ctor_set(x_638, 1, x_637); +x_639 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_639, 0, x_638); +lean_ctor_set(x_639, 1, x_3); +x_640 = lean_st_ref_take(x_5, x_625); +x_641 = lean_ctor_get(x_640, 0); +lean_inc(x_641); +x_642 = lean_ctor_get(x_640, 1); +lean_inc(x_642); +lean_dec(x_640); +x_643 = lean_ctor_get(x_641, 0); +lean_inc(x_643); +x_644 = lean_ctor_get(x_641, 1); +lean_inc(x_644); +x_645 = lean_ctor_get(x_641, 2); +lean_inc(x_645); +x_646 = lean_ctor_get(x_641, 3); +lean_inc(x_646); +x_647 = lean_ctor_get(x_641, 4); +lean_inc(x_647); +if (lean_is_exclusive(x_641)) { + lean_ctor_release(x_641, 0); + lean_ctor_release(x_641, 1); + lean_ctor_release(x_641, 2); + lean_ctor_release(x_641, 3); + lean_ctor_release(x_641, 4); + x_648 = x_641; +} else { + lean_dec_ref(x_641); + x_648 = lean_box(0); +} +x_649 = lean_unsigned_to_nat(1u); +x_650 = lean_nat_add(x_646, x_649); +if (lean_is_scalar(x_648)) { + x_651 = lean_alloc_ctor(0, 5, 0); +} else { + x_651 = x_648; +} +lean_ctor_set(x_651, 0, x_643); +lean_ctor_set(x_651, 1, x_644); +lean_ctor_set(x_651, 2, x_645); +lean_ctor_set(x_651, 3, x_650); +lean_ctor_set(x_651, 4, x_647); +x_652 = lean_st_ref_set(x_5, x_651, x_642); +x_653 = lean_ctor_get(x_652, 1); lean_inc(x_653); -x_654 = lean_ctor_get(x_651, 1); +lean_dec(x_652); +x_654 = lean_ctor_get(x_4, 0); lean_inc(x_654); -x_655 = lean_ctor_get(x_651, 2); +x_655 = lean_ctor_get(x_4, 1); lean_inc(x_655); -x_656 = lean_ctor_get(x_651, 3); +x_656 = lean_ctor_get(x_4, 2); lean_inc(x_656); -x_657 = lean_ctor_get(x_651, 4); +x_657 = lean_ctor_get(x_4, 3); lean_inc(x_657); -x_658 = lean_ctor_get(x_651, 5); +x_658 = lean_ctor_get(x_4, 4); lean_inc(x_658); -x_659 = lean_ctor_get(x_651, 6); +x_659 = lean_ctor_get(x_4, 5); lean_inc(x_659); -if (lean_is_exclusive(x_651)) { - lean_ctor_release(x_651, 0); - lean_ctor_release(x_651, 1); - lean_ctor_release(x_651, 2); - lean_ctor_release(x_651, 3); - lean_ctor_release(x_651, 4); - lean_ctor_release(x_651, 5); - lean_ctor_release(x_651, 6); - x_660 = x_651; -} else { - lean_dec_ref(x_651); - x_660 = lean_box(0); -} -x_661 = lean_unsigned_to_nat(1u); -x_662 = lean_nat_add(x_658, x_661); -if (lean_is_scalar(x_660)) { - x_663 = lean_alloc_ctor(0, 7, 0); -} else { - x_663 = x_660; -} -lean_ctor_set(x_663, 0, x_653); -lean_ctor_set(x_663, 1, x_654); -lean_ctor_set(x_663, 2, x_655); -lean_ctor_set(x_663, 3, x_656); -lean_ctor_set(x_663, 4, x_657); -lean_ctor_set(x_663, 5, x_662); -lean_ctor_set(x_663, 6, x_659); -x_664 = lean_st_ref_set(x_5, x_663, x_652); -x_665 = lean_ctor_get(x_664, 1); -lean_inc(x_665); -lean_dec(x_664); -x_666 = lean_ctor_get(x_4, 0); +x_660 = lean_ctor_get(x_4, 6); +lean_inc(x_660); +x_661 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_662 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_663 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_664 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_664, 0, x_654); +lean_ctor_set(x_664, 1, x_655); +lean_ctor_set(x_664, 2, x_656); +lean_ctor_set(x_664, 3, x_657); +lean_ctor_set(x_664, 4, x_658); +lean_ctor_set(x_664, 5, x_659); +lean_ctor_set(x_664, 6, x_660); +lean_ctor_set(x_664, 7, x_646); +lean_ctor_set_uint8(x_664, sizeof(void*)*8, x_661); +lean_ctor_set_uint8(x_664, sizeof(void*)*8 + 1, x_662); +lean_ctor_set_uint8(x_664, sizeof(void*)*8 + 2, x_663); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_665 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_614, x_639, x_664, x_5, x_6, x_7, x_8, x_9, x_653); +if (lean_obj_tag(x_665) == 0) +{ +lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; +x_666 = lean_ctor_get(x_665, 0); lean_inc(x_666); -x_667 = lean_ctor_get(x_4, 1); +x_667 = lean_ctor_get(x_665, 1); lean_inc(x_667); -x_668 = lean_ctor_get(x_4, 2); -lean_inc(x_668); -x_669 = lean_ctor_get(x_4, 3); +lean_dec(x_665); +x_668 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_667); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_669 = lean_ctor_get(x_668, 0); lean_inc(x_669); -x_670 = lean_ctor_get(x_4, 4); +x_670 = lean_ctor_get(x_668, 1); lean_inc(x_670); -x_671 = lean_ctor_get(x_4, 5); -lean_inc(x_671); -x_672 = lean_ctor_get(x_4, 6); +lean_dec(x_668); +x_671 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_670); +lean_dec(x_9); +x_672 = lean_ctor_get(x_671, 0); lean_inc(x_672); -x_673 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_674 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_675 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_676 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_676, 0, x_666); -lean_ctor_set(x_676, 1, x_667); -lean_ctor_set(x_676, 2, x_668); -lean_ctor_set(x_676, 3, x_669); -lean_ctor_set(x_676, 4, x_670); -lean_ctor_set(x_676, 5, x_671); -lean_ctor_set(x_676, 6, x_672); -lean_ctor_set(x_676, 7, x_658); -lean_ctor_set_uint8(x_676, sizeof(void*)*8, x_673); -lean_ctor_set_uint8(x_676, sizeof(void*)*8 + 1, x_674); -lean_ctor_set_uint8(x_676, sizeof(void*)*8 + 2, x_675); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_677 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_624, x_649, x_676, x_5, x_6, x_7, x_8, x_9, x_665); -if (lean_obj_tag(x_677) == 0) +x_673 = lean_ctor_get(x_671, 1); +lean_inc(x_673); +if (lean_is_exclusive(x_671)) { + lean_ctor_release(x_671, 0); + lean_ctor_release(x_671, 1); + x_674 = x_671; +} else { + lean_dec_ref(x_671); + x_674 = lean_box(0); +} +x_675 = l_Lean_addMacroScope(x_672, x_626, x_669); +x_676 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_676, 0, x_629); +lean_ctor_set(x_676, 1, x_630); +lean_ctor_set(x_676, 2, x_675); +lean_ctor_set(x_676, 3, x_628); +x_677 = lean_array_push(x_632, x_676); +x_678 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_679 = lean_array_push(x_677, x_678); +x_680 = lean_array_push(x_679, x_678); +x_681 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_682 = lean_array_push(x_680, x_681); +x_683 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__18; +x_684 = lean_array_push(x_683, x_616); +x_685 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; +x_686 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_686, 0, x_685); +lean_ctor_set(x_686, 1, x_684); +x_687 = lean_array_push(x_682, x_686); +x_688 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_689 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_689, 0, x_688); +lean_ctor_set(x_689, 1, x_687); +x_690 = lean_array_push(x_632, x_689); +x_691 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_692 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_692, 0, x_691); +lean_ctor_set(x_692, 1, x_690); +x_693 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_694 = lean_array_push(x_693, x_692); +x_695 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_696 = lean_array_push(x_694, x_695); +x_697 = lean_array_push(x_696, x_666); +x_698 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_699, 0, x_698); +lean_ctor_set(x_699, 1, x_697); +if (lean_is_scalar(x_674)) { + x_700 = lean_alloc_ctor(0, 2, 0); +} else { + x_700 = x_674; +} +lean_ctor_set(x_700, 0, x_699); +lean_ctor_set(x_700, 1, x_673); +return x_700; +} +else { -lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; -x_678 = lean_ctor_get(x_677, 0); -lean_inc(x_678); -x_679 = lean_ctor_get(x_677, 1); -lean_inc(x_679); -lean_dec(x_677); -x_680 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_679); +lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; +lean_dec(x_616); +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_681 = lean_ctor_get(x_680, 0); -lean_inc(x_681); -x_682 = lean_ctor_get(x_680, 1); -lean_inc(x_682); -lean_dec(x_680); -x_683 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_682); -lean_dec(x_9); -x_684 = lean_ctor_get(x_683, 0); -lean_inc(x_684); -x_685 = lean_ctor_get(x_683, 1); -lean_inc(x_685); -if (lean_is_exclusive(x_683)) { - lean_ctor_release(x_683, 0); - lean_ctor_release(x_683, 1); - x_686 = x_683; +x_701 = lean_ctor_get(x_665, 0); +lean_inc(x_701); +x_702 = lean_ctor_get(x_665, 1); +lean_inc(x_702); +if (lean_is_exclusive(x_665)) { + lean_ctor_release(x_665, 0); + lean_ctor_release(x_665, 1); + x_703 = x_665; } else { - lean_dec_ref(x_683); - x_686 = lean_box(0); + lean_dec_ref(x_665); + x_703 = lean_box(0); } -x_687 = l_Lean_addMacroScope(x_684, x_636, x_681); -x_688 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_688, 0, x_639); -lean_ctor_set(x_688, 1, x_640); -lean_ctor_set(x_688, 2, x_687); -lean_ctor_set(x_688, 3, x_638); -x_689 = lean_array_push(x_642, x_688); -x_690 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_691 = lean_array_push(x_689, x_690); -x_692 = lean_array_push(x_691, x_690); -x_693 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_694 = lean_array_push(x_692, x_693); -x_695 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__18; -x_696 = lean_array_push(x_695, x_626); -x_697 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; -x_698 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_698, 0, x_697); -lean_ctor_set(x_698, 1, x_696); -x_699 = lean_array_push(x_694, x_698); -x_700 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_701 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_701, 0, x_700); -lean_ctor_set(x_701, 1, x_699); -x_702 = lean_array_push(x_642, x_701); -x_703 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_704, 0, x_703); +if (lean_is_scalar(x_703)) { + x_704 = lean_alloc_ctor(1, 2, 0); +} else { + x_704 = x_703; +} +lean_ctor_set(x_704, 0, x_701); lean_ctor_set(x_704, 1, x_702); -x_705 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_706 = lean_array_push(x_705, x_704); -x_707 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_708 = lean_array_push(x_706, x_707); -x_709 = lean_array_push(x_708, x_678); -x_710 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_711 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_711, 0, x_710); -lean_ctor_set(x_711, 1, x_709); -if (lean_is_scalar(x_686)) { - x_712 = lean_alloc_ctor(0, 2, 0); -} else { - x_712 = x_686; -} -lean_ctor_set(x_712, 0, x_711); -lean_ctor_set(x_712, 1, x_685); -return x_712; -} -else -{ -lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; -lean_dec(x_626); -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_713 = lean_ctor_get(x_677, 0); -lean_inc(x_713); -x_714 = lean_ctor_get(x_677, 1); -lean_inc(x_714); -if (lean_is_exclusive(x_677)) { - lean_ctor_release(x_677, 0); - lean_ctor_release(x_677, 1); - x_715 = x_677; -} else { - lean_dec_ref(x_677); - x_715 = lean_box(0); -} -if (lean_is_scalar(x_715)) { - x_716 = lean_alloc_ctor(1, 2, 0); -} else { - x_716 = x_715; -} -lean_ctor_set(x_716, 0, x_713); -lean_ctor_set(x_716, 1, x_714); -return x_716; +return x_704; } } else { -lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; uint8_t x_767; uint8_t x_768; uint8_t x_769; lean_object* x_770; lean_object* x_771; -x_717 = l_List_redLength___main___rarg(x_629); -x_718 = lean_mk_empty_array_with_capacity(x_717); -lean_dec(x_717); -lean_inc(x_629); -x_719 = l_List_toArrayAux___main___rarg(x_629, x_718); -if (lean_is_exclusive(x_629)) { - lean_ctor_release(x_629, 0); - lean_ctor_release(x_629, 1); - x_720 = x_629; +lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; uint8_t x_753; uint8_t x_754; uint8_t x_755; lean_object* x_756; lean_object* x_757; +x_705 = l_List_redLength___main___rarg(x_619); +x_706 = lean_mk_empty_array_with_capacity(x_705); +lean_dec(x_705); +lean_inc(x_619); +x_707 = l_List_toArrayAux___main___rarg(x_619, x_706); +if (lean_is_exclusive(x_619)) { + lean_ctor_release(x_619, 0); + lean_ctor_release(x_619, 1); + x_708 = x_619; } else { - lean_dec_ref(x_629); - x_720 = lean_box(0); + lean_dec_ref(x_619); + x_708 = lean_box(0); } -x_721 = l_Lean_nullKind___closed__2; -x_722 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_722, 0, x_721); -lean_ctor_set(x_722, 1, x_719); -x_723 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__12; -x_724 = lean_array_push(x_723, x_722); -x_725 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__11; -x_726 = lean_array_push(x_724, x_725); -x_727 = lean_array_push(x_726, x_626); -x_728 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; -x_729 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_729, 0, x_728); -lean_ctor_set(x_729, 1, x_727); -x_730 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_731 = lean_ctor_get(x_730, 0); -lean_inc(x_731); -x_732 = lean_ctor_get(x_730, 1); -lean_inc(x_732); -lean_dec(x_730); -x_733 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_732); -x_734 = lean_ctor_get(x_733, 0); +x_709 = l_Lean_nullKind___closed__2; +x_710 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_710, 0, x_709); +lean_ctor_set(x_710, 1, x_707); +x_711 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__12; +x_712 = lean_array_push(x_711, x_710); +x_713 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__11; +x_714 = lean_array_push(x_712, x_713); +x_715 = lean_array_push(x_714, x_616); +x_716 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; +x_717 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_717, 0, x_716); +lean_ctor_set(x_717, 1, x_715); +x_718 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_719 = lean_ctor_get(x_718, 0); +lean_inc(x_719); +x_720 = lean_ctor_get(x_718, 1); +lean_inc(x_720); +lean_dec(x_718); +x_721 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_720); +x_722 = lean_ctor_get(x_721, 0); +lean_inc(x_722); +x_723 = lean_ctor_get(x_721, 1); +lean_inc(x_723); +lean_dec(x_721); +x_724 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; +x_725 = l_Lean_addMacroScope(x_722, x_724, x_719); +x_726 = lean_box(0); +x_727 = l_Lean_SourceInfo_inhabited___closed__1; +x_728 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; +x_729 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_729, 0, x_727); +lean_ctor_set(x_729, 1, x_728); +lean_ctor_set(x_729, 2, x_725); +lean_ctor_set(x_729, 3, x_726); +if (lean_is_scalar(x_617)) { + x_730 = lean_alloc_ctor(0, 2, 0); +} else { + x_730 = x_617; +} +lean_ctor_set(x_730, 0, x_615); +lean_ctor_set(x_730, 1, x_729); +if (lean_is_scalar(x_708)) { + x_731 = lean_alloc_ctor(1, 2, 0); +} else { + x_731 = x_708; +} +lean_ctor_set(x_731, 0, x_730); +lean_ctor_set(x_731, 1, x_3); +x_732 = lean_st_ref_take(x_5, x_723); +x_733 = lean_ctor_get(x_732, 0); +lean_inc(x_733); +x_734 = lean_ctor_get(x_732, 1); lean_inc(x_734); -x_735 = lean_ctor_get(x_733, 1); +lean_dec(x_732); +x_735 = lean_ctor_get(x_733, 0); lean_inc(x_735); -lean_dec(x_733); -x_736 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; -x_737 = l_Lean_addMacroScope(x_734, x_736, x_731); -x_738 = lean_box(0); -x_739 = l_Lean_SourceInfo_inhabited___closed__1; -x_740 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__3; -x_741 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_741, 0, x_739); -lean_ctor_set(x_741, 1, x_740); -lean_ctor_set(x_741, 2, x_737); -lean_ctor_set(x_741, 3, x_738); -if (lean_is_scalar(x_627)) { - x_742 = lean_alloc_ctor(0, 2, 0); +x_736 = lean_ctor_get(x_733, 1); +lean_inc(x_736); +x_737 = lean_ctor_get(x_733, 2); +lean_inc(x_737); +x_738 = lean_ctor_get(x_733, 3); +lean_inc(x_738); +x_739 = lean_ctor_get(x_733, 4); +lean_inc(x_739); +if (lean_is_exclusive(x_733)) { + lean_ctor_release(x_733, 0); + lean_ctor_release(x_733, 1); + lean_ctor_release(x_733, 2); + lean_ctor_release(x_733, 3); + lean_ctor_release(x_733, 4); + x_740 = x_733; } else { - x_742 = x_627; + lean_dec_ref(x_733); + x_740 = lean_box(0); } -lean_ctor_set(x_742, 0, x_625); -lean_ctor_set(x_742, 1, x_741); -if (lean_is_scalar(x_720)) { - x_743 = lean_alloc_ctor(1, 2, 0); +x_741 = lean_unsigned_to_nat(1u); +x_742 = lean_nat_add(x_738, x_741); +if (lean_is_scalar(x_740)) { + x_743 = lean_alloc_ctor(0, 5, 0); } else { - x_743 = x_720; + x_743 = x_740; } -lean_ctor_set(x_743, 0, x_742); -lean_ctor_set(x_743, 1, x_3); -x_744 = lean_st_ref_take(x_5, x_735); -x_745 = lean_ctor_get(x_744, 0); +lean_ctor_set(x_743, 0, x_735); +lean_ctor_set(x_743, 1, x_736); +lean_ctor_set(x_743, 2, x_737); +lean_ctor_set(x_743, 3, x_742); +lean_ctor_set(x_743, 4, x_739); +x_744 = lean_st_ref_set(x_5, x_743, x_734); +x_745 = lean_ctor_get(x_744, 1); lean_inc(x_745); -x_746 = lean_ctor_get(x_744, 1); -lean_inc(x_746); lean_dec(x_744); -x_747 = lean_ctor_get(x_745, 0); +x_746 = lean_ctor_get(x_4, 0); +lean_inc(x_746); +x_747 = lean_ctor_get(x_4, 1); lean_inc(x_747); -x_748 = lean_ctor_get(x_745, 1); +x_748 = lean_ctor_get(x_4, 2); lean_inc(x_748); -x_749 = lean_ctor_get(x_745, 2); +x_749 = lean_ctor_get(x_4, 3); lean_inc(x_749); -x_750 = lean_ctor_get(x_745, 3); +x_750 = lean_ctor_get(x_4, 4); lean_inc(x_750); -x_751 = lean_ctor_get(x_745, 4); +x_751 = lean_ctor_get(x_4, 5); lean_inc(x_751); -x_752 = lean_ctor_get(x_745, 5); +x_752 = lean_ctor_get(x_4, 6); lean_inc(x_752); -x_753 = lean_ctor_get(x_745, 6); -lean_inc(x_753); -if (lean_is_exclusive(x_745)) { - lean_ctor_release(x_745, 0); - lean_ctor_release(x_745, 1); - lean_ctor_release(x_745, 2); - lean_ctor_release(x_745, 3); - lean_ctor_release(x_745, 4); - lean_ctor_release(x_745, 5); - lean_ctor_release(x_745, 6); - x_754 = x_745; -} else { - lean_dec_ref(x_745); - x_754 = lean_box(0); -} -x_755 = lean_unsigned_to_nat(1u); -x_756 = lean_nat_add(x_752, x_755); -if (lean_is_scalar(x_754)) { - x_757 = lean_alloc_ctor(0, 7, 0); -} else { - x_757 = x_754; -} -lean_ctor_set(x_757, 0, x_747); -lean_ctor_set(x_757, 1, x_748); -lean_ctor_set(x_757, 2, x_749); -lean_ctor_set(x_757, 3, x_750); -lean_ctor_set(x_757, 4, x_751); -lean_ctor_set(x_757, 5, x_756); -lean_ctor_set(x_757, 6, x_753); -x_758 = lean_st_ref_set(x_5, x_757, x_746); -x_759 = lean_ctor_get(x_758, 1); -lean_inc(x_759); -lean_dec(x_758); -x_760 = lean_ctor_get(x_4, 0); -lean_inc(x_760); -x_761 = lean_ctor_get(x_4, 1); -lean_inc(x_761); -x_762 = lean_ctor_get(x_4, 2); -lean_inc(x_762); -x_763 = lean_ctor_get(x_4, 3); -lean_inc(x_763); -x_764 = lean_ctor_get(x_4, 4); -lean_inc(x_764); -x_765 = lean_ctor_get(x_4, 5); -lean_inc(x_765); -x_766 = lean_ctor_get(x_4, 6); -lean_inc(x_766); -x_767 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_768 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_769 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_770 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_770, 0, x_760); -lean_ctor_set(x_770, 1, x_761); -lean_ctor_set(x_770, 2, x_762); -lean_ctor_set(x_770, 3, x_763); -lean_ctor_set(x_770, 4, x_764); -lean_ctor_set(x_770, 5, x_765); -lean_ctor_set(x_770, 6, x_766); -lean_ctor_set(x_770, 7, x_752); -lean_ctor_set_uint8(x_770, sizeof(void*)*8, x_767); -lean_ctor_set_uint8(x_770, sizeof(void*)*8 + 1, x_768); -lean_ctor_set_uint8(x_770, sizeof(void*)*8 + 2, x_769); +x_753 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_754 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_755 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_756 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_756, 0, x_746); +lean_ctor_set(x_756, 1, x_747); +lean_ctor_set(x_756, 2, x_748); +lean_ctor_set(x_756, 3, x_749); +lean_ctor_set(x_756, 4, x_750); +lean_ctor_set(x_756, 5, x_751); +lean_ctor_set(x_756, 6, x_752); +lean_ctor_set(x_756, 7, x_738); +lean_ctor_set_uint8(x_756, sizeof(void*)*8, x_753); +lean_ctor_set_uint8(x_756, sizeof(void*)*8 + 1, x_754); +lean_ctor_set_uint8(x_756, sizeof(void*)*8 + 2, x_755); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_771 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_624, x_743, x_770, x_5, x_6, x_7, x_8, x_9, x_759); -if (lean_obj_tag(x_771) == 0) +x_757 = l___private_Lean_Elab_Quotation_8__letBindRhss___main(x_1, x_614, x_731, x_756, x_5, x_6, x_7, x_8, x_9, x_745); +if (lean_obj_tag(x_757) == 0) { -lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; -x_772 = lean_ctor_get(x_771, 0); -lean_inc(x_772); -x_773 = lean_ctor_get(x_771, 1); -lean_inc(x_773); -lean_dec(x_771); -x_774 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_773); +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; +x_758 = lean_ctor_get(x_757, 0); +lean_inc(x_758); +x_759 = lean_ctor_get(x_757, 1); +lean_inc(x_759); +lean_dec(x_757); +x_760 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_759); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_775 = lean_ctor_get(x_774, 0); -lean_inc(x_775); -x_776 = lean_ctor_get(x_774, 1); -lean_inc(x_776); -lean_dec(x_774); -x_777 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_776); +x_761 = lean_ctor_get(x_760, 0); +lean_inc(x_761); +x_762 = lean_ctor_get(x_760, 1); +lean_inc(x_762); +lean_dec(x_760); +x_763 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_762); lean_dec(x_9); -x_778 = lean_ctor_get(x_777, 0); -lean_inc(x_778); -x_779 = lean_ctor_get(x_777, 1); -lean_inc(x_779); -if (lean_is_exclusive(x_777)) { - lean_ctor_release(x_777, 0); - lean_ctor_release(x_777, 1); - x_780 = x_777; +x_764 = lean_ctor_get(x_763, 0); +lean_inc(x_764); +x_765 = lean_ctor_get(x_763, 1); +lean_inc(x_765); +if (lean_is_exclusive(x_763)) { + lean_ctor_release(x_763, 0); + lean_ctor_release(x_763, 1); + x_766 = x_763; } else { - lean_dec_ref(x_777); - x_780 = lean_box(0); + lean_dec_ref(x_763); + x_766 = lean_box(0); } -x_781 = l_Lean_addMacroScope(x_778, x_736, x_775); -x_782 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_782, 0, x_739); -lean_ctor_set(x_782, 1, x_740); -lean_ctor_set(x_782, 2, x_781); -lean_ctor_set(x_782, 3, x_738); -x_783 = l_Array_empty___closed__1; -x_784 = lean_array_push(x_783, x_782); -x_785 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; -x_786 = lean_array_push(x_784, x_785); -x_787 = lean_array_push(x_786, x_785); -x_788 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_789 = lean_array_push(x_787, x_788); -x_790 = lean_array_push(x_789, x_729); -x_791 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_792 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_792, 0, x_791); -lean_ctor_set(x_792, 1, x_790); -x_793 = lean_array_push(x_783, x_792); -x_794 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_795 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_795, 0, x_794); -lean_ctor_set(x_795, 1, x_793); -x_796 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_797 = lean_array_push(x_796, x_795); -x_798 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_799 = lean_array_push(x_797, x_798); -x_800 = lean_array_push(x_799, x_772); -x_801 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_802 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_802, 0, x_801); -lean_ctor_set(x_802, 1, x_800); -if (lean_is_scalar(x_780)) { - x_803 = lean_alloc_ctor(0, 2, 0); +x_767 = l_Lean_addMacroScope(x_764, x_724, x_761); +x_768 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_768, 0, x_727); +lean_ctor_set(x_768, 1, x_728); +lean_ctor_set(x_768, 2, x_767); +lean_ctor_set(x_768, 3, x_726); +x_769 = l_Array_empty___closed__1; +x_770 = lean_array_push(x_769, x_768); +x_771 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; +x_772 = lean_array_push(x_770, x_771); +x_773 = lean_array_push(x_772, x_771); +x_774 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_775 = lean_array_push(x_773, x_774); +x_776 = lean_array_push(x_775, x_717); +x_777 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_778 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_778, 0, x_777); +lean_ctor_set(x_778, 1, x_776); +x_779 = lean_array_push(x_769, x_778); +x_780 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_781 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_781, 0, x_780); +lean_ctor_set(x_781, 1, x_779); +x_782 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_783 = lean_array_push(x_782, x_781); +x_784 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_785 = lean_array_push(x_783, x_784); +x_786 = lean_array_push(x_785, x_758); +x_787 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_788 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_788, 0, x_787); +lean_ctor_set(x_788, 1, x_786); +if (lean_is_scalar(x_766)) { + x_789 = lean_alloc_ctor(0, 2, 0); } else { - x_803 = x_780; + x_789 = x_766; } -lean_ctor_set(x_803, 0, x_802); -lean_ctor_set(x_803, 1, x_779); -return x_803; +lean_ctor_set(x_789, 0, x_788); +lean_ctor_set(x_789, 1, x_765); +return x_789; } else { -lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; -lean_dec(x_729); +lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; +lean_dec(x_717); 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_804 = lean_ctor_get(x_771, 0); -lean_inc(x_804); -x_805 = lean_ctor_get(x_771, 1); -lean_inc(x_805); -if (lean_is_exclusive(x_771)) { - lean_ctor_release(x_771, 0); - lean_ctor_release(x_771, 1); - x_806 = x_771; +x_790 = lean_ctor_get(x_757, 0); +lean_inc(x_790); +x_791 = lean_ctor_get(x_757, 1); +lean_inc(x_791); +if (lean_is_exclusive(x_757)) { + lean_ctor_release(x_757, 0); + lean_ctor_release(x_757, 1); + x_792 = x_757; } else { - lean_dec_ref(x_771); - x_806 = lean_box(0); + lean_dec_ref(x_757); + x_792 = lean_box(0); } -if (lean_is_scalar(x_806)) { - x_807 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_792)) { + x_793 = lean_alloc_ctor(1, 2, 0); } else { - x_807 = x_806; + x_793 = x_792; } -lean_ctor_set(x_807, 0, x_804); -lean_ctor_set(x_807, 1, x_805); -return x_807; +lean_ctor_set(x_793, 0, x_790); +lean_ctor_set(x_793, 1, x_791); +return x_793; } } } @@ -14605,6 +14513,14 @@ x_2 = l_Lean_mkStrLit(x_1); return x_2; } } +lean_object* _init_l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_a"); +return x_1; +} +} lean_object* l___private_Lean_Elab_Quotation_10__toPreterm___main(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: { @@ -16258,7 +16174,7 @@ else { lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; uint8_t x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; uint8_t x_492; lean_dec(x_388); -x_482 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_482 = l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7; x_483 = lean_name_mk_string(x_180, x_482); x_484 = lean_ctor_get(x_4, 0); lean_inc(x_484); @@ -17466,7 +17382,7 @@ else { lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; uint8_t x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_dec(x_809); -x_867 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_867 = l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7; x_868 = lean_name_mk_string(x_180, x_867); x_869 = lean_ctor_get(x_4, 0); lean_inc(x_869); @@ -18545,7 +18461,7 @@ else { lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; uint8_t x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_dec(x_1128); -x_1186 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1186 = l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7; x_1187 = lean_name_mk_string(x_180, x_1186); x_1188 = lean_ctor_get(x_4, 0); lean_inc(x_1188); @@ -19657,7 +19573,7 @@ else { lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; uint8_t x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_dec(x_1453); -x_1511 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1511 = l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7; x_1512 = lean_name_mk_string(x_180, x_1511); x_1513 = lean_ctor_get(x_4, 0); lean_inc(x_1513); @@ -20801,7 +20717,7 @@ else { lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; uint8_t x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_dec(x_1785); -x_1843 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1843 = l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7; x_1844 = lean_name_mk_string(x_180, x_1843); x_1845 = lean_ctor_get(x_4, 0); lean_inc(x_1845); @@ -22660,7 +22576,7 @@ else { lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; uint8_t x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_dec(x_2257); -x_2315 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_2315 = l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7; x_2316 = lean_name_mk_string(x_2063, x_2315); x_2317 = lean_ctor_get(x_4, 0); lean_inc(x_2317); @@ -24209,6 +24125,8 @@ l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__5 = _init_l___pri lean_mark_persistent(l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__5); l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__6 = _init_l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__6(); lean_mark_persistent(l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__6); +l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7 = _init_l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__7); l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1 = _init_l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1); l___private_Lean_Elab_Quotation_11__oldRunTermElabMUnsafe___rarg___closed__1 = _init_l___private_Lean_Elab_Quotation_11__oldRunTermElabMUnsafe___rarg___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index b58e44ec6d..b039ed19a8 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -187,7 +187,6 @@ lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_StructInst_12__m lean_object* l_Lean_Elab_Term_StructInst_Struct_structName(lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__11; lean_object* l_Lean_Elab_Term_StructInst_defaultMissing_x3f___boxed(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_25__elabStructInstAux___closed__2; @@ -381,6 +380,7 @@ lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed_ lean_object* l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_StructInst_12__mkFieldMap___spec__2___boxed(lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); lean_object* l___private_Lean_Elab_StructInst_4__elabModifyOp___closed__22; +extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Array_foldlStepMAux___main___at___private_Lean_Elab_StructInst_3__isModifyOp_x3f___spec__1___closed__5; lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -627,49 +627,49 @@ return x_3; lean_object* l___private_Lean_Elab_StructInst_1__expandNonAtomicExplicitSource(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; lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_255; +lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_253; x_9 = lean_unsigned_to_nat(1u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); x_11 = l_Lean_Syntax_isNone(x_10); -x_255 = lean_st_ref_take(x_3, x_8); +x_253 = lean_st_ref_take(x_3, x_8); if (x_11 == 0) { -lean_object* x_256; lean_object* x_257; uint8_t x_258; -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); -lean_inc(x_257); -lean_dec(x_255); -x_258 = 0; -x_12 = x_258; -x_13 = x_256; -x_14 = x_257; -goto block_254; +lean_object* x_254; lean_object* x_255; uint8_t x_256; +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_253, 1); +lean_inc(x_255); +lean_dec(x_253); +x_256 = 0; +x_12 = x_256; +x_13 = x_254; +x_14 = x_255; +goto block_252; } else { -lean_object* x_259; lean_object* x_260; uint8_t x_261; -x_259 = lean_ctor_get(x_255, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_255, 1); -lean_inc(x_260); -lean_dec(x_255); -x_261 = 1; -x_12 = x_261; -x_13 = x_259; -x_14 = x_260; -goto block_254; +lean_object* x_257; lean_object* x_258; uint8_t x_259; +x_257 = lean_ctor_get(x_253, 0); +lean_inc(x_257); +x_258 = lean_ctor_get(x_253, 1); +lean_inc(x_258); +lean_dec(x_253); +x_259 = 1; +x_12 = x_259; +x_13 = x_257; +x_14 = x_258; +goto block_252; } -block_254: +block_252: { uint8_t x_15; x_15 = !lean_is_exclusive(x_13); if (x_15 == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_13, 5); +x_16 = lean_ctor_get(x_13, 3); x_17 = lean_nat_add(x_16, x_9); -lean_ctor_set(x_13, 5, x_17); +lean_ctor_set(x_13, 3, x_17); x_18 = lean_st_ref_set(x_3, x_13, x_14); if (x_12 == 0) { @@ -1052,55 +1052,49 @@ return x_172; } else { -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_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; x_173 = lean_ctor_get(x_13, 0); x_174 = lean_ctor_get(x_13, 1); x_175 = lean_ctor_get(x_13, 2); x_176 = lean_ctor_get(x_13, 3); x_177 = lean_ctor_get(x_13, 4); -x_178 = lean_ctor_get(x_13, 5); -x_179 = lean_ctor_get(x_13, 6); -lean_inc(x_179); -lean_inc(x_178); lean_inc(x_177); lean_inc(x_176); lean_inc(x_175); lean_inc(x_174); lean_inc(x_173); lean_dec(x_13); -x_180 = lean_nat_add(x_178, x_9); -x_181 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_181, 0, x_173); -lean_ctor_set(x_181, 1, x_174); -lean_ctor_set(x_181, 2, x_175); -lean_ctor_set(x_181, 3, x_176); -lean_ctor_set(x_181, 4, x_177); -lean_ctor_set(x_181, 5, x_180); -lean_ctor_set(x_181, 6, x_179); -x_182 = lean_st_ref_set(x_3, x_181, x_14); +x_178 = lean_nat_add(x_176, x_9); +x_179 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_179, 0, x_173); +lean_ctor_set(x_179, 1, x_174); +lean_ctor_set(x_179, 2, x_175); +lean_ctor_set(x_179, 3, x_178); +lean_ctor_set(x_179, 4, x_177); +x_180 = lean_st_ref_set(x_3, x_179, x_14); if (x_12 == 0) { -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; uint8_t x_192; uint8_t x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_183 = lean_ctor_get(x_182, 1); +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; uint8_t x_190; uint8_t x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_181 = lean_ctor_get(x_180, 1); +lean_inc(x_181); +lean_dec(x_180); +x_182 = lean_ctor_get(x_2, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_2, 1); lean_inc(x_183); -lean_dec(x_182); -x_184 = lean_ctor_get(x_2, 0); +x_184 = lean_ctor_get(x_2, 2); lean_inc(x_184); -x_185 = lean_ctor_get(x_2, 1); +x_185 = lean_ctor_get(x_2, 3); lean_inc(x_185); -x_186 = lean_ctor_get(x_2, 2); +x_186 = lean_ctor_get(x_2, 4); lean_inc(x_186); -x_187 = lean_ctor_get(x_2, 3); +x_187 = lean_ctor_get(x_2, 5); lean_inc(x_187); -x_188 = lean_ctor_get(x_2, 4); +x_188 = lean_ctor_get(x_2, 6); lean_inc(x_188); -x_189 = lean_ctor_get(x_2, 5); -lean_inc(x_189); -x_190 = lean_ctor_get(x_2, 6); -lean_inc(x_190); -x_191 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_192 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_193 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); +x_189 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); +x_190 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); +x_191 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -1110,185 +1104,185 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 5); lean_ctor_release(x_2, 6); lean_ctor_release(x_2, 7); - x_194 = x_2; + x_192 = x_2; } else { lean_dec_ref(x_2); - x_194 = lean_box(0); + x_192 = lean_box(0); } -if (lean_is_scalar(x_194)) { - x_195 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_192)) { + x_193 = lean_alloc_ctor(0, 8, 3); } else { - x_195 = x_194; + x_193 = x_192; } -lean_ctor_set(x_195, 0, x_184); -lean_ctor_set(x_195, 1, x_185); -lean_ctor_set(x_195, 2, x_186); -lean_ctor_set(x_195, 3, x_187); -lean_ctor_set(x_195, 4, x_188); -lean_ctor_set(x_195, 5, x_189); -lean_ctor_set(x_195, 6, x_190); -lean_ctor_set(x_195, 7, x_178); -lean_ctor_set_uint8(x_195, sizeof(void*)*8, x_191); -lean_ctor_set_uint8(x_195, sizeof(void*)*8 + 1, x_192); -lean_ctor_set_uint8(x_195, sizeof(void*)*8 + 2, x_193); -x_196 = lean_unsigned_to_nat(0u); -x_197 = l_Lean_Syntax_getArg(x_10, x_196); +lean_ctor_set(x_193, 0, x_182); +lean_ctor_set(x_193, 1, x_183); +lean_ctor_set(x_193, 2, x_184); +lean_ctor_set(x_193, 3, x_185); +lean_ctor_set(x_193, 4, x_186); +lean_ctor_set(x_193, 5, x_187); +lean_ctor_set(x_193, 6, x_188); +lean_ctor_set(x_193, 7, x_176); +lean_ctor_set_uint8(x_193, sizeof(void*)*8, x_189); +lean_ctor_set_uint8(x_193, sizeof(void*)*8 + 1, x_190); +lean_ctor_set_uint8(x_193, sizeof(void*)*8 + 2, x_191); +x_194 = lean_unsigned_to_nat(0u); +x_195 = l_Lean_Syntax_getArg(x_10, x_194); lean_inc(x_4); +lean_inc(x_195); +x_196 = l_Lean_Elab_Term_isLocalIdent_x3f(x_195, x_193, x_3, x_4, x_5, x_6, x_7, x_181); +x_197 = lean_ctor_get(x_196, 0); lean_inc(x_197); -x_198 = l_Lean_Elab_Term_isLocalIdent_x3f(x_197, x_195, x_3, x_4, x_5, x_6, x_7, x_183); -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -if (lean_obj_tag(x_199) == 0) +if (lean_obj_tag(x_197) == 0) { -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; 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; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_200 = lean_ctor_get(x_198, 1); +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; 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; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec(x_196); +x_199 = l_Lean_Elab_Term_getCurrMacroScope(x_193, x_3, x_4, x_5, x_6, x_7, x_198); +x_200 = lean_ctor_get(x_199, 0); lean_inc(x_200); -lean_dec(x_198); -x_201 = l_Lean_Elab_Term_getCurrMacroScope(x_195, x_3, x_4, x_5, x_6, x_7, x_200); -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_201); +x_203 = lean_ctor_get(x_202, 0); lean_inc(x_203); -lean_dec(x_201); -x_204 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_203); -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_204, 1); -lean_inc(x_206); -lean_dec(x_204); -x_207 = l___private_Lean_Elab_StructInst_1__expandNonAtomicExplicitSource___closed__4; -x_208 = l_Lean_addMacroScope(x_205, x_207, x_202); -x_209 = lean_box(0); -x_210 = l_Lean_SourceInfo_inhabited___closed__1; -x_211 = l___private_Lean_Elab_StructInst_1__expandNonAtomicExplicitSource___closed__3; -x_212 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_212, 0, x_210); -lean_ctor_set(x_212, 1, x_211); -lean_ctor_set(x_212, 2, x_208); -lean_ctor_set(x_212, 3, x_209); -x_213 = l_Lean_Syntax_setArg(x_10, x_196, x_212); -x_214 = l_Lean_Syntax_setArg(x_1, x_9, x_213); -x_215 = l_Lean_Elab_Term_getCurrMacroScope(x_195, x_3, x_4, x_5, x_6, x_7, x_206); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = l___private_Lean_Elab_StructInst_1__expandNonAtomicExplicitSource___closed__4; +x_206 = l_Lean_addMacroScope(x_203, x_205, x_200); +x_207 = lean_box(0); +x_208 = l_Lean_SourceInfo_inhabited___closed__1; +x_209 = l___private_Lean_Elab_StructInst_1__expandNonAtomicExplicitSource___closed__3; +x_210 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_210, 0, x_208); +lean_ctor_set(x_210, 1, x_209); +lean_ctor_set(x_210, 2, x_206); +lean_ctor_set(x_210, 3, x_207); +x_211 = l_Lean_Syntax_setArg(x_10, x_194, x_210); +x_212 = l_Lean_Syntax_setArg(x_1, x_9, x_211); +x_213 = l_Lean_Elab_Term_getCurrMacroScope(x_193, x_3, x_4, x_5, x_6, x_7, x_204); lean_dec(x_4); -lean_dec(x_195); -x_216 = lean_ctor_get(x_215, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_215, 1); +lean_dec(x_193); +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_213, 1); +lean_inc(x_215); +lean_dec(x_213); +x_216 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_215); +x_217 = lean_ctor_get(x_216, 0); lean_inc(x_217); -lean_dec(x_215); -x_218 = l_Lean_Elab_Term_getMainModule___rarg(x_7, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_218)) { - lean_ctor_release(x_218, 0); - lean_ctor_release(x_218, 1); - x_221 = x_218; +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + x_219 = x_216; } else { - lean_dec_ref(x_218); - x_221 = lean_box(0); + lean_dec_ref(x_216); + x_219 = lean_box(0); +} +x_220 = l_Lean_addMacroScope(x_217, x_205, x_214); +x_221 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_221, 0, x_208); +lean_ctor_set(x_221, 1, x_209); +lean_ctor_set(x_221, 2, x_220); +lean_ctor_set(x_221, 3, x_207); +x_222 = l_Array_empty___closed__1; +x_223 = lean_array_push(x_222, x_221); +x_224 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_225 = lean_array_push(x_223, x_224); +x_226 = lean_array_push(x_225, x_224); +x_227 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; +x_228 = lean_array_push(x_226, x_227); +x_229 = lean_array_push(x_228, x_195); +x_230 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); +x_232 = lean_array_push(x_222, x_231); +x_233 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_232); +x_235 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_236 = lean_array_push(x_235, x_234); +x_237 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_238 = lean_array_push(x_236, x_237); +x_239 = lean_array_push(x_238, x_212); +x_240 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); +x_242 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_242, 0, x_241); +if (lean_is_scalar(x_219)) { + x_243 = lean_alloc_ctor(0, 2, 0); +} else { + x_243 = x_219; } -x_222 = l_Lean_addMacroScope(x_219, x_207, x_216); -x_223 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_223, 0, x_210); -lean_ctor_set(x_223, 1, x_211); -lean_ctor_set(x_223, 2, x_222); -lean_ctor_set(x_223, 3, x_209); -x_224 = l_Array_empty___closed__1; -x_225 = lean_array_push(x_224, x_223); -x_226 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_227 = lean_array_push(x_225, x_226); -x_228 = lean_array_push(x_227, x_226); -x_229 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__10; -x_230 = lean_array_push(x_228, x_229); -x_231 = lean_array_push(x_230, x_197); -x_232 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__8; -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_231); -x_234 = lean_array_push(x_224, x_233); -x_235 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__6; -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_234); -x_237 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_238 = lean_array_push(x_237, x_236); -x_239 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_240 = lean_array_push(x_238, x_239); -x_241 = lean_array_push(x_240, x_214); -x_242 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_243 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_241); -x_244 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_244, 0, x_243); -if (lean_is_scalar(x_221)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_221; -} -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_220); -return x_245; +lean_ctor_set(x_243, 1, x_218); +return x_243; } else { -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -lean_dec(x_199); +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_dec(x_197); lean_dec(x_195); +lean_dec(x_193); lean_dec(x_10); lean_dec(x_4); lean_dec(x_1); -x_246 = lean_ctor_get(x_198, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - x_247 = x_198; +x_244 = lean_ctor_get(x_196, 1); +lean_inc(x_244); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_245 = x_196; } else { - lean_dec_ref(x_198); - x_247 = lean_box(0); + lean_dec_ref(x_196); + x_245 = lean_box(0); } -x_248 = lean_box(0); -if (lean_is_scalar(x_247)) { - x_249 = lean_alloc_ctor(0, 2, 0); +x_246 = lean_box(0); +if (lean_is_scalar(x_245)) { + x_247 = lean_alloc_ctor(0, 2, 0); } else { - x_249 = x_247; + x_247 = x_245; } -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_246); -return x_249; +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_244); +return x_247; } } else { -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -lean_dec(x_178); +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_176); lean_dec(x_10); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_250 = lean_ctor_get(x_182, 1); -lean_inc(x_250); -if (lean_is_exclusive(x_182)) { - lean_ctor_release(x_182, 0); - lean_ctor_release(x_182, 1); - x_251 = x_182; +x_248 = lean_ctor_get(x_180, 1); +lean_inc(x_248); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_249 = x_180; } else { - lean_dec_ref(x_182); - x_251 = lean_box(0); + lean_dec_ref(x_180); + x_249 = lean_box(0); } -x_252 = lean_box(0); -if (lean_is_scalar(x_251)) { - x_253 = lean_alloc_ctor(0, 2, 0); +x_250 = lean_box(0); +if (lean_is_scalar(x_249)) { + x_251 = lean_alloc_ctor(0, 2, 0); } else { - x_253 = x_251; + x_251 = x_249; } -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_250); -return x_253; +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_248); +return x_251; } } } @@ -9361,7 +9355,7 @@ lean_object* _init_l_Lean_Elab_Term_StructInst_formatStruct___main___closed__5() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__11; +x_1 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -28011,7 +28005,7 @@ lean_inc(x_93); x_94 = lean_ctor_get(x_92, 1); lean_inc(x_94); lean_dec(x_92); -x_95 = lean_ctor_get(x_93, 5); +x_95 = lean_ctor_get(x_93, 3); lean_inc(x_95); lean_dec(x_93); x_96 = lean_ctor_get(x_7, 1); @@ -28042,9 +28036,9 @@ x_106 = !lean_is_exclusive(x_104); if (x_106 == 0) { lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_104, 5); +x_107 = lean_ctor_get(x_104, 3); lean_dec(x_107); -lean_ctor_set(x_104, 5, x_102); +lean_ctor_set(x_104, 3, x_102); x_108 = lean_st_ref_set(x_4, x_104, x_105); x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); @@ -28055,34 +28049,28 @@ goto block_84; } else { -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; lean_object* x_117; lean_object* x_118; +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; x_110 = lean_ctor_get(x_104, 0); x_111 = lean_ctor_get(x_104, 1); x_112 = lean_ctor_get(x_104, 2); -x_113 = lean_ctor_get(x_104, 3); -x_114 = lean_ctor_get(x_104, 4); -x_115 = lean_ctor_get(x_104, 6); -lean_inc(x_115); -lean_inc(x_114); +x_113 = lean_ctor_get(x_104, 4); lean_inc(x_113); lean_inc(x_112); lean_inc(x_111); lean_inc(x_110); lean_dec(x_104); -x_116 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_116, 0, x_110); -lean_ctor_set(x_116, 1, x_111); -lean_ctor_set(x_116, 2, x_112); -lean_ctor_set(x_116, 3, x_113); -lean_ctor_set(x_116, 4, x_114); -lean_ctor_set(x_116, 5, x_102); -lean_ctor_set(x_116, 6, x_115); -x_117 = lean_st_ref_set(x_4, x_116, x_105); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); +x_114 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_114, 0, x_110); +lean_ctor_set(x_114, 1, x_111); +lean_ctor_set(x_114, 2, x_112); +lean_ctor_set(x_114, 3, x_102); +lean_ctor_set(x_114, 4, x_113); +x_115 = lean_st_ref_set(x_4, x_114, x_105); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); x_10 = x_101; -x_11 = x_118; +x_11 = x_116; goto block_84; } block_84: diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 2841f0e5ce..c48ff66855 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -21,6 +21,7 @@ lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_2__expandCt lean_object* l_Lean_Elab_Command_elabStructure___lambda__1___boxed(lean_object**); lean_object* l_Lean_Elab_Term_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Structure_31__elabStructureView___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_cases_on(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_6__findFieldInfo_x3f___boxed(lean_object*, lean_object*); @@ -94,7 +95,6 @@ extern lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; lean_object* l_Lean_Elab_Command_shouldInferResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames___rarg(lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___closed__10; lean_object* l___private_Lean_Elab_Structure_20__collectUniversesFromFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -19142,7 +19142,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_14 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; diff --git a/stage0/stdlib/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index 389a6fbd14..8a00ca8de4 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -13,154 +13,164 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__3; lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__1; -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__4; -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__4; lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__2; -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__9; -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__9; -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_6__synthesizeSyntheticMVar(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__8; +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__8; +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__9; +lean_object* l___private_Lean_Elab_SyntheticMVars_8__synthesizeSyntheticMVar(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2; +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__4; extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__1(lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__3___boxed(lean_object*); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; +lean_object* l___private_Lean_Elab_SyntheticMVars_4__resumePostponed___lambda__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* l_Lean_Elab_Term_runTactic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__8; lean_object* l_Lean_mkMVar(lean_object*); lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__10; lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__1(lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_2__resumePostponed___lambda__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* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); -lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__1(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1; lean_object* l_Lean_Elab_Tactic_evalTactic(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_32__withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); lean_object* l_List_find_x3f___main___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_2__resumePostponed___lambda__1(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* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__3; lean_object* l_Lean_Expr_getAppFn___main(lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__1; +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__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* l___private_Lean_Elab_SyntheticMVars_3__synthesizePendingInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_2__resumePostponed___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___private_Lean_Elab_SyntheticMVars_4__resumePostponed___lambda__1(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* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__6; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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_object* l___private_Lean_Elab_SyntheticMVars_2__getTacticErrorRef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__5; extern lean_object* l_Lean_Format_repr___main___closed__13; -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___boxed(lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__2; -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___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* l___private_Lean_Elab_SyntheticMVars_5__synthesizePendingInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_4__resumePostponed___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_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2; +extern lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2; +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__10; lean_object* l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_5__checkWithDefault___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2(uint8_t, 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* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef(lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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* l___private_Lean_Elab_SyntheticMVars_3__resumeElabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq___closed__2; +lean_object* l___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_1__getTacticRCurly_x3f(lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__3; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__1; uint8_t l_Lean_Expr_hasExprMVar(lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__5; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__5; +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_1__getTacticRCurly_x3f___main(lean_object*); lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__3; -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__2; +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_2__getTacticErrorRef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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_st_mk_ref(lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2(uint8_t, 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_name_mk_string(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_3__synthesizePendingInstMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___lambda__1(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar___lambda__1(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___private_Lean_Elab_SyntheticMVars_5__checkWithDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___lambda__1___boxed(lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__2; +lean_object* l___private_Lean_Elab_SyntheticMVars_7__checkWithDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Util_4__regTraceClasses___closed__1; lean_object* l_Lean_Elab_Term_liftTacticElabM(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_3__resumeElabTerm___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_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__1; extern lean_object* l___private_Lean_Meta_Basic_12__withNewLocalInstancesImp___main___rarg___closed__3; extern lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; +extern lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; lean_object* l_Lean_Elab_Term_runTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; +lean_object* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef(lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___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* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__2; lean_object* l_Lean_Elab_Term_runTactic___closed__1; -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__3; -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__5; -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_5__synthesizePendingInstMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_ReaderT_MonadLift___closed__1; -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__6; -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__4(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_Elab_postponeExceptionId; uint8_t l_Lean_Expr_isMVar(lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___lambda__1___boxed(lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_7__checkWithDefault___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_8__synthesizeSyntheticMVar___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_Syntax_getArgs(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg(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_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSynthesize(lean_object*); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1; +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__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* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__7; +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabTerm___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_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__7; -lean_object* l___private_Lean_Elab_SyntheticMVars_6__synthesizeSyntheticMVar___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_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Elab_Term_runTactic___lambda__1___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_Elab_Term_synthesizeSyntheticMVarsNoPostponing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_4__resumePostponed(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_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_2__resumePostponed(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* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSynthesize___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getTailWithPos___main(lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__2; +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg(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___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__1; lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVarDeclMVars(lean_object*, lean_object*); -uint8_t l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___lambda__1(lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__2; -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__3; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__1; +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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*); uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__4; lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__7; -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_6__synthesizePendingCoeInstMVar___lambda__1(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_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__8; +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__9; lean_object* l_Lean_indentExpr(lean_object*); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___closed__1; extern lean_object* l_Lean_Format_repr___main___closed__16; -lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__3___boxed(lean_object*); -lean_object* l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar(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___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___closed__1; -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__3(uint8_t); -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__6; +lean_object* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___boxed(lean_object*); +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__6; +lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__3(uint8_t); +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1(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_Term_liftTacticElabM___rarg___lambda__1___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_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; +lean_object* l___private_Lean_Elab_SyntheticMVars_6__synthesizePendingCoeInstMVar(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_Elab_Term_ensureAssignmentHasNoMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__2; +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__7; extern lean_object* l_Lean_Elab_registerPostponeId___closed__1; lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__1___rarg(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: @@ -310,340 +320,306 @@ return x_38; } else { -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_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; x_39 = lean_ctor_get(x_30, 1); x_40 = lean_ctor_get(x_30, 2); x_41 = lean_ctor_get(x_30, 3); x_42 = lean_ctor_get(x_30, 4); -x_43 = lean_ctor_get(x_30, 5); -x_44 = lean_ctor_get(x_30, 6); -lean_inc(x_44); -lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); lean_inc(x_40); lean_inc(x_39); lean_dec(x_30); lean_inc(x_11); -x_45 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_45, 0, x_11); -lean_ctor_set(x_45, 1, x_39); -lean_ctor_set(x_45, 2, x_40); -lean_ctor_set(x_45, 3, x_41); -lean_ctor_set(x_45, 4, x_42); -lean_ctor_set(x_45, 5, x_43); -lean_ctor_set(x_45, 6, x_44); -x_46 = lean_st_ref_set(x_5, x_45, x_31); +x_43 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_43, 0, x_11); +lean_ctor_set(x_43, 1, x_39); +lean_ctor_set(x_43, 2, x_40); +lean_ctor_set(x_43, 3, x_41); +lean_ctor_set(x_43, 4, x_42); +x_44 = lean_st_ref_set(x_5, x_43, x_31); lean_dec(x_5); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_48 = x_46; +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_46 = x_44; } else { - lean_dec_ref(x_46); - x_48 = lean_box(0); + lean_dec_ref(x_44); + x_46 = lean_box(0); } -if (lean_is_scalar(x_48)) { - x_49 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(0, 2, 0); } else { - x_49 = x_48; + x_47 = x_46; } -lean_ctor_set(x_49, 0, x_25); -lean_ctor_set(x_49, 1, x_47); -return x_49; +lean_ctor_set(x_47, 0, x_25); +lean_ctor_set(x_47, 1, x_45); +return x_47; } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_dec(x_22); -x_50 = lean_ctor_get(x_24, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_24, 1); -lean_inc(x_51); +x_48 = lean_ctor_get(x_24, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_24, 1); +lean_inc(x_49); lean_dec(x_24); -x_52 = lean_st_ref_take(x_5, x_51); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = !lean_is_exclusive(x_53); -if (x_55 == 0) +x_50 = lean_st_ref_take(x_5, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) { -lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_56 = lean_ctor_get(x_53, 0); -lean_dec(x_56); +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_ctor_get(x_51, 0); +lean_dec(x_54); lean_inc(x_11); -lean_ctor_set(x_53, 0, x_11); -x_57 = lean_st_ref_set(x_5, x_53, x_54); +lean_ctor_set(x_51, 0, x_11); +x_55 = lean_st_ref_set(x_5, x_51, x_52); lean_dec(x_5); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_59; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -lean_ctor_set_tag(x_57, 1); -lean_ctor_set(x_57, 0, x_50); -return x_57; -} -else -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_57, 1); -lean_inc(x_60); +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); lean_dec(x_57); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_50); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_ctor_set_tag(x_55, 1); +lean_ctor_set(x_55, 0, x_48); +return x_55; +} +else +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec(x_55); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_48); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } else { -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; lean_object* x_71; lean_object* x_72; -x_62 = lean_ctor_get(x_53, 1); -x_63 = lean_ctor_get(x_53, 2); -x_64 = lean_ctor_get(x_53, 3); -x_65 = lean_ctor_get(x_53, 4); -x_66 = lean_ctor_get(x_53, 5); -x_67 = lean_ctor_get(x_53, 6); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); +lean_object* x_60; 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; +x_60 = lean_ctor_get(x_51, 1); +x_61 = lean_ctor_get(x_51, 2); +x_62 = lean_ctor_get(x_51, 3); +x_63 = lean_ctor_get(x_51, 4); lean_inc(x_63); lean_inc(x_62); -lean_dec(x_53); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_51); lean_inc(x_11); -x_68 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_68, 0, x_11); -lean_ctor_set(x_68, 1, x_62); -lean_ctor_set(x_68, 2, x_63); -lean_ctor_set(x_68, 3, x_64); -lean_ctor_set(x_68, 4, x_65); -lean_ctor_set(x_68, 5, x_66); -lean_ctor_set(x_68, 6, x_67); -x_69 = lean_st_ref_set(x_5, x_68, x_54); +x_64 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_64, 0, x_11); +lean_ctor_set(x_64, 1, x_60); +lean_ctor_set(x_64, 2, x_61); +lean_ctor_set(x_64, 3, x_62); +lean_ctor_set(x_64, 4, x_63); +x_65 = lean_st_ref_set(x_5, x_64, x_52); lean_dec(x_5); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_71 = x_69; +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_67 = x_65; } else { - lean_dec_ref(x_69); - x_71 = lean_box(0); + lean_dec_ref(x_65); + x_67 = lean_box(0); } -if (lean_is_scalar(x_71)) { - x_72 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); } else { - x_72 = x_71; - lean_ctor_set_tag(x_72, 1); + x_68 = x_67; + lean_ctor_set_tag(x_68, 1); } -lean_ctor_set(x_72, 0, x_50); -lean_ctor_set(x_72, 1, x_70); -return x_72; +lean_ctor_set(x_68, 0, x_48); +lean_ctor_set(x_68, 1, x_66); +return x_68; } } } else { -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_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_73 = lean_ctor_get(x_13, 1); -x_74 = lean_ctor_get(x_13, 2); -x_75 = lean_ctor_get(x_13, 3); -x_76 = lean_ctor_get(x_13, 4); -x_77 = lean_ctor_get(x_13, 5); -x_78 = lean_ctor_get(x_13, 6); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_inc(x_73); +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; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_69 = lean_ctor_get(x_13, 1); +x_70 = lean_ctor_get(x_13, 2); +x_71 = lean_ctor_get(x_13, 3); +x_72 = lean_ctor_get(x_13, 4); +lean_inc(x_72); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_13); -x_79 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_79, 0, x_15); -lean_ctor_set(x_79, 1, x_73); -lean_ctor_set(x_79, 2, x_74); -lean_ctor_set(x_79, 3, x_75); -lean_ctor_set(x_79, 4, x_76); -lean_ctor_set(x_79, 5, x_77); -lean_ctor_set(x_79, 6, x_78); -x_80 = lean_st_ref_set(x_5, x_79, x_14); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); +x_73 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_73, 0, x_15); +lean_ctor_set(x_73, 1, x_69); +lean_ctor_set(x_73, 2, x_70); +lean_ctor_set(x_73, 3, x_71); +lean_ctor_set(x_73, 4, x_72); +x_74 = lean_st_ref_set(x_5, x_73, x_14); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +lean_dec(x_74); lean_inc(x_1); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_1); -lean_ctor_set(x_82, 1, x_15); -x_83 = lean_st_mk_ref(x_82, x_81); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_1); +lean_ctor_set(x_76, 1, x_15); +x_77 = lean_st_mk_ref(x_76, x_75); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); lean_inc(x_5); -lean_inc(x_84); -x_86 = lean_apply_9(x_2, x_1, x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_85); -if (lean_obj_tag(x_86) == 0) +lean_inc(x_78); +x_80 = lean_apply_9(x_2, x_1, x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_79); +if (lean_obj_tag(x_80) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_87 = lean_ctor_get(x_86, 0); +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_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = lean_st_ref_get(x_78, x_82); +lean_dec(x_78); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +x_85 = lean_st_ref_take(x_5, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); lean_inc(x_87); +lean_dec(x_85); x_88 = lean_ctor_get(x_86, 1); lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_st_ref_get(x_84, x_88); -lean_dec(x_84); -x_90 = lean_ctor_get(x_89, 1); +x_89 = lean_ctor_get(x_86, 2); +lean_inc(x_89); +x_90 = lean_ctor_get(x_86, 3); lean_inc(x_90); -lean_dec(x_89); -x_91 = lean_st_ref_take(x_5, x_90); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -x_95 = lean_ctor_get(x_92, 2); -lean_inc(x_95); -x_96 = lean_ctor_get(x_92, 3); -lean_inc(x_96); -x_97 = lean_ctor_get(x_92, 4); -lean_inc(x_97); -x_98 = lean_ctor_get(x_92, 5); -lean_inc(x_98); -x_99 = lean_ctor_get(x_92, 6); -lean_inc(x_99); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - lean_ctor_release(x_92, 1); - lean_ctor_release(x_92, 2); - lean_ctor_release(x_92, 3); - lean_ctor_release(x_92, 4); - lean_ctor_release(x_92, 5); - lean_ctor_release(x_92, 6); - x_100 = x_92; +x_91 = lean_ctor_get(x_86, 4); +lean_inc(x_91); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + lean_ctor_release(x_86, 2); + lean_ctor_release(x_86, 3); + lean_ctor_release(x_86, 4); + x_92 = x_86; } else { - lean_dec_ref(x_92); - x_100 = lean_box(0); + lean_dec_ref(x_86); + x_92 = lean_box(0); } lean_inc(x_11); -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 7, 0); +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(0, 5, 0); } else { - x_101 = x_100; + x_93 = x_92; } -lean_ctor_set(x_101, 0, x_11); -lean_ctor_set(x_101, 1, x_94); -lean_ctor_set(x_101, 2, x_95); -lean_ctor_set(x_101, 3, x_96); -lean_ctor_set(x_101, 4, x_97); -lean_ctor_set(x_101, 5, x_98); -lean_ctor_set(x_101, 6, x_99); -x_102 = lean_st_ref_set(x_5, x_101, x_93); +lean_ctor_set(x_93, 0, x_11); +lean_ctor_set(x_93, 1, x_88); +lean_ctor_set(x_93, 2, x_89); +lean_ctor_set(x_93, 3, x_90); +lean_ctor_set(x_93, 4, x_91); +x_94 = lean_st_ref_set(x_5, x_93, x_87); lean_dec(x_5); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_104 = x_102; +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; } else { - lean_dec_ref(x_102); - x_104 = lean_box(0); + lean_dec_ref(x_94); + x_96 = lean_box(0); } -if (lean_is_scalar(x_104)) { - x_105 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(0, 2, 0); } else { - x_105 = x_104; + x_97 = x_96; } -lean_ctor_set(x_105, 0, x_87); -lean_ctor_set(x_105, 1, x_103); -return x_105; +lean_ctor_set(x_97, 0, x_81); +lean_ctor_set(x_97, 1, x_95); +return x_97; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; 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; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -lean_dec(x_84); -x_106 = lean_ctor_get(x_86, 0); +lean_object* 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; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_78); +x_98 = lean_ctor_get(x_80, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_80, 1); +lean_inc(x_99); +lean_dec(x_80); +x_100 = lean_st_ref_take(x_5, x_99); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +x_104 = lean_ctor_get(x_101, 2); +lean_inc(x_104); +x_105 = lean_ctor_get(x_101, 3); +lean_inc(x_105); +x_106 = lean_ctor_get(x_101, 4); lean_inc(x_106); -x_107 = lean_ctor_get(x_86, 1); -lean_inc(x_107); -lean_dec(x_86); -x_108 = lean_st_ref_take(x_5, x_107); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + lean_ctor_release(x_101, 2); + lean_ctor_release(x_101, 3); + lean_ctor_release(x_101, 4); + x_107 = x_101; +} else { + lean_dec_ref(x_101); + x_107 = lean_box(0); +} +lean_inc(x_11); +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(0, 5, 0); +} else { + x_108 = x_107; +} +lean_ctor_set(x_108, 0, x_11); +lean_ctor_set(x_108, 1, x_103); +lean_ctor_set(x_108, 2, x_104); +lean_ctor_set(x_108, 3, x_105); +lean_ctor_set(x_108, 4, x_106); +x_109 = lean_st_ref_set(x_5, x_108, x_102); +lean_dec(x_5); +x_110 = lean_ctor_get(x_109, 1); lean_inc(x_110); -lean_dec(x_108); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -x_112 = lean_ctor_get(x_109, 2); -lean_inc(x_112); -x_113 = lean_ctor_get(x_109, 3); -lean_inc(x_113); -x_114 = lean_ctor_get(x_109, 4); -lean_inc(x_114); -x_115 = lean_ctor_get(x_109, 5); -lean_inc(x_115); -x_116 = lean_ctor_get(x_109, 6); -lean_inc(x_116); if (lean_is_exclusive(x_109)) { lean_ctor_release(x_109, 0); lean_ctor_release(x_109, 1); - lean_ctor_release(x_109, 2); - lean_ctor_release(x_109, 3); - lean_ctor_release(x_109, 4); - lean_ctor_release(x_109, 5); - lean_ctor_release(x_109, 6); - x_117 = x_109; + x_111 = x_109; } else { lean_dec_ref(x_109); - x_117 = lean_box(0); + x_111 = lean_box(0); } -lean_inc(x_11); -if (lean_is_scalar(x_117)) { - x_118 = lean_alloc_ctor(0, 7, 0); +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); } else { - x_118 = x_117; + x_112 = x_111; + lean_ctor_set_tag(x_112, 1); } -lean_ctor_set(x_118, 0, x_11); -lean_ctor_set(x_118, 1, x_111); -lean_ctor_set(x_118, 2, x_112); -lean_ctor_set(x_118, 3, x_113); -lean_ctor_set(x_118, 4, x_114); -lean_ctor_set(x_118, 5, x_115); -lean_ctor_set(x_118, 6, x_116); -x_119 = lean_st_ref_set(x_5, x_118, x_110); -lean_dec(x_5); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_121 = x_119; -} else { - lean_dec_ref(x_119); - x_121 = lean_box(0); -} -if (lean_is_scalar(x_121)) { - x_122 = lean_alloc_ctor(1, 2, 0); -} else { - x_122 = x_121; - lean_ctor_set_tag(x_122, 1); -} -lean_ctor_set(x_122, 0, x_106); -lean_ctor_set(x_122, 1, x_120); -return x_122; +lean_ctor_set(x_112, 0, x_98); +lean_ctor_set(x_112, 1, x_110); +return x_112; } } } @@ -792,6 +768,153 @@ lean_dec(x_3); return x_9; } } +lean_object* l___private_Lean_Elab_SyntheticMVars_1__getTacticRCurly_x3f___main(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +lean_inc(x_1); +x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); +if (x_3 == 0) +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = l___regBuiltin_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2; +lean_inc(x_1); +x_7 = l_Lean_Syntax_isOfKind(x_1, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_1); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_unsigned_to_nat(2u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +lean_dec(x_1); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = l_Lean_Syntax_getArgs(x_1); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_dec_eq(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = l___regBuiltin_Lean_Elab_Tactic_evalNestedTacticBlock___closed__2; +lean_inc(x_1); +x_17 = l_Lean_Syntax_isOfKind(x_1, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_1); +x_18 = lean_box(0); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_unsigned_to_nat(2u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +lean_dec(x_1); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Syntax_getArg(x_1, x_22); +lean_dec(x_1); +x_1 = x_23; +goto _start; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_unsigned_to_nat(1u); +x_26 = l_Lean_Syntax_getArg(x_1, x_25); +lean_dec(x_1); +x_1 = x_26; +goto _start; +} +} +} +lean_object* l___private_Lean_Elab_SyntheticMVars_1__getTacticRCurly_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Elab_SyntheticMVars_1__getTacticRCurly_x3f___main(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_SyntheticMVars_2__getTacticErrorRef(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; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 3); +lean_inc(x_1); +x_10 = l___private_Lean_Elab_SyntheticMVars_1__getTacticRCurly_x3f___main(x_1); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = l_Lean_replaceRef(x_1, x_9); +lean_dec(x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_1); +x_13 = lean_ctor_get(x_10, 0); +lean_inc(x_13); +lean_dec(x_10); +x_14 = l_Lean_replaceRef(x_13, x_9); +lean_dec(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_8); +return x_15; +} +} +} +lean_object* l___private_Lean_Elab_SyntheticMVars_2__getTacticErrorRef___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___private_Lean_Elab_SyntheticMVars_2__getTacticErrorRef(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} lean_object* l_Lean_Elab_Term_runTactic___lambda__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_object* x_10) { _start: { @@ -811,31 +934,33 @@ return x_1; lean_object* l_Lean_Elab_Term_runTactic(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; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_st_ref_take(x_6, x_9); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = !lean_is_exclusive(x_11); -if (x_13 == 0) +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_2, x_10); +x_12 = lean_st_ref_take(x_6, x_9); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) { -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; -x_14 = lean_ctor_get(x_11, 0); +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; +x_16 = lean_ctor_get(x_13, 0); lean_inc(x_1); -x_15 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_14, x_1); -lean_ctor_set(x_11, 0, x_15); -x_16 = lean_st_ref_set(x_6, x_11, x_12); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); -lean_closure_set(x_18, 0, x_2); -x_19 = l_Lean_Elab_Term_runTactic___closed__1; -x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_19); +x_17 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_16, x_1); +lean_ctor_set(x_13, 0, x_17); +x_18 = lean_st_ref_set(x_6, x_13, x_14); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); +lean_closure_set(x_20, 0, x_11); +x_21 = l_Lean_Elab_Term_runTactic___closed__1; +x_22 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_22, 0, x_20); +lean_closure_set(x_22, 1, x_21); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -843,321 +968,203 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_21 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_17); -if (lean_obj_tag(x_21) == 0) +x_23 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = !lean_is_exclusive(x_7); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_25 = lean_ctor_get(x_7, 3); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); -x_26 = l_Lean_Syntax_getTailWithPos___main(x_25); -x_27 = l_List_isEmpty___rarg(x_22); -if (lean_obj_tag(x_26) == 0) +lean_dec(x_23); +x_26 = l___private_Lean_Elab_SyntheticMVars_2__getTacticErrorRef(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_List_isEmpty___rarg(x_24); +x_30 = !lean_is_exclusive(x_7); +if (x_30 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = l_Lean_replaceRef(x_25, x_25); -x_29 = l_Lean_replaceRef(x_28, x_25); -lean_dec(x_28); -x_30 = l_Lean_replaceRef(x_29, x_25); -lean_dec(x_25); -lean_dec(x_29); -lean_ctor_set(x_7, 3, x_30); -if (x_27 == 0) +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_7, 3); +x_32 = l_Lean_replaceRef(x_27, x_31); +lean_dec(x_27); +x_33 = l_Lean_replaceRef(x_32, x_31); +lean_dec(x_32); +x_34 = l_Lean_replaceRef(x_33, x_31); +lean_dec(x_31); +lean_dec(x_33); +lean_ctor_set(x_7, 3, x_34); +if (x_29 == 0) { -lean_object* x_31; uint8_t x_32; +lean_object* x_35; uint8_t x_36; lean_dec(x_1); -x_31 = l_Lean_Elab_Term_reportUnsolvedGoals(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +x_35 = l_Lean_Elab_Term_reportUnsolvedGoals(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_28); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -return x_31; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_31); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); return x_35; } +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_35, 0); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_35); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} } else { -lean_object* x_36; -lean_dec(x_22); -x_36 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +lean_object* x_40; +lean_dec(x_24); +x_40 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_28); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_36; +return x_40; } } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_26, 0); -lean_inc(x_37); -lean_dec(x_26); -x_38 = l_Lean_replaceRef(x_37, x_25); -lean_dec(x_37); -x_39 = l_Lean_replaceRef(x_38, x_25); -lean_dec(x_38); -x_40 = l_Lean_replaceRef(x_39, x_25); -lean_dec(x_25); -lean_dec(x_39); -lean_ctor_set(x_7, 3, x_40); -if (x_27 == 0) -{ -lean_object* x_41; uint8_t x_42; -lean_dec(x_1); -x_41 = l_Lean_Elab_Term_reportUnsolvedGoals(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -return x_41; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_41, 0); -x_44 = lean_ctor_get(x_41, 1); +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; +x_41 = lean_ctor_get(x_7, 0); +x_42 = lean_ctor_get(x_7, 1); +x_43 = lean_ctor_get(x_7, 2); +x_44 = lean_ctor_get(x_7, 3); lean_inc(x_44); lean_inc(x_43); -lean_dec(x_41); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -else -{ -lean_object* x_46; -lean_dec(x_22); -x_46 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -lean_dec(x_8); +lean_inc(x_42); +lean_inc(x_41); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_46; -} -} -} -else +x_45 = l_Lean_replaceRef(x_27, x_44); +lean_dec(x_27); +x_46 = l_Lean_replaceRef(x_45, x_44); +lean_dec(x_45); +x_47 = l_Lean_replaceRef(x_46, x_44); +lean_dec(x_44); +lean_dec(x_46); +x_48 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 1, x_42); +lean_ctor_set(x_48, 2, x_43); +lean_ctor_set(x_48, 3, x_47); +if (x_29 == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_47 = lean_ctor_get(x_7, 0); -x_48 = lean_ctor_get(x_7, 1); -x_49 = lean_ctor_get(x_7, 2); -x_50 = lean_ctor_get(x_7, 3); -lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_7); -lean_inc(x_50); -x_51 = l_Lean_Syntax_getTailWithPos___main(x_50); -x_52 = l_List_isEmpty___rarg(x_22); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = l_Lean_replaceRef(x_50, x_50); -x_54 = l_Lean_replaceRef(x_53, x_50); -lean_dec(x_53); -x_55 = l_Lean_replaceRef(x_54, x_50); -lean_dec(x_50); -lean_dec(x_54); -x_56 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_56, 0, x_47); -lean_ctor_set(x_56, 1, x_48); -lean_ctor_set(x_56, 2, x_49); -lean_ctor_set(x_56, 3, x_55); -if (x_52 == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec(x_1); -x_57 = l_Lean_Elab_Term_reportUnsolvedGoals(x_22, x_3, x_4, x_5, x_6, x_56, x_8, x_23); +x_49 = l_Lean_Elab_Term_reportUnsolvedGoals(x_24, x_3, x_4, x_5, x_6, x_48, x_8, x_28); lean_dec(x_8); +lean_dec(x_48); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_60 = x_57; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_52 = x_49; } else { - lean_dec_ref(x_57); - x_60 = lean_box(0); + lean_dec_ref(x_49); + x_52 = lean_box(0); } -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(1, 2, 0); } else { - x_61 = x_60; + x_53 = x_52; } -lean_ctor_set(x_61, 0, x_58); -lean_ctor_set(x_61, 1, x_59); -return x_61; +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_51); +return x_53; } else { -lean_object* x_62; -lean_dec(x_22); -x_62 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_3, x_4, x_5, x_6, x_56, x_8, x_23); +lean_object* x_54; +lean_dec(x_24); +x_54 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_3, x_4, x_5, x_6, x_48, x_8, x_28); lean_dec(x_8); -lean_dec(x_56); +lean_dec(x_48); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_62; -} -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_63 = lean_ctor_get(x_51, 0); -lean_inc(x_63); -lean_dec(x_51); -x_64 = l_Lean_replaceRef(x_63, x_50); -lean_dec(x_63); -x_65 = l_Lean_replaceRef(x_64, x_50); -lean_dec(x_64); -x_66 = l_Lean_replaceRef(x_65, x_50); -lean_dec(x_50); -lean_dec(x_65); -x_67 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_67, 0, x_47); -lean_ctor_set(x_67, 1, x_48); -lean_ctor_set(x_67, 2, x_49); -lean_ctor_set(x_67, 3, x_66); -if (x_52 == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -lean_dec(x_1); -x_68 = l_Lean_Elab_Term_reportUnsolvedGoals(x_22, x_3, x_4, x_5, x_6, x_67, x_8, x_23); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_71 = x_68; -} else { - lean_dec_ref(x_68); - x_71 = lean_box(0); -} -if (lean_is_scalar(x_71)) { - x_72 = lean_alloc_ctor(1, 2, 0); -} else { - x_72 = x_71; -} -lean_ctor_set(x_72, 0, x_69); -lean_ctor_set(x_72, 1, x_70); -return x_72; -} -else -{ -lean_object* x_73; -lean_dec(x_22); -x_73 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_3, x_4, x_5, x_6, x_67, x_8, x_23); -lean_dec(x_8); -lean_dec(x_67); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_73; -} +return x_54; } } } else { -uint8_t x_74; +uint8_t x_55; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_74 = !lean_is_exclusive(x_21); -if (x_74 == 0) +x_55 = !lean_is_exclusive(x_23); +if (x_55 == 0) { -return x_21; +return x_23; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_21, 0); -x_76 = lean_ctor_get(x_21, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_21); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_23, 0); +x_57 = lean_ctor_get(x_23, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_23); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -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; -x_78 = lean_ctor_get(x_11, 0); -x_79 = lean_ctor_get(x_11, 1); -x_80 = lean_ctor_get(x_11, 2); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_11); +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_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_59 = lean_ctor_get(x_13, 0); +x_60 = lean_ctor_get(x_13, 1); +x_61 = lean_ctor_get(x_13, 2); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_13); lean_inc(x_1); -x_81 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_78, x_1); -x_82 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_79); -lean_ctor_set(x_82, 2, x_80); -x_83 = lean_st_ref_set(x_6, x_82, x_12); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_85 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); -lean_closure_set(x_85, 0, x_2); -x_86 = l_Lean_Elab_Term_runTactic___closed__1; -x_87 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_87, 0, x_85); -lean_closure_set(x_87, 1, x_86); +x_62 = l_Lean_MetavarContext_instantiateMVarDeclMVars(x_59, x_1); +x_63 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +x_64 = lean_st_ref_set(x_6, x_63, x_14); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1); +lean_closure_set(x_66, 0, x_11); +x_67 = l_Lean_Elab_Term_runTactic___closed__1; +x_68 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_68, 0, x_66); +lean_closure_set(x_68, 1, x_67); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -1165,193 +1172,131 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_88 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_87, x_3, x_4, x_5, x_6, x_7, x_8, x_84); -if (lean_obj_tag(x_88) == 0) +x_69 = l_Lean_Elab_Term_liftTacticElabM___rarg(x_1, x_68, x_3, x_4, x_5, x_6, x_7, x_8, x_65); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_ctor_get(x_7, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_7, 1); -lean_inc(x_92); -x_93 = lean_ctor_get(x_7, 2); -lean_inc(x_93); -x_94 = lean_ctor_get(x_7, 3); -lean_inc(x_94); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t 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_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = l___private_Lean_Elab_SyntheticMVars_2__getTacticErrorRef(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_71); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = l_List_isEmpty___rarg(x_70); +x_76 = lean_ctor_get(x_7, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_7, 1); +lean_inc(x_77); +x_78 = lean_ctor_get(x_7, 2); +lean_inc(x_78); +x_79 = lean_ctor_get(x_7, 3); +lean_inc(x_79); if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 0); lean_ctor_release(x_7, 1); lean_ctor_release(x_7, 2); lean_ctor_release(x_7, 3); - x_95 = x_7; + x_80 = x_7; } else { lean_dec_ref(x_7); - x_95 = lean_box(0); + x_80 = lean_box(0); } -lean_inc(x_94); -x_96 = l_Lean_Syntax_getTailWithPos___main(x_94); -x_97 = l_List_isEmpty___rarg(x_89); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_98 = l_Lean_replaceRef(x_94, x_94); -x_99 = l_Lean_replaceRef(x_98, x_94); -lean_dec(x_98); -x_100 = l_Lean_replaceRef(x_99, x_94); -lean_dec(x_94); -lean_dec(x_99); -if (lean_is_scalar(x_95)) { - x_101 = lean_alloc_ctor(0, 4, 0); +x_81 = l_Lean_replaceRef(x_73, x_79); +lean_dec(x_73); +x_82 = l_Lean_replaceRef(x_81, x_79); +lean_dec(x_81); +x_83 = l_Lean_replaceRef(x_82, x_79); +lean_dec(x_79); +lean_dec(x_82); +if (lean_is_scalar(x_80)) { + x_84 = lean_alloc_ctor(0, 4, 0); } else { - x_101 = x_95; + x_84 = x_80; } -lean_ctor_set(x_101, 0, x_91); -lean_ctor_set(x_101, 1, x_92); -lean_ctor_set(x_101, 2, x_93); -lean_ctor_set(x_101, 3, x_100); -if (x_97 == 0) +lean_ctor_set(x_84, 0, x_76); +lean_ctor_set(x_84, 1, x_77); +lean_ctor_set(x_84, 2, x_78); +lean_ctor_set(x_84, 3, x_83); +if (x_75 == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_dec(x_1); -x_102 = l_Lean_Elab_Term_reportUnsolvedGoals(x_89, x_3, x_4, x_5, x_6, x_101, x_8, x_90); +x_85 = l_Lean_Elab_Term_reportUnsolvedGoals(x_70, x_3, x_4, x_5, x_6, x_84, x_8, x_74); lean_dec(x_8); +lean_dec(x_84); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_105 = x_102; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_88 = x_85; } else { - lean_dec_ref(x_102); - x_105 = lean_box(0); + lean_dec_ref(x_85); + x_88 = lean_box(0); } -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); } else { - x_106 = x_105; + x_89 = x_88; } -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_104); -return x_106; +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; } else { -lean_object* x_107; -lean_dec(x_89); -x_107 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_3, x_4, x_5, x_6, x_101, x_8, x_90); +lean_object* x_90; +lean_dec(x_70); +x_90 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_3, x_4, x_5, x_6, x_84, x_8, x_74); lean_dec(x_8); -lean_dec(x_101); +lean_dec(x_84); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_107; +return x_90; } } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_108 = lean_ctor_get(x_96, 0); -lean_inc(x_108); -lean_dec(x_96); -x_109 = l_Lean_replaceRef(x_108, x_94); -lean_dec(x_108); -x_110 = l_Lean_replaceRef(x_109, x_94); -lean_dec(x_109); -x_111 = l_Lean_replaceRef(x_110, x_94); -lean_dec(x_94); -lean_dec(x_110); -if (lean_is_scalar(x_95)) { - x_112 = lean_alloc_ctor(0, 4, 0); -} else { - x_112 = x_95; -} -lean_ctor_set(x_112, 0, x_91); -lean_ctor_set(x_112, 1, x_92); -lean_ctor_set(x_112, 2, x_93); -lean_ctor_set(x_112, 3, x_111); -if (x_97 == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_1); -x_113 = l_Lean_Elab_Term_reportUnsolvedGoals(x_89, x_3, x_4, x_5, x_6, x_112, x_8, x_90); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_116 = x_113; -} else { - lean_dec_ref(x_113); - x_116 = lean_box(0); -} -if (lean_is_scalar(x_116)) { - x_117 = lean_alloc_ctor(1, 2, 0); -} else { - x_117 = x_116; -} -lean_ctor_set(x_117, 0, x_114); -lean_ctor_set(x_117, 1, x_115); -return x_117; -} -else -{ -lean_object* x_118; -lean_dec(x_89); -x_118 = l_Lean_Elab_Term_ensureAssignmentHasNoMVars(x_1, x_3, x_4, x_5, x_6, x_112, x_8, x_90); -lean_dec(x_8); -lean_dec(x_112); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_118; -} -} -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_119 = lean_ctor_get(x_88, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_88, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_121 = x_88; +x_91 = lean_ctor_get(x_69, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_69, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_93 = x_69; } else { - lean_dec_ref(x_88); - x_121 = lean_box(0); + lean_dec_ref(x_69); + x_93 = lean_box(0); } -if (lean_is_scalar(x_121)) { - x_122 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(1, 2, 0); } else { - x_122 = x_121; + x_94 = x_93; } -lean_ctor_set(x_122, 0, x_119); -lean_ctor_set(x_122, 1, x_120); -return x_122; +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_92); +return x_94; } } } @@ -1372,7 +1317,7 @@ lean_dec(x_1); return x_11; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm(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* l___private_Lean_Elab_SyntheticMVars_3__resumeElabTerm(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) { _start: { uint8_t x_11; @@ -1481,17 +1426,17 @@ return x_43; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm___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* l___private_Lean_Elab_SyntheticMVars_3__resumeElabTerm___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_3); lean_dec(x_3); -x_12 = l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l___private_Lean_Elab_SyntheticMVars_3__resumeElabTerm(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_12; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_2__resumePostponed___lambda__1(uint8_t 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* l___private_Lean_Elab_SyntheticMVars_4__resumePostponed___lambda__1(uint8_t 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_14; lean_object* x_15; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; uint8_t x_59; uint8_t x_60; 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; @@ -1552,7 +1497,7 @@ lean_inc(x_8); lean_inc(x_61); lean_inc(x_69); lean_inc(x_5); -x_71 = l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm(x_5, x_69, x_70, x_61, x_8, x_9, x_10, x_11, x_12, x_68); +x_71 = l___private_Lean_Elab_SyntheticMVars_3__resumeElabTerm(x_5, x_69, x_70, x_61, x_8, x_9, x_10, x_11, x_12, x_68); if (lean_obj_tag(x_71) == 0) { 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_81; lean_object* x_82; @@ -1668,7 +1613,7 @@ lean_inc(x_8); lean_inc(x_61); lean_inc(x_69); lean_inc(x_5); -x_97 = l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm(x_5, x_69, x_96, x_61, x_8, x_9, x_10, x_11, x_12, x_68); +x_97 = l___private_Lean_Elab_SyntheticMVars_3__resumeElabTerm(x_5, x_69, x_96, x_61, x_8, x_9, x_10, x_11, x_12, x_68); if (lean_obj_tag(x_97) == 0) { lean_object* 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; @@ -1932,14 +1877,14 @@ return x_50; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_2__resumePostponed(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, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_SyntheticMVars_4__resumePostponed(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, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; x_13 = lean_box(x_5); lean_inc(x_3); lean_inc(x_4); -x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_2__resumePostponed___lambda__1___boxed), 13, 5); +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_4__resumePostponed___lambda__1___boxed), 13, 5); lean_closure_set(x_14, 0, x_13); lean_closure_set(x_14, 1, x_2); lean_closure_set(x_14, 2, x_1); @@ -1994,28 +1939,28 @@ return x_31; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_2__resumePostponed___lambda__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, lean_object* x_13) { +lean_object* l___private_Lean_Elab_SyntheticMVars_4__resumePostponed___lambda__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, lean_object* x_13) { _start: { uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_1); lean_dec(x_1); -x_15 = l___private_Lean_Elab_SyntheticMVars_2__resumePostponed___lambda__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = l___private_Lean_Elab_SyntheticMVars_4__resumePostponed___lambda__1(x_14, 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_7); return x_15; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_2__resumePostponed___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* l___private_Lean_Elab_SyntheticMVars_4__resumePostponed___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_5); lean_dec(x_5); -x_14 = l___private_Lean_Elab_SyntheticMVars_2__resumePostponed(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l___private_Lean_Elab_SyntheticMVars_4__resumePostponed(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_3__synthesizePendingInstMVar___lambda__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* l___private_Lean_Elab_SyntheticMVars_5__synthesizePendingInstMVar___lambda__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) { _start: { lean_object* x_9; @@ -2119,18 +2064,18 @@ return x_28; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_3__synthesizePendingInstMVar(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* l___private_Lean_Elab_SyntheticMVars_5__synthesizePendingInstMVar(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; lean_object* x_10; lean_inc(x_1); -x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_3__synthesizePendingInstMVar___lambda__1), 8, 1); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_5__synthesizePendingInstMVar___lambda__1), 8, 1); lean_closure_set(x_9, 0, x_1); x_10 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__1___rarg(x_1, x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar___lambda__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_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Lean_Elab_SyntheticMVars_6__synthesizePendingCoeInstMVar___lambda__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_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -2194,12 +2139,12 @@ return x_22; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar(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* l___private_Lean_Elab_SyntheticMVars_6__synthesizePendingCoeInstMVar(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_13; lean_object* x_14; lean_inc(x_1); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar___lambda__1), 12, 5); +x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_6__synthesizePendingCoeInstMVar___lambda__1), 12, 5); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); lean_closure_set(x_13, 2, x_3); @@ -2209,7 +2154,7 @@ x_14 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__1 return x_14; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_5__checkWithDefault(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* l___private_Lean_Elab_SyntheticMVars_7__checkWithDefault(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; lean_object* x_10; uint8_t x_11; @@ -2276,11 +2221,11 @@ return x_28; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_5__checkWithDefault___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* l___private_Lean_Elab_SyntheticMVars_7__checkWithDefault___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___private_Lean_Elab_SyntheticMVars_5__checkWithDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_SyntheticMVars_7__checkWithDefault(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -2289,7 +2234,7 @@ lean_dec(x_3); return x_9; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_6__synthesizeSyntheticMVar(lean_object* x_1, uint8_t 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* l___private_Lean_Elab_SyntheticMVars_8__synthesizeSyntheticMVar(lean_object* x_1, uint8_t 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) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2317,7 +2262,7 @@ lean_dec(x_11); x_18 = lean_ctor_get(x_1, 0); lean_inc(x_18); lean_dec(x_1); -x_19 = l___private_Lean_Elab_SyntheticMVars_3__synthesizePendingInstMVar(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = l___private_Lean_Elab_SyntheticMVars_5__synthesizePendingInstMVar(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_19; } case 1: @@ -2336,7 +2281,7 @@ lean_dec(x_12); x_24 = lean_ctor_get(x_1, 0); lean_inc(x_24); lean_dec(x_1); -x_25 = l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar(x_24, x_20, x_21, x_22, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_25 = l___private_Lean_Elab_SyntheticMVars_6__synthesizePendingCoeInstMVar(x_24, x_20, x_21, x_22, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_25; } case 2: @@ -2529,7 +2474,7 @@ lean_dec(x_12); x_71 = lean_ctor_get(x_1, 0); lean_inc(x_71); lean_dec(x_1); -x_72 = l___private_Lean_Elab_SyntheticMVars_2__resumePostponed(x_69, x_70, x_11, x_71, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_72 = l___private_Lean_Elab_SyntheticMVars_4__resumePostponed(x_69, x_70, x_11, x_71, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_72; } default: @@ -2540,7 +2485,7 @@ lean_dec(x_11); x_73 = lean_ctor_get(x_1, 0); lean_inc(x_73); lean_dec(x_1); -x_74 = l___private_Lean_Elab_SyntheticMVars_5__checkWithDefault(x_73, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_74 = l___private_Lean_Elab_SyntheticMVars_7__checkWithDefault(x_73, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2581,7 +2526,7 @@ lean_dec(x_11); x_83 = lean_ctor_get(x_1, 0); lean_inc(x_83); lean_dec(x_1); -x_84 = l___private_Lean_Elab_SyntheticMVars_3__synthesizePendingInstMVar(x_83, x_4, x_5, x_6, x_7, x_82, x_9, x_10); +x_84 = l___private_Lean_Elab_SyntheticMVars_5__synthesizePendingInstMVar(x_83, x_4, x_5, x_6, x_7, x_82, x_9, x_10); return x_84; } case 1: @@ -2600,7 +2545,7 @@ lean_dec(x_12); x_89 = lean_ctor_get(x_1, 0); lean_inc(x_89); lean_dec(x_1); -x_90 = l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar(x_89, x_85, x_86, x_87, x_88, x_4, x_5, x_6, x_7, x_82, x_9, x_10); +x_90 = l___private_Lean_Elab_SyntheticMVars_6__synthesizePendingCoeInstMVar(x_89, x_85, x_86, x_87, x_88, x_4, x_5, x_6, x_7, x_82, x_9, x_10); return x_90; } case 2: @@ -2744,7 +2689,7 @@ lean_dec(x_12); x_121 = lean_ctor_get(x_1, 0); lean_inc(x_121); lean_dec(x_1); -x_122 = l___private_Lean_Elab_SyntheticMVars_2__resumePostponed(x_119, x_120, x_11, x_121, x_2, x_4, x_5, x_6, x_7, x_82, x_9, x_10); +x_122 = l___private_Lean_Elab_SyntheticMVars_4__resumePostponed(x_119, x_120, x_11, x_121, x_2, x_4, x_5, x_6, x_7, x_82, x_9, x_10); return x_122; } default: @@ -2755,7 +2700,7 @@ lean_dec(x_11); x_123 = lean_ctor_get(x_1, 0); lean_inc(x_123); lean_dec(x_1); -x_124 = l___private_Lean_Elab_SyntheticMVars_5__checkWithDefault(x_123, x_4, x_5, x_6, x_7, x_82, x_9, x_10); +x_124 = l___private_Lean_Elab_SyntheticMVars_7__checkWithDefault(x_123, x_4, x_5, x_6, x_7, x_82, x_9, x_10); lean_dec(x_9); lean_dec(x_82); lean_dec(x_7); @@ -2767,7 +2712,7 @@ return x_124; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_6__synthesizeSyntheticMVar___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* l___private_Lean_Elab_SyntheticMVars_8__synthesizeSyntheticMVar___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; uint8_t x_12; lean_object* x_13; @@ -2775,11 +2720,11 @@ x_11 = lean_unbox(x_2); lean_dec(x_2); x_12 = lean_unbox(x_3); lean_dec(x_3); -x_13 = l___private_Lean_Elab_SyntheticMVars_6__synthesizeSyntheticMVar(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l___private_Lean_Elab_SyntheticMVars_8__synthesizeSyntheticMVar(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } -lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__1(lean_object* x_1) { +lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__1(lean_object* x_1) { _start: { lean_object* x_2; @@ -2788,7 +2733,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__1() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__1() { _start: { lean_object* x_1; @@ -2796,27 +2741,27 @@ x_1 = lean_mk_string("not ready yet"); return x_1; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__2() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__1; +x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__3() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__2; +x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__4() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__4() { _start: { lean_object* x_1; @@ -2824,27 +2769,27 @@ x_1 = lean_mk_string("succeeded"); return x_1; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__5() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__4; +x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__6() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__5; +x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__7() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__7() { _start: { lean_object* x_1; @@ -2852,27 +2797,27 @@ x_1 = lean_mk_string("resuming ?"); return x_1; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__8() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__7; +x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__9() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__8; +x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2(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, 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* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2(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, 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: { if (lean_obj_tag(x_5) == 0) @@ -2925,7 +2870,7 @@ x_51 = lean_ctor_get(x_15, 0); lean_inc(x_51); x_52 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_52, 0, x_51); -x_53 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__9; +x_53 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__9; x_54 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -2973,7 +2918,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_15); -x_27 = l___private_Lean_Elab_SyntheticMVars_6__synthesizeSyntheticMVar(x_15, x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_26); +x_27 = l___private_Lean_Elab_SyntheticMVars_8__synthesizeSyntheticMVar(x_15, x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_26); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; @@ -3018,7 +2963,7 @@ lean_dec(x_28); if (x_35 == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_36 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__3; +x_36 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__3; x_37 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_25, x_36, x_7, x_8, x_9, x_10, x_11, x_12, x_29); x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); @@ -3031,7 +2976,7 @@ goto block_23; else { lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_40 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__6; +x_40 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__6; x_41 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_25, x_40, x_7, x_8, x_9, x_10, x_11, x_12, x_29); x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); @@ -3081,7 +3026,7 @@ return x_47; } } } -lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__3(uint8_t x_1) { +lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__3(uint8_t x_1) { _start: { if (x_1 == 0) @@ -3098,7 +3043,7 @@ return x_3; } } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__1() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__1() { _start: { lean_object* x_1; @@ -3106,17 +3051,17 @@ x_1 = lean_mk_string("resuming"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__2() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__1; -x_2 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__1; +x_2 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__3() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__3() { _start: { lean_object* x_1; @@ -3124,27 +3069,27 @@ x_1 = lean_mk_string("resuming synthetic metavariables, mayPostpone: "); return x_1; } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__4() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__3; +x_1 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__3; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__5() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__4; +x_1 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__6() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__6() { _start: { lean_object* x_1; @@ -3152,27 +3097,27 @@ x_1 = lean_mk_string(", postponeOnError: "); return x_1; } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__7() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__6; +x_1 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__6; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__8() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__7; +x_1 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__7; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__9() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -3182,7 +3127,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__10() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -3192,87 +3137,87 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(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, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(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, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_123 = lean_ctor_get(x_7, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_7, 1); -lean_inc(x_124); -x_125 = lean_ctor_get(x_7, 2); -lean_inc(x_125); -x_126 = lean_ctor_get(x_7, 3); -lean_inc(x_126); -x_127 = lean_box(0); -x_128 = l_Lean_replaceRef(x_127, x_126); -x_129 = l_Lean_replaceRef(x_128, x_126); -lean_dec(x_128); -x_130 = l_Lean_replaceRef(x_129, x_126); -lean_dec(x_126); -lean_dec(x_129); -lean_inc(x_123); -x_131 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_131, 0, x_123); -lean_ctor_set(x_131, 1, x_124); -lean_ctor_set(x_131, 2, x_125); -lean_ctor_set(x_131, 3, x_130); -x_132 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__2; -x_133 = l_Lean_checkTraceOption(x_123, x_132); +lean_object* x_10; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_117 = lean_ctor_get(x_7, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_7, 1); +lean_inc(x_118); +x_119 = lean_ctor_get(x_7, 2); +lean_inc(x_119); +x_120 = lean_ctor_get(x_7, 3); +lean_inc(x_120); +x_121 = lean_box(0); +x_122 = l_Lean_replaceRef(x_121, x_120); +x_123 = l_Lean_replaceRef(x_122, x_120); +lean_dec(x_122); +x_124 = l_Lean_replaceRef(x_123, x_120); +lean_dec(x_120); lean_dec(x_123); -if (x_133 == 0) +lean_inc(x_117); +x_125 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_125, 0, x_117); +lean_ctor_set(x_125, 1, x_118); +lean_ctor_set(x_125, 2, x_119); +lean_ctor_set(x_125, 3, x_124); +x_126 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__2; +x_127 = l_Lean_checkTraceOption(x_117, x_126); +lean_dec(x_117); +if (x_127 == 0) { -lean_dec(x_131); +lean_dec(x_125); x_10 = x_9; -goto block_122; +goto block_116; } else { -uint8_t x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_134 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_135 = l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__3(x_134); -x_136 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_136, 0, x_135); -x_137 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__5; -x_138 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__8; -x_140 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); +uint8_t 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; +x_128 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); +x_129 = l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__3(x_128); +x_130 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_130, 0, x_129); +x_131 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__5; +x_132 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__8; +x_134 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); if (x_1 == 0) { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_141 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__9; -x_142 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_132, x_142, x_3, x_4, x_5, x_6, x_131, x_8, x_9); -lean_dec(x_131); -x_144 = lean_ctor_get(x_143, 1); -lean_inc(x_144); -lean_dec(x_143); -x_10 = x_144; -goto block_122; +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_135 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__9; +x_136 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_126, x_136, x_3, x_4, x_5, x_6, x_125, x_8, x_9); +lean_dec(x_125); +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +lean_dec(x_137); +x_10 = x_138; +goto block_116; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_145 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__10; -x_146 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_146, 0, x_140); -lean_ctor_set(x_146, 1, x_145); -x_147 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_132, x_146, x_3, x_4, x_5, x_6, x_131, x_8, x_9); -lean_dec(x_131); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_10 = x_148; -goto block_122; +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_139 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__10; +x_140 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_140, 0, x_134); +lean_ctor_set(x_140, 1, x_139); +x_141 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_126, x_140, x_3, x_4, x_5, x_6, x_125, x_8, x_9); +lean_dec(x_125); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_10 = x_142; +goto block_116; } } -block_122: +block_116: { 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; uint8_t x_21; x_11 = lean_st_ref_get(x_4, x_10); @@ -3308,7 +3253,7 @@ x_25 = l_List_reverse___rarg(x_14); x_26 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__1; x_27 = l_ReaderT_MonadLift___closed__1; lean_inc(x_4); -x_28 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2(x_1, x_2, x_26, x_27, x_25, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_24); +x_28 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2(x_1, x_2, x_26, x_27, x_25, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_24); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; @@ -3396,16 +3341,12 @@ return x_54; } else { -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_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +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_65; uint8_t x_66; x_55 = lean_ctor_get(x_32, 0); x_56 = lean_ctor_get(x_32, 1); x_57 = lean_ctor_get(x_32, 2); x_58 = lean_ctor_get(x_32, 3); x_59 = lean_ctor_get(x_32, 4); -x_60 = lean_ctor_get(x_32, 5); -x_61 = lean_ctor_get(x_32, 6); -lean_inc(x_61); -lean_inc(x_60); lean_inc(x_59); lean_inc(x_58); lean_inc(x_57); @@ -3413,252 +3354,236 @@ lean_inc(x_56); lean_inc(x_55); lean_dec(x_32); lean_inc(x_29); -x_62 = l_List_append___rarg(x_55, x_29); -x_63 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_56); -lean_ctor_set(x_63, 2, x_57); -lean_ctor_set(x_63, 3, x_58); -lean_ctor_set(x_63, 4, x_59); -lean_ctor_set(x_63, 5, x_60); -lean_ctor_set(x_63, 6, x_61); -x_64 = lean_st_ref_set(x_4, x_63, x_33); +x_60 = l_List_append___rarg(x_55, x_29); +x_61 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_56); +lean_ctor_set(x_61, 2, x_57); +lean_ctor_set(x_61, 3, x_58); +lean_ctor_set(x_61, 4, x_59); +x_62 = lean_st_ref_set(x_4, x_61, x_33); lean_dec(x_4); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_66 = x_64; +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; } else { - lean_dec_ref(x_64); - x_66 = lean_box(0); + lean_dec_ref(x_62); + x_64 = lean_box(0); } -x_67 = l_List_lengthAux___main___rarg(x_29, x_15); +x_65 = l_List_lengthAux___main___rarg(x_29, x_15); lean_dec(x_29); -x_68 = lean_nat_dec_eq(x_16, x_67); -lean_dec(x_67); +x_66 = lean_nat_dec_eq(x_16, x_65); +lean_dec(x_65); lean_dec(x_16); -if (x_68 == 0) +if (x_66 == 0) { -uint8_t x_69; lean_object* x_70; lean_object* x_71; -x_69 = 1; -x_70 = lean_box(x_69); -if (lean_is_scalar(x_66)) { - x_71 = lean_alloc_ctor(0, 2, 0); +uint8_t x_67; lean_object* x_68; lean_object* x_69; +x_67 = 1; +x_68 = lean_box(x_67); +if (lean_is_scalar(x_64)) { + x_69 = lean_alloc_ctor(0, 2, 0); } else { - x_71 = x_66; + x_69 = x_64; } -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_65); -return x_71; +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_63); +return x_69; } else { -uint8_t x_72; lean_object* x_73; lean_object* x_74; -x_72 = 0; -x_73 = lean_box(x_72); -if (lean_is_scalar(x_66)) { - x_74 = lean_alloc_ctor(0, 2, 0); +uint8_t x_70; lean_object* x_71; lean_object* x_72; +x_70 = 0; +x_71 = lean_box(x_70); +if (lean_is_scalar(x_64)) { + x_72 = lean_alloc_ctor(0, 2, 0); } else { - x_74 = x_66; + x_72 = x_64; } -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_65); -return x_74; +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_63); +return x_72; } } } else { -uint8_t x_75; +uint8_t x_73; lean_dec(x_16); lean_dec(x_4); -x_75 = !lean_is_exclusive(x_28); -if (x_75 == 0) +x_73 = !lean_is_exclusive(x_28); +if (x_73 == 0) { return x_28; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_28, 0); -x_77 = lean_ctor_get(x_28, 1); -lean_inc(x_77); -lean_inc(x_76); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_28, 0); +x_75 = lean_ctor_get(x_28, 1); +lean_inc(x_75); +lean_inc(x_74); lean_dec(x_28); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } else { -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_91; -x_79 = lean_ctor_get(x_18, 1); -x_80 = lean_ctor_get(x_18, 2); -x_81 = lean_ctor_get(x_18, 3); -x_82 = lean_ctor_get(x_18, 4); -x_83 = lean_ctor_get(x_18, 5); -x_84 = lean_ctor_get(x_18, 6); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); +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; +x_77 = lean_ctor_get(x_18, 1); +x_78 = lean_ctor_get(x_18, 2); +x_79 = lean_ctor_get(x_18, 3); +x_80 = lean_ctor_get(x_18, 4); lean_inc(x_80); lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); lean_dec(x_18); -x_85 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_85, 0, x_20); -lean_ctor_set(x_85, 1, x_79); -lean_ctor_set(x_85, 2, x_80); -lean_ctor_set(x_85, 3, x_81); -lean_ctor_set(x_85, 4, x_82); -lean_ctor_set(x_85, 5, x_83); -lean_ctor_set(x_85, 6, x_84); -x_86 = lean_st_ref_set(x_4, x_85, x_19); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -lean_dec(x_86); -x_88 = l_List_reverse___rarg(x_14); -x_89 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__1; -x_90 = l_ReaderT_MonadLift___closed__1; +x_81 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_81, 0, x_20); +lean_ctor_set(x_81, 1, x_77); +lean_ctor_set(x_81, 2, x_78); +lean_ctor_set(x_81, 3, x_79); +lean_ctor_set(x_81, 4, x_80); +x_82 = lean_st_ref_set(x_4, x_81, x_19); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = l_List_reverse___rarg(x_14); +x_85 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__1; +x_86 = l_ReaderT_MonadLift___closed__1; lean_inc(x_4); -x_91 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2(x_1, x_2, x_89, x_90, x_88, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_87); -if (lean_obj_tag(x_91) == 0) +x_87 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2(x_1, x_2, x_85, x_86, x_84, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_83); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_92 = lean_ctor_get(x_91, 0); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; uint8_t x_105; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_st_ref_take(x_4, x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); +lean_dec(x_90); +x_93 = lean_ctor_get(x_91, 0); lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_st_ref_take(x_4, x_93); -x_95 = lean_ctor_get(x_94, 0); +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +x_95 = lean_ctor_get(x_91, 2); lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); +x_96 = lean_ctor_get(x_91, 3); lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_ctor_get(x_95, 0); +x_97 = lean_ctor_get(x_91, 4); lean_inc(x_97); -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -x_99 = lean_ctor_get(x_95, 2); -lean_inc(x_99); -x_100 = lean_ctor_get(x_95, 3); -lean_inc(x_100); -x_101 = lean_ctor_get(x_95, 4); -lean_inc(x_101); -x_102 = lean_ctor_get(x_95, 5); -lean_inc(x_102); -x_103 = lean_ctor_get(x_95, 6); -lean_inc(x_103); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - lean_ctor_release(x_95, 2); - lean_ctor_release(x_95, 3); - lean_ctor_release(x_95, 4); - lean_ctor_release(x_95, 5); - lean_ctor_release(x_95, 6); - x_104 = x_95; -} else { - lean_dec_ref(x_95); - x_104 = lean_box(0); -} -lean_inc(x_92); -x_105 = l_List_append___rarg(x_97, x_92); -if (lean_is_scalar(x_104)) { - x_106 = lean_alloc_ctor(0, 7, 0); -} else { - x_106 = x_104; -} -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_98); -lean_ctor_set(x_106, 2, x_99); -lean_ctor_set(x_106, 3, x_100); -lean_ctor_set(x_106, 4, x_101); -lean_ctor_set(x_106, 5, x_102); -lean_ctor_set(x_106, 6, x_103); -x_107 = lean_st_ref_set(x_4, x_106, x_96); -lean_dec(x_4); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_109 = x_107; -} else { - lean_dec_ref(x_107); - x_109 = lean_box(0); -} -x_110 = l_List_lengthAux___main___rarg(x_92, x_15); -lean_dec(x_92); -x_111 = lean_nat_dec_eq(x_16, x_110); -lean_dec(x_110); -lean_dec(x_16); -if (x_111 == 0) -{ -uint8_t x_112; lean_object* x_113; lean_object* x_114; -x_112 = 1; -x_113 = lean_box(x_112); -if (lean_is_scalar(x_109)) { - x_114 = lean_alloc_ctor(0, 2, 0); -} else { - x_114 = x_109; -} -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_108); -return x_114; -} -else -{ -uint8_t x_115; lean_object* x_116; lean_object* x_117; -x_115 = 0; -x_116 = lean_box(x_115); -if (lean_is_scalar(x_109)) { - x_117 = lean_alloc_ctor(0, 2, 0); -} else { - x_117 = x_109; -} -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_108); -return x_117; -} -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -lean_dec(x_16); -lean_dec(x_4); -x_118 = lean_ctor_get(x_91, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_91, 1); -lean_inc(x_119); if (lean_is_exclusive(x_91)) { lean_ctor_release(x_91, 0); lean_ctor_release(x_91, 1); - x_120 = x_91; + lean_ctor_release(x_91, 2); + lean_ctor_release(x_91, 3); + lean_ctor_release(x_91, 4); + x_98 = x_91; } else { lean_dec_ref(x_91); - x_120 = lean_box(0); + x_98 = lean_box(0); } -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(1, 2, 0); +lean_inc(x_88); +x_99 = l_List_append___rarg(x_93, x_88); +if (lean_is_scalar(x_98)) { + x_100 = lean_alloc_ctor(0, 5, 0); } else { - x_121 = x_120; + x_100 = x_98; } -lean_ctor_set(x_121, 0, x_118); -lean_ctor_set(x_121, 1, x_119); -return x_121; +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_94); +lean_ctor_set(x_100, 2, x_95); +lean_ctor_set(x_100, 3, x_96); +lean_ctor_set(x_100, 4, x_97); +x_101 = lean_st_ref_set(x_4, x_100, x_92); +lean_dec(x_4); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_103 = x_101; +} else { + lean_dec_ref(x_101); + x_103 = lean_box(0); +} +x_104 = l_List_lengthAux___main___rarg(x_88, x_15); +lean_dec(x_88); +x_105 = lean_nat_dec_eq(x_16, x_104); +lean_dec(x_104); +lean_dec(x_16); +if (x_105 == 0) +{ +uint8_t x_106; lean_object* x_107; lean_object* x_108; +x_106 = 1; +x_107 = lean_box(x_106); +if (lean_is_scalar(x_103)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_103; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_102); +return x_108; +} +else +{ +uint8_t x_109; lean_object* x_110; lean_object* x_111; +x_109 = 0; +x_110 = lean_box(x_109); +if (lean_is_scalar(x_103)) { + x_111 = lean_alloc_ctor(0, 2, 0); +} else { + x_111 = x_103; +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_102); +return x_111; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_16); +lean_dec(x_4); +x_112 = lean_ctor_get(x_87, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_87, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_114 = x_87; +} else { + lean_dec_ref(x_87); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; +} +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; } } } } } -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___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* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___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) { _start: { uint8_t x_14; uint8_t x_15; lean_object* x_16; @@ -3666,22 +3591,22 @@ x_14 = lean_unbox(x_1); lean_dec(x_1); x_15 = lean_unbox(x_2); lean_dec(x_2); -x_16 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2(x_14, x_15, 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); return x_16; } } -lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__3___boxed(lean_object* x_1) { +lean_object* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__3___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__3(x_2); +x_3 = l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__3(x_2); return x_3; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___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* l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___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: { uint8_t x_10; uint8_t x_11; lean_object* x_12; @@ -3689,11 +3614,11 @@ x_10 = lean_unbox(x_1); lean_dec(x_1); x_11 = lean_unbox(x_2); lean_dec(x_2); -x_12 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__1() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -3701,27 +3626,27 @@ x_1 = lean_mk_string("failed to assign default value to metavariable"); return x_1; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__2() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__1; +x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__3() { +lean_object* _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__2; +x_1 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__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_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__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_10; uint8_t x_11; @@ -3767,7 +3692,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; x_18 = lean_ctor_get(x_15, 1); lean_inc(x_18); lean_dec(x_15); -x_19 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__3; +x_19 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__3; x_20 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_18); lean_dec(x_8); lean_dec(x_7); @@ -3856,7 +3781,7 @@ return x_36; } } } -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__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* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__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) { _start: { lean_object* x_9; @@ -3890,7 +3815,7 @@ lean_inc(x_17); x_18 = l_Lean_mkMVar(x_17); x_19 = lean_alloc_closure((void*)(l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1___boxed), 8, 1); lean_closure_set(x_19, 0, x_18); -x_20 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___boxed), 9, 1); +x_20 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___boxed), 9, 1); lean_closure_set(x_20, 0, x_10); x_21 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg), 9, 2); lean_closure_set(x_21, 0, x_19); @@ -3929,7 +3854,7 @@ lean_inc(x_31); x_32 = l_Lean_mkMVar(x_31); x_33 = lean_alloc_closure((void*)(l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1___boxed), 8, 1); lean_closure_set(x_33, 0, x_32); -x_34 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___boxed), 9, 1); +x_34 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___boxed), 9, 1); lean_closure_set(x_34, 0, x_10); x_35 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg), 9, 2); lean_closure_set(x_35, 0, x_33); @@ -3958,14 +3883,14 @@ return x_39; } } } -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { if (x_7 == 0) { lean_object* x_13; lean_dec(x_6); -x_13 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1(x_1, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12); +x_13 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1(x_1, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12); return x_13; } else @@ -3974,12 +3899,12 @@ lean_object* x_14; lean_object* x_15; x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_6); lean_ctor_set(x_14, 1, x_3); -x_15 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1(x_1, x_2, x_14, x_4, x_5, x_8, x_9, x_10, x_11, x_12); +x_15 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1(x_1, x_2, x_14, x_4, x_5, x_8, x_9, x_10, x_11, x_12); return x_15; } } } -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___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_object* x_10) { +lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___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_object* x_10) { _start: { if (lean_obj_tag(x_2) == 0) @@ -4009,11 +3934,11 @@ lean_inc(x_16); lean_inc(x_5); lean_inc(x_4); lean_inc(x_14); -x_17 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__2), 8, 3); +x_17 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__2), 8, 3); lean_closure_set(x_17, 0, x_14); lean_closure_set(x_17, 1, x_4); lean_closure_set(x_17, 2, x_5); -x_18 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__3___boxed), 12, 6); +x_18 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__3___boxed), 12, 6); lean_closure_set(x_18, 0, x_1); lean_closure_set(x_18, 1, x_15); lean_closure_set(x_18, 2, x_3); @@ -4025,7 +3950,7 @@ return x_19; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault(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* l___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault(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; 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; @@ -4043,7 +3968,7 @@ x_13 = l_List_lengthAux___main___rarg(x_11, x_12); x_14 = lean_box(0); x_15 = l___private_Lean_Meta_Basic_12__withNewLocalInstancesImp___main___rarg___closed__3; lean_inc(x_2); -x_16 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1(x_15, x_11, x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +x_16 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1(x_15, x_11, x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_10); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; @@ -4132,122 +4057,116 @@ 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_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +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; uint8_t x_52; x_43 = lean_ctor_get(x_21, 1); x_44 = lean_ctor_get(x_21, 2); x_45 = lean_ctor_get(x_21, 3); x_46 = lean_ctor_get(x_21, 4); -x_47 = lean_ctor_get(x_21, 5); -x_48 = lean_ctor_get(x_21, 6); -lean_inc(x_48); -lean_inc(x_47); lean_inc(x_46); lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); lean_dec(x_21); lean_inc(x_19); -x_49 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_49, 0, x_19); -lean_ctor_set(x_49, 1, x_43); -lean_ctor_set(x_49, 2, x_44); -lean_ctor_set(x_49, 3, x_45); -lean_ctor_set(x_49, 4, x_46); -lean_ctor_set(x_49, 5, x_47); -lean_ctor_set(x_49, 6, x_48); -x_50 = lean_st_ref_set(x_2, x_49, x_22); +x_47 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_47, 0, x_19); +lean_ctor_set(x_47, 1, x_43); +lean_ctor_set(x_47, 2, x_44); +lean_ctor_set(x_47, 3, x_45); +lean_ctor_set(x_47, 4, x_46); +x_48 = lean_st_ref_set(x_2, x_47, x_22); lean_dec(x_2); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_52 = x_50; +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_50 = x_48; } else { - lean_dec_ref(x_50); - x_52 = lean_box(0); + lean_dec_ref(x_48); + x_50 = lean_box(0); } -x_53 = l_List_lengthAux___main___rarg(x_19, x_12); +x_51 = l_List_lengthAux___main___rarg(x_19, x_12); lean_dec(x_19); -x_54 = lean_nat_dec_eq(x_53, x_13); +x_52 = lean_nat_dec_eq(x_51, x_13); lean_dec(x_13); -lean_dec(x_53); -if (x_54 == 0) +lean_dec(x_51); +if (x_52 == 0) { -uint8_t x_55; lean_object* x_56; lean_object* x_57; -x_55 = 1; -x_56 = lean_box(x_55); -if (lean_is_scalar(x_52)) { - x_57 = lean_alloc_ctor(0, 2, 0); +uint8_t x_53; lean_object* x_54; lean_object* x_55; +x_53 = 1; +x_54 = lean_box(x_53); +if (lean_is_scalar(x_50)) { + x_55 = lean_alloc_ctor(0, 2, 0); } else { - x_57 = x_52; + x_55 = x_50; } -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_51); -return x_57; +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_49); +return x_55; } else { -uint8_t x_58; lean_object* x_59; lean_object* x_60; -x_58 = 0; -x_59 = lean_box(x_58); -if (lean_is_scalar(x_52)) { - x_60 = lean_alloc_ctor(0, 2, 0); +uint8_t x_56; lean_object* x_57; lean_object* x_58; +x_56 = 0; +x_57 = lean_box(x_56); +if (lean_is_scalar(x_50)) { + x_58 = lean_alloc_ctor(0, 2, 0); } else { - x_60 = x_52; + x_58 = x_50; } -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_51); -return x_60; +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_49); +return x_58; } } } else { -uint8_t x_61; +uint8_t x_59; lean_dec(x_13); lean_dec(x_2); -x_61 = !lean_is_exclusive(x_16); -if (x_61 == 0) +x_59 = !lean_is_exclusive(x_16); +if (x_59 == 0) { return x_16; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_16, 0); -x_63 = lean_ctor_get(x_16, 1); -lean_inc(x_63); -lean_inc(x_62); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_16, 0); +x_61 = lean_ctor_get(x_16, 1); +lean_inc(x_61); +lean_inc(x_60); lean_dec(x_16); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } } -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__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* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__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) { _start: { lean_object* x_10; -x_10 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); return x_10; } } -lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__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, 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* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__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, 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_7); lean_dec(x_7); -x_14 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12); +x_14 = l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12); return x_14; } } -lean_object* _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1() { +lean_object* _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -4255,27 +4174,27 @@ x_1 = lean_mk_string("failed to create type class instance for "); return x_1; } } -lean_object* _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2() { +lean_object* _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; +x_1 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3() { +lean_object* _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2; +x_1 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; @@ -4283,7 +4202,7 @@ x_9 = lean_ctor_get(x_1, 2); lean_inc(x_9); lean_dec(x_1); x_10 = l_Lean_indentExpr(x_9); -x_11 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; +x_11 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; x_12 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); @@ -4292,7 +4211,7 @@ x_14 = l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_12, x_13, x return x_14; } } -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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, lean_object* x_12) { +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -4300,7 +4219,7 @@ x_13 = lean_ctor_get(x_5, 2); lean_inc(x_13); lean_dec(x_5); x_14 = l_Lean_indentExpr(x_13); -x_15 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; +x_15 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; x_16 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -4311,15 +4230,15 @@ lean_dec(x_17); return x_18; } } -lean_object* _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1() { +lean_object* _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___boxed), 8, 0); return x_1; } } -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3(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* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3(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; lean_object* x_10; uint8_t x_11; @@ -4350,7 +4269,7 @@ lean_dec(x_1); lean_inc(x_16); x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getMVarDecl___boxed), 8, 1); lean_closure_set(x_17, 0, x_16); -x_18 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1; +x_18 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1; x_19 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg), 9, 2); lean_closure_set(x_19, 0, x_17); lean_closure_set(x_19, 1, x_18); @@ -4375,7 +4294,7 @@ lean_dec(x_1); lean_inc(x_25); x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getMVarDecl___boxed), 8, 1); lean_closure_set(x_26, 0, x_25); -x_27 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__2___boxed), 12, 4); +x_27 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__2___boxed), 12, 4); lean_closure_set(x_27, 0, x_21); lean_closure_set(x_27, 1, x_22); lean_closure_set(x_27, 2, x_23); @@ -4432,7 +4351,7 @@ lean_dec(x_1); lean_inc(x_41); x_42 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getMVarDecl___boxed), 8, 1); lean_closure_set(x_42, 0, x_41); -x_43 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1; +x_43 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1; x_44 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg), 9, 2); lean_closure_set(x_44, 0, x_42); lean_closure_set(x_44, 1, x_43); @@ -4457,7 +4376,7 @@ lean_dec(x_1); lean_inc(x_50); x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getMVarDecl___boxed), 8, 1); lean_closure_set(x_51, 0, x_50); -x_52 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__2___boxed), 12, 4); +x_52 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__2___boxed), 12, 4); lean_closure_set(x_52, 0, x_46); lean_closure_set(x_52, 1, x_47); lean_closure_set(x_52, 2, x_48); @@ -4482,15 +4401,15 @@ return x_57; } } } -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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) { _start: { lean_object* x_12; -x_12 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_11); +x_12 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_11); return x_12; } } -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___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_object* x_10) { +lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___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_object* x_10) { _start: { if (lean_obj_tag(x_3) == 0) @@ -4521,11 +4440,11 @@ x_17 = lean_ctor_get(x_1, 1); lean_inc(x_17); lean_inc(x_5); lean_inc(x_4); -x_18 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3), 8, 3); +x_18 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3), 8, 3); lean_closure_set(x_18, 0, x_15); lean_closure_set(x_18, 1, x_4); lean_closure_set(x_18, 2, x_5); -x_19 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__4___boxed), 11, 5); +x_19 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__4___boxed), 11, 5); lean_closure_set(x_19, 0, x_1); lean_closure_set(x_19, 1, x_2); lean_closure_set(x_19, 2, x_16); @@ -4536,7 +4455,7 @@ return x_20; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars(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* l___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars(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; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -4551,15 +4470,15 @@ lean_inc(x_11); lean_dec(x_9); x_12 = l___private_Lean_Meta_Basic_12__withNewLocalInstancesImp___main___rarg___closed__3; x_13 = l_ReaderT_MonadLift___closed__1; -x_14 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1(x_12, x_13, x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +x_14 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1(x_12, x_13, x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_10); return x_14; } } -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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) { _start: { lean_object* x_9; -x_9 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4569,25 +4488,25 @@ lean_dec(x_2); return x_9; } } -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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_13; -x_13 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__2(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 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__2(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_7); return x_13; } } -lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__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) { _start: { lean_object* x_12; -x_12 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__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 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__4(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_6); return x_12; } } -uint8_t l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___lambda__1(lean_object* x_1) { +uint8_t l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -4608,15 +4527,15 @@ return x_5; } } } -lean_object* _init_l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___closed__1() { +lean_object* _init_l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___lambda__1___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___lambda__1___boxed), 1, 0); return x_1; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg(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* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg(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; uint8_t x_8; @@ -4629,7 +4548,7 @@ x_9 = lean_ctor_get(x_7, 0); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); lean_dec(x_9); -x_11 = l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___closed__1; +x_11 = l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___closed__1; x_12 = l_List_find_x3f___main___rarg(x_11, x_10); if (lean_obj_tag(x_12) == 0) { @@ -4662,7 +4581,7 @@ lean_dec(x_7); x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); lean_dec(x_16); -x_19 = l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___closed__1; +x_19 = l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___closed__1; x_20 = l_List_find_x3f___main___rarg(x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -4690,29 +4609,29 @@ return x_25; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef(lean_object* x_1) { +lean_object* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___boxed), 6, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___boxed), 6, 0); return x_2; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___lambda__1___boxed(lean_object* x_1) { +lean_object* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___lambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___lambda__1(x_1); +x_2 = l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___lambda__1(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___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* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___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___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4721,21 +4640,21 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___boxed(lean_object* x_1) { +lean_object* l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef(x_1); +x_2 = l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(uint8_t 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* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(uint8_t 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; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_dec(x_2); -x_10 = l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg(x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg(x_4, x_5, x_6, x_7, x_8, x_9); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -4827,7 +4746,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_31 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_30, x_30, x_3, x_4, x_5, x_6, x_24, x_8, x_28); +x_31 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_30, x_30, x_3, x_4, x_5, x_6, x_24, x_8, x_28); if (lean_obj_tag(x_31) == 0) { lean_object* x_32; uint8_t x_33; @@ -4880,7 +4799,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_45); -x_47 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_46, x_30, x_45, x_4, x_5, x_6, x_24, x_8, x_34); +x_47 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_46, x_30, x_45, x_4, x_5, x_6, x_24, x_8, x_34); if (lean_obj_tag(x_47) == 0) { lean_object* x_48; uint8_t x_49; @@ -4900,7 +4819,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_51 = l___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault(x_3, x_4, x_5, x_6, x_24, x_8, x_50); +x_51 = l___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault(x_3, x_4, x_5, x_6, x_24, x_8, x_50); if (lean_obj_tag(x_51) == 0) { lean_object* x_52; uint8_t x_53; @@ -4919,7 +4838,7 @@ lean_inc(x_24); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_55 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_30, x_30, x_45, x_4, x_5, x_6, x_24, x_8, x_54); +x_55 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_30, x_30, x_45, x_4, x_5, x_6, x_24, x_8, x_54); if (lean_obj_tag(x_55) == 0) { lean_object* x_56; uint8_t x_57; @@ -4939,7 +4858,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_59 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_30, x_46, x_3, x_4, x_5, x_6, x_24, x_8, x_58); +x_59 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_30, x_46, x_3, x_4, x_5, x_6, x_24, x_8, x_58); if (lean_obj_tag(x_59) == 0) { lean_object* x_60; uint8_t x_61; @@ -4953,7 +4872,7 @@ lean_object* x_62; lean_object* x_63; x_62 = lean_ctor_get(x_59, 1); lean_inc(x_62); lean_dec(x_59); -x_63 = l___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars(x_3, x_4, x_5, x_6, x_24, x_8, x_62); +x_63 = l___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars(x_3, x_4, x_5, x_6, x_24, x_8, x_62); return x_63; } else @@ -5259,7 +5178,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_115 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_114, x_114, x_3, x_4, x_5, x_6, x_24, x_8, x_112); +x_115 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_114, x_114, x_3, x_4, x_5, x_6, x_24, x_8, x_112); if (lean_obj_tag(x_115) == 0) { lean_object* x_116; uint8_t x_117; @@ -5312,7 +5231,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_129); -x_131 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_130, x_114, x_129, x_4, x_5, x_6, x_24, x_8, x_118); +x_131 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_130, x_114, x_129, x_4, x_5, x_6, x_24, x_8, x_118); if (lean_obj_tag(x_131) == 0) { lean_object* x_132; uint8_t x_133; @@ -5332,7 +5251,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_135 = l___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault(x_3, x_4, x_5, x_6, x_24, x_8, x_134); +x_135 = l___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault(x_3, x_4, x_5, x_6, x_24, x_8, x_134); if (lean_obj_tag(x_135) == 0) { lean_object* x_136; uint8_t x_137; @@ -5351,7 +5270,7 @@ lean_inc(x_24); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_139 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_114, x_114, x_129, x_4, x_5, x_6, x_24, x_8, x_138); +x_139 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_114, x_114, x_129, x_4, x_5, x_6, x_24, x_8, x_138); if (lean_obj_tag(x_139) == 0) { lean_object* x_140; uint8_t x_141; @@ -5371,7 +5290,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_143 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_114, x_130, x_3, x_4, x_5, x_6, x_24, x_8, x_142); +x_143 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_114, x_130, x_3, x_4, x_5, x_6, x_24, x_8, x_142); if (lean_obj_tag(x_143) == 0) { lean_object* x_144; uint8_t x_145; @@ -5385,7 +5304,7 @@ lean_object* x_146; lean_object* x_147; x_146 = lean_ctor_get(x_143, 1); lean_inc(x_146); lean_dec(x_143); -x_147 = l___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars(x_3, x_4, x_5, x_6, x_24, x_8, x_146); +x_147 = l___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars(x_3, x_4, x_5, x_6, x_24, x_8, x_146); return x_147; } else @@ -5784,7 +5703,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_218 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_217, x_217, x_3, x_4, x_5, x_6, x_211, x_8, x_214); +x_218 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_217, x_217, x_3, x_4, x_5, x_6, x_211, x_8, x_214); if (lean_obj_tag(x_218) == 0) { lean_object* x_219; uint8_t x_220; @@ -5837,7 +5756,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_232); -x_234 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_233, x_217, x_232, x_4, x_5, x_6, x_211, x_8, x_221); +x_234 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_233, x_217, x_232, x_4, x_5, x_6, x_211, x_8, x_221); if (lean_obj_tag(x_234) == 0) { lean_object* x_235; uint8_t x_236; @@ -5857,7 +5776,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_238 = l___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault(x_3, x_4, x_5, x_6, x_211, x_8, x_237); +x_238 = l___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault(x_3, x_4, x_5, x_6, x_211, x_8, x_237); if (lean_obj_tag(x_238) == 0) { lean_object* x_239; uint8_t x_240; @@ -5876,7 +5795,7 @@ lean_inc(x_211); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_242 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_217, x_217, x_232, x_4, x_5, x_6, x_211, x_8, x_241); +x_242 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_217, x_217, x_232, x_4, x_5, x_6, x_211, x_8, x_241); if (lean_obj_tag(x_242) == 0) { lean_object* x_243; uint8_t x_244; @@ -5896,7 +5815,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_246 = l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep(x_217, x_233, x_3, x_4, x_5, x_6, x_211, x_8, x_245); +x_246 = l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep(x_217, x_233, x_3, x_4, x_5, x_6, x_211, x_8, x_245); if (lean_obj_tag(x_246) == 0) { lean_object* x_247; uint8_t x_248; @@ -5910,7 +5829,7 @@ lean_object* x_249; lean_object* x_250; x_249 = lean_ctor_get(x_246, 1); lean_inc(x_249); lean_dec(x_246); -x_250 = l___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars(x_3, x_4, x_5, x_6, x_211, x_8, x_249); +x_250 = l___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars(x_3, x_4, x_5, x_6, x_211, x_8, x_249); return x_250; } else @@ -6206,31 +6125,31 @@ return x_302; } } } -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main___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* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main___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: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux(uint8_t 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* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux(uint8_t 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_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_10; } } -lean_object* l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___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* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___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: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } @@ -6239,7 +6158,7 @@ _start: { lean_object* x_9; lean_object* x_10; x_9 = lean_box(0); -x_10 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_1, x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_1, x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } @@ -6259,14 +6178,14 @@ _start: uint8_t x_8; lean_object* x_9; lean_object* x_10; x_8 = 0; x_9 = lean_box(0); -x_10 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_8, x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_10 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_8, x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_10; } } lean_object* l_Lean_Elab_Term_withSynthesize___rarg(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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +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_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; x_9 = lean_st_ref_get(x_3, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); @@ -6276,319 +6195,299 @@ lean_dec(x_9); x_12 = lean_ctor_get(x_10, 0); lean_inc(x_12); lean_dec(x_10); -x_40 = lean_st_ref_take(x_3, x_11); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_box(0); -x_44 = !lean_is_exclusive(x_41); -if (x_44 == 0) +x_38 = lean_st_ref_take(x_3, x_11); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_box(0); +x_42 = !lean_is_exclusive(x_39); +if (x_42 == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_41, 0); -lean_dec(x_45); -lean_ctor_set(x_41, 0, x_43); -x_46 = lean_st_ref_set(x_3, x_41, x_42); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_39, 0); +lean_dec(x_43); +lean_ctor_set(x_39, 0, x_41); +x_44 = lean_st_ref_set(x_3, x_39, x_40); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_48 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_47); -if (lean_obj_tag(x_48) == 0) +x_46 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_45); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = 0; -x_52 = lean_box(0); +lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = 0; +x_50 = lean_box(0); lean_inc(x_3); -x_53 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_51, x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_50); -if (lean_obj_tag(x_53) == 0) +x_51 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_49, x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_48); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_54 = lean_ctor_get(x_53, 1); +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_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_st_ref_take(x_3, x_52); +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); lean_dec(x_53); -x_55 = lean_st_ref_take(x_3, x_54); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = !lean_is_exclusive(x_56); -if (x_58 == 0) +x_56 = !lean_is_exclusive(x_54); +if (x_56 == 0) { -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_59 = lean_ctor_get(x_56, 0); -x_60 = l_List_append___rarg(x_59, x_12); -lean_ctor_set(x_56, 0, x_60); -x_61 = lean_st_ref_set(x_3, x_56, x_57); +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_57 = lean_ctor_get(x_54, 0); +x_58 = l_List_append___rarg(x_57, x_12); +lean_ctor_set(x_54, 0, x_58); +x_59 = lean_st_ref_set(x_3, x_54, x_55); lean_dec(x_3); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) { -lean_object* x_63; -x_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -lean_ctor_set(x_61, 0, x_49); -return x_61; -} -else -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_61, 1); -lean_inc(x_64); +lean_object* x_61; +x_61 = lean_ctor_get(x_59, 0); lean_dec(x_61); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_49); -lean_ctor_set(x_65, 1, x_64); -return x_65; +lean_ctor_set(x_59, 0, x_47); +return x_59; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_dec(x_59); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_47); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } else { -lean_object* x_66; 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; lean_object* x_78; -x_66 = lean_ctor_get(x_56, 0); -x_67 = lean_ctor_get(x_56, 1); -x_68 = lean_ctor_get(x_56, 2); -x_69 = lean_ctor_get(x_56, 3); -x_70 = lean_ctor_get(x_56, 4); -x_71 = lean_ctor_get(x_56, 5); -x_72 = lean_ctor_get(x_56, 6); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_inc(x_69); +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_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_64 = lean_ctor_get(x_54, 0); +x_65 = lean_ctor_get(x_54, 1); +x_66 = lean_ctor_get(x_54, 2); +x_67 = lean_ctor_get(x_54, 3); +x_68 = lean_ctor_get(x_54, 4); lean_inc(x_68); lean_inc(x_67); lean_inc(x_66); -lean_dec(x_56); -x_73 = l_List_append___rarg(x_66, x_12); -x_74 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_67); -lean_ctor_set(x_74, 2, x_68); -lean_ctor_set(x_74, 3, x_69); -lean_ctor_set(x_74, 4, x_70); -lean_ctor_set(x_74, 5, x_71); -lean_ctor_set(x_74, 6, x_72); -x_75 = lean_st_ref_set(x_3, x_74, x_57); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_54); +x_69 = l_List_append___rarg(x_64, x_12); +x_70 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_65); +lean_ctor_set(x_70, 2, x_66); +lean_ctor_set(x_70, 3, x_67); +lean_ctor_set(x_70, 4, x_68); +x_71 = lean_st_ref_set(x_3, x_70, x_55); lean_dec(x_3); -x_76 = lean_ctor_get(x_75, 1); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_73 = x_71; +} else { + lean_dec_ref(x_71); + x_73 = lean_box(0); +} +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_73; +} +lean_ctor_set(x_74, 0, x_47); +lean_ctor_set(x_74, 1, x_72); +return x_74; +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_47); +x_75 = lean_ctor_get(x_51, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_51, 1); lean_inc(x_76); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_77 = x_75; -} else { - lean_dec_ref(x_75); - x_77 = lean_box(0); -} -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(0, 2, 0); -} else { - x_78 = x_77; -} -lean_ctor_set(x_78, 0, x_49); -lean_ctor_set(x_78, 1, x_76); -return x_78; +lean_dec(x_51); +x_13 = x_75; +x_14 = x_76; +goto block_37; } } else { -lean_object* x_79; lean_object* x_80; -lean_dec(x_49); -x_79 = lean_ctor_get(x_53, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_53, 1); -lean_inc(x_80); -lean_dec(x_53); -x_13 = x_79; -x_14 = x_80; -goto block_39; -} -} -else -{ -lean_object* x_81; lean_object* x_82; +lean_object* x_77; lean_object* x_78; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_81 = lean_ctor_get(x_48, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_48, 1); -lean_inc(x_82); -lean_dec(x_48); -x_13 = x_81; -x_14 = x_82; -goto block_39; +x_77 = lean_ctor_get(x_46, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_46, 1); +lean_inc(x_78); +lean_dec(x_46); +x_13 = x_77; +x_14 = x_78; +goto block_37; } } else { -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; lean_object* x_92; -x_83 = lean_ctor_get(x_41, 1); -x_84 = lean_ctor_get(x_41, 2); -x_85 = lean_ctor_get(x_41, 3); -x_86 = lean_ctor_get(x_41, 4); -x_87 = lean_ctor_get(x_41, 5); -x_88 = lean_ctor_get(x_41, 6); -lean_inc(x_88); -lean_inc(x_87); -lean_inc(x_86); +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; +x_79 = lean_ctor_get(x_39, 1); +x_80 = lean_ctor_get(x_39, 2); +x_81 = lean_ctor_get(x_39, 3); +x_82 = lean_ctor_get(x_39, 4); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_39); +x_83 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_83, 0, x_41); +lean_ctor_set(x_83, 1, x_79); +lean_ctor_set(x_83, 2, x_80); +lean_ctor_set(x_83, 3, x_81); +lean_ctor_set(x_83, 4, x_82); +x_84 = lean_st_ref_set(x_3, x_83, x_40); +x_85 = lean_ctor_get(x_84, 1); lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_41); -x_89 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_89, 0, x_43); -lean_ctor_set(x_89, 1, x_83); -lean_ctor_set(x_89, 2, x_84); -lean_ctor_set(x_89, 3, x_85); -lean_ctor_set(x_89, 4, x_86); -lean_ctor_set(x_89, 5, x_87); -lean_ctor_set(x_89, 6, x_88); -x_90 = lean_st_ref_set(x_3, x_89, x_42); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); +lean_dec(x_84); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_92 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_91); -if (lean_obj_tag(x_92) == 0) +x_86 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_85); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_93; lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = 0; -x_96 = lean_box(0); +lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = 0; +x_90 = lean_box(0); lean_inc(x_3); -x_97 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_95, x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_94); -if (lean_obj_tag(x_97) == 0) +x_91 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_89, x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_88); +if (lean_obj_tag(x_91) == 0) { -lean_object* 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; 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; -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_99 = lean_st_ref_take(x_3, x_98); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_ctor_get(x_100, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -x_104 = lean_ctor_get(x_100, 2); -lean_inc(x_104); -x_105 = lean_ctor_get(x_100, 3); -lean_inc(x_105); -x_106 = lean_ctor_get(x_100, 4); -lean_inc(x_106); -x_107 = lean_ctor_get(x_100, 5); -lean_inc(x_107); -x_108 = lean_ctor_get(x_100, 6); -lean_inc(x_108); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - lean_ctor_release(x_100, 2); - lean_ctor_release(x_100, 3); - lean_ctor_release(x_100, 4); - lean_ctor_release(x_100, 5); - lean_ctor_release(x_100, 6); - x_109 = x_100; -} else { - lean_dec_ref(x_100); - x_109 = lean_box(0); -} -x_110 = l_List_append___rarg(x_102, x_12); -if (lean_is_scalar(x_109)) { - x_111 = lean_alloc_ctor(0, 7, 0); -} else { - x_111 = x_109; -} -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_103); -lean_ctor_set(x_111, 2, x_104); -lean_ctor_set(x_111, 3, x_105); -lean_ctor_set(x_111, 4, x_106); -lean_ctor_set(x_111, 5, x_107); -lean_ctor_set(x_111, 6, x_108); -x_112 = lean_st_ref_set(x_3, x_111, x_101); -lean_dec(x_3); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_114 = x_112; -} else { - lean_dec_ref(x_112); - x_114 = lean_box(0); -} -if (lean_is_scalar(x_114)) { - x_115 = lean_alloc_ctor(0, 2, 0); -} else { - x_115 = x_114; -} -lean_ctor_set(x_115, 0, x_93); -lean_ctor_set(x_115, 1, x_113); -return x_115; -} -else -{ -lean_object* x_116; lean_object* x_117; +lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +lean_dec(x_91); +x_93 = lean_st_ref_take(x_3, x_92); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); lean_dec(x_93); -x_116 = lean_ctor_get(x_97, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_97, 1); -lean_inc(x_117); -lean_dec(x_97); -x_13 = x_116; -x_14 = x_117; -goto block_39; +x_96 = lean_ctor_get(x_94, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_94, 2); +lean_inc(x_98); +x_99 = lean_ctor_get(x_94, 3); +lean_inc(x_99); +x_100 = lean_ctor_get(x_94, 4); +lean_inc(x_100); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + lean_ctor_release(x_94, 2); + lean_ctor_release(x_94, 3); + lean_ctor_release(x_94, 4); + x_101 = x_94; +} else { + lean_dec_ref(x_94); + x_101 = lean_box(0); +} +x_102 = l_List_append___rarg(x_96, x_12); +if (lean_is_scalar(x_101)) { + x_103 = lean_alloc_ctor(0, 5, 0); +} else { + x_103 = x_101; +} +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_97); +lean_ctor_set(x_103, 2, x_98); +lean_ctor_set(x_103, 3, x_99); +lean_ctor_set(x_103, 4, x_100); +x_104 = lean_st_ref_set(x_3, x_103, x_95); +lean_dec(x_3); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_106 = x_104; +} else { + lean_dec_ref(x_104); + x_106 = lean_box(0); +} +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(0, 2, 0); +} else { + x_107 = x_106; +} +lean_ctor_set(x_107, 0, x_87); +lean_ctor_set(x_107, 1, x_105); +return x_107; +} +else +{ +lean_object* x_108; lean_object* x_109; +lean_dec(x_87); +x_108 = lean_ctor_get(x_91, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_91, 1); +lean_inc(x_109); +lean_dec(x_91); +x_13 = x_108; +x_14 = x_109; +goto block_37; } } else { -lean_object* x_118; lean_object* x_119; +lean_object* x_110; lean_object* x_111; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_118 = lean_ctor_get(x_92, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_92, 1); -lean_inc(x_119); -lean_dec(x_92); -x_13 = x_118; -x_14 = x_119; -goto block_39; +x_110 = lean_ctor_get(x_86, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_86, 1); +lean_inc(x_111); +lean_dec(x_86); +x_13 = x_110; +x_14 = x_111; +goto block_37; } } -block_39: +block_37: { lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_15 = lean_st_ref_take(x_3, x_14); @@ -6630,52 +6529,46 @@ return x_25; } else { -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_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_ctor_get(x_16, 0); x_27 = lean_ctor_get(x_16, 1); x_28 = lean_ctor_get(x_16, 2); x_29 = lean_ctor_get(x_16, 3); x_30 = lean_ctor_get(x_16, 4); -x_31 = lean_ctor_get(x_16, 5); -x_32 = lean_ctor_get(x_16, 6); -lean_inc(x_32); -lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_dec(x_16); -x_33 = l_List_append___rarg(x_26, x_12); -x_34 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_27); -lean_ctor_set(x_34, 2, x_28); -lean_ctor_set(x_34, 3, x_29); -lean_ctor_set(x_34, 4, x_30); -lean_ctor_set(x_34, 5, x_31); -lean_ctor_set(x_34, 6, x_32); -x_35 = lean_st_ref_set(x_3, x_34, x_17); +x_31 = l_List_append___rarg(x_26, x_12); +x_32 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_27); +lean_ctor_set(x_32, 2, x_28); +lean_ctor_set(x_32, 3, x_29); +lean_ctor_set(x_32, 4, x_30); +x_33 = lean_st_ref_set(x_3, x_32, x_17); lean_dec(x_3); -x_36 = lean_ctor_get(x_35, 1); -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; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; } else { - lean_dec_ref(x_35); - x_37 = lean_box(0); + lean_dec_ref(x_33); + x_35 = lean_box(0); } -if (lean_is_scalar(x_37)) { - x_38 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(1, 2, 0); } else { - x_38 = x_37; - lean_ctor_set_tag(x_38, 1); + x_36 = x_35; + lean_ctor_set_tag(x_36, 1); } -lean_ctor_set(x_38, 0, x_13); -lean_ctor_set(x_38, 1, x_36); -return x_38; +lean_ctor_set(x_36, 0, x_13); +lean_ctor_set(x_36, 1, x_34); +return x_36; } } } @@ -6869,60 +6762,60 @@ l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3 = _init_l_Lean_Elab_Term lean_mark_persistent(l_Lean_Elab_Term_ensureAssignmentHasNoMVars___closed__3); l_Lean_Elab_Term_runTactic___closed__1 = _init_l_Lean_Elab_Term_runTactic___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_runTactic___closed__1); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__1 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__1(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__1); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__2 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__2(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__2); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__3 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__3(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__3); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__4 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__4(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__4); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__5 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__5(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__5); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__6 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__6(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__6); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__7 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__7(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__7); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__8 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__8(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__8); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__9 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__9(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__2___closed__9); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__1); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__2 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__2); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__3 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__3); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__4 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__4); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__5 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__5); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__6 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__6); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__7 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__7); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__8 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__8); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__9 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__9(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__9); -l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__10 = _init_l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__10(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__10); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__1 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__1(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__1); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__2 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__2(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__2); -l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__3 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__3(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__3); -l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1 = _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1(); -lean_mark_persistent(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1); -l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2 = _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2(); -lean_mark_persistent(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2); -l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3 = _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3(); -lean_mark_persistent(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3); -l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1 = _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1(); -lean_mark_persistent(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1); -l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___closed__1); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__1 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__1(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__1); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__2 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__2(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__2); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__3 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__3(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__3); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__4 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__4(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__4); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__5 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__5(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__5); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__6 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__6(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__6); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__7 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__7(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__7); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__8 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__8(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__8); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__9 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__9(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___spec__2___closed__9); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__1); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__2 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__2); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__3 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__3); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__4 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__4); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__5 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__5); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__6 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__6); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__7 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__7); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__8 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__8); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__9 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__9); +l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__10 = _init_l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__10(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_9__synthesizeSyntheticMVarsStep___closed__10); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__1 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__1(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__1); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__2 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__2(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__2); +l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__3 = _init_l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__3(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_10__synthesizeUsingDefault___spec__1___lambda__1___closed__3); +l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1 = _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1(); +lean_mark_persistent(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1); +l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2 = _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2(); +lean_mark_persistent(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2); +l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3 = _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3(); +lean_mark_persistent(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3); +l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1 = _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1(); +lean_mark_persistent(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_11__reportStuckSyntheticMVars___spec__1___lambda__3___closed__1); +l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_SyntheticMVars_12__getSomeSynthethicMVarsRef___rarg___closed__1); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 5165a731dc..6e5af0ee8e 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -261,7 +261,6 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNestedTacticBlock___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__1; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_erase___main___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__2(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1; @@ -331,6 +330,7 @@ lean_object* l_Lean_Elab_Tactic_saveAllState___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_State_inhabited; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_QSort_1__qpartitionAux___main___at___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10; lean_object* l_Lean_Meta_isExprMVarAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); @@ -373,7 +373,6 @@ lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNestedTacticBlock(lean_object*); lean_object* l_Lean_Elab_Tactic_liftTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); -extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; lean_object* l_Lean_Elab_Tactic_evalSubst___closed__2; lean_object* l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__3; @@ -448,6 +447,7 @@ lean_object* l_Lean_Elab_Tactic_adaptExpander(lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_focusAux___rarg(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_getFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; lean_object* l_Lean_Meta_getMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___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* l___regBuiltin_Lean_Elab_Tactic_evalSeq___closed__3; lean_object* l_Lean_Meta_intro1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -463,7 +463,6 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTraceState___boxed(lean_object*); lean_object* l_Lean_Elab_Term_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getTailWithPos___main(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Tactic_BacktrackableState_restore___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* l___private_Lean_Elab_Tactic_Basic_3__introStep(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_tacticElabAttribute___closed__3; @@ -512,7 +511,6 @@ lean_object* lean_usize_to_nat(size_t); extern lean_object* l_Lean_Elab_mkMacroAttribute___closed__2; lean_object* l_Lean_Elab_Tactic_orelse___rarg(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_getCurrMacroScope(lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Tactic_getFVarIds___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_object* l_Lean_Elab_Tactic_getMainModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__4(lean_object*, size_t, lean_object*); @@ -525,6 +523,7 @@ lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__6; lean_object* l_Lean_Elab_Tactic_getFVarId___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_Elab_Tactic_monadQuotation___closed__3; lean_object* l___private_Init_Data_Array_QSort_1__qpartitionAux___main___at___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__13___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___regBuiltin_Lean_Elab_Tactic_evalCase(lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1(lean_object*); @@ -663,36 +662,14 @@ return x_3; lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_6, 3); -lean_inc(x_9); -lean_inc(x_9); -x_10 = l_Lean_Syntax_getTailWithPos___main(x_9); -x_11 = l_Lean_Elab_goalsToMessageData(x_1); -x_12 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__4; -x_13 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_14; -x_14 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_9, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_6); -lean_dec(x_9); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_9); -x_15 = lean_ctor_get(x_10, 0); -lean_inc(x_15); -lean_dec(x_10); -x_16 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_6); -lean_dec(x_15); -return x_16; -} +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = l_Lean_Elab_goalsToMessageData(x_1); +x_10 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__4; +x_11 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_12; } } lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___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) { @@ -701,6 +678,7 @@ _start: lean_object* x_9; x_9 = l_Lean_Elab_Term_reportUnsolvedGoals(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1833,6 +1811,7 @@ _start: lean_object* x_11; x_11 = l_Lean_Elab_Tactic_reportUnsolvedGoals(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -1991,10 +1970,10 @@ x_14 = !lean_is_exclusive(x_12); if (x_14 == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_15 = lean_ctor_get(x_12, 5); +x_15 = lean_ctor_get(x_12, 3); x_16 = lean_unsigned_to_nat(1u); x_17 = lean_nat_add(x_15, x_16); -lean_ctor_set(x_12, 5, x_17); +lean_ctor_set(x_12, 3, x_17); x_18 = lean_st_ref_set(x_5, x_12, x_13); x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); @@ -2048,53 +2027,47 @@ return x_34; } 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; 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; uint8_t x_54; uint8_t x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +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; uint8_t x_52; uint8_t x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_35 = lean_ctor_get(x_12, 0); x_36 = lean_ctor_get(x_12, 1); x_37 = lean_ctor_get(x_12, 2); x_38 = lean_ctor_get(x_12, 3); x_39 = lean_ctor_get(x_12, 4); -x_40 = lean_ctor_get(x_12, 5); -x_41 = lean_ctor_get(x_12, 6); -lean_inc(x_41); -lean_inc(x_40); lean_inc(x_39); lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); lean_dec(x_12); -x_42 = lean_unsigned_to_nat(1u); -x_43 = lean_nat_add(x_40, x_42); -x_44 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_44, 0, x_35); -lean_ctor_set(x_44, 1, x_36); -lean_ctor_set(x_44, 2, x_37); -lean_ctor_set(x_44, 3, x_38); -lean_ctor_set(x_44, 4, x_39); -lean_ctor_set(x_44, 5, x_43); -lean_ctor_set(x_44, 6, x_41); -x_45 = lean_st_ref_set(x_5, x_44, x_13); -x_46 = lean_ctor_get(x_45, 1); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_38, x_40); +x_42 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_42, 0, x_35); +lean_ctor_set(x_42, 1, x_36); +lean_ctor_set(x_42, 2, x_37); +lean_ctor_set(x_42, 3, x_41); +lean_ctor_set(x_42, 4, x_39); +x_43 = lean_st_ref_set(x_5, x_42, x_13); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_ctor_get(x_4, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_4, 1); lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_ctor_get(x_4, 0); +x_47 = lean_ctor_get(x_4, 2); lean_inc(x_47); -x_48 = lean_ctor_get(x_4, 1); +x_48 = lean_ctor_get(x_4, 3); lean_inc(x_48); -x_49 = lean_ctor_get(x_4, 2); +x_49 = lean_ctor_get(x_4, 4); lean_inc(x_49); -x_50 = lean_ctor_get(x_4, 3); +x_50 = lean_ctor_get(x_4, 5); lean_inc(x_50); -x_51 = lean_ctor_get(x_4, 4); +x_51 = lean_ctor_get(x_4, 6); lean_inc(x_51); -x_52 = lean_ctor_get(x_4, 5); -lean_inc(x_52); -x_53 = lean_ctor_get(x_4, 6); -lean_inc(x_53); -x_54 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_55 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_56 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_52 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_53 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_54 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -2104,29 +2077,29 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 5); lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); - x_57 = x_4; + x_55 = x_4; } else { lean_dec_ref(x_4); - x_57 = lean_box(0); + x_55 = lean_box(0); } -if (lean_is_scalar(x_57)) { - x_58 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(0, 8, 3); } else { - x_58 = x_57; + x_56 = x_55; } -lean_ctor_set(x_58, 0, x_47); -lean_ctor_set(x_58, 1, x_48); -lean_ctor_set(x_58, 2, x_49); -lean_ctor_set(x_58, 3, x_50); -lean_ctor_set(x_58, 4, x_51); -lean_ctor_set(x_58, 5, x_52); -lean_ctor_set(x_58, 6, x_53); -lean_ctor_set(x_58, 7, x_40); -lean_ctor_set_uint8(x_58, sizeof(void*)*8, x_54); -lean_ctor_set_uint8(x_58, sizeof(void*)*8 + 1, x_55); -lean_ctor_set_uint8(x_58, sizeof(void*)*8 + 2, x_56); -x_59 = lean_apply_9(x_1, x_2, x_3, x_58, x_5, x_6, x_7, x_8, x_9, x_46); -return x_59; +lean_ctor_set(x_56, 0, x_45); +lean_ctor_set(x_56, 1, x_46); +lean_ctor_set(x_56, 2, x_47); +lean_ctor_set(x_56, 3, x_48); +lean_ctor_set(x_56, 4, x_49); +lean_ctor_set(x_56, 5, x_50); +lean_ctor_set(x_56, 6, x_51); +lean_ctor_set(x_56, 7, x_38); +lean_ctor_set_uint8(x_56, sizeof(void*)*8, x_52); +lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 1, x_53); +lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 2, x_54); +x_57 = lean_apply_9(x_1, x_2, x_3, x_56, x_5, x_6, x_7, x_8, x_9, x_44); +return x_57; } } } @@ -2892,7 +2865,7 @@ lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = lean_ctor_get(x_41, 5); +x_43 = lean_ctor_get(x_41, 3); lean_inc(x_43); lean_dec(x_41); x_44 = lean_ctor_get(x_10, 1); @@ -2925,9 +2898,9 @@ x_54 = !lean_is_exclusive(x_52); if (x_54 == 0) { lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_52, 5); +x_55 = lean_ctor_get(x_52, 3); lean_dec(x_55); -lean_ctor_set(x_52, 5, x_50); +lean_ctor_set(x_52, 3, x_50); x_56 = lean_st_ref_set(x_7, x_52, x_53); x_57 = lean_ctor_get(x_56, 1); lean_inc(x_57); @@ -3018,32 +2991,26 @@ goto _start; } else { -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; +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; x_68 = lean_ctor_get(x_52, 0); x_69 = lean_ctor_get(x_52, 1); x_70 = lean_ctor_get(x_52, 2); -x_71 = lean_ctor_get(x_52, 3); -x_72 = lean_ctor_get(x_52, 4); -x_73 = lean_ctor_get(x_52, 6); -lean_inc(x_73); -lean_inc(x_72); +x_71 = lean_ctor_get(x_52, 4); lean_inc(x_71); lean_inc(x_70); lean_inc(x_69); lean_inc(x_68); lean_dec(x_52); -x_74 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_74, 0, x_68); -lean_ctor_set(x_74, 1, x_69); -lean_ctor_set(x_74, 2, x_70); -lean_ctor_set(x_74, 3, x_71); -lean_ctor_set(x_74, 4, x_72); -lean_ctor_set(x_74, 5, x_50); -lean_ctor_set(x_74, 6, x_73); -x_75 = lean_st_ref_set(x_7, x_74, x_53); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); +x_72 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_72, 0, x_68); +lean_ctor_set(x_72, 1, x_69); +lean_ctor_set(x_72, 2, x_70); +lean_ctor_set(x_72, 3, x_50); +lean_ctor_set(x_72, 4, x_71); +x_73 = lean_st_ref_set(x_7, x_72, x_53); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); lean_inc(x_1); lean_inc(x_11); lean_inc(x_10); @@ -3053,8 +3020,8 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_77 = lean_apply_10(x_1, x_49, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_76); -if (lean_obj_tag(x_77) == 0) +x_75 = lean_apply_10(x_1, x_49, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_74); +if (lean_obj_tag(x_75) == 0) { lean_dec(x_31); lean_dec(x_27); @@ -3068,21 +3035,21 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -return x_77; +return x_75; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); lean_inc(x_6); -x_80 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_79); +x_78 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_77); if (lean_obj_tag(x_27) == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3093,61 +3060,61 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - x_82 = x_80; +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_80 = x_78; } else { - lean_dec_ref(x_80); - x_82 = lean_box(0); + lean_dec_ref(x_78); + x_80 = lean_box(0); } -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(1, 2, 0); } else { - x_83 = x_82; - lean_ctor_set_tag(x_83, 1); + x_81 = x_80; + lean_ctor_set_tag(x_81, 1); +} +lean_ctor_set(x_81, 0, x_76); +lean_ctor_set(x_81, 1, x_79); +return x_81; +} +else +{ +lean_object* x_82; +lean_dec(x_76); +x_82 = lean_ctor_get(x_78, 1); +lean_inc(x_82); +lean_dec(x_78); +x_3 = x_27; +x_12 = x_82; +goto _start; +} +} } -lean_ctor_set(x_83, 0, x_78); -lean_ctor_set(x_83, 1, x_81); -return x_83; } else { lean_object* x_84; -lean_dec(x_78); -x_84 = lean_ctor_get(x_80, 1); +x_84 = lean_ctor_get(x_48, 0); lean_inc(x_84); -lean_dec(x_80); -x_3 = x_27; -x_12 = x_84; -goto _start; -} -} -} -} -else -{ -lean_object* x_86; -x_86 = lean_ctor_get(x_48, 0); -lean_inc(x_86); lean_dec(x_48); -if (lean_obj_tag(x_86) == 0) +if (lean_obj_tag(x_84) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_90, 0, x_89); -x_91 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__1; -x_92 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__3; -x_93 = l_Lean_throwErrorAt___rarg(x_91, x_92, lean_box(0), x_87, x_90); +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; lean_object* x_92; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_87, 0, x_86); +x_88 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_89 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__1; +x_90 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__3; +x_91 = l_Lean_throwErrorAt___rarg(x_89, x_90, lean_box(0), x_85, x_88); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -3156,54 +3123,54 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_94 = lean_apply_9(x_93, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_42); -if (lean_obj_tag(x_94) == 0) +x_92 = lean_apply_9(x_91, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +if (lean_obj_tag(x_92) == 0) { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +lean_inc(x_1); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_95 = lean_apply_10(x_1, x_93, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_94); +if (lean_obj_tag(x_95) == 0) +{ +lean_dec(x_31); +lean_dec(x_27); +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_2); +lean_dec(x_1); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_95, 0); lean_inc(x_96); -lean_dec(x_94); -lean_inc(x_1); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_97 = lean_apply_10(x_1, x_95, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_96); -if (lean_obj_tag(x_97) == 0) -{ -lean_dec(x_31); -lean_dec(x_27); -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_2); -lean_dec(x_1); -return x_97; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -lean_inc(x_6); -x_100 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_99); +x_98 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_97); if (lean_obj_tag(x_27) == 0) { -uint8_t x_101; +uint8_t x_99; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3214,54 +3181,54 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) +x_99 = !lean_is_exclusive(x_98); +if (x_99 == 0) { -lean_object* x_102; -x_102 = lean_ctor_get(x_100, 0); -lean_dec(x_102); -lean_ctor_set_tag(x_100, 1); -lean_ctor_set(x_100, 0, x_98); -return x_100; -} -else -{ -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); +lean_object* x_100; +x_100 = lean_ctor_get(x_98, 0); lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_98); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} +lean_ctor_set_tag(x_98, 1); +lean_ctor_set(x_98, 0, x_96); +return x_98; } else { -lean_object* x_105; +lean_object* x_101; lean_object* x_102; +x_101 = lean_ctor_get(x_98, 1); +lean_inc(x_101); +lean_dec(x_98); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_96); +lean_ctor_set(x_102, 1, x_101); +return x_102; +} +} +else +{ +lean_object* x_103; +lean_dec(x_96); +x_103 = lean_ctor_get(x_98, 1); +lean_inc(x_103); lean_dec(x_98); -x_105 = lean_ctor_get(x_100, 1); -lean_inc(x_105); -lean_dec(x_100); x_3 = x_27; -x_12 = x_105; +x_12 = x_103; goto _start; } } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_94, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_94, 1); -lean_inc(x_108); -lean_dec(x_94); +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_92, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_92, 1); +lean_inc(x_106); +lean_dec(x_92); lean_inc(x_6); -x_109 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_108); +x_107 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_106); if (lean_obj_tag(x_27) == 0) { -uint8_t x_110; +uint8_t x_108; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3272,48 +3239,48 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_110 = !lean_is_exclusive(x_109); -if (x_110 == 0) +x_108 = !lean_is_exclusive(x_107); +if (x_108 == 0) { -lean_object* x_111; -x_111 = lean_ctor_get(x_109, 0); -lean_dec(x_111); -lean_ctor_set_tag(x_109, 1); -lean_ctor_set(x_109, 0, x_107); -return x_109; -} -else -{ -lean_object* x_112; lean_object* x_113; -x_112 = lean_ctor_get(x_109, 1); -lean_inc(x_112); +lean_object* x_109; +x_109 = lean_ctor_get(x_107, 0); lean_dec(x_109); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_107); -lean_ctor_set(x_113, 1, x_112); -return x_113; -} +lean_ctor_set_tag(x_107, 1); +lean_ctor_set(x_107, 0, x_105); +return x_107; } else { -lean_object* x_114; +lean_object* x_110; lean_object* x_111; +x_110 = lean_ctor_get(x_107, 1); +lean_inc(x_110); +lean_dec(x_107); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_105); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} +} +else +{ +lean_object* x_112; +lean_dec(x_105); +x_112 = lean_ctor_get(x_107, 1); +lean_inc(x_112); lean_dec(x_107); -x_114 = lean_ctor_get(x_109, 1); -lean_inc(x_114); -lean_dec(x_109); x_3 = x_27; -x_12 = x_114; +x_12 = x_112; goto _start; } } } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_116 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__3; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_117); +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__3; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_115); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -3322,15 +3289,15 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_119 = lean_apply_9(x_118, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_42); -if (lean_obj_tag(x_119) == 0) +x_117 = lean_apply_9(x_116, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +if (lean_obj_tag(x_117) == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); lean_inc(x_1); lean_inc(x_11); lean_inc(x_10); @@ -3340,8 +3307,8 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_122 = lean_apply_10(x_1, x_120, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_121); -if (lean_obj_tag(x_122) == 0) +x_120 = lean_apply_10(x_1, x_118, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_119); +if (lean_obj_tag(x_120) == 0) { lean_dec(x_31); lean_dec(x_27); @@ -3355,21 +3322,21 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -return x_122; +return x_120; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); lean_inc(x_6); -x_125 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_124); +x_123 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_122); if (lean_obj_tag(x_27) == 0) { -uint8_t x_126; +uint8_t x_124; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3380,54 +3347,54 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_126 = !lean_is_exclusive(x_125); -if (x_126 == 0) +x_124 = !lean_is_exclusive(x_123); +if (x_124 == 0) { -lean_object* x_127; -x_127 = lean_ctor_get(x_125, 0); -lean_dec(x_127); -lean_ctor_set_tag(x_125, 1); -lean_ctor_set(x_125, 0, x_123); -return x_125; -} -else -{ -lean_object* x_128; lean_object* x_129; -x_128 = lean_ctor_get(x_125, 1); -lean_inc(x_128); +lean_object* x_125; +x_125 = lean_ctor_get(x_123, 0); lean_dec(x_125); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_123); -lean_ctor_set(x_129, 1, x_128); -return x_129; -} +lean_ctor_set_tag(x_123, 1); +lean_ctor_set(x_123, 0, x_121); +return x_123; } else { -lean_object* x_130; +lean_object* x_126; lean_object* x_127; +x_126 = lean_ctor_get(x_123, 1); +lean_inc(x_126); +lean_dec(x_123); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_121); +lean_ctor_set(x_127, 1, x_126); +return x_127; +} +} +else +{ +lean_object* x_128; +lean_dec(x_121); +x_128 = lean_ctor_get(x_123, 1); +lean_inc(x_128); lean_dec(x_123); -x_130 = lean_ctor_get(x_125, 1); -lean_inc(x_130); -lean_dec(x_125); x_3 = x_27; -x_12 = x_130; +x_12 = x_128; goto _start; } } } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_119, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_119, 1); -lean_inc(x_133); -lean_dec(x_119); +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_117, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_117, 1); +lean_inc(x_131); +lean_dec(x_117); lean_inc(x_6); -x_134 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_133); +x_132 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_131); if (lean_obj_tag(x_27) == 0) { -uint8_t x_135; +uint8_t x_133; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3438,37 +3405,37 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_135 = !lean_is_exclusive(x_134); -if (x_135 == 0) +x_133 = !lean_is_exclusive(x_132); +if (x_133 == 0) { -lean_object* x_136; -x_136 = lean_ctor_get(x_134, 0); -lean_dec(x_136); -lean_ctor_set_tag(x_134, 1); -lean_ctor_set(x_134, 0, x_132); -return x_134; -} -else -{ -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_134, 1); -lean_inc(x_137); +lean_object* x_134; +x_134 = lean_ctor_get(x_132, 0); lean_dec(x_134); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_132); -lean_ctor_set(x_138, 1, x_137); -return x_138; -} +lean_ctor_set_tag(x_132, 1); +lean_ctor_set(x_132, 0, x_130); +return x_132; } else { -lean_object* x_139; +lean_object* x_135; lean_object* x_136; +x_135 = lean_ctor_get(x_132, 1); +lean_inc(x_135); +lean_dec(x_132); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_130); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +else +{ +lean_object* x_137; +lean_dec(x_130); +x_137 = lean_ctor_get(x_132, 1); +lean_inc(x_137); lean_dec(x_132); -x_139 = lean_ctor_get(x_134, 1); -lean_inc(x_139); -lean_dec(x_134); x_3 = x_27; -x_12 = x_139; +x_12 = x_137; goto _start; } } @@ -3927,7 +3894,7 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); lean_dec(x_36); -x_39 = lean_ctor_get(x_37, 5); +x_39 = lean_ctor_get(x_37, 3); lean_inc(x_39); lean_dec(x_37); x_40 = lean_ctor_get(x_9, 1); @@ -3960,9 +3927,9 @@ x_50 = !lean_is_exclusive(x_48); if (x_50 == 0) { lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_51 = lean_ctor_get(x_48, 5); +x_51 = lean_ctor_get(x_48, 3); lean_dec(x_51); -lean_ctor_set(x_48, 5, x_46); +lean_ctor_set(x_48, 3, x_46); x_52 = lean_st_ref_set(x_6, x_48, x_49); x_53 = lean_ctor_get(x_52, 1); lean_inc(x_53); @@ -4050,32 +4017,26 @@ goto _start; } else { -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_object* x_71; lean_object* x_72; lean_object* x_73; +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_object* x_71; x_64 = lean_ctor_get(x_48, 0); x_65 = lean_ctor_get(x_48, 1); x_66 = lean_ctor_get(x_48, 2); -x_67 = lean_ctor_get(x_48, 3); -x_68 = lean_ctor_get(x_48, 4); -x_69 = lean_ctor_get(x_48, 6); -lean_inc(x_69); -lean_inc(x_68); +x_67 = lean_ctor_get(x_48, 4); lean_inc(x_67); lean_inc(x_66); lean_inc(x_65); lean_inc(x_64); lean_dec(x_48); -x_70 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_70, 0, x_64); -lean_ctor_set(x_70, 1, x_65); -lean_ctor_set(x_70, 2, x_66); -lean_ctor_set(x_70, 3, x_67); -lean_ctor_set(x_70, 4, x_68); -lean_ctor_set(x_70, 5, x_46); -lean_ctor_set(x_70, 6, x_69); -x_71 = lean_st_ref_set(x_6, x_70, x_49); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); +x_68 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_68, 0, x_64); +lean_ctor_set(x_68, 1, x_65); +lean_ctor_set(x_68, 2, x_66); +lean_ctor_set(x_68, 3, x_46); +lean_ctor_set(x_68, 4, x_67); +x_69 = lean_st_ref_set(x_6, x_68, x_49); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -4084,8 +4045,8 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_73 = l_Lean_Elab_Tactic_evalTactic___main(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_72); -if (lean_obj_tag(x_73) == 0) +x_71 = l_Lean_Elab_Tactic_evalTactic___main(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_70); +if (lean_obj_tag(x_71) == 0) { lean_dec(x_27); lean_dec(x_23); @@ -4098,21 +4059,21 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_73; +return x_71; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); lean_inc(x_5); -x_76 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_75); +x_74 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); if (lean_obj_tag(x_23) == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4122,71 +4083,71 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_78 = x_76; +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; } else { - lean_dec_ref(x_76); - x_78 = lean_box(0); + lean_dec_ref(x_74); + x_76 = lean_box(0); } -if (lean_is_scalar(x_78)) { - x_79 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); } else { - x_79 = x_78; - lean_ctor_set_tag(x_79, 1); + x_77 = x_76; + lean_ctor_set_tag(x_77, 1); +} +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +else +{ +lean_object* x_78; +lean_dec(x_72); +x_78 = lean_ctor_get(x_74, 1); +lean_inc(x_78); +lean_dec(x_74); +x_2 = x_23; +x_11 = x_78; +goto _start; +} +} } -lean_ctor_set(x_79, 0, x_74); -lean_ctor_set(x_79, 1, x_77); -return x_79; } else { lean_object* x_80; -lean_dec(x_74); -x_80 = lean_ctor_get(x_76, 1); +x_80 = lean_ctor_get(x_44, 0); lean_inc(x_80); -lean_dec(x_76); -x_2 = x_23; -x_11 = x_80; -goto _start; -} -} -} -} -else -{ -lean_object* x_82; -x_82 = lean_ctor_get(x_44, 0); -lean_inc(x_82); lean_dec(x_44); -if (lean_obj_tag(x_82) == 0) +if (lean_obj_tag(x_80) == 0) { -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; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_86 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_86, 0, x_85); +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; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_84 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_84, 0, x_83); lean_inc(x_5); -x_87 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main___spec__1___rarg(x_83, x_86, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); -lean_dec(x_83); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); +x_85 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main___spec__1___rarg(x_81, x_84, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); +lean_dec(x_81); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); lean_inc(x_5); -x_90 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_89); +x_88 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_87); if (lean_obj_tag(x_23) == 0) { -uint8_t x_91; +uint8_t x_89; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4196,54 +4157,54 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) +x_89 = !lean_is_exclusive(x_88); +if (x_89 == 0) { -lean_object* x_92; -x_92 = lean_ctor_get(x_90, 0); -lean_dec(x_92); -lean_ctor_set_tag(x_90, 1); -lean_ctor_set(x_90, 0, x_88); -return x_90; -} -else -{ -lean_object* x_93; lean_object* x_94; -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); +lean_object* x_90; +x_90 = lean_ctor_get(x_88, 0); lean_dec(x_90); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_88); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} +lean_ctor_set_tag(x_88, 1); +lean_ctor_set(x_88, 0, x_86); +return x_88; } else { -lean_object* x_95; +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_91); +lean_dec(x_88); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_86); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} +} +else +{ +lean_object* x_93; +lean_dec(x_86); +x_93 = lean_ctor_get(x_88, 1); +lean_inc(x_93); lean_dec(x_88); -x_95 = lean_ctor_get(x_90, 1); -lean_inc(x_95); -lean_dec(x_90); x_2 = x_23; -x_11 = x_95; +x_11 = x_93; goto _start; } } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_97 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic___main___spec__9___rarg(x_38); -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_95 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic___main___spec__9___rarg(x_38); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); lean_inc(x_5); -x_100 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_99); +x_98 = l_Lean_Elab_Tactic_BacktrackableState_restore(x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_97); if (lean_obj_tag(x_23) == 0) { -uint8_t x_101; +uint8_t x_99; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4253,37 +4214,37 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) +x_99 = !lean_is_exclusive(x_98); +if (x_99 == 0) { -lean_object* x_102; -x_102 = lean_ctor_get(x_100, 0); -lean_dec(x_102); -lean_ctor_set_tag(x_100, 1); -lean_ctor_set(x_100, 0, x_98); -return x_100; -} -else -{ -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); +lean_object* x_100; +x_100 = lean_ctor_get(x_98, 0); lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_98); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} +lean_ctor_set_tag(x_98, 1); +lean_ctor_set(x_98, 0, x_96); +return x_98; } else { -lean_object* x_105; +lean_object* x_101; lean_object* x_102; +x_101 = lean_ctor_get(x_98, 1); +lean_inc(x_101); +lean_dec(x_98); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_96); +lean_ctor_set(x_102, 1, x_101); +return x_102; +} +} +else +{ +lean_object* x_103; +lean_dec(x_96); +x_103 = lean_ctor_get(x_98, 1); +lean_inc(x_103); lean_dec(x_98); -x_105 = lean_ctor_get(x_100, 1); -lean_inc(x_105); -lean_dec(x_100); x_2 = x_23; -x_11 = x_105; +x_11 = x_103; goto _start; } } @@ -4361,162 +4322,150 @@ return x_38; } else { -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_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; x_39 = lean_ctor_get(x_27, 0); x_40 = lean_ctor_get(x_27, 1); x_41 = lean_ctor_get(x_27, 2); x_42 = lean_ctor_get(x_27, 3); x_43 = lean_ctor_get(x_27, 4); -x_44 = lean_ctor_get(x_27, 5); -x_45 = lean_ctor_get(x_27, 6); -lean_inc(x_45); -lean_inc(x_44); lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); lean_inc(x_40); lean_inc(x_39); lean_dec(x_27); -x_46 = l_Std_PersistentArray_push___rarg(x_41, x_25); -x_47 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_47, 0, x_39); -lean_ctor_set(x_47, 1, x_40); -lean_ctor_set(x_47, 2, x_46); -lean_ctor_set(x_47, 3, x_42); -lean_ctor_set(x_47, 4, x_43); -lean_ctor_set(x_47, 5, x_44); -lean_ctor_set(x_47, 6, x_45); -x_48 = lean_st_ref_set(x_7, x_47, x_28); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -if (lean_is_exclusive(x_48)) { - lean_ctor_release(x_48, 0); - lean_ctor_release(x_48, 1); +x_44 = l_Std_PersistentArray_push___rarg(x_41, x_25); +x_45 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_45, 0, x_39); +lean_ctor_set(x_45, 1, x_40); +lean_ctor_set(x_45, 2, x_44); +lean_ctor_set(x_45, 3, x_42); +lean_ctor_set(x_45, 4, x_43); +x_46 = lean_st_ref_set(x_7, x_45, x_28); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_48 = x_46; +} else { + lean_dec_ref(x_46); + x_48 = lean_box(0); +} +x_49 = lean_box(0); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { x_50 = x_48; -} else { - lean_dec_ref(x_48); - x_50 = lean_box(0); } -x_51 = lean_box(0); -if (lean_is_scalar(x_50)) { - x_52 = lean_alloc_ctor(0, 2, 0); -} else { - x_52 = x_50; -} -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_49); -return x_52; +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +return x_50; } } else { -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_65; uint8_t x_66; -x_53 = lean_ctor_get(x_15, 0); -lean_inc(x_53); +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; uint8_t x_64; +x_51 = lean_ctor_get(x_15, 0); +lean_inc(x_51); lean_dec(x_15); -x_54 = lean_ctor_get(x_6, 0); -x_55 = lean_ctor_get(x_6, 1); -x_56 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_2, x_8, x_9, x_10, x_11, x_12); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = l_Lean_FileMap_toPosition(x_55, x_53); -x_60 = lean_box(0); -x_61 = l_String_splitAux___main___closed__1; -lean_inc(x_54); -x_62 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_62, 0, x_54); -lean_ctor_set(x_62, 1, x_59); -lean_ctor_set(x_62, 2, x_60); -lean_ctor_set(x_62, 3, x_61); -lean_ctor_set(x_62, 4, x_57); -lean_ctor_set_uint8(x_62, sizeof(void*)*5, x_3); -x_63 = lean_st_ref_take(x_7, x_58); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = !lean_is_exclusive(x_64); -if (x_66 == 0) +x_52 = lean_ctor_get(x_6, 0); +x_53 = lean_ctor_get(x_6, 1); +x_54 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_2, x_8, x_9, x_10, x_11, x_12); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l_Lean_FileMap_toPosition(x_53, x_51); +x_58 = lean_box(0); +x_59 = l_String_splitAux___main___closed__1; +lean_inc(x_52); +x_60 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_60, 0, x_52); +lean_ctor_set(x_60, 1, x_57); +lean_ctor_set(x_60, 2, x_58); +lean_ctor_set(x_60, 3, x_59); +lean_ctor_set(x_60, 4, x_55); +lean_ctor_set_uint8(x_60, sizeof(void*)*5, x_3); +x_61 = lean_st_ref_take(x_7, x_56); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = !lean_is_exclusive(x_62); +if (x_64 == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_67 = lean_ctor_get(x_64, 2); -x_68 = l_Std_PersistentArray_push___rarg(x_67, x_62); -lean_ctor_set(x_64, 2, x_68); -x_69 = lean_st_ref_set(x_7, x_64, x_65); -x_70 = !lean_is_exclusive(x_69); -if (x_70 == 0) +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_65 = lean_ctor_get(x_62, 2); +x_66 = l_Std_PersistentArray_push___rarg(x_65, x_60); +lean_ctor_set(x_62, 2, x_66); +x_67 = lean_st_ref_set(x_7, x_62, x_63); +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_69, 0); -lean_dec(x_71); -x_72 = lean_box(0); -lean_ctor_set(x_69, 0, x_72); -return x_69; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_69, 1); -lean_inc(x_73); +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_67, 0); lean_dec(x_69); -x_74 = lean_box(0); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -return x_75; +x_70 = lean_box(0); +lean_ctor_set(x_67, 0, x_70); +return x_67; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_67, 1); +lean_inc(x_71); +lean_dec(x_67); +x_72 = lean_box(0); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +return x_73; } } else { -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; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_76 = lean_ctor_get(x_64, 0); -x_77 = lean_ctor_get(x_64, 1); -x_78 = lean_ctor_get(x_64, 2); -x_79 = lean_ctor_get(x_64, 3); -x_80 = lean_ctor_get(x_64, 4); -x_81 = lean_ctor_get(x_64, 5); -x_82 = lean_ctor_get(x_64, 6); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); +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_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_74 = lean_ctor_get(x_62, 0); +x_75 = lean_ctor_get(x_62, 1); +x_76 = lean_ctor_get(x_62, 2); +x_77 = lean_ctor_get(x_62, 3); +x_78 = lean_ctor_get(x_62, 4); lean_inc(x_78); lean_inc(x_77); lean_inc(x_76); -lean_dec(x_64); -x_83 = l_Std_PersistentArray_push___rarg(x_78, x_62); -x_84 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_84, 0, x_76); -lean_ctor_set(x_84, 1, x_77); -lean_ctor_set(x_84, 2, x_83); -lean_ctor_set(x_84, 3, x_79); -lean_ctor_set(x_84, 4, x_80); -lean_ctor_set(x_84, 5, x_81); -lean_ctor_set(x_84, 6, x_82); -x_85 = lean_st_ref_set(x_7, x_84, x_65); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_62); +x_79 = l_Std_PersistentArray_push___rarg(x_76, x_60); +x_80 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_80, 0, x_74); +lean_ctor_set(x_80, 1, x_75); +lean_ctor_set(x_80, 2, x_79); +lean_ctor_set(x_80, 3, x_77); +lean_ctor_set(x_80, 4, x_78); +x_81 = lean_st_ref_set(x_7, x_80, x_63); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_83 = x_81; } else { - lean_dec_ref(x_85); - x_87 = lean_box(0); + lean_dec_ref(x_81); + x_83 = lean_box(0); } -x_88 = lean_box(0); -if (lean_is_scalar(x_87)) { - x_89 = lean_alloc_ctor(0, 2, 0); +x_84 = lean_box(0); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); } else { - x_89 = x_87; + x_85 = x_83; } -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_86); -return x_89; +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +return x_85; } } } @@ -4704,9 +4653,9 @@ x_26 = !lean_is_exclusive(x_24); if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_ctor_get(x_24, 5); +x_27 = lean_ctor_get(x_24, 3); x_28 = lean_nat_add(x_27, x_20); -lean_ctor_set(x_24, 5, x_28); +lean_ctor_set(x_24, 3, x_28); x_29 = lean_st_ref_set(x_5, x_24, x_25); x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); @@ -5046,52 +4995,46 @@ return x_117; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 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; uint8_t x_152; uint8_t x_153; uint8_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 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; uint8_t x_150; uint8_t x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; x_134 = lean_ctor_get(x_24, 0); x_135 = lean_ctor_get(x_24, 1); x_136 = lean_ctor_get(x_24, 2); x_137 = lean_ctor_get(x_24, 3); x_138 = lean_ctor_get(x_24, 4); -x_139 = lean_ctor_get(x_24, 5); -x_140 = lean_ctor_get(x_24, 6); -lean_inc(x_140); -lean_inc(x_139); lean_inc(x_138); lean_inc(x_137); lean_inc(x_136); lean_inc(x_135); lean_inc(x_134); lean_dec(x_24); -x_141 = lean_nat_add(x_139, x_20); -x_142 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_142, 0, x_134); -lean_ctor_set(x_142, 1, x_135); -lean_ctor_set(x_142, 2, x_136); -lean_ctor_set(x_142, 3, x_137); -lean_ctor_set(x_142, 4, x_138); -lean_ctor_set(x_142, 5, x_141); -lean_ctor_set(x_142, 6, x_140); -x_143 = lean_st_ref_set(x_5, x_142, x_25); -x_144 = lean_ctor_get(x_143, 1); +x_139 = lean_nat_add(x_137, x_20); +x_140 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_140, 0, x_134); +lean_ctor_set(x_140, 1, x_135); +lean_ctor_set(x_140, 2, x_136); +lean_ctor_set(x_140, 3, x_139); +lean_ctor_set(x_140, 4, x_138); +x_141 = lean_st_ref_set(x_5, x_140, x_25); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_ctor_get(x_4, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_4, 1); lean_inc(x_144); -lean_dec(x_143); -x_145 = lean_ctor_get(x_4, 0); +x_145 = lean_ctor_get(x_4, 2); lean_inc(x_145); -x_146 = lean_ctor_get(x_4, 1); +x_146 = lean_ctor_get(x_4, 3); lean_inc(x_146); -x_147 = lean_ctor_get(x_4, 2); +x_147 = lean_ctor_get(x_4, 4); lean_inc(x_147); -x_148 = lean_ctor_get(x_4, 3); +x_148 = lean_ctor_get(x_4, 5); lean_inc(x_148); -x_149 = lean_ctor_get(x_4, 4); +x_149 = lean_ctor_get(x_4, 6); lean_inc(x_149); -x_150 = lean_ctor_get(x_4, 5); -lean_inc(x_150); -x_151 = lean_ctor_get(x_4, 6); -lean_inc(x_151); -x_152 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_153 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_154 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_150 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_151 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_152 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -5101,81 +5044,81 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 5); lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); - x_155 = x_4; + x_153 = x_4; } else { lean_dec_ref(x_4); - x_155 = lean_box(0); + x_153 = lean_box(0); } -if (lean_is_scalar(x_155)) { - x_156 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_153)) { + x_154 = lean_alloc_ctor(0, 8, 3); } else { - x_156 = x_155; + x_154 = x_153; } -lean_ctor_set(x_156, 0, x_145); -lean_ctor_set(x_156, 1, x_146); -lean_ctor_set(x_156, 2, x_147); -lean_ctor_set(x_156, 3, x_148); -lean_ctor_set(x_156, 4, x_149); -lean_ctor_set(x_156, 5, x_150); -lean_ctor_set(x_156, 6, x_151); -lean_ctor_set(x_156, 7, x_139); -lean_ctor_set_uint8(x_156, sizeof(void*)*8, x_152); -lean_ctor_set_uint8(x_156, sizeof(void*)*8 + 1, x_153); -lean_ctor_set_uint8(x_156, sizeof(void*)*8 + 2, x_154); +lean_ctor_set(x_154, 0, x_143); +lean_ctor_set(x_154, 1, x_144); +lean_ctor_set(x_154, 2, x_145); +lean_ctor_set(x_154, 3, x_146); +lean_ctor_set(x_154, 4, x_147); +lean_ctor_set(x_154, 5, x_148); +lean_ctor_set(x_154, 6, x_149); +lean_ctor_set(x_154, 7, x_137); +lean_ctor_set_uint8(x_154, sizeof(void*)*8, x_150); +lean_ctor_set_uint8(x_154, sizeof(void*)*8 + 1, x_151); +lean_ctor_set_uint8(x_154, sizeof(void*)*8 + 2, x_152); if (lean_obj_tag(x_1) == 1) { -lean_object* x_187; lean_object* x_188; uint8_t x_189; -x_187 = lean_ctor_get(x_1, 0); -lean_inc(x_187); -x_188 = l_Lean_nullKind; -x_189 = lean_name_eq(x_187, x_188); -lean_dec(x_187); +lean_object* x_185; lean_object* x_186; uint8_t x_187; +x_185 = lean_ctor_get(x_1, 0); +lean_inc(x_185); +x_186 = l_Lean_nullKind; +x_187 = lean_name_eq(x_185, x_186); +lean_dec(x_185); +if (x_187 == 0) +{ +lean_object* x_188; uint8_t x_189; +x_188 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; +x_189 = l_Lean_checkTraceOption(x_12, x_188); +lean_dec(x_12); if (x_189 == 0) { -lean_object* x_190; uint8_t x_191; -x_190 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; -x_191 = l_Lean_checkTraceOption(x_12, x_190); -lean_dec(x_12); -if (x_191 == 0) -{ -x_157 = x_144; -goto block_186; +x_155 = x_142; +goto block_184; } else { -lean_object* x_192; lean_object* x_193; lean_object* x_194; +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_inc(x_1); -x_192 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_192, 0, x_1); -x_193 = l_Lean_Elab_logTrace___at_Lean_Elab_Tactic_evalTactic___main___spec__10(x_190, x_192, x_2, x_3, x_156, x_5, x_6, x_7, x_22, x_9, x_144); -x_194 = lean_ctor_get(x_193, 1); -lean_inc(x_194); +x_190 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_190, 0, x_1); +x_191 = l_Lean_Elab_logTrace___at_Lean_Elab_Tactic_evalTactic___main___spec__10(x_188, x_190, x_2, x_3, x_154, x_5, x_6, x_7, x_22, x_9, x_142); +x_192 = lean_ctor_get(x_191, 1); +lean_inc(x_192); +lean_dec(x_191); +x_155 = x_192; +goto block_184; +} +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +lean_dec(x_12); +x_193 = l_Lean_Syntax_getArgs(x_1); +lean_dec(x_1); +x_194 = lean_unsigned_to_nat(2u); +x_195 = lean_unsigned_to_nat(0u); +x_196 = lean_box(0); +x_197 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__13(x_194, x_193, x_195, x_196, x_2, x_3, x_154, x_5, x_6, x_7, x_22, x_9, x_142); lean_dec(x_193); -x_157 = x_194; -goto block_186; +return x_197; } } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -lean_dec(x_12); -x_195 = l_Lean_Syntax_getArgs(x_1); -lean_dec(x_1); -x_196 = lean_unsigned_to_nat(2u); -x_197 = lean_unsigned_to_nat(0u); -x_198 = lean_box(0); -x_199 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__13(x_196, x_195, x_197, x_198, x_2, x_3, x_156, x_5, x_6, x_7, x_22, x_9, x_144); -lean_dec(x_195); -return x_199; -} -} -else -{ -lean_object* x_200; lean_object* x_201; +lean_object* x_198; lean_object* x_199; lean_dec(x_12); lean_dec(x_1); -x_200 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; -x_201 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_200, x_2, x_3, x_156, x_5, x_6, x_7, x_22, x_9, x_144); +x_198 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; +x_199 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_198, x_2, x_3, x_154, x_5, x_6, x_7, x_22, x_9, x_142); lean_dec(x_9); lean_dec(x_22); lean_dec(x_7); @@ -5183,102 +5126,102 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -return x_201; +return x_199; } -block_186: +block_184: { -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_158 = lean_st_ref_get(x_9, x_157); -x_159 = lean_ctor_get(x_158, 0); +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_156 = lean_st_ref_get(x_9, x_155); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +x_159 = lean_ctor_get(x_157, 0); lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = lean_ctor_get(x_159, 0); +lean_dec(x_157); +x_160 = l_Lean_Elab_Tactic_saveAllState___rarg(x_3, x_154, x_5, x_6, x_7, x_22, x_9, x_158); +x_161 = lean_ctor_get(x_160, 0); lean_inc(x_161); -lean_dec(x_159); -x_162 = l_Lean_Elab_Tactic_saveAllState___rarg(x_3, x_156, x_5, x_6, x_7, x_22, x_9, x_160); -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_162, 1); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_163 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_164 = lean_ctor_get(x_163, 2); lean_inc(x_164); -lean_dec(x_162); -x_165 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_166 = lean_ctor_get(x_165, 2); +x_165 = l_Lean_PersistentEnvExtension_getState___rarg(x_164, x_159); +lean_dec(x_159); +lean_dec(x_164); +x_166 = lean_ctor_get(x_165, 1); lean_inc(x_166); -x_167 = l_Lean_PersistentEnvExtension_getState___rarg(x_166, x_161); -lean_dec(x_161); -lean_dec(x_166); -x_168 = lean_ctor_get(x_167, 1); -lean_inc(x_168); -lean_dec(x_167); +lean_dec(x_165); lean_inc(x_1); -x_169 = l_Lean_Syntax_getKind(x_1); -x_170 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__2(x_168, x_169); -if (lean_obj_tag(x_170) == 0) +x_167 = l_Lean_Syntax_getKind(x_1); +x_168 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__2(x_166, x_167); +if (lean_obj_tag(x_168) == 0) { -lean_object* x_171; lean_object* x_172; 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_dec(x_163); -x_171 = lean_st_ref_get(x_9, x_164); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); -x_174 = lean_ctor_get(x_172, 0); -lean_inc(x_174); -lean_dec(x_172); -x_175 = l_Lean_Elab_macroAttribute; -x_176 = lean_ctor_get(x_175, 2); -lean_inc(x_176); -x_177 = l_Lean_PersistentEnvExtension_getState___rarg(x_176, x_174); -lean_dec(x_174); -lean_dec(x_176); -x_178 = lean_ctor_get(x_177, 1); -lean_inc(x_178); -lean_dec(x_177); -x_179 = l_Lean_SMap_find_x3f___at_Lean_Elab_getMacros___spec__1(x_178, x_169); +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_161); +x_169 = lean_st_ref_get(x_9, x_162); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); lean_dec(x_169); -if (lean_obj_tag(x_179) == 0) +x_172 = lean_ctor_get(x_170, 0); +lean_inc(x_172); +lean_dec(x_170); +x_173 = l_Lean_Elab_macroAttribute; +x_174 = lean_ctor_get(x_173, 2); +lean_inc(x_174); +x_175 = l_Lean_PersistentEnvExtension_getState___rarg(x_174, x_172); +lean_dec(x_172); +lean_dec(x_174); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +lean_dec(x_175); +x_177 = l_Lean_SMap_find_x3f___at_Lean_Elab_getMacros___spec__1(x_176, x_167); +lean_dec(x_167); +if (lean_obj_tag(x_177) == 0) +{ +lean_object* x_178; lean_object* x_179; +x_178 = lean_box(0); +x_179 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8(x_1, x_178, x_2, x_3, x_154, x_5, x_6, x_7, x_22, x_9, x_171); +return x_179; +} +else { lean_object* x_180; lean_object* x_181; -x_180 = lean_box(0); -x_181 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8(x_1, x_180, x_2, x_3, x_156, x_5, x_6, x_7, x_22, x_9, x_173); +x_180 = lean_ctor_get(x_177, 0); +lean_inc(x_180); +lean_dec(x_177); +x_181 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8(x_1, x_180, x_2, x_3, x_154, x_5, x_6, x_7, x_22, x_9, x_171); return x_181; } +} else { lean_object* x_182; lean_object* x_183; -x_182 = lean_ctor_get(x_179, 0); +lean_dec(x_167); +x_182 = lean_ctor_get(x_168, 0); lean_inc(x_182); -lean_dec(x_179); -x_183 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8(x_1, x_182, x_2, x_3, x_156, x_5, x_6, x_7, x_22, x_9, x_173); +lean_dec(x_168); +x_183 = l___private_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_161, x_1, x_182, x_2, x_3, x_154, x_5, x_6, x_7, x_22, x_9, x_162); return x_183; } } -else -{ -lean_object* x_184; lean_object* x_185; -lean_dec(x_169); -x_184 = lean_ctor_get(x_170, 0); -lean_inc(x_184); -lean_dec(x_170); -x_185 = l___private_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_163, x_1, x_184, x_2, x_3, x_156, x_5, x_6, x_7, x_22, x_9, x_164); -return x_185; -} -} } } else { -lean_object* x_202; lean_object* x_203; uint8_t x_204; +lean_object* x_200; lean_object* x_201; uint8_t x_202; lean_dec(x_18); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_1); -x_202 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -x_203 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_202, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_200 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +x_201 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_200, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5286,134 +5229,126 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_204 = !lean_is_exclusive(x_203); -if (x_204 == 0) +x_202 = !lean_is_exclusive(x_201); +if (x_202 == 0) { -return x_203; +return x_201; } else { -lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_205 = lean_ctor_get(x_203, 0); -x_206 = lean_ctor_get(x_203, 1); +lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_203 = lean_ctor_get(x_201, 0); +x_204 = lean_ctor_get(x_201, 1); +lean_inc(x_204); +lean_inc(x_203); +lean_dec(x_201); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set(x_205, 1, x_204); +return x_205; +} +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; +x_206 = lean_ctor_get(x_8, 0); +x_207 = lean_ctor_get(x_8, 1); +x_208 = lean_ctor_get(x_8, 2); +x_209 = lean_ctor_get(x_8, 3); +lean_inc(x_209); +lean_inc(x_208); +lean_inc(x_207); lean_inc(x_206); -lean_inc(x_205); -lean_dec(x_203); -x_207 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_207, 0, x_205); -lean_ctor_set(x_207, 1, x_206); -return x_207; -} -} -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; -x_208 = lean_ctor_get(x_8, 0); -x_209 = lean_ctor_get(x_8, 1); -x_210 = lean_ctor_get(x_8, 2); -x_211 = lean_ctor_get(x_8, 3); -lean_inc(x_211); -lean_inc(x_210); -lean_inc(x_209); -lean_inc(x_208); lean_dec(x_8); -x_212 = l_Lean_replaceRef(x_1, x_211); -x_213 = l_Lean_replaceRef(x_212, x_211); -lean_dec(x_212); -x_214 = l_Lean_replaceRef(x_213, x_211); -lean_dec(x_211); -lean_dec(x_213); -lean_inc(x_214); -lean_inc(x_210); -lean_inc(x_209); -lean_inc(x_208); -x_215 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_215, 0, x_208); -lean_ctor_set(x_215, 1, x_209); -lean_ctor_set(x_215, 2, x_210); -lean_ctor_set(x_215, 3, x_214); -x_216 = lean_nat_dec_eq(x_209, x_210); -if (x_216 == 0) -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; 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; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; uint8_t x_243; uint8_t x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -lean_dec(x_215); -x_217 = lean_unsigned_to_nat(1u); -x_218 = lean_nat_add(x_209, x_217); +x_210 = l_Lean_replaceRef(x_1, x_209); +x_211 = l_Lean_replaceRef(x_210, x_209); +lean_dec(x_210); +x_212 = l_Lean_replaceRef(x_211, x_209); lean_dec(x_209); +lean_dec(x_211); +lean_inc(x_212); lean_inc(x_208); -x_219 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_219, 0, x_208); -lean_ctor_set(x_219, 1, x_218); -lean_ctor_set(x_219, 2, x_210); -lean_ctor_set(x_219, 3, x_214); -x_220 = lean_st_ref_take(x_5, x_10); -x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_207); +lean_inc(x_206); +x_213 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_213, 0, x_206); +lean_ctor_set(x_213, 1, x_207); +lean_ctor_set(x_213, 2, x_208); +lean_ctor_set(x_213, 3, x_212); +x_214 = lean_nat_dec_eq(x_207, x_208); +if (x_214 == 0) +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; 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; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; uint8_t x_239; uint8_t x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +lean_dec(x_213); +x_215 = lean_unsigned_to_nat(1u); +x_216 = lean_nat_add(x_207, x_215); +lean_dec(x_207); +lean_inc(x_206); +x_217 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_217, 0, x_206); +lean_ctor_set(x_217, 1, x_216); +lean_ctor_set(x_217, 2, x_208); +lean_ctor_set(x_217, 3, x_212); +x_218 = lean_st_ref_take(x_5, x_10); +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_218, 1); +lean_inc(x_220); +lean_dec(x_218); +x_221 = lean_ctor_get(x_219, 0); lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); +x_222 = lean_ctor_get(x_219, 1); lean_inc(x_222); -lean_dec(x_220); -x_223 = lean_ctor_get(x_221, 0); +x_223 = lean_ctor_get(x_219, 2); lean_inc(x_223); -x_224 = lean_ctor_get(x_221, 1); +x_224 = lean_ctor_get(x_219, 3); lean_inc(x_224); -x_225 = lean_ctor_get(x_221, 2); +x_225 = lean_ctor_get(x_219, 4); lean_inc(x_225); -x_226 = lean_ctor_get(x_221, 3); -lean_inc(x_226); -x_227 = lean_ctor_get(x_221, 4); -lean_inc(x_227); -x_228 = lean_ctor_get(x_221, 5); -lean_inc(x_228); -x_229 = lean_ctor_get(x_221, 6); -lean_inc(x_229); -if (lean_is_exclusive(x_221)) { - lean_ctor_release(x_221, 0); - lean_ctor_release(x_221, 1); - lean_ctor_release(x_221, 2); - lean_ctor_release(x_221, 3); - lean_ctor_release(x_221, 4); - lean_ctor_release(x_221, 5); - lean_ctor_release(x_221, 6); - x_230 = x_221; +if (lean_is_exclusive(x_219)) { + lean_ctor_release(x_219, 0); + lean_ctor_release(x_219, 1); + lean_ctor_release(x_219, 2); + lean_ctor_release(x_219, 3); + lean_ctor_release(x_219, 4); + x_226 = x_219; } else { - lean_dec_ref(x_221); - x_230 = lean_box(0); + lean_dec_ref(x_219); + x_226 = lean_box(0); } -x_231 = lean_nat_add(x_228, x_217); -if (lean_is_scalar(x_230)) { - x_232 = lean_alloc_ctor(0, 7, 0); +x_227 = lean_nat_add(x_224, x_215); +if (lean_is_scalar(x_226)) { + x_228 = lean_alloc_ctor(0, 5, 0); } else { - x_232 = x_230; + x_228 = x_226; } -lean_ctor_set(x_232, 0, x_223); -lean_ctor_set(x_232, 1, x_224); -lean_ctor_set(x_232, 2, x_225); -lean_ctor_set(x_232, 3, x_226); -lean_ctor_set(x_232, 4, x_227); -lean_ctor_set(x_232, 5, x_231); -lean_ctor_set(x_232, 6, x_229); -x_233 = lean_st_ref_set(x_5, x_232, x_222); -x_234 = lean_ctor_get(x_233, 1); +lean_ctor_set(x_228, 0, x_221); +lean_ctor_set(x_228, 1, x_222); +lean_ctor_set(x_228, 2, x_223); +lean_ctor_set(x_228, 3, x_227); +lean_ctor_set(x_228, 4, x_225); +x_229 = lean_st_ref_set(x_5, x_228, x_220); +x_230 = lean_ctor_get(x_229, 1); +lean_inc(x_230); +lean_dec(x_229); +x_231 = lean_ctor_get(x_4, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_4, 1); +lean_inc(x_232); +x_233 = lean_ctor_get(x_4, 2); +lean_inc(x_233); +x_234 = lean_ctor_get(x_4, 3); lean_inc(x_234); -lean_dec(x_233); -x_235 = lean_ctor_get(x_4, 0); +x_235 = lean_ctor_get(x_4, 4); lean_inc(x_235); -x_236 = lean_ctor_get(x_4, 1); +x_236 = lean_ctor_get(x_4, 5); lean_inc(x_236); -x_237 = lean_ctor_get(x_4, 2); +x_237 = lean_ctor_get(x_4, 6); lean_inc(x_237); -x_238 = lean_ctor_get(x_4, 3); -lean_inc(x_238); -x_239 = lean_ctor_get(x_4, 4); -lean_inc(x_239); -x_240 = lean_ctor_get(x_4, 5); -lean_inc(x_240); -x_241 = lean_ctor_get(x_4, 6); -lean_inc(x_241); -x_242 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_243 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_244 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_238 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_239 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_240 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -5423,210 +5358,210 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 5); lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); - x_245 = x_4; + x_241 = x_4; } else { lean_dec_ref(x_4); - x_245 = lean_box(0); + x_241 = lean_box(0); } -if (lean_is_scalar(x_245)) { - x_246 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(0, 8, 3); } else { - x_246 = x_245; + x_242 = x_241; } -lean_ctor_set(x_246, 0, x_235); -lean_ctor_set(x_246, 1, x_236); -lean_ctor_set(x_246, 2, x_237); -lean_ctor_set(x_246, 3, x_238); -lean_ctor_set(x_246, 4, x_239); -lean_ctor_set(x_246, 5, x_240); -lean_ctor_set(x_246, 6, x_241); -lean_ctor_set(x_246, 7, x_228); -lean_ctor_set_uint8(x_246, sizeof(void*)*8, x_242); -lean_ctor_set_uint8(x_246, sizeof(void*)*8 + 1, x_243); -lean_ctor_set_uint8(x_246, sizeof(void*)*8 + 2, x_244); +lean_ctor_set(x_242, 0, x_231); +lean_ctor_set(x_242, 1, x_232); +lean_ctor_set(x_242, 2, x_233); +lean_ctor_set(x_242, 3, x_234); +lean_ctor_set(x_242, 4, x_235); +lean_ctor_set(x_242, 5, x_236); +lean_ctor_set(x_242, 6, x_237); +lean_ctor_set(x_242, 7, x_224); +lean_ctor_set_uint8(x_242, sizeof(void*)*8, x_238); +lean_ctor_set_uint8(x_242, sizeof(void*)*8 + 1, x_239); +lean_ctor_set_uint8(x_242, sizeof(void*)*8 + 2, x_240); if (lean_obj_tag(x_1) == 1) { -lean_object* x_277; lean_object* x_278; uint8_t x_279; -x_277 = lean_ctor_get(x_1, 0); -lean_inc(x_277); -x_278 = l_Lean_nullKind; -x_279 = lean_name_eq(x_277, x_278); -lean_dec(x_277); -if (x_279 == 0) +lean_object* x_273; lean_object* x_274; uint8_t x_275; +x_273 = lean_ctor_get(x_1, 0); +lean_inc(x_273); +x_274 = l_Lean_nullKind; +x_275 = lean_name_eq(x_273, x_274); +lean_dec(x_273); +if (x_275 == 0) { -lean_object* x_280; uint8_t x_281; -x_280 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; -x_281 = l_Lean_checkTraceOption(x_208, x_280); -lean_dec(x_208); -if (x_281 == 0) +lean_object* x_276; uint8_t x_277; +x_276 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; +x_277 = l_Lean_checkTraceOption(x_206, x_276); +lean_dec(x_206); +if (x_277 == 0) { -x_247 = x_234; -goto block_276; +x_243 = x_230; +goto block_272; } else { -lean_object* x_282; lean_object* x_283; lean_object* x_284; +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_inc(x_1); -x_282 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_282, 0, x_1); -x_283 = l_Lean_Elab_logTrace___at_Lean_Elab_Tactic_evalTactic___main___spec__10(x_280, x_282, x_2, x_3, x_246, x_5, x_6, x_7, x_219, x_9, x_234); -x_284 = lean_ctor_get(x_283, 1); -lean_inc(x_284); -lean_dec(x_283); -x_247 = x_284; -goto block_276; +x_278 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_278, 0, x_1); +x_279 = l_Lean_Elab_logTrace___at_Lean_Elab_Tactic_evalTactic___main___spec__10(x_276, x_278, x_2, x_3, x_242, x_5, x_6, x_7, x_217, x_9, x_230); +x_280 = lean_ctor_get(x_279, 1); +lean_inc(x_280); +lean_dec(x_279); +x_243 = x_280; +goto block_272; } } else { -lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; -lean_dec(x_208); -x_285 = l_Lean_Syntax_getArgs(x_1); +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +lean_dec(x_206); +x_281 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_286 = lean_unsigned_to_nat(2u); -x_287 = lean_unsigned_to_nat(0u); -x_288 = lean_box(0); -x_289 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__13(x_286, x_285, x_287, x_288, x_2, x_3, x_246, x_5, x_6, x_7, x_219, x_9, x_234); -lean_dec(x_285); -return x_289; +x_282 = lean_unsigned_to_nat(2u); +x_283 = lean_unsigned_to_nat(0u); +x_284 = lean_box(0); +x_285 = l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__13(x_282, x_281, x_283, x_284, x_2, x_3, x_242, x_5, x_6, x_7, x_217, x_9, x_230); +lean_dec(x_281); +return x_285; } } else { -lean_object* x_290; lean_object* x_291; -lean_dec(x_208); +lean_object* x_286; lean_object* x_287; +lean_dec(x_206); lean_dec(x_1); -x_290 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; -x_291 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_290, x_2, x_3, x_246, x_5, x_6, x_7, x_219, x_9, x_234); +x_286 = l_Lean_Elab_Tactic_evalTactic___main___closed__3; +x_287 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_286, x_2, x_3, x_242, x_5, x_6, x_7, x_217, x_9, x_230); lean_dec(x_9); -lean_dec(x_219); +lean_dec(x_217); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -return x_291; +return x_287; } -block_276: +block_272: { -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; -x_248 = lean_st_ref_get(x_9, x_247); +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; +x_244 = lean_st_ref_get(x_9, x_243); +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +x_246 = lean_ctor_get(x_244, 1); +lean_inc(x_246); +lean_dec(x_244); +x_247 = lean_ctor_get(x_245, 0); +lean_inc(x_247); +lean_dec(x_245); +x_248 = l_Lean_Elab_Tactic_saveAllState___rarg(x_3, x_242, x_5, x_6, x_7, x_217, x_9, x_246); x_249 = lean_ctor_get(x_248, 0); lean_inc(x_249); x_250 = lean_ctor_get(x_248, 1); lean_inc(x_250); lean_dec(x_248); -x_251 = lean_ctor_get(x_249, 0); -lean_inc(x_251); -lean_dec(x_249); -x_252 = l_Lean_Elab_Tactic_saveAllState___rarg(x_3, x_246, x_5, x_6, x_7, x_219, x_9, x_250); -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_252, 1); -lean_inc(x_254); +x_251 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_252 = lean_ctor_get(x_251, 2); +lean_inc(x_252); +x_253 = l_Lean_PersistentEnvExtension_getState___rarg(x_252, x_247); +lean_dec(x_247); lean_dec(x_252); -x_255 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_256 = lean_ctor_get(x_255, 2); -lean_inc(x_256); -x_257 = l_Lean_PersistentEnvExtension_getState___rarg(x_256, x_251); -lean_dec(x_251); -lean_dec(x_256); -x_258 = lean_ctor_get(x_257, 1); -lean_inc(x_258); -lean_dec(x_257); -lean_inc(x_1); -x_259 = l_Lean_Syntax_getKind(x_1); -x_260 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__2(x_258, x_259); -if (lean_obj_tag(x_260) == 0) -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_254 = lean_ctor_get(x_253, 1); +lean_inc(x_254); lean_dec(x_253); -x_261 = lean_st_ref_get(x_9, x_254); -x_262 = lean_ctor_get(x_261, 0); +lean_inc(x_1); +x_255 = l_Lean_Syntax_getKind(x_1); +x_256 = l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__2(x_254, x_255); +if (lean_obj_tag(x_256) == 0) +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; +lean_dec(x_249); +x_257 = lean_st_ref_get(x_9, x_250); +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +lean_dec(x_257); +x_260 = lean_ctor_get(x_258, 0); +lean_inc(x_260); +lean_dec(x_258); +x_261 = l_Lean_Elab_macroAttribute; +x_262 = lean_ctor_get(x_261, 2); lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); -x_264 = lean_ctor_get(x_262, 0); -lean_inc(x_264); +x_263 = l_Lean_PersistentEnvExtension_getState___rarg(x_262, x_260); +lean_dec(x_260); lean_dec(x_262); -x_265 = l_Lean_Elab_macroAttribute; -x_266 = lean_ctor_get(x_265, 2); -lean_inc(x_266); -x_267 = l_Lean_PersistentEnvExtension_getState___rarg(x_266, x_264); -lean_dec(x_264); -lean_dec(x_266); -x_268 = lean_ctor_get(x_267, 1); +x_264 = lean_ctor_get(x_263, 1); +lean_inc(x_264); +lean_dec(x_263); +x_265 = l_Lean_SMap_find_x3f___at_Lean_Elab_getMacros___spec__1(x_264, x_255); +lean_dec(x_255); +if (lean_obj_tag(x_265) == 0) +{ +lean_object* x_266; lean_object* x_267; +x_266 = lean_box(0); +x_267 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8(x_1, x_266, x_2, x_3, x_242, x_5, x_6, x_7, x_217, x_9, x_259); +return x_267; +} +else +{ +lean_object* x_268; lean_object* x_269; +x_268 = lean_ctor_get(x_265, 0); lean_inc(x_268); -lean_dec(x_267); -x_269 = l_Lean_SMap_find_x3f___at_Lean_Elab_getMacros___spec__1(x_268, x_259); -lean_dec(x_259); -if (lean_obj_tag(x_269) == 0) +lean_dec(x_265); +x_269 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8(x_1, x_268, x_2, x_3, x_242, x_5, x_6, x_7, x_217, x_9, x_259); +return x_269; +} +} +else { lean_object* x_270; lean_object* x_271; -x_270 = lean_box(0); -x_271 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8(x_1, x_270, x_2, x_3, x_246, x_5, x_6, x_7, x_219, x_9, x_263); +lean_dec(x_255); +x_270 = lean_ctor_get(x_256, 0); +lean_inc(x_270); +lean_dec(x_256); +x_271 = l___private_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_249, x_1, x_270, x_2, x_3, x_242, x_5, x_6, x_7, x_217, x_9, x_250); return x_271; } -else -{ -lean_object* x_272; lean_object* x_273; -x_272 = lean_ctor_get(x_269, 0); -lean_inc(x_272); -lean_dec(x_269); -x_273 = l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8(x_1, x_272, x_2, x_3, x_246, x_5, x_6, x_7, x_219, x_9, x_263); -return x_273; } } else { -lean_object* x_274; lean_object* x_275; -lean_dec(x_259); -x_274 = lean_ctor_get(x_260, 0); -lean_inc(x_274); -lean_dec(x_260); -x_275 = l___private_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main(x_253, x_1, x_274, x_2, x_3, x_246, x_5, x_6, x_7, x_219, x_9, x_254); -return x_275; -} -} -} -else -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_214); -lean_dec(x_210); -lean_dec(x_209); +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; +lean_dec(x_212); lean_dec(x_208); +lean_dec(x_207); +lean_dec(x_206); lean_dec(x_1); -x_292 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -x_293 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_292, x_2, x_3, x_4, x_5, x_6, x_7, x_215, x_9, x_10); +x_288 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +x_289 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_288, x_2, x_3, x_4, x_5, x_6, x_7, x_213, x_9, x_10); lean_dec(x_9); -lean_dec(x_215); +lean_dec(x_213); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_293, 1); -lean_inc(x_295); -if (lean_is_exclusive(x_293)) { - lean_ctor_release(x_293, 0); - lean_ctor_release(x_293, 1); - x_296 = x_293; +x_290 = lean_ctor_get(x_289, 0); +lean_inc(x_290); +x_291 = lean_ctor_get(x_289, 1); +lean_inc(x_291); +if (lean_is_exclusive(x_289)) { + lean_ctor_release(x_289, 0); + lean_ctor_release(x_289, 1); + x_292 = x_289; } else { - lean_dec_ref(x_293); - x_296 = lean_box(0); + lean_dec_ref(x_289); + x_292 = lean_box(0); } -if (lean_is_scalar(x_296)) { - x_297 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_292)) { + x_293 = lean_alloc_ctor(1, 2, 0); } else { - x_297 = x_296; + x_293 = x_292; } -lean_ctor_set(x_297, 0, x_294); -lean_ctor_set(x_297, 1, x_295); -return x_297; +lean_ctor_set(x_293, 0, x_290); +lean_ctor_set(x_293, 1, x_291); +return x_293; } } } @@ -7880,7 +7815,6 @@ else { lean_object* x_16; lean_dec(x_12); -lean_dec(x_7); lean_dec(x_3); x_16 = lean_box(0); lean_ctor_set(x_10, 0, x_16); @@ -7906,7 +7840,6 @@ else { lean_object* x_21; lean_object* x_22; lean_dec(x_17); -lean_dec(x_7); lean_dec(x_3); x_21 = lean_box(0); x_22 = lean_alloc_ctor(0, 2, 0); @@ -7923,6 +7856,7 @@ _start: lean_object* x_10; x_10 = l_Lean_Elab_Tactic_done(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -8173,6 +8107,7 @@ _start: lean_object* x_11; x_11 = l_Lean_Elab_Tactic_focus___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -9673,7 +9608,7 @@ lean_object* l_Lean_Elab_Tactic_evalIntro(lean_object* x_1, lean_object* x_2, le _start: { uint8_t x_11; lean_object* x_190; uint8_t x_191; -x_190 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; +x_190 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; lean_inc(x_1); x_191 = l_Lean_Syntax_isOfKind(x_1, x_190); if (x_191 == 0) @@ -9767,9 +9702,9 @@ x_28 = l_Lean_nullKind___closed__2; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; +x_30 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; x_31 = lean_array_push(x_30, x_29); -x_32 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; +x_32 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); @@ -9918,10 +9853,10 @@ x_82 = l_Lean_nullKind___closed__2; x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_81); -x_84 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__9; +x_84 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; lean_inc(x_83); x_85 = lean_array_push(x_84, x_83); -x_86 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; +x_86 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); @@ -9967,7 +9902,7 @@ x_116 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_116, 0, x_82); lean_ctor_set(x_116, 1, x_115); x_117 = lean_array_push(x_102, x_116); -x_118 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12; +x_118 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10; x_119 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_119, 0, x_118); lean_ctor_set(x_119, 1, x_117); @@ -10176,7 +10111,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__7; +x_3 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__5; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -10209,7 +10144,7 @@ lean_inc(x_44); x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); lean_dec(x_43); -x_46 = lean_ctor_get(x_44, 5); +x_46 = lean_ctor_get(x_44, 3); lean_inc(x_46); lean_dec(x_44); x_47 = lean_ctor_get(x_8, 1); @@ -10238,9 +10173,9 @@ x_57 = !lean_is_exclusive(x_55); if (x_57 == 0) { lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_55, 5); +x_58 = lean_ctor_get(x_55, 3); lean_dec(x_58); -lean_ctor_set(x_55, 5, x_53); +lean_ctor_set(x_55, 3, x_53); x_59 = lean_st_ref_set(x_5, x_55, x_56); x_60 = lean_ctor_get(x_59, 1); lean_inc(x_60); @@ -10251,34 +10186,28 @@ goto block_33; } 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_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; x_61 = lean_ctor_get(x_55, 0); x_62 = lean_ctor_get(x_55, 1); x_63 = lean_ctor_get(x_55, 2); -x_64 = lean_ctor_get(x_55, 3); -x_65 = lean_ctor_get(x_55, 4); -x_66 = lean_ctor_get(x_55, 6); -lean_inc(x_66); -lean_inc(x_65); +x_64 = lean_ctor_get(x_55, 4); lean_inc(x_64); lean_inc(x_63); lean_inc(x_62); lean_inc(x_61); lean_dec(x_55); -x_67 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_67, 0, x_61); -lean_ctor_set(x_67, 1, x_62); -lean_ctor_set(x_67, 2, x_63); -lean_ctor_set(x_67, 3, x_64); -lean_ctor_set(x_67, 4, x_65); -lean_ctor_set(x_67, 5, x_53); -lean_ctor_set(x_67, 6, x_66); -x_68 = lean_st_ref_set(x_5, x_67, x_56); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); +x_65 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_65, 0, x_61); +lean_ctor_set(x_65, 1, x_62); +lean_ctor_set(x_65, 2, x_63); +lean_ctor_set(x_65, 3, x_53); +lean_ctor_set(x_65, 4, x_64); +x_66 = lean_st_ref_set(x_5, x_65, x_56); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec(x_66); x_11 = x_52; -x_12 = x_69; +x_12 = x_67; goto block_33; } block_33: @@ -15236,30 +15165,30 @@ return x_3; lean_object* l_Lean_Elab_Tactic_evalCase(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_51; uint8_t x_52; -x_51 = l_Lean_Elab_Tactic_evalCase___closed__5; +uint8_t x_11; lean_object* x_54; uint8_t x_55; +x_54 = l_Lean_Elab_Tactic_evalCase___closed__5; lean_inc(x_1); -x_52 = l_Lean_Syntax_isOfKind(x_1, x_51); -if (x_52 == 0) +x_55 = l_Lean_Syntax_isOfKind(x_1, x_54); +if (x_55 == 0) { -uint8_t x_53; -x_53 = 0; -x_11 = x_53; -goto block_50; +uint8_t x_56; +x_56 = 0; +x_11 = x_56; +goto block_53; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = l_Lean_Syntax_getArgs(x_1); -x_55 = lean_array_get_size(x_54); -lean_dec(x_54); -x_56 = lean_unsigned_to_nat(3u); -x_57 = lean_nat_dec_eq(x_55, x_56); -lean_dec(x_55); -x_11 = x_57; -goto block_50; +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_57 = l_Lean_Syntax_getArgs(x_1); +x_58 = lean_array_get_size(x_57); +lean_dec(x_57); +x_59 = lean_unsigned_to_nat(4u); +x_60 = lean_nat_dec_eq(x_58, x_59); +lean_dec(x_58); +x_11 = x_60; +goto block_53; } -block_50: +block_53: { if (x_11 == 0) { @@ -15278,40 +15207,62 @@ return x_12; } else { -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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_13 = lean_unsigned_to_nat(1u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = lean_unsigned_to_nat(2u); +x_15 = lean_unsigned_to_nat(3u); x_16 = l_Lean_Syntax_getArg(x_1, x_15); lean_dec(x_1); -x_17 = l_Lean_Syntax_getId(x_14); +x_17 = l___regBuiltin_Lean_Elab_Tactic_evalSeq___closed__2; +lean_inc(x_16); +x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_14); +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); +lean_dec(x_2); +x_19 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___main___spec__1___rarg(x_10); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = l_Lean_Syntax_getId(x_14); lean_dec(x_14); lean_inc(x_4); -x_18 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -lean_inc(x_4); -lean_inc(x_19); -x_21 = l___private_Lean_Elab_Tactic_Basic_6__findTag_x3f(x_19, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -lean_dec(x_17); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; +x_21 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_19); -lean_dec(x_16); x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -x_24 = l_Lean_Elab_Tactic_evalCase___closed__3; -x_25 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +lean_inc(x_4); +lean_inc(x_22); +x_24 = l___private_Lean_Elab_Tactic_Basic_6__findTag_x3f(x_22, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +lean_dec(x_20); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_22); +lean_dec(x_16); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Elab_Tactic_evalCase___closed__3; +x_28 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___main___spec__1___rarg(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -15319,26 +15270,26 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -return x_25; +return x_28; } else { -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; -x_26 = lean_ctor_get(x_21, 1); -lean_inc(x_26); -lean_dec(x_21); -x_27 = lean_ctor_get(x_22, 0); -lean_inc(x_27); -lean_dec(x_22); -x_28 = l_List_erase___main___at_Lean_Elab_Tactic_evalCase___spec__1(x_19, x_27); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Elab_Tactic_setGoals(x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); +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_29 = lean_ctor_get(x_24, 1); +lean_inc(x_29); +lean_dec(x_24); +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +lean_dec(x_25); +x_31 = l_List_erase___main___at_Lean_Elab_Tactic_evalCase___spec__1(x_22, x_30); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Elab_Tactic_setGoals(x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -15347,69 +15298,22 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_33 = l_Lean_Elab_Tactic_evalTactic___main(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_32); -if (lean_obj_tag(x_33) == 0) +x_36 = l_Lean_Elab_Tactic_evalTactic___main(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -lean_inc(x_8); +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); lean_inc(x_4); -x_35 = l_Lean_Elab_Tactic_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_34); -if (lean_obj_tag(x_35) == 0) +x_38 = l_Lean_Elab_Tactic_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_37); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = l_Lean_Elab_Tactic_setGoals(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); -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); -lean_dec(x_2); -return x_37; -} -else -{ -uint8_t x_38; -lean_dec(x_28); -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); -lean_dec(x_2); -x_38 = !lean_is_exclusive(x_35); -if (x_38 == 0) -{ -return x_35; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_35, 0); -x_40 = lean_ctor_get(x_35, 1); -lean_inc(x_40); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); -lean_dec(x_35); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_28); +lean_dec(x_38); +x_40 = l_Lean_Elab_Tactic_setGoals(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_39); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -15418,31 +15322,77 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_42 = !lean_is_exclusive(x_33); -if (x_42 == 0) -{ -return x_33; +return x_40; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_33, 0); -x_44 = lean_ctor_get(x_33, 1); -lean_inc(x_44); +uint8_t x_41; +lean_dec(x_31); +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); +lean_dec(x_2); +x_41 = !lean_is_exclusive(x_38); +if (x_41 == 0) +{ +return x_38; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_38, 0); +x_43 = lean_ctor_get(x_38, 1); lean_inc(x_43); -lean_dec(x_33); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_inc(x_42); +lean_dec(x_38); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_31); +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); +lean_dec(x_2); +x_45 = !lean_is_exclusive(x_36); +if (x_45 == 0) +{ +return x_36; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_36, 0); +x_47 = lean_ctor_get(x_36, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_36); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } } else { -uint8_t x_46; -lean_dec(x_19); +uint8_t x_49; +lean_dec(x_22); lean_dec(x_16); lean_dec(x_9); lean_dec(x_8); @@ -15452,23 +15402,24 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_46 = !lean_is_exclusive(x_21); -if (x_46 == 0) +x_49 = !lean_is_exclusive(x_24); +if (x_49 == 0) { -return x_21; +return x_24; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_21, 0); -x_48 = lean_ctor_get(x_21, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_21); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_24, 0); +x_51 = lean_ctor_get(x_24, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_24); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c index b964936db4..b7d2d6ae43 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c +++ b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c @@ -15,6 +15,7 @@ extern "C" { #endif lean_object* l_Lean_Meta_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabAsFVar___lambda__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* l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___main___spec__1___rarg(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact(lean_object*); @@ -28,7 +29,6 @@ lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Tactic_elabAsFVar___lambda__1(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_Elab_Tactic_evalApply(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_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalRefine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); @@ -150,7 +150,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_25 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_3, x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +x_25 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_3, x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_23); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; @@ -282,7 +282,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_47); -x_53 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_3, x_52, x_47, x_7, x_8, x_9, x_10, x_11, x_51); +x_53 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_3, x_52, x_47, x_7, x_8, x_9, x_10, x_11, x_51); if (lean_obj_tag(x_53) == 0) { lean_object* x_54; lean_object* x_55; @@ -456,7 +456,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_84); -x_90 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_3, x_89, x_84, x_7, x_8, x_9, x_71, x_11, x_88); +x_90 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_3, x_89, x_84, x_7, x_8, x_9, x_71, x_11, x_88); if (lean_obj_tag(x_90) == 0) { lean_object* x_91; lean_object* x_92; @@ -2280,7 +2280,7 @@ lean_inc(x_34); lean_dec(x_33); x_35 = 0; x_36 = lean_box(0); -x_37 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_35, x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +x_37 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_35, x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_34); if (lean_obj_tag(x_37) == 0) { uint8_t x_38; @@ -2403,7 +2403,7 @@ lean_inc(x_63); lean_dec(x_62); x_64 = 0; x_65 = lean_box(0); -x_66 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_64, x_65, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +x_66 = l___private_Lean_Elab_SyntheticMVars_13__synthesizeSyntheticMVarsAux___main(x_64, x_65, x_6, x_7, x_8, x_9, x_10, x_11, x_63); if (lean_obj_tag(x_66) == 0) { lean_object* x_67; lean_object* x_68; lean_object* x_69; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index 56dffa5980..9c4dcd40f0 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -9244,6 +9244,7 @@ lean_inc(x_25); lean_dec(x_24); x_26 = l_Lean_Elab_Tactic_done(x_4, x_5, x_6, x_7, x_9, x_10, x_11, x_12, x_25); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Match.c b/stage0/stdlib/Lean/Elab/Tactic/Match.c index 5ee205fd78..456f2af285 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Match.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Match.c @@ -47,6 +47,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___closed__2; lean_object* l___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Tactic_evalRefine___closed__3; @@ -59,6 +60,7 @@ lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private extern lean_object* l_Lean_Parser_FirstTokens_toStr___closed__3; extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10; lean_object* l_Lean_mkSepStx(lean_object*, lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Tactic_evalRefine___closed__1; @@ -69,7 +71,6 @@ lean_object* l_Lean_Elab_Tactic_evalTactic___main(lean_object*, lean_object*, le lean_object* l_Lean_Syntax_getArgs(lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4; lean_object* l_Lean_Elab_Tactic_evalMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Match_39__elabMatchAux___closed__2; lean_object* l_Array_mapSepElemsM___at___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -78,12 +79,12 @@ extern lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkHole___closed__2; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__17; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Match_2__mkAuxiliaryMatchTerm(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2; -extern lean_object* l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12; lean_object* l_Lean_Elab_Tactic_evalMatch___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Init_LeanInit_15__mapSepElemsMAux___main___at___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux___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) { @@ -259,7 +260,7 @@ lean_inc(x_9); x_13 = l_Lean_Syntax_isOfKind(x_9, x_12); if (x_13 == 0) { -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; uint8_t x_32; +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; uint8_t x_34; x_14 = lean_unsigned_to_nat(1u); x_15 = lean_nat_add(x_5, x_14); x_16 = lean_ctor_get(x_4, 0); @@ -283,126 +284,113 @@ lean_ctor_set(x_25, 1, x_24); x_26 = l_Lean_Syntax_getArg(x_25, x_14); x_27 = l___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux___lambda__1___closed__4; x_28 = lean_array_push(x_27, x_26); -x_29 = lean_array_push(x_28, x_9); -x_30 = l_Lean_Elab_Tactic_evalCase___closed__5; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = !lean_is_exclusive(x_3); -if (x_32 == 0) +x_29 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__17; +x_30 = lean_array_push(x_28, x_29); +x_31 = lean_array_push(x_30, x_9); +x_32 = l_Lean_Elab_Tactic_evalCase___closed__5; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = !lean_is_exclusive(x_3); +if (x_34 == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_33 = lean_ctor_get(x_3, 1); -x_34 = lean_array_push(x_33, x_31); -lean_ctor_set(x_3, 1, x_34); -x_35 = l_Lean_Syntax_setArg(x_7, x_8, x_25); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_3); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_15); -return x_37; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_3, 1); +x_36 = lean_array_push(x_35, x_33); +lean_ctor_set(x_3, 1, x_36); +x_37 = l_Lean_Syntax_setArg(x_7, x_8, x_25); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_3); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_15); +return x_39; } else { -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; -x_38 = lean_ctor_get(x_3, 0); -x_39 = lean_ctor_get(x_3, 1); -lean_inc(x_39); -lean_inc(x_38); +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; +x_40 = lean_ctor_get(x_3, 0); +x_41 = lean_ctor_get(x_3, 1); +lean_inc(x_41); +lean_inc(x_40); lean_dec(x_3); -x_40 = lean_array_push(x_39, x_31); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_38); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_Syntax_setArg(x_7, x_8, x_25); +x_42 = lean_array_push(x_41, x_33); x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_15); -return x_44; +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_Syntax_setArg(x_7, x_8, x_25); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_15); +return x_46; } } else { -uint8_t x_45; +uint8_t x_47; lean_dec(x_4); -x_45 = !lean_is_exclusive(x_3); -if (x_45 == 0) +x_47 = !lean_is_exclusive(x_3); +if (x_47 == 0) { -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_56; lean_object* x_57; lean_object* x_58; -x_46 = lean_ctor_get(x_3, 0); -x_47 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__2; -lean_inc(x_46); -x_48 = l_Lean_Name_appendIndexAfter(x_47, x_46); -x_49 = l_Lean_Name_append___main(x_1, x_48); -x_50 = l_Lean_mkIdentFrom(x_9, x_49); +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_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_48 = lean_ctor_get(x_3, 0); +x_49 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__2; +lean_inc(x_48); +x_50 = l_Lean_Name_appendIndexAfter(x_49, x_48); +x_51 = l_Lean_Name_append___main(x_1, x_50); +x_52 = l_Lean_mkIdentFrom(x_9, x_51); lean_dec(x_9); -x_51 = l___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux___lambda__1___closed__2; -x_52 = lean_array_push(x_51, x_50); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_10); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_unsigned_to_nat(1u); -x_55 = lean_nat_add(x_46, x_54); -lean_dec(x_46); -lean_ctor_set(x_3, 0, x_55); -x_56 = l_Lean_Syntax_setArg(x_7, x_8, x_53); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_3); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_5); -return x_58; +x_53 = l___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux___lambda__1___closed__2; +x_54 = lean_array_push(x_53, x_52); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_10); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_add(x_48, x_56); +lean_dec(x_48); +lean_ctor_set(x_3, 0, x_57); +x_58 = l_Lean_Syntax_setArg(x_7, x_8, x_55); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_3); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_5); +return x_60; } else { -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_65; lean_object* x_66; 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; -x_59 = lean_ctor_get(x_3, 0); -x_60 = lean_ctor_get(x_3, 1); -lean_inc(x_60); -lean_inc(x_59); +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; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_61 = lean_ctor_get(x_3, 0); +x_62 = lean_ctor_get(x_3, 1); +lean_inc(x_62); +lean_inc(x_61); lean_dec(x_3); -x_61 = l___private_Lean_Elab_Match_39__elabMatchAux___closed__2; -lean_inc(x_59); -x_62 = l_Lean_Name_appendIndexAfter(x_61, x_59); -x_63 = l_Lean_Name_append___main(x_1, x_62); -x_64 = l_Lean_mkIdentFrom(x_9, x_63); +x_63 = l___private_Lean_Elab_Match_38__elabMatchAux___closed__2; +lean_inc(x_61); +x_64 = l_Lean_Name_appendIndexAfter(x_63, x_61); +x_65 = l_Lean_Name_append___main(x_1, x_64); +x_66 = l_Lean_mkIdentFrom(x_9, x_65); lean_dec(x_9); -x_65 = l___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux___lambda__1___closed__2; -x_66 = lean_array_push(x_65, x_64); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_10); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_unsigned_to_nat(1u); -x_69 = lean_nat_add(x_59, x_68); -lean_dec(x_59); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_60); -x_71 = l_Lean_Syntax_setArg(x_7, x_8, x_67); +x_67 = l___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux___lambda__1___closed__2; +x_68 = lean_array_push(x_67, x_66); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_10); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_unsigned_to_nat(1u); +x_71 = lean_nat_add(x_61, x_70); +lean_dec(x_61); x_72 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_5); -return x_73; -} -} -} -else -{ -lean_object* x_74; lean_object* x_75; -lean_dec(x_9); -lean_dec(x_4); +lean_ctor_set(x_72, 1, x_62); +x_73 = l_Lean_Syntax_setArg(x_7, x_8, x_69); x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_7); -lean_ctor_set(x_74, 1, x_3); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); x_75 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_5); @@ -410,6 +398,21 @@ return x_75; } } } +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_9); +lean_dec(x_4); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_7); +lean_ctor_set(x_76, 1, x_3); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_5); +return x_77; +} +} +} lean_object* l___private_Lean_Elab_Tactic_Match_1__mkAuxiliaryMatchTermAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -776,7 +779,7 @@ lean_inc(x_60); x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); lean_dec(x_59); -x_62 = lean_ctor_get(x_60, 5); +x_62 = lean_ctor_get(x_60, 3); lean_inc(x_62); lean_dec(x_60); x_63 = lean_ctor_get(x_8, 1); @@ -809,9 +812,9 @@ x_73 = !lean_is_exclusive(x_71); if (x_73 == 0) { lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_71, 5); +x_74 = lean_ctor_get(x_71, 3); lean_dec(x_74); -lean_ctor_set(x_71, 5, x_69); +lean_ctor_set(x_71, 3, x_69); x_75 = lean_st_ref_set(x_5, x_71, x_72); x_76 = lean_ctor_get(x_75, 1); lean_inc(x_76); @@ -822,57 +825,51 @@ goto block_48; } else { -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_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; x_77 = lean_ctor_get(x_71, 0); x_78 = lean_ctor_get(x_71, 1); x_79 = lean_ctor_get(x_71, 2); -x_80 = lean_ctor_get(x_71, 3); -x_81 = lean_ctor_get(x_71, 4); -x_82 = lean_ctor_get(x_71, 6); -lean_inc(x_82); -lean_inc(x_81); +x_80 = lean_ctor_get(x_71, 4); lean_inc(x_80); lean_inc(x_79); lean_inc(x_78); lean_inc(x_77); lean_dec(x_71); -x_83 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_83, 0, x_77); -lean_ctor_set(x_83, 1, x_78); -lean_ctor_set(x_83, 2, x_79); -lean_ctor_set(x_83, 3, x_80); -lean_ctor_set(x_83, 4, x_81); -lean_ctor_set(x_83, 5, x_69); -lean_ctor_set(x_83, 6, x_82); -x_84 = lean_st_ref_set(x_5, x_83, x_72); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); +x_81 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_81, 0, x_77); +lean_ctor_set(x_81, 1, x_78); +lean_ctor_set(x_81, 2, x_79); +lean_ctor_set(x_81, 3, x_69); +lean_ctor_set(x_81, 4, x_80); +x_82 = lean_st_ref_set(x_5, x_81, x_72); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); x_11 = x_68; -x_12 = x_85; +x_12 = x_83; goto block_48; } } else { -lean_object* x_86; +lean_object* x_84; lean_dec(x_1); -x_86 = lean_ctor_get(x_67, 0); -lean_inc(x_86); +x_84 = lean_ctor_get(x_67, 0); +lean_inc(x_84); lean_dec(x_67); -if (lean_obj_tag(x_86) == 0) +if (lean_obj_tag(x_84) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_90, 0, x_89); -x_91 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main___spec__1___rarg(x_87, x_90, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_61); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_87 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_87, 0, x_86); +x_88 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_89 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_1__evalTacticUsing___main___spec__1___rarg(x_85, x_88, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_61); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -880,29 +877,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_87); -x_92 = !lean_is_exclusive(x_91); -if (x_92 == 0) +lean_dec(x_85); +x_90 = !lean_is_exclusive(x_89); +if (x_90 == 0) { -return x_91; +return x_89; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_91, 0); -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_91); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -return x_95; +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_89); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } else { -lean_object* x_96; uint8_t x_97; +lean_object* x_94; uint8_t x_95; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -911,31 +908,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_96 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__1___rarg(x_61); -x_97 = !lean_is_exclusive(x_96); -if (x_97 == 0) +x_94 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__1___rarg(x_61); +x_95 = !lean_is_exclusive(x_94); +if (x_95 == 0) { -return x_96; +return x_94; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_96, 0); -x_99 = lean_ctor_get(x_96, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_96); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_94, 0); +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_94); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } } else { -uint8_t x_101; +uint8_t x_99; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -945,23 +942,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_101 = !lean_is_exclusive(x_49); -if (x_101 == 0) +x_99 = !lean_is_exclusive(x_49); +if (x_99 == 0) { return x_49; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_49, 0); -x_103 = lean_ctor_get(x_49, 1); -lean_inc(x_103); -lean_inc(x_102); +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_49, 0); +x_101 = lean_ctor_get(x_49, 1); +lean_inc(x_101); +lean_inc(x_100); lean_dec(x_49); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; } } block_48: @@ -1086,7 +1083,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__12; +x_3 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__10; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 9b0e424afa..82f7d538e5 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -20,22 +20,22 @@ uint8_t l___private_Lean_Elab_Term_5__hasCDot(lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MonadError___closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3; -lean_object* l___private_Lean_Elab_Term_28__mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1; +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; -lean_object* l___private_Lean_Elab_Term_26__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppStx(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadQuotation; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__1; -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__3; lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__8; +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__3; lean_object* l___private_Lean_Elab_Term_6__expandCDot___main___closed__2; lean_object* l_Lean_Meta_isType___at_Lean_Elab_Term_ensureType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_29__mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__4; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); @@ -70,6 +70,7 @@ lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_tryPostpone___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__7; +lean_object* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_29__mkFreshLevelMVars___spec__1(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_Term_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_addLevelMVarDecl(lean_object*, lean_object*); @@ -84,7 +85,6 @@ lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel___at_Lean_Elab_Term_tryCoe___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwErrorIfErrors___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_28__mkFreshLevelMVars___spec__1(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_Term_expandArrayLit___closed__10; lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_hasEval___rarg___closed__1; @@ -114,11 +114,11 @@ lean_object* l___private_Lean_Elab_Term_4__liftMetaMFinalizer(lean_object*, lean lean_object* l_Lean_Elab_Term_elabQuotedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_format(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Term_3__saveTraceAsMessages___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__5; lean_object* l_Lean_Elab_Term_saveAllState(lean_object*); lean_object* l___private_Lean_Elab_Term_20__elabImplicitLambda___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* l_Lean_mkMVar(lean_object*); extern lean_object* l_Array_empty___closed__1; +lean_object* l_Lean_Elab_Term_mkFreshInstanceName___closed__3; lean_object* lean_environment_find(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; lean_object* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -142,7 +142,8 @@ lean_object* l_Lean_Elab_Term_withDeclName(lean_object*); lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__2; extern lean_object* l_Lean_Elab_throwAbort___rarg___closed__1; extern lean_object* l_Lean_Elab_logException___rarg___lambda__1___closed__3; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_traceAtCmdPos___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__6; @@ -180,15 +181,16 @@ lean_object* l_Lean_MessageData_formatAux___main(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__1; lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object*, lean_object*); +lean_object* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_29__mkFreshLevelMVars___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* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___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* l___regBuiltin_Lean_Elab_Term_elabParen(lean_object*); +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__5; extern lean_object* l_String_splitAux___main___closed__1; +lean_object* l___private_Lean_Elab_Term_28__resolveLocalName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_22__tryCoeSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getAppArgs___closed__1; -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; lean_object* l___private_Lean_Elab_Term_9__tryPureCoe_x3f(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_Level_elabLevel(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -228,10 +230,8 @@ lean_object* l_Lean_Elab_Term_resolveName___closed__5; lean_object* l_Lean_Elab_Term_LVal_hasToString(lean_object*); extern lean_object* l_Lean_Meta_State_inhabited___closed__7; lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__8; -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2; -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__8; -lean_object* l___private_Lean_Elab_Term_26__resolveLocalNameAux(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__7; extern lean_object* l_Lean_levelZero; lean_object* l_Lean_Elab_Term_TermElabResult_inhabited___closed__1; @@ -242,7 +242,6 @@ lean_object* l___private_Lean_Elab_Term_22__tryCoeSort___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__2; lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1; lean_object* l_Lean_Elab_Term_termElabAttribute___closed__2; lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorContext_logError___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -251,7 +250,6 @@ extern lean_object* l_Lean_getConstInfo___rarg___lambda__1___closed__3; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg___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_Term_elabBadCDot___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__2; lean_object* l_Lean_Elab_Term_MVarErrorContext_logError___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*); @@ -261,6 +259,7 @@ lean_object* l___private_Lean_Elab_Term_10__exceptionToSorry(lean_object*, lean_ lean_object* l___private_Lean_Elab_Term_8__isMonad_x3f___closed__1; lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__1; +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorContext_logError___closed__1; lean_object* l_Lean_Elab_Term_liftMetaM(lean_object*); @@ -276,13 +275,13 @@ lean_object* l___private_Lean_Elab_Term_11__postponeElabTerm___boxed(lean_object lean_object* l___private_Lean_Elab_Term_5__hasCDot___main___closed__1; lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_31__mkSomeContext___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabHole(lean_object*); lean_object* l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorContext(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_Elab_logDbgTrace___rarg___closed__2; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryCoe___closed__4; -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___boxed(lean_object*); lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___closed__5; extern lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__3; @@ -293,6 +292,7 @@ lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(le lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_MVarErrorContext_logError___spec__2___closed__3; lean_object* l_Lean_Elab_Term_MVarErrorContext_logError___closed__4; lean_object* l_Lean_Elab_Term_elabParen___closed__4; +lean_object* l___private_Lean_Elab_Term_24__mkTacticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MonadLiftT___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -305,14 +305,13 @@ lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__1; extern lean_object* l_Lean_Meta_isExprDefEq___rarg___closed__2; lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Term_3__saveTraceAsMessages___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_foldlMAux___main___at___private_Lean_Elab_Term_3__saveTraceAsMessages___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MetaHasEval___rarg___closed__2; extern lean_object* l_Lean_Expr_Inhabited___closed__1; -lean_object* l___private_Lean_Elab_Term_31__regTraceClasses___closed__1; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__4; lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshUserName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabByTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -332,6 +331,7 @@ lean_object* l_Lean_Elab_Term_elabTermWithoutImplicitLambdas(lean_object*, lean_ lean_object* l_Lean_MetavarContext_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f___boxed(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_object* l_Lean_Elab_Term_mkFreshUserName___closed__2; lean_object* l_Lean_Elab_Term_tryCoe___closed__1; lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -339,9 +339,10 @@ lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__7; lean_object* l_Lean_Elab_Term_mkConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrNamespace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__6___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshUserName___closed__1; lean_object* l_Lean_Elab_Term_TermElabM_run(lean_object*); lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__4; -lean_object* l_List_foldlM___main___at___private_Lean_Elab_Term_29__mkConsts___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryCoe___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_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorContext_logError___closed__9; @@ -353,7 +354,7 @@ lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__24; lean_object* l_Lean_Elab_Term_termElabAttribute___closed__1; lean_object* l_Lean_Elab_Term_MVarErrorContext_logError___closed__8; -lean_object* l_Lean_Elab_Term_mkFreshInstanceName(lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshInstanceName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__2; lean_object* l___private_Lean_Elab_Term_19__elabImplicitLambdaAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -385,14 +386,11 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___lambda__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__2; uint8_t l_Lean_Exception_hasSyntheticSorry(lean_object*); -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__1; lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7; -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__2; -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__4; lean_object* l___private_Lean_Elab_Term_15__isExplicitApp___boxed(lean_object*); lean_object* l___private_Lean_Elab_Term_11__postponeElabTerm___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); @@ -401,13 +399,11 @@ lean_object* l_Lean_Elab_Term_levelMVarToParam_x27___boxed(lean_object*, lean_ob lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___boxed(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_getConstInfo___rarg___lambda__1___closed__5; -lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); lean_object* l___private_Lean_MonadEnv_1__mkAuxNameAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNumLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_blockImplicitLambda___boxed(lean_object*); lean_object* l_Lean_Elab_Term_monadQuotation___closed__1; uint8_t l_Lean_Elab_Term_blockImplicitLambda(lean_object*); -lean_object* l_List_foldlM___main___at___private_Lean_Elab_Term_29__mkConsts___spec__1(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_Term_elabTypeStx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setMCtx___at_Lean_Elab_Term_savingMCtx___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -442,16 +438,18 @@ lean_object* l_Lean_Meta_getMVars___at_Lean_Elab_Term_logUnassignedUsingErrorCon lean_object* l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabParen___closed__1; +lean_object* l___private_Lean_Elab_Term_31__mkSomeContext___closed__2; lean_object* l_Lean_Syntax_prettyPrint(lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter; lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3; +lean_object* l_List_foldlM___main___at___private_Lean_Elab_Term_30__mkConsts___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_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MonadError___closed__3; extern lean_object* l_List_repr___rarg___closed__2; lean_object* l_Lean_Meta_getMVarsAtDecl___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_30__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftCoreM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_29__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; lean_object* l_Lean_Elab_Term_monadLog___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -472,11 +470,10 @@ extern lean_object* l_Lean_numLitKind___closed__2; lean_object* l_Lean_Elab_Term_MVarErrorContext_logError___closed__5; lean_object* l_Lean_Elab_Term_SavedState_inhabited___closed__1; lean_object* l_Lean_Elab_Term_monadLog___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(lean_object*); +lean_object* l___private_Lean_Elab_Term_30__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__6; lean_object* l_Lean_Elab_Term_expandArrayLit___closed__9; -lean_object* l___private_Lean_Elab_Term_28__mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___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*); @@ -484,6 +481,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_charToExpr___lambda__1___closed__1; +lean_object* l___private_Lean_Elab_Term_32__regTraceClasses___closed__1; uint8_t l___private_Lean_Elab_Term_5__hasCDot___main(lean_object*); lean_object* l_Lean_Elab_Term_expandArrayLit___closed__4; lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_1__mkInstanceKey___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -501,13 +499,14 @@ lean_object* l_Lean_LocalDecl_toExpr(lean_object*); extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_Lean_Elab_Term_termElabAttribute___closed__5; lean_object* l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_25__elabCDot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandArrayLit___closed__8; lean_object* l_Lean_Elab_Term_ensureHasType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isType___at_Lean_Elab_Term_ensureType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit(lean_object*); +lean_object* l___private_Lean_Elab_Term_26__elabCDot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_16__isLambdaWithImplicit___boxed(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandListLit___closed__1; lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -516,7 +515,6 @@ extern lean_object* l___private_Lean_Elab_Util_4__regTraceClasses___closed__1; lean_object* l___private_Lean_Elab_Term_1__mkMessageAux(lean_object*, lean_object*, lean_object*, uint8_t); uint8_t l_Lean_Expr_isForall(lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType___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_Elab_Term_mkFreshInstanceName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_23__elabOptLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -526,7 +524,6 @@ lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lea uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l_Lean_Elab_Term_expandArrayLit___closed__1; lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandListLit(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_2__decLevelImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3; @@ -539,6 +536,7 @@ lean_object* l_Lean_Elab_Term_throwTypeMismatchError(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabSort(lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__9; +lean_object* l___private_Lean_Elab_Term_29__mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; lean_object* l_Lean_Elab_Term_TermElabM_inhabited___closed__1; lean_object* l___private_Lean_Meta_SynthInstance_9__trySynthInstanceImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -564,17 +562,18 @@ lean_object* l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Ter lean_object* l___private_Lean_Elab_Term_21__elabTermAux(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__2; lean_object* l_Lean_Elab_Term_monadLog___closed__2; +lean_object* l___private_Lean_Elab_Term_24__mkTacticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getDeclName_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_29__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_24__mkTacticMVar___closed__1; lean_object* l_Lean_Meta_getLevel___at_Lean_Elab_Term_tryCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__5; lean_object* l___regBuiltin_Lean_Elab_Term_expandArrayLit(lean_object*); lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__9; +lean_object* l_Lean_Elab_Term_mkFreshUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName(lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_22__tryCoeSort___closed__8; extern lean_object* l_Option_HasRepr___rarg___closed__3; @@ -599,10 +598,11 @@ lean_object* l_Lean_Elab_Term_liftMetaM___rarg___boxed(lean_object*, lean_object lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_18__useImplicitLambda_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_MVarErrorContext_logError___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_30__mkSomeContext; extern lean_object* l_Lean_mkAppStx___closed__5; lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_object*); lean_object* l_Lean_Elab_Term_MetaHasEval___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l___private_Lean_Elab_Term_31__mkSomeContext; +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__4; lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1; extern lean_object* l_Lean_Elab_macroAttribute; @@ -613,10 +613,8 @@ extern lean_object* l_Lean_Elab_postponeExceptionId; lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___rarg(lean_object*); lean_object* lean_environment_main_module(lean_object*); extern lean_object* l_Std_PersistentArray_empty___closed__3; -lean_object* l___private_Lean_Elab_Term_30__mkSomeContext___closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); -lean_object* l___private_Lean_Elab_Term_30__mkSomeContext___closed__2; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog___boxed(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__6; @@ -643,6 +641,7 @@ lean_object* l___private_Lean_Elab_Term_6__expandCDot___main(lean_object*, lean_ lean_object* l_Lean_Elab_Term_expandArrayLit(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3; +lean_object* l___private_Lean_Elab_Term_24__mkTacticMVar___closed__2; lean_object* l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -697,12 +696,11 @@ lean_object* l_Lean_Elab_Term_elabSort(lean_object*, lean_object*, lean_object*, uint8_t l_Lean_Elab_Term_levelMVarToParam___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_MonadTracer_trace___at_Lean_Meta_isLevelDefEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_adaptExpander(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_Term_mkFreshInstanceName___closed__4; lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_evalNat___main___closed__7; lean_object* l_Lean_Syntax_getPos(lean_object*); -lean_object* l___private_Lean_Elab_Term_31__regTraceClasses(lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog___boxed(lean_object*); -lean_object* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_28__mkFreshLevelMVars___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* l___private_Lean_Elab_Term_21__elabTermAux___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___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__1; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -716,9 +714,11 @@ lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___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_Meta_mkSorry___rarg___lambda__1___closed__4; extern lean_object* l_Lean_mkAppStx___closed__9; +lean_object* l_List_foldlM___main___at___private_Lean_Elab_Term_30__mkConsts___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* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); extern lean_object* l_Lean_TraceState_Inhabited___closed__1; +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__2; lean_object* l_Lean_Elab_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOpenDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -742,14 +742,13 @@ lean_object* l_Lean_Elab_Term_MonadError___lambda__2(lean_object*, lean_object*, lean_object* l_Lean_Meta_decLevel___at_Lean_Elab_Term_elabNumLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__12; lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*); -lean_object* l_Lean_Elab_Term_mkTacticMVar___closed__2; lean_object* l_Lean_Elab_Term_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_32__regTraceClasses(lean_object*); lean_object* l___private_Lean_Util_Trace_3__checkTraceOptionM___at_Lean_Meta_isLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__1(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*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1; lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__6; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); @@ -771,9 +770,9 @@ lean_object* l_Lean_Elab_Term_resolveName___closed__2; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__17; lean_object* l_Lean_Elab_Term_elabSyntheticHole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__11; lean_object* l_Lean_Elab_Term_getLevelNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__2; extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_20__elabImplicitLambda___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -826,16 +825,15 @@ lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_5__getResetTraces___at_Lean_Meta_isLevelDefEq___spec__4___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkTacticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_14__isExplicit___closed__1; lean_object* lean_usize_to_nat(size_t); extern lean_object* l_Lean_Elab_mkMacroAttribute___closed__2; lean_object* l_Lean_Elab_Term_expandArrayLit___closed__3; lean_object* l_Lean_Meta_getMVars___at_Lean_Elab_Term_logUnassignedUsingErrorContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_14__isExplicit___boxed(lean_object*); -lean_object* l___private_Lean_Elab_Term_27__resolveLocalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_23__elabOptLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2; +lean_object* l___private_Lean_Elab_Term_28__resolveLocalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Term_3__saveTraceAsMessages___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_5__hasCDot___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -846,12 +844,11 @@ lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Elab_Term_elabStrLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbort___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshInstanceName___boxed(lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshInstanceName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___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_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_27__resolveLocalName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__7; lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__6; lean_object* l_Lean_Elab_Term_resolveName___closed__1; @@ -870,17 +867,17 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean lean_object* lean_uint32_to_nat(uint32_t); lean_object* l_Std_PersistentArray_foldlMAux___main___at___private_Lean_Elab_Term_3__saveTraceAsMessages___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; -lean_object* l_Lean_Elab_Term_mkTacticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__1; -lean_object* l_Lean_Elab_Term_mkTacticMVar___closed__1; lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___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___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_expandListLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; lean_object* l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_7__isTypeApp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MonadError___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkFreshInstanceName___closed__2; lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppOptM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__7; lean_object* l_Lean_Elab_Term_expandListLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveAllState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -893,19 +890,19 @@ lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__1; lean_object* l_Lean_Elab_Term_MVarErrorContext_logError___closed__3; lean_object* l_Lean_Elab_Term_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_6__expandCDot(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__1; -lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; +extern lean_object* l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__1; lean_object* l___private_Lean_Elab_Term_4__liftMetaMFinalizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbort___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__2___rarg(lean_object*); lean_object* l_Lean_Elab_Term_elabTermWithoutImplicitLambdas___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_Elab_Term_mkFreshInstanceName___closed__1; extern lean_object* l_Lean_listToExpr___rarg___closed__6; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__2; lean_object* l_Lean_Meta_mkFreshExprMVar___at_Lean_Elab_Term_tryCoe___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_toIO(lean_object*); lean_object* l_Lean_Elab_Term_expandCDot_x3f(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; @@ -921,7 +918,9 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_7__isTypeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___at___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__6; +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__1; lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__3; +extern lean_object* l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; lean_object* l_Lean_Elab_Term_expandArrayLit___closed__5; uint8_t l_Lean_Syntax_isIdent(lean_object*); extern lean_object* l_Lean_Elab_registerPostponeId___closed__1; @@ -969,20 +968,17 @@ return x_11; lean_object* _init_l_Lean_Elab_Term_State_inhabited___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_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Std_PersistentArray_empty___closed__3; -x_3 = lean_unsigned_to_nat(1u); -x_4 = l_Lean_Unhygienic_run___rarg___closed__1; -x_5 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_1); -lean_ctor_set(x_5, 2, x_2); -lean_ctor_set(x_5, 3, x_3); -lean_ctor_set(x_5, 4, x_3); -lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_1); -return x_5; +x_3 = l_Lean_Unhygienic_run___rarg___closed__1; +x_4 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_1); +lean_ctor_set(x_4, 2, x_2); +lean_ctor_set(x_4, 3, x_3); +lean_ctor_set(x_4, 4, x_1); +return x_4; } } lean_object* _init_l_Lean_Elab_Term_State_inhabited() { @@ -1038,20 +1034,17 @@ return x_9; lean_object* _init_l_Lean_Elab_Term_SavedState_inhabited___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_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Std_PersistentArray_empty___closed__3; -x_3 = lean_unsigned_to_nat(1u); -x_4 = l_Lean_Unhygienic_run___rarg___closed__1; -x_5 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_1); -lean_ctor_set(x_5, 2, x_2); -lean_ctor_set(x_5, 3, x_3); -lean_ctor_set(x_5, 4, x_3); -lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_1); -return x_5; +x_3 = l_Lean_Unhygienic_run___rarg___closed__1; +x_4 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_1); +lean_ctor_set(x_4, 2, x_2); +lean_ctor_set(x_4, 3, x_3); +lean_ctor_set(x_4, 4, x_1); +return x_4; } } lean_object* _init_l_Lean_Elab_Term_SavedState_inhabited___closed__2() { @@ -1272,49 +1265,43 @@ return x_19; } else { -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_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; x_20 = lean_ctor_get(x_8, 0); x_21 = lean_ctor_get(x_8, 1); x_22 = lean_ctor_get(x_8, 3); x_23 = lean_ctor_get(x_8, 4); -x_24 = lean_ctor_get(x_8, 5); -x_25 = lean_ctor_get(x_8, 6); -lean_inc(x_25); -lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); lean_dec(x_8); -x_26 = l_Std_PersistentArray_empty___closed__3; -x_27 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_27, 0, x_20); -lean_ctor_set(x_27, 1, x_21); -lean_ctor_set(x_27, 2, x_26); -lean_ctor_set(x_27, 3, x_22); -lean_ctor_set(x_27, 4, x_23); -lean_ctor_set(x_27, 5, x_24); -lean_ctor_set(x_27, 6, x_25); -x_28 = lean_st_ref_set(x_1, x_27, x_9); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); +x_24 = l_Std_PersistentArray_empty___closed__3; +x_25 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_25, 0, x_20); +lean_ctor_set(x_25, 1, x_21); +lean_ctor_set(x_25, 2, x_24); +lean_ctor_set(x_25, 3, x_22); +lean_ctor_set(x_25, 4, x_23); +x_26 = lean_st_ref_set(x_1, x_25, x_9); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_28 = x_26; +} else { + lean_dec_ref(x_26); + x_28 = lean_box(0); +} +x_29 = lean_box(0); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { x_30 = x_28; -} else { - lean_dec_ref(x_28); - x_30 = lean_box(0); } -x_31 = lean_box(0); -if (lean_is_scalar(x_30)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_30; -} -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_29); -return x_32; +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; } } } @@ -2043,62 +2030,56 @@ return x_24; } else { -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_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; x_25 = lean_ctor_get(x_13, 0); x_26 = lean_ctor_get(x_13, 1); x_27 = lean_ctor_get(x_13, 2); x_28 = lean_ctor_get(x_13, 3); x_29 = lean_ctor_get(x_13, 4); -x_30 = lean_ctor_get(x_13, 5); -x_31 = lean_ctor_get(x_13, 6); -lean_inc(x_31); -lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_dec(x_13); -x_32 = l_Std_PersistentArray_foldlM___at___private_Lean_Elab_Term_3__saveTraceAsMessages___spec__1(x_2, x_11, x_9, x_27); -x_33 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_33, 0, x_25); -lean_ctor_set(x_33, 1, x_26); -lean_ctor_set(x_33, 2, x_32); -lean_ctor_set(x_33, 3, x_28); -lean_ctor_set(x_33, 4, x_29); -lean_ctor_set(x_33, 5, x_30); -lean_ctor_set(x_33, 6, x_31); -x_34 = lean_st_ref_set(x_3, x_33, x_14); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); +x_30 = l_Std_PersistentArray_foldlM___at___private_Lean_Elab_Term_3__saveTraceAsMessages___spec__1(x_2, x_11, x_9, x_27); +x_31 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_31, 0, x_25); +lean_ctor_set(x_31, 1, x_26); +lean_ctor_set(x_31, 2, x_30); +lean_ctor_set(x_31, 3, x_28); +lean_ctor_set(x_31, 4, x_29); +x_32 = lean_st_ref_set(x_3, x_31, x_14); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + x_34 = x_32; +} else { + lean_dec_ref(x_32); + x_34 = lean_box(0); +} +x_35 = lean_box(0); +if (lean_is_scalar(x_34)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { x_36 = x_34; -} else { - lean_dec_ref(x_34); - x_36 = lean_box(0); } -x_37 = lean_box(0); -if (lean_is_scalar(x_36)) { - x_38 = lean_alloc_ctor(0, 2, 0); -} else { - x_38 = x_36; -} -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +return x_36; } } else { -lean_object* x_39; lean_object* x_40; +lean_object* x_37; lean_object* x_38; lean_dec(x_2); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_8); -return x_40; +x_37 = lean_box(0); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_8); +return x_38; } } } @@ -3442,51 +3423,45 @@ return x_21; } else { -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_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; x_22 = lean_ctor_get(x_10, 0); x_23 = lean_ctor_get(x_10, 1); x_24 = lean_ctor_get(x_10, 2); x_25 = lean_ctor_get(x_10, 3); x_26 = lean_ctor_get(x_10, 4); -x_27 = lean_ctor_get(x_10, 5); -x_28 = lean_ctor_get(x_10, 6); -lean_inc(x_28); -lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_dec(x_10); -x_29 = l_Std_PersistentArray_push___rarg(x_24, x_1); -x_30 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_30, 0, x_22); -lean_ctor_set(x_30, 1, x_23); -lean_ctor_set(x_30, 2, x_29); -lean_ctor_set(x_30, 3, x_25); -lean_ctor_set(x_30, 4, x_26); -lean_ctor_set(x_30, 5, x_27); -lean_ctor_set(x_30, 6, x_28); -x_31 = lean_st_ref_set(x_3, x_30, x_11); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); +x_27 = l_Std_PersistentArray_push___rarg(x_24, x_1); +x_28 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_23); +lean_ctor_set(x_28, 2, x_27); +lean_ctor_set(x_28, 3, x_25); +lean_ctor_set(x_28, 4, x_26); +x_29 = lean_st_ref_set(x_3, x_28, x_11); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_31 = x_29; +} else { + lean_dec_ref(x_29); + x_31 = lean_box(0); +} +x_32 = lean_box(0); +if (lean_is_scalar(x_31)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { x_33 = x_31; -} else { - lean_dec_ref(x_31); - x_33 = lean_box(0); } -x_34 = lean_box(0); -if (lean_is_scalar(x_33)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_33; -} -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; } } } @@ -3733,10 +3708,10 @@ x_12 = !lean_is_exclusive(x_10); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_ctor_get(x_10, 5); +x_13 = lean_ctor_get(x_10, 3); x_14 = lean_unsigned_to_nat(1u); x_15 = lean_nat_add(x_13, x_14); -lean_ctor_set(x_10, 5, x_15); +lean_ctor_set(x_10, 3, x_15); x_16 = lean_st_ref_set(x_3, x_10, x_11); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); @@ -3790,53 +3765,47 @@ return x_32; } else { -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; uint8_t x_52; uint8_t x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +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; uint8_t x_50; uint8_t x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; x_33 = lean_ctor_get(x_10, 0); x_34 = lean_ctor_get(x_10, 1); x_35 = lean_ctor_get(x_10, 2); x_36 = lean_ctor_get(x_10, 3); x_37 = lean_ctor_get(x_10, 4); -x_38 = lean_ctor_get(x_10, 5); -x_39 = lean_ctor_get(x_10, 6); -lean_inc(x_39); -lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); lean_dec(x_10); -x_40 = lean_unsigned_to_nat(1u); -x_41 = lean_nat_add(x_38, x_40); -x_42 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_42, 0, x_33); -lean_ctor_set(x_42, 1, x_34); -lean_ctor_set(x_42, 2, x_35); -lean_ctor_set(x_42, 3, x_36); -lean_ctor_set(x_42, 4, x_37); -lean_ctor_set(x_42, 5, x_41); -lean_ctor_set(x_42, 6, x_39); -x_43 = lean_st_ref_set(x_3, x_42, x_11); -x_44 = lean_ctor_get(x_43, 1); +x_38 = lean_unsigned_to_nat(1u); +x_39 = lean_nat_add(x_36, x_38); +x_40 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_40, 0, x_33); +lean_ctor_set(x_40, 1, x_34); +lean_ctor_set(x_40, 2, x_35); +lean_ctor_set(x_40, 3, x_39); +lean_ctor_set(x_40, 4, x_37); +x_41 = lean_st_ref_set(x_3, x_40, x_11); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_ctor_get(x_2, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_2, 1); lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_ctor_get(x_2, 0); +x_45 = lean_ctor_get(x_2, 2); lean_inc(x_45); -x_46 = lean_ctor_get(x_2, 1); +x_46 = lean_ctor_get(x_2, 3); lean_inc(x_46); -x_47 = lean_ctor_get(x_2, 2); +x_47 = lean_ctor_get(x_2, 4); lean_inc(x_47); -x_48 = lean_ctor_get(x_2, 3); +x_48 = lean_ctor_get(x_2, 5); lean_inc(x_48); -x_49 = lean_ctor_get(x_2, 4); +x_49 = lean_ctor_get(x_2, 6); lean_inc(x_49); -x_50 = lean_ctor_get(x_2, 5); -lean_inc(x_50); -x_51 = lean_ctor_get(x_2, 6); -lean_inc(x_51); -x_52 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -x_53 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); -x_54 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); +x_50 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); +x_51 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 1); +x_52 = lean_ctor_get_uint8(x_2, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -3846,29 +3815,29 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 5); lean_ctor_release(x_2, 6); lean_ctor_release(x_2, 7); - x_55 = x_2; + x_53 = x_2; } else { lean_dec_ref(x_2); - x_55 = lean_box(0); + x_53 = lean_box(0); } -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 8, 3); } else { - x_56 = x_55; + x_54 = x_53; } -lean_ctor_set(x_56, 0, x_45); -lean_ctor_set(x_56, 1, x_46); -lean_ctor_set(x_56, 2, x_47); -lean_ctor_set(x_56, 3, x_48); -lean_ctor_set(x_56, 4, x_49); -lean_ctor_set(x_56, 5, x_50); -lean_ctor_set(x_56, 6, x_51); -lean_ctor_set(x_56, 7, x_38); -lean_ctor_set_uint8(x_56, sizeof(void*)*8, x_52); -lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 1, x_53); -lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 2, x_54); -x_57 = lean_apply_7(x_1, x_56, x_3, x_4, x_5, x_6, x_7, x_44); -return x_57; +lean_ctor_set(x_54, 0, x_43); +lean_ctor_set(x_54, 1, x_44); +lean_ctor_set(x_54, 2, x_45); +lean_ctor_set(x_54, 3, x_46); +lean_ctor_set(x_54, 4, x_47); +lean_ctor_set(x_54, 5, x_48); +lean_ctor_set(x_54, 6, x_49); +lean_ctor_set(x_54, 7, x_36); +lean_ctor_set_uint8(x_54, sizeof(void*)*8, x_50); +lean_ctor_set_uint8(x_54, sizeof(void*)*8 + 1, x_51); +lean_ctor_set_uint8(x_54, sizeof(void*)*8 + 2, x_52); +x_55 = lean_apply_7(x_1, x_54, x_3, x_4, x_5, x_6, x_7, x_42); +return x_55; } } } @@ -4256,7 +4225,7 @@ if (x_8 == 0) { lean_object* x_9; lean_object* x_10; x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_9, 6); +x_10 = lean_ctor_get(x_9, 4); lean_inc(x_10); lean_dec(x_9); lean_ctor_set(x_7, 0, x_10); @@ -4270,7 +4239,7 @@ x_12 = lean_ctor_get(x_7, 1); lean_inc(x_12); lean_inc(x_11); lean_dec(x_7); -x_13 = lean_ctor_get(x_11, 6); +x_13 = lean_ctor_get(x_11, 4); lean_inc(x_13); lean_dec(x_11); x_14 = lean_alloc_ctor(0, 2, 0); @@ -4909,162 +4878,150 @@ return x_36; } else { -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_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; x_37 = lean_ctor_get(x_25, 0); x_38 = lean_ctor_get(x_25, 1); x_39 = lean_ctor_get(x_25, 2); x_40 = lean_ctor_get(x_25, 3); x_41 = lean_ctor_get(x_25, 4); -x_42 = lean_ctor_get(x_25, 5); -x_43 = lean_ctor_get(x_25, 6); -lean_inc(x_43); -lean_inc(x_42); lean_inc(x_41); lean_inc(x_40); lean_inc(x_39); lean_inc(x_38); lean_inc(x_37); lean_dec(x_25); -x_44 = l_Std_PersistentArray_push___rarg(x_39, x_23); -x_45 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_45, 0, x_37); -lean_ctor_set(x_45, 1, x_38); -lean_ctor_set(x_45, 2, x_44); -lean_ctor_set(x_45, 3, x_40); -lean_ctor_set(x_45, 4, x_41); -lean_ctor_set(x_45, 5, x_42); -lean_ctor_set(x_45, 6, x_43); -x_46 = lean_st_ref_set(x_5, x_45, x_26); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); +x_42 = l_Std_PersistentArray_push___rarg(x_39, x_23); +x_43 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_43, 0, x_37); +lean_ctor_set(x_43, 1, x_38); +lean_ctor_set(x_43, 2, x_42); +lean_ctor_set(x_43, 3, x_40); +lean_ctor_set(x_43, 4, x_41); +x_44 = lean_st_ref_set(x_5, x_43, x_26); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_46 = x_44; +} else { + lean_dec_ref(x_44); + x_46 = lean_box(0); +} +x_47 = lean_box(0); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { x_48 = x_46; -} else { - lean_dec_ref(x_46); - x_48 = lean_box(0); } -x_49 = lean_box(0); -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_47); -return x_50; +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; } } else { -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; uint8_t x_64; -x_51 = lean_ctor_get(x_13, 0); -lean_inc(x_51); +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; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_49 = lean_ctor_get(x_13, 0); +lean_inc(x_49); lean_dec(x_13); -x_52 = lean_ctor_get(x_4, 0); -x_53 = lean_ctor_get(x_4, 1); -x_54 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_2, x_6, x_7, x_8, x_9, x_10); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = l_Lean_FileMap_toPosition(x_53, x_51); -x_58 = lean_box(0); -x_59 = l_String_splitAux___main___closed__1; -lean_inc(x_52); -x_60 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_60, 0, x_52); -lean_ctor_set(x_60, 1, x_57); -lean_ctor_set(x_60, 2, x_58); -lean_ctor_set(x_60, 3, x_59); -lean_ctor_set(x_60, 4, x_55); -lean_ctor_set_uint8(x_60, sizeof(void*)*5, x_3); -x_61 = lean_st_ref_take(x_5, x_56); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = !lean_is_exclusive(x_62); -if (x_64 == 0) +x_50 = lean_ctor_get(x_4, 0); +x_51 = lean_ctor_get(x_4, 1); +x_52 = l_Lean_addMessageDataContextFull___at_Lean_Meta_Lean_AddMessageDataContext___spec__1(x_2, x_6, x_7, x_8, x_9, x_10); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = l_Lean_FileMap_toPosition(x_51, x_49); +x_56 = lean_box(0); +x_57 = l_String_splitAux___main___closed__1; +lean_inc(x_50); +x_58 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_58, 0, x_50); +lean_ctor_set(x_58, 1, x_55); +lean_ctor_set(x_58, 2, x_56); +lean_ctor_set(x_58, 3, x_57); +lean_ctor_set(x_58, 4, x_53); +lean_ctor_set_uint8(x_58, sizeof(void*)*5, x_3); +x_59 = lean_st_ref_take(x_5, x_54); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = !lean_is_exclusive(x_60); +if (x_62 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_65 = lean_ctor_get(x_62, 2); -x_66 = l_Std_PersistentArray_push___rarg(x_65, x_60); -lean_ctor_set(x_62, 2, x_66); -x_67 = lean_st_ref_set(x_5, x_62, x_63); -x_68 = !lean_is_exclusive(x_67); -if (x_68 == 0) +lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_63 = lean_ctor_get(x_60, 2); +x_64 = l_Std_PersistentArray_push___rarg(x_63, x_58); +lean_ctor_set(x_60, 2, x_64); +x_65 = lean_st_ref_set(x_5, x_60, x_61); +x_66 = !lean_is_exclusive(x_65); +if (x_66 == 0) { -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_67, 0); -lean_dec(x_69); -x_70 = lean_box(0); -lean_ctor_set(x_67, 0, x_70); -return x_67; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_65, 0); lean_dec(x_67); -x_72 = lean_box(0); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -return x_73; +x_68 = lean_box(0); +lean_ctor_set(x_65, 0, x_68); +return x_65; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_65, 1); +lean_inc(x_69); +lean_dec(x_65); +x_70 = lean_box(0); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +return x_71; } } else { -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_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; -x_74 = lean_ctor_get(x_62, 0); -x_75 = lean_ctor_get(x_62, 1); -x_76 = lean_ctor_get(x_62, 2); -x_77 = lean_ctor_get(x_62, 3); -x_78 = lean_ctor_get(x_62, 4); -x_79 = lean_ctor_get(x_62, 5); -x_80 = lean_ctor_get(x_62, 6); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); +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_81; lean_object* x_82; lean_object* x_83; +x_72 = lean_ctor_get(x_60, 0); +x_73 = lean_ctor_get(x_60, 1); +x_74 = lean_ctor_get(x_60, 2); +x_75 = lean_ctor_get(x_60, 3); +x_76 = lean_ctor_get(x_60, 4); lean_inc(x_76); lean_inc(x_75); lean_inc(x_74); -lean_dec(x_62); -x_81 = l_Std_PersistentArray_push___rarg(x_76, x_60); -x_82 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_82, 0, x_74); -lean_ctor_set(x_82, 1, x_75); -lean_ctor_set(x_82, 2, x_81); -lean_ctor_set(x_82, 3, x_77); -lean_ctor_set(x_82, 4, x_78); -lean_ctor_set(x_82, 5, x_79); -lean_ctor_set(x_82, 6, x_80); -x_83 = lean_st_ref_set(x_5, x_82, x_63); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_85 = x_83; +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_60); +x_77 = l_Std_PersistentArray_push___rarg(x_74, x_58); +x_78 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_78, 0, x_72); +lean_ctor_set(x_78, 1, x_73); +lean_ctor_set(x_78, 2, x_77); +lean_ctor_set(x_78, 3, x_75); +lean_ctor_set(x_78, 4, x_76); +x_79 = lean_st_ref_set(x_5, x_78, x_61); +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_81 = x_79; } else { - lean_dec_ref(x_83); - x_85 = lean_box(0); + lean_dec_ref(x_79); + x_81 = lean_box(0); } -x_86 = lean_box(0); -if (lean_is_scalar(x_85)) { - x_87 = lean_alloc_ctor(0, 2, 0); +x_82 = lean_box(0); +if (lean_is_scalar(x_81)) { + x_83 = lean_alloc_ctor(0, 2, 0); } else { - x_87 = x_85; + x_83 = x_81; } -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_84); -return x_87; +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_80); +return x_83; } } } @@ -7124,53 +7081,47 @@ return x_24; } else { -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_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; x_25 = lean_ctor_get(x_12, 0); x_26 = lean_ctor_get(x_12, 1); x_27 = lean_ctor_get(x_12, 2); x_28 = lean_ctor_get(x_12, 3); x_29 = lean_ctor_get(x_12, 4); -x_30 = lean_ctor_get(x_12, 5); -x_31 = lean_ctor_get(x_12, 6); -lean_inc(x_31); -lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_dec(x_12); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_14); -lean_ctor_set(x_32, 1, x_25); -x_33 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_26); -lean_ctor_set(x_33, 2, x_27); -lean_ctor_set(x_33, 3, x_28); -lean_ctor_set(x_33, 4, x_29); -lean_ctor_set(x_33, 5, x_30); -lean_ctor_set(x_33, 6, x_31); -x_34 = lean_st_ref_set(x_5, x_33, x_13); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_14); +lean_ctor_set(x_30, 1, x_25); +x_31 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_26); +lean_ctor_set(x_31, 2, x_27); +lean_ctor_set(x_31, 3, x_28); +lean_ctor_set(x_31, 4, x_29); +x_32 = lean_st_ref_set(x_5, x_31, x_13); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + x_34 = x_32; +} else { + lean_dec_ref(x_32); + x_34 = lean_box(0); +} +x_35 = lean_box(0); +if (lean_is_scalar(x_34)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { x_36 = x_34; -} else { - lean_dec_ref(x_34); - x_36 = lean_box(0); } -x_37 = lean_box(0); -if (lean_is_scalar(x_36)) { - x_38 = lean_alloc_ctor(0, 2, 0); -} else { - x_38 = x_36; -} -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +return x_36; } } } @@ -7261,57 +7212,51 @@ return x_24; } else { -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_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; x_25 = lean_ctor_get(x_12, 0); x_26 = lean_ctor_get(x_12, 1); x_27 = lean_ctor_get(x_12, 2); x_28 = lean_ctor_get(x_12, 3); x_29 = lean_ctor_get(x_12, 4); -x_30 = lean_ctor_get(x_12, 5); -x_31 = lean_ctor_get(x_12, 6); -lean_inc(x_31); -lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_dec(x_12); -x_32 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_32, 0, x_1); -lean_ctor_set(x_32, 1, x_2); -lean_ctor_set(x_32, 2, x_3); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_26); -x_34 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_34, 0, x_25); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_34, 2, x_27); -lean_ctor_set(x_34, 3, x_28); -lean_ctor_set(x_34, 4, x_29); -lean_ctor_set(x_34, 5, x_30); -lean_ctor_set(x_34, 6, x_31); -x_35 = lean_st_ref_set(x_5, x_34, x_13); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); +x_30 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_30, 0, x_1); +lean_ctor_set(x_30, 1, x_2); +lean_ctor_set(x_30, 2, x_3); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_26); +x_32 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_32, 0, x_25); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 2, x_27); +lean_ctor_set(x_32, 3, x_28); +lean_ctor_set(x_32, 4, x_29); +x_33 = lean_st_ref_set(x_5, x_32, x_13); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; +} else { + lean_dec_ref(x_33); + x_35 = lean_box(0); +} +x_36 = lean_box(0); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { x_37 = x_35; -} else { - lean_dec_ref(x_35); - x_37 = lean_box(0); } -x_38 = lean_box(0); -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_37; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -return x_39; +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; } } } @@ -8824,166 +8769,321 @@ lean_dec(x_2); return x_10; } } -lean_object* _init_l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1() { +lean_object* _init_l_Lean_Elab_Term_mkFreshUserName___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("_a"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg(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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_7 = lean_st_ref_get(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 4); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_st_ref_take(x_1, x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_ctor_get(x_12, 4); -x_16 = lean_unsigned_to_nat(1u); -x_17 = lean_nat_add(x_15, x_16); -lean_dec(x_15); -lean_ctor_set(x_12, 4, x_17); -x_18 = lean_st_ref_set(x_1, x_12, x_13); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -x_21 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2; -x_22 = l_Lean_Name_appendIndexAfter(x_21, x_10); -lean_ctor_set(x_18, 0, x_22); -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_dec(x_18); -x_24 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2; -x_25 = l_Lean_Name_appendIndexAfter(x_24, x_10); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -return x_26; -} -} -else -{ -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; -x_27 = lean_ctor_get(x_12, 0); -x_28 = lean_ctor_get(x_12, 1); -x_29 = lean_ctor_get(x_12, 2); -x_30 = lean_ctor_get(x_12, 3); -x_31 = lean_ctor_get(x_12, 4); -x_32 = lean_ctor_get(x_12, 5); -x_33 = lean_ctor_get(x_12, 6); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_12); -x_34 = lean_unsigned_to_nat(1u); -x_35 = lean_nat_add(x_31, x_34); -lean_dec(x_31); -x_36 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_36, 0, x_27); -lean_ctor_set(x_36, 1, x_28); -lean_ctor_set(x_36, 2, x_29); -lean_ctor_set(x_36, 3, x_30); -lean_ctor_set(x_36, 4, x_35); -lean_ctor_set(x_36, 5, x_32); -lean_ctor_set(x_36, 6, x_33); -x_37 = lean_st_ref_set(x_1, x_36, x_13); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_37)) { - lean_ctor_release(x_37, 0); - lean_ctor_release(x_37, 1); - x_39 = x_37; -} else { - lean_dec_ref(x_37); - x_39 = lean_box(0); -} -x_40 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2; -x_41 = l_Lean_Name_appendIndexAfter(x_40, x_10); -if (lean_is_scalar(x_39)) { - x_42 = lean_alloc_ctor(0, 2, 0); -} else { - x_42 = x_39; -} -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_38); -return x_42; -} -} -} -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshAnonymousName___rarg___boxed), 6, 0); +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___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* _init_l_Lean_Elab_Term_mkFreshUserName___closed__2() { _start: { -lean_object* x_7; -x_7 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_mkFreshUserName___closed__1; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Elab_Term_mkFreshUserName(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; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_st_ref_take(x_2, x_7); +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(x_8); +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_ctor_get(x_9, 3); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_12, x_13); +lean_ctor_set(x_9, 3, x_14); +x_15 = lean_st_ref_set(x_2, x_9, x_10); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = !lean_is_exclusive(x_1); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_1, 7); +lean_dec(x_18); +lean_ctor_set(x_1, 7, x_12); +x_19 = l_Lean_Elab_Term_getCurrMacroScope(x_1, x_2, x_3, x_4, x_5, x_6, x_16); +lean_dec(x_1); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_21); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +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; +x_24 = lean_ctor_get(x_22, 0); +x_25 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; +x_26 = l_Lean_addMacroScope(x_24, x_25, x_20); +x_27 = lean_box(0); +x_28 = l_Lean_SourceInfo_inhabited___closed__1; +x_29 = l_Lean_Elab_Term_mkFreshUserName___closed__2; +x_30 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_26); +lean_ctor_set(x_30, 3, x_27); +x_31 = l_Lean_Syntax_getId(x_30); +lean_dec(x_30); +lean_ctor_set(x_22, 0, x_31); +return x_22; +} +else +{ +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; +x_32 = lean_ctor_get(x_22, 0); +x_33 = lean_ctor_get(x_22, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_22); +x_34 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; +x_35 = l_Lean_addMacroScope(x_32, x_34, x_20); +x_36 = lean_box(0); +x_37 = l_Lean_SourceInfo_inhabited___closed__1; +x_38 = l_Lean_Elab_Term_mkFreshUserName___closed__2; +x_39 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_35); +lean_ctor_set(x_39, 3, x_36); +x_40 = l_Lean_Syntax_getId(x_39); +lean_dec(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_33); +return x_41; +} +} +else +{ +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_49; uint8_t x_50; uint8_t 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; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_42 = lean_ctor_get(x_1, 0); +x_43 = lean_ctor_get(x_1, 1); +x_44 = lean_ctor_get(x_1, 2); +x_45 = lean_ctor_get(x_1, 3); +x_46 = lean_ctor_get(x_1, 4); +x_47 = lean_ctor_get(x_1, 5); +x_48 = lean_ctor_get(x_1, 6); +x_49 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); +x_50 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); +x_51 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 2); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_1); +x_52 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_52, 0, x_42); +lean_ctor_set(x_52, 1, x_43); +lean_ctor_set(x_52, 2, x_44); +lean_ctor_set(x_52, 3, x_45); +lean_ctor_set(x_52, 4, x_46); +lean_ctor_set(x_52, 5, x_47); +lean_ctor_set(x_52, 6, x_48); +lean_ctor_set(x_52, 7, x_12); +lean_ctor_set_uint8(x_52, sizeof(void*)*8, x_49); +lean_ctor_set_uint8(x_52, sizeof(void*)*8 + 1, x_50); +lean_ctor_set_uint8(x_52, sizeof(void*)*8 + 2, x_51); +x_53 = l_Lean_Elab_Term_getCurrMacroScope(x_52, x_2, x_3, x_4, x_5, x_6, x_16); +lean_dec(x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_59 = x_56; +} else { + lean_dec_ref(x_56); + x_59 = lean_box(0); +} +x_60 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; +x_61 = l_Lean_addMacroScope(x_57, x_60, x_54); +x_62 = lean_box(0); +x_63 = l_Lean_SourceInfo_inhabited___closed__1; +x_64 = l_Lean_Elab_Term_mkFreshUserName___closed__2; +x_65 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_65, 2, x_61); +lean_ctor_set(x_65, 3, x_62); +x_66 = l_Lean_Syntax_getId(x_65); +lean_dec(x_65); +if (lean_is_scalar(x_59)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_59; +} +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_58); +return x_67; +} +} +else +{ +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; 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; uint8_t x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; +x_68 = lean_ctor_get(x_9, 0); +x_69 = lean_ctor_get(x_9, 1); +x_70 = lean_ctor_get(x_9, 2); +x_71 = lean_ctor_get(x_9, 3); +x_72 = lean_ctor_get(x_9, 4); +lean_inc(x_72); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_9); +x_73 = lean_unsigned_to_nat(1u); +x_74 = lean_nat_add(x_71, x_73); +x_75 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_75, 0, x_68); +lean_ctor_set(x_75, 1, x_69); +lean_ctor_set(x_75, 2, x_70); +lean_ctor_set(x_75, 3, x_74); +lean_ctor_set(x_75, 4, x_72); +x_76 = lean_st_ref_set(x_2, x_75, x_10); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_78 = lean_ctor_get(x_1, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_1, 1); +lean_inc(x_79); +x_80 = lean_ctor_get(x_1, 2); +lean_inc(x_80); +x_81 = lean_ctor_get(x_1, 3); +lean_inc(x_81); +x_82 = lean_ctor_get(x_1, 4); +lean_inc(x_82); +x_83 = lean_ctor_get(x_1, 5); +lean_inc(x_83); +x_84 = lean_ctor_get(x_1, 6); +lean_inc(x_84); +x_85 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); +x_86 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); +x_87 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 2); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + lean_ctor_release(x_1, 2); + lean_ctor_release(x_1, 3); + lean_ctor_release(x_1, 4); + lean_ctor_release(x_1, 5); + lean_ctor_release(x_1, 6); + lean_ctor_release(x_1, 7); + x_88 = x_1; +} else { + lean_dec_ref(x_1); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(0, 8, 3); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_78); +lean_ctor_set(x_89, 1, x_79); +lean_ctor_set(x_89, 2, x_80); +lean_ctor_set(x_89, 3, x_81); +lean_ctor_set(x_89, 4, x_82); +lean_ctor_set(x_89, 5, x_83); +lean_ctor_set(x_89, 6, x_84); +lean_ctor_set(x_89, 7, x_71); +lean_ctor_set_uint8(x_89, sizeof(void*)*8, x_85); +lean_ctor_set_uint8(x_89, sizeof(void*)*8 + 1, x_86); +lean_ctor_set_uint8(x_89, sizeof(void*)*8 + 2, x_87); +x_90 = l_Lean_Elab_Term_getCurrMacroScope(x_89, x_2, x_3, x_4, x_5, x_6, x_77); +lean_dec(x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_92); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_96 = x_93; +} else { + lean_dec_ref(x_93); + x_96 = lean_box(0); +} +x_97 = l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__2; +x_98 = l_Lean_addMacroScope(x_94, x_97, x_91); +x_99 = lean_box(0); +x_100 = l_Lean_SourceInfo_inhabited___closed__1; +x_101 = l_Lean_Elab_Term_mkFreshUserName___closed__2; +x_102 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +lean_ctor_set(x_102, 2, x_98); +lean_ctor_set(x_102, 3, x_99); +x_103 = l_Lean_Syntax_getId(x_102); +lean_dec(x_102); +if (lean_is_scalar(x_96)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_96; +} +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_95); +return x_104; +} +} +} +lean_object* l_Lean_Elab_Term_mkFreshUserName___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_Elab_Term_mkFreshUserName(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_7; +return x_8; } } -lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Term_mkFreshAnonymousName(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent(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* l_Lean_Elab_Term_mkFreshIdent(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; uint8_t x_10; -x_9 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg(x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_Term_mkFreshUserName(x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { @@ -9009,174 +9109,346 @@ return x_16; } } } -lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent___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* l_Lean_Elab_Term_mkFreshIdent___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_Elab_Term_mkFreshAnonymousIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_Term_mkFreshIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); return x_9; } } -lean_object* _init_l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1() { +lean_object* _init_l_Lean_Elab_Term_mkFreshInstanceName___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("_inst"); +x_1 = lean_mk_string("inst"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2() { +lean_object* _init_l_Lean_Elab_Term_mkFreshInstanceName___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_mkFreshInstanceName___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_mkFreshInstanceName___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_mkFreshInstanceName___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_mkFreshInstanceName___closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Elab_Term_mkFreshInstanceName___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1; +x_2 = l_Lean_Elab_Term_mkFreshInstanceName___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg(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* l_Lean_Elab_Term_mkFreshInstanceName(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_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; uint8_t x_14; -x_7 = lean_st_ref_get(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_st_ref_take(x_2, x_7); +x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 3); +x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = lean_st_ref_take(x_1, x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_ctor_get(x_12, 3); -x_16 = lean_unsigned_to_nat(1u); -x_17 = lean_nat_add(x_15, x_16); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = lean_ctor_get(x_9, 3); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_12, x_13); +lean_ctor_set(x_9, 3, x_14); +x_15 = lean_st_ref_set(x_2, x_9, x_10); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); lean_dec(x_15); -lean_ctor_set(x_12, 3, x_17); -x_18 = lean_st_ref_set(x_1, x_12, x_13); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) +x_17 = !lean_is_exclusive(x_1); +if (x_17 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -x_21 = l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; -x_22 = l_Lean_Name_appendIndexAfter(x_21, x_10); -lean_ctor_set(x_18, 0, x_22); -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_1, 7); lean_dec(x_18); -x_24 = l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; -x_25 = l_Lean_Name_appendIndexAfter(x_24, x_10); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -return x_26; -} +lean_ctor_set(x_1, 7, x_12); +x_19 = l_Lean_Elab_Term_getCurrMacroScope(x_1, x_2, x_3, x_4, x_5, x_6, x_16); +lean_dec(x_1); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_21); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +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; +x_24 = lean_ctor_get(x_22, 0); +x_25 = l_Lean_Elab_Term_mkFreshInstanceName___closed__4; +x_26 = l_Lean_addMacroScope(x_24, x_25, x_20); +x_27 = lean_box(0); +x_28 = l_Lean_SourceInfo_inhabited___closed__1; +x_29 = l_Lean_Elab_Term_mkFreshInstanceName___closed__3; +x_30 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_26); +lean_ctor_set(x_30, 3, x_27); +x_31 = l_Lean_Syntax_getId(x_30); +lean_dec(x_30); +lean_ctor_set(x_22, 0, x_31); +return x_22; } else { -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; -x_27 = lean_ctor_get(x_12, 0); -x_28 = lean_ctor_get(x_12, 1); -x_29 = lean_ctor_get(x_12, 2); -x_30 = lean_ctor_get(x_12, 3); -x_31 = lean_ctor_get(x_12, 4); -x_32 = lean_ctor_get(x_12, 5); -x_33 = lean_ctor_get(x_12, 6); +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; +x_32 = lean_ctor_get(x_22, 0); +x_33 = lean_ctor_get(x_22, 1); lean_inc(x_33); lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_12); -x_34 = lean_unsigned_to_nat(1u); -x_35 = lean_nat_add(x_30, x_34); -lean_dec(x_30); -x_36 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_36, 0, x_27); -lean_ctor_set(x_36, 1, x_28); -lean_ctor_set(x_36, 2, x_29); -lean_ctor_set(x_36, 3, x_35); -lean_ctor_set(x_36, 4, x_31); -lean_ctor_set(x_36, 5, x_32); -lean_ctor_set(x_36, 6, x_33); -x_37 = lean_st_ref_set(x_1, x_36, x_13); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_37)) { - lean_ctor_release(x_37, 0); - lean_ctor_release(x_37, 1); - x_39 = x_37; +lean_dec(x_22); +x_34 = l_Lean_Elab_Term_mkFreshInstanceName___closed__4; +x_35 = l_Lean_addMacroScope(x_32, x_34, x_20); +x_36 = lean_box(0); +x_37 = l_Lean_SourceInfo_inhabited___closed__1; +x_38 = l_Lean_Elab_Term_mkFreshInstanceName___closed__3; +x_39 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_35); +lean_ctor_set(x_39, 3, x_36); +x_40 = l_Lean_Syntax_getId(x_39); +lean_dec(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_33); +return x_41; +} +} +else +{ +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_49; uint8_t x_50; uint8_t 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; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_42 = lean_ctor_get(x_1, 0); +x_43 = lean_ctor_get(x_1, 1); +x_44 = lean_ctor_get(x_1, 2); +x_45 = lean_ctor_get(x_1, 3); +x_46 = lean_ctor_get(x_1, 4); +x_47 = lean_ctor_get(x_1, 5); +x_48 = lean_ctor_get(x_1, 6); +x_49 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); +x_50 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); +x_51 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 2); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_1); +x_52 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_52, 0, x_42); +lean_ctor_set(x_52, 1, x_43); +lean_ctor_set(x_52, 2, x_44); +lean_ctor_set(x_52, 3, x_45); +lean_ctor_set(x_52, 4, x_46); +lean_ctor_set(x_52, 5, x_47); +lean_ctor_set(x_52, 6, x_48); +lean_ctor_set(x_52, 7, x_12); +lean_ctor_set_uint8(x_52, sizeof(void*)*8, x_49); +lean_ctor_set_uint8(x_52, sizeof(void*)*8 + 1, x_50); +lean_ctor_set_uint8(x_52, sizeof(void*)*8 + 2, x_51); +x_53 = l_Lean_Elab_Term_getCurrMacroScope(x_52, x_2, x_3, x_4, x_5, x_6, x_16); +lean_dec(x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_55); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_59 = x_56; } else { - lean_dec_ref(x_37); - x_39 = lean_box(0); + lean_dec_ref(x_56); + x_59 = lean_box(0); } -x_40 = l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; -x_41 = l_Lean_Name_appendIndexAfter(x_40, x_10); -if (lean_is_scalar(x_39)) { - x_42 = lean_alloc_ctor(0, 2, 0); +x_60 = l_Lean_Elab_Term_mkFreshInstanceName___closed__4; +x_61 = l_Lean_addMacroScope(x_57, x_60, x_54); +x_62 = lean_box(0); +x_63 = l_Lean_SourceInfo_inhabited___closed__1; +x_64 = l_Lean_Elab_Term_mkFreshInstanceName___closed__3; +x_65 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_65, 2, x_61); +lean_ctor_set(x_65, 3, x_62); +x_66 = l_Lean_Syntax_getId(x_65); +lean_dec(x_65); +if (lean_is_scalar(x_59)) { + x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_42 = x_39; + x_67 = x_59; } -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_38); -return x_42; +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_58); +return x_67; +} +} +else +{ +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; 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; uint8_t x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 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; lean_object* x_103; lean_object* x_104; +x_68 = lean_ctor_get(x_9, 0); +x_69 = lean_ctor_get(x_9, 1); +x_70 = lean_ctor_get(x_9, 2); +x_71 = lean_ctor_get(x_9, 3); +x_72 = lean_ctor_get(x_9, 4); +lean_inc(x_72); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_9); +x_73 = lean_unsigned_to_nat(1u); +x_74 = lean_nat_add(x_71, x_73); +x_75 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_75, 0, x_68); +lean_ctor_set(x_75, 1, x_69); +lean_ctor_set(x_75, 2, x_70); +lean_ctor_set(x_75, 3, x_74); +lean_ctor_set(x_75, 4, x_72); +x_76 = lean_st_ref_set(x_2, x_75, x_10); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_78 = lean_ctor_get(x_1, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_1, 1); +lean_inc(x_79); +x_80 = lean_ctor_get(x_1, 2); +lean_inc(x_80); +x_81 = lean_ctor_get(x_1, 3); +lean_inc(x_81); +x_82 = lean_ctor_get(x_1, 4); +lean_inc(x_82); +x_83 = lean_ctor_get(x_1, 5); +lean_inc(x_83); +x_84 = lean_ctor_get(x_1, 6); +lean_inc(x_84); +x_85 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); +x_86 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); +x_87 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 2); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + lean_ctor_release(x_1, 2); + lean_ctor_release(x_1, 3); + lean_ctor_release(x_1, 4); + lean_ctor_release(x_1, 5); + lean_ctor_release(x_1, 6); + lean_ctor_release(x_1, 7); + x_88 = x_1; +} else { + lean_dec_ref(x_1); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(0, 8, 3); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_78); +lean_ctor_set(x_89, 1, x_79); +lean_ctor_set(x_89, 2, x_80); +lean_ctor_set(x_89, 3, x_81); +lean_ctor_set(x_89, 4, x_82); +lean_ctor_set(x_89, 5, x_83); +lean_ctor_set(x_89, 6, x_84); +lean_ctor_set(x_89, 7, x_71); +lean_ctor_set_uint8(x_89, sizeof(void*)*8, x_85); +lean_ctor_set_uint8(x_89, sizeof(void*)*8 + 1, x_86); +lean_ctor_set_uint8(x_89, sizeof(void*)*8 + 2, x_87); +x_90 = l_Lean_Elab_Term_getCurrMacroScope(x_89, x_2, x_3, x_4, x_5, x_6, x_77); +lean_dec(x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = l_Lean_Elab_Term_getMainModule___rarg(x_6, x_92); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_96 = x_93; +} else { + lean_dec_ref(x_93); + x_96 = lean_box(0); +} +x_97 = l_Lean_Elab_Term_mkFreshInstanceName___closed__4; +x_98 = l_Lean_addMacroScope(x_94, x_97, x_91); +x_99 = lean_box(0); +x_100 = l_Lean_SourceInfo_inhabited___closed__1; +x_101 = l_Lean_Elab_Term_mkFreshInstanceName___closed__3; +x_102 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +lean_ctor_set(x_102, 2, x_98); +lean_ctor_set(x_102, 3, x_99); +x_103 = l_Lean_Syntax_getId(x_102); +lean_dec(x_102); +if (lean_is_scalar(x_96)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_96; +} +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_95); +return x_104; } } } -lean_object* l_Lean_Elab_Term_mkFreshInstanceName(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_mkFreshInstanceName___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_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshInstanceName___rarg___boxed), 6, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___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_Elab_Term_mkFreshInstanceName___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_8; +x_8 = l_Lean_Elab_Term_mkFreshInstanceName(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Elab_Term_mkFreshInstanceName___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Term_mkFreshInstanceName(x_1); -lean_dec(x_1); -return x_2; +return x_8; } } uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_5__hasCDot___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -18748,7 +19020,7 @@ lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__1(lean_objec _start: { lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_1, 5); +x_9 = lean_ctor_get(x_1, 3); lean_inc(x_9); x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_9); @@ -18770,9 +19042,9 @@ x_12 = !lean_is_exclusive(x_10); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_10, 5); +x_13 = lean_ctor_get(x_10, 3); lean_dec(x_13); -lean_ctor_set(x_10, 5, x_1); +lean_ctor_set(x_10, 3, x_1); x_14 = lean_st_ref_set(x_3, x_10, x_11); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) @@ -18799,48 +19071,42 @@ return x_20; } else { -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_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; x_21 = lean_ctor_get(x_10, 0); x_22 = lean_ctor_get(x_10, 1); x_23 = lean_ctor_get(x_10, 2); -x_24 = lean_ctor_get(x_10, 3); -x_25 = lean_ctor_get(x_10, 4); -x_26 = lean_ctor_get(x_10, 6); -lean_inc(x_26); -lean_inc(x_25); +x_24 = lean_ctor_get(x_10, 4); lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_dec(x_10); -x_27 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_27, 0, x_21); -lean_ctor_set(x_27, 1, x_22); -lean_ctor_set(x_27, 2, x_23); -lean_ctor_set(x_27, 3, x_24); -lean_ctor_set(x_27, 4, x_25); -lean_ctor_set(x_27, 5, x_1); -lean_ctor_set(x_27, 6, x_26); -x_28 = lean_st_ref_set(x_3, x_27, x_11); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); +x_25 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_25, 0, x_21); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_23); +lean_ctor_set(x_25, 3, x_1); +lean_ctor_set(x_25, 4, x_24); +x_26 = lean_st_ref_set(x_3, x_25, x_11); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_28 = x_26; +} else { + lean_dec_ref(x_26); + x_28 = lean_box(0); +} +x_29 = lean_box(0); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { x_30 = x_28; -} else { - lean_dec_ref(x_28); - x_30 = lean_box(0); } -x_31 = lean_box(0); -if (lean_is_scalar(x_30)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_30; -} -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_29); -return x_32; +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; } } } @@ -20730,10 +20996,10 @@ x_21 = !lean_is_exclusive(x_19); if (x_21 == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_22 = lean_ctor_get(x_19, 5); +x_22 = lean_ctor_get(x_19, 3); x_23 = lean_unsigned_to_nat(1u); x_24 = lean_nat_add(x_22, x_23); -lean_ctor_set(x_19, 5, x_24); +lean_ctor_set(x_19, 3, x_24); x_25 = lean_st_ref_set(x_6, x_19, x_20); x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); @@ -20825,53 +21091,47 @@ return x_59; } else { -lean_object* x_60; 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; 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; uint8_t x_79; uint8_t x_80; uint8_t 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_91; lean_object* x_92; lean_object* x_93; +lean_object* x_60; 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; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; uint8_t x_78; uint8_t 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_91; x_60 = lean_ctor_get(x_19, 0); x_61 = lean_ctor_get(x_19, 1); x_62 = lean_ctor_get(x_19, 2); x_63 = lean_ctor_get(x_19, 3); x_64 = lean_ctor_get(x_19, 4); -x_65 = lean_ctor_get(x_19, 5); -x_66 = lean_ctor_get(x_19, 6); -lean_inc(x_66); -lean_inc(x_65); lean_inc(x_64); lean_inc(x_63); lean_inc(x_62); lean_inc(x_61); lean_inc(x_60); lean_dec(x_19); -x_67 = lean_unsigned_to_nat(1u); -x_68 = lean_nat_add(x_65, x_67); -x_69 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_69, 0, x_60); -lean_ctor_set(x_69, 1, x_61); -lean_ctor_set(x_69, 2, x_62); -lean_ctor_set(x_69, 3, x_63); -lean_ctor_set(x_69, 4, x_64); -lean_ctor_set(x_69, 5, x_68); -lean_ctor_set(x_69, 6, x_66); -x_70 = lean_st_ref_set(x_6, x_69, x_20); -x_71 = lean_ctor_get(x_70, 1); +x_65 = lean_unsigned_to_nat(1u); +x_66 = lean_nat_add(x_63, x_65); +x_67 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_67, 0, x_60); +lean_ctor_set(x_67, 1, x_61); +lean_ctor_set(x_67, 2, x_62); +lean_ctor_set(x_67, 3, x_66); +lean_ctor_set(x_67, 4, x_64); +x_68 = lean_st_ref_set(x_6, x_67, x_20); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +x_70 = lean_ctor_get(x_5, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_5, 1); lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_ctor_get(x_5, 0); +x_72 = lean_ctor_get(x_5, 2); lean_inc(x_72); -x_73 = lean_ctor_get(x_5, 1); +x_73 = lean_ctor_get(x_5, 3); lean_inc(x_73); -x_74 = lean_ctor_get(x_5, 2); +x_74 = lean_ctor_get(x_5, 4); lean_inc(x_74); -x_75 = lean_ctor_get(x_5, 3); +x_75 = lean_ctor_get(x_5, 5); lean_inc(x_75); -x_76 = lean_ctor_get(x_5, 4); +x_76 = lean_ctor_get(x_5, 6); lean_inc(x_76); -x_77 = lean_ctor_get(x_5, 5); -lean_inc(x_77); -x_78 = lean_ctor_get(x_5, 6); -lean_inc(x_78); -x_79 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_80 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_81 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +x_77 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); +x_78 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); +x_79 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 0); lean_ctor_release(x_5, 1); @@ -20881,65 +21141,65 @@ if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 5); lean_ctor_release(x_5, 6); lean_ctor_release(x_5, 7); - x_82 = x_5; + x_80 = x_5; } else { lean_dec_ref(x_5); - x_82 = lean_box(0); + x_80 = lean_box(0); } -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(0, 8, 3); +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(0, 8, 3); } else { - x_83 = x_82; + x_81 = x_80; } -lean_ctor_set(x_83, 0, x_72); -lean_ctor_set(x_83, 1, x_73); -lean_ctor_set(x_83, 2, x_74); -lean_ctor_set(x_83, 3, x_75); -lean_ctor_set(x_83, 4, x_76); -lean_ctor_set(x_83, 5, x_77); -lean_ctor_set(x_83, 6, x_78); -lean_ctor_set(x_83, 7, x_65); -lean_ctor_set_uint8(x_83, sizeof(void*)*8, x_79); -lean_ctor_set_uint8(x_83, sizeof(void*)*8 + 1, x_80); -lean_ctor_set_uint8(x_83, sizeof(void*)*8 + 2, x_81); -x_84 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_71); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); +lean_ctor_set(x_81, 0, x_70); +lean_ctor_set(x_81, 1, x_71); +lean_ctor_set(x_81, 2, x_72); +lean_ctor_set(x_81, 3, x_73); +lean_ctor_set(x_81, 4, x_74); +lean_ctor_set(x_81, 5, x_75); +lean_ctor_set(x_81, 6, x_76); +lean_ctor_set(x_81, 7, x_63); +lean_ctor_set_uint8(x_81, sizeof(void*)*8, x_77); +lean_ctor_set_uint8(x_81, sizeof(void*)*8 + 1, x_78); +lean_ctor_set_uint8(x_81, sizeof(void*)*8 + 2, x_79); +x_82 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_69); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = l_Lean_Elab_Term_getCurrMacroScope(x_81, x_6, x_7, x_8, x_9, x_10, x_84); +x_86 = lean_ctor_get(x_85, 0); lean_inc(x_86); -lean_dec(x_84); -x_87 = l_Lean_Elab_Term_getCurrMacroScope(x_83, x_6, x_7, x_8, x_9, x_10, x_86); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = l_Lean_addMacroScope(x_85, x_12, x_88); -x_91 = lean_box(x_2); -x_92 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_20__elabImplicitLambda___main___lambda__1___boxed), 12, 4); -lean_closure_set(x_92, 0, x_14); -lean_closure_set(x_92, 1, x_4); -lean_closure_set(x_92, 2, x_1); -lean_closure_set(x_92, 3, x_91); -x_93 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_90, x_16, x_13, x_92, x_83, x_6, x_7, x_8, x_9, x_10, x_89); -return x_93; +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = l_Lean_addMacroScope(x_83, x_12, x_86); +x_89 = lean_box(x_2); +x_90 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_20__elabImplicitLambda___main___lambda__1___boxed), 12, 4); +lean_closure_set(x_90, 0, x_14); +lean_closure_set(x_90, 1, x_4); +lean_closure_set(x_90, 2, x_1); +lean_closure_set(x_90, 3, x_89); +x_91 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_88, x_16, x_13, x_90, x_81, x_6, x_7, x_8, x_9, x_10, x_87); +return x_91; } } else { -lean_object* x_94; +lean_object* x_92; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_94 = l___private_Lean_Elab_Term_19__elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_94; +x_92 = l___private_Lean_Elab_Term_19__elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_92; } } else { -lean_object* x_95; -x_95 = l___private_Lean_Elab_Term_19__elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_95; +lean_object* x_93; +x_93 = l___private_Lean_Elab_Term_19__elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_93; } } } @@ -21128,10 +21388,10 @@ x_15 = !lean_is_exclusive(x_13); if (x_15 == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_16 = lean_ctor_get(x_13, 5); +x_16 = lean_ctor_get(x_13, 3); x_17 = lean_unsigned_to_nat(1u); x_18 = lean_nat_add(x_16, x_17); -lean_ctor_set(x_13, 5, x_18); +lean_ctor_set(x_13, 3, x_18); x_19 = lean_st_ref_set(x_6, x_13, x_14); x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); @@ -21176,7 +21436,7 @@ uint8_t x_38; x_38 = !lean_is_exclusive(x_9); if (x_38 == 0) { -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_65; lean_object* x_66; lean_object* x_127; uint8_t x_128; +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_65; lean_object* x_66; lean_object* x_125; uint8_t x_126; x_39 = lean_ctor_get(x_9, 3); lean_dec(x_39); x_40 = lean_ctor_get(x_9, 2); @@ -21191,85 +21451,85 @@ lean_inc(x_35); lean_inc(x_43); lean_inc(x_33); lean_ctor_set(x_9, 1, x_43); -x_127 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; -x_128 = l_Lean_checkTraceOption(x_33, x_127); +x_125 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; +x_126 = l_Lean_checkTraceOption(x_33, x_125); lean_dec(x_33); -if (x_128 == 0) +if (x_126 == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_129 = lean_st_ref_get(x_10, x_20); -x_130 = lean_ctor_get(x_129, 0); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_127 = lean_st_ref_get(x_10, x_20); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = lean_ctor_get(x_128, 0); lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_132 = lean_ctor_get(x_130, 0); -lean_inc(x_132); -lean_dec(x_130); -x_65 = x_132; -x_66 = x_131; -goto block_126; +lean_dec(x_128); +x_65 = x_130; +x_66 = x_129; +goto block_124; } else { -lean_object* x_133; +lean_object* x_131; lean_inc(x_4); -x_133 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_133, 0, x_4); +x_131 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_131, 0, x_4); if (lean_obj_tag(x_1) == 0) { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_134 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; -x_135 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -x_136 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_127, x_135, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -x_137 = lean_ctor_get(x_136, 1); +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; +x_132 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; +x_133 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_125, x_133, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +lean_dec(x_134); +x_136 = lean_st_ref_get(x_10, x_135); +x_137 = lean_ctor_get(x_136, 0); lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); lean_dec(x_136); -x_138 = lean_st_ref_get(x_10, x_137); -x_139 = lean_ctor_get(x_138, 0); +x_139 = lean_ctor_get(x_137, 0); lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); -lean_inc(x_140); -lean_dec(x_138); -x_141 = lean_ctor_get(x_139, 0); -lean_inc(x_141); -lean_dec(x_139); -x_65 = x_141; -x_66 = x_140; -goto block_126; +lean_dec(x_137); +x_65 = x_139; +x_66 = x_138; +goto block_124; } else { -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; -x_142 = lean_ctor_get(x_1, 0); -lean_inc(x_142); -x_143 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_143, 0, x_142); -x_144 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; -x_145 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_145, 0, x_143); -lean_ctor_set(x_145, 1, x_144); -x_146 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_133); -x_147 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_127, x_146, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -x_148 = lean_ctor_get(x_147, 1); +lean_object* x_140; lean_object* x_141; 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; +x_140 = lean_ctor_get(x_1, 0); +lean_inc(x_140); +x_141 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_141, 0, x_140); +x_142 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; +x_143 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_131); +x_145 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_125, x_144, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_146 = lean_ctor_get(x_145, 1); +lean_inc(x_146); +lean_dec(x_145); +x_147 = lean_st_ref_get(x_10, x_146); +x_148 = lean_ctor_get(x_147, 0); lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); lean_dec(x_147); -x_149 = lean_st_ref_get(x_10, x_148); -x_150 = lean_ctor_get(x_149, 0); +x_150 = lean_ctor_get(x_148, 0); lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); -lean_dec(x_149); -x_152 = lean_ctor_get(x_150, 0); -lean_inc(x_152); -lean_dec(x_150); -x_65 = x_152; -x_66 = x_151; -goto block_126; +lean_dec(x_148); +x_65 = x_150; +x_66 = x_149; +goto block_124; } } block_64: @@ -21393,7 +21653,7 @@ x_11 = x_45; goto _start; } } -block_126: +block_124: { 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; lean_object* x_78; lean_object* x_79; lean_object* x_80; x_67 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_66); @@ -21417,7 +21677,7 @@ lean_inc(x_75); x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); lean_dec(x_74); -x_77 = lean_ctor_get(x_75, 5); +x_77 = lean_ctor_get(x_75, 3); lean_inc(x_77); lean_dec(x_75); x_78 = lean_environment_main_module(x_73); @@ -21447,9 +21707,9 @@ x_86 = !lean_is_exclusive(x_84); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_87 = lean_ctor_get(x_84, 5); +x_87 = lean_ctor_get(x_84, 3); lean_dec(x_87); -lean_ctor_set(x_84, 5, x_82); +lean_ctor_set(x_84, 3, x_82); x_88 = lean_st_ref_set(x_6, x_84, x_85); x_89 = lean_ctor_get(x_88, 1); lean_inc(x_89); @@ -21462,48 +21722,42 @@ goto block_64; } else { -lean_object* x_91; lean_object* x_92; 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_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; x_91 = lean_ctor_get(x_84, 0); x_92 = lean_ctor_get(x_84, 1); x_93 = lean_ctor_get(x_84, 2); -x_94 = lean_ctor_get(x_84, 3); -x_95 = lean_ctor_get(x_84, 4); -x_96 = lean_ctor_get(x_84, 6); -lean_inc(x_96); -lean_inc(x_95); +x_94 = lean_ctor_get(x_84, 4); lean_inc(x_94); lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); lean_dec(x_84); -x_97 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_97, 0, x_91); -lean_ctor_set(x_97, 1, x_92); -lean_ctor_set(x_97, 2, x_93); -lean_ctor_set(x_97, 3, x_94); -lean_ctor_set(x_97, 4, x_95); -lean_ctor_set(x_97, 5, x_82); -lean_ctor_set(x_97, 6, x_96); -x_98 = lean_st_ref_set(x_6, x_97, x_85); -x_99 = lean_ctor_get(x_98, 1); +x_95 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_95, 0, x_91); +lean_ctor_set(x_95, 1, x_92); +lean_ctor_set(x_95, 2, x_93); +lean_ctor_set(x_95, 3, x_82); +lean_ctor_set(x_95, 4, x_94); +x_96 = lean_st_ref_set(x_6, x_95, x_85); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +x_98 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_98, 0, x_81); +x_44 = x_98; +x_45 = x_97; +goto block_64; +} +} +else +{ +lean_object* x_99; +x_99 = lean_ctor_get(x_80, 0); lean_inc(x_99); -lean_dec(x_98); -x_100 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_100, 0, x_81); -x_44 = x_100; -x_45 = x_99; -goto block_64; -} -} -else -{ -lean_object* x_101; -x_101 = lean_ctor_get(x_80, 0); -lean_inc(x_101); lean_dec(x_80); -if (lean_obj_tag(x_101) == 0) +if (lean_obj_tag(x_99) == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_dec(x_28); lean_dec(x_27); lean_dec(x_26); @@ -21514,103 +21768,58 @@ lean_dec(x_22); lean_dec(x_16); lean_dec(x_4); lean_dec(x_1); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_104, 0, x_103); -x_105 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_105, 0, x_104); -x_106 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_102, x_105, x_5, x_6, x_7, x_8, x_9, x_10, x_76); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_102, 0, x_101); +x_103 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_103, 0, x_102); +x_104 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_100, x_103, x_5, x_6, x_7, x_8, x_9, x_10, x_76); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_102); -x_107 = !lean_is_exclusive(x_106); -if (x_107 == 0) +lean_dec(x_100); +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) { -return x_106; +return x_104; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_106, 0); -x_109 = lean_ctor_get(x_106, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_106); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_104, 0); +x_107 = lean_ctor_get(x_104, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_104); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } else { -lean_object* x_111; uint8_t x_112; -x_111 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_76); -x_112 = !lean_is_exclusive(x_111); -if (x_112 == 0) +lean_object* x_109; uint8_t x_110; +x_109 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_76); +x_110 = !lean_is_exclusive(x_109); +if (x_110 == 0) { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_111 = lean_ctor_get(x_109, 0); +x_112 = lean_ctor_get(x_109, 1); x_113 = lean_ctor_get(x_111, 0); -x_114 = lean_ctor_get(x_111, 1); -x_115 = lean_ctor_get(x_113, 0); -lean_inc(x_115); -x_116 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_117 = lean_nat_dec_eq(x_116, x_115); -lean_dec(x_115); -if (x_117 == 0) -{ -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_16); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_111; -} -else -{ -lean_object* x_118; -lean_free_object(x_111); +lean_inc(x_113); +x_114 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_115 = lean_nat_dec_eq(x_114, x_113); lean_dec(x_113); -x_118 = lean_box(0); -x_44 = x_118; -x_45 = x_114; -goto block_64; -} -} -else +if (x_115 == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -x_119 = lean_ctor_get(x_111, 0); -x_120 = lean_ctor_get(x_111, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_111); -x_121 = lean_ctor_get(x_119, 0); -lean_inc(x_121); -x_122 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_123 = lean_nat_dec_eq(x_122, x_121); -lean_dec(x_121); -if (x_123 == 0) -{ -lean_object* x_124; lean_dec(x_9); lean_dec(x_5); lean_dec(x_28); @@ -21627,18 +21836,63 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_119); -lean_ctor_set(x_124, 1, x_120); -return x_124; +return x_109; } else { -lean_object* x_125; +lean_object* x_116; +lean_free_object(x_109); +lean_dec(x_111); +x_116 = lean_box(0); +x_44 = x_116; +x_45 = x_112; +goto block_64; +} +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; +x_117 = lean_ctor_get(x_109, 0); +x_118 = lean_ctor_get(x_109, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_109); +x_119 = lean_ctor_get(x_117, 0); +lean_inc(x_119); +x_120 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_121 = lean_nat_dec_eq(x_120, x_119); lean_dec(x_119); -x_125 = lean_box(0); -x_44 = x_125; -x_45 = x_120; +if (x_121 == 0) +{ +lean_object* x_122; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_118); +return x_122; +} +else +{ +lean_object* x_123; +lean_dec(x_117); +x_123 = lean_box(0); +x_44 = x_123; +x_45 = x_118; goto block_64; } } @@ -21648,102 +21902,102 @@ goto block_64; } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_176; lean_object* x_177; lean_object* x_228; uint8_t x_229; +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_174; lean_object* x_175; lean_object* x_224; uint8_t x_225; lean_dec(x_9); -x_153 = lean_nat_add(x_34, x_17); +x_151 = lean_nat_add(x_34, x_17); lean_dec(x_34); lean_inc(x_35); -lean_inc(x_153); +lean_inc(x_151); lean_inc(x_33); -x_154 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_154, 0, x_33); -lean_ctor_set(x_154, 1, x_153); -lean_ctor_set(x_154, 2, x_35); -lean_ctor_set(x_154, 3, x_36); -x_228 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; -x_229 = l_Lean_checkTraceOption(x_33, x_228); +x_152 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_152, 0, x_33); +lean_ctor_set(x_152, 1, x_151); +lean_ctor_set(x_152, 2, x_35); +lean_ctor_set(x_152, 3, x_36); +x_224 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; +x_225 = l_Lean_checkTraceOption(x_33, x_224); lean_dec(x_33); -if (x_229 == 0) +if (x_225 == 0) { -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_230 = lean_st_ref_get(x_10, x_20); -x_231 = lean_ctor_get(x_230, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_230, 1); -lean_inc(x_232); -lean_dec(x_230); -x_233 = lean_ctor_get(x_231, 0); -lean_inc(x_233); -lean_dec(x_231); -x_176 = x_233; -x_177 = x_232; -goto block_227; +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_226 = lean_st_ref_get(x_10, x_20); +x_227 = lean_ctor_get(x_226, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_226, 1); +lean_inc(x_228); +lean_dec(x_226); +x_229 = lean_ctor_get(x_227, 0); +lean_inc(x_229); +lean_dec(x_227); +x_174 = x_229; +x_175 = x_228; +goto block_223; } else { -lean_object* x_234; +lean_object* x_230; lean_inc(x_4); -x_234 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_234, 0, x_4); +x_230 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_230, 0, x_4); if (lean_obj_tag(x_1) == 0) { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_235 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; -x_236 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_234); -x_237 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_228, x_236, x_5, x_6, x_7, x_8, x_154, x_10, x_20); -x_238 = lean_ctor_get(x_237, 1); +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_231 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; +x_232 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_230); +x_233 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_224, x_232, x_5, x_6, x_7, x_8, x_152, x_10, x_20); +x_234 = lean_ctor_get(x_233, 1); +lean_inc(x_234); +lean_dec(x_233); +x_235 = lean_st_ref_get(x_10, x_234); +x_236 = lean_ctor_get(x_235, 0); +lean_inc(x_236); +x_237 = lean_ctor_get(x_235, 1); +lean_inc(x_237); +lean_dec(x_235); +x_238 = lean_ctor_get(x_236, 0); lean_inc(x_238); -lean_dec(x_237); -x_239 = lean_st_ref_get(x_10, x_238); -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_242 = lean_ctor_get(x_240, 0); -lean_inc(x_242); -lean_dec(x_240); -x_176 = x_242; -x_177 = x_241; -goto block_227; +lean_dec(x_236); +x_174 = x_238; +x_175 = x_237; +goto block_223; } else { -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_243 = lean_ctor_get(x_1, 0); -lean_inc(x_243); -x_244 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_244, 0, x_243); -x_245 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; -x_246 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -x_247 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_234); -x_248 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_228, x_247, x_5, x_6, x_7, x_8, x_154, x_10, x_20); -x_249 = lean_ctor_get(x_248, 1); +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; +x_239 = lean_ctor_get(x_1, 0); +lean_inc(x_239); +x_240 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_240, 0, x_239); +x_241 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; +x_242 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_242, 0, x_240); +lean_ctor_set(x_242, 1, x_241); +x_243 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_230); +x_244 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_224, x_243, x_5, x_6, x_7, x_8, x_152, x_10, x_20); +x_245 = lean_ctor_get(x_244, 1); +lean_inc(x_245); +lean_dec(x_244); +x_246 = lean_st_ref_get(x_10, x_245); +x_247 = lean_ctor_get(x_246, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_246, 1); +lean_inc(x_248); +lean_dec(x_246); +x_249 = lean_ctor_get(x_247, 0); lean_inc(x_249); -lean_dec(x_248); -x_250 = lean_st_ref_get(x_10, x_249); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_ctor_get(x_251, 0); -lean_inc(x_253); -lean_dec(x_251); -x_176 = x_253; -x_177 = x_252; -goto block_227; +lean_dec(x_247); +x_174 = x_249; +x_175 = x_248; +goto block_223; } } -block_175: +block_173: { -if (lean_obj_tag(x_155) == 0) +if (lean_obj_tag(x_153) == 0) { lean_dec(x_28); lean_dec(x_27); @@ -21755,53 +22009,53 @@ lean_dec(x_22); lean_dec(x_16); if (x_3 == 0) { -lean_object* x_157; -x_157 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_154, x_10, x_156); -return x_157; +lean_object* x_155; +x_155 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_152, x_10, x_154); +return x_155; } else { -lean_object* x_158; +lean_object* x_156; lean_inc(x_10); lean_inc(x_8); lean_inc(x_7); lean_inc(x_5); lean_inc(x_1); lean_inc(x_4); -x_158 = l___private_Lean_Elab_Term_18__useImplicitLambda_x3f(x_4, x_1, x_5, x_6, x_7, x_8, x_154, x_10, x_156); -if (lean_obj_tag(x_158) == 0) +x_156 = l___private_Lean_Elab_Term_18__useImplicitLambda_x3f(x_4, x_1, x_5, x_6, x_7, x_8, x_152, x_10, x_154); +if (lean_obj_tag(x_156) == 0) { -lean_object* x_159; -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -if (lean_obj_tag(x_159) == 0) +lean_object* x_157; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +if (lean_obj_tag(x_157) == 0) { -lean_object* x_160; lean_object* x_161; -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_154, x_10, x_160); -return x_161; +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +x_159 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_152, x_10, x_158); +return x_159; } else { -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_dec(x_1); -x_162 = lean_ctor_get(x_158, 1); -lean_inc(x_162); -lean_dec(x_158); -x_163 = lean_ctor_get(x_159, 0); -lean_inc(x_163); -lean_dec(x_159); -x_164 = l_Array_empty___closed__1; -x_165 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main(x_4, x_2, x_163, x_164, x_5, x_6, x_7, x_8, x_154, x_10, x_162); -return x_165; +x_160 = lean_ctor_get(x_156, 1); +lean_inc(x_160); +lean_dec(x_156); +x_161 = lean_ctor_get(x_157, 0); +lean_inc(x_161); +lean_dec(x_157); +x_162 = l_Array_empty___closed__1; +x_163 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main(x_4, x_2, x_161, x_162, x_5, x_6, x_7, x_8, x_152, x_10, x_160); +return x_163; } } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -lean_dec(x_154); +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_152); lean_dec(x_5); lean_dec(x_10); lean_dec(x_8); @@ -21809,168 +22063,160 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_166 = lean_ctor_get(x_158, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_158, 1); -lean_inc(x_167); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_168 = x_158; +x_164 = lean_ctor_get(x_156, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_156, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_166 = x_156; } else { - lean_dec_ref(x_158); - x_168 = lean_box(0); + lean_dec_ref(x_156); + x_166 = lean_box(0); } -if (lean_is_scalar(x_168)) { - x_169 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(1, 2, 0); } else { - x_169 = x_168; + x_167 = x_166; } -lean_ctor_set(x_169, 0, x_166); -lean_ctor_set(x_169, 1, x_167); -return x_169; +lean_ctor_set(x_167, 0, x_164); +lean_ctor_set(x_167, 1, x_165); +return x_167; } } } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_dec(x_5); -x_170 = lean_ctor_get(x_155, 0); -lean_inc(x_170); -lean_dec(x_155); -lean_inc(x_170); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_4); -lean_ctor_set(x_171, 1, x_170); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_28); -x_173 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_173, 0, x_22); -lean_ctor_set(x_173, 1, x_23); -lean_ctor_set(x_173, 2, x_24); -lean_ctor_set(x_173, 3, x_25); -lean_ctor_set(x_173, 4, x_26); -lean_ctor_set(x_173, 5, x_27); -lean_ctor_set(x_173, 6, x_172); -lean_ctor_set(x_173, 7, x_16); -lean_ctor_set_uint8(x_173, sizeof(void*)*8, x_29); -lean_ctor_set_uint8(x_173, sizeof(void*)*8 + 1, x_30); -lean_ctor_set_uint8(x_173, sizeof(void*)*8 + 2, x_31); -x_4 = x_170; -x_5 = x_173; -x_9 = x_154; -x_11 = x_156; +x_168 = lean_ctor_get(x_153, 0); +lean_inc(x_168); +lean_dec(x_153); +lean_inc(x_168); +x_169 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_169, 0, x_4); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_28); +x_171 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_171, 0, x_22); +lean_ctor_set(x_171, 1, x_23); +lean_ctor_set(x_171, 2, x_24); +lean_ctor_set(x_171, 3, x_25); +lean_ctor_set(x_171, 4, x_26); +lean_ctor_set(x_171, 5, x_27); +lean_ctor_set(x_171, 6, x_170); +lean_ctor_set(x_171, 7, x_16); +lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_29); +lean_ctor_set_uint8(x_171, sizeof(void*)*8 + 1, x_30); +lean_ctor_set_uint8(x_171, sizeof(void*)*8 + 2, x_31); +x_4 = x_168; +x_5 = x_171; +x_9 = x_152; +x_11 = x_154; goto _start; } } -block_227: +block_223: { -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; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_178 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_154, x_10, x_177); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -lean_dec(x_178); -x_181 = lean_st_ref_get(x_10, x_180); -x_182 = lean_ctor_get(x_181, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_181, 1); -lean_inc(x_183); -lean_dec(x_181); -x_184 = lean_ctor_get(x_182, 0); -lean_inc(x_184); -lean_dec(x_182); -x_185 = lean_st_ref_get(x_6, x_183); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -lean_dec(x_185); -x_188 = lean_ctor_get(x_186, 5); -lean_inc(x_188); -lean_dec(x_186); -x_189 = lean_environment_main_module(x_184); -x_190 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_179); -lean_ctor_set(x_190, 2, x_153); -lean_ctor_set(x_190, 3, x_35); -lean_inc(x_4); -x_191 = l_Lean_Elab_getMacros(x_176, x_4, x_190, x_188); +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; lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_176 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_152, x_10, x_175); +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); lean_dec(x_176); -if (lean_obj_tag(x_191) == 0) +x_179 = lean_st_ref_get(x_10, x_178); +x_180 = lean_ctor_get(x_179, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_179, 1); +lean_inc(x_181); +lean_dec(x_179); +x_182 = lean_ctor_get(x_180, 0); +lean_inc(x_182); +lean_dec(x_180); +x_183 = lean_st_ref_get(x_6, x_181); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_183, 1); +lean_inc(x_185); +lean_dec(x_183); +x_186 = lean_ctor_get(x_184, 3); +lean_inc(x_186); +lean_dec(x_184); +x_187 = lean_environment_main_module(x_182); +x_188 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_177); +lean_ctor_set(x_188, 2, x_151); +lean_ctor_set(x_188, 3, x_35); +lean_inc(x_4); +x_189 = l_Lean_Elab_getMacros(x_174, x_4, x_188, x_186); +lean_dec(x_174); +if (lean_obj_tag(x_189) == 0) { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_192 = lean_ctor_get(x_191, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_191, 1); +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); +x_192 = lean_st_ref_take(x_6, x_185); +x_193 = lean_ctor_get(x_192, 0); lean_inc(x_193); -lean_dec(x_191); -x_194 = lean_st_ref_take(x_6, x_187); -x_195 = lean_ctor_get(x_194, 0); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_195 = lean_ctor_get(x_193, 0); lean_inc(x_195); -x_196 = lean_ctor_get(x_194, 1); +x_196 = lean_ctor_get(x_193, 1); lean_inc(x_196); -lean_dec(x_194); -x_197 = lean_ctor_get(x_195, 0); +x_197 = lean_ctor_get(x_193, 2); lean_inc(x_197); -x_198 = lean_ctor_get(x_195, 1); +x_198 = lean_ctor_get(x_193, 4); lean_inc(x_198); -x_199 = lean_ctor_get(x_195, 2); -lean_inc(x_199); -x_200 = lean_ctor_get(x_195, 3); -lean_inc(x_200); -x_201 = lean_ctor_get(x_195, 4); -lean_inc(x_201); -x_202 = lean_ctor_get(x_195, 6); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + lean_ctor_release(x_193, 4); + x_199 = x_193; +} else { + lean_dec_ref(x_193); + x_199 = lean_box(0); +} +if (lean_is_scalar(x_199)) { + x_200 = lean_alloc_ctor(0, 5, 0); +} else { + x_200 = x_199; +} +lean_ctor_set(x_200, 0, x_195); +lean_ctor_set(x_200, 1, x_196); +lean_ctor_set(x_200, 2, x_197); +lean_ctor_set(x_200, 3, x_191); +lean_ctor_set(x_200, 4, x_198); +x_201 = lean_st_ref_set(x_6, x_200, x_194); +x_202 = lean_ctor_get(x_201, 1); lean_inc(x_202); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - lean_ctor_release(x_195, 2); - lean_ctor_release(x_195, 3); - lean_ctor_release(x_195, 4); - lean_ctor_release(x_195, 5); - lean_ctor_release(x_195, 6); - x_203 = x_195; -} else { - lean_dec_ref(x_195); - x_203 = lean_box(0); -} -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(0, 7, 0); -} else { - x_204 = x_203; -} -lean_ctor_set(x_204, 0, x_197); -lean_ctor_set(x_204, 1, x_198); -lean_ctor_set(x_204, 2, x_199); -lean_ctor_set(x_204, 3, x_200); -lean_ctor_set(x_204, 4, x_201); -lean_ctor_set(x_204, 5, x_193); -lean_ctor_set(x_204, 6, x_202); -x_205 = lean_st_ref_set(x_6, x_204, x_196); -x_206 = lean_ctor_get(x_205, 1); -lean_inc(x_206); -lean_dec(x_205); -x_207 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_207, 0, x_192); -x_155 = x_207; -x_156 = x_206; -goto block_175; +lean_dec(x_201); +x_203 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_203, 0, x_190); +x_153 = x_203; +x_154 = x_202; +goto block_173; } else { -lean_object* x_208; -x_208 = lean_ctor_get(x_191, 0); -lean_inc(x_208); -lean_dec(x_191); -if (lean_obj_tag(x_208) == 0) +lean_object* x_204; +x_204 = lean_ctor_get(x_189, 0); +lean_inc(x_204); +lean_dec(x_189); +if (lean_obj_tag(x_204) == 0) { -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_dec(x_28); lean_dec(x_27); lean_dec(x_26); @@ -21981,68 +22227,68 @@ lean_dec(x_22); lean_dec(x_16); lean_dec(x_4); lean_dec(x_1); -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 1); -lean_inc(x_210); -lean_dec(x_208); -x_211 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_211, 0, x_210); -x_212 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_212, 0, x_211); -x_213 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_209, x_212, x_5, x_6, x_7, x_8, x_154, x_10, x_187); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_207, 0, x_206); +x_208 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_208, 0, x_207); +x_209 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_205, x_208, x_5, x_6, x_7, x_8, x_152, x_10, x_185); lean_dec(x_10); -lean_dec(x_154); +lean_dec(x_152); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_209); -x_214 = lean_ctor_get(x_213, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_213, 1); -lean_inc(x_215); -if (lean_is_exclusive(x_213)) { - lean_ctor_release(x_213, 0); - lean_ctor_release(x_213, 1); - x_216 = x_213; +lean_dec(x_205); +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_209)) { + lean_ctor_release(x_209, 0); + lean_ctor_release(x_209, 1); + x_212 = x_209; } else { - lean_dec_ref(x_213); - x_216 = lean_box(0); + lean_dec_ref(x_209); + x_212 = lean_box(0); } -if (lean_is_scalar(x_216)) { - x_217 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_212)) { + x_213 = lean_alloc_ctor(1, 2, 0); } else { - x_217 = x_216; + x_213 = x_212; } -lean_ctor_set(x_217, 0, x_214); -lean_ctor_set(x_217, 1, x_215); -return x_217; +lean_ctor_set(x_213, 0, x_210); +lean_ctor_set(x_213, 1, x_211); +return x_213; } else { -lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; -x_218 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_187); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_218)) { - lean_ctor_release(x_218, 0); - lean_ctor_release(x_218, 1); - x_221 = x_218; +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; +x_214 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_185); +x_215 = lean_ctor_get(x_214, 0); +lean_inc(x_215); +x_216 = lean_ctor_get(x_214, 1); +lean_inc(x_216); +if (lean_is_exclusive(x_214)) { + lean_ctor_release(x_214, 0); + lean_ctor_release(x_214, 1); + x_217 = x_214; } else { - lean_dec_ref(x_218); - x_221 = lean_box(0); + lean_dec_ref(x_214); + x_217 = lean_box(0); } -x_222 = lean_ctor_get(x_219, 0); -lean_inc(x_222); -x_223 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_224 = lean_nat_dec_eq(x_223, x_222); -lean_dec(x_222); -if (x_224 == 0) +x_218 = lean_ctor_get(x_215, 0); +lean_inc(x_218); +x_219 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_220 = lean_nat_dec_eq(x_219, x_218); +lean_dec(x_218); +if (x_220 == 0) { -lean_object* x_225; -lean_dec(x_154); +lean_object* x_221; +lean_dec(x_152); lean_dec(x_5); lean_dec(x_28); lean_dec(x_27); @@ -22058,24 +22304,24 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -if (lean_is_scalar(x_221)) { - x_225 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_217)) { + x_221 = lean_alloc_ctor(1, 2, 0); } else { - x_225 = x_221; + x_221 = x_217; } -lean_ctor_set(x_225, 0, x_219); -lean_ctor_set(x_225, 1, x_220); -return x_225; +lean_ctor_set(x_221, 0, x_215); +lean_ctor_set(x_221, 1, x_216); +return x_221; } else { -lean_object* x_226; -lean_dec(x_221); -lean_dec(x_219); -x_226 = lean_box(0); -x_155 = x_226; -x_156 = x_220; -goto block_175; +lean_object* x_222; +lean_dec(x_217); +lean_dec(x_215); +x_222 = lean_box(0); +x_153 = x_222; +x_154 = x_216; +goto block_173; } } } @@ -22084,7 +22330,7 @@ goto block_175; } else { -lean_object* x_254; lean_object* x_255; uint8_t x_256; +lean_object* x_250; lean_object* x_251; uint8_t x_252; lean_dec(x_36); lean_dec(x_35); lean_dec(x_34); @@ -22099,627 +22345,613 @@ lean_dec(x_22); lean_dec(x_16); lean_dec(x_4); lean_dec(x_1); -x_254 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -x_255 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_254, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_250 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +x_251 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_250, x_5, x_6, x_7, x_8, x_9, x_10, x_20); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_256 = !lean_is_exclusive(x_255); -if (x_256 == 0) +x_252 = !lean_is_exclusive(x_251); +if (x_252 == 0) { +return x_251; +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_253 = lean_ctor_get(x_251, 0); +x_254 = lean_ctor_get(x_251, 1); +lean_inc(x_254); +lean_inc(x_253); +lean_dec(x_251); +x_255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_255, 0, x_253); +lean_ctor_set(x_255, 1, x_254); return x_255; } +} +} else { -lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_257 = lean_ctor_get(x_255, 0); -x_258 = lean_ctor_get(x_255, 1); +lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; uint8_t x_264; uint8_t x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; +x_256 = lean_ctor_get(x_5, 0); +x_257 = lean_ctor_get(x_5, 1); +x_258 = lean_ctor_get(x_5, 2); +x_259 = lean_ctor_get(x_5, 3); +x_260 = lean_ctor_get(x_5, 4); +x_261 = lean_ctor_get(x_5, 5); +x_262 = lean_ctor_get(x_5, 6); +x_263 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); +x_264 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); +x_265 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +lean_inc(x_262); +lean_inc(x_261); +lean_inc(x_260); +lean_inc(x_259); lean_inc(x_258); lean_inc(x_257); -lean_dec(x_255); -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_257); -lean_ctor_set(x_259, 1, x_258); -return x_259; -} -} -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; uint8_t x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; uint8_t x_275; -x_260 = lean_ctor_get(x_5, 0); -x_261 = lean_ctor_get(x_5, 1); -x_262 = lean_ctor_get(x_5, 2); -x_263 = lean_ctor_get(x_5, 3); -x_264 = lean_ctor_get(x_5, 4); -x_265 = lean_ctor_get(x_5, 5); -x_266 = lean_ctor_get(x_5, 6); -x_267 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_268 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_269 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); -lean_inc(x_266); -lean_inc(x_265); -lean_inc(x_264); -lean_inc(x_263); -lean_inc(x_262); -lean_inc(x_261); -lean_inc(x_260); +lean_inc(x_256); lean_dec(x_5); lean_inc(x_16); -lean_inc(x_266); -lean_inc(x_265); -lean_inc(x_264); -lean_inc(x_263); lean_inc(x_262); lean_inc(x_261); lean_inc(x_260); -x_270 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_270, 0, x_260); -lean_ctor_set(x_270, 1, x_261); -lean_ctor_set(x_270, 2, x_262); -lean_ctor_set(x_270, 3, x_263); -lean_ctor_set(x_270, 4, x_264); -lean_ctor_set(x_270, 5, x_265); -lean_ctor_set(x_270, 6, x_266); -lean_ctor_set(x_270, 7, x_16); -lean_ctor_set_uint8(x_270, sizeof(void*)*8, x_267); -lean_ctor_set_uint8(x_270, sizeof(void*)*8 + 1, x_268); -lean_ctor_set_uint8(x_270, sizeof(void*)*8 + 2, x_269); -x_271 = lean_ctor_get(x_9, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_9, 1); -lean_inc(x_272); -x_273 = lean_ctor_get(x_9, 2); -lean_inc(x_273); -x_274 = lean_ctor_get(x_9, 3); -lean_inc(x_274); -x_275 = lean_nat_dec_eq(x_272, x_273); -if (x_275 == 0) +lean_inc(x_259); +lean_inc(x_258); +lean_inc(x_257); +lean_inc(x_256); +x_266 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_266, 0, x_256); +lean_ctor_set(x_266, 1, x_257); +lean_ctor_set(x_266, 2, x_258); +lean_ctor_set(x_266, 3, x_259); +lean_ctor_set(x_266, 4, x_260); +lean_ctor_set(x_266, 5, x_261); +lean_ctor_set(x_266, 6, x_262); +lean_ctor_set(x_266, 7, x_16); +lean_ctor_set_uint8(x_266, sizeof(void*)*8, x_263); +lean_ctor_set_uint8(x_266, sizeof(void*)*8 + 1, x_264); +lean_ctor_set_uint8(x_266, sizeof(void*)*8 + 2, x_265); +x_267 = lean_ctor_get(x_9, 0); +lean_inc(x_267); +x_268 = lean_ctor_get(x_9, 1); +lean_inc(x_268); +x_269 = lean_ctor_get(x_9, 2); +lean_inc(x_269); +x_270 = lean_ctor_get(x_9, 3); +lean_inc(x_270); +x_271 = lean_nat_dec_eq(x_268, x_269); +if (x_271 == 0) { -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_300; lean_object* x_301; lean_object* x_352; uint8_t x_353; +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_296; lean_object* x_297; lean_object* x_346; uint8_t x_347; if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); lean_ctor_release(x_9, 2); lean_ctor_release(x_9, 3); - x_276 = x_9; + x_272 = x_9; } else { lean_dec_ref(x_9); - x_276 = lean_box(0); + x_272 = lean_box(0); } -x_277 = lean_nat_add(x_272, x_17); -lean_dec(x_272); +x_273 = lean_nat_add(x_268, x_17); +lean_dec(x_268); +lean_inc(x_269); lean_inc(x_273); -lean_inc(x_277); -lean_inc(x_271); -if (lean_is_scalar(x_276)) { - x_278 = lean_alloc_ctor(0, 4, 0); +lean_inc(x_267); +if (lean_is_scalar(x_272)) { + x_274 = lean_alloc_ctor(0, 4, 0); } else { - x_278 = x_276; + x_274 = x_272; } -lean_ctor_set(x_278, 0, x_271); -lean_ctor_set(x_278, 1, x_277); -lean_ctor_set(x_278, 2, x_273); -lean_ctor_set(x_278, 3, x_274); -x_352 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; -x_353 = l_Lean_checkTraceOption(x_271, x_352); -lean_dec(x_271); -if (x_353 == 0) +lean_ctor_set(x_274, 0, x_267); +lean_ctor_set(x_274, 1, x_273); +lean_ctor_set(x_274, 2, x_269); +lean_ctor_set(x_274, 3, x_270); +x_346 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; +x_347 = l_Lean_checkTraceOption(x_267, x_346); +lean_dec(x_267); +if (x_347 == 0) { -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; -x_354 = lean_st_ref_get(x_10, x_20); -x_355 = lean_ctor_get(x_354, 0); -lean_inc(x_355); -x_356 = lean_ctor_get(x_354, 1); -lean_inc(x_356); -lean_dec(x_354); -x_357 = lean_ctor_get(x_355, 0); -lean_inc(x_357); -lean_dec(x_355); -x_300 = x_357; -x_301 = x_356; -goto block_351; +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; +x_348 = lean_st_ref_get(x_10, x_20); +x_349 = lean_ctor_get(x_348, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_348, 1); +lean_inc(x_350); +lean_dec(x_348); +x_351 = lean_ctor_get(x_349, 0); +lean_inc(x_351); +lean_dec(x_349); +x_296 = x_351; +x_297 = x_350; +goto block_345; } else { -lean_object* x_358; +lean_object* x_352; lean_inc(x_4); -x_358 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_358, 0, x_4); +x_352 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_352, 0, x_4); if (lean_obj_tag(x_1) == 0) { -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; -x_359 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; -x_360 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_358); -x_361 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_352, x_360, x_270, x_6, x_7, x_8, x_278, x_10, x_20); -x_362 = lean_ctor_get(x_361, 1); -lean_inc(x_362); -lean_dec(x_361); -x_363 = lean_st_ref_get(x_10, x_362); -x_364 = lean_ctor_get(x_363, 0); -lean_inc(x_364); -x_365 = lean_ctor_get(x_363, 1); -lean_inc(x_365); -lean_dec(x_363); -x_366 = lean_ctor_get(x_364, 0); -lean_inc(x_366); -lean_dec(x_364); -x_300 = x_366; -x_301 = x_365; -goto block_351; +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; +x_353 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; +x_354 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_354, 0, x_353); +lean_ctor_set(x_354, 1, x_352); +x_355 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_346, x_354, x_266, x_6, x_7, x_8, x_274, x_10, x_20); +x_356 = lean_ctor_get(x_355, 1); +lean_inc(x_356); +lean_dec(x_355); +x_357 = lean_st_ref_get(x_10, x_356); +x_358 = lean_ctor_get(x_357, 0); +lean_inc(x_358); +x_359 = lean_ctor_get(x_357, 1); +lean_inc(x_359); +lean_dec(x_357); +x_360 = lean_ctor_get(x_358, 0); +lean_inc(x_360); +lean_dec(x_358); +x_296 = x_360; +x_297 = x_359; +goto block_345; } else { -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; -x_367 = lean_ctor_get(x_1, 0); +lean_object* x_361; lean_object* x_362; 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; +x_361 = lean_ctor_get(x_1, 0); +lean_inc(x_361); +x_362 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_362, 0, x_361); +x_363 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; +x_364 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_364, 0, x_362); +lean_ctor_set(x_364, 1, x_363); +x_365 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_352); +x_366 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_346, x_365, x_266, x_6, x_7, x_8, x_274, x_10, x_20); +x_367 = lean_ctor_get(x_366, 1); lean_inc(x_367); -x_368 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_368, 0, x_367); -x_369 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; -x_370 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_370, 0, x_368); -lean_ctor_set(x_370, 1, x_369); -x_371 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_358); -x_372 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_352, x_371, x_270, x_6, x_7, x_8, x_278, x_10, x_20); -x_373 = lean_ctor_get(x_372, 1); -lean_inc(x_373); -lean_dec(x_372); -x_374 = lean_st_ref_get(x_10, x_373); -x_375 = lean_ctor_get(x_374, 0); -lean_inc(x_375); -x_376 = lean_ctor_get(x_374, 1); -lean_inc(x_376); -lean_dec(x_374); -x_377 = lean_ctor_get(x_375, 0); -lean_inc(x_377); -lean_dec(x_375); -x_300 = x_377; -x_301 = x_376; -goto block_351; +lean_dec(x_366); +x_368 = lean_st_ref_get(x_10, x_367); +x_369 = lean_ctor_get(x_368, 0); +lean_inc(x_369); +x_370 = lean_ctor_get(x_368, 1); +lean_inc(x_370); +lean_dec(x_368); +x_371 = lean_ctor_get(x_369, 0); +lean_inc(x_371); +lean_dec(x_369); +x_296 = x_371; +x_297 = x_370; +goto block_345; } } -block_299: +block_295: { -if (lean_obj_tag(x_279) == 0) +if (lean_obj_tag(x_275) == 0) { -lean_dec(x_266); -lean_dec(x_265); -lean_dec(x_264); -lean_dec(x_263); lean_dec(x_262); lean_dec(x_261); lean_dec(x_260); +lean_dec(x_259); +lean_dec(x_258); +lean_dec(x_257); +lean_dec(x_256); lean_dec(x_16); if (x_3 == 0) { -lean_object* x_281; -x_281 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_270, x_6, x_7, x_8, x_278, x_10, x_280); +lean_object* x_277; +x_277 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_266, x_6, x_7, x_8, x_274, x_10, x_276); +return x_277; +} +else +{ +lean_object* x_278; +lean_inc(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_266); +lean_inc(x_1); +lean_inc(x_4); +x_278 = l___private_Lean_Elab_Term_18__useImplicitLambda_x3f(x_4, x_1, x_266, x_6, x_7, x_8, x_274, x_10, x_276); +if (lean_obj_tag(x_278) == 0) +{ +lean_object* x_279; +x_279 = lean_ctor_get(x_278, 0); +lean_inc(x_279); +if (lean_obj_tag(x_279) == 0) +{ +lean_object* x_280; lean_object* x_281; +x_280 = lean_ctor_get(x_278, 1); +lean_inc(x_280); +lean_dec(x_278); +x_281 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_266, x_6, x_7, x_8, x_274, x_10, x_280); return x_281; } else { -lean_object* x_282; -lean_inc(x_10); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_270); -lean_inc(x_1); -lean_inc(x_4); -x_282 = l___private_Lean_Elab_Term_18__useImplicitLambda_x3f(x_4, x_1, x_270, x_6, x_7, x_8, x_278, x_10, x_280); -if (lean_obj_tag(x_282) == 0) -{ -lean_object* x_283; -x_283 = lean_ctor_get(x_282, 0); +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +lean_dec(x_1); +x_282 = lean_ctor_get(x_278, 1); +lean_inc(x_282); +lean_dec(x_278); +x_283 = lean_ctor_get(x_279, 0); lean_inc(x_283); -if (lean_obj_tag(x_283) == 0) -{ -lean_object* x_284; lean_object* x_285; -x_284 = lean_ctor_get(x_282, 1); -lean_inc(x_284); -lean_dec(x_282); -x_285 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_270, x_6, x_7, x_8, x_278, x_10, x_284); +lean_dec(x_279); +x_284 = l_Array_empty___closed__1; +x_285 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main(x_4, x_2, x_283, x_284, x_266, x_6, x_7, x_8, x_274, x_10, x_282); return x_285; } +} else { lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_dec(x_274); +lean_dec(x_266); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); lean_dec(x_1); -x_286 = lean_ctor_get(x_282, 1); +x_286 = lean_ctor_get(x_278, 0); lean_inc(x_286); -lean_dec(x_282); -x_287 = lean_ctor_get(x_283, 0); +x_287 = lean_ctor_get(x_278, 1); lean_inc(x_287); -lean_dec(x_283); -x_288 = l_Array_empty___closed__1; -x_289 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main(x_4, x_2, x_287, x_288, x_270, x_6, x_7, x_8, x_278, x_10, x_286); +if (lean_is_exclusive(x_278)) { + lean_ctor_release(x_278, 0); + lean_ctor_release(x_278, 1); + x_288 = x_278; +} else { + lean_dec_ref(x_278); + x_288 = lean_box(0); +} +if (lean_is_scalar(x_288)) { + x_289 = lean_alloc_ctor(1, 2, 0); +} else { + x_289 = x_288; +} +lean_ctor_set(x_289, 0, x_286); +lean_ctor_set(x_289, 1, x_287); return x_289; } } +} else { lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; -lean_dec(x_278); -lean_dec(x_270); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -x_290 = lean_ctor_get(x_282, 0); +lean_dec(x_266); +x_290 = lean_ctor_get(x_275, 0); lean_inc(x_290); -x_291 = lean_ctor_get(x_282, 1); -lean_inc(x_291); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_292 = x_282; -} else { - lean_dec_ref(x_282); - x_292 = lean_box(0); -} -if (lean_is_scalar(x_292)) { - x_293 = lean_alloc_ctor(1, 2, 0); -} else { - x_293 = x_292; -} -lean_ctor_set(x_293, 0, x_290); -lean_ctor_set(x_293, 1, x_291); -return x_293; -} -} -} -else -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_270); -x_294 = lean_ctor_get(x_279, 0); -lean_inc(x_294); -lean_dec(x_279); -lean_inc(x_294); -x_295 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_295, 0, x_4); -lean_ctor_set(x_295, 1, x_294); -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_266); -x_297 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_297, 0, x_260); -lean_ctor_set(x_297, 1, x_261); -lean_ctor_set(x_297, 2, x_262); -lean_ctor_set(x_297, 3, x_263); -lean_ctor_set(x_297, 4, x_264); -lean_ctor_set(x_297, 5, x_265); -lean_ctor_set(x_297, 6, x_296); -lean_ctor_set(x_297, 7, x_16); -lean_ctor_set_uint8(x_297, sizeof(void*)*8, x_267); -lean_ctor_set_uint8(x_297, sizeof(void*)*8 + 1, x_268); -lean_ctor_set_uint8(x_297, sizeof(void*)*8 + 2, x_269); -x_4 = x_294; -x_5 = x_297; -x_9 = x_278; -x_11 = x_280; +lean_dec(x_275); +lean_inc(x_290); +x_291 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_291, 0, x_4); +lean_ctor_set(x_291, 1, x_290); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_262); +x_293 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_293, 0, x_256); +lean_ctor_set(x_293, 1, x_257); +lean_ctor_set(x_293, 2, x_258); +lean_ctor_set(x_293, 3, x_259); +lean_ctor_set(x_293, 4, x_260); +lean_ctor_set(x_293, 5, x_261); +lean_ctor_set(x_293, 6, x_292); +lean_ctor_set(x_293, 7, x_16); +lean_ctor_set_uint8(x_293, sizeof(void*)*8, x_263); +lean_ctor_set_uint8(x_293, sizeof(void*)*8 + 1, x_264); +lean_ctor_set_uint8(x_293, sizeof(void*)*8 + 2, x_265); +x_4 = x_290; +x_5 = x_293; +x_9 = x_274; +x_11 = x_276; goto _start; } } -block_351: +block_345: { -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; -x_302 = l_Lean_Elab_Term_getCurrMacroScope(x_270, x_6, x_7, x_8, x_278, x_10, x_301); -x_303 = lean_ctor_get(x_302, 0); +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +x_298 = l_Lean_Elab_Term_getCurrMacroScope(x_266, x_6, x_7, x_8, x_274, x_10, x_297); +x_299 = lean_ctor_get(x_298, 0); +lean_inc(x_299); +x_300 = lean_ctor_get(x_298, 1); +lean_inc(x_300); +lean_dec(x_298); +x_301 = lean_st_ref_get(x_10, x_300); +x_302 = lean_ctor_get(x_301, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_301, 1); lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); +lean_dec(x_301); +x_304 = lean_ctor_get(x_302, 0); lean_inc(x_304); lean_dec(x_302); -x_305 = lean_st_ref_get(x_10, x_304); +x_305 = lean_st_ref_get(x_6, x_303); x_306 = lean_ctor_get(x_305, 0); lean_inc(x_306); x_307 = lean_ctor_get(x_305, 1); lean_inc(x_307); lean_dec(x_305); -x_308 = lean_ctor_get(x_306, 0); +x_308 = lean_ctor_get(x_306, 3); lean_inc(x_308); lean_dec(x_306); -x_309 = lean_st_ref_get(x_6, x_307); -x_310 = lean_ctor_get(x_309, 0); -lean_inc(x_310); -x_311 = lean_ctor_get(x_309, 1); -lean_inc(x_311); -lean_dec(x_309); -x_312 = lean_ctor_get(x_310, 5); -lean_inc(x_312); -lean_dec(x_310); -x_313 = lean_environment_main_module(x_308); -x_314 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_303); -lean_ctor_set(x_314, 2, x_277); -lean_ctor_set(x_314, 3, x_273); +x_309 = lean_environment_main_module(x_304); +x_310 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_299); +lean_ctor_set(x_310, 2, x_273); +lean_ctor_set(x_310, 3, x_269); lean_inc(x_4); -x_315 = l_Lean_Elab_getMacros(x_300, x_4, x_314, x_312); -lean_dec(x_300); -if (lean_obj_tag(x_315) == 0) +x_311 = l_Lean_Elab_getMacros(x_296, x_4, x_310, x_308); +lean_dec(x_296); +if (lean_obj_tag(x_311) == 0) { -lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; -x_316 = lean_ctor_get(x_315, 0); +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); +lean_inc(x_313); +lean_dec(x_311); +x_314 = lean_st_ref_take(x_6, x_307); +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +x_316 = lean_ctor_get(x_314, 1); lean_inc(x_316); -x_317 = lean_ctor_get(x_315, 1); +lean_dec(x_314); +x_317 = lean_ctor_get(x_315, 0); lean_inc(x_317); -lean_dec(x_315); -x_318 = lean_st_ref_take(x_6, x_311); -x_319 = lean_ctor_get(x_318, 0); +x_318 = lean_ctor_get(x_315, 1); +lean_inc(x_318); +x_319 = lean_ctor_get(x_315, 2); lean_inc(x_319); -x_320 = lean_ctor_get(x_318, 1); +x_320 = lean_ctor_get(x_315, 4); lean_inc(x_320); -lean_dec(x_318); -x_321 = lean_ctor_get(x_319, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_319, 1); -lean_inc(x_322); -x_323 = lean_ctor_get(x_319, 2); -lean_inc(x_323); -x_324 = lean_ctor_get(x_319, 3); +if (lean_is_exclusive(x_315)) { + lean_ctor_release(x_315, 0); + lean_ctor_release(x_315, 1); + lean_ctor_release(x_315, 2); + lean_ctor_release(x_315, 3); + lean_ctor_release(x_315, 4); + x_321 = x_315; +} else { + lean_dec_ref(x_315); + x_321 = lean_box(0); +} +if (lean_is_scalar(x_321)) { + x_322 = lean_alloc_ctor(0, 5, 0); +} else { + x_322 = x_321; +} +lean_ctor_set(x_322, 0, x_317); +lean_ctor_set(x_322, 1, x_318); +lean_ctor_set(x_322, 2, x_319); +lean_ctor_set(x_322, 3, x_313); +lean_ctor_set(x_322, 4, x_320); +x_323 = lean_st_ref_set(x_6, x_322, x_316); +x_324 = lean_ctor_get(x_323, 1); lean_inc(x_324); -x_325 = lean_ctor_get(x_319, 4); -lean_inc(x_325); -x_326 = lean_ctor_get(x_319, 6); +lean_dec(x_323); +x_325 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_325, 0, x_312); +x_275 = x_325; +x_276 = x_324; +goto block_295; +} +else +{ +lean_object* x_326; +x_326 = lean_ctor_get(x_311, 0); lean_inc(x_326); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - lean_ctor_release(x_319, 1); - lean_ctor_release(x_319, 2); - lean_ctor_release(x_319, 3); - lean_ctor_release(x_319, 4); - lean_ctor_release(x_319, 5); - lean_ctor_release(x_319, 6); - x_327 = x_319; -} else { - lean_dec_ref(x_319); - x_327 = lean_box(0); -} -if (lean_is_scalar(x_327)) { - x_328 = lean_alloc_ctor(0, 7, 0); -} else { - x_328 = x_327; -} -lean_ctor_set(x_328, 0, x_321); -lean_ctor_set(x_328, 1, x_322); -lean_ctor_set(x_328, 2, x_323); -lean_ctor_set(x_328, 3, x_324); -lean_ctor_set(x_328, 4, x_325); -lean_ctor_set(x_328, 5, x_317); -lean_ctor_set(x_328, 6, x_326); -x_329 = lean_st_ref_set(x_6, x_328, x_320); -x_330 = lean_ctor_get(x_329, 1); -lean_inc(x_330); -lean_dec(x_329); -x_331 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_331, 0, x_316); -x_279 = x_331; -x_280 = x_330; -goto block_299; -} -else +lean_dec(x_311); +if (lean_obj_tag(x_326) == 0) { -lean_object* x_332; -x_332 = lean_ctor_get(x_315, 0); -lean_inc(x_332); -lean_dec(x_315); -if (lean_obj_tag(x_332) == 0) -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; -lean_dec(x_266); -lean_dec(x_265); -lean_dec(x_264); -lean_dec(x_263); +lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_dec(x_262); lean_dec(x_261); lean_dec(x_260); +lean_dec(x_259); +lean_dec(x_258); +lean_dec(x_257); +lean_dec(x_256); lean_dec(x_16); lean_dec(x_4); lean_dec(x_1); -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_332, 1); -lean_inc(x_334); -lean_dec(x_332); -x_335 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_335, 0, x_334); -x_336 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_336, 0, x_335); -x_337 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_333, x_336, x_270, x_6, x_7, x_8, x_278, x_10, x_311); +x_327 = lean_ctor_get(x_326, 0); +lean_inc(x_327); +x_328 = lean_ctor_get(x_326, 1); +lean_inc(x_328); +lean_dec(x_326); +x_329 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_329, 0, x_328); +x_330 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_330, 0, x_329); +x_331 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_327, x_330, x_266, x_6, x_7, x_8, x_274, x_10, x_307); lean_dec(x_10); -lean_dec(x_278); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_333); -x_338 = lean_ctor_get(x_337, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_337, 1); -lean_inc(x_339); -if (lean_is_exclusive(x_337)) { - lean_ctor_release(x_337, 0); - lean_ctor_release(x_337, 1); - x_340 = x_337; -} else { - lean_dec_ref(x_337); - x_340 = lean_box(0); -} -if (lean_is_scalar(x_340)) { - x_341 = lean_alloc_ctor(1, 2, 0); -} else { - x_341 = x_340; -} -lean_ctor_set(x_341, 0, x_338); -lean_ctor_set(x_341, 1, x_339); -return x_341; -} -else -{ -lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t x_348; -x_342 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_311); -x_343 = lean_ctor_get(x_342, 0); -lean_inc(x_343); -x_344 = lean_ctor_get(x_342, 1); -lean_inc(x_344); -if (lean_is_exclusive(x_342)) { - lean_ctor_release(x_342, 0); - lean_ctor_release(x_342, 1); - x_345 = x_342; -} else { - lean_dec_ref(x_342); - x_345 = lean_box(0); -} -x_346 = lean_ctor_get(x_343, 0); -lean_inc(x_346); -x_347 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_348 = lean_nat_dec_eq(x_347, x_346); -lean_dec(x_346); -if (x_348 == 0) -{ -lean_object* x_349; -lean_dec(x_278); -lean_dec(x_270); -lean_dec(x_266); -lean_dec(x_265); -lean_dec(x_264); -lean_dec(x_263); -lean_dec(x_262); -lean_dec(x_261); -lean_dec(x_260); -lean_dec(x_16); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -if (lean_is_scalar(x_345)) { - x_349 = lean_alloc_ctor(1, 2, 0); -} else { - x_349 = x_345; -} -lean_ctor_set(x_349, 0, x_343); -lean_ctor_set(x_349, 1, x_344); -return x_349; -} -else -{ -lean_object* x_350; -lean_dec(x_345); -lean_dec(x_343); -x_350 = lean_box(0); -x_279 = x_350; -x_280 = x_344; -goto block_299; -} -} -} -} -} -else -{ -lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_dec(x_274); -lean_dec(x_273); -lean_dec(x_272); -lean_dec(x_271); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_327); +x_332 = lean_ctor_get(x_331, 0); +lean_inc(x_332); +x_333 = lean_ctor_get(x_331, 1); +lean_inc(x_333); +if (lean_is_exclusive(x_331)) { + lean_ctor_release(x_331, 0); + lean_ctor_release(x_331, 1); + x_334 = x_331; +} else { + lean_dec_ref(x_331); + x_334 = lean_box(0); +} +if (lean_is_scalar(x_334)) { + x_335 = lean_alloc_ctor(1, 2, 0); +} else { + x_335 = x_334; +} +lean_ctor_set(x_335, 0, x_332); +lean_ctor_set(x_335, 1, x_333); +return x_335; +} +else +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; uint8_t x_342; +x_336 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_307); +x_337 = lean_ctor_get(x_336, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_336, 1); +lean_inc(x_338); +if (lean_is_exclusive(x_336)) { + lean_ctor_release(x_336, 0); + lean_ctor_release(x_336, 1); + x_339 = x_336; +} else { + lean_dec_ref(x_336); + x_339 = lean_box(0); +} +x_340 = lean_ctor_get(x_337, 0); +lean_inc(x_340); +x_341 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_342 = lean_nat_dec_eq(x_341, x_340); +lean_dec(x_340); +if (x_342 == 0) +{ +lean_object* x_343; +lean_dec(x_274); lean_dec(x_266); -lean_dec(x_265); -lean_dec(x_264); -lean_dec(x_263); lean_dec(x_262); lean_dec(x_261); lean_dec(x_260); +lean_dec(x_259); +lean_dec(x_258); +lean_dec(x_257); +lean_dec(x_256); +lean_dec(x_16); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +if (lean_is_scalar(x_339)) { + x_343 = lean_alloc_ctor(1, 2, 0); +} else { + x_343 = x_339; +} +lean_ctor_set(x_343, 0, x_337); +lean_ctor_set(x_343, 1, x_338); +return x_343; +} +else +{ +lean_object* x_344; +lean_dec(x_339); +lean_dec(x_337); +x_344 = lean_box(0); +x_275 = x_344; +x_276 = x_338; +goto block_295; +} +} +} +} +} +else +{ +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_dec(x_270); +lean_dec(x_269); +lean_dec(x_268); +lean_dec(x_267); +lean_dec(x_262); +lean_dec(x_261); +lean_dec(x_260); +lean_dec(x_259); +lean_dec(x_258); +lean_dec(x_257); +lean_dec(x_256); lean_dec(x_16); lean_dec(x_4); lean_dec(x_1); -x_378 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -x_379 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_378, x_270, x_6, x_7, x_8, x_9, x_10, x_20); +x_372 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +x_373 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_372, x_266, x_6, x_7, x_8, x_9, x_10, x_20); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_380 = lean_ctor_get(x_379, 0); -lean_inc(x_380); -x_381 = lean_ctor_get(x_379, 1); -lean_inc(x_381); -if (lean_is_exclusive(x_379)) { - lean_ctor_release(x_379, 0); - lean_ctor_release(x_379, 1); - x_382 = x_379; +x_374 = lean_ctor_get(x_373, 0); +lean_inc(x_374); +x_375 = lean_ctor_get(x_373, 1); +lean_inc(x_375); +if (lean_is_exclusive(x_373)) { + lean_ctor_release(x_373, 0); + lean_ctor_release(x_373, 1); + x_376 = x_373; } else { - lean_dec_ref(x_379); - x_382 = lean_box(0); + lean_dec_ref(x_373); + x_376 = lean_box(0); } -if (lean_is_scalar(x_382)) { - x_383 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_376)) { + x_377 = lean_alloc_ctor(1, 2, 0); } else { - x_383 = x_382; + x_377 = x_376; } -lean_ctor_set(x_383, 0, x_380); -lean_ctor_set(x_383, 1, x_381); -return x_383; +lean_ctor_set(x_377, 0, x_374); +lean_ctor_set(x_377, 1, x_375); +return x_377; } } } else { -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; 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; uint8_t x_403; uint8_t x_404; uint8_t x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; uint8_t x_412; -x_384 = lean_ctor_get(x_13, 0); -x_385 = lean_ctor_get(x_13, 1); -x_386 = lean_ctor_get(x_13, 2); -x_387 = lean_ctor_get(x_13, 3); -x_388 = lean_ctor_get(x_13, 4); -x_389 = lean_ctor_get(x_13, 5); -x_390 = lean_ctor_get(x_13, 6); -lean_inc(x_390); -lean_inc(x_389); -lean_inc(x_388); -lean_inc(x_387); -lean_inc(x_386); -lean_inc(x_385); -lean_inc(x_384); +lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_395; uint8_t x_396; uint8_t 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; uint8_t x_404; +x_378 = lean_ctor_get(x_13, 0); +x_379 = lean_ctor_get(x_13, 1); +x_380 = lean_ctor_get(x_13, 2); +x_381 = lean_ctor_get(x_13, 3); +x_382 = lean_ctor_get(x_13, 4); +lean_inc(x_382); +lean_inc(x_381); +lean_inc(x_380); +lean_inc(x_379); +lean_inc(x_378); lean_dec(x_13); -x_391 = lean_unsigned_to_nat(1u); -x_392 = lean_nat_add(x_389, x_391); -x_393 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_393, 0, x_384); -lean_ctor_set(x_393, 1, x_385); -lean_ctor_set(x_393, 2, x_386); -lean_ctor_set(x_393, 3, x_387); -lean_ctor_set(x_393, 4, x_388); -lean_ctor_set(x_393, 5, x_392); -lean_ctor_set(x_393, 6, x_390); -x_394 = lean_st_ref_set(x_6, x_393, x_14); -x_395 = lean_ctor_get(x_394, 1); -lean_inc(x_395); -lean_dec(x_394); -x_396 = lean_ctor_get(x_5, 0); -lean_inc(x_396); -x_397 = lean_ctor_get(x_5, 1); -lean_inc(x_397); -x_398 = lean_ctor_get(x_5, 2); -lean_inc(x_398); -x_399 = lean_ctor_get(x_5, 3); -lean_inc(x_399); -x_400 = lean_ctor_get(x_5, 4); -lean_inc(x_400); -x_401 = lean_ctor_get(x_5, 5); -lean_inc(x_401); -x_402 = lean_ctor_get(x_5, 6); -lean_inc(x_402); -x_403 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); -x_404 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); -x_405 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); +x_383 = lean_unsigned_to_nat(1u); +x_384 = lean_nat_add(x_381, x_383); +x_385 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_385, 0, x_378); +lean_ctor_set(x_385, 1, x_379); +lean_ctor_set(x_385, 2, x_380); +lean_ctor_set(x_385, 3, x_384); +lean_ctor_set(x_385, 4, x_382); +x_386 = lean_st_ref_set(x_6, x_385, x_14); +x_387 = lean_ctor_get(x_386, 1); +lean_inc(x_387); +lean_dec(x_386); +x_388 = lean_ctor_get(x_5, 0); +lean_inc(x_388); +x_389 = lean_ctor_get(x_5, 1); +lean_inc(x_389); +x_390 = lean_ctor_get(x_5, 2); +lean_inc(x_390); +x_391 = lean_ctor_get(x_5, 3); +lean_inc(x_391); +x_392 = lean_ctor_get(x_5, 4); +lean_inc(x_392); +x_393 = lean_ctor_get(x_5, 5); +lean_inc(x_393); +x_394 = lean_ctor_get(x_5, 6); +lean_inc(x_394); +x_395 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); +x_396 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 1); +x_397 = lean_ctor_get_uint8(x_5, sizeof(void*)*8 + 2); if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 0); lean_ctor_release(x_5, 1); @@ -22729,487 +22961,479 @@ if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 5); lean_ctor_release(x_5, 6); lean_ctor_release(x_5, 7); - x_406 = x_5; + x_398 = x_5; } else { lean_dec_ref(x_5); - x_406 = lean_box(0); + x_398 = lean_box(0); } +lean_inc(x_381); +lean_inc(x_394); +lean_inc(x_393); +lean_inc(x_392); +lean_inc(x_391); +lean_inc(x_390); lean_inc(x_389); -lean_inc(x_402); -lean_inc(x_401); -lean_inc(x_400); -lean_inc(x_399); -lean_inc(x_398); -lean_inc(x_397); -lean_inc(x_396); -if (lean_is_scalar(x_406)) { - x_407 = lean_alloc_ctor(0, 8, 3); +lean_inc(x_388); +if (lean_is_scalar(x_398)) { + x_399 = lean_alloc_ctor(0, 8, 3); } else { - x_407 = x_406; + x_399 = x_398; } -lean_ctor_set(x_407, 0, x_396); -lean_ctor_set(x_407, 1, x_397); -lean_ctor_set(x_407, 2, x_398); -lean_ctor_set(x_407, 3, x_399); -lean_ctor_set(x_407, 4, x_400); -lean_ctor_set(x_407, 5, x_401); -lean_ctor_set(x_407, 6, x_402); -lean_ctor_set(x_407, 7, x_389); -lean_ctor_set_uint8(x_407, sizeof(void*)*8, x_403); -lean_ctor_set_uint8(x_407, sizeof(void*)*8 + 1, x_404); -lean_ctor_set_uint8(x_407, sizeof(void*)*8 + 2, x_405); -x_408 = lean_ctor_get(x_9, 0); -lean_inc(x_408); -x_409 = lean_ctor_get(x_9, 1); -lean_inc(x_409); -x_410 = lean_ctor_get(x_9, 2); -lean_inc(x_410); -x_411 = lean_ctor_get(x_9, 3); -lean_inc(x_411); -x_412 = lean_nat_dec_eq(x_409, x_410); -if (x_412 == 0) +lean_ctor_set(x_399, 0, x_388); +lean_ctor_set(x_399, 1, x_389); +lean_ctor_set(x_399, 2, x_390); +lean_ctor_set(x_399, 3, x_391); +lean_ctor_set(x_399, 4, x_392); +lean_ctor_set(x_399, 5, x_393); +lean_ctor_set(x_399, 6, x_394); +lean_ctor_set(x_399, 7, x_381); +lean_ctor_set_uint8(x_399, sizeof(void*)*8, x_395); +lean_ctor_set_uint8(x_399, sizeof(void*)*8 + 1, x_396); +lean_ctor_set_uint8(x_399, sizeof(void*)*8 + 2, x_397); +x_400 = lean_ctor_get(x_9, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_9, 1); +lean_inc(x_401); +x_402 = lean_ctor_get(x_9, 2); +lean_inc(x_402); +x_403 = lean_ctor_get(x_9, 3); +lean_inc(x_403); +x_404 = lean_nat_dec_eq(x_401, x_402); +if (x_404 == 0) { -lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_437; lean_object* x_438; lean_object* x_489; uint8_t x_490; +lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_429; lean_object* x_430; lean_object* x_479; uint8_t x_480; if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); lean_ctor_release(x_9, 2); lean_ctor_release(x_9, 3); - x_413 = x_9; + x_405 = x_9; } else { lean_dec_ref(x_9); - x_413 = lean_box(0); + x_405 = lean_box(0); } -x_414 = lean_nat_add(x_409, x_391); -lean_dec(x_409); -lean_inc(x_410); -lean_inc(x_414); -lean_inc(x_408); -if (lean_is_scalar(x_413)) { - x_415 = lean_alloc_ctor(0, 4, 0); +x_406 = lean_nat_add(x_401, x_383); +lean_dec(x_401); +lean_inc(x_402); +lean_inc(x_406); +lean_inc(x_400); +if (lean_is_scalar(x_405)) { + x_407 = lean_alloc_ctor(0, 4, 0); } else { - x_415 = x_413; + x_407 = x_405; } -lean_ctor_set(x_415, 0, x_408); -lean_ctor_set(x_415, 1, x_414); -lean_ctor_set(x_415, 2, x_410); -lean_ctor_set(x_415, 3, x_411); -x_489 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; -x_490 = l_Lean_checkTraceOption(x_408, x_489); -lean_dec(x_408); -if (x_490 == 0) +lean_ctor_set(x_407, 0, x_400); +lean_ctor_set(x_407, 1, x_406); +lean_ctor_set(x_407, 2, x_402); +lean_ctor_set(x_407, 3, x_403); +x_479 = l___private_Lean_Elab_Util_4__regTraceClasses___closed__3; +x_480 = l_Lean_checkTraceOption(x_400, x_479); +lean_dec(x_400); +if (x_480 == 0) { -lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_491 = lean_st_ref_get(x_10, x_395); -x_492 = lean_ctor_get(x_491, 0); -lean_inc(x_492); -x_493 = lean_ctor_get(x_491, 1); -lean_inc(x_493); -lean_dec(x_491); -x_494 = lean_ctor_get(x_492, 0); -lean_inc(x_494); -lean_dec(x_492); -x_437 = x_494; -x_438 = x_493; -goto block_488; +lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; +x_481 = lean_st_ref_get(x_10, x_387); +x_482 = lean_ctor_get(x_481, 0); +lean_inc(x_482); +x_483 = lean_ctor_get(x_481, 1); +lean_inc(x_483); +lean_dec(x_481); +x_484 = lean_ctor_get(x_482, 0); +lean_inc(x_484); +lean_dec(x_482); +x_429 = x_484; +x_430 = x_483; +goto block_478; } else { -lean_object* x_495; +lean_object* x_485; lean_inc(x_4); -x_495 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_495, 0, x_4); +x_485 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_485, 0, x_4); if (lean_obj_tag(x_1) == 0) { -lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_496 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; +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; +x_486 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; +x_487 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_487, 0, x_486); +lean_ctor_set(x_487, 1, x_485); +x_488 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_479, x_487, x_399, x_6, x_7, x_8, x_407, x_10, x_387); +x_489 = lean_ctor_get(x_488, 1); +lean_inc(x_489); +lean_dec(x_488); +x_490 = lean_st_ref_get(x_10, x_489); +x_491 = lean_ctor_get(x_490, 0); +lean_inc(x_491); +x_492 = lean_ctor_get(x_490, 1); +lean_inc(x_492); +lean_dec(x_490); +x_493 = lean_ctor_get(x_491, 0); +lean_inc(x_493); +lean_dec(x_491); +x_429 = x_493; +x_430 = x_492; +goto block_478; +} +else +{ +lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; +x_494 = lean_ctor_get(x_1, 0); +lean_inc(x_494); +x_495 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_495, 0, x_494); +x_496 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; x_497 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_497, 0, x_496); -lean_ctor_set(x_497, 1, x_495); -x_498 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_489, x_497, x_407, x_6, x_7, x_8, x_415, x_10, x_395); -x_499 = lean_ctor_get(x_498, 1); -lean_inc(x_499); -lean_dec(x_498); -x_500 = lean_st_ref_get(x_10, x_499); -x_501 = lean_ctor_get(x_500, 0); -lean_inc(x_501); -x_502 = lean_ctor_get(x_500, 1); +lean_ctor_set(x_497, 0, x_495); +lean_ctor_set(x_497, 1, x_496); +x_498 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_485); +x_499 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_479, x_498, x_399, x_6, x_7, x_8, x_407, x_10, x_387); +x_500 = lean_ctor_get(x_499, 1); +lean_inc(x_500); +lean_dec(x_499); +x_501 = lean_st_ref_get(x_10, x_500); +x_502 = lean_ctor_get(x_501, 0); lean_inc(x_502); -lean_dec(x_500); -x_503 = lean_ctor_get(x_501, 0); +x_503 = lean_ctor_get(x_501, 1); lean_inc(x_503); lean_dec(x_501); -x_437 = x_503; -x_438 = x_502; -goto block_488; -} -else -{ -lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; -x_504 = lean_ctor_get(x_1, 0); +x_504 = lean_ctor_get(x_502, 0); lean_inc(x_504); -x_505 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_505, 0, x_504); -x_506 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1; -x_507 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_507, 0, x_505); -lean_ctor_set(x_507, 1, x_506); -x_508 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_495); -x_509 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_489, x_508, x_407, x_6, x_7, x_8, x_415, x_10, x_395); -x_510 = lean_ctor_get(x_509, 1); -lean_inc(x_510); -lean_dec(x_509); -x_511 = lean_st_ref_get(x_10, x_510); -x_512 = lean_ctor_get(x_511, 0); -lean_inc(x_512); -x_513 = lean_ctor_get(x_511, 1); -lean_inc(x_513); -lean_dec(x_511); -x_514 = lean_ctor_get(x_512, 0); -lean_inc(x_514); -lean_dec(x_512); -x_437 = x_514; -x_438 = x_513; -goto block_488; +lean_dec(x_502); +x_429 = x_504; +x_430 = x_503; +goto block_478; } } -block_436: +block_428: { -if (lean_obj_tag(x_416) == 0) +if (lean_obj_tag(x_408) == 0) { -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_400); -lean_dec(x_399); -lean_dec(x_398); -lean_dec(x_397); -lean_dec(x_396); +lean_dec(x_394); +lean_dec(x_393); +lean_dec(x_392); +lean_dec(x_391); +lean_dec(x_390); lean_dec(x_389); +lean_dec(x_388); +lean_dec(x_381); if (x_3 == 0) { -lean_object* x_418; -x_418 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_407, x_6, x_7, x_8, x_415, x_10, x_417); -return x_418; +lean_object* x_410; +x_410 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_399, x_6, x_7, x_8, x_407, x_10, x_409); +return x_410; } else { -lean_object* x_419; +lean_object* x_411; lean_inc(x_10); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_407); +lean_inc(x_399); lean_inc(x_1); lean_inc(x_4); -x_419 = l___private_Lean_Elab_Term_18__useImplicitLambda_x3f(x_4, x_1, x_407, x_6, x_7, x_8, x_415, x_10, x_417); -if (lean_obj_tag(x_419) == 0) +x_411 = l___private_Lean_Elab_Term_18__useImplicitLambda_x3f(x_4, x_1, x_399, x_6, x_7, x_8, x_407, x_10, x_409); +if (lean_obj_tag(x_411) == 0) { -lean_object* x_420; -x_420 = lean_ctor_get(x_419, 0); +lean_object* x_412; +x_412 = lean_ctor_get(x_411, 0); +lean_inc(x_412); +if (lean_obj_tag(x_412) == 0) +{ +lean_object* x_413; lean_object* x_414; +x_413 = lean_ctor_get(x_411, 1); +lean_inc(x_413); +lean_dec(x_411); +x_414 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_399, x_6, x_7, x_8, x_407, x_10, x_413); +return x_414; +} +else +{ +lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; +lean_dec(x_1); +x_415 = lean_ctor_get(x_411, 1); +lean_inc(x_415); +lean_dec(x_411); +x_416 = lean_ctor_get(x_412, 0); +lean_inc(x_416); +lean_dec(x_412); +x_417 = l_Array_empty___closed__1; +x_418 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main(x_4, x_2, x_416, x_417, x_399, x_6, x_7, x_8, x_407, x_10, x_415); +return x_418; +} +} +else +{ +lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; +lean_dec(x_407); +lean_dec(x_399); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +x_419 = lean_ctor_get(x_411, 0); +lean_inc(x_419); +x_420 = lean_ctor_get(x_411, 1); lean_inc(x_420); -if (lean_obj_tag(x_420) == 0) -{ -lean_object* x_421; lean_object* x_422; -x_421 = lean_ctor_get(x_419, 1); -lean_inc(x_421); -lean_dec(x_419); -x_422 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_407, x_6, x_7, x_8, x_415, x_10, x_421); +if (lean_is_exclusive(x_411)) { + lean_ctor_release(x_411, 0); + lean_ctor_release(x_411, 1); + x_421 = x_411; +} else { + lean_dec_ref(x_411); + x_421 = lean_box(0); +} +if (lean_is_scalar(x_421)) { + x_422 = lean_alloc_ctor(1, 2, 0); +} else { + x_422 = x_421; +} +lean_ctor_set(x_422, 0, x_419); +lean_ctor_set(x_422, 1, x_420); return x_422; } +} +} else { lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; -lean_dec(x_1); -x_423 = lean_ctor_get(x_419, 1); +lean_dec(x_399); +x_423 = lean_ctor_get(x_408, 0); lean_inc(x_423); -lean_dec(x_419); -x_424 = lean_ctor_get(x_420, 0); -lean_inc(x_424); -lean_dec(x_420); -x_425 = l_Array_empty___closed__1; -x_426 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main(x_4, x_2, x_424, x_425, x_407, x_6, x_7, x_8, x_415, x_10, x_423); -return x_426; -} -} -else -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; -lean_dec(x_415); -lean_dec(x_407); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -x_427 = lean_ctor_get(x_419, 0); -lean_inc(x_427); -x_428 = lean_ctor_get(x_419, 1); -lean_inc(x_428); -if (lean_is_exclusive(x_419)) { - lean_ctor_release(x_419, 0); - lean_ctor_release(x_419, 1); - x_429 = x_419; -} else { - lean_dec_ref(x_419); - x_429 = lean_box(0); -} -if (lean_is_scalar(x_429)) { - x_430 = lean_alloc_ctor(1, 2, 0); -} else { - x_430 = x_429; -} -lean_ctor_set(x_430, 0, x_427); -lean_ctor_set(x_430, 1, x_428); -return x_430; -} -} -} -else -{ -lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; -lean_dec(x_407); -x_431 = lean_ctor_get(x_416, 0); -lean_inc(x_431); -lean_dec(x_416); -lean_inc(x_431); -x_432 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_432, 0, x_4); -lean_ctor_set(x_432, 1, x_431); -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_402); -x_434 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_434, 0, x_396); -lean_ctor_set(x_434, 1, x_397); -lean_ctor_set(x_434, 2, x_398); -lean_ctor_set(x_434, 3, x_399); -lean_ctor_set(x_434, 4, x_400); -lean_ctor_set(x_434, 5, x_401); -lean_ctor_set(x_434, 6, x_433); -lean_ctor_set(x_434, 7, x_389); -lean_ctor_set_uint8(x_434, sizeof(void*)*8, x_403); -lean_ctor_set_uint8(x_434, sizeof(void*)*8 + 1, x_404); -lean_ctor_set_uint8(x_434, sizeof(void*)*8 + 2, x_405); -x_4 = x_431; -x_5 = x_434; -x_9 = x_415; -x_11 = x_417; +lean_dec(x_408); +lean_inc(x_423); +x_424 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_424, 0, x_4); +lean_ctor_set(x_424, 1, x_423); +x_425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_425, 0, x_424); +lean_ctor_set(x_425, 1, x_394); +x_426 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_426, 0, x_388); +lean_ctor_set(x_426, 1, x_389); +lean_ctor_set(x_426, 2, x_390); +lean_ctor_set(x_426, 3, x_391); +lean_ctor_set(x_426, 4, x_392); +lean_ctor_set(x_426, 5, x_393); +lean_ctor_set(x_426, 6, x_425); +lean_ctor_set(x_426, 7, x_381); +lean_ctor_set_uint8(x_426, sizeof(void*)*8, x_395); +lean_ctor_set_uint8(x_426, sizeof(void*)*8 + 1, x_396); +lean_ctor_set_uint8(x_426, sizeof(void*)*8 + 2, x_397); +x_4 = x_423; +x_5 = x_426; +x_9 = x_407; +x_11 = x_409; goto _start; } } -block_488: +block_478: { -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; -x_439 = l_Lean_Elab_Term_getCurrMacroScope(x_407, x_6, x_7, x_8, x_415, x_10, x_438); -x_440 = lean_ctor_get(x_439, 0); +lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; +x_431 = l_Lean_Elab_Term_getCurrMacroScope(x_399, x_6, x_7, x_8, x_407, x_10, x_430); +x_432 = lean_ctor_get(x_431, 0); +lean_inc(x_432); +x_433 = lean_ctor_get(x_431, 1); +lean_inc(x_433); +lean_dec(x_431); +x_434 = lean_st_ref_get(x_10, x_433); +x_435 = lean_ctor_get(x_434, 0); +lean_inc(x_435); +x_436 = lean_ctor_get(x_434, 1); +lean_inc(x_436); +lean_dec(x_434); +x_437 = lean_ctor_get(x_435, 0); +lean_inc(x_437); +lean_dec(x_435); +x_438 = lean_st_ref_get(x_6, x_436); +x_439 = lean_ctor_get(x_438, 0); +lean_inc(x_439); +x_440 = lean_ctor_get(x_438, 1); lean_inc(x_440); -x_441 = lean_ctor_get(x_439, 1); +lean_dec(x_438); +x_441 = lean_ctor_get(x_439, 3); lean_inc(x_441); lean_dec(x_439); -x_442 = lean_st_ref_get(x_10, x_441); -x_443 = lean_ctor_get(x_442, 0); -lean_inc(x_443); -x_444 = lean_ctor_get(x_442, 1); -lean_inc(x_444); -lean_dec(x_442); -x_445 = lean_ctor_get(x_443, 0); +x_442 = lean_environment_main_module(x_437); +x_443 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_432); +lean_ctor_set(x_443, 2, x_406); +lean_ctor_set(x_443, 3, x_402); +lean_inc(x_4); +x_444 = l_Lean_Elab_getMacros(x_429, x_4, x_443, x_441); +lean_dec(x_429); +if (lean_obj_tag(x_444) == 0) +{ +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; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; +x_445 = lean_ctor_get(x_444, 0); lean_inc(x_445); -lean_dec(x_443); -x_446 = lean_st_ref_get(x_6, x_444); -x_447 = lean_ctor_get(x_446, 0); -lean_inc(x_447); -x_448 = lean_ctor_get(x_446, 1); +x_446 = lean_ctor_get(x_444, 1); +lean_inc(x_446); +lean_dec(x_444); +x_447 = lean_st_ref_take(x_6, x_440); +x_448 = lean_ctor_get(x_447, 0); lean_inc(x_448); -lean_dec(x_446); -x_449 = lean_ctor_get(x_447, 5); +x_449 = lean_ctor_get(x_447, 1); lean_inc(x_449); lean_dec(x_447); -x_450 = lean_environment_main_module(x_445); -x_451 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_440); -lean_ctor_set(x_451, 2, x_414); -lean_ctor_set(x_451, 3, x_410); -lean_inc(x_4); -x_452 = l_Lean_Elab_getMacros(x_437, x_4, x_451, x_449); -lean_dec(x_437); -if (lean_obj_tag(x_452) == 0) -{ -lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; -x_453 = lean_ctor_get(x_452, 0); +x_450 = lean_ctor_get(x_448, 0); +lean_inc(x_450); +x_451 = lean_ctor_get(x_448, 1); +lean_inc(x_451); +x_452 = lean_ctor_get(x_448, 2); +lean_inc(x_452); +x_453 = lean_ctor_get(x_448, 4); lean_inc(x_453); -x_454 = lean_ctor_get(x_452, 1); -lean_inc(x_454); -lean_dec(x_452); -x_455 = lean_st_ref_take(x_6, x_448); -x_456 = lean_ctor_get(x_455, 0); -lean_inc(x_456); -x_457 = lean_ctor_get(x_455, 1); +if (lean_is_exclusive(x_448)) { + lean_ctor_release(x_448, 0); + lean_ctor_release(x_448, 1); + lean_ctor_release(x_448, 2); + lean_ctor_release(x_448, 3); + lean_ctor_release(x_448, 4); + x_454 = x_448; +} else { + lean_dec_ref(x_448); + x_454 = lean_box(0); +} +if (lean_is_scalar(x_454)) { + x_455 = lean_alloc_ctor(0, 5, 0); +} else { + x_455 = x_454; +} +lean_ctor_set(x_455, 0, x_450); +lean_ctor_set(x_455, 1, x_451); +lean_ctor_set(x_455, 2, x_452); +lean_ctor_set(x_455, 3, x_446); +lean_ctor_set(x_455, 4, x_453); +x_456 = lean_st_ref_set(x_6, x_455, x_449); +x_457 = lean_ctor_get(x_456, 1); lean_inc(x_457); -lean_dec(x_455); -x_458 = lean_ctor_get(x_456, 0); -lean_inc(x_458); -x_459 = lean_ctor_get(x_456, 1); -lean_inc(x_459); -x_460 = lean_ctor_get(x_456, 2); -lean_inc(x_460); -x_461 = lean_ctor_get(x_456, 3); -lean_inc(x_461); -x_462 = lean_ctor_get(x_456, 4); -lean_inc(x_462); -x_463 = lean_ctor_get(x_456, 6); -lean_inc(x_463); -if (lean_is_exclusive(x_456)) { - lean_ctor_release(x_456, 0); - lean_ctor_release(x_456, 1); - lean_ctor_release(x_456, 2); - lean_ctor_release(x_456, 3); - lean_ctor_release(x_456, 4); - lean_ctor_release(x_456, 5); - lean_ctor_release(x_456, 6); - x_464 = x_456; -} else { - lean_dec_ref(x_456); - x_464 = lean_box(0); -} -if (lean_is_scalar(x_464)) { - x_465 = lean_alloc_ctor(0, 7, 0); -} else { - x_465 = x_464; -} -lean_ctor_set(x_465, 0, x_458); -lean_ctor_set(x_465, 1, x_459); -lean_ctor_set(x_465, 2, x_460); -lean_ctor_set(x_465, 3, x_461); -lean_ctor_set(x_465, 4, x_462); -lean_ctor_set(x_465, 5, x_454); -lean_ctor_set(x_465, 6, x_463); -x_466 = lean_st_ref_set(x_6, x_465, x_457); -x_467 = lean_ctor_get(x_466, 1); -lean_inc(x_467); -lean_dec(x_466); -x_468 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_468, 0, x_453); -x_416 = x_468; -x_417 = x_467; -goto block_436; +lean_dec(x_456); +x_458 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_458, 0, x_445); +x_408 = x_458; +x_409 = x_457; +goto block_428; } else { -lean_object* x_469; -x_469 = lean_ctor_get(x_452, 0); -lean_inc(x_469); -lean_dec(x_452); -if (lean_obj_tag(x_469) == 0) +lean_object* x_459; +x_459 = lean_ctor_get(x_444, 0); +lean_inc(x_459); +lean_dec(x_444); +if (lean_obj_tag(x_459) == 0) { -lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_400); -lean_dec(x_399); -lean_dec(x_398); -lean_dec(x_397); -lean_dec(x_396); +lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; +lean_dec(x_394); +lean_dec(x_393); +lean_dec(x_392); +lean_dec(x_391); +lean_dec(x_390); lean_dec(x_389); +lean_dec(x_388); +lean_dec(x_381); lean_dec(x_4); lean_dec(x_1); +x_460 = lean_ctor_get(x_459, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_459, 1); +lean_inc(x_461); +lean_dec(x_459); +x_462 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_462, 0, x_461); +x_463 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_463, 0, x_462); +x_464 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_460, x_463, x_399, x_6, x_7, x_8, x_407, x_10, x_440); +lean_dec(x_10); +lean_dec(x_407); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_460); +x_465 = lean_ctor_get(x_464, 0); +lean_inc(x_465); +x_466 = lean_ctor_get(x_464, 1); +lean_inc(x_466); +if (lean_is_exclusive(x_464)) { + lean_ctor_release(x_464, 0); + lean_ctor_release(x_464, 1); + x_467 = x_464; +} else { + lean_dec_ref(x_464); + x_467 = lean_box(0); +} +if (lean_is_scalar(x_467)) { + x_468 = lean_alloc_ctor(1, 2, 0); +} else { + x_468 = x_467; +} +lean_ctor_set(x_468, 0, x_465); +lean_ctor_set(x_468, 1, x_466); +return x_468; +} +else +{ +lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; uint8_t x_475; +x_469 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_440); x_470 = lean_ctor_get(x_469, 0); lean_inc(x_470); x_471 = lean_ctor_get(x_469, 1); lean_inc(x_471); -lean_dec(x_469); -x_472 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_472, 0, x_471); -x_473 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_473, 0, x_472); -x_474 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_470, x_473, x_407, x_6, x_7, x_8, x_415, x_10, x_448); -lean_dec(x_10); -lean_dec(x_415); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_470); -x_475 = lean_ctor_get(x_474, 0); -lean_inc(x_475); -x_476 = lean_ctor_get(x_474, 1); -lean_inc(x_476); -if (lean_is_exclusive(x_474)) { - lean_ctor_release(x_474, 0); - lean_ctor_release(x_474, 1); - x_477 = x_474; +if (lean_is_exclusive(x_469)) { + lean_ctor_release(x_469, 0); + lean_ctor_release(x_469, 1); + x_472 = x_469; } else { - lean_dec_ref(x_474); - x_477 = lean_box(0); + lean_dec_ref(x_469); + x_472 = lean_box(0); } -if (lean_is_scalar(x_477)) { - x_478 = lean_alloc_ctor(1, 2, 0); -} else { - x_478 = x_477; -} -lean_ctor_set(x_478, 0, x_475); -lean_ctor_set(x_478, 1, x_476); -return x_478; -} -else +x_473 = lean_ctor_get(x_470, 0); +lean_inc(x_473); +x_474 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_475 = lean_nat_dec_eq(x_474, x_473); +lean_dec(x_473); +if (x_475 == 0) { -lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; uint8_t x_485; -x_479 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_448); -x_480 = lean_ctor_get(x_479, 0); -lean_inc(x_480); -x_481 = lean_ctor_get(x_479, 1); -lean_inc(x_481); -if (lean_is_exclusive(x_479)) { - lean_ctor_release(x_479, 0); - lean_ctor_release(x_479, 1); - x_482 = x_479; -} else { - lean_dec_ref(x_479); - x_482 = lean_box(0); -} -x_483 = lean_ctor_get(x_480, 0); -lean_inc(x_483); -x_484 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_485 = lean_nat_dec_eq(x_484, x_483); -lean_dec(x_483); -if (x_485 == 0) -{ -lean_object* x_486; -lean_dec(x_415); +lean_object* x_476; lean_dec(x_407); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_400); lean_dec(x_399); -lean_dec(x_398); -lean_dec(x_397); -lean_dec(x_396); +lean_dec(x_394); +lean_dec(x_393); +lean_dec(x_392); +lean_dec(x_391); +lean_dec(x_390); lean_dec(x_389); +lean_dec(x_388); +lean_dec(x_381); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -if (lean_is_scalar(x_482)) { - x_486 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_472)) { + x_476 = lean_alloc_ctor(1, 2, 0); } else { - x_486 = x_482; + x_476 = x_472; } -lean_ctor_set(x_486, 0, x_480); -lean_ctor_set(x_486, 1, x_481); -return x_486; +lean_ctor_set(x_476, 0, x_470); +lean_ctor_set(x_476, 1, x_471); +return x_476; } else { -lean_object* x_487; -lean_dec(x_482); -lean_dec(x_480); -x_487 = lean_box(0); -x_416 = x_487; -x_417 = x_481; -goto block_436; +lean_object* x_477; +lean_dec(x_472); +lean_dec(x_470); +x_477 = lean_box(0); +x_408 = x_477; +x_409 = x_471; +goto block_428; } } } @@ -23217,48 +23441,48 @@ goto block_436; } else { -lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; -lean_dec(x_411); -lean_dec(x_410); -lean_dec(x_409); -lean_dec(x_408); +lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; +lean_dec(x_403); lean_dec(x_402); lean_dec(x_401); lean_dec(x_400); -lean_dec(x_399); -lean_dec(x_398); -lean_dec(x_397); -lean_dec(x_396); +lean_dec(x_394); +lean_dec(x_393); +lean_dec(x_392); +lean_dec(x_391); +lean_dec(x_390); lean_dec(x_389); +lean_dec(x_388); +lean_dec(x_381); lean_dec(x_4); lean_dec(x_1); -x_515 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -x_516 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_515, x_407, x_6, x_7, x_8, x_9, x_10, x_395); +x_505 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +x_506 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_505, x_399, x_6, x_7, x_8, x_9, x_10, x_387); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_517 = lean_ctor_get(x_516, 0); -lean_inc(x_517); -x_518 = lean_ctor_get(x_516, 1); -lean_inc(x_518); -if (lean_is_exclusive(x_516)) { - lean_ctor_release(x_516, 0); - lean_ctor_release(x_516, 1); - x_519 = x_516; +x_507 = lean_ctor_get(x_506, 0); +lean_inc(x_507); +x_508 = lean_ctor_get(x_506, 1); +lean_inc(x_508); +if (lean_is_exclusive(x_506)) { + lean_ctor_release(x_506, 0); + lean_ctor_release(x_506, 1); + x_509 = x_506; } else { - lean_dec_ref(x_516); - x_519 = lean_box(0); + lean_dec_ref(x_506); + x_509 = lean_box(0); } -if (lean_is_scalar(x_519)) { - x_520 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_509)) { + x_510 = lean_alloc_ctor(1, 2, 0); } else { - x_520 = x_519; + x_510 = x_509; } -lean_ctor_set(x_520, 0, x_517); -lean_ctor_set(x_520, 1, x_518); -return x_520; +lean_ctor_set(x_510, 0, x_507); +lean_ctor_set(x_510, 1, x_508); +return x_510; } } } @@ -25562,7 +25786,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* _init_l_Lean_Elab_Term_mkTacticMVar___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_24__mkTacticMVar___closed__1() { _start: { lean_object* x_1; @@ -25570,24 +25794,24 @@ x_1 = lean_mk_string("main"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_mkTacticMVar___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_24__mkTacticMVar___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_mkTacticMVar___closed__1; +x_2 = l___private_Lean_Elab_Term_24__mkTacticMVar___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_mkTacticMVar(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* l___private_Lean_Elab_Term_24__mkTacticMVar(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; uint8_t 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; uint8_t x_23; x_10 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_10, 0, x_1); x_11 = 2; -x_12 = l_Lean_Elab_Term_mkTacticMVar___closed__2; +x_12 = l___private_Lean_Elab_Term_24__mkTacticMVar___closed__2; lean_inc(x_5); lean_inc(x_3); x_13 = l_Lean_Meta_mkFreshExprMVar___at_Lean_Elab_Term_tryCoe___spec__2(x_10, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); @@ -25634,11 +25858,11 @@ return x_26; } } } -lean_object* l_Lean_Elab_Term_mkTacticMVar___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* l___private_Lean_Elab_Term_24__mkTacticMVar___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_Elab_Term_mkTacticMVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Term_24__mkTacticMVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); @@ -25679,6 +25903,7 @@ _start: if (lean_obj_tag(x_2) == 0) { lean_object* x_10; lean_object* x_11; +lean_dec(x_1); x_10 = l_Lean_Elab_Term_elabByTactic___closed__3; x_11 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); @@ -25687,14 +25912,12 @@ return x_11; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_2, 0); lean_inc(x_12); lean_dec(x_2); -x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lean_Elab_Term_mkTacticMVar(x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_15; +x_13 = l___private_Lean_Elab_Term_24__mkTacticMVar(x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; } } } @@ -25706,7 +25929,6 @@ x_10 = l_Lean_Elab_Term_elabByTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9 lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); -lean_dec(x_1); return x_10; } } @@ -25747,7 +25969,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__1() { _start: { lean_object* x_1; @@ -25755,22 +25977,22 @@ x_1 = lean_mk_string("Prod.mk"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__1; +x_1 = l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__3() { +lean_object* _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__1; +x_1 = l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__2; +x_3 = l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -25778,7 +26000,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__4() { +lean_object* _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -25790,19 +26012,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__5() { +lean_object* _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__4; +x_2 = l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main(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; uint8_t x_7; @@ -25833,8 +26055,8 @@ lean_inc(x_14); x_15 = l_Lean_prodToExpr___rarg___lambda__1___closed__4; x_16 = l_Lean_addMacroScope(x_14, x_15, x_13); x_17 = l_Lean_SourceInfo_inhabited___closed__1; -x_18 = l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__3; -x_19 = l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__5; +x_18 = l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__3; +x_19 = l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__5; x_20 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_18); @@ -25859,28 +26081,28 @@ goto _start; } } } -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main___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___private_Lean_Elab_Term_24__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Elab_Term_25__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } } -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux(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___private_Lean_Elab_Term_24__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Elab_Term_25__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l___private_Lean_Elab_Term_24__mkPairsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___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___private_Lean_Elab_Term_24__mkPairsAux(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Elab_Term_25__mkPairsAux(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } @@ -25894,7 +26116,7 @@ x_5 = lean_unsigned_to_nat(1u); x_6 = lean_nat_sub(x_4, x_5); lean_dec(x_4); x_7 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); -x_8 = l___private_Lean_Elab_Term_24__mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); +x_8 = l___private_Lean_Elab_Term_25__mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); return x_8; } } @@ -25907,7 +26129,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -25918,15 +26140,15 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___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) { _start: { lean_object* x_7; -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg), 1, 0); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg), 1, 0); return x_7; } } -lean_object* l___private_Lean_Elab_Term_25__elabCDot(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* l___private_Lean_Elab_Term_26__elabCDot(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; lean_object* x_11; 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; @@ -25951,7 +26173,7 @@ lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 5); +x_48 = lean_ctor_get(x_46, 3); lean_inc(x_48); lean_dec(x_46); x_49 = lean_ctor_get(x_7, 1); @@ -25984,9 +26206,9 @@ x_59 = !lean_is_exclusive(x_57); if (x_59 == 0) { lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_57, 5); +x_60 = lean_ctor_get(x_57, 3); lean_dec(x_60); -lean_ctor_set(x_57, 5, x_55); +lean_ctor_set(x_57, 3, x_55); x_61 = lean_st_ref_set(x_4, x_57, x_58); x_62 = lean_ctor_get(x_61, 1); lean_inc(x_62); @@ -25997,110 +26219,104 @@ goto block_37; } 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_object* x_71; +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; x_63 = lean_ctor_get(x_57, 0); x_64 = lean_ctor_get(x_57, 1); x_65 = lean_ctor_get(x_57, 2); -x_66 = lean_ctor_get(x_57, 3); -x_67 = lean_ctor_get(x_57, 4); -x_68 = lean_ctor_get(x_57, 6); -lean_inc(x_68); -lean_inc(x_67); +x_66 = lean_ctor_get(x_57, 4); lean_inc(x_66); lean_inc(x_65); lean_inc(x_64); lean_inc(x_63); lean_dec(x_57); -x_69 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_69, 0, x_63); -lean_ctor_set(x_69, 1, x_64); -lean_ctor_set(x_69, 2, x_65); -lean_ctor_set(x_69, 3, x_66); -lean_ctor_set(x_69, 4, x_67); -lean_ctor_set(x_69, 5, x_55); -lean_ctor_set(x_69, 6, x_68); -x_70 = lean_st_ref_set(x_4, x_69, x_58); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); +x_67 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_67, 0, x_63); +lean_ctor_set(x_67, 1, x_64); +lean_ctor_set(x_67, 2, x_65); +lean_ctor_set(x_67, 3, x_55); +lean_ctor_set(x_67, 4, x_66); +x_68 = lean_st_ref_set(x_4, x_67, x_58); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); x_10 = x_54; -x_11 = x_71; +x_11 = x_69; goto block_37; } } else { -lean_object* x_72; +lean_object* x_70; lean_dec(x_2); lean_dec(x_1); -x_72 = lean_ctor_get(x_53, 0); -lean_inc(x_72); +x_70 = lean_ctor_get(x_53, 0); +lean_inc(x_70); lean_dec(x_53); -if (lean_obj_tag(x_72) == 0) +if (lean_obj_tag(x_70) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_76 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_76, 0, x_75); -x_77 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_73, x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_47); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_74 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_71, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_47); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_73); -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) +lean_dec(x_71); +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) { -return x_77; +return x_75; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_77, 0); -x_80 = lean_ctor_get(x_77, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_77); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_75, 0); +x_78 = lean_ctor_get(x_75, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_75); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } else { -lean_object* x_82; uint8_t x_83; +lean_object* x_80; uint8_t x_81; 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_82 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1___rarg(x_47); -x_83 = !lean_is_exclusive(x_82); -if (x_83 == 0) +x_80 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_47); +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -return x_82; +return x_80; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_82, 0); -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_82); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_80, 0); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_80); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } @@ -26186,11 +26402,11 @@ return x_36; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_25__elabCDot___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -26274,28 +26490,28 @@ return x_3; lean_object* l_Lean_Elab_Term_elabParen(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; lean_object* x_11; uint8_t x_35; lean_object* x_155; uint8_t x_156; -x_155 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; +lean_object* x_10; lean_object* x_11; uint8_t x_35; lean_object* x_153; uint8_t x_154; +x_153 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__20; lean_inc(x_1); -x_156 = l_Lean_Syntax_isOfKind(x_1, x_155); -if (x_156 == 0) +x_154 = l_Lean_Syntax_isOfKind(x_1, x_153); +if (x_154 == 0) { -uint8_t x_157; -x_157 = 0; -x_35 = x_157; -goto block_154; +uint8_t x_155; +x_155 = 0; +x_35 = x_155; +goto block_152; } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -x_158 = l_Lean_Syntax_getArgs(x_1); -x_159 = lean_array_get_size(x_158); -lean_dec(x_158); -x_160 = lean_unsigned_to_nat(3u); -x_161 = lean_nat_dec_eq(x_159, x_160); -lean_dec(x_159); -x_35 = x_161; -goto block_154; +lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; +x_156 = l_Lean_Syntax_getArgs(x_1); +x_157 = lean_array_get_size(x_156); +lean_dec(x_156); +x_158 = lean_unsigned_to_nat(3u); +x_159 = lean_nat_dec_eq(x_157, x_158); +lean_dec(x_157); +x_35 = x_159; +goto block_152; } block_34: { @@ -26364,7 +26580,7 @@ x_33 = l_Lean_Elab_Term_elabTerm(x_10, x_2, x_32, x_31, x_4, x_5, x_6, x_7, x_8, return x_33; } } -block_154: +block_152: { if (x_35 == 0) { @@ -26382,40 +26598,40 @@ return x_37; } else { -lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_143; uint8_t x_144; +lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_141; uint8_t x_142; x_38 = lean_unsigned_to_nat(1u); x_39 = l_Lean_Syntax_getArg(x_1, x_38); -x_143 = l_Lean_nullKind___closed__2; +x_141 = l_Lean_nullKind___closed__2; lean_inc(x_39); -x_144 = l_Lean_Syntax_isOfKind(x_39, x_143); -if (x_144 == 0) +x_142 = l_Lean_Syntax_isOfKind(x_39, x_141); +if (x_142 == 0) { -uint8_t x_145; -x_145 = 0; -x_40 = x_145; -goto block_142; +uint8_t x_143; +x_143 = 0; +x_40 = x_143; +goto block_140; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; -x_146 = l_Lean_Syntax_getArgs(x_39); -x_147 = lean_array_get_size(x_146); -lean_dec(x_146); -x_148 = lean_unsigned_to_nat(0u); -x_149 = lean_nat_dec_eq(x_147, x_148); -if (x_149 == 0) +lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; +x_144 = l_Lean_Syntax_getArgs(x_39); +x_145 = lean_array_get_size(x_144); +lean_dec(x_144); +x_146 = lean_unsigned_to_nat(0u); +x_147 = lean_nat_dec_eq(x_145, x_146); +if (x_147 == 0) { -lean_object* x_150; uint8_t x_151; -x_150 = lean_unsigned_to_nat(2u); -x_151 = lean_nat_dec_eq(x_147, x_150); -lean_dec(x_147); -x_40 = x_151; -goto block_142; +lean_object* x_148; uint8_t x_149; +x_148 = lean_unsigned_to_nat(2u); +x_149 = lean_nat_dec_eq(x_145, x_148); +lean_dec(x_145); +x_40 = x_149; +goto block_140; } else { -lean_object* x_152; lean_object* x_153; -lean_dec(x_147); +lean_object* x_150; lean_object* x_151; +lean_dec(x_145); lean_dec(x_39); lean_dec(x_8); lean_dec(x_7); @@ -26425,14 +26641,14 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_152 = l_Lean_unitToExpr___lambda__1___closed__3; -x_153 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_9); -return x_153; +x_150 = l_Lean_unitToExpr___lambda__1___closed__3; +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_9); +return x_151; } } -block_142: +block_140: { if (x_40 == 0) { @@ -26461,23 +26677,23 @@ lean_inc(x_45); x_47 = l_Lean_Syntax_isOfKind(x_45, x_46); if (x_47 == 0) { -uint8_t x_138; -x_138 = 0; -x_48 = x_138; -goto block_137; +uint8_t x_136; +x_136 = 0; +x_48 = x_136; +goto block_135; } else { -lean_object* x_139; lean_object* x_140; uint8_t x_141; -x_139 = l_Lean_Syntax_getArgs(x_45); -x_140 = lean_array_get_size(x_139); -lean_dec(x_139); -x_141 = lean_nat_dec_eq(x_140, x_38); -lean_dec(x_140); -x_48 = x_141; -goto block_137; +lean_object* x_137; lean_object* x_138; uint8_t x_139; +x_137 = l_Lean_Syntax_getArgs(x_45); +x_138 = lean_array_get_size(x_137); +lean_dec(x_137); +x_139 = lean_nat_dec_eq(x_138, x_38); +lean_dec(x_138); +x_48 = x_139; +goto block_135; } -block_137: +block_135: { if (x_48 == 0) { @@ -26523,39 +26739,39 @@ return x_55; else { lean_object* x_56; -x_56 = l___private_Lean_Elab_Term_25__elabCDot(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_56 = l___private_Lean_Elab_Term_26__elabCDot(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_56; } } } else { -lean_object* x_57; uint8_t x_58; uint8_t x_104; lean_object* x_130; uint8_t x_131; +lean_object* x_57; uint8_t x_58; uint8_t x_102; lean_object* x_128; uint8_t x_129; x_57 = l_Lean_Syntax_getArg(x_45, x_43); lean_dec(x_45); -x_130 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__24; +x_128 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_11____closed__24; lean_inc(x_57); -x_131 = l_Lean_Syntax_isOfKind(x_57, x_130); -if (x_131 == 0) +x_129 = l_Lean_Syntax_isOfKind(x_57, x_128); +if (x_129 == 0) { -uint8_t x_132; -x_132 = 0; -x_104 = x_132; -goto block_129; +uint8_t x_130; +x_130 = 0; +x_102 = x_130; +goto block_127; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_133 = l_Lean_Syntax_getArgs(x_57); -x_134 = lean_array_get_size(x_133); -lean_dec(x_133); -x_135 = lean_unsigned_to_nat(2u); -x_136 = lean_nat_dec_eq(x_134, x_135); -lean_dec(x_134); -x_104 = x_136; -goto block_129; +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; +x_131 = l_Lean_Syntax_getArgs(x_57); +x_132 = lean_array_get_size(x_131); +lean_dec(x_131); +x_133 = lean_unsigned_to_nat(2u); +x_134 = lean_nat_dec_eq(x_132, x_133); +lean_dec(x_132); +x_102 = x_134; +goto block_127; } -block_103: +block_101: { if (x_58 == 0) { @@ -26609,7 +26825,7 @@ lean_inc(x_77); x_78 = lean_ctor_get(x_76, 1); lean_inc(x_78); lean_dec(x_76); -x_79 = lean_ctor_get(x_77, 5); +x_79 = lean_ctor_get(x_77, 3); lean_inc(x_79); lean_dec(x_77); x_80 = lean_ctor_get(x_7, 1); @@ -26639,9 +26855,9 @@ x_90 = !lean_is_exclusive(x_88); if (x_90 == 0) { lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_88, 5); +x_91 = lean_ctor_get(x_88, 3); lean_dec(x_91); -lean_ctor_set(x_88, 5, x_86); +lean_ctor_set(x_88, 3, x_86); x_92 = lean_st_ref_set(x_4, x_88, x_89); x_93 = lean_ctor_get(x_92, 1); lean_inc(x_93); @@ -26652,72 +26868,66 @@ goto block_34; } else { -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; +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; x_94 = lean_ctor_get(x_88, 0); x_95 = lean_ctor_get(x_88, 1); x_96 = lean_ctor_get(x_88, 2); -x_97 = lean_ctor_get(x_88, 3); -x_98 = lean_ctor_get(x_88, 4); -x_99 = lean_ctor_get(x_88, 6); -lean_inc(x_99); -lean_inc(x_98); +x_97 = lean_ctor_get(x_88, 4); lean_inc(x_97); lean_inc(x_96); lean_inc(x_95); lean_inc(x_94); lean_dec(x_88); -x_100 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_100, 0, x_94); -lean_ctor_set(x_100, 1, x_95); -lean_ctor_set(x_100, 2, x_96); -lean_ctor_set(x_100, 3, x_97); -lean_ctor_set(x_100, 4, x_98); -lean_ctor_set(x_100, 5, x_86); -lean_ctor_set(x_100, 6, x_99); -x_101 = lean_st_ref_set(x_4, x_100, x_89); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); +x_98 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_98, 0, x_94); +lean_ctor_set(x_98, 1, x_95); +lean_ctor_set(x_98, 2, x_96); +lean_ctor_set(x_98, 3, x_86); +lean_ctor_set(x_98, 4, x_97); +x_99 = lean_st_ref_set(x_4, x_98, x_89); +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +lean_dec(x_99); x_10 = x_85; -x_11 = x_102; +x_11 = x_100; goto block_34; } } } -block_129: +block_127: { +if (x_102 == 0) +{ +lean_object* x_103; uint8_t x_104; +x_103 = l_Lean_Elab_Term_elabParen___closed__5; +lean_inc(x_57); +x_104 = l_Lean_Syntax_isOfKind(x_57, x_103); if (x_104 == 0) { -lean_object* x_105; uint8_t x_106; -x_105 = l_Lean_Elab_Term_elabParen___closed__5; -lean_inc(x_57); -x_106 = l_Lean_Syntax_isOfKind(x_57, x_105); -if (x_106 == 0) -{ -uint8_t x_107; -x_107 = 0; -x_58 = x_107; -goto block_103; +uint8_t x_105; +x_105 = 0; +x_58 = x_105; +goto block_101; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_108 = l_Lean_Syntax_getArgs(x_57); -x_109 = lean_array_get_size(x_108); -lean_dec(x_108); -x_110 = lean_unsigned_to_nat(2u); -x_111 = lean_nat_dec_eq(x_109, x_110); -lean_dec(x_109); -x_58 = x_111; -goto block_103; +lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_106 = l_Lean_Syntax_getArgs(x_57); +x_107 = lean_array_get_size(x_106); +lean_dec(x_106); +x_108 = lean_unsigned_to_nat(2u); +x_109 = lean_nat_dec_eq(x_107, x_108); +lean_dec(x_107); +x_58 = x_109; +goto block_101; } } else { -lean_object* x_112; lean_object* x_113; +lean_object* x_110; lean_object* x_111; lean_dec(x_2); lean_dec(x_1); -x_112 = l_Lean_Syntax_getArg(x_57, x_38); +x_110 = l_Lean_Syntax_getArg(x_57, x_38); lean_dec(x_57); lean_inc(x_8); lean_inc(x_7); @@ -26725,70 +26935,70 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_113 = l_Lean_Elab_Term_elabType(x_112, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_113) == 0) +x_111 = l_Lean_Elab_Term_elabType(x_110, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_111) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_116, 0, x_114); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_114, 0, x_112); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_116); -x_117 = l___private_Lean_Elab_Term_25__elabCDot(x_44, x_116, x_3, x_4, x_5, x_6, x_7, x_8, x_115); -if (lean_obj_tag(x_117) == 0) +lean_inc(x_114); +x_115 = l___private_Lean_Elab_Term_26__elabCDot(x_44, x_114, x_3, x_4, x_5, x_6, x_7, x_8, x_113); +if (lean_obj_tag(x_115) == 0) { -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = l_Lean_Elab_Term_ensureHasType(x_116, x_118, x_3, x_4, x_5, x_6, x_7, x_8, x_119); +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = l_Lean_Elab_Term_ensureHasType(x_114, x_116, x_3, x_4, x_5, x_6, x_7, x_8, x_117); lean_dec(x_4); -return x_120; +return x_118; } else { -uint8_t x_121; -lean_dec(x_116); +uint8_t x_119; +lean_dec(x_114); 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_121 = !lean_is_exclusive(x_117); -if (x_121 == 0) +x_119 = !lean_is_exclusive(x_115); +if (x_119 == 0) { -return x_117; +return x_115; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_117, 0); -x_123 = lean_ctor_get(x_117, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_117); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_115, 0); +x_121 = lean_ctor_get(x_115, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_115); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; } } } else { -uint8_t x_125; +uint8_t x_123; lean_dec(x_44); lean_dec(x_8); lean_dec(x_7); @@ -26796,23 +27006,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_125 = !lean_is_exclusive(x_113); -if (x_125 == 0) +x_123 = !lean_is_exclusive(x_111); +if (x_123 == 0) { -return x_113; +return x_111; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_113, 0); -x_127 = lean_ctor_get(x_113, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_113); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -return x_128; +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_111, 0); +x_125 = lean_ctor_get(x_111, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_111); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; } } } @@ -27204,7 +27414,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Lean_Elab_Term_26__resolveLocalNameAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -27274,15 +27484,15 @@ return x_17; } } } -lean_object* l___private_Lean_Elab_Term_26__resolveLocalNameAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_Elab_Term_26__resolveLocalNameAux___main(x_1, x_2, x_3); +x_4 = l___private_Lean_Elab_Term_27__resolveLocalNameAux___main(x_1, x_2, x_3); return x_4; } } -lean_object* l___private_Lean_Elab_Term_27__resolveLocalName(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* l___private_Lean_Elab_Term_28__resolveLocalName(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; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -27290,18 +27500,18 @@ x_9 = lean_ctor_get(x_4, 1); lean_inc(x_9); lean_dec(x_4); x_10 = lean_box(0); -x_11 = l___private_Lean_Elab_Term_26__resolveLocalNameAux___main(x_9, x_1, x_10); +x_11 = l___private_Lean_Elab_Term_27__resolveLocalNameAux___main(x_9, x_1, x_10); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_8); return x_12; } } -lean_object* l___private_Lean_Elab_Term_27__resolveLocalName___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* l___private_Lean_Elab_Term_28__resolveLocalName___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___private_Lean_Elab_Term_27__resolveLocalName(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Term_28__resolveLocalName(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -27319,7 +27529,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_1, 2); lean_inc(x_9); lean_dec(x_1); -x_10 = l___private_Lean_Elab_Term_27__resolveLocalName(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l___private_Lean_Elab_Term_28__resolveLocalName(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); if (lean_obj_tag(x_11) == 0) @@ -27508,7 +27718,7 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_28__mkFreshLevelMVars___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_object* x_10) { +lean_object* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_29__mkFreshLevelMVars___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_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -27547,22 +27757,22 @@ return x_20; } } } -lean_object* l___private_Lean_Elab_Term_28__mkFreshLevelMVars(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* l___private_Lean_Elab_Term_29__mkFreshLevelMVars(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; lean_object* x_10; x_9 = lean_box(0); lean_inc(x_1); -x_10 = l_Nat_foldMAux___main___at___private_Lean_Elab_Term_28__mkFreshLevelMVars___spec__1(x_1, x_1, x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Nat_foldMAux___main___at___private_Lean_Elab_Term_29__mkFreshLevelMVars___spec__1(x_1, x_1, x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_1); return x_10; } } -lean_object* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_28__mkFreshLevelMVars___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* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_29__mkFreshLevelMVars___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_Nat_foldMAux___main___at___private_Lean_Elab_Term_28__mkFreshLevelMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Nat_foldMAux___main___at___private_Lean_Elab_Term_29__mkFreshLevelMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -27572,11 +27782,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l___private_Lean_Elab_Term_28__mkFreshLevelMVars___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* l___private_Lean_Elab_Term_29__mkFreshLevelMVars___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___private_Lean_Elab_Term_28__mkFreshLevelMVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Term_29__mkFreshLevelMVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -27731,7 +27941,7 @@ lean_object* x_18; lean_object* x_19; uint8_t x_20; x_18 = lean_nat_sub(x_15, x_16); lean_dec(x_16); lean_dec(x_15); -x_19 = l___private_Lean_Elab_Term_28__mkFreshLevelMVars(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_19 = l___private_Lean_Elab_Term_29__mkFreshLevelMVars(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_12); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { @@ -27823,7 +28033,7 @@ lean_dec(x_4); return x_10; } } -lean_object* l_List_foldlM___main___at___private_Lean_Elab_Term_29__mkConsts___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_object* x_10) { +lean_object* l_List_foldlM___main___at___private_Lean_Elab_Term_30__mkConsts___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_object* x_10) { _start: { if (lean_obj_tag(x_3) == 0) @@ -28041,7 +28251,7 @@ return x_52; } } } -lean_object* l___private_Lean_Elab_Term_29__mkConsts(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* l___private_Lean_Elab_Term_30__mkConsts(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; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -28050,15 +28260,15 @@ x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); x_12 = lean_box(0); -x_13 = l_List_foldlM___main___at___private_Lean_Elab_Term_29__mkConsts___spec__1(x_2, x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_11); +x_13 = l_List_foldlM___main___at___private_Lean_Elab_Term_30__mkConsts___spec__1(x_2, x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_11); return x_13; } } -lean_object* l_List_foldlM___main___at___private_Lean_Elab_Term_29__mkConsts___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* l_List_foldlM___main___at___private_Lean_Elab_Term_30__mkConsts___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_List_foldlM___main___at___private_Lean_Elab_Term_29__mkConsts___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_List_foldlM___main___at___private_Lean_Elab_Term_30__mkConsts___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -28067,11 +28277,11 @@ lean_dec(x_5); return x_11; } } -lean_object* l___private_Lean_Elab_Term_29__mkConsts___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* l___private_Lean_Elab_Term_30__mkConsts___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_Term_29__mkConsts(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Elab_Term_30__mkConsts(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -28231,7 +28441,7 @@ _start: lean_object* x_11; lean_object* x_12; lean_inc(x_6); lean_inc(x_1); -x_11 = l___private_Lean_Elab_Term_27__resolveLocalName(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Lean_Elab_Term_28__resolveLocalName(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); if (lean_obj_tag(x_12) == 0) @@ -28245,7 +28455,7 @@ if (x_14 == 0) { lean_object* x_15; lean_dec(x_1); -x_15 = l___private_Lean_Elab_Term_29__mkConsts(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_15 = l___private_Lean_Elab_Term_30__mkConsts(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); lean_dec(x_6); return x_15; } @@ -28265,7 +28475,7 @@ if (x_19 == 0) { lean_object* x_20; lean_dec(x_1); -x_20 = l___private_Lean_Elab_Term_29__mkConsts(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +x_20 = l___private_Lean_Elab_Term_30__mkConsts(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); lean_dec(x_6); return x_20; } @@ -29393,7 +29603,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* _init_l___private_Lean_Elab_Term_30__mkSomeContext___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_31__mkSomeContext___closed__1() { _start: { lean_object* x_1; @@ -29401,13 +29611,13 @@ x_1 = lean_mk_string(""); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_30__mkSomeContext___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_31__mkSomeContext___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; uint8_t x_7; lean_object* x_8; x_1 = lean_box(0); x_2 = lean_box(0); -x_3 = l___private_Lean_Elab_Term_30__mkSomeContext___closed__1; +x_3 = l___private_Lean_Elab_Term_31__mkSomeContext___closed__1; x_4 = l_Lean_FileMap_Inhabited___closed__1; x_5 = lean_box(0); x_6 = l_Lean_firstFrontendMacroScope; @@ -29427,11 +29637,11 @@ lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 2, x_7); return x_8; } } -lean_object* _init_l___private_Lean_Elab_Term_30__mkSomeContext() { +lean_object* _init_l___private_Lean_Elab_Term_31__mkSomeContext() { _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_Term_30__mkSomeContext___closed__2; +x_1 = l___private_Lean_Elab_Term_31__mkSomeContext___closed__2; return x_1; } } @@ -30186,7 +30396,7 @@ lean_inc(x_39); x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); lean_dec(x_38); -x_41 = l___private_Lean_Elab_Term_30__mkSomeContext; +x_41 = l___private_Lean_Elab_Term_31__mkSomeContext; x_42 = l_Lean_Elab_Term_MetaHasEval___rarg___closed__2; lean_inc(x_31); lean_inc(x_26); @@ -30346,7 +30556,7 @@ x_8 = l_Lean_Elab_Term_MetaHasEval___rarg(x_1, x_2, x_3, x_4, x_7, x_6); return x_8; } } -lean_object* _init_l___private_Lean_Elab_Term_31__regTraceClasses___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_32__regTraceClasses___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -30356,7 +30566,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_31__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Term_32__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -30368,7 +30578,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l___private_Lean_Elab_Term_31__regTraceClasses___closed__1; +x_5 = l___private_Lean_Elab_Term_32__regTraceClasses___closed__1; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -30684,14 +30894,18 @@ l_Lean_Elab_Term_levelMVarToParam___closed__1 = _init_l_Lean_Elab_Term_levelMVar lean_mark_persistent(l_Lean_Elab_Term_levelMVarToParam___closed__1); l_Lean_Elab_Term_levelMVarToParam___closed__2 = _init_l_Lean_Elab_Term_levelMVarToParam___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_levelMVarToParam___closed__2); -l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1 = _init_l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1); -l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2 = _init_l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2); -l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1 = _init_l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1); -l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2 = _init_l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2); +l_Lean_Elab_Term_mkFreshUserName___closed__1 = _init_l_Lean_Elab_Term_mkFreshUserName___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshUserName___closed__1); +l_Lean_Elab_Term_mkFreshUserName___closed__2 = _init_l_Lean_Elab_Term_mkFreshUserName___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshUserName___closed__2); +l_Lean_Elab_Term_mkFreshInstanceName___closed__1 = _init_l_Lean_Elab_Term_mkFreshInstanceName___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___closed__1); +l_Lean_Elab_Term_mkFreshInstanceName___closed__2 = _init_l_Lean_Elab_Term_mkFreshInstanceName___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___closed__2); +l_Lean_Elab_Term_mkFreshInstanceName___closed__3 = _init_l_Lean_Elab_Term_mkFreshInstanceName___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___closed__3); +l_Lean_Elab_Term_mkFreshInstanceName___closed__4 = _init_l_Lean_Elab_Term_mkFreshInstanceName___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___closed__4); l___private_Lean_Elab_Term_5__hasCDot___main___closed__1 = _init_l___private_Lean_Elab_Term_5__hasCDot___main___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Term_5__hasCDot___main___closed__1); l___private_Lean_Elab_Term_5__hasCDot___main___closed__2 = _init_l___private_Lean_Elab_Term_5__hasCDot___main___closed__2(); @@ -30869,10 +31083,10 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3 res = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_mkTacticMVar___closed__1 = _init_l_Lean_Elab_Term_mkTacticMVar___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_mkTacticMVar___closed__1); -l_Lean_Elab_Term_mkTacticMVar___closed__2 = _init_l_Lean_Elab_Term_mkTacticMVar___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_mkTacticMVar___closed__2); +l___private_Lean_Elab_Term_24__mkTacticMVar___closed__1 = _init_l___private_Lean_Elab_Term_24__mkTacticMVar___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_24__mkTacticMVar___closed__1); +l___private_Lean_Elab_Term_24__mkTacticMVar___closed__2 = _init_l___private_Lean_Elab_Term_24__mkTacticMVar___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_24__mkTacticMVar___closed__2); l_Lean_Elab_Term_elabByTactic___closed__1 = _init_l_Lean_Elab_Term_elabByTactic___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabByTactic___closed__1); l_Lean_Elab_Term_elabByTactic___closed__2 = _init_l_Lean_Elab_Term_elabByTactic___closed__2(); @@ -30888,16 +31102,16 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__3); res = l___regBuiltin_Lean_Elab_Term_elabByTactic(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__1 = _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__1); -l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__2 = _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__2); -l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__3 = _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__3); -l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__4 = _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__4); -l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__5 = _init_l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Term_24__mkPairsAux___main___closed__5); +l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__1 = _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__1); +l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__2 = _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__2); +l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__3 = _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__3); +l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__4 = _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__4); +l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__5 = _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__5); l_Lean_Elab_Term_elabParen___closed__1 = _init_l_Lean_Elab_Term_elabParen___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__1); l_Lean_Elab_Term_elabParen___closed__2 = _init_l_Lean_Elab_Term_elabParen___closed__2(); @@ -31010,19 +31224,19 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3); res = l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Elab_Term_30__mkSomeContext___closed__1 = _init_l___private_Lean_Elab_Term_30__mkSomeContext___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_30__mkSomeContext___closed__1); -l___private_Lean_Elab_Term_30__mkSomeContext___closed__2 = _init_l___private_Lean_Elab_Term_30__mkSomeContext___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_30__mkSomeContext___closed__2); -l___private_Lean_Elab_Term_30__mkSomeContext = _init_l___private_Lean_Elab_Term_30__mkSomeContext(); -lean_mark_persistent(l___private_Lean_Elab_Term_30__mkSomeContext); +l___private_Lean_Elab_Term_31__mkSomeContext___closed__1 = _init_l___private_Lean_Elab_Term_31__mkSomeContext___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_31__mkSomeContext___closed__1); +l___private_Lean_Elab_Term_31__mkSomeContext___closed__2 = _init_l___private_Lean_Elab_Term_31__mkSomeContext___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_31__mkSomeContext___closed__2); +l___private_Lean_Elab_Term_31__mkSomeContext = _init_l___private_Lean_Elab_Term_31__mkSomeContext(); +lean_mark_persistent(l___private_Lean_Elab_Term_31__mkSomeContext); l_Lean_Elab_Term_MetaHasEval___rarg___closed__1 = _init_l_Lean_Elab_Term_MetaHasEval___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_MetaHasEval___rarg___closed__1); l_Lean_Elab_Term_MetaHasEval___rarg___closed__2 = _init_l_Lean_Elab_Term_MetaHasEval___rarg___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_MetaHasEval___rarg___closed__2); -l___private_Lean_Elab_Term_31__regTraceClasses___closed__1 = _init_l___private_Lean_Elab_Term_31__regTraceClasses___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_31__regTraceClasses___closed__1); -res = l___private_Lean_Elab_Term_31__regTraceClasses(lean_io_mk_world()); +l___private_Lean_Elab_Term_32__regTraceClasses___closed__1 = _init_l___private_Lean_Elab_Term_32__regTraceClasses___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_32__regTraceClasses___closed__1); +res = l___private_Lean_Elab_Term_32__regTraceClasses(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Parser/Tactic.c b/stage0/stdlib/Lean/Parser/Tactic.c index a239d6eab2..6ffd158504 100644 --- a/stage0/stdlib/Lean/Parser/Tactic.c +++ b/stage0/stdlib/Lean/Parser/Tactic.c @@ -50,17 +50,20 @@ lean_object* l_Lean_Parser_Tactic_cases___closed__6; lean_object* l___regBuiltin_Lean_Parser_Tactic_allGoals_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_suffices___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_show_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_done___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_match___closed__7; lean_object* l_Lean_Parser_Tactic_injection_parenthesizer___closed__5; lean_object* l___regBuiltin_Lean_Parser_Tactic_match_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_let___elambda__1___closed__2; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Tactic_matchAlts___elambda__1___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_admit___closed__3; extern lean_object* l_Lean_Parser_manyAux___main___closed__1; lean_object* l_Lean_Parser_Tactic_subst_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_withIds___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_skip_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_revert___closed__2; +lean_object* l_Lean_Parser_Tactic_admit___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_suffices___closed__1; lean_object* l_Lean_Parser_Tactic_changeWith_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_let___elambda__1(lean_object*, lean_object*); @@ -84,6 +87,7 @@ lean_object* l_Lean_Parser_Tactic_let_x21_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__3; lean_object* l_Lean_Parser_Tactic_change_parenthesizer___closed__6; lean_object* l_Lean_Parser_Tactic_induction_formatter___closed__10; +lean_object* l_Lean_Parser_Tactic_admit_formatter___closed__3; lean_object* l_Lean_Parser_sepByInfo(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_explicit___closed__2; lean_object* l_Lean_Parser_Tactic_traceState_parenthesizer___closed__1; @@ -104,6 +108,7 @@ lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_intro___closed__9; extern lean_object* l_Lean_nullKind; extern lean_object* l_Lean_mkThunk___closed__1; +lean_object* l_Lean_Parser_Tactic_admit___closed__5; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__2; lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_matchAlts_parenthesizer___closed__2; @@ -145,7 +150,9 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_exact_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__5; lean_object* l_Lean_Parser_Tactic_induction___closed__2; lean_object* l___regBuiltin_Lean_Parser_Tactic_apply_parenthesizer___closed__1; +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_admit(lean_object*); lean_object* l_Lean_Parser_Tactic_intro_formatter___closed__5; +lean_object* l_Lean_Parser_Tactic_admit; extern lean_object* l_Lean_Parser_Term_show___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_case_formatter___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -237,6 +244,7 @@ lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_o lean_object* l_Lean_Parser_Tactic_apply___closed__4; lean_object* l_Lean_Parser_Tactic_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__6; +lean_object* l_Lean_Parser_Tactic_done_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_change___closed__1; extern lean_object* l_Lean_Parser_darrow; @@ -254,6 +262,7 @@ lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_usingRec___closed__1; lean_object* l_Lean_Parser_Tactic_orelse___closed__7; lean_object* l_Lean_Parser_Tactic_have___closed__2; +lean_object* l_Lean_Parser_Tactic_done_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_injection_parenthesizer___closed__4; extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_underscore; @@ -264,6 +273,7 @@ lean_object* l_Lean_Parser_Tactic_match_formatter___closed__1; extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_traceState___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_injection___closed__4; +lean_object* l_Lean_Parser_Tactic_admit___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlt_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__7; lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__5; @@ -285,6 +295,7 @@ lean_object* l_Lean_Parser_Tactic_refine_x21___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_exact___closed__1; lean_object* l_Lean_Parser_addBuiltinParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_apply_formatter___closed__1; +lean_object* l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_change_formatter___closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__3; @@ -319,6 +330,7 @@ lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_matchAlt___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_try_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_done_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_have___closed__6; lean_object* l_Lean_Parser_Tactic_location_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_cases___closed__3; @@ -372,6 +384,7 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_refine_x21_parenthesizer___closed lean_object* l_Lean_Parser_Tactic_intro_formatter___closed__6; lean_object* l_Lean_Parser_Tactic_injection___closed__1; lean_object* l_Lean_Parser_Tactic_failIfSuccess_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Tactic_done___closed__3; lean_object* l_Lean_Parser_Tactic_cases___closed__1; lean_object* l_Lean_Parser_Tactic_subst_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_failIfSuccess_formatter___closed__2; @@ -386,6 +399,7 @@ lean_object* l_Lean_Parser_Tactic_revert_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_intros___closed__3; lean_object* l_Lean_Parser_Tactic_case_formatter___closed__6; lean_object* l_Lean_Parser_Tactic_apply___closed__5; +lean_object* l_Lean_Parser_Tactic_done_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_changeWith_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_match_parenthesizer___closed__2; @@ -427,6 +441,7 @@ lean_object* l_Lean_Parser_Tactic_skip_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_refine___closed__7; lean_object* l_Lean_Parser_Tactic_induction; lean_object* l_Lean_Parser_Tactic_refine_x21_formatter___closed__1; +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_done(lean_object*); lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Tactic_matchAlts___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Tactic_inductionAlts___elambda__1___spec__8(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_introMatch_formatter___closed__1; @@ -437,6 +452,7 @@ lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_let_x21_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_usingRec___closed__5; lean_object* l_Lean_Parser_Tactic_refine_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_admit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_allGoals_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__1; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Tactic_matchAlts___spec__3(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); @@ -457,6 +473,7 @@ extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__6; extern lean_object* l_Lean_Parser_mkAntiquot___closed__15; lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_induction_parenthesizer___closed__7; +lean_object* l_Lean_Parser_Tactic_admit___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_cases___closed__4; extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; lean_object* l___regBuiltin_Lean_Parser_Tactic_case_formatter___closed__1; @@ -486,6 +503,7 @@ lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__8; lean_object* l_Lean_Parser_Tactic_location_formatter___closed__6; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__10; lean_object* l_Lean_Parser_Tactic_inductionAlt_parenthesizer___closed__2; +lean_object* l_Lean_Parser_Tactic_admit_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_location___closed__6; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Tactic_inductionAlts___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_clear___closed__3; @@ -498,6 +516,7 @@ lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_paren_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__12; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__5; +lean_object* l_Lean_Parser_Tactic_admit___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_refine_formatter___closed__1; @@ -553,6 +572,7 @@ lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__5; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__5; +lean_object* l_Lean_Parser_Tactic_admit___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_introMatch___closed__6; lean_object* l_Lean_Parser_Tactic_inductionAlt_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_seq___closed__3; @@ -615,8 +635,10 @@ lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Tactic_inductionAlts___elam lean_object* l_Lean_Parser_Tactic_generalizingVars_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__6; extern lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__3; +lean_object* l_Lean_Parser_Tactic_admit___closed__4; lean_object* l_Lean_Parser_Tactic_intro_parenthesizer___closed__6; lean_object* l___regBuiltin_Lean_Parser_Tactic_clear_formatter___closed__1; +lean_object* l___regBuiltin_Lean_Parser_Tactic_done_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_suffices_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_location___elambda__1___closed__13; extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__3; @@ -648,6 +670,7 @@ lean_object* l_Lean_Parser_Tactic_generalize___elambda__1(lean_object*, lean_obj lean_object* l___regBuiltin_Lean_Parser_Tactic_suffices_parenthesizer(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Tactic_let_x21(lean_object*); lean_object* l_Lean_Parser_Tactic_changeWith_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_admit___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_assumption___closed__6; lean_object* l_Lean_Parser_Tactic_induction_formatter___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_changeWith(lean_object*); @@ -711,6 +734,7 @@ lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__1; lean_object* l_Lean_Parser_Tactic_revert___closed__6; lean_object* l___regBuiltin_Lean_Parser_Tactic_show_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__1; +lean_object* l_Lean_Parser_Tactic_admit___elambda__1___closed__6; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Tactic_matchAlts___elambda__1___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_let_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_ident_x27_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -725,6 +749,7 @@ lean_object* l_Lean_Parser_Tactic_match___closed__6; lean_object* l_Lean_Parser_Tactic_induction_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_cases_formatter___closed__2; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Tactic_inductionAlts___elambda__1___spec__10(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Parser_Tactic_admit_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_introMatch_parenthesizer___closed__1; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Tactic_inductionAlts___elambda__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_refine_x21___elambda__1___closed__6; @@ -736,7 +761,9 @@ lean_object* l_Lean_Parser_Tactic_suffices_formatter(lean_object*, lean_object*, lean_object* l_Lean_Parser_Tactic_intro_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_majorPremise___closed__3; lean_object* l_Lean_Parser_Tactic_introMatch_formatter___closed__3; +lean_object* l___regBuiltin_Lean_Parser_Tactic_admit_formatter___closed__1; extern lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Tactic_admit___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_orelse_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_Term_match___closed__2; @@ -812,6 +839,7 @@ lean_object* l_Lean_Parser_Tactic_paren___closed__3; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__3; lean_object* l_Lean_Parser_Tactic_majorPremise___closed__2; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__8; +lean_object* l_Lean_Parser_Tactic_done___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_show_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_generalizingVars___closed__4; lean_object* l_Lean_Parser_Tactic_apply_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -826,6 +854,7 @@ lean_object* l_Lean_Parser_Tactic_case_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_inductionAlt_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_show; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Tactic_inductionAlts___elambda__1___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_admit___closed__1; lean_object* l_Lean_Parser_tacticParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_injection___closed__3; lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__6; @@ -843,6 +872,7 @@ lean_object* l_Lean_Parser_Tactic_introMatch___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_paren_formatter___closed__3; +lean_object* l___regBuiltin_Lean_Parser_Tactic_admit_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_matchAlts_formatter___lambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_failIfSuccess_parenthesizer___closed__1; @@ -853,6 +883,7 @@ lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_induction_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_revert_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_paren___elambda__1___closed__1; +lean_object* l___regBuiltin_Lean_Parser_Tactic_done_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_induction_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_injection_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_match___closed__9; @@ -896,6 +927,7 @@ lean_object* l_Lean_Parser_Tactic_paren___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_assumption_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_have___closed__3; extern lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__14; +lean_object* l_Lean_Parser_Tactic_done___closed__2; lean_object* l_Lean_Parser_Tactic_change___closed__3; lean_object* l_Lean_Parser_Tactic_generalize___closed__10; lean_object* l_Lean_Parser_Tactic_match___closed__2; @@ -927,6 +959,7 @@ lean_object* l_Lean_Parser_Tactic_withIds_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_subst_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_case___closed__5; lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; +lean_object* l_Lean_Parser_Tactic_done___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_let___closed__3; lean_object* l_Lean_Parser_Tactic_matchAlt___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Tactic_indentedNonEmptySeq_formatter___lambda__1___closed__1; @@ -961,6 +994,7 @@ lean_object* l_Lean_Parser_Tactic_intros___closed__4; lean_object* l_Lean_Parser_Tactic_matchAlt_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_cases___elambda__1___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_many1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_admit_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_change___closed__6; lean_object* l___regBuiltin_Lean_Parser_Tactic_cases_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_refine_x21; @@ -969,6 +1003,7 @@ lean_object* l_Lean_Parser_Tactic_withAlts_parenthesizer(lean_object*, lean_obje lean_object* l___regBuiltinParser_Lean_Parser_Tactic_match(lean_object*); lean_object* l_Lean_Parser_Tactic_usingRec___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_clear_formatter___closed__3; +lean_object* l_Lean_Parser_Tactic_done___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_match___elambda__1___spec__1(uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_exact_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__5; @@ -1033,6 +1068,7 @@ lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_clear(lean_object*); lean_object* l_Lean_Parser_Tactic_changeWith___closed__6; lean_object* l___regBuiltin_Lean_Parser_Tactic_induction_formatter(lean_object*); +lean_object* l_Lean_Parser_Tactic_done_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_let_x21_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_matchAlt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1046,6 +1082,7 @@ lean_object* l_Lean_Parser_Tactic_subst___closed__7; lean_object* l___regBuiltin_Lean_Parser_Tactic_changeWith_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_suffices___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_induction___closed__6; +lean_object* l_Lean_Parser_Tactic_admit___closed__6; lean_object* l_Lean_Parser_Tactic_subst_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_matchAlts_formatter___lambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_have_formatter___closed__3; @@ -1151,6 +1188,7 @@ lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_nestedTacticBlockCurly_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__4; lean_object* l_Lean_Parser_Tactic_assumption___closed__3; +lean_object* l_Lean_Parser_Tactic_done___closed__1; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__7; lean_object* l___regBuiltin_Lean_Parser_Tactic_show_parenthesizer(lean_object*); extern lean_object* l_Lean_Parser_Term_let_formatter___closed__3; @@ -1168,6 +1206,7 @@ lean_object* l_Lean_Parser_Tactic_generalizingVars___closed__2; lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__11; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Tactic_inductionAlts___elambda__1___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Tactic_let(lean_object*); +lean_object* l_Lean_Parser_Tactic_admit___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_case_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_traceState_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_generalizingVars___elambda__1___closed__1; @@ -1190,6 +1229,7 @@ lean_object* l_Lean_Parser_Tactic_change___elambda__1(lean_object*, lean_object* extern lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__3; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Tactic_matchAlts___elambda__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly_formatter___closed__3; +lean_object* l_Lean_Parser_Tactic_done___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_failIfSuccess___elambda__1___closed__3; extern lean_object* l_Lean_Parser_unicodeSymbolFn___closed__1; lean_object* l_Lean_Parser_Tactic_intro___closed__6; @@ -1202,6 +1242,7 @@ lean_object* l_Lean_Parser_Tactic_show___closed__4; extern lean_object* l_Lean_Parser_Term_let_x21___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_cases___closed__7; extern lean_object* l_Lean_Parser_Term_matchAlts___closed__2; +lean_object* l_Lean_Parser_Tactic_done; lean_object* l_Lean_Parser_Tactic_show_formatter___closed__2; lean_object* l___regBuiltin_Lean_Parser_Tactic_revert_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_withAlts_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1229,6 +1270,7 @@ lean_object* l_Lean_Parser_Tactic_exact___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_paren(lean_object*); lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_matchAlt; +lean_object* l_Lean_Parser_Tactic_done___closed__4; lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Parser_Tactic_allGoals_formatter___closed__2; lean_object* l___regBuiltin_Lean_Parser_Tactic_traceState_formatter___closed__1; @@ -1336,6 +1378,7 @@ extern lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_induction(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_change_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__7; +lean_object* l_Lean_Parser_Tactic_done___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_induction___closed__9; lean_object* l_Lean_Parser_Tactic_allGoals___closed__4; lean_object* l_Lean_Parser_Tactic_revert___elambda__1___closed__4; @@ -1351,6 +1394,7 @@ lean_object* l_Lean_Parser_Tactic_injection___elambda__1(lean_object*, lean_obje lean_object* l_Lean_Parser_Tactic_generalizingVars___closed__3; lean_object* l_Lean_Parser_Tactic_withAlts_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_match_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Tactic_done_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__5; lean_object* l_Lean_Parser_Tactic_cases_parenthesizer___closed__3; @@ -1377,6 +1421,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_sepBy1_formatter(lean_object*, lean_ lean_object* l_Lean_Parser_Tactic_injection_formatter___closed__2; lean_object* l_Lean_Parser_unicodeSymbolInfo(lean_object*, lean_object*); 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_object* l_Lean_Parser_Tactic_done_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_let_x21_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_orelse___closed__6; lean_object* l_Lean_Parser_Tactic_intro___closed__5; @@ -1391,6 +1436,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer(lean_object* lean_object* l_Lean_Parser_Tactic_paren_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Tactic_indentedNonEmptySeq_formatter___lambda__1___closed__5; +lean_object* l_Lean_Parser_Tactic_done___closed__5; lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_subst(lean_object*); lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__4; @@ -1409,6 +1455,7 @@ lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_matchAlts; lean_object* l___regBuiltin_Lean_Parser_Tactic_refine_x21_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_nonEmptySeq___closed__1; +lean_object* l_Lean_Parser_Tactic_admit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_refine_x21_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_revert___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_match_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1416,6 +1463,7 @@ lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_let_x21___closed__5; lean_object* l_Lean_Parser_Tactic_changeWith_parenthesizer___closed__4; +lean_object* l_Lean_Parser_Tactic_done___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_introMatch_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_matchAlt___closed__5; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); @@ -1460,6 +1508,7 @@ lean_object* l_Lean_Parser_Tactic_nonEmptySeq_formatter(lean_object*, lean_objec lean_object* l_Lean_Parser_Tactic_generalize___closed__14; lean_object* l_Lean_Parser_Tactic_introMatch; lean_object* l___regBuiltin_Lean_Parser_Tactic_change_formatter(lean_object*); +lean_object* l_Lean_Parser_Tactic_done___closed__6; extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_generalize___closed__5; lean_object* l_Lean_Parser_Tactic_paren_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1469,6 +1518,7 @@ lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__3; extern lean_object* l_Lean_ppGoal___closed__7; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_have_parenthesizer___closed__2; +lean_object* l___regBuiltin_Lean_Parser_Tactic_admit_formatter(lean_object*); extern lean_object* l_Lean_Parser_Term_matchAlts_formatter___lambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__4; extern lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__7; @@ -1487,7 +1537,9 @@ lean_object* l_Lean_Parser_Tactic_location___elambda__1___closed__12; lean_object* l___regBuiltin_Lean_Parser_Tactic_allGoals_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_injection_formatter___closed__6; +lean_object* l_Lean_Parser_Tactic_done___elambda__1___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__8; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_nonReservedSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1497,6 +1549,7 @@ lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__6; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_seq___closed__4; +lean_object* l_Lean_Parser_Tactic_admit_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_introMatch___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_traceState___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_try_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1519,6 +1572,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_injection(lean_object*); lean_object* l_Lean_Parser_Tactic_intro_formatter___closed__7; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_admit_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_introMatch_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_paren_formatter(lean_object*); @@ -8758,6 +8812,788 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* _init_l_Lean_Parser_Tactic_done___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("done"); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2; +x_2 = l_Lean_Parser_Tactic_done___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_done___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__1; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Tactic_done___elambda__1___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__6; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Tactic_done___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Tactic_done___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(1024u); +x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +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_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_array_get_size(x_9); +lean_dec(x_9); +x_11 = l_Lean_Parser_Tactic_done___elambda__1___closed__5; +x_12 = l_Lean_Parser_Tactic_done___elambda__1___closed__7; +x_13 = l_Lean_Parser_nonReservedSymbolFnAux(x_11, x_12, x_1, x_7); +x_14 = l_Lean_Parser_Tactic_done___elambda__1___closed__2; +x_15 = l_Lean_Parser_ParserState_mkNode(x_13, x_14, x_10); +return x_15; +} +else +{ +lean_dec(x_8); +lean_dec(x_1); +return x_7; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_2, 0); +lean_inc(x_16); +x_17 = lean_array_get_size(x_16); +lean_dec(x_16); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +lean_inc(x_1); +x_19 = lean_apply_2(x_4, x_1, x_2); +x_20 = lean_ctor_get(x_19, 3); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_1); +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +x_23 = lean_nat_dec_eq(x_22, x_18); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_1); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_inc(x_18); +x_24 = l_Lean_Parser_ParserState_restore(x_19, x_17, x_18); +lean_dec(x_17); +x_25 = lean_unsigned_to_nat(1024u); +x_26 = l_Lean_Parser_checkPrecFn(x_25, x_1, x_24); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +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_object* x_34; lean_object* x_35; +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +x_29 = lean_array_get_size(x_28); +lean_dec(x_28); +x_30 = l_Lean_Parser_Tactic_done___elambda__1___closed__5; +x_31 = l_Lean_Parser_Tactic_done___elambda__1___closed__7; +x_32 = l_Lean_Parser_nonReservedSymbolFnAux(x_30, x_31, x_1, x_26); +x_33 = l_Lean_Parser_Tactic_done___elambda__1___closed__2; +x_34 = l_Lean_Parser_ParserState_mkNode(x_32, x_33, x_29); +x_35 = l_Lean_Parser_mergeOrElseErrors(x_34, x_21, x_18); +lean_dec(x_18); +return x_35; +} +else +{ +lean_object* x_36; +lean_dec(x_27); +lean_dec(x_1); +x_36 = l_Lean_Parser_mergeOrElseErrors(x_26, x_21, x_18); +lean_dec(x_18); +return x_36; +} +} +} +} +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__5; +x_2 = 0; +x_3 = l_Lean_Parser_nonReservedSymbolInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__2; +x_2 = l_Lean_Parser_Tactic_done___closed__1; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Tactic_done___closed__2; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Tactic_done___closed__3; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_done___elambda__1), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_done___closed__4; +x_2 = l_Lean_Parser_Tactic_done___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_done___closed__6; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_done(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Tactic_done___elambda__1___closed__2; +x_4 = 1; +x_5 = l_Lean_Parser_Tactic_done; +x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_done___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_nonReservedSymbol_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done_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_Tactic_done___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_done_formatter___closed__2; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_done_formatter(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; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Tactic_done_formatter___closed__1; +x_7 = l_Lean_Parser_Tactic_done_formatter___closed__3; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_done_formatter___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_done_formatter), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Tactic_done_formatter(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_PrettyPrinter_formatterAttribute; +x_3 = l_Lean_Parser_Tactic_done___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Tactic_done_formatter___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__3; +x_2 = 1; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_done_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_done___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__8; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_done_parenthesizer(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; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Tactic_done_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Tactic_done_parenthesizer___closed__2; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_done_parenthesizer), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; +x_3 = l_Lean_Parser_Tactic_done___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("admit"); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2; +x_2 = l_Lean_Parser_Tactic_admit___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_admit___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__1; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Tactic_admit___elambda__1___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__6; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Tactic_admit___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Tactic_admit___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(1024u); +x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +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_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_array_get_size(x_9); +lean_dec(x_9); +x_11 = l_Lean_Parser_Tactic_admit___elambda__1___closed__5; +x_12 = l_Lean_Parser_Tactic_admit___elambda__1___closed__7; +x_13 = l_Lean_Parser_nonReservedSymbolFnAux(x_11, x_12, x_1, x_7); +x_14 = l_Lean_Parser_Tactic_admit___elambda__1___closed__2; +x_15 = l_Lean_Parser_ParserState_mkNode(x_13, x_14, x_10); +return x_15; +} +else +{ +lean_dec(x_8); +lean_dec(x_1); +return x_7; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_2, 0); +lean_inc(x_16); +x_17 = lean_array_get_size(x_16); +lean_dec(x_16); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +lean_inc(x_1); +x_19 = lean_apply_2(x_4, x_1, x_2); +x_20 = lean_ctor_get(x_19, 3); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_1); +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +x_23 = lean_nat_dec_eq(x_22, x_18); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_1); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_inc(x_18); +x_24 = l_Lean_Parser_ParserState_restore(x_19, x_17, x_18); +lean_dec(x_17); +x_25 = lean_unsigned_to_nat(1024u); +x_26 = l_Lean_Parser_checkPrecFn(x_25, x_1, x_24); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +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_object* x_34; lean_object* x_35; +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +x_29 = lean_array_get_size(x_28); +lean_dec(x_28); +x_30 = l_Lean_Parser_Tactic_admit___elambda__1___closed__5; +x_31 = l_Lean_Parser_Tactic_admit___elambda__1___closed__7; +x_32 = l_Lean_Parser_nonReservedSymbolFnAux(x_30, x_31, x_1, x_26); +x_33 = l_Lean_Parser_Tactic_admit___elambda__1___closed__2; +x_34 = l_Lean_Parser_ParserState_mkNode(x_32, x_33, x_29); +x_35 = l_Lean_Parser_mergeOrElseErrors(x_34, x_21, x_18); +lean_dec(x_18); +return x_35; +} +else +{ +lean_object* x_36; +lean_dec(x_27); +lean_dec(x_1); +x_36 = l_Lean_Parser_mergeOrElseErrors(x_26, x_21, x_18); +lean_dec(x_18); +return x_36; +} +} +} +} +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__5; +x_2 = 0; +x_3 = l_Lean_Parser_nonReservedSymbolInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__2; +x_2 = l_Lean_Parser_Tactic_admit___closed__1; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Tactic_admit___closed__2; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Tactic_admit___closed__3; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_admit___elambda__1), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_admit___closed__4; +x_2 = l_Lean_Parser_Tactic_admit___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_admit___closed__6; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_admit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Tactic_admit___elambda__1___closed__2; +x_4 = 1; +x_5 = l_Lean_Parser_Tactic_admit; +x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_admit___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_nonReservedSymbol_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit_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_Tactic_admit___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_admit_formatter___closed__2; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_admit_formatter(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; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Tactic_admit_formatter___closed__1; +x_7 = l_Lean_Parser_Tactic_admit_formatter___closed__3; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_admit_formatter___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_admit_formatter), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Tactic_admit_formatter(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_PrettyPrinter_formatterAttribute; +x_3 = l_Lean_Parser_Tactic_admit___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Tactic_admit_formatter___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__3; +x_2 = 1; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_admit_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_admit___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__8; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_admit_parenthesizer(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; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Tactic_admit_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Tactic_admit_parenthesizer___closed__2; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_admit_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_admit_parenthesizer), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Tactic_admit_parenthesizer(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; +x_3 = l_Lean_Parser_Tactic_admit___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Tactic_admit_parenthesizer___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* _init_l_Lean_Parser_Tactic_traceState___elambda__1___closed__1() { _start: { @@ -28490,6 +29326,108 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_skip_parenthesizer___clos res = l___regBuiltin_Lean_Parser_Tactic_skip_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Tactic_done___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_done___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___elambda__1___closed__1); +l_Lean_Parser_Tactic_done___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_done___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___elambda__1___closed__2); +l_Lean_Parser_Tactic_done___elambda__1___closed__3 = _init_l_Lean_Parser_Tactic_done___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___elambda__1___closed__3); +l_Lean_Parser_Tactic_done___elambda__1___closed__4 = _init_l_Lean_Parser_Tactic_done___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___elambda__1___closed__4); +l_Lean_Parser_Tactic_done___elambda__1___closed__5 = _init_l_Lean_Parser_Tactic_done___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___elambda__1___closed__5); +l_Lean_Parser_Tactic_done___elambda__1___closed__6 = _init_l_Lean_Parser_Tactic_done___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___elambda__1___closed__6); +l_Lean_Parser_Tactic_done___elambda__1___closed__7 = _init_l_Lean_Parser_Tactic_done___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___elambda__1___closed__7); +l_Lean_Parser_Tactic_done___closed__1 = _init_l_Lean_Parser_Tactic_done___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___closed__1); +l_Lean_Parser_Tactic_done___closed__2 = _init_l_Lean_Parser_Tactic_done___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___closed__2); +l_Lean_Parser_Tactic_done___closed__3 = _init_l_Lean_Parser_Tactic_done___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___closed__3); +l_Lean_Parser_Tactic_done___closed__4 = _init_l_Lean_Parser_Tactic_done___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___closed__4); +l_Lean_Parser_Tactic_done___closed__5 = _init_l_Lean_Parser_Tactic_done___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___closed__5); +l_Lean_Parser_Tactic_done___closed__6 = _init_l_Lean_Parser_Tactic_done___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_done___closed__6); +l_Lean_Parser_Tactic_done = _init_l_Lean_Parser_Tactic_done(); +lean_mark_persistent(l_Lean_Parser_Tactic_done); +res = l___regBuiltinParser_Lean_Parser_Tactic_done(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_done_formatter___closed__1 = _init_l_Lean_Parser_Tactic_done_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_done_formatter___closed__1); +l_Lean_Parser_Tactic_done_formatter___closed__2 = _init_l_Lean_Parser_Tactic_done_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_done_formatter___closed__2); +l_Lean_Parser_Tactic_done_formatter___closed__3 = _init_l_Lean_Parser_Tactic_done_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_done_formatter___closed__3); +l___regBuiltin_Lean_Parser_Tactic_done_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_done_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_done_formatter___closed__1); +res = l___regBuiltin_Lean_Parser_Tactic_done_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_done_parenthesizer___closed__1 = _init_l_Lean_Parser_Tactic_done_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_done_parenthesizer___closed__1); +l_Lean_Parser_Tactic_done_parenthesizer___closed__2 = _init_l_Lean_Parser_Tactic_done_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_done_parenthesizer___closed__2); +l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer___closed__1); +res = l___regBuiltin_Lean_Parser_Tactic_done_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_admit___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___elambda__1___closed__1); +l_Lean_Parser_Tactic_admit___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___elambda__1___closed__2); +l_Lean_Parser_Tactic_admit___elambda__1___closed__3 = _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___elambda__1___closed__3); +l_Lean_Parser_Tactic_admit___elambda__1___closed__4 = _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___elambda__1___closed__4); +l_Lean_Parser_Tactic_admit___elambda__1___closed__5 = _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___elambda__1___closed__5); +l_Lean_Parser_Tactic_admit___elambda__1___closed__6 = _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___elambda__1___closed__6); +l_Lean_Parser_Tactic_admit___elambda__1___closed__7 = _init_l_Lean_Parser_Tactic_admit___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___elambda__1___closed__7); +l_Lean_Parser_Tactic_admit___closed__1 = _init_l_Lean_Parser_Tactic_admit___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___closed__1); +l_Lean_Parser_Tactic_admit___closed__2 = _init_l_Lean_Parser_Tactic_admit___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___closed__2); +l_Lean_Parser_Tactic_admit___closed__3 = _init_l_Lean_Parser_Tactic_admit___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___closed__3); +l_Lean_Parser_Tactic_admit___closed__4 = _init_l_Lean_Parser_Tactic_admit___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___closed__4); +l_Lean_Parser_Tactic_admit___closed__5 = _init_l_Lean_Parser_Tactic_admit___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___closed__5); +l_Lean_Parser_Tactic_admit___closed__6 = _init_l_Lean_Parser_Tactic_admit___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit___closed__6); +l_Lean_Parser_Tactic_admit = _init_l_Lean_Parser_Tactic_admit(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit); +res = l___regBuiltinParser_Lean_Parser_Tactic_admit(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_admit_formatter___closed__1 = _init_l_Lean_Parser_Tactic_admit_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit_formatter___closed__1); +l_Lean_Parser_Tactic_admit_formatter___closed__2 = _init_l_Lean_Parser_Tactic_admit_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit_formatter___closed__2); +l_Lean_Parser_Tactic_admit_formatter___closed__3 = _init_l_Lean_Parser_Tactic_admit_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit_formatter___closed__3); +l___regBuiltin_Lean_Parser_Tactic_admit_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_admit_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_admit_formatter___closed__1); +res = l___regBuiltin_Lean_Parser_Tactic_admit_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_admit_parenthesizer___closed__1 = _init_l_Lean_Parser_Tactic_admit_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit_parenthesizer___closed__1); +l_Lean_Parser_Tactic_admit_parenthesizer___closed__2 = _init_l_Lean_Parser_Tactic_admit_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_admit_parenthesizer___closed__2); +l___regBuiltin_Lean_Parser_Tactic_admit_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_admit_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_admit_parenthesizer___closed__1); +res = l___regBuiltin_Lean_Parser_Tactic_admit_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_Tactic_traceState___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_traceState___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_traceState___elambda__1___closed__1); l_Lean_Parser_Tactic_traceState___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_traceState___elambda__1___closed__2();