diff --git a/stage0/src/Lean/Elab/SyntheticMVars.lean b/stage0/src/Lean/Elab/SyntheticMVars.lean index ae2b3bb0e1..6539e7b0a2 100644 --- a/stage0/src/Lean/Elab/SyntheticMVars.lean +++ b/stage0/src/Lean/Elab/SyntheticMVars.lean @@ -84,11 +84,12 @@ withMVarContext instMVar $ catch /-- Similar to `synthesizePendingInstMVar`, but generates type mismatch error message. -/ -private def synthesizePendingCoeInstMVar (instMVar : MVarId) (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr) : TermElabM Bool := do +private def synthesizePendingCoeInstMVar + (instMVar : MVarId) (errorMsgHeader : String) (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr) : TermElabM Bool := do withMVarContext instMVar $ catch (synthesizeInstMVarCore instMVar) (fun ex => match ex with - | Exception.error _ msg => throwTypeMismatchError expectedType eType e f? msg + | Exception.error _ msg => throwTypeMismatchError errorMsgHeader expectedType eType e f? msg | _ => unreachable!) /-- @@ -102,12 +103,12 @@ pure $ !val.getAppFn.isMVar private def synthesizeSyntheticMVar (mvarSyntheticDecl : SyntheticMVarDecl) (postponeOnError : Bool) (runTactics : Bool) : TermElabM Bool := withRef mvarSyntheticDecl.stx $ match mvarSyntheticDecl.kind with -| SyntheticMVarKind.typeClass => synthesizePendingInstMVar mvarSyntheticDecl.mvarId -| SyntheticMVarKind.coe expectedType eType e f? => synthesizePendingCoeInstMVar mvarSyntheticDecl.mvarId expectedType eType e f? +| SyntheticMVarKind.typeClass => synthesizePendingInstMVar mvarSyntheticDecl.mvarId +| SyntheticMVarKind.coe header expectedType eType e f? => synthesizePendingCoeInstMVar mvarSyntheticDecl.mvarId header expectedType eType e f? -- NOTE: actual processing at `synthesizeSyntheticMVarsAux` -| SyntheticMVarKind.withDefault _ => checkWithDefault mvarSyntheticDecl.mvarId -| SyntheticMVarKind.postponed macroStack declName? => resumePostponed macroStack declName? mvarSyntheticDecl.stx mvarSyntheticDecl.mvarId postponeOnError -| SyntheticMVarKind.tactic declName? tacticCode => +| SyntheticMVarKind.withDefault _ => checkWithDefault mvarSyntheticDecl.mvarId +| SyntheticMVarKind.postponed macroStack declName? => resumePostponed macroStack declName? mvarSyntheticDecl.stx mvarSyntheticDecl.mvarId postponeOnError +| SyntheticMVarKind.tactic declName? tacticCode => adaptReader (fun (ctx : Context) => { ctx with declName? := declName? }) $ if runTactics then do runTactic mvarSyntheticDecl.mvarId tacticCode; @@ -168,10 +169,10 @@ s.syntheticMVars.forM $ fun mvarSyntheticDecl => withMVarContext mvarSyntheticDecl.mvarId $ do mvarDecl ← getMVarDecl mvarSyntheticDecl.mvarId; logError $ "failed to create type class instance for " ++ indentExpr mvarDecl.type - | SyntheticMVarKind.coe expectedType eType e f? => + | SyntheticMVarKind.coe header expectedType eType e f? => withMVarContext mvarSyntheticDecl.mvarId $ do mvarDecl ← getMVarDecl mvarSyntheticDecl.mvarId; - throwTypeMismatchError expectedType eType e f? (some ("failed to create type class instance for " ++ indentExpr mvarDecl.type)) + throwTypeMismatchError header expectedType eType e f? (some ("failed to create type class instance for " ++ indentExpr mvarDecl.type)) | _ => unreachable! -- TODO handle other cases. private def getSomeSynthethicMVarsRef : TermElabM Syntax := do diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index 7005401a11..811be641dc 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -98,7 +98,8 @@ inductive SyntheticMVarKind | typeClass -- Similar to typeClass, but error messages are different, -- we use "type mismatch" or "application type mismatch" (when `f?` is some) instead of "failed to synthesize" -| coe (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr) +-- `header` is the error message header. It is "type mismatch" in most cases +| coe (header : String) (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr) -- tactic block execution | tactic (declName? : Option Name) (tacticCode : Syntax) -- `elabTerm` call that threw `Exception.postpone` (input is stored at `SyntheticMVarDecl.ref`) @@ -520,18 +521,18 @@ if hasCDot stx then do else pure none -def mkTypeMismatchError (e : Expr) (eType : Expr) (expectedType : Expr) (header : String := "type mismatch") : MessageData := +def mkTypeMismatchError (header : String) (e : Expr) (eType : Expr) (expectedType : Expr) : MessageData := header ++ indentExpr e ++ Format.line ++ "has type" ++ indentExpr eType ++ Format.line ++ "but it is expected to have type" ++ indentExpr expectedType -def throwTypeMismatchError {α} (expectedType : Expr) (eType : Expr) (e : Expr) +def throwTypeMismatchError {α} (header : String) (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr := none) (extraMsg? : Option MessageData := none) : TermElabM α := let extraMsg : MessageData := match extraMsg? with | none => Format.nil | some extraMsg => Format.line ++ extraMsg; match f? with -| none => throwError $ mkTypeMismatchError e eType expectedType ++ extraMsg +| none => throwError $ mkTypeMismatchError header e eType expectedType ++ extraMsg | some f => Meta.throwAppTypeMismatch f e extraMsg @[inline] def withoutMacroStackAtErr {α} (x : TermElabM α) : TermElabM α := @@ -569,7 +570,7 @@ match result with class CoeT (α : Sort u) (a : α) (β : Sort v) abbrev coe {α : Sort u} {β : Sort v} (a : α) [CoeT α a β] : β ``` -/ -def tryCoe (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr) : TermElabM Expr := +private def tryCoe (errorMsgHeader : String) (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr) : TermElabM Expr := condM (isDefEq expectedType eType) (pure e) $ do u ← getLevel eType; v ← getLevel expectedType; @@ -580,12 +581,12 @@ let mvarId := mvar.mvarId!; catch (withoutMacroStackAtErr $ do unlessM (synthesizeInstMVarCore mvarId) $ - registerSyntheticMVarWithCurrRef mvarId (SyntheticMVarKind.coe expectedType eType e f?); + registerSyntheticMVarWithCurrRef mvarId (SyntheticMVarKind.coe errorMsgHeader expectedType eType e f?); pure eNew) (fun ex => match ex with - | Exception.error _ msg => throwTypeMismatchError expectedType eType e f? msg - | _ => throwTypeMismatchError expectedType eType e f?) + | Exception.error _ msg => throwTypeMismatchError errorMsgHeader expectedType eType e f? msg + | _ => throwTypeMismatchError errorMsgHeader expectedType eType e f?) private def isTypeApp? (type : Expr) : TermElabM (Option (Expr × Expr)) := do type ← withReducible $ whnf type; @@ -623,11 +624,11 @@ match result with /-- Try to coerce `a : α` into `m β` by first coercing `a : α` into ‵β`, and then using `pure`. The method is only applied if the head of `α` nor ‵β` is not a metavariable. -/ -private def tryPureCoe? (m β α a : Expr) : TermElabM (Option Expr) := +private def tryPureCoe? (errorMsgHeader : String) (m β α a : Expr) : TermElabM (Option Expr) := if β.getAppFn.isMVar || α.getAppFn.isMVar then pure none else catch (do - aNew ← tryCoe β α a none; + aNew ← tryCoe errorMsgHeader β α a none; aNew ← mkPure m aNew; pure $ some aNew) (fun _ => pure none) @@ -687,19 +688,19 @@ On the other hand, TC can easily solve `[HasLiftT IO (StateT Nat IO)]` since this goal does not contain any metavariables. And then, we convert `g x` into `liftM $ g x`. -/ -def tryLiftAndCoe (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr) : TermElabM Expr := do +private def tryLiftAndCoe (errorMsgHeader : String) (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr) : TermElabM Expr := do eType ← instantiateMVars eType; -some ⟨n, β, monadInst⟩ ← isMonad? expectedType | tryCoe expectedType eType e f?; +some ⟨n, β, monadInst⟩ ← isMonad? expectedType | tryCoe errorMsgHeader expectedType eType e f?; β ← instantiateMVars β; -eNew? ← tryPureCoe? n β eType e; +eNew? ← tryPureCoe? errorMsgHeader n β eType e; match eNew? with | some eNew => pure eNew | none => do -some (m, α) ← isTypeApp? eType | tryCoe expectedType eType e f?; +some (m, α) ← isTypeApp? eType | tryCoe errorMsgHeader expectedType eType e f?; condM (isDefEq m n) (catch (mkAppOptM `coeM #[m, α, β, none, monadInst, e]) - (fun _ => throwTypeMismatchError expectedType eType e f?)) $ + (fun _ => throwTypeMismatchError errorMsgHeader expectedType eType e f?)) $ (catch (do -- Construct lift from `m` to `n` @@ -721,29 +722,31 @@ condM (isDefEq m n) eNewType ← inferType eNew; condM (isDefEq expectedType eNewType) (pure eNew) -- approach 3 worked - (throwTypeMismatchError expectedType eType e f?))) - (fun _ => throwTypeMismatchError expectedType eType e f?)) + (throwTypeMismatchError errorMsgHeader expectedType eType e f?))) + (fun _ => throwTypeMismatchError errorMsgHeader expectedType eType e f?)) /-- If `expectedType?` is `some t`, then ensure `t` and `eType` are definitionally equal. If they are not, then try coercions. Argument `f?` is used only for generating error messages. -/ -def ensureHasTypeAux (expectedType? : Option Expr) (eType : Expr) (e : Expr) (f? : Option Expr := none) : TermElabM Expr := +def ensureHasTypeAux (expectedType? : Option Expr) (eType : Expr) (e : Expr) + (f? : Option Expr := none) (errorMsgHeader? : Option String := none) : TermElabM Expr := +let errorMsgHeader := errorMsgHeader?.getD "type mismatch"; match expectedType? with | none => pure e | some expectedType => condM (isDefEq eType expectedType) (pure e) - (tryLiftAndCoe expectedType eType e f?) + (tryLiftAndCoe errorMsgHeader expectedType eType e f?) /-- If `expectedType?` is `some t`, then ensure `t` and type of `e` are definitionally equal. If they are not, then try coercions. -/ -def ensureHasType (expectedType? : Option Expr) (e : Expr) : TermElabM Expr := +def ensureHasType (expectedType? : Option Expr) (e : Expr) (errorMsgHeader? : Option String := none) : TermElabM Expr := match expectedType? with | none => pure e -| _ => do eType ← inferType e; ensureHasTypeAux expectedType? eType e +| _ => do eType ← inferType e; ensureHasTypeAux expectedType? eType e none errorMsgHeader? private def exceptionToSorry (ex : Exception) (expectedType? : Option Expr) : TermElabM Expr := do expectedType : Expr ← match expectedType? with @@ -921,9 +924,9 @@ private partial def elabTermAux (expectedType? : Option Expr) (catchExPostpone : def elabTerm (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) : TermElabM Expr := withRef stx $ elabTermAux expectedType? catchExPostpone true stx -def elabTermEnsuringType (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) : TermElabM Expr := do +def elabTermEnsuringType (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) (errorMsgHeader? : Option String := none) : TermElabM Expr := do e ← elabTerm stx expectedType? catchExPostpone; -withRef stx $ ensureHasType expectedType? e +withRef stx $ ensureHasType expectedType? e errorMsgHeader? def elabTermWithoutImplicitLambdas (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) : TermElabM Expr := do elabTermAux expectedType? catchExPostpone false stx @@ -1289,12 +1292,7 @@ fun stx expectedType? => | some msg => do refTerm ← elabTerm (stx.getArg 1) none; refTermType ← inferType refTerm; - e ← elabTerm (stx.getArg 3) expectedType?; - eType ← inferType e; - -- TODO: try coercions. We cannot simply use `ensureHasType` at this point because it has no support for the custom error message. - -- a `catch` would also not work since `ensureHasType` may postpone the coercion resolution. - unlessM (isDefEq eType refTermType) $ throwError $ mkTypeMismatchError e eType refTermType msg; - pure e + elabTermEnsuringType (stx.getArg 3) refTermType true msg private def mkSomeContext : Context := { fileName := "", diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index ab49947c96..b5fb974bb0 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -170,8 +170,9 @@ def letRecDecls := sepBy1 (group (optional «attributes» >> letDecl)) ", " @[builtinTermParser] def nativeDecide := parser! "nativeDecide! " >> termParser maxPrec @[builtinTermParser] def decide := parser! "decide! " >> termParser maxPrec -@[builtinTermParser] def typeOf := parser! "typeOf! " >> termParser maxPrec -@[builtinTermParser] def ensureTypeOf := parser! "ensureTypeOf! " >> termParser maxPrec >> strLit >> termParser +@[builtinTermParser] def typeOf := parser! "typeOf! " >> termParser maxPrec +@[builtinTermParser] def ensureTypeOf := parser! "ensureTypeOf! " >> termParser maxPrec >> strLit >> termParser +@[builtinTermParser] def ensureExpectedType := parser! "ensureExpectedType! " >> strLit >> termParser maxPrec @[builtinTermParser] def not := parser! "¬" >> termParser 40 @[builtinTermParser] def bnot := parser! "!" >> termParser 40 diff --git a/stage0/stdlib/Lean/Delaborator.c b/stage0/stdlib/Lean/Delaborator.c index 051c6c412f..38214b60cc 100644 --- a/stage0/stdlib/Lean/Delaborator.c +++ b/stage0/stdlib/Lean/Delaborator.c @@ -219,6 +219,7 @@ lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabLE___lambda__1___closed__6; lean_object* l_Lean_Delaborator_withAppFnArgs___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabEquiv___closed__1; +extern lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2; extern lean_object* l_Lean_Expr_ctorName___closed__4; lean_object* l_Lean_Delaborator_delabOrM___lambda__1___closed__3; lean_object* l_Lean_Delaborator_delabCons___closed__1; @@ -256,6 +257,7 @@ lean_object* l_Lean_Delaborator_delabAndThen___closed__1; lean_object* l_Lean_Delaborator_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_DelabM_monadQuotation___closed__1; lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__1; +extern lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1; lean_object* l_Lean_getPPFullNames___closed__1; lean_object* l_Lean_Delaborator_delabEq___lambda__1___closed__3; extern lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; @@ -354,7 +356,6 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabModN___closed__5; lean_object* l_Lean_Delaborator_delabMap___lambda__1___closed__4; extern lean_object* l_Lean_Elab_Level_elabLevel___main___closed__6; lean_object* l_Lean_Delaborator_delabSort___closed__7; -extern lean_object* l_Lean_Elab_Term_tryCoe___closed__4; lean_object* l_Lean_Delaborator_annotateCurPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabModN___closed__3; lean_object* l_Lean_Delaborator_HasOrelse___closed__1; @@ -394,7 +395,6 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabCons(lean_object*); lean_object* l_Lean_Delaborator_delabBOr___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_Delaborator_orelse(lean_object*); lean_object* l_Lean_Delaborator_delabBNe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__7; extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_Delaborator_delabCons___lambda__1___closed__3; @@ -424,7 +424,6 @@ lean_object* l_Lean_getPPUnicode___boxed(lean_object*); lean_object* l_Lean_getPPUnicode___closed__1; 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_Delaborator_delabLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2; lean_object* l_Lean_Delaborator_delabOrM___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabBOr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); @@ -627,6 +626,7 @@ lean_object* l___private_Lean_Delaborator_2__unresolveUsingNamespace___boxed(lea lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__4; lean_object* l___regBuiltin_Lean_Delaborator_delabGE___closed__1; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Delaborator_delabForall___spec__2___closed__3; +extern lean_object* l___private_Lean_Elab_Term_5__tryCoe___closed__4; lean_object* l_Lean_Delaborator_delabGE___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_Delaborator_delabNot___lambda__1___closed__3; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__26; @@ -980,7 +980,6 @@ lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__11; lean_object* l_Lean_Delaborator_delabProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Delaborator_getParamKinds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_withAppFnArgs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Term_12__isExplicit___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabAndThen___closed__1; extern lean_object* l_Lean_Expr_ctorName___closed__11; lean_object* l___regBuiltin_Lean_Delaborator_delabMap___closed__2; @@ -1016,6 +1015,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabMap___closed__4; lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Delaborator_DelabM_monadQuotation___spec__1___rarg___boxed(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__1; lean_object* l_Lean_Delaborator_delabSub___closed__1; lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_Delaborator_delabMapRev___lambda__1___closed__4; @@ -1037,11 +1037,11 @@ uint8_t l_Lean_getPPAll(lean_object*); lean_object* l_Lean_Delaborator_getExprKind___closed__3; lean_object* l_Lean_Delaborator_delabFComp___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabOfNat___lambda__1___boxed(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; lean_object* l_Lean_Delaborator_delabAndThen___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_Delaborator_delabLetE___closed__9; lean_object* l_Lean_Delaborator_delabConst___closed__7; lean_object* l_Lean_Delaborator_delabPow___lambda__1___boxed(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_12__isExplicit___closed__2; lean_object* l_Lean_Delaborator_delabMVar___closed__4; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_Delaborator_DelabM_inhabited___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1907,7 +1907,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_sanitizeNamesOption___closed__2; -x_2 = l___private_Lean_Elab_Term_12__isExplicit___closed__1; +x_2 = l___private_Lean_Elab_Term_14__isExplicit___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -11190,7 +11190,7 @@ else 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_18 = l_Lean_Delaborator_delabAppExplicit___lambda__1___closed__2; x_19 = lean_array_push(x_18, x_8); -x_20 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +x_20 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_21 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_19); @@ -13458,7 +13458,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1; +x_2 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -13490,7 +13490,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2; +x_2 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -19504,7 +19504,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_Lean_Elab_Term_tryCoe___closed__4; +x_2 = l___private_Lean_Elab_Term_5__tryCoe___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 0468d7205f..ae170fdb91 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -134,7 +134,7 @@ extern lean_object* l_Lean_mkAppStx___closed__8; lean_object* l___private_Lean_Elab_App_18__addLValArg___main___closed__4; extern lean_object* l_Lean_mkAppStx___closed__7; 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_Lean_Elab_Term_ensureHasType(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_18__addLValArg___main___closed__9; lean_object* l___private_Lean_Elab_App_13__resolveLValAux___closed__1; lean_object* l___private_Lean_Elab_App_3__tryCoeFun___closed__6; @@ -165,7 +165,7 @@ lean_object* l___private_Lean_Elab_App_15__resolveLValLoop___main(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___private_Lean_Elab_App_10__elabAppArgs___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_App_10__elabAppArgs___closed__9; -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* 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_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_21__elabAppFnId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2(lean_object*, lean_object*); @@ -217,6 +217,7 @@ lean_object* l___private_Lean_Elab_App_10__elabAppArgs___closed__4; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_21__elabAppFnId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Arg_hasToString(lean_object*); extern lean_object* l_Std_PersistentArray_Stats_toString___closed__4; +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___regBuiltin_Lean_Elab_Term_elabExplicitUniv___closed__1; lean_object* l___private_Lean_Elab_App_3__tryCoeFun___closed__3; @@ -257,6 +258,7 @@ lean_object* l___private_Lean_Elab_App_22__elabAppFn___main___closed__9; lean_object* l___private_Lean_Meta_WHNF_12__whnfEasyCases___main___at___private_Lean_Meta_WHNF_17__whnfCoreImp___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); lean_object* l_Lean_Elab_Term_elabChoice(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_9__elabAppArgsAux___main___closed__4; @@ -299,7 +301,6 @@ lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___ lean_object* l___private_Lean_Elab_App_3__tryCoeFun___closed__4; lean_object* l___private_Lean_Elab_App_17__mkBaseProjections___closed__3; lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_25__toMessageData___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__3; lean_object* l_Lean_Elab_setMacroStackOption(lean_object*, uint8_t); lean_object* l___private_Lean_Elab_App_25__toMessageData___closed__1; @@ -319,7 +320,6 @@ lean_object* l___private_Lean_Elab_App_13__resolveLValAux___closed__16; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; lean_object* l___private_Lean_Elab_App_3__tryCoeFun___closed__2; lean_object* l___private_Lean_Elab_App_27__mergeFailures___rarg(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_Term_19__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_Lean_getParentStructures(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; extern lean_object* l_Lean_Elab_postponeExceptionId; @@ -361,7 +361,6 @@ lean_object* l___private_Lean_Elab_App_13__resolveLValAux(lean_object*, lean_obj extern lean_object* l_Lean_mkHole___closed__1; lean_object* l___private_Lean_Elab_App_15__resolveLValLoop___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_elabExplicitUniv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabExplicitUnivs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos(lean_object*); @@ -402,6 +401,7 @@ extern lean_object* l_Lean_MessageData_arrayExpr_toMessageData___main___closed__ uint8_t l___private_Lean_Elab_App_23__isSuccess(lean_object*); lean_object* l___private_Lean_Elab_App_12__findMethod_x3f___main(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkHole___closed__2; +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_App_27__mergeFailures___rarg___closed__3; lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -419,11 +419,11 @@ lean_object* l___private_Lean_Elab_App_18__addLValArg___main___closed__3; extern lean_object* l_Lean_Expr_ctorName___closed__11; lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_13__resolveLValAux___closed__26; -lean_object* l___private_Lean_Elab_Term_19__elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Nat_Inhabited; extern lean_object* l_System_FilePath_dirName___closed__1; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l___private_Lean_Elab_Term_21__elabTermAux___main(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_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_18__addLValArg___main___closed__5; lean_object* l_Lean_Elab_Term_applyResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -434,9 +434,9 @@ lean_object* l_List_map___main___at___private_Lean_Elab_App_22__elabAppFn___main lean_object* l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; lean_object* l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; uint8_t l_Lean_isStructureLike(lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Term_14__isExplicit___closed__2; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__4; lean_object* l_Lean_Elab_Term_expandApp___closed__2; -extern lean_object* l___private_Lean_Elab_Term_12__isExplicit___closed__2; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent___closed__1; @@ -446,7 +446,7 @@ lean_object* l___private_Lean_Elab_App_12__findMethod_x3f(lean_object*, lean_obj lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_10__elabAppArgs___closed__5; lean_object* l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -lean_object* l_Lean_Elab_Term_ensureHasTypeAux(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_ensureHasTypeAux(lean_object*, 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_14__consumeImplicits(lean_object*, 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_findField_x3f___main(lean_object*, lean_object*, lean_object*); @@ -921,7 +921,7 @@ lean_inc(x_2); x_11 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +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_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -931,12 +931,13 @@ x_14 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_14, 0, x_3); x_15 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_15, 0, x_1); -x_16 = l_Lean_Elab_Term_ensureHasTypeAux(x_14, x_12, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -return x_16; +x_16 = lean_box(0); +x_17 = l_Lean_Elab_Term_ensureHasTypeAux(x_14, x_12, x_2, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_17; } else { -uint8_t x_17; +uint8_t x_18; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -945,23 +946,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_17 = !lean_is_exclusive(x_11); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_11); +if (x_18 == 0) { return x_11; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_11, 0); -x_19 = lean_ctor_get(x_11, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_11, 0); +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); lean_dec(x_11); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; +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; } } } @@ -3406,7 +3407,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_3); -x_60 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_60 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_60) == 0) { lean_object* x_61; lean_object* x_62; lean_object* x_63; @@ -6208,7 +6209,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_74 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_61, x_4, x_5, x_6, x_7, x_8, x_9, x_71); +x_74 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_61, x_4, x_5, x_6, x_7, x_8, x_9, x_71); if (lean_obj_tag(x_74) == 0) { lean_object* x_75; @@ -6716,7 +6717,7 @@ lean_inc(x_739); lean_inc(x_7); lean_inc(x_6); lean_inc(x_3); -x_771 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_3, x_4, x_5, x_6, x_7, x_739, x_9, x_10); +x_771 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_3, x_4, x_5, x_6, x_7, x_739, x_9, x_10); if (lean_obj_tag(x_771) == 0) { lean_object* x_772; lean_object* x_773; lean_object* x_774; @@ -8418,7 +8419,7 @@ lean_inc(x_9); lean_inc(x_739); lean_inc(x_7); lean_inc(x_6); -x_785 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_772, x_4, x_5, x_6, x_7, x_739, x_9, x_782); +x_785 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_772, x_4, x_5, x_6, x_7, x_739, x_9, x_782); if (lean_obj_tag(x_785) == 0) { lean_object* x_786; @@ -11584,7 +11585,7 @@ else { lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_1, x_2); -x_15 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_15 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__1(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -14465,90 +14466,91 @@ goto _start; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; x_68 = lean_ctor_get(x_52, 0); lean_inc(x_68); x_69 = lean_ctor_get(x_52, 1); lean_inc(x_69); lean_dec(x_52); +x_70 = lean_box(0); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); lean_inc(x_4); -x_70 = l_Lean_Elab_Term_ensureHasType(x_4, x_68, x_9, x_10, x_11, x_12, x_13, x_14, x_69); -if (lean_obj_tag(x_70) == 0) +x_71 = l_Lean_Elab_Term_ensureHasType(x_4, x_68, x_70, x_9, x_10, x_11, x_12, x_13, x_14, x_69); +if (lean_obj_tag(x_71) == 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; +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; lean_dec(x_26); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_72); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_73); +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_dec(x_73); -x_76 = l_Lean_Elab_Term_SavedState_restore(x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_75); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l_Lean_Elab_Term_SavedState_restore(x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_76); +x_78 = !lean_is_exclusive(x_77); +if (x_78 == 0) { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_76, 1); -x_79 = lean_ctor_get(x_76, 0); -lean_dec(x_79); -lean_ctor_set(x_76, 1, x_74); -lean_ctor_set(x_76, 0, x_71); -x_80 = lean_array_push(x_7, x_76); -x_7 = x_80; +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_77, 1); +x_80 = lean_ctor_get(x_77, 0); +lean_dec(x_80); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 0, x_72); +x_81 = lean_array_push(x_7, x_77); +x_7 = x_81; x_8 = x_18; -x_15 = x_78; +x_15 = x_79; goto _start; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_76, 1); -lean_inc(x_82); -lean_dec(x_76); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_71); -lean_ctor_set(x_83, 1, x_74); -x_84 = lean_array_push(x_7, x_83); -x_7 = x_84; +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_77, 1); +lean_inc(x_83); +lean_dec(x_77); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_72); +lean_ctor_set(x_84, 1, x_75); +x_85 = lean_array_push(x_7, x_84); +x_7 = x_85; x_8 = x_18; -x_15 = x_82; +x_15 = x_83; goto _start; } } else { -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_70, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_70, 1); +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_71, 0); lean_inc(x_87); -lean_dec(x_70); -x_27 = x_86; -x_28 = x_87; +x_88 = lean_ctor_get(x_71, 1); +lean_inc(x_88); +lean_dec(x_71); +x_27 = x_87; +x_28 = x_88; goto block_51; } } } else { -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_52, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_52, 1); +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_52, 0); lean_inc(x_89); +x_90 = lean_ctor_get(x_52, 1); +lean_inc(x_90); lean_dec(x_52); -x_27 = x_88; -x_28 = x_89; +x_27 = x_89; +x_28 = x_90; goto block_51; } block_51: @@ -14779,90 +14781,91 @@ goto _start; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; x_68 = lean_ctor_get(x_52, 0); lean_inc(x_68); x_69 = lean_ctor_get(x_52, 1); lean_inc(x_69); lean_dec(x_52); +x_70 = lean_box(0); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); lean_inc(x_4); -x_70 = l_Lean_Elab_Term_ensureHasType(x_4, x_68, x_9, x_10, x_11, x_12, x_13, x_14, x_69); -if (lean_obj_tag(x_70) == 0) +x_71 = l_Lean_Elab_Term_ensureHasType(x_4, x_68, x_70, x_9, x_10, x_11, x_12, x_13, x_14, x_69); +if (lean_obj_tag(x_71) == 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; +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; lean_dec(x_26); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_72); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_73); +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_dec(x_73); -x_76 = l_Lean_Elab_Term_SavedState_restore(x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_75); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l_Lean_Elab_Term_SavedState_restore(x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_76); +x_78 = !lean_is_exclusive(x_77); +if (x_78 == 0) { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_76, 1); -x_79 = lean_ctor_get(x_76, 0); -lean_dec(x_79); -lean_ctor_set(x_76, 1, x_74); -lean_ctor_set(x_76, 0, x_71); -x_80 = lean_array_push(x_7, x_76); -x_7 = x_80; +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_77, 1); +x_80 = lean_ctor_get(x_77, 0); +lean_dec(x_80); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 0, x_72); +x_81 = lean_array_push(x_7, x_77); +x_7 = x_81; x_8 = x_18; -x_15 = x_78; +x_15 = x_79; goto _start; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_76, 1); -lean_inc(x_82); -lean_dec(x_76); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_71); -lean_ctor_set(x_83, 1, x_74); -x_84 = lean_array_push(x_7, x_83); -x_7 = x_84; +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_77, 1); +lean_inc(x_83); +lean_dec(x_77); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_72); +lean_ctor_set(x_84, 1, x_75); +x_85 = lean_array_push(x_7, x_84); +x_7 = x_85; x_8 = x_18; -x_15 = x_82; +x_15 = x_83; goto _start; } } else { -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_70, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_70, 1); +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_71, 0); lean_inc(x_87); -lean_dec(x_70); -x_27 = x_86; -x_28 = x_87; +x_88 = lean_ctor_get(x_71, 1); +lean_inc(x_88); +lean_dec(x_71); +x_27 = x_87; +x_28 = x_88; goto block_51; } } } else { -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_52, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_52, 1); +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_52, 0); lean_inc(x_89); +x_90 = lean_ctor_get(x_52, 1); +lean_inc(x_90); lean_dec(x_52); -x_27 = x_88; -x_28 = x_89; +x_27 = x_89; +x_28 = x_90; goto block_51; } block_51: @@ -15529,146 +15532,146 @@ return x_3; lean_object* l___private_Lean_Elab_App_22__elabAppFn___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_16; lean_object* x_381; lean_object* x_382; uint8_t x_383; +uint8_t x_16; lean_object* x_382; lean_object* x_383; uint8_t x_384; lean_inc(x_1); -x_381 = l_Lean_Syntax_getKind(x_1); -x_382 = l_Lean_choiceKind; -x_383 = lean_name_eq(x_381, x_382); -lean_dec(x_381); -if (x_383 == 0) -{ -uint8_t x_384; uint8_t x_1180; lean_object* x_1594; uint8_t x_1595; -x_1594 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__13; -lean_inc(x_1); -x_1595 = l_Lean_Syntax_isOfKind(x_1, x_1594); -if (x_1595 == 0) -{ -uint8_t x_1596; -x_1596 = 0; -x_1180 = x_1596; -goto block_1593; -} -else -{ -lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; uint8_t x_1600; -x_1597 = l_Lean_Syntax_getArgs(x_1); -x_1598 = lean_array_get_size(x_1597); -lean_dec(x_1597); -x_1599 = lean_unsigned_to_nat(3u); -x_1600 = lean_nat_dec_eq(x_1598, x_1599); -lean_dec(x_1598); -x_1180 = x_1600; -goto block_1593; -} -block_1179: -{ +x_382 = l_Lean_Syntax_getKind(x_1); +x_383 = l_Lean_choiceKind; +x_384 = lean_name_eq(x_382, x_383); +lean_dec(x_382); if (x_384 == 0) { -lean_object* x_385; uint8_t x_386; -x_385 = l_Lean_identKind___closed__2; +uint8_t x_385; uint8_t x_1183; lean_object* x_1598; uint8_t x_1599; +x_1598 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__13; lean_inc(x_1); -x_386 = l_Lean_Syntax_isOfKind(x_1, x_385); -if (x_386 == 0) +x_1599 = l_Lean_Syntax_isOfKind(x_1, x_1598); +if (x_1599 == 0) { -uint8_t x_387; uint8_t x_417; lean_object* x_803; uint8_t x_804; -x_803 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__5; -lean_inc(x_1); -x_804 = l_Lean_Syntax_isOfKind(x_1, x_803); -if (x_804 == 0) -{ -uint8_t x_805; -x_805 = 0; -x_417 = x_805; -goto block_802; +uint8_t x_1600; +x_1600 = 0; +x_1183 = x_1600; +goto block_1597; } else { -lean_object* x_806; lean_object* x_807; lean_object* x_808; uint8_t x_809; -x_806 = l_Lean_Syntax_getArgs(x_1); -x_807 = lean_array_get_size(x_806); -lean_dec(x_806); -x_808 = lean_unsigned_to_nat(4u); -x_809 = lean_nat_dec_eq(x_807, x_808); -lean_dec(x_807); -x_417 = x_809; -goto block_802; +lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; uint8_t x_1604; +x_1601 = l_Lean_Syntax_getArgs(x_1); +x_1602 = lean_array_get_size(x_1601); +lean_dec(x_1601); +x_1603 = lean_unsigned_to_nat(3u); +x_1604 = lean_nat_dec_eq(x_1602, x_1603); +lean_dec(x_1602); +x_1183 = x_1604; +goto block_1597; } -block_416: +block_1182: { +if (x_385 == 0) +{ +lean_object* x_386; uint8_t x_387; +x_386 = l_Lean_identKind___closed__2; +lean_inc(x_1); +x_387 = l_Lean_Syntax_isOfKind(x_1, x_386); if (x_387 == 0) { -lean_object* x_388; uint8_t x_389; -x_388 = l_Lean_mkHole___closed__2; +uint8_t x_388; uint8_t x_418; lean_object* x_805; uint8_t x_806; +x_805 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__5; lean_inc(x_1); -x_389 = l_Lean_Syntax_isOfKind(x_1, x_388); -if (x_389 == 0) +x_806 = l_Lean_Syntax_isOfKind(x_1, x_805); +if (x_806 == 0) { -uint8_t x_390; -x_390 = 0; -x_16 = x_390; -goto block_380; +uint8_t x_807; +x_807 = 0; +x_418 = x_807; +goto block_804; } else { -lean_object* x_391; lean_object* x_392; lean_object* x_393; uint8_t x_394; -x_391 = l_Lean_Syntax_getArgs(x_1); -x_392 = lean_array_get_size(x_391); -lean_dec(x_391); -x_393 = lean_unsigned_to_nat(1u); -x_394 = lean_nat_dec_eq(x_392, x_393); +lean_object* x_808; lean_object* x_809; lean_object* x_810; uint8_t x_811; +x_808 = l_Lean_Syntax_getArgs(x_1); +x_809 = lean_array_get_size(x_808); +lean_dec(x_808); +x_810 = lean_unsigned_to_nat(4u); +x_811 = lean_nat_dec_eq(x_809, x_810); +lean_dec(x_809); +x_418 = x_811; +goto block_804; +} +block_417: +{ +if (x_388 == 0) +{ +lean_object* x_389; uint8_t x_390; +x_389 = l_Lean_mkHole___closed__2; +lean_inc(x_1); +x_390 = l_Lean_Syntax_isOfKind(x_1, x_389); +if (x_390 == 0) +{ +uint8_t x_391; +x_391 = 0; +x_16 = x_391; +goto block_381; +} +else +{ +lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_395; +x_392 = l_Lean_Syntax_getArgs(x_1); +x_393 = lean_array_get_size(x_392); lean_dec(x_392); -x_16 = x_394; -goto block_380; +x_394 = lean_unsigned_to_nat(1u); +x_395 = lean_nat_dec_eq(x_393, x_394); +lean_dec(x_393); +x_16 = x_395; +goto block_381; } } else { -lean_object* x_395; lean_object* x_396; uint8_t x_397; uint8_t x_406; -x_395 = lean_unsigned_to_nat(1u); -x_396 = l_Lean_Syntax_getArg(x_1, x_395); +lean_object* x_396; lean_object* x_397; uint8_t x_398; uint8_t x_407; +x_396 = lean_unsigned_to_nat(1u); +x_397 = l_Lean_Syntax_getArg(x_1, x_396); lean_dec(x_1); -lean_inc(x_396); -x_406 = l_Lean_Syntax_isOfKind(x_396, x_385); -if (x_406 == 0) +lean_inc(x_397); +x_407 = l_Lean_Syntax_isOfKind(x_397, x_386); +if (x_407 == 0) { -lean_object* x_407; uint8_t x_408; -x_407 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__5; -lean_inc(x_396); -x_408 = l_Lean_Syntax_isOfKind(x_396, x_407); -if (x_408 == 0) +lean_object* x_408; uint8_t x_409; +x_408 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__5; +lean_inc(x_397); +x_409 = l_Lean_Syntax_isOfKind(x_397, x_408); +if (x_409 == 0) { -uint8_t x_409; -x_409 = 0; -x_397 = x_409; -goto block_405; +uint8_t x_410; +x_410 = 0; +x_398 = x_410; +goto block_406; } else { -lean_object* x_410; lean_object* x_411; lean_object* x_412; uint8_t x_413; -x_410 = l_Lean_Syntax_getArgs(x_396); -x_411 = lean_array_get_size(x_410); -lean_dec(x_410); -x_412 = lean_unsigned_to_nat(4u); -x_413 = lean_nat_dec_eq(x_411, x_412); +lean_object* x_411; lean_object* x_412; lean_object* x_413; uint8_t x_414; +x_411 = l_Lean_Syntax_getArgs(x_397); +x_412 = lean_array_get_size(x_411); lean_dec(x_411); -x_397 = x_413; -goto block_405; +x_413 = lean_unsigned_to_nat(4u); +x_414 = lean_nat_dec_eq(x_412, x_413); +lean_dec(x_412); +x_398 = x_414; +goto block_406; } } else { -uint8_t x_414; -x_414 = 1; -x_1 = x_396; -x_6 = x_414; +uint8_t x_415; +x_415 = 1; +x_1 = x_397; +x_6 = x_415; goto _start; } -block_405: +block_406: { -if (x_397 == 0) +if (x_398 == 0) { -lean_object* x_398; -lean_dec(x_396); +lean_object* x_399; +lean_dec(x_397); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -15680,19 +15683,19 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_398 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_21__elabAppFnId___spec__1___rarg(x_15); -return x_398; +x_399 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_21__elabAppFnId___spec__1___rarg(x_15); +return x_399; } else { -lean_object* x_399; lean_object* x_400; uint8_t x_401; -x_399 = lean_unsigned_to_nat(0u); -x_400 = l_Lean_Syntax_getArg(x_396, x_399); -x_401 = l_Lean_Syntax_isOfKind(x_400, x_385); -if (x_401 == 0) +lean_object* x_400; lean_object* x_401; uint8_t x_402; +x_400 = lean_unsigned_to_nat(0u); +x_401 = l_Lean_Syntax_getArg(x_397, x_400); +x_402 = l_Lean_Syntax_isOfKind(x_401, x_386); +if (x_402 == 0) { -lean_object* x_402; -lean_dec(x_396); +lean_object* x_403; +lean_dec(x_397); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -15704,93 +15707,93 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_402 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_21__elabAppFnId___spec__1___rarg(x_15); -return x_402; +x_403 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_21__elabAppFnId___spec__1___rarg(x_15); +return x_403; } else { -uint8_t x_403; -x_403 = 1; -x_1 = x_396; -x_6 = x_403; +uint8_t x_404; +x_404 = 1; +x_1 = x_397; +x_6 = x_404; goto _start; } } } } } -block_802: +block_804: { -if (x_417 == 0) +if (x_418 == 0) { -lean_object* x_418; uint8_t x_419; -x_418 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +lean_object* x_419; uint8_t x_420; +x_419 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; lean_inc(x_1); -x_419 = l_Lean_Syntax_isOfKind(x_1, x_418); -if (x_419 == 0) +x_420 = l_Lean_Syntax_isOfKind(x_1, x_419); +if (x_420 == 0) { -uint8_t x_420; -x_420 = 0; -x_387 = x_420; -goto block_416; +uint8_t x_421; +x_421 = 0; +x_388 = x_421; +goto block_417; } else { -lean_object* x_421; lean_object* x_422; lean_object* x_423; uint8_t x_424; -x_421 = l_Lean_Syntax_getArgs(x_1); -x_422 = lean_array_get_size(x_421); -lean_dec(x_421); -x_423 = lean_unsigned_to_nat(2u); -x_424 = lean_nat_dec_eq(x_422, x_423); +lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; +x_422 = l_Lean_Syntax_getArgs(x_1); +x_423 = lean_array_get_size(x_422); lean_dec(x_422); -x_387 = x_424; -goto block_416; +x_424 = lean_unsigned_to_nat(2u); +x_425 = lean_nat_dec_eq(x_423, x_424); +lean_dec(x_423); +x_388 = x_425; +goto block_417; } } else { -lean_object* x_425; lean_object* x_426; uint8_t x_427; -x_425 = lean_unsigned_to_nat(0u); -x_426 = l_Lean_Syntax_getArg(x_1, x_425); -lean_inc(x_426); -x_427 = l_Lean_Syntax_isOfKind(x_426, x_385); -if (x_427 == 0) -{ -uint8_t x_428; uint8_t x_429; -lean_dec(x_426); -x_428 = l_List_isEmpty___rarg(x_2); -if (x_7 == 0) -{ -uint8_t x_787; -x_787 = 1; -x_429 = x_787; -goto block_786; -} -else -{ -uint8_t x_788; -x_788 = 0; -x_429 = x_788; -goto block_786; -} -block_786: -{ +lean_object* x_426; lean_object* x_427; uint8_t x_428; +x_426 = lean_unsigned_to_nat(0u); +x_427 = l_Lean_Syntax_getArg(x_1, x_426); +lean_inc(x_427); +x_428 = l_Lean_Syntax_isOfKind(x_427, x_386); if (x_428 == 0) { -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_467; lean_object* x_468; lean_object* x_490; -x_430 = lean_box(0); -x_431 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_432 = lean_ctor_get(x_431, 0); -lean_inc(x_432); -x_433 = lean_ctor_get(x_431, 1); +uint8_t x_429; uint8_t x_430; +lean_dec(x_427); +x_429 = l_List_isEmpty___rarg(x_2); +if (x_7 == 0) +{ +uint8_t x_789; +x_789 = 1; +x_430 = x_789; +goto block_788; +} +else +{ +uint8_t x_790; +x_790 = 0; +x_430 = x_790; +goto block_788; +} +block_788: +{ +if (x_429 == 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_468; lean_object* x_469; lean_object* x_491; +x_431 = lean_box(0); +x_432 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_433 = lean_ctor_get(x_432, 0); lean_inc(x_433); -if (lean_is_exclusive(x_431)) { - lean_ctor_release(x_431, 0); - lean_ctor_release(x_431, 1); - x_434 = x_431; +x_434 = lean_ctor_get(x_432, 1); +lean_inc(x_434); +if (lean_is_exclusive(x_432)) { + lean_ctor_release(x_432, 0); + lean_ctor_release(x_432, 1); + x_435 = x_432; } else { - lean_dec_ref(x_431); - x_434 = lean_box(0); + lean_dec_ref(x_432); + x_435 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -15798,15 +15801,15 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_490 = l_Lean_Elab_Term_elabTerm(x_1, x_430, x_429, x_9, x_10, x_11, x_12, x_13, x_14, x_433); -if (lean_obj_tag(x_490) == 0) +x_491 = l_Lean_Elab_Term_elabTerm(x_1, x_431, x_430, x_9, x_10, x_11, x_12, x_13, x_14, x_434); +if (lean_obj_tag(x_491) == 0) { -lean_object* x_491; lean_object* x_492; lean_object* x_493; -x_491 = lean_ctor_get(x_490, 0); -lean_inc(x_491); -x_492 = lean_ctor_get(x_490, 1); +lean_object* x_492; lean_object* x_493; lean_object* x_494; +x_492 = lean_ctor_get(x_491, 0); lean_inc(x_492); -lean_dec(x_490); +x_493 = lean_ctor_get(x_491, 1); +lean_inc(x_493); +lean_dec(x_491); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -15814,354 +15817,354 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); -x_493 = l___private_Lean_Elab_App_20__elabAppLVals(x_491, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_492); -if (lean_obj_tag(x_493) == 0) +x_494 = l___private_Lean_Elab_App_20__elabAppLVals(x_492, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_493); +if (lean_obj_tag(x_494) == 0) { if (x_7 == 0) { -lean_object* x_494; lean_object* x_495; -lean_dec(x_434); +lean_object* x_495; lean_object* x_496; +lean_dec(x_435); lean_dec(x_5); -x_494 = lean_ctor_get(x_493, 0); -lean_inc(x_494); -x_495 = lean_ctor_get(x_493, 1); +x_495 = lean_ctor_get(x_494, 0); lean_inc(x_495); -lean_dec(x_493); -x_467 = x_494; +x_496 = lean_ctor_get(x_494, 1); +lean_inc(x_496); +lean_dec(x_494); x_468 = x_495; -goto block_489; +x_469 = x_496; +goto block_490; } else { -lean_object* x_496; lean_object* x_497; lean_object* x_498; -x_496 = lean_ctor_get(x_493, 0); -lean_inc(x_496); -x_497 = lean_ctor_get(x_493, 1); +lean_object* x_497; lean_object* x_498; lean_object* x_499; +x_497 = lean_ctor_get(x_494, 0); lean_inc(x_497); -lean_dec(x_493); +x_498 = lean_ctor_get(x_494, 1); +lean_inc(x_498); +lean_dec(x_494); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_498 = l_Lean_Elab_Term_ensureHasType(x_5, x_496, x_9, x_10, x_11, x_12, x_13, x_14, x_497); -if (lean_obj_tag(x_498) == 0) +x_499 = l_Lean_Elab_Term_ensureHasType(x_5, x_497, x_431, x_9, x_10, x_11, x_12, x_13, x_14, x_498); +if (lean_obj_tag(x_499) == 0) { -lean_object* x_499; lean_object* x_500; -lean_dec(x_434); -x_499 = lean_ctor_get(x_498, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_498, 1); +lean_object* x_500; lean_object* x_501; +lean_dec(x_435); +x_500 = lean_ctor_get(x_499, 0); lean_inc(x_500); -lean_dec(x_498); -x_467 = x_499; -x_468 = x_500; -goto block_489; -} -else -{ -lean_object* x_501; lean_object* x_502; -x_501 = lean_ctor_get(x_498, 0); +x_501 = lean_ctor_get(x_499, 1); lean_inc(x_501); -x_502 = lean_ctor_get(x_498, 1); +lean_dec(x_499); +x_468 = x_500; +x_469 = x_501; +goto block_490; +} +else +{ +lean_object* x_502; lean_object* x_503; +x_502 = lean_ctor_get(x_499, 0); lean_inc(x_502); -lean_dec(x_498); -x_435 = x_501; -x_436 = x_502; -goto block_466; -} -} -} -else -{ -lean_object* x_503; lean_object* x_504; -lean_dec(x_5); -x_503 = lean_ctor_get(x_493, 0); +x_503 = lean_ctor_get(x_499, 1); lean_inc(x_503); -x_504 = lean_ctor_get(x_493, 1); -lean_inc(x_504); -lean_dec(x_493); -x_435 = x_503; -x_436 = x_504; -goto block_466; +lean_dec(x_499); +x_436 = x_502; +x_437 = x_503; +goto block_467; +} } } else { -lean_object* x_505; lean_object* x_506; +lean_object* x_504; lean_object* x_505; +lean_dec(x_5); +x_504 = lean_ctor_get(x_494, 0); +lean_inc(x_504); +x_505 = lean_ctor_get(x_494, 1); +lean_inc(x_505); +lean_dec(x_494); +x_436 = x_504; +x_437 = x_505; +goto block_467; +} +} +else +{ +lean_object* x_506; lean_object* x_507; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_505 = lean_ctor_get(x_490, 0); -lean_inc(x_505); -x_506 = lean_ctor_get(x_490, 1); +x_506 = lean_ctor_get(x_491, 0); lean_inc(x_506); -lean_dec(x_490); -x_435 = x_505; +x_507 = lean_ctor_get(x_491, 1); +lean_inc(x_507); +lean_dec(x_491); x_436 = x_506; -goto block_466; +x_437 = x_507; +goto block_467; } -block_466: +block_467: { -if (lean_obj_tag(x_435) == 0) +if (lean_obj_tag(x_436) == 0) { -lean_object* x_437; uint8_t x_438; -lean_dec(x_434); -x_437 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_436); -x_438 = !lean_is_exclusive(x_437); -if (x_438 == 0) +lean_object* x_438; uint8_t x_439; +lean_dec(x_435); +x_438 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_437); +x_439 = !lean_is_exclusive(x_438); +if (x_439 == 0) { -lean_object* x_439; lean_object* x_440; lean_object* x_441; uint8_t x_442; -x_439 = lean_ctor_get(x_437, 0); -x_440 = lean_ctor_get(x_437, 1); -x_441 = l_Lean_Elab_Term_SavedState_restore(x_432, x_9, x_10, x_11, x_12, x_13, x_14, x_440); +lean_object* x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; +x_440 = lean_ctor_get(x_438, 0); +x_441 = lean_ctor_get(x_438, 1); +x_442 = l_Lean_Elab_Term_SavedState_restore(x_433, x_9, x_10, x_11, x_12, x_13, x_14, x_441); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_442 = !lean_is_exclusive(x_441); -if (x_442 == 0) +x_443 = !lean_is_exclusive(x_442); +if (x_443 == 0) { -lean_object* x_443; lean_object* x_444; lean_object* x_445; -x_443 = lean_ctor_get(x_441, 1); -x_444 = lean_ctor_get(x_441, 0); -lean_dec(x_444); -lean_ctor_set_tag(x_441, 1); -lean_ctor_set(x_441, 1, x_439); -lean_ctor_set(x_441, 0, x_435); -x_445 = lean_array_push(x_8, x_441); -lean_ctor_set(x_437, 1, x_443); -lean_ctor_set(x_437, 0, x_445); -return x_437; +lean_object* x_444; lean_object* x_445; lean_object* x_446; +x_444 = lean_ctor_get(x_442, 1); +x_445 = lean_ctor_get(x_442, 0); +lean_dec(x_445); +lean_ctor_set_tag(x_442, 1); +lean_ctor_set(x_442, 1, x_440); +lean_ctor_set(x_442, 0, x_436); +x_446 = lean_array_push(x_8, x_442); +lean_ctor_set(x_438, 1, x_444); +lean_ctor_set(x_438, 0, x_446); +return x_438; } else { -lean_object* x_446; lean_object* x_447; lean_object* x_448; -x_446 = lean_ctor_get(x_441, 1); -lean_inc(x_446); -lean_dec(x_441); -x_447 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_447, 0, x_435); -lean_ctor_set(x_447, 1, x_439); -x_448 = lean_array_push(x_8, x_447); -lean_ctor_set(x_437, 1, x_446); -lean_ctor_set(x_437, 0, x_448); -return x_437; +lean_object* x_447; lean_object* x_448; lean_object* x_449; +x_447 = lean_ctor_get(x_442, 1); +lean_inc(x_447); +lean_dec(x_442); +x_448 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_448, 0, x_436); +lean_ctor_set(x_448, 1, x_440); +x_449 = lean_array_push(x_8, x_448); +lean_ctor_set(x_438, 1, x_447); +lean_ctor_set(x_438, 0, x_449); +return x_438; } } else { -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; -x_449 = lean_ctor_get(x_437, 0); -x_450 = lean_ctor_get(x_437, 1); +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; +x_450 = lean_ctor_get(x_438, 0); +x_451 = lean_ctor_get(x_438, 1); +lean_inc(x_451); lean_inc(x_450); -lean_inc(x_449); -lean_dec(x_437); -x_451 = l_Lean_Elab_Term_SavedState_restore(x_432, x_9, x_10, x_11, x_12, x_13, x_14, x_450); +lean_dec(x_438); +x_452 = l_Lean_Elab_Term_SavedState_restore(x_433, x_9, x_10, x_11, x_12, x_13, x_14, x_451); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_452 = lean_ctor_get(x_451, 1); -lean_inc(x_452); -if (lean_is_exclusive(x_451)) { - lean_ctor_release(x_451, 0); - lean_ctor_release(x_451, 1); - x_453 = x_451; +x_453 = lean_ctor_get(x_452, 1); +lean_inc(x_453); +if (lean_is_exclusive(x_452)) { + lean_ctor_release(x_452, 0); + lean_ctor_release(x_452, 1); + x_454 = x_452; } else { - lean_dec_ref(x_451); - x_453 = lean_box(0); + lean_dec_ref(x_452); + x_454 = lean_box(0); } -if (lean_is_scalar(x_453)) { - x_454 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_454)) { + x_455 = lean_alloc_ctor(1, 2, 0); } else { - x_454 = x_453; - lean_ctor_set_tag(x_454, 1); + x_455 = x_454; + lean_ctor_set_tag(x_455, 1); } -lean_ctor_set(x_454, 0, x_435); -lean_ctor_set(x_454, 1, x_449); -x_455 = lean_array_push(x_8, x_454); -x_456 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_456, 0, x_455); -lean_ctor_set(x_456, 1, x_452); -return x_456; +lean_ctor_set(x_455, 0, x_436); +lean_ctor_set(x_455, 1, x_450); +x_456 = lean_array_push(x_8, x_455); +x_457 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_457, 0, x_456); +lean_ctor_set(x_457, 1, x_453); +return x_457; } } else { -lean_object* x_457; lean_object* x_458; uint8_t x_459; +lean_object* x_458; lean_object* x_459; uint8_t x_460; lean_dec(x_8); -x_457 = lean_ctor_get(x_435, 0); -lean_inc(x_457); -x_458 = l_Lean_Elab_postponeExceptionId; -x_459 = lean_nat_dec_eq(x_457, x_458); -lean_dec(x_457); -if (x_459 == 0) +x_458 = lean_ctor_get(x_436, 0); +lean_inc(x_458); +x_459 = l_Lean_Elab_postponeExceptionId; +x_460 = lean_nat_dec_eq(x_458, x_459); +lean_dec(x_458); +if (x_460 == 0) { -lean_object* x_460; -lean_dec(x_432); +lean_object* x_461; +lean_dec(x_433); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -if (lean_is_scalar(x_434)) { - x_460 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_435)) { + x_461 = lean_alloc_ctor(1, 2, 0); } else { - x_460 = x_434; - lean_ctor_set_tag(x_460, 1); + x_461 = x_435; + lean_ctor_set_tag(x_461, 1); } -lean_ctor_set(x_460, 0, x_435); -lean_ctor_set(x_460, 1, x_436); -return x_460; -} -else -{ -lean_object* x_461; uint8_t x_462; -lean_dec(x_434); -x_461 = l_Lean_Elab_Term_SavedState_restore(x_432, x_9, x_10, x_11, x_12, x_13, x_14, x_436); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_462 = !lean_is_exclusive(x_461); -if (x_462 == 0) -{ -lean_object* x_463; -x_463 = lean_ctor_get(x_461, 0); -lean_dec(x_463); -lean_ctor_set_tag(x_461, 1); -lean_ctor_set(x_461, 0, x_435); +lean_ctor_set(x_461, 0, x_436); +lean_ctor_set(x_461, 1, x_437); return x_461; } else { -lean_object* x_464; lean_object* x_465; -x_464 = lean_ctor_get(x_461, 1); -lean_inc(x_464); -lean_dec(x_461); -x_465 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_465, 0, x_435); -lean_ctor_set(x_465, 1, x_464); -return x_465; -} -} -} -} -block_489: -{ -lean_object* x_469; uint8_t x_470; -x_469 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_468); -x_470 = !lean_is_exclusive(x_469); -if (x_470 == 0) -{ -lean_object* x_471; lean_object* x_472; lean_object* x_473; uint8_t x_474; -x_471 = lean_ctor_get(x_469, 0); -x_472 = lean_ctor_get(x_469, 1); -x_473 = l_Lean_Elab_Term_SavedState_restore(x_432, x_9, x_10, x_11, x_12, x_13, x_14, x_472); +lean_object* x_462; uint8_t x_463; +lean_dec(x_435); +x_462 = l_Lean_Elab_Term_SavedState_restore(x_433, x_9, x_10, x_11, x_12, x_13, x_14, x_437); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_474 = !lean_is_exclusive(x_473); -if (x_474 == 0) +x_463 = !lean_is_exclusive(x_462); +if (x_463 == 0) { -lean_object* x_475; lean_object* x_476; lean_object* x_477; -x_475 = lean_ctor_get(x_473, 1); -x_476 = lean_ctor_get(x_473, 0); -lean_dec(x_476); -lean_ctor_set(x_473, 1, x_471); -lean_ctor_set(x_473, 0, x_467); -x_477 = lean_array_push(x_8, x_473); -lean_ctor_set(x_469, 1, x_475); -lean_ctor_set(x_469, 0, x_477); -return x_469; +lean_object* x_464; +x_464 = lean_ctor_get(x_462, 0); +lean_dec(x_464); +lean_ctor_set_tag(x_462, 1); +lean_ctor_set(x_462, 0, x_436); +return x_462; } else { -lean_object* x_478; lean_object* x_479; lean_object* x_480; -x_478 = lean_ctor_get(x_473, 1); -lean_inc(x_478); -lean_dec(x_473); -x_479 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_479, 0, x_467); -lean_ctor_set(x_479, 1, x_471); -x_480 = lean_array_push(x_8, x_479); -lean_ctor_set(x_469, 1, x_478); -lean_ctor_set(x_469, 0, x_480); -return x_469; +lean_object* x_465; lean_object* x_466; +x_465 = lean_ctor_get(x_462, 1); +lean_inc(x_465); +lean_dec(x_462); +x_466 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_466, 0, x_436); +lean_ctor_set(x_466, 1, x_465); +return x_466; +} +} +} +} +block_490: +{ +lean_object* x_470; uint8_t x_471; +x_470 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_469); +x_471 = !lean_is_exclusive(x_470); +if (x_471 == 0) +{ +lean_object* x_472; lean_object* x_473; lean_object* x_474; uint8_t x_475; +x_472 = lean_ctor_get(x_470, 0); +x_473 = lean_ctor_get(x_470, 1); +x_474 = l_Lean_Elab_Term_SavedState_restore(x_433, x_9, x_10, x_11, x_12, x_13, x_14, x_473); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_475 = !lean_is_exclusive(x_474); +if (x_475 == 0) +{ +lean_object* x_476; lean_object* x_477; lean_object* x_478; +x_476 = lean_ctor_get(x_474, 1); +x_477 = lean_ctor_get(x_474, 0); +lean_dec(x_477); +lean_ctor_set(x_474, 1, x_472); +lean_ctor_set(x_474, 0, x_468); +x_478 = lean_array_push(x_8, x_474); +lean_ctor_set(x_470, 1, x_476); +lean_ctor_set(x_470, 0, x_478); +return x_470; +} +else +{ +lean_object* x_479; lean_object* x_480; lean_object* x_481; +x_479 = lean_ctor_get(x_474, 1); +lean_inc(x_479); +lean_dec(x_474); +x_480 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_480, 0, x_468); +lean_ctor_set(x_480, 1, x_472); +x_481 = lean_array_push(x_8, x_480); +lean_ctor_set(x_470, 1, x_479); +lean_ctor_set(x_470, 0, x_481); +return x_470; } } else { -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; -x_481 = lean_ctor_get(x_469, 0); -x_482 = lean_ctor_get(x_469, 1); +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; +x_482 = lean_ctor_get(x_470, 0); +x_483 = lean_ctor_get(x_470, 1); +lean_inc(x_483); lean_inc(x_482); -lean_inc(x_481); -lean_dec(x_469); -x_483 = l_Lean_Elab_Term_SavedState_restore(x_432, x_9, x_10, x_11, x_12, x_13, x_14, x_482); +lean_dec(x_470); +x_484 = l_Lean_Elab_Term_SavedState_restore(x_433, x_9, x_10, x_11, x_12, x_13, x_14, x_483); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_484 = lean_ctor_get(x_483, 1); -lean_inc(x_484); -if (lean_is_exclusive(x_483)) { - lean_ctor_release(x_483, 0); - lean_ctor_release(x_483, 1); - x_485 = x_483; +x_485 = lean_ctor_get(x_484, 1); +lean_inc(x_485); +if (lean_is_exclusive(x_484)) { + lean_ctor_release(x_484, 0); + lean_ctor_release(x_484, 1); + x_486 = x_484; } else { - lean_dec_ref(x_483); - x_485 = lean_box(0); + lean_dec_ref(x_484); + x_486 = lean_box(0); } -if (lean_is_scalar(x_485)) { - x_486 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_486)) { + x_487 = lean_alloc_ctor(0, 2, 0); } else { - x_486 = x_485; + x_487 = x_486; } -lean_ctor_set(x_486, 0, x_467); -lean_ctor_set(x_486, 1, x_481); -x_487 = lean_array_push(x_8, x_486); -x_488 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_488, 0, x_487); -lean_ctor_set(x_488, 1, x_484); -return x_488; +lean_ctor_set(x_487, 0, x_468); +lean_ctor_set(x_487, 1, x_482); +x_488 = lean_array_push(x_8, x_487); +x_489 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_489, 0, x_488); +lean_ctor_set(x_489, 1, x_485); +return x_489; } } } else { -uint8_t x_507; -x_507 = l_Array_isEmpty___rarg(x_3); -if (x_507 == 0) +uint8_t x_508; +x_508 = l_Array_isEmpty___rarg(x_3); +if (x_508 == 0) { -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_545; lean_object* x_546; lean_object* x_568; -x_508 = lean_box(0); -x_509 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_510 = lean_ctor_get(x_509, 0); -lean_inc(x_510); -x_511 = lean_ctor_get(x_509, 1); +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_546; lean_object* x_547; lean_object* x_569; +x_509 = lean_box(0); +x_510 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_511 = lean_ctor_get(x_510, 0); lean_inc(x_511); -if (lean_is_exclusive(x_509)) { - lean_ctor_release(x_509, 0); - lean_ctor_release(x_509, 1); - x_512 = x_509; +x_512 = lean_ctor_get(x_510, 1); +lean_inc(x_512); +if (lean_is_exclusive(x_510)) { + lean_ctor_release(x_510, 0); + lean_ctor_release(x_510, 1); + x_513 = x_510; } else { - lean_dec_ref(x_509); - x_512 = lean_box(0); + lean_dec_ref(x_510); + x_513 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -16169,15 +16172,15 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_568 = l_Lean_Elab_Term_elabTerm(x_1, x_508, x_429, x_9, x_10, x_11, x_12, x_13, x_14, x_511); -if (lean_obj_tag(x_568) == 0) +x_569 = l_Lean_Elab_Term_elabTerm(x_1, x_509, x_430, x_9, x_10, x_11, x_12, x_13, x_14, x_512); +if (lean_obj_tag(x_569) == 0) { -lean_object* x_569; lean_object* x_570; lean_object* x_571; -x_569 = lean_ctor_get(x_568, 0); -lean_inc(x_569); -x_570 = lean_ctor_get(x_568, 1); +lean_object* x_570; lean_object* x_571; lean_object* x_572; +x_570 = lean_ctor_get(x_569, 0); lean_inc(x_570); -lean_dec(x_568); +x_571 = lean_ctor_get(x_569, 1); +lean_inc(x_571); +lean_dec(x_569); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -16185,354 +16188,354 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); -x_571 = l___private_Lean_Elab_App_20__elabAppLVals(x_569, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_570); -if (lean_obj_tag(x_571) == 0) +x_572 = l___private_Lean_Elab_App_20__elabAppLVals(x_570, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_571); +if (lean_obj_tag(x_572) == 0) { if (x_7 == 0) { -lean_object* x_572; lean_object* x_573; -lean_dec(x_512); +lean_object* x_573; lean_object* x_574; +lean_dec(x_513); lean_dec(x_5); -x_572 = lean_ctor_get(x_571, 0); -lean_inc(x_572); -x_573 = lean_ctor_get(x_571, 1); +x_573 = lean_ctor_get(x_572, 0); lean_inc(x_573); -lean_dec(x_571); -x_545 = x_572; +x_574 = lean_ctor_get(x_572, 1); +lean_inc(x_574); +lean_dec(x_572); x_546 = x_573; -goto block_567; +x_547 = x_574; +goto block_568; } else { -lean_object* x_574; lean_object* x_575; lean_object* x_576; -x_574 = lean_ctor_get(x_571, 0); -lean_inc(x_574); -x_575 = lean_ctor_get(x_571, 1); +lean_object* x_575; lean_object* x_576; lean_object* x_577; +x_575 = lean_ctor_get(x_572, 0); lean_inc(x_575); -lean_dec(x_571); +x_576 = lean_ctor_get(x_572, 1); +lean_inc(x_576); +lean_dec(x_572); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_576 = l_Lean_Elab_Term_ensureHasType(x_5, x_574, x_9, x_10, x_11, x_12, x_13, x_14, x_575); -if (lean_obj_tag(x_576) == 0) +x_577 = l_Lean_Elab_Term_ensureHasType(x_5, x_575, x_509, x_9, x_10, x_11, x_12, x_13, x_14, x_576); +if (lean_obj_tag(x_577) == 0) { -lean_object* x_577; lean_object* x_578; -lean_dec(x_512); -x_577 = lean_ctor_get(x_576, 0); -lean_inc(x_577); -x_578 = lean_ctor_get(x_576, 1); +lean_object* x_578; lean_object* x_579; +lean_dec(x_513); +x_578 = lean_ctor_get(x_577, 0); lean_inc(x_578); -lean_dec(x_576); -x_545 = x_577; -x_546 = x_578; -goto block_567; -} -else -{ -lean_object* x_579; lean_object* x_580; -x_579 = lean_ctor_get(x_576, 0); +x_579 = lean_ctor_get(x_577, 1); lean_inc(x_579); -x_580 = lean_ctor_get(x_576, 1); +lean_dec(x_577); +x_546 = x_578; +x_547 = x_579; +goto block_568; +} +else +{ +lean_object* x_580; lean_object* x_581; +x_580 = lean_ctor_get(x_577, 0); lean_inc(x_580); -lean_dec(x_576); -x_513 = x_579; -x_514 = x_580; -goto block_544; -} -} -} -else -{ -lean_object* x_581; lean_object* x_582; -lean_dec(x_5); -x_581 = lean_ctor_get(x_571, 0); +x_581 = lean_ctor_get(x_577, 1); lean_inc(x_581); -x_582 = lean_ctor_get(x_571, 1); -lean_inc(x_582); -lean_dec(x_571); -x_513 = x_581; -x_514 = x_582; -goto block_544; +lean_dec(x_577); +x_514 = x_580; +x_515 = x_581; +goto block_545; +} } } else { -lean_object* x_583; lean_object* x_584; +lean_object* x_582; lean_object* x_583; +lean_dec(x_5); +x_582 = lean_ctor_get(x_572, 0); +lean_inc(x_582); +x_583 = lean_ctor_get(x_572, 1); +lean_inc(x_583); +lean_dec(x_572); +x_514 = x_582; +x_515 = x_583; +goto block_545; +} +} +else +{ +lean_object* x_584; lean_object* x_585; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_583 = lean_ctor_get(x_568, 0); -lean_inc(x_583); -x_584 = lean_ctor_get(x_568, 1); +x_584 = lean_ctor_get(x_569, 0); lean_inc(x_584); -lean_dec(x_568); -x_513 = x_583; +x_585 = lean_ctor_get(x_569, 1); +lean_inc(x_585); +lean_dec(x_569); x_514 = x_584; -goto block_544; +x_515 = x_585; +goto block_545; } -block_544: +block_545: { -if (lean_obj_tag(x_513) == 0) +if (lean_obj_tag(x_514) == 0) { -lean_object* x_515; uint8_t x_516; -lean_dec(x_512); -x_515 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_514); -x_516 = !lean_is_exclusive(x_515); -if (x_516 == 0) +lean_object* x_516; uint8_t x_517; +lean_dec(x_513); +x_516 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_515); +x_517 = !lean_is_exclusive(x_516); +if (x_517 == 0) { -lean_object* x_517; lean_object* x_518; lean_object* x_519; uint8_t x_520; -x_517 = lean_ctor_get(x_515, 0); -x_518 = lean_ctor_get(x_515, 1); -x_519 = l_Lean_Elab_Term_SavedState_restore(x_510, x_9, x_10, x_11, x_12, x_13, x_14, x_518); +lean_object* x_518; lean_object* x_519; lean_object* x_520; uint8_t x_521; +x_518 = lean_ctor_get(x_516, 0); +x_519 = lean_ctor_get(x_516, 1); +x_520 = l_Lean_Elab_Term_SavedState_restore(x_511, x_9, x_10, x_11, x_12, x_13, x_14, x_519); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_520 = !lean_is_exclusive(x_519); -if (x_520 == 0) +x_521 = !lean_is_exclusive(x_520); +if (x_521 == 0) { -lean_object* x_521; lean_object* x_522; lean_object* x_523; -x_521 = lean_ctor_get(x_519, 1); -x_522 = lean_ctor_get(x_519, 0); -lean_dec(x_522); -lean_ctor_set_tag(x_519, 1); -lean_ctor_set(x_519, 1, x_517); -lean_ctor_set(x_519, 0, x_513); -x_523 = lean_array_push(x_8, x_519); -lean_ctor_set(x_515, 1, x_521); -lean_ctor_set(x_515, 0, x_523); -return x_515; +lean_object* x_522; lean_object* x_523; lean_object* x_524; +x_522 = lean_ctor_get(x_520, 1); +x_523 = lean_ctor_get(x_520, 0); +lean_dec(x_523); +lean_ctor_set_tag(x_520, 1); +lean_ctor_set(x_520, 1, x_518); +lean_ctor_set(x_520, 0, x_514); +x_524 = lean_array_push(x_8, x_520); +lean_ctor_set(x_516, 1, x_522); +lean_ctor_set(x_516, 0, x_524); +return x_516; } else { -lean_object* x_524; lean_object* x_525; lean_object* x_526; -x_524 = lean_ctor_get(x_519, 1); -lean_inc(x_524); -lean_dec(x_519); -x_525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_525, 0, x_513); -lean_ctor_set(x_525, 1, x_517); -x_526 = lean_array_push(x_8, x_525); -lean_ctor_set(x_515, 1, x_524); -lean_ctor_set(x_515, 0, x_526); -return x_515; +lean_object* x_525; lean_object* x_526; lean_object* x_527; +x_525 = lean_ctor_get(x_520, 1); +lean_inc(x_525); +lean_dec(x_520); +x_526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_526, 0, x_514); +lean_ctor_set(x_526, 1, x_518); +x_527 = lean_array_push(x_8, x_526); +lean_ctor_set(x_516, 1, x_525); +lean_ctor_set(x_516, 0, x_527); +return x_516; } } else { -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; -x_527 = lean_ctor_get(x_515, 0); -x_528 = lean_ctor_get(x_515, 1); +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; +x_528 = lean_ctor_get(x_516, 0); +x_529 = lean_ctor_get(x_516, 1); +lean_inc(x_529); lean_inc(x_528); -lean_inc(x_527); -lean_dec(x_515); -x_529 = l_Lean_Elab_Term_SavedState_restore(x_510, x_9, x_10, x_11, x_12, x_13, x_14, x_528); +lean_dec(x_516); +x_530 = l_Lean_Elab_Term_SavedState_restore(x_511, x_9, x_10, x_11, x_12, x_13, x_14, x_529); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_530 = lean_ctor_get(x_529, 1); -lean_inc(x_530); -if (lean_is_exclusive(x_529)) { - lean_ctor_release(x_529, 0); - lean_ctor_release(x_529, 1); - x_531 = x_529; +x_531 = lean_ctor_get(x_530, 1); +lean_inc(x_531); +if (lean_is_exclusive(x_530)) { + lean_ctor_release(x_530, 0); + lean_ctor_release(x_530, 1); + x_532 = x_530; } else { - lean_dec_ref(x_529); - x_531 = lean_box(0); + lean_dec_ref(x_530); + x_532 = lean_box(0); } -if (lean_is_scalar(x_531)) { - x_532 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_532)) { + x_533 = lean_alloc_ctor(1, 2, 0); } else { - x_532 = x_531; - lean_ctor_set_tag(x_532, 1); + x_533 = x_532; + lean_ctor_set_tag(x_533, 1); } -lean_ctor_set(x_532, 0, x_513); -lean_ctor_set(x_532, 1, x_527); -x_533 = lean_array_push(x_8, x_532); -x_534 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_530); -return x_534; +lean_ctor_set(x_533, 0, x_514); +lean_ctor_set(x_533, 1, x_528); +x_534 = lean_array_push(x_8, x_533); +x_535 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_535, 0, x_534); +lean_ctor_set(x_535, 1, x_531); +return x_535; } } else { -lean_object* x_535; lean_object* x_536; uint8_t x_537; +lean_object* x_536; lean_object* x_537; uint8_t x_538; lean_dec(x_8); -x_535 = lean_ctor_get(x_513, 0); -lean_inc(x_535); -x_536 = l_Lean_Elab_postponeExceptionId; -x_537 = lean_nat_dec_eq(x_535, x_536); -lean_dec(x_535); -if (x_537 == 0) +x_536 = lean_ctor_get(x_514, 0); +lean_inc(x_536); +x_537 = l_Lean_Elab_postponeExceptionId; +x_538 = lean_nat_dec_eq(x_536, x_537); +lean_dec(x_536); +if (x_538 == 0) { -lean_object* x_538; -lean_dec(x_510); +lean_object* x_539; +lean_dec(x_511); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -if (lean_is_scalar(x_512)) { - x_538 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_513)) { + x_539 = lean_alloc_ctor(1, 2, 0); } else { - x_538 = x_512; - lean_ctor_set_tag(x_538, 1); + x_539 = x_513; + lean_ctor_set_tag(x_539, 1); } -lean_ctor_set(x_538, 0, x_513); -lean_ctor_set(x_538, 1, x_514); -return x_538; -} -else -{ -lean_object* x_539; uint8_t x_540; -lean_dec(x_512); -x_539 = l_Lean_Elab_Term_SavedState_restore(x_510, x_9, x_10, x_11, x_12, x_13, x_14, x_514); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_540 = !lean_is_exclusive(x_539); -if (x_540 == 0) -{ -lean_object* x_541; -x_541 = lean_ctor_get(x_539, 0); -lean_dec(x_541); -lean_ctor_set_tag(x_539, 1); -lean_ctor_set(x_539, 0, x_513); +lean_ctor_set(x_539, 0, x_514); +lean_ctor_set(x_539, 1, x_515); return x_539; } else { -lean_object* x_542; lean_object* x_543; -x_542 = lean_ctor_get(x_539, 1); -lean_inc(x_542); -lean_dec(x_539); -x_543 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_543, 0, x_513); -lean_ctor_set(x_543, 1, x_542); -return x_543; -} -} -} -} -block_567: -{ -lean_object* x_547; uint8_t x_548; -x_547 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_546); -x_548 = !lean_is_exclusive(x_547); -if (x_548 == 0) -{ -lean_object* x_549; lean_object* x_550; lean_object* x_551; uint8_t x_552; -x_549 = lean_ctor_get(x_547, 0); -x_550 = lean_ctor_get(x_547, 1); -x_551 = l_Lean_Elab_Term_SavedState_restore(x_510, x_9, x_10, x_11, x_12, x_13, x_14, x_550); +lean_object* x_540; uint8_t x_541; +lean_dec(x_513); +x_540 = l_Lean_Elab_Term_SavedState_restore(x_511, x_9, x_10, x_11, x_12, x_13, x_14, x_515); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_552 = !lean_is_exclusive(x_551); -if (x_552 == 0) +x_541 = !lean_is_exclusive(x_540); +if (x_541 == 0) { -lean_object* x_553; lean_object* x_554; lean_object* x_555; -x_553 = lean_ctor_get(x_551, 1); -x_554 = lean_ctor_get(x_551, 0); -lean_dec(x_554); -lean_ctor_set(x_551, 1, x_549); -lean_ctor_set(x_551, 0, x_545); -x_555 = lean_array_push(x_8, x_551); -lean_ctor_set(x_547, 1, x_553); -lean_ctor_set(x_547, 0, x_555); -return x_547; +lean_object* x_542; +x_542 = lean_ctor_get(x_540, 0); +lean_dec(x_542); +lean_ctor_set_tag(x_540, 1); +lean_ctor_set(x_540, 0, x_514); +return x_540; } else { -lean_object* x_556; lean_object* x_557; lean_object* x_558; -x_556 = lean_ctor_get(x_551, 1); -lean_inc(x_556); -lean_dec(x_551); -x_557 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_557, 0, x_545); -lean_ctor_set(x_557, 1, x_549); -x_558 = lean_array_push(x_8, x_557); -lean_ctor_set(x_547, 1, x_556); -lean_ctor_set(x_547, 0, x_558); -return x_547; +lean_object* x_543; lean_object* x_544; +x_543 = lean_ctor_get(x_540, 1); +lean_inc(x_543); +lean_dec(x_540); +x_544 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_544, 0, x_514); +lean_ctor_set(x_544, 1, x_543); +return x_544; +} +} +} +} +block_568: +{ +lean_object* x_548; uint8_t x_549; +x_548 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_547); +x_549 = !lean_is_exclusive(x_548); +if (x_549 == 0) +{ +lean_object* x_550; lean_object* x_551; lean_object* x_552; uint8_t x_553; +x_550 = lean_ctor_get(x_548, 0); +x_551 = lean_ctor_get(x_548, 1); +x_552 = l_Lean_Elab_Term_SavedState_restore(x_511, x_9, x_10, x_11, x_12, x_13, x_14, x_551); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_553 = !lean_is_exclusive(x_552); +if (x_553 == 0) +{ +lean_object* x_554; lean_object* x_555; lean_object* x_556; +x_554 = lean_ctor_get(x_552, 1); +x_555 = lean_ctor_get(x_552, 0); +lean_dec(x_555); +lean_ctor_set(x_552, 1, x_550); +lean_ctor_set(x_552, 0, x_546); +x_556 = lean_array_push(x_8, x_552); +lean_ctor_set(x_548, 1, x_554); +lean_ctor_set(x_548, 0, x_556); +return x_548; +} +else +{ +lean_object* x_557; lean_object* x_558; lean_object* x_559; +x_557 = lean_ctor_get(x_552, 1); +lean_inc(x_557); +lean_dec(x_552); +x_558 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_558, 0, x_546); +lean_ctor_set(x_558, 1, x_550); +x_559 = lean_array_push(x_8, x_558); +lean_ctor_set(x_548, 1, x_557); +lean_ctor_set(x_548, 0, x_559); +return x_548; } } 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; lean_object* x_566; -x_559 = lean_ctor_get(x_547, 0); -x_560 = lean_ctor_get(x_547, 1); +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; +x_560 = lean_ctor_get(x_548, 0); +x_561 = lean_ctor_get(x_548, 1); +lean_inc(x_561); lean_inc(x_560); -lean_inc(x_559); -lean_dec(x_547); -x_561 = l_Lean_Elab_Term_SavedState_restore(x_510, x_9, x_10, x_11, x_12, x_13, x_14, x_560); +lean_dec(x_548); +x_562 = l_Lean_Elab_Term_SavedState_restore(x_511, x_9, x_10, x_11, x_12, x_13, x_14, x_561); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_562 = lean_ctor_get(x_561, 1); -lean_inc(x_562); -if (lean_is_exclusive(x_561)) { - lean_ctor_release(x_561, 0); - lean_ctor_release(x_561, 1); - x_563 = x_561; +x_563 = lean_ctor_get(x_562, 1); +lean_inc(x_563); +if (lean_is_exclusive(x_562)) { + lean_ctor_release(x_562, 0); + lean_ctor_release(x_562, 1); + x_564 = x_562; } else { - lean_dec_ref(x_561); - x_563 = lean_box(0); + lean_dec_ref(x_562); + x_564 = lean_box(0); } -if (lean_is_scalar(x_563)) { - x_564 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_564)) { + x_565 = lean_alloc_ctor(0, 2, 0); } else { - x_564 = x_563; + x_565 = x_564; } -lean_ctor_set(x_564, 0, x_545); -lean_ctor_set(x_564, 1, x_559); -x_565 = lean_array_push(x_8, x_564); -x_566 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_566, 0, x_565); -lean_ctor_set(x_566, 1, x_562); -return x_566; +lean_ctor_set(x_565, 0, x_546); +lean_ctor_set(x_565, 1, x_560); +x_566 = lean_array_push(x_8, x_565); +x_567 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_567, 0, x_566); +lean_ctor_set(x_567, 1, x_563); +return x_567; } } } else { -uint8_t x_585; -x_585 = l_Array_isEmpty___rarg(x_4); -if (x_585 == 0) +uint8_t x_586; +x_586 = l_Array_isEmpty___rarg(x_4); +if (x_586 == 0) { -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_623; lean_object* x_624; lean_object* x_646; -x_586 = lean_box(0); -x_587 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_588 = lean_ctor_get(x_587, 0); -lean_inc(x_588); -x_589 = lean_ctor_get(x_587, 1); +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_624; lean_object* x_625; lean_object* x_647; +x_587 = lean_box(0); +x_588 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_589 = lean_ctor_get(x_588, 0); lean_inc(x_589); -if (lean_is_exclusive(x_587)) { - lean_ctor_release(x_587, 0); - lean_ctor_release(x_587, 1); - x_590 = x_587; +x_590 = lean_ctor_get(x_588, 1); +lean_inc(x_590); +if (lean_is_exclusive(x_588)) { + lean_ctor_release(x_588, 0); + lean_ctor_release(x_588, 1); + x_591 = x_588; } else { - lean_dec_ref(x_587); - x_590 = lean_box(0); + lean_dec_ref(x_588); + x_591 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -16540,15 +16543,15 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_646 = l_Lean_Elab_Term_elabTerm(x_1, x_586, x_429, x_9, x_10, x_11, x_12, x_13, x_14, x_589); -if (lean_obj_tag(x_646) == 0) +x_647 = l_Lean_Elab_Term_elabTerm(x_1, x_587, x_430, x_9, x_10, x_11, x_12, x_13, x_14, x_590); +if (lean_obj_tag(x_647) == 0) { -lean_object* x_647; lean_object* x_648; lean_object* x_649; -x_647 = lean_ctor_get(x_646, 0); -lean_inc(x_647); -x_648 = lean_ctor_get(x_646, 1); +lean_object* x_648; lean_object* x_649; lean_object* x_650; +x_648 = lean_ctor_get(x_647, 0); lean_inc(x_648); -lean_dec(x_646); +x_649 = lean_ctor_get(x_647, 1); +lean_inc(x_649); +lean_dec(x_647); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -16556,331 +16559,331 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); -x_649 = l___private_Lean_Elab_App_20__elabAppLVals(x_647, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_648); -if (lean_obj_tag(x_649) == 0) +x_650 = l___private_Lean_Elab_App_20__elabAppLVals(x_648, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_649); +if (lean_obj_tag(x_650) == 0) { if (x_7 == 0) { -lean_object* x_650; lean_object* x_651; -lean_dec(x_590); +lean_object* x_651; lean_object* x_652; +lean_dec(x_591); lean_dec(x_5); -x_650 = lean_ctor_get(x_649, 0); -lean_inc(x_650); -x_651 = lean_ctor_get(x_649, 1); +x_651 = lean_ctor_get(x_650, 0); lean_inc(x_651); -lean_dec(x_649); -x_623 = x_650; +x_652 = lean_ctor_get(x_650, 1); +lean_inc(x_652); +lean_dec(x_650); x_624 = x_651; -goto block_645; +x_625 = x_652; +goto block_646; } else { -lean_object* x_652; lean_object* x_653; lean_object* x_654; -x_652 = lean_ctor_get(x_649, 0); -lean_inc(x_652); -x_653 = lean_ctor_get(x_649, 1); +lean_object* x_653; lean_object* x_654; lean_object* x_655; +x_653 = lean_ctor_get(x_650, 0); lean_inc(x_653); -lean_dec(x_649); +x_654 = lean_ctor_get(x_650, 1); +lean_inc(x_654); +lean_dec(x_650); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_654 = l_Lean_Elab_Term_ensureHasType(x_5, x_652, x_9, x_10, x_11, x_12, x_13, x_14, x_653); -if (lean_obj_tag(x_654) == 0) +x_655 = l_Lean_Elab_Term_ensureHasType(x_5, x_653, x_587, x_9, x_10, x_11, x_12, x_13, x_14, x_654); +if (lean_obj_tag(x_655) == 0) { -lean_object* x_655; lean_object* x_656; -lean_dec(x_590); -x_655 = lean_ctor_get(x_654, 0); -lean_inc(x_655); -x_656 = lean_ctor_get(x_654, 1); +lean_object* x_656; lean_object* x_657; +lean_dec(x_591); +x_656 = lean_ctor_get(x_655, 0); lean_inc(x_656); -lean_dec(x_654); -x_623 = x_655; -x_624 = x_656; -goto block_645; -} -else -{ -lean_object* x_657; lean_object* x_658; -x_657 = lean_ctor_get(x_654, 0); +x_657 = lean_ctor_get(x_655, 1); lean_inc(x_657); -x_658 = lean_ctor_get(x_654, 1); +lean_dec(x_655); +x_624 = x_656; +x_625 = x_657; +goto block_646; +} +else +{ +lean_object* x_658; lean_object* x_659; +x_658 = lean_ctor_get(x_655, 0); lean_inc(x_658); -lean_dec(x_654); -x_591 = x_657; -x_592 = x_658; -goto block_622; -} -} -} -else -{ -lean_object* x_659; lean_object* x_660; -lean_dec(x_5); -x_659 = lean_ctor_get(x_649, 0); +x_659 = lean_ctor_get(x_655, 1); lean_inc(x_659); -x_660 = lean_ctor_get(x_649, 1); -lean_inc(x_660); -lean_dec(x_649); -x_591 = x_659; -x_592 = x_660; -goto block_622; +lean_dec(x_655); +x_592 = x_658; +x_593 = x_659; +goto block_623; +} } } else { -lean_object* x_661; lean_object* x_662; +lean_object* x_660; lean_object* x_661; +lean_dec(x_5); +x_660 = lean_ctor_get(x_650, 0); +lean_inc(x_660); +x_661 = lean_ctor_get(x_650, 1); +lean_inc(x_661); +lean_dec(x_650); +x_592 = x_660; +x_593 = x_661; +goto block_623; +} +} +else +{ +lean_object* x_662; lean_object* x_663; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_661 = lean_ctor_get(x_646, 0); -lean_inc(x_661); -x_662 = lean_ctor_get(x_646, 1); +x_662 = lean_ctor_get(x_647, 0); lean_inc(x_662); -lean_dec(x_646); -x_591 = x_661; +x_663 = lean_ctor_get(x_647, 1); +lean_inc(x_663); +lean_dec(x_647); x_592 = x_662; -goto block_622; +x_593 = x_663; +goto block_623; } -block_622: +block_623: { -if (lean_obj_tag(x_591) == 0) +if (lean_obj_tag(x_592) == 0) { -lean_object* x_593; uint8_t x_594; -lean_dec(x_590); -x_593 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_592); -x_594 = !lean_is_exclusive(x_593); -if (x_594 == 0) +lean_object* x_594; uint8_t x_595; +lean_dec(x_591); +x_594 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_593); +x_595 = !lean_is_exclusive(x_594); +if (x_595 == 0) { -lean_object* x_595; lean_object* x_596; lean_object* x_597; uint8_t x_598; -x_595 = lean_ctor_get(x_593, 0); -x_596 = lean_ctor_get(x_593, 1); -x_597 = l_Lean_Elab_Term_SavedState_restore(x_588, x_9, x_10, x_11, x_12, x_13, x_14, x_596); +lean_object* x_596; lean_object* x_597; lean_object* x_598; uint8_t x_599; +x_596 = lean_ctor_get(x_594, 0); +x_597 = lean_ctor_get(x_594, 1); +x_598 = l_Lean_Elab_Term_SavedState_restore(x_589, x_9, x_10, x_11, x_12, x_13, x_14, x_597); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_598 = !lean_is_exclusive(x_597); -if (x_598 == 0) +x_599 = !lean_is_exclusive(x_598); +if (x_599 == 0) { -lean_object* x_599; lean_object* x_600; lean_object* x_601; -x_599 = lean_ctor_get(x_597, 1); -x_600 = lean_ctor_get(x_597, 0); -lean_dec(x_600); -lean_ctor_set_tag(x_597, 1); -lean_ctor_set(x_597, 1, x_595); -lean_ctor_set(x_597, 0, x_591); -x_601 = lean_array_push(x_8, x_597); -lean_ctor_set(x_593, 1, x_599); -lean_ctor_set(x_593, 0, x_601); -return x_593; +lean_object* x_600; lean_object* x_601; lean_object* x_602; +x_600 = lean_ctor_get(x_598, 1); +x_601 = lean_ctor_get(x_598, 0); +lean_dec(x_601); +lean_ctor_set_tag(x_598, 1); +lean_ctor_set(x_598, 1, x_596); +lean_ctor_set(x_598, 0, x_592); +x_602 = lean_array_push(x_8, x_598); +lean_ctor_set(x_594, 1, x_600); +lean_ctor_set(x_594, 0, x_602); +return x_594; } else { -lean_object* x_602; lean_object* x_603; lean_object* x_604; -x_602 = lean_ctor_get(x_597, 1); -lean_inc(x_602); -lean_dec(x_597); -x_603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_603, 0, x_591); -lean_ctor_set(x_603, 1, x_595); -x_604 = lean_array_push(x_8, x_603); -lean_ctor_set(x_593, 1, x_602); -lean_ctor_set(x_593, 0, x_604); -return x_593; +lean_object* x_603; lean_object* x_604; lean_object* x_605; +x_603 = lean_ctor_get(x_598, 1); +lean_inc(x_603); +lean_dec(x_598); +x_604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_604, 0, x_592); +lean_ctor_set(x_604, 1, x_596); +x_605 = lean_array_push(x_8, x_604); +lean_ctor_set(x_594, 1, x_603); +lean_ctor_set(x_594, 0, x_605); +return x_594; } } else { -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; -x_605 = lean_ctor_get(x_593, 0); -x_606 = lean_ctor_get(x_593, 1); +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; +x_606 = lean_ctor_get(x_594, 0); +x_607 = lean_ctor_get(x_594, 1); +lean_inc(x_607); lean_inc(x_606); -lean_inc(x_605); -lean_dec(x_593); -x_607 = l_Lean_Elab_Term_SavedState_restore(x_588, x_9, x_10, x_11, x_12, x_13, x_14, x_606); +lean_dec(x_594); +x_608 = l_Lean_Elab_Term_SavedState_restore(x_589, x_9, x_10, x_11, x_12, x_13, x_14, x_607); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_608 = lean_ctor_get(x_607, 1); -lean_inc(x_608); -if (lean_is_exclusive(x_607)) { - lean_ctor_release(x_607, 0); - lean_ctor_release(x_607, 1); - x_609 = x_607; +x_609 = lean_ctor_get(x_608, 1); +lean_inc(x_609); +if (lean_is_exclusive(x_608)) { + lean_ctor_release(x_608, 0); + lean_ctor_release(x_608, 1); + x_610 = x_608; } else { - lean_dec_ref(x_607); - x_609 = lean_box(0); + lean_dec_ref(x_608); + x_610 = lean_box(0); } -if (lean_is_scalar(x_609)) { - x_610 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_610)) { + x_611 = lean_alloc_ctor(1, 2, 0); } else { - x_610 = x_609; - lean_ctor_set_tag(x_610, 1); + x_611 = x_610; + lean_ctor_set_tag(x_611, 1); } -lean_ctor_set(x_610, 0, x_591); -lean_ctor_set(x_610, 1, x_605); -x_611 = lean_array_push(x_8, x_610); -x_612 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_612, 0, x_611); -lean_ctor_set(x_612, 1, x_608); -return x_612; +lean_ctor_set(x_611, 0, x_592); +lean_ctor_set(x_611, 1, x_606); +x_612 = lean_array_push(x_8, x_611); +x_613 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_613, 0, x_612); +lean_ctor_set(x_613, 1, x_609); +return x_613; } } else { -lean_object* x_613; lean_object* x_614; uint8_t x_615; +lean_object* x_614; lean_object* x_615; uint8_t x_616; lean_dec(x_8); -x_613 = lean_ctor_get(x_591, 0); -lean_inc(x_613); -x_614 = l_Lean_Elab_postponeExceptionId; -x_615 = lean_nat_dec_eq(x_613, x_614); -lean_dec(x_613); -if (x_615 == 0) +x_614 = lean_ctor_get(x_592, 0); +lean_inc(x_614); +x_615 = l_Lean_Elab_postponeExceptionId; +x_616 = lean_nat_dec_eq(x_614, x_615); +lean_dec(x_614); +if (x_616 == 0) { -lean_object* x_616; -lean_dec(x_588); +lean_object* x_617; +lean_dec(x_589); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -if (lean_is_scalar(x_590)) { - x_616 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_591)) { + x_617 = lean_alloc_ctor(1, 2, 0); } else { - x_616 = x_590; - lean_ctor_set_tag(x_616, 1); + x_617 = x_591; + lean_ctor_set_tag(x_617, 1); } -lean_ctor_set(x_616, 0, x_591); -lean_ctor_set(x_616, 1, x_592); -return x_616; -} -else -{ -lean_object* x_617; uint8_t x_618; -lean_dec(x_590); -x_617 = l_Lean_Elab_Term_SavedState_restore(x_588, x_9, x_10, x_11, x_12, x_13, x_14, x_592); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_618 = !lean_is_exclusive(x_617); -if (x_618 == 0) -{ -lean_object* x_619; -x_619 = lean_ctor_get(x_617, 0); -lean_dec(x_619); -lean_ctor_set_tag(x_617, 1); -lean_ctor_set(x_617, 0, x_591); +lean_ctor_set(x_617, 0, x_592); +lean_ctor_set(x_617, 1, x_593); return x_617; } else { -lean_object* x_620; lean_object* x_621; -x_620 = lean_ctor_get(x_617, 1); -lean_inc(x_620); -lean_dec(x_617); -x_621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_621, 0, x_591); -lean_ctor_set(x_621, 1, x_620); -return x_621; -} -} -} -} -block_645: -{ -lean_object* x_625; uint8_t x_626; -x_625 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_624); -x_626 = !lean_is_exclusive(x_625); -if (x_626 == 0) -{ -lean_object* x_627; lean_object* x_628; lean_object* x_629; uint8_t x_630; -x_627 = lean_ctor_get(x_625, 0); -x_628 = lean_ctor_get(x_625, 1); -x_629 = l_Lean_Elab_Term_SavedState_restore(x_588, x_9, x_10, x_11, x_12, x_13, x_14, x_628); +lean_object* x_618; uint8_t x_619; +lean_dec(x_591); +x_618 = l_Lean_Elab_Term_SavedState_restore(x_589, x_9, x_10, x_11, x_12, x_13, x_14, x_593); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_630 = !lean_is_exclusive(x_629); -if (x_630 == 0) +x_619 = !lean_is_exclusive(x_618); +if (x_619 == 0) { -lean_object* x_631; lean_object* x_632; lean_object* x_633; -x_631 = lean_ctor_get(x_629, 1); -x_632 = lean_ctor_get(x_629, 0); -lean_dec(x_632); -lean_ctor_set(x_629, 1, x_627); -lean_ctor_set(x_629, 0, x_623); -x_633 = lean_array_push(x_8, x_629); -lean_ctor_set(x_625, 1, x_631); -lean_ctor_set(x_625, 0, x_633); -return x_625; +lean_object* x_620; +x_620 = lean_ctor_get(x_618, 0); +lean_dec(x_620); +lean_ctor_set_tag(x_618, 1); +lean_ctor_set(x_618, 0, x_592); +return x_618; } else { -lean_object* x_634; lean_object* x_635; lean_object* x_636; -x_634 = lean_ctor_get(x_629, 1); -lean_inc(x_634); -lean_dec(x_629); -x_635 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_635, 0, x_623); -lean_ctor_set(x_635, 1, x_627); -x_636 = lean_array_push(x_8, x_635); -lean_ctor_set(x_625, 1, x_634); -lean_ctor_set(x_625, 0, x_636); -return x_625; +lean_object* x_621; lean_object* x_622; +x_621 = lean_ctor_get(x_618, 1); +lean_inc(x_621); +lean_dec(x_618); +x_622 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_622, 0, x_592); +lean_ctor_set(x_622, 1, x_621); +return x_622; +} +} +} +} +block_646: +{ +lean_object* x_626; uint8_t x_627; +x_626 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_625); +x_627 = !lean_is_exclusive(x_626); +if (x_627 == 0) +{ +lean_object* x_628; lean_object* x_629; lean_object* x_630; uint8_t x_631; +x_628 = lean_ctor_get(x_626, 0); +x_629 = lean_ctor_get(x_626, 1); +x_630 = l_Lean_Elab_Term_SavedState_restore(x_589, x_9, x_10, x_11, x_12, x_13, x_14, x_629); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_631 = !lean_is_exclusive(x_630); +if (x_631 == 0) +{ +lean_object* x_632; lean_object* x_633; lean_object* x_634; +x_632 = lean_ctor_get(x_630, 1); +x_633 = lean_ctor_get(x_630, 0); +lean_dec(x_633); +lean_ctor_set(x_630, 1, x_628); +lean_ctor_set(x_630, 0, x_624); +x_634 = lean_array_push(x_8, x_630); +lean_ctor_set(x_626, 1, x_632); +lean_ctor_set(x_626, 0, x_634); +return x_626; +} +else +{ +lean_object* x_635; lean_object* x_636; lean_object* x_637; +x_635 = lean_ctor_get(x_630, 1); +lean_inc(x_635); +lean_dec(x_630); +x_636 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_636, 0, x_624); +lean_ctor_set(x_636, 1, x_628); +x_637 = lean_array_push(x_8, x_636); +lean_ctor_set(x_626, 1, x_635); +lean_ctor_set(x_626, 0, x_637); +return x_626; } } else { -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; -x_637 = lean_ctor_get(x_625, 0); -x_638 = lean_ctor_get(x_625, 1); +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; +x_638 = lean_ctor_get(x_626, 0); +x_639 = lean_ctor_get(x_626, 1); +lean_inc(x_639); lean_inc(x_638); -lean_inc(x_637); -lean_dec(x_625); -x_639 = l_Lean_Elab_Term_SavedState_restore(x_588, x_9, x_10, x_11, x_12, x_13, x_14, x_638); +lean_dec(x_626); +x_640 = l_Lean_Elab_Term_SavedState_restore(x_589, x_9, x_10, x_11, x_12, x_13, x_14, x_639); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_640 = lean_ctor_get(x_639, 1); -lean_inc(x_640); -if (lean_is_exclusive(x_639)) { - lean_ctor_release(x_639, 0); - lean_ctor_release(x_639, 1); - x_641 = x_639; +x_641 = lean_ctor_get(x_640, 1); +lean_inc(x_641); +if (lean_is_exclusive(x_640)) { + lean_ctor_release(x_640, 0); + lean_ctor_release(x_640, 1); + x_642 = x_640; } else { - lean_dec_ref(x_639); - x_641 = lean_box(0); + lean_dec_ref(x_640); + x_642 = lean_box(0); } -if (lean_is_scalar(x_641)) { - x_642 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_642)) { + x_643 = lean_alloc_ctor(0, 2, 0); } else { - x_642 = x_641; + x_643 = x_642; } -lean_ctor_set(x_642, 0, x_623); -lean_ctor_set(x_642, 1, x_637); -x_643 = lean_array_push(x_8, x_642); -x_644 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_644, 0, x_643); -lean_ctor_set(x_644, 1, x_640); -return x_644; +lean_ctor_set(x_643, 0, x_624); +lean_ctor_set(x_643, 1, x_638); +x_644 = lean_array_push(x_8, x_643); +x_645 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_645, 0, x_644); +lean_ctor_set(x_645, 1, x_641); +return x_645; } } } @@ -16891,281 +16894,281 @@ lean_dec(x_3); lean_dec(x_2); if (x_7 == 0) { -lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; uint8_t x_699; lean_object* x_700; -x_663 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_664 = lean_ctor_get(x_663, 0); -lean_inc(x_664); -x_665 = lean_ctor_get(x_663, 1); +lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; uint8_t x_700; lean_object* x_701; +x_664 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_665 = lean_ctor_get(x_664, 0); lean_inc(x_665); -if (lean_is_exclusive(x_663)) { - lean_ctor_release(x_663, 0); - lean_ctor_release(x_663, 1); - x_666 = x_663; +x_666 = lean_ctor_get(x_664, 1); +lean_inc(x_666); +if (lean_is_exclusive(x_664)) { + lean_ctor_release(x_664, 0); + lean_ctor_release(x_664, 1); + x_667 = x_664; } else { - lean_dec_ref(x_663); - x_666 = lean_box(0); + lean_dec_ref(x_664); + x_667 = lean_box(0); } -x_699 = 1; +x_700 = 1; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_700 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_699, x_9, x_10, x_11, x_12, x_13, x_14, x_665); -if (lean_obj_tag(x_700) == 0) +x_701 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_700, x_9, x_10, x_11, x_12, x_13, x_14, x_666); +if (lean_obj_tag(x_701) == 0) { -lean_object* x_701; lean_object* x_702; lean_object* x_703; uint8_t x_704; -lean_dec(x_666); -x_701 = lean_ctor_get(x_700, 0); -lean_inc(x_701); -x_702 = lean_ctor_get(x_700, 1); +lean_object* x_702; lean_object* x_703; lean_object* x_704; uint8_t x_705; +lean_dec(x_667); +x_702 = lean_ctor_get(x_701, 0); lean_inc(x_702); -lean_dec(x_700); -x_703 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_702); -x_704 = !lean_is_exclusive(x_703); -if (x_704 == 0) +x_703 = lean_ctor_get(x_701, 1); +lean_inc(x_703); +lean_dec(x_701); +x_704 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_703); +x_705 = !lean_is_exclusive(x_704); +if (x_705 == 0) { -lean_object* x_705; lean_object* x_706; lean_object* x_707; uint8_t x_708; -x_705 = lean_ctor_get(x_703, 0); -x_706 = lean_ctor_get(x_703, 1); -x_707 = l_Lean_Elab_Term_SavedState_restore(x_664, x_9, x_10, x_11, x_12, x_13, x_14, x_706); +lean_object* x_706; lean_object* x_707; lean_object* x_708; uint8_t x_709; +x_706 = lean_ctor_get(x_704, 0); +x_707 = lean_ctor_get(x_704, 1); +x_708 = l_Lean_Elab_Term_SavedState_restore(x_665, x_9, x_10, x_11, x_12, x_13, x_14, x_707); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_708 = !lean_is_exclusive(x_707); -if (x_708 == 0) +x_709 = !lean_is_exclusive(x_708); +if (x_709 == 0) { -lean_object* x_709; lean_object* x_710; lean_object* x_711; -x_709 = lean_ctor_get(x_707, 1); -x_710 = lean_ctor_get(x_707, 0); -lean_dec(x_710); -lean_ctor_set(x_707, 1, x_705); -lean_ctor_set(x_707, 0, x_701); -x_711 = lean_array_push(x_8, x_707); -lean_ctor_set(x_703, 1, x_709); -lean_ctor_set(x_703, 0, x_711); -return x_703; +lean_object* x_710; lean_object* x_711; lean_object* x_712; +x_710 = lean_ctor_get(x_708, 1); +x_711 = lean_ctor_get(x_708, 0); +lean_dec(x_711); +lean_ctor_set(x_708, 1, x_706); +lean_ctor_set(x_708, 0, x_702); +x_712 = lean_array_push(x_8, x_708); +lean_ctor_set(x_704, 1, x_710); +lean_ctor_set(x_704, 0, x_712); +return x_704; } else { -lean_object* x_712; lean_object* x_713; lean_object* x_714; -x_712 = lean_ctor_get(x_707, 1); -lean_inc(x_712); -lean_dec(x_707); -x_713 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_713, 0, x_701); -lean_ctor_set(x_713, 1, x_705); -x_714 = lean_array_push(x_8, x_713); -lean_ctor_set(x_703, 1, x_712); -lean_ctor_set(x_703, 0, x_714); -return x_703; +lean_object* x_713; lean_object* x_714; lean_object* x_715; +x_713 = lean_ctor_get(x_708, 1); +lean_inc(x_713); +lean_dec(x_708); +x_714 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_714, 0, x_702); +lean_ctor_set(x_714, 1, x_706); +x_715 = lean_array_push(x_8, x_714); +lean_ctor_set(x_704, 1, x_713); +lean_ctor_set(x_704, 0, x_715); +return x_704; } } else { -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_715 = lean_ctor_get(x_703, 0); -x_716 = lean_ctor_get(x_703, 1); +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; +x_716 = lean_ctor_get(x_704, 0); +x_717 = lean_ctor_get(x_704, 1); +lean_inc(x_717); lean_inc(x_716); -lean_inc(x_715); -lean_dec(x_703); -x_717 = l_Lean_Elab_Term_SavedState_restore(x_664, x_9, x_10, x_11, x_12, x_13, x_14, x_716); +lean_dec(x_704); +x_718 = l_Lean_Elab_Term_SavedState_restore(x_665, x_9, x_10, x_11, x_12, x_13, x_14, x_717); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_718 = lean_ctor_get(x_717, 1); -lean_inc(x_718); -if (lean_is_exclusive(x_717)) { - lean_ctor_release(x_717, 0); - lean_ctor_release(x_717, 1); - x_719 = x_717; +x_719 = lean_ctor_get(x_718, 1); +lean_inc(x_719); +if (lean_is_exclusive(x_718)) { + lean_ctor_release(x_718, 0); + lean_ctor_release(x_718, 1); + x_720 = x_718; } else { - lean_dec_ref(x_717); - x_719 = lean_box(0); + lean_dec_ref(x_718); + x_720 = lean_box(0); } -if (lean_is_scalar(x_719)) { - x_720 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_720)) { + x_721 = lean_alloc_ctor(0, 2, 0); } else { - x_720 = x_719; + x_721 = x_720; } -lean_ctor_set(x_720, 0, x_701); -lean_ctor_set(x_720, 1, x_715); -x_721 = lean_array_push(x_8, x_720); -x_722 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_722, 0, x_721); -lean_ctor_set(x_722, 1, x_718); -return x_722; +lean_ctor_set(x_721, 0, x_702); +lean_ctor_set(x_721, 1, x_716); +x_722 = lean_array_push(x_8, x_721); +x_723 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_723, 0, x_722); +lean_ctor_set(x_723, 1, x_719); +return x_723; } } else { -lean_object* x_723; lean_object* x_724; -x_723 = lean_ctor_get(x_700, 0); -lean_inc(x_723); -x_724 = lean_ctor_get(x_700, 1); +lean_object* x_724; lean_object* x_725; +x_724 = lean_ctor_get(x_701, 0); lean_inc(x_724); -lean_dec(x_700); -x_667 = x_723; +x_725 = lean_ctor_get(x_701, 1); +lean_inc(x_725); +lean_dec(x_701); x_668 = x_724; -goto block_698; +x_669 = x_725; +goto block_699; } -block_698: +block_699: { -if (lean_obj_tag(x_667) == 0) +if (lean_obj_tag(x_668) == 0) { -lean_object* x_669; uint8_t x_670; -lean_dec(x_666); -x_669 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_668); -x_670 = !lean_is_exclusive(x_669); -if (x_670 == 0) +lean_object* x_670; uint8_t x_671; +lean_dec(x_667); +x_670 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_669); +x_671 = !lean_is_exclusive(x_670); +if (x_671 == 0) { -lean_object* x_671; lean_object* x_672; lean_object* x_673; uint8_t x_674; -x_671 = lean_ctor_get(x_669, 0); -x_672 = lean_ctor_get(x_669, 1); -x_673 = l_Lean_Elab_Term_SavedState_restore(x_664, x_9, x_10, x_11, x_12, x_13, x_14, x_672); +lean_object* x_672; lean_object* x_673; lean_object* x_674; uint8_t x_675; +x_672 = lean_ctor_get(x_670, 0); +x_673 = lean_ctor_get(x_670, 1); +x_674 = l_Lean_Elab_Term_SavedState_restore(x_665, x_9, x_10, x_11, x_12, x_13, x_14, x_673); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_674 = !lean_is_exclusive(x_673); -if (x_674 == 0) +x_675 = !lean_is_exclusive(x_674); +if (x_675 == 0) { -lean_object* x_675; lean_object* x_676; lean_object* x_677; -x_675 = lean_ctor_get(x_673, 1); -x_676 = lean_ctor_get(x_673, 0); -lean_dec(x_676); -lean_ctor_set_tag(x_673, 1); -lean_ctor_set(x_673, 1, x_671); -lean_ctor_set(x_673, 0, x_667); -x_677 = lean_array_push(x_8, x_673); -lean_ctor_set(x_669, 1, x_675); -lean_ctor_set(x_669, 0, x_677); -return x_669; +lean_object* x_676; lean_object* x_677; lean_object* x_678; +x_676 = lean_ctor_get(x_674, 1); +x_677 = lean_ctor_get(x_674, 0); +lean_dec(x_677); +lean_ctor_set_tag(x_674, 1); +lean_ctor_set(x_674, 1, x_672); +lean_ctor_set(x_674, 0, x_668); +x_678 = lean_array_push(x_8, x_674); +lean_ctor_set(x_670, 1, x_676); +lean_ctor_set(x_670, 0, x_678); +return x_670; } else { -lean_object* x_678; lean_object* x_679; lean_object* x_680; -x_678 = lean_ctor_get(x_673, 1); -lean_inc(x_678); -lean_dec(x_673); -x_679 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_679, 0, x_667); -lean_ctor_set(x_679, 1, x_671); -x_680 = lean_array_push(x_8, x_679); -lean_ctor_set(x_669, 1, x_678); -lean_ctor_set(x_669, 0, x_680); -return x_669; +lean_object* x_679; lean_object* x_680; lean_object* x_681; +x_679 = lean_ctor_get(x_674, 1); +lean_inc(x_679); +lean_dec(x_674); +x_680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_680, 0, x_668); +lean_ctor_set(x_680, 1, x_672); +x_681 = lean_array_push(x_8, x_680); +lean_ctor_set(x_670, 1, x_679); +lean_ctor_set(x_670, 0, x_681); +return x_670; } } else { -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; -x_681 = lean_ctor_get(x_669, 0); -x_682 = lean_ctor_get(x_669, 1); +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; +x_682 = lean_ctor_get(x_670, 0); +x_683 = lean_ctor_get(x_670, 1); +lean_inc(x_683); lean_inc(x_682); -lean_inc(x_681); -lean_dec(x_669); -x_683 = l_Lean_Elab_Term_SavedState_restore(x_664, x_9, x_10, x_11, x_12, x_13, x_14, x_682); +lean_dec(x_670); +x_684 = l_Lean_Elab_Term_SavedState_restore(x_665, x_9, x_10, x_11, x_12, x_13, x_14, x_683); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_684 = lean_ctor_get(x_683, 1); -lean_inc(x_684); -if (lean_is_exclusive(x_683)) { - lean_ctor_release(x_683, 0); - lean_ctor_release(x_683, 1); - x_685 = x_683; +x_685 = lean_ctor_get(x_684, 1); +lean_inc(x_685); +if (lean_is_exclusive(x_684)) { + lean_ctor_release(x_684, 0); + lean_ctor_release(x_684, 1); + x_686 = x_684; } else { - lean_dec_ref(x_683); - x_685 = lean_box(0); + lean_dec_ref(x_684); + x_686 = lean_box(0); } -if (lean_is_scalar(x_685)) { - x_686 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_686)) { + x_687 = lean_alloc_ctor(1, 2, 0); } else { - x_686 = x_685; - lean_ctor_set_tag(x_686, 1); + x_687 = x_686; + lean_ctor_set_tag(x_687, 1); } -lean_ctor_set(x_686, 0, x_667); -lean_ctor_set(x_686, 1, x_681); -x_687 = lean_array_push(x_8, x_686); -x_688 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_684); -return x_688; +lean_ctor_set(x_687, 0, x_668); +lean_ctor_set(x_687, 1, x_682); +x_688 = lean_array_push(x_8, x_687); +x_689 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_689, 0, x_688); +lean_ctor_set(x_689, 1, x_685); +return x_689; } } else { -lean_object* x_689; lean_object* x_690; uint8_t x_691; +lean_object* x_690; lean_object* x_691; uint8_t x_692; lean_dec(x_8); -x_689 = lean_ctor_get(x_667, 0); -lean_inc(x_689); -x_690 = l_Lean_Elab_postponeExceptionId; -x_691 = lean_nat_dec_eq(x_689, x_690); -lean_dec(x_689); -if (x_691 == 0) +x_690 = lean_ctor_get(x_668, 0); +lean_inc(x_690); +x_691 = l_Lean_Elab_postponeExceptionId; +x_692 = lean_nat_dec_eq(x_690, x_691); +lean_dec(x_690); +if (x_692 == 0) { -lean_object* x_692; -lean_dec(x_664); +lean_object* x_693; +lean_dec(x_665); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -if (lean_is_scalar(x_666)) { - x_692 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_667)) { + x_693 = lean_alloc_ctor(1, 2, 0); } else { - x_692 = x_666; - lean_ctor_set_tag(x_692, 1); + x_693 = x_667; + lean_ctor_set_tag(x_693, 1); } -lean_ctor_set(x_692, 0, x_667); -lean_ctor_set(x_692, 1, x_668); -return x_692; -} -else -{ -lean_object* x_693; uint8_t x_694; -lean_dec(x_666); -x_693 = l_Lean_Elab_Term_SavedState_restore(x_664, x_9, x_10, x_11, x_12, x_13, x_14, x_668); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_694 = !lean_is_exclusive(x_693); -if (x_694 == 0) -{ -lean_object* x_695; -x_695 = lean_ctor_get(x_693, 0); -lean_dec(x_695); -lean_ctor_set_tag(x_693, 1); -lean_ctor_set(x_693, 0, x_667); +lean_ctor_set(x_693, 0, x_668); +lean_ctor_set(x_693, 1, x_669); return x_693; } else { -lean_object* x_696; lean_object* x_697; -x_696 = lean_ctor_get(x_693, 1); -lean_inc(x_696); -lean_dec(x_693); -x_697 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_697, 0, x_667); -lean_ctor_set(x_697, 1, x_696); -return x_697; +lean_object* x_694; uint8_t x_695; +lean_dec(x_667); +x_694 = l_Lean_Elab_Term_SavedState_restore(x_665, x_9, x_10, x_11, x_12, x_13, x_14, x_669); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_695 = !lean_is_exclusive(x_694); +if (x_695 == 0) +{ +lean_object* x_696; +x_696 = lean_ctor_get(x_694, 0); +lean_dec(x_696); +lean_ctor_set_tag(x_694, 1); +lean_ctor_set(x_694, 0, x_668); +return x_694; +} +else +{ +lean_object* x_697; lean_object* x_698; +x_697 = lean_ctor_get(x_694, 1); +lean_inc(x_697); +lean_dec(x_694); +x_698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_698, 0, x_668); +lean_ctor_set(x_698, 1, x_697); +return x_698; } } } @@ -17173,19 +17176,20 @@ return x_697; } else { -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_761; -x_725 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_726 = lean_ctor_get(x_725, 0); -lean_inc(x_726); -x_727 = lean_ctor_get(x_725, 1); -lean_inc(x_727); -if (lean_is_exclusive(x_725)) { - lean_ctor_release(x_725, 0); - lean_ctor_release(x_725, 1); - x_728 = 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_763; +x_726 = lean_box(0); +x_727 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_728 = lean_ctor_get(x_727, 0); +lean_inc(x_728); +x_729 = lean_ctor_get(x_727, 1); +lean_inc(x_729); +if (lean_is_exclusive(x_727)) { + lean_ctor_release(x_727, 0); + lean_ctor_release(x_727, 1); + x_730 = x_727; } else { - lean_dec_ref(x_725); - x_728 = lean_box(0); + lean_dec_ref(x_727); + x_730 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -17193,260 +17197,260 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_761 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_429, x_9, x_10, x_11, x_12, x_13, x_14, x_727); -if (lean_obj_tag(x_761) == 0) +x_763 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_430, x_726, x_9, x_10, x_11, x_12, x_13, x_14, x_729); +if (lean_obj_tag(x_763) == 0) { -lean_object* x_762; lean_object* x_763; lean_object* x_764; uint8_t x_765; -lean_dec(x_728); -x_762 = lean_ctor_get(x_761, 0); -lean_inc(x_762); -x_763 = lean_ctor_get(x_761, 1); -lean_inc(x_763); -lean_dec(x_761); -x_764 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_763); -x_765 = !lean_is_exclusive(x_764); -if (x_765 == 0) +lean_object* x_764; lean_object* x_765; lean_object* x_766; uint8_t x_767; +lean_dec(x_730); +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 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_765); +x_767 = !lean_is_exclusive(x_766); +if (x_767 == 0) { -lean_object* x_766; lean_object* x_767; lean_object* x_768; uint8_t x_769; -x_766 = lean_ctor_get(x_764, 0); -x_767 = lean_ctor_get(x_764, 1); -x_768 = l_Lean_Elab_Term_SavedState_restore(x_726, x_9, x_10, x_11, x_12, x_13, x_14, x_767); +lean_object* x_768; lean_object* x_769; lean_object* x_770; uint8_t x_771; +x_768 = lean_ctor_get(x_766, 0); +x_769 = lean_ctor_get(x_766, 1); +x_770 = l_Lean_Elab_Term_SavedState_restore(x_728, x_9, x_10, x_11, x_12, x_13, x_14, x_769); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_769 = !lean_is_exclusive(x_768); -if (x_769 == 0) +x_771 = !lean_is_exclusive(x_770); +if (x_771 == 0) { -lean_object* x_770; lean_object* x_771; lean_object* x_772; -x_770 = lean_ctor_get(x_768, 1); -x_771 = lean_ctor_get(x_768, 0); -lean_dec(x_771); -lean_ctor_set(x_768, 1, x_766); -lean_ctor_set(x_768, 0, x_762); -x_772 = lean_array_push(x_8, x_768); -lean_ctor_set(x_764, 1, x_770); -lean_ctor_set(x_764, 0, x_772); -return x_764; +lean_object* x_772; lean_object* x_773; lean_object* x_774; +x_772 = lean_ctor_get(x_770, 1); +x_773 = lean_ctor_get(x_770, 0); +lean_dec(x_773); +lean_ctor_set(x_770, 1, x_768); +lean_ctor_set(x_770, 0, x_764); +x_774 = lean_array_push(x_8, x_770); +lean_ctor_set(x_766, 1, x_772); +lean_ctor_set(x_766, 0, x_774); +return x_766; } else { -lean_object* x_773; lean_object* x_774; lean_object* x_775; -x_773 = lean_ctor_get(x_768, 1); -lean_inc(x_773); -lean_dec(x_768); -x_774 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_774, 0, x_762); -lean_ctor_set(x_774, 1, x_766); -x_775 = lean_array_push(x_8, x_774); -lean_ctor_set(x_764, 1, x_773); -lean_ctor_set(x_764, 0, x_775); -return x_764; +lean_object* x_775; lean_object* x_776; lean_object* x_777; +x_775 = lean_ctor_get(x_770, 1); +lean_inc(x_775); +lean_dec(x_770); +x_776 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_776, 0, x_764); +lean_ctor_set(x_776, 1, x_768); +x_777 = lean_array_push(x_8, x_776); +lean_ctor_set(x_766, 1, x_775); +lean_ctor_set(x_766, 0, x_777); +return x_766; } } else { -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; -x_776 = lean_ctor_get(x_764, 0); -x_777 = lean_ctor_get(x_764, 1); -lean_inc(x_777); -lean_inc(x_776); -lean_dec(x_764); -x_778 = l_Lean_Elab_Term_SavedState_restore(x_726, x_9, x_10, x_11, x_12, x_13, x_14, x_777); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_779 = lean_ctor_get(x_778, 1); +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; +x_778 = lean_ctor_get(x_766, 0); +x_779 = lean_ctor_get(x_766, 1); lean_inc(x_779); -if (lean_is_exclusive(x_778)) { - lean_ctor_release(x_778, 0); - lean_ctor_release(x_778, 1); - x_780 = x_778; -} else { - lean_dec_ref(x_778); - x_780 = lean_box(0); -} -if (lean_is_scalar(x_780)) { - x_781 = lean_alloc_ctor(0, 2, 0); -} else { - x_781 = x_780; -} -lean_ctor_set(x_781, 0, x_762); -lean_ctor_set(x_781, 1, x_776); -x_782 = lean_array_push(x_8, x_781); -x_783 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_783, 0, x_782); -lean_ctor_set(x_783, 1, x_779); -return x_783; -} -} -else -{ -lean_object* x_784; lean_object* x_785; -x_784 = lean_ctor_get(x_761, 0); -lean_inc(x_784); -x_785 = lean_ctor_get(x_761, 1); -lean_inc(x_785); -lean_dec(x_761); -x_729 = x_784; -x_730 = x_785; -goto block_760; -} -block_760: -{ -if (lean_obj_tag(x_729) == 0) -{ -lean_object* x_731; uint8_t x_732; -lean_dec(x_728); -x_731 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_730); -x_732 = !lean_is_exclusive(x_731); -if (x_732 == 0) -{ -lean_object* x_733; lean_object* x_734; lean_object* x_735; uint8_t x_736; -x_733 = lean_ctor_get(x_731, 0); -x_734 = lean_ctor_get(x_731, 1); -x_735 = l_Lean_Elab_Term_SavedState_restore(x_726, x_9, x_10, x_11, x_12, x_13, x_14, x_734); +lean_inc(x_778); +lean_dec(x_766); +x_780 = l_Lean_Elab_Term_SavedState_restore(x_728, x_9, x_10, x_11, x_12, x_13, x_14, x_779); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_736 = !lean_is_exclusive(x_735); -if (x_736 == 0) -{ -lean_object* x_737; lean_object* x_738; lean_object* x_739; -x_737 = lean_ctor_get(x_735, 1); -x_738 = lean_ctor_get(x_735, 0); -lean_dec(x_738); -lean_ctor_set_tag(x_735, 1); -lean_ctor_set(x_735, 1, x_733); -lean_ctor_set(x_735, 0, x_729); -x_739 = lean_array_push(x_8, x_735); -lean_ctor_set(x_731, 1, x_737); -lean_ctor_set(x_731, 0, x_739); -return x_731; +x_781 = lean_ctor_get(x_780, 1); +lean_inc(x_781); +if (lean_is_exclusive(x_780)) { + lean_ctor_release(x_780, 0); + lean_ctor_release(x_780, 1); + x_782 = x_780; +} else { + lean_dec_ref(x_780); + x_782 = lean_box(0); } -else -{ -lean_object* x_740; lean_object* x_741; lean_object* x_742; -x_740 = lean_ctor_get(x_735, 1); -lean_inc(x_740); -lean_dec(x_735); -x_741 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_741, 0, x_729); -lean_ctor_set(x_741, 1, x_733); -x_742 = lean_array_push(x_8, x_741); -lean_ctor_set(x_731, 1, x_740); -lean_ctor_set(x_731, 0, x_742); -return x_731; +if (lean_is_scalar(x_782)) { + x_783 = lean_alloc_ctor(0, 2, 0); +} else { + x_783 = x_782; +} +lean_ctor_set(x_783, 0, x_764); +lean_ctor_set(x_783, 1, x_778); +x_784 = lean_array_push(x_8, x_783); +x_785 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_785, 0, x_784); +lean_ctor_set(x_785, 1, x_781); +return x_785; } } else { -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; -x_743 = lean_ctor_get(x_731, 0); -x_744 = lean_ctor_get(x_731, 1); -lean_inc(x_744); -lean_inc(x_743); -lean_dec(x_731); -x_745 = l_Lean_Elab_Term_SavedState_restore(x_726, x_9, x_10, x_11, x_12, x_13, x_14, x_744); +lean_object* x_786; lean_object* x_787; +x_786 = lean_ctor_get(x_763, 0); +lean_inc(x_786); +x_787 = lean_ctor_get(x_763, 1); +lean_inc(x_787); +lean_dec(x_763); +x_731 = x_786; +x_732 = x_787; +goto block_762; +} +block_762: +{ +if (lean_obj_tag(x_731) == 0) +{ +lean_object* x_733; uint8_t x_734; +lean_dec(x_730); +x_733 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_732); +x_734 = !lean_is_exclusive(x_733); +if (x_734 == 0) +{ +lean_object* x_735; lean_object* x_736; lean_object* x_737; uint8_t x_738; +x_735 = lean_ctor_get(x_733, 0); +x_736 = lean_ctor_get(x_733, 1); +x_737 = l_Lean_Elab_Term_SavedState_restore(x_728, x_9, x_10, x_11, x_12, x_13, x_14, x_736); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_746 = lean_ctor_get(x_745, 1); +x_738 = !lean_is_exclusive(x_737); +if (x_738 == 0) +{ +lean_object* x_739; lean_object* x_740; lean_object* x_741; +x_739 = lean_ctor_get(x_737, 1); +x_740 = lean_ctor_get(x_737, 0); +lean_dec(x_740); +lean_ctor_set_tag(x_737, 1); +lean_ctor_set(x_737, 1, x_735); +lean_ctor_set(x_737, 0, x_731); +x_741 = lean_array_push(x_8, x_737); +lean_ctor_set(x_733, 1, x_739); +lean_ctor_set(x_733, 0, x_741); +return x_733; +} +else +{ +lean_object* x_742; lean_object* x_743; lean_object* x_744; +x_742 = lean_ctor_get(x_737, 1); +lean_inc(x_742); +lean_dec(x_737); +x_743 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_743, 0, x_731); +lean_ctor_set(x_743, 1, x_735); +x_744 = lean_array_push(x_8, x_743); +lean_ctor_set(x_733, 1, x_742); +lean_ctor_set(x_733, 0, x_744); +return x_733; +} +} +else +{ +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; +x_745 = lean_ctor_get(x_733, 0); +x_746 = lean_ctor_get(x_733, 1); lean_inc(x_746); -if (lean_is_exclusive(x_745)) { - lean_ctor_release(x_745, 0); - lean_ctor_release(x_745, 1); - x_747 = x_745; +lean_inc(x_745); +lean_dec(x_733); +x_747 = l_Lean_Elab_Term_SavedState_restore(x_728, x_9, x_10, x_11, x_12, x_13, x_14, x_746); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_748 = lean_ctor_get(x_747, 1); +lean_inc(x_748); +if (lean_is_exclusive(x_747)) { + lean_ctor_release(x_747, 0); + lean_ctor_release(x_747, 1); + x_749 = x_747; } else { - lean_dec_ref(x_745); - x_747 = lean_box(0); + lean_dec_ref(x_747); + x_749 = lean_box(0); } -if (lean_is_scalar(x_747)) { - x_748 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_749)) { + x_750 = lean_alloc_ctor(1, 2, 0); } else { - x_748 = x_747; - lean_ctor_set_tag(x_748, 1); + x_750 = x_749; + lean_ctor_set_tag(x_750, 1); } -lean_ctor_set(x_748, 0, x_729); -lean_ctor_set(x_748, 1, x_743); -x_749 = lean_array_push(x_8, x_748); -x_750 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_750, 0, x_749); -lean_ctor_set(x_750, 1, x_746); -return x_750; +lean_ctor_set(x_750, 0, x_731); +lean_ctor_set(x_750, 1, x_745); +x_751 = lean_array_push(x_8, x_750); +x_752 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_752, 0, x_751); +lean_ctor_set(x_752, 1, x_748); +return x_752; } } else { -lean_object* x_751; lean_object* x_752; uint8_t x_753; +lean_object* x_753; lean_object* x_754; uint8_t x_755; lean_dec(x_8); -x_751 = lean_ctor_get(x_729, 0); -lean_inc(x_751); -x_752 = l_Lean_Elab_postponeExceptionId; -x_753 = lean_nat_dec_eq(x_751, x_752); -lean_dec(x_751); -if (x_753 == 0) +x_753 = lean_ctor_get(x_731, 0); +lean_inc(x_753); +x_754 = l_Lean_Elab_postponeExceptionId; +x_755 = lean_nat_dec_eq(x_753, x_754); +lean_dec(x_753); +if (x_755 == 0) { -lean_object* x_754; -lean_dec(x_726); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_728)) { - x_754 = lean_alloc_ctor(1, 2, 0); -} else { - x_754 = x_728; - lean_ctor_set_tag(x_754, 1); -} -lean_ctor_set(x_754, 0, x_729); -lean_ctor_set(x_754, 1, x_730); -return x_754; -} -else -{ -lean_object* x_755; uint8_t x_756; +lean_object* x_756; lean_dec(x_728); -x_755 = l_Lean_Elab_Term_SavedState_restore(x_726, x_9, x_10, x_11, x_12, x_13, x_14, x_730); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_756 = !lean_is_exclusive(x_755); -if (x_756 == 0) +if (lean_is_scalar(x_730)) { + x_756 = lean_alloc_ctor(1, 2, 0); +} else { + x_756 = x_730; + lean_ctor_set_tag(x_756, 1); +} +lean_ctor_set(x_756, 0, x_731); +lean_ctor_set(x_756, 1, x_732); +return x_756; +} +else { -lean_object* x_757; -x_757 = lean_ctor_get(x_755, 0); +lean_object* x_757; uint8_t x_758; +lean_dec(x_730); +x_757 = l_Lean_Elab_Term_SavedState_restore(x_728, x_9, x_10, x_11, x_12, x_13, x_14, x_732); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_758 = !lean_is_exclusive(x_757); +if (x_758 == 0) +{ +lean_object* x_759; +x_759 = lean_ctor_get(x_757, 0); +lean_dec(x_759); +lean_ctor_set_tag(x_757, 1); +lean_ctor_set(x_757, 0, x_731); +return x_757; +} +else +{ +lean_object* x_760; lean_object* x_761; +x_760 = lean_ctor_get(x_757, 1); +lean_inc(x_760); lean_dec(x_757); -lean_ctor_set_tag(x_755, 1); -lean_ctor_set(x_755, 0, x_729); -return x_755; -} -else -{ -lean_object* x_758; lean_object* x_759; -x_758 = lean_ctor_get(x_755, 1); -lean_inc(x_758); -lean_dec(x_755); -x_759 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_759, 0, x_729); -lean_ctor_set(x_759, 1, x_758); -return x_759; +x_761 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_761, 0, x_731); +lean_ctor_set(x_761, 1, x_760); +return x_761; } } } @@ -17459,32 +17463,32 @@ return x_759; } else { -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_789 = lean_unsigned_to_nat(2u); -x_790 = l_Lean_Syntax_getArg(x_1, x_789); +lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; +x_791 = lean_unsigned_to_nat(2u); +x_792 = l_Lean_Syntax_getArg(x_1, x_791); lean_dec(x_1); -x_791 = l_Lean_Syntax_getArgs(x_790); -lean_dec(x_790); -x_792 = l_Array_empty___closed__1; -x_793 = l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(x_789, x_791, x_425, x_792); -lean_dec(x_791); -x_794 = l_Lean_Elab_Term_elabExplicitUnivs(x_793, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_793 = l_Lean_Syntax_getArgs(x_792); +lean_dec(x_792); +x_794 = l_Array_empty___closed__1; +x_795 = l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(x_791, x_793, x_426, x_794); lean_dec(x_793); -if (lean_obj_tag(x_794) == 0) +x_796 = l_Lean_Elab_Term_elabExplicitUnivs(x_795, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_795); +if (lean_obj_tag(x_796) == 0) { -lean_object* x_795; lean_object* x_796; lean_object* x_797; -x_795 = lean_ctor_get(x_794, 0); -lean_inc(x_795); -x_796 = lean_ctor_get(x_794, 1); -lean_inc(x_796); -lean_dec(x_794); -x_797 = l___private_Lean_Elab_App_21__elabAppFnId(x_426, x_795, 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, x_796); -return x_797; +lean_object* x_797; lean_object* x_798; lean_object* x_799; +x_797 = lean_ctor_get(x_796, 0); +lean_inc(x_797); +x_798 = lean_ctor_get(x_796, 1); +lean_inc(x_798); +lean_dec(x_796); +x_799 = l___private_Lean_Elab_App_21__elabAppFnId(x_427, x_797, 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, x_798); +return x_799; } else { -uint8_t x_798; -lean_dec(x_426); +uint8_t x_800; +lean_dec(x_427); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -17496,23 +17500,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_798 = !lean_is_exclusive(x_794); -if (x_798 == 0) +x_800 = !lean_is_exclusive(x_796); +if (x_800 == 0) { -return x_794; +return x_796; } else { -lean_object* x_799; lean_object* x_800; lean_object* x_801; -x_799 = lean_ctor_get(x_794, 0); -x_800 = lean_ctor_get(x_794, 1); -lean_inc(x_800); -lean_inc(x_799); -lean_dec(x_794); -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; +lean_object* x_801; lean_object* x_802; lean_object* x_803; +x_801 = lean_ctor_get(x_796, 0); +x_802 = lean_ctor_get(x_796, 1); +lean_inc(x_802); +lean_inc(x_801); +lean_dec(x_796); +x_803 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_803, 0, x_801); +lean_ctor_set(x_803, 1, x_802); +return x_803; } } } @@ -17521,55 +17525,55 @@ return x_801; } else { -lean_object* x_810; lean_object* x_811; -x_810 = lean_box(0); -x_811 = l___private_Lean_Elab_App_21__elabAppFnId(x_1, x_810, 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, x_15); -return x_811; +lean_object* x_812; lean_object* x_813; +x_812 = lean_box(0); +x_813 = l___private_Lean_Elab_App_21__elabAppFnId(x_1, x_812, 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, x_15); +return x_813; } } else { -lean_object* x_812; lean_object* x_813; lean_object* x_814; uint8_t x_815; -x_812 = lean_unsigned_to_nat(0u); -x_813 = l_Lean_Syntax_getArg(x_1, x_812); -x_814 = l_Lean_identKind___closed__2; -x_815 = l_Lean_Syntax_isOfKind(x_813, x_814); -if (x_815 == 0) +lean_object* x_814; lean_object* x_815; lean_object* x_816; uint8_t x_817; +x_814 = lean_unsigned_to_nat(0u); +x_815 = l_Lean_Syntax_getArg(x_1, x_814); +x_816 = l_Lean_identKind___closed__2; +x_817 = l_Lean_Syntax_isOfKind(x_815, x_816); +if (x_817 == 0) { -uint8_t x_816; uint8_t x_817; -x_816 = l_List_isEmpty___rarg(x_2); +uint8_t x_818; uint8_t x_819; +x_818 = l_List_isEmpty___rarg(x_2); if (x_7 == 0) { -uint8_t x_1175; -x_1175 = 1; -x_817 = x_1175; -goto block_1174; +uint8_t x_1178; +x_1178 = 1; +x_819 = x_1178; +goto block_1177; } else { -uint8_t x_1176; -x_1176 = 0; -x_817 = x_1176; -goto block_1174; +uint8_t x_1179; +x_1179 = 0; +x_819 = x_1179; +goto block_1177; } -block_1174: +block_1177: { -if (x_816 == 0) +if (x_818 == 0) { -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_855; lean_object* x_856; lean_object* x_878; -x_818 = lean_box(0); -x_819 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_820 = lean_ctor_get(x_819, 0); -lean_inc(x_820); -x_821 = lean_ctor_get(x_819, 1); -lean_inc(x_821); -if (lean_is_exclusive(x_819)) { - lean_ctor_release(x_819, 0); - lean_ctor_release(x_819, 1); - x_822 = 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_857; lean_object* x_858; lean_object* x_880; +x_820 = lean_box(0); +x_821 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_822 = lean_ctor_get(x_821, 0); +lean_inc(x_822); +x_823 = lean_ctor_get(x_821, 1); +lean_inc(x_823); +if (lean_is_exclusive(x_821)) { + lean_ctor_release(x_821, 0); + lean_ctor_release(x_821, 1); + x_824 = x_821; } else { - lean_dec_ref(x_819); - x_822 = lean_box(0); + lean_dec_ref(x_821); + x_824 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -17577,15 +17581,15 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_878 = l_Lean_Elab_Term_elabTerm(x_1, x_818, x_817, x_9, x_10, x_11, x_12, x_13, x_14, x_821); -if (lean_obj_tag(x_878) == 0) +x_880 = l_Lean_Elab_Term_elabTerm(x_1, x_820, x_819, x_9, x_10, x_11, x_12, x_13, x_14, x_823); +if (lean_obj_tag(x_880) == 0) { -lean_object* x_879; lean_object* x_880; lean_object* x_881; -x_879 = lean_ctor_get(x_878, 0); -lean_inc(x_879); -x_880 = lean_ctor_get(x_878, 1); -lean_inc(x_880); -lean_dec(x_878); +lean_object* x_881; lean_object* x_882; lean_object* x_883; +x_881 = lean_ctor_get(x_880, 0); +lean_inc(x_881); +x_882 = lean_ctor_get(x_880, 1); +lean_inc(x_882); +lean_dec(x_880); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -17593,354 +17597,354 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); -x_881 = l___private_Lean_Elab_App_20__elabAppLVals(x_879, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_880); -if (lean_obj_tag(x_881) == 0) +x_883 = l___private_Lean_Elab_App_20__elabAppLVals(x_881, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_882); +if (lean_obj_tag(x_883) == 0) { if (x_7 == 0) { -lean_object* x_882; lean_object* x_883; -lean_dec(x_822); +lean_object* x_884; lean_object* x_885; +lean_dec(x_824); lean_dec(x_5); -x_882 = lean_ctor_get(x_881, 0); -lean_inc(x_882); -x_883 = lean_ctor_get(x_881, 1); -lean_inc(x_883); -lean_dec(x_881); -x_855 = x_882; -x_856 = x_883; -goto block_877; +x_884 = lean_ctor_get(x_883, 0); +lean_inc(x_884); +x_885 = lean_ctor_get(x_883, 1); +lean_inc(x_885); +lean_dec(x_883); +x_857 = x_884; +x_858 = x_885; +goto block_879; } else { -lean_object* x_884; lean_object* x_885; lean_object* x_886; -x_884 = lean_ctor_get(x_881, 0); -lean_inc(x_884); -x_885 = lean_ctor_get(x_881, 1); -lean_inc(x_885); -lean_dec(x_881); +lean_object* x_886; lean_object* x_887; lean_object* x_888; +x_886 = lean_ctor_get(x_883, 0); +lean_inc(x_886); +x_887 = lean_ctor_get(x_883, 1); +lean_inc(x_887); +lean_dec(x_883); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_886 = l_Lean_Elab_Term_ensureHasType(x_5, x_884, x_9, x_10, x_11, x_12, x_13, x_14, x_885); -if (lean_obj_tag(x_886) == 0) -{ -lean_object* x_887; lean_object* x_888; -lean_dec(x_822); -x_887 = lean_ctor_get(x_886, 0); -lean_inc(x_887); -x_888 = lean_ctor_get(x_886, 1); -lean_inc(x_888); -lean_dec(x_886); -x_855 = x_887; -x_856 = x_888; -goto block_877; -} -else +x_888 = l_Lean_Elab_Term_ensureHasType(x_5, x_886, x_820, x_9, x_10, x_11, x_12, x_13, x_14, x_887); +if (lean_obj_tag(x_888) == 0) { lean_object* x_889; lean_object* x_890; -x_889 = lean_ctor_get(x_886, 0); +lean_dec(x_824); +x_889 = lean_ctor_get(x_888, 0); lean_inc(x_889); -x_890 = lean_ctor_get(x_886, 1); +x_890 = lean_ctor_get(x_888, 1); lean_inc(x_890); -lean_dec(x_886); -x_823 = x_889; -x_824 = x_890; -goto block_854; -} -} +lean_dec(x_888); +x_857 = x_889; +x_858 = x_890; +goto block_879; } else { lean_object* x_891; lean_object* x_892; -lean_dec(x_5); -x_891 = lean_ctor_get(x_881, 0); +x_891 = lean_ctor_get(x_888, 0); lean_inc(x_891); -x_892 = lean_ctor_get(x_881, 1); +x_892 = lean_ctor_get(x_888, 1); lean_inc(x_892); -lean_dec(x_881); -x_823 = x_891; -x_824 = x_892; -goto block_854; +lean_dec(x_888); +x_825 = x_891; +x_826 = x_892; +goto block_856; +} } } else { lean_object* x_893; lean_object* x_894; lean_dec(x_5); +x_893 = lean_ctor_get(x_883, 0); +lean_inc(x_893); +x_894 = lean_ctor_get(x_883, 1); +lean_inc(x_894); +lean_dec(x_883); +x_825 = x_893; +x_826 = x_894; +goto block_856; +} +} +else +{ +lean_object* x_895; lean_object* x_896; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_893 = lean_ctor_get(x_878, 0); -lean_inc(x_893); -x_894 = lean_ctor_get(x_878, 1); -lean_inc(x_894); -lean_dec(x_878); -x_823 = x_893; -x_824 = x_894; -goto block_854; +x_895 = lean_ctor_get(x_880, 0); +lean_inc(x_895); +x_896 = lean_ctor_get(x_880, 1); +lean_inc(x_896); +lean_dec(x_880); +x_825 = x_895; +x_826 = x_896; +goto block_856; } -block_854: +block_856: { -if (lean_obj_tag(x_823) == 0) +if (lean_obj_tag(x_825) == 0) { -lean_object* x_825; uint8_t x_826; -lean_dec(x_822); -x_825 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_824); -x_826 = !lean_is_exclusive(x_825); -if (x_826 == 0) +lean_object* x_827; uint8_t x_828; +lean_dec(x_824); +x_827 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_826); +x_828 = !lean_is_exclusive(x_827); +if (x_828 == 0) { -lean_object* x_827; lean_object* x_828; lean_object* x_829; uint8_t x_830; -x_827 = lean_ctor_get(x_825, 0); -x_828 = lean_ctor_get(x_825, 1); -x_829 = l_Lean_Elab_Term_SavedState_restore(x_820, x_9, x_10, x_11, x_12, x_13, x_14, x_828); +lean_object* x_829; lean_object* x_830; lean_object* x_831; uint8_t x_832; +x_829 = lean_ctor_get(x_827, 0); +x_830 = lean_ctor_get(x_827, 1); +x_831 = l_Lean_Elab_Term_SavedState_restore(x_822, x_9, x_10, x_11, x_12, x_13, x_14, x_830); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_830 = !lean_is_exclusive(x_829); -if (x_830 == 0) +x_832 = !lean_is_exclusive(x_831); +if (x_832 == 0) { -lean_object* x_831; lean_object* x_832; lean_object* x_833; -x_831 = lean_ctor_get(x_829, 1); -x_832 = lean_ctor_get(x_829, 0); -lean_dec(x_832); -lean_ctor_set_tag(x_829, 1); -lean_ctor_set(x_829, 1, x_827); -lean_ctor_set(x_829, 0, x_823); -x_833 = lean_array_push(x_8, x_829); -lean_ctor_set(x_825, 1, x_831); -lean_ctor_set(x_825, 0, x_833); -return x_825; +lean_object* x_833; lean_object* x_834; lean_object* x_835; +x_833 = lean_ctor_get(x_831, 1); +x_834 = lean_ctor_get(x_831, 0); +lean_dec(x_834); +lean_ctor_set_tag(x_831, 1); +lean_ctor_set(x_831, 1, x_829); +lean_ctor_set(x_831, 0, x_825); +x_835 = lean_array_push(x_8, x_831); +lean_ctor_set(x_827, 1, x_833); +lean_ctor_set(x_827, 0, x_835); +return x_827; } else { -lean_object* x_834; lean_object* x_835; lean_object* x_836; -x_834 = lean_ctor_get(x_829, 1); -lean_inc(x_834); -lean_dec(x_829); -x_835 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_835, 0, x_823); -lean_ctor_set(x_835, 1, x_827); -x_836 = lean_array_push(x_8, x_835); -lean_ctor_set(x_825, 1, x_834); -lean_ctor_set(x_825, 0, x_836); -return x_825; +lean_object* x_836; lean_object* x_837; lean_object* x_838; +x_836 = lean_ctor_get(x_831, 1); +lean_inc(x_836); +lean_dec(x_831); +x_837 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_837, 0, x_825); +lean_ctor_set(x_837, 1, x_829); +x_838 = lean_array_push(x_8, x_837); +lean_ctor_set(x_827, 1, x_836); +lean_ctor_set(x_827, 0, x_838); +return x_827; } } else { -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; -x_837 = lean_ctor_get(x_825, 0); -x_838 = lean_ctor_get(x_825, 1); -lean_inc(x_838); -lean_inc(x_837); -lean_dec(x_825); -x_839 = l_Lean_Elab_Term_SavedState_restore(x_820, x_9, x_10, x_11, x_12, x_13, x_14, x_838); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_840 = lean_ctor_get(x_839, 1); +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; +x_839 = lean_ctor_get(x_827, 0); +x_840 = lean_ctor_get(x_827, 1); lean_inc(x_840); -if (lean_is_exclusive(x_839)) { - lean_ctor_release(x_839, 0); - lean_ctor_release(x_839, 1); - x_841 = x_839; +lean_inc(x_839); +lean_dec(x_827); +x_841 = l_Lean_Elab_Term_SavedState_restore(x_822, x_9, x_10, x_11, x_12, x_13, x_14, x_840); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_842 = lean_ctor_get(x_841, 1); +lean_inc(x_842); +if (lean_is_exclusive(x_841)) { + lean_ctor_release(x_841, 0); + lean_ctor_release(x_841, 1); + x_843 = x_841; } else { - lean_dec_ref(x_839); - x_841 = lean_box(0); + lean_dec_ref(x_841); + x_843 = lean_box(0); } -if (lean_is_scalar(x_841)) { - x_842 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_843)) { + x_844 = lean_alloc_ctor(1, 2, 0); } else { - x_842 = x_841; - lean_ctor_set_tag(x_842, 1); + x_844 = x_843; + lean_ctor_set_tag(x_844, 1); } -lean_ctor_set(x_842, 0, x_823); -lean_ctor_set(x_842, 1, x_837); -x_843 = lean_array_push(x_8, x_842); -x_844 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_844, 0, x_843); -lean_ctor_set(x_844, 1, x_840); -return x_844; +lean_ctor_set(x_844, 0, x_825); +lean_ctor_set(x_844, 1, x_839); +x_845 = lean_array_push(x_8, x_844); +x_846 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_846, 0, x_845); +lean_ctor_set(x_846, 1, x_842); +return x_846; } } else { -lean_object* x_845; lean_object* x_846; uint8_t x_847; +lean_object* x_847; lean_object* x_848; uint8_t x_849; lean_dec(x_8); -x_845 = lean_ctor_get(x_823, 0); -lean_inc(x_845); -x_846 = l_Lean_Elab_postponeExceptionId; -x_847 = lean_nat_dec_eq(x_845, x_846); -lean_dec(x_845); -if (x_847 == 0) +x_847 = lean_ctor_get(x_825, 0); +lean_inc(x_847); +x_848 = l_Lean_Elab_postponeExceptionId; +x_849 = lean_nat_dec_eq(x_847, x_848); +lean_dec(x_847); +if (x_849 == 0) { -lean_object* x_848; -lean_dec(x_820); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_822)) { - x_848 = lean_alloc_ctor(1, 2, 0); -} else { - x_848 = x_822; - lean_ctor_set_tag(x_848, 1); -} -lean_ctor_set(x_848, 0, x_823); -lean_ctor_set(x_848, 1, x_824); -return x_848; -} -else -{ -lean_object* x_849; uint8_t x_850; +lean_object* x_850; lean_dec(x_822); -x_849 = l_Lean_Elab_Term_SavedState_restore(x_820, x_9, x_10, x_11, x_12, x_13, x_14, x_824); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_850 = !lean_is_exclusive(x_849); -if (x_850 == 0) +if (lean_is_scalar(x_824)) { + x_850 = lean_alloc_ctor(1, 2, 0); +} else { + x_850 = x_824; + lean_ctor_set_tag(x_850, 1); +} +lean_ctor_set(x_850, 0, x_825); +lean_ctor_set(x_850, 1, x_826); +return x_850; +} +else { -lean_object* x_851; -x_851 = lean_ctor_get(x_849, 0); +lean_object* x_851; uint8_t x_852; +lean_dec(x_824); +x_851 = l_Lean_Elab_Term_SavedState_restore(x_822, x_9, x_10, x_11, x_12, x_13, x_14, x_826); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_852 = !lean_is_exclusive(x_851); +if (x_852 == 0) +{ +lean_object* x_853; +x_853 = lean_ctor_get(x_851, 0); +lean_dec(x_853); +lean_ctor_set_tag(x_851, 1); +lean_ctor_set(x_851, 0, x_825); +return x_851; +} +else +{ +lean_object* x_854; lean_object* x_855; +x_854 = lean_ctor_get(x_851, 1); +lean_inc(x_854); lean_dec(x_851); -lean_ctor_set_tag(x_849, 1); -lean_ctor_set(x_849, 0, x_823); -return x_849; +x_855 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_855, 0, x_825); +lean_ctor_set(x_855, 1, x_854); +return x_855; } -else +} +} +} +block_879: { -lean_object* x_852; lean_object* x_853; -x_852 = lean_ctor_get(x_849, 1); -lean_inc(x_852); -lean_dec(x_849); -x_853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_853, 0, x_823); -lean_ctor_set(x_853, 1, x_852); -return x_853; -} -} -} -} -block_877: +lean_object* x_859; uint8_t x_860; +x_859 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_858); +x_860 = !lean_is_exclusive(x_859); +if (x_860 == 0) { -lean_object* x_857; uint8_t x_858; -x_857 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_856); -x_858 = !lean_is_exclusive(x_857); -if (x_858 == 0) -{ -lean_object* x_859; lean_object* x_860; lean_object* x_861; uint8_t x_862; -x_859 = lean_ctor_get(x_857, 0); -x_860 = lean_ctor_get(x_857, 1); -x_861 = l_Lean_Elab_Term_SavedState_restore(x_820, x_9, x_10, x_11, x_12, x_13, x_14, x_860); +lean_object* x_861; lean_object* x_862; lean_object* x_863; uint8_t x_864; +x_861 = lean_ctor_get(x_859, 0); +x_862 = lean_ctor_get(x_859, 1); +x_863 = l_Lean_Elab_Term_SavedState_restore(x_822, x_9, x_10, x_11, x_12, x_13, x_14, x_862); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_862 = !lean_is_exclusive(x_861); -if (x_862 == 0) +x_864 = !lean_is_exclusive(x_863); +if (x_864 == 0) { -lean_object* x_863; lean_object* x_864; lean_object* x_865; -x_863 = lean_ctor_get(x_861, 1); -x_864 = lean_ctor_get(x_861, 0); -lean_dec(x_864); -lean_ctor_set(x_861, 1, x_859); -lean_ctor_set(x_861, 0, x_855); -x_865 = lean_array_push(x_8, x_861); -lean_ctor_set(x_857, 1, x_863); -lean_ctor_set(x_857, 0, x_865); -return x_857; +lean_object* x_865; lean_object* x_866; lean_object* x_867; +x_865 = lean_ctor_get(x_863, 1); +x_866 = lean_ctor_get(x_863, 0); +lean_dec(x_866); +lean_ctor_set(x_863, 1, x_861); +lean_ctor_set(x_863, 0, x_857); +x_867 = lean_array_push(x_8, x_863); +lean_ctor_set(x_859, 1, x_865); +lean_ctor_set(x_859, 0, x_867); +return x_859; } else { -lean_object* x_866; lean_object* x_867; lean_object* x_868; -x_866 = lean_ctor_get(x_861, 1); -lean_inc(x_866); -lean_dec(x_861); -x_867 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_867, 0, x_855); -lean_ctor_set(x_867, 1, x_859); -x_868 = lean_array_push(x_8, x_867); -lean_ctor_set(x_857, 1, x_866); -lean_ctor_set(x_857, 0, x_868); -return x_857; +lean_object* x_868; lean_object* x_869; lean_object* x_870; +x_868 = lean_ctor_get(x_863, 1); +lean_inc(x_868); +lean_dec(x_863); +x_869 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_869, 0, x_857); +lean_ctor_set(x_869, 1, x_861); +x_870 = lean_array_push(x_8, x_869); +lean_ctor_set(x_859, 1, x_868); +lean_ctor_set(x_859, 0, x_870); +return x_859; } } else { -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_869 = lean_ctor_get(x_857, 0); -x_870 = lean_ctor_get(x_857, 1); -lean_inc(x_870); -lean_inc(x_869); -lean_dec(x_857); -x_871 = l_Lean_Elab_Term_SavedState_restore(x_820, x_9, x_10, x_11, x_12, x_13, x_14, x_870); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_872 = lean_ctor_get(x_871, 1); +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; +x_871 = lean_ctor_get(x_859, 0); +x_872 = lean_ctor_get(x_859, 1); lean_inc(x_872); -if (lean_is_exclusive(x_871)) { - lean_ctor_release(x_871, 0); - lean_ctor_release(x_871, 1); - x_873 = x_871; +lean_inc(x_871); +lean_dec(x_859); +x_873 = l_Lean_Elab_Term_SavedState_restore(x_822, x_9, x_10, x_11, x_12, x_13, x_14, x_872); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_874 = lean_ctor_get(x_873, 1); +lean_inc(x_874); +if (lean_is_exclusive(x_873)) { + lean_ctor_release(x_873, 0); + lean_ctor_release(x_873, 1); + x_875 = x_873; } else { - lean_dec_ref(x_871); - x_873 = lean_box(0); + lean_dec_ref(x_873); + x_875 = lean_box(0); } -if (lean_is_scalar(x_873)) { - x_874 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_875)) { + x_876 = lean_alloc_ctor(0, 2, 0); } else { - x_874 = x_873; + x_876 = x_875; } -lean_ctor_set(x_874, 0, x_855); -lean_ctor_set(x_874, 1, x_869); -x_875 = lean_array_push(x_8, x_874); -x_876 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_876, 0, x_875); -lean_ctor_set(x_876, 1, x_872); -return x_876; +lean_ctor_set(x_876, 0, x_857); +lean_ctor_set(x_876, 1, x_871); +x_877 = lean_array_push(x_8, x_876); +x_878 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_878, 0, x_877); +lean_ctor_set(x_878, 1, x_874); +return x_878; } } } else { -uint8_t x_895; -x_895 = l_Array_isEmpty___rarg(x_3); -if (x_895 == 0) +uint8_t x_897; +x_897 = l_Array_isEmpty___rarg(x_3); +if (x_897 == 0) { -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_933; lean_object* x_934; lean_object* x_956; -x_896 = lean_box(0); -x_897 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_898 = lean_ctor_get(x_897, 0); -lean_inc(x_898); -x_899 = lean_ctor_get(x_897, 1); -lean_inc(x_899); -if (lean_is_exclusive(x_897)) { - lean_ctor_release(x_897, 0); - lean_ctor_release(x_897, 1); - x_900 = 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_935; lean_object* x_936; lean_object* x_958; +x_898 = lean_box(0); +x_899 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_900 = lean_ctor_get(x_899, 0); +lean_inc(x_900); +x_901 = lean_ctor_get(x_899, 1); +lean_inc(x_901); +if (lean_is_exclusive(x_899)) { + lean_ctor_release(x_899, 0); + lean_ctor_release(x_899, 1); + x_902 = x_899; } else { - lean_dec_ref(x_897); - x_900 = lean_box(0); + lean_dec_ref(x_899); + x_902 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -17948,15 +17952,15 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_956 = l_Lean_Elab_Term_elabTerm(x_1, x_896, x_817, x_9, x_10, x_11, x_12, x_13, x_14, x_899); -if (lean_obj_tag(x_956) == 0) +x_958 = l_Lean_Elab_Term_elabTerm(x_1, x_898, x_819, x_9, x_10, x_11, x_12, x_13, x_14, x_901); +if (lean_obj_tag(x_958) == 0) { -lean_object* x_957; lean_object* x_958; lean_object* x_959; -x_957 = lean_ctor_get(x_956, 0); -lean_inc(x_957); -x_958 = lean_ctor_get(x_956, 1); -lean_inc(x_958); -lean_dec(x_956); +lean_object* x_959; lean_object* x_960; lean_object* x_961; +x_959 = lean_ctor_get(x_958, 0); +lean_inc(x_959); +x_960 = lean_ctor_get(x_958, 1); +lean_inc(x_960); +lean_dec(x_958); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -17964,354 +17968,354 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); -x_959 = l___private_Lean_Elab_App_20__elabAppLVals(x_957, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_958); -if (lean_obj_tag(x_959) == 0) +x_961 = l___private_Lean_Elab_App_20__elabAppLVals(x_959, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_960); +if (lean_obj_tag(x_961) == 0) { if (x_7 == 0) { -lean_object* x_960; lean_object* x_961; -lean_dec(x_900); +lean_object* x_962; lean_object* x_963; +lean_dec(x_902); lean_dec(x_5); -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_933 = x_960; -x_934 = x_961; -goto block_955; +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_935 = x_962; +x_936 = x_963; +goto block_957; } else { -lean_object* x_962; lean_object* x_963; lean_object* x_964; -x_962 = lean_ctor_get(x_959, 0); -lean_inc(x_962); -x_963 = lean_ctor_get(x_959, 1); -lean_inc(x_963); -lean_dec(x_959); +lean_object* x_964; lean_object* x_965; lean_object* x_966; +x_964 = lean_ctor_get(x_961, 0); +lean_inc(x_964); +x_965 = lean_ctor_get(x_961, 1); +lean_inc(x_965); +lean_dec(x_961); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_964 = l_Lean_Elab_Term_ensureHasType(x_5, x_962, x_9, x_10, x_11, x_12, x_13, x_14, x_963); -if (lean_obj_tag(x_964) == 0) -{ -lean_object* x_965; lean_object* x_966; -lean_dec(x_900); -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_933 = x_965; -x_934 = x_966; -goto block_955; -} -else +x_966 = l_Lean_Elab_Term_ensureHasType(x_5, x_964, x_898, x_9, x_10, x_11, x_12, x_13, x_14, x_965); +if (lean_obj_tag(x_966) == 0) { lean_object* x_967; lean_object* x_968; -x_967 = lean_ctor_get(x_964, 0); +lean_dec(x_902); +x_967 = lean_ctor_get(x_966, 0); lean_inc(x_967); -x_968 = lean_ctor_get(x_964, 1); +x_968 = lean_ctor_get(x_966, 1); lean_inc(x_968); -lean_dec(x_964); -x_901 = x_967; -x_902 = x_968; -goto block_932; -} -} +lean_dec(x_966); +x_935 = x_967; +x_936 = x_968; +goto block_957; } else { lean_object* x_969; lean_object* x_970; -lean_dec(x_5); -x_969 = lean_ctor_get(x_959, 0); +x_969 = lean_ctor_get(x_966, 0); lean_inc(x_969); -x_970 = lean_ctor_get(x_959, 1); +x_970 = lean_ctor_get(x_966, 1); lean_inc(x_970); -lean_dec(x_959); -x_901 = x_969; -x_902 = x_970; -goto block_932; +lean_dec(x_966); +x_903 = x_969; +x_904 = x_970; +goto block_934; +} } } else { lean_object* x_971; lean_object* x_972; lean_dec(x_5); +x_971 = lean_ctor_get(x_961, 0); +lean_inc(x_971); +x_972 = lean_ctor_get(x_961, 1); +lean_inc(x_972); +lean_dec(x_961); +x_903 = x_971; +x_904 = x_972; +goto block_934; +} +} +else +{ +lean_object* x_973; lean_object* x_974; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_971 = lean_ctor_get(x_956, 0); -lean_inc(x_971); -x_972 = lean_ctor_get(x_956, 1); -lean_inc(x_972); -lean_dec(x_956); -x_901 = x_971; -x_902 = x_972; -goto block_932; +x_973 = lean_ctor_get(x_958, 0); +lean_inc(x_973); +x_974 = lean_ctor_get(x_958, 1); +lean_inc(x_974); +lean_dec(x_958); +x_903 = x_973; +x_904 = x_974; +goto block_934; } -block_932: +block_934: { -if (lean_obj_tag(x_901) == 0) +if (lean_obj_tag(x_903) == 0) { -lean_object* x_903; uint8_t x_904; -lean_dec(x_900); -x_903 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_902); -x_904 = !lean_is_exclusive(x_903); -if (x_904 == 0) +lean_object* x_905; uint8_t x_906; +lean_dec(x_902); +x_905 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_904); +x_906 = !lean_is_exclusive(x_905); +if (x_906 == 0) { -lean_object* x_905; lean_object* x_906; lean_object* x_907; uint8_t x_908; -x_905 = lean_ctor_get(x_903, 0); -x_906 = lean_ctor_get(x_903, 1); -x_907 = l_Lean_Elab_Term_SavedState_restore(x_898, x_9, x_10, x_11, x_12, x_13, x_14, x_906); +lean_object* x_907; lean_object* x_908; lean_object* x_909; uint8_t x_910; +x_907 = lean_ctor_get(x_905, 0); +x_908 = lean_ctor_get(x_905, 1); +x_909 = l_Lean_Elab_Term_SavedState_restore(x_900, x_9, x_10, x_11, x_12, x_13, x_14, x_908); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_908 = !lean_is_exclusive(x_907); -if (x_908 == 0) +x_910 = !lean_is_exclusive(x_909); +if (x_910 == 0) { -lean_object* x_909; lean_object* x_910; lean_object* x_911; -x_909 = lean_ctor_get(x_907, 1); -x_910 = lean_ctor_get(x_907, 0); -lean_dec(x_910); -lean_ctor_set_tag(x_907, 1); -lean_ctor_set(x_907, 1, x_905); -lean_ctor_set(x_907, 0, x_901); -x_911 = lean_array_push(x_8, x_907); -lean_ctor_set(x_903, 1, x_909); -lean_ctor_set(x_903, 0, x_911); -return x_903; +lean_object* x_911; lean_object* x_912; lean_object* x_913; +x_911 = lean_ctor_get(x_909, 1); +x_912 = lean_ctor_get(x_909, 0); +lean_dec(x_912); +lean_ctor_set_tag(x_909, 1); +lean_ctor_set(x_909, 1, x_907); +lean_ctor_set(x_909, 0, x_903); +x_913 = lean_array_push(x_8, x_909); +lean_ctor_set(x_905, 1, x_911); +lean_ctor_set(x_905, 0, x_913); +return x_905; } else { -lean_object* x_912; lean_object* x_913; lean_object* x_914; -x_912 = lean_ctor_get(x_907, 1); -lean_inc(x_912); -lean_dec(x_907); -x_913 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_913, 0, x_901); -lean_ctor_set(x_913, 1, x_905); -x_914 = lean_array_push(x_8, x_913); -lean_ctor_set(x_903, 1, x_912); -lean_ctor_set(x_903, 0, x_914); -return x_903; +lean_object* x_914; lean_object* x_915; lean_object* x_916; +x_914 = lean_ctor_get(x_909, 1); +lean_inc(x_914); +lean_dec(x_909); +x_915 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_915, 0, x_903); +lean_ctor_set(x_915, 1, x_907); +x_916 = lean_array_push(x_8, x_915); +lean_ctor_set(x_905, 1, x_914); +lean_ctor_set(x_905, 0, x_916); +return x_905; } } else { -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; -x_915 = lean_ctor_get(x_903, 0); -x_916 = lean_ctor_get(x_903, 1); -lean_inc(x_916); -lean_inc(x_915); -lean_dec(x_903); -x_917 = l_Lean_Elab_Term_SavedState_restore(x_898, x_9, x_10, x_11, x_12, x_13, x_14, x_916); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_918 = lean_ctor_get(x_917, 1); +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; +x_917 = lean_ctor_get(x_905, 0); +x_918 = lean_ctor_get(x_905, 1); lean_inc(x_918); -if (lean_is_exclusive(x_917)) { - lean_ctor_release(x_917, 0); - lean_ctor_release(x_917, 1); - x_919 = x_917; +lean_inc(x_917); +lean_dec(x_905); +x_919 = l_Lean_Elab_Term_SavedState_restore(x_900, x_9, x_10, x_11, x_12, x_13, x_14, x_918); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_920 = lean_ctor_get(x_919, 1); +lean_inc(x_920); +if (lean_is_exclusive(x_919)) { + lean_ctor_release(x_919, 0); + lean_ctor_release(x_919, 1); + x_921 = x_919; } else { - lean_dec_ref(x_917); - x_919 = lean_box(0); + lean_dec_ref(x_919); + x_921 = lean_box(0); } -if (lean_is_scalar(x_919)) { - x_920 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_921)) { + x_922 = lean_alloc_ctor(1, 2, 0); } else { - x_920 = x_919; - lean_ctor_set_tag(x_920, 1); + x_922 = x_921; + lean_ctor_set_tag(x_922, 1); } -lean_ctor_set(x_920, 0, x_901); -lean_ctor_set(x_920, 1, x_915); -x_921 = lean_array_push(x_8, x_920); -x_922 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_922, 0, x_921); -lean_ctor_set(x_922, 1, x_918); -return x_922; +lean_ctor_set(x_922, 0, x_903); +lean_ctor_set(x_922, 1, x_917); +x_923 = lean_array_push(x_8, x_922); +x_924 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_924, 0, x_923); +lean_ctor_set(x_924, 1, x_920); +return x_924; } } else { -lean_object* x_923; lean_object* x_924; uint8_t x_925; +lean_object* x_925; lean_object* x_926; uint8_t x_927; lean_dec(x_8); -x_923 = lean_ctor_get(x_901, 0); -lean_inc(x_923); -x_924 = l_Lean_Elab_postponeExceptionId; -x_925 = lean_nat_dec_eq(x_923, x_924); -lean_dec(x_923); -if (x_925 == 0) +x_925 = lean_ctor_get(x_903, 0); +lean_inc(x_925); +x_926 = l_Lean_Elab_postponeExceptionId; +x_927 = lean_nat_dec_eq(x_925, x_926); +lean_dec(x_925); +if (x_927 == 0) { -lean_object* x_926; -lean_dec(x_898); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_900)) { - x_926 = lean_alloc_ctor(1, 2, 0); -} else { - x_926 = x_900; - lean_ctor_set_tag(x_926, 1); -} -lean_ctor_set(x_926, 0, x_901); -lean_ctor_set(x_926, 1, x_902); -return x_926; -} -else -{ -lean_object* x_927; uint8_t x_928; +lean_object* x_928; lean_dec(x_900); -x_927 = l_Lean_Elab_Term_SavedState_restore(x_898, x_9, x_10, x_11, x_12, x_13, x_14, x_902); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_928 = !lean_is_exclusive(x_927); -if (x_928 == 0) +if (lean_is_scalar(x_902)) { + x_928 = lean_alloc_ctor(1, 2, 0); +} else { + x_928 = x_902; + lean_ctor_set_tag(x_928, 1); +} +lean_ctor_set(x_928, 0, x_903); +lean_ctor_set(x_928, 1, x_904); +return x_928; +} +else { -lean_object* x_929; -x_929 = lean_ctor_get(x_927, 0); +lean_object* x_929; uint8_t x_930; +lean_dec(x_902); +x_929 = l_Lean_Elab_Term_SavedState_restore(x_900, x_9, x_10, x_11, x_12, x_13, x_14, x_904); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_930 = !lean_is_exclusive(x_929); +if (x_930 == 0) +{ +lean_object* x_931; +x_931 = lean_ctor_get(x_929, 0); +lean_dec(x_931); +lean_ctor_set_tag(x_929, 1); +lean_ctor_set(x_929, 0, x_903); +return x_929; +} +else +{ +lean_object* x_932; lean_object* x_933; +x_932 = lean_ctor_get(x_929, 1); +lean_inc(x_932); lean_dec(x_929); -lean_ctor_set_tag(x_927, 1); -lean_ctor_set(x_927, 0, x_901); -return x_927; +x_933 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_933, 0, x_903); +lean_ctor_set(x_933, 1, x_932); +return x_933; } -else +} +} +} +block_957: { -lean_object* x_930; lean_object* x_931; -x_930 = lean_ctor_get(x_927, 1); -lean_inc(x_930); -lean_dec(x_927); -x_931 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_931, 0, x_901); -lean_ctor_set(x_931, 1, x_930); -return x_931; -} -} -} -} -block_955: +lean_object* x_937; uint8_t x_938; +x_937 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_936); +x_938 = !lean_is_exclusive(x_937); +if (x_938 == 0) { -lean_object* x_935; uint8_t x_936; -x_935 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_934); -x_936 = !lean_is_exclusive(x_935); -if (x_936 == 0) -{ -lean_object* x_937; lean_object* x_938; lean_object* x_939; uint8_t x_940; -x_937 = lean_ctor_get(x_935, 0); -x_938 = lean_ctor_get(x_935, 1); -x_939 = l_Lean_Elab_Term_SavedState_restore(x_898, x_9, x_10, x_11, x_12, x_13, x_14, x_938); +lean_object* x_939; lean_object* x_940; lean_object* x_941; uint8_t x_942; +x_939 = lean_ctor_get(x_937, 0); +x_940 = lean_ctor_get(x_937, 1); +x_941 = l_Lean_Elab_Term_SavedState_restore(x_900, x_9, x_10, x_11, x_12, x_13, x_14, x_940); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_940 = !lean_is_exclusive(x_939); -if (x_940 == 0) +x_942 = !lean_is_exclusive(x_941); +if (x_942 == 0) { -lean_object* x_941; lean_object* x_942; lean_object* x_943; -x_941 = lean_ctor_get(x_939, 1); -x_942 = lean_ctor_get(x_939, 0); -lean_dec(x_942); -lean_ctor_set(x_939, 1, x_937); -lean_ctor_set(x_939, 0, x_933); -x_943 = lean_array_push(x_8, x_939); -lean_ctor_set(x_935, 1, x_941); -lean_ctor_set(x_935, 0, x_943); -return x_935; +lean_object* x_943; lean_object* x_944; lean_object* x_945; +x_943 = lean_ctor_get(x_941, 1); +x_944 = lean_ctor_get(x_941, 0); +lean_dec(x_944); +lean_ctor_set(x_941, 1, x_939); +lean_ctor_set(x_941, 0, x_935); +x_945 = lean_array_push(x_8, x_941); +lean_ctor_set(x_937, 1, x_943); +lean_ctor_set(x_937, 0, x_945); +return x_937; } else { -lean_object* x_944; lean_object* x_945; lean_object* x_946; -x_944 = lean_ctor_get(x_939, 1); -lean_inc(x_944); -lean_dec(x_939); -x_945 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_945, 0, x_933); -lean_ctor_set(x_945, 1, x_937); -x_946 = lean_array_push(x_8, x_945); -lean_ctor_set(x_935, 1, x_944); -lean_ctor_set(x_935, 0, x_946); -return x_935; +lean_object* x_946; lean_object* x_947; lean_object* x_948; +x_946 = lean_ctor_get(x_941, 1); +lean_inc(x_946); +lean_dec(x_941); +x_947 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_947, 0, x_935); +lean_ctor_set(x_947, 1, x_939); +x_948 = lean_array_push(x_8, x_947); +lean_ctor_set(x_937, 1, x_946); +lean_ctor_set(x_937, 0, x_948); +return x_937; } } else { -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; -x_947 = lean_ctor_get(x_935, 0); -x_948 = lean_ctor_get(x_935, 1); -lean_inc(x_948); -lean_inc(x_947); -lean_dec(x_935); -x_949 = l_Lean_Elab_Term_SavedState_restore(x_898, x_9, x_10, x_11, x_12, x_13, x_14, x_948); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_950 = lean_ctor_get(x_949, 1); +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; +x_949 = lean_ctor_get(x_937, 0); +x_950 = lean_ctor_get(x_937, 1); lean_inc(x_950); -if (lean_is_exclusive(x_949)) { - lean_ctor_release(x_949, 0); - lean_ctor_release(x_949, 1); - x_951 = x_949; +lean_inc(x_949); +lean_dec(x_937); +x_951 = l_Lean_Elab_Term_SavedState_restore(x_900, x_9, x_10, x_11, x_12, x_13, x_14, x_950); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_952 = lean_ctor_get(x_951, 1); +lean_inc(x_952); +if (lean_is_exclusive(x_951)) { + lean_ctor_release(x_951, 0); + lean_ctor_release(x_951, 1); + x_953 = x_951; } else { - lean_dec_ref(x_949); - x_951 = lean_box(0); + lean_dec_ref(x_951); + x_953 = lean_box(0); } -if (lean_is_scalar(x_951)) { - x_952 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_953)) { + x_954 = lean_alloc_ctor(0, 2, 0); } else { - x_952 = x_951; + x_954 = x_953; } -lean_ctor_set(x_952, 0, x_933); -lean_ctor_set(x_952, 1, x_947); -x_953 = lean_array_push(x_8, x_952); -x_954 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_954, 0, x_953); -lean_ctor_set(x_954, 1, x_950); -return x_954; +lean_ctor_set(x_954, 0, x_935); +lean_ctor_set(x_954, 1, x_949); +x_955 = lean_array_push(x_8, x_954); +x_956 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_956, 0, x_955); +lean_ctor_set(x_956, 1, x_952); +return x_956; } } } else { -uint8_t x_973; -x_973 = l_Array_isEmpty___rarg(x_4); -if (x_973 == 0) +uint8_t x_975; +x_975 = l_Array_isEmpty___rarg(x_4); +if (x_975 == 0) { -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_1011; lean_object* x_1012; lean_object* x_1034; -x_974 = lean_box(0); -x_975 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_976 = lean_ctor_get(x_975, 0); -lean_inc(x_976); -x_977 = lean_ctor_get(x_975, 1); -lean_inc(x_977); -if (lean_is_exclusive(x_975)) { - lean_ctor_release(x_975, 0); - lean_ctor_release(x_975, 1); - x_978 = 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_1013; lean_object* x_1014; lean_object* x_1036; +x_976 = lean_box(0); +x_977 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_978 = lean_ctor_get(x_977, 0); +lean_inc(x_978); +x_979 = lean_ctor_get(x_977, 1); +lean_inc(x_979); +if (lean_is_exclusive(x_977)) { + lean_ctor_release(x_977, 0); + lean_ctor_release(x_977, 1); + x_980 = x_977; } else { - lean_dec_ref(x_975); - x_978 = lean_box(0); + lean_dec_ref(x_977); + x_980 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -18319,15 +18323,15 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_1034 = l_Lean_Elab_Term_elabTerm(x_1, x_974, x_817, x_9, x_10, x_11, x_12, x_13, x_14, x_977); -if (lean_obj_tag(x_1034) == 0) +x_1036 = l_Lean_Elab_Term_elabTerm(x_1, x_976, x_819, x_9, x_10, x_11, x_12, x_13, x_14, x_979); +if (lean_obj_tag(x_1036) == 0) { -lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; -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); +lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; +x_1037 = lean_ctor_get(x_1036, 0); +lean_inc(x_1037); +x_1038 = lean_ctor_get(x_1036, 1); +lean_inc(x_1038); +lean_dec(x_1036); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -18335,331 +18339,331 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); -x_1037 = l___private_Lean_Elab_App_20__elabAppLVals(x_1035, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_1036); -if (lean_obj_tag(x_1037) == 0) +x_1039 = l___private_Lean_Elab_App_20__elabAppLVals(x_1037, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_1038); +if (lean_obj_tag(x_1039) == 0) { if (x_7 == 0) { -lean_object* x_1038; lean_object* x_1039; -lean_dec(x_978); +lean_object* x_1040; lean_object* x_1041; +lean_dec(x_980); lean_dec(x_5); -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_1011 = x_1038; -x_1012 = x_1039; -goto block_1033; +x_1040 = lean_ctor_get(x_1039, 0); +lean_inc(x_1040); +x_1041 = lean_ctor_get(x_1039, 1); +lean_inc(x_1041); +lean_dec(x_1039); +x_1013 = x_1040; +x_1014 = x_1041; +goto block_1035; } else { -lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; -x_1040 = lean_ctor_get(x_1037, 0); -lean_inc(x_1040); -x_1041 = lean_ctor_get(x_1037, 1); -lean_inc(x_1041); -lean_dec(x_1037); +lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; +x_1042 = lean_ctor_get(x_1039, 0); +lean_inc(x_1042); +x_1043 = lean_ctor_get(x_1039, 1); +lean_inc(x_1043); +lean_dec(x_1039); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_1042 = l_Lean_Elab_Term_ensureHasType(x_5, x_1040, x_9, x_10, x_11, x_12, x_13, x_14, x_1041); -if (lean_obj_tag(x_1042) == 0) -{ -lean_object* x_1043; lean_object* x_1044; -lean_dec(x_978); -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_1011 = x_1043; -x_1012 = x_1044; -goto block_1033; -} -else +x_1044 = l_Lean_Elab_Term_ensureHasType(x_5, x_1042, x_976, x_9, x_10, x_11, x_12, x_13, x_14, x_1043); +if (lean_obj_tag(x_1044) == 0) { lean_object* x_1045; lean_object* x_1046; -x_1045 = lean_ctor_get(x_1042, 0); +lean_dec(x_980); +x_1045 = lean_ctor_get(x_1044, 0); lean_inc(x_1045); -x_1046 = lean_ctor_get(x_1042, 1); +x_1046 = lean_ctor_get(x_1044, 1); lean_inc(x_1046); -lean_dec(x_1042); -x_979 = x_1045; -x_980 = x_1046; -goto block_1010; -} -} +lean_dec(x_1044); +x_1013 = x_1045; +x_1014 = x_1046; +goto block_1035; } else { lean_object* x_1047; lean_object* x_1048; -lean_dec(x_5); -x_1047 = lean_ctor_get(x_1037, 0); +x_1047 = lean_ctor_get(x_1044, 0); lean_inc(x_1047); -x_1048 = lean_ctor_get(x_1037, 1); +x_1048 = lean_ctor_get(x_1044, 1); lean_inc(x_1048); -lean_dec(x_1037); -x_979 = x_1047; -x_980 = x_1048; -goto block_1010; +lean_dec(x_1044); +x_981 = x_1047; +x_982 = x_1048; +goto block_1012; +} } } else { lean_object* x_1049; lean_object* x_1050; lean_dec(x_5); +x_1049 = lean_ctor_get(x_1039, 0); +lean_inc(x_1049); +x_1050 = lean_ctor_get(x_1039, 1); +lean_inc(x_1050); +lean_dec(x_1039); +x_981 = x_1049; +x_982 = x_1050; +goto block_1012; +} +} +else +{ +lean_object* x_1051; lean_object* x_1052; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1049 = lean_ctor_get(x_1034, 0); -lean_inc(x_1049); -x_1050 = lean_ctor_get(x_1034, 1); -lean_inc(x_1050); -lean_dec(x_1034); -x_979 = x_1049; -x_980 = x_1050; -goto block_1010; +x_1051 = lean_ctor_get(x_1036, 0); +lean_inc(x_1051); +x_1052 = lean_ctor_get(x_1036, 1); +lean_inc(x_1052); +lean_dec(x_1036); +x_981 = x_1051; +x_982 = x_1052; +goto block_1012; } -block_1010: +block_1012: { -if (lean_obj_tag(x_979) == 0) +if (lean_obj_tag(x_981) == 0) { -lean_object* x_981; uint8_t x_982; -lean_dec(x_978); -x_981 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_980); -x_982 = !lean_is_exclusive(x_981); -if (x_982 == 0) +lean_object* x_983; uint8_t x_984; +lean_dec(x_980); +x_983 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_982); +x_984 = !lean_is_exclusive(x_983); +if (x_984 == 0) { -lean_object* x_983; lean_object* x_984; lean_object* x_985; uint8_t x_986; -x_983 = lean_ctor_get(x_981, 0); -x_984 = lean_ctor_get(x_981, 1); -x_985 = l_Lean_Elab_Term_SavedState_restore(x_976, x_9, x_10, x_11, x_12, x_13, x_14, x_984); +lean_object* x_985; lean_object* x_986; lean_object* x_987; uint8_t x_988; +x_985 = lean_ctor_get(x_983, 0); +x_986 = lean_ctor_get(x_983, 1); +x_987 = l_Lean_Elab_Term_SavedState_restore(x_978, x_9, x_10, x_11, x_12, x_13, x_14, x_986); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_986 = !lean_is_exclusive(x_985); -if (x_986 == 0) +x_988 = !lean_is_exclusive(x_987); +if (x_988 == 0) { -lean_object* x_987; lean_object* x_988; lean_object* x_989; -x_987 = lean_ctor_get(x_985, 1); -x_988 = lean_ctor_get(x_985, 0); -lean_dec(x_988); -lean_ctor_set_tag(x_985, 1); -lean_ctor_set(x_985, 1, x_983); -lean_ctor_set(x_985, 0, x_979); -x_989 = lean_array_push(x_8, x_985); -lean_ctor_set(x_981, 1, x_987); -lean_ctor_set(x_981, 0, x_989); -return x_981; +lean_object* x_989; lean_object* x_990; lean_object* x_991; +x_989 = lean_ctor_get(x_987, 1); +x_990 = lean_ctor_get(x_987, 0); +lean_dec(x_990); +lean_ctor_set_tag(x_987, 1); +lean_ctor_set(x_987, 1, x_985); +lean_ctor_set(x_987, 0, x_981); +x_991 = lean_array_push(x_8, x_987); +lean_ctor_set(x_983, 1, x_989); +lean_ctor_set(x_983, 0, x_991); +return x_983; } else { -lean_object* x_990; lean_object* x_991; lean_object* x_992; -x_990 = lean_ctor_get(x_985, 1); -lean_inc(x_990); -lean_dec(x_985); -x_991 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_991, 0, x_979); -lean_ctor_set(x_991, 1, x_983); -x_992 = lean_array_push(x_8, x_991); -lean_ctor_set(x_981, 1, x_990); -lean_ctor_set(x_981, 0, x_992); -return x_981; +lean_object* x_992; lean_object* x_993; lean_object* x_994; +x_992 = lean_ctor_get(x_987, 1); +lean_inc(x_992); +lean_dec(x_987); +x_993 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_993, 0, x_981); +lean_ctor_set(x_993, 1, x_985); +x_994 = lean_array_push(x_8, x_993); +lean_ctor_set(x_983, 1, x_992); +lean_ctor_set(x_983, 0, x_994); +return x_983; } } else { -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; -x_993 = lean_ctor_get(x_981, 0); -x_994 = lean_ctor_get(x_981, 1); -lean_inc(x_994); -lean_inc(x_993); -lean_dec(x_981); -x_995 = l_Lean_Elab_Term_SavedState_restore(x_976, x_9, x_10, x_11, x_12, x_13, x_14, x_994); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_996 = lean_ctor_get(x_995, 1); +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; +x_995 = lean_ctor_get(x_983, 0); +x_996 = lean_ctor_get(x_983, 1); lean_inc(x_996); -if (lean_is_exclusive(x_995)) { - lean_ctor_release(x_995, 0); - lean_ctor_release(x_995, 1); - x_997 = x_995; +lean_inc(x_995); +lean_dec(x_983); +x_997 = l_Lean_Elab_Term_SavedState_restore(x_978, x_9, x_10, x_11, x_12, x_13, x_14, x_996); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_998 = lean_ctor_get(x_997, 1); +lean_inc(x_998); +if (lean_is_exclusive(x_997)) { + lean_ctor_release(x_997, 0); + lean_ctor_release(x_997, 1); + x_999 = x_997; } else { - lean_dec_ref(x_995); - x_997 = lean_box(0); + lean_dec_ref(x_997); + x_999 = lean_box(0); } -if (lean_is_scalar(x_997)) { - x_998 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_999)) { + x_1000 = lean_alloc_ctor(1, 2, 0); } else { - x_998 = x_997; - lean_ctor_set_tag(x_998, 1); + x_1000 = x_999; + lean_ctor_set_tag(x_1000, 1); } -lean_ctor_set(x_998, 0, x_979); -lean_ctor_set(x_998, 1, x_993); -x_999 = lean_array_push(x_8, x_998); -x_1000 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1000, 0, x_999); -lean_ctor_set(x_1000, 1, x_996); -return x_1000; +lean_ctor_set(x_1000, 0, x_981); +lean_ctor_set(x_1000, 1, x_995); +x_1001 = lean_array_push(x_8, x_1000); +x_1002 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1002, 0, x_1001); +lean_ctor_set(x_1002, 1, x_998); +return x_1002; } } else { -lean_object* x_1001; lean_object* x_1002; uint8_t x_1003; +lean_object* x_1003; lean_object* x_1004; uint8_t x_1005; lean_dec(x_8); -x_1001 = lean_ctor_get(x_979, 0); -lean_inc(x_1001); -x_1002 = l_Lean_Elab_postponeExceptionId; -x_1003 = lean_nat_dec_eq(x_1001, x_1002); -lean_dec(x_1001); -if (x_1003 == 0) +x_1003 = lean_ctor_get(x_981, 0); +lean_inc(x_1003); +x_1004 = l_Lean_Elab_postponeExceptionId; +x_1005 = lean_nat_dec_eq(x_1003, x_1004); +lean_dec(x_1003); +if (x_1005 == 0) { -lean_object* x_1004; -lean_dec(x_976); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_978)) { - x_1004 = lean_alloc_ctor(1, 2, 0); -} else { - x_1004 = x_978; - lean_ctor_set_tag(x_1004, 1); -} -lean_ctor_set(x_1004, 0, x_979); -lean_ctor_set(x_1004, 1, x_980); -return x_1004; -} -else -{ -lean_object* x_1005; uint8_t x_1006; +lean_object* x_1006; lean_dec(x_978); -x_1005 = l_Lean_Elab_Term_SavedState_restore(x_976, x_9, x_10, x_11, x_12, x_13, x_14, x_980); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1006 = !lean_is_exclusive(x_1005); -if (x_1006 == 0) +if (lean_is_scalar(x_980)) { + x_1006 = lean_alloc_ctor(1, 2, 0); +} else { + x_1006 = x_980; + lean_ctor_set_tag(x_1006, 1); +} +lean_ctor_set(x_1006, 0, x_981); +lean_ctor_set(x_1006, 1, x_982); +return x_1006; +} +else { -lean_object* x_1007; -x_1007 = lean_ctor_get(x_1005, 0); +lean_object* x_1007; uint8_t x_1008; +lean_dec(x_980); +x_1007 = l_Lean_Elab_Term_SavedState_restore(x_978, x_9, x_10, x_11, x_12, x_13, x_14, x_982); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1008 = !lean_is_exclusive(x_1007); +if (x_1008 == 0) +{ +lean_object* x_1009; +x_1009 = lean_ctor_get(x_1007, 0); +lean_dec(x_1009); +lean_ctor_set_tag(x_1007, 1); +lean_ctor_set(x_1007, 0, x_981); +return x_1007; +} +else +{ +lean_object* x_1010; lean_object* x_1011; +x_1010 = lean_ctor_get(x_1007, 1); +lean_inc(x_1010); lean_dec(x_1007); -lean_ctor_set_tag(x_1005, 1); -lean_ctor_set(x_1005, 0, x_979); -return x_1005; +x_1011 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1011, 0, x_981); +lean_ctor_set(x_1011, 1, x_1010); +return x_1011; } -else +} +} +} +block_1035: { -lean_object* x_1008; lean_object* x_1009; -x_1008 = lean_ctor_get(x_1005, 1); -lean_inc(x_1008); -lean_dec(x_1005); -x_1009 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1009, 0, x_979); -lean_ctor_set(x_1009, 1, x_1008); -return x_1009; -} -} -} -} -block_1033: +lean_object* x_1015; uint8_t x_1016; +x_1015 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1014); +x_1016 = !lean_is_exclusive(x_1015); +if (x_1016 == 0) { -lean_object* x_1013; uint8_t x_1014; -x_1013 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1012); -x_1014 = !lean_is_exclusive(x_1013); -if (x_1014 == 0) -{ -lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; uint8_t x_1018; -x_1015 = lean_ctor_get(x_1013, 0); -x_1016 = lean_ctor_get(x_1013, 1); -x_1017 = l_Lean_Elab_Term_SavedState_restore(x_976, x_9, x_10, x_11, x_12, x_13, x_14, x_1016); +lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; uint8_t x_1020; +x_1017 = lean_ctor_get(x_1015, 0); +x_1018 = lean_ctor_get(x_1015, 1); +x_1019 = l_Lean_Elab_Term_SavedState_restore(x_978, x_9, x_10, x_11, x_12, x_13, x_14, x_1018); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1018 = !lean_is_exclusive(x_1017); -if (x_1018 == 0) +x_1020 = !lean_is_exclusive(x_1019); +if (x_1020 == 0) { -lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; -x_1019 = lean_ctor_get(x_1017, 1); -x_1020 = lean_ctor_get(x_1017, 0); -lean_dec(x_1020); -lean_ctor_set(x_1017, 1, x_1015); -lean_ctor_set(x_1017, 0, x_1011); -x_1021 = lean_array_push(x_8, x_1017); -lean_ctor_set(x_1013, 1, x_1019); -lean_ctor_set(x_1013, 0, x_1021); -return x_1013; +lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; +x_1021 = lean_ctor_get(x_1019, 1); +x_1022 = lean_ctor_get(x_1019, 0); +lean_dec(x_1022); +lean_ctor_set(x_1019, 1, x_1017); +lean_ctor_set(x_1019, 0, x_1013); +x_1023 = lean_array_push(x_8, x_1019); +lean_ctor_set(x_1015, 1, x_1021); +lean_ctor_set(x_1015, 0, x_1023); +return x_1015; } else { -lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; -x_1022 = lean_ctor_get(x_1017, 1); -lean_inc(x_1022); -lean_dec(x_1017); -x_1023 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1023, 0, x_1011); -lean_ctor_set(x_1023, 1, x_1015); -x_1024 = lean_array_push(x_8, x_1023); -lean_ctor_set(x_1013, 1, x_1022); -lean_ctor_set(x_1013, 0, x_1024); -return x_1013; +lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; +x_1024 = lean_ctor_get(x_1019, 1); +lean_inc(x_1024); +lean_dec(x_1019); +x_1025 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1025, 0, x_1013); +lean_ctor_set(x_1025, 1, x_1017); +x_1026 = lean_array_push(x_8, x_1025); +lean_ctor_set(x_1015, 1, x_1024); +lean_ctor_set(x_1015, 0, x_1026); +return x_1015; } } else { -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; -x_1025 = lean_ctor_get(x_1013, 0); -x_1026 = lean_ctor_get(x_1013, 1); -lean_inc(x_1026); -lean_inc(x_1025); -lean_dec(x_1013); -x_1027 = l_Lean_Elab_Term_SavedState_restore(x_976, x_9, x_10, x_11, x_12, x_13, x_14, x_1026); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1028 = lean_ctor_get(x_1027, 1); +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; +x_1027 = lean_ctor_get(x_1015, 0); +x_1028 = lean_ctor_get(x_1015, 1); lean_inc(x_1028); -if (lean_is_exclusive(x_1027)) { - lean_ctor_release(x_1027, 0); - lean_ctor_release(x_1027, 1); - x_1029 = x_1027; +lean_inc(x_1027); +lean_dec(x_1015); +x_1029 = l_Lean_Elab_Term_SavedState_restore(x_978, x_9, x_10, x_11, x_12, x_13, x_14, x_1028); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1030 = lean_ctor_get(x_1029, 1); +lean_inc(x_1030); +if (lean_is_exclusive(x_1029)) { + lean_ctor_release(x_1029, 0); + lean_ctor_release(x_1029, 1); + x_1031 = x_1029; } else { - lean_dec_ref(x_1027); - x_1029 = lean_box(0); + lean_dec_ref(x_1029); + x_1031 = lean_box(0); } -if (lean_is_scalar(x_1029)) { - x_1030 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1031)) { + x_1032 = lean_alloc_ctor(0, 2, 0); } else { - x_1030 = x_1029; + x_1032 = x_1031; } -lean_ctor_set(x_1030, 0, x_1011); -lean_ctor_set(x_1030, 1, x_1025); -x_1031 = lean_array_push(x_8, x_1030); -x_1032 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1032, 0, x_1031); -lean_ctor_set(x_1032, 1, x_1028); -return x_1032; +lean_ctor_set(x_1032, 0, x_1013); +lean_ctor_set(x_1032, 1, x_1027); +x_1033 = lean_array_push(x_8, x_1032); +x_1034 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1034, 0, x_1033); +lean_ctor_set(x_1034, 1, x_1030); +return x_1034; } } } @@ -18670,301 +18674,302 @@ lean_dec(x_3); lean_dec(x_2); if (x_7 == 0) { -lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; uint8_t x_1087; lean_object* x_1088; -x_1051 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_1052 = lean_ctor_get(x_1051, 0); -lean_inc(x_1052); -x_1053 = lean_ctor_get(x_1051, 1); -lean_inc(x_1053); -if (lean_is_exclusive(x_1051)) { - lean_ctor_release(x_1051, 0); - lean_ctor_release(x_1051, 1); - x_1054 = x_1051; +lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; uint8_t x_1089; lean_object* x_1090; +x_1053 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_1054 = lean_ctor_get(x_1053, 0); +lean_inc(x_1054); +x_1055 = lean_ctor_get(x_1053, 1); +lean_inc(x_1055); +if (lean_is_exclusive(x_1053)) { + lean_ctor_release(x_1053, 0); + lean_ctor_release(x_1053, 1); + x_1056 = x_1053; } else { - lean_dec_ref(x_1051); - x_1054 = lean_box(0); + lean_dec_ref(x_1053); + x_1056 = lean_box(0); } -x_1087 = 1; +x_1089 = 1; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_1088 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_1087, x_9, x_10, x_11, x_12, x_13, x_14, x_1053); -if (lean_obj_tag(x_1088) == 0) +x_1090 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_1089, x_9, x_10, x_11, x_12, x_13, x_14, x_1055); +if (lean_obj_tag(x_1090) == 0) { -lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; uint8_t x_1092; -lean_dec(x_1054); -x_1089 = lean_ctor_get(x_1088, 0); -lean_inc(x_1089); -x_1090 = lean_ctor_get(x_1088, 1); -lean_inc(x_1090); -lean_dec(x_1088); -x_1091 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1090); -x_1092 = !lean_is_exclusive(x_1091); -if (x_1092 == 0) +lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; uint8_t x_1094; +lean_dec(x_1056); +x_1091 = lean_ctor_get(x_1090, 0); +lean_inc(x_1091); +x_1092 = lean_ctor_get(x_1090, 1); +lean_inc(x_1092); +lean_dec(x_1090); +x_1093 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1092); +x_1094 = !lean_is_exclusive(x_1093); +if (x_1094 == 0) { -lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; uint8_t x_1096; -x_1093 = lean_ctor_get(x_1091, 0); -x_1094 = lean_ctor_get(x_1091, 1); -x_1095 = l_Lean_Elab_Term_SavedState_restore(x_1052, x_9, x_10, x_11, x_12, x_13, x_14, x_1094); +lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; uint8_t x_1098; +x_1095 = lean_ctor_get(x_1093, 0); +x_1096 = lean_ctor_get(x_1093, 1); +x_1097 = l_Lean_Elab_Term_SavedState_restore(x_1054, x_9, x_10, x_11, x_12, x_13, x_14, x_1096); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1096 = !lean_is_exclusive(x_1095); -if (x_1096 == 0) +x_1098 = !lean_is_exclusive(x_1097); +if (x_1098 == 0) { -lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; -x_1097 = lean_ctor_get(x_1095, 1); -x_1098 = lean_ctor_get(x_1095, 0); -lean_dec(x_1098); -lean_ctor_set(x_1095, 1, x_1093); -lean_ctor_set(x_1095, 0, x_1089); -x_1099 = lean_array_push(x_8, x_1095); -lean_ctor_set(x_1091, 1, x_1097); -lean_ctor_set(x_1091, 0, x_1099); -return x_1091; +lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; +x_1099 = lean_ctor_get(x_1097, 1); +x_1100 = lean_ctor_get(x_1097, 0); +lean_dec(x_1100); +lean_ctor_set(x_1097, 1, x_1095); +lean_ctor_set(x_1097, 0, x_1091); +x_1101 = lean_array_push(x_8, x_1097); +lean_ctor_set(x_1093, 1, x_1099); +lean_ctor_set(x_1093, 0, x_1101); +return x_1093; } else { -lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; -x_1100 = lean_ctor_get(x_1095, 1); -lean_inc(x_1100); -lean_dec(x_1095); -x_1101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1101, 0, x_1089); -lean_ctor_set(x_1101, 1, x_1093); -x_1102 = lean_array_push(x_8, x_1101); -lean_ctor_set(x_1091, 1, x_1100); -lean_ctor_set(x_1091, 0, x_1102); -return x_1091; +lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; +x_1102 = lean_ctor_get(x_1097, 1); +lean_inc(x_1102); +lean_dec(x_1097); +x_1103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1103, 0, x_1091); +lean_ctor_set(x_1103, 1, x_1095); +x_1104 = lean_array_push(x_8, x_1103); +lean_ctor_set(x_1093, 1, x_1102); +lean_ctor_set(x_1093, 0, x_1104); +return x_1093; } } else { -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; -x_1103 = lean_ctor_get(x_1091, 0); -x_1104 = lean_ctor_get(x_1091, 1); -lean_inc(x_1104); -lean_inc(x_1103); -lean_dec(x_1091); -x_1105 = l_Lean_Elab_Term_SavedState_restore(x_1052, x_9, x_10, x_11, x_12, x_13, x_14, x_1104); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1106 = lean_ctor_get(x_1105, 1); +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; +x_1105 = lean_ctor_get(x_1093, 0); +x_1106 = lean_ctor_get(x_1093, 1); lean_inc(x_1106); -if (lean_is_exclusive(x_1105)) { - lean_ctor_release(x_1105, 0); - lean_ctor_release(x_1105, 1); - x_1107 = x_1105; -} else { - lean_dec_ref(x_1105); - x_1107 = lean_box(0); -} -if (lean_is_scalar(x_1107)) { - x_1108 = lean_alloc_ctor(0, 2, 0); -} else { - x_1108 = x_1107; -} -lean_ctor_set(x_1108, 0, x_1089); -lean_ctor_set(x_1108, 1, x_1103); -x_1109 = lean_array_push(x_8, x_1108); -x_1110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1110, 0, x_1109); -lean_ctor_set(x_1110, 1, x_1106); -return x_1110; -} -} -else -{ -lean_object* x_1111; lean_object* x_1112; -x_1111 = lean_ctor_get(x_1088, 0); -lean_inc(x_1111); -x_1112 = lean_ctor_get(x_1088, 1); -lean_inc(x_1112); -lean_dec(x_1088); -x_1055 = x_1111; -x_1056 = x_1112; -goto block_1086; -} -block_1086: -{ -if (lean_obj_tag(x_1055) == 0) -{ -lean_object* x_1057; uint8_t x_1058; -lean_dec(x_1054); -x_1057 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1056); -x_1058 = !lean_is_exclusive(x_1057); -if (x_1058 == 0) -{ -lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; uint8_t x_1062; -x_1059 = lean_ctor_get(x_1057, 0); -x_1060 = lean_ctor_get(x_1057, 1); -x_1061 = l_Lean_Elab_Term_SavedState_restore(x_1052, x_9, x_10, x_11, x_12, x_13, x_14, x_1060); +lean_inc(x_1105); +lean_dec(x_1093); +x_1107 = l_Lean_Elab_Term_SavedState_restore(x_1054, x_9, x_10, x_11, x_12, x_13, x_14, x_1106); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1062 = !lean_is_exclusive(x_1061); -if (x_1062 == 0) -{ -lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; -x_1063 = lean_ctor_get(x_1061, 1); -x_1064 = lean_ctor_get(x_1061, 0); -lean_dec(x_1064); -lean_ctor_set_tag(x_1061, 1); -lean_ctor_set(x_1061, 1, x_1059); -lean_ctor_set(x_1061, 0, x_1055); -x_1065 = lean_array_push(x_8, x_1061); -lean_ctor_set(x_1057, 1, x_1063); -lean_ctor_set(x_1057, 0, x_1065); -return x_1057; -} -else -{ -lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; -x_1066 = lean_ctor_get(x_1061, 1); -lean_inc(x_1066); -lean_dec(x_1061); -x_1067 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1067, 0, x_1055); -lean_ctor_set(x_1067, 1, x_1059); -x_1068 = lean_array_push(x_8, x_1067); -lean_ctor_set(x_1057, 1, x_1066); -lean_ctor_set(x_1057, 0, x_1068); -return x_1057; -} -} -else -{ -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; -x_1069 = lean_ctor_get(x_1057, 0); -x_1070 = lean_ctor_get(x_1057, 1); -lean_inc(x_1070); -lean_inc(x_1069); -lean_dec(x_1057); -x_1071 = l_Lean_Elab_Term_SavedState_restore(x_1052, x_9, x_10, x_11, x_12, x_13, x_14, x_1070); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1072 = lean_ctor_get(x_1071, 1); -lean_inc(x_1072); -if (lean_is_exclusive(x_1071)) { - lean_ctor_release(x_1071, 0); - lean_ctor_release(x_1071, 1); - x_1073 = x_1071; +x_1108 = lean_ctor_get(x_1107, 1); +lean_inc(x_1108); +if (lean_is_exclusive(x_1107)) { + lean_ctor_release(x_1107, 0); + lean_ctor_release(x_1107, 1); + x_1109 = x_1107; } else { - lean_dec_ref(x_1071); - x_1073 = lean_box(0); + lean_dec_ref(x_1107); + x_1109 = lean_box(0); } -if (lean_is_scalar(x_1073)) { - x_1074 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1109)) { + x_1110 = lean_alloc_ctor(0, 2, 0); } else { - x_1074 = x_1073; - lean_ctor_set_tag(x_1074, 1); + x_1110 = x_1109; } -lean_ctor_set(x_1074, 0, x_1055); -lean_ctor_set(x_1074, 1, x_1069); -x_1075 = lean_array_push(x_8, x_1074); -x_1076 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1076, 0, x_1075); -lean_ctor_set(x_1076, 1, x_1072); -return x_1076; +lean_ctor_set(x_1110, 0, x_1091); +lean_ctor_set(x_1110, 1, x_1105); +x_1111 = lean_array_push(x_8, x_1110); +x_1112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1112, 0, x_1111); +lean_ctor_set(x_1112, 1, x_1108); +return x_1112; } } else { -lean_object* x_1077; lean_object* x_1078; uint8_t x_1079; -lean_dec(x_8); -x_1077 = lean_ctor_get(x_1055, 0); -lean_inc(x_1077); -x_1078 = l_Lean_Elab_postponeExceptionId; -x_1079 = lean_nat_dec_eq(x_1077, x_1078); -lean_dec(x_1077); -if (x_1079 == 0) -{ -lean_object* x_1080; -lean_dec(x_1052); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_1054)) { - x_1080 = lean_alloc_ctor(1, 2, 0); -} else { - x_1080 = x_1054; - lean_ctor_set_tag(x_1080, 1); -} -lean_ctor_set(x_1080, 0, x_1055); -lean_ctor_set(x_1080, 1, x_1056); -return x_1080; -} -else -{ -lean_object* x_1081; uint8_t x_1082; -lean_dec(x_1054); -x_1081 = l_Lean_Elab_Term_SavedState_restore(x_1052, x_9, x_10, x_11, x_12, x_13, x_14, x_1056); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1082 = !lean_is_exclusive(x_1081); -if (x_1082 == 0) -{ -lean_object* x_1083; -x_1083 = lean_ctor_get(x_1081, 0); -lean_dec(x_1083); -lean_ctor_set_tag(x_1081, 1); -lean_ctor_set(x_1081, 0, x_1055); -return x_1081; -} -else -{ -lean_object* x_1084; lean_object* x_1085; -x_1084 = lean_ctor_get(x_1081, 1); -lean_inc(x_1084); -lean_dec(x_1081); -x_1085 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1085, 0, x_1055); -lean_ctor_set(x_1085, 1, x_1084); -return x_1085; -} -} -} -} -} -else -{ -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_1149; -x_1113 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_1114 = lean_ctor_get(x_1113, 0); +lean_object* x_1113; lean_object* x_1114; +x_1113 = lean_ctor_get(x_1090, 0); +lean_inc(x_1113); +x_1114 = lean_ctor_get(x_1090, 1); lean_inc(x_1114); -x_1115 = lean_ctor_get(x_1113, 1); -lean_inc(x_1115); -if (lean_is_exclusive(x_1113)) { - lean_ctor_release(x_1113, 0); - lean_ctor_release(x_1113, 1); - x_1116 = x_1113; +lean_dec(x_1090); +x_1057 = x_1113; +x_1058 = x_1114; +goto block_1088; +} +block_1088: +{ +if (lean_obj_tag(x_1057) == 0) +{ +lean_object* x_1059; uint8_t x_1060; +lean_dec(x_1056); +x_1059 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1058); +x_1060 = !lean_is_exclusive(x_1059); +if (x_1060 == 0) +{ +lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; uint8_t x_1064; +x_1061 = lean_ctor_get(x_1059, 0); +x_1062 = lean_ctor_get(x_1059, 1); +x_1063 = l_Lean_Elab_Term_SavedState_restore(x_1054, x_9, x_10, x_11, x_12, x_13, x_14, x_1062); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1064 = !lean_is_exclusive(x_1063); +if (x_1064 == 0) +{ +lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; +x_1065 = lean_ctor_get(x_1063, 1); +x_1066 = lean_ctor_get(x_1063, 0); +lean_dec(x_1066); +lean_ctor_set_tag(x_1063, 1); +lean_ctor_set(x_1063, 1, x_1061); +lean_ctor_set(x_1063, 0, x_1057); +x_1067 = lean_array_push(x_8, x_1063); +lean_ctor_set(x_1059, 1, x_1065); +lean_ctor_set(x_1059, 0, x_1067); +return x_1059; +} +else +{ +lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; +x_1068 = lean_ctor_get(x_1063, 1); +lean_inc(x_1068); +lean_dec(x_1063); +x_1069 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1069, 0, x_1057); +lean_ctor_set(x_1069, 1, x_1061); +x_1070 = lean_array_push(x_8, x_1069); +lean_ctor_set(x_1059, 1, x_1068); +lean_ctor_set(x_1059, 0, x_1070); +return x_1059; +} +} +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; +x_1071 = lean_ctor_get(x_1059, 0); +x_1072 = lean_ctor_get(x_1059, 1); +lean_inc(x_1072); +lean_inc(x_1071); +lean_dec(x_1059); +x_1073 = l_Lean_Elab_Term_SavedState_restore(x_1054, x_9, x_10, x_11, x_12, x_13, x_14, x_1072); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1074 = lean_ctor_get(x_1073, 1); +lean_inc(x_1074); +if (lean_is_exclusive(x_1073)) { + lean_ctor_release(x_1073, 0); + lean_ctor_release(x_1073, 1); + x_1075 = x_1073; } else { - lean_dec_ref(x_1113); - x_1116 = lean_box(0); + lean_dec_ref(x_1073); + x_1075 = lean_box(0); +} +if (lean_is_scalar(x_1075)) { + x_1076 = lean_alloc_ctor(1, 2, 0); +} else { + x_1076 = x_1075; + lean_ctor_set_tag(x_1076, 1); +} +lean_ctor_set(x_1076, 0, x_1057); +lean_ctor_set(x_1076, 1, x_1071); +x_1077 = lean_array_push(x_8, x_1076); +x_1078 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1078, 0, x_1077); +lean_ctor_set(x_1078, 1, x_1074); +return x_1078; +} +} +else +{ +lean_object* x_1079; lean_object* x_1080; uint8_t x_1081; +lean_dec(x_8); +x_1079 = lean_ctor_get(x_1057, 0); +lean_inc(x_1079); +x_1080 = l_Lean_Elab_postponeExceptionId; +x_1081 = lean_nat_dec_eq(x_1079, x_1080); +lean_dec(x_1079); +if (x_1081 == 0) +{ +lean_object* x_1082; +lean_dec(x_1054); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +if (lean_is_scalar(x_1056)) { + x_1082 = lean_alloc_ctor(1, 2, 0); +} else { + x_1082 = x_1056; + lean_ctor_set_tag(x_1082, 1); +} +lean_ctor_set(x_1082, 0, x_1057); +lean_ctor_set(x_1082, 1, x_1058); +return x_1082; +} +else +{ +lean_object* x_1083; uint8_t x_1084; +lean_dec(x_1056); +x_1083 = l_Lean_Elab_Term_SavedState_restore(x_1054, x_9, x_10, x_11, x_12, x_13, x_14, x_1058); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1084 = !lean_is_exclusive(x_1083); +if (x_1084 == 0) +{ +lean_object* x_1085; +x_1085 = lean_ctor_get(x_1083, 0); +lean_dec(x_1085); +lean_ctor_set_tag(x_1083, 1); +lean_ctor_set(x_1083, 0, x_1057); +return x_1083; +} +else +{ +lean_object* x_1086; lean_object* x_1087; +x_1086 = lean_ctor_get(x_1083, 1); +lean_inc(x_1086); +lean_dec(x_1083); +x_1087 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1087, 0, x_1057); +lean_ctor_set(x_1087, 1, x_1086); +return x_1087; +} +} +} +} +} +else +{ +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_1152; +x_1115 = lean_box(0); +x_1116 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_1117 = lean_ctor_get(x_1116, 0); +lean_inc(x_1117); +x_1118 = lean_ctor_get(x_1116, 1); +lean_inc(x_1118); +if (lean_is_exclusive(x_1116)) { + lean_ctor_release(x_1116, 0); + lean_ctor_release(x_1116, 1); + x_1119 = x_1116; +} else { + lean_dec_ref(x_1116); + x_1119 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -18972,260 +18977,260 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_1149 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_817, x_9, x_10, x_11, x_12, x_13, x_14, x_1115); -if (lean_obj_tag(x_1149) == 0) +x_1152 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_819, x_1115, x_9, x_10, x_11, x_12, x_13, x_14, x_1118); +if (lean_obj_tag(x_1152) == 0) { -lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; uint8_t x_1153; -lean_dec(x_1116); -x_1150 = lean_ctor_get(x_1149, 0); -lean_inc(x_1150); -x_1151 = lean_ctor_get(x_1149, 1); -lean_inc(x_1151); -lean_dec(x_1149); -x_1152 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1151); -x_1153 = !lean_is_exclusive(x_1152); -if (x_1153 == 0) +lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; uint8_t x_1156; +lean_dec(x_1119); +x_1153 = lean_ctor_get(x_1152, 0); +lean_inc(x_1153); +x_1154 = lean_ctor_get(x_1152, 1); +lean_inc(x_1154); +lean_dec(x_1152); +x_1155 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1154); +x_1156 = !lean_is_exclusive(x_1155); +if (x_1156 == 0) { -lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; uint8_t x_1157; -x_1154 = lean_ctor_get(x_1152, 0); -x_1155 = lean_ctor_get(x_1152, 1); -x_1156 = l_Lean_Elab_Term_SavedState_restore(x_1114, x_9, x_10, x_11, x_12, x_13, x_14, x_1155); +lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; uint8_t x_1160; +x_1157 = lean_ctor_get(x_1155, 0); +x_1158 = lean_ctor_get(x_1155, 1); +x_1159 = l_Lean_Elab_Term_SavedState_restore(x_1117, x_9, x_10, x_11, x_12, x_13, x_14, x_1158); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1157 = !lean_is_exclusive(x_1156); -if (x_1157 == 0) -{ -lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; -x_1158 = lean_ctor_get(x_1156, 1); -x_1159 = lean_ctor_get(x_1156, 0); -lean_dec(x_1159); -lean_ctor_set(x_1156, 1, x_1154); -lean_ctor_set(x_1156, 0, x_1150); -x_1160 = lean_array_push(x_8, x_1156); -lean_ctor_set(x_1152, 1, x_1158); -lean_ctor_set(x_1152, 0, x_1160); -return x_1152; -} -else +x_1160 = !lean_is_exclusive(x_1159); +if (x_1160 == 0) { lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; -x_1161 = lean_ctor_get(x_1156, 1); -lean_inc(x_1161); -lean_dec(x_1156); -x_1162 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1162, 0, x_1150); -lean_ctor_set(x_1162, 1, x_1154); -x_1163 = lean_array_push(x_8, x_1162); -lean_ctor_set(x_1152, 1, x_1161); -lean_ctor_set(x_1152, 0, x_1163); -return x_1152; -} +x_1161 = lean_ctor_get(x_1159, 1); +x_1162 = lean_ctor_get(x_1159, 0); +lean_dec(x_1162); +lean_ctor_set(x_1159, 1, x_1157); +lean_ctor_set(x_1159, 0, x_1153); +x_1163 = lean_array_push(x_8, x_1159); +lean_ctor_set(x_1155, 1, x_1161); +lean_ctor_set(x_1155, 0, x_1163); +return x_1155; } else { -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; -x_1164 = lean_ctor_get(x_1152, 0); -x_1165 = lean_ctor_get(x_1152, 1); -lean_inc(x_1165); +lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; +x_1164 = lean_ctor_get(x_1159, 1); lean_inc(x_1164); -lean_dec(x_1152); -x_1166 = l_Lean_Elab_Term_SavedState_restore(x_1114, x_9, x_10, x_11, x_12, x_13, x_14, x_1165); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1167 = lean_ctor_get(x_1166, 1); +lean_dec(x_1159); +x_1165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1165, 0, x_1153); +lean_ctor_set(x_1165, 1, x_1157); +x_1166 = lean_array_push(x_8, x_1165); +lean_ctor_set(x_1155, 1, x_1164); +lean_ctor_set(x_1155, 0, x_1166); +return x_1155; +} +} +else +{ +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_object* x_1174; +x_1167 = lean_ctor_get(x_1155, 0); +x_1168 = lean_ctor_get(x_1155, 1); +lean_inc(x_1168); lean_inc(x_1167); -if (lean_is_exclusive(x_1166)) { - lean_ctor_release(x_1166, 0); - lean_ctor_release(x_1166, 1); - x_1168 = x_1166; -} else { - lean_dec_ref(x_1166); - x_1168 = lean_box(0); -} -if (lean_is_scalar(x_1168)) { - x_1169 = lean_alloc_ctor(0, 2, 0); -} else { - x_1169 = x_1168; -} -lean_ctor_set(x_1169, 0, x_1150); -lean_ctor_set(x_1169, 1, x_1164); -x_1170 = lean_array_push(x_8, x_1169); -x_1171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1171, 0, x_1170); -lean_ctor_set(x_1171, 1, x_1167); -return x_1171; -} -} -else -{ -lean_object* x_1172; lean_object* x_1173; -x_1172 = lean_ctor_get(x_1149, 0); -lean_inc(x_1172); -x_1173 = lean_ctor_get(x_1149, 1); -lean_inc(x_1173); -lean_dec(x_1149); -x_1117 = x_1172; -x_1118 = x_1173; -goto block_1148; -} -block_1148: -{ -if (lean_obj_tag(x_1117) == 0) -{ -lean_object* x_1119; uint8_t x_1120; -lean_dec(x_1116); -x_1119 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1118); -x_1120 = !lean_is_exclusive(x_1119); -if (x_1120 == 0) -{ -lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; uint8_t x_1124; -x_1121 = lean_ctor_get(x_1119, 0); -x_1122 = lean_ctor_get(x_1119, 1); -x_1123 = l_Lean_Elab_Term_SavedState_restore(x_1114, x_9, x_10, x_11, x_12, x_13, x_14, x_1122); +lean_dec(x_1155); +x_1169 = l_Lean_Elab_Term_SavedState_restore(x_1117, x_9, x_10, x_11, x_12, x_13, x_14, x_1168); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1124 = !lean_is_exclusive(x_1123); -if (x_1124 == 0) -{ -lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; -x_1125 = lean_ctor_get(x_1123, 1); -x_1126 = lean_ctor_get(x_1123, 0); -lean_dec(x_1126); -lean_ctor_set_tag(x_1123, 1); -lean_ctor_set(x_1123, 1, x_1121); -lean_ctor_set(x_1123, 0, x_1117); -x_1127 = lean_array_push(x_8, x_1123); -lean_ctor_set(x_1119, 1, x_1125); -lean_ctor_set(x_1119, 0, x_1127); -return x_1119; +x_1170 = lean_ctor_get(x_1169, 1); +lean_inc(x_1170); +if (lean_is_exclusive(x_1169)) { + lean_ctor_release(x_1169, 0); + lean_ctor_release(x_1169, 1); + x_1171 = x_1169; +} else { + lean_dec_ref(x_1169); + x_1171 = lean_box(0); +} +if (lean_is_scalar(x_1171)) { + x_1172 = lean_alloc_ctor(0, 2, 0); +} else { + x_1172 = x_1171; +} +lean_ctor_set(x_1172, 0, x_1153); +lean_ctor_set(x_1172, 1, x_1167); +x_1173 = lean_array_push(x_8, x_1172); +x_1174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1174, 0, x_1173); +lean_ctor_set(x_1174, 1, x_1170); +return x_1174; +} } else { +lean_object* x_1175; lean_object* x_1176; +x_1175 = lean_ctor_get(x_1152, 0); +lean_inc(x_1175); +x_1176 = lean_ctor_get(x_1152, 1); +lean_inc(x_1176); +lean_dec(x_1152); +x_1120 = x_1175; +x_1121 = x_1176; +goto block_1151; +} +block_1151: +{ +if (lean_obj_tag(x_1120) == 0) +{ +lean_object* x_1122; uint8_t x_1123; +lean_dec(x_1119); +x_1122 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1121); +x_1123 = !lean_is_exclusive(x_1122); +if (x_1123 == 0) +{ +lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; uint8_t x_1127; +x_1124 = lean_ctor_get(x_1122, 0); +x_1125 = lean_ctor_get(x_1122, 1); +x_1126 = l_Lean_Elab_Term_SavedState_restore(x_1117, x_9, x_10, x_11, x_12, x_13, x_14, x_1125); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1127 = !lean_is_exclusive(x_1126); +if (x_1127 == 0) +{ lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; -x_1128 = lean_ctor_get(x_1123, 1); -lean_inc(x_1128); -lean_dec(x_1123); -x_1129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1129, 0, x_1117); -lean_ctor_set(x_1129, 1, x_1121); -x_1130 = lean_array_push(x_8, x_1129); -lean_ctor_set(x_1119, 1, x_1128); -lean_ctor_set(x_1119, 0, x_1130); -return x_1119; -} +x_1128 = lean_ctor_get(x_1126, 1); +x_1129 = lean_ctor_get(x_1126, 0); +lean_dec(x_1129); +lean_ctor_set_tag(x_1126, 1); +lean_ctor_set(x_1126, 1, x_1124); +lean_ctor_set(x_1126, 0, x_1120); +x_1130 = lean_array_push(x_8, x_1126); +lean_ctor_set(x_1122, 1, x_1128); +lean_ctor_set(x_1122, 0, x_1130); +return x_1122; } else { -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; -x_1131 = lean_ctor_get(x_1119, 0); -x_1132 = lean_ctor_get(x_1119, 1); -lean_inc(x_1132); +lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; +x_1131 = lean_ctor_get(x_1126, 1); lean_inc(x_1131); -lean_dec(x_1119); -x_1133 = l_Lean_Elab_Term_SavedState_restore(x_1114, x_9, x_10, x_11, x_12, x_13, x_14, x_1132); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1134 = lean_ctor_get(x_1133, 1); +lean_dec(x_1126); +x_1132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1132, 0, x_1120); +lean_ctor_set(x_1132, 1, x_1124); +x_1133 = lean_array_push(x_8, x_1132); +lean_ctor_set(x_1122, 1, x_1131); +lean_ctor_set(x_1122, 0, x_1133); +return x_1122; +} +} +else +{ +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; +x_1134 = lean_ctor_get(x_1122, 0); +x_1135 = lean_ctor_get(x_1122, 1); +lean_inc(x_1135); lean_inc(x_1134); -if (lean_is_exclusive(x_1133)) { - lean_ctor_release(x_1133, 0); - lean_ctor_release(x_1133, 1); - x_1135 = x_1133; +lean_dec(x_1122); +x_1136 = l_Lean_Elab_Term_SavedState_restore(x_1117, x_9, x_10, x_11, x_12, x_13, x_14, x_1135); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1137 = lean_ctor_get(x_1136, 1); +lean_inc(x_1137); +if (lean_is_exclusive(x_1136)) { + lean_ctor_release(x_1136, 0); + lean_ctor_release(x_1136, 1); + x_1138 = x_1136; } else { - lean_dec_ref(x_1133); - x_1135 = lean_box(0); + lean_dec_ref(x_1136); + x_1138 = lean_box(0); } -if (lean_is_scalar(x_1135)) { - x_1136 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1138)) { + x_1139 = lean_alloc_ctor(1, 2, 0); } else { - x_1136 = x_1135; - lean_ctor_set_tag(x_1136, 1); + x_1139 = x_1138; + lean_ctor_set_tag(x_1139, 1); } -lean_ctor_set(x_1136, 0, x_1117); -lean_ctor_set(x_1136, 1, x_1131); -x_1137 = lean_array_push(x_8, x_1136); -x_1138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1138, 0, x_1137); -lean_ctor_set(x_1138, 1, x_1134); -return x_1138; +lean_ctor_set(x_1139, 0, x_1120); +lean_ctor_set(x_1139, 1, x_1134); +x_1140 = lean_array_push(x_8, x_1139); +x_1141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1141, 0, x_1140); +lean_ctor_set(x_1141, 1, x_1137); +return x_1141; } } else { -lean_object* x_1139; lean_object* x_1140; uint8_t x_1141; +lean_object* x_1142; lean_object* x_1143; uint8_t x_1144; lean_dec(x_8); -x_1139 = lean_ctor_get(x_1117, 0); -lean_inc(x_1139); -x_1140 = l_Lean_Elab_postponeExceptionId; -x_1141 = lean_nat_dec_eq(x_1139, x_1140); -lean_dec(x_1139); -if (x_1141 == 0) -{ -lean_object* x_1142; -lean_dec(x_1114); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_1116)) { - x_1142 = lean_alloc_ctor(1, 2, 0); -} else { - x_1142 = x_1116; - lean_ctor_set_tag(x_1142, 1); -} -lean_ctor_set(x_1142, 0, x_1117); -lean_ctor_set(x_1142, 1, x_1118); -return x_1142; -} -else -{ -lean_object* x_1143; uint8_t x_1144; -lean_dec(x_1116); -x_1143 = l_Lean_Elab_Term_SavedState_restore(x_1114, x_9, x_10, x_11, x_12, x_13, x_14, x_1118); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1144 = !lean_is_exclusive(x_1143); +x_1142 = lean_ctor_get(x_1120, 0); +lean_inc(x_1142); +x_1143 = l_Lean_Elab_postponeExceptionId; +x_1144 = lean_nat_dec_eq(x_1142, x_1143); +lean_dec(x_1142); if (x_1144 == 0) { lean_object* x_1145; -x_1145 = lean_ctor_get(x_1143, 0); -lean_dec(x_1145); -lean_ctor_set_tag(x_1143, 1); -lean_ctor_set(x_1143, 0, x_1117); -return x_1143; +lean_dec(x_1117); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +if (lean_is_scalar(x_1119)) { + x_1145 = lean_alloc_ctor(1, 2, 0); +} else { + x_1145 = x_1119; + lean_ctor_set_tag(x_1145, 1); +} +lean_ctor_set(x_1145, 0, x_1120); +lean_ctor_set(x_1145, 1, x_1121); +return x_1145; } else { -lean_object* x_1146; lean_object* x_1147; -x_1146 = lean_ctor_get(x_1143, 1); -lean_inc(x_1146); -lean_dec(x_1143); -x_1147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1147, 0, x_1117); -lean_ctor_set(x_1147, 1, x_1146); -return x_1147; +lean_object* x_1146; uint8_t x_1147; +lean_dec(x_1119); +x_1146 = l_Lean_Elab_Term_SavedState_restore(x_1117, x_9, x_10, x_11, x_12, x_13, x_14, x_1121); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1147 = !lean_is_exclusive(x_1146); +if (x_1147 == 0) +{ +lean_object* x_1148; +x_1148 = lean_ctor_get(x_1146, 0); +lean_dec(x_1148); +lean_ctor_set_tag(x_1146, 1); +lean_ctor_set(x_1146, 0, x_1120); +return x_1146; +} +else +{ +lean_object* x_1149; lean_object* x_1150; +x_1149 = lean_ctor_get(x_1146, 1); +lean_inc(x_1149); +lean_dec(x_1146); +x_1150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1150, 0, x_1120); +lean_ctor_set(x_1150, 1, x_1149); +return x_1150; } } } @@ -19238,164 +19243,164 @@ return x_1147; } else { -lean_object* x_1177; lean_object* x_1178; +lean_object* x_1180; lean_object* x_1181; lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1177 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__8; -x_1178 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1177, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_1180 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__8; +x_1181 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1180, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_1178; +return x_1181; } } } -block_1593: +block_1597: { -if (x_1180 == 0) +if (x_1183 == 0) { -lean_object* x_1181; uint8_t x_1182; -x_1181 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__10; +lean_object* x_1184; uint8_t x_1185; +x_1184 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__10; lean_inc(x_1); -x_1182 = l_Lean_Syntax_isOfKind(x_1, x_1181); -if (x_1182 == 0) +x_1185 = l_Lean_Syntax_isOfKind(x_1, x_1184); +if (x_1185 == 0) { -lean_object* x_1183; uint8_t x_1184; -x_1183 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__12; +lean_object* x_1186; uint8_t x_1187; +x_1186 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__12; lean_inc(x_1); -x_1184 = l_Lean_Syntax_isOfKind(x_1, x_1183); -if (x_1184 == 0) +x_1187 = l_Lean_Syntax_isOfKind(x_1, x_1186); +if (x_1187 == 0) { -uint8_t x_1185; -x_1185 = 0; -x_384 = x_1185; -goto block_1179; +uint8_t x_1188; +x_1188 = 0; +x_385 = x_1188; +goto block_1182; } else { -lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; uint8_t x_1189; -x_1186 = l_Lean_Syntax_getArgs(x_1); -x_1187 = lean_array_get_size(x_1186); -lean_dec(x_1186); -x_1188 = lean_unsigned_to_nat(3u); -x_1189 = lean_nat_dec_eq(x_1187, x_1188); -lean_dec(x_1187); -x_384 = x_1189; -goto block_1179; -} -} -else -{ -lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; uint8_t x_1193; -x_1190 = l_Lean_Syntax_getArgs(x_1); -x_1191 = lean_array_get_size(x_1190); +lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; uint8_t x_1192; +x_1189 = l_Lean_Syntax_getArgs(x_1); +x_1190 = lean_array_get_size(x_1189); +lean_dec(x_1189); +x_1191 = lean_unsigned_to_nat(3u); +x_1192 = lean_nat_dec_eq(x_1190, x_1191); lean_dec(x_1190); -x_1192 = lean_unsigned_to_nat(4u); -x_1193 = lean_nat_dec_eq(x_1191, x_1192); -if (x_1193 == 0) -{ -lean_object* x_1194; uint8_t x_1195; -x_1194 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__12; -lean_inc(x_1); -x_1195 = l_Lean_Syntax_isOfKind(x_1, x_1194); -if (x_1195 == 0) -{ -uint8_t x_1196; -lean_dec(x_1191); -x_1196 = 0; -x_384 = x_1196; -goto block_1179; +x_385 = x_1192; +goto block_1182; +} } else { +lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; uint8_t x_1196; +x_1193 = l_Lean_Syntax_getArgs(x_1); +x_1194 = lean_array_get_size(x_1193); +lean_dec(x_1193); +x_1195 = lean_unsigned_to_nat(4u); +x_1196 = lean_nat_dec_eq(x_1194, x_1195); +if (x_1196 == 0) +{ lean_object* x_1197; uint8_t x_1198; -x_1197 = lean_unsigned_to_nat(3u); -x_1198 = lean_nat_dec_eq(x_1191, x_1197); -lean_dec(x_1191); -x_384 = x_1198; -goto block_1179; +x_1197 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__12; +lean_inc(x_1); +x_1198 = l_Lean_Syntax_isOfKind(x_1, x_1197); +if (x_1198 == 0) +{ +uint8_t x_1199; +lean_dec(x_1194); +x_1199 = 0; +x_385 = x_1199; +goto block_1182; +} +else +{ +lean_object* x_1200; uint8_t x_1201; +x_1200 = lean_unsigned_to_nat(3u); +x_1201 = lean_nat_dec_eq(x_1194, x_1200); +lean_dec(x_1194); +x_385 = x_1201; +goto block_1182; } } else { -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_dec(x_1191); -x_1199 = lean_unsigned_to_nat(0u); -x_1200 = l_Lean_Syntax_getArg(x_1, x_1199); -x_1201 = lean_unsigned_to_nat(2u); -x_1202 = l_Lean_Syntax_getArg(x_1, 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_dec(x_1194); +x_1202 = lean_unsigned_to_nat(0u); +x_1203 = l_Lean_Syntax_getArg(x_1, x_1202); +x_1204 = lean_unsigned_to_nat(2u); +x_1205 = l_Lean_Syntax_getArg(x_1, x_1204); lean_dec(x_1); -x_1203 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1203, 0, x_1202); -x_1204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1204, 0, x_1203); -lean_ctor_set(x_1204, 1, x_2); -x_1 = x_1200; -x_2 = x_1204; +x_1206 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1206, 0, x_1205); +x_1207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1207, 0, x_1206); +lean_ctor_set(x_1207, 1, x_2); +x_1 = x_1203; +x_2 = x_1207; goto _start; } } } else { -lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; uint8_t x_1211; -x_1206 = lean_unsigned_to_nat(0u); -x_1207 = l_Lean_Syntax_getArg(x_1, x_1206); -x_1208 = lean_unsigned_to_nat(2u); -x_1209 = l_Lean_Syntax_getArg(x_1, x_1208); -x_1210 = l_Lean_fieldIdxKind___closed__2; -lean_inc(x_1209); -x_1211 = l_Lean_Syntax_isOfKind(x_1209, x_1210); -if (x_1211 == 0) +lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; uint8_t x_1214; +x_1209 = lean_unsigned_to_nat(0u); +x_1210 = l_Lean_Syntax_getArg(x_1, x_1209); +x_1211 = lean_unsigned_to_nat(2u); +x_1212 = l_Lean_Syntax_getArg(x_1, x_1211); +x_1213 = l_Lean_fieldIdxKind___closed__2; +lean_inc(x_1212); +x_1214 = l_Lean_Syntax_isOfKind(x_1212, x_1213); +if (x_1214 == 0) { -lean_object* x_1212; uint8_t x_1213; -x_1212 = l_Lean_identKind___closed__2; -lean_inc(x_1209); -x_1213 = l_Lean_Syntax_isOfKind(x_1209, x_1212); -if (x_1213 == 0) +lean_object* x_1215; uint8_t x_1216; +x_1215 = l_Lean_identKind___closed__2; +lean_inc(x_1212); +x_1216 = l_Lean_Syntax_isOfKind(x_1212, x_1215); +if (x_1216 == 0) { -uint8_t x_1214; uint8_t x_1215; -lean_dec(x_1209); -lean_dec(x_1207); -x_1214 = l_List_isEmpty___rarg(x_2); +uint8_t x_1217; uint8_t x_1218; +lean_dec(x_1212); +lean_dec(x_1210); +x_1217 = l_List_isEmpty___rarg(x_2); if (x_7 == 0) { -uint8_t x_1573; -x_1573 = 1; -x_1215 = x_1573; -goto block_1572; +uint8_t x_1577; +x_1577 = 1; +x_1218 = x_1577; +goto block_1576; } else { -uint8_t x_1574; -x_1574 = 0; -x_1215 = x_1574; -goto block_1572; +uint8_t x_1578; +x_1578 = 0; +x_1218 = x_1578; +goto block_1576; } -block_1572: +block_1576: { -if (x_1214 == 0) +if (x_1217 == 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; lean_object* x_1253; lean_object* x_1254; lean_object* x_1276; -x_1216 = lean_box(0); -x_1217 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_1218 = lean_ctor_get(x_1217, 0); -lean_inc(x_1218); -x_1219 = lean_ctor_get(x_1217, 1); -lean_inc(x_1219); -if (lean_is_exclusive(x_1217)) { - lean_ctor_release(x_1217, 0); - lean_ctor_release(x_1217, 1); - x_1220 = x_1217; +lean_object* x_1219; 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_1256; lean_object* x_1257; lean_object* x_1279; +x_1219 = lean_box(0); +x_1220 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_1221 = lean_ctor_get(x_1220, 0); +lean_inc(x_1221); +x_1222 = lean_ctor_get(x_1220, 1); +lean_inc(x_1222); +if (lean_is_exclusive(x_1220)) { + lean_ctor_release(x_1220, 0); + lean_ctor_release(x_1220, 1); + x_1223 = x_1220; } else { - lean_dec_ref(x_1217); - x_1220 = lean_box(0); + lean_dec_ref(x_1220); + x_1223 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -19403,386 +19408,15 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_1276 = l_Lean_Elab_Term_elabTerm(x_1, x_1216, x_1215, x_9, x_10, x_11, x_12, x_13, x_14, x_1219); -if (lean_obj_tag(x_1276) == 0) -{ -lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; -x_1277 = lean_ctor_get(x_1276, 0); -lean_inc(x_1277); -x_1278 = lean_ctor_get(x_1276, 1); -lean_inc(x_1278); -lean_dec(x_1276); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_5); -x_1279 = l___private_Lean_Elab_App_20__elabAppLVals(x_1277, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_1278); +x_1279 = l_Lean_Elab_Term_elabTerm(x_1, x_1219, x_1218, x_9, x_10, x_11, x_12, x_13, x_14, x_1222); if (lean_obj_tag(x_1279) == 0) { -if (x_7 == 0) -{ -lean_object* x_1280; lean_object* x_1281; -lean_dec(x_1220); -lean_dec(x_5); +lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; x_1280 = lean_ctor_get(x_1279, 0); lean_inc(x_1280); x_1281 = lean_ctor_get(x_1279, 1); lean_inc(x_1281); lean_dec(x_1279); -x_1253 = x_1280; -x_1254 = x_1281; -goto block_1275; -} -else -{ -lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; -x_1282 = lean_ctor_get(x_1279, 0); -lean_inc(x_1282); -x_1283 = lean_ctor_get(x_1279, 1); -lean_inc(x_1283); -lean_dec(x_1279); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_9); -x_1284 = l_Lean_Elab_Term_ensureHasType(x_5, x_1282, x_9, x_10, x_11, x_12, x_13, x_14, x_1283); -if (lean_obj_tag(x_1284) == 0) -{ -lean_object* x_1285; lean_object* x_1286; -lean_dec(x_1220); -x_1285 = lean_ctor_get(x_1284, 0); -lean_inc(x_1285); -x_1286 = lean_ctor_get(x_1284, 1); -lean_inc(x_1286); -lean_dec(x_1284); -x_1253 = x_1285; -x_1254 = x_1286; -goto block_1275; -} -else -{ -lean_object* x_1287; lean_object* x_1288; -x_1287 = lean_ctor_get(x_1284, 0); -lean_inc(x_1287); -x_1288 = lean_ctor_get(x_1284, 1); -lean_inc(x_1288); -lean_dec(x_1284); -x_1221 = x_1287; -x_1222 = x_1288; -goto block_1252; -} -} -} -else -{ -lean_object* x_1289; lean_object* x_1290; -lean_dec(x_5); -x_1289 = lean_ctor_get(x_1279, 0); -lean_inc(x_1289); -x_1290 = lean_ctor_get(x_1279, 1); -lean_inc(x_1290); -lean_dec(x_1279); -x_1221 = x_1289; -x_1222 = x_1290; -goto block_1252; -} -} -else -{ -lean_object* x_1291; lean_object* x_1292; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1291 = lean_ctor_get(x_1276, 0); -lean_inc(x_1291); -x_1292 = lean_ctor_get(x_1276, 1); -lean_inc(x_1292); -lean_dec(x_1276); -x_1221 = x_1291; -x_1222 = x_1292; -goto block_1252; -} -block_1252: -{ -if (lean_obj_tag(x_1221) == 0) -{ -lean_object* x_1223; uint8_t x_1224; -lean_dec(x_1220); -x_1223 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1222); -x_1224 = !lean_is_exclusive(x_1223); -if (x_1224 == 0) -{ -lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; uint8_t x_1228; -x_1225 = lean_ctor_get(x_1223, 0); -x_1226 = lean_ctor_get(x_1223, 1); -x_1227 = l_Lean_Elab_Term_SavedState_restore(x_1218, x_9, x_10, x_11, x_12, x_13, x_14, x_1226); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1228 = !lean_is_exclusive(x_1227); -if (x_1228 == 0) -{ -lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; -x_1229 = lean_ctor_get(x_1227, 1); -x_1230 = lean_ctor_get(x_1227, 0); -lean_dec(x_1230); -lean_ctor_set_tag(x_1227, 1); -lean_ctor_set(x_1227, 1, x_1225); -lean_ctor_set(x_1227, 0, x_1221); -x_1231 = lean_array_push(x_8, x_1227); -lean_ctor_set(x_1223, 1, x_1229); -lean_ctor_set(x_1223, 0, x_1231); -return x_1223; -} -else -{ -lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; -x_1232 = lean_ctor_get(x_1227, 1); -lean_inc(x_1232); -lean_dec(x_1227); -x_1233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1233, 0, x_1221); -lean_ctor_set(x_1233, 1, x_1225); -x_1234 = lean_array_push(x_8, x_1233); -lean_ctor_set(x_1223, 1, x_1232); -lean_ctor_set(x_1223, 0, x_1234); -return x_1223; -} -} -else -{ -lean_object* x_1235; 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; -x_1235 = lean_ctor_get(x_1223, 0); -x_1236 = lean_ctor_get(x_1223, 1); -lean_inc(x_1236); -lean_inc(x_1235); -lean_dec(x_1223); -x_1237 = l_Lean_Elab_Term_SavedState_restore(x_1218, x_9, x_10, x_11, x_12, x_13, x_14, x_1236); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1238 = lean_ctor_get(x_1237, 1); -lean_inc(x_1238); -if (lean_is_exclusive(x_1237)) { - lean_ctor_release(x_1237, 0); - lean_ctor_release(x_1237, 1); - x_1239 = x_1237; -} else { - lean_dec_ref(x_1237); - x_1239 = lean_box(0); -} -if (lean_is_scalar(x_1239)) { - x_1240 = lean_alloc_ctor(1, 2, 0); -} else { - x_1240 = x_1239; - lean_ctor_set_tag(x_1240, 1); -} -lean_ctor_set(x_1240, 0, x_1221); -lean_ctor_set(x_1240, 1, x_1235); -x_1241 = lean_array_push(x_8, x_1240); -x_1242 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1242, 0, x_1241); -lean_ctor_set(x_1242, 1, x_1238); -return x_1242; -} -} -else -{ -lean_object* x_1243; lean_object* x_1244; uint8_t x_1245; -lean_dec(x_8); -x_1243 = lean_ctor_get(x_1221, 0); -lean_inc(x_1243); -x_1244 = l_Lean_Elab_postponeExceptionId; -x_1245 = lean_nat_dec_eq(x_1243, x_1244); -lean_dec(x_1243); -if (x_1245 == 0) -{ -lean_object* x_1246; -lean_dec(x_1218); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_1220)) { - x_1246 = lean_alloc_ctor(1, 2, 0); -} else { - x_1246 = x_1220; - lean_ctor_set_tag(x_1246, 1); -} -lean_ctor_set(x_1246, 0, x_1221); -lean_ctor_set(x_1246, 1, x_1222); -return x_1246; -} -else -{ -lean_object* x_1247; uint8_t x_1248; -lean_dec(x_1220); -x_1247 = l_Lean_Elab_Term_SavedState_restore(x_1218, x_9, x_10, x_11, x_12, x_13, x_14, x_1222); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1248 = !lean_is_exclusive(x_1247); -if (x_1248 == 0) -{ -lean_object* x_1249; -x_1249 = lean_ctor_get(x_1247, 0); -lean_dec(x_1249); -lean_ctor_set_tag(x_1247, 1); -lean_ctor_set(x_1247, 0, x_1221); -return x_1247; -} -else -{ -lean_object* x_1250; lean_object* x_1251; -x_1250 = lean_ctor_get(x_1247, 1); -lean_inc(x_1250); -lean_dec(x_1247); -x_1251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1251, 0, x_1221); -lean_ctor_set(x_1251, 1, x_1250); -return x_1251; -} -} -} -} -block_1275: -{ -lean_object* x_1255; uint8_t x_1256; -x_1255 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1254); -x_1256 = !lean_is_exclusive(x_1255); -if (x_1256 == 0) -{ -lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; uint8_t x_1260; -x_1257 = lean_ctor_get(x_1255, 0); -x_1258 = lean_ctor_get(x_1255, 1); -x_1259 = l_Lean_Elab_Term_SavedState_restore(x_1218, x_9, x_10, x_11, x_12, x_13, x_14, x_1258); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1260 = !lean_is_exclusive(x_1259); -if (x_1260 == 0) -{ -lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; -x_1261 = lean_ctor_get(x_1259, 1); -x_1262 = lean_ctor_get(x_1259, 0); -lean_dec(x_1262); -lean_ctor_set(x_1259, 1, x_1257); -lean_ctor_set(x_1259, 0, x_1253); -x_1263 = lean_array_push(x_8, x_1259); -lean_ctor_set(x_1255, 1, x_1261); -lean_ctor_set(x_1255, 0, x_1263); -return x_1255; -} -else -{ -lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; -x_1264 = lean_ctor_get(x_1259, 1); -lean_inc(x_1264); -lean_dec(x_1259); -x_1265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1265, 0, x_1253); -lean_ctor_set(x_1265, 1, x_1257); -x_1266 = lean_array_push(x_8, x_1265); -lean_ctor_set(x_1255, 1, x_1264); -lean_ctor_set(x_1255, 0, x_1266); -return x_1255; -} -} -else -{ -lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; -x_1267 = lean_ctor_get(x_1255, 0); -x_1268 = lean_ctor_get(x_1255, 1); -lean_inc(x_1268); -lean_inc(x_1267); -lean_dec(x_1255); -x_1269 = l_Lean_Elab_Term_SavedState_restore(x_1218, x_9, x_10, x_11, x_12, x_13, x_14, x_1268); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1270 = lean_ctor_get(x_1269, 1); -lean_inc(x_1270); -if (lean_is_exclusive(x_1269)) { - lean_ctor_release(x_1269, 0); - lean_ctor_release(x_1269, 1); - x_1271 = x_1269; -} else { - lean_dec_ref(x_1269); - x_1271 = lean_box(0); -} -if (lean_is_scalar(x_1271)) { - x_1272 = lean_alloc_ctor(0, 2, 0); -} else { - x_1272 = x_1271; -} -lean_ctor_set(x_1272, 0, x_1253); -lean_ctor_set(x_1272, 1, x_1267); -x_1273 = lean_array_push(x_8, x_1272); -x_1274 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1274, 0, x_1273); -lean_ctor_set(x_1274, 1, x_1270); -return x_1274; -} -} -} -else -{ -uint8_t x_1293; -x_1293 = l_Array_isEmpty___rarg(x_3); -if (x_1293 == 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_1331; lean_object* x_1332; lean_object* x_1354; -x_1294 = lean_box(0); -x_1295 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_1296 = lean_ctor_get(x_1295, 0); -lean_inc(x_1296); -x_1297 = lean_ctor_get(x_1295, 1); -lean_inc(x_1297); -if (lean_is_exclusive(x_1295)) { - lean_ctor_release(x_1295, 0); - lean_ctor_release(x_1295, 1); - x_1298 = x_1295; -} else { - lean_dec_ref(x_1295); - x_1298 = lean_box(0); -} -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_1354 = l_Lean_Elab_Term_elabTerm(x_1, x_1294, x_1215, x_9, x_10, x_11, x_12, x_13, x_14, x_1297); -if (lean_obj_tag(x_1354) == 0) -{ -lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; -x_1355 = lean_ctor_get(x_1354, 0); -lean_inc(x_1355); -x_1356 = lean_ctor_get(x_1354, 1); -lean_inc(x_1356); -lean_dec(x_1354); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -19790,370 +19424,370 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); -x_1357 = l___private_Lean_Elab_App_20__elabAppLVals(x_1355, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_1356); -if (lean_obj_tag(x_1357) == 0) +x_1282 = l___private_Lean_Elab_App_20__elabAppLVals(x_1280, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_1281); +if (lean_obj_tag(x_1282) == 0) { if (x_7 == 0) { -lean_object* x_1358; lean_object* x_1359; -lean_dec(x_1298); +lean_object* x_1283; lean_object* x_1284; +lean_dec(x_1223); lean_dec(x_5); +x_1283 = lean_ctor_get(x_1282, 0); +lean_inc(x_1283); +x_1284 = lean_ctor_get(x_1282, 1); +lean_inc(x_1284); +lean_dec(x_1282); +x_1256 = x_1283; +x_1257 = x_1284; +goto block_1278; +} +else +{ +lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; +x_1285 = lean_ctor_get(x_1282, 0); +lean_inc(x_1285); +x_1286 = lean_ctor_get(x_1282, 1); +lean_inc(x_1286); +lean_dec(x_1282); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_9); +x_1287 = l_Lean_Elab_Term_ensureHasType(x_5, x_1285, x_1219, x_9, x_10, x_11, x_12, x_13, x_14, x_1286); +if (lean_obj_tag(x_1287) == 0) +{ +lean_object* x_1288; lean_object* x_1289; +lean_dec(x_1223); +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_1256 = x_1288; +x_1257 = x_1289; +goto block_1278; +} +else +{ +lean_object* x_1290; lean_object* x_1291; +x_1290 = lean_ctor_get(x_1287, 0); +lean_inc(x_1290); +x_1291 = lean_ctor_get(x_1287, 1); +lean_inc(x_1291); +lean_dec(x_1287); +x_1224 = x_1290; +x_1225 = x_1291; +goto block_1255; +} +} +} +else +{ +lean_object* x_1292; lean_object* x_1293; +lean_dec(x_5); +x_1292 = lean_ctor_get(x_1282, 0); +lean_inc(x_1292); +x_1293 = lean_ctor_get(x_1282, 1); +lean_inc(x_1293); +lean_dec(x_1282); +x_1224 = x_1292; +x_1225 = x_1293; +goto block_1255; +} +} +else +{ +lean_object* x_1294; lean_object* x_1295; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1294 = lean_ctor_get(x_1279, 0); +lean_inc(x_1294); +x_1295 = lean_ctor_get(x_1279, 1); +lean_inc(x_1295); +lean_dec(x_1279); +x_1224 = x_1294; +x_1225 = x_1295; +goto block_1255; +} +block_1255: +{ +if (lean_obj_tag(x_1224) == 0) +{ +lean_object* x_1226; uint8_t x_1227; +lean_dec(x_1223); +x_1226 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1225); +x_1227 = !lean_is_exclusive(x_1226); +if (x_1227 == 0) +{ +lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; uint8_t x_1231; +x_1228 = lean_ctor_get(x_1226, 0); +x_1229 = lean_ctor_get(x_1226, 1); +x_1230 = l_Lean_Elab_Term_SavedState_restore(x_1221, x_9, x_10, x_11, x_12, x_13, x_14, x_1229); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1231 = !lean_is_exclusive(x_1230); +if (x_1231 == 0) +{ +lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; +x_1232 = lean_ctor_get(x_1230, 1); +x_1233 = lean_ctor_get(x_1230, 0); +lean_dec(x_1233); +lean_ctor_set_tag(x_1230, 1); +lean_ctor_set(x_1230, 1, x_1228); +lean_ctor_set(x_1230, 0, x_1224); +x_1234 = lean_array_push(x_8, x_1230); +lean_ctor_set(x_1226, 1, x_1232); +lean_ctor_set(x_1226, 0, x_1234); +return x_1226; +} +else +{ +lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; +x_1235 = lean_ctor_get(x_1230, 1); +lean_inc(x_1235); +lean_dec(x_1230); +x_1236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1236, 0, x_1224); +lean_ctor_set(x_1236, 1, x_1228); +x_1237 = lean_array_push(x_8, x_1236); +lean_ctor_set(x_1226, 1, x_1235); +lean_ctor_set(x_1226, 0, x_1237); +return x_1226; +} +} +else +{ +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; +x_1238 = lean_ctor_get(x_1226, 0); +x_1239 = lean_ctor_get(x_1226, 1); +lean_inc(x_1239); +lean_inc(x_1238); +lean_dec(x_1226); +x_1240 = l_Lean_Elab_Term_SavedState_restore(x_1221, x_9, x_10, x_11, x_12, x_13, x_14, x_1239); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1241 = lean_ctor_get(x_1240, 1); +lean_inc(x_1241); +if (lean_is_exclusive(x_1240)) { + lean_ctor_release(x_1240, 0); + lean_ctor_release(x_1240, 1); + x_1242 = x_1240; +} else { + lean_dec_ref(x_1240); + x_1242 = lean_box(0); +} +if (lean_is_scalar(x_1242)) { + x_1243 = lean_alloc_ctor(1, 2, 0); +} else { + x_1243 = x_1242; + lean_ctor_set_tag(x_1243, 1); +} +lean_ctor_set(x_1243, 0, x_1224); +lean_ctor_set(x_1243, 1, x_1238); +x_1244 = lean_array_push(x_8, x_1243); +x_1245 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1245, 0, x_1244); +lean_ctor_set(x_1245, 1, x_1241); +return x_1245; +} +} +else +{ +lean_object* x_1246; lean_object* x_1247; uint8_t x_1248; +lean_dec(x_8); +x_1246 = lean_ctor_get(x_1224, 0); +lean_inc(x_1246); +x_1247 = l_Lean_Elab_postponeExceptionId; +x_1248 = lean_nat_dec_eq(x_1246, x_1247); +lean_dec(x_1246); +if (x_1248 == 0) +{ +lean_object* x_1249; +lean_dec(x_1221); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +if (lean_is_scalar(x_1223)) { + x_1249 = lean_alloc_ctor(1, 2, 0); +} else { + x_1249 = x_1223; + lean_ctor_set_tag(x_1249, 1); +} +lean_ctor_set(x_1249, 0, x_1224); +lean_ctor_set(x_1249, 1, x_1225); +return x_1249; +} +else +{ +lean_object* x_1250; uint8_t x_1251; +lean_dec(x_1223); +x_1250 = l_Lean_Elab_Term_SavedState_restore(x_1221, x_9, x_10, x_11, x_12, x_13, x_14, x_1225); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1251 = !lean_is_exclusive(x_1250); +if (x_1251 == 0) +{ +lean_object* x_1252; +x_1252 = lean_ctor_get(x_1250, 0); +lean_dec(x_1252); +lean_ctor_set_tag(x_1250, 1); +lean_ctor_set(x_1250, 0, x_1224); +return x_1250; +} +else +{ +lean_object* x_1253; lean_object* x_1254; +x_1253 = lean_ctor_get(x_1250, 1); +lean_inc(x_1253); +lean_dec(x_1250); +x_1254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1254, 0, x_1224); +lean_ctor_set(x_1254, 1, x_1253); +return x_1254; +} +} +} +} +block_1278: +{ +lean_object* x_1258; uint8_t x_1259; +x_1258 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1257); +x_1259 = !lean_is_exclusive(x_1258); +if (x_1259 == 0) +{ +lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; uint8_t x_1263; +x_1260 = lean_ctor_get(x_1258, 0); +x_1261 = lean_ctor_get(x_1258, 1); +x_1262 = l_Lean_Elab_Term_SavedState_restore(x_1221, x_9, x_10, x_11, x_12, x_13, x_14, x_1261); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1263 = !lean_is_exclusive(x_1262); +if (x_1263 == 0) +{ +lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; +x_1264 = lean_ctor_get(x_1262, 1); +x_1265 = lean_ctor_get(x_1262, 0); +lean_dec(x_1265); +lean_ctor_set(x_1262, 1, x_1260); +lean_ctor_set(x_1262, 0, x_1256); +x_1266 = lean_array_push(x_8, x_1262); +lean_ctor_set(x_1258, 1, x_1264); +lean_ctor_set(x_1258, 0, x_1266); +return x_1258; +} +else +{ +lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; +x_1267 = lean_ctor_get(x_1262, 1); +lean_inc(x_1267); +lean_dec(x_1262); +x_1268 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1268, 0, x_1256); +lean_ctor_set(x_1268, 1, x_1260); +x_1269 = lean_array_push(x_8, x_1268); +lean_ctor_set(x_1258, 1, x_1267); +lean_ctor_set(x_1258, 0, x_1269); +return x_1258; +} +} +else +{ +lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; +x_1270 = lean_ctor_get(x_1258, 0); +x_1271 = lean_ctor_get(x_1258, 1); +lean_inc(x_1271); +lean_inc(x_1270); +lean_dec(x_1258); +x_1272 = l_Lean_Elab_Term_SavedState_restore(x_1221, x_9, x_10, x_11, x_12, x_13, x_14, x_1271); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1273 = lean_ctor_get(x_1272, 1); +lean_inc(x_1273); +if (lean_is_exclusive(x_1272)) { + lean_ctor_release(x_1272, 0); + lean_ctor_release(x_1272, 1); + x_1274 = x_1272; +} else { + lean_dec_ref(x_1272); + x_1274 = lean_box(0); +} +if (lean_is_scalar(x_1274)) { + x_1275 = lean_alloc_ctor(0, 2, 0); +} else { + x_1275 = x_1274; +} +lean_ctor_set(x_1275, 0, x_1256); +lean_ctor_set(x_1275, 1, x_1270); +x_1276 = lean_array_push(x_8, x_1275); +x_1277 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1277, 0, x_1276); +lean_ctor_set(x_1277, 1, x_1273); +return x_1277; +} +} +} +else +{ +uint8_t x_1296; +x_1296 = l_Array_isEmpty___rarg(x_3); +if (x_1296 == 0) +{ +lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1334; lean_object* x_1335; lean_object* x_1357; +x_1297 = lean_box(0); +x_1298 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_1299 = lean_ctor_get(x_1298, 0); +lean_inc(x_1299); +x_1300 = lean_ctor_get(x_1298, 1); +lean_inc(x_1300); +if (lean_is_exclusive(x_1298)) { + lean_ctor_release(x_1298, 0); + lean_ctor_release(x_1298, 1); + x_1301 = x_1298; +} else { + lean_dec_ref(x_1298); + x_1301 = lean_box(0); +} +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_1357 = l_Lean_Elab_Term_elabTerm(x_1, x_1297, x_1218, x_9, x_10, x_11, x_12, x_13, x_14, x_1300); +if (lean_obj_tag(x_1357) == 0) +{ +lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; x_1358 = lean_ctor_get(x_1357, 0); lean_inc(x_1358); x_1359 = lean_ctor_get(x_1357, 1); lean_inc(x_1359); lean_dec(x_1357); -x_1331 = x_1358; -x_1332 = x_1359; -goto block_1353; -} -else -{ -lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; -x_1360 = lean_ctor_get(x_1357, 0); -lean_inc(x_1360); -x_1361 = lean_ctor_get(x_1357, 1); -lean_inc(x_1361); -lean_dec(x_1357); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_9); -x_1362 = l_Lean_Elab_Term_ensureHasType(x_5, x_1360, x_9, x_10, x_11, x_12, x_13, x_14, x_1361); -if (lean_obj_tag(x_1362) == 0) -{ -lean_object* x_1363; lean_object* x_1364; -lean_dec(x_1298); -x_1363 = lean_ctor_get(x_1362, 0); -lean_inc(x_1363); -x_1364 = lean_ctor_get(x_1362, 1); -lean_inc(x_1364); -lean_dec(x_1362); -x_1331 = x_1363; -x_1332 = x_1364; -goto block_1353; -} -else -{ -lean_object* x_1365; lean_object* x_1366; -x_1365 = lean_ctor_get(x_1362, 0); -lean_inc(x_1365); -x_1366 = lean_ctor_get(x_1362, 1); -lean_inc(x_1366); -lean_dec(x_1362); -x_1299 = x_1365; -x_1300 = x_1366; -goto block_1330; -} -} -} -else -{ -lean_object* x_1367; lean_object* x_1368; -lean_dec(x_5); -x_1367 = lean_ctor_get(x_1357, 0); -lean_inc(x_1367); -x_1368 = lean_ctor_get(x_1357, 1); -lean_inc(x_1368); -lean_dec(x_1357); -x_1299 = x_1367; -x_1300 = x_1368; -goto block_1330; -} -} -else -{ -lean_object* x_1369; lean_object* x_1370; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1369 = lean_ctor_get(x_1354, 0); -lean_inc(x_1369); -x_1370 = lean_ctor_get(x_1354, 1); -lean_inc(x_1370); -lean_dec(x_1354); -x_1299 = x_1369; -x_1300 = x_1370; -goto block_1330; -} -block_1330: -{ -if (lean_obj_tag(x_1299) == 0) -{ -lean_object* x_1301; uint8_t x_1302; -lean_dec(x_1298); -x_1301 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1300); -x_1302 = !lean_is_exclusive(x_1301); -if (x_1302 == 0) -{ -lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; uint8_t x_1306; -x_1303 = lean_ctor_get(x_1301, 0); -x_1304 = lean_ctor_get(x_1301, 1); -x_1305 = l_Lean_Elab_Term_SavedState_restore(x_1296, x_9, x_10, x_11, x_12, x_13, x_14, x_1304); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1306 = !lean_is_exclusive(x_1305); -if (x_1306 == 0) -{ -lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; -x_1307 = lean_ctor_get(x_1305, 1); -x_1308 = lean_ctor_get(x_1305, 0); -lean_dec(x_1308); -lean_ctor_set_tag(x_1305, 1); -lean_ctor_set(x_1305, 1, x_1303); -lean_ctor_set(x_1305, 0, x_1299); -x_1309 = lean_array_push(x_8, x_1305); -lean_ctor_set(x_1301, 1, x_1307); -lean_ctor_set(x_1301, 0, x_1309); -return x_1301; -} -else -{ -lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; -x_1310 = lean_ctor_get(x_1305, 1); -lean_inc(x_1310); -lean_dec(x_1305); -x_1311 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1311, 0, x_1299); -lean_ctor_set(x_1311, 1, x_1303); -x_1312 = lean_array_push(x_8, x_1311); -lean_ctor_set(x_1301, 1, x_1310); -lean_ctor_set(x_1301, 0, x_1312); -return x_1301; -} -} -else -{ -lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; -x_1313 = lean_ctor_get(x_1301, 0); -x_1314 = lean_ctor_get(x_1301, 1); -lean_inc(x_1314); -lean_inc(x_1313); -lean_dec(x_1301); -x_1315 = l_Lean_Elab_Term_SavedState_restore(x_1296, x_9, x_10, x_11, x_12, x_13, x_14, x_1314); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1316 = lean_ctor_get(x_1315, 1); -lean_inc(x_1316); -if (lean_is_exclusive(x_1315)) { - lean_ctor_release(x_1315, 0); - lean_ctor_release(x_1315, 1); - x_1317 = x_1315; -} else { - lean_dec_ref(x_1315); - x_1317 = lean_box(0); -} -if (lean_is_scalar(x_1317)) { - x_1318 = lean_alloc_ctor(1, 2, 0); -} else { - x_1318 = x_1317; - lean_ctor_set_tag(x_1318, 1); -} -lean_ctor_set(x_1318, 0, x_1299); -lean_ctor_set(x_1318, 1, x_1313); -x_1319 = lean_array_push(x_8, x_1318); -x_1320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1320, 0, x_1319); -lean_ctor_set(x_1320, 1, x_1316); -return x_1320; -} -} -else -{ -lean_object* x_1321; lean_object* x_1322; uint8_t x_1323; -lean_dec(x_8); -x_1321 = lean_ctor_get(x_1299, 0); -lean_inc(x_1321); -x_1322 = l_Lean_Elab_postponeExceptionId; -x_1323 = lean_nat_dec_eq(x_1321, x_1322); -lean_dec(x_1321); -if (x_1323 == 0) -{ -lean_object* x_1324; -lean_dec(x_1296); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_1298)) { - x_1324 = lean_alloc_ctor(1, 2, 0); -} else { - x_1324 = x_1298; - lean_ctor_set_tag(x_1324, 1); -} -lean_ctor_set(x_1324, 0, x_1299); -lean_ctor_set(x_1324, 1, x_1300); -return x_1324; -} -else -{ -lean_object* x_1325; uint8_t x_1326; -lean_dec(x_1298); -x_1325 = l_Lean_Elab_Term_SavedState_restore(x_1296, x_9, x_10, x_11, x_12, x_13, x_14, x_1300); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1326 = !lean_is_exclusive(x_1325); -if (x_1326 == 0) -{ -lean_object* x_1327; -x_1327 = lean_ctor_get(x_1325, 0); -lean_dec(x_1327); -lean_ctor_set_tag(x_1325, 1); -lean_ctor_set(x_1325, 0, x_1299); -return x_1325; -} -else -{ -lean_object* x_1328; lean_object* x_1329; -x_1328 = lean_ctor_get(x_1325, 1); -lean_inc(x_1328); -lean_dec(x_1325); -x_1329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1329, 0, x_1299); -lean_ctor_set(x_1329, 1, x_1328); -return x_1329; -} -} -} -} -block_1353: -{ -lean_object* x_1333; uint8_t x_1334; -x_1333 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1332); -x_1334 = !lean_is_exclusive(x_1333); -if (x_1334 == 0) -{ -lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; uint8_t x_1338; -x_1335 = lean_ctor_get(x_1333, 0); -x_1336 = lean_ctor_get(x_1333, 1); -x_1337 = l_Lean_Elab_Term_SavedState_restore(x_1296, x_9, x_10, x_11, x_12, x_13, x_14, x_1336); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1338 = !lean_is_exclusive(x_1337); -if (x_1338 == 0) -{ -lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; -x_1339 = lean_ctor_get(x_1337, 1); -x_1340 = lean_ctor_get(x_1337, 0); -lean_dec(x_1340); -lean_ctor_set(x_1337, 1, x_1335); -lean_ctor_set(x_1337, 0, x_1331); -x_1341 = lean_array_push(x_8, x_1337); -lean_ctor_set(x_1333, 1, x_1339); -lean_ctor_set(x_1333, 0, x_1341); -return x_1333; -} -else -{ -lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; -x_1342 = lean_ctor_get(x_1337, 1); -lean_inc(x_1342); -lean_dec(x_1337); -x_1343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1343, 0, x_1331); -lean_ctor_set(x_1343, 1, x_1335); -x_1344 = lean_array_push(x_8, x_1343); -lean_ctor_set(x_1333, 1, x_1342); -lean_ctor_set(x_1333, 0, x_1344); -return x_1333; -} -} -else -{ -lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; -x_1345 = lean_ctor_get(x_1333, 0); -x_1346 = lean_ctor_get(x_1333, 1); -lean_inc(x_1346); -lean_inc(x_1345); -lean_dec(x_1333); -x_1347 = l_Lean_Elab_Term_SavedState_restore(x_1296, x_9, x_10, x_11, x_12, x_13, x_14, x_1346); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1348 = lean_ctor_get(x_1347, 1); -lean_inc(x_1348); -if (lean_is_exclusive(x_1347)) { - lean_ctor_release(x_1347, 0); - lean_ctor_release(x_1347, 1); - x_1349 = x_1347; -} else { - lean_dec_ref(x_1347); - x_1349 = lean_box(0); -} -if (lean_is_scalar(x_1349)) { - x_1350 = lean_alloc_ctor(0, 2, 0); -} else { - x_1350 = x_1349; -} -lean_ctor_set(x_1350, 0, x_1331); -lean_ctor_set(x_1350, 1, x_1345); -x_1351 = lean_array_push(x_8, x_1350); -x_1352 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1352, 0, x_1351); -lean_ctor_set(x_1352, 1, x_1348); -return x_1352; -} -} -} -else -{ -uint8_t x_1371; -x_1371 = l_Array_isEmpty___rarg(x_4); -if (x_1371 == 0) -{ -lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1409; lean_object* x_1410; lean_object* x_1432; -x_1372 = lean_box(0); -x_1373 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_1374 = lean_ctor_get(x_1373, 0); -lean_inc(x_1374); -x_1375 = lean_ctor_get(x_1373, 1); -lean_inc(x_1375); -if (lean_is_exclusive(x_1373)) { - lean_ctor_release(x_1373, 0); - lean_ctor_release(x_1373, 1); - x_1376 = x_1373; -} else { - lean_dec_ref(x_1373); - x_1376 = lean_box(0); -} -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_1432 = l_Lean_Elab_Term_elabTerm(x_1, x_1372, x_1215, x_9, x_10, x_11, x_12, x_13, x_14, x_1375); -if (lean_obj_tag(x_1432) == 0) -{ -lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; -x_1433 = lean_ctor_get(x_1432, 0); -lean_inc(x_1433); -x_1434 = lean_ctor_get(x_1432, 1); -lean_inc(x_1434); -lean_dec(x_1432); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -20161,331 +19795,702 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); -x_1435 = l___private_Lean_Elab_App_20__elabAppLVals(x_1433, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_1434); -if (lean_obj_tag(x_1435) == 0) +x_1360 = l___private_Lean_Elab_App_20__elabAppLVals(x_1358, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_1359); +if (lean_obj_tag(x_1360) == 0) { if (x_7 == 0) { -lean_object* x_1436; lean_object* x_1437; -lean_dec(x_1376); +lean_object* x_1361; lean_object* x_1362; +lean_dec(x_1301); lean_dec(x_5); +x_1361 = lean_ctor_get(x_1360, 0); +lean_inc(x_1361); +x_1362 = lean_ctor_get(x_1360, 1); +lean_inc(x_1362); +lean_dec(x_1360); +x_1334 = x_1361; +x_1335 = x_1362; +goto block_1356; +} +else +{ +lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; +x_1363 = lean_ctor_get(x_1360, 0); +lean_inc(x_1363); +x_1364 = lean_ctor_get(x_1360, 1); +lean_inc(x_1364); +lean_dec(x_1360); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_9); +x_1365 = l_Lean_Elab_Term_ensureHasType(x_5, x_1363, x_1297, x_9, x_10, x_11, x_12, x_13, x_14, x_1364); +if (lean_obj_tag(x_1365) == 0) +{ +lean_object* x_1366; lean_object* x_1367; +lean_dec(x_1301); +x_1366 = lean_ctor_get(x_1365, 0); +lean_inc(x_1366); +x_1367 = lean_ctor_get(x_1365, 1); +lean_inc(x_1367); +lean_dec(x_1365); +x_1334 = x_1366; +x_1335 = x_1367; +goto block_1356; +} +else +{ +lean_object* x_1368; lean_object* x_1369; +x_1368 = lean_ctor_get(x_1365, 0); +lean_inc(x_1368); +x_1369 = lean_ctor_get(x_1365, 1); +lean_inc(x_1369); +lean_dec(x_1365); +x_1302 = x_1368; +x_1303 = x_1369; +goto block_1333; +} +} +} +else +{ +lean_object* x_1370; lean_object* x_1371; +lean_dec(x_5); +x_1370 = lean_ctor_get(x_1360, 0); +lean_inc(x_1370); +x_1371 = lean_ctor_get(x_1360, 1); +lean_inc(x_1371); +lean_dec(x_1360); +x_1302 = x_1370; +x_1303 = x_1371; +goto block_1333; +} +} +else +{ +lean_object* x_1372; lean_object* x_1373; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1372 = lean_ctor_get(x_1357, 0); +lean_inc(x_1372); +x_1373 = lean_ctor_get(x_1357, 1); +lean_inc(x_1373); +lean_dec(x_1357); +x_1302 = x_1372; +x_1303 = x_1373; +goto block_1333; +} +block_1333: +{ +if (lean_obj_tag(x_1302) == 0) +{ +lean_object* x_1304; uint8_t x_1305; +lean_dec(x_1301); +x_1304 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1303); +x_1305 = !lean_is_exclusive(x_1304); +if (x_1305 == 0) +{ +lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; uint8_t x_1309; +x_1306 = lean_ctor_get(x_1304, 0); +x_1307 = lean_ctor_get(x_1304, 1); +x_1308 = l_Lean_Elab_Term_SavedState_restore(x_1299, x_9, x_10, x_11, x_12, x_13, x_14, x_1307); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1309 = !lean_is_exclusive(x_1308); +if (x_1309 == 0) +{ +lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; +x_1310 = lean_ctor_get(x_1308, 1); +x_1311 = lean_ctor_get(x_1308, 0); +lean_dec(x_1311); +lean_ctor_set_tag(x_1308, 1); +lean_ctor_set(x_1308, 1, x_1306); +lean_ctor_set(x_1308, 0, x_1302); +x_1312 = lean_array_push(x_8, x_1308); +lean_ctor_set(x_1304, 1, x_1310); +lean_ctor_set(x_1304, 0, x_1312); +return x_1304; +} +else +{ +lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; +x_1313 = lean_ctor_get(x_1308, 1); +lean_inc(x_1313); +lean_dec(x_1308); +x_1314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1314, 0, x_1302); +lean_ctor_set(x_1314, 1, x_1306); +x_1315 = lean_array_push(x_8, x_1314); +lean_ctor_set(x_1304, 1, x_1313); +lean_ctor_set(x_1304, 0, x_1315); +return x_1304; +} +} +else +{ +lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; +x_1316 = lean_ctor_get(x_1304, 0); +x_1317 = lean_ctor_get(x_1304, 1); +lean_inc(x_1317); +lean_inc(x_1316); +lean_dec(x_1304); +x_1318 = l_Lean_Elab_Term_SavedState_restore(x_1299, x_9, x_10, x_11, x_12, x_13, x_14, x_1317); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1319 = lean_ctor_get(x_1318, 1); +lean_inc(x_1319); +if (lean_is_exclusive(x_1318)) { + lean_ctor_release(x_1318, 0); + lean_ctor_release(x_1318, 1); + x_1320 = x_1318; +} else { + lean_dec_ref(x_1318); + x_1320 = lean_box(0); +} +if (lean_is_scalar(x_1320)) { + x_1321 = lean_alloc_ctor(1, 2, 0); +} else { + x_1321 = x_1320; + lean_ctor_set_tag(x_1321, 1); +} +lean_ctor_set(x_1321, 0, x_1302); +lean_ctor_set(x_1321, 1, x_1316); +x_1322 = lean_array_push(x_8, x_1321); +x_1323 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1323, 0, x_1322); +lean_ctor_set(x_1323, 1, x_1319); +return x_1323; +} +} +else +{ +lean_object* x_1324; lean_object* x_1325; uint8_t x_1326; +lean_dec(x_8); +x_1324 = lean_ctor_get(x_1302, 0); +lean_inc(x_1324); +x_1325 = l_Lean_Elab_postponeExceptionId; +x_1326 = lean_nat_dec_eq(x_1324, x_1325); +lean_dec(x_1324); +if (x_1326 == 0) +{ +lean_object* x_1327; +lean_dec(x_1299); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +if (lean_is_scalar(x_1301)) { + x_1327 = lean_alloc_ctor(1, 2, 0); +} else { + x_1327 = x_1301; + lean_ctor_set_tag(x_1327, 1); +} +lean_ctor_set(x_1327, 0, x_1302); +lean_ctor_set(x_1327, 1, x_1303); +return x_1327; +} +else +{ +lean_object* x_1328; uint8_t x_1329; +lean_dec(x_1301); +x_1328 = l_Lean_Elab_Term_SavedState_restore(x_1299, x_9, x_10, x_11, x_12, x_13, x_14, x_1303); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1329 = !lean_is_exclusive(x_1328); +if (x_1329 == 0) +{ +lean_object* x_1330; +x_1330 = lean_ctor_get(x_1328, 0); +lean_dec(x_1330); +lean_ctor_set_tag(x_1328, 1); +lean_ctor_set(x_1328, 0, x_1302); +return x_1328; +} +else +{ +lean_object* x_1331; lean_object* x_1332; +x_1331 = lean_ctor_get(x_1328, 1); +lean_inc(x_1331); +lean_dec(x_1328); +x_1332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1332, 0, x_1302); +lean_ctor_set(x_1332, 1, x_1331); +return x_1332; +} +} +} +} +block_1356: +{ +lean_object* x_1336; uint8_t x_1337; +x_1336 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1335); +x_1337 = !lean_is_exclusive(x_1336); +if (x_1337 == 0) +{ +lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; uint8_t x_1341; +x_1338 = lean_ctor_get(x_1336, 0); +x_1339 = lean_ctor_get(x_1336, 1); +x_1340 = l_Lean_Elab_Term_SavedState_restore(x_1299, x_9, x_10, x_11, x_12, x_13, x_14, x_1339); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1341 = !lean_is_exclusive(x_1340); +if (x_1341 == 0) +{ +lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; +x_1342 = lean_ctor_get(x_1340, 1); +x_1343 = lean_ctor_get(x_1340, 0); +lean_dec(x_1343); +lean_ctor_set(x_1340, 1, x_1338); +lean_ctor_set(x_1340, 0, x_1334); +x_1344 = lean_array_push(x_8, x_1340); +lean_ctor_set(x_1336, 1, x_1342); +lean_ctor_set(x_1336, 0, x_1344); +return x_1336; +} +else +{ +lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; +x_1345 = lean_ctor_get(x_1340, 1); +lean_inc(x_1345); +lean_dec(x_1340); +x_1346 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1346, 0, x_1334); +lean_ctor_set(x_1346, 1, x_1338); +x_1347 = lean_array_push(x_8, x_1346); +lean_ctor_set(x_1336, 1, x_1345); +lean_ctor_set(x_1336, 0, x_1347); +return x_1336; +} +} +else +{ +lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; +x_1348 = lean_ctor_get(x_1336, 0); +x_1349 = lean_ctor_get(x_1336, 1); +lean_inc(x_1349); +lean_inc(x_1348); +lean_dec(x_1336); +x_1350 = l_Lean_Elab_Term_SavedState_restore(x_1299, x_9, x_10, x_11, x_12, x_13, x_14, x_1349); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1351 = lean_ctor_get(x_1350, 1); +lean_inc(x_1351); +if (lean_is_exclusive(x_1350)) { + lean_ctor_release(x_1350, 0); + lean_ctor_release(x_1350, 1); + x_1352 = x_1350; +} else { + lean_dec_ref(x_1350); + x_1352 = lean_box(0); +} +if (lean_is_scalar(x_1352)) { + x_1353 = lean_alloc_ctor(0, 2, 0); +} else { + x_1353 = x_1352; +} +lean_ctor_set(x_1353, 0, x_1334); +lean_ctor_set(x_1353, 1, x_1348); +x_1354 = lean_array_push(x_8, x_1353); +x_1355 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1355, 0, x_1354); +lean_ctor_set(x_1355, 1, x_1351); +return x_1355; +} +} +} +else +{ +uint8_t x_1374; +x_1374 = l_Array_isEmpty___rarg(x_4); +if (x_1374 == 0) +{ +lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1412; lean_object* x_1413; lean_object* x_1435; +x_1375 = lean_box(0); +x_1376 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_1377 = lean_ctor_get(x_1376, 0); +lean_inc(x_1377); +x_1378 = lean_ctor_get(x_1376, 1); +lean_inc(x_1378); +if (lean_is_exclusive(x_1376)) { + lean_ctor_release(x_1376, 0); + lean_ctor_release(x_1376, 1); + x_1379 = x_1376; +} else { + lean_dec_ref(x_1376); + x_1379 = lean_box(0); +} +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_1435 = l_Lean_Elab_Term_elabTerm(x_1, x_1375, x_1218, x_9, x_10, x_11, x_12, x_13, x_14, x_1378); +if (lean_obj_tag(x_1435) == 0) +{ +lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; x_1436 = lean_ctor_get(x_1435, 0); lean_inc(x_1436); x_1437 = lean_ctor_get(x_1435, 1); lean_inc(x_1437); lean_dec(x_1435); -x_1409 = x_1436; -x_1410 = x_1437; -goto block_1431; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_5); +x_1438 = l___private_Lean_Elab_App_20__elabAppLVals(x_1436, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_1437); +if (lean_obj_tag(x_1438) == 0) +{ +if (x_7 == 0) +{ +lean_object* x_1439; lean_object* x_1440; +lean_dec(x_1379); +lean_dec(x_5); +x_1439 = lean_ctor_get(x_1438, 0); +lean_inc(x_1439); +x_1440 = lean_ctor_get(x_1438, 1); +lean_inc(x_1440); +lean_dec(x_1438); +x_1412 = x_1439; +x_1413 = x_1440; +goto block_1434; } else { -lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; -x_1438 = lean_ctor_get(x_1435, 0); -lean_inc(x_1438); -x_1439 = lean_ctor_get(x_1435, 1); -lean_inc(x_1439); -lean_dec(x_1435); +lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; +x_1441 = lean_ctor_get(x_1438, 0); +lean_inc(x_1441); +x_1442 = lean_ctor_get(x_1438, 1); +lean_inc(x_1442); +lean_dec(x_1438); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_1440 = l_Lean_Elab_Term_ensureHasType(x_5, x_1438, x_9, x_10, x_11, x_12, x_13, x_14, x_1439); -if (lean_obj_tag(x_1440) == 0) +x_1443 = l_Lean_Elab_Term_ensureHasType(x_5, x_1441, x_1375, x_9, x_10, x_11, x_12, x_13, x_14, x_1442); +if (lean_obj_tag(x_1443) == 0) { -lean_object* x_1441; lean_object* x_1442; -lean_dec(x_1376); -x_1441 = lean_ctor_get(x_1440, 0); -lean_inc(x_1441); -x_1442 = lean_ctor_get(x_1440, 1); -lean_inc(x_1442); -lean_dec(x_1440); -x_1409 = x_1441; -x_1410 = x_1442; -goto block_1431; -} -else -{ -lean_object* x_1443; lean_object* x_1444; -x_1443 = lean_ctor_get(x_1440, 0); -lean_inc(x_1443); -x_1444 = lean_ctor_get(x_1440, 1); +lean_object* x_1444; lean_object* x_1445; +lean_dec(x_1379); +x_1444 = lean_ctor_get(x_1443, 0); lean_inc(x_1444); -lean_dec(x_1440); -x_1377 = x_1443; -x_1378 = x_1444; -goto block_1408; -} -} -} -else -{ -lean_object* x_1445; lean_object* x_1446; -lean_dec(x_5); -x_1445 = lean_ctor_get(x_1435, 0); +x_1445 = lean_ctor_get(x_1443, 1); lean_inc(x_1445); -x_1446 = lean_ctor_get(x_1435, 1); +lean_dec(x_1443); +x_1412 = x_1444; +x_1413 = x_1445; +goto block_1434; +} +else +{ +lean_object* x_1446; lean_object* x_1447; +x_1446 = lean_ctor_get(x_1443, 0); lean_inc(x_1446); -lean_dec(x_1435); -x_1377 = x_1445; -x_1378 = x_1446; -goto block_1408; +x_1447 = lean_ctor_get(x_1443, 1); +lean_inc(x_1447); +lean_dec(x_1443); +x_1380 = x_1446; +x_1381 = x_1447; +goto block_1411; +} } } else { -lean_object* x_1447; lean_object* x_1448; +lean_object* x_1448; lean_object* x_1449; +lean_dec(x_5); +x_1448 = lean_ctor_get(x_1438, 0); +lean_inc(x_1448); +x_1449 = lean_ctor_get(x_1438, 1); +lean_inc(x_1449); +lean_dec(x_1438); +x_1380 = x_1448; +x_1381 = x_1449; +goto block_1411; +} +} +else +{ +lean_object* x_1450; lean_object* x_1451; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1447 = lean_ctor_get(x_1432, 0); -lean_inc(x_1447); -x_1448 = lean_ctor_get(x_1432, 1); -lean_inc(x_1448); -lean_dec(x_1432); -x_1377 = x_1447; -x_1378 = x_1448; -goto block_1408; +x_1450 = lean_ctor_get(x_1435, 0); +lean_inc(x_1450); +x_1451 = lean_ctor_get(x_1435, 1); +lean_inc(x_1451); +lean_dec(x_1435); +x_1380 = x_1450; +x_1381 = x_1451; +goto block_1411; } -block_1408: +block_1411: { -if (lean_obj_tag(x_1377) == 0) +if (lean_obj_tag(x_1380) == 0) { -lean_object* x_1379; uint8_t x_1380; -lean_dec(x_1376); -x_1379 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1378); -x_1380 = !lean_is_exclusive(x_1379); -if (x_1380 == 0) +lean_object* x_1382; uint8_t x_1383; +lean_dec(x_1379); +x_1382 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1381); +x_1383 = !lean_is_exclusive(x_1382); +if (x_1383 == 0) { -lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; uint8_t x_1384; -x_1381 = lean_ctor_get(x_1379, 0); -x_1382 = lean_ctor_get(x_1379, 1); -x_1383 = l_Lean_Elab_Term_SavedState_restore(x_1374, x_9, x_10, x_11, x_12, x_13, x_14, x_1382); +lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; uint8_t x_1387; +x_1384 = lean_ctor_get(x_1382, 0); +x_1385 = lean_ctor_get(x_1382, 1); +x_1386 = l_Lean_Elab_Term_SavedState_restore(x_1377, x_9, x_10, x_11, x_12, x_13, x_14, x_1385); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1384 = !lean_is_exclusive(x_1383); -if (x_1384 == 0) -{ -lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; -x_1385 = lean_ctor_get(x_1383, 1); -x_1386 = lean_ctor_get(x_1383, 0); -lean_dec(x_1386); -lean_ctor_set_tag(x_1383, 1); -lean_ctor_set(x_1383, 1, x_1381); -lean_ctor_set(x_1383, 0, x_1377); -x_1387 = lean_array_push(x_8, x_1383); -lean_ctor_set(x_1379, 1, x_1385); -lean_ctor_set(x_1379, 0, x_1387); -return x_1379; -} -else +x_1387 = !lean_is_exclusive(x_1386); +if (x_1387 == 0) { lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; -x_1388 = lean_ctor_get(x_1383, 1); -lean_inc(x_1388); -lean_dec(x_1383); -x_1389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1389, 0, x_1377); -lean_ctor_set(x_1389, 1, x_1381); -x_1390 = lean_array_push(x_8, x_1389); -lean_ctor_set(x_1379, 1, x_1388); -lean_ctor_set(x_1379, 0, x_1390); -return x_1379; -} +x_1388 = lean_ctor_get(x_1386, 1); +x_1389 = lean_ctor_get(x_1386, 0); +lean_dec(x_1389); +lean_ctor_set_tag(x_1386, 1); +lean_ctor_set(x_1386, 1, x_1384); +lean_ctor_set(x_1386, 0, x_1380); +x_1390 = lean_array_push(x_8, x_1386); +lean_ctor_set(x_1382, 1, x_1388); +lean_ctor_set(x_1382, 0, x_1390); +return x_1382; } else { -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; -x_1391 = lean_ctor_get(x_1379, 0); -x_1392 = lean_ctor_get(x_1379, 1); -lean_inc(x_1392); +lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; +x_1391 = lean_ctor_get(x_1386, 1); lean_inc(x_1391); -lean_dec(x_1379); -x_1393 = l_Lean_Elab_Term_SavedState_restore(x_1374, x_9, x_10, x_11, x_12, x_13, x_14, x_1392); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1394 = lean_ctor_get(x_1393, 1); +lean_dec(x_1386); +x_1392 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1392, 0, x_1380); +lean_ctor_set(x_1392, 1, x_1384); +x_1393 = lean_array_push(x_8, x_1392); +lean_ctor_set(x_1382, 1, x_1391); +lean_ctor_set(x_1382, 0, x_1393); +return x_1382; +} +} +else +{ +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_object* x_1400; lean_object* x_1401; +x_1394 = lean_ctor_get(x_1382, 0); +x_1395 = lean_ctor_get(x_1382, 1); +lean_inc(x_1395); lean_inc(x_1394); -if (lean_is_exclusive(x_1393)) { - lean_ctor_release(x_1393, 0); - lean_ctor_release(x_1393, 1); - x_1395 = x_1393; +lean_dec(x_1382); +x_1396 = l_Lean_Elab_Term_SavedState_restore(x_1377, x_9, x_10, x_11, x_12, x_13, x_14, x_1395); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1397 = lean_ctor_get(x_1396, 1); +lean_inc(x_1397); +if (lean_is_exclusive(x_1396)) { + lean_ctor_release(x_1396, 0); + lean_ctor_release(x_1396, 1); + x_1398 = x_1396; } else { - lean_dec_ref(x_1393); - x_1395 = lean_box(0); + lean_dec_ref(x_1396); + x_1398 = lean_box(0); } -if (lean_is_scalar(x_1395)) { - x_1396 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1398)) { + x_1399 = lean_alloc_ctor(1, 2, 0); } else { - x_1396 = x_1395; - lean_ctor_set_tag(x_1396, 1); + x_1399 = x_1398; + lean_ctor_set_tag(x_1399, 1); } -lean_ctor_set(x_1396, 0, x_1377); -lean_ctor_set(x_1396, 1, x_1391); -x_1397 = lean_array_push(x_8, x_1396); -x_1398 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1398, 0, x_1397); -lean_ctor_set(x_1398, 1, x_1394); -return x_1398; +lean_ctor_set(x_1399, 0, x_1380); +lean_ctor_set(x_1399, 1, x_1394); +x_1400 = lean_array_push(x_8, x_1399); +x_1401 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1401, 0, x_1400); +lean_ctor_set(x_1401, 1, x_1397); +return x_1401; } } else { -lean_object* x_1399; lean_object* x_1400; uint8_t x_1401; +lean_object* x_1402; lean_object* x_1403; uint8_t x_1404; lean_dec(x_8); -x_1399 = lean_ctor_get(x_1377, 0); -lean_inc(x_1399); -x_1400 = l_Lean_Elab_postponeExceptionId; -x_1401 = lean_nat_dec_eq(x_1399, x_1400); -lean_dec(x_1399); -if (x_1401 == 0) -{ -lean_object* x_1402; -lean_dec(x_1374); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_1376)) { - x_1402 = lean_alloc_ctor(1, 2, 0); -} else { - x_1402 = x_1376; - lean_ctor_set_tag(x_1402, 1); -} -lean_ctor_set(x_1402, 0, x_1377); -lean_ctor_set(x_1402, 1, x_1378); -return x_1402; -} -else -{ -lean_object* x_1403; uint8_t x_1404; -lean_dec(x_1376); -x_1403 = l_Lean_Elab_Term_SavedState_restore(x_1374, x_9, x_10, x_11, x_12, x_13, x_14, x_1378); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1404 = !lean_is_exclusive(x_1403); +x_1402 = lean_ctor_get(x_1380, 0); +lean_inc(x_1402); +x_1403 = l_Lean_Elab_postponeExceptionId; +x_1404 = lean_nat_dec_eq(x_1402, x_1403); +lean_dec(x_1402); if (x_1404 == 0) { lean_object* x_1405; -x_1405 = lean_ctor_get(x_1403, 0); -lean_dec(x_1405); -lean_ctor_set_tag(x_1403, 1); -lean_ctor_set(x_1403, 0, x_1377); -return x_1403; -} -else -{ -lean_object* x_1406; lean_object* x_1407; -x_1406 = lean_ctor_get(x_1403, 1); -lean_inc(x_1406); -lean_dec(x_1403); -x_1407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1407, 0, x_1377); -lean_ctor_set(x_1407, 1, x_1406); -return x_1407; -} -} -} -} -block_1431: -{ -lean_object* x_1411; uint8_t x_1412; -x_1411 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1410); -x_1412 = !lean_is_exclusive(x_1411); -if (x_1412 == 0) -{ -lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; uint8_t x_1416; -x_1413 = lean_ctor_get(x_1411, 0); -x_1414 = lean_ctor_get(x_1411, 1); -x_1415 = l_Lean_Elab_Term_SavedState_restore(x_1374, x_9, x_10, x_11, x_12, x_13, x_14, x_1414); +lean_dec(x_1377); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1416 = !lean_is_exclusive(x_1415); -if (x_1416 == 0) -{ -lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; -x_1417 = lean_ctor_get(x_1415, 1); -x_1418 = lean_ctor_get(x_1415, 0); -lean_dec(x_1418); -lean_ctor_set(x_1415, 1, x_1413); -lean_ctor_set(x_1415, 0, x_1409); -x_1419 = lean_array_push(x_8, x_1415); -lean_ctor_set(x_1411, 1, x_1417); -lean_ctor_set(x_1411, 0, x_1419); -return x_1411; +if (lean_is_scalar(x_1379)) { + x_1405 = lean_alloc_ctor(1, 2, 0); +} else { + x_1405 = x_1379; + lean_ctor_set_tag(x_1405, 1); +} +lean_ctor_set(x_1405, 0, x_1380); +lean_ctor_set(x_1405, 1, x_1381); +return x_1405; } else { +lean_object* x_1406; uint8_t x_1407; +lean_dec(x_1379); +x_1406 = l_Lean_Elab_Term_SavedState_restore(x_1377, x_9, x_10, x_11, x_12, x_13, x_14, x_1381); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1407 = !lean_is_exclusive(x_1406); +if (x_1407 == 0) +{ +lean_object* x_1408; +x_1408 = lean_ctor_get(x_1406, 0); +lean_dec(x_1408); +lean_ctor_set_tag(x_1406, 1); +lean_ctor_set(x_1406, 0, x_1380); +return x_1406; +} +else +{ +lean_object* x_1409; lean_object* x_1410; +x_1409 = lean_ctor_get(x_1406, 1); +lean_inc(x_1409); +lean_dec(x_1406); +x_1410 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1410, 0, x_1380); +lean_ctor_set(x_1410, 1, x_1409); +return x_1410; +} +} +} +} +block_1434: +{ +lean_object* x_1414; uint8_t x_1415; +x_1414 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1413); +x_1415 = !lean_is_exclusive(x_1414); +if (x_1415 == 0) +{ +lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; uint8_t x_1419; +x_1416 = lean_ctor_get(x_1414, 0); +x_1417 = lean_ctor_get(x_1414, 1); +x_1418 = l_Lean_Elab_Term_SavedState_restore(x_1377, x_9, x_10, x_11, x_12, x_13, x_14, x_1417); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1419 = !lean_is_exclusive(x_1418); +if (x_1419 == 0) +{ lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; -x_1420 = lean_ctor_get(x_1415, 1); -lean_inc(x_1420); -lean_dec(x_1415); -x_1421 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1421, 0, x_1409); -lean_ctor_set(x_1421, 1, x_1413); -x_1422 = lean_array_push(x_8, x_1421); -lean_ctor_set(x_1411, 1, x_1420); -lean_ctor_set(x_1411, 0, x_1422); -return x_1411; +x_1420 = lean_ctor_get(x_1418, 1); +x_1421 = lean_ctor_get(x_1418, 0); +lean_dec(x_1421); +lean_ctor_set(x_1418, 1, x_1416); +lean_ctor_set(x_1418, 0, x_1412); +x_1422 = lean_array_push(x_8, x_1418); +lean_ctor_set(x_1414, 1, x_1420); +lean_ctor_set(x_1414, 0, x_1422); +return x_1414; +} +else +{ +lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; +x_1423 = lean_ctor_get(x_1418, 1); +lean_inc(x_1423); +lean_dec(x_1418); +x_1424 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1424, 0, x_1412); +lean_ctor_set(x_1424, 1, x_1416); +x_1425 = lean_array_push(x_8, x_1424); +lean_ctor_set(x_1414, 1, x_1423); +lean_ctor_set(x_1414, 0, x_1425); +return x_1414; } } else { -lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; -x_1423 = lean_ctor_get(x_1411, 0); -x_1424 = lean_ctor_get(x_1411, 1); -lean_inc(x_1424); -lean_inc(x_1423); -lean_dec(x_1411); -x_1425 = l_Lean_Elab_Term_SavedState_restore(x_1374, x_9, x_10, x_11, x_12, x_13, x_14, x_1424); +lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; +x_1426 = lean_ctor_get(x_1414, 0); +x_1427 = lean_ctor_get(x_1414, 1); +lean_inc(x_1427); +lean_inc(x_1426); +lean_dec(x_1414); +x_1428 = l_Lean_Elab_Term_SavedState_restore(x_1377, x_9, x_10, x_11, x_12, x_13, x_14, x_1427); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1426 = lean_ctor_get(x_1425, 1); -lean_inc(x_1426); -if (lean_is_exclusive(x_1425)) { - lean_ctor_release(x_1425, 0); - lean_ctor_release(x_1425, 1); - x_1427 = x_1425; +x_1429 = lean_ctor_get(x_1428, 1); +lean_inc(x_1429); +if (lean_is_exclusive(x_1428)) { + lean_ctor_release(x_1428, 0); + lean_ctor_release(x_1428, 1); + x_1430 = x_1428; } else { - lean_dec_ref(x_1425); - x_1427 = lean_box(0); + lean_dec_ref(x_1428); + x_1430 = lean_box(0); } -if (lean_is_scalar(x_1427)) { - x_1428 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1430)) { + x_1431 = lean_alloc_ctor(0, 2, 0); } else { - x_1428 = x_1427; + x_1431 = x_1430; } -lean_ctor_set(x_1428, 0, x_1409); -lean_ctor_set(x_1428, 1, x_1423); -x_1429 = lean_array_push(x_8, x_1428); -x_1430 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1430, 0, x_1429); -lean_ctor_set(x_1430, 1, x_1426); -return x_1430; +lean_ctor_set(x_1431, 0, x_1412); +lean_ctor_set(x_1431, 1, x_1426); +x_1432 = lean_array_push(x_8, x_1431); +x_1433 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1433, 0, x_1432); +lean_ctor_set(x_1433, 1, x_1429); +return x_1433; } } } @@ -20496,301 +20501,302 @@ lean_dec(x_3); lean_dec(x_2); if (x_7 == 0) { -lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; uint8_t x_1485; lean_object* x_1486; -x_1449 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_1450 = lean_ctor_get(x_1449, 0); -lean_inc(x_1450); -x_1451 = lean_ctor_get(x_1449, 1); -lean_inc(x_1451); -if (lean_is_exclusive(x_1449)) { - lean_ctor_release(x_1449, 0); - lean_ctor_release(x_1449, 1); - x_1452 = x_1449; +lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; uint8_t x_1488; lean_object* x_1489; +x_1452 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_1453 = lean_ctor_get(x_1452, 0); +lean_inc(x_1453); +x_1454 = lean_ctor_get(x_1452, 1); +lean_inc(x_1454); +if (lean_is_exclusive(x_1452)) { + lean_ctor_release(x_1452, 0); + lean_ctor_release(x_1452, 1); + x_1455 = x_1452; } else { - lean_dec_ref(x_1449); - x_1452 = lean_box(0); + lean_dec_ref(x_1452); + x_1455 = lean_box(0); } -x_1485 = 1; +x_1488 = 1; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_1486 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_1485, x_9, x_10, x_11, x_12, x_13, x_14, x_1451); -if (lean_obj_tag(x_1486) == 0) +x_1489 = l_Lean_Elab_Term_elabTerm(x_1, x_5, x_1488, x_9, x_10, x_11, x_12, x_13, x_14, x_1454); +if (lean_obj_tag(x_1489) == 0) { -lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; uint8_t x_1490; -lean_dec(x_1452); -x_1487 = lean_ctor_get(x_1486, 0); -lean_inc(x_1487); -x_1488 = lean_ctor_get(x_1486, 1); -lean_inc(x_1488); -lean_dec(x_1486); -x_1489 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1488); -x_1490 = !lean_is_exclusive(x_1489); -if (x_1490 == 0) +lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; uint8_t x_1493; +lean_dec(x_1455); +x_1490 = lean_ctor_get(x_1489, 0); +lean_inc(x_1490); +x_1491 = lean_ctor_get(x_1489, 1); +lean_inc(x_1491); +lean_dec(x_1489); +x_1492 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1491); +x_1493 = !lean_is_exclusive(x_1492); +if (x_1493 == 0) { -lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; uint8_t x_1494; -x_1491 = lean_ctor_get(x_1489, 0); -x_1492 = lean_ctor_get(x_1489, 1); -x_1493 = l_Lean_Elab_Term_SavedState_restore(x_1450, x_9, x_10, x_11, x_12, x_13, x_14, x_1492); +lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; uint8_t x_1497; +x_1494 = lean_ctor_get(x_1492, 0); +x_1495 = lean_ctor_get(x_1492, 1); +x_1496 = l_Lean_Elab_Term_SavedState_restore(x_1453, x_9, x_10, x_11, x_12, x_13, x_14, x_1495); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1494 = !lean_is_exclusive(x_1493); -if (x_1494 == 0) -{ -lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; -x_1495 = lean_ctor_get(x_1493, 1); -x_1496 = lean_ctor_get(x_1493, 0); -lean_dec(x_1496); -lean_ctor_set(x_1493, 1, x_1491); -lean_ctor_set(x_1493, 0, x_1487); -x_1497 = lean_array_push(x_8, x_1493); -lean_ctor_set(x_1489, 1, x_1495); -lean_ctor_set(x_1489, 0, x_1497); -return x_1489; -} -else +x_1497 = !lean_is_exclusive(x_1496); +if (x_1497 == 0) { lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; -x_1498 = lean_ctor_get(x_1493, 1); -lean_inc(x_1498); -lean_dec(x_1493); -x_1499 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1499, 0, x_1487); -lean_ctor_set(x_1499, 1, x_1491); -x_1500 = lean_array_push(x_8, x_1499); -lean_ctor_set(x_1489, 1, x_1498); -lean_ctor_set(x_1489, 0, x_1500); -return x_1489; -} +x_1498 = lean_ctor_get(x_1496, 1); +x_1499 = lean_ctor_get(x_1496, 0); +lean_dec(x_1499); +lean_ctor_set(x_1496, 1, x_1494); +lean_ctor_set(x_1496, 0, x_1490); +x_1500 = lean_array_push(x_8, x_1496); +lean_ctor_set(x_1492, 1, x_1498); +lean_ctor_set(x_1492, 0, x_1500); +return x_1492; } else { -lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; -x_1501 = lean_ctor_get(x_1489, 0); -x_1502 = lean_ctor_get(x_1489, 1); -lean_inc(x_1502); +lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; +x_1501 = lean_ctor_get(x_1496, 1); lean_inc(x_1501); -lean_dec(x_1489); -x_1503 = l_Lean_Elab_Term_SavedState_restore(x_1450, x_9, x_10, x_11, x_12, x_13, x_14, x_1502); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1504 = lean_ctor_get(x_1503, 1); +lean_dec(x_1496); +x_1502 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1502, 0, x_1490); +lean_ctor_set(x_1502, 1, x_1494); +x_1503 = lean_array_push(x_8, x_1502); +lean_ctor_set(x_1492, 1, x_1501); +lean_ctor_set(x_1492, 0, x_1503); +return x_1492; +} +} +else +{ +lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; +x_1504 = lean_ctor_get(x_1492, 0); +x_1505 = lean_ctor_get(x_1492, 1); +lean_inc(x_1505); lean_inc(x_1504); -if (lean_is_exclusive(x_1503)) { - lean_ctor_release(x_1503, 0); - lean_ctor_release(x_1503, 1); - x_1505 = x_1503; -} else { - lean_dec_ref(x_1503); - x_1505 = lean_box(0); -} -if (lean_is_scalar(x_1505)) { - x_1506 = lean_alloc_ctor(0, 2, 0); -} else { - x_1506 = x_1505; -} -lean_ctor_set(x_1506, 0, x_1487); -lean_ctor_set(x_1506, 1, x_1501); -x_1507 = lean_array_push(x_8, x_1506); -x_1508 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1508, 0, x_1507); -lean_ctor_set(x_1508, 1, x_1504); -return x_1508; -} -} -else -{ -lean_object* x_1509; lean_object* x_1510; -x_1509 = lean_ctor_get(x_1486, 0); -lean_inc(x_1509); -x_1510 = lean_ctor_get(x_1486, 1); -lean_inc(x_1510); -lean_dec(x_1486); -x_1453 = x_1509; -x_1454 = x_1510; -goto block_1484; -} -block_1484: -{ -if (lean_obj_tag(x_1453) == 0) -{ -lean_object* x_1455; uint8_t x_1456; -lean_dec(x_1452); -x_1455 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1454); -x_1456 = !lean_is_exclusive(x_1455); -if (x_1456 == 0) -{ -lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; uint8_t x_1460; -x_1457 = lean_ctor_get(x_1455, 0); -x_1458 = lean_ctor_get(x_1455, 1); -x_1459 = l_Lean_Elab_Term_SavedState_restore(x_1450, x_9, x_10, x_11, x_12, x_13, x_14, x_1458); +lean_dec(x_1492); +x_1506 = l_Lean_Elab_Term_SavedState_restore(x_1453, x_9, x_10, x_11, x_12, x_13, x_14, x_1505); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1460 = !lean_is_exclusive(x_1459); -if (x_1460 == 0) -{ -lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; -x_1461 = lean_ctor_get(x_1459, 1); -x_1462 = lean_ctor_get(x_1459, 0); -lean_dec(x_1462); -lean_ctor_set_tag(x_1459, 1); -lean_ctor_set(x_1459, 1, x_1457); -lean_ctor_set(x_1459, 0, x_1453); -x_1463 = lean_array_push(x_8, x_1459); -lean_ctor_set(x_1455, 1, x_1461); -lean_ctor_set(x_1455, 0, x_1463); -return x_1455; +x_1507 = lean_ctor_get(x_1506, 1); +lean_inc(x_1507); +if (lean_is_exclusive(x_1506)) { + lean_ctor_release(x_1506, 0); + lean_ctor_release(x_1506, 1); + x_1508 = x_1506; +} else { + lean_dec_ref(x_1506); + x_1508 = lean_box(0); +} +if (lean_is_scalar(x_1508)) { + x_1509 = lean_alloc_ctor(0, 2, 0); +} else { + x_1509 = x_1508; +} +lean_ctor_set(x_1509, 0, x_1490); +lean_ctor_set(x_1509, 1, x_1504); +x_1510 = lean_array_push(x_8, x_1509); +x_1511 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1511, 0, x_1510); +lean_ctor_set(x_1511, 1, x_1507); +return x_1511; +} } else { +lean_object* x_1512; lean_object* x_1513; +x_1512 = lean_ctor_get(x_1489, 0); +lean_inc(x_1512); +x_1513 = lean_ctor_get(x_1489, 1); +lean_inc(x_1513); +lean_dec(x_1489); +x_1456 = x_1512; +x_1457 = x_1513; +goto block_1487; +} +block_1487: +{ +if (lean_obj_tag(x_1456) == 0) +{ +lean_object* x_1458; uint8_t x_1459; +lean_dec(x_1455); +x_1458 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1457); +x_1459 = !lean_is_exclusive(x_1458); +if (x_1459 == 0) +{ +lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; uint8_t x_1463; +x_1460 = lean_ctor_get(x_1458, 0); +x_1461 = lean_ctor_get(x_1458, 1); +x_1462 = l_Lean_Elab_Term_SavedState_restore(x_1453, x_9, x_10, x_11, x_12, x_13, x_14, x_1461); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1463 = !lean_is_exclusive(x_1462); +if (x_1463 == 0) +{ lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; -x_1464 = lean_ctor_get(x_1459, 1); -lean_inc(x_1464); -lean_dec(x_1459); -x_1465 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1465, 0, x_1453); -lean_ctor_set(x_1465, 1, x_1457); -x_1466 = lean_array_push(x_8, x_1465); -lean_ctor_set(x_1455, 1, x_1464); -lean_ctor_set(x_1455, 0, x_1466); -return x_1455; -} +x_1464 = lean_ctor_get(x_1462, 1); +x_1465 = lean_ctor_get(x_1462, 0); +lean_dec(x_1465); +lean_ctor_set_tag(x_1462, 1); +lean_ctor_set(x_1462, 1, x_1460); +lean_ctor_set(x_1462, 0, x_1456); +x_1466 = lean_array_push(x_8, x_1462); +lean_ctor_set(x_1458, 1, x_1464); +lean_ctor_set(x_1458, 0, x_1466); +return x_1458; } else { -lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; -x_1467 = lean_ctor_get(x_1455, 0); -x_1468 = lean_ctor_get(x_1455, 1); -lean_inc(x_1468); +lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; +x_1467 = lean_ctor_get(x_1462, 1); lean_inc(x_1467); -lean_dec(x_1455); -x_1469 = l_Lean_Elab_Term_SavedState_restore(x_1450, x_9, x_10, x_11, x_12, x_13, x_14, x_1468); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1470 = lean_ctor_get(x_1469, 1); +lean_dec(x_1462); +x_1468 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1468, 0, x_1456); +lean_ctor_set(x_1468, 1, x_1460); +x_1469 = lean_array_push(x_8, x_1468); +lean_ctor_set(x_1458, 1, x_1467); +lean_ctor_set(x_1458, 0, x_1469); +return x_1458; +} +} +else +{ +lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; +x_1470 = lean_ctor_get(x_1458, 0); +x_1471 = lean_ctor_get(x_1458, 1); +lean_inc(x_1471); lean_inc(x_1470); -if (lean_is_exclusive(x_1469)) { - lean_ctor_release(x_1469, 0); - lean_ctor_release(x_1469, 1); - x_1471 = x_1469; +lean_dec(x_1458); +x_1472 = l_Lean_Elab_Term_SavedState_restore(x_1453, x_9, x_10, x_11, x_12, x_13, x_14, x_1471); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1473 = lean_ctor_get(x_1472, 1); +lean_inc(x_1473); +if (lean_is_exclusive(x_1472)) { + lean_ctor_release(x_1472, 0); + lean_ctor_release(x_1472, 1); + x_1474 = x_1472; } else { - lean_dec_ref(x_1469); - x_1471 = lean_box(0); + lean_dec_ref(x_1472); + x_1474 = lean_box(0); } -if (lean_is_scalar(x_1471)) { - x_1472 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1474)) { + x_1475 = lean_alloc_ctor(1, 2, 0); } else { - x_1472 = x_1471; - lean_ctor_set_tag(x_1472, 1); + x_1475 = x_1474; + lean_ctor_set_tag(x_1475, 1); } -lean_ctor_set(x_1472, 0, x_1453); -lean_ctor_set(x_1472, 1, x_1467); -x_1473 = lean_array_push(x_8, x_1472); -x_1474 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1474, 0, x_1473); -lean_ctor_set(x_1474, 1, x_1470); -return x_1474; +lean_ctor_set(x_1475, 0, x_1456); +lean_ctor_set(x_1475, 1, x_1470); +x_1476 = lean_array_push(x_8, x_1475); +x_1477 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1477, 0, x_1476); +lean_ctor_set(x_1477, 1, x_1473); +return x_1477; } } else { -lean_object* x_1475; lean_object* x_1476; uint8_t x_1477; +lean_object* x_1478; lean_object* x_1479; uint8_t x_1480; lean_dec(x_8); -x_1475 = lean_ctor_get(x_1453, 0); -lean_inc(x_1475); -x_1476 = l_Lean_Elab_postponeExceptionId; -x_1477 = lean_nat_dec_eq(x_1475, x_1476); -lean_dec(x_1475); -if (x_1477 == 0) -{ -lean_object* x_1478; -lean_dec(x_1450); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -if (lean_is_scalar(x_1452)) { - x_1478 = lean_alloc_ctor(1, 2, 0); -} else { - x_1478 = x_1452; - lean_ctor_set_tag(x_1478, 1); -} -lean_ctor_set(x_1478, 0, x_1453); -lean_ctor_set(x_1478, 1, x_1454); -return x_1478; -} -else -{ -lean_object* x_1479; uint8_t x_1480; -lean_dec(x_1452); -x_1479 = l_Lean_Elab_Term_SavedState_restore(x_1450, x_9, x_10, x_11, x_12, x_13, x_14, x_1454); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1480 = !lean_is_exclusive(x_1479); +x_1478 = lean_ctor_get(x_1456, 0); +lean_inc(x_1478); +x_1479 = l_Lean_Elab_postponeExceptionId; +x_1480 = lean_nat_dec_eq(x_1478, x_1479); +lean_dec(x_1478); if (x_1480 == 0) { lean_object* x_1481; -x_1481 = lean_ctor_get(x_1479, 0); -lean_dec(x_1481); -lean_ctor_set_tag(x_1479, 1); -lean_ctor_set(x_1479, 0, x_1453); -return x_1479; -} -else -{ -lean_object* x_1482; lean_object* x_1483; -x_1482 = lean_ctor_get(x_1479, 1); -lean_inc(x_1482); -lean_dec(x_1479); -x_1483 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1483, 0, x_1453); -lean_ctor_set(x_1483, 1, x_1482); -return x_1483; -} -} -} -} -} -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; lean_object* x_1547; -x_1511 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_1512 = lean_ctor_get(x_1511, 0); -lean_inc(x_1512); -x_1513 = lean_ctor_get(x_1511, 1); -lean_inc(x_1513); -if (lean_is_exclusive(x_1511)) { - lean_ctor_release(x_1511, 0); - lean_ctor_release(x_1511, 1); - x_1514 = x_1511; +lean_dec(x_1453); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +if (lean_is_scalar(x_1455)) { + x_1481 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_1511); - x_1514 = lean_box(0); + x_1481 = x_1455; + lean_ctor_set_tag(x_1481, 1); +} +lean_ctor_set(x_1481, 0, x_1456); +lean_ctor_set(x_1481, 1, x_1457); +return x_1481; +} +else +{ +lean_object* x_1482; uint8_t x_1483; +lean_dec(x_1455); +x_1482 = l_Lean_Elab_Term_SavedState_restore(x_1453, x_9, x_10, x_11, x_12, x_13, x_14, x_1457); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1483 = !lean_is_exclusive(x_1482); +if (x_1483 == 0) +{ +lean_object* x_1484; +x_1484 = lean_ctor_get(x_1482, 0); +lean_dec(x_1484); +lean_ctor_set_tag(x_1482, 1); +lean_ctor_set(x_1482, 0, x_1456); +return x_1482; +} +else +{ +lean_object* x_1485; lean_object* x_1486; +x_1485 = lean_ctor_get(x_1482, 1); +lean_inc(x_1485); +lean_dec(x_1482); +x_1486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1486, 0, x_1456); +lean_ctor_set(x_1486, 1, x_1485); +return x_1486; +} +} +} +} +} +else +{ +lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1551; +x_1514 = lean_box(0); +x_1515 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_1516 = lean_ctor_get(x_1515, 0); +lean_inc(x_1516); +x_1517 = lean_ctor_get(x_1515, 1); +lean_inc(x_1517); +if (lean_is_exclusive(x_1515)) { + lean_ctor_release(x_1515, 0); + lean_ctor_release(x_1515, 1); + x_1518 = x_1515; +} else { + lean_dec_ref(x_1515); + x_1518 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -20798,261 +20804,261 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_1547 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_1215, x_9, x_10, x_11, x_12, x_13, x_14, x_1513); -if (lean_obj_tag(x_1547) == 0) -{ -lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; uint8_t x_1551; -lean_dec(x_1514); -x_1548 = lean_ctor_get(x_1547, 0); -lean_inc(x_1548); -x_1549 = lean_ctor_get(x_1547, 1); -lean_inc(x_1549); -lean_dec(x_1547); -x_1550 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1549); -x_1551 = !lean_is_exclusive(x_1550); -if (x_1551 == 0) +x_1551 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_1218, x_1514, x_9, x_10, x_11, x_12, x_13, x_14, x_1517); +if (lean_obj_tag(x_1551) == 0) { lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; uint8_t x_1555; -x_1552 = lean_ctor_get(x_1550, 0); -x_1553 = lean_ctor_get(x_1550, 1); -x_1554 = l_Lean_Elab_Term_SavedState_restore(x_1512, x_9, x_10, x_11, x_12, x_13, x_14, x_1553); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_1518); +x_1552 = lean_ctor_get(x_1551, 0); +lean_inc(x_1552); +x_1553 = lean_ctor_get(x_1551, 1); +lean_inc(x_1553); +lean_dec(x_1551); +x_1554 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1553); x_1555 = !lean_is_exclusive(x_1554); if (x_1555 == 0) { -lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; -x_1556 = lean_ctor_get(x_1554, 1); -x_1557 = lean_ctor_get(x_1554, 0); -lean_dec(x_1557); -lean_ctor_set(x_1554, 1, x_1552); -lean_ctor_set(x_1554, 0, x_1548); -x_1558 = lean_array_push(x_8, x_1554); -lean_ctor_set(x_1550, 1, x_1556); -lean_ctor_set(x_1550, 0, x_1558); -return x_1550; +lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; uint8_t x_1559; +x_1556 = lean_ctor_get(x_1554, 0); +x_1557 = lean_ctor_get(x_1554, 1); +x_1558 = l_Lean_Elab_Term_SavedState_restore(x_1516, x_9, x_10, x_11, x_12, x_13, x_14, x_1557); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1559 = !lean_is_exclusive(x_1558); +if (x_1559 == 0) +{ +lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; +x_1560 = lean_ctor_get(x_1558, 1); +x_1561 = lean_ctor_get(x_1558, 0); +lean_dec(x_1561); +lean_ctor_set(x_1558, 1, x_1556); +lean_ctor_set(x_1558, 0, x_1552); +x_1562 = lean_array_push(x_8, x_1558); +lean_ctor_set(x_1554, 1, x_1560); +lean_ctor_set(x_1554, 0, x_1562); +return x_1554; } else { -lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; -x_1559 = lean_ctor_get(x_1554, 1); -lean_inc(x_1559); -lean_dec(x_1554); -x_1560 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1560, 0, x_1548); -lean_ctor_set(x_1560, 1, x_1552); -x_1561 = lean_array_push(x_8, x_1560); -lean_ctor_set(x_1550, 1, x_1559); -lean_ctor_set(x_1550, 0, x_1561); -return x_1550; -} -} -else -{ -lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; -x_1562 = lean_ctor_get(x_1550, 0); -x_1563 = lean_ctor_get(x_1550, 1); +lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; +x_1563 = lean_ctor_get(x_1558, 1); lean_inc(x_1563); -lean_inc(x_1562); -lean_dec(x_1550); -x_1564 = l_Lean_Elab_Term_SavedState_restore(x_1512, x_9, x_10, x_11, x_12, x_13, x_14, x_1563); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1565 = lean_ctor_get(x_1564, 1); -lean_inc(x_1565); -if (lean_is_exclusive(x_1564)) { - lean_ctor_release(x_1564, 0); - lean_ctor_release(x_1564, 1); - x_1566 = x_1564; -} else { - lean_dec_ref(x_1564); - x_1566 = lean_box(0); -} -if (lean_is_scalar(x_1566)) { - x_1567 = lean_alloc_ctor(0, 2, 0); -} else { - x_1567 = x_1566; -} -lean_ctor_set(x_1567, 0, x_1548); -lean_ctor_set(x_1567, 1, x_1562); -x_1568 = lean_array_push(x_8, x_1567); -x_1569 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1569, 0, x_1568); -lean_ctor_set(x_1569, 1, x_1565); -return x_1569; +lean_dec(x_1558); +x_1564 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1564, 0, x_1552); +lean_ctor_set(x_1564, 1, x_1556); +x_1565 = lean_array_push(x_8, x_1564); +lean_ctor_set(x_1554, 1, x_1563); +lean_ctor_set(x_1554, 0, x_1565); +return x_1554; } } else { -lean_object* x_1570; lean_object* x_1571; -x_1570 = lean_ctor_get(x_1547, 0); -lean_inc(x_1570); -x_1571 = lean_ctor_get(x_1547, 1); -lean_inc(x_1571); -lean_dec(x_1547); -x_1515 = x_1570; -x_1516 = x_1571; -goto block_1546; -} -block_1546: -{ -if (lean_obj_tag(x_1515) == 0) -{ -lean_object* x_1517; uint8_t x_1518; -lean_dec(x_1514); -x_1517 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1516); -x_1518 = !lean_is_exclusive(x_1517); -if (x_1518 == 0) -{ -lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; uint8_t x_1522; -x_1519 = lean_ctor_get(x_1517, 0); -x_1520 = lean_ctor_get(x_1517, 1); -x_1521 = l_Lean_Elab_Term_SavedState_restore(x_1512, x_9, x_10, x_11, x_12, x_13, x_14, x_1520); +lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; +x_1566 = lean_ctor_get(x_1554, 0); +x_1567 = lean_ctor_get(x_1554, 1); +lean_inc(x_1567); +lean_inc(x_1566); +lean_dec(x_1554); +x_1568 = l_Lean_Elab_Term_SavedState_restore(x_1516, x_9, x_10, x_11, x_12, x_13, x_14, x_1567); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +x_1569 = lean_ctor_get(x_1568, 1); +lean_inc(x_1569); +if (lean_is_exclusive(x_1568)) { + lean_ctor_release(x_1568, 0); + lean_ctor_release(x_1568, 1); + x_1570 = x_1568; +} else { + lean_dec_ref(x_1568); + x_1570 = lean_box(0); +} +if (lean_is_scalar(x_1570)) { + x_1571 = lean_alloc_ctor(0, 2, 0); +} else { + x_1571 = x_1570; +} +lean_ctor_set(x_1571, 0, x_1552); +lean_ctor_set(x_1571, 1, x_1566); +x_1572 = lean_array_push(x_8, x_1571); +x_1573 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1573, 0, x_1572); +lean_ctor_set(x_1573, 1, x_1569); +return x_1573; +} +} +else +{ +lean_object* x_1574; lean_object* x_1575; +x_1574 = lean_ctor_get(x_1551, 0); +lean_inc(x_1574); +x_1575 = lean_ctor_get(x_1551, 1); +lean_inc(x_1575); +lean_dec(x_1551); +x_1519 = x_1574; +x_1520 = x_1575; +goto block_1550; +} +block_1550: +{ +if (lean_obj_tag(x_1519) == 0) +{ +lean_object* x_1521; uint8_t x_1522; +lean_dec(x_1518); +x_1521 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_1520); x_1522 = !lean_is_exclusive(x_1521); if (x_1522 == 0) { -lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; -x_1523 = lean_ctor_get(x_1521, 1); -x_1524 = lean_ctor_get(x_1521, 0); -lean_dec(x_1524); -lean_ctor_set_tag(x_1521, 1); -lean_ctor_set(x_1521, 1, x_1519); -lean_ctor_set(x_1521, 0, x_1515); -x_1525 = lean_array_push(x_8, x_1521); -lean_ctor_set(x_1517, 1, x_1523); -lean_ctor_set(x_1517, 0, x_1525); -return x_1517; +lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; uint8_t x_1526; +x_1523 = lean_ctor_get(x_1521, 0); +x_1524 = lean_ctor_get(x_1521, 1); +x_1525 = l_Lean_Elab_Term_SavedState_restore(x_1516, x_9, x_10, x_11, x_12, x_13, x_14, x_1524); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1526 = !lean_is_exclusive(x_1525); +if (x_1526 == 0) +{ +lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; +x_1527 = lean_ctor_get(x_1525, 1); +x_1528 = lean_ctor_get(x_1525, 0); +lean_dec(x_1528); +lean_ctor_set_tag(x_1525, 1); +lean_ctor_set(x_1525, 1, x_1523); +lean_ctor_set(x_1525, 0, x_1519); +x_1529 = lean_array_push(x_8, x_1525); +lean_ctor_set(x_1521, 1, x_1527); +lean_ctor_set(x_1521, 0, x_1529); +return x_1521; } else { -lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; -x_1526 = lean_ctor_get(x_1521, 1); -lean_inc(x_1526); -lean_dec(x_1521); -x_1527 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1527, 0, x_1515); -lean_ctor_set(x_1527, 1, x_1519); -x_1528 = lean_array_push(x_8, x_1527); -lean_ctor_set(x_1517, 1, x_1526); -lean_ctor_set(x_1517, 0, x_1528); -return x_1517; -} -} -else -{ -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; -x_1529 = lean_ctor_get(x_1517, 0); -x_1530 = lean_ctor_get(x_1517, 1); +lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; +x_1530 = lean_ctor_get(x_1525, 1); lean_inc(x_1530); -lean_inc(x_1529); -lean_dec(x_1517); -x_1531 = l_Lean_Elab_Term_SavedState_restore(x_1512, x_9, x_10, x_11, x_12, x_13, x_14, x_1530); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_1532 = lean_ctor_get(x_1531, 1); -lean_inc(x_1532); -if (lean_is_exclusive(x_1531)) { - lean_ctor_release(x_1531, 0); - lean_ctor_release(x_1531, 1); - x_1533 = x_1531; -} else { - lean_dec_ref(x_1531); - x_1533 = lean_box(0); -} -if (lean_is_scalar(x_1533)) { - x_1534 = lean_alloc_ctor(1, 2, 0); -} else { - x_1534 = x_1533; - lean_ctor_set_tag(x_1534, 1); -} -lean_ctor_set(x_1534, 0, x_1515); -lean_ctor_set(x_1534, 1, x_1529); -x_1535 = lean_array_push(x_8, x_1534); -x_1536 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1536, 0, x_1535); -lean_ctor_set(x_1536, 1, x_1532); -return x_1536; +lean_dec(x_1525); +x_1531 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1531, 0, x_1519); +lean_ctor_set(x_1531, 1, x_1523); +x_1532 = lean_array_push(x_8, x_1531); +lean_ctor_set(x_1521, 1, x_1530); +lean_ctor_set(x_1521, 0, x_1532); +return x_1521; } } else { -lean_object* x_1537; lean_object* x_1538; uint8_t x_1539; -lean_dec(x_8); -x_1537 = lean_ctor_get(x_1515, 0); -lean_inc(x_1537); -x_1538 = l_Lean_Elab_postponeExceptionId; -x_1539 = lean_nat_dec_eq(x_1537, x_1538); -lean_dec(x_1537); -if (x_1539 == 0) -{ -lean_object* x_1540; -lean_dec(x_1512); +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_object* x_1539; lean_object* x_1540; +x_1533 = lean_ctor_get(x_1521, 0); +x_1534 = lean_ctor_get(x_1521, 1); +lean_inc(x_1534); +lean_inc(x_1533); +lean_dec(x_1521); +x_1535 = l_Lean_Elab_Term_SavedState_restore(x_1516, x_9, x_10, x_11, x_12, x_13, x_14, x_1534); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -if (lean_is_scalar(x_1514)) { - x_1540 = lean_alloc_ctor(1, 2, 0); +x_1536 = lean_ctor_get(x_1535, 1); +lean_inc(x_1536); +if (lean_is_exclusive(x_1535)) { + lean_ctor_release(x_1535, 0); + lean_ctor_release(x_1535, 1); + x_1537 = x_1535; } else { - x_1540 = x_1514; - lean_ctor_set_tag(x_1540, 1); + lean_dec_ref(x_1535); + x_1537 = lean_box(0); } -lean_ctor_set(x_1540, 0, x_1515); -lean_ctor_set(x_1540, 1, x_1516); +if (lean_is_scalar(x_1537)) { + x_1538 = lean_alloc_ctor(1, 2, 0); +} else { + x_1538 = x_1537; + lean_ctor_set_tag(x_1538, 1); +} +lean_ctor_set(x_1538, 0, x_1519); +lean_ctor_set(x_1538, 1, x_1533); +x_1539 = lean_array_push(x_8, x_1538); +x_1540 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1540, 0, x_1539); +lean_ctor_set(x_1540, 1, x_1536); return x_1540; } +} else { -lean_object* x_1541; uint8_t x_1542; -lean_dec(x_1514); -x_1541 = l_Lean_Elab_Term_SavedState_restore(x_1512, x_9, x_10, x_11, x_12, x_13, x_14, x_1516); +lean_object* x_1541; lean_object* x_1542; uint8_t x_1543; +lean_dec(x_8); +x_1541 = lean_ctor_get(x_1519, 0); +lean_inc(x_1541); +x_1542 = l_Lean_Elab_postponeExceptionId; +x_1543 = lean_nat_dec_eq(x_1541, x_1542); +lean_dec(x_1541); +if (x_1543 == 0) +{ +lean_object* x_1544; +lean_dec(x_1516); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_1542 = !lean_is_exclusive(x_1541); -if (x_1542 == 0) -{ -lean_object* x_1543; -x_1543 = lean_ctor_get(x_1541, 0); -lean_dec(x_1543); -lean_ctor_set_tag(x_1541, 1); -lean_ctor_set(x_1541, 0, x_1515); -return x_1541; +if (lean_is_scalar(x_1518)) { + x_1544 = lean_alloc_ctor(1, 2, 0); +} else { + x_1544 = x_1518; + lean_ctor_set_tag(x_1544, 1); +} +lean_ctor_set(x_1544, 0, x_1519); +lean_ctor_set(x_1544, 1, x_1520); +return x_1544; } else { -lean_object* x_1544; lean_object* x_1545; -x_1544 = lean_ctor_get(x_1541, 1); -lean_inc(x_1544); -lean_dec(x_1541); -x_1545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1545, 0, x_1515); -lean_ctor_set(x_1545, 1, x_1544); +lean_object* x_1545; uint8_t x_1546; +lean_dec(x_1518); +x_1545 = l_Lean_Elab_Term_SavedState_restore(x_1516, x_9, x_10, x_11, x_12, x_13, x_14, x_1520); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_1546 = !lean_is_exclusive(x_1545); +if (x_1546 == 0) +{ +lean_object* x_1547; +x_1547 = lean_ctor_get(x_1545, 0); +lean_dec(x_1547); +lean_ctor_set_tag(x_1545, 1); +lean_ctor_set(x_1545, 0, x_1519); return x_1545; } +else +{ +lean_object* x_1548; lean_object* x_1549; +x_1548 = lean_ctor_get(x_1545, 1); +lean_inc(x_1548); +lean_dec(x_1545); +x_1549 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1549, 0, x_1519); +lean_ctor_set(x_1549, 1, x_1548); +return x_1549; +} } } } @@ -21064,118 +21070,118 @@ return x_1545; } else { -lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; +lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_dec(x_1); -x_1575 = l_Lean_Syntax_getId(x_1209); -lean_dec(x_1209); -x_1576 = l_Lean_Name_eraseMacroScopes(x_1575); -lean_dec(x_1575); -x_1577 = l_Lean_Name_components(x_1576); -x_1578 = l_List_map___main___at___private_Lean_Elab_App_22__elabAppFn___main___spec__1(x_1577); -x_1579 = l_List_append___rarg(x_1578, x_2); -x_1 = x_1207; -x_2 = x_1579; +x_1579 = l_Lean_Syntax_getId(x_1212); +lean_dec(x_1212); +x_1580 = l_Lean_Name_eraseMacroScopes(x_1579); +lean_dec(x_1579); +x_1581 = l_Lean_Name_components(x_1580); +x_1582 = l_List_map___main___at___private_Lean_Elab_App_22__elabAppFn___main___spec__1(x_1581); +x_1583 = l_List_append___rarg(x_1582, x_2); +x_1 = x_1210; +x_2 = x_1583; goto _start; } } else { -lean_object* x_1581; lean_object* x_1582; +lean_object* x_1585; lean_object* x_1586; lean_dec(x_1); -x_1581 = l_Lean_fieldIdxKind; -x_1582 = l_Lean_Syntax_isNatLitAux(x_1581, x_1209); -lean_dec(x_1209); -if (lean_obj_tag(x_1582) == 0) +x_1585 = l_Lean_fieldIdxKind; +x_1586 = l_Lean_Syntax_isNatLitAux(x_1585, x_1212); +lean_dec(x_1212); +if (lean_obj_tag(x_1586) == 0) { -lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; -x_1583 = l_Nat_Inhabited; -x_1584 = l_Option_get_x21___rarg___closed__3; -x_1585 = lean_panic_fn(x_1583, x_1584); -x_1586 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1586, 0, x_1585); -x_1587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1587, 0, x_1586); -lean_ctor_set(x_1587, 1, x_2); -x_1 = x_1207; -x_2 = x_1587; -goto _start; -} -else -{ -lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; -x_1589 = lean_ctor_get(x_1582, 0); -lean_inc(x_1589); -lean_dec(x_1582); +lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; +x_1587 = l_Nat_Inhabited; +x_1588 = l_Option_get_x21___rarg___closed__3; +x_1589 = lean_panic_fn(x_1587, x_1588); x_1590 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_1590, 0, x_1589); x_1591 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1591, 0, x_1590); lean_ctor_set(x_1591, 1, x_2); -x_1 = x_1207; +x_1 = x_1210; x_2 = x_1591; goto _start; } +else +{ +lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; +x_1593 = lean_ctor_get(x_1586, 0); +lean_inc(x_1593); +lean_dec(x_1586); +x_1594 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1594, 0, x_1593); +x_1595 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1595, 0, x_1594); +lean_ctor_set(x_1595, 1, x_2); +x_1 = x_1210; +x_2 = x_1595; +goto _start; +} } } } } else { -lean_object* x_1601; uint8_t x_1602; -x_1601 = l_Lean_Syntax_getArgs(x_1); -x_1602 = !lean_is_exclusive(x_9); -if (x_1602 == 0) +lean_object* x_1605; uint8_t x_1606; +x_1605 = l_Lean_Syntax_getArgs(x_1); +x_1606 = !lean_is_exclusive(x_9); +if (x_1606 == 0) { -uint8_t x_1603; lean_object* x_1604; lean_object* x_1605; -x_1603 = 0; -lean_ctor_set_uint8(x_9, sizeof(void*)*8 + 1, x_1603); -x_1604 = lean_unsigned_to_nat(0u); -x_1605 = l_Array_iterateMAux___main___at___private_Lean_Elab_App_22__elabAppFn___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_1601, x_1604, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_1601); +uint8_t x_1607; lean_object* x_1608; lean_object* x_1609; +x_1607 = 0; +lean_ctor_set_uint8(x_9, sizeof(void*)*8 + 1, x_1607); +x_1608 = lean_unsigned_to_nat(0u); +x_1609 = l_Array_iterateMAux___main___at___private_Lean_Elab_App_22__elabAppFn___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_1605, x_1608, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_1605); lean_dec(x_1); -return x_1605; +return x_1609; } else { -lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; uint8_t x_1614; uint8_t x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; -x_1606 = lean_ctor_get(x_9, 0); -x_1607 = lean_ctor_get(x_9, 1); -x_1608 = lean_ctor_get(x_9, 2); -x_1609 = lean_ctor_get(x_9, 3); -x_1610 = lean_ctor_get(x_9, 4); -x_1611 = lean_ctor_get(x_9, 5); -x_1612 = lean_ctor_get(x_9, 6); -x_1613 = lean_ctor_get(x_9, 7); -x_1614 = lean_ctor_get_uint8(x_9, sizeof(void*)*8); +lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; uint8_t x_1618; uint8_t x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; +x_1610 = lean_ctor_get(x_9, 0); +x_1611 = lean_ctor_get(x_9, 1); +x_1612 = lean_ctor_get(x_9, 2); +x_1613 = lean_ctor_get(x_9, 3); +x_1614 = lean_ctor_get(x_9, 4); +x_1615 = lean_ctor_get(x_9, 5); +x_1616 = lean_ctor_get(x_9, 6); +x_1617 = lean_ctor_get(x_9, 7); +x_1618 = lean_ctor_get_uint8(x_9, sizeof(void*)*8); +lean_inc(x_1617); +lean_inc(x_1616); +lean_inc(x_1615); +lean_inc(x_1614); lean_inc(x_1613); lean_inc(x_1612); lean_inc(x_1611); lean_inc(x_1610); -lean_inc(x_1609); -lean_inc(x_1608); -lean_inc(x_1607); -lean_inc(x_1606); lean_dec(x_9); -x_1615 = 0; -x_1616 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1616, 0, x_1606); -lean_ctor_set(x_1616, 1, x_1607); -lean_ctor_set(x_1616, 2, x_1608); -lean_ctor_set(x_1616, 3, x_1609); -lean_ctor_set(x_1616, 4, x_1610); -lean_ctor_set(x_1616, 5, x_1611); -lean_ctor_set(x_1616, 6, x_1612); -lean_ctor_set(x_1616, 7, x_1613); -lean_ctor_set_uint8(x_1616, sizeof(void*)*8, x_1614); -lean_ctor_set_uint8(x_1616, sizeof(void*)*8 + 1, x_1615); -x_1617 = lean_unsigned_to_nat(0u); -x_1618 = l_Array_iterateMAux___main___at___private_Lean_Elab_App_22__elabAppFn___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_1601, x_1617, x_8, x_1616, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_1601); +x_1619 = 0; +x_1620 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1620, 0, x_1610); +lean_ctor_set(x_1620, 1, x_1611); +lean_ctor_set(x_1620, 2, x_1612); +lean_ctor_set(x_1620, 3, x_1613); +lean_ctor_set(x_1620, 4, x_1614); +lean_ctor_set(x_1620, 5, x_1615); +lean_ctor_set(x_1620, 6, x_1616); +lean_ctor_set(x_1620, 7, x_1617); +lean_ctor_set_uint8(x_1620, sizeof(void*)*8, x_1618); +lean_ctor_set_uint8(x_1620, sizeof(void*)*8 + 1, x_1619); +x_1621 = lean_unsigned_to_nat(0u); +x_1622 = l_Array_iterateMAux___main___at___private_Lean_Elab_App_22__elabAppFn___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_1605, x_1621, x_8, x_1620, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_1605); lean_dec(x_1); -return x_1618; +return x_1622; } } -block_380: +block_381: { if (x_16 == 0) { @@ -21183,19 +21189,19 @@ uint8_t x_17; uint8_t x_18; x_17 = l_List_isEmpty___rarg(x_2); if (x_7 == 0) { -uint8_t x_376; -x_376 = 1; -x_18 = x_376; -goto block_375; +uint8_t x_377; +x_377 = 1; +x_18 = x_377; +goto block_376; } else { -uint8_t x_377; -x_377 = 0; -x_18 = x_377; -goto block_375; +uint8_t x_378; +x_378 = 0; +x_18 = x_378; +goto block_376; } -block_375: +block_376: { if (x_17 == 0) { @@ -21266,7 +21272,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_87 = l_Lean_Elab_Term_ensureHasType(x_5, x_85, x_9, x_10, x_11, x_12, x_13, x_14, x_86); +x_87 = l_Lean_Elab_Term_ensureHasType(x_5, x_85, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_86); if (lean_obj_tag(x_87) == 0) { lean_object* x_88; lean_object* x_89; @@ -21637,7 +21643,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_165 = l_Lean_Elab_Term_ensureHasType(x_5, x_163, x_9, x_10, x_11, x_12, x_13, x_14, x_164); +x_165 = l_Lean_Elab_Term_ensureHasType(x_5, x_163, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_164); if (lean_obj_tag(x_165) == 0) { lean_object* x_166; lean_object* x_167; @@ -22008,7 +22014,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_243 = l_Lean_Elab_Term_ensureHasType(x_5, x_241, x_9, x_10, x_11, x_12, x_13, x_14, x_242); +x_243 = l_Lean_Elab_Term_ensureHasType(x_5, x_241, x_175, x_9, x_10, x_11, x_12, x_13, x_14, x_242); if (lean_obj_tag(x_243) == 0) { lean_object* x_244; lean_object* x_245; @@ -22595,19 +22601,20 @@ return x_286; } else { -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_350; -x_314 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -x_316 = lean_ctor_get(x_314, 1); +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_351; +x_314 = lean_box(0); +x_315 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_316 = lean_ctor_get(x_315, 0); lean_inc(x_316); -if (lean_is_exclusive(x_314)) { - lean_ctor_release(x_314, 0); - lean_ctor_release(x_314, 1); - x_317 = x_314; +x_317 = lean_ctor_get(x_315, 1); +lean_inc(x_317); +if (lean_is_exclusive(x_315)) { + lean_ctor_release(x_315, 0); + lean_ctor_release(x_315, 1); + x_318 = x_315; } else { - lean_dec_ref(x_314); - x_317 = lean_box(0); + lean_dec_ref(x_315); + x_318 = lean_box(0); } lean_inc(x_14); lean_inc(x_13); @@ -22615,260 +22622,260 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_350 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_316); -if (lean_obj_tag(x_350) == 0) +x_351 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_5, x_18, x_314, x_9, x_10, x_11, x_12, x_13, x_14, x_317); +if (lean_obj_tag(x_351) == 0) { -lean_object* x_351; lean_object* x_352; lean_object* x_353; uint8_t x_354; -lean_dec(x_317); -x_351 = lean_ctor_get(x_350, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_350, 1); +lean_object* x_352; lean_object* x_353; lean_object* x_354; uint8_t x_355; +lean_dec(x_318); +x_352 = lean_ctor_get(x_351, 0); lean_inc(x_352); -lean_dec(x_350); -x_353 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_352); -x_354 = !lean_is_exclusive(x_353); -if (x_354 == 0) +x_353 = lean_ctor_get(x_351, 1); +lean_inc(x_353); +lean_dec(x_351); +x_354 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_353); +x_355 = !lean_is_exclusive(x_354); +if (x_355 == 0) { -lean_object* x_355; lean_object* x_356; lean_object* x_357; uint8_t x_358; -x_355 = lean_ctor_get(x_353, 0); -x_356 = lean_ctor_get(x_353, 1); -x_357 = l_Lean_Elab_Term_SavedState_restore(x_315, x_9, x_10, x_11, x_12, x_13, x_14, x_356); +lean_object* x_356; lean_object* x_357; lean_object* x_358; uint8_t x_359; +x_356 = lean_ctor_get(x_354, 0); +x_357 = lean_ctor_get(x_354, 1); +x_358 = l_Lean_Elab_Term_SavedState_restore(x_316, x_9, x_10, x_11, x_12, x_13, x_14, x_357); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_358 = !lean_is_exclusive(x_357); -if (x_358 == 0) +x_359 = !lean_is_exclusive(x_358); +if (x_359 == 0) { -lean_object* x_359; lean_object* x_360; lean_object* x_361; -x_359 = lean_ctor_get(x_357, 1); -x_360 = lean_ctor_get(x_357, 0); -lean_dec(x_360); -lean_ctor_set(x_357, 1, x_355); -lean_ctor_set(x_357, 0, x_351); -x_361 = lean_array_push(x_8, x_357); -lean_ctor_set(x_353, 1, x_359); -lean_ctor_set(x_353, 0, x_361); -return x_353; +lean_object* x_360; lean_object* x_361; lean_object* x_362; +x_360 = lean_ctor_get(x_358, 1); +x_361 = lean_ctor_get(x_358, 0); +lean_dec(x_361); +lean_ctor_set(x_358, 1, x_356); +lean_ctor_set(x_358, 0, x_352); +x_362 = lean_array_push(x_8, x_358); +lean_ctor_set(x_354, 1, x_360); +lean_ctor_set(x_354, 0, x_362); +return x_354; } else { -lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_362 = lean_ctor_get(x_357, 1); -lean_inc(x_362); -lean_dec(x_357); -x_363 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_363, 0, x_351); -lean_ctor_set(x_363, 1, x_355); -x_364 = lean_array_push(x_8, x_363); -lean_ctor_set(x_353, 1, x_362); -lean_ctor_set(x_353, 0, x_364); -return x_353; +lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_363 = lean_ctor_get(x_358, 1); +lean_inc(x_363); +lean_dec(x_358); +x_364 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_364, 0, x_352); +lean_ctor_set(x_364, 1, x_356); +x_365 = lean_array_push(x_8, x_364); +lean_ctor_set(x_354, 1, x_363); +lean_ctor_set(x_354, 0, x_365); +return x_354; } } else { -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; -x_365 = lean_ctor_get(x_353, 0); -x_366 = lean_ctor_get(x_353, 1); +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; +x_366 = lean_ctor_get(x_354, 0); +x_367 = lean_ctor_get(x_354, 1); +lean_inc(x_367); lean_inc(x_366); -lean_inc(x_365); -lean_dec(x_353); -x_367 = l_Lean_Elab_Term_SavedState_restore(x_315, x_9, x_10, x_11, x_12, x_13, x_14, x_366); +lean_dec(x_354); +x_368 = l_Lean_Elab_Term_SavedState_restore(x_316, x_9, x_10, x_11, x_12, x_13, x_14, x_367); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_368 = lean_ctor_get(x_367, 1); -lean_inc(x_368); -if (lean_is_exclusive(x_367)) { - lean_ctor_release(x_367, 0); - lean_ctor_release(x_367, 1); - x_369 = x_367; +x_369 = lean_ctor_get(x_368, 1); +lean_inc(x_369); +if (lean_is_exclusive(x_368)) { + lean_ctor_release(x_368, 0); + lean_ctor_release(x_368, 1); + x_370 = x_368; } else { - lean_dec_ref(x_367); - x_369 = lean_box(0); + lean_dec_ref(x_368); + x_370 = lean_box(0); } -if (lean_is_scalar(x_369)) { - x_370 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_370)) { + x_371 = lean_alloc_ctor(0, 2, 0); } else { - x_370 = x_369; + x_371 = x_370; } -lean_ctor_set(x_370, 0, x_351); -lean_ctor_set(x_370, 1, x_365); -x_371 = lean_array_push(x_8, x_370); -x_372 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_372, 0, x_371); -lean_ctor_set(x_372, 1, x_368); -return x_372; +lean_ctor_set(x_371, 0, x_352); +lean_ctor_set(x_371, 1, x_366); +x_372 = lean_array_push(x_8, x_371); +x_373 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_373, 0, x_372); +lean_ctor_set(x_373, 1, x_369); +return x_373; } } else { -lean_object* x_373; lean_object* x_374; -x_373 = lean_ctor_get(x_350, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_350, 1); +lean_object* x_374; lean_object* x_375; +x_374 = lean_ctor_get(x_351, 0); lean_inc(x_374); -lean_dec(x_350); -x_318 = x_373; +x_375 = lean_ctor_get(x_351, 1); +lean_inc(x_375); +lean_dec(x_351); x_319 = x_374; -goto block_349; +x_320 = x_375; +goto block_350; } -block_349: +block_350: { -if (lean_obj_tag(x_318) == 0) +if (lean_obj_tag(x_319) == 0) { -lean_object* x_320; uint8_t x_321; -lean_dec(x_317); -x_320 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_319); -x_321 = !lean_is_exclusive(x_320); -if (x_321 == 0) +lean_object* x_321; uint8_t x_322; +lean_dec(x_318); +x_321 = l_Lean_Elab_Term_saveAllState___rarg(x_10, x_11, x_12, x_13, x_14, x_320); +x_322 = !lean_is_exclusive(x_321); +if (x_322 == 0) { -lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_325; -x_322 = lean_ctor_get(x_320, 0); -x_323 = lean_ctor_get(x_320, 1); -x_324 = l_Lean_Elab_Term_SavedState_restore(x_315, x_9, x_10, x_11, x_12, x_13, x_14, x_323); +lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; +x_323 = lean_ctor_get(x_321, 0); +x_324 = lean_ctor_get(x_321, 1); +x_325 = l_Lean_Elab_Term_SavedState_restore(x_316, x_9, x_10, x_11, x_12, x_13, x_14, x_324); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_325 = !lean_is_exclusive(x_324); -if (x_325 == 0) +x_326 = !lean_is_exclusive(x_325); +if (x_326 == 0) { -lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_326 = lean_ctor_get(x_324, 1); -x_327 = lean_ctor_get(x_324, 0); -lean_dec(x_327); -lean_ctor_set_tag(x_324, 1); -lean_ctor_set(x_324, 1, x_322); -lean_ctor_set(x_324, 0, x_318); -x_328 = lean_array_push(x_8, x_324); -lean_ctor_set(x_320, 1, x_326); -lean_ctor_set(x_320, 0, x_328); -return x_320; +lean_object* x_327; lean_object* x_328; lean_object* x_329; +x_327 = lean_ctor_get(x_325, 1); +x_328 = lean_ctor_get(x_325, 0); +lean_dec(x_328); +lean_ctor_set_tag(x_325, 1); +lean_ctor_set(x_325, 1, x_323); +lean_ctor_set(x_325, 0, x_319); +x_329 = lean_array_push(x_8, x_325); +lean_ctor_set(x_321, 1, x_327); +lean_ctor_set(x_321, 0, x_329); +return x_321; } else { -lean_object* x_329; lean_object* x_330; lean_object* x_331; -x_329 = lean_ctor_get(x_324, 1); -lean_inc(x_329); -lean_dec(x_324); -x_330 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_330, 0, x_318); -lean_ctor_set(x_330, 1, x_322); -x_331 = lean_array_push(x_8, x_330); -lean_ctor_set(x_320, 1, x_329); -lean_ctor_set(x_320, 0, x_331); -return x_320; +lean_object* x_330; lean_object* x_331; lean_object* x_332; +x_330 = lean_ctor_get(x_325, 1); +lean_inc(x_330); +lean_dec(x_325); +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_319); +lean_ctor_set(x_331, 1, x_323); +x_332 = lean_array_push(x_8, x_331); +lean_ctor_set(x_321, 1, x_330); +lean_ctor_set(x_321, 0, x_332); +return x_321; } } else { -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; -x_332 = lean_ctor_get(x_320, 0); -x_333 = lean_ctor_get(x_320, 1); +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; +x_333 = lean_ctor_get(x_321, 0); +x_334 = lean_ctor_get(x_321, 1); +lean_inc(x_334); lean_inc(x_333); -lean_inc(x_332); -lean_dec(x_320); -x_334 = l_Lean_Elab_Term_SavedState_restore(x_315, x_9, x_10, x_11, x_12, x_13, x_14, x_333); +lean_dec(x_321); +x_335 = l_Lean_Elab_Term_SavedState_restore(x_316, x_9, x_10, x_11, x_12, x_13, x_14, x_334); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_335 = lean_ctor_get(x_334, 1); -lean_inc(x_335); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - x_336 = x_334; +x_336 = lean_ctor_get(x_335, 1); +lean_inc(x_336); +if (lean_is_exclusive(x_335)) { + lean_ctor_release(x_335, 0); + lean_ctor_release(x_335, 1); + x_337 = x_335; } else { - lean_dec_ref(x_334); - x_336 = lean_box(0); + lean_dec_ref(x_335); + x_337 = lean_box(0); } -if (lean_is_scalar(x_336)) { - x_337 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(1, 2, 0); } else { - x_337 = x_336; - lean_ctor_set_tag(x_337, 1); + x_338 = x_337; + lean_ctor_set_tag(x_338, 1); } -lean_ctor_set(x_337, 0, x_318); -lean_ctor_set(x_337, 1, x_332); -x_338 = lean_array_push(x_8, x_337); -x_339 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_335); -return x_339; +lean_ctor_set(x_338, 0, x_319); +lean_ctor_set(x_338, 1, x_333); +x_339 = lean_array_push(x_8, x_338); +x_340 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_340, 0, x_339); +lean_ctor_set(x_340, 1, x_336); +return x_340; } } else { -lean_object* x_340; lean_object* x_341; uint8_t x_342; +lean_object* x_341; lean_object* x_342; uint8_t x_343; lean_dec(x_8); -x_340 = lean_ctor_get(x_318, 0); -lean_inc(x_340); -x_341 = l_Lean_Elab_postponeExceptionId; -x_342 = lean_nat_dec_eq(x_340, x_341); -lean_dec(x_340); -if (x_342 == 0) +x_341 = lean_ctor_get(x_319, 0); +lean_inc(x_341); +x_342 = l_Lean_Elab_postponeExceptionId; +x_343 = lean_nat_dec_eq(x_341, x_342); +lean_dec(x_341); +if (x_343 == 0) { -lean_object* x_343; -lean_dec(x_315); +lean_object* x_344; +lean_dec(x_316); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -if (lean_is_scalar(x_317)) { - x_343 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_318)) { + x_344 = lean_alloc_ctor(1, 2, 0); } else { - x_343 = x_317; - lean_ctor_set_tag(x_343, 1); + x_344 = x_318; + lean_ctor_set_tag(x_344, 1); } -lean_ctor_set(x_343, 0, x_318); -lean_ctor_set(x_343, 1, x_319); -return x_343; -} -else -{ -lean_object* x_344; uint8_t x_345; -lean_dec(x_317); -x_344 = l_Lean_Elab_Term_SavedState_restore(x_315, x_9, x_10, x_11, x_12, x_13, x_14, x_319); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_345 = !lean_is_exclusive(x_344); -if (x_345 == 0) -{ -lean_object* x_346; -x_346 = lean_ctor_get(x_344, 0); -lean_dec(x_346); -lean_ctor_set_tag(x_344, 1); -lean_ctor_set(x_344, 0, x_318); +lean_ctor_set(x_344, 0, x_319); +lean_ctor_set(x_344, 1, x_320); return x_344; } else { -lean_object* x_347; lean_object* x_348; -x_347 = lean_ctor_get(x_344, 1); -lean_inc(x_347); -lean_dec(x_344); -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_318); -lean_ctor_set(x_348, 1, x_347); -return x_348; +lean_object* x_345; uint8_t x_346; +lean_dec(x_318); +x_345 = l_Lean_Elab_Term_SavedState_restore(x_316, x_9, x_10, x_11, x_12, x_13, x_14, x_320); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_346 = !lean_is_exclusive(x_345); +if (x_346 == 0) +{ +lean_object* x_347; +x_347 = lean_ctor_get(x_345, 0); +lean_dec(x_347); +lean_ctor_set_tag(x_345, 1); +lean_ctor_set(x_345, 0, x_319); +return x_345; +} +else +{ +lean_object* x_348; lean_object* x_349; +x_348 = lean_ctor_get(x_345, 1); +lean_inc(x_348); +lean_dec(x_345); +x_349 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_349, 0, x_319); +lean_ctor_set(x_349, 1, x_348); +return x_349; } } } @@ -22881,21 +22888,21 @@ return x_348; } else { -lean_object* x_378; lean_object* x_379; +lean_object* x_379; lean_object* x_380; lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_378 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__3; -x_379 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_378, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_379 = l___private_Lean_Elab_App_22__elabAppFn___main___closed__3; +x_380 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_379, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_379; +return x_380; } } } @@ -23741,7 +23748,7 @@ x_47 = l___private_Lean_Elab_App_28__elabAppAux___closed__3; x_48 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); -x_49 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_1, x_48, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +x_49 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1, x_48, x_5, x_6, x_7, x_8, x_9, x_10, x_17); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -23984,7 +23991,7 @@ lean_dec(x_20); lean_dec(x_19); lean_dec(x_17); x_29 = l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__7; -x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_15); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) @@ -24105,7 +24112,7 @@ lean_dec(x_51); lean_dec(x_50); lean_dec(x_17); x_61 = l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__7; -x_62 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_61, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_62 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_61, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_15); x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); @@ -24256,7 +24263,7 @@ lean_dec(x_20); lean_dec(x_19); lean_dec(x_17); x_29 = l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__7; -x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_15); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) @@ -24377,7 +24384,7 @@ lean_dec(x_51); lean_dec(x_50); lean_dec(x_17); x_61 = l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__7; -x_62 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_61, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_62 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_61, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_15); x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); @@ -24528,7 +24535,7 @@ lean_dec(x_20); lean_dec(x_19); lean_dec(x_17); x_29 = l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__7; -x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_15); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) @@ -24649,7 +24656,7 @@ lean_dec(x_51); lean_dec(x_50); lean_dec(x_17); x_61 = l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__7; -x_62 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_61, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_62 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_61, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_15); x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); @@ -24928,7 +24935,7 @@ lean_dec(x_11); x_44 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_12); lean_dec(x_12); x_45 = l_Lean_Elab_Term_expandApp___closed__3; -x_46 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_44, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_46 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_44, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_44); x_47 = !lean_is_exclusive(x_46); if (x_47 == 0) @@ -25313,7 +25320,7 @@ lean_object* l_Lean_Elab_Term_elabExplicit(lean_object* x_1, lean_object* x_2, l _start: { uint8_t x_10; lean_object* x_77; uint8_t x_78; -x_77 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +x_77 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; lean_inc(x_1); x_78 = l_Lean_Syntax_isOfKind(x_1, x_77); if (x_78 == 0) @@ -25438,7 +25445,7 @@ uint8_t x_71; uint8_t x_72; lean_object* x_73; lean_dec(x_1); x_71 = 1; x_72 = 0; -x_73 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_71, x_72, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_73 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_71, x_72, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_73; } else @@ -25465,7 +25472,7 @@ if (x_14 == 0) uint8_t x_15; uint8_t x_16; lean_object* x_17; x_15 = 1; x_16 = 0; -x_17 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_15, x_16, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_17 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_15, x_16, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_17; } else @@ -25481,7 +25488,7 @@ uint8_t x_21; uint8_t x_22; lean_object* x_23; lean_dec(x_18); x_21 = 1; x_22 = 0; -x_23 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_21, x_22, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_23 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_21, x_22, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_23; } else @@ -25499,7 +25506,7 @@ uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_dec(x_18); x_28 = 1; x_29 = 0; -x_30 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_28, x_29, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_30 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_28, x_29, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_30; } else @@ -25518,7 +25525,7 @@ lean_dec(x_33); lean_dec(x_32); x_35 = 1; x_36 = 0; -x_37 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_35, x_36, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_35, x_36, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_37; } else @@ -25536,7 +25543,7 @@ uint8_t x_41; uint8_t x_42; lean_object* x_43; lean_dec(x_32); x_41 = 1; x_42 = 0; -x_43 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_41, x_42, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_43 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_41, x_42, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_43; } else @@ -25545,7 +25552,7 @@ uint8_t x_44; uint8_t x_45; lean_object* x_46; lean_dec(x_13); x_44 = 1; x_45 = 0; -x_46 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_44, x_45, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_46 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_44, x_45, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_46; } } @@ -25570,7 +25577,7 @@ _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_Term_12__isExplicit___closed__2; +x_3 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_4 = l___regBuiltin_Lean_Elab_Term_elabExplicit___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/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 1c30f688ce..680a6d7f37 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -81,11 +81,11 @@ lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___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___private_Lean_Elab_Binders_7__registerFailedToInferBinderTypeInfo___closed__1; +extern lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2; lean_object* lean_expr_instantiate1(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_Elab_Term_expandLetEqnsDecl(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__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*); lean_object* l___private_Lean_Elab_Binders_7__registerFailedToInferBinderTypeInfo___boxed(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_elabFun(lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__16; @@ -94,6 +94,7 @@ lean_object* l___private_Lean_Elab_Binders_7__registerFailedToInferBinderTypeInf lean_object* l___private_Lean_Elab_Binders_9__elabBindersAux___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_Binders_17__expandMatchAltsIntoMatchAux___main___closed__12; lean_object* l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__9; +extern lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1; lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__20; lean_object* l___private_Lean_Elab_Binders_8__elabBinderViews(lean_object*, 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_declareTacticSyntax___closed__3; @@ -134,18 +135,18 @@ lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__3; 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_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14; lean_object* l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5; -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* 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_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__2; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__19; lean_object* l___private_Lean_Elab_Binders_4__expandBinderModifier___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___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_elabLetDeclAux___closed__2; lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__1; lean_object* l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__5; lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalInstances___at_Lean_Elab_Term_elabBinders___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__7; lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -161,7 +162,6 @@ extern lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; lean_object* l___private_Lean_Elab_Binders_12__expandFunBindersAux___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_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*); -extern lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2; 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_Elab_Term_elabLetDeclAux___closed__1; extern lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; @@ -195,6 +195,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabLetBangDecl(lean_object*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Binders_6__matchBinder___spec__4___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__1; lean_object* l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__8; +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_Lean_Elab_Term_elabLetDeclCore___closed__1; lean_object* l_Lean_Elab_Term_elabArrow___lambda__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_Binders_6__matchBinder___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -232,6 +233,7 @@ lean_object* l___private_Lean_Elab_Binders_10__getFunBinderIdsAux_x3f(uint8_t, l extern lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Quotation_2__quoteSyntax___main___spec__1___closed__3; extern lean_object* l___private_Lean_Elab_Term_4__expandCDot___main___closed__2; uint8_t l_Array_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__2; @@ -260,7 +262,6 @@ lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__1; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_3__expandOptIdent(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_synthesizeInstMVarCore___spec__3(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_19__elabTermAux___main___spec__2___rarg(lean_object*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Binders_12__expandFunBindersAux___main___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_ExprDefEq_8__checkTypesAndAssign___lambda__1___closed__1; 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*); @@ -272,9 +273,7 @@ extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux___main(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___regBuiltin_Lean_Elab_Term_elabLetBangDecl___closed__1; -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); -lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__3; lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); extern lean_object* l_Lean_identKind; @@ -283,6 +282,7 @@ extern lean_object* l_Lean_Syntax_inhabited; lean_object* l_Lean_Elab_Term_elabArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_10__getFunBinderIdsAux_x3f___main(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_Binders_12__expandFunBindersAux___main___closed__16; +extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__21; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; extern lean_object* l_Lean_mkAppStx___closed__5; @@ -293,7 +293,6 @@ lean_object* l_Lean_Elab_Term_elabFun___lambda__1(lean_object*, lean_object*, le lean_object* l___private_Lean_Elab_Binders_16__getMatchAltNumPatterns(lean_object*); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_mkHole(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__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_Lean_Elab_Term_elabFunBinders___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_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; @@ -305,6 +304,7 @@ lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__8; lean_object* l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__6; lean_object* l___private_Lean_Elab_Util_5__expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__6; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(lean_object*); lean_object* l___private_Lean_Elab_Binders_4__expandBinderModifier___closed__9; lean_object* l_Lean_mkApp(lean_object*, lean_object*); extern lean_object* l_Lean_SourceInfo_inhabited___closed__1; @@ -324,6 +324,7 @@ lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Binders_6__matchBi extern lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__15; lean_object* l___private_Lean_Elab_Binders_13__checkNoOptAutoParam___closed__6; lean_object* l___private_Lean_Elab_Binders_18__expandLetEqnsDeclVal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__2; extern lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__3; extern lean_object* l_Lean_mkHole___closed__1; @@ -376,7 +377,6 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall__ lean_object* l___private_Lean_Elab_Binders_4__expandBinderModifier___closed__10; lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__1(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_declareTacticSyntax___spec__3___boxed(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_18__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_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_13__checkNoOptAutoParam___closed__1; @@ -399,12 +399,13 @@ lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__14; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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; lean_object* l___private_Lean_Elab_Binders_8__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*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Term_12__isExplicit___closed__2; lean_object* l___private_Lean_Elab_Binders_1__expandBinderType___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Binders_5__getBinderIds___spec__1___closed__3; +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_Binders_8__elabBinderViews___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*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Binders_6__matchBinder___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_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*); @@ -680,7 +681,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_60 = l_Array_iterateMAux___main___at_Lean_Elab_Term_quoteAutoTactic___main___spec__1___closed__3; -x_61 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_20, x_60, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_61 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_20, x_60, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_15); lean_dec(x_13); lean_dec(x_12); @@ -1360,7 +1361,7 @@ lean_object* x_122; lean_object* x_123; lean_dec(x_13); lean_dec(x_12); x_122 = l_Array_iterateMAux___main___at_Lean_Elab_Term_quoteAutoTactic___main___spec__1___closed__3; -x_123 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_1, x_122, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_123 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1, x_122, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -1531,7 +1532,7 @@ default: { lean_object* x_191; lean_object* x_192; x_191 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__22; -x_192 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_1, x_191, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_192 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1, x_191, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -2878,7 +2879,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_18 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_9); +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_9); return x_18; } else @@ -3204,7 +3205,7 @@ lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_dec(x_16); lean_dec(x_1); x_23 = l_Array_umapMAux___main___at___private_Lean_Elab_Binders_5__getBinderIds___spec__1___closed__3; -x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_17, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_17, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_17); x_25 = !lean_is_exclusive(x_24); if (x_25 == 0) @@ -3485,7 +3486,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1; +x_2 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3495,7 +3496,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2; +x_2 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -5461,7 +5462,7 @@ if (x_9 == 0) { lean_object* x_10; lean_dec(x_1); -x_10 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_8); +x_10 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_8); return x_10; } else @@ -7969,12 +7970,12 @@ return x_803; else { lean_object* x_804; uint8_t x_805; -x_804 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1; +x_804 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1; x_805 = lean_string_dec_eq(x_200, x_804); if (x_805 == 0) { lean_object* x_806; uint8_t x_807; -x_806 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2; +x_806 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2; x_807 = lean_string_dec_eq(x_200, x_806); if (x_807 == 0) { @@ -13208,7 +13209,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_19 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -13436,7 +13437,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_55 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_54, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_55 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_54, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_55) == 0) { lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; @@ -14761,7 +14762,7 @@ lean_object* _init_l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux _start: { lean_object* x_1; -x_1 = lean_mk_string("tacticSeq1Indented"); +x_1 = lean_mk_string("seq1"); return x_1; } } @@ -14883,19 +14884,19 @@ lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); if (x_22 == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = l_List_reprAux___main___rarg___closed__1; -x_116 = l_Lean_mkAtomFrom(x_1, x_115); -x_117 = lean_array_push(x_5, x_116); -x_27 = x_117; -goto block_114; +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = l_List_reprAux___main___rarg___closed__1; +x_104 = l_Lean_mkAtomFrom(x_1, x_103); +x_105 = lean_array_push(x_5, x_104); +x_27 = x_105; +goto block_102; } else { x_27 = x_5; -goto block_114; +goto block_102; } -block_114: +block_102: { lean_object* x_28; lean_object* x_29; x_28 = lean_array_push(x_27, x_26); @@ -14926,7 +14927,7 @@ lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); x_43 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5; x_44 = lean_array_push(x_43, x_42); -x_45 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +x_45 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); @@ -14958,7 +14959,7 @@ lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); x_60 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5; x_61 = lean_array_push(x_60, x_59); -x_62 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +x_62 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); @@ -14974,7 +14975,7 @@ uint8_t x_65; x_65 = !lean_is_exclusive(x_29); if (x_65 == 0) { -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; 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_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; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; x_66 = lean_ctor_get(x_29, 0); x_67 = l_Array_empty___closed__1; x_68 = lean_array_push(x_67, x_21); @@ -14989,286 +14990,256 @@ x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); x_75 = lean_array_push(x_67, x_74); -x_76 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18; +x_76 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; x_77 = lean_array_push(x_75, x_76); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_69); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_array_push(x_67, x_78); -x_80 = lean_array_push(x_67, x_66); -x_81 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_82 = lean_array_push(x_80, x_81); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_69); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_79, x_83); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_69); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_67, x_85); -x_87 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -lean_ctor_set(x_29, 0, x_88); +x_78 = lean_array_push(x_77, x_66); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_69); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_67, x_79); +x_81 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +lean_ctor_set(x_29, 0, x_82); return x_29; } else { -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; -x_89 = lean_ctor_get(x_29, 0); -x_90 = lean_ctor_get(x_29, 1); -lean_inc(x_90); -lean_inc(x_89); +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; +x_83 = lean_ctor_get(x_29, 0); +x_84 = lean_ctor_get(x_29, 1); +lean_inc(x_84); +lean_inc(x_83); lean_dec(x_29); -x_91 = l_Array_empty___closed__1; -x_92 = lean_array_push(x_91, x_21); -x_93 = l_Lean_nullKind___closed__2; -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_92); -x_95 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11; -x_96 = lean_array_push(x_95, x_94); -x_97 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9; -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = lean_array_push(x_91, x_98); -x_100 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18; -x_101 = lean_array_push(x_99, x_100); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_93); -lean_ctor_set(x_102, 1, x_101); -x_103 = lean_array_push(x_91, x_102); -x_104 = lean_array_push(x_91, x_89); -x_105 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_106 = lean_array_push(x_104, x_105); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_93); -lean_ctor_set(x_107, 1, x_106); -x_108 = lean_array_push(x_103, x_107); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_93); -lean_ctor_set(x_109, 1, x_108); -x_110 = lean_array_push(x_91, x_109); -x_111 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_90); -return x_113; +x_85 = l_Array_empty___closed__1; +x_86 = lean_array_push(x_85, x_21); +x_87 = l_Lean_nullKind___closed__2; +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_86); +x_89 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11; +x_90 = lean_array_push(x_89, x_88); +x_91 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = lean_array_push(x_85, x_92); +x_94 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_95 = lean_array_push(x_93, x_94); +x_96 = lean_array_push(x_95, x_83); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_87); +lean_ctor_set(x_97, 1, x_96); +x_98 = lean_array_push(x_85, x_97); +x_99 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_84); +return x_101; } } } } else { -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; uint8_t x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_118 = lean_ctor_get(x_6, 0); -x_119 = lean_ctor_get(x_6, 1); -x_120 = lean_ctor_get(x_6, 3); -x_121 = lean_ctor_get(x_6, 4); -lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); +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; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_106 = lean_ctor_get(x_6, 0); +x_107 = lean_ctor_get(x_6, 1); +x_108 = lean_ctor_get(x_6, 3); +x_109 = lean_ctor_get(x_6, 4); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +lean_inc(x_106); lean_dec(x_6); lean_inc(x_7); -lean_inc(x_119); -x_122 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_122, 0, x_118); -lean_ctor_set(x_122, 1, x_119); -lean_ctor_set(x_122, 2, x_7); -lean_ctor_set(x_122, 3, x_120); -lean_ctor_set(x_122, 4, x_121); -x_123 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_124 = l_Lean_addMacroScope(x_119, x_123, x_7); -x_125 = lean_box(0); -x_126 = l_Lean_SourceInfo_inhabited___closed__1; -x_127 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__2; -x_128 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_128, 2, x_124); -lean_ctor_set(x_128, 3, x_125); -x_129 = l_Array_isEmpty___rarg(x_5); -x_130 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__3; -lean_inc(x_128); -x_131 = lean_array_push(x_130, x_128); -x_132 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6; -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -if (x_129 == 0) +lean_inc(x_107); +x_110 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_110, 0, x_106); +lean_ctor_set(x_110, 1, x_107); +lean_ctor_set(x_110, 2, x_7); +lean_ctor_set(x_110, 3, x_108); +lean_ctor_set(x_110, 4, x_109); +x_111 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_112 = l_Lean_addMacroScope(x_107, x_111, x_7); +x_113 = lean_box(0); +x_114 = l_Lean_SourceInfo_inhabited___closed__1; +x_115 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__2; +x_116 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +lean_ctor_set(x_116, 2, x_112); +lean_ctor_set(x_116, 3, x_113); +x_117 = l_Array_isEmpty___rarg(x_5); +x_118 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__3; +lean_inc(x_116); +x_119 = lean_array_push(x_118, x_116); +x_120 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___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); +if (x_117 == 0) { -lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_183 = l_List_reprAux___main___rarg___closed__1; -x_184 = l_Lean_mkAtomFrom(x_1, x_183); -x_185 = lean_array_push(x_5, x_184); -x_134 = x_185; -goto block_182; +lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_165 = l_List_reprAux___main___rarg___closed__1; +x_166 = l_Lean_mkAtomFrom(x_1, x_165); +x_167 = lean_array_push(x_5, x_166); +x_122 = x_167; +goto block_164; } else { -x_134 = x_5; -goto block_182; +x_122 = x_5; +goto block_164; } -block_182: +block_164: { -lean_object* x_135; lean_object* x_136; -x_135 = lean_array_push(x_134, x_133); -x_136 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main(x_1, x_2, x_3, x_11, x_135, x_122, x_12); +lean_object* x_123; lean_object* x_124; +x_123 = lean_array_push(x_122, x_121); +x_124 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main(x_1, x_2, x_3, x_11, x_123, x_110, x_12); lean_dec(x_11); if (x_3 == 0) { -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; -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_139 = x_136; +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; +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_127 = x_124; } else { - lean_dec_ref(x_136); - x_139 = lean_box(0); + lean_dec_ref(x_124); + x_127 = lean_box(0); +} +x_128 = l_Array_empty___closed__1; +x_129 = lean_array_push(x_128, x_116); +x_130 = l_Lean_nullKind___closed__2; +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_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__9; +x_133 = lean_array_push(x_132, x_131); +x_134 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; +x_135 = lean_array_push(x_133, x_134); +x_136 = lean_array_push(x_135, x_125); +x_137 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__7; +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_136); +x_139 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5; +x_140 = lean_array_push(x_139, x_138); +x_141 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_140); +if (lean_is_scalar(x_127)) { + x_143 = lean_alloc_ctor(0, 2, 0); +} else { + x_143 = x_127; } -x_140 = l_Array_empty___closed__1; -x_141 = lean_array_push(x_140, x_128); -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_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__9; -x_145 = lean_array_push(x_144, x_143); -x_146 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -x_147 = lean_array_push(x_145, x_146); -x_148 = lean_array_push(x_147, x_137); -x_149 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__7; +lean_ctor_set(x_143, 1, x_126); +return x_143; +} +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_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; +x_144 = lean_ctor_get(x_124, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_124, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_146 = x_124; +} else { + lean_dec_ref(x_124); + x_146 = lean_box(0); +} +x_147 = l_Array_empty___closed__1; +x_148 = lean_array_push(x_147, x_116); +x_149 = l_Lean_nullKind___closed__2; 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 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5; +x_151 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11; x_152 = lean_array_push(x_151, x_150); -x_153 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +x_153 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9; x_154 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_154, 0, x_153); lean_ctor_set(x_154, 1, x_152); -if (lean_is_scalar(x_139)) { - x_155 = lean_alloc_ctor(0, 2, 0); -} else { - x_155 = x_139; -} -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_138); -return x_155; -} -else -{ -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_156 = lean_ctor_get(x_136, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_136, 1); -lean_inc(x_157); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_158 = x_136; -} else { - lean_dec_ref(x_136); - x_158 = lean_box(0); -} -x_159 = l_Array_empty___closed__1; -x_160 = lean_array_push(x_159, x_128); -x_161 = l_Lean_nullKind___closed__2; +x_155 = lean_array_push(x_147, x_154); +x_156 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_157 = lean_array_push(x_155, x_156); +x_158 = lean_array_push(x_157, x_144); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_149); +lean_ctor_set(x_159, 1, x_158); +x_160 = lean_array_push(x_147, x_159); +x_161 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); -x_163 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11; -x_164 = lean_array_push(x_163, x_162); -x_165 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9; -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -x_167 = lean_array_push(x_159, x_166); -x_168 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18; -x_169 = lean_array_push(x_167, x_168); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_161); -lean_ctor_set(x_170, 1, x_169); -x_171 = lean_array_push(x_159, x_170); -x_172 = lean_array_push(x_159, x_156); -x_173 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_174 = lean_array_push(x_172, x_173); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_161); -lean_ctor_set(x_175, 1, x_174); -x_176 = lean_array_push(x_171, x_175); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_161); -lean_ctor_set(x_177, 1, x_176); -x_178 = lean_array_push(x_159, x_177); -x_179 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; -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_158)) { - x_181 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_146)) { + x_163 = lean_alloc_ctor(0, 2, 0); } else { - x_181 = x_158; + x_163 = x_146; } -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_157); -return x_181; +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_145); +return x_163; } } } } else { -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_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_dec(x_6); -x_186 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__12; -x_187 = l_Lean_mkAtomFrom(x_1, x_186); -x_188 = l_Lean_nullKind; -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_5); -x_190 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__13; -x_191 = l_Lean_mkAtomFrom(x_1, x_190); -x_192 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; -x_193 = lean_array_push(x_192, x_187); -x_194 = lean_array_push(x_193, x_189); -x_195 = l_Lean_mkOptionalNode___closed__1; -x_196 = lean_array_push(x_194, x_195); -x_197 = lean_array_push(x_196, x_191); -x_198 = lean_array_push(x_197, x_2); +x_168 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__12; +x_169 = l_Lean_mkAtomFrom(x_1, x_168); +x_170 = l_Lean_nullKind; +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_5); +x_172 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__13; +x_173 = l_Lean_mkAtomFrom(x_1, x_172); +x_174 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; +x_175 = lean_array_push(x_174, x_169); +x_176 = lean_array_push(x_175, x_171); +x_177 = l_Lean_mkOptionalNode___closed__1; +x_178 = lean_array_push(x_176, x_177); +x_179 = lean_array_push(x_178, x_173); +x_180 = lean_array_push(x_179, x_2); if (x_3 == 0) { -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__2; -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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_7); -return x_201; +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___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); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_7); +return x_183; } else { -lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_202 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14; -x_203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_203, 0, x_202); -lean_ctor_set(x_203, 1, x_198); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_7); -return x_204; +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14; +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_7); +return x_186; } } } @@ -15351,34 +15322,35 @@ return x_5; lean_object* l_Lean_Elab_Term_elabFun___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: { -uint8_t x_11; lean_object* x_12; -x_11 = 1; +lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_box(0); +x_12 = 1; 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_12 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_3, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) +x_13 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_3, x_12, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -return x_15; +return x_16; } else { -uint8_t x_16; +uint8_t x_17; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -15386,23 +15358,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_16 = !lean_is_exclusive(x_12); -if (x_16 == 0) +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) { -return x_12; +return x_13; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_12, 0); -x_18 = lean_ctor_get(x_12, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 0); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_12); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_dec(x_13); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; } } } @@ -15737,7 +15709,7 @@ lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__ _start: { lean_object* x_12; lean_object* x_13; -x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg___lambda__1), 9, 3); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg___lambda__1), 9, 3); lean_closure_set(x_12, 0, x_4); lean_closure_set(x_12, 1, x_5); lean_closure_set(x_12, 2, x_6); @@ -15838,7 +15810,7 @@ lean_inc(x_1); x_11 = l_Lean_Elab_Term_elabType(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -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; lean_object* x_19; +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; lean_object* x_20; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -15852,98 +15824,99 @@ lean_dec(x_15); lean_inc(x_12); x_17 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_17, 0, x_12); -x_18 = 1; +x_18 = lean_box(0); +x_19 = 1; 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_19 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_17, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -if (lean_obj_tag(x_19) == 0) +x_20 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_17, x_19, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); lean_inc(x_6); lean_inc(x_3); -x_22 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_3, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_3, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_3, x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_3, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_25); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_26) == 0) { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +uint8_t x_27; +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_27); -lean_ctor_set(x_25, 0, x_28); -return x_25; +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_26, 0, x_29); +return x_26; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_25, 0); -x_30 = lean_ctor_get(x_25, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_26, 0); +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_25); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_23); -lean_ctor_set(x_31, 1, x_29); +lean_dec(x_26); x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 0, x_24); lean_ctor_set(x_32, 1, x_30); -return x_32; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; } } else { -uint8_t x_33; -lean_dec(x_23); -x_33 = !lean_is_exclusive(x_25); -if (x_33 == 0) +uint8_t x_34; +lean_dec(x_24); +x_34 = !lean_is_exclusive(x_26); +if (x_34 == 0) { -return x_25; +return x_26; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_25, 0); -x_35 = lean_ctor_get(x_25, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_26, 0); +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_25); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_dec(x_26); +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 { -uint8_t x_37; -lean_dec(x_20); +uint8_t x_38; +lean_dec(x_21); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -15951,29 +15924,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_37 = !lean_is_exclusive(x_22); -if (x_37 == 0) +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) { -return x_22; +return x_23; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_22, 0); -x_39 = lean_ctor_get(x_22, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_22); -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; +lean_dec(x_23); +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_41; +uint8_t x_42; lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); @@ -15982,29 +15955,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_41 = !lean_is_exclusive(x_19); -if (x_41 == 0) +x_42 = !lean_is_exclusive(x_20); +if (x_42 == 0) { -return x_19; +return x_20; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_19, 0); -x_43 = lean_ctor_get(x_19, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_20, 0); +x_44 = lean_ctor_get(x_20, 1); +lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_19); -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; +lean_dec(x_20); +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 { -uint8_t x_45; +uint8_t x_46; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -16014,23 +15987,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_45 = !lean_is_exclusive(x_11); -if (x_45 == 0) +x_46 = !lean_is_exclusive(x_11); +if (x_46 == 0) { return x_11; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_11, 0); -x_47 = lean_ctor_get(x_11, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_11, 0); +x_48 = lean_ctor_get(x_11, 1); +lean_inc(x_48); lean_inc(x_47); -lean_inc(x_46); lean_dec(x_11); -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; +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; } } } @@ -16063,7 +16036,7 @@ lean_inc(x_17); lean_dec(x_15); x_18 = l_Lean_mkOptionalNode___closed__2; x_19 = lean_array_push(x_18, x_3); -x_20 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_19, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +x_20 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_19, x_16, 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); @@ -16209,7 +16182,7 @@ x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__2), lean_closure_set(x_22, 0, x_5); lean_closure_set(x_22, 1, x_6); x_23 = 0; -x_24 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_1, x_23, x_19, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +x_24 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_1, x_23, x_19, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_21); if (lean_obj_tag(x_24) == 0) { uint8_t x_25; diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 3a2365799f..32c0bd85b0 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -122,7 +122,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandseqLeft(lean_object*); lean_object* l_Lean_Elab_Term_expandEmptyC___closed__8; 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*); lean_object* l_Lean_Elab_Term_expandDollar(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___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_get(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandBNot___closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_1__elabParserMacroAux___closed__21; @@ -141,9 +140,11 @@ lean_object* l_Lean_Elab_Term_expandEmptyC___closed__1; lean_object* l_Lean_Elab_Term_expandOrM(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandIf___closed__7; lean_object* l___regBuiltin_Lean_Elab_Term_expandAndM___closed__2; +lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___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_expandWhere___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandBNot___closed__1; lean_object* l_Lean_Elab_Term_expandMul___closed__3; +lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandSubtype___closed__10; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -463,7 +464,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandAndThen___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_expandNot___closed__2; lean_object* l_Lean_Elab_Term_expandBAnd___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandSubtype___closed__7; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_5__getPropToDecide___closed__7; lean_object* l_Lean_Elab_Term_expandAssert___closed__6; lean_object* l_Lean_Elab_Term_expandLE___boxed(lean_object*, lean_object*, lean_object*); @@ -523,6 +523,7 @@ lean_object* lean_environment_main_module(lean_object*); lean_object* l_Lean_Elab_Term_expandSorry___boxed(lean_object*); lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__6; +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_expandAppend(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); extern lean_object* l_Lean_SourceInfo_inhabited___closed__1; @@ -554,7 +555,6 @@ lean_object* l_Lean_Elab_Term_expandBind(lean_object*, lean_object*, lean_object lean_object* l_Lean_Elab_Term_expandAssert___closed__14; lean_object* l___regBuiltin_Lean_Elab_Term_expandIff___closed__2; lean_object* l_Lean_Elab_Term_expandIf___closed__2; -lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOr___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOr___closed__1; lean_object* l_Lean_Elab_Term_expandIf___closed__8; @@ -2075,7 +2075,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_25 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +x_25 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_23); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; @@ -5198,7 +5198,7 @@ if (x_9 == 0) lean_object* x_10; lean_dec(x_2); lean_dec(x_1); -x_10 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_8); +x_10 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_8); return x_10; } else @@ -5238,7 +5238,7 @@ lean_object* x_16; lean_dec(x_12); lean_dec(x_2); lean_dec(x_1); -x_16 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_8); +x_16 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_8); return x_16; } else @@ -5256,7 +5256,7 @@ lean_object* x_21; lean_dec(x_12); lean_dec(x_2); lean_dec(x_1); -x_21 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_8); +x_21 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_8); return x_21; } else @@ -5610,7 +5610,7 @@ if (x_9 == 0) lean_object* x_10; lean_dec(x_2); lean_dec(x_1); -x_10 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_8); +x_10 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_8); return x_10; } else @@ -5650,7 +5650,7 @@ lean_object* x_16; lean_dec(x_12); lean_dec(x_2); lean_dec(x_1); -x_16 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_8); +x_16 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_8); return x_16; } else @@ -5668,7 +5668,7 @@ lean_object* x_21; lean_dec(x_12); lean_dec(x_2); lean_dec(x_1); -x_21 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_8); +x_21 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_8); return x_21; } else @@ -6389,7 +6389,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_19 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_18); +x_19 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_18); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; @@ -7268,7 +7268,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_18 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_17, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +x_18 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_17, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_14); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -7512,7 +7512,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_18 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_17, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +x_18 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_17, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_14); if (lean_obj_tag(x_18) == 0) { 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; diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index 9f6adb7216..ed334370ca 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -95,7 +95,6 @@ lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__2; lean_object* l_Lean_Meta_synthInstance___at_Lean_Elab_Command_elabSynth___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_6__mkTermContext(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___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_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_Lean_MonadEnv___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__1; @@ -124,6 +123,7 @@ lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_Lean_AddErrorMessa lean_object* l_Lean_Elab_Command_liftTermElabM(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabSection(lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6; lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM___rarg___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_Command_5__mkMetaContext___closed__1; @@ -131,11 +131,11 @@ uint8_t l___private_Lean_Elab_Command_13__checkEndHeader___main(lean_object*, le lean_object* l_Lean_Elab_Command_liftEIO(lean_object*); lean_object* l_Lean_Elab_Command_Lean_MonadOptions___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2; +lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__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___private_Lean_Elab_Command_8__addTraceAsMessages___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___main___at_Lean_Elab_Command_elabCommand___main___spec__6___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; lean_object* l_Lean_Elab_Command_State_inhabited___closed__4; -extern lean_object* l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__3; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariables___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabExport___closed__1; @@ -271,7 +271,7 @@ extern lean_object* l_Lean_choiceKind___closed__2; lean_object* l_Lean_Elab_Command_Lean_AddMessageContext___closed__1; lean_object* l_Lean_Elab_Command_elabCheck___closed__2; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__1___closed__1; -extern lean_object* l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6; +extern lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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* l_ReaderT_bind___at_Lean_Elab_Command_Lean_MonadEnv___spec__2(lean_object*, lean_object*); @@ -337,6 +337,7 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable___closed__1; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Command_expandDeclId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_insertCore___main(lean_object*, lean_object*, lean_object*); @@ -440,7 +441,6 @@ lean_object* l_Lean_Elab_Command_getMainModule___rarg___boxed(lean_object*, lean extern lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__3; lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog; -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___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_Command_addUnivLevel(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___at_Lean_Elab_Command_Lean_MonadOptions___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_Command_Lean_MonadRecDepth___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -522,6 +522,7 @@ lean_object* l_Std_PersistentHashMap_findAtAux___main___at_Lean_Elab_Command_ela uint8_t l___private_Lean_Elab_Command_12__checkAnonymousScope(lean_object*); lean_object* l_Lean_Elab_Command_elbChoice___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNamespace(lean_object*, lean_object*, lean_object*, lean_object*); +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_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen(lean_object*); lean_object* l_Lean_Elab_Command_resolveNamespace___closed__3; @@ -546,7 +547,6 @@ extern lean_object* l_Lean_Elab_abortExceptionId; lean_object* l_Lean_Elab_Command_elabOpenHiding___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getOpenDecls(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__9; -extern lean_object* l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__3; lean_object* l___private_Lean_Elab_Command_4__getVarDecls(lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Command_8__addTraceAsMessages___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM(lean_object*); @@ -589,7 +589,6 @@ lean_object* l_Lean_Elab_Command_failIfSucceeds___closed__3; lean_object* l_Lean_Elab_Command_logUnknownDecl___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_elabEval(lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttribute(lean_object*); -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__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_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__2; lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Command_elabOpenRenaming___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -604,6 +603,7 @@ lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__3; extern lean_object* l_Lean_Elab_mkDeclName___rarg___closed__3; lean_object* l_Lean_Elab_Command_withLogging___closed__3; lean_object* l___regBuiltin_Lean_Elab_Command_elabVariables(lean_object*); +extern lean_object* l___private_Lean_Elab_Term_5__tryCoe___closed__3; lean_object* l_Lean_Elab_Command_MonadIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_asNode(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Command_elabExport___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -648,6 +648,7 @@ lean_object* l_Lean_Elab_Command_elabEnd___closed__7; lean_object* l_Lean_Elab_Command_elabOpenRenaming___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_failIfSucceeds___closed__5; lean_object* l_Lean_Elab_Command_elabOpenOnly___boxed(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_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5___boxed(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_Lean_Elab_Command_elabSynth___closed__3; @@ -687,7 +688,6 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_addAndCompile___at_Lean_Elab_Command_elabEvalUnsafe___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getRef___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_add_decl(lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_tryCoe___closed__3; lean_object* _init_l_Lean_Elab_Command_Scope_inhabited___closed__1() { _start: { @@ -3162,7 +3162,7 @@ x_10 = lean_unsigned_to_nat(2u); x_11 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__3; +x_12 = l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3; x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); @@ -5342,11 +5342,11 @@ 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_Term_11__elabUsingElabFns___closed__3; +x_89 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3; x_90 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); -x_91 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6; +x_91 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6; x_92 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_92, 0, x_90); lean_ctor_set(x_92, 1, x_91); @@ -5950,11 +5950,11 @@ x_246 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_246, 0, x_245); x_247 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_247, 0, x_246); -x_248 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__3; +x_248 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3; x_249 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_249, 0, x_248); lean_ctor_set(x_249, 1, x_247); -x_250 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6; +x_250 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6; x_251 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_251, 0, x_249); lean_ctor_set(x_251, 1, x_250); @@ -6659,11 +6659,11 @@ x_425 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_425, 0, x_424); x_426 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_426, 0, x_425); -x_427 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__3; +x_427 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3; x_428 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_428, 0, x_427); lean_ctor_set(x_428, 1, x_426); -x_429 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6; +x_429 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6; x_430 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_430, 0, x_428); lean_ctor_set(x_430, 1, x_429); @@ -15278,7 +15278,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_28 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_25, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +x_28 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_25, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_23); 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; lean_object* x_34; lean_object* x_35; @@ -15747,7 +15747,7 @@ _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; x_12 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__2___closed__1; x_13 = lean_name_mk_string(x_1, x_12); -x_14 = l_Lean_Elab_Term_tryCoe___closed__3; +x_14 = l___private_Lean_Elab_Term_5__tryCoe___closed__3; lean_inc(x_2); x_15 = lean_array_push(x_14, x_2); lean_inc(x_4); @@ -15757,7 +15757,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_18 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_13, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_18 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_13, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -15769,7 +15769,7 @@ lean_dec(x_18); x_21 = l_Lean_mkAppStx___closed__9; x_22 = lean_array_push(x_21, x_2); x_23 = lean_array_push(x_22, x_4); -x_24 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_23, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_24 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_23, x_19, 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); @@ -15845,7 +15845,7 @@ lean_closure_set(x_15, 1, x_4); lean_closure_set(x_15, 2, x_3); x_16 = l_Lean_Elab_Command_elabEvalUnsafe___lambda__3___closed__2; x_17 = 0; -x_18 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_16, x_17, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_18 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_16, x_17, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_18; } } @@ -15932,7 +15932,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_30 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_28, x_29, x_26, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_30 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_28, x_29, x_26, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_22); 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; lean_object* x_36; lean_object* x_37; lean_object* x_38; diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index b4c59f28cf..8051c5abd1 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -101,6 +101,7 @@ lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__4; lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble(lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__2; extern lean_object* l___regBuiltin_Lean_Elab_Command_elabVariables___closed__2; +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*); extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Command_elabClassInductive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -148,7 +149,6 @@ uint8_t l___private_Lean_Elab_Declaration_6__isMutualPreambleCommand(lean_object lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__1; lean_object* l___private_Lean_Elab_Declaration_1__inductiveSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___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_Elab_macroAttribute; lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__2; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__2; @@ -1585,7 +1585,7 @@ x_48 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_48, 0, x_47); x_49 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_49, 0, x_48); -x_50 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_7, x_49, x_9, x_10, x_11, x_12, x_13, x_14, x_41); +x_50 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_7, x_49, x_9, x_10, x_11, x_12, x_13, x_14, x_41); lean_dec(x_14); lean_dec(x_12); lean_dec(x_11); diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 9056d32963..adc6a3939c 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -106,7 +106,6 @@ extern lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__8; lean_object* l_Lean_Elab_Term_Do_mkFreshJP___closed__1; lean_object* l_Lean_Elab_Term_Do_mkJmp(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_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___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_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkFreshJP___closed__4; lean_object* l_Lean_Elab_Term_Do_ToTerm_actionToTermCore___closed__10; @@ -129,8 +128,10 @@ lean_object* l_Lean_Elab_Term_Do_hasContinueBreak___main___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_mkResultUVarTuple___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_actionToTermCore___closed__7; lean_object* l_Lean_Elab_Term_Do_Code_inhabited; +lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___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_Do_11__mkPUnit___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___main___closed__36; +lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_13__mkForInYield___closed__10; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_elabDo___lambda__1___boxed(lean_object*, lean_object*); @@ -225,7 +226,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_actionToTermCore___closed__8; lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__15; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___spec__1___rarg___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_Match_processInaccessibleAsCtor___closed__1; -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* 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_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__18; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -255,7 +256,6 @@ lean_object* l_Lean_Elab_Term_Do_eraseVars___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_2__mkIdBindFor___closed__3; lean_object* l_Lean_Elab_Term_Do_mkUnless___closed__6; lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__5; -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_Do_ToCodeBlock_doSeqToCode___main___closed__25; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___spec__1___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabLiftMethod___closed__1; @@ -302,6 +302,7 @@ lean_object* l_Std_RBNode_balRight___rarg(lean_object*, lean_object*, lean_objec uint8_t l_Std_RBNode_isBlack___rarg(lean_object*); lean_object* l___private_Lean_Elab_Do_11__mkPUnit(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_15__expandLiftMethodAux(lean_object*, lean_object*, 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_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3; lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__12; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_Do_convertReturnIntoJmpAux___main___spec__1(lean_object*, lean_object*, lean_object*); @@ -401,7 +402,6 @@ lean_object* l___private_Lean_Elab_Do_12__mkTuple(lean_object*, lean_object*, le lean_object* l_Lean_Elab_Term_Do_toMessageDataAux___main___closed__22; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_toForInTerm___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_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__10; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_Do_pullExitPointsAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_fold___main___at___private_Lean_Elab_Do_6__union___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__12; @@ -456,7 +456,6 @@ uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_Do_hasContinueBreak___ma lean_object* l_Lean_Elab_Term_Do_toDoSeq(lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; lean_object* l_Lean_Elab_Term_Do_getDoLetRecVars(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_Term_19__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_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPoints(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_Do_getDoLetRecVars___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*); @@ -476,6 +475,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_mkUVarTuple(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_Do_mkUnless___closed__1; lean_object* l___private_Lean_Elab_Util_5__expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__6; +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_Do_ToTerm_reassignToTermCore___closed__8; lean_object* l_Lean_Elab_Term_Do_toMessageDataAux___main___closed__24; lean_object* l_Lean_mkApp(lean_object*, lean_object*); @@ -499,7 +499,6 @@ lean_object* l_Lean_Elab_Term_Do_mkAction(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_Do_toMessageDataAux___main___spec__3___closed__2; lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__7; -lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLiftMethod___closed__2; lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__4; extern lean_object* l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__13; @@ -657,6 +656,7 @@ extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17 lean_object* l_List_map___main___at___private_Lean_Elab_Do_7__getDoSeqElems___spec__1(lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Do_1__hasLiftMethod___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_Do_extendUpdatedVarsAux___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_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__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_Do_ToCodeBlock_doSeqToCode___main___closed__39; lean_object* l_Lean_Elab_Term_Do_ToTerm_actionToTermCore___closed__5; lean_object* l_Lean_Elab_Term_Do_getDoLetVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -721,7 +721,7 @@ _start: { lean_object* x_10; lean_object* x_11; x_10 = l_Lean_Elab_Term_elabLiftMethod___closed__3; -x_11 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } @@ -1028,7 +1028,7 @@ _start: { lean_object* x_9; lean_inc(x_1); -x_9 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -1182,7 +1182,7 @@ lean_ctor_set(x_17, 2, x_14); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_18 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_12, x_2, x_3, x_17, x_5, x_6, x_7, x_8); +x_18 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_12, x_2, x_3, x_17, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_44; uint8_t x_45; @@ -1245,7 +1245,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_27 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_26, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_21); +x_27 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_26, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_21); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; lean_object* x_29; lean_object* x_30; @@ -1390,7 +1390,7 @@ lean_ctor_set(x_65, 2, x_14); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_66 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_12, x_2, x_3, x_65, x_5, x_6, x_7, x_8); +x_66 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_12, x_2, x_3, x_65, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_66) == 0) { lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_90; uint8_t x_91; @@ -1455,7 +1455,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_75 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_74, x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_69); +x_75 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_74, x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_69); if (lean_obj_tag(x_75) == 0) { lean_object* x_76; lean_object* x_77; lean_object* x_78; @@ -18345,7 +18345,7 @@ x_1425 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_1425, 0, x_1424); x_1426 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_1426, 0, x_1425); -x_1427 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_1423, x_1426, x_3, x_4, x_5, x_6, x_7, x_8, x_1400); +x_1427 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1423, x_1426, x_3, x_4, x_5, x_6, x_7, x_8, x_1400); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -22521,7 +22521,7 @@ x_2145 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2145, 0, x_2144); x_2146 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2146, 0, x_2145); -x_2147 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_2143, x_2146, x_3, x_4, x_5, x_6, x_1444, x_8, x_2123); +x_2147 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_2143, x_2146, x_3, x_4, x_5, x_6, x_1444, x_8, x_2123); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -25714,189 +25714,189 @@ lean_inc(x_1); x_19 = l_Lean_Elab_Term_Do_ToCodeBlock_run(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_18); 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_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; 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_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 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; 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_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_53 = lean_ctor_get(x_20, 0); -lean_inc(x_53); +x_54 = lean_ctor_get(x_20, 0); +lean_inc(x_54); lean_dec(x_20); -x_54 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_21); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); +x_55 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_21); +x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_st_ref_get(x_8, x_56); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_st_ref_get(x_8, x_57); +x_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_58, 0); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); lean_dec(x_58); -x_61 = lean_st_ref_get(x_8, x_59); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); +x_61 = lean_ctor_get(x_59, 0); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_st_ref_get(x_8, x_60); +x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); -lean_dec(x_61); x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); lean_dec(x_62); -x_65 = lean_ctor_get(x_7, 1); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_7, 2); +lean_dec(x_63); +x_66 = lean_ctor_get(x_7, 1); lean_inc(x_66); -lean_inc(x_60); -x_67 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_5__expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_67, 0, x_60); -x_68 = x_67; -x_69 = lean_environment_main_module(x_60); -x_70 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set(x_70, 2, x_55); -lean_ctor_set(x_70, 3, x_65); -lean_ctor_set(x_70, 4, x_66); -x_71 = l_Array_empty___closed__1; -x_72 = lean_box(0); -x_73 = l_Lean_Elab_Term_Do_ToTerm_run(x_53, x_17, x_71, x_72, x_70, x_64); -if (lean_obj_tag(x_73) == 0) +x_67 = lean_ctor_get(x_7, 2); +lean_inc(x_67); +lean_inc(x_61); +x_68 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_5__expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_68, 0, x_61); +x_69 = x_68; +x_70 = lean_environment_main_module(x_61); +x_71 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_71, 2, x_56); +lean_ctor_set(x_71, 3, x_66); +lean_ctor_set(x_71, 4, x_67); +x_72 = l_Array_empty___closed__1; +x_73 = lean_box(0); +x_74 = l_Lean_Elab_Term_Do_ToTerm_run(x_54, x_17, x_72, x_73, x_71, x_65); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_st_ref_take(x_8, x_63); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_st_ref_take(x_8, x_64); +x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); -lean_dec(x_76); -x_79 = !lean_is_exclusive(x_77); -if (x_79 == 0) +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = !lean_is_exclusive(x_78); +if (x_80 == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_77, 1); -lean_dec(x_80); -lean_ctor_set(x_77, 1, x_75); -x_81 = lean_st_ref_set(x_8, x_77, x_78); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_78, 1); lean_dec(x_81); -x_22 = x_74; -x_23 = x_82; -goto block_52; +lean_ctor_set(x_78, 1, x_76); +x_82 = lean_st_ref_set(x_8, x_78, x_79); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_22 = x_75; +x_23 = x_83; +goto block_53; } 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; -x_83 = lean_ctor_get(x_77, 0); -x_84 = lean_ctor_get(x_77, 2); -x_85 = lean_ctor_get(x_77, 3); +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_84 = lean_ctor_get(x_78, 0); +x_85 = lean_ctor_get(x_78, 2); +x_86 = lean_ctor_get(x_78, 3); +lean_inc(x_86); lean_inc(x_85); lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_77); -x_86 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_86, 0, x_83); -lean_ctor_set(x_86, 1, x_75); -lean_ctor_set(x_86, 2, x_84); -lean_ctor_set(x_86, 3, x_85); -x_87 = lean_st_ref_set(x_8, x_86, x_78); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_22 = x_74; -x_23 = x_88; -goto block_52; +lean_dec(x_78); +x_87 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_76); +lean_ctor_set(x_87, 2, x_85); +lean_ctor_set(x_87, 3, x_86); +x_88 = lean_st_ref_set(x_8, x_87, x_79); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +x_22 = x_75; +x_23 = x_89; +goto block_53; } } else { -lean_object* x_89; +lean_object* x_90; lean_dec(x_15); lean_dec(x_13); lean_dec(x_1); -x_89 = lean_ctor_get(x_73, 0); -lean_inc(x_89); -lean_dec(x_73); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_90 = lean_ctor_get(x_89, 0); +x_90 = lean_ctor_get(x_74, 0); lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); +lean_dec(x_74); +if (lean_obj_tag(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; +x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_93 = lean_alloc_ctor(0, 1, 0); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_93, 0, x_92); -x_94 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_90, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_63); +x_94 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_94, 0, x_93); +x_95 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_91, x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_64); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_90); -x_95 = !lean_is_exclusive(x_94); -if (x_95 == 0) +lean_dec(x_91); +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) { -return x_94; +return x_95; } else { -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_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_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; +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_99; uint8_t x_100; +lean_object* x_100; uint8_t x_101; 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_99 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_63); -x_100 = !lean_is_exclusive(x_99); -if (x_100 == 0) +x_100 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_64); +x_101 = !lean_is_exclusive(x_100); +if (x_101 == 0) { -return x_99; +return x_100; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_99, 0); -x_102 = lean_ctor_get(x_99, 1); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_100, 0); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_99); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +lean_dec(x_100); +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_52: +block_53: { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_object* x_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_inc(x_22); x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Do_elabDo___lambda__1___boxed), 2, 1); lean_closure_set(x_24, 0, x_22); @@ -25911,36 +25911,38 @@ lean_dec(x_13); x_29 = l_Lean_mkApp(x_15, x_28); x_30 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_30, 0, x_29); -x_31 = !lean_is_exclusive(x_3); -if (x_31 == 0) +x_31 = lean_box(0); +x_32 = !lean_is_exclusive(x_3); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_3, 6); +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; +x_33 = lean_ctor_get(x_3, 6); lean_inc(x_22); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_1); -lean_ctor_set(x_33, 1, x_22); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_3, 6, x_34); -x_35 = 1; -x_36 = l_Lean_Elab_Term_elabTermEnsuringType(x_22, x_30, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_27); -return x_36; +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_1); +lean_ctor_set(x_34, 1, x_22); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +lean_ctor_set(x_3, 6, x_35); +x_36 = 1; +x_37 = l_Lean_Elab_Term_elabTermEnsuringType(x_22, x_30, x_36, x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +return x_37; } 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; uint8_t x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; -x_37 = lean_ctor_get(x_3, 0); -x_38 = lean_ctor_get(x_3, 1); -x_39 = lean_ctor_get(x_3, 2); -x_40 = lean_ctor_get(x_3, 3); -x_41 = lean_ctor_get(x_3, 4); -x_42 = lean_ctor_get(x_3, 5); -x_43 = lean_ctor_get(x_3, 6); -x_44 = lean_ctor_get(x_3, 7); -x_45 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); -x_46 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); +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; uint8_t x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; +x_38 = lean_ctor_get(x_3, 0); +x_39 = lean_ctor_get(x_3, 1); +x_40 = lean_ctor_get(x_3, 2); +x_41 = lean_ctor_get(x_3, 3); +x_42 = lean_ctor_get(x_3, 4); +x_43 = lean_ctor_get(x_3, 5); +x_44 = lean_ctor_get(x_3, 6); +x_45 = lean_ctor_get(x_3, 7); +x_46 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); +x_47 = lean_ctor_get_uint8(x_3, sizeof(void*)*8 + 1); +lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); lean_inc(x_42); @@ -25948,35 +25950,34 @@ lean_inc(x_41); lean_inc(x_40); lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); lean_dec(x_3); lean_inc(x_22); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_1); -lean_ctor_set(x_47, 1, x_22); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_43); -x_49 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_49, 0, x_37); -lean_ctor_set(x_49, 1, x_38); -lean_ctor_set(x_49, 2, x_39); -lean_ctor_set(x_49, 3, x_40); -lean_ctor_set(x_49, 4, x_41); -lean_ctor_set(x_49, 5, x_42); -lean_ctor_set(x_49, 6, x_48); -lean_ctor_set(x_49, 7, x_44); -lean_ctor_set_uint8(x_49, sizeof(void*)*8, x_45); -lean_ctor_set_uint8(x_49, sizeof(void*)*8 + 1, x_46); -x_50 = 1; -x_51 = l_Lean_Elab_Term_elabTermEnsuringType(x_22, x_30, x_50, x_49, x_4, x_5, x_6, x_7, x_8, x_27); -return x_51; +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_1); +lean_ctor_set(x_48, 1, x_22); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +x_50 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_39); +lean_ctor_set(x_50, 2, x_40); +lean_ctor_set(x_50, 3, x_41); +lean_ctor_set(x_50, 4, x_42); +lean_ctor_set(x_50, 5, x_43); +lean_ctor_set(x_50, 6, x_49); +lean_ctor_set(x_50, 7, x_45); +lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_46); +lean_ctor_set_uint8(x_50, sizeof(void*)*8 + 1, x_47); +x_51 = 1; +x_52 = l_Lean_Elab_Term_elabTermEnsuringType(x_22, x_30, x_51, x_31, x_50, x_4, x_5, x_6, x_7, x_8, x_27); +return x_52; } } } else { -uint8_t x_104; +uint8_t x_105; lean_dec(x_17); lean_dec(x_15); lean_dec(x_13); @@ -25987,29 +25988,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_104 = !lean_is_exclusive(x_19); -if (x_104 == 0) +x_105 = !lean_is_exclusive(x_19); +if (x_105 == 0) { return x_19; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_19, 0); -x_106 = lean_ctor_get(x_19, 1); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_19, 0); +x_107 = lean_ctor_get(x_19, 1); +lean_inc(x_107); lean_inc(x_106); -lean_inc(x_105); lean_dec(x_19); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; +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_108; +uint8_t x_109; lean_dec(x_15); lean_dec(x_13); lean_dec(x_8); @@ -26019,29 +26020,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_108 = !lean_is_exclusive(x_16); -if (x_108 == 0) +x_109 = !lean_is_exclusive(x_16); +if (x_109 == 0) { return x_16; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_16, 0); -x_110 = lean_ctor_get(x_16, 1); +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_16, 0); +x_111 = lean_ctor_get(x_16, 1); +lean_inc(x_111); lean_inc(x_110); -lean_inc(x_109); lean_dec(x_16); -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; +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; } } } else { -uint8_t x_112; +uint8_t x_113; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -26049,29 +26050,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_112 = !lean_is_exclusive(x_12); -if (x_112 == 0) +x_113 = !lean_is_exclusive(x_12); +if (x_113 == 0) { return x_12; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_12, 0); -x_114 = lean_ctor_get(x_12, 1); +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_12, 0); +x_115 = lean_ctor_get(x_12, 1); +lean_inc(x_115); lean_inc(x_114); -lean_inc(x_113); lean_dec(x_12); -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; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; } } } else { -uint8_t x_116; +uint8_t x_117; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -26080,23 +26081,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_116 = !lean_is_exclusive(x_10); -if (x_116 == 0) +x_117 = !lean_is_exclusive(x_10); +if (x_117 == 0) { return x_10; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_10, 0); -x_118 = lean_ctor_get(x_10, 1); +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_10, 0); +x_119 = lean_ctor_get(x_10, 1); +lean_inc(x_119); lean_inc(x_118); -lean_inc(x_117); lean_dec(x_10); -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; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +return x_120; } } } diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index f9a099b2be..df77a1780d 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -218,6 +218,7 @@ lean_object* l_Lean_Elab_Command_ElabHeaderResult_inhabited___closed__1; lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__11; lean_object* lean_mk_brec_on(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_22__collectUniverses(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_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___private_Lean_Elab_Inductive_1__elabHeaderAux___main___lambda__1___closed__3; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_23__updateResultingUniverse___closed__2; @@ -311,7 +312,6 @@ lean_object* l___private_Lean_Elab_Inductive_29__collectLevelParamsInInductive__ lean_object* l___private_Lean_Elab_Inductive_4__checkLevelNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__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_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_Lean_mkLevelSucc(lean_object*); @@ -395,7 +395,6 @@ lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__3; lean_object* l_List_mapM___main___at___private_Lean_Elab_Inductive_31__replaceIndFVarsWithConsts___spec__3___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* l___private_Lean_Elab_Inductive_20__collectUniversesFromCtorTypeAux(lean_object*, 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_isTypeFormerType___at___private_Lean_Elab_Inductive_1__elabHeaderAux___main___spec__1(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_18__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_Inductive_25__collectUsed___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_checkValidCtorModifier___closed__5; lean_object* l_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -426,6 +425,7 @@ lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_Inducti 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_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_Lean_Elab_Command_checkValidInductiveModifier(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1194,7 +1194,7 @@ x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); lean_dec(x_36); x_40 = l___private_Lean_Elab_Inductive_1__elabHeaderAux___main___lambda__1___closed__3; -x_41 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_30, x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_39); +x_41 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_30, x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_39); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -1451,7 +1451,7 @@ x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); lean_dec(x_19); x_21 = l_Array_forMAux___main___at___private_Lean_Elab_Inductive_2__checkNumParams___spec__1___closed__3; -x_22 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_22 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_20); x_23 = !lean_is_exclusive(x_22); if (x_23 == 0) @@ -1676,7 +1676,7 @@ x_20 = lean_ctor_get(x_16, 0); lean_inc(x_20); lean_dec(x_16); x_21 = l_Array_forMAux___main___at___private_Lean_Elab_Inductive_3__checkUnsafe___spec__1___closed__3; -x_22 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_22 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_20, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_20); x_23 = !lean_is_exclusive(x_22); if (x_23 == 0) @@ -1821,7 +1821,7 @@ x_18 = lean_ctor_get(x_15, 0); lean_inc(x_18); lean_dec(x_15); x_19 = l_Array_forMAux___main___at___private_Lean_Elab_Inductive_4__checkLevelNames___spec__1___closed__3; -x_20 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_20 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_18); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) @@ -3277,7 +3277,7 @@ lean_closure_set(x_19, 2, x_1); lean_closure_set(x_19, 3, x_2); lean_closure_set(x_19, 4, x_3); x_20 = 0; -x_21 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_17, x_20, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_21 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_17, x_20, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_21; } } @@ -6759,7 +6759,7 @@ lean_closure_set(x_22, 1, x_1); lean_closure_set(x_22, 2, x_2); lean_closure_set(x_22, 3, x_20); lean_closure_set(x_22, 4, x_5); -x_23 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_15, x_21, x_16, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_23 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_15, x_21, x_16, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_23; } else @@ -6850,7 +6850,7 @@ lean_closure_set(x_42, 0, x_27); lean_closure_set(x_42, 1, x_1); lean_closure_set(x_42, 2, x_2); lean_closure_set(x_42, 3, x_40); -x_43 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_25, x_41, x_26, x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +x_43 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_25, x_41, x_26, x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_34); return x_43; } } diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index 0918095678..7973dd1c6b 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -49,7 +49,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_ lean_object* l___private_Lean_Elab_LetRec_5__abortIfContainsSyntheticSorry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_3__withAuxLocalDecls(lean_object*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__7___closed__1; -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* 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_object* lean_array_fget(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalInstances___at_Lean_Elab_Term_elabBinders___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -67,7 +67,7 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_LetRec_6__registerLetRecsToLift___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__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_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*); uint8_t l_Lean_Expr_hasSyntheticSorry___main(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__7___lambda__1___closed__3; @@ -79,20 +79,18 @@ extern lean_object* l_Lean_mkAppStx___closed__6; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__5(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_LetRec_1__mkLetRecDeclView___spec__7___lambda__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_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_elabTermEnsuringType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_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_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_Elab_elabDeclAttrs___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_2__withAuxLocalDeclsAux___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_LetRec_1__mkLetRecDeclView___boxed(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_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___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_elabAttr___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); extern lean_object* l_Lean_Elab_elabAttr___rarg___closed__3; uint8_t l_Lean_isAttribute(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__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_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_LetRec_4__elabLetRecDeclValues___spec__1(lean_object*); lean_object* lean_environment_main_module(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec(lean_object*); @@ -106,6 +104,7 @@ lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_LetRec_1__mkLetRec extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__3; lean_object* l___private_Lean_Elab_LetRec_2__withAuxLocalDeclsAux___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_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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_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*); extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__4; @@ -127,6 +126,7 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_LetRec_2__withAuxLocalDeclsAux(lean_object*); extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2___closed__3; lean_object* l_unsafeCast(lean_object*, 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_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_1__mkLetRecDeclView___spec__4(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_LetRec_1__mkLetRecDeclView___spec__2___rarg(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2; @@ -1609,7 +1609,7 @@ lean_dec(x_26); lean_dec(x_16); lean_dec(x_1); 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_19__elabTermAux___main___spec__1___rarg(x_30, x_133, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +x_134 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_30, x_133, x_3, x_4, x_5, x_6, x_7, x_8, x_27); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -1977,7 +1977,7 @@ return x_2; lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_LetRec_4__elabLetRecDeclValues___spec__2___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; lean_object* x_12; lean_object* x_13; uint8_t 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_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_11 = lean_ctor_get(x_1, 3); lean_inc(x_11); x_12 = lean_ctor_get(x_1, 7); @@ -1985,19 +1985,21 @@ lean_inc(x_12); lean_dec(x_1); x_13 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_13, 0, x_3); -x_14 = 1; -x_15 = lean_box(x_14); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 10, 3); -lean_closure_set(x_16, 0, x_12); -lean_closure_set(x_16, 1, x_13); -lean_closure_set(x_16, 2, x_15); -x_17 = lean_alloc_closure((void*)(l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1___boxed), 9, 1); -lean_closure_set(x_17, 0, x_2); -x_18 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg), 9, 2); -lean_closure_set(x_18, 0, x_16); -lean_closure_set(x_18, 1, x_17); -x_19 = l_Lean_Elab_Term_withDeclName___rarg(x_11, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_19; +x_14 = lean_box(0); +x_15 = 1; +x_16 = lean_box(x_15); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 11, 4); +lean_closure_set(x_17, 0, x_12); +lean_closure_set(x_17, 1, x_13); +lean_closure_set(x_17, 2, x_16); +lean_closure_set(x_17, 3, x_14); +x_18 = lean_alloc_closure((void*)(l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1___boxed), 9, 1); +lean_closure_set(x_18, 0, x_2); +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); +x_20 = l_Lean_Elab_Term_withDeclName___rarg(x_11, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_20; } } lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_LetRec_4__elabLetRecDeclValues___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) { @@ -2388,7 +2390,7 @@ lean_inc(x_1); x_12 = l___private_Lean_Elab_LetRec_4__elabLetRecDeclValues(x_1, 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; uint8_t x_16; lean_object* x_17; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -2397,39 +2399,40 @@ lean_dec(x_12); x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); lean_dec(x_1); -x_16 = 1; +x_16 = lean_box(0); +x_17 = 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_17 = l_Lean_Elab_Term_elabTermEnsuringType(x_15, x_2, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Lean_Elab_Term_elabTermEnsuringType(x_15, x_2, x_17, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); lean_inc(x_7); -x_20 = l___private_Lean_Elab_LetRec_6__registerLetRecsToLift(x_3, x_4, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +x_21 = l___private_Lean_Elab_LetRec_6__registerLetRecsToLift(x_3, x_4, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_20); lean_dec(x_13); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_4, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_4, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_22); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); -return x_22; +return x_23; } else { -uint8_t x_23; +uint8_t x_24; lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); @@ -2439,29 +2442,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_23 = !lean_is_exclusive(x_17); -if (x_23 == 0) +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) { -return x_17; +return x_18; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_17, 0); -x_25 = lean_ctor_get(x_17, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_18, 0); +x_26 = lean_ctor_get(x_18, 1); +lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_17); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_dec(x_18); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } else { -uint8_t x_27; +uint8_t x_28; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -2472,23 +2475,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_12); -if (x_27 == 0) +x_28 = !lean_is_exclusive(x_12); +if (x_28 == 0) { return x_12; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_12, 0); -x_29 = lean_ctor_get(x_12, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_12, 0); +x_30 = lean_ctor_get(x_12, 1); +lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); lean_dec(x_12); -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; +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; } } } diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 591384b602..cc7aa804ba 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -126,6 +126,7 @@ uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_elabMatch___spec__7(lean lean_object* l___private_Lean_Elab_Match_22__processExplicitArg___closed__4; lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_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_Term_elabInaccessible(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___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_elabMatch___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,7 +224,7 @@ uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_elabMatch___spec__1(lean lean_object* l___private_Lean_Elab_Match_21__pushNewArg___closed__1; extern lean_object* l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5; 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* 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_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__10; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___main___closed__7; @@ -298,6 +299,7 @@ lean_object* l___private_Lean_Elab_Match_38__elabMatchAux___closed__8; lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_elabMatch___spec__24___boxed(lean_object*, 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_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_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*); @@ -305,7 +307,6 @@ lean_object* l_Array_findIdxAux___main___at___private_Lean_Elab_Match_36__mkLoca 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*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* l_Lean_Elab_Term_expandMacrosInPatterns(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__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_Meta_mkEq___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrsAux___main___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_inferTypeRef; lean_object* l_Lean_Elab_Term_elabNoMatch___closed__2; @@ -415,7 +416,6 @@ lean_object* l___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrsAux___main___l lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(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* l___private_Lean_Elab_Match_18__finalize___closed__2; -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___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_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_LocalDecl_type(lean_object*); @@ -444,7 +444,6 @@ 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_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(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_19__isNextArgAccessible(lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); @@ -489,7 +488,7 @@ 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_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_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(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*); 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*); @@ -502,6 +501,7 @@ lean_object* l___private_Lean_Elab_Match_14__getNumExplicitCtorParams(lean_objec lean_object* l___private_Lean_Elab_Match_7__elabMatchTypeAndDiscrs___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_3__elabDiscrsWitMatchTypeAux___main___closed__7; uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_elabMatch___spec__26(lean_object*, lean_object*, lean_object*, lean_object*); +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_Lean_Parser_registerBuiltinNodeKind(lean_object*, lean_object*); extern lean_object* l___private_Init_LeanInit_13__quoteName___main___closed__1; @@ -555,7 +555,6 @@ 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_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_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__4; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_27__nameToPattern___main___closed__2; @@ -581,7 +580,6 @@ lean_object* l___private_Lean_Elab_Match_17__isDone___boxed(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_withLocalDecl___at___private_Lean_Elab_Term_18__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_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*); @@ -621,6 +619,7 @@ lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_elabMatch___spec__21___boxed(lean_object*, lean_object*, lean_object*, 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_Meta_mkEqRefl___at___private_Lean_Elab_Match_6__elabMatchTypeAndDiscrsAux___main___spec__3___boxed(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_38__elabMatchAux___closed__7; @@ -628,17 +627,18 @@ lean_object* l_Lean_Elab_Term_reportMatcherResultErrors(lean_object*, lean_objec 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_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___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_Lean_Elab_Term_reportMatcherResultErrors___closed__5; -extern lean_object* l___private_Lean_Elab_Term_12__isExplicit___closed__2; 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_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_12__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_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_Array_anyRangeMAux___main___at_Lean_Elab_Term_elabMatch___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1452,7 +1452,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_82 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_82 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_82) == 0) { lean_object* x_83; lean_object* x_84; lean_object* x_85; @@ -1463,7 +1463,7 @@ lean_inc(x_84); lean_dec(x_82); if (lean_obj_tag(x_83) == 7) { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +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_98 = lean_ctor_get(x_83, 1); lean_inc(x_98); x_99 = lean_ctor_get(x_83, 2); @@ -1472,110 +1472,111 @@ lean_dec(x_83); lean_inc(x_98); x_100 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_100, 0, x_98); -x_101 = lean_ctor_get(x_8, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_8, 1); +x_101 = lean_box(0); +x_102 = lean_ctor_get(x_8, 0); lean_inc(x_102); -x_103 = lean_ctor_get(x_8, 2); +x_103 = lean_ctor_get(x_8, 1); lean_inc(x_103); -x_104 = !lean_is_exclusive(x_101); -if (x_104 == 0) +x_104 = lean_ctor_get(x_8, 2); +lean_inc(x_104); +x_105 = !lean_is_exclusive(x_102); +if (x_105 == 0) { -uint8_t x_105; lean_object* x_106; lean_object* x_107; -x_105 = 1; -lean_ctor_set_uint8(x_101, 0, x_105); -lean_ctor_set_uint8(x_101, 1, x_105); -lean_ctor_set_uint8(x_101, 2, x_105); -lean_ctor_set_uint8(x_101, 3, x_105); -x_106 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_106, 0, x_101); -lean_ctor_set(x_106, 1, x_102); -lean_ctor_set(x_106, 2, x_103); +uint8_t x_106; lean_object* x_107; lean_object* x_108; +x_106 = 1; +lean_ctor_set_uint8(x_102, 0, x_106); +lean_ctor_set_uint8(x_102, 1, x_106); +lean_ctor_set_uint8(x_102, 2, x_106); +lean_ctor_set_uint8(x_102, 3, x_106); +x_107 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_107, 0, x_102); +lean_ctor_set(x_107, 1, x_103); +lean_ctor_set(x_107, 2, x_104); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_7); lean_inc(x_6); -x_107 = l_Lean_Elab_Term_elabTermEnsuringType(x_81, x_100, x_105, x_6, x_7, x_106, x_9, x_10, x_11, x_84); -if (lean_obj_tag(x_107) == 0) +x_108 = l_Lean_Elab_Term_elabTermEnsuringType(x_81, x_100, x_106, x_101, x_6, x_7, x_107, x_9, x_10, x_11, x_84); +if (lean_obj_tag(x_108) == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_109 = lean_ctor_get(x_108, 0); lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_ctor_get(x_10, 0); +x_110 = lean_ctor_get(x_108, 1); 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) +lean_dec(x_108); +x_111 = lean_ctor_get(x_10, 0); +lean_inc(x_111); +x_112 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; +x_113 = l_Lean_checkTraceOption(x_111, x_112); +lean_dec(x_111); +if (x_113 == 0) { -lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_dec(x_98); -x_113 = lean_nat_add(x_3, x_80); +x_114 = lean_nat_add(x_3, x_80); lean_dec(x_3); -x_114 = lean_expr_instantiate1(x_99, x_108); +x_115 = lean_expr_instantiate1(x_99, x_109); lean_dec(x_99); -x_115 = lean_array_push(x_5, x_108); -x_3 = x_113; -x_4 = x_114; -x_5 = x_115; -x_12 = x_109; +x_116 = lean_array_push(x_5, x_109); +x_3 = x_114; +x_4 = x_115; +x_5 = x_116; +x_12 = x_110; goto _start; } else { -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_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_inc(x_3); -x_117 = l_Nat_repr(x_3); -x_118 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = lean_alloc_ctor(0, 1, 0); +x_118 = l_Nat_repr(x_3); +x_119 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_119, 0, x_118); -x_120 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13; -x_121 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = l___private_Lean_Meta_ExprDefEq_12__addAssignmentInfo___closed__4; -x_123 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -lean_inc(x_108); -x_124 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_124, 0, x_108); -x_125 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -x_126 = l___private_Lean_Meta_ExprDefEq_8__checkTypesAndAssign___closed__7; -x_127 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_128, 0, x_98); -x_129 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_111, x_129, x_6, x_7, x_8, x_9, x_10, x_11, x_109); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_132 = lean_nat_add(x_3, x_80); +x_120 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_120, 0, x_119); +x_121 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13; +x_122 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_120); +x_123 = l___private_Lean_Meta_ExprDefEq_12__addAssignmentInfo___closed__4; +x_124 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +lean_inc(x_109); +x_125 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_125, 0, x_109); +x_126 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +x_127 = l___private_Lean_Meta_ExprDefEq_8__checkTypesAndAssign___closed__7; +x_128 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_129, 0, x_98); +x_130 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +x_131 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_112, x_130, x_6, x_7, x_8, x_9, x_10, x_11, x_110); +x_132 = lean_ctor_get(x_131, 1); +lean_inc(x_132); +lean_dec(x_131); +x_133 = lean_nat_add(x_3, x_80); lean_dec(x_3); -x_133 = lean_expr_instantiate1(x_99, x_108); +x_134 = lean_expr_instantiate1(x_99, x_109); lean_dec(x_99); -x_134 = lean_array_push(x_5, x_108); -x_3 = x_132; -x_4 = x_133; -x_5 = x_134; -x_12 = x_131; +x_135 = lean_array_push(x_5, x_109); +x_3 = x_133; +x_4 = x_134; +x_5 = x_135; +x_12 = x_132; goto _start; } } else { -uint8_t x_136; +uint8_t x_137; lean_dec(x_99); lean_dec(x_98); lean_dec(x_11); @@ -1587,133 +1588,133 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_136 = !lean_is_exclusive(x_107); -if (x_136 == 0) +x_137 = !lean_is_exclusive(x_108); +if (x_137 == 0) { -return x_107; +return x_108; } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_107, 0); -x_138 = lean_ctor_get(x_107, 1); +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_108, 0); +x_139 = lean_ctor_get(x_108, 1); +lean_inc(x_139); lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_107); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; +lean_dec(x_108); +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; } } } else { -uint8_t x_140; uint8_t x_141; uint8_t x_142; uint8_t x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_140 = lean_ctor_get_uint8(x_101, 4); -x_141 = lean_ctor_get_uint8(x_101, 5); -x_142 = lean_ctor_get_uint8(x_101, 6); -x_143 = lean_ctor_get_uint8(x_101, 7); -lean_dec(x_101); -x_144 = 1; -x_145 = lean_alloc_ctor(0, 0, 8); -lean_ctor_set_uint8(x_145, 0, x_144); -lean_ctor_set_uint8(x_145, 1, x_144); -lean_ctor_set_uint8(x_145, 2, x_144); -lean_ctor_set_uint8(x_145, 3, x_144); -lean_ctor_set_uint8(x_145, 4, x_140); -lean_ctor_set_uint8(x_145, 5, x_141); -lean_ctor_set_uint8(x_145, 6, x_142); -lean_ctor_set_uint8(x_145, 7, x_143); -x_146 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_102); -lean_ctor_set(x_146, 2, x_103); +uint8_t x_141; uint8_t x_142; uint8_t x_143; uint8_t x_144; uint8_t x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_141 = lean_ctor_get_uint8(x_102, 4); +x_142 = lean_ctor_get_uint8(x_102, 5); +x_143 = lean_ctor_get_uint8(x_102, 6); +x_144 = lean_ctor_get_uint8(x_102, 7); +lean_dec(x_102); +x_145 = 1; +x_146 = lean_alloc_ctor(0, 0, 8); +lean_ctor_set_uint8(x_146, 0, x_145); +lean_ctor_set_uint8(x_146, 1, x_145); +lean_ctor_set_uint8(x_146, 2, x_145); +lean_ctor_set_uint8(x_146, 3, x_145); +lean_ctor_set_uint8(x_146, 4, x_141); +lean_ctor_set_uint8(x_146, 5, x_142); +lean_ctor_set_uint8(x_146, 6, x_143); +lean_ctor_set_uint8(x_146, 7, x_144); +x_147 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_103); +lean_ctor_set(x_147, 2, x_104); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_7); lean_inc(x_6); -x_147 = l_Lean_Elab_Term_elabTermEnsuringType(x_81, x_100, x_144, x_6, x_7, x_146, x_9, x_10, x_11, x_84); -if (lean_obj_tag(x_147) == 0) +x_148 = l_Lean_Elab_Term_elabTermEnsuringType(x_81, x_100, x_145, x_101, x_6, x_7, x_147, x_9, x_10, x_11, x_84); +if (lean_obj_tag(x_148) == 0) { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; +x_149 = lean_ctor_get(x_148, 0); lean_inc(x_149); -lean_dec(x_147); -x_150 = lean_ctor_get(x_10, 0); +x_150 = lean_ctor_get(x_148, 1); lean_inc(x_150); -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) +lean_dec(x_148); +x_151 = lean_ctor_get(x_10, 0); +lean_inc(x_151); +x_152 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__10; +x_153 = l_Lean_checkTraceOption(x_151, x_152); +lean_dec(x_151); +if (x_153 == 0) { -lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_dec(x_98); -x_153 = lean_nat_add(x_3, x_80); +x_154 = lean_nat_add(x_3, x_80); lean_dec(x_3); -x_154 = lean_expr_instantiate1(x_99, x_148); +x_155 = lean_expr_instantiate1(x_99, x_149); lean_dec(x_99); -x_155 = lean_array_push(x_5, x_148); -x_3 = x_153; -x_4 = x_154; -x_5 = x_155; -x_12 = x_149; +x_156 = lean_array_push(x_5, x_149); +x_3 = x_154; +x_4 = x_155; +x_5 = x_156; +x_12 = x_150; goto _start; } else { -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_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_inc(x_3); -x_157 = l_Nat_repr(x_3); -x_158 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_158, 0, x_157); -x_159 = lean_alloc_ctor(0, 1, 0); +x_158 = l_Nat_repr(x_3); +x_159 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_159, 0, x_158); -x_160 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13; -x_161 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_159); -x_162 = l___private_Lean_Meta_ExprDefEq_12__addAssignmentInfo___closed__4; -x_163 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -lean_inc(x_148); -x_164 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_164, 0, x_148); -x_165 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_164); -x_166 = l___private_Lean_Meta_ExprDefEq_8__checkTypesAndAssign___closed__7; -x_167 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_168, 0, x_98); -x_169 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -x_170 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_151, x_169, x_6, x_7, x_8, x_9, x_10, x_11, x_149); -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); -x_172 = lean_nat_add(x_3, x_80); +x_160 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_160, 0, x_159); +x_161 = l___private_Lean_Elab_Match_3__elabDiscrsWitMatchTypeAux___main___closed__13; +x_162 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_160); +x_163 = l___private_Lean_Meta_ExprDefEq_12__addAssignmentInfo___closed__4; +x_164 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_164, 0, x_162); +lean_ctor_set(x_164, 1, x_163); +lean_inc(x_149); +x_165 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_165, 0, x_149); +x_166 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_165); +x_167 = l___private_Lean_Meta_ExprDefEq_8__checkTypesAndAssign___closed__7; +x_168 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +x_169 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_169, 0, x_98); +x_170 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +x_171 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_152, x_170, x_6, x_7, x_8, x_9, x_10, x_11, x_150); +x_172 = lean_ctor_get(x_171, 1); +lean_inc(x_172); +lean_dec(x_171); +x_173 = lean_nat_add(x_3, x_80); lean_dec(x_3); -x_173 = lean_expr_instantiate1(x_99, x_148); +x_174 = lean_expr_instantiate1(x_99, x_149); lean_dec(x_99); -x_174 = lean_array_push(x_5, x_148); -x_3 = x_172; -x_4 = x_173; -x_5 = x_174; -x_12 = x_171; +x_175 = lean_array_push(x_5, x_149); +x_3 = x_173; +x_4 = x_174; +x_5 = x_175; +x_12 = x_172; goto _start; } } else { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_dec(x_99); lean_dec(x_98); lean_dec(x_11); @@ -1725,39 +1726,39 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_176 = lean_ctor_get(x_147, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_147, 1); +x_177 = lean_ctor_get(x_148, 0); lean_inc(x_177); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_178 = x_147; +x_178 = lean_ctor_get(x_148, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_179 = x_148; } else { - lean_dec_ref(x_147); - x_178 = lean_box(0); + lean_dec_ref(x_148); + x_179 = lean_box(0); } -if (lean_is_scalar(x_178)) { - x_179 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(1, 2, 0); } else { - x_179 = x_178; + x_180 = x_179; } -lean_ctor_set(x_179, 0, x_176); -lean_ctor_set(x_179, 1, x_177); -return x_179; +lean_ctor_set(x_180, 0, x_177); +lean_ctor_set(x_180, 1, x_178); +return x_180; } } } else { -lean_object* x_180; +lean_object* x_181; lean_dec(x_83); lean_dec(x_81); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_180 = lean_box(0); -x_85 = x_180; +x_181 = lean_box(0); +x_85 = x_181; goto block_97; } block_97: @@ -1792,7 +1793,7 @@ return x_96; } else { -uint8_t x_181; +uint8_t x_182; lean_dec(x_81); lean_dec(x_11); lean_dec(x_10); @@ -1803,23 +1804,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_181 = !lean_is_exclusive(x_82); -if (x_181 == 0) +x_182 = !lean_is_exclusive(x_82); +if (x_182 == 0) { return x_82; } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_182 = lean_ctor_get(x_82, 0); -x_183 = lean_ctor_get(x_82, 1); +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_82, 0); +x_184 = lean_ctor_get(x_82, 1); +lean_inc(x_184); lean_inc(x_183); -lean_inc(x_182); lean_dec(x_82); -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; +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; } } } @@ -2354,7 +2355,7 @@ lean_closure_set(x_20, 5, x_6); lean_closure_set(x_20, 6, x_2); lean_closure_set(x_20, 7, x_7); x_21 = 0; -x_22 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_19, x_21, x_17, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +x_22 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_19, x_21, x_17, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_18); return x_22; } else @@ -2497,7 +2498,7 @@ lean_closure_set(x_44, 4, x_5); lean_closure_set(x_44, 5, x_16); lean_closure_set(x_44, 6, x_1); x_45 = 0; -x_46 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_39, x_45, x_32, x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_40); +x_46 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_39, x_45, x_32, x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_40); return x_46; } else @@ -4513,7 +4514,7 @@ x_23 = lean_ctor_get(x_1, 0); lean_inc(x_23); x_24 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5; x_25 = lean_array_push(x_24, x_23); -x_26 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +x_26 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); @@ -4534,7 +4535,7 @@ x_31 = lean_ctor_get(x_1, 0); lean_inc(x_31); x_32 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5; x_33 = lean_array_push(x_32, x_31); -x_34 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +x_34 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); @@ -5983,7 +5984,7 @@ x_66 = l_Lean_Syntax_isOfKind(x_2, x_65); if (x_66 == 0) { lean_object* x_67; uint8_t x_68; -x_67 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +x_67 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; lean_inc(x_2); x_68 = l_Lean_Syntax_isOfKind(x_2, x_67); if (x_68 == 0) @@ -14812,7 +14813,7 @@ lean_dec(x_22); x_24 = 0; x_25 = lean_box(0); lean_inc(x_7); -x_26 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(x_24, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_26 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2(x_24, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); @@ -14824,7 +14825,7 @@ lean_closure_set(x_29, 1, x_4); lean_closure_set(x_29, 2, x_1); lean_closure_set(x_29, 3, x_2); x_30 = 0; -x_31 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_23, x_30, x_27, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_28); +x_31 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_23, x_30, x_27, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_28); return x_31; } else @@ -14836,7 +14837,7 @@ lean_dec(x_22); x_33 = 0; x_34 = lean_box(0); lean_inc(x_7); -x_35 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(x_33, x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_35 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2(x_33, x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -14856,7 +14857,7 @@ 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_18__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); +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; } } @@ -15010,7 +15011,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_16 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; @@ -15018,7 +15019,7 @@ x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); if (lean_obj_tag(x_17) == 7) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); @@ -15030,37 +15031,38 @@ lean_dec(x_17); x_21 = lean_array_fget(x_1, x_2); x_22 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_22, 0, x_19); -x_23 = 1; +x_23 = lean_box(0); +x_24 = 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_24 = l_Lean_Elab_Term_elabTermEnsuringType(x_21, x_22, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -if (lean_obj_tag(x_24) == 0) +x_25 = l_Lean_Elab_Term_elabTermEnsuringType(x_21, x_22, x_24, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +if (lean_obj_tag(x_25) == 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; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); +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_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_unsigned_to_nat(1u); -x_28 = lean_nat_add(x_2, x_27); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_2, x_28); lean_dec(x_2); -x_29 = lean_expr_instantiate1(x_20, x_25); +x_30 = lean_expr_instantiate1(x_20, x_26); lean_dec(x_20); -x_30 = lean_array_push(x_4, x_25); -x_2 = x_28; -x_3 = x_29; -x_4 = x_30; -x_11 = x_26; +x_31 = lean_array_push(x_4, x_26); +x_2 = x_29; +x_3 = x_30; +x_4 = x_31; +x_11 = x_27; goto _start; } else { -uint8_t x_32; +uint8_t x_33; lean_dec(x_20); lean_dec(x_10); lean_dec(x_9); @@ -15070,48 +15072,48 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_32 = !lean_is_exclusive(x_24); -if (x_32 == 0) +x_33 = !lean_is_exclusive(x_25); +if (x_33 == 0) { -return x_24; +return x_25; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_24, 0); -x_34 = lean_ctor_get(x_24, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_25, 0); +x_35 = lean_ctor_get(x_25, 1); +lean_inc(x_35); lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_24); -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; +lean_dec(x_25); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -x_36 = lean_ctor_get(x_16, 1); -lean_inc(x_36); +x_37 = lean_ctor_get(x_16, 1); +lean_inc(x_37); lean_dec(x_16); -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); +x_38 = l___private_Lean_Elab_Match_32__elabPatternsAux___main___closed__3; +x_39 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_37); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_38; +return x_39; } } else { -uint8_t x_39; +uint8_t x_40; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -15120,23 +15122,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_39 = !lean_is_exclusive(x_16); -if (x_39 == 0) +x_40 = !lean_is_exclusive(x_16); +if (x_40 == 0) { return x_16; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_16, 0); -x_41 = lean_ctor_get(x_16, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_16, 0); +x_42 = lean_ctor_get(x_16, 1); +lean_inc(x_42); lean_inc(x_41); -lean_inc(x_40); lean_dec(x_16); -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; +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; } } } @@ -19189,63 +19191,64 @@ return x_2; lean_object* l_Lean_Elab_Term_elabMatchAltView___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) { _start: { -lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; x_12 = lean_ctor_get(x_1, 2); lean_inc(x_12); lean_dec(x_1); x_13 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_13, 0, x_4); -x_14 = 1; +x_14 = lean_box(0); +x_15 = 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_15 = l_Lean_Elab_Term_elabTermEnsuringType(x_12, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_15) == 0) +x_16 = l_Lean_Elab_Term_elabTermEnsuringType(x_12, x_13, x_15, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_ctor_get(x_3, 1); -lean_inc(x_19); -x_20 = l_List_redLength___main___rarg(x_19); -x_21 = lean_mk_empty_array_with_capacity(x_20); -lean_dec(x_20); -x_22 = l_List_toArrayAux___main___rarg(x_19, x_21); -x_23 = x_22; -x_24 = lean_unsigned_to_nat(0u); -x_25 = l_Array_umapMAux___main___at_Lean_Meta_Closure_mkBinding___spec__1(x_24, x_23); -x_26 = x_25; -x_27 = l_Array_isEmpty___rarg(x_26); -if (x_27 == 0) +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; uint8_t x_28; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +x_21 = l_List_redLength___main___rarg(x_20); +x_22 = lean_mk_empty_array_with_capacity(x_21); +lean_dec(x_21); +x_23 = l_List_toArrayAux___main___rarg(x_20, x_22); +x_24 = x_23; +x_25 = lean_unsigned_to_nat(0u); +x_26 = l_Array_umapMAux___main___at_Lean_Meta_Closure_mkBinding___spec__1(x_25, x_24); +x_27 = x_26; +x_28 = l_Array_isEmpty___rarg(x_27); +if (x_28 == 0) { -lean_object* x_28; -lean_free_object(x_15); +lean_object* x_29; +lean_free_object(x_16); lean_inc(x_7); -x_28 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_26, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -if (lean_obj_tag(x_28) == 0) +x_29 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_27, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +if (lean_obj_tag(x_29) == 0) { -uint8_t x_29; -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); -x_32 = lean_ctor_get(x_9, 0); -lean_inc(x_32); +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); +x_33 = lean_ctor_get(x_9, 0); +lean_inc(x_33); lean_inc(x_2); -x_33 = l_Lean_checkTraceOption(x_32, x_2); -lean_dec(x_32); -if (x_33 == 0) +x_34 = l_Lean_checkTraceOption(x_33, x_2); +lean_dec(x_33); +if (x_34 == 0) { -lean_object* x_34; +lean_object* x_35; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19253,74 +19256,74 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_3); -lean_ctor_set(x_34, 1, x_30); -lean_ctor_set(x_28, 0, x_34); -return x_28; +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_3); +lean_ctor_set(x_35, 1, x_31); +lean_ctor_set(x_29, 0, x_35); +return x_29; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -lean_free_object(x_28); -lean_inc(x_30); -x_35 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_35, 0, x_30); -x_36 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -x_38 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +lean_free_object(x_29); +lean_inc(x_31); +x_36 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_36, 0, x_31); +x_37 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2, x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_32); 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_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_38, 0); -lean_dec(x_40); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_3); -lean_ctor_set(x_41, 1, x_30); -lean_ctor_set(x_38, 0, x_41); -return x_38; +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_39, 0); +lean_dec(x_41); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_3); +lean_ctor_set(x_42, 1, x_31); +lean_ctor_set(x_39, 0, x_42); +return x_39; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_38, 1); -lean_inc(x_42); -lean_dec(x_38); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_3); -lean_ctor_set(x_43, 1, x_30); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_39, 1); +lean_inc(x_43); +lean_dec(x_39); x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -return x_44; +lean_ctor_set(x_44, 0, x_3); +lean_ctor_set(x_44, 1, x_31); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +return x_45; } } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_ctor_get(x_28, 0); -x_46 = lean_ctor_get(x_28, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_28); -x_47 = lean_ctor_get(x_9, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_29, 0); +x_47 = lean_ctor_get(x_29, 1); lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_29); +x_48 = lean_ctor_get(x_9, 0); +lean_inc(x_48); lean_inc(x_2); -x_48 = l_Lean_checkTraceOption(x_47, x_2); -lean_dec(x_47); -if (x_48 == 0) +x_49 = l_Lean_checkTraceOption(x_48, x_2); +lean_dec(x_48); +if (x_49 == 0) { -lean_object* x_49; lean_object* x_50; +lean_object* x_50; lean_object* x_51; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19328,58 +19331,58 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_3); -lean_ctor_set(x_49, 1, x_45); x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 0, x_3); lean_ctor_set(x_50, 1, x_46); -return x_50; +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_47); +return x_51; } 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_inc(x_45); -x_51 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_51, 0, x_45); -x_52 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; -x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -x_54 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2, x_53, x_5, x_6, x_7, x_8, x_9, x_10, x_46); +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_inc(x_46); +x_52 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_52, 0, x_46); +x_53 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2, x_54, x_5, x_6, x_7, x_8, x_9, x_10, x_47); 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_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_56 = x_54; +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_57 = x_55; } else { - lean_dec_ref(x_54); - x_56 = lean_box(0); + lean_dec_ref(x_55); + x_57 = lean_box(0); } -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_3); -lean_ctor_set(x_57, 1, x_45); -if (lean_is_scalar(x_56)) { - x_58 = lean_alloc_ctor(0, 2, 0); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_3); +lean_ctor_set(x_58, 1, x_46); +if (lean_is_scalar(x_57)) { + x_59 = lean_alloc_ctor(0, 2, 0); } else { - x_58 = x_56; + x_59 = x_57; } -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_55); -return x_58; +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +return x_59; } } } else { -uint8_t x_59; +uint8_t x_60; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19388,146 +19391,146 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_59 = !lean_is_exclusive(x_28); -if (x_59 == 0) +x_60 = !lean_is_exclusive(x_29); +if (x_60 == 0) { -return x_28; +return x_29; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_28, 0); -x_61 = lean_ctor_get(x_28, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_29, 0); +x_62 = lean_ctor_get(x_29, 1); +lean_inc(x_62); lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_28); -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_dec(x_29); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } else { -lean_object* x_63; lean_object* x_64; uint8_t x_65; -lean_dec(x_26); -x_63 = l_Lean_mkSimpleThunk(x_17); -x_64 = lean_ctor_get(x_9, 0); +lean_object* x_64; lean_object* x_65; uint8_t x_66; +lean_dec(x_27); +x_64 = l_Lean_mkSimpleThunk(x_18); +x_65 = lean_ctor_get(x_9, 0); +lean_inc(x_65); +lean_inc(x_2); +x_66 = l_Lean_checkTraceOption(x_65, x_2); +lean_dec(x_65); +if (x_66 == 0) +{ +lean_object* x_67; +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_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_3); +lean_ctor_set(x_67, 1, x_64); +lean_ctor_set(x_16, 0, x_67); +return x_16; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_free_object(x_16); lean_inc(x_64); -lean_inc(x_2); -x_65 = l_Lean_checkTraceOption(x_64, x_2); -lean_dec(x_64); -if (x_65 == 0) -{ -lean_object* x_66; +x_68 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_68, 0, x_64); +x_69 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2, x_70, x_5, x_6, x_7, x_8, x_9, x_10, x_19); 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_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_3); -lean_ctor_set(x_66, 1, x_63); -lean_ctor_set(x_15, 0, x_66); -return x_15; +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_71, 0); +lean_dec(x_73); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_3); +lean_ctor_set(x_74, 1, x_64); +lean_ctor_set(x_71, 0, x_74); +return x_71; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; -lean_free_object(x_15); -lean_inc(x_63); -x_67 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_67, 0, x_63); -x_68 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; -x_69 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2, x_69, x_5, x_6, x_7, x_8, x_9, x_10, x_18); -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_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_70, 0); -lean_dec(x_72); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_3); -lean_ctor_set(x_73, 1, x_63); -lean_ctor_set(x_70, 0, x_73); -return x_70; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_dec(x_70); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_3); -lean_ctor_set(x_75, 1, x_63); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_71, 1); +lean_inc(x_75); +lean_dec(x_71); x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -return x_76; +lean_ctor_set(x_76, 0, x_3); +lean_ctor_set(x_76, 1, x_64); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +return x_77; } } } } 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_86; uint8_t x_87; -x_77 = lean_ctor_get(x_15, 0); -x_78 = lean_ctor_get(x_15, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_15); -x_79 = lean_ctor_get(x_3, 1); +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; uint8_t x_88; +x_78 = lean_ctor_get(x_16, 0); +x_79 = lean_ctor_get(x_16, 1); lean_inc(x_79); -x_80 = l_List_redLength___main___rarg(x_79); -x_81 = lean_mk_empty_array_with_capacity(x_80); -lean_dec(x_80); -x_82 = l_List_toArrayAux___main___rarg(x_79, x_81); -x_83 = x_82; -x_84 = lean_unsigned_to_nat(0u); -x_85 = l_Array_umapMAux___main___at_Lean_Meta_Closure_mkBinding___spec__1(x_84, x_83); -x_86 = x_85; -x_87 = l_Array_isEmpty___rarg(x_86); -if (x_87 == 0) +lean_inc(x_78); +lean_dec(x_16); +x_80 = lean_ctor_get(x_3, 1); +lean_inc(x_80); +x_81 = l_List_redLength___main___rarg(x_80); +x_82 = lean_mk_empty_array_with_capacity(x_81); +lean_dec(x_81); +x_83 = l_List_toArrayAux___main___rarg(x_80, x_82); +x_84 = x_83; +x_85 = lean_unsigned_to_nat(0u); +x_86 = l_Array_umapMAux___main___at_Lean_Meta_Closure_mkBinding___spec__1(x_85, x_84); +x_87 = x_86; +x_88 = l_Array_isEmpty___rarg(x_87); +if (x_88 == 0) { -lean_object* x_88; +lean_object* x_89; lean_inc(x_7); -x_88 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_86, x_77, x_5, x_6, x_7, x_8, x_9, x_10, x_78); -if (lean_obj_tag(x_88) == 0) +x_89 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_87, x_78, x_5, x_6, x_7, x_8, x_9, x_10, x_79); +if (lean_obj_tag(x_89) == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_91 = x_88; +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_92 = x_89; } else { - lean_dec_ref(x_88); - x_91 = lean_box(0); + lean_dec_ref(x_89); + x_92 = lean_box(0); } -x_92 = lean_ctor_get(x_9, 0); -lean_inc(x_92); +x_93 = lean_ctor_get(x_9, 0); +lean_inc(x_93); lean_inc(x_2); -x_93 = l_Lean_checkTraceOption(x_92, x_2); -lean_dec(x_92); -if (x_93 == 0) +x_94 = l_Lean_checkTraceOption(x_93, x_2); +lean_dec(x_93); +if (x_94 == 0) { -lean_object* x_94; lean_object* x_95; +lean_object* x_95; lean_object* x_96; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19535,62 +19538,62 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_3); -lean_ctor_set(x_94, 1, x_89); -if (lean_is_scalar(x_91)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_91; -} -lean_ctor_set(x_95, 0, x_94); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_3); lean_ctor_set(x_95, 1, x_90); -return x_95; +if (lean_is_scalar(x_92)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_92; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_91); +return x_96; } else { -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_91); -lean_inc(x_89); -x_96 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_96, 0, x_89); -x_97 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; -x_98 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2, x_98, x_5, x_6, x_7, x_8, x_9, x_10, x_90); +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_dec(x_92); +lean_inc(x_90); +x_97 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_97, 0, x_90); +x_98 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; +x_99 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2, x_99, x_5, x_6, x_7, x_8, x_9, x_10, x_91); 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_100 = lean_ctor_get(x_99, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_101 = x_99; +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_102 = x_100; } else { - lean_dec_ref(x_99); - x_101 = lean_box(0); + lean_dec_ref(x_100); + x_102 = lean_box(0); } -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_3); -lean_ctor_set(x_102, 1, x_89); -if (lean_is_scalar(x_101)) { - x_103 = lean_alloc_ctor(0, 2, 0); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_3); +lean_ctor_set(x_103, 1, x_90); +if (lean_is_scalar(x_102)) { + x_104 = lean_alloc_ctor(0, 2, 0); } else { - x_103 = x_101; + x_104 = x_102; } -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_100); -return x_103; +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_101); +return x_104; } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19599,41 +19602,41 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_104 = lean_ctor_get(x_88, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_88, 1); +x_105 = lean_ctor_get(x_89, 0); lean_inc(x_105); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_106 = x_88; +x_106 = lean_ctor_get(x_89, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_107 = x_89; } else { - lean_dec_ref(x_88); - x_106 = lean_box(0); + lean_dec_ref(x_89); + x_107 = lean_box(0); } -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 2, 0); } else { - x_107 = x_106; + x_108 = x_107; } -lean_ctor_set(x_107, 0, x_104); -lean_ctor_set(x_107, 1, x_105); -return x_107; +lean_ctor_set(x_108, 0, x_105); +lean_ctor_set(x_108, 1, x_106); +return x_108; } } else { -lean_object* x_108; lean_object* x_109; uint8_t x_110; -lean_dec(x_86); -x_108 = l_Lean_mkSimpleThunk(x_77); -x_109 = lean_ctor_get(x_9, 0); -lean_inc(x_109); +lean_object* x_109; lean_object* x_110; uint8_t x_111; +lean_dec(x_87); +x_109 = l_Lean_mkSimpleThunk(x_78); +x_110 = lean_ctor_get(x_9, 0); +lean_inc(x_110); lean_inc(x_2); -x_110 = l_Lean_checkTraceOption(x_109, x_2); -lean_dec(x_109); -if (x_110 == 0) +x_111 = l_Lean_checkTraceOption(x_110, x_2); +lean_dec(x_110); +if (x_111 == 0) { -lean_object* x_111; lean_object* x_112; +lean_object* x_112; lean_object* x_113; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19641,59 +19644,59 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_3); -lean_ctor_set(x_111, 1, x_108); x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_78); -return x_112; +lean_ctor_set(x_112, 0, x_3); +lean_ctor_set(x_112, 1, x_109); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_79); +return x_113; } 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_inc(x_108); -x_113 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_113, 0, x_108); -x_114 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; -x_115 = lean_alloc_ctor(10, 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_2, x_115, x_5, x_6, x_7, x_8, x_9, x_10, x_78); +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_inc(x_109); +x_114 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_114, 0, x_109); +x_115 = l_Lean_Elab_Term_elabMatchAltView___lambda__1___closed__3; +x_116 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2, x_116, x_5, x_6, x_7, x_8, x_9, x_10, 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_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_118 = x_116; +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_119 = x_117; } else { - lean_dec_ref(x_116); - x_118 = lean_box(0); + lean_dec_ref(x_117); + x_119 = lean_box(0); } -x_119 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_119, 0, x_3); -lean_ctor_set(x_119, 1, x_108); -if (lean_is_scalar(x_118)) { - x_120 = lean_alloc_ctor(0, 2, 0); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_3); +lean_ctor_set(x_120, 1, x_109); +if (lean_is_scalar(x_119)) { + x_121 = lean_alloc_ctor(0, 2, 0); } else { - x_120 = x_118; + x_121 = x_119; } -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_117); -return x_120; +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_118); +return x_121; } } } } else { -uint8_t x_121; +uint8_t x_122; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19702,23 +19705,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_121 = !lean_is_exclusive(x_15); -if (x_121 == 0) +x_122 = !lean_is_exclusive(x_16); +if (x_122 == 0) { -return x_15; +return x_16; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_15, 0); -x_123 = lean_ctor_get(x_15, 1); +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_16, 0); +x_124 = lean_ctor_get(x_16, 1); +lean_inc(x_124); lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_15); -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_dec(x_16); +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; } } } @@ -20445,7 +20448,7 @@ lean_object* _init_l___private_Lean_Elab_Match_38__elabMatchAux___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1___boxed), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1___boxed), 9, 0); return x_1; } } @@ -20647,7 +20650,7 @@ x_157 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_157, 0, x_156); x_158 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_158, 0, x_157); -x_159 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_155, x_158, x_5, x_6, x_7, x_8, x_9, x_10, x_130); +x_159 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_155, x_158, x_5, x_6, x_7, x_8, x_9, x_10, x_130); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -21240,7 +21243,7 @@ lean_inc(x_10); lean_dec(x_9); x_11 = 0; x_12 = lean_box(0); -x_13 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_10); +x_13 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_10); return x_13; } else @@ -22548,7 +22551,7 @@ lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_dec(x_2); lean_dec(x_1); x_23 = l_Lean_Elab_Term_elabMatch___closed__3; -x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_23, 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_5); @@ -22645,7 +22648,7 @@ lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_dec(x_2); lean_dec(x_1); x_43 = l_Lean_Elab_Term_elabMatch___closed__3; -x_44 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_35, x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_44 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_35, x_43, 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_5); @@ -22743,7 +22746,7 @@ lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_dec(x_2); lean_dec(x_1); x_62 = l_Lean_Elab_Term_elabMatch___closed__3; -x_63 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_55, x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_63 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_55, x_62, 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_5); @@ -22841,7 +22844,7 @@ lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_dec(x_2); lean_dec(x_1); x_80 = l_Lean_Elab_Term_elabMatch___closed__3; -x_81 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_73, x_80, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_81 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_73, x_80, 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_5); @@ -22938,7 +22941,7 @@ lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_dec(x_2); lean_dec(x_1); x_98 = l_Lean_Elab_Term_elabMatch___closed__3; -x_99 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_98, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_99 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_98, 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_5); @@ -23033,7 +23036,7 @@ lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_dec(x_2); lean_dec(x_1); x_114 = l_Lean_Elab_Term_elabMatch___closed__3; -x_115 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_114, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_115 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_114, 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_5); @@ -23132,7 +23135,7 @@ lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_dec(x_2); lean_dec(x_1); x_132 = l_Lean_Elab_Term_elabMatch___closed__3; -x_133 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_132, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_133 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_132, 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_5); @@ -23228,7 +23231,7 @@ lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_dec(x_2); lean_dec(x_1); x_148 = l_Lean_Elab_Term_elabMatch___closed__3; -x_149 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_148, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_149 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_148, 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_5); @@ -23325,7 +23328,7 @@ lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_dec(x_2); lean_dec(x_1); x_164 = l_Lean_Elab_Term_elabMatch___closed__3; -x_165 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_164, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_165 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_164, 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_5); @@ -23423,7 +23426,7 @@ lean_object* x_180; lean_object* x_181; uint8_t x_182; lean_dec(x_2); lean_dec(x_1); x_180 = l_Lean_Elab_Term_elabMatch___closed__3; -x_181 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_180, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_181 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_180, 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_5); @@ -23520,7 +23523,7 @@ lean_object* x_196; lean_object* x_197; uint8_t x_198; lean_dec(x_2); lean_dec(x_1); x_196 = l_Lean_Elab_Term_elabMatch___closed__3; -x_197 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_196, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_197 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_196, 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_5); @@ -23598,7 +23601,7 @@ lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_dec(x_2); lean_dec(x_1); x_213 = l_Lean_Elab_Term_elabMatch___closed__3; -x_214 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_213, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_214 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_213, 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_5); @@ -23738,7 +23741,7 @@ lean_object* x_261; lean_object* x_262; uint8_t x_263; lean_dec(x_2); lean_dec(x_1); x_261 = l_Lean_Elab_Term_elabMatch___closed__3; -x_262 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_261, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_262 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_261, 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_5); @@ -23836,7 +23839,7 @@ lean_object* x_277; lean_object* x_278; uint8_t x_279; lean_dec(x_2); lean_dec(x_1); x_277 = l_Lean_Elab_Term_elabMatch___closed__3; -x_278 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_277, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_278 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_277, 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_5); @@ -23932,7 +23935,7 @@ lean_object* x_293; lean_object* x_294; uint8_t x_295; lean_dec(x_2); lean_dec(x_1); x_293 = l_Lean_Elab_Term_elabMatch___closed__3; -x_294 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_293, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_294 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_293, 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_5); @@ -24010,7 +24013,7 @@ lean_object* x_310; lean_object* x_311; uint8_t x_312; lean_dec(x_2); lean_dec(x_1); x_310 = l_Lean_Elab_Term_elabMatch___closed__3; -x_311 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_310, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_311 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_310, 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_5); @@ -24153,7 +24156,7 @@ lean_object* x_376; lean_object* x_377; uint8_t x_378; lean_dec(x_2); lean_dec(x_1); x_376 = l_Lean_Elab_Term_elabMatch___closed__3; -x_377 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_376, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_377 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_376, 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_5); @@ -24247,7 +24250,7 @@ lean_object* x_392; lean_object* x_393; uint8_t x_394; lean_dec(x_2); lean_dec(x_1); x_392 = l_Lean_Elab_Term_elabMatch___closed__3; -x_393 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_392, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_393 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_392, 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_5); @@ -24342,7 +24345,7 @@ lean_object* x_408; lean_object* x_409; uint8_t x_410; lean_dec(x_2); lean_dec(x_1); x_408 = l_Lean_Elab_Term_elabMatch___closed__3; -x_409 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_408, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_409 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_408, 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_5); @@ -24439,7 +24442,7 @@ lean_object* x_424; lean_object* x_425; uint8_t x_426; lean_dec(x_2); lean_dec(x_1); x_424 = l_Lean_Elab_Term_elabMatch___closed__3; -x_425 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_424, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_425 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_424, 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_5); @@ -24534,7 +24537,7 @@ lean_object* x_440; lean_object* x_441; uint8_t x_442; lean_dec(x_2); lean_dec(x_1); x_440 = l_Lean_Elab_Term_elabMatch___closed__3; -x_441 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_440, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_441 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_440, 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_5); @@ -24611,7 +24614,7 @@ lean_object* x_457; lean_object* x_458; uint8_t x_459; lean_dec(x_2); lean_dec(x_1); x_457 = l_Lean_Elab_Term_elabMatch___closed__3; -x_458 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_457, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_458 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_457, 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_5); @@ -24750,7 +24753,7 @@ lean_object* x_502; lean_object* x_503; uint8_t x_504; lean_dec(x_2); lean_dec(x_1); x_502 = l_Lean_Elab_Term_elabMatch___closed__3; -x_503 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_502, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_503 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_502, 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_5); @@ -24847,7 +24850,7 @@ lean_object* x_518; lean_object* x_519; uint8_t x_520; lean_dec(x_2); lean_dec(x_1); x_518 = l_Lean_Elab_Term_elabMatch___closed__3; -x_519 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_518, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_519 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_518, 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_5); @@ -24942,7 +24945,7 @@ lean_object* x_534; lean_object* x_535; uint8_t x_536; lean_dec(x_2); lean_dec(x_1); x_534 = l_Lean_Elab_Term_elabMatch___closed__3; -x_535 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_534, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_535 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_534, 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_5); @@ -25019,7 +25022,7 @@ lean_object* x_551; lean_object* x_552; uint8_t x_553; lean_dec(x_2); lean_dec(x_1); x_551 = l_Lean_Elab_Term_elabMatch___closed__3; -x_552 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_551, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_552 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_551, 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_5); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index b9773dedb3..8a9064becf 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -171,7 +171,7 @@ lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_MutualDef_21__m lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_MutualDef_37__mkLetRecClosureFor___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___main___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns(lean_object*, lean_object*, lean_object*, 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* 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_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__23; lean_object* l___private_Lean_Elab_MutualDef_25__getUsedFVarsMap(lean_object*); @@ -248,6 +248,7 @@ lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___sp lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__15; lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForLetRecs(lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, 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_Lean_Elab_logAt___at___private_Lean_Elab_MutualDef_35__mkClosureForAux___main___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_4__registerFailedToInferDefTypeInfo___closed__2; lean_object* l_List_forM___main___at___private_Lean_Elab_MutualDef_20__checkLetRecsToLiftTypes___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -329,7 +330,6 @@ lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___sp lean_object* l___private_Lean_Elab_MutualDef_36__mkClosureFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabModifiers___rarg___closed__3; lean_object* l_Lean_Elab_Term_MutualClosure_pushMain___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_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_6__elabHeaders___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); @@ -350,7 +350,6 @@ lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_MutualClosure_main___sp lean_object* l___private_Lean_Elab_MutualDef_29__fixpoint___main___boxed(lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_MutualClosure_main___spec__8___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_MutualClosure_main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__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_MutualDef_26__modifyUsedFVars___boxed(lean_object*, lean_object*, lean_object*); size_t l_USize_mod(size_t, size_t); lean_object* l_List_foldl___main___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1(uint8_t, lean_object*, lean_object*, lean_object*); @@ -383,7 +382,6 @@ lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHole(lean_object*); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__6; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__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___private_Lean_Elab_MutualDef_7__withFunLocalDeclsAux___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_MutualDef_21__mkInitialUsedFVarsMap___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); @@ -393,6 +391,7 @@ lean_object* l___private_Lean_Elab_MutualDef_39__getAllUserLevelNames___boxed(le lean_object* l___private_Lean_Elab_MutualDef_24__markModified___rarg(lean_object*); lean_object* l___private_Lean_Elab_Util_5__expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_33__pushNewVars(lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(lean_object*); lean_object* l_List_forM___main___at___private_Lean_Elab_MutualDef_20__checkLetRecsToLiftTypes___spec__1___closed__4; lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__21; lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); @@ -420,6 +419,7 @@ uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_MutualDef_15__isThe lean_object* l_Lean_Meta_resetZetaFVarIds___at_Lean_Elab_Term_MutualClosure_main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkForall(lean_object*, lean_object*); +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_Lean_MetavarContext_getDelayedRoot___main(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_9__declValToTerm___closed__1; lean_object* l_Lean_Elab_Term_MutualClosure_pushMain(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -480,7 +480,6 @@ lean_object* l___private_Lean_Elab_MutualDef_14__isExample___boxed(lean_object*) lean_object* l___private_Lean_Elab_MutualDef_3__check___closed__20; uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_35__mkClosureForAux___main___closed__6; -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__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_List_forM___main___at___private_Lean_Elab_MutualDef_11__collectUsed___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_MutualDef_3__check___closed__10; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -513,6 +512,7 @@ lean_object* l___private_Lean_Elab_MutualDef_7__withFunLocalDeclsAux___main___ra lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_MutualDef_6__elabHeaders___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__11; uint8_t l___private_Lean_Elab_MutualDef_14__isExample(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_MutualDef_3__check___closed__23; lean_object* l_Lean_mkConst(lean_object*, lean_object*); @@ -4131,7 +4131,7 @@ lean_closure_set(x_18, 1, x_4); lean_closure_set(x_18, 2, x_1); lean_closure_set(x_18, 3, x_2); x_19 = 4; -x_20 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_16, x_19, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_20 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_16, x_19, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_20; } } @@ -4459,7 +4459,7 @@ x_48 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_48, 0, x_47); x_49 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_49, 0, x_48); -x_50 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_46, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +x_50 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_46, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_16); lean_dec(x_46); return x_50; } @@ -4468,7 +4468,7 @@ else lean_object* x_51; lean_dec(x_7); lean_dec(x_3); -x_51 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_16); +x_51 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_16); return x_51; } } @@ -4477,36 +4477,37 @@ return x_51; lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_MutualDef_10__elabFunValues___spec__2___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) { _start: { -lean_object* x_11; uint8_t x_12; lean_object* x_13; +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_11 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_11, 0, x_3); -x_12 = 1; +x_12 = lean_box(0); +x_13 = 1; 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_13 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_13) == 0) +x_14 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_11, x_13, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 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_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -x_16 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_16); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -return x_16; +return x_17; } else { -uint8_t x_17; +uint8_t x_18; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4514,23 +4515,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) { -return x_13; +return x_14; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_13, 0); -x_19 = lean_ctor_get(x_13, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_13); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; +lean_dec(x_14); +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; } } } @@ -6354,7 +6355,7 @@ x_26 = l_List_forM___main___at___private_Lean_Elab_MutualDef_20__checkLetRecsToL x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_22, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +x_28 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_22, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_21); lean_dec(x_6); lean_dec(x_22); x_29 = !lean_is_exclusive(x_28); @@ -11071,7 +11072,7 @@ x_23 = lean_array_get(x_22, x_3, x_19); lean_dec(x_19); lean_inc(x_9); lean_inc(x_1); -x_24 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_1, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_24 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_1, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index a9e498ae27..0ab0356fdf 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -295,6 +295,7 @@ lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed_ lean_object* l_ReaderT_bind___at___private_Lean_Elab_Quotation_5__explodeHeadPat___spec__1(lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_Quotation_isAntiquotSplicePat___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at___private_Lean_Elab_Quotation_7__getPatternVarsAux___main___spec__1(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_Lean_Elab_Term_Quotation_stxQuot_expand___closed__15; lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__45; @@ -413,7 +414,6 @@ lean_object* l_List_mapM___main___at___private_Lean_Elab_Quotation_6__compileStx lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; lean_object* l___private_Lean_Elab_Quotation_10__toPreterm___main___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___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_Elab_Term_Quotation_isAntiquotSplicePat(lean_object*); extern lean_object* l_Lean_Elab_Term_MetaHasEval___rarg___closed__1; lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__2___closed__1; @@ -2252,7 +2252,7 @@ else { lean_object* x_114; lean_object* x_115; x_114 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__18; -x_115 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_1, x_114, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_115 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1, x_114, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -4985,7 +4985,7 @@ x_18 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__1___closed__3; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_20 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); return x_20; } @@ -5268,7 +5268,7 @@ x_18 = l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__3___closed__3; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_20 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); return x_20; } @@ -5278,7 +5278,7 @@ _start: { lean_object* x_10; lean_object* x_11; x_10 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__18; -x_11 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } @@ -13381,7 +13381,7 @@ x_33 = lean_ctor_get(x_22, 0); lean_inc(x_33); lean_dec(x_22); x_34 = l_Array_umapMAux___main___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___closed__4; -x_35 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_33, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_35 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_33, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_19); lean_dec(x_33); x_36 = !lean_is_exclusive(x_35); if (x_36 == 0) @@ -13446,7 +13446,7 @@ x_55 = lean_ctor_get(x_45, 0); lean_inc(x_55); lean_dec(x_45); x_56 = l_Array_umapMAux___main___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___closed__4; -x_57 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_55, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_57 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_55, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_19); lean_dec(x_55); x_58 = !lean_is_exclusive(x_57); if (x_58 == 0) diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index c363ec53fa..d77a67d59d 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -113,6 +113,7 @@ lean_object* l_List_foldlM___main___at___private_Lean_Elab_StructInst_12__mkFiel lean_object* l_Lean_Elab_Term_StructInst_Struct_ref(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* l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Meta_InferType_6__inferLambdaType___spec__2___rarg(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_6__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -166,7 +167,7 @@ lean_object* l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___boxed lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___closed__1; lean_object* l_Lean_Environment_getProjectionStructureName_x3f(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_Lean_Elab_Term_ensureHasType(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_StructInst_DefaultFields_collectStructNames(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Field_isSimple___rarg___boxed(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefaultAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -199,7 +200,7 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(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_Array_iterateMAux___main___at___private_Lean_Elab_StructInst_19__expandStruct___main___spec__11___boxed(lean_object**); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___main___closed__1; -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* 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_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth___main(lean_object*); @@ -260,6 +261,7 @@ extern lean_object* l_Std_PersistentArray_Stats_toString___closed__4; lean_object* l_List_head_x21___at___private_Lean_Elab_StructInst_19__expandStruct___main___spec__3(lean_object*); lean_object* l___private_Lean_Elab_StructInst_12__mkFieldMap___closed__1; size_t l_Lean_Name_hash(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_Lean_Elab_Term_StructInst_markDefaultMissing___closed__1; lean_object* l___private_Lean_Elab_StructInst_17__groupFields___lambda__3___closed__3; @@ -313,6 +315,7 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_isRoundDone___boxed(lean_ uint8_t l_Lean_Elab_Term_StructInst_findField_x3f___lambda__1(lean_object*, lean_object*); extern lean_object* l_List_head_x21___rarg___closed__2; lean_object* l___private_Lean_Elab_StructInst_14__getFieldIdx___closed__3; +lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_elabStructInst___closed__1; uint8_t l_Array_contains___at_Lean_findField_x3f___main___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_4__elabModifyOp___closed__7; @@ -353,7 +356,6 @@ lean_object* l_List_map___main___at_Lean_Elab_Term_StructInst_formatStruct___mai lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); size_t l_USize_mod(size_t, size_t); lean_object* l_Lean_Elab_Term_StructInst_FieldLHS_inhabited; -lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_4__elabModifyOp___closed__28; lean_object* l___private_Lean_Elab_StructInst_4__elabModifyOp___closed__15; lean_object* l___private_Lean_Elab_StructInst_9__expandNumLitFields___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -379,7 +381,6 @@ lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___boxed(le lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__1; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; lean_object* l_Lean_mkHole(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___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_Elab_macroAttribute; lean_object* l_List_mapM___main___at___private_Lean_Elab_StructInst_9__expandNumLitFields___spec__1___closed__2; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); @@ -415,7 +416,6 @@ lean_object* l_Array_foldlStepMAux___main___at___private_Lean_Elab_StructInst_3_ lean_object* l___private_Lean_Elab_StructInst_19__expandStruct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___main___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldName(lean_object*); -lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_16__mkSubstructSource(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_Binders_17__expandMatchAltsIntoMatchAux___main___closed__13; lean_object* l_Array_foldlStepMAux___main___at___private_Lean_Elab_StructInst_3__isModifyOp_x3f___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*); @@ -508,6 +508,7 @@ lean_object* l___private_Lean_Elab_StructInst_4__elabModifyOp___closed__23; lean_object* l___private_Lean_Elab_StructInst_14__getFieldIdx___closed__1; lean_object* l___private_Lean_Elab_StructInst_5__getStructName___rarg___closed__6; lean_object* l_List_map___main___at___private_Lean_Elab_StructInst_8__expandCompositeFields___spec__2(lean_object*); +extern lean_object* l___private_Lean_Elab_Term_5__tryCoe___closed__3; extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; lean_object* l_Lean_Elab_Term_StructInst_trySynthStructInstance_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_StructInst_2__getStructSource___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -584,7 +585,6 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_4__elabModifyOp___closed__27; lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); -extern lean_object* l_Lean_Elab_Term_tryCoe___closed__3; lean_object* l___private_Lean_Elab_StructInst_13__isSimpleField_x3f(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -1869,7 +1869,7 @@ lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_dec(x_4); lean_dec(x_3); x_29 = l_Array_foldlStepMAux___main___at___private_Lean_Elab_StructInst_3__isModifyOp_x3f___spec__1___closed__5; -x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_30 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_15); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) @@ -1919,7 +1919,7 @@ if (x_40 == 0) { lean_object* x_41; lean_object* x_42; uint8_t x_43; x_41 = l_Array_foldlStepMAux___main___at___private_Lean_Elab_StructInst_3__isModifyOp_x3f___spec__1___closed__5; -x_42 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_42 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_15); x_43 = !lean_is_exclusive(x_42); if (x_43 == 0) @@ -1944,7 +1944,7 @@ else { lean_object* x_47; lean_object* x_48; uint8_t x_49; x_47 = l_Array_foldlStepMAux___main___at___private_Lean_Elab_StructInst_3__isModifyOp_x3f___spec__1___closed__8; -x_48 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_15, x_47, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_48 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_15, x_47, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_15); x_49 = !lean_is_exclusive(x_48); if (x_49 == 0) @@ -3246,7 +3246,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_25 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_24); +x_25 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_24); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; @@ -3464,7 +3464,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_65); -x_66 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_11); +x_66 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_11); if (lean_obj_tag(x_66) == 0) { uint8_t x_67; @@ -3505,7 +3505,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_81 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_80); +x_81 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_80); if (lean_obj_tag(x_81) == 0) { lean_object* x_82; lean_object* x_83; lean_object* x_84; @@ -3740,7 +3740,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_125 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_123, x_3, x_4, x_5, x_6, x_7, x_8, x_124); +x_125 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_123, x_3, x_4, x_5, x_6, x_7, x_8, x_124); if (lean_obj_tag(x_125) == 0) { lean_object* x_126; lean_object* x_127; lean_object* x_128; @@ -3975,7 +3975,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_169 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_167, x_3, x_4, x_5, x_6, x_7, x_8, x_168); +x_169 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_167, x_3, x_4, x_5, x_6, x_7, x_8, x_168); if (lean_obj_tag(x_169) == 0) { lean_object* x_170; lean_object* x_171; lean_object* x_172; @@ -4210,7 +4210,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_213 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_211, x_3, x_4, x_5, x_6, x_7, x_8, x_212); +x_213 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_211, x_3, x_4, x_5, x_6, x_7, x_8, x_212); if (lean_obj_tag(x_213) == 0) { lean_object* x_214; lean_object* x_215; lean_object* x_216; @@ -4461,7 +4461,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_258 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_256, x_3, x_4, x_5, x_6, x_7, x_8, x_257); +x_258 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_256, x_3, x_4, x_5, x_6, x_7, x_8, x_257); if (lean_obj_tag(x_258) == 0) { lean_object* x_259; lean_object* x_260; lean_object* x_261; @@ -4696,7 +4696,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_302 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_300, x_3, x_4, x_5, x_6, x_7, x_8, x_301); +x_302 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_300, x_3, x_4, x_5, x_6, x_7, x_8, x_301); if (lean_obj_tag(x_302) == 0) { lean_object* x_303; lean_object* x_304; lean_object* x_305; @@ -4931,7 +4931,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_346 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_344, x_3, x_4, x_5, x_6, x_7, x_8, x_345); +x_346 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_344, x_3, x_4, x_5, x_6, x_7, x_8, x_345); if (lean_obj_tag(x_346) == 0) { lean_object* x_347; lean_object* x_348; lean_object* x_349; @@ -5166,7 +5166,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_390 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_388, x_3, x_4, x_5, x_6, x_7, x_8, x_389); +x_390 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_388, x_3, x_4, x_5, x_6, x_7, x_8, x_389); if (lean_obj_tag(x_390) == 0) { lean_object* x_391; lean_object* x_392; lean_object* x_393; @@ -5401,7 +5401,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_434 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_432, x_3, x_4, x_5, x_6, x_7, x_8, x_433); +x_434 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_432, x_3, x_4, x_5, x_6, x_7, x_8, x_433); if (lean_obj_tag(x_434) == 0) { lean_object* x_435; lean_object* x_436; lean_object* x_437; @@ -5636,7 +5636,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_478 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_476, x_3, x_4, x_5, x_6, x_7, x_8, x_477); +x_478 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_476, x_3, x_4, x_5, x_6, x_7, x_8, x_477); if (lean_obj_tag(x_478) == 0) { lean_object* x_479; lean_object* x_480; lean_object* x_481; @@ -5871,7 +5871,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_522 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_520, x_3, x_4, x_5, x_6, x_7, x_8, x_521); +x_522 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_520, x_3, x_4, x_5, x_6, x_7, x_8, x_521); if (lean_obj_tag(x_522) == 0) { lean_object* x_523; lean_object* x_524; lean_object* x_525; @@ -6106,7 +6106,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_566 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_564, x_3, x_4, x_5, x_6, x_7, x_8, x_565); +x_566 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_564, x_3, x_4, x_5, x_6, x_7, x_8, x_565); if (lean_obj_tag(x_566) == 0) { lean_object* x_567; lean_object* x_568; lean_object* x_569; @@ -6369,7 +6369,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_619 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_617, x_3, x_4, x_5, x_6, x_7, x_8, x_618); +x_619 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_617, x_3, x_4, x_5, x_6, x_7, x_8, x_618); if (lean_obj_tag(x_619) == 0) { lean_object* x_620; lean_object* x_621; lean_object* x_622; @@ -6568,7 +6568,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_652 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_650, x_3, x_4, x_5, x_6, x_7, x_8, x_651); +x_652 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_650, x_3, x_4, x_5, x_6, x_7, x_8, x_651); if (lean_obj_tag(x_652) == 0) { lean_object* x_653; lean_object* x_654; lean_object* x_655; @@ -6767,7 +6767,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_685 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_683, x_3, x_4, x_5, x_6, x_7, x_8, x_684); +x_685 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_683, x_3, x_4, x_5, x_6, x_7, x_8, x_684); if (lean_obj_tag(x_685) == 0) { lean_object* x_686; lean_object* x_687; lean_object* x_688; @@ -6966,7 +6966,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_718 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_716, x_3, x_4, x_5, x_6, x_7, x_8, x_717); +x_718 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_716, x_3, x_4, x_5, x_6, x_7, x_8, x_717); if (lean_obj_tag(x_718) == 0) { lean_object* x_719; lean_object* x_720; lean_object* x_721; @@ -7183,7 +7183,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_753 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_751, x_3, x_4, x_5, x_6, x_7, x_8, x_752); +x_753 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_751, x_3, x_4, x_5, x_6, x_7, x_8, x_752); if (lean_obj_tag(x_753) == 0) { lean_object* x_754; lean_object* x_755; lean_object* x_756; @@ -7382,7 +7382,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_786 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_784, x_3, x_4, x_5, x_6, x_7, x_8, x_785); +x_786 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_784, x_3, x_4, x_5, x_6, x_7, x_8, x_785); if (lean_obj_tag(x_786) == 0) { lean_object* x_787; lean_object* x_788; lean_object* x_789; @@ -7581,7 +7581,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_819 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_817, x_3, x_4, x_5, x_6, x_7, x_8, x_818); +x_819 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_817, x_3, x_4, x_5, x_6, x_7, x_8, x_818); if (lean_obj_tag(x_819) == 0) { lean_object* x_820; lean_object* x_821; lean_object* x_822; @@ -7780,7 +7780,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_852 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_850, x_3, x_4, x_5, x_6, x_7, x_8, x_851); +x_852 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_850, x_3, x_4, x_5, x_6, x_7, x_8, x_851); if (lean_obj_tag(x_852) == 0) { lean_object* x_853; lean_object* x_854; lean_object* x_855; @@ -7979,7 +7979,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_885 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_883, x_3, x_4, x_5, x_6, x_7, x_8, x_884); +x_885 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_883, x_3, x_4, x_5, x_6, x_7, x_8, x_884); if (lean_obj_tag(x_885) == 0) { lean_object* x_886; lean_object* x_887; lean_object* x_888; @@ -8178,7 +8178,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_918 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_916, x_3, x_4, x_5, x_6, x_7, x_8, x_917); +x_918 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_916, x_3, x_4, x_5, x_6, x_7, x_8, x_917); if (lean_obj_tag(x_918) == 0) { lean_object* x_919; lean_object* x_920; lean_object* x_921; @@ -8377,7 +8377,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_951 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_949, x_3, x_4, x_5, x_6, x_7, x_8, x_950); +x_951 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_949, x_3, x_4, x_5, x_6, x_7, x_8, x_950); if (lean_obj_tag(x_951) == 0) { lean_object* x_952; lean_object* x_953; lean_object* x_954; @@ -8576,7 +8576,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_984 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_982, x_3, x_4, x_5, x_6, x_7, x_8, x_983); +x_984 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_982, x_3, x_4, x_5, x_6, x_7, x_8, x_983); if (lean_obj_tag(x_984) == 0) { lean_object* x_985; lean_object* x_986; lean_object* x_987; @@ -11363,7 +11363,7 @@ x_56 = l_List_mapM___main___at___private_Lean_Elab_StructInst_9__expandNumLitFie x_57 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_57, 0, x_55); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_41, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_58 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_41, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_41); x_59 = !lean_is_exclusive(x_58); if (x_59 == 0) @@ -11399,7 +11399,7 @@ lean_dec(x_33); lean_dec(x_14); lean_dec(x_13); x_63 = l_List_mapM___main___at___private_Lean_Elab_StructInst_9__expandNumLitFields___spec__1___closed__9; -x_64 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_41, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_64 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_41, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_41); x_65 = !lean_is_exclusive(x_64); if (x_65 == 0) @@ -11479,7 +11479,7 @@ x_85 = l_List_mapM___main___at___private_Lean_Elab_StructInst_9__expandNumLitFie x_86 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_86, 0, x_84); lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_69, x_86, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_87 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_69, x_86, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_69); x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); @@ -11516,7 +11516,7 @@ lean_dec(x_33); lean_dec(x_14); lean_dec(x_13); x_92 = l_List_mapM___main___at___private_Lean_Elab_StructInst_9__expandNumLitFields___spec__1___closed__9; -x_93 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_69, x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_93 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_69, x_92, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_69); x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); @@ -11617,7 +11617,7 @@ x_117 = l_List_mapM___main___at___private_Lean_Elab_StructInst_9__expandNumLitFi x_118 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_118, 0, x_116); lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_99, x_118, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_119 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_99, x_118, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_99); x_120 = lean_ctor_get(x_119, 0); lean_inc(x_120); @@ -11654,7 +11654,7 @@ lean_dec(x_33); lean_dec(x_14); lean_dec(x_13); x_124 = l_List_mapM___main___at___private_Lean_Elab_StructInst_9__expandNumLitFields___spec__1___closed__9; -x_125 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_99, x_124, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_125 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_99, x_124, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_99); x_126 = lean_ctor_get(x_125, 0); lean_inc(x_126); @@ -11777,7 +11777,7 @@ x_154 = l_List_mapM___main___at___private_Lean_Elab_StructInst_9__expandNumLitFi x_155 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_155, 0, x_153); lean_ctor_set(x_155, 1, x_154); -x_156 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_135, x_155, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_156 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_135, x_155, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_135); x_157 = lean_ctor_get(x_156, 0); lean_inc(x_157); @@ -11814,7 +11814,7 @@ lean_dec(x_130); lean_dec(x_14); lean_dec(x_13); x_161 = l_List_mapM___main___at___private_Lean_Elab_StructInst_9__expandNumLitFields___spec__1___closed__9; -x_162 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_135, x_161, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_162 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_135, x_161, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_135); x_163 = lean_ctor_get(x_162, 0); lean_inc(x_163); @@ -12379,7 +12379,7 @@ lean_ctor_set(x_46, 1, x_45); x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_41); -x_48 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_36, x_47, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_48 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_36, x_47, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_36); x_49 = !lean_is_exclusive(x_48); if (x_49 == 0) @@ -12446,7 +12446,7 @@ x_64 = l_List_mapM___main___at___private_Lean_Elab_StructInst_10__expandParentFi x_65 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_36, x_65, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_66 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_36, x_65, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_36); x_67 = !lean_is_exclusive(x_66); if (x_67 == 0) @@ -12509,7 +12509,7 @@ x_78 = l_List_mapM___main___at___private_Lean_Elab_StructInst_10__expandParentFi x_79 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_36, x_79, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_80 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_36, x_79, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_36); x_81 = lean_ctor_get(x_80, 0); lean_inc(x_81); @@ -13275,7 +13275,7 @@ x_45 = l_List_foldlM___main___at___private_Lean_Elab_StructInst_12__mkFieldMap__ x_46 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_46, 0, x_44); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_41, x_46, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_47 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_41, x_46, 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_5); @@ -13322,7 +13322,7 @@ x_56 = l_List_foldlM___main___at___private_Lean_Elab_StructInst_12__mkFieldMap__ x_57 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_57, 0, x_55); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_52, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_58 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_52, x_57, 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_5); @@ -13499,7 +13499,7 @@ x_96 = l_List_foldlM___main___at___private_Lean_Elab_StructInst_12__mkFieldMap__ x_97 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_97, 0, x_95); lean_ctor_set(x_97, 1, x_96); -x_98 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_92, x_97, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_98 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_92, x_97, 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_5); @@ -13547,7 +13547,7 @@ x_107 = l_List_foldlM___main___at___private_Lean_Elab_StructInst_12__mkFieldMap_ x_108 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_108, 0, x_106); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_103, x_108, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_109 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_103, x_108, 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_5); @@ -13890,7 +13890,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_obj x_3 = l_System_FilePath_dirName___closed__1; x_4 = l_Lean_mkAtomFrom(x_1, x_3); x_5 = l_Lean_mkIdentFrom(x_1, x_2); -x_6 = l_Lean_Elab_Term_tryCoe___closed__3; +x_6 = l___private_Lean_Elab_Term_5__tryCoe___closed__3; x_7 = lean_array_push(x_6, x_1); x_8 = lean_array_push(x_7, x_4); x_9 = lean_array_push(x_8, x_5); @@ -17654,7 +17654,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_16 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; @@ -18646,7 +18646,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_46 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_46 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_46) == 0) { lean_object* x_47; lean_object* x_48; lean_object* x_49; @@ -18661,7 +18661,7 @@ lean_dec(x_45); switch (lean_obj_tag(x_42)) { case 0: { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; +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_69; x_63 = lean_ctor_get(x_47, 1); lean_inc(x_63); x_64 = lean_ctor_get(x_47, 2); @@ -18671,66 +18671,67 @@ x_65 = lean_ctor_get(x_42, 0); lean_inc(x_65); x_66 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_66, 0, x_63); -x_67 = 1; +x_67 = lean_box(0); +x_68 = 1; 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_68 = l_Lean_Elab_Term_elabTermEnsuringType(x_65, x_66, x_67, x_4, x_5, x_6, x_7, x_8, x_9, x_48); -if (lean_obj_tag(x_68) == 0) +x_69 = l_Lean_Elab_Term_elabTermEnsuringType(x_65, x_66, x_68, x_67, x_4, x_5, x_6, x_7, x_8, x_9, x_48); +if (lean_obj_tag(x_69) == 0) { -uint8_t x_69; -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) +uint8_t x_70; +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_70 = lean_ctor_get(x_68, 0); -lean_inc(x_70); -x_71 = l_Lean_mkApp(x_35, x_70); -x_72 = lean_expr_instantiate1(x_64, x_70); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +x_72 = l_Lean_mkApp(x_35, x_71); +x_73 = lean_expr_instantiate1(x_64, x_71); lean_dec(x_64); -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_13, 3, x_73); +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_71); +lean_ctor_set(x_13, 3, x_74); lean_ctor_set(x_3, 1, x_40); lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_72); -lean_ctor_set(x_2, 0, x_71); -lean_ctor_set(x_68, 0, x_2); -x_15 = x_68; +lean_ctor_set(x_29, 0, x_73); +lean_ctor_set(x_2, 0, x_72); +lean_ctor_set(x_69, 0, x_2); +x_15 = x_69; goto block_23; } 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; -x_74 = lean_ctor_get(x_68, 0); -x_75 = lean_ctor_get(x_68, 1); +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_75 = lean_ctor_get(x_69, 0); +x_76 = lean_ctor_get(x_69, 1); +lean_inc(x_76); lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_68); -lean_inc(x_74); -x_76 = l_Lean_mkApp(x_35, x_74); -x_77 = lean_expr_instantiate1(x_64, x_74); +lean_dec(x_69); +lean_inc(x_75); +x_77 = l_Lean_mkApp(x_35, x_75); +x_78 = lean_expr_instantiate1(x_64, x_75); lean_dec(x_64); -x_78 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_78, 0, x_74); -lean_ctor_set(x_13, 3, x_78); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_75); +lean_ctor_set(x_13, 3, x_79); lean_ctor_set(x_3, 1, x_40); lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_77); -lean_ctor_set(x_2, 0, x_76); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_2); -lean_ctor_set(x_79, 1, x_75); -x_15 = x_79; +lean_ctor_set(x_29, 0, x_78); +lean_ctor_set(x_2, 0, x_77); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_2); +lean_ctor_set(x_80, 1, x_76); +x_15 = x_80; goto block_23; } } else { -uint8_t x_80; +uint8_t x_81; lean_dec(x_64); lean_free_object(x_13); lean_dec(x_42); @@ -18741,237 +18742,150 @@ lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_80 = !lean_is_exclusive(x_68); -if (x_80 == 0) +x_81 = !lean_is_exclusive(x_69); +if (x_81 == 0) { -x_15 = x_68; +x_15 = x_69; goto block_23; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_68, 0); -x_82 = lean_ctor_get(x_68, 1); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_69, 0); +x_83 = lean_ctor_get(x_69, 1); +lean_inc(x_83); lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_68); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -x_15 = x_83; +lean_dec(x_69); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_15 = x_84; goto block_23; } } } case 1: { -lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_84 = lean_ctor_get(x_47, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_47, 2); +lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_85 = lean_ctor_get(x_47, 1); lean_inc(x_85); +x_86 = lean_ctor_get(x_47, 2); +lean_inc(x_86); lean_dec(x_47); -x_86 = !lean_is_exclusive(x_42); -if (x_86 == 0) +x_87 = !lean_is_exclusive(x_42); +if (x_87 == 0) { -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_42, 0); +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_42, 0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_84); -x_88 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_87, x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_48); -if (lean_obj_tag(x_88) == 0) -{ -lean_object* x_89; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); +lean_inc(x_85); +x_89 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_88, x_85, x_4, x_5, x_6, x_7, x_8, x_9, x_48); if (lean_obj_tag(x_89) == 0) { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -lean_free_object(x_2); -x_90 = lean_ctor_get(x_88, 1); +lean_object* x_90; +x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_91, 0, x_84); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_free_object(x_2); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_85); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_91); -x_92 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_87, x_91, x_4, x_5, x_6, x_7, x_8, x_9, x_90); -if (lean_obj_tag(x_92) == 0) +lean_inc(x_92); +x_93 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_88, x_92, x_4, x_5, x_6, x_7, x_8, x_9, x_91); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); -lean_dec(x_92); -x_95 = !lean_is_exclusive(x_93); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_93, 0); -x_97 = lean_ctor_get(x_93, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_98 = l_Lean_Elab_Term_ensureHasType(x_91, x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_94); -if (lean_obj_tag(x_98) == 0) -{ -uint8_t x_99; -x_99 = !lean_is_exclusive(x_98); -if (x_99 == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_100 = lean_ctor_get(x_98, 0); -lean_ctor_set(x_42, 0, x_97); -lean_inc(x_100); -x_101 = l_Lean_mkApp(x_35, x_100); -x_102 = lean_expr_instantiate1(x_85, x_100); -lean_dec(x_85); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_100); -lean_ctor_set(x_13, 3, x_103); -lean_ctor_set(x_3, 1, x_40); -lean_ctor_set(x_93, 1, x_3); -lean_ctor_set(x_93, 0, x_102); -lean_ctor_set(x_29, 1, x_93); -lean_ctor_set(x_29, 0, x_101); -lean_ctor_set(x_98, 0, x_29); -x_15 = x_98; -goto block_23; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_104 = lean_ctor_get(x_98, 0); -x_105 = lean_ctor_get(x_98, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_98); -lean_ctor_set(x_42, 0, x_97); -lean_inc(x_104); -x_106 = l_Lean_mkApp(x_35, x_104); -x_107 = lean_expr_instantiate1(x_85, x_104); -lean_dec(x_85); -x_108 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_108, 0, x_104); -lean_ctor_set(x_13, 3, x_108); -lean_ctor_set(x_3, 1, x_40); -lean_ctor_set(x_93, 1, x_3); -lean_ctor_set(x_93, 0, x_107); -lean_ctor_set(x_29, 1, x_93); -lean_ctor_set(x_29, 0, x_106); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_29); -lean_ctor_set(x_109, 1, x_105); -x_15 = x_109; -goto block_23; -} -} -else -{ -uint8_t x_110; -lean_free_object(x_93); -lean_dec(x_97); -lean_free_object(x_42); -lean_dec(x_85); -lean_free_object(x_13); -lean_dec(x_41); -lean_free_object(x_29); -lean_dec(x_40); -lean_dec(x_35); -lean_dec(x_30); -lean_free_object(x_3); -x_110 = !lean_is_exclusive(x_98); -if (x_110 == 0) -{ -x_15 = x_98; -goto block_23; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_98, 0); -x_112 = lean_ctor_get(x_98, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_98); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -x_15 = x_113; -goto block_23; -} -} -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_93, 0); -x_115 = lean_ctor_get(x_93, 1); -lean_inc(x_115); -lean_inc(x_114); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); lean_dec(x_93); +x_96 = !lean_is_exclusive(x_94); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_97 = lean_ctor_get(x_94, 0); +x_98 = lean_ctor_get(x_94, 1); +x_99 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_116 = l_Lean_Elab_Term_ensureHasType(x_91, x_114, x_4, x_5, x_6, x_7, x_8, x_9, x_94); -if (lean_obj_tag(x_116) == 0) +x_100 = l_Lean_Elab_Term_ensureHasType(x_92, x_97, x_99, x_4, x_5, x_6, x_7, x_8, x_9, x_95); +if (lean_obj_tag(x_100) == 0) { -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; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_119 = x_116; -} else { - lean_dec_ref(x_116); - x_119 = lean_box(0); -} -lean_ctor_set(x_42, 0, x_115); -lean_inc(x_117); -x_120 = l_Lean_mkApp(x_35, x_117); -x_121 = lean_expr_instantiate1(x_85, x_117); -lean_dec(x_85); -x_122 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_122, 0, x_117); -lean_ctor_set(x_13, 3, x_122); +uint8_t x_101; +x_101 = !lean_is_exclusive(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_102 = lean_ctor_get(x_100, 0); +lean_ctor_set(x_42, 0, x_98); +lean_inc(x_102); +x_103 = l_Lean_mkApp(x_35, x_102); +x_104 = lean_expr_instantiate1(x_86, x_102); +lean_dec(x_86); +x_105 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_105, 0, x_102); +lean_ctor_set(x_13, 3, x_105); lean_ctor_set(x_3, 1, x_40); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_3); -lean_ctor_set(x_29, 1, x_123); -lean_ctor_set(x_29, 0, x_120); -if (lean_is_scalar(x_119)) { - x_124 = lean_alloc_ctor(0, 2, 0); -} else { - x_124 = x_119; -} -lean_ctor_set(x_124, 0, x_29); -lean_ctor_set(x_124, 1, x_118); -x_15 = x_124; +lean_ctor_set(x_94, 1, x_3); +lean_ctor_set(x_94, 0, x_104); +lean_ctor_set(x_29, 1, x_94); +lean_ctor_set(x_29, 0, x_103); +lean_ctor_set(x_100, 0, x_29); +x_15 = x_100; goto block_23; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -lean_dec(x_115); +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_106 = lean_ctor_get(x_100, 0); +x_107 = lean_ctor_get(x_100, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_100); +lean_ctor_set(x_42, 0, x_98); +lean_inc(x_106); +x_108 = l_Lean_mkApp(x_35, x_106); +x_109 = lean_expr_instantiate1(x_86, x_106); +lean_dec(x_86); +x_110 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_110, 0, x_106); +lean_ctor_set(x_13, 3, x_110); +lean_ctor_set(x_3, 1, x_40); +lean_ctor_set(x_94, 1, x_3); +lean_ctor_set(x_94, 0, x_109); +lean_ctor_set(x_29, 1, x_94); +lean_ctor_set(x_29, 0, x_108); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_29); +lean_ctor_set(x_111, 1, x_107); +x_15 = x_111; +goto block_23; +} +} +else +{ +uint8_t x_112; +lean_free_object(x_94); +lean_dec(x_98); lean_free_object(x_42); -lean_dec(x_85); +lean_dec(x_86); lean_free_object(x_13); lean_dec(x_41); lean_free_object(x_29); @@ -18979,36 +18893,88 @@ lean_dec(x_40); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_125 = lean_ctor_get(x_116, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_116, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_127 = x_116; -} else { - lean_dec_ref(x_116); - x_127 = lean_box(0); +x_112 = !lean_is_exclusive(x_100); +if (x_112 == 0) +{ +x_15 = x_100; +goto block_23; } -if (lean_is_scalar(x_127)) { - x_128 = lean_alloc_ctor(1, 2, 0); -} else { - x_128 = x_127; -} -lean_ctor_set(x_128, 0, x_125); -lean_ctor_set(x_128, 1, x_126); -x_15 = x_128; +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_100, 0); +x_114 = lean_ctor_get(x_100, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_100); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +x_15 = x_115; goto block_23; } } } else { -uint8_t x_129; -lean_dec(x_91); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_116 = lean_ctor_get(x_94, 0); +x_117 = lean_ctor_get(x_94, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_94); +x_118 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_119 = l_Lean_Elab_Term_ensureHasType(x_92, x_116, x_118, x_4, x_5, x_6, x_7, x_8, x_9, x_95); +if (lean_obj_tag(x_119) == 0) +{ +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; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_122 = x_119; +} else { + lean_dec_ref(x_119); + x_122 = lean_box(0); +} +lean_ctor_set(x_42, 0, x_117); +lean_inc(x_120); +x_123 = l_Lean_mkApp(x_35, x_120); +x_124 = lean_expr_instantiate1(x_86, x_120); +lean_dec(x_86); +x_125 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_125, 0, x_120); +lean_ctor_set(x_13, 3, x_125); +lean_ctor_set(x_3, 1, x_40); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_3); +lean_ctor_set(x_29, 1, x_126); +lean_ctor_set(x_29, 0, x_123); +if (lean_is_scalar(x_122)) { + x_127 = lean_alloc_ctor(0, 2, 0); +} else { + x_127 = x_122; +} +lean_ctor_set(x_127, 0, x_29); +lean_ctor_set(x_127, 1, x_121); +x_15 = x_127; +goto block_23; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_117); lean_free_object(x_42); -lean_dec(x_85); +lean_dec(x_86); lean_free_object(x_13); lean_dec(x_41); lean_free_object(x_29); @@ -19016,133 +18982,170 @@ lean_dec(x_40); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_129 = !lean_is_exclusive(x_92); -if (x_129 == 0) -{ -x_15 = x_92; +x_128 = lean_ctor_get(x_119, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_119, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_130 = x_119; +} else { + lean_dec_ref(x_119); + 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); +x_15 = x_131; goto block_23; } +} +} else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_92, 0); -x_131 = lean_ctor_get(x_92, 1); -lean_inc(x_131); -lean_inc(x_130); +uint8_t x_132; lean_dec(x_92); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -x_15 = x_132; -goto block_23; -} -} -} -else -{ -uint8_t x_133; -lean_dec(x_87); -lean_dec(x_84); -x_133 = !lean_is_exclusive(x_88); -if (x_133 == 0) -{ -lean_object* x_134; uint8_t x_135; -x_134 = lean_ctor_get(x_88, 0); -lean_dec(x_134); -x_135 = !lean_is_exclusive(x_89); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_89, 0); -x_137 = l_Lean_mkHole(x_41); -lean_ctor_set_tag(x_42, 0); -lean_ctor_set(x_42, 0, x_137); -lean_inc(x_136); -x_138 = l_Lean_mkApp(x_35, x_136); -x_139 = lean_expr_instantiate1(x_85, x_136); -lean_dec(x_85); -lean_ctor_set(x_13, 3, x_89); -lean_ctor_set(x_3, 1, x_40); -lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_139); -lean_ctor_set(x_2, 0, x_138); -lean_ctor_set(x_88, 0, x_2); -x_15 = x_88; -goto block_23; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_140 = lean_ctor_get(x_89, 0); -lean_inc(x_140); -lean_dec(x_89); -x_141 = l_Lean_mkHole(x_41); -lean_ctor_set_tag(x_42, 0); -lean_ctor_set(x_42, 0, x_141); -lean_inc(x_140); -x_142 = l_Lean_mkApp(x_35, x_140); -x_143 = lean_expr_instantiate1(x_85, x_140); -lean_dec(x_85); -x_144 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_144, 0, x_140); -lean_ctor_set(x_13, 3, x_144); -lean_ctor_set(x_3, 1, x_40); -lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_143); -lean_ctor_set(x_2, 0, x_142); -lean_ctor_set(x_88, 0, x_2); -x_15 = x_88; -goto block_23; -} -} -else -{ -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_145 = lean_ctor_get(x_88, 1); -lean_inc(x_145); -lean_dec(x_88); -x_146 = lean_ctor_get(x_89, 0); -lean_inc(x_146); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - x_147 = x_89; -} else { - lean_dec_ref(x_89); - x_147 = lean_box(0); -} -x_148 = l_Lean_mkHole(x_41); -lean_ctor_set_tag(x_42, 0); -lean_ctor_set(x_42, 0, x_148); -lean_inc(x_146); -x_149 = l_Lean_mkApp(x_35, x_146); -x_150 = lean_expr_instantiate1(x_85, x_146); -lean_dec(x_85); -if (lean_is_scalar(x_147)) { - x_151 = lean_alloc_ctor(1, 1, 0); -} else { - x_151 = x_147; -} -lean_ctor_set(x_151, 0, x_146); -lean_ctor_set(x_13, 3, x_151); -lean_ctor_set(x_3, 1, x_40); -lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_150); -lean_ctor_set(x_2, 0, x_149); -x_152 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_152, 0, x_2); -lean_ctor_set(x_152, 1, x_145); -x_15 = x_152; -goto block_23; -} -} -} -else -{ -uint8_t x_153; lean_free_object(x_42); -lean_dec(x_87); +lean_dec(x_86); +lean_free_object(x_13); +lean_dec(x_41); +lean_free_object(x_29); +lean_dec(x_40); +lean_dec(x_35); +lean_dec(x_30); +lean_free_object(x_3); +x_132 = !lean_is_exclusive(x_93); +if (x_132 == 0) +{ +x_15 = x_93; +goto block_23; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_93, 0); +x_134 = lean_ctor_get(x_93, 1); +lean_inc(x_134); +lean_inc(x_133); +lean_dec(x_93); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +x_15 = x_135; +goto block_23; +} +} +} +else +{ +uint8_t x_136; +lean_dec(x_88); +lean_dec(x_85); +x_136 = !lean_is_exclusive(x_89); +if (x_136 == 0) +{ +lean_object* x_137; uint8_t x_138; +x_137 = lean_ctor_get(x_89, 0); +lean_dec(x_137); +x_138 = !lean_is_exclusive(x_90); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_139 = lean_ctor_get(x_90, 0); +x_140 = l_Lean_mkHole(x_41); +lean_ctor_set_tag(x_42, 0); +lean_ctor_set(x_42, 0, x_140); +lean_inc(x_139); +x_141 = l_Lean_mkApp(x_35, x_139); +x_142 = lean_expr_instantiate1(x_86, x_139); +lean_dec(x_86); +lean_ctor_set(x_13, 3, x_90); +lean_ctor_set(x_3, 1, x_40); +lean_ctor_set(x_29, 1, x_3); +lean_ctor_set(x_29, 0, x_142); +lean_ctor_set(x_2, 0, x_141); +lean_ctor_set(x_89, 0, x_2); +x_15 = x_89; +goto block_23; +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_143 = lean_ctor_get(x_90, 0); +lean_inc(x_143); +lean_dec(x_90); +x_144 = l_Lean_mkHole(x_41); +lean_ctor_set_tag(x_42, 0); +lean_ctor_set(x_42, 0, x_144); +lean_inc(x_143); +x_145 = l_Lean_mkApp(x_35, x_143); +x_146 = lean_expr_instantiate1(x_86, x_143); +lean_dec(x_86); +x_147 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_147, 0, x_143); +lean_ctor_set(x_13, 3, x_147); +lean_ctor_set(x_3, 1, x_40); +lean_ctor_set(x_29, 1, x_3); +lean_ctor_set(x_29, 0, x_146); +lean_ctor_set(x_2, 0, x_145); +lean_ctor_set(x_89, 0, x_2); +x_15 = x_89; +goto block_23; +} +} +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; +x_148 = lean_ctor_get(x_89, 1); +lean_inc(x_148); +lean_dec(x_89); +x_149 = lean_ctor_get(x_90, 0); +lean_inc(x_149); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + x_150 = x_90; +} else { + lean_dec_ref(x_90); + x_150 = lean_box(0); +} +x_151 = l_Lean_mkHole(x_41); +lean_ctor_set_tag(x_42, 0); +lean_ctor_set(x_42, 0, x_151); +lean_inc(x_149); +x_152 = l_Lean_mkApp(x_35, x_149); +x_153 = lean_expr_instantiate1(x_86, x_149); +lean_dec(x_86); +if (lean_is_scalar(x_150)) { + x_154 = lean_alloc_ctor(1, 1, 0); +} else { + x_154 = x_150; +} +lean_ctor_set(x_154, 0, x_149); +lean_ctor_set(x_13, 3, x_154); +lean_ctor_set(x_3, 1, x_40); +lean_ctor_set(x_29, 1, x_3); +lean_ctor_set(x_29, 0, x_153); +lean_ctor_set(x_2, 0, x_152); +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_2); +lean_ctor_set(x_155, 1, x_148); +x_15 = x_155; +goto block_23; +} +} +} +else +{ +uint8_t x_156; +lean_free_object(x_42); +lean_dec(x_88); +lean_dec(x_86); lean_dec(x_85); -lean_dec(x_84); lean_free_object(x_13); lean_dec(x_41); lean_free_object(x_29); @@ -19151,174 +19154,140 @@ lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_153 = !lean_is_exclusive(x_88); -if (x_153 == 0) +x_156 = !lean_is_exclusive(x_89); +if (x_156 == 0) { -x_15 = x_88; +x_15 = x_89; goto block_23; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_88, 0); -x_155 = lean_ctor_get(x_88, 1); -lean_inc(x_155); -lean_inc(x_154); -lean_dec(x_88); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set(x_156, 1, x_155); -x_15 = x_156; -goto block_23; -} -} -} -else -{ -lean_object* x_157; lean_object* x_158; -x_157 = lean_ctor_get(x_42, 0); +lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_157 = lean_ctor_get(x_89, 0); +x_158 = lean_ctor_get(x_89, 1); +lean_inc(x_158); lean_inc(x_157); +lean_dec(x_89); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +x_15 = x_159; +goto block_23; +} +} +} +else +{ +lean_object* x_160; lean_object* x_161; +x_160 = lean_ctor_get(x_42, 0); +lean_inc(x_160); lean_dec(x_42); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_84); -x_158 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_157, x_84, x_4, x_5, x_6, x_7, x_8, x_9, x_48); -if (lean_obj_tag(x_158) == 0) +lean_inc(x_85); +x_161 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_160, x_85, x_4, x_5, x_6, x_7, x_8, x_9, x_48); +if (lean_obj_tag(x_161) == 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_162; +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +if (lean_obj_tag(x_162) == 0) { -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_free_object(x_2); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_161, 0, x_84); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_164, 0, x_85); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_161); -x_162 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_157, x_161, x_4, x_5, x_6, x_7, x_8, x_9, x_160); -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; -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_162, 1); lean_inc(x_164); -lean_dec(x_162); -x_165 = lean_ctor_get(x_163, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_163, 1); +x_165 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_160, x_164, x_4, x_5, x_6, x_7, x_8, x_9, x_163); +if (lean_obj_tag(x_165) == 0) +{ +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; +x_166 = lean_ctor_get(x_165, 0); lean_inc(x_166); -if (lean_is_exclusive(x_163)) { - lean_ctor_release(x_163, 0); - lean_ctor_release(x_163, 1); - x_167 = x_163; +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +x_168 = lean_ctor_get(x_166, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_166, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_170 = x_166; } else { - lean_dec_ref(x_163); - x_167 = lean_box(0); + lean_dec_ref(x_166); + x_170 = lean_box(0); } +x_171 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_168 = l_Lean_Elab_Term_ensureHasType(x_161, x_165, x_4, x_5, x_6, x_7, x_8, x_9, x_164); -if (lean_obj_tag(x_168) == 0) +x_172 = l_Lean_Elab_Term_ensureHasType(x_164, x_168, x_171, x_4, x_5, x_6, x_7, x_8, x_9, x_167); +if (lean_obj_tag(x_172) == 0) { -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; -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_171 = x_168; +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_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + x_175 = x_172; } else { - lean_dec_ref(x_168); - x_171 = lean_box(0); + lean_dec_ref(x_172); + x_175 = lean_box(0); } -x_172 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_172, 0, x_166); -lean_inc(x_169); -x_173 = l_Lean_mkApp(x_35, x_169); -x_174 = lean_expr_instantiate1(x_85, x_169); -lean_dec(x_85); -x_175 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_175, 0, x_169); -lean_ctor_set(x_13, 3, x_175); -lean_ctor_set(x_13, 2, x_172); +x_176 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_176, 0, x_169); +lean_inc(x_173); +x_177 = l_Lean_mkApp(x_35, x_173); +x_178 = lean_expr_instantiate1(x_86, x_173); +lean_dec(x_86); +x_179 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_179, 0, x_173); +lean_ctor_set(x_13, 3, x_179); +lean_ctor_set(x_13, 2, x_176); lean_ctor_set(x_3, 1, x_40); -if (lean_is_scalar(x_167)) { - x_176 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_170)) { + x_180 = lean_alloc_ctor(0, 2, 0); } else { - x_176 = x_167; + x_180 = x_170; } -lean_ctor_set(x_176, 0, x_174); -lean_ctor_set(x_176, 1, x_3); -lean_ctor_set(x_29, 1, x_176); -lean_ctor_set(x_29, 0, x_173); -if (lean_is_scalar(x_171)) { - x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_3); +lean_ctor_set(x_29, 1, x_180); +lean_ctor_set(x_29, 0, x_177); +if (lean_is_scalar(x_175)) { + x_181 = lean_alloc_ctor(0, 2, 0); } else { - x_177 = x_171; + x_181 = x_175; } -lean_ctor_set(x_177, 0, x_29); -lean_ctor_set(x_177, 1, x_170); -x_15 = x_177; -goto block_23; -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -lean_dec(x_167); -lean_dec(x_166); -lean_dec(x_85); -lean_free_object(x_13); -lean_dec(x_41); -lean_free_object(x_29); -lean_dec(x_40); -lean_dec(x_35); -lean_dec(x_30); -lean_free_object(x_3); -x_178 = lean_ctor_get(x_168, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_168, 1); -lean_inc(x_179); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_180 = x_168; -} else { - lean_dec_ref(x_168); - x_180 = lean_box(0); -} -if (lean_is_scalar(x_180)) { - x_181 = lean_alloc_ctor(1, 2, 0); -} else { - x_181 = x_180; -} -lean_ctor_set(x_181, 0, x_178); -lean_ctor_set(x_181, 1, x_179); +lean_ctor_set(x_181, 0, x_29); +lean_ctor_set(x_181, 1, x_174); x_15 = x_181; goto block_23; } -} else { lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -lean_dec(x_161); -lean_dec(x_85); +lean_dec(x_170); +lean_dec(x_169); +lean_dec(x_86); lean_free_object(x_13); lean_dec(x_41); lean_free_object(x_29); @@ -19326,16 +19295,16 @@ lean_dec(x_40); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_182 = lean_ctor_get(x_162, 0); +x_182 = lean_ctor_get(x_172, 0); lean_inc(x_182); -x_183 = lean_ctor_get(x_162, 1); +x_183 = lean_ctor_get(x_172, 1); lean_inc(x_183); -if (lean_is_exclusive(x_162)) { - lean_ctor_release(x_162, 0); - lean_ctor_release(x_162, 1); - x_184 = x_162; +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + x_184 = x_172; } else { - lean_dec_ref(x_162); + lean_dec_ref(x_172); x_184 = lean_box(0); } if (lean_is_scalar(x_184)) { @@ -19351,64 +19320,99 @@ goto block_23; } else { -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_dec(x_157); -lean_dec(x_84); -x_186 = lean_ctor_get(x_158, 1); +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_dec(x_164); +lean_dec(x_86); +lean_free_object(x_13); +lean_dec(x_41); +lean_free_object(x_29); +lean_dec(x_40); +lean_dec(x_35); +lean_dec(x_30); +lean_free_object(x_3); +x_186 = lean_ctor_get(x_165, 0); lean_inc(x_186); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_187 = x_158; +x_187 = lean_ctor_get(x_165, 1); +lean_inc(x_187); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_188 = x_165; } else { - lean_dec_ref(x_158); - x_187 = lean_box(0); + lean_dec_ref(x_165); + x_188 = lean_box(0); } -x_188 = lean_ctor_get(x_159, 0); -lean_inc(x_188); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - x_189 = x_159; +if (lean_is_scalar(x_188)) { + x_189 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_159); - x_189 = lean_box(0); + x_189 = x_188; } -x_190 = l_Lean_mkHole(x_41); -x_191 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_191, 0, x_190); -lean_inc(x_188); -x_192 = l_Lean_mkApp(x_35, x_188); -x_193 = lean_expr_instantiate1(x_85, x_188); -lean_dec(x_85); -if (lean_is_scalar(x_189)) { - x_194 = lean_alloc_ctor(1, 1, 0); -} else { - x_194 = x_189; -} -lean_ctor_set(x_194, 0, x_188); -lean_ctor_set(x_13, 3, x_194); -lean_ctor_set(x_13, 2, x_191); -lean_ctor_set(x_3, 1, x_40); -lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_193); -lean_ctor_set(x_2, 0, x_192); -if (lean_is_scalar(x_187)) { - x_195 = lean_alloc_ctor(0, 2, 0); -} else { - x_195 = x_187; -} -lean_ctor_set(x_195, 0, x_2); -lean_ctor_set(x_195, 1, x_186); -x_15 = x_195; +lean_ctor_set(x_189, 0, x_186); +lean_ctor_set(x_189, 1, x_187); +x_15 = x_189; goto block_23; } } else { -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -lean_dec(x_157); +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_dec(x_160); +lean_dec(x_85); +x_190 = lean_ctor_get(x_161, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_161)) { + lean_ctor_release(x_161, 0); + lean_ctor_release(x_161, 1); + x_191 = x_161; +} else { + lean_dec_ref(x_161); + x_191 = lean_box(0); +} +x_192 = lean_ctor_get(x_162, 0); +lean_inc(x_192); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + x_193 = x_162; +} else { + lean_dec_ref(x_162); + x_193 = lean_box(0); +} +x_194 = l_Lean_mkHole(x_41); +x_195 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_195, 0, x_194); +lean_inc(x_192); +x_196 = l_Lean_mkApp(x_35, x_192); +x_197 = lean_expr_instantiate1(x_86, x_192); +lean_dec(x_86); +if (lean_is_scalar(x_193)) { + x_198 = lean_alloc_ctor(1, 1, 0); +} else { + x_198 = x_193; +} +lean_ctor_set(x_198, 0, x_192); +lean_ctor_set(x_13, 3, x_198); +lean_ctor_set(x_13, 2, x_195); +lean_ctor_set(x_3, 1, x_40); +lean_ctor_set(x_29, 1, x_3); +lean_ctor_set(x_29, 0, x_197); +lean_ctor_set(x_2, 0, x_196); +if (lean_is_scalar(x_191)) { + x_199 = lean_alloc_ctor(0, 2, 0); +} else { + x_199 = x_191; +} +lean_ctor_set(x_199, 0, x_2); +lean_ctor_set(x_199, 1, x_190); +x_15 = x_199; +goto block_23; +} +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_dec(x_160); +lean_dec(x_86); lean_dec(x_85); -lean_dec(x_84); lean_free_object(x_13); lean_dec(x_41); lean_free_object(x_29); @@ -19417,109 +19421,109 @@ lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_196 = lean_ctor_get(x_158, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_158, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_198 = x_158; +x_200 = lean_ctor_get(x_161, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_161, 1); +lean_inc(x_201); +if (lean_is_exclusive(x_161)) { + lean_ctor_release(x_161, 0); + lean_ctor_release(x_161, 1); + x_202 = x_161; } else { - lean_dec_ref(x_158); - x_198 = lean_box(0); + lean_dec_ref(x_161); + x_202 = lean_box(0); } -if (lean_is_scalar(x_198)) { - x_199 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_202)) { + x_203 = lean_alloc_ctor(1, 2, 0); } else { - x_199 = x_198; + x_203 = x_202; } -lean_ctor_set(x_199, 0, x_196); -lean_ctor_set(x_199, 1, x_197); -x_15 = x_199; +lean_ctor_set(x_203, 0, x_200); +lean_ctor_set(x_203, 1, x_201); +x_15 = x_203; goto block_23; } } } default: { -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; uint8_t x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; -x_200 = lean_ctor_get(x_47, 1); -lean_inc(x_200); -x_201 = lean_ctor_get(x_47, 2); -lean_inc(x_201); -lean_dec(x_47); -x_202 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_202, 0, x_200); -x_203 = lean_ctor_get(x_8, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_8, 1); +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; uint8_t x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; +x_204 = lean_ctor_get(x_47, 1); lean_inc(x_204); -x_205 = lean_ctor_get(x_8, 2); +x_205 = lean_ctor_get(x_47, 2); lean_inc(x_205); -x_206 = lean_ctor_get(x_8, 3); -lean_inc(x_206); -x_207 = l_Lean_replaceRef(x_41, x_206); -x_208 = l_Lean_replaceRef(x_207, x_206); -lean_dec(x_207); -x_209 = l_Lean_replaceRef(x_208, x_206); -lean_dec(x_206); -lean_dec(x_208); -x_210 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_210, 0, x_203); -lean_ctor_set(x_210, 1, x_204); -lean_ctor_set(x_210, 2, x_205); -lean_ctor_set(x_210, 3, x_209); -x_211 = 0; -x_212 = lean_box(0); -lean_inc(x_6); -x_213 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_202, x_211, x_212, x_6, x_7, x_210, x_9, x_48); +lean_dec(x_47); +x_206 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_206, 0, x_204); +x_207 = lean_ctor_get(x_8, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_8, 1); +lean_inc(x_208); +x_209 = lean_ctor_get(x_8, 2); +lean_inc(x_209); +x_210 = lean_ctor_get(x_8, 3); +lean_inc(x_210); +x_211 = l_Lean_replaceRef(x_41, x_210); +x_212 = l_Lean_replaceRef(x_211, x_210); +lean_dec(x_211); +x_213 = l_Lean_replaceRef(x_212, x_210); lean_dec(x_210); -x_214 = !lean_is_exclusive(x_213); -if (x_214 == 0) +lean_dec(x_212); +x_214 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_214, 0, x_207); +lean_ctor_set(x_214, 1, x_208); +lean_ctor_set(x_214, 2, x_209); +lean_ctor_set(x_214, 3, x_213); +x_215 = 0; +x_216 = lean_box(0); +lean_inc(x_6); +x_217 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_206, x_215, x_216, x_6, x_7, x_214, x_9, x_48); +lean_dec(x_214); +x_218 = !lean_is_exclusive(x_217); +if (x_218 == 0) { -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_215 = lean_ctor_get(x_213, 0); -x_216 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_215); -lean_inc(x_216); -x_217 = l_Lean_mkApp(x_35, x_216); -x_218 = lean_expr_instantiate1(x_201, x_216); -lean_dec(x_201); -x_219 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_219, 0, x_216); -lean_ctor_set(x_13, 3, x_219); -lean_ctor_set(x_3, 1, x_40); -lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_218); -lean_ctor_set(x_2, 0, x_217); -lean_ctor_set(x_213, 0, x_2); -x_15 = x_213; -goto block_23; -} -else -{ -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_220 = lean_ctor_get(x_213, 0); -x_221 = lean_ctor_get(x_213, 1); -lean_inc(x_221); +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_219 = lean_ctor_get(x_217, 0); +x_220 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_219); lean_inc(x_220); -lean_dec(x_213); -x_222 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_220); -lean_inc(x_222); -x_223 = l_Lean_mkApp(x_35, x_222); -x_224 = lean_expr_instantiate1(x_201, x_222); -lean_dec(x_201); -x_225 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_225, 0, x_222); -lean_ctor_set(x_13, 3, x_225); +x_221 = l_Lean_mkApp(x_35, x_220); +x_222 = lean_expr_instantiate1(x_205, x_220); +lean_dec(x_205); +x_223 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_223, 0, x_220); +lean_ctor_set(x_13, 3, x_223); lean_ctor_set(x_3, 1, x_40); lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_224); -lean_ctor_set(x_2, 0, x_223); -x_226 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_226, 0, x_2); -lean_ctor_set(x_226, 1, x_221); -x_15 = x_226; +lean_ctor_set(x_29, 0, x_222); +lean_ctor_set(x_2, 0, x_221); +lean_ctor_set(x_217, 0, x_2); +x_15 = x_217; +goto block_23; +} +else +{ +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; +x_224 = lean_ctor_get(x_217, 0); +x_225 = lean_ctor_get(x_217, 1); +lean_inc(x_225); +lean_inc(x_224); +lean_dec(x_217); +x_226 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_224); +lean_inc(x_226); +x_227 = l_Lean_mkApp(x_35, x_226); +x_228 = lean_expr_instantiate1(x_205, x_226); +lean_dec(x_205); +x_229 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_229, 0, x_226); +lean_ctor_set(x_13, 3, x_229); +lean_ctor_set(x_3, 1, x_40); +lean_ctor_set(x_29, 1, x_3); +lean_ctor_set(x_29, 0, x_228); +lean_ctor_set(x_2, 0, x_227); +x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_2); +lean_ctor_set(x_230, 1, x_225); +x_15 = x_230; goto block_23; } } @@ -19527,7 +19531,7 @@ goto block_23; } else { -lean_object* x_227; +lean_object* x_231; lean_free_object(x_13); lean_dec(x_42); lean_free_object(x_29); @@ -19536,8 +19540,8 @@ lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_227 = lean_box(0); -x_49 = x_227; +x_231 = lean_box(0); +x_49 = x_231; goto block_62; } block_62: @@ -19579,7 +19583,7 @@ goto block_23; } else { -uint8_t x_228; +uint8_t x_232; lean_dec(x_45); lean_free_object(x_13); lean_dec(x_42); @@ -19590,1901 +19594,1907 @@ lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_228 = !lean_is_exclusive(x_46); -if (x_228 == 0) +x_232 = !lean_is_exclusive(x_46); +if (x_232 == 0) { x_15 = x_46; goto block_23; } else { -lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_229 = lean_ctor_get(x_46, 0); -x_230 = lean_ctor_get(x_46, 1); -lean_inc(x_230); -lean_inc(x_229); +lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_233 = lean_ctor_get(x_46, 0); +x_234 = lean_ctor_get(x_46, 1); +lean_inc(x_234); +lean_inc(x_233); lean_dec(x_46); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_229); -lean_ctor_set(x_231, 1, x_230); -x_15 = x_231; +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_233); +lean_ctor_set(x_235, 1, x_234); +x_15 = x_235; goto block_23; } } } else { -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_232 = lean_ctor_get(x_29, 0); -x_233 = lean_ctor_get(x_29, 1); -x_234 = lean_ctor_get(x_13, 0); -x_235 = lean_ctor_get(x_13, 2); -lean_inc(x_235); -lean_inc(x_234); +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_236 = lean_ctor_get(x_29, 0); +x_237 = lean_ctor_get(x_29, 1); +x_238 = lean_ctor_get(x_13, 0); +x_239 = lean_ctor_get(x_13, 2); +lean_inc(x_239); +lean_inc(x_238); lean_dec(x_13); -x_236 = lean_ctor_get(x_32, 1); -lean_inc(x_236); +x_240 = lean_ctor_get(x_32, 1); +lean_inc(x_240); lean_dec(x_32); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_237 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_232, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_237) == 0) +x_241 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_236, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_241) == 0) { -lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 1); -lean_inc(x_239); -lean_dec(x_237); -if (lean_obj_tag(x_238) == 7) +lean_object* x_242; lean_object* x_243; lean_object* x_244; +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); +if (lean_obj_tag(x_242) == 7) { -lean_dec(x_236); -switch (lean_obj_tag(x_235)) { +lean_dec(x_240); +switch (lean_obj_tag(x_239)) { case 0: { -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; lean_object* x_259; -x_254 = lean_ctor_get(x_238, 1); -lean_inc(x_254); -x_255 = lean_ctor_get(x_238, 2); -lean_inc(x_255); -lean_dec(x_238); -x_256 = lean_ctor_get(x_235, 0); -lean_inc(x_256); -x_257 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_257, 0, x_254); -x_258 = 1; +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; lean_object* x_264; +x_258 = lean_ctor_get(x_242, 1); +lean_inc(x_258); +x_259 = lean_ctor_get(x_242, 2); +lean_inc(x_259); +lean_dec(x_242); +x_260 = lean_ctor_get(x_239, 0); +lean_inc(x_260); +x_261 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_261, 0, x_258); +x_262 = lean_box(0); +x_263 = 1; 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_259 = l_Lean_Elab_Term_elabTermEnsuringType(x_256, x_257, x_258, x_4, x_5, x_6, x_7, x_8, x_9, x_239); -if (lean_obj_tag(x_259) == 0) +x_264 = l_Lean_Elab_Term_elabTermEnsuringType(x_260, x_261, x_263, x_262, x_4, x_5, x_6, x_7, x_8, x_9, x_243); +if (lean_obj_tag(x_264) == 0) { -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; -x_260 = lean_ctor_get(x_259, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_259, 1); -lean_inc(x_261); -if (lean_is_exclusive(x_259)) { - lean_ctor_release(x_259, 0); - lean_ctor_release(x_259, 1); - x_262 = x_259; +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; +x_265 = lean_ctor_get(x_264, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_264, 1); +lean_inc(x_266); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_267 = x_264; } else { - lean_dec_ref(x_259); - x_262 = lean_box(0); + lean_dec_ref(x_264); + x_267 = lean_box(0); } -lean_inc(x_260); -x_263 = l_Lean_mkApp(x_35, x_260); -x_264 = lean_expr_instantiate1(x_255, x_260); -lean_dec(x_255); -x_265 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_265, 0, x_260); -x_266 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_266, 0, x_234); -lean_ctor_set(x_266, 1, x_30); -lean_ctor_set(x_266, 2, x_235); -lean_ctor_set(x_266, 3, x_265); -lean_ctor_set(x_3, 1, x_233); -lean_ctor_set(x_3, 0, x_266); +lean_inc(x_265); +x_268 = l_Lean_mkApp(x_35, x_265); +x_269 = lean_expr_instantiate1(x_259, x_265); +lean_dec(x_259); +x_270 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_270, 0, x_265); +x_271 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_271, 0, x_238); +lean_ctor_set(x_271, 1, x_30); +lean_ctor_set(x_271, 2, x_239); +lean_ctor_set(x_271, 3, x_270); +lean_ctor_set(x_3, 1, x_237); +lean_ctor_set(x_3, 0, x_271); lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_264); -lean_ctor_set(x_2, 0, x_263); -if (lean_is_scalar(x_262)) { - x_267 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_269); +lean_ctor_set(x_2, 0, x_268); +if (lean_is_scalar(x_267)) { + x_272 = lean_alloc_ctor(0, 2, 0); } else { - x_267 = x_262; + x_272 = x_267; } -lean_ctor_set(x_267, 0, x_2); -lean_ctor_set(x_267, 1, x_261); -x_15 = x_267; +lean_ctor_set(x_272, 0, x_2); +lean_ctor_set(x_272, 1, x_266); +x_15 = x_272; goto block_23; } else { -lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_255); -lean_dec(x_235); -lean_dec(x_234); +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +lean_dec(x_259); +lean_dec(x_239); +lean_dec(x_238); lean_free_object(x_29); -lean_dec(x_233); +lean_dec(x_237); lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_268 = lean_ctor_get(x_259, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_259, 1); -lean_inc(x_269); -if (lean_is_exclusive(x_259)) { - lean_ctor_release(x_259, 0); - lean_ctor_release(x_259, 1); - x_270 = x_259; +x_273 = lean_ctor_get(x_264, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_264, 1); +lean_inc(x_274); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_275 = x_264; } else { - lean_dec_ref(x_259); - x_270 = lean_box(0); + lean_dec_ref(x_264); + x_275 = lean_box(0); } -if (lean_is_scalar(x_270)) { - x_271 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_275)) { + x_276 = lean_alloc_ctor(1, 2, 0); } else { - x_271 = x_270; + x_276 = x_275; } -lean_ctor_set(x_271, 0, x_268); -lean_ctor_set(x_271, 1, x_269); -x_15 = x_271; +lean_ctor_set(x_276, 0, x_273); +lean_ctor_set(x_276, 1, x_274); +x_15 = x_276; goto block_23; } } case 1: { -lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; -x_272 = lean_ctor_get(x_238, 1); -lean_inc(x_272); -x_273 = lean_ctor_get(x_238, 2); -lean_inc(x_273); -lean_dec(x_238); -x_274 = lean_ctor_get(x_235, 0); -lean_inc(x_274); -if (lean_is_exclusive(x_235)) { - lean_ctor_release(x_235, 0); - x_275 = x_235; +lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; +x_277 = lean_ctor_get(x_242, 1); +lean_inc(x_277); +x_278 = lean_ctor_get(x_242, 2); +lean_inc(x_278); +lean_dec(x_242); +x_279 = lean_ctor_get(x_239, 0); +lean_inc(x_279); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + x_280 = x_239; } else { - lean_dec_ref(x_235); - x_275 = lean_box(0); + lean_dec_ref(x_239); + x_280 = lean_box(0); } lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_272); -x_276 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_274, x_272, x_4, x_5, x_6, x_7, x_8, x_9, x_239); -if (lean_obj_tag(x_276) == 0) -{ -lean_object* x_277; -x_277 = lean_ctor_get(x_276, 0); lean_inc(x_277); -if (lean_obj_tag(x_277) == 0) +x_281 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_279, x_277, x_4, x_5, x_6, x_7, x_8, x_9, x_243); +if (lean_obj_tag(x_281) == 0) { -lean_object* x_278; lean_object* x_279; lean_object* x_280; +lean_object* x_282; +x_282 = lean_ctor_get(x_281, 0); +lean_inc(x_282); +if (lean_obj_tag(x_282) == 0) +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_free_object(x_2); -x_278 = lean_ctor_get(x_276, 1); -lean_inc(x_278); -lean_dec(x_276); -x_279 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_279, 0, x_272); +x_283 = lean_ctor_get(x_281, 1); +lean_inc(x_283); +lean_dec(x_281); +x_284 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_284, 0, x_277); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_279); -x_280 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_274, x_279, x_4, x_5, x_6, x_7, x_8, x_9, x_278); -if (lean_obj_tag(x_280) == 0) -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; -x_281 = lean_ctor_get(x_280, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_280, 1); -lean_inc(x_282); -lean_dec(x_280); -x_283 = lean_ctor_get(x_281, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_281, 1); lean_inc(x_284); +x_285 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_279, x_284, x_4, x_5, x_6, x_7, x_8, x_9, x_283); +if (lean_obj_tag(x_285) == 0) +{ +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; +x_286 = lean_ctor_get(x_285, 0); +lean_inc(x_286); +x_287 = lean_ctor_get(x_285, 1); +lean_inc(x_287); +lean_dec(x_285); +x_288 = lean_ctor_get(x_286, 0); +lean_inc(x_288); +x_289 = lean_ctor_get(x_286, 1); +lean_inc(x_289); +if (lean_is_exclusive(x_286)) { + lean_ctor_release(x_286, 0); + lean_ctor_release(x_286, 1); + x_290 = x_286; +} else { + lean_dec_ref(x_286); + x_290 = lean_box(0); +} +x_291 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_292 = l_Lean_Elab_Term_ensureHasType(x_284, x_288, x_291, x_4, x_5, x_6, x_7, x_8, x_9, x_287); +if (lean_obj_tag(x_292) == 0) +{ +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; +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +x_294 = lean_ctor_get(x_292, 1); +lean_inc(x_294); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_295 = x_292; +} else { + lean_dec_ref(x_292); + x_295 = lean_box(0); +} +if (lean_is_scalar(x_280)) { + x_296 = lean_alloc_ctor(1, 1, 0); +} else { + x_296 = x_280; +} +lean_ctor_set(x_296, 0, x_289); +lean_inc(x_293); +x_297 = l_Lean_mkApp(x_35, x_293); +x_298 = lean_expr_instantiate1(x_278, x_293); +lean_dec(x_278); +x_299 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_299, 0, x_293); +x_300 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_300, 0, x_238); +lean_ctor_set(x_300, 1, x_30); +lean_ctor_set(x_300, 2, x_296); +lean_ctor_set(x_300, 3, x_299); +lean_ctor_set(x_3, 1, x_237); +lean_ctor_set(x_3, 0, x_300); +if (lean_is_scalar(x_290)) { + x_301 = lean_alloc_ctor(0, 2, 0); +} else { + x_301 = x_290; +} +lean_ctor_set(x_301, 0, x_298); +lean_ctor_set(x_301, 1, x_3); +lean_ctor_set(x_29, 1, x_301); +lean_ctor_set(x_29, 0, x_297); +if (lean_is_scalar(x_295)) { + x_302 = lean_alloc_ctor(0, 2, 0); +} else { + x_302 = x_295; +} +lean_ctor_set(x_302, 0, x_29); +lean_ctor_set(x_302, 1, x_294); +x_15 = x_302; +goto block_23; +} +else +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; +lean_dec(x_290); +lean_dec(x_289); +lean_dec(x_280); +lean_dec(x_278); +lean_dec(x_238); +lean_free_object(x_29); +lean_dec(x_237); +lean_dec(x_35); +lean_dec(x_30); +lean_free_object(x_3); +x_303 = lean_ctor_get(x_292, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_292, 1); +lean_inc(x_304); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_305 = x_292; +} else { + lean_dec_ref(x_292); + x_305 = lean_box(0); +} +if (lean_is_scalar(x_305)) { + x_306 = lean_alloc_ctor(1, 2, 0); +} else { + x_306 = x_305; +} +lean_ctor_set(x_306, 0, x_303); +lean_ctor_set(x_306, 1, x_304); +x_15 = x_306; +goto block_23; +} +} +else +{ +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; +lean_dec(x_284); +lean_dec(x_280); +lean_dec(x_278); +lean_dec(x_238); +lean_free_object(x_29); +lean_dec(x_237); +lean_dec(x_35); +lean_dec(x_30); +lean_free_object(x_3); +x_307 = lean_ctor_get(x_285, 0); +lean_inc(x_307); +x_308 = lean_ctor_get(x_285, 1); +lean_inc(x_308); +if (lean_is_exclusive(x_285)) { + lean_ctor_release(x_285, 0); + lean_ctor_release(x_285, 1); + x_309 = x_285; +} else { + lean_dec_ref(x_285); + x_309 = lean_box(0); +} +if (lean_is_scalar(x_309)) { + x_310 = lean_alloc_ctor(1, 2, 0); +} else { + x_310 = x_309; +} +lean_ctor_set(x_310, 0, x_307); +lean_ctor_set(x_310, 1, x_308); +x_15 = x_310; +goto block_23; +} +} +else +{ +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_dec(x_279); +lean_dec(x_277); +x_311 = lean_ctor_get(x_281, 1); +lean_inc(x_311); if (lean_is_exclusive(x_281)) { lean_ctor_release(x_281, 0); lean_ctor_release(x_281, 1); - x_285 = x_281; + x_312 = x_281; } else { lean_dec_ref(x_281); - x_285 = lean_box(0); + x_312 = lean_box(0); } -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_286 = l_Lean_Elab_Term_ensureHasType(x_279, x_283, x_4, x_5, x_6, x_7, x_8, x_9, x_282); -if (lean_obj_tag(x_286) == 0) -{ -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; -x_287 = lean_ctor_get(x_286, 0); -lean_inc(x_287); -x_288 = lean_ctor_get(x_286, 1); -lean_inc(x_288); -if (lean_is_exclusive(x_286)) { - lean_ctor_release(x_286, 0); - lean_ctor_release(x_286, 1); - x_289 = x_286; +x_313 = lean_ctor_get(x_282, 0); +lean_inc(x_313); +if (lean_is_exclusive(x_282)) { + lean_ctor_release(x_282, 0); + x_314 = x_282; } else { - lean_dec_ref(x_286); - x_289 = lean_box(0); + lean_dec_ref(x_282); + x_314 = lean_box(0); } -if (lean_is_scalar(x_275)) { - x_290 = lean_alloc_ctor(1, 1, 0); +x_315 = l_Lean_mkHole(x_238); +if (lean_is_scalar(x_280)) { + x_316 = lean_alloc_ctor(0, 1, 0); } else { - x_290 = x_275; + x_316 = x_280; + lean_ctor_set_tag(x_316, 0); } -lean_ctor_set(x_290, 0, x_284); -lean_inc(x_287); -x_291 = l_Lean_mkApp(x_35, x_287); -x_292 = lean_expr_instantiate1(x_273, x_287); -lean_dec(x_273); -x_293 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_293, 0, x_287); -x_294 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_294, 0, x_234); -lean_ctor_set(x_294, 1, x_30); -lean_ctor_set(x_294, 2, x_290); -lean_ctor_set(x_294, 3, x_293); -lean_ctor_set(x_3, 1, x_233); -lean_ctor_set(x_3, 0, x_294); -if (lean_is_scalar(x_285)) { - x_295 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_316, 0, x_315); +lean_inc(x_313); +x_317 = l_Lean_mkApp(x_35, x_313); +x_318 = lean_expr_instantiate1(x_278, x_313); +lean_dec(x_278); +if (lean_is_scalar(x_314)) { + x_319 = lean_alloc_ctor(1, 1, 0); } else { - x_295 = x_285; + x_319 = x_314; } -lean_ctor_set(x_295, 0, x_292); -lean_ctor_set(x_295, 1, x_3); -lean_ctor_set(x_29, 1, x_295); -lean_ctor_set(x_29, 0, x_291); -if (lean_is_scalar(x_289)) { - x_296 = lean_alloc_ctor(0, 2, 0); -} else { - x_296 = x_289; -} -lean_ctor_set(x_296, 0, x_29); -lean_ctor_set(x_296, 1, x_288); -x_15 = x_296; -goto block_23; -} -else -{ -lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -lean_dec(x_285); -lean_dec(x_284); -lean_dec(x_275); -lean_dec(x_273); -lean_dec(x_234); -lean_free_object(x_29); -lean_dec(x_233); -lean_dec(x_35); -lean_dec(x_30); -lean_free_object(x_3); -x_297 = lean_ctor_get(x_286, 0); -lean_inc(x_297); -x_298 = lean_ctor_get(x_286, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_286)) { - lean_ctor_release(x_286, 0); - lean_ctor_release(x_286, 1); - x_299 = x_286; -} else { - lean_dec_ref(x_286); - x_299 = lean_box(0); -} -if (lean_is_scalar(x_299)) { - x_300 = lean_alloc_ctor(1, 2, 0); -} else { - x_300 = x_299; -} -lean_ctor_set(x_300, 0, x_297); -lean_ctor_set(x_300, 1, x_298); -x_15 = x_300; -goto block_23; -} -} -else -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -lean_dec(x_279); -lean_dec(x_275); -lean_dec(x_273); -lean_dec(x_234); -lean_free_object(x_29); -lean_dec(x_233); -lean_dec(x_35); -lean_dec(x_30); -lean_free_object(x_3); -x_301 = lean_ctor_get(x_280, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_280, 1); -lean_inc(x_302); -if (lean_is_exclusive(x_280)) { - lean_ctor_release(x_280, 0); - lean_ctor_release(x_280, 1); - x_303 = x_280; -} else { - lean_dec_ref(x_280); - x_303 = lean_box(0); -} -if (lean_is_scalar(x_303)) { - x_304 = lean_alloc_ctor(1, 2, 0); -} else { - x_304 = x_303; -} -lean_ctor_set(x_304, 0, x_301); -lean_ctor_set(x_304, 1, x_302); -x_15 = x_304; -goto block_23; -} -} -else -{ -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_dec(x_274); -lean_dec(x_272); -x_305 = lean_ctor_get(x_276, 1); -lean_inc(x_305); -if (lean_is_exclusive(x_276)) { - lean_ctor_release(x_276, 0); - lean_ctor_release(x_276, 1); - x_306 = x_276; -} else { - lean_dec_ref(x_276); - x_306 = lean_box(0); -} -x_307 = lean_ctor_get(x_277, 0); -lean_inc(x_307); -if (lean_is_exclusive(x_277)) { - lean_ctor_release(x_277, 0); - x_308 = x_277; -} else { - lean_dec_ref(x_277); - x_308 = lean_box(0); -} -x_309 = l_Lean_mkHole(x_234); -if (lean_is_scalar(x_275)) { - x_310 = lean_alloc_ctor(0, 1, 0); -} else { - x_310 = x_275; - lean_ctor_set_tag(x_310, 0); -} -lean_ctor_set(x_310, 0, x_309); -lean_inc(x_307); -x_311 = l_Lean_mkApp(x_35, x_307); -x_312 = lean_expr_instantiate1(x_273, x_307); -lean_dec(x_273); -if (lean_is_scalar(x_308)) { - x_313 = lean_alloc_ctor(1, 1, 0); -} else { - x_313 = x_308; -} -lean_ctor_set(x_313, 0, x_307); -x_314 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_314, 0, x_234); -lean_ctor_set(x_314, 1, x_30); -lean_ctor_set(x_314, 2, x_310); -lean_ctor_set(x_314, 3, x_313); -lean_ctor_set(x_3, 1, x_233); -lean_ctor_set(x_3, 0, x_314); +lean_ctor_set(x_319, 0, x_313); +x_320 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_320, 0, x_238); +lean_ctor_set(x_320, 1, x_30); +lean_ctor_set(x_320, 2, x_316); +lean_ctor_set(x_320, 3, x_319); +lean_ctor_set(x_3, 1, x_237); +lean_ctor_set(x_3, 0, x_320); lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_312); -lean_ctor_set(x_2, 0, x_311); -if (lean_is_scalar(x_306)) { - x_315 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_318); +lean_ctor_set(x_2, 0, x_317); +if (lean_is_scalar(x_312)) { + x_321 = lean_alloc_ctor(0, 2, 0); } else { - x_315 = x_306; + x_321 = x_312; } -lean_ctor_set(x_315, 0, x_2); -lean_ctor_set(x_315, 1, x_305); -x_15 = x_315; +lean_ctor_set(x_321, 0, x_2); +lean_ctor_set(x_321, 1, x_311); +x_15 = x_321; goto block_23; } } else { -lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; -lean_dec(x_275); -lean_dec(x_274); -lean_dec(x_273); -lean_dec(x_272); -lean_dec(x_234); +lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; +lean_dec(x_280); +lean_dec(x_279); +lean_dec(x_278); +lean_dec(x_277); +lean_dec(x_238); lean_free_object(x_29); -lean_dec(x_233); +lean_dec(x_237); lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_316 = lean_ctor_get(x_276, 0); -lean_inc(x_316); -x_317 = lean_ctor_get(x_276, 1); -lean_inc(x_317); -if (lean_is_exclusive(x_276)) { - lean_ctor_release(x_276, 0); - lean_ctor_release(x_276, 1); - x_318 = x_276; +x_322 = lean_ctor_get(x_281, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_281, 1); +lean_inc(x_323); +if (lean_is_exclusive(x_281)) { + lean_ctor_release(x_281, 0); + lean_ctor_release(x_281, 1); + x_324 = x_281; } else { - lean_dec_ref(x_276); - x_318 = lean_box(0); + lean_dec_ref(x_281); + x_324 = lean_box(0); } -if (lean_is_scalar(x_318)) { - x_319 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_324)) { + x_325 = lean_alloc_ctor(1, 2, 0); } else { - x_319 = x_318; + x_325 = x_324; } -lean_ctor_set(x_319, 0, x_316); -lean_ctor_set(x_319, 1, x_317); -x_15 = x_319; +lean_ctor_set(x_325, 0, x_322); +lean_ctor_set(x_325, 1, x_323); +x_15 = x_325; goto block_23; } } default: { -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; uint8_t 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; -x_320 = lean_ctor_get(x_238, 1); -lean_inc(x_320); -x_321 = lean_ctor_get(x_238, 2); -lean_inc(x_321); -lean_dec(x_238); -x_322 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_322, 0, x_320); -x_323 = lean_ctor_get(x_8, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_8, 1); -lean_inc(x_324); -x_325 = lean_ctor_get(x_8, 2); -lean_inc(x_325); -x_326 = lean_ctor_get(x_8, 3); +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; uint8_t x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +x_326 = lean_ctor_get(x_242, 1); lean_inc(x_326); -x_327 = l_Lean_replaceRef(x_234, x_326); -x_328 = l_Lean_replaceRef(x_327, x_326); -lean_dec(x_327); -x_329 = l_Lean_replaceRef(x_328, x_326); -lean_dec(x_326); -lean_dec(x_328); -x_330 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_330, 0, x_323); -lean_ctor_set(x_330, 1, x_324); -lean_ctor_set(x_330, 2, x_325); -lean_ctor_set(x_330, 3, x_329); -x_331 = 0; -x_332 = lean_box(0); +x_327 = lean_ctor_get(x_242, 2); +lean_inc(x_327); +lean_dec(x_242); +x_328 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_328, 0, x_326); +x_329 = lean_ctor_get(x_8, 0); +lean_inc(x_329); +x_330 = lean_ctor_get(x_8, 1); +lean_inc(x_330); +x_331 = lean_ctor_get(x_8, 2); +lean_inc(x_331); +x_332 = lean_ctor_get(x_8, 3); +lean_inc(x_332); +x_333 = l_Lean_replaceRef(x_238, x_332); +x_334 = l_Lean_replaceRef(x_333, x_332); +lean_dec(x_333); +x_335 = l_Lean_replaceRef(x_334, x_332); +lean_dec(x_332); +lean_dec(x_334); +x_336 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_336, 0, x_329); +lean_ctor_set(x_336, 1, x_330); +lean_ctor_set(x_336, 2, x_331); +lean_ctor_set(x_336, 3, x_335); +x_337 = 0; +x_338 = lean_box(0); lean_inc(x_6); -x_333 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_322, x_331, x_332, x_6, x_7, x_330, x_9, x_239); -lean_dec(x_330); -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -x_335 = lean_ctor_get(x_333, 1); -lean_inc(x_335); -if (lean_is_exclusive(x_333)) { - lean_ctor_release(x_333, 0); - lean_ctor_release(x_333, 1); - x_336 = x_333; +x_339 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_328, x_337, x_338, x_6, x_7, x_336, x_9, x_243); +lean_dec(x_336); +x_340 = lean_ctor_get(x_339, 0); +lean_inc(x_340); +x_341 = lean_ctor_get(x_339, 1); +lean_inc(x_341); +if (lean_is_exclusive(x_339)) { + lean_ctor_release(x_339, 0); + lean_ctor_release(x_339, 1); + x_342 = x_339; } else { - lean_dec_ref(x_333); - x_336 = lean_box(0); + lean_dec_ref(x_339); + x_342 = lean_box(0); } -x_337 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_334); -lean_inc(x_337); -x_338 = l_Lean_mkApp(x_35, x_337); -x_339 = lean_expr_instantiate1(x_321, x_337); -lean_dec(x_321); -x_340 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_340, 0, x_337); -x_341 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_341, 0, x_234); -lean_ctor_set(x_341, 1, x_30); -lean_ctor_set(x_341, 2, x_235); -lean_ctor_set(x_341, 3, x_340); -lean_ctor_set(x_3, 1, x_233); -lean_ctor_set(x_3, 0, x_341); +x_343 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_340); +lean_inc(x_343); +x_344 = l_Lean_mkApp(x_35, x_343); +x_345 = lean_expr_instantiate1(x_327, x_343); +lean_dec(x_327); +x_346 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_346, 0, x_343); +x_347 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_347, 0, x_238); +lean_ctor_set(x_347, 1, x_30); +lean_ctor_set(x_347, 2, x_239); +lean_ctor_set(x_347, 3, x_346); +lean_ctor_set(x_3, 1, x_237); +lean_ctor_set(x_3, 0, x_347); lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 0, x_339); -lean_ctor_set(x_2, 0, x_338); -if (lean_is_scalar(x_336)) { - x_342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_345); +lean_ctor_set(x_2, 0, x_344); +if (lean_is_scalar(x_342)) { + x_348 = lean_alloc_ctor(0, 2, 0); } else { - x_342 = x_336; + x_348 = x_342; } -lean_ctor_set(x_342, 0, x_2); -lean_ctor_set(x_342, 1, x_335); -x_15 = x_342; +lean_ctor_set(x_348, 0, x_2); +lean_ctor_set(x_348, 1, x_341); +x_15 = x_348; goto block_23; } } } else { -lean_object* x_343; -lean_dec(x_235); +lean_object* x_349; +lean_dec(x_239); lean_free_object(x_29); -lean_dec(x_233); +lean_dec(x_237); lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_343 = lean_box(0); -x_240 = x_343; -goto block_253; +x_349 = lean_box(0); +x_244 = x_349; +goto block_257; } -block_253: +block_257: { -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_dec(x_240); -x_241 = l_Lean_indentExpr(x_238); -x_242 = l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___closed__3; -x_243 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_241); -x_244 = lean_ctor_get(x_8, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_8, 1); -lean_inc(x_245); -x_246 = lean_ctor_get(x_8, 2); -lean_inc(x_246); -x_247 = lean_ctor_get(x_8, 3); -lean_inc(x_247); -x_248 = l_Lean_replaceRef(x_234, x_247); -lean_dec(x_234); -x_249 = l_Lean_replaceRef(x_248, x_247); -lean_dec(x_248); -x_250 = l_Lean_replaceRef(x_249, x_247); -lean_dec(x_247); -lean_dec(x_249); -x_251 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_251, 0, x_244); -lean_ctor_set(x_251, 1, x_245); -lean_ctor_set(x_251, 2, x_246); -lean_ctor_set(x_251, 3, x_250); +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_dec(x_244); +x_245 = l_Lean_indentExpr(x_242); +x_246 = l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___closed__3; +x_247 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_245); +x_248 = lean_ctor_get(x_8, 0); +lean_inc(x_248); +x_249 = lean_ctor_get(x_8, 1); +lean_inc(x_249); +x_250 = lean_ctor_get(x_8, 2); +lean_inc(x_250); +x_251 = lean_ctor_get(x_8, 3); +lean_inc(x_251); +x_252 = l_Lean_replaceRef(x_238, x_251); +lean_dec(x_238); +x_253 = l_Lean_replaceRef(x_252, x_251); +lean_dec(x_252); +x_254 = l_Lean_replaceRef(x_253, x_251); +lean_dec(x_251); +lean_dec(x_253); +x_255 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_255, 0, x_248); +lean_ctor_set(x_255, 1, x_249); +lean_ctor_set(x_255, 2, x_250); +lean_ctor_set(x_255, 3, x_254); lean_inc(x_4); lean_inc(x_1); -x_252 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_236, x_1, x_243, x_4, x_5, x_6, x_7, x_251, x_9, x_239); -lean_dec(x_251); -x_15 = x_252; +x_256 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_240, x_1, x_247, x_4, x_5, x_6, x_7, x_255, x_9, x_243); +lean_dec(x_255); +x_15 = x_256; goto block_23; } } else { -lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; -lean_dec(x_236); -lean_dec(x_235); -lean_dec(x_234); +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +lean_dec(x_240); +lean_dec(x_239); +lean_dec(x_238); lean_free_object(x_29); -lean_dec(x_233); +lean_dec(x_237); lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_344 = lean_ctor_get(x_237, 0); -lean_inc(x_344); -x_345 = lean_ctor_get(x_237, 1); -lean_inc(x_345); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - lean_ctor_release(x_237, 1); - x_346 = x_237; +x_350 = lean_ctor_get(x_241, 0); +lean_inc(x_350); +x_351 = lean_ctor_get(x_241, 1); +lean_inc(x_351); +if (lean_is_exclusive(x_241)) { + lean_ctor_release(x_241, 0); + lean_ctor_release(x_241, 1); + x_352 = x_241; } else { - lean_dec_ref(x_237); - x_346 = lean_box(0); + lean_dec_ref(x_241); + x_352 = lean_box(0); } -if (lean_is_scalar(x_346)) { - x_347 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_352)) { + x_353 = lean_alloc_ctor(1, 2, 0); } else { - x_347 = x_346; + x_353 = x_352; } -lean_ctor_set(x_347, 0, x_344); -lean_ctor_set(x_347, 1, x_345); -x_15 = x_347; +lean_ctor_set(x_353, 0, x_350); +lean_ctor_set(x_353, 1, x_351); +x_15 = x_353; goto block_23; } } } else { -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_object* x_354; -x_348 = lean_ctor_get(x_29, 0); -x_349 = lean_ctor_get(x_29, 1); -lean_inc(x_349); -lean_inc(x_348); +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_354 = lean_ctor_get(x_29, 0); +x_355 = lean_ctor_get(x_29, 1); +lean_inc(x_355); +lean_inc(x_354); lean_dec(x_29); -x_350 = lean_ctor_get(x_13, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_13, 2); -lean_inc(x_351); +x_356 = lean_ctor_get(x_13, 0); +lean_inc(x_356); +x_357 = lean_ctor_get(x_13, 2); +lean_inc(x_357); if (lean_is_exclusive(x_13)) { lean_ctor_release(x_13, 0); lean_ctor_release(x_13, 1); lean_ctor_release(x_13, 2); lean_ctor_release(x_13, 3); - x_352 = x_13; + x_358 = x_13; } else { lean_dec_ref(x_13); - x_352 = lean_box(0); + x_358 = lean_box(0); } -x_353 = lean_ctor_get(x_32, 1); -lean_inc(x_353); +x_359 = lean_ctor_get(x_32, 1); +lean_inc(x_359); lean_dec(x_32); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_354 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_348, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_354) == 0) +x_360 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_354, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_360) == 0) { -lean_object* x_355; lean_object* x_356; lean_object* x_357; -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); -if (lean_obj_tag(x_355) == 7) +lean_object* x_361; lean_object* x_362; lean_object* x_363; +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); +if (lean_obj_tag(x_361) == 7) { -lean_dec(x_353); -switch (lean_obj_tag(x_351)) { +lean_dec(x_359); +switch (lean_obj_tag(x_357)) { case 0: { -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; lean_object* x_376; -x_371 = lean_ctor_get(x_355, 1); -lean_inc(x_371); -x_372 = lean_ctor_get(x_355, 2); -lean_inc(x_372); -lean_dec(x_355); -x_373 = lean_ctor_get(x_351, 0); -lean_inc(x_373); -x_374 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_374, 0, x_371); -x_375 = 1; +lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; uint8_t x_382; lean_object* x_383; +x_377 = lean_ctor_get(x_361, 1); +lean_inc(x_377); +x_378 = lean_ctor_get(x_361, 2); +lean_inc(x_378); +lean_dec(x_361); +x_379 = lean_ctor_get(x_357, 0); +lean_inc(x_379); +x_380 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_380, 0, x_377); +x_381 = lean_box(0); +x_382 = 1; 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_376 = l_Lean_Elab_Term_elabTermEnsuringType(x_373, x_374, x_375, x_4, x_5, x_6, x_7, x_8, x_9, x_356); -if (lean_obj_tag(x_376) == 0) +x_383 = l_Lean_Elab_Term_elabTermEnsuringType(x_379, x_380, x_382, x_381, x_4, x_5, x_6, x_7, x_8, x_9, x_362); +if (lean_obj_tag(x_383) == 0) { -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; -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_376, 1); -lean_inc(x_378); -if (lean_is_exclusive(x_376)) { - lean_ctor_release(x_376, 0); - lean_ctor_release(x_376, 1); - x_379 = x_376; +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; +x_384 = lean_ctor_get(x_383, 0); +lean_inc(x_384); +x_385 = lean_ctor_get(x_383, 1); +lean_inc(x_385); +if (lean_is_exclusive(x_383)) { + lean_ctor_release(x_383, 0); + lean_ctor_release(x_383, 1); + x_386 = x_383; } else { - lean_dec_ref(x_376); - x_379 = lean_box(0); + lean_dec_ref(x_383); + x_386 = lean_box(0); } -lean_inc(x_377); -x_380 = l_Lean_mkApp(x_35, x_377); -x_381 = lean_expr_instantiate1(x_372, x_377); -lean_dec(x_372); -x_382 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_382, 0, x_377); -if (lean_is_scalar(x_352)) { - x_383 = lean_alloc_ctor(0, 4, 0); +lean_inc(x_384); +x_387 = l_Lean_mkApp(x_35, x_384); +x_388 = lean_expr_instantiate1(x_378, x_384); +lean_dec(x_378); +x_389 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_389, 0, x_384); +if (lean_is_scalar(x_358)) { + x_390 = lean_alloc_ctor(0, 4, 0); } else { - x_383 = x_352; + x_390 = x_358; } -lean_ctor_set(x_383, 0, x_350); -lean_ctor_set(x_383, 1, x_30); -lean_ctor_set(x_383, 2, x_351); -lean_ctor_set(x_383, 3, x_382); -lean_ctor_set(x_3, 1, x_349); -lean_ctor_set(x_3, 0, x_383); -x_384 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_384, 0, x_381); -lean_ctor_set(x_384, 1, x_3); -lean_ctor_set(x_2, 1, x_384); -lean_ctor_set(x_2, 0, x_380); -if (lean_is_scalar(x_379)) { - x_385 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_390, 0, x_356); +lean_ctor_set(x_390, 1, x_30); +lean_ctor_set(x_390, 2, x_357); +lean_ctor_set(x_390, 3, x_389); +lean_ctor_set(x_3, 1, x_355); +lean_ctor_set(x_3, 0, x_390); +x_391 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_391, 0, x_388); +lean_ctor_set(x_391, 1, x_3); +lean_ctor_set(x_2, 1, x_391); +lean_ctor_set(x_2, 0, x_387); +if (lean_is_scalar(x_386)) { + x_392 = lean_alloc_ctor(0, 2, 0); } else { - x_385 = x_379; + x_392 = x_386; } -lean_ctor_set(x_385, 0, x_2); -lean_ctor_set(x_385, 1, x_378); -x_15 = x_385; +lean_ctor_set(x_392, 0, x_2); +lean_ctor_set(x_392, 1, x_385); +x_15 = x_392; goto block_23; } else { -lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; -lean_dec(x_372); -lean_dec(x_352); -lean_dec(x_351); -lean_dec(x_350); -lean_dec(x_349); +lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; +lean_dec(x_378); +lean_dec(x_358); +lean_dec(x_357); +lean_dec(x_356); +lean_dec(x_355); lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_386 = lean_ctor_get(x_376, 0); -lean_inc(x_386); -x_387 = lean_ctor_get(x_376, 1); -lean_inc(x_387); -if (lean_is_exclusive(x_376)) { - lean_ctor_release(x_376, 0); - lean_ctor_release(x_376, 1); - x_388 = x_376; +x_393 = lean_ctor_get(x_383, 0); +lean_inc(x_393); +x_394 = lean_ctor_get(x_383, 1); +lean_inc(x_394); +if (lean_is_exclusive(x_383)) { + lean_ctor_release(x_383, 0); + lean_ctor_release(x_383, 1); + x_395 = x_383; } else { - lean_dec_ref(x_376); - x_388 = lean_box(0); + lean_dec_ref(x_383); + x_395 = lean_box(0); } -if (lean_is_scalar(x_388)) { - x_389 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_395)) { + x_396 = lean_alloc_ctor(1, 2, 0); } else { - x_389 = x_388; + x_396 = x_395; } -lean_ctor_set(x_389, 0, x_386); -lean_ctor_set(x_389, 1, x_387); -x_15 = x_389; +lean_ctor_set(x_396, 0, x_393); +lean_ctor_set(x_396, 1, x_394); +x_15 = x_396; goto block_23; } } case 1: { -lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; -x_390 = lean_ctor_get(x_355, 1); -lean_inc(x_390); -x_391 = lean_ctor_get(x_355, 2); -lean_inc(x_391); -lean_dec(x_355); -x_392 = lean_ctor_get(x_351, 0); -lean_inc(x_392); -if (lean_is_exclusive(x_351)) { - lean_ctor_release(x_351, 0); - x_393 = x_351; +lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_397 = lean_ctor_get(x_361, 1); +lean_inc(x_397); +x_398 = lean_ctor_get(x_361, 2); +lean_inc(x_398); +lean_dec(x_361); +x_399 = lean_ctor_get(x_357, 0); +lean_inc(x_399); +if (lean_is_exclusive(x_357)) { + lean_ctor_release(x_357, 0); + x_400 = x_357; } else { - lean_dec_ref(x_351); - x_393 = lean_box(0); + lean_dec_ref(x_357); + x_400 = lean_box(0); } lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_390); -x_394 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_392, x_390, x_4, x_5, x_6, x_7, x_8, x_9, x_356); -if (lean_obj_tag(x_394) == 0) +lean_inc(x_397); +x_401 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_399, x_397, x_4, x_5, x_6, x_7, x_8, x_9, x_362); +if (lean_obj_tag(x_401) == 0) { -lean_object* x_395; -x_395 = lean_ctor_get(x_394, 0); -lean_inc(x_395); -if (lean_obj_tag(x_395) == 0) +lean_object* x_402; +x_402 = lean_ctor_get(x_401, 0); +lean_inc(x_402); +if (lean_obj_tag(x_402) == 0) { -lean_object* x_396; lean_object* x_397; lean_object* x_398; +lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_free_object(x_2); -x_396 = lean_ctor_get(x_394, 1); -lean_inc(x_396); -lean_dec(x_394); -x_397 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_397, 0, x_390); +x_403 = lean_ctor_get(x_401, 1); +lean_inc(x_403); +lean_dec(x_401); +x_404 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_404, 0, x_397); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_397); -x_398 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_392, x_397, x_4, x_5, x_6, x_7, x_8, x_9, x_396); -if (lean_obj_tag(x_398) == 0) +lean_inc(x_404); +x_405 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_399, x_404, x_4, x_5, x_6, x_7, x_8, x_9, x_403); +if (lean_obj_tag(x_405) == 0) { -lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; -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 = lean_ctor_get(x_399, 0); -lean_inc(x_401); -x_402 = lean_ctor_get(x_399, 1); -lean_inc(x_402); -if (lean_is_exclusive(x_399)) { - lean_ctor_release(x_399, 0); - lean_ctor_release(x_399, 1); - x_403 = x_399; +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; +x_406 = lean_ctor_get(x_405, 0); +lean_inc(x_406); +x_407 = lean_ctor_get(x_405, 1); +lean_inc(x_407); +lean_dec(x_405); +x_408 = lean_ctor_get(x_406, 0); +lean_inc(x_408); +x_409 = lean_ctor_get(x_406, 1); +lean_inc(x_409); +if (lean_is_exclusive(x_406)) { + lean_ctor_release(x_406, 0); + lean_ctor_release(x_406, 1); + x_410 = x_406; } else { - lean_dec_ref(x_399); - x_403 = lean_box(0); + lean_dec_ref(x_406); + x_410 = lean_box(0); } +x_411 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_404 = l_Lean_Elab_Term_ensureHasType(x_397, x_401, x_4, x_5, x_6, x_7, x_8, x_9, x_400); -if (lean_obj_tag(x_404) == 0) +x_412 = l_Lean_Elab_Term_ensureHasType(x_404, x_408, x_411, x_4, x_5, x_6, x_7, x_8, x_9, x_407); +if (lean_obj_tag(x_412) == 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; -x_405 = lean_ctor_get(x_404, 0); -lean_inc(x_405); -x_406 = lean_ctor_get(x_404, 1); -lean_inc(x_406); -if (lean_is_exclusive(x_404)) { - lean_ctor_release(x_404, 0); - lean_ctor_release(x_404, 1); - x_407 = x_404; +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; +x_413 = lean_ctor_get(x_412, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_412, 1); +lean_inc(x_414); +if (lean_is_exclusive(x_412)) { + lean_ctor_release(x_412, 0); + lean_ctor_release(x_412, 1); + x_415 = x_412; } else { - lean_dec_ref(x_404); - x_407 = lean_box(0); + lean_dec_ref(x_412); + x_415 = lean_box(0); } -if (lean_is_scalar(x_393)) { - x_408 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_400)) { + x_416 = lean_alloc_ctor(1, 1, 0); } else { - x_408 = x_393; + x_416 = x_400; } -lean_ctor_set(x_408, 0, x_402); -lean_inc(x_405); -x_409 = l_Lean_mkApp(x_35, x_405); -x_410 = lean_expr_instantiate1(x_391, x_405); -lean_dec(x_391); -x_411 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_411, 0, x_405); -if (lean_is_scalar(x_352)) { - x_412 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_416, 0, x_409); +lean_inc(x_413); +x_417 = l_Lean_mkApp(x_35, x_413); +x_418 = lean_expr_instantiate1(x_398, x_413); +lean_dec(x_398); +x_419 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_419, 0, x_413); +if (lean_is_scalar(x_358)) { + x_420 = lean_alloc_ctor(0, 4, 0); } else { - x_412 = x_352; + x_420 = x_358; } -lean_ctor_set(x_412, 0, x_350); -lean_ctor_set(x_412, 1, x_30); -lean_ctor_set(x_412, 2, x_408); -lean_ctor_set(x_412, 3, x_411); -lean_ctor_set(x_3, 1, x_349); -lean_ctor_set(x_3, 0, x_412); -if (lean_is_scalar(x_403)) { - x_413 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_420, 0, x_356); +lean_ctor_set(x_420, 1, x_30); +lean_ctor_set(x_420, 2, x_416); +lean_ctor_set(x_420, 3, x_419); +lean_ctor_set(x_3, 1, x_355); +lean_ctor_set(x_3, 0, x_420); +if (lean_is_scalar(x_410)) { + x_421 = lean_alloc_ctor(0, 2, 0); } else { - x_413 = x_403; + x_421 = x_410; } -lean_ctor_set(x_413, 0, x_410); -lean_ctor_set(x_413, 1, x_3); -x_414 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_414, 0, x_409); -lean_ctor_set(x_414, 1, x_413); -if (lean_is_scalar(x_407)) { - x_415 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_421, 0, x_418); +lean_ctor_set(x_421, 1, x_3); +x_422 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_422, 0, x_417); +lean_ctor_set(x_422, 1, x_421); +if (lean_is_scalar(x_415)) { + x_423 = lean_alloc_ctor(0, 2, 0); } else { - x_415 = x_407; + x_423 = x_415; } -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_406); -x_15 = x_415; -goto block_23; -} -else -{ -lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; -lean_dec(x_403); -lean_dec(x_402); -lean_dec(x_393); -lean_dec(x_391); -lean_dec(x_352); -lean_dec(x_350); -lean_dec(x_349); -lean_dec(x_35); -lean_dec(x_30); -lean_free_object(x_3); -x_416 = lean_ctor_get(x_404, 0); -lean_inc(x_416); -x_417 = lean_ctor_get(x_404, 1); -lean_inc(x_417); -if (lean_is_exclusive(x_404)) { - lean_ctor_release(x_404, 0); - lean_ctor_release(x_404, 1); - x_418 = x_404; -} else { - lean_dec_ref(x_404); - x_418 = lean_box(0); -} -if (lean_is_scalar(x_418)) { - x_419 = lean_alloc_ctor(1, 2, 0); -} else { - x_419 = x_418; -} -lean_ctor_set(x_419, 0, x_416); -lean_ctor_set(x_419, 1, x_417); -x_15 = x_419; -goto block_23; -} -} -else -{ -lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; -lean_dec(x_397); -lean_dec(x_393); -lean_dec(x_391); -lean_dec(x_352); -lean_dec(x_350); -lean_dec(x_349); -lean_dec(x_35); -lean_dec(x_30); -lean_free_object(x_3); -x_420 = lean_ctor_get(x_398, 0); -lean_inc(x_420); -x_421 = lean_ctor_get(x_398, 1); -lean_inc(x_421); -if (lean_is_exclusive(x_398)) { - lean_ctor_release(x_398, 0); - lean_ctor_release(x_398, 1); - x_422 = x_398; -} else { - lean_dec_ref(x_398); - x_422 = lean_box(0); -} -if (lean_is_scalar(x_422)) { - x_423 = lean_alloc_ctor(1, 2, 0); -} else { - x_423 = x_422; -} -lean_ctor_set(x_423, 0, x_420); -lean_ctor_set(x_423, 1, x_421); +lean_ctor_set(x_423, 0, x_422); +lean_ctor_set(x_423, 1, x_414); x_15 = x_423; goto block_23; } -} else { -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_dec(x_392); -lean_dec(x_390); -x_424 = lean_ctor_get(x_394, 1); +lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; +lean_dec(x_410); +lean_dec(x_409); +lean_dec(x_400); +lean_dec(x_398); +lean_dec(x_358); +lean_dec(x_356); +lean_dec(x_355); +lean_dec(x_35); +lean_dec(x_30); +lean_free_object(x_3); +x_424 = lean_ctor_get(x_412, 0); lean_inc(x_424); -if (lean_is_exclusive(x_394)) { - lean_ctor_release(x_394, 0); - lean_ctor_release(x_394, 1); - x_425 = x_394; +x_425 = lean_ctor_get(x_412, 1); +lean_inc(x_425); +if (lean_is_exclusive(x_412)) { + lean_ctor_release(x_412, 0); + lean_ctor_release(x_412, 1); + x_426 = x_412; } else { - lean_dec_ref(x_394); - x_425 = lean_box(0); + lean_dec_ref(x_412); + x_426 = lean_box(0); } -x_426 = lean_ctor_get(x_395, 0); -lean_inc(x_426); -if (lean_is_exclusive(x_395)) { - lean_ctor_release(x_395, 0); - x_427 = x_395; +if (lean_is_scalar(x_426)) { + x_427 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_395); - x_427 = lean_box(0); + x_427 = x_426; } -x_428 = l_Lean_mkHole(x_350); -if (lean_is_scalar(x_393)) { - x_429 = lean_alloc_ctor(0, 1, 0); -} else { - x_429 = x_393; - lean_ctor_set_tag(x_429, 0); -} -lean_ctor_set(x_429, 0, x_428); -lean_inc(x_426); -x_430 = l_Lean_mkApp(x_35, x_426); -x_431 = lean_expr_instantiate1(x_391, x_426); -lean_dec(x_391); -if (lean_is_scalar(x_427)) { - x_432 = lean_alloc_ctor(1, 1, 0); -} else { - x_432 = x_427; -} -lean_ctor_set(x_432, 0, x_426); -if (lean_is_scalar(x_352)) { - x_433 = lean_alloc_ctor(0, 4, 0); -} else { - x_433 = x_352; -} -lean_ctor_set(x_433, 0, x_350); -lean_ctor_set(x_433, 1, x_30); -lean_ctor_set(x_433, 2, x_429); -lean_ctor_set(x_433, 3, x_432); -lean_ctor_set(x_3, 1, x_349); -lean_ctor_set(x_3, 0, x_433); -x_434 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_434, 0, x_431); -lean_ctor_set(x_434, 1, x_3); -lean_ctor_set(x_2, 1, x_434); -lean_ctor_set(x_2, 0, x_430); -if (lean_is_scalar(x_425)) { - x_435 = lean_alloc_ctor(0, 2, 0); -} else { - x_435 = x_425; -} -lean_ctor_set(x_435, 0, x_2); -lean_ctor_set(x_435, 1, x_424); -x_15 = x_435; +lean_ctor_set(x_427, 0, x_424); +lean_ctor_set(x_427, 1, x_425); +x_15 = x_427; goto block_23; } } else { -lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; -lean_dec(x_393); -lean_dec(x_392); -lean_dec(x_391); -lean_dec(x_390); -lean_dec(x_352); -lean_dec(x_350); -lean_dec(x_349); +lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; +lean_dec(x_404); +lean_dec(x_400); +lean_dec(x_398); +lean_dec(x_358); +lean_dec(x_356); +lean_dec(x_355); +lean_dec(x_35); +lean_dec(x_30); +lean_free_object(x_3); +x_428 = lean_ctor_get(x_405, 0); +lean_inc(x_428); +x_429 = lean_ctor_get(x_405, 1); +lean_inc(x_429); +if (lean_is_exclusive(x_405)) { + lean_ctor_release(x_405, 0); + lean_ctor_release(x_405, 1); + x_430 = x_405; +} else { + lean_dec_ref(x_405); + x_430 = lean_box(0); +} +if (lean_is_scalar(x_430)) { + x_431 = lean_alloc_ctor(1, 2, 0); +} else { + x_431 = x_430; +} +lean_ctor_set(x_431, 0, x_428); +lean_ctor_set(x_431, 1, x_429); +x_15 = x_431; +goto block_23; +} +} +else +{ +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_dec(x_399); +lean_dec(x_397); +x_432 = lean_ctor_get(x_401, 1); +lean_inc(x_432); +if (lean_is_exclusive(x_401)) { + lean_ctor_release(x_401, 0); + lean_ctor_release(x_401, 1); + x_433 = x_401; +} else { + lean_dec_ref(x_401); + x_433 = lean_box(0); +} +x_434 = lean_ctor_get(x_402, 0); +lean_inc(x_434); +if (lean_is_exclusive(x_402)) { + lean_ctor_release(x_402, 0); + x_435 = x_402; +} else { + lean_dec_ref(x_402); + x_435 = lean_box(0); +} +x_436 = l_Lean_mkHole(x_356); +if (lean_is_scalar(x_400)) { + x_437 = lean_alloc_ctor(0, 1, 0); +} else { + x_437 = x_400; + lean_ctor_set_tag(x_437, 0); +} +lean_ctor_set(x_437, 0, x_436); +lean_inc(x_434); +x_438 = l_Lean_mkApp(x_35, x_434); +x_439 = lean_expr_instantiate1(x_398, x_434); +lean_dec(x_398); +if (lean_is_scalar(x_435)) { + x_440 = lean_alloc_ctor(1, 1, 0); +} else { + x_440 = x_435; +} +lean_ctor_set(x_440, 0, x_434); +if (lean_is_scalar(x_358)) { + x_441 = lean_alloc_ctor(0, 4, 0); +} else { + x_441 = x_358; +} +lean_ctor_set(x_441, 0, x_356); +lean_ctor_set(x_441, 1, x_30); +lean_ctor_set(x_441, 2, x_437); +lean_ctor_set(x_441, 3, x_440); +lean_ctor_set(x_3, 1, x_355); +lean_ctor_set(x_3, 0, x_441); +x_442 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_442, 0, x_439); +lean_ctor_set(x_442, 1, x_3); +lean_ctor_set(x_2, 1, x_442); +lean_ctor_set(x_2, 0, x_438); +if (lean_is_scalar(x_433)) { + x_443 = lean_alloc_ctor(0, 2, 0); +} else { + x_443 = x_433; +} +lean_ctor_set(x_443, 0, x_2); +lean_ctor_set(x_443, 1, x_432); +x_15 = x_443; +goto block_23; +} +} +else +{ +lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; +lean_dec(x_400); +lean_dec(x_399); +lean_dec(x_398); +lean_dec(x_397); +lean_dec(x_358); +lean_dec(x_356); +lean_dec(x_355); lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_436 = lean_ctor_get(x_394, 0); -lean_inc(x_436); -x_437 = lean_ctor_get(x_394, 1); -lean_inc(x_437); -if (lean_is_exclusive(x_394)) { - lean_ctor_release(x_394, 0); - lean_ctor_release(x_394, 1); - x_438 = x_394; +x_444 = lean_ctor_get(x_401, 0); +lean_inc(x_444); +x_445 = lean_ctor_get(x_401, 1); +lean_inc(x_445); +if (lean_is_exclusive(x_401)) { + lean_ctor_release(x_401, 0); + lean_ctor_release(x_401, 1); + x_446 = x_401; } else { - lean_dec_ref(x_394); - x_438 = lean_box(0); + lean_dec_ref(x_401); + x_446 = lean_box(0); } -if (lean_is_scalar(x_438)) { - x_439 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_446)) { + x_447 = lean_alloc_ctor(1, 2, 0); } else { - x_439 = x_438; + x_447 = x_446; } -lean_ctor_set(x_439, 0, x_436); -lean_ctor_set(x_439, 1, x_437); -x_15 = x_439; +lean_ctor_set(x_447, 0, x_444); +lean_ctor_set(x_447, 1, x_445); +x_15 = x_447; goto block_23; } } default: { -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; uint8_t 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; -x_440 = lean_ctor_get(x_355, 1); -lean_inc(x_440); -x_441 = lean_ctor_get(x_355, 2); -lean_inc(x_441); -lean_dec(x_355); -x_442 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_442, 0, x_440); -x_443 = lean_ctor_get(x_8, 0); -lean_inc(x_443); -x_444 = lean_ctor_get(x_8, 1); -lean_inc(x_444); -x_445 = lean_ctor_get(x_8, 2); -lean_inc(x_445); -x_446 = lean_ctor_get(x_8, 3); -lean_inc(x_446); -x_447 = l_Lean_replaceRef(x_350, x_446); -x_448 = l_Lean_replaceRef(x_447, x_446); -lean_dec(x_447); -x_449 = l_Lean_replaceRef(x_448, x_446); -lean_dec(x_446); -lean_dec(x_448); -x_450 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_450, 0, x_443); -lean_ctor_set(x_450, 1, x_444); -lean_ctor_set(x_450, 2, x_445); -lean_ctor_set(x_450, 3, x_449); -x_451 = 0; -x_452 = lean_box(0); -lean_inc(x_6); -x_453 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_442, x_451, x_452, x_6, x_7, x_450, x_9, x_356); -lean_dec(x_450); -x_454 = lean_ctor_get(x_453, 0); +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; uint8_t 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; +x_448 = lean_ctor_get(x_361, 1); +lean_inc(x_448); +x_449 = lean_ctor_get(x_361, 2); +lean_inc(x_449); +lean_dec(x_361); +x_450 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_450, 0, x_448); +x_451 = lean_ctor_get(x_8, 0); +lean_inc(x_451); +x_452 = lean_ctor_get(x_8, 1); +lean_inc(x_452); +x_453 = lean_ctor_get(x_8, 2); +lean_inc(x_453); +x_454 = lean_ctor_get(x_8, 3); lean_inc(x_454); -x_455 = lean_ctor_get(x_453, 1); -lean_inc(x_455); -if (lean_is_exclusive(x_453)) { - lean_ctor_release(x_453, 0); - lean_ctor_release(x_453, 1); - x_456 = x_453; +x_455 = l_Lean_replaceRef(x_356, x_454); +x_456 = l_Lean_replaceRef(x_455, x_454); +lean_dec(x_455); +x_457 = l_Lean_replaceRef(x_456, x_454); +lean_dec(x_454); +lean_dec(x_456); +x_458 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_458, 0, x_451); +lean_ctor_set(x_458, 1, x_452); +lean_ctor_set(x_458, 2, x_453); +lean_ctor_set(x_458, 3, x_457); +x_459 = 0; +x_460 = lean_box(0); +lean_inc(x_6); +x_461 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_450, x_459, x_460, x_6, x_7, x_458, x_9, x_362); +lean_dec(x_458); +x_462 = lean_ctor_get(x_461, 0); +lean_inc(x_462); +x_463 = lean_ctor_get(x_461, 1); +lean_inc(x_463); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + lean_ctor_release(x_461, 1); + x_464 = x_461; } else { - lean_dec_ref(x_453); - x_456 = lean_box(0); + lean_dec_ref(x_461); + x_464 = lean_box(0); } -x_457 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_454); -lean_inc(x_457); -x_458 = l_Lean_mkApp(x_35, x_457); -x_459 = lean_expr_instantiate1(x_441, x_457); -lean_dec(x_441); -x_460 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_460, 0, x_457); -if (lean_is_scalar(x_352)) { - x_461 = lean_alloc_ctor(0, 4, 0); +x_465 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_462); +lean_inc(x_465); +x_466 = l_Lean_mkApp(x_35, x_465); +x_467 = lean_expr_instantiate1(x_449, x_465); +lean_dec(x_449); +x_468 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_468, 0, x_465); +if (lean_is_scalar(x_358)) { + x_469 = lean_alloc_ctor(0, 4, 0); } else { - x_461 = x_352; + x_469 = x_358; } -lean_ctor_set(x_461, 0, x_350); -lean_ctor_set(x_461, 1, x_30); -lean_ctor_set(x_461, 2, x_351); -lean_ctor_set(x_461, 3, x_460); -lean_ctor_set(x_3, 1, x_349); -lean_ctor_set(x_3, 0, x_461); -x_462 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_462, 0, x_459); -lean_ctor_set(x_462, 1, x_3); -lean_ctor_set(x_2, 1, x_462); -lean_ctor_set(x_2, 0, x_458); -if (lean_is_scalar(x_456)) { - x_463 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_469, 0, x_356); +lean_ctor_set(x_469, 1, x_30); +lean_ctor_set(x_469, 2, x_357); +lean_ctor_set(x_469, 3, x_468); +lean_ctor_set(x_3, 1, x_355); +lean_ctor_set(x_3, 0, x_469); +x_470 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_470, 0, x_467); +lean_ctor_set(x_470, 1, x_3); +lean_ctor_set(x_2, 1, x_470); +lean_ctor_set(x_2, 0, x_466); +if (lean_is_scalar(x_464)) { + x_471 = lean_alloc_ctor(0, 2, 0); } else { - x_463 = x_456; + x_471 = x_464; } -lean_ctor_set(x_463, 0, x_2); -lean_ctor_set(x_463, 1, x_455); -x_15 = x_463; +lean_ctor_set(x_471, 0, x_2); +lean_ctor_set(x_471, 1, x_463); +x_15 = x_471; goto block_23; } } } else { -lean_object* x_464; -lean_dec(x_352); -lean_dec(x_351); -lean_dec(x_349); +lean_object* x_472; +lean_dec(x_358); +lean_dec(x_357); +lean_dec(x_355); lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_464 = lean_box(0); -x_357 = x_464; -goto block_370; +x_472 = lean_box(0); +x_363 = x_472; +goto block_376; } -block_370: +block_376: { -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_dec(x_357); -x_358 = l_Lean_indentExpr(x_355); -x_359 = l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___closed__3; -x_360 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_358); -x_361 = lean_ctor_get(x_8, 0); -lean_inc(x_361); -x_362 = lean_ctor_get(x_8, 1); -lean_inc(x_362); -x_363 = lean_ctor_get(x_8, 2); -lean_inc(x_363); -x_364 = lean_ctor_get(x_8, 3); -lean_inc(x_364); -x_365 = l_Lean_replaceRef(x_350, x_364); -lean_dec(x_350); -x_366 = l_Lean_replaceRef(x_365, x_364); -lean_dec(x_365); -x_367 = l_Lean_replaceRef(x_366, x_364); -lean_dec(x_364); -lean_dec(x_366); -x_368 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_368, 0, x_361); -lean_ctor_set(x_368, 1, x_362); -lean_ctor_set(x_368, 2, x_363); -lean_ctor_set(x_368, 3, x_367); +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_dec(x_363); +x_364 = l_Lean_indentExpr(x_361); +x_365 = l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___closed__3; +x_366 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_364); +x_367 = lean_ctor_get(x_8, 0); +lean_inc(x_367); +x_368 = lean_ctor_get(x_8, 1); +lean_inc(x_368); +x_369 = lean_ctor_get(x_8, 2); +lean_inc(x_369); +x_370 = lean_ctor_get(x_8, 3); +lean_inc(x_370); +x_371 = l_Lean_replaceRef(x_356, x_370); +lean_dec(x_356); +x_372 = l_Lean_replaceRef(x_371, x_370); +lean_dec(x_371); +x_373 = l_Lean_replaceRef(x_372, x_370); +lean_dec(x_370); +lean_dec(x_372); +x_374 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_374, 0, x_367); +lean_ctor_set(x_374, 1, x_368); +lean_ctor_set(x_374, 2, x_369); +lean_ctor_set(x_374, 3, x_373); lean_inc(x_4); lean_inc(x_1); -x_369 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_353, x_1, x_360, x_4, x_5, x_6, x_7, x_368, x_9, x_356); -lean_dec(x_368); -x_15 = x_369; +x_375 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_359, x_1, x_366, x_4, x_5, x_6, x_7, x_374, x_9, x_362); +lean_dec(x_374); +x_15 = x_375; goto block_23; } } else { -lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; -lean_dec(x_353); -lean_dec(x_352); -lean_dec(x_351); -lean_dec(x_350); -lean_dec(x_349); +lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; +lean_dec(x_359); +lean_dec(x_358); +lean_dec(x_357); +lean_dec(x_356); +lean_dec(x_355); lean_free_object(x_2); lean_dec(x_35); lean_dec(x_30); lean_free_object(x_3); -x_465 = lean_ctor_get(x_354, 0); -lean_inc(x_465); -x_466 = lean_ctor_get(x_354, 1); -lean_inc(x_466); -if (lean_is_exclusive(x_354)) { - lean_ctor_release(x_354, 0); - lean_ctor_release(x_354, 1); - x_467 = x_354; +x_473 = lean_ctor_get(x_360, 0); +lean_inc(x_473); +x_474 = lean_ctor_get(x_360, 1); +lean_inc(x_474); +if (lean_is_exclusive(x_360)) { + lean_ctor_release(x_360, 0); + lean_ctor_release(x_360, 1); + x_475 = x_360; } else { - lean_dec_ref(x_354); - x_467 = lean_box(0); + lean_dec_ref(x_360); + x_475 = lean_box(0); } -if (lean_is_scalar(x_467)) { - x_468 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_475)) { + x_476 = lean_alloc_ctor(1, 2, 0); } else { - x_468 = x_467; + x_476 = x_475; } -lean_ctor_set(x_468, 0, x_465); -lean_ctor_set(x_468, 1, x_466); -x_15 = x_468; +lean_ctor_set(x_476, 0, x_473); +lean_ctor_set(x_476, 1, x_474); +x_15 = x_476; goto block_23; } } } 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; lean_object* x_475; lean_object* x_476; lean_object* x_477; -x_469 = lean_ctor_get(x_2, 0); -lean_inc(x_469); +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_2, 0); +lean_inc(x_477); lean_dec(x_2); -x_470 = lean_ctor_get(x_29, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_29, 1); -lean_inc(x_471); +x_478 = lean_ctor_get(x_29, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_29, 1); +lean_inc(x_479); if (lean_is_exclusive(x_29)) { lean_ctor_release(x_29, 0); lean_ctor_release(x_29, 1); - x_472 = x_29; + x_480 = x_29; } else { lean_dec_ref(x_29); - x_472 = lean_box(0); + x_480 = lean_box(0); } -x_473 = lean_ctor_get(x_13, 0); -lean_inc(x_473); -x_474 = lean_ctor_get(x_13, 2); -lean_inc(x_474); +x_481 = lean_ctor_get(x_13, 0); +lean_inc(x_481); +x_482 = lean_ctor_get(x_13, 2); +lean_inc(x_482); if (lean_is_exclusive(x_13)) { lean_ctor_release(x_13, 0); lean_ctor_release(x_13, 1); lean_ctor_release(x_13, 2); lean_ctor_release(x_13, 3); - x_475 = x_13; + x_483 = x_13; } else { lean_dec_ref(x_13); - x_475 = lean_box(0); + x_483 = lean_box(0); } -x_476 = lean_ctor_get(x_32, 1); -lean_inc(x_476); +x_484 = lean_ctor_get(x_32, 1); +lean_inc(x_484); lean_dec(x_32); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_477 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_470, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_477) == 0) +x_485 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_478, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_485) == 0) { -lean_object* x_478; lean_object* x_479; lean_object* x_480; -x_478 = lean_ctor_get(x_477, 0); -lean_inc(x_478); -x_479 = lean_ctor_get(x_477, 1); -lean_inc(x_479); -lean_dec(x_477); -if (lean_obj_tag(x_478) == 7) +lean_object* x_486; lean_object* x_487; lean_object* x_488; +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); +if (lean_obj_tag(x_486) == 7) { -lean_dec(x_476); -switch (lean_obj_tag(x_474)) { +lean_dec(x_484); +switch (lean_obj_tag(x_482)) { case 0: { -lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; uint8_t x_498; lean_object* x_499; -x_494 = lean_ctor_get(x_478, 1); -lean_inc(x_494); -x_495 = lean_ctor_get(x_478, 2); -lean_inc(x_495); -lean_dec(x_478); -x_496 = lean_ctor_get(x_474, 0); -lean_inc(x_496); -x_497 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_497, 0, x_494); -x_498 = 1; +lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; uint8_t x_507; lean_object* x_508; +x_502 = lean_ctor_get(x_486, 1); +lean_inc(x_502); +x_503 = lean_ctor_get(x_486, 2); +lean_inc(x_503); +lean_dec(x_486); +x_504 = lean_ctor_get(x_482, 0); +lean_inc(x_504); +x_505 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_505, 0, x_502); +x_506 = lean_box(0); +x_507 = 1; 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_499 = l_Lean_Elab_Term_elabTermEnsuringType(x_496, x_497, x_498, x_4, x_5, x_6, x_7, x_8, x_9, x_479); -if (lean_obj_tag(x_499) == 0) +x_508 = l_Lean_Elab_Term_elabTermEnsuringType(x_504, x_505, x_507, x_506, x_4, x_5, x_6, x_7, x_8, x_9, x_487); +if (lean_obj_tag(x_508) == 0) { -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; -x_500 = lean_ctor_get(x_499, 0); -lean_inc(x_500); -x_501 = lean_ctor_get(x_499, 1); -lean_inc(x_501); -if (lean_is_exclusive(x_499)) { - lean_ctor_release(x_499, 0); - lean_ctor_release(x_499, 1); - x_502 = x_499; +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; +x_509 = lean_ctor_get(x_508, 0); +lean_inc(x_509); +x_510 = lean_ctor_get(x_508, 1); +lean_inc(x_510); +if (lean_is_exclusive(x_508)) { + lean_ctor_release(x_508, 0); + lean_ctor_release(x_508, 1); + x_511 = x_508; } else { - lean_dec_ref(x_499); - x_502 = lean_box(0); + lean_dec_ref(x_508); + x_511 = lean_box(0); } -lean_inc(x_500); -x_503 = l_Lean_mkApp(x_469, x_500); -x_504 = lean_expr_instantiate1(x_495, x_500); -lean_dec(x_495); -x_505 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_505, 0, x_500); -if (lean_is_scalar(x_475)) { - x_506 = lean_alloc_ctor(0, 4, 0); +lean_inc(x_509); +x_512 = l_Lean_mkApp(x_477, x_509); +x_513 = lean_expr_instantiate1(x_503, x_509); +lean_dec(x_503); +x_514 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_514, 0, x_509); +if (lean_is_scalar(x_483)) { + x_515 = lean_alloc_ctor(0, 4, 0); } else { - x_506 = x_475; + x_515 = x_483; } -lean_ctor_set(x_506, 0, x_473); -lean_ctor_set(x_506, 1, x_30); -lean_ctor_set(x_506, 2, x_474); -lean_ctor_set(x_506, 3, x_505); -lean_ctor_set(x_3, 1, x_471); -lean_ctor_set(x_3, 0, x_506); -if (lean_is_scalar(x_472)) { - x_507 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_515, 0, x_481); +lean_ctor_set(x_515, 1, x_30); +lean_ctor_set(x_515, 2, x_482); +lean_ctor_set(x_515, 3, x_514); +lean_ctor_set(x_3, 1, x_479); +lean_ctor_set(x_3, 0, x_515); +if (lean_is_scalar(x_480)) { + x_516 = lean_alloc_ctor(0, 2, 0); } else { - x_507 = x_472; + x_516 = x_480; } -lean_ctor_set(x_507, 0, x_504); -lean_ctor_set(x_507, 1, x_3); -x_508 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_508, 0, x_503); -lean_ctor_set(x_508, 1, x_507); -if (lean_is_scalar(x_502)) { - x_509 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_516, 0, x_513); +lean_ctor_set(x_516, 1, x_3); +x_517 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_517, 0, x_512); +lean_ctor_set(x_517, 1, x_516); +if (lean_is_scalar(x_511)) { + x_518 = lean_alloc_ctor(0, 2, 0); } else { - x_509 = x_502; + x_518 = x_511; } -lean_ctor_set(x_509, 0, x_508); -lean_ctor_set(x_509, 1, x_501); -x_15 = x_509; +lean_ctor_set(x_518, 0, x_517); +lean_ctor_set(x_518, 1, x_510); +x_15 = x_518; goto block_23; } else { -lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; -lean_dec(x_495); -lean_dec(x_475); -lean_dec(x_474); -lean_dec(x_473); -lean_dec(x_472); -lean_dec(x_471); -lean_dec(x_469); +lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; +lean_dec(x_503); +lean_dec(x_483); +lean_dec(x_482); +lean_dec(x_481); +lean_dec(x_480); +lean_dec(x_479); +lean_dec(x_477); lean_dec(x_30); lean_free_object(x_3); -x_510 = lean_ctor_get(x_499, 0); -lean_inc(x_510); -x_511 = lean_ctor_get(x_499, 1); -lean_inc(x_511); -if (lean_is_exclusive(x_499)) { - lean_ctor_release(x_499, 0); - lean_ctor_release(x_499, 1); - x_512 = x_499; +x_519 = lean_ctor_get(x_508, 0); +lean_inc(x_519); +x_520 = lean_ctor_get(x_508, 1); +lean_inc(x_520); +if (lean_is_exclusive(x_508)) { + lean_ctor_release(x_508, 0); + lean_ctor_release(x_508, 1); + x_521 = x_508; } else { - lean_dec_ref(x_499); - x_512 = lean_box(0); + lean_dec_ref(x_508); + x_521 = lean_box(0); } -if (lean_is_scalar(x_512)) { - x_513 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_521)) { + x_522 = lean_alloc_ctor(1, 2, 0); } else { - x_513 = x_512; + x_522 = x_521; } -lean_ctor_set(x_513, 0, x_510); -lean_ctor_set(x_513, 1, x_511); -x_15 = x_513; +lean_ctor_set(x_522, 0, x_519); +lean_ctor_set(x_522, 1, x_520); +x_15 = x_522; goto block_23; } } case 1: { -lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; -x_514 = lean_ctor_get(x_478, 1); -lean_inc(x_514); -x_515 = lean_ctor_get(x_478, 2); -lean_inc(x_515); -lean_dec(x_478); -x_516 = lean_ctor_get(x_474, 0); -lean_inc(x_516); -if (lean_is_exclusive(x_474)) { - lean_ctor_release(x_474, 0); - x_517 = x_474; +lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; +x_523 = lean_ctor_get(x_486, 1); +lean_inc(x_523); +x_524 = lean_ctor_get(x_486, 2); +lean_inc(x_524); +lean_dec(x_486); +x_525 = lean_ctor_get(x_482, 0); +lean_inc(x_525); +if (lean_is_exclusive(x_482)) { + lean_ctor_release(x_482, 0); + x_526 = x_482; } else { - lean_dec_ref(x_474); - x_517 = lean_box(0); + lean_dec_ref(x_482); + x_526 = lean_box(0); } lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_514); -x_518 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_516, x_514, x_4, x_5, x_6, x_7, x_8, x_9, x_479); -if (lean_obj_tag(x_518) == 0) +lean_inc(x_523); +x_527 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_525, x_523, x_4, x_5, x_6, x_7, x_8, x_9, x_487); +if (lean_obj_tag(x_527) == 0) { -lean_object* x_519; -x_519 = lean_ctor_get(x_518, 0); -lean_inc(x_519); -if (lean_obj_tag(x_519) == 0) +lean_object* x_528; +x_528 = lean_ctor_get(x_527, 0); +lean_inc(x_528); +if (lean_obj_tag(x_528) == 0) { -lean_object* x_520; lean_object* x_521; lean_object* x_522; -x_520 = lean_ctor_get(x_518, 1); -lean_inc(x_520); -lean_dec(x_518); -x_521 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_521, 0, x_514); +lean_object* x_529; lean_object* x_530; lean_object* x_531; +x_529 = lean_ctor_get(x_527, 1); +lean_inc(x_529); +lean_dec(x_527); +x_530 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_530, 0, x_523); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_521); -x_522 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_516, x_521, x_4, x_5, x_6, x_7, x_8, x_9, x_520); -if (lean_obj_tag(x_522) == 0) +lean_inc(x_530); +x_531 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_525, x_530, x_4, x_5, x_6, x_7, x_8, x_9, x_529); +if (lean_obj_tag(x_531) == 0) { -lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; -x_523 = lean_ctor_get(x_522, 0); -lean_inc(x_523); -x_524 = lean_ctor_get(x_522, 1); -lean_inc(x_524); -lean_dec(x_522); -x_525 = lean_ctor_get(x_523, 0); -lean_inc(x_525); -x_526 = lean_ctor_get(x_523, 1); -lean_inc(x_526); -if (lean_is_exclusive(x_523)) { - lean_ctor_release(x_523, 0); - lean_ctor_release(x_523, 1); - x_527 = x_523; +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; +x_532 = lean_ctor_get(x_531, 0); +lean_inc(x_532); +x_533 = lean_ctor_get(x_531, 1); +lean_inc(x_533); +lean_dec(x_531); +x_534 = lean_ctor_get(x_532, 0); +lean_inc(x_534); +x_535 = lean_ctor_get(x_532, 1); +lean_inc(x_535); +if (lean_is_exclusive(x_532)) { + lean_ctor_release(x_532, 0); + lean_ctor_release(x_532, 1); + x_536 = x_532; } else { - lean_dec_ref(x_523); - x_527 = lean_box(0); + lean_dec_ref(x_532); + x_536 = lean_box(0); } +x_537 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_528 = l_Lean_Elab_Term_ensureHasType(x_521, x_525, x_4, x_5, x_6, x_7, x_8, x_9, x_524); -if (lean_obj_tag(x_528) == 0) +x_538 = l_Lean_Elab_Term_ensureHasType(x_530, x_534, x_537, x_4, x_5, x_6, x_7, x_8, x_9, x_533); +if (lean_obj_tag(x_538) == 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; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; -x_529 = lean_ctor_get(x_528, 0); -lean_inc(x_529); -x_530 = lean_ctor_get(x_528, 1); -lean_inc(x_530); -if (lean_is_exclusive(x_528)) { - lean_ctor_release(x_528, 0); - lean_ctor_release(x_528, 1); - x_531 = x_528; -} else { - lean_dec_ref(x_528); - x_531 = lean_box(0); -} -if (lean_is_scalar(x_517)) { - x_532 = lean_alloc_ctor(1, 1, 0); -} else { - x_532 = x_517; -} -lean_ctor_set(x_532, 0, x_526); -lean_inc(x_529); -x_533 = l_Lean_mkApp(x_469, x_529); -x_534 = lean_expr_instantiate1(x_515, x_529); -lean_dec(x_515); -x_535 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_535, 0, x_529); -if (lean_is_scalar(x_475)) { - x_536 = lean_alloc_ctor(0, 4, 0); -} else { - x_536 = x_475; -} -lean_ctor_set(x_536, 0, x_473); -lean_ctor_set(x_536, 1, x_30); -lean_ctor_set(x_536, 2, x_532); -lean_ctor_set(x_536, 3, x_535); -lean_ctor_set(x_3, 1, x_471); -lean_ctor_set(x_3, 0, x_536); -if (lean_is_scalar(x_527)) { - x_537 = lean_alloc_ctor(0, 2, 0); -} else { - x_537 = x_527; -} -lean_ctor_set(x_537, 0, x_534); -lean_ctor_set(x_537, 1, x_3); -if (lean_is_scalar(x_472)) { - x_538 = lean_alloc_ctor(0, 2, 0); -} else { - x_538 = x_472; -} -lean_ctor_set(x_538, 0, x_533); -lean_ctor_set(x_538, 1, x_537); -if (lean_is_scalar(x_531)) { - x_539 = lean_alloc_ctor(0, 2, 0); -} else { - x_539 = x_531; -} -lean_ctor_set(x_539, 0, x_538); -lean_ctor_set(x_539, 1, x_530); -x_15 = x_539; -goto block_23; -} -else -{ -lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; -lean_dec(x_527); -lean_dec(x_526); -lean_dec(x_517); -lean_dec(x_515); -lean_dec(x_475); -lean_dec(x_473); -lean_dec(x_472); -lean_dec(x_471); -lean_dec(x_469); -lean_dec(x_30); -lean_free_object(x_3); -x_540 = lean_ctor_get(x_528, 0); +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; +x_539 = lean_ctor_get(x_538, 0); +lean_inc(x_539); +x_540 = lean_ctor_get(x_538, 1); lean_inc(x_540); -x_541 = lean_ctor_get(x_528, 1); -lean_inc(x_541); -if (lean_is_exclusive(x_528)) { - lean_ctor_release(x_528, 0); - lean_ctor_release(x_528, 1); - x_542 = x_528; +if (lean_is_exclusive(x_538)) { + lean_ctor_release(x_538, 0); + lean_ctor_release(x_538, 1); + x_541 = x_538; } else { - lean_dec_ref(x_528); - x_542 = lean_box(0); + lean_dec_ref(x_538); + x_541 = lean_box(0); } -if (lean_is_scalar(x_542)) { - x_543 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_526)) { + x_542 = lean_alloc_ctor(1, 1, 0); } else { - x_543 = x_542; + x_542 = x_526; } -lean_ctor_set(x_543, 0, x_540); -lean_ctor_set(x_543, 1, x_541); -x_15 = x_543; -goto block_23; -} -} -else -{ -lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; -lean_dec(x_521); -lean_dec(x_517); -lean_dec(x_515); -lean_dec(x_475); -lean_dec(x_473); -lean_dec(x_472); -lean_dec(x_471); -lean_dec(x_469); -lean_dec(x_30); -lean_free_object(x_3); -x_544 = lean_ctor_get(x_522, 0); -lean_inc(x_544); -x_545 = lean_ctor_get(x_522, 1); -lean_inc(x_545); -if (lean_is_exclusive(x_522)) { - lean_ctor_release(x_522, 0); - lean_ctor_release(x_522, 1); - x_546 = x_522; +lean_ctor_set(x_542, 0, x_535); +lean_inc(x_539); +x_543 = l_Lean_mkApp(x_477, x_539); +x_544 = lean_expr_instantiate1(x_524, x_539); +lean_dec(x_524); +x_545 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_545, 0, x_539); +if (lean_is_scalar(x_483)) { + x_546 = lean_alloc_ctor(0, 4, 0); } else { - lean_dec_ref(x_522); - x_546 = lean_box(0); + x_546 = x_483; } -if (lean_is_scalar(x_546)) { - x_547 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_546, 0, x_481); +lean_ctor_set(x_546, 1, x_30); +lean_ctor_set(x_546, 2, x_542); +lean_ctor_set(x_546, 3, x_545); +lean_ctor_set(x_3, 1, x_479); +lean_ctor_set(x_3, 0, x_546); +if (lean_is_scalar(x_536)) { + x_547 = lean_alloc_ctor(0, 2, 0); } else { - x_547 = x_546; + x_547 = x_536; } lean_ctor_set(x_547, 0, x_544); -lean_ctor_set(x_547, 1, x_545); -x_15 = x_547; -goto block_23; +lean_ctor_set(x_547, 1, x_3); +if (lean_is_scalar(x_480)) { + x_548 = lean_alloc_ctor(0, 2, 0); +} else { + x_548 = x_480; } +lean_ctor_set(x_548, 0, x_543); +lean_ctor_set(x_548, 1, x_547); +if (lean_is_scalar(x_541)) { + x_549 = lean_alloc_ctor(0, 2, 0); +} else { + x_549 = x_541; +} +lean_ctor_set(x_549, 0, x_548); +lean_ctor_set(x_549, 1, x_540); +x_15 = x_549; +goto block_23; } else { -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_dec(x_516); -lean_dec(x_514); -x_548 = lean_ctor_get(x_518, 1); -lean_inc(x_548); -if (lean_is_exclusive(x_518)) { - lean_ctor_release(x_518, 0); - lean_ctor_release(x_518, 1); - x_549 = x_518; -} else { - lean_dec_ref(x_518); - x_549 = lean_box(0); -} -x_550 = lean_ctor_get(x_519, 0); -lean_inc(x_550); -if (lean_is_exclusive(x_519)) { - lean_ctor_release(x_519, 0); - x_551 = x_519; -} else { - lean_dec_ref(x_519); - x_551 = lean_box(0); -} -x_552 = l_Lean_mkHole(x_473); -if (lean_is_scalar(x_517)) { - x_553 = lean_alloc_ctor(0, 1, 0); -} else { - x_553 = x_517; - lean_ctor_set_tag(x_553, 0); -} -lean_ctor_set(x_553, 0, x_552); -lean_inc(x_550); -x_554 = l_Lean_mkApp(x_469, x_550); -x_555 = lean_expr_instantiate1(x_515, x_550); -lean_dec(x_515); -if (lean_is_scalar(x_551)) { - x_556 = lean_alloc_ctor(1, 1, 0); -} else { - x_556 = x_551; -} -lean_ctor_set(x_556, 0, x_550); -if (lean_is_scalar(x_475)) { - x_557 = lean_alloc_ctor(0, 4, 0); -} else { - x_557 = x_475; -} -lean_ctor_set(x_557, 0, x_473); -lean_ctor_set(x_557, 1, x_30); -lean_ctor_set(x_557, 2, x_553); -lean_ctor_set(x_557, 3, x_556); -lean_ctor_set(x_3, 1, x_471); -lean_ctor_set(x_3, 0, x_557); -if (lean_is_scalar(x_472)) { - x_558 = lean_alloc_ctor(0, 2, 0); -} else { - x_558 = x_472; -} -lean_ctor_set(x_558, 0, x_555); -lean_ctor_set(x_558, 1, x_3); -x_559 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_559, 0, x_554); -lean_ctor_set(x_559, 1, x_558); -if (lean_is_scalar(x_549)) { - x_560 = lean_alloc_ctor(0, 2, 0); -} else { - x_560 = x_549; -} -lean_ctor_set(x_560, 0, x_559); -lean_ctor_set(x_560, 1, x_548); -x_15 = x_560; -goto block_23; -} -} -else -{ -lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; -lean_dec(x_517); -lean_dec(x_516); -lean_dec(x_515); -lean_dec(x_514); -lean_dec(x_475); -lean_dec(x_473); -lean_dec(x_472); -lean_dec(x_471); -lean_dec(x_469); +lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; +lean_dec(x_536); +lean_dec(x_535); +lean_dec(x_526); +lean_dec(x_524); +lean_dec(x_483); +lean_dec(x_481); +lean_dec(x_480); +lean_dec(x_479); +lean_dec(x_477); lean_dec(x_30); lean_free_object(x_3); -x_561 = lean_ctor_get(x_518, 0); -lean_inc(x_561); -x_562 = lean_ctor_get(x_518, 1); -lean_inc(x_562); -if (lean_is_exclusive(x_518)) { - lean_ctor_release(x_518, 0); - lean_ctor_release(x_518, 1); - x_563 = x_518; +x_550 = lean_ctor_get(x_538, 0); +lean_inc(x_550); +x_551 = lean_ctor_get(x_538, 1); +lean_inc(x_551); +if (lean_is_exclusive(x_538)) { + lean_ctor_release(x_538, 0); + lean_ctor_release(x_538, 1); + x_552 = x_538; } else { - lean_dec_ref(x_518); - x_563 = lean_box(0); + lean_dec_ref(x_538); + x_552 = lean_box(0); } -if (lean_is_scalar(x_563)) { - x_564 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_552)) { + x_553 = lean_alloc_ctor(1, 2, 0); } else { - x_564 = x_563; + x_553 = x_552; } -lean_ctor_set(x_564, 0, x_561); -lean_ctor_set(x_564, 1, x_562); -x_15 = x_564; +lean_ctor_set(x_553, 0, x_550); +lean_ctor_set(x_553, 1, x_551); +x_15 = x_553; +goto block_23; +} +} +else +{ +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; +lean_dec(x_530); +lean_dec(x_526); +lean_dec(x_524); +lean_dec(x_483); +lean_dec(x_481); +lean_dec(x_480); +lean_dec(x_479); +lean_dec(x_477); +lean_dec(x_30); +lean_free_object(x_3); +x_554 = lean_ctor_get(x_531, 0); +lean_inc(x_554); +x_555 = lean_ctor_get(x_531, 1); +lean_inc(x_555); +if (lean_is_exclusive(x_531)) { + lean_ctor_release(x_531, 0); + lean_ctor_release(x_531, 1); + x_556 = x_531; +} else { + lean_dec_ref(x_531); + x_556 = lean_box(0); +} +if (lean_is_scalar(x_556)) { + x_557 = lean_alloc_ctor(1, 2, 0); +} else { + x_557 = x_556; +} +lean_ctor_set(x_557, 0, x_554); +lean_ctor_set(x_557, 1, x_555); +x_15 = x_557; +goto block_23; +} +} +else +{ +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_dec(x_525); +lean_dec(x_523); +x_558 = lean_ctor_get(x_527, 1); +lean_inc(x_558); +if (lean_is_exclusive(x_527)) { + lean_ctor_release(x_527, 0); + lean_ctor_release(x_527, 1); + x_559 = x_527; +} else { + lean_dec_ref(x_527); + x_559 = lean_box(0); +} +x_560 = lean_ctor_get(x_528, 0); +lean_inc(x_560); +if (lean_is_exclusive(x_528)) { + lean_ctor_release(x_528, 0); + x_561 = x_528; +} else { + lean_dec_ref(x_528); + x_561 = lean_box(0); +} +x_562 = l_Lean_mkHole(x_481); +if (lean_is_scalar(x_526)) { + x_563 = lean_alloc_ctor(0, 1, 0); +} else { + x_563 = x_526; + lean_ctor_set_tag(x_563, 0); +} +lean_ctor_set(x_563, 0, x_562); +lean_inc(x_560); +x_564 = l_Lean_mkApp(x_477, x_560); +x_565 = lean_expr_instantiate1(x_524, x_560); +lean_dec(x_524); +if (lean_is_scalar(x_561)) { + x_566 = lean_alloc_ctor(1, 1, 0); +} else { + x_566 = x_561; +} +lean_ctor_set(x_566, 0, x_560); +if (lean_is_scalar(x_483)) { + x_567 = lean_alloc_ctor(0, 4, 0); +} else { + x_567 = x_483; +} +lean_ctor_set(x_567, 0, x_481); +lean_ctor_set(x_567, 1, x_30); +lean_ctor_set(x_567, 2, x_563); +lean_ctor_set(x_567, 3, x_566); +lean_ctor_set(x_3, 1, x_479); +lean_ctor_set(x_3, 0, x_567); +if (lean_is_scalar(x_480)) { + x_568 = lean_alloc_ctor(0, 2, 0); +} else { + x_568 = x_480; +} +lean_ctor_set(x_568, 0, x_565); +lean_ctor_set(x_568, 1, x_3); +x_569 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_569, 0, x_564); +lean_ctor_set(x_569, 1, x_568); +if (lean_is_scalar(x_559)) { + x_570 = lean_alloc_ctor(0, 2, 0); +} else { + x_570 = x_559; +} +lean_ctor_set(x_570, 0, x_569); +lean_ctor_set(x_570, 1, x_558); +x_15 = x_570; +goto block_23; +} +} +else +{ +lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; +lean_dec(x_526); +lean_dec(x_525); +lean_dec(x_524); +lean_dec(x_523); +lean_dec(x_483); +lean_dec(x_481); +lean_dec(x_480); +lean_dec(x_479); +lean_dec(x_477); +lean_dec(x_30); +lean_free_object(x_3); +x_571 = lean_ctor_get(x_527, 0); +lean_inc(x_571); +x_572 = lean_ctor_get(x_527, 1); +lean_inc(x_572); +if (lean_is_exclusive(x_527)) { + lean_ctor_release(x_527, 0); + lean_ctor_release(x_527, 1); + x_573 = x_527; +} else { + lean_dec_ref(x_527); + x_573 = lean_box(0); +} +if (lean_is_scalar(x_573)) { + x_574 = lean_alloc_ctor(1, 2, 0); +} else { + x_574 = x_573; +} +lean_ctor_set(x_574, 0, x_571); +lean_ctor_set(x_574, 1, x_572); +x_15 = x_574; goto block_23; } } default: { -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; uint8_t 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; -x_565 = lean_ctor_get(x_478, 1); -lean_inc(x_565); -x_566 = lean_ctor_get(x_478, 2); -lean_inc(x_566); -lean_dec(x_478); -x_567 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_567, 0, x_565); -x_568 = lean_ctor_get(x_8, 0); -lean_inc(x_568); -x_569 = lean_ctor_get(x_8, 1); -lean_inc(x_569); -x_570 = lean_ctor_get(x_8, 2); -lean_inc(x_570); -x_571 = lean_ctor_get(x_8, 3); -lean_inc(x_571); -x_572 = l_Lean_replaceRef(x_473, x_571); -x_573 = l_Lean_replaceRef(x_572, x_571); -lean_dec(x_572); -x_574 = l_Lean_replaceRef(x_573, x_571); -lean_dec(x_571); -lean_dec(x_573); -x_575 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_575, 0, x_568); -lean_ctor_set(x_575, 1, x_569); -lean_ctor_set(x_575, 2, x_570); -lean_ctor_set(x_575, 3, x_574); -x_576 = 0; -x_577 = lean_box(0); -lean_inc(x_6); -x_578 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_567, x_576, x_577, x_6, x_7, x_575, x_9, x_479); -lean_dec(x_575); -x_579 = lean_ctor_get(x_578, 0); +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; uint8_t 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; +x_575 = lean_ctor_get(x_486, 1); +lean_inc(x_575); +x_576 = lean_ctor_get(x_486, 2); +lean_inc(x_576); +lean_dec(x_486); +x_577 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_577, 0, x_575); +x_578 = lean_ctor_get(x_8, 0); +lean_inc(x_578); +x_579 = lean_ctor_get(x_8, 1); lean_inc(x_579); -x_580 = lean_ctor_get(x_578, 1); +x_580 = lean_ctor_get(x_8, 2); lean_inc(x_580); -if (lean_is_exclusive(x_578)) { - lean_ctor_release(x_578, 0); - lean_ctor_release(x_578, 1); - x_581 = x_578; +x_581 = lean_ctor_get(x_8, 3); +lean_inc(x_581); +x_582 = l_Lean_replaceRef(x_481, x_581); +x_583 = l_Lean_replaceRef(x_582, x_581); +lean_dec(x_582); +x_584 = l_Lean_replaceRef(x_583, x_581); +lean_dec(x_581); +lean_dec(x_583); +x_585 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_585, 0, x_578); +lean_ctor_set(x_585, 1, x_579); +lean_ctor_set(x_585, 2, x_580); +lean_ctor_set(x_585, 3, x_584); +x_586 = 0; +x_587 = lean_box(0); +lean_inc(x_6); +x_588 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_577, x_586, x_587, x_6, x_7, x_585, x_9, x_487); +lean_dec(x_585); +x_589 = lean_ctor_get(x_588, 0); +lean_inc(x_589); +x_590 = lean_ctor_get(x_588, 1); +lean_inc(x_590); +if (lean_is_exclusive(x_588)) { + lean_ctor_release(x_588, 0); + lean_ctor_release(x_588, 1); + x_591 = x_588; } else { - lean_dec_ref(x_578); - x_581 = lean_box(0); + lean_dec_ref(x_588); + x_591 = lean_box(0); } -x_582 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_579); -lean_inc(x_582); -x_583 = l_Lean_mkApp(x_469, x_582); -x_584 = lean_expr_instantiate1(x_566, x_582); -lean_dec(x_566); -x_585 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_585, 0, x_582); -if (lean_is_scalar(x_475)) { - x_586 = lean_alloc_ctor(0, 4, 0); +x_592 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_589); +lean_inc(x_592); +x_593 = l_Lean_mkApp(x_477, x_592); +x_594 = lean_expr_instantiate1(x_576, x_592); +lean_dec(x_576); +x_595 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_595, 0, x_592); +if (lean_is_scalar(x_483)) { + x_596 = lean_alloc_ctor(0, 4, 0); } else { - x_586 = x_475; + x_596 = x_483; } -lean_ctor_set(x_586, 0, x_473); -lean_ctor_set(x_586, 1, x_30); -lean_ctor_set(x_586, 2, x_474); -lean_ctor_set(x_586, 3, x_585); -lean_ctor_set(x_3, 1, x_471); -lean_ctor_set(x_3, 0, x_586); -if (lean_is_scalar(x_472)) { - x_587 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_596, 0, x_481); +lean_ctor_set(x_596, 1, x_30); +lean_ctor_set(x_596, 2, x_482); +lean_ctor_set(x_596, 3, x_595); +lean_ctor_set(x_3, 1, x_479); +lean_ctor_set(x_3, 0, x_596); +if (lean_is_scalar(x_480)) { + x_597 = lean_alloc_ctor(0, 2, 0); } else { - x_587 = x_472; + x_597 = x_480; } -lean_ctor_set(x_587, 0, x_584); -lean_ctor_set(x_587, 1, x_3); -x_588 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_588, 0, x_583); -lean_ctor_set(x_588, 1, x_587); -if (lean_is_scalar(x_581)) { - x_589 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_597, 0, x_594); +lean_ctor_set(x_597, 1, x_3); +x_598 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_598, 0, x_593); +lean_ctor_set(x_598, 1, x_597); +if (lean_is_scalar(x_591)) { + x_599 = lean_alloc_ctor(0, 2, 0); } else { - x_589 = x_581; + x_599 = x_591; } -lean_ctor_set(x_589, 0, x_588); -lean_ctor_set(x_589, 1, x_580); -x_15 = x_589; +lean_ctor_set(x_599, 0, x_598); +lean_ctor_set(x_599, 1, x_590); +x_15 = x_599; goto block_23; } } } else { -lean_object* x_590; -lean_dec(x_475); -lean_dec(x_474); -lean_dec(x_472); -lean_dec(x_471); -lean_dec(x_469); +lean_object* x_600; +lean_dec(x_483); +lean_dec(x_482); +lean_dec(x_480); +lean_dec(x_479); +lean_dec(x_477); lean_dec(x_30); lean_free_object(x_3); -x_590 = lean_box(0); -x_480 = x_590; -goto block_493; +x_600 = lean_box(0); +x_488 = x_600; +goto block_501; } -block_493: +block_501: { -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_dec(x_480); -x_481 = l_Lean_indentExpr(x_478); -x_482 = l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___closed__3; -x_483 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_483, 0, x_482); -lean_ctor_set(x_483, 1, x_481); -x_484 = lean_ctor_get(x_8, 0); -lean_inc(x_484); -x_485 = lean_ctor_get(x_8, 1); -lean_inc(x_485); -x_486 = lean_ctor_get(x_8, 2); -lean_inc(x_486); -x_487 = lean_ctor_get(x_8, 3); -lean_inc(x_487); -x_488 = l_Lean_replaceRef(x_473, x_487); -lean_dec(x_473); -x_489 = l_Lean_replaceRef(x_488, x_487); +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_488); -x_490 = l_Lean_replaceRef(x_489, x_487); -lean_dec(x_487); -lean_dec(x_489); -x_491 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_491, 0, x_484); -lean_ctor_set(x_491, 1, x_485); -lean_ctor_set(x_491, 2, x_486); -lean_ctor_set(x_491, 3, x_490); +x_489 = l_Lean_indentExpr(x_486); +x_490 = l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___closed__3; +x_491 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_491, 0, x_490); +lean_ctor_set(x_491, 1, x_489); +x_492 = lean_ctor_get(x_8, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_8, 1); +lean_inc(x_493); +x_494 = lean_ctor_get(x_8, 2); +lean_inc(x_494); +x_495 = lean_ctor_get(x_8, 3); +lean_inc(x_495); +x_496 = l_Lean_replaceRef(x_481, x_495); +lean_dec(x_481); +x_497 = l_Lean_replaceRef(x_496, x_495); +lean_dec(x_496); +x_498 = l_Lean_replaceRef(x_497, x_495); +lean_dec(x_495); +lean_dec(x_497); +x_499 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_499, 0, x_492); +lean_ctor_set(x_499, 1, x_493); +lean_ctor_set(x_499, 2, x_494); +lean_ctor_set(x_499, 3, x_498); lean_inc(x_4); lean_inc(x_1); -x_492 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_476, x_1, x_483, x_4, x_5, x_6, x_7, x_491, x_9, x_479); -lean_dec(x_491); -x_15 = x_492; +x_500 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_484, x_1, x_491, x_4, x_5, x_6, x_7, x_499, x_9, x_487); +lean_dec(x_499); +x_15 = x_500; goto block_23; } } else { -lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; -lean_dec(x_476); -lean_dec(x_475); -lean_dec(x_474); -lean_dec(x_473); -lean_dec(x_472); -lean_dec(x_471); -lean_dec(x_469); +lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; +lean_dec(x_484); +lean_dec(x_483); +lean_dec(x_482); +lean_dec(x_481); +lean_dec(x_480); +lean_dec(x_479); +lean_dec(x_477); lean_dec(x_30); lean_free_object(x_3); -x_591 = lean_ctor_get(x_477, 0); -lean_inc(x_591); -x_592 = lean_ctor_get(x_477, 1); -lean_inc(x_592); -if (lean_is_exclusive(x_477)) { - lean_ctor_release(x_477, 0); - lean_ctor_release(x_477, 1); - x_593 = x_477; +x_601 = lean_ctor_get(x_485, 0); +lean_inc(x_601); +x_602 = lean_ctor_get(x_485, 1); +lean_inc(x_602); +if (lean_is_exclusive(x_485)) { + lean_ctor_release(x_485, 0); + lean_ctor_release(x_485, 1); + x_603 = x_485; } else { - lean_dec_ref(x_477); - x_593 = lean_box(0); + lean_dec_ref(x_485); + x_603 = lean_box(0); } -if (lean_is_scalar(x_593)) { - x_594 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_603)) { + x_604 = lean_alloc_ctor(1, 2, 0); } else { - x_594 = x_593; + x_604 = x_603; } -lean_ctor_set(x_594, 0, x_591); -lean_ctor_set(x_594, 1, x_592); -x_15 = x_594; +lean_ctor_set(x_604, 0, x_601); +lean_ctor_set(x_604, 1, x_602); +x_15 = x_604; goto block_23; } } } else { -lean_object* x_595; +lean_object* x_605; lean_dec(x_33); lean_dec(x_32); lean_dec(x_30); lean_dec(x_29); lean_free_object(x_3); lean_dec(x_2); -x_595 = lean_box(0); -x_24 = x_595; +x_605 = lean_box(0); +x_24 = x_605; goto block_28; } } else { -lean_object* x_596; +lean_object* x_606; lean_dec(x_32); lean_dec(x_30); lean_dec(x_29); lean_free_object(x_3); lean_dec(x_2); -x_596 = lean_box(0); -x_24 = x_596; +x_606 = lean_box(0); +x_24 = x_606; goto block_28; } } @@ -21544,7 +21554,7 @@ lean_dec(x_13); x_26 = l_List_foldlM___main___at___private_Lean_Elab_StructInst_24__elabStruct___main___spec__1___closed__3; lean_inc(x_8); lean_inc(x_4); -x_27 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_25, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_27 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_25, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_25); x_15 = x_27; goto block_23; @@ -21552,748 +21562,750 @@ goto block_23; } else { -lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_608; lean_object* x_613; lean_object* x_614; -x_597 = lean_ctor_get(x_3, 0); -x_598 = lean_ctor_get(x_3, 1); -lean_inc(x_598); -lean_inc(x_597); +lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_618; lean_object* x_623; lean_object* x_624; +x_607 = lean_ctor_get(x_3, 0); +x_608 = lean_ctor_get(x_3, 1); +lean_inc(x_608); +lean_inc(x_607); lean_dec(x_3); -x_613 = lean_ctor_get(x_2, 1); -lean_inc(x_613); -x_614 = lean_ctor_get(x_597, 1); -lean_inc(x_614); -if (lean_obj_tag(x_614) == 0) +x_623 = lean_ctor_get(x_2, 1); +lean_inc(x_623); +x_624 = lean_ctor_get(x_607, 1); +lean_inc(x_624); +if (lean_obj_tag(x_624) == 0) { -lean_object* x_615; -lean_dec(x_613); +lean_object* x_625; +lean_dec(x_623); lean_dec(x_2); -x_615 = lean_box(0); -x_608 = x_615; -goto block_612; +x_625 = lean_box(0); +x_618 = x_625; +goto block_622; } else { -lean_object* x_616; -x_616 = lean_ctor_get(x_614, 0); -lean_inc(x_616); -if (lean_obj_tag(x_616) == 0) +lean_object* x_626; +x_626 = lean_ctor_get(x_624, 0); +lean_inc(x_626); +if (lean_obj_tag(x_626) == 0) { -lean_object* x_617; -x_617 = lean_ctor_get(x_614, 1); -lean_inc(x_617); -if (lean_obj_tag(x_617) == 0) +lean_object* x_627; +x_627 = lean_ctor_get(x_624, 1); +lean_inc(x_627); +if (lean_obj_tag(x_627) == 0) { -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; lean_object* x_626; lean_object* x_627; -x_618 = lean_ctor_get(x_2, 0); -lean_inc(x_618); +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; +x_628 = lean_ctor_get(x_2, 0); +lean_inc(x_628); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); - x_619 = x_2; + x_629 = x_2; } else { lean_dec_ref(x_2); - x_619 = lean_box(0); + x_629 = lean_box(0); } -x_620 = lean_ctor_get(x_613, 0); -lean_inc(x_620); -x_621 = lean_ctor_get(x_613, 1); -lean_inc(x_621); -if (lean_is_exclusive(x_613)) { - lean_ctor_release(x_613, 0); - lean_ctor_release(x_613, 1); - x_622 = x_613; +x_630 = lean_ctor_get(x_623, 0); +lean_inc(x_630); +x_631 = lean_ctor_get(x_623, 1); +lean_inc(x_631); +if (lean_is_exclusive(x_623)) { + lean_ctor_release(x_623, 0); + lean_ctor_release(x_623, 1); + x_632 = x_623; } else { - lean_dec_ref(x_613); - x_622 = lean_box(0); + lean_dec_ref(x_623); + x_632 = lean_box(0); } -x_623 = lean_ctor_get(x_597, 0); -lean_inc(x_623); -x_624 = lean_ctor_get(x_597, 2); -lean_inc(x_624); -if (lean_is_exclusive(x_597)) { - lean_ctor_release(x_597, 0); - lean_ctor_release(x_597, 1); - lean_ctor_release(x_597, 2); - lean_ctor_release(x_597, 3); - x_625 = x_597; +x_633 = lean_ctor_get(x_607, 0); +lean_inc(x_633); +x_634 = lean_ctor_get(x_607, 2); +lean_inc(x_634); +if (lean_is_exclusive(x_607)) { + lean_ctor_release(x_607, 0); + lean_ctor_release(x_607, 1); + lean_ctor_release(x_607, 2); + lean_ctor_release(x_607, 3); + x_635 = x_607; } else { - lean_dec_ref(x_597); - x_625 = lean_box(0); + lean_dec_ref(x_607); + x_635 = lean_box(0); } -x_626 = lean_ctor_get(x_616, 1); -lean_inc(x_626); -lean_dec(x_616); +x_636 = lean_ctor_get(x_626, 1); +lean_inc(x_636); +lean_dec(x_626); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_627 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_620, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_627) == 0) +x_637 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_630, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_637) == 0) { -lean_object* x_628; lean_object* x_629; lean_object* x_630; -x_628 = lean_ctor_get(x_627, 0); -lean_inc(x_628); -x_629 = lean_ctor_get(x_627, 1); -lean_inc(x_629); -lean_dec(x_627); -if (lean_obj_tag(x_628) == 7) +lean_object* x_638; lean_object* x_639; lean_object* x_640; +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); +if (lean_obj_tag(x_638) == 7) { -lean_dec(x_626); -switch (lean_obj_tag(x_624)) { +lean_dec(x_636); +switch (lean_obj_tag(x_634)) { case 0: { -lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; uint8_t x_648; lean_object* x_649; -x_644 = lean_ctor_get(x_628, 1); -lean_inc(x_644); -x_645 = lean_ctor_get(x_628, 2); -lean_inc(x_645); -lean_dec(x_628); -x_646 = lean_ctor_get(x_624, 0); -lean_inc(x_646); -x_647 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_647, 0, x_644); -x_648 = 1; +lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; uint8_t x_659; lean_object* x_660; +x_654 = lean_ctor_get(x_638, 1); +lean_inc(x_654); +x_655 = lean_ctor_get(x_638, 2); +lean_inc(x_655); +lean_dec(x_638); +x_656 = lean_ctor_get(x_634, 0); +lean_inc(x_656); +x_657 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_657, 0, x_654); +x_658 = lean_box(0); +x_659 = 1; 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_649 = l_Lean_Elab_Term_elabTermEnsuringType(x_646, x_647, x_648, x_4, x_5, x_6, x_7, x_8, x_9, x_629); -if (lean_obj_tag(x_649) == 0) +x_660 = l_Lean_Elab_Term_elabTermEnsuringType(x_656, x_657, x_659, x_658, x_4, x_5, x_6, x_7, x_8, x_9, x_639); +if (lean_obj_tag(x_660) == 0) { -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; -x_650 = lean_ctor_get(x_649, 0); -lean_inc(x_650); -x_651 = lean_ctor_get(x_649, 1); -lean_inc(x_651); -if (lean_is_exclusive(x_649)) { - lean_ctor_release(x_649, 0); - lean_ctor_release(x_649, 1); - x_652 = x_649; +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; +x_661 = lean_ctor_get(x_660, 0); +lean_inc(x_661); +x_662 = lean_ctor_get(x_660, 1); +lean_inc(x_662); +if (lean_is_exclusive(x_660)) { + lean_ctor_release(x_660, 0); + lean_ctor_release(x_660, 1); + x_663 = x_660; } else { - lean_dec_ref(x_649); - x_652 = lean_box(0); + lean_dec_ref(x_660); + x_663 = lean_box(0); } -lean_inc(x_650); -x_653 = l_Lean_mkApp(x_618, x_650); -x_654 = lean_expr_instantiate1(x_645, x_650); -lean_dec(x_645); -x_655 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_655, 0, x_650); -if (lean_is_scalar(x_625)) { - x_656 = lean_alloc_ctor(0, 4, 0); +lean_inc(x_661); +x_664 = l_Lean_mkApp(x_628, x_661); +x_665 = lean_expr_instantiate1(x_655, x_661); +lean_dec(x_655); +x_666 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_666, 0, x_661); +if (lean_is_scalar(x_635)) { + x_667 = lean_alloc_ctor(0, 4, 0); } else { - x_656 = x_625; + x_667 = x_635; } -lean_ctor_set(x_656, 0, x_623); -lean_ctor_set(x_656, 1, x_614); -lean_ctor_set(x_656, 2, x_624); -lean_ctor_set(x_656, 3, x_655); -x_657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_657, 0, x_656); -lean_ctor_set(x_657, 1, x_621); -if (lean_is_scalar(x_622)) { - x_658 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_667, 0, x_633); +lean_ctor_set(x_667, 1, x_624); +lean_ctor_set(x_667, 2, x_634); +lean_ctor_set(x_667, 3, x_666); +x_668 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_668, 0, x_667); +lean_ctor_set(x_668, 1, x_631); +if (lean_is_scalar(x_632)) { + x_669 = lean_alloc_ctor(0, 2, 0); } else { - x_658 = x_622; + x_669 = x_632; } -lean_ctor_set(x_658, 0, x_654); -lean_ctor_set(x_658, 1, x_657); -if (lean_is_scalar(x_619)) { - x_659 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_669, 0, x_665); +lean_ctor_set(x_669, 1, x_668); +if (lean_is_scalar(x_629)) { + x_670 = lean_alloc_ctor(0, 2, 0); } else { - x_659 = x_619; + x_670 = x_629; } -lean_ctor_set(x_659, 0, x_653); -lean_ctor_set(x_659, 1, x_658); -if (lean_is_scalar(x_652)) { - x_660 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_670, 0, x_664); +lean_ctor_set(x_670, 1, x_669); +if (lean_is_scalar(x_663)) { + x_671 = lean_alloc_ctor(0, 2, 0); } else { - x_660 = x_652; + x_671 = x_663; } -lean_ctor_set(x_660, 0, x_659); -lean_ctor_set(x_660, 1, x_651); -x_599 = x_660; -goto block_607; +lean_ctor_set(x_671, 0, x_670); +lean_ctor_set(x_671, 1, x_662); +x_609 = x_671; +goto block_617; } else { -lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; -lean_dec(x_645); -lean_dec(x_625); +lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; +lean_dec(x_655); +lean_dec(x_635); +lean_dec(x_634); +lean_dec(x_633); +lean_dec(x_632); +lean_dec(x_631); +lean_dec(x_629); +lean_dec(x_628); lean_dec(x_624); -lean_dec(x_623); -lean_dec(x_622); -lean_dec(x_621); -lean_dec(x_619); -lean_dec(x_618); -lean_dec(x_614); -x_661 = lean_ctor_get(x_649, 0); -lean_inc(x_661); -x_662 = lean_ctor_get(x_649, 1); -lean_inc(x_662); -if (lean_is_exclusive(x_649)) { - lean_ctor_release(x_649, 0); - lean_ctor_release(x_649, 1); - x_663 = x_649; +x_672 = lean_ctor_get(x_660, 0); +lean_inc(x_672); +x_673 = lean_ctor_get(x_660, 1); +lean_inc(x_673); +if (lean_is_exclusive(x_660)) { + lean_ctor_release(x_660, 0); + lean_ctor_release(x_660, 1); + x_674 = x_660; } else { - lean_dec_ref(x_649); - x_663 = lean_box(0); + lean_dec_ref(x_660); + x_674 = lean_box(0); } -if (lean_is_scalar(x_663)) { - x_664 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_674)) { + x_675 = lean_alloc_ctor(1, 2, 0); } else { - x_664 = x_663; + x_675 = x_674; } -lean_ctor_set(x_664, 0, x_661); -lean_ctor_set(x_664, 1, x_662); -x_599 = x_664; -goto block_607; +lean_ctor_set(x_675, 0, x_672); +lean_ctor_set(x_675, 1, x_673); +x_609 = x_675; +goto block_617; } } case 1: { -lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; -x_665 = lean_ctor_get(x_628, 1); -lean_inc(x_665); -x_666 = lean_ctor_get(x_628, 2); -lean_inc(x_666); -lean_dec(x_628); -x_667 = lean_ctor_get(x_624, 0); -lean_inc(x_667); -if (lean_is_exclusive(x_624)) { - lean_ctor_release(x_624, 0); - x_668 = x_624; +lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; +x_676 = lean_ctor_get(x_638, 1); +lean_inc(x_676); +x_677 = lean_ctor_get(x_638, 2); +lean_inc(x_677); +lean_dec(x_638); +x_678 = lean_ctor_get(x_634, 0); +lean_inc(x_678); +if (lean_is_exclusive(x_634)) { + lean_ctor_release(x_634, 0); + x_679 = x_634; } else { - lean_dec_ref(x_624); - x_668 = lean_box(0); + lean_dec_ref(x_634); + x_679 = lean_box(0); } lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_665); -x_669 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_667, x_665, x_4, x_5, x_6, x_7, x_8, x_9, x_629); -if (lean_obj_tag(x_669) == 0) +lean_inc(x_676); +x_680 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_678, x_676, x_4, x_5, x_6, x_7, x_8, x_9, x_639); +if (lean_obj_tag(x_680) == 0) { -lean_object* x_670; -x_670 = lean_ctor_get(x_669, 0); -lean_inc(x_670); -if (lean_obj_tag(x_670) == 0) +lean_object* x_681; +x_681 = lean_ctor_get(x_680, 0); +lean_inc(x_681); +if (lean_obj_tag(x_681) == 0) { -lean_object* x_671; lean_object* x_672; lean_object* x_673; -lean_dec(x_619); -x_671 = lean_ctor_get(x_669, 1); -lean_inc(x_671); -lean_dec(x_669); -x_672 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_672, 0, x_665); +lean_object* x_682; lean_object* x_683; lean_object* x_684; +lean_dec(x_629); +x_682 = lean_ctor_get(x_680, 1); +lean_inc(x_682); +lean_dec(x_680); +x_683 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_683, 0, x_676); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_672); -x_673 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_667, x_672, x_4, x_5, x_6, x_7, x_8, x_9, x_671); -if (lean_obj_tag(x_673) == 0) +lean_inc(x_683); +x_684 = l___private_Lean_Elab_StructInst_24__elabStruct___main(x_678, x_683, x_4, x_5, x_6, x_7, x_8, x_9, x_682); +if (lean_obj_tag(x_684) == 0) { -lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; -x_674 = lean_ctor_get(x_673, 0); -lean_inc(x_674); -x_675 = lean_ctor_get(x_673, 1); -lean_inc(x_675); -lean_dec(x_673); -x_676 = lean_ctor_get(x_674, 0); -lean_inc(x_676); -x_677 = lean_ctor_get(x_674, 1); -lean_inc(x_677); -if (lean_is_exclusive(x_674)) { - lean_ctor_release(x_674, 0); - lean_ctor_release(x_674, 1); - x_678 = x_674; +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; +x_685 = lean_ctor_get(x_684, 0); +lean_inc(x_685); +x_686 = lean_ctor_get(x_684, 1); +lean_inc(x_686); +lean_dec(x_684); +x_687 = lean_ctor_get(x_685, 0); +lean_inc(x_687); +x_688 = lean_ctor_get(x_685, 1); +lean_inc(x_688); +if (lean_is_exclusive(x_685)) { + lean_ctor_release(x_685, 0); + lean_ctor_release(x_685, 1); + x_689 = x_685; } else { - lean_dec_ref(x_674); - x_678 = lean_box(0); + lean_dec_ref(x_685); + x_689 = lean_box(0); } +x_690 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_679 = l_Lean_Elab_Term_ensureHasType(x_672, x_676, x_4, x_5, x_6, x_7, x_8, x_9, x_675); -if (lean_obj_tag(x_679) == 0) +x_691 = l_Lean_Elab_Term_ensureHasType(x_683, x_687, x_690, x_4, x_5, x_6, x_7, x_8, x_9, x_686); +if (lean_obj_tag(x_691) == 0) { -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; -x_680 = lean_ctor_get(x_679, 0); -lean_inc(x_680); -x_681 = lean_ctor_get(x_679, 1); -lean_inc(x_681); -if (lean_is_exclusive(x_679)) { - lean_ctor_release(x_679, 0); - lean_ctor_release(x_679, 1); - x_682 = x_679; -} else { - lean_dec_ref(x_679); - x_682 = lean_box(0); -} -if (lean_is_scalar(x_668)) { - x_683 = lean_alloc_ctor(1, 1, 0); -} else { - x_683 = x_668; -} -lean_ctor_set(x_683, 0, x_677); -lean_inc(x_680); -x_684 = l_Lean_mkApp(x_618, x_680); -x_685 = lean_expr_instantiate1(x_666, x_680); -lean_dec(x_666); -x_686 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_686, 0, x_680); -if (lean_is_scalar(x_625)) { - x_687 = lean_alloc_ctor(0, 4, 0); -} else { - x_687 = x_625; -} -lean_ctor_set(x_687, 0, x_623); -lean_ctor_set(x_687, 1, x_614); -lean_ctor_set(x_687, 2, x_683); -lean_ctor_set(x_687, 3, x_686); -x_688 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_621); -if (lean_is_scalar(x_678)) { - x_689 = lean_alloc_ctor(0, 2, 0); -} else { - x_689 = x_678; -} -lean_ctor_set(x_689, 0, x_685); -lean_ctor_set(x_689, 1, x_688); -if (lean_is_scalar(x_622)) { - x_690 = lean_alloc_ctor(0, 2, 0); -} else { - x_690 = x_622; -} -lean_ctor_set(x_690, 0, x_684); -lean_ctor_set(x_690, 1, x_689); -if (lean_is_scalar(x_682)) { - x_691 = lean_alloc_ctor(0, 2, 0); -} else { - x_691 = x_682; -} -lean_ctor_set(x_691, 0, x_690); -lean_ctor_set(x_691, 1, x_681); -x_599 = x_691; -goto block_607; -} -else -{ -lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; -lean_dec(x_678); -lean_dec(x_677); -lean_dec(x_668); -lean_dec(x_666); -lean_dec(x_625); -lean_dec(x_623); -lean_dec(x_622); -lean_dec(x_621); -lean_dec(x_618); -lean_dec(x_614); -x_692 = lean_ctor_get(x_679, 0); +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; +x_692 = lean_ctor_get(x_691, 0); lean_inc(x_692); -x_693 = lean_ctor_get(x_679, 1); +x_693 = lean_ctor_get(x_691, 1); lean_inc(x_693); -if (lean_is_exclusive(x_679)) { - lean_ctor_release(x_679, 0); - lean_ctor_release(x_679, 1); - x_694 = x_679; +if (lean_is_exclusive(x_691)) { + lean_ctor_release(x_691, 0); + lean_ctor_release(x_691, 1); + x_694 = x_691; } else { - lean_dec_ref(x_679); + lean_dec_ref(x_691); x_694 = lean_box(0); } +if (lean_is_scalar(x_679)) { + x_695 = lean_alloc_ctor(1, 1, 0); +} else { + x_695 = x_679; +} +lean_ctor_set(x_695, 0, x_688); +lean_inc(x_692); +x_696 = l_Lean_mkApp(x_628, x_692); +x_697 = lean_expr_instantiate1(x_677, x_692); +lean_dec(x_677); +x_698 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_698, 0, x_692); +if (lean_is_scalar(x_635)) { + x_699 = lean_alloc_ctor(0, 4, 0); +} else { + x_699 = x_635; +} +lean_ctor_set(x_699, 0, x_633); +lean_ctor_set(x_699, 1, x_624); +lean_ctor_set(x_699, 2, x_695); +lean_ctor_set(x_699, 3, x_698); +x_700 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_700, 0, x_699); +lean_ctor_set(x_700, 1, x_631); +if (lean_is_scalar(x_689)) { + x_701 = lean_alloc_ctor(0, 2, 0); +} else { + x_701 = x_689; +} +lean_ctor_set(x_701, 0, x_697); +lean_ctor_set(x_701, 1, x_700); +if (lean_is_scalar(x_632)) { + x_702 = lean_alloc_ctor(0, 2, 0); +} else { + x_702 = x_632; +} +lean_ctor_set(x_702, 0, x_696); +lean_ctor_set(x_702, 1, x_701); if (lean_is_scalar(x_694)) { - x_695 = lean_alloc_ctor(1, 2, 0); + x_703 = lean_alloc_ctor(0, 2, 0); } else { - x_695 = x_694; + x_703 = x_694; } -lean_ctor_set(x_695, 0, x_692); -lean_ctor_set(x_695, 1, x_693); -x_599 = x_695; -goto block_607; +lean_ctor_set(x_703, 0, x_702); +lean_ctor_set(x_703, 1, x_693); +x_609 = x_703; +goto block_617; +} +else +{ +lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; +lean_dec(x_689); +lean_dec(x_688); +lean_dec(x_679); +lean_dec(x_677); +lean_dec(x_635); +lean_dec(x_633); +lean_dec(x_632); +lean_dec(x_631); +lean_dec(x_628); +lean_dec(x_624); +x_704 = lean_ctor_get(x_691, 0); +lean_inc(x_704); +x_705 = lean_ctor_get(x_691, 1); +lean_inc(x_705); +if (lean_is_exclusive(x_691)) { + lean_ctor_release(x_691, 0); + lean_ctor_release(x_691, 1); + x_706 = x_691; +} else { + lean_dec_ref(x_691); + x_706 = lean_box(0); +} +if (lean_is_scalar(x_706)) { + x_707 = lean_alloc_ctor(1, 2, 0); +} else { + x_707 = x_706; +} +lean_ctor_set(x_707, 0, x_704); +lean_ctor_set(x_707, 1, x_705); +x_609 = x_707; +goto block_617; } } else { -lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; -lean_dec(x_672); -lean_dec(x_668); -lean_dec(x_666); -lean_dec(x_625); -lean_dec(x_623); -lean_dec(x_622); -lean_dec(x_621); -lean_dec(x_618); -lean_dec(x_614); -x_696 = lean_ctor_get(x_673, 0); -lean_inc(x_696); -x_697 = lean_ctor_get(x_673, 1); -lean_inc(x_697); -if (lean_is_exclusive(x_673)) { - lean_ctor_release(x_673, 0); - lean_ctor_release(x_673, 1); - x_698 = x_673; +lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; +lean_dec(x_683); +lean_dec(x_679); +lean_dec(x_677); +lean_dec(x_635); +lean_dec(x_633); +lean_dec(x_632); +lean_dec(x_631); +lean_dec(x_628); +lean_dec(x_624); +x_708 = lean_ctor_get(x_684, 0); +lean_inc(x_708); +x_709 = lean_ctor_get(x_684, 1); +lean_inc(x_709); +if (lean_is_exclusive(x_684)) { + lean_ctor_release(x_684, 0); + lean_ctor_release(x_684, 1); + x_710 = x_684; } else { - lean_dec_ref(x_673); - x_698 = lean_box(0); + lean_dec_ref(x_684); + x_710 = lean_box(0); } -if (lean_is_scalar(x_698)) { - x_699 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_710)) { + x_711 = lean_alloc_ctor(1, 2, 0); } else { - x_699 = x_698; + x_711 = x_710; } -lean_ctor_set(x_699, 0, x_696); -lean_ctor_set(x_699, 1, x_697); -x_599 = x_699; -goto block_607; +lean_ctor_set(x_711, 0, x_708); +lean_ctor_set(x_711, 1, x_709); +x_609 = x_711; +goto block_617; } } else { -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_dec(x_667); -lean_dec(x_665); -x_700 = lean_ctor_get(x_669, 1); -lean_inc(x_700); -if (lean_is_exclusive(x_669)) { - lean_ctor_release(x_669, 0); - lean_ctor_release(x_669, 1); - x_701 = x_669; +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_dec(x_678); +lean_dec(x_676); +x_712 = lean_ctor_get(x_680, 1); +lean_inc(x_712); +if (lean_is_exclusive(x_680)) { + lean_ctor_release(x_680, 0); + lean_ctor_release(x_680, 1); + x_713 = x_680; } else { - lean_dec_ref(x_669); - x_701 = lean_box(0); + lean_dec_ref(x_680); + x_713 = lean_box(0); } -x_702 = lean_ctor_get(x_670, 0); -lean_inc(x_702); -if (lean_is_exclusive(x_670)) { - lean_ctor_release(x_670, 0); - x_703 = x_670; -} else { - lean_dec_ref(x_670); - x_703 = lean_box(0); -} -x_704 = l_Lean_mkHole(x_623); -if (lean_is_scalar(x_668)) { - x_705 = lean_alloc_ctor(0, 1, 0); -} else { - x_705 = x_668; - lean_ctor_set_tag(x_705, 0); -} -lean_ctor_set(x_705, 0, x_704); -lean_inc(x_702); -x_706 = l_Lean_mkApp(x_618, x_702); -x_707 = lean_expr_instantiate1(x_666, x_702); -lean_dec(x_666); -if (lean_is_scalar(x_703)) { - x_708 = lean_alloc_ctor(1, 1, 0); -} else { - x_708 = x_703; -} -lean_ctor_set(x_708, 0, x_702); -if (lean_is_scalar(x_625)) { - x_709 = lean_alloc_ctor(0, 4, 0); -} else { - x_709 = x_625; -} -lean_ctor_set(x_709, 0, x_623); -lean_ctor_set(x_709, 1, x_614); -lean_ctor_set(x_709, 2, x_705); -lean_ctor_set(x_709, 3, x_708); -x_710 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_710, 0, x_709); -lean_ctor_set(x_710, 1, x_621); -if (lean_is_scalar(x_622)) { - x_711 = lean_alloc_ctor(0, 2, 0); -} else { - x_711 = x_622; -} -lean_ctor_set(x_711, 0, x_707); -lean_ctor_set(x_711, 1, x_710); -if (lean_is_scalar(x_619)) { - x_712 = lean_alloc_ctor(0, 2, 0); -} else { - x_712 = x_619; -} -lean_ctor_set(x_712, 0, x_706); -lean_ctor_set(x_712, 1, x_711); -if (lean_is_scalar(x_701)) { - x_713 = lean_alloc_ctor(0, 2, 0); -} else { - x_713 = x_701; -} -lean_ctor_set(x_713, 0, x_712); -lean_ctor_set(x_713, 1, x_700); -x_599 = x_713; -goto block_607; -} -} -else -{ -lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; -lean_dec(x_668); -lean_dec(x_667); -lean_dec(x_666); -lean_dec(x_665); -lean_dec(x_625); -lean_dec(x_623); -lean_dec(x_622); -lean_dec(x_621); -lean_dec(x_619); -lean_dec(x_618); -lean_dec(x_614); -x_714 = lean_ctor_get(x_669, 0); +x_714 = lean_ctor_get(x_681, 0); lean_inc(x_714); -x_715 = lean_ctor_get(x_669, 1); -lean_inc(x_715); -if (lean_is_exclusive(x_669)) { - lean_ctor_release(x_669, 0); - lean_ctor_release(x_669, 1); - x_716 = x_669; +if (lean_is_exclusive(x_681)) { + lean_ctor_release(x_681, 0); + x_715 = x_681; } else { - lean_dec_ref(x_669); - x_716 = lean_box(0); + lean_dec_ref(x_681); + x_715 = lean_box(0); } -if (lean_is_scalar(x_716)) { - x_717 = lean_alloc_ctor(1, 2, 0); +x_716 = l_Lean_mkHole(x_633); +if (lean_is_scalar(x_679)) { + x_717 = lean_alloc_ctor(0, 1, 0); } else { - x_717 = x_716; + x_717 = x_679; + lean_ctor_set_tag(x_717, 0); } -lean_ctor_set(x_717, 0, x_714); -lean_ctor_set(x_717, 1, x_715); -x_599 = x_717; -goto block_607; +lean_ctor_set(x_717, 0, x_716); +lean_inc(x_714); +x_718 = l_Lean_mkApp(x_628, x_714); +x_719 = lean_expr_instantiate1(x_677, x_714); +lean_dec(x_677); +if (lean_is_scalar(x_715)) { + x_720 = lean_alloc_ctor(1, 1, 0); +} else { + x_720 = x_715; +} +lean_ctor_set(x_720, 0, x_714); +if (lean_is_scalar(x_635)) { + x_721 = lean_alloc_ctor(0, 4, 0); +} else { + x_721 = x_635; +} +lean_ctor_set(x_721, 0, x_633); +lean_ctor_set(x_721, 1, x_624); +lean_ctor_set(x_721, 2, x_717); +lean_ctor_set(x_721, 3, x_720); +x_722 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_722, 0, x_721); +lean_ctor_set(x_722, 1, x_631); +if (lean_is_scalar(x_632)) { + x_723 = lean_alloc_ctor(0, 2, 0); +} else { + x_723 = x_632; +} +lean_ctor_set(x_723, 0, x_719); +lean_ctor_set(x_723, 1, x_722); +if (lean_is_scalar(x_629)) { + x_724 = lean_alloc_ctor(0, 2, 0); +} else { + x_724 = x_629; +} +lean_ctor_set(x_724, 0, x_718); +lean_ctor_set(x_724, 1, x_723); +if (lean_is_scalar(x_713)) { + x_725 = lean_alloc_ctor(0, 2, 0); +} else { + x_725 = x_713; +} +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_712); +x_609 = x_725; +goto block_617; +} +} +else +{ +lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; +lean_dec(x_679); +lean_dec(x_678); +lean_dec(x_677); +lean_dec(x_676); +lean_dec(x_635); +lean_dec(x_633); +lean_dec(x_632); +lean_dec(x_631); +lean_dec(x_629); +lean_dec(x_628); +lean_dec(x_624); +x_726 = lean_ctor_get(x_680, 0); +lean_inc(x_726); +x_727 = lean_ctor_get(x_680, 1); +lean_inc(x_727); +if (lean_is_exclusive(x_680)) { + lean_ctor_release(x_680, 0); + lean_ctor_release(x_680, 1); + x_728 = x_680; +} else { + lean_dec_ref(x_680); + x_728 = lean_box(0); +} +if (lean_is_scalar(x_728)) { + x_729 = lean_alloc_ctor(1, 2, 0); +} else { + x_729 = x_728; +} +lean_ctor_set(x_729, 0, x_726); +lean_ctor_set(x_729, 1, x_727); +x_609 = x_729; +goto block_617; } } default: { -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; uint8_t 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; -x_718 = lean_ctor_get(x_628, 1); -lean_inc(x_718); -x_719 = lean_ctor_get(x_628, 2); -lean_inc(x_719); -lean_dec(x_628); -x_720 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_720, 0, x_718); -x_721 = lean_ctor_get(x_8, 0); -lean_inc(x_721); -x_722 = lean_ctor_get(x_8, 1); -lean_inc(x_722); -x_723 = lean_ctor_get(x_8, 2); -lean_inc(x_723); -x_724 = lean_ctor_get(x_8, 3); -lean_inc(x_724); -x_725 = l_Lean_replaceRef(x_623, x_724); -x_726 = l_Lean_replaceRef(x_725, x_724); -lean_dec(x_725); -x_727 = l_Lean_replaceRef(x_726, x_724); -lean_dec(x_724); -lean_dec(x_726); -x_728 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_728, 0, x_721); -lean_ctor_set(x_728, 1, x_722); -lean_ctor_set(x_728, 2, x_723); -lean_ctor_set(x_728, 3, x_727); -x_729 = 0; -x_730 = lean_box(0); -lean_inc(x_6); -x_731 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_720, x_729, x_730, x_6, x_7, x_728, x_9, x_629); -lean_dec(x_728); -x_732 = lean_ctor_get(x_731, 0); -lean_inc(x_732); -x_733 = lean_ctor_get(x_731, 1); +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; uint8_t 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; +x_730 = lean_ctor_get(x_638, 1); +lean_inc(x_730); +x_731 = lean_ctor_get(x_638, 2); +lean_inc(x_731); +lean_dec(x_638); +x_732 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_732, 0, x_730); +x_733 = lean_ctor_get(x_8, 0); lean_inc(x_733); -if (lean_is_exclusive(x_731)) { - lean_ctor_release(x_731, 0); - lean_ctor_release(x_731, 1); - x_734 = x_731; -} else { - lean_dec_ref(x_731); - x_734 = lean_box(0); -} -x_735 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_732); +x_734 = lean_ctor_get(x_8, 1); +lean_inc(x_734); +x_735 = lean_ctor_get(x_8, 2); lean_inc(x_735); -x_736 = l_Lean_mkApp(x_618, x_735); -x_737 = lean_expr_instantiate1(x_719, x_735); -lean_dec(x_719); -x_738 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_738, 0, x_735); -if (lean_is_scalar(x_625)) { - x_739 = lean_alloc_ctor(0, 4, 0); +x_736 = lean_ctor_get(x_8, 3); +lean_inc(x_736); +x_737 = l_Lean_replaceRef(x_633, x_736); +x_738 = l_Lean_replaceRef(x_737, x_736); +lean_dec(x_737); +x_739 = l_Lean_replaceRef(x_738, x_736); +lean_dec(x_736); +lean_dec(x_738); +x_740 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_740, 0, x_733); +lean_ctor_set(x_740, 1, x_734); +lean_ctor_set(x_740, 2, x_735); +lean_ctor_set(x_740, 3, x_739); +x_741 = 0; +x_742 = lean_box(0); +lean_inc(x_6); +x_743 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_732, x_741, x_742, x_6, x_7, x_740, x_9, x_639); +lean_dec(x_740); +x_744 = lean_ctor_get(x_743, 0); +lean_inc(x_744); +x_745 = lean_ctor_get(x_743, 1); +lean_inc(x_745); +if (lean_is_exclusive(x_743)) { + lean_ctor_release(x_743, 0); + lean_ctor_release(x_743, 1); + x_746 = x_743; } else { - x_739 = x_625; + lean_dec_ref(x_743); + x_746 = lean_box(0); } -lean_ctor_set(x_739, 0, x_623); -lean_ctor_set(x_739, 1, x_614); -lean_ctor_set(x_739, 2, x_624); -lean_ctor_set(x_739, 3, x_738); -x_740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_740, 0, x_739); -lean_ctor_set(x_740, 1, x_621); -if (lean_is_scalar(x_622)) { - x_741 = lean_alloc_ctor(0, 2, 0); +x_747 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_744); +lean_inc(x_747); +x_748 = l_Lean_mkApp(x_628, x_747); +x_749 = lean_expr_instantiate1(x_731, x_747); +lean_dec(x_731); +x_750 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_750, 0, x_747); +if (lean_is_scalar(x_635)) { + x_751 = lean_alloc_ctor(0, 4, 0); } else { - x_741 = x_622; + x_751 = x_635; } -lean_ctor_set(x_741, 0, x_737); -lean_ctor_set(x_741, 1, x_740); -if (lean_is_scalar(x_619)) { - x_742 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_751, 0, x_633); +lean_ctor_set(x_751, 1, x_624); +lean_ctor_set(x_751, 2, x_634); +lean_ctor_set(x_751, 3, x_750); +x_752 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_752, 0, x_751); +lean_ctor_set(x_752, 1, x_631); +if (lean_is_scalar(x_632)) { + x_753 = lean_alloc_ctor(0, 2, 0); } else { - x_742 = x_619; + x_753 = x_632; } -lean_ctor_set(x_742, 0, x_736); -lean_ctor_set(x_742, 1, x_741); -if (lean_is_scalar(x_734)) { - x_743 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_753, 0, x_749); +lean_ctor_set(x_753, 1, x_752); +if (lean_is_scalar(x_629)) { + x_754 = lean_alloc_ctor(0, 2, 0); } else { - x_743 = x_734; + x_754 = x_629; } -lean_ctor_set(x_743, 0, x_742); -lean_ctor_set(x_743, 1, x_733); -x_599 = x_743; -goto block_607; +lean_ctor_set(x_754, 0, x_748); +lean_ctor_set(x_754, 1, x_753); +if (lean_is_scalar(x_746)) { + x_755 = lean_alloc_ctor(0, 2, 0); +} else { + x_755 = x_746; +} +lean_ctor_set(x_755, 0, x_754); +lean_ctor_set(x_755, 1, x_745); +x_609 = x_755; +goto block_617; } } } else { -lean_object* x_744; -lean_dec(x_625); +lean_object* x_756; +lean_dec(x_635); +lean_dec(x_634); +lean_dec(x_632); +lean_dec(x_631); +lean_dec(x_629); +lean_dec(x_628); lean_dec(x_624); -lean_dec(x_622); -lean_dec(x_621); -lean_dec(x_619); -lean_dec(x_618); -lean_dec(x_614); -x_744 = lean_box(0); -x_630 = x_744; -goto block_643; +x_756 = lean_box(0); +x_640 = x_756; +goto block_653; } -block_643: +block_653: { -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_dec(x_630); -x_631 = l_Lean_indentExpr(x_628); -x_632 = l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___closed__3; -x_633 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_633, 0, x_632); -lean_ctor_set(x_633, 1, x_631); -x_634 = lean_ctor_get(x_8, 0); -lean_inc(x_634); -x_635 = lean_ctor_get(x_8, 1); -lean_inc(x_635); -x_636 = lean_ctor_get(x_8, 2); -lean_inc(x_636); -x_637 = lean_ctor_get(x_8, 3); -lean_inc(x_637); -x_638 = l_Lean_replaceRef(x_623, x_637); -lean_dec(x_623); -x_639 = l_Lean_replaceRef(x_638, x_637); -lean_dec(x_638); -x_640 = l_Lean_replaceRef(x_639, x_637); -lean_dec(x_637); -lean_dec(x_639); -x_641 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_641, 0, x_634); -lean_ctor_set(x_641, 1, x_635); -lean_ctor_set(x_641, 2, x_636); -lean_ctor_set(x_641, 3, 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_dec(x_640); +x_641 = l_Lean_indentExpr(x_638); +x_642 = l___private_Lean_Elab_StructInst_20__mkCtorHeaderAux___main___closed__3; +x_643 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_643, 0, x_642); +lean_ctor_set(x_643, 1, x_641); +x_644 = lean_ctor_get(x_8, 0); +lean_inc(x_644); +x_645 = lean_ctor_get(x_8, 1); +lean_inc(x_645); +x_646 = lean_ctor_get(x_8, 2); +lean_inc(x_646); +x_647 = lean_ctor_get(x_8, 3); +lean_inc(x_647); +x_648 = l_Lean_replaceRef(x_633, x_647); +lean_dec(x_633); +x_649 = l_Lean_replaceRef(x_648, x_647); +lean_dec(x_648); +x_650 = l_Lean_replaceRef(x_649, x_647); +lean_dec(x_647); +lean_dec(x_649); +x_651 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_651, 0, x_644); +lean_ctor_set(x_651, 1, x_645); +lean_ctor_set(x_651, 2, x_646); +lean_ctor_set(x_651, 3, x_650); lean_inc(x_4); lean_inc(x_1); -x_642 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_626, x_1, x_633, x_4, x_5, x_6, x_7, x_641, x_9, x_629); -lean_dec(x_641); -x_599 = x_642; -goto block_607; +x_652 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_636, x_1, x_643, x_4, x_5, x_6, x_7, x_651, x_9, x_639); +lean_dec(x_651); +x_609 = x_652; +goto block_617; } } else { -lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; +lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; +lean_dec(x_636); +lean_dec(x_635); +lean_dec(x_634); +lean_dec(x_633); +lean_dec(x_632); +lean_dec(x_631); +lean_dec(x_629); +lean_dec(x_628); +lean_dec(x_624); +x_757 = lean_ctor_get(x_637, 0); +lean_inc(x_757); +x_758 = lean_ctor_get(x_637, 1); +lean_inc(x_758); +if (lean_is_exclusive(x_637)) { + lean_ctor_release(x_637, 0); + lean_ctor_release(x_637, 1); + x_759 = x_637; +} else { + lean_dec_ref(x_637); + x_759 = lean_box(0); +} +if (lean_is_scalar(x_759)) { + x_760 = lean_alloc_ctor(1, 2, 0); +} else { + x_760 = x_759; +} +lean_ctor_set(x_760, 0, x_757); +lean_ctor_set(x_760, 1, x_758); +x_609 = x_760; +goto block_617; +} +} +else +{ +lean_object* x_761; +lean_dec(x_627); lean_dec(x_626); -lean_dec(x_625); lean_dec(x_624); lean_dec(x_623); -lean_dec(x_622); -lean_dec(x_621); -lean_dec(x_619); -lean_dec(x_618); -lean_dec(x_614); -x_745 = lean_ctor_get(x_627, 0); -lean_inc(x_745); -x_746 = lean_ctor_get(x_627, 1); -lean_inc(x_746); -if (lean_is_exclusive(x_627)) { - lean_ctor_release(x_627, 0); - lean_ctor_release(x_627, 1); - x_747 = x_627; -} else { - lean_dec_ref(x_627); - x_747 = lean_box(0); -} -if (lean_is_scalar(x_747)) { - x_748 = lean_alloc_ctor(1, 2, 0); -} else { - x_748 = x_747; -} -lean_ctor_set(x_748, 0, x_745); -lean_ctor_set(x_748, 1, x_746); -x_599 = x_748; -goto block_607; +lean_dec(x_2); +x_761 = lean_box(0); +x_618 = x_761; +goto block_622; } } else { -lean_object* x_749; -lean_dec(x_617); -lean_dec(x_616); -lean_dec(x_614); -lean_dec(x_613); +lean_object* x_762; +lean_dec(x_626); +lean_dec(x_624); +lean_dec(x_623); lean_dec(x_2); -x_749 = lean_box(0); -x_608 = x_749; -goto block_612; +x_762 = lean_box(0); +x_618 = x_762; +goto block_622; } } -else +block_617: { -lean_object* x_750; -lean_dec(x_616); -lean_dec(x_614); -lean_dec(x_613); -lean_dec(x_2); -x_750 = lean_box(0); -x_608 = x_750; -goto block_612; -} -} -block_607: +if (lean_obj_tag(x_609) == 0) { -if (lean_obj_tag(x_599) == 0) -{ -lean_object* x_600; lean_object* x_601; -x_600 = lean_ctor_get(x_599, 0); -lean_inc(x_600); -x_601 = lean_ctor_get(x_599, 1); -lean_inc(x_601); -lean_dec(x_599); -x_2 = x_600; -x_3 = x_598; -x_10 = x_601; +lean_object* x_610; lean_object* x_611; +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_2 = x_610; +x_3 = x_608; +x_10 = x_611; goto _start; } else { -lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; -lean_dec(x_598); +lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; +lean_dec(x_608); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -22301,42 +22313,42 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_603 = lean_ctor_get(x_599, 0); -lean_inc(x_603); -x_604 = lean_ctor_get(x_599, 1); -lean_inc(x_604); -if (lean_is_exclusive(x_599)) { - lean_ctor_release(x_599, 0); - lean_ctor_release(x_599, 1); - x_605 = x_599; +x_613 = lean_ctor_get(x_609, 0); +lean_inc(x_613); +x_614 = lean_ctor_get(x_609, 1); +lean_inc(x_614); +if (lean_is_exclusive(x_609)) { + lean_ctor_release(x_609, 0); + lean_ctor_release(x_609, 1); + x_615 = x_609; } else { - lean_dec_ref(x_599); - x_605 = lean_box(0); + lean_dec_ref(x_609); + x_615 = lean_box(0); } -if (lean_is_scalar(x_605)) { - x_606 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_615)) { + x_616 = lean_alloc_ctor(1, 2, 0); } else { - x_606 = x_605; + x_616 = x_615; } -lean_ctor_set(x_606, 0, x_603); -lean_ctor_set(x_606, 1, x_604); -return x_606; +lean_ctor_set(x_616, 0, x_613); +lean_ctor_set(x_616, 1, x_614); +return x_616; } } -block_612: +block_622: { -lean_object* x_609; lean_object* x_610; lean_object* x_611; -lean_dec(x_608); -x_609 = lean_ctor_get(x_597, 0); -lean_inc(x_609); -lean_dec(x_597); -x_610 = l_List_foldlM___main___at___private_Lean_Elab_StructInst_24__elabStruct___main___spec__1___closed__3; +lean_object* x_619; lean_object* x_620; lean_object* x_621; +lean_dec(x_618); +x_619 = lean_ctor_get(x_607, 0); +lean_inc(x_619); +lean_dec(x_607); +x_620 = l_List_foldlM___main___at___private_Lean_Elab_StructInst_24__elabStruct___main___spec__1___closed__3; lean_inc(x_8); lean_inc(x_4); -x_611 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_609, x_610, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_609); -x_599 = x_611; -goto block_607; +x_621 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_619, x_620, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_619); +x_609 = x_621; +goto block_617; } } } @@ -25404,7 +25416,7 @@ lean_inc(x_57); lean_dec(x_56); 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_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_dec(x_38); lean_dec(x_7); lean_dec(x_6); @@ -25420,104 +25432,105 @@ x_61 = lean_ctor_get(x_59, 2); lean_inc(x_61); lean_dec(x_59); lean_ctor_set(x_40, 0, x_61); +x_62 = lean_box(0); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_8); -x_62 = l_Lean_Elab_Term_ensureHasType(x_40, x_52, x_8, x_9, x_10, x_11, x_12, x_13, x_60); -if (lean_obj_tag(x_62) == 0) +x_63 = l_Lean_Elab_Term_ensureHasType(x_40, x_52, x_62, x_8, x_9, x_10, x_11, x_12, x_13, x_60); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); +lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_62); -x_65 = l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(x_5, x_63, x_8, x_9, x_10, x_11, x_12, x_13, x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(x_5, x_64, x_8, x_9, x_10, x_11, x_12, x_13, x_65); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) { -lean_object* x_67; uint8_t x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_65, 0); -lean_dec(x_67); -x_68 = 1; -x_69 = lean_box(x_68); -lean_ctor_set(x_65, 0, x_69); -return x_65; +lean_object* x_68; uint8_t x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +x_69 = 1; +x_70 = lean_box(x_69); +lean_ctor_set(x_66, 0, x_70); +return x_66; } else { -lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -lean_dec(x_65); -x_71 = 1; -x_72 = lean_box(x_71); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_70); -return x_73; +lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_66, 1); +lean_inc(x_71); +lean_dec(x_66); +x_72 = 1; +x_73 = lean_box(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +return x_74; } } else { -uint8_t x_74; +uint8_t x_75; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); -x_74 = !lean_is_exclusive(x_62); -if (x_74 == 0) +x_75 = !lean_is_exclusive(x_63); +if (x_75 == 0) { -return x_62; +return x_63; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_62, 0); -x_76 = lean_ctor_get(x_62, 1); +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_63, 0); +x_77 = lean_ctor_get(x_63, 1); +lean_inc(x_77); lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_62); -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_dec(x_63); +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; } } } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_dec(x_57); lean_dec(x_52); lean_free_object(x_40); -x_78 = l_Lean_Meta_setMCtx___at_Lean_Elab_Term_savingMCtx___spec__1(x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_53); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_unsigned_to_nat(1u); -x_81 = lean_nat_add(x_6, x_80); +x_79 = l_Lean_Meta_setMCtx___at_Lean_Elab_Term_savingMCtx___spec__1(x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_53); +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +x_81 = lean_unsigned_to_nat(1u); +x_82 = lean_nat_add(x_6, x_81); lean_dec(x_6); -x_82 = lean_nat_add(x_7, x_80); +x_83 = lean_nat_add(x_7, x_81); lean_dec(x_7); -x_6 = x_81; -x_7 = x_82; -x_14 = x_79; +x_6 = x_82; +x_7 = x_83; +x_14 = x_80; goto _start; } } else { -uint8_t x_84; +uint8_t x_85; lean_free_object(x_40); lean_dec(x_38); lean_dec(x_13); @@ -25530,167 +25543,168 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_84 = !lean_is_exclusive(x_51); -if (x_84 == 0) +x_85 = !lean_is_exclusive(x_51); +if (x_85 == 0) { return x_51; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_51, 0); -x_86 = lean_ctor_get(x_51, 1); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_51, 0); +x_87 = lean_ctor_get(x_51, 1); +lean_inc(x_87); lean_inc(x_86); -lean_inc(x_85); lean_dec(x_51); -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; +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_88; lean_object* x_89; -x_88 = lean_ctor_get(x_40, 0); -lean_inc(x_88); +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_40, 0); +lean_inc(x_89); lean_dec(x_40); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_2); -x_89 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce___main(x_2, x_88, x_10, x_11, x_12, x_13, x_48); -if (lean_obj_tag(x_89) == 0) +x_90 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce___main(x_2, x_89, x_10, x_11, x_12, x_13, x_48); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_90; lean_object* x_91; size_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); +lean_object* x_91; lean_object* x_92; size_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); -lean_dec(x_89); -x_92 = 8192; -x_93 = l_Lean_Expr_FindImpl_initCache; -lean_inc(x_90); -x_94 = l_Lean_Expr_FindImpl_findM_x3f___main___at_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefaultAux___main___spec__1(x_92, x_90, x_93); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -lean_dec(x_94); -if (lean_obj_tag(x_95) == 0) +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = 8192; +x_94 = l_Lean_Expr_FindImpl_initCache; +lean_inc(x_91); +x_95 = l_Lean_Expr_FindImpl_findM_x3f___main___at_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefaultAux___main___spec__1(x_93, x_91, x_94); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +lean_dec(x_95); +if (lean_obj_tag(x_96) == 0) { -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_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_38); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_96 = l_Lean_Elab_Term_getMVarDecl(x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_91); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); +x_97 = l_Lean_Elab_Term_getMVarDecl(x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_92); +x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_ctor_get(x_97, 2); +x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); lean_dec(x_97); -x_100 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_100, 0, x_99); +x_100 = lean_ctor_get(x_98, 2); +lean_inc(x_100); +lean_dec(x_98); +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_100); +x_102 = lean_box(0); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_8); -x_101 = l_Lean_Elab_Term_ensureHasType(x_100, x_90, x_8, x_9, x_10, x_11, x_12, x_13, x_98); -if (lean_obj_tag(x_101) == 0) +x_103 = l_Lean_Elab_Term_ensureHasType(x_101, x_91, x_102, x_8, x_9, x_10, x_11, x_12, x_13, x_99); +if (lean_obj_tag(x_103) == 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_108; lean_object* x_109; -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 = l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(x_5, x_102, x_8, x_9, x_10, x_11, x_12, x_13, x_103); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; +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 = l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(x_5, x_104, x_8, x_9, x_10, x_11, x_12, x_13, x_105); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); -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; +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_108 = x_106; } else { - lean_dec_ref(x_104); - x_106 = lean_box(0); + lean_dec_ref(x_106); + x_108 = lean_box(0); } -x_107 = 1; -x_108 = lean_box(x_107); -if (lean_is_scalar(x_106)) { - x_109 = lean_alloc_ctor(0, 2, 0); +x_109 = 1; +x_110 = lean_box(x_109); +if (lean_is_scalar(x_108)) { + x_111 = lean_alloc_ctor(0, 2, 0); } else { - x_109 = x_106; + x_111 = x_108; } -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_105); -return x_109; +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_107); +return x_111; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); -x_110 = lean_ctor_get(x_101, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_101, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_112 = x_101; +x_112 = lean_ctor_get(x_103, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_103, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_114 = x_103; } else { - lean_dec_ref(x_101); - x_112 = lean_box(0); + lean_dec_ref(x_103); + x_114 = lean_box(0); } -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); } else { - x_113 = x_112; + x_115 = x_114; } -lean_ctor_set(x_113, 0, x_110); -lean_ctor_set(x_113, 1, x_111); -return x_113; +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +return x_115; } } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -lean_dec(x_95); -lean_dec(x_90); -x_114 = l_Lean_Meta_setMCtx___at_Lean_Elab_Term_savingMCtx___spec__1(x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_91); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_116 = lean_unsigned_to_nat(1u); -x_117 = lean_nat_add(x_6, x_116); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_96); +lean_dec(x_91); +x_116 = l_Lean_Meta_setMCtx___at_Lean_Elab_Term_savingMCtx___spec__1(x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_92); +x_117 = lean_ctor_get(x_116, 1); +lean_inc(x_117); +lean_dec(x_116); +x_118 = lean_unsigned_to_nat(1u); +x_119 = lean_nat_add(x_6, x_118); lean_dec(x_6); -x_118 = lean_nat_add(x_7, x_116); +x_120 = lean_nat_add(x_7, x_118); lean_dec(x_7); -x_6 = x_117; -x_7 = x_118; -x_14 = x_115; +x_6 = x_119; +x_7 = x_120; +x_14 = x_117; goto _start; } } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_dec(x_38); lean_dec(x_13); lean_dec(x_12); @@ -25702,33 +25716,33 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_120 = lean_ctor_get(x_89, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_89, 1); -lean_inc(x_121); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_122 = x_89; +x_122 = lean_ctor_get(x_90, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_90, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_124 = x_90; } else { - lean_dec_ref(x_89); - x_122 = lean_box(0); + lean_dec_ref(x_90); + x_124 = lean_box(0); } -if (lean_is_scalar(x_122)) { - x_123 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_124)) { + x_125 = lean_alloc_ctor(1, 2, 0); } else { - x_123 = x_122; + x_125 = x_124; } -lean_ctor_set(x_123, 0, x_120); -lean_ctor_set(x_123, 1, x_121); -return x_123; +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_123); +return x_125; } } } } else { -uint8_t x_124; +uint8_t x_126; lean_dec(x_38); lean_dec(x_13); lean_dec(x_12); @@ -25740,35 +25754,35 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_124 = !lean_is_exclusive(x_39); -if (x_124 == 0) +x_126 = !lean_is_exclusive(x_39); +if (x_126 == 0) { return x_39; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_39, 0); -x_126 = lean_ctor_get(x_39, 1); -lean_inc(x_126); -lean_inc(x_125); +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_39, 0); +x_128 = lean_ctor_get(x_39, 1); +lean_inc(x_128); +lean_inc(x_127); lean_dec(x_39); -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; +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_128; lean_object* x_129; +lean_object* x_130; lean_object* x_131; lean_dec(x_34); lean_dec(x_21); -x_128 = lean_unsigned_to_nat(1u); -x_129 = lean_nat_add(x_6, x_128); +x_130 = lean_unsigned_to_nat(1u); +x_131 = lean_nat_add(x_6, x_130); lean_dec(x_6); -x_6 = x_129; +x_6 = x_131; x_14 = x_28; goto _start; } @@ -25777,7 +25791,7 @@ goto _start; } else { -uint8_t x_131; lean_object* x_132; lean_object* x_133; +uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -25788,12 +25802,12 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_131 = 0; -x_132 = lean_box(x_131); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_14); -return x_133; +x_133 = 0; +x_134 = lean_box(x_133); +x_135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_14); +return x_135; } } } diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 8a11e201aa..514a070083 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -77,6 +77,7 @@ lean_object* l___private_Lean_Elab_Structure_15__withUsed___rarg(lean_object*, l 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_Lean_Meta_mkId___at___private_Lean_Elab_Structure_30__addDefaults___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___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_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -145,7 +146,7 @@ uint8_t l___private_Lean_Elab_Structure_7__containsFieldName(lean_object*, lean_ lean_object* l_Lean_Level_getLevelOffset___main(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___main___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_13__collectUsed___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_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_5__checkParentIsStructure___closed__1; extern lean_object* l_Lean_Expr_Inhabited___closed__1; @@ -197,6 +198,7 @@ lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_2__exp lean_object* l_Lean_Meta_addGlobalInstance___at___private_Lean_Elab_Structure_31__elabStructureView___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_1__defaultCtorName; lean_object* l___private_Lean_Elab_Structure_2__expandCtor___closed__2; +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*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); extern lean_object* l_Lean_Meta_inferTypeRef; lean_object* l___private_Lean_Elab_Structure_2__expandCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -266,7 +268,6 @@ lean_object* l___private_Lean_Elab_Structure_2__expandCtor(lean_object*, lean_ob lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_2__expandCtor___spec__1___closed__22; lean_object* l___private_Lean_Elab_Structure_5__checkParentIsStructure___closed__3; -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___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_mkProjection___at___private_Lean_Elab_Structure_8__processSubfields___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_Lean_LocalDecl_type(lean_object*); lean_object* l___private_Lean_Elab_Structure_25__addCtorFields___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -288,7 +289,6 @@ lean_object* l_Lean_Meta_assignLevelMVar___at___private_Lean_Elab_Structure_21__ uint8_t l_Lean_BinderInfo_beq(uint8_t, uint8_t); lean_object* l___private_Lean_Elab_Structure_12__getResultUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__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___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__6; lean_object* l_Array_findMAux___main___at___private_Lean_Elab_Structure_6__findFieldInfo_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -315,10 +315,10 @@ lean_object* l_Array_filterMAux___main___at___private_Lean_Elab_Structure_31__el lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Structure_3__expandFields___spec__2___closed__1; lean_object* l_Lean_Elab_Command_elabStructure___closed__1; lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Structure_3__expandFields___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_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterAux___main___at___private_Lean_Elab_Structure_31__elabStructureView___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addGlobalInstance___at___private_Lean_Elab_Structure_31__elabStructureView___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_5__checkParentIsStructure___closed__6; +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_Lean_Elab_Command_checkValidFieldModifier___closed__4; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -384,7 +384,6 @@ lean_object* l_Lean_Elab_Command_checkValidFieldModifier___closed__1; lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_2__expandCtor___spec__1___closed__2; lean_object* l___private_Lean_Elab_Structure_17__levelMVarToParamFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*); -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__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_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Name_appendBefore(lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at___private_Lean_Elab_Structure_2__expandCtor___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -427,6 +426,7 @@ lean_object* l___private_Lean_Elab_Structure_26__mkCtor(lean_object*, lean_objec lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Structure_31__elabStructureView___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_2__expandCtor___spec__1___closed__4; lean_object* l_Lean_Elab_Command_checkValidFieldModifier(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_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_Lean_Elab_Command_checkValidInductiveModifier(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); @@ -9603,7 +9603,7 @@ x_54 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__6; x_55 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_55, 0, x_53); lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_16, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_56 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_16, x_55, x_5, x_6, x_7, x_8, x_9, x_10, x_27); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -9649,7 +9649,7 @@ uint8_t x_38; lean_object* x_39; lean_dec(x_34); lean_dec(x_26); x_38 = 0; -x_39 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_33, x_38, x_23, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_35); +x_39 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_33, x_38, x_23, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_35); return x_39; } else @@ -9660,14 +9660,14 @@ if (x_40 == 0) { uint8_t x_41; lean_object* x_42; x_41 = 0; -x_42 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_33, x_41, x_23, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_35); +x_42 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_33, x_41, x_23, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_35); return x_42; } else { uint8_t x_43; lean_object* x_44; x_43 = 3; -x_44 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_33, x_43, x_23, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_35); +x_44 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_33, x_43, x_23, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_35); return x_44; } } @@ -9836,7 +9836,7 @@ x_109 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__6; x_110 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_110, 0, x_108); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_16, x_110, x_5, x_6, x_7, x_8, x_76, x_10, x_82); +x_111 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_16, x_110, x_5, x_6, x_7, x_8, x_76, x_10, x_82); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -9884,7 +9884,7 @@ uint8_t x_93; lean_object* x_94; lean_dec(x_89); lean_dec(x_81); x_93 = 0; -x_94 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_88, x_93, x_78, x_92, x_5, x_6, x_7, x_8, x_76, x_10, x_90); +x_94 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_88, x_93, x_78, x_92, x_5, x_6, x_7, x_8, x_76, x_10, x_90); return x_94; } else @@ -9895,14 +9895,14 @@ if (x_95 == 0) { uint8_t x_96; lean_object* x_97; x_96 = 0; -x_97 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_88, x_96, x_78, x_92, x_5, x_6, x_7, x_8, x_76, x_10, x_90); +x_97 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_88, x_96, x_78, x_92, x_5, x_6, x_7, x_8, x_76, x_10, x_90); return x_97; } else { uint8_t x_98; lean_object* x_99; x_98 = 3; -x_99 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_88, x_98, x_78, x_92, x_5, x_6, x_7, x_8, x_76, x_10, x_90); +x_99 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_88, x_98, x_78, x_92, x_5, x_6, x_7, x_8, x_76, x_10, x_90); return x_99; } } @@ -10081,7 +10081,7 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); -x_21 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_2, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +x_21 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_2, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_20); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10198,7 +10198,7 @@ lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_2, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_42); +x_43 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_2, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_42); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10397,109 +10397,110 @@ lean_dec(x_60); x_80 = !lean_is_exclusive(x_61); if (x_80 == 0) { -lean_object* x_81; uint8_t x_82; lean_object* x_83; +lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; x_81 = lean_ctor_get(x_61, 0); lean_inc(x_78); lean_ctor_set(x_61, 0, x_78); -x_82 = 1; +x_82 = lean_box(0); +x_83 = 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_83 = l_Lean_Elab_Term_elabTermEnsuringType(x_81, x_61, x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_79); -if (lean_obj_tag(x_83) == 0) +x_84 = l_Lean_Elab_Term_elabTermEnsuringType(x_81, x_61, x_83, x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_79); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); -lean_dec(x_83); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); lean_inc(x_5); lean_inc(x_2); -x_86 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_85); -if (lean_obj_tag(x_86) == 0) +x_87 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_86); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); -lean_dec(x_86); -x_89 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_2, x_84, x_3, x_4, x_5, x_6, x_7, x_8, x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_2, x_85, 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); lean_dec(x_4); lean_dec(x_3); -if (lean_obj_tag(x_89) == 0) +if (lean_obj_tag(x_90) == 0) { -uint8_t x_90; -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) +uint8_t x_91; +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_89, 0); -lean_ctor_set(x_10, 0, x_87); -x_92 = lean_alloc_ctor(1, 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_10); -lean_ctor_set(x_93, 1, x_92); -lean_ctor_set(x_89, 0, x_93); -return x_89; +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_90, 0); +lean_ctor_set(x_10, 0, x_88); +x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_93, 0, x_92); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_10); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set(x_90, 0, x_94); +return x_90; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_94 = lean_ctor_get(x_89, 0); -x_95 = lean_ctor_get(x_89, 1); +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_95 = lean_ctor_get(x_90, 0); +x_96 = lean_ctor_get(x_90, 1); +lean_inc(x_96); lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_89); -lean_ctor_set(x_10, 0, x_87); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_94); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_10); -lean_ctor_set(x_97, 1, x_96); +lean_dec(x_90); +lean_ctor_set(x_10, 0, x_88); +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_95); x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_95); -return x_98; +lean_ctor_set(x_98, 0, x_10); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_96); +return x_99; } } else { -uint8_t x_99; -lean_dec(x_87); +uint8_t x_100; +lean_dec(x_88); lean_free_object(x_10); -x_99 = !lean_is_exclusive(x_89); -if (x_99 == 0) +x_100 = !lean_is_exclusive(x_90); +if (x_100 == 0) { -return x_89; +return x_90; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_89, 0); -x_101 = lean_ctor_get(x_89, 1); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_90, 0); +x_102 = lean_ctor_get(x_90, 1); +lean_inc(x_102); lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_89); -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; +lean_dec(x_90); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; } } } else { -uint8_t x_103; -lean_dec(x_84); +uint8_t x_104; +lean_dec(x_85); lean_free_object(x_10); lean_dec(x_8); lean_dec(x_7); @@ -10508,29 +10509,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_103 = !lean_is_exclusive(x_86); -if (x_103 == 0) +x_104 = !lean_is_exclusive(x_87); +if (x_104 == 0) { -return x_86; +return x_87; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_86, 0); -x_105 = lean_ctor_get(x_86, 1); +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_87, 0); +x_106 = lean_ctor_get(x_87, 1); +lean_inc(x_106); lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_86); -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; +lean_dec(x_87); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; } } } else { -uint8_t x_107; +uint8_t x_108; lean_dec(x_78); lean_free_object(x_10); lean_dec(x_8); @@ -10540,129 +10541,130 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_107 = !lean_is_exclusive(x_83); -if (x_107 == 0) +x_108 = !lean_is_exclusive(x_84); +if (x_108 == 0) { -return x_83; +return x_84; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_83, 0); -x_109 = lean_ctor_get(x_83, 1); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_84, 0); +x_110 = lean_ctor_get(x_84, 1); +lean_inc(x_110); lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_83); -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_dec(x_84); +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 { -lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; -x_111 = lean_ctor_get(x_61, 0); -lean_inc(x_111); +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; +x_112 = lean_ctor_get(x_61, 0); +lean_inc(x_112); lean_dec(x_61); lean_inc(x_78); -x_112 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_112, 0, x_78); -x_113 = 1; +x_113 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_113, 0, x_78); +x_114 = lean_box(0); +x_115 = 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_114 = l_Lean_Elab_Term_elabTermEnsuringType(x_111, x_112, x_113, x_3, x_4, x_5, x_6, x_7, x_8, x_79); -if (lean_obj_tag(x_114) == 0) +x_116 = l_Lean_Elab_Term_elabTermEnsuringType(x_112, x_113, x_115, x_114, x_3, x_4, x_5, x_6, x_7, x_8, x_79); +if (lean_obj_tag(x_116) == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); lean_inc(x_5); lean_inc(x_2); -x_117 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_116); -if (lean_obj_tag(x_117) == 0) +x_119 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_118); +if (lean_obj_tag(x_119) == 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_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_2, x_115, x_3, x_4, x_5, x_6, x_7, x_8, x_119); +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); +x_122 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_2, x_117, x_3, x_4, x_5, x_6, x_7, x_8, x_121); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -if (lean_obj_tag(x_120) == 0) +if (lean_obj_tag(x_122) == 0) { -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_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_123 = x_120; +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_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_120); - x_123 = lean_box(0); + lean_dec_ref(x_122); + x_125 = lean_box(0); } -lean_ctor_set(x_10, 0, x_118); -x_124 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_124, 0, x_121); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_10); -lean_ctor_set(x_125, 1, x_124); -if (lean_is_scalar(x_123)) { - x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_120); +x_126 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_126, 0, x_123); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_10); +lean_ctor_set(x_127, 1, x_126); +if (lean_is_scalar(x_125)) { + x_128 = lean_alloc_ctor(0, 2, 0); } else { - x_126 = x_123; + x_128 = x_125; } -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_122); -return x_126; +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_124); +return x_128; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -lean_dec(x_118); +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_120); lean_free_object(x_10); -x_127 = lean_ctor_get(x_120, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_120, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_129 = x_120; +x_129 = lean_ctor_get(x_122, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_122, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_131 = x_122; } else { - lean_dec_ref(x_120); - x_129 = lean_box(0); + lean_dec_ref(x_122); + x_131 = lean_box(0); } -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_131)) { + x_132 = lean_alloc_ctor(1, 2, 0); } else { - x_130 = x_129; + x_132 = x_131; } -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_128); -return x_130; +lean_ctor_set(x_132, 0, x_129); +lean_ctor_set(x_132, 1, x_130); +return x_132; } } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_dec(x_115); +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_117); lean_free_object(x_10); lean_dec(x_8); lean_dec(x_7); @@ -10671,31 +10673,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_131 = lean_ctor_get(x_117, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_117, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_133 = x_117; +x_133 = lean_ctor_get(x_119, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_119, 1); +lean_inc(x_134); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_135 = x_119; } else { - lean_dec_ref(x_117); - x_133 = lean_box(0); + lean_dec_ref(x_119); + x_135 = lean_box(0); } -if (lean_is_scalar(x_133)) { - x_134 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_135)) { + x_136 = lean_alloc_ctor(1, 2, 0); } else { - x_134 = x_133; + x_136 = x_135; } -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_132); -return x_134; +lean_ctor_set(x_136, 0, x_133); +lean_ctor_set(x_136, 1, x_134); +return x_136; } } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_dec(x_78); lean_free_object(x_10); lean_dec(x_8); @@ -10705,33 +10707,33 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_135 = lean_ctor_get(x_114, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_114, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_137 = x_114; +x_137 = lean_ctor_get(x_116, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_116, 1); +lean_inc(x_138); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_139 = x_116; } else { - lean_dec_ref(x_114); - x_137 = lean_box(0); + lean_dec_ref(x_116); + x_139 = lean_box(0); } -if (lean_is_scalar(x_137)) { - x_138 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_139)) { + x_140 = lean_alloc_ctor(1, 2, 0); } else { - x_138 = x_137; + x_140 = x_139; } -lean_ctor_set(x_138, 0, x_135); -lean_ctor_set(x_138, 1, x_136); -return x_138; +lean_ctor_set(x_140, 0, x_137); +lean_ctor_set(x_140, 1, x_138); +return x_140; } } } } else { -uint8_t x_139; +uint8_t x_141; lean_free_object(x_10); lean_dec(x_8); lean_dec(x_7); @@ -10741,31 +10743,31 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_139 = !lean_is_exclusive(x_60); -if (x_139 == 0) +x_141 = !lean_is_exclusive(x_60); +if (x_141 == 0) { return x_60; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_60, 0); -x_141 = lean_ctor_get(x_60, 1); -lean_inc(x_141); -lean_inc(x_140); +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_60, 0); +x_143 = lean_ctor_get(x_60, 1); +lean_inc(x_143); +lean_inc(x_142); lean_dec(x_60); -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; +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; } } } else { -lean_object* x_143; lean_object* x_144; -x_143 = lean_ctor_get(x_10, 0); -lean_inc(x_143); +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_10, 0); +lean_inc(x_145); lean_dec(x_10); lean_inc(x_8); lean_inc(x_7); @@ -10773,125 +10775,115 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_144 = l_Lean_Elab_Term_elabType(x_143, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_144) == 0) +x_146 = l_Lean_Elab_Term_elabType(x_145, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_146) == 0) { -lean_object* x_145; -x_145 = lean_ctor_get(x_1, 6); -lean_inc(x_145); -lean_dec(x_1); -if (lean_obj_tag(x_145) == 0) -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_144, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_144, 1); +lean_object* x_147; +x_147 = lean_ctor_get(x_1, 6); lean_inc(x_147); -lean_dec(x_144); -x_148 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_146, x_3, x_4, x_5, x_6, x_7, x_8, x_147); +lean_dec(x_1); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_148 = lean_ctor_get(x_146, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_146, 1); +lean_inc(x_149); +lean_dec(x_146); +x_150 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_148, x_3, x_4, x_5, x_6, x_7, x_8, x_149); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -if (lean_obj_tag(x_148) == 0) +if (lean_obj_tag(x_150) == 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; -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_151 = x_148; +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; +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_150, 1); +lean_inc(x_152); +if (lean_is_exclusive(x_150)) { + lean_ctor_release(x_150, 0); + lean_ctor_release(x_150, 1); + x_153 = x_150; } else { - lean_dec_ref(x_148); - x_151 = lean_box(0); + lean_dec_ref(x_150); + x_153 = lean_box(0); } -x_152 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_152, 0, x_149); -x_153 = lean_box(0); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -if (lean_is_scalar(x_151)) { - x_155 = lean_alloc_ctor(0, 2, 0); +x_154 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_154, 0, x_151); +x_155 = lean_box(0); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +if (lean_is_scalar(x_153)) { + x_157 = lean_alloc_ctor(0, 2, 0); } else { - x_155 = x_151; + x_157 = x_153; } -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_150); -return x_155; +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_152); +return x_157; } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_156 = lean_ctor_get(x_148, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_148, 1); -lean_inc(x_157); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_158 = x_148; +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_158 = lean_ctor_get(x_150, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_150, 1); +lean_inc(x_159); +if (lean_is_exclusive(x_150)) { + lean_ctor_release(x_150, 0); + lean_ctor_release(x_150, 1); + x_160 = x_150; } else { - lean_dec_ref(x_148); - x_158 = lean_box(0); + lean_dec_ref(x_150); + x_160 = lean_box(0); } -if (lean_is_scalar(x_158)) { - x_159 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_160)) { + x_161 = lean_alloc_ctor(1, 2, 0); } else { - x_159 = x_158; + x_161 = x_160; } -lean_ctor_set(x_159, 0, x_156); -lean_ctor_set(x_159, 1, x_157); -return x_159; +lean_ctor_set(x_161, 0, x_158); +lean_ctor_set(x_161, 1, x_159); +return x_161; } } else { -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_144, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_144, 1); -lean_inc(x_161); -lean_dec(x_144); -x_162 = lean_ctor_get(x_145, 0); +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; +x_162 = lean_ctor_get(x_146, 0); lean_inc(x_162); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - x_163 = x_145; +x_163 = lean_ctor_get(x_146, 1); +lean_inc(x_163); +lean_dec(x_146); +x_164 = lean_ctor_get(x_147, 0); +lean_inc(x_164); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + x_165 = x_147; } else { - lean_dec_ref(x_145); - x_163 = lean_box(0); + lean_dec_ref(x_147); + x_165 = lean_box(0); } -lean_inc(x_160); -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(1, 1, 0); +lean_inc(x_162); +if (lean_is_scalar(x_165)) { + x_166 = lean_alloc_ctor(1, 1, 0); } else { - x_164 = x_163; + x_166 = x_165; } -lean_ctor_set(x_164, 0, x_160); -x_165 = 1; +lean_ctor_set(x_166, 0, x_162); +x_167 = lean_box(0); +x_168 = 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_166 = l_Lean_Elab_Term_elabTermEnsuringType(x_162, x_164, x_165, x_3, x_4, x_5, x_6, x_7, x_8, x_161); -if (lean_obj_tag(x_166) == 0) -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -lean_inc(x_5); -lean_inc(x_2); -x_169 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_160, x_3, x_4, x_5, x_6, x_7, x_8, x_168); +x_169 = l_Lean_Elab_Term_elabTermEnsuringType(x_164, x_166, x_168, x_167, x_3, x_4, x_5, x_6, x_7, x_8, x_163); if (lean_obj_tag(x_169) == 0) { lean_object* x_170; lean_object* x_171; lean_object* x_172; @@ -10900,73 +10892,84 @@ lean_inc(x_170); x_171 = lean_ctor_get(x_169, 1); lean_inc(x_171); lean_dec(x_169); -x_172 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_2, x_167, x_3, x_4, x_5, x_6, x_7, x_8, x_171); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); +lean_inc(x_5); +lean_inc(x_2); +x_172 = l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(x_2, x_162, x_3, x_4, x_5, x_6, x_7, x_8, x_171); if (lean_obj_tag(x_172) == 0) { -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_173; lean_object* x_174; lean_object* x_175; x_173 = lean_ctor_get(x_172, 0); lean_inc(x_173); x_174 = lean_ctor_get(x_172, 1); lean_inc(x_174); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - x_175 = x_172; +lean_dec(x_172); +x_175 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_2, x_170, x_3, x_4, x_5, x_6, x_7, x_8, x_174); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +if (lean_obj_tag(x_175) == 0) +{ +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; +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_178 = x_175; } else { - lean_dec_ref(x_172); - x_175 = lean_box(0); + lean_dec_ref(x_175); + x_178 = lean_box(0); } -x_176 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_176, 0, x_170); -x_177 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_177, 0, x_173); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_176); -lean_ctor_set(x_178, 1, x_177); -if (lean_is_scalar(x_175)) { - x_179 = lean_alloc_ctor(0, 2, 0); +x_179 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_179, 0, x_173); +x_180 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_180, 0, x_176); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +if (lean_is_scalar(x_178)) { + x_182 = lean_alloc_ctor(0, 2, 0); } else { - x_179 = x_175; + x_182 = x_178; } -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_174); -return x_179; +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_177); +return x_182; } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +lean_dec(x_173); +x_183 = lean_ctor_get(x_175, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_175, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_185 = x_175; +} else { + lean_dec_ref(x_175); + x_185 = lean_box(0); +} +if (lean_is_scalar(x_185)) { + x_186 = lean_alloc_ctor(1, 2, 0); +} else { + x_186 = x_185; +} +lean_ctor_set(x_186, 0, x_183); +lean_ctor_set(x_186, 1, x_184); +return x_186; +} +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_dec(x_170); -x_180 = lean_ctor_get(x_172, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_172, 1); -lean_inc(x_181); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - x_182 = x_172; -} else { - lean_dec_ref(x_172); - x_182 = lean_box(0); -} -if (lean_is_scalar(x_182)) { - x_183 = lean_alloc_ctor(1, 2, 0); -} else { - x_183 = x_182; -} -lean_ctor_set(x_183, 0, x_180); -lean_ctor_set(x_183, 1, x_181); -return x_183; -} -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_167); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -10974,65 +10977,65 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_184 = lean_ctor_get(x_169, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_169, 1); -lean_inc(x_185); +x_187 = lean_ctor_get(x_172, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_172, 1); +lean_inc(x_188); +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + x_189 = x_172; +} else { + lean_dec_ref(x_172); + x_189 = lean_box(0); +} +if (lean_is_scalar(x_189)) { + x_190 = lean_alloc_ctor(1, 2, 0); +} else { + x_190 = x_189; +} +lean_ctor_set(x_190, 0, x_187); +lean_ctor_set(x_190, 1, x_188); +return x_190; +} +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +lean_dec(x_162); +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_191 = lean_ctor_get(x_169, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_169, 1); +lean_inc(x_192); if (lean_is_exclusive(x_169)) { lean_ctor_release(x_169, 0); lean_ctor_release(x_169, 1); - x_186 = x_169; + x_193 = x_169; } else { lean_dec_ref(x_169); - x_186 = lean_box(0); + x_193 = lean_box(0); } -if (lean_is_scalar(x_186)) { - x_187 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_193)) { + x_194 = lean_alloc_ctor(1, 2, 0); } else { - x_187 = x_186; + x_194 = x_193; } -lean_ctor_set(x_187, 0, x_184); -lean_ctor_set(x_187, 1, x_185); -return x_187; -} -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -lean_dec(x_160); -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_188 = lean_ctor_get(x_166, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_166, 1); -lean_inc(x_189); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_190 = x_166; -} else { - lean_dec_ref(x_166); - x_190 = lean_box(0); -} -if (lean_is_scalar(x_190)) { - x_191 = lean_alloc_ctor(1, 2, 0); -} else { - x_191 = x_190; -} -lean_ctor_set(x_191, 0, x_188); -lean_ctor_set(x_191, 1, x_189); -return x_191; +lean_ctor_set(x_194, 0, x_191); +lean_ctor_set(x_194, 1, x_192); +return x_194; } } } else { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -11041,26 +11044,26 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_192 = lean_ctor_get(x_144, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_144, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_194 = x_144; +x_195 = lean_ctor_get(x_146, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_146, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_197 = x_146; } else { - lean_dec_ref(x_144); - x_194 = lean_box(0); + lean_dec_ref(x_146); + x_197 = lean_box(0); } -if (lean_is_scalar(x_194)) { - x_195 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_197)) { + x_198 = lean_alloc_ctor(1, 2, 0); } else { - x_195 = x_194; + x_198 = x_197; } -lean_ctor_set(x_195, 0, x_192); -lean_ctor_set(x_195, 1, x_193); -return x_195; +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_196); +return x_198; } } } @@ -11322,7 +11325,7 @@ lean_closure_set(x_41, 3, x_3); lean_closure_set(x_41, 4, x_2); lean_closure_set(x_41, 5, x_1); lean_closure_set(x_41, 6, x_4); -x_42 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_17, x_40, x_38, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_39); +x_42 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_17, x_40, x_38, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_39); return x_42; } else @@ -11383,7 +11386,7 @@ lean_closure_set(x_51, 3, x_3); lean_closure_set(x_51, 4, x_2); lean_closure_set(x_51, 5, x_1); lean_closure_set(x_51, 6, x_4); -x_52 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_17, x_50, x_49, x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_47); +x_52 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_17, x_50, x_49, x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_47); return x_52; } } @@ -11552,43 +11555,44 @@ lean_inc(x_76); x_107 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_76, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_107) == 0) { -lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; +lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; lean_object* x_112; 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); lean_ctor_set(x_66, 0, x_108); -x_110 = 1; +x_110 = lean_box(0); +x_111 = 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_111 = l_Lean_Elab_Term_elabTermEnsuringType(x_79, x_66, x_110, x_5, x_6, x_7, x_8, x_9, x_10, x_109); -if (lean_obj_tag(x_111) == 0) +x_112 = l_Lean_Elab_Term_elabTermEnsuringType(x_79, x_66, x_111, x_110, x_5, x_6, x_7, x_8, x_9, x_10, x_109); +if (lean_obj_tag(x_112) == 0) { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -lean_dec(x_111); -lean_ctor_set(x_19, 0, x_112); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +lean_ctor_set(x_19, 0, x_113); lean_ctor_set(x_58, 3, x_19); -x_114 = lean_array_push(x_3, x_58); -x_115 = lean_unsigned_to_nat(1u); -x_116 = lean_nat_add(x_2, x_115); +x_115 = lean_array_push(x_3, x_58); +x_116 = lean_unsigned_to_nat(1u); +x_117 = lean_nat_add(x_2, x_116); lean_dec(x_2); -x_2 = x_116; -x_3 = x_114; -x_11 = x_113; +x_2 = x_117; +x_3 = x_115; +x_11 = x_114; goto _start; } else { -uint8_t x_118; +uint8_t x_119; lean_free_object(x_58); lean_dec(x_76); lean_dec(x_75); @@ -11604,29 +11608,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_118 = !lean_is_exclusive(x_111); -if (x_118 == 0) +x_119 = !lean_is_exclusive(x_112); +if (x_119 == 0) { -return x_111; +return x_112; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_111, 0); -x_120 = lean_ctor_get(x_111, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_112, 0); +x_121 = lean_ctor_get(x_112, 1); +lean_inc(x_121); lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_111); -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; +lean_dec(x_112); +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_122; +uint8_t x_123; lean_free_object(x_66); lean_dec(x_79); lean_free_object(x_58); @@ -11644,29 +11648,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_122 = !lean_is_exclusive(x_107); -if (x_122 == 0) +x_123 = !lean_is_exclusive(x_107); +if (x_123 == 0) { return x_107; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_107, 0); -x_124 = lean_ctor_get(x_107, 1); +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_107, 0); +x_125 = lean_ctor_get(x_107, 1); +lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); lean_dec(x_107); -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; +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; } } } else { -lean_object* x_126; +lean_object* x_127; lean_dec(x_106); lean_free_object(x_66); lean_dec(x_79); @@ -11679,8 +11683,8 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_126 = lean_box(0); -x_80 = x_126; +x_127 = lean_box(0); +x_80 = x_127; goto block_101; } } @@ -11707,7 +11711,7 @@ lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint x_87 = l_Lean_Syntax_inhabited; x_88 = l_Option_get_x21___rarg___closed__3; x_89 = lean_panic_fn(x_87, x_88); -x_90 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_89, x_86, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_90 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_89, x_86, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -11738,7 +11742,7 @@ lean_object* x_95; lean_object* x_96; uint8_t x_97; x_95 = lean_ctor_get(x_81, 0); lean_inc(x_95); lean_dec(x_81); -x_96 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_95, x_86, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_96 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_95, x_86, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -11767,20 +11771,20 @@ return x_100; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_150; lean_object* x_151; uint8_t x_152; -x_127 = lean_ctor_get(x_66, 0); -lean_inc(x_127); +lean_object* x_128; lean_object* x_129; lean_object* x_151; lean_object* x_152; uint8_t x_153; +x_128 = lean_ctor_get(x_66, 0); +lean_inc(x_128); lean_dec(x_66); -x_150 = lean_ctor_get(x_15, 4); -lean_inc(x_150); -x_151 = l_Lean_Syntax_getArgs(x_150); -lean_dec(x_150); -x_152 = l_Array_isEmpty___rarg(x_151); +x_151 = lean_ctor_get(x_15, 4); +lean_inc(x_151); +x_152 = l_Lean_Syntax_getArgs(x_151); lean_dec(x_151); -if (x_152 == 0) +x_153 = l_Array_isEmpty___rarg(x_152); +lean_dec(x_152); +if (x_153 == 0) { -lean_object* x_153; -lean_dec(x_127); +lean_object* x_154; +lean_dec(x_128); lean_free_object(x_58); lean_dec(x_76); lean_dec(x_75); @@ -11790,18 +11794,18 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_153 = lean_box(0); -x_128 = x_153; -goto block_149; +x_154 = lean_box(0); +x_129 = x_154; +goto block_150; } else { -lean_object* x_154; -x_154 = lean_ctor_get(x_15, 5); -lean_inc(x_154); -if (lean_obj_tag(x_154) == 0) -{ lean_object* x_155; +x_155 = lean_ctor_get(x_15, 5); +lean_inc(x_155); +if (lean_obj_tag(x_155) == 0) +{ +lean_object* x_156; lean_dec(x_17); lean_dec(x_15); lean_inc(x_10); @@ -11809,47 +11813,48 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_76); -x_155 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_76, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_155) == 0) +x_156 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_76, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_156) == 0) { -lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; +x_157 = lean_ctor_get(x_156, 0); lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_158, 0, x_156); -x_159 = 1; +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +x_159 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_159, 0, x_157); +x_160 = lean_box(0); +x_161 = 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_160 = l_Lean_Elab_Term_elabTermEnsuringType(x_127, x_158, x_159, x_5, x_6, x_7, x_8, x_9, x_10, x_157); -if (lean_obj_tag(x_160) == 0) +x_162 = l_Lean_Elab_Term_elabTermEnsuringType(x_128, x_159, x_161, x_160, x_5, x_6, x_7, x_8, x_9, x_10, x_158); +if (lean_obj_tag(x_162) == 0) { -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -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_160); -lean_ctor_set(x_19, 0, x_161); +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +lean_dec(x_162); +lean_ctor_set(x_19, 0, x_163); lean_ctor_set(x_58, 3, x_19); -x_163 = lean_array_push(x_3, x_58); -x_164 = lean_unsigned_to_nat(1u); -x_165 = lean_nat_add(x_2, x_164); +x_165 = lean_array_push(x_3, x_58); +x_166 = lean_unsigned_to_nat(1u); +x_167 = lean_nat_add(x_2, x_166); lean_dec(x_2); -x_2 = x_165; -x_3 = x_163; -x_11 = x_162; +x_2 = x_167; +x_3 = x_165; +x_11 = x_164; goto _start; } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_free_object(x_58); lean_dec(x_76); lean_dec(x_75); @@ -11865,327 +11870,287 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_167 = lean_ctor_get(x_160, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_160, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_160)) { - lean_ctor_release(x_160, 0); - lean_ctor_release(x_160, 1); - x_169 = x_160; +x_169 = lean_ctor_get(x_162, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_162, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_171 = x_162; } else { - lean_dec_ref(x_160); - x_169 = lean_box(0); + lean_dec_ref(x_162); + x_171 = lean_box(0); } -if (lean_is_scalar(x_169)) { - x_170 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_171)) { + x_172 = lean_alloc_ctor(1, 2, 0); } else { - x_170 = x_169; + x_172 = x_171; } -lean_ctor_set(x_170, 0, x_167); -lean_ctor_set(x_170, 1, x_168); -return x_170; +lean_ctor_set(x_172, 0, x_169); +lean_ctor_set(x_172, 1, x_170); +return x_172; } } else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -lean_dec(x_127); -lean_free_object(x_58); -lean_dec(x_76); -lean_dec(x_75); -lean_dec(x_74); -lean_free_object(x_19); -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_171 = lean_ctor_get(x_155, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_155, 1); -lean_inc(x_172); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_173 = x_155; -} else { - lean_dec_ref(x_155); - 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_dec(x_154); -lean_dec(x_127); -lean_free_object(x_58); -lean_dec(x_76); -lean_dec(x_75); -lean_dec(x_74); -lean_free_object(x_19); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_175 = lean_box(0); -x_128 = x_175; -goto block_149; -} -} -block_149: -{ -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_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_dec(x_128); -x_129 = lean_ctor_get(x_15, 5); -lean_inc(x_129); -lean_dec(x_15); -x_130 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_130, 0, x_17); -x_131 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__9; -x_132 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__12; -x_134 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -if (lean_obj_tag(x_129) == 0) -{ -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; -x_135 = l_Lean_Syntax_inhabited; -x_136 = l_Option_get_x21___rarg___closed__3; -x_137 = lean_panic_fn(x_135, x_136); -x_138 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_137, x_134, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_free_object(x_58); +lean_dec(x_76); +lean_dec(x_75); +lean_dec(x_74); +lean_free_object(x_19); +lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_137); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); -lean_inc(x_140); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_141 = x_138; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_173 = lean_ctor_get(x_156, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_156, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_175 = x_156; } else { - lean_dec_ref(x_138); - x_141 = lean_box(0); + lean_dec_ref(x_156); + x_175 = lean_box(0); } -if (lean_is_scalar(x_141)) { - x_142 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(1, 2, 0); } else { - x_142 = x_141; + x_176 = x_175; +} +lean_ctor_set(x_176, 0, x_173); +lean_ctor_set(x_176, 1, x_174); +return x_176; } -lean_ctor_set(x_142, 0, x_139); -lean_ctor_set(x_142, 1, x_140); -return x_142; } else { -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_143 = lean_ctor_get(x_129, 0); -lean_inc(x_143); +lean_object* x_177; +lean_dec(x_155); +lean_dec(x_128); +lean_free_object(x_58); +lean_dec(x_76); +lean_dec(x_75); +lean_dec(x_74); +lean_free_object(x_19); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_177 = lean_box(0); +x_129 = x_177; +goto block_150; +} +} +block_150: +{ +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_dec(x_129); -x_144 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_143, x_134, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_130 = lean_ctor_get(x_15, 5); +lean_inc(x_130); +lean_dec(x_15); +x_131 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_131, 0, x_17); +x_132 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__9; +x_133 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__12; +x_135 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +if (lean_obj_tag(x_130) == 0) +{ +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; +x_136 = l_Lean_Syntax_inhabited; +x_137 = l_Option_get_x21___rarg___closed__3; +x_138 = lean_panic_fn(x_136, x_137); +x_139 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_138, x_135, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_143); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); +lean_dec(x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_142 = x_139; +} else { + lean_dec_ref(x_139); + x_142 = lean_box(0); +} +if (lean_is_scalar(x_142)) { + x_143 = lean_alloc_ctor(1, 2, 0); +} else { + x_143 = x_142; +} +lean_ctor_set(x_143, 0, x_140); +lean_ctor_set(x_143, 1, x_141); +return x_143; +} +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; +x_144 = lean_ctor_get(x_130, 0); +lean_inc(x_144); +lean_dec(x_130); +x_145 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_144, x_135, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_144); +x_146 = lean_ctor_get(x_145, 0); lean_inc(x_146); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_147 = x_144; +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_144); - x_147 = lean_box(0); + lean_dec_ref(x_145); + x_148 = lean_box(0); } -if (lean_is_scalar(x_147)) { - x_148 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_148)) { + x_149 = lean_alloc_ctor(1, 2, 0); } else { - x_148 = x_147; + x_149 = x_148; } -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_146); -return 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_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_204; lean_object* x_205; uint8_t x_206; -x_176 = lean_ctor_get(x_58, 0); -x_177 = lean_ctor_get(x_58, 1); -x_178 = lean_ctor_get(x_58, 2); -x_179 = lean_ctor_get_uint8(x_58, sizeof(void*)*4 + 1); -lean_inc(x_178); -lean_inc(x_177); -lean_inc(x_176); -lean_dec(x_58); -x_180 = lean_ctor_get(x_66, 0); +lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_206; lean_object* x_207; uint8_t x_208; +x_178 = lean_ctor_get(x_58, 0); +x_179 = lean_ctor_get(x_58, 1); +x_180 = lean_ctor_get(x_58, 2); +x_181 = lean_ctor_get_uint8(x_58, sizeof(void*)*4 + 1); lean_inc(x_180); +lean_inc(x_179); +lean_inc(x_178); +lean_dec(x_58); +x_182 = lean_ctor_get(x_66, 0); +lean_inc(x_182); if (lean_is_exclusive(x_66)) { lean_ctor_release(x_66, 0); - x_181 = x_66; + x_183 = x_66; } else { lean_dec_ref(x_66); - x_181 = lean_box(0); + x_183 = lean_box(0); } -x_204 = lean_ctor_get(x_15, 4); -lean_inc(x_204); -x_205 = l_Lean_Syntax_getArgs(x_204); -lean_dec(x_204); -x_206 = l_Array_isEmpty___rarg(x_205); -lean_dec(x_205); -if (x_206 == 0) +x_206 = lean_ctor_get(x_15, 4); +lean_inc(x_206); +x_207 = l_Lean_Syntax_getArgs(x_206); +lean_dec(x_206); +x_208 = l_Array_isEmpty___rarg(x_207); +lean_dec(x_207); +if (x_208 == 0) { -lean_object* x_207; -lean_dec(x_181); +lean_object* x_209; +lean_dec(x_183); +lean_dec(x_182); lean_dec(x_180); +lean_dec(x_179); lean_dec(x_178); -lean_dec(x_177); -lean_dec(x_176); lean_free_object(x_19); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_207 = lean_box(0); -x_182 = x_207; -goto block_203; +x_209 = lean_box(0); +x_184 = x_209; +goto block_205; } else { -lean_object* x_208; -x_208 = lean_ctor_get(x_15, 5); -lean_inc(x_208); -if (lean_obj_tag(x_208) == 0) +lean_object* x_210; +x_210 = lean_ctor_get(x_15, 5); +lean_inc(x_210); +if (lean_obj_tag(x_210) == 0) { -lean_object* x_209; +lean_object* x_211; lean_dec(x_17); lean_dec(x_15); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_178); -x_209 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_178, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_209) == 0) +lean_inc(x_180); +x_211 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_180, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_211) == 0) { -lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; lean_object* x_214; -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_ctor_get(x_209, 1); -lean_inc(x_211); -lean_dec(x_209); -if (lean_is_scalar(x_181)) { - x_212 = lean_alloc_ctor(1, 1, 0); +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; +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); +if (lean_is_scalar(x_183)) { + x_214 = lean_alloc_ctor(1, 1, 0); } else { - x_212 = x_181; + x_214 = x_183; } -lean_ctor_set(x_212, 0, x_210); -x_213 = 1; +lean_ctor_set(x_214, 0, x_212); +x_215 = lean_box(0); +x_216 = 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_214 = l_Lean_Elab_Term_elabTermEnsuringType(x_180, x_212, x_213, x_5, x_6, x_7, x_8, x_9, x_10, x_211); -if (lean_obj_tag(x_214) == 0) +x_217 = l_Lean_Elab_Term_elabTermEnsuringType(x_182, x_214, x_216, x_215, x_5, x_6, x_7, x_8, x_9, x_10, x_213); +if (lean_obj_tag(x_217) == 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; -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); -lean_ctor_set(x_19, 0, x_215); -x_217 = lean_alloc_ctor(0, 4, 2); -lean_ctor_set(x_217, 0, x_176); -lean_ctor_set(x_217, 1, x_177); -lean_ctor_set(x_217, 2, x_178); -lean_ctor_set(x_217, 3, x_19); -lean_ctor_set_uint8(x_217, sizeof(void*)*4, x_59); -lean_ctor_set_uint8(x_217, sizeof(void*)*4 + 1, x_179); -x_218 = lean_array_push(x_3, x_217); -x_219 = lean_unsigned_to_nat(1u); -x_220 = lean_nat_add(x_2, x_219); +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +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_ctor_set(x_19, 0, x_218); +x_220 = lean_alloc_ctor(0, 4, 2); +lean_ctor_set(x_220, 0, x_178); +lean_ctor_set(x_220, 1, x_179); +lean_ctor_set(x_220, 2, x_180); +lean_ctor_set(x_220, 3, x_19); +lean_ctor_set_uint8(x_220, sizeof(void*)*4, x_59); +lean_ctor_set_uint8(x_220, sizeof(void*)*4 + 1, x_181); +x_221 = lean_array_push(x_3, x_220); +x_222 = lean_unsigned_to_nat(1u); +x_223 = lean_nat_add(x_2, x_222); lean_dec(x_2); -x_2 = x_220; -x_3 = x_218; -x_11 = x_216; +x_2 = x_223; +x_3 = x_221; +x_11 = x_219; goto _start; } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -lean_dec(x_178); -lean_dec(x_177); -lean_dec(x_176); -lean_free_object(x_19); -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_222 = lean_ctor_get(x_214, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_214, 1); -lean_inc(x_223); -if (lean_is_exclusive(x_214)) { - lean_ctor_release(x_214, 0); - lean_ctor_release(x_214, 1); - x_224 = x_214; -} else { - lean_dec_ref(x_214); - x_224 = lean_box(0); -} -if (lean_is_scalar(x_224)) { - x_225 = lean_alloc_ctor(1, 2, 0); -} else { - x_225 = x_224; -} -lean_ctor_set(x_225, 0, x_222); -lean_ctor_set(x_225, 1, x_223); -return x_225; -} -} -else -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -lean_dec(x_181); +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_dec(x_180); +lean_dec(x_179); lean_dec(x_178); -lean_dec(x_177); -lean_dec(x_176); lean_free_object(x_19); lean_dec(x_9); lean_dec(x_10); @@ -12197,129 +12162,170 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_226 = lean_ctor_get(x_209, 0); +x_225 = lean_ctor_get(x_217, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_217, 1); lean_inc(x_226); -x_227 = lean_ctor_get(x_209, 1); -lean_inc(x_227); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_228 = x_209; +if (lean_is_exclusive(x_217)) { + lean_ctor_release(x_217, 0); + lean_ctor_release(x_217, 1); + x_227 = x_217; } else { - lean_dec_ref(x_209); - x_228 = lean_box(0); + lean_dec_ref(x_217); + x_227 = lean_box(0); } -if (lean_is_scalar(x_228)) { - x_229 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(1, 2, 0); } else { - x_229 = x_228; + x_228 = x_227; } -lean_ctor_set(x_229, 0, x_226); -lean_ctor_set(x_229, 1, x_227); -return x_229; +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +return x_228; } } else { -lean_object* x_230; -lean_dec(x_208); -lean_dec(x_181); +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_dec(x_183); +lean_dec(x_182); lean_dec(x_180); +lean_dec(x_179); +lean_dec(x_178); +lean_free_object(x_19); +lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_229 = lean_ctor_get(x_211, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_211, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_231 = x_211; +} else { + lean_dec_ref(x_211); + x_231 = lean_box(0); +} +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(1, 2, 0); +} else { + x_232 = x_231; +} +lean_ctor_set(x_232, 0, x_229); +lean_ctor_set(x_232, 1, x_230); +return x_232; +} +} +else +{ +lean_object* x_233; +lean_dec(x_210); +lean_dec(x_183); +lean_dec(x_182); +lean_dec(x_180); +lean_dec(x_179); lean_dec(x_178); -lean_dec(x_177); -lean_dec(x_176); lean_free_object(x_19); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_230 = lean_box(0); -x_182 = x_230; -goto block_203; +x_233 = lean_box(0); +x_184 = x_233; +goto block_205; } } -block_203: +block_205: { -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_dec(x_182); -x_183 = lean_ctor_get(x_15, 5); -lean_inc(x_183); +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_dec(x_184); +x_185 = lean_ctor_get(x_15, 5); +lean_inc(x_185); lean_dec(x_15); -x_184 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_184, 0, x_17); -x_185 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__9; -x_186 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_184); -x_187 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__12; +x_186 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_186, 0, x_17); +x_187 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__9; x_188 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_188, 0, x_186); -lean_ctor_set(x_188, 1, x_187); -if (lean_obj_tag(x_183) == 0) +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +x_189 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__12; +x_190 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_189); +if (lean_obj_tag(x_185) == 0) { -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; -x_189 = l_Lean_Syntax_inhabited; -x_190 = l_Option_get_x21___rarg___closed__3; -x_191 = lean_panic_fn(x_189, x_190); -x_192 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_191, x_188, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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; +x_191 = l_Lean_Syntax_inhabited; +x_192 = l_Option_get_x21___rarg___closed__3; +x_193 = lean_panic_fn(x_191, x_192); +x_194 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_193, x_190, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_191); -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; +lean_dec(x_193); +x_195 = lean_ctor_get(x_194, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_194, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + lean_ctor_release(x_194, 1); + x_197 = x_194; } else { - lean_dec_ref(x_192); - x_195 = lean_box(0); + lean_dec_ref(x_194); + x_197 = lean_box(0); } -if (lean_is_scalar(x_195)) { - x_196 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_197)) { + x_198 = lean_alloc_ctor(1, 2, 0); } else { - x_196 = x_195; + x_198 = x_197; } -lean_ctor_set(x_196, 0, x_193); -lean_ctor_set(x_196, 1, x_194); -return x_196; +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_196); +return x_198; } else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_197 = lean_ctor_get(x_183, 0); -lean_inc(x_197); -lean_dec(x_183); -x_198 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_197, x_188, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_199 = lean_ctor_get(x_185, 0); +lean_inc(x_199); +lean_dec(x_185); +x_200 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_199, x_190, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_197); -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_198, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - x_201 = x_198; +lean_dec(x_199); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + x_203 = x_200; } else { - lean_dec_ref(x_198); - x_201 = lean_box(0); + lean_dec_ref(x_200); + x_203 = lean_box(0); } -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_203)) { + x_204 = lean_alloc_ctor(1, 2, 0); } else { - x_202 = x_201; + x_204 = x_203; } -lean_ctor_set(x_202, 0, x_199); -lean_ctor_set(x_202, 1, x_200); -return x_202; +lean_ctor_set(x_204, 0, x_201); +lean_ctor_set(x_204, 1, x_202); +return x_204; } } } @@ -12327,7 +12333,7 @@ return x_202; } default: { -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_free_object(x_19); lean_dec(x_58); lean_dec(x_17); @@ -12336,248 +12342,208 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_231 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -x_232 = l_unreachable_x21___rarg(x_231); -x_233 = lean_apply_7(x_232, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_233; +x_234 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; +x_235 = l_unreachable_x21___rarg(x_234); +x_236 = lean_apply_7(x_235, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_236; } } } else { -lean_object* x_234; uint8_t x_235; -x_234 = lean_ctor_get(x_19, 0); -lean_inc(x_234); +lean_object* x_237; uint8_t x_238; +x_237 = lean_ctor_get(x_19, 0); +lean_inc(x_237); lean_dec(x_19); -x_235 = lean_ctor_get_uint8(x_234, sizeof(void*)*4); -switch (x_235) { +x_238 = lean_ctor_get_uint8(x_237, sizeof(void*)*4); +switch (x_238) { case 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; -lean_dec(x_234); +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_dec(x_237); lean_dec(x_15); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_236 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_236, 0, x_17); -x_237 = l___private_Lean_Elab_Structure_8__processSubfields___main___rarg___closed__3; -x_238 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_236); -x_239 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__6; -x_240 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_240, 0, x_238); -lean_ctor_set(x_240, 1, x_239); -x_241 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_240, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_239 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_239, 0, x_17); +x_240 = l___private_Lean_Elab_Structure_8__processSubfields___main___rarg___closed__3; +x_241 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); +x_242 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__6; +x_243 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_243, 0, x_241); +lean_ctor_set(x_243, 1, x_242); +x_244 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_243, 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); lean_dec(x_7); lean_dec(x_6); -return x_241; +return x_244; } case 1: { -lean_object* x_242; -x_242 = lean_ctor_get(x_15, 6); -lean_inc(x_242); -if (lean_obj_tag(x_242) == 0) +lean_object* x_245; +x_245 = lean_ctor_get(x_15, 6); +lean_inc(x_245); +if (lean_obj_tag(x_245) == 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_dec(x_234); +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_dec(x_237); lean_dec(x_15); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_243 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_243, 0, x_17); -x_244 = l___private_Lean_Elab_Structure_8__processSubfields___main___rarg___closed__3; -x_245 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_243); -x_246 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__6; -x_247 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_247, 0, x_245); -lean_ctor_set(x_247, 1, x_246); -x_248 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_247, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_246 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_246, 0, x_17); +x_247 = l___private_Lean_Elab_Structure_8__processSubfields___main___rarg___closed__3; +x_248 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_248, 0, x_247); +lean_ctor_set(x_248, 1, x_246); +x_249 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__6; +x_250 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_250, 0, x_248); +lean_ctor_set(x_250, 1, x_249); +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_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_248; +return x_251; } else { -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_object* x_256; lean_object* x_278; lean_object* x_279; uint8_t x_280; -x_249 = lean_ctor_get(x_234, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_234, 1); -lean_inc(x_250); -x_251 = lean_ctor_get(x_234, 2); -lean_inc(x_251); -x_252 = lean_ctor_get_uint8(x_234, sizeof(void*)*4 + 1); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - lean_ctor_release(x_234, 2); - lean_ctor_release(x_234, 3); - x_253 = x_234; -} else { - lean_dec_ref(x_234); - x_253 = lean_box(0); -} -x_254 = lean_ctor_get(x_242, 0); +lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_281; lean_object* x_282; uint8_t x_283; +x_252 = lean_ctor_get(x_237, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_237, 1); +lean_inc(x_253); +x_254 = lean_ctor_get(x_237, 2); lean_inc(x_254); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - x_255 = x_242; +x_255 = lean_ctor_get_uint8(x_237, sizeof(void*)*4 + 1); +if (lean_is_exclusive(x_237)) { + lean_ctor_release(x_237, 0); + lean_ctor_release(x_237, 1); + lean_ctor_release(x_237, 2); + lean_ctor_release(x_237, 3); + x_256 = x_237; } else { - lean_dec_ref(x_242); - x_255 = lean_box(0); + lean_dec_ref(x_237); + x_256 = lean_box(0); } -x_278 = lean_ctor_get(x_15, 4); -lean_inc(x_278); -x_279 = l_Lean_Syntax_getArgs(x_278); -lean_dec(x_278); -x_280 = l_Array_isEmpty___rarg(x_279); -lean_dec(x_279); -if (x_280 == 0) +x_257 = lean_ctor_get(x_245, 0); +lean_inc(x_257); +if (lean_is_exclusive(x_245)) { + lean_ctor_release(x_245, 0); + x_258 = x_245; +} else { + lean_dec_ref(x_245); + x_258 = lean_box(0); +} +x_281 = lean_ctor_get(x_15, 4); +lean_inc(x_281); +x_282 = l_Lean_Syntax_getArgs(x_281); +lean_dec(x_281); +x_283 = l_Array_isEmpty___rarg(x_282); +lean_dec(x_282); +if (x_283 == 0) { -lean_object* x_281; -lean_dec(x_255); +lean_object* x_284; +lean_dec(x_258); +lean_dec(x_257); +lean_dec(x_256); lean_dec(x_254); lean_dec(x_253); -lean_dec(x_251); -lean_dec(x_250); -lean_dec(x_249); +lean_dec(x_252); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_281 = lean_box(0); -x_256 = x_281; -goto block_277; +x_284 = lean_box(0); +x_259 = x_284; +goto block_280; } else { -lean_object* x_282; -x_282 = lean_ctor_get(x_15, 5); -lean_inc(x_282); -if (lean_obj_tag(x_282) == 0) +lean_object* x_285; +x_285 = lean_ctor_get(x_15, 5); +lean_inc(x_285); +if (lean_obj_tag(x_285) == 0) { -lean_object* x_283; +lean_object* x_286; lean_dec(x_17); lean_dec(x_15); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_251); -x_283 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_251, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_283) == 0) +lean_inc(x_254); +x_286 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_254, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_286) == 0) { -lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; lean_object* x_288; -x_284 = lean_ctor_get(x_283, 0); -lean_inc(x_284); -x_285 = lean_ctor_get(x_283, 1); -lean_inc(x_285); -lean_dec(x_283); -if (lean_is_scalar(x_255)) { - x_286 = lean_alloc_ctor(1, 1, 0); +lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; lean_object* x_292; +x_287 = lean_ctor_get(x_286, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_286, 1); +lean_inc(x_288); +lean_dec(x_286); +if (lean_is_scalar(x_258)) { + x_289 = lean_alloc_ctor(1, 1, 0); } else { - x_286 = x_255; + x_289 = x_258; } -lean_ctor_set(x_286, 0, x_284); -x_287 = 1; +lean_ctor_set(x_289, 0, x_287); +x_290 = lean_box(0); +x_291 = 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_288 = l_Lean_Elab_Term_elabTermEnsuringType(x_254, x_286, x_287, x_5, x_6, x_7, x_8, x_9, x_10, x_285); -if (lean_obj_tag(x_288) == 0) +x_292 = l_Lean_Elab_Term_elabTermEnsuringType(x_257, x_289, x_291, x_290, x_5, x_6, x_7, x_8, x_9, x_10, x_288); +if (lean_obj_tag(x_292) == 0) { -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; -x_289 = lean_ctor_get(x_288, 0); -lean_inc(x_289); -x_290 = lean_ctor_get(x_288, 1); -lean_inc(x_290); -lean_dec(x_288); -x_291 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_291, 0, x_289); -if (lean_is_scalar(x_253)) { - x_292 = lean_alloc_ctor(0, 4, 2); +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; +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +x_294 = lean_ctor_get(x_292, 1); +lean_inc(x_294); +lean_dec(x_292); +x_295 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_295, 0, x_293); +if (lean_is_scalar(x_256)) { + x_296 = lean_alloc_ctor(0, 4, 2); } else { - x_292 = x_253; + x_296 = x_256; } -lean_ctor_set(x_292, 0, x_249); -lean_ctor_set(x_292, 1, x_250); -lean_ctor_set(x_292, 2, x_251); -lean_ctor_set(x_292, 3, x_291); -lean_ctor_set_uint8(x_292, sizeof(void*)*4, x_235); -lean_ctor_set_uint8(x_292, sizeof(void*)*4 + 1, x_252); -x_293 = lean_array_push(x_3, x_292); -x_294 = lean_unsigned_to_nat(1u); -x_295 = lean_nat_add(x_2, x_294); +lean_ctor_set(x_296, 0, x_252); +lean_ctor_set(x_296, 1, x_253); +lean_ctor_set(x_296, 2, x_254); +lean_ctor_set(x_296, 3, x_295); +lean_ctor_set_uint8(x_296, sizeof(void*)*4, x_238); +lean_ctor_set_uint8(x_296, sizeof(void*)*4 + 1, x_255); +x_297 = lean_array_push(x_3, x_296); +x_298 = lean_unsigned_to_nat(1u); +x_299 = lean_nat_add(x_2, x_298); lean_dec(x_2); -x_2 = x_295; -x_3 = x_293; -x_11 = x_290; +x_2 = x_299; +x_3 = x_297; +x_11 = x_294; goto _start; } else { -lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -lean_dec(x_253); -lean_dec(x_251); -lean_dec(x_250); -lean_dec(x_249); -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_297 = lean_ctor_get(x_288, 0); -lean_inc(x_297); -x_298 = lean_ctor_get(x_288, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_288)) { - lean_ctor_release(x_288, 0); - lean_ctor_release(x_288, 1); - x_299 = x_288; -} else { - lean_dec_ref(x_288); - x_299 = lean_box(0); -} -if (lean_is_scalar(x_299)) { - x_300 = lean_alloc_ctor(1, 2, 0); -} else { - x_300 = x_299; -} -lean_ctor_set(x_300, 0, x_297); -lean_ctor_set(x_300, 1, x_298); -return x_300; -} -} -else -{ lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -lean_dec(x_255); +lean_dec(x_256); lean_dec(x_254); lean_dec(x_253); -lean_dec(x_251); -lean_dec(x_250); -lean_dec(x_249); +lean_dec(x_252); lean_dec(x_9); lean_dec(x_10); lean_dec(x_8); @@ -12588,16 +12554,16 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_301 = lean_ctor_get(x_283, 0); +x_301 = lean_ctor_get(x_292, 0); lean_inc(x_301); -x_302 = lean_ctor_get(x_283, 1); +x_302 = lean_ctor_get(x_292, 1); lean_inc(x_302); -if (lean_is_exclusive(x_283)) { - lean_ctor_release(x_283, 0); - lean_ctor_release(x_283, 1); - x_303 = x_283; +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_303 = x_292; } else { - lean_dec_ref(x_283); + lean_dec_ref(x_292); x_303 = lean_box(0); } if (lean_is_scalar(x_303)) { @@ -12612,123 +12578,164 @@ return x_304; } else { -lean_object* x_305; -lean_dec(x_282); -lean_dec(x_255); +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +lean_dec(x_258); +lean_dec(x_257); +lean_dec(x_256); lean_dec(x_254); lean_dec(x_253); -lean_dec(x_251); -lean_dec(x_250); -lean_dec(x_249); +lean_dec(x_252); +lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_305 = lean_box(0); -x_256 = x_305; -goto block_277; -} -} -block_277: -{ -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_dec(x_256); -x_257 = lean_ctor_get(x_15, 5); -lean_inc(x_257); -lean_dec(x_15); -x_258 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_258, 0, x_17); -x_259 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__9; -x_260 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_258); -x_261 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__12; -x_262 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set(x_262, 1, x_261); -if (lean_obj_tag(x_257) == 0) -{ -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_263 = l_Lean_Syntax_inhabited; -x_264 = l_Option_get_x21___rarg___closed__3; -x_265 = lean_panic_fn(x_263, x_264); -x_266 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_265, x_262, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_265); -x_267 = lean_ctor_get(x_266, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_266, 1); -lean_inc(x_268); -if (lean_is_exclusive(x_266)) { - lean_ctor_release(x_266, 0); - lean_ctor_release(x_266, 1); - x_269 = x_266; +x_305 = lean_ctor_get(x_286, 0); +lean_inc(x_305); +x_306 = lean_ctor_get(x_286, 1); +lean_inc(x_306); +if (lean_is_exclusive(x_286)) { + lean_ctor_release(x_286, 0); + lean_ctor_release(x_286, 1); + x_307 = x_286; } else { - lean_dec_ref(x_266); - x_269 = lean_box(0); + lean_dec_ref(x_286); + x_307 = lean_box(0); } -if (lean_is_scalar(x_269)) { - x_270 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_307)) { + x_308 = lean_alloc_ctor(1, 2, 0); } else { - x_270 = x_269; + x_308 = x_307; +} +lean_ctor_set(x_308, 0, x_305); +lean_ctor_set(x_308, 1, x_306); +return x_308; } -lean_ctor_set(x_270, 0, x_267); -lean_ctor_set(x_270, 1, x_268); -return x_270; } 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; -x_271 = lean_ctor_get(x_257, 0); -lean_inc(x_271); +lean_object* x_309; +lean_dec(x_285); +lean_dec(x_258); lean_dec(x_257); -x_272 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_271, x_262, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_256); +lean_dec(x_254); +lean_dec(x_253); +lean_dec(x_252); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_309 = lean_box(0); +x_259 = x_309; +goto block_280; +} +} +block_280: +{ +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_259); +x_260 = lean_ctor_get(x_15, 5); +lean_inc(x_260); +lean_dec(x_15); +x_261 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_261, 0, x_17); +x_262 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__9; +x_263 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_261); +x_264 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__12; +x_265 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +if (lean_obj_tag(x_260) == 0) +{ +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; +x_266 = l_Lean_Syntax_inhabited; +x_267 = l_Option_get_x21___rarg___closed__3; +x_268 = lean_panic_fn(x_266, x_267); +x_269 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_268, x_265, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_271); -x_273 = lean_ctor_get(x_272, 0); -lean_inc(x_273); -x_274 = lean_ctor_get(x_272, 1); +lean_dec(x_268); +x_270 = lean_ctor_get(x_269, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_269, 1); +lean_inc(x_271); +if (lean_is_exclusive(x_269)) { + lean_ctor_release(x_269, 0); + lean_ctor_release(x_269, 1); + x_272 = x_269; +} else { + lean_dec_ref(x_269); + x_272 = lean_box(0); +} +if (lean_is_scalar(x_272)) { + x_273 = lean_alloc_ctor(1, 2, 0); +} else { + x_273 = x_272; +} +lean_ctor_set(x_273, 0, x_270); +lean_ctor_set(x_273, 1, x_271); +return x_273; +} +else +{ +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_274 = lean_ctor_get(x_260, 0); lean_inc(x_274); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - x_275 = x_272; +lean_dec(x_260); +x_275 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_274, x_265, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_274); +x_276 = lean_ctor_get(x_275, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_275, 1); +lean_inc(x_277); +if (lean_is_exclusive(x_275)) { + lean_ctor_release(x_275, 0); + lean_ctor_release(x_275, 1); + x_278 = x_275; } else { - lean_dec_ref(x_272); - x_275 = lean_box(0); + lean_dec_ref(x_275); + x_278 = lean_box(0); } -if (lean_is_scalar(x_275)) { - x_276 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_278)) { + x_279 = lean_alloc_ctor(1, 2, 0); } else { - x_276 = x_275; + x_279 = x_278; } -lean_ctor_set(x_276, 0, x_273); -lean_ctor_set(x_276, 1, x_274); -return x_276; +lean_ctor_set(x_279, 0, x_276); +lean_ctor_set(x_279, 1, x_277); +return x_279; } } } } default: { -lean_object* x_306; lean_object* x_307; lean_object* x_308; -lean_dec(x_234); +lean_object* x_310; lean_object* x_311; lean_object* x_312; +lean_dec(x_237); lean_dec(x_17); lean_dec(x_15); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_306 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -x_307 = l_unreachable_x21___rarg(x_306); -x_308 = lean_apply_7(x_307, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_308; +x_310 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; +x_311 = l_unreachable_x21___rarg(x_310); +x_312 = lean_apply_7(x_311, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_312; } } } @@ -12736,183 +12743,119 @@ return x_308; } else { -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; -x_309 = lean_ctor_get(x_9, 0); -x_310 = lean_ctor_get(x_9, 1); -x_311 = lean_ctor_get(x_9, 2); -x_312 = lean_ctor_get(x_9, 3); -lean_inc(x_312); -lean_inc(x_311); -lean_inc(x_310); -lean_inc(x_309); +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; +x_313 = lean_ctor_get(x_9, 0); +x_314 = lean_ctor_get(x_9, 1); +x_315 = lean_ctor_get(x_9, 2); +x_316 = lean_ctor_get(x_9, 3); +lean_inc(x_316); +lean_inc(x_315); +lean_inc(x_314); +lean_inc(x_313); lean_dec(x_9); -x_313 = l_Lean_replaceRef(x_16, x_312); +x_317 = l_Lean_replaceRef(x_16, x_316); lean_dec(x_16); -x_314 = l_Lean_replaceRef(x_313, x_312); -lean_dec(x_313); -x_315 = l_Lean_replaceRef(x_314, x_312); -lean_dec(x_312); -lean_dec(x_314); -x_316 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_316, 0, x_309); -lean_ctor_set(x_316, 1, x_310); -lean_ctor_set(x_316, 2, x_311); -lean_ctor_set(x_316, 3, x_315); +x_318 = l_Lean_replaceRef(x_317, x_316); +lean_dec(x_317); +x_319 = l_Lean_replaceRef(x_318, x_316); +lean_dec(x_316); +lean_dec(x_318); +x_320 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_320, 0, x_313); +lean_ctor_set(x_320, 1, x_314); +lean_ctor_set(x_320, 2, x_315); +lean_ctor_set(x_320, 3, x_319); if (lean_obj_tag(x_19) == 0) { -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_317 = lean_ctor_get(x_15, 4); -lean_inc(x_317); -x_318 = l_Lean_Syntax_getArgs(x_317); -lean_dec(x_317); +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; +x_321 = lean_ctor_get(x_15, 4); +lean_inc(x_321); +x_322 = l_Lean_Syntax_getArgs(x_321); +lean_dec(x_321); lean_inc(x_15); -x_319 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_10__elabFieldTypeValue), 9, 1); -lean_closure_set(x_319, 0, x_15); +x_323 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_10__elabFieldTypeValue), 9, 1); +lean_closure_set(x_323, 0, x_15); lean_inc(x_10); -lean_inc(x_316); +lean_inc(x_320); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_320 = l_Lean_Elab_Term_elabBinders___rarg(x_318, x_319, x_5, x_6, x_7, x_8, x_316, x_10, x_11); -lean_dec(x_318); -if (lean_obj_tag(x_320) == 0) +x_324 = l_Lean_Elab_Term_elabBinders___rarg(x_322, x_323, x_5, x_6, x_7, x_8, x_320, x_10, x_11); +lean_dec(x_322); +if (lean_obj_tag(x_324) == 0) { -lean_object* x_321; lean_object* x_322; -x_321 = lean_ctor_get(x_320, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_321, 0); -lean_inc(x_322); -if (lean_obj_tag(x_322) == 0) +lean_object* x_325; lean_object* x_326; +x_325 = lean_ctor_get(x_324, 0); +lean_inc(x_325); +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +if (lean_obj_tag(x_326) == 0) { -lean_object* x_323; -x_323 = lean_ctor_get(x_321, 1); -lean_inc(x_323); -lean_dec(x_321); -if (lean_obj_tag(x_323) == 0) +lean_object* x_327; +x_327 = lean_ctor_get(x_325, 1); +lean_inc(x_327); +lean_dec(x_325); +if (lean_obj_tag(x_327) == 0) { -lean_object* x_324; lean_object* x_325; lean_object* x_326; +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_dec(x_17); lean_dec(x_15); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_324 = lean_ctor_get(x_320, 1); -lean_inc(x_324); -lean_dec(x_320); -x_325 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__3; -x_326 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_325, x_5, x_6, x_7, x_8, x_316, x_10, x_324); +x_328 = lean_ctor_get(x_324, 1); +lean_inc(x_328); +lean_dec(x_324); +x_329 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__3; +x_330 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_329, x_5, x_6, x_7, x_8, x_320, x_10, x_328); lean_dec(x_10); -lean_dec(x_316); +lean_dec(x_320); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_326; +return x_330; } else { -lean_object* x_327; lean_object* x_328; lean_object* x_329; -x_327 = lean_ctor_get(x_320, 1); -lean_inc(x_327); -lean_dec(x_320); -x_328 = lean_ctor_get(x_323, 0); -lean_inc(x_328); -lean_dec(x_323); +lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_331 = lean_ctor_get(x_324, 1); +lean_inc(x_331); +lean_dec(x_324); +x_332 = lean_ctor_get(x_327, 0); +lean_inc(x_332); +lean_dec(x_327); lean_inc(x_10); -lean_inc(x_316); +lean_inc(x_320); lean_inc(x_8); lean_inc(x_7); -x_329 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_328, x_5, x_6, x_7, x_8, x_316, x_10, x_327); -if (lean_obj_tag(x_329) == 0) +x_333 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_332, x_5, x_6, x_7, x_8, x_320, x_10, x_331); +if (lean_obj_tag(x_333) == 0) { -lean_object* x_330; lean_object* x_331; uint8_t x_332; lean_object* x_333; lean_object* x_334; -x_330 = lean_ctor_get(x_329, 0); -lean_inc(x_330); -x_331 = lean_ctor_get(x_329, 1); -lean_inc(x_331); -lean_dec(x_329); -x_332 = lean_ctor_get_uint8(x_15, sizeof(void*)*7); -lean_inc(x_17); -x_333 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_11__withFields___main___rarg___lambda__1___boxed), 15, 7); -lean_closure_set(x_333, 0, x_15); -lean_closure_set(x_333, 1, x_17); -lean_closure_set(x_333, 2, x_322); -lean_closure_set(x_333, 3, x_3); -lean_closure_set(x_333, 4, x_2); -lean_closure_set(x_333, 5, x_1); -lean_closure_set(x_333, 6, x_4); -x_334 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_17, x_332, x_330, x_333, x_5, x_6, x_7, x_8, x_316, x_10, x_331); -return x_334; -} -else -{ -lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; -lean_dec(x_316); -lean_dec(x_17); -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_335 = lean_ctor_get(x_329, 0); +lean_object* x_334; lean_object* x_335; uint8_t x_336; lean_object* x_337; lean_object* x_338; +x_334 = lean_ctor_get(x_333, 0); +lean_inc(x_334); +x_335 = lean_ctor_get(x_333, 1); lean_inc(x_335); -x_336 = lean_ctor_get(x_329, 1); -lean_inc(x_336); -if (lean_is_exclusive(x_329)) { - lean_ctor_release(x_329, 0); - lean_ctor_release(x_329, 1); - x_337 = x_329; -} else { - lean_dec_ref(x_329); - x_337 = lean_box(0); -} -if (lean_is_scalar(x_337)) { - x_338 = lean_alloc_ctor(1, 2, 0); -} else { - x_338 = x_337; -} -lean_ctor_set(x_338, 0, x_335); -lean_ctor_set(x_338, 1, x_336); +lean_dec(x_333); +x_336 = lean_ctor_get_uint8(x_15, sizeof(void*)*7); +lean_inc(x_17); +x_337 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_11__withFields___main___rarg___lambda__1___boxed), 15, 7); +lean_closure_set(x_337, 0, x_15); +lean_closure_set(x_337, 1, x_17); +lean_closure_set(x_337, 2, x_326); +lean_closure_set(x_337, 3, x_3); +lean_closure_set(x_337, 4, x_2); +lean_closure_set(x_337, 5, x_1); +lean_closure_set(x_337, 6, x_4); +x_338 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_17, x_336, x_334, x_337, x_5, x_6, x_7, x_8, x_320, x_10, x_335); return x_338; } -} -} else { -lean_object* x_339; lean_object* x_340; lean_object* x_341; uint8_t x_342; lean_object* x_343; lean_object* x_344; -x_339 = lean_ctor_get(x_320, 1); -lean_inc(x_339); +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_dec(x_320); -x_340 = lean_ctor_get(x_321, 1); -lean_inc(x_340); -lean_dec(x_321); -x_341 = lean_ctor_get(x_322, 0); -lean_inc(x_341); -lean_dec(x_322); -x_342 = lean_ctor_get_uint8(x_15, sizeof(void*)*7); -lean_inc(x_17); -x_343 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_11__withFields___main___rarg___lambda__1___boxed), 15, 7); -lean_closure_set(x_343, 0, x_15); -lean_closure_set(x_343, 1, x_17); -lean_closure_set(x_343, 2, x_340); -lean_closure_set(x_343, 3, x_3); -lean_closure_set(x_343, 4, x_2); -lean_closure_set(x_343, 5, x_1); -lean_closure_set(x_343, 6, x_4); -x_344 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_17, x_342, x_341, x_343, x_5, x_6, x_7, x_8, x_316, x_10, x_339); -return x_344; -} -} -else -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; -lean_dec(x_316); lean_dec(x_17); lean_dec(x_15); lean_dec(x_10); @@ -12924,432 +12867,497 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_345 = lean_ctor_get(x_320, 0); +x_339 = lean_ctor_get(x_333, 0); +lean_inc(x_339); +x_340 = lean_ctor_get(x_333, 1); +lean_inc(x_340); +if (lean_is_exclusive(x_333)) { + lean_ctor_release(x_333, 0); + lean_ctor_release(x_333, 1); + x_341 = x_333; +} else { + lean_dec_ref(x_333); + x_341 = lean_box(0); +} +if (lean_is_scalar(x_341)) { + x_342 = lean_alloc_ctor(1, 2, 0); +} else { + x_342 = x_341; +} +lean_ctor_set(x_342, 0, x_339); +lean_ctor_set(x_342, 1, x_340); +return x_342; +} +} +} +else +{ +lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; lean_object* x_347; lean_object* x_348; +x_343 = lean_ctor_get(x_324, 1); +lean_inc(x_343); +lean_dec(x_324); +x_344 = lean_ctor_get(x_325, 1); +lean_inc(x_344); +lean_dec(x_325); +x_345 = lean_ctor_get(x_326, 0); lean_inc(x_345); -x_346 = lean_ctor_get(x_320, 1); -lean_inc(x_346); -if (lean_is_exclusive(x_320)) { - lean_ctor_release(x_320, 0); - lean_ctor_release(x_320, 1); - x_347 = x_320; -} else { - lean_dec_ref(x_320); - x_347 = lean_box(0); -} -if (lean_is_scalar(x_347)) { - x_348 = lean_alloc_ctor(1, 2, 0); -} else { - x_348 = x_347; -} -lean_ctor_set(x_348, 0, x_345); -lean_ctor_set(x_348, 1, x_346); +lean_dec(x_326); +x_346 = lean_ctor_get_uint8(x_15, sizeof(void*)*7); +lean_inc(x_17); +x_347 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_11__withFields___main___rarg___lambda__1___boxed), 15, 7); +lean_closure_set(x_347, 0, x_15); +lean_closure_set(x_347, 1, x_17); +lean_closure_set(x_347, 2, x_344); +lean_closure_set(x_347, 3, x_3); +lean_closure_set(x_347, 4, x_2); +lean_closure_set(x_347, 5, x_1); +lean_closure_set(x_347, 6, x_4); +x_348 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_17, x_346, x_345, x_347, x_5, x_6, x_7, x_8, x_320, x_10, x_343); return x_348; } } else { -lean_object* x_349; lean_object* x_350; uint8_t x_351; -x_349 = lean_ctor_get(x_19, 0); +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; +lean_dec(x_320); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_349 = lean_ctor_get(x_324, 0); lean_inc(x_349); +x_350 = lean_ctor_get(x_324, 1); +lean_inc(x_350); +if (lean_is_exclusive(x_324)) { + lean_ctor_release(x_324, 0); + lean_ctor_release(x_324, 1); + x_351 = x_324; +} else { + lean_dec_ref(x_324); + x_351 = lean_box(0); +} +if (lean_is_scalar(x_351)) { + x_352 = lean_alloc_ctor(1, 2, 0); +} else { + x_352 = x_351; +} +lean_ctor_set(x_352, 0, x_349); +lean_ctor_set(x_352, 1, x_350); +return x_352; +} +} +else +{ +lean_object* x_353; lean_object* x_354; uint8_t x_355; +x_353 = lean_ctor_get(x_19, 0); +lean_inc(x_353); if (lean_is_exclusive(x_19)) { lean_ctor_release(x_19, 0); - x_350 = x_19; + x_354 = x_19; } else { lean_dec_ref(x_19); - x_350 = lean_box(0); + x_354 = lean_box(0); } -x_351 = lean_ctor_get_uint8(x_349, sizeof(void*)*4); -switch (x_351) { +x_355 = lean_ctor_get_uint8(x_353, sizeof(void*)*4); +switch (x_355) { case 0: { -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_dec(x_350); -lean_dec(x_349); +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_dec(x_354); +lean_dec(x_353); lean_dec(x_15); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_352 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_352, 0, x_17); -x_353 = l___private_Lean_Elab_Structure_8__processSubfields___main___rarg___closed__3; -x_354 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_354, 0, x_353); -lean_ctor_set(x_354, 1, x_352); -x_355 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__6; -x_356 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_356, 0, x_354); -lean_ctor_set(x_356, 1, x_355); -x_357 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_356, x_5, x_6, x_7, x_8, x_316, x_10, x_11); +x_356 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_356, 0, x_17); +x_357 = l___private_Lean_Elab_Structure_8__processSubfields___main___rarg___closed__3; +x_358 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_358, 0, x_357); +lean_ctor_set(x_358, 1, x_356); +x_359 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__6; +x_360 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_360, 0, x_358); +lean_ctor_set(x_360, 1, x_359); +x_361 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_360, x_5, x_6, x_7, x_8, x_320, x_10, x_11); lean_dec(x_10); -lean_dec(x_316); +lean_dec(x_320); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_357; +return x_361; } case 1: { -lean_object* x_358; -x_358 = lean_ctor_get(x_15, 6); -lean_inc(x_358); -if (lean_obj_tag(x_358) == 0) +lean_object* x_362; +x_362 = lean_ctor_get(x_15, 6); +lean_inc(x_362); +if (lean_obj_tag(x_362) == 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_dec(x_350); -lean_dec(x_349); +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_dec(x_354); +lean_dec(x_353); lean_dec(x_15); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_359 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_359, 0, x_17); -x_360 = l___private_Lean_Elab_Structure_8__processSubfields___main___rarg___closed__3; -x_361 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_361, 0, x_360); -lean_ctor_set(x_361, 1, x_359); -x_362 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__6; -x_363 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_363, 0, x_361); -lean_ctor_set(x_363, 1, x_362); -x_364 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_363, x_5, x_6, x_7, x_8, x_316, x_10, x_11); +x_363 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_363, 0, x_17); +x_364 = l___private_Lean_Elab_Structure_8__processSubfields___main___rarg___closed__3; +x_365 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_363); +x_366 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__6; +x_367 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_367, 0, x_365); +lean_ctor_set(x_367, 1, x_366); +x_368 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_367, x_5, x_6, x_7, x_8, x_320, x_10, x_11); lean_dec(x_10); -lean_dec(x_316); +lean_dec(x_320); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_364; +return x_368; } else { -lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_394; lean_object* x_395; uint8_t x_396; -x_365 = lean_ctor_get(x_349, 0); -lean_inc(x_365); -x_366 = lean_ctor_get(x_349, 1); -lean_inc(x_366); -x_367 = lean_ctor_get(x_349, 2); -lean_inc(x_367); -x_368 = lean_ctor_get_uint8(x_349, sizeof(void*)*4 + 1); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - lean_ctor_release(x_349, 2); - lean_ctor_release(x_349, 3); - x_369 = x_349; -} else { - lean_dec_ref(x_349); - x_369 = lean_box(0); -} -x_370 = lean_ctor_get(x_358, 0); +lean_object* x_369; lean_object* x_370; lean_object* x_371; uint8_t x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_398; lean_object* x_399; uint8_t x_400; +x_369 = lean_ctor_get(x_353, 0); +lean_inc(x_369); +x_370 = lean_ctor_get(x_353, 1); lean_inc(x_370); -if (lean_is_exclusive(x_358)) { - lean_ctor_release(x_358, 0); - x_371 = x_358; +x_371 = lean_ctor_get(x_353, 2); +lean_inc(x_371); +x_372 = lean_ctor_get_uint8(x_353, sizeof(void*)*4 + 1); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_373 = x_353; } else { - lean_dec_ref(x_358); - x_371 = lean_box(0); + lean_dec_ref(x_353); + x_373 = lean_box(0); } -x_394 = lean_ctor_get(x_15, 4); -lean_inc(x_394); -x_395 = l_Lean_Syntax_getArgs(x_394); -lean_dec(x_394); -x_396 = l_Array_isEmpty___rarg(x_395); -lean_dec(x_395); -if (x_396 == 0) +x_374 = lean_ctor_get(x_362, 0); +lean_inc(x_374); +if (lean_is_exclusive(x_362)) { + lean_ctor_release(x_362, 0); + x_375 = x_362; +} else { + lean_dec_ref(x_362); + x_375 = lean_box(0); +} +x_398 = lean_ctor_get(x_15, 4); +lean_inc(x_398); +x_399 = l_Lean_Syntax_getArgs(x_398); +lean_dec(x_398); +x_400 = l_Array_isEmpty___rarg(x_399); +lean_dec(x_399); +if (x_400 == 0) { -lean_object* x_397; +lean_object* x_401; +lean_dec(x_375); +lean_dec(x_374); +lean_dec(x_373); lean_dec(x_371); lean_dec(x_370); lean_dec(x_369); -lean_dec(x_367); -lean_dec(x_366); -lean_dec(x_365); -lean_dec(x_350); +lean_dec(x_354); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_397 = lean_box(0); -x_372 = x_397; -goto block_393; +x_401 = lean_box(0); +x_376 = x_401; +goto block_397; } else { -lean_object* x_398; -x_398 = lean_ctor_get(x_15, 5); -lean_inc(x_398); -if (lean_obj_tag(x_398) == 0) +lean_object* x_402; +x_402 = lean_ctor_get(x_15, 5); +lean_inc(x_402); +if (lean_obj_tag(x_402) == 0) { -lean_object* x_399; +lean_object* x_403; lean_dec(x_17); lean_dec(x_15); lean_inc(x_10); -lean_inc(x_316); +lean_inc(x_320); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_367); -x_399 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_367, x_5, x_6, x_7, x_8, x_316, x_10, x_11); -if (lean_obj_tag(x_399) == 0) +lean_inc(x_371); +x_403 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_371, x_5, x_6, x_7, x_8, x_320, x_10, x_11); +if (lean_obj_tag(x_403) == 0) { -lean_object* x_400; lean_object* x_401; lean_object* x_402; uint8_t x_403; lean_object* x_404; -x_400 = lean_ctor_get(x_399, 0); -lean_inc(x_400); -x_401 = lean_ctor_get(x_399, 1); -lean_inc(x_401); -lean_dec(x_399); -if (lean_is_scalar(x_371)) { - x_402 = lean_alloc_ctor(1, 1, 0); +lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; uint8_t x_408; lean_object* x_409; +x_404 = lean_ctor_get(x_403, 0); +lean_inc(x_404); +x_405 = lean_ctor_get(x_403, 1); +lean_inc(x_405); +lean_dec(x_403); +if (lean_is_scalar(x_375)) { + x_406 = lean_alloc_ctor(1, 1, 0); } else { - x_402 = x_371; + x_406 = x_375; } -lean_ctor_set(x_402, 0, x_400); -x_403 = 1; +lean_ctor_set(x_406, 0, x_404); +x_407 = lean_box(0); +x_408 = 1; lean_inc(x_10); -lean_inc(x_316); +lean_inc(x_320); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_404 = l_Lean_Elab_Term_elabTermEnsuringType(x_370, x_402, x_403, x_5, x_6, x_7, x_8, x_316, x_10, x_401); -if (lean_obj_tag(x_404) == 0) +x_409 = l_Lean_Elab_Term_elabTermEnsuringType(x_374, x_406, x_408, x_407, x_5, x_6, x_7, x_8, x_320, x_10, x_405); +if (lean_obj_tag(x_409) == 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; -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); -if (lean_is_scalar(x_350)) { - x_407 = lean_alloc_ctor(1, 1, 0); +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; +x_410 = lean_ctor_get(x_409, 0); +lean_inc(x_410); +x_411 = lean_ctor_get(x_409, 1); +lean_inc(x_411); +lean_dec(x_409); +if (lean_is_scalar(x_354)) { + x_412 = lean_alloc_ctor(1, 1, 0); } else { - x_407 = x_350; + x_412 = x_354; } -lean_ctor_set(x_407, 0, x_405); -if (lean_is_scalar(x_369)) { - x_408 = lean_alloc_ctor(0, 4, 2); +lean_ctor_set(x_412, 0, x_410); +if (lean_is_scalar(x_373)) { + x_413 = lean_alloc_ctor(0, 4, 2); } else { - x_408 = x_369; + x_413 = x_373; } -lean_ctor_set(x_408, 0, x_365); -lean_ctor_set(x_408, 1, x_366); -lean_ctor_set(x_408, 2, x_367); -lean_ctor_set(x_408, 3, x_407); -lean_ctor_set_uint8(x_408, sizeof(void*)*4, x_351); -lean_ctor_set_uint8(x_408, sizeof(void*)*4 + 1, x_368); -x_409 = lean_array_push(x_3, x_408); -x_410 = lean_unsigned_to_nat(1u); -x_411 = lean_nat_add(x_2, x_410); +lean_ctor_set(x_413, 0, x_369); +lean_ctor_set(x_413, 1, x_370); +lean_ctor_set(x_413, 2, x_371); +lean_ctor_set(x_413, 3, x_412); +lean_ctor_set_uint8(x_413, sizeof(void*)*4, x_355); +lean_ctor_set_uint8(x_413, sizeof(void*)*4 + 1, x_372); +x_414 = lean_array_push(x_3, x_413); +x_415 = lean_unsigned_to_nat(1u); +x_416 = lean_nat_add(x_2, x_415); lean_dec(x_2); -x_2 = x_411; -x_3 = x_409; -x_9 = x_316; -x_11 = x_406; +x_2 = x_416; +x_3 = x_414; +x_9 = x_320; +x_11 = x_411; goto _start; } else { -lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; -lean_dec(x_369); -lean_dec(x_367); -lean_dec(x_366); -lean_dec(x_365); -lean_dec(x_350); -lean_dec(x_316); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_413 = lean_ctor_get(x_404, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_404, 1); -lean_inc(x_414); -if (lean_is_exclusive(x_404)) { - lean_ctor_release(x_404, 0); - lean_ctor_release(x_404, 1); - x_415 = x_404; -} else { - lean_dec_ref(x_404); - x_415 = lean_box(0); -} -if (lean_is_scalar(x_415)) { - x_416 = lean_alloc_ctor(1, 2, 0); -} else { - x_416 = x_415; -} -lean_ctor_set(x_416, 0, x_413); -lean_ctor_set(x_416, 1, x_414); -return x_416; -} -} -else -{ -lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; -lean_dec(x_371); -lean_dec(x_370); -lean_dec(x_369); -lean_dec(x_367); -lean_dec(x_366); -lean_dec(x_365); -lean_dec(x_350); -lean_dec(x_316); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_417 = lean_ctor_get(x_399, 0); -lean_inc(x_417); -x_418 = lean_ctor_get(x_399, 1); -lean_inc(x_418); -if (lean_is_exclusive(x_399)) { - lean_ctor_release(x_399, 0); - lean_ctor_release(x_399, 1); - x_419 = x_399; -} else { - lean_dec_ref(x_399); - x_419 = lean_box(0); -} -if (lean_is_scalar(x_419)) { - x_420 = lean_alloc_ctor(1, 2, 0); -} else { - x_420 = x_419; -} -lean_ctor_set(x_420, 0, x_417); -lean_ctor_set(x_420, 1, x_418); -return x_420; -} -} -else -{ -lean_object* x_421; -lean_dec(x_398); -lean_dec(x_371); -lean_dec(x_370); -lean_dec(x_369); -lean_dec(x_367); -lean_dec(x_366); -lean_dec(x_365); -lean_dec(x_350); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_421 = lean_box(0); -x_372 = x_421; -goto block_393; -} -} -block_393: -{ -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_dec(x_372); -x_373 = lean_ctor_get(x_15, 5); -lean_inc(x_373); -lean_dec(x_15); -x_374 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_374, 0, x_17); -x_375 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__9; -x_376 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_376, 0, x_375); -lean_ctor_set(x_376, 1, x_374); -x_377 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__12; -x_378 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_378, 0, x_376); -lean_ctor_set(x_378, 1, x_377); -if (lean_obj_tag(x_373) == 0) -{ -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; -x_379 = l_Lean_Syntax_inhabited; -x_380 = l_Option_get_x21___rarg___closed__3; -x_381 = lean_panic_fn(x_379, x_380); -x_382 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_381, x_378, x_5, x_6, x_7, x_8, x_316, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_381); -x_383 = lean_ctor_get(x_382, 0); -lean_inc(x_383); -x_384 = lean_ctor_get(x_382, 1); -lean_inc(x_384); -if (lean_is_exclusive(x_382)) { - lean_ctor_release(x_382, 0); - lean_ctor_release(x_382, 1); - x_385 = x_382; -} else { - lean_dec_ref(x_382); - x_385 = lean_box(0); -} -if (lean_is_scalar(x_385)) { - x_386 = lean_alloc_ctor(1, 2, 0); -} else { - x_386 = x_385; -} -lean_ctor_set(x_386, 0, x_383); -lean_ctor_set(x_386, 1, x_384); -return x_386; -} -else -{ -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; -x_387 = lean_ctor_get(x_373, 0); -lean_inc(x_387); +lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_dec(x_373); -x_388 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_387, x_378, x_5, x_6, x_7, x_8, x_316, x_10, x_11); +lean_dec(x_371); +lean_dec(x_370); +lean_dec(x_369); +lean_dec(x_354); +lean_dec(x_320); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_387); -x_389 = lean_ctor_get(x_388, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_388, 1); -lean_inc(x_390); -if (lean_is_exclusive(x_388)) { - lean_ctor_release(x_388, 0); - lean_ctor_release(x_388, 1); - x_391 = x_388; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_418 = lean_ctor_get(x_409, 0); +lean_inc(x_418); +x_419 = lean_ctor_get(x_409, 1); +lean_inc(x_419); +if (lean_is_exclusive(x_409)) { + lean_ctor_release(x_409, 0); + lean_ctor_release(x_409, 1); + x_420 = x_409; } else { - lean_dec_ref(x_388); - x_391 = lean_box(0); + lean_dec_ref(x_409); + x_420 = lean_box(0); } -if (lean_is_scalar(x_391)) { - x_392 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_420)) { + x_421 = lean_alloc_ctor(1, 2, 0); } else { - x_392 = x_391; + x_421 = x_420; } -lean_ctor_set(x_392, 0, x_389); -lean_ctor_set(x_392, 1, x_390); -return x_392; +lean_ctor_set(x_421, 0, x_418); +lean_ctor_set(x_421, 1, x_419); +return x_421; +} +} +else +{ +lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; +lean_dec(x_375); +lean_dec(x_374); +lean_dec(x_373); +lean_dec(x_371); +lean_dec(x_370); +lean_dec(x_369); +lean_dec(x_354); +lean_dec(x_320); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_422 = lean_ctor_get(x_403, 0); +lean_inc(x_422); +x_423 = lean_ctor_get(x_403, 1); +lean_inc(x_423); +if (lean_is_exclusive(x_403)) { + lean_ctor_release(x_403, 0); + lean_ctor_release(x_403, 1); + x_424 = x_403; +} else { + lean_dec_ref(x_403); + x_424 = lean_box(0); +} +if (lean_is_scalar(x_424)) { + x_425 = lean_alloc_ctor(1, 2, 0); +} else { + x_425 = x_424; +} +lean_ctor_set(x_425, 0, x_422); +lean_ctor_set(x_425, 1, x_423); +return x_425; +} +} +else +{ +lean_object* x_426; +lean_dec(x_402); +lean_dec(x_375); +lean_dec(x_374); +lean_dec(x_373); +lean_dec(x_371); +lean_dec(x_370); +lean_dec(x_369); +lean_dec(x_354); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_426 = lean_box(0); +x_376 = x_426; +goto block_397; +} +} +block_397: +{ +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_dec(x_376); +x_377 = lean_ctor_get(x_15, 5); +lean_inc(x_377); +lean_dec(x_15); +x_378 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_378, 0, x_17); +x_379 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__9; +x_380 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_380, 0, x_379); +lean_ctor_set(x_380, 1, x_378); +x_381 = l___private_Lean_Elab_Structure_11__withFields___main___rarg___closed__12; +x_382 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_382, 0, x_380); +lean_ctor_set(x_382, 1, x_381); +if (lean_obj_tag(x_377) == 0) +{ +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; +x_383 = l_Lean_Syntax_inhabited; +x_384 = l_Option_get_x21___rarg___closed__3; +x_385 = lean_panic_fn(x_383, x_384); +x_386 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_385, x_382, x_5, x_6, x_7, x_8, x_320, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_385); +x_387 = lean_ctor_get(x_386, 0); +lean_inc(x_387); +x_388 = lean_ctor_get(x_386, 1); +lean_inc(x_388); +if (lean_is_exclusive(x_386)) { + lean_ctor_release(x_386, 0); + lean_ctor_release(x_386, 1); + x_389 = x_386; +} else { + lean_dec_ref(x_386); + x_389 = lean_box(0); +} +if (lean_is_scalar(x_389)) { + x_390 = lean_alloc_ctor(1, 2, 0); +} else { + x_390 = x_389; +} +lean_ctor_set(x_390, 0, x_387); +lean_ctor_set(x_390, 1, x_388); +return x_390; +} +else +{ +lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; +x_391 = lean_ctor_get(x_377, 0); +lean_inc(x_391); +lean_dec(x_377); +x_392 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_391, x_382, x_5, x_6, x_7, x_8, x_320, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_391); +x_393 = lean_ctor_get(x_392, 0); +lean_inc(x_393); +x_394 = lean_ctor_get(x_392, 1); +lean_inc(x_394); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + x_395 = x_392; +} else { + lean_dec_ref(x_392); + x_395 = lean_box(0); +} +if (lean_is_scalar(x_395)) { + x_396 = lean_alloc_ctor(1, 2, 0); +} else { + x_396 = x_395; +} +lean_ctor_set(x_396, 0, x_393); +lean_ctor_set(x_396, 1, x_394); +return x_396; } } } } default: { -lean_object* x_422; lean_object* x_423; lean_object* x_424; -lean_dec(x_350); -lean_dec(x_349); +lean_object* x_427; lean_object* x_428; lean_object* x_429; +lean_dec(x_354); +lean_dec(x_353); lean_dec(x_17); lean_dec(x_15); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_422 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -x_423 = l_unreachable_x21___rarg(x_422); -x_424 = lean_apply_7(x_423, x_5, x_6, x_7, x_8, x_316, x_10, x_11); -return x_424; +x_427 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; +x_428 = l_unreachable_x21___rarg(x_427); +x_429 = lean_apply_7(x_428, x_5, x_6, x_7, x_8, x_320, x_10, x_11); +return x_429; } } } @@ -13427,7 +13435,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_9 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; @@ -18364,7 +18372,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_1); x_38 = l___private_Lean_Elab_Structure_31__elabStructureView___closed__3; -x_39 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_10, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_39 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_10, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_13); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 5f4e27ffb1..71929100fb 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -205,6 +205,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__43; lean_object* l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__46; lean_object* l_Lean_Elab_Term_checkLeftRec___closed__11; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__120; +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_Syntax_6__declareSyntaxCatQuotParser___closed__49; lean_object* l_Lean_Elab_Command_expandMixfix___closed__13; @@ -359,6 +360,7 @@ lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkPar extern lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__4; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__8; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__56; +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_Lean_Elab_Term_toParserDescrAux___main___closed__66; extern lean_object* l_Lean_Parser_categoryParserFnImpl___closed__4; lean_object* l_Nat_repr(lean_object*); @@ -468,7 +470,6 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__46; lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; lean_object* l_Lean_Elab_Term_checkLeftRec___closed__5; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__5; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__25; 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*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__12; @@ -524,7 +525,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__90; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__76; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___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_Elab_macroAttribute; lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__17; @@ -547,6 +547,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix___closed__17; uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__6; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__125; +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_toParserDescrAux___main___closed__163; lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_SourceInfo_inhabited___closed__1; @@ -743,7 +744,6 @@ lean_object* l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__96; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__13; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__41; -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_24__elabCDot___spec__1___rarg(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__2; lean_object* l_Lean_Elab_Command_expandElab___closed__2; extern lean_object* l_String_Inhabited; @@ -1056,7 +1056,7 @@ else { lean_object* x_20; lean_dec(x_9); -x_20 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_8); +x_20 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_8); return x_20; } } @@ -4249,7 +4249,7 @@ x_93 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_93, 0, x_92); x_94 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_94, 0, x_93); -x_95 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_91, x_94, x_4, x_5, x_6, x_7, x_8, x_9, x_66); +x_95 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_91, x_94, x_4, x_5, x_6, x_7, x_8, x_9, x_66); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -4283,7 +4283,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_100 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_24__elabCDot___spec__1___rarg(x_66); +x_100 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_66); x_101 = !lean_is_exclusive(x_100); if (x_101 == 0) { diff --git a/stage0/stdlib/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index ed5b8addfd..070b7b98ab 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -61,8 +61,8 @@ lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logE 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* 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_Lean_Elab_Term_ensureHasType(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__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*); 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; @@ -96,7 +96,7 @@ 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*); 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_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*); 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___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*); @@ -127,7 +127,6 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsSte 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_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__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_9__reportStuckSyntheticMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); @@ -137,8 +136,9 @@ lean_object* l_Lean_Elab_Term_withSynthesize___rarg(lean_object*, lean_object*, lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__6; 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_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_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*); 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_Lean_MetavarContext_instantiateMVarDeclMVars(lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at___private_Lean_Elab_SyntheticMVars_8__synthesizeUsingDefault___spec__1___lambda__1___closed__5; @@ -151,12 +151,12 @@ uint8_t l_List_isEmpty___rarg(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_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*); lean_object* l_Lean_indentExpr(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*); 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_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*); 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* l_Lean_fmt___at___private_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___spec__3(uint8_t); @@ -1259,112 +1259,113 @@ lean_inc(x_5); x_70 = l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm(x_5, x_68, x_69, x_60, x_8, x_9, x_10, x_11, x_12, x_67); 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; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +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; 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_ctor_get(x_11, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_11, 1); +x_73 = lean_box(0); +x_74 = lean_ctor_get(x_11, 0); lean_inc(x_74); -x_75 = lean_ctor_get(x_11, 2); +x_75 = lean_ctor_get(x_11, 1); lean_inc(x_75); -x_76 = lean_ctor_get(x_11, 3); +x_76 = lean_ctor_get(x_11, 2); lean_inc(x_76); -x_77 = l_Lean_replaceRef(x_5, x_76); +x_77 = lean_ctor_get(x_11, 3); +lean_inc(x_77); +x_78 = l_Lean_replaceRef(x_5, x_77); lean_dec(x_5); -x_78 = l_Lean_replaceRef(x_77, x_76); -lean_dec(x_77); -x_79 = l_Lean_replaceRef(x_78, x_76); -lean_dec(x_76); +x_79 = l_Lean_replaceRef(x_78, x_77); lean_dec(x_78); -x_80 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_80, 0, x_73); -lean_ctor_set(x_80, 1, x_74); -lean_ctor_set(x_80, 2, x_75); -lean_ctor_set(x_80, 3, x_79); +x_80 = l_Lean_replaceRef(x_79, x_77); +lean_dec(x_77); +lean_dec(x_79); +x_81 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_81, 0, x_74); +lean_ctor_set(x_81, 1, x_75); +lean_ctor_set(x_81, 2, x_76); +lean_ctor_set(x_81, 3, x_80); lean_inc(x_12); lean_inc(x_10); lean_inc(x_9); lean_inc(x_60); -x_81 = l_Lean_Elab_Term_ensureHasType(x_68, x_71, x_60, x_8, x_9, x_10, x_80, x_12, x_72); -if (lean_obj_tag(x_81) == 0) +x_82 = l_Lean_Elab_Term_ensureHasType(x_68, x_71, x_73, x_60, x_8, x_9, x_10, x_81, x_12, x_72); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_dec(x_6); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); +x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); -lean_dec(x_81); -x_84 = l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(x_4, x_82, x_60, x_8, x_9, x_10, x_11, x_12, x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(x_4, x_83, x_60, x_8, x_9, x_10, x_11, x_12, x_84); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_60); -x_85 = !lean_is_exclusive(x_84); -if (x_85 == 0) +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) { -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_84, 0); -lean_dec(x_86); -x_87 = lean_box(x_69); -lean_ctor_set(x_84, 0, x_87); -return x_84; +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_85, 0); +lean_dec(x_87); +x_88 = lean_box(x_69); +lean_ctor_set(x_85, 0, x_88); +return x_85; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_84, 1); -lean_inc(x_88); -lean_dec(x_84); -x_89 = lean_box(x_69); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -return x_90; +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_85, 1); +lean_inc(x_89); +lean_dec(x_85); +x_90 = lean_box(x_69); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_89); +return x_91; } } else { -lean_object* x_91; lean_object* x_92; +lean_object* x_92; lean_object* x_93; lean_dec(x_60); lean_dec(x_4); -x_91 = lean_ctor_get(x_81, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_81, 1); +x_92 = lean_ctor_get(x_82, 0); lean_inc(x_92); -lean_dec(x_81); -x_14 = x_91; -x_15 = x_92; +x_93 = lean_ctor_get(x_82, 1); +lean_inc(x_93); +lean_dec(x_82); +x_14 = x_92; +x_15 = x_93; goto block_51; } } else { -lean_object* x_93; lean_object* x_94; +lean_object* x_94; lean_object* x_95; lean_dec(x_68); lean_dec(x_60); lean_dec(x_5); lean_dec(x_4); -x_93 = lean_ctor_get(x_70, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_70, 1); +x_94 = lean_ctor_get(x_70, 0); lean_inc(x_94); +x_95 = lean_ctor_get(x_70, 1); +lean_inc(x_95); lean_dec(x_70); -x_14 = x_93; -x_15 = x_94; +x_14 = x_94; +x_15 = x_95; goto block_51; } } else { -uint8_t x_95; lean_object* x_96; -x_95 = 0; +uint8_t x_96; lean_object* x_97; +x_96 = 0; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -1373,110 +1374,111 @@ lean_inc(x_8); lean_inc(x_60); lean_inc(x_68); lean_inc(x_5); -x_96 = l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm(x_5, x_68, x_95, x_60, x_8, x_9, x_10, x_11, x_12, x_67); -if (lean_obj_tag(x_96) == 0) +x_97 = l___private_Lean_Elab_SyntheticMVars_1__resumeElabTerm(x_5, x_68, x_96, x_60, x_8, x_9, x_10, x_11, x_12, x_67); +if (lean_obj_tag(x_97) == 0) { -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_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); +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; +x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_ctor_get(x_11, 0); +x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); -x_100 = lean_ctor_get(x_11, 1); -lean_inc(x_100); -x_101 = lean_ctor_get(x_11, 2); +lean_dec(x_97); +x_100 = lean_box(0); +x_101 = lean_ctor_get(x_11, 0); lean_inc(x_101); -x_102 = lean_ctor_get(x_11, 3); +x_102 = lean_ctor_get(x_11, 1); lean_inc(x_102); -x_103 = l_Lean_replaceRef(x_5, x_102); +x_103 = lean_ctor_get(x_11, 2); +lean_inc(x_103); +x_104 = lean_ctor_get(x_11, 3); +lean_inc(x_104); +x_105 = l_Lean_replaceRef(x_5, x_104); lean_dec(x_5); -x_104 = l_Lean_replaceRef(x_103, x_102); -lean_dec(x_103); -x_105 = l_Lean_replaceRef(x_104, x_102); -lean_dec(x_102); +x_106 = l_Lean_replaceRef(x_105, x_104); +lean_dec(x_105); +x_107 = l_Lean_replaceRef(x_106, x_104); lean_dec(x_104); -x_106 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_106, 0, x_99); -lean_ctor_set(x_106, 1, x_100); -lean_ctor_set(x_106, 2, x_101); -lean_ctor_set(x_106, 3, x_105); +lean_dec(x_106); +x_108 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_108, 0, x_101); +lean_ctor_set(x_108, 1, x_102); +lean_ctor_set(x_108, 2, x_103); +lean_ctor_set(x_108, 3, x_107); lean_inc(x_12); lean_inc(x_10); lean_inc(x_9); lean_inc(x_60); -x_107 = l_Lean_Elab_Term_ensureHasType(x_68, x_97, x_60, x_8, x_9, x_10, x_106, x_12, x_98); -if (lean_obj_tag(x_107) == 0) +x_109 = l_Lean_Elab_Term_ensureHasType(x_68, x_98, x_100, x_60, x_8, x_9, x_10, x_108, x_12, x_99); +if (lean_obj_tag(x_109) == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_dec(x_6); -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_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(x_4, x_108, x_60, x_8, x_9, x_10, x_11, x_12, x_109); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(x_4, x_110, x_60, x_8, x_9, x_10, x_11, x_12, x_111); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_60); -x_111 = !lean_is_exclusive(x_110); -if (x_111 == 0) +x_113 = !lean_is_exclusive(x_112); +if (x_113 == 0) { -lean_object* x_112; uint8_t x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_110, 0); +lean_object* x_114; uint8_t x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_112, 0); +lean_dec(x_114); +x_115 = 1; +x_116 = lean_box(x_115); +lean_ctor_set(x_112, 0, x_116); +return x_112; +} +else +{ +lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; +x_117 = lean_ctor_get(x_112, 1); +lean_inc(x_117); lean_dec(x_112); -x_113 = 1; -x_114 = lean_box(x_113); -lean_ctor_set(x_110, 0, x_114); -return x_110; -} -else -{ -lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; -x_115 = lean_ctor_get(x_110, 1); -lean_inc(x_115); -lean_dec(x_110); -x_116 = 1; -x_117 = lean_box(x_116); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_115); -return x_118; -} -} -else -{ -lean_object* x_119; lean_object* x_120; -lean_dec(x_60); -lean_dec(x_4); -x_119 = lean_ctor_get(x_107, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_107, 1); -lean_inc(x_120); -lean_dec(x_107); -x_14 = x_119; -x_15 = x_120; -goto block_51; +x_118 = 1; +x_119 = lean_box(x_118); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_117); +return x_120; } } else { lean_object* x_121; lean_object* x_122; +lean_dec(x_60); +lean_dec(x_4); +x_121 = lean_ctor_get(x_109, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_109, 1); +lean_inc(x_122); +lean_dec(x_109); +x_14 = x_121; +x_15 = x_122; +goto block_51; +} +} +else +{ +lean_object* x_123; lean_object* x_124; lean_dec(x_68); lean_dec(x_60); lean_dec(x_5); lean_dec(x_4); -x_121 = lean_ctor_get(x_96, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_96, 1); -lean_inc(x_122); -lean_dec(x_96); -x_14 = x_121; -x_15 = x_122; +x_123 = lean_ctor_get(x_97, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_97, 1); +lean_inc(x_124); +lean_dec(x_97); +x_14 = x_123; +x_15 = x_124; goto block_51; } } @@ -1488,7 +1490,7 @@ if (x_1 == 0) { lean_object* x_16; lean_dec(x_6); -x_16 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1(x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_15); +x_16 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__1(x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_15); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1752,7 +1754,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_12 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -1836,18 +1838,19 @@ x_10 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__2 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_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* x_13) { _start: { -lean_object* x_13; +lean_object* x_14; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_13 = l_Lean_Elab_Term_synthesizeInstMVarCore(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_13) == 0) +lean_inc(x_7); +x_14 = l_Lean_Elab_Term_synthesizeInstMVarCore(x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) { +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -1858,61 +1861,63 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_13; +return x_14; } else { -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_16); -x_18 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_2, x_3, x_4, x_5, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -lean_dec(x_7); -lean_dec(x_17); -return x_18; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_2, x_3, x_4, x_5, x_6, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +lean_dec(x_8); +lean_dec(x_18); +return x_19; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_14); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_15); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_19 = lean_ctor_get(x_13, 1); -lean_inc(x_19); -lean_dec(x_13); -x_20 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -x_21 = l_unreachable_x21___rarg(x_20); -x_22 = lean_apply_7(x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_19); -return x_22; +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_dec(x_14); +x_21 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; +x_22 = l_unreachable_x21___rarg(x_21); +x_23 = lean_apply_7(x_22, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +return x_23; } } } } -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_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* x_13) { _start: { -lean_object* x_13; lean_object* x_14; +lean_object* x_14; lean_object* x_15; lean_inc(x_1); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_4__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); -lean_closure_set(x_13, 3, x_4); -lean_closure_set(x_13, 4, x_5); -x_14 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__2___rarg(x_1, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar___lambda__1), 13, 6); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_2); +lean_closure_set(x_14, 2, x_3); +lean_closure_set(x_14, 3, x_4); +lean_closure_set(x_14, 4, x_5); +lean_closure_set(x_14, 5, x_6); +x_15 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__2___rarg(x_1, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; } } 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) { @@ -2029,7 +2034,7 @@ return x_19; } case 1: { -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_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_dec(x_11); x_20 = lean_ctor_get(x_12, 0); lean_inc(x_20); @@ -2039,19 +2044,21 @@ x_22 = lean_ctor_get(x_12, 2); lean_inc(x_22); x_23 = lean_ctor_get(x_12, 3); lean_inc(x_23); -lean_dec(x_12); -x_24 = lean_ctor_get(x_1, 0); +x_24 = lean_ctor_get(x_12, 4); lean_inc(x_24); +lean_dec(x_12); +x_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); 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); -return x_25; +x_26 = l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar(x_25, x_20, x_21, x_22, x_23, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_26; } case 2: { lean_dec(x_11); if (x_3 == 0) { -uint8_t x_26; lean_object* x_27; lean_object* x_28; +uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_dec(x_8); lean_dec(x_12); lean_dec(x_9); @@ -2060,264 +2067,266 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_26 = 0; -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_10); -return x_28; +x_27 = 0; +x_28 = lean_box(x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_10); +return x_29; } else { -lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_29 = lean_ctor_get(x_12, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_12, 1); +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_ctor_get(x_12, 0); lean_inc(x_30); +x_31 = lean_ctor_get(x_12, 1); +lean_inc(x_31); lean_dec(x_12); -x_31 = !lean_is_exclusive(x_4); -if (x_31 == 0) +x_32 = !lean_is_exclusive(x_4); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_4, 3); -lean_dec(x_32); -lean_ctor_set(x_4, 3, x_29); -x_33 = lean_ctor_get(x_1, 0); -lean_inc(x_33); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_4, 3); +lean_dec(x_33); +lean_ctor_set(x_4, 3, x_30); +x_34 = lean_ctor_get(x_1, 0); +lean_inc(x_34); lean_dec(x_1); -x_34 = l_Lean_Elab_Term_runTactic(x_33, x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_30); -if (lean_obj_tag(x_34) == 0) +x_35 = l_Lean_Elab_Term_runTactic(x_34, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_31); +if (lean_obj_tag(x_35) == 0) { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -x_37 = 1; -x_38 = lean_box(x_37); -lean_ctor_set(x_34, 0, x_38); -return x_34; +lean_object* x_37; uint8_t x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +x_38 = 1; +x_39 = lean_box(x_38); +lean_ctor_set(x_35, 0, x_39); +return x_35; } else { -lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_34, 1); -lean_inc(x_39); -lean_dec(x_34); -x_40 = 1; -x_41 = lean_box(x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_39); -return x_42; +lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_35, 1); +lean_inc(x_40); +lean_dec(x_35); +x_41 = 1; +x_42 = lean_box(x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +return x_43; } } else { -uint8_t x_43; -x_43 = !lean_is_exclusive(x_34); -if (x_43 == 0) +uint8_t x_44; +x_44 = !lean_is_exclusive(x_35); +if (x_44 == 0) { -return x_34; +return x_35; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_34, 0); -x_45 = lean_ctor_get(x_34, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_35, 0); +x_46 = lean_ctor_get(x_35, 1); +lean_inc(x_46); lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_34); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_dec(x_35); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } 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; uint8_t x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_47 = lean_ctor_get(x_4, 0); -x_48 = lean_ctor_get(x_4, 1); -x_49 = lean_ctor_get(x_4, 2); -x_50 = lean_ctor_get(x_4, 4); -x_51 = lean_ctor_get(x_4, 5); -x_52 = lean_ctor_get(x_4, 6); -x_53 = lean_ctor_get(x_4, 7); -x_54 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_55 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +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; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_48 = lean_ctor_get(x_4, 0); +x_49 = lean_ctor_get(x_4, 1); +x_50 = lean_ctor_get(x_4, 2); +x_51 = lean_ctor_get(x_4, 4); +x_52 = lean_ctor_get(x_4, 5); +x_53 = lean_ctor_get(x_4, 6); +x_54 = lean_ctor_get(x_4, 7); +x_55 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_56 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +lean_inc(x_54); lean_inc(x_53); lean_inc(x_52); lean_inc(x_51); lean_inc(x_50); lean_inc(x_49); lean_inc(x_48); -lean_inc(x_47); lean_dec(x_4); -x_56 = lean_alloc_ctor(0, 8, 2); -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_29); -lean_ctor_set(x_56, 4, x_50); -lean_ctor_set(x_56, 5, x_51); -lean_ctor_set(x_56, 6, x_52); -lean_ctor_set(x_56, 7, x_53); -lean_ctor_set_uint8(x_56, sizeof(void*)*8, x_54); -lean_ctor_set_uint8(x_56, sizeof(void*)*8 + 1, x_55); -x_57 = lean_ctor_get(x_1, 0); -lean_inc(x_57); +x_57 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_57, 0, x_48); +lean_ctor_set(x_57, 1, x_49); +lean_ctor_set(x_57, 2, x_50); +lean_ctor_set(x_57, 3, x_30); +lean_ctor_set(x_57, 4, x_51); +lean_ctor_set(x_57, 5, x_52); +lean_ctor_set(x_57, 6, x_53); +lean_ctor_set(x_57, 7, x_54); +lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_55); +lean_ctor_set_uint8(x_57, sizeof(void*)*8 + 1, x_56); +x_58 = lean_ctor_get(x_1, 0); +lean_inc(x_58); lean_dec(x_1); -x_58 = l_Lean_Elab_Term_runTactic(x_57, x_30, x_56, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_30); -if (lean_obj_tag(x_58) == 0) +x_59 = l_Lean_Elab_Term_runTactic(x_58, x_31, x_57, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_31); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_60 = x_58; +lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_61 = x_59; } else { - lean_dec_ref(x_58); - x_60 = lean_box(0); + lean_dec_ref(x_59); + x_61 = lean_box(0); } -x_61 = 1; -x_62 = lean_box(x_61); -if (lean_is_scalar(x_60)) { - x_63 = lean_alloc_ctor(0, 2, 0); +x_62 = 1; +x_63 = lean_box(x_62); +if (lean_is_scalar(x_61)) { + x_64 = lean_alloc_ctor(0, 2, 0); } else { - x_63 = x_60; + x_64 = x_61; } -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_59); -return x_63; +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_60); +return x_64; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_64 = lean_ctor_get(x_58, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_58, 1); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_59, 0); lean_inc(x_65); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_66 = x_58; +x_66 = lean_ctor_get(x_59, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_67 = x_59; } else { - lean_dec_ref(x_58); - x_66 = lean_box(0); + lean_dec_ref(x_59); + x_67 = lean_box(0); } -if (lean_is_scalar(x_66)) { - x_67 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); } else { - x_67 = x_66; + x_68 = x_67; } -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_65); -return x_67; +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; } } } } case 3: { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_12, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_12, 1); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_69 = lean_ctor_get(x_12, 0); lean_inc(x_69); -lean_dec(x_12); -x_70 = lean_ctor_get(x_1, 0); +x_70 = lean_ctor_get(x_12, 1); lean_inc(x_70); +lean_dec(x_12); +x_71 = lean_ctor_get(x_1, 0); +lean_inc(x_71); lean_dec(x_1); -x_71 = l___private_Lean_Elab_SyntheticMVars_2__resumePostponed(x_68, x_69, x_11, x_70, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_71; +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); +return x_72; } default: { -lean_object* x_72; lean_object* x_73; +lean_object* x_73; lean_object* x_74; lean_dec(x_12); lean_dec(x_11); -x_72 = lean_ctor_get(x_1, 0); -lean_inc(x_72); +x_73 = lean_ctor_get(x_1, 0); +lean_inc(x_73); lean_dec(x_1); -x_73 = l___private_Lean_Elab_SyntheticMVars_5__checkWithDefault(x_72, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_73; +return x_74; } } } 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_8, 0); -x_75 = lean_ctor_get(x_8, 1); -x_76 = lean_ctor_get(x_8, 2); -x_77 = lean_ctor_get(x_8, 3); +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; +x_75 = lean_ctor_get(x_8, 0); +x_76 = lean_ctor_get(x_8, 1); +x_77 = lean_ctor_get(x_8, 2); +x_78 = lean_ctor_get(x_8, 3); +lean_inc(x_78); lean_inc(x_77); lean_inc(x_76); lean_inc(x_75); -lean_inc(x_74); lean_dec(x_8); -x_78 = l_Lean_replaceRef(x_11, x_77); -x_79 = l_Lean_replaceRef(x_78, x_77); -lean_dec(x_78); -x_80 = l_Lean_replaceRef(x_79, x_77); -lean_dec(x_77); +x_79 = l_Lean_replaceRef(x_11, x_78); +x_80 = l_Lean_replaceRef(x_79, x_78); lean_dec(x_79); -x_81 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_81, 0, x_74); -lean_ctor_set(x_81, 1, x_75); -lean_ctor_set(x_81, 2, x_76); -lean_ctor_set(x_81, 3, x_80); +x_81 = l_Lean_replaceRef(x_80, x_78); +lean_dec(x_78); +lean_dec(x_80); +x_82 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_82, 0, x_75); +lean_ctor_set(x_82, 1, x_76); +lean_ctor_set(x_82, 2, x_77); +lean_ctor_set(x_82, 3, x_81); switch (lean_obj_tag(x_12)) { case 0: { -lean_object* x_82; lean_object* x_83; +lean_object* x_83; lean_object* x_84; lean_dec(x_11); -x_82 = lean_ctor_get(x_1, 0); -lean_inc(x_82); +x_83 = lean_ctor_get(x_1, 0); +lean_inc(x_83); lean_dec(x_1); -x_83 = l___private_Lean_Elab_SyntheticMVars_3__synthesizePendingInstMVar(x_82, x_4, x_5, x_6, x_7, x_81, x_9, x_10); -return x_83; +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); +return x_84; } case 1: { -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_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_dec(x_11); -x_84 = lean_ctor_get(x_12, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_12, 1); +x_85 = lean_ctor_get(x_12, 0); lean_inc(x_85); -x_86 = lean_ctor_get(x_12, 2); +x_86 = lean_ctor_get(x_12, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_12, 3); +x_87 = lean_ctor_get(x_12, 2); lean_inc(x_87); -lean_dec(x_12); -x_88 = lean_ctor_get(x_1, 0); +x_88 = lean_ctor_get(x_12, 3); lean_inc(x_88); +x_89 = lean_ctor_get(x_12, 4); +lean_inc(x_89); +lean_dec(x_12); +x_90 = lean_ctor_get(x_1, 0); +lean_inc(x_90); lean_dec(x_1); -x_89 = l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar(x_88, x_84, x_85, x_86, x_87, x_4, x_5, x_6, x_7, x_81, x_9, x_10); -return x_89; +x_91 = l___private_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar(x_90, x_85, x_86, x_87, x_88, x_89, x_4, x_5, x_6, x_7, x_82, x_9, x_10); +return x_91; } case 2: { lean_dec(x_11); if (x_3 == 0) { -uint8_t x_90; lean_object* x_91; lean_object* x_92; -lean_dec(x_81); +uint8_t x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_82); lean_dec(x_12); lean_dec(x_9); lean_dec(x_7); @@ -2325,37 +2334,37 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_90 = 0; -x_91 = lean_box(x_90); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_10); -return x_92; +x_92 = 0; +x_93 = lean_box(x_92); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_10); +return x_94; } else { -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; uint8_t x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_93 = lean_ctor_get(x_12, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_12, 1); -lean_inc(x_94); -lean_dec(x_12); -x_95 = lean_ctor_get(x_4, 0); +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; uint8_t x_104; uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_95 = lean_ctor_get(x_12, 0); lean_inc(x_95); -x_96 = lean_ctor_get(x_4, 1); +x_96 = lean_ctor_get(x_12, 1); lean_inc(x_96); -x_97 = lean_ctor_get(x_4, 2); +lean_dec(x_12); +x_97 = lean_ctor_get(x_4, 0); lean_inc(x_97); -x_98 = lean_ctor_get(x_4, 4); +x_98 = lean_ctor_get(x_4, 1); lean_inc(x_98); -x_99 = lean_ctor_get(x_4, 5); +x_99 = lean_ctor_get(x_4, 2); lean_inc(x_99); -x_100 = lean_ctor_get(x_4, 6); +x_100 = lean_ctor_get(x_4, 4); lean_inc(x_100); -x_101 = lean_ctor_get(x_4, 7); +x_101 = lean_ctor_get(x_4, 5); lean_inc(x_101); -x_102 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_103 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_102 = lean_ctor_get(x_4, 6); +lean_inc(x_102); +x_103 = lean_ctor_get(x_4, 7); +lean_inc(x_103); +x_104 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_105 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -2365,111 +2374,111 @@ 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_104 = x_4; + x_106 = x_4; } else { lean_dec_ref(x_4); - x_104 = lean_box(0); + x_106 = lean_box(0); } -if (lean_is_scalar(x_104)) { - x_105 = lean_alloc_ctor(0, 8, 2); +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(0, 8, 2); } else { - x_105 = x_104; + x_107 = x_106; } -lean_ctor_set(x_105, 0, x_95); -lean_ctor_set(x_105, 1, x_96); -lean_ctor_set(x_105, 2, x_97); -lean_ctor_set(x_105, 3, x_93); -lean_ctor_set(x_105, 4, x_98); -lean_ctor_set(x_105, 5, x_99); -lean_ctor_set(x_105, 6, x_100); -lean_ctor_set(x_105, 7, x_101); -lean_ctor_set_uint8(x_105, sizeof(void*)*8, x_102); -lean_ctor_set_uint8(x_105, sizeof(void*)*8 + 1, x_103); -x_106 = lean_ctor_get(x_1, 0); -lean_inc(x_106); -lean_dec(x_1); -x_107 = l_Lean_Elab_Term_runTactic(x_106, x_94, x_105, x_5, x_6, x_7, x_81, x_9, x_10); -lean_dec(x_94); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; -x_108 = lean_ctor_get(x_107, 1); +lean_ctor_set(x_107, 0, x_97); +lean_ctor_set(x_107, 1, x_98); +lean_ctor_set(x_107, 2, x_99); +lean_ctor_set(x_107, 3, x_95); +lean_ctor_set(x_107, 4, x_100); +lean_ctor_set(x_107, 5, x_101); +lean_ctor_set(x_107, 6, x_102); +lean_ctor_set(x_107, 7, x_103); +lean_ctor_set_uint8(x_107, sizeof(void*)*8, x_104); +lean_ctor_set_uint8(x_107, sizeof(void*)*8 + 1, x_105); +x_108 = lean_ctor_get(x_1, 0); 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; +lean_dec(x_1); +x_109 = l_Lean_Elab_Term_runTactic(x_108, x_96, x_107, x_5, x_6, x_7, x_82, x_9, x_10); +lean_dec(x_96); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_111 = x_109; } else { - lean_dec_ref(x_107); - x_109 = lean_box(0); + lean_dec_ref(x_109); + x_111 = lean_box(0); } -x_110 = 1; -x_111 = lean_box(x_110); -if (lean_is_scalar(x_109)) { - x_112 = lean_alloc_ctor(0, 2, 0); +x_112 = 1; +x_113 = lean_box(x_112); +if (lean_is_scalar(x_111)) { + x_114 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_109; + x_114 = x_111; } -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_108); -return x_112; +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_110); +return x_114; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_113 = lean_ctor_get(x_107, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_107, 1); -lean_inc(x_114); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_115 = x_107; +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_115 = lean_ctor_get(x_109, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_109, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_117 = x_109; } else { - lean_dec_ref(x_107); - x_115 = lean_box(0); + lean_dec_ref(x_109); + x_117 = lean_box(0); } -if (lean_is_scalar(x_115)) { - x_116 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(1, 2, 0); } else { - x_116 = x_115; + x_118 = x_117; } -lean_ctor_set(x_116, 0, x_113); -lean_ctor_set(x_116, 1, x_114); -return x_116; +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_116); +return x_118; } } } case 3: { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_117 = lean_ctor_get(x_12, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_12, 1); -lean_inc(x_118); -lean_dec(x_12); -x_119 = lean_ctor_get(x_1, 0); +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_119 = lean_ctor_get(x_12, 0); lean_inc(x_119); -lean_dec(x_1); -x_120 = l___private_Lean_Elab_SyntheticMVars_2__resumePostponed(x_117, x_118, x_11, x_119, x_2, x_4, x_5, x_6, x_7, x_81, x_9, x_10); -return x_120; -} -default: -{ -lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_12, 1); +lean_inc(x_120); lean_dec(x_12); -lean_dec(x_11); x_121 = lean_ctor_get(x_1, 0); lean_inc(x_121); lean_dec(x_1); -x_122 = l___private_Lean_Elab_SyntheticMVars_5__checkWithDefault(x_121, x_4, x_5, x_6, x_7, x_81, x_9, x_10); +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); +return x_122; +} +default: +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_12); +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); lean_dec(x_9); -lean_dec(x_81); +lean_dec(x_82); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_122; +return x_124; } } } @@ -4137,23 +4146,23 @@ 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_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* x_13) { _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; -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_16 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(1, 1, 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; +x_14 = lean_ctor_get(x_6, 2); +lean_inc(x_14); +lean_dec(x_6); +x_15 = l_Lean_indentExpr(x_14); +x_16 = l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; +x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_16); -x_18 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_17); -return x_18; +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_18); +return x_19; } } lean_object* _init_l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___closed__1() { @@ -4272,7 +4281,7 @@ return x_33; } case 1: { -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_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; x_34 = lean_ctor_get(x_14, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_14, 1); @@ -4281,115 +4290,118 @@ x_36 = lean_ctor_get(x_14, 2); lean_inc(x_36); x_37 = lean_ctor_get(x_14, 3); lean_inc(x_37); +x_38 = lean_ctor_get(x_14, 4); +lean_inc(x_38); lean_dec(x_14); -x_38 = lean_ctor_get(x_11, 0); -lean_inc(x_38); +x_39 = lean_ctor_get(x_11, 0); +lean_inc(x_39); lean_dec(x_11); -lean_inc(x_38); -x_39 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getMVarDecl___boxed), 8, 1); -lean_closure_set(x_39, 0, x_38); -x_40 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__2___boxed), 12, 4); -lean_closure_set(x_40, 0, x_34); -lean_closure_set(x_40, 1, x_35); -lean_closure_set(x_40, 2, x_36); -lean_closure_set(x_40, 3, x_37); -x_41 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg), 9, 2); -lean_closure_set(x_41, 0, x_39); -lean_closure_set(x_41, 1, x_40); +lean_inc(x_39); +x_40 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getMVarDecl___boxed), 8, 1); +lean_closure_set(x_40, 0, x_39); +x_41 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__2___boxed), 13, 5); +lean_closure_set(x_41, 0, x_34); +lean_closure_set(x_41, 1, x_35); +lean_closure_set(x_41, 2, x_36); +lean_closure_set(x_41, 3, x_37); +lean_closure_set(x_41, 4, x_38); +x_42 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg), 9, 2); +lean_closure_set(x_42, 0, x_40); +lean_closure_set(x_42, 1, x_41); lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_42 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__2___rarg(x_38, x_41, x_2, x_3, x_4, x_5, x_22, x_7, x_8); -if (lean_obj_tag(x_42) == 0) +x_43 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_liftTacticElabM___spec__2___rarg(x_39, x_42, x_2, x_3, x_4, x_5, x_22, x_7, x_8); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_43; -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); +lean_object* x_44; +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); x_1 = x_12; -x_8 = x_43; +x_8 = x_44; goto _start; } else { -uint8_t x_45; +uint8_t x_46; lean_dec(x_12); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_45 = !lean_is_exclusive(x_42); -if (x_45 == 0) +x_46 = !lean_is_exclusive(x_43); +if (x_46 == 0) { -return x_42; +return x_43; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 0); -x_47 = lean_ctor_get(x_42, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +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_inc(x_46); -lean_dec(x_42); -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; +lean_dec(x_43); +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; } } } default: { -lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_dec(x_14); lean_dec(x_11); -x_49 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -x_50 = l_unreachable_x21___rarg(x_49); +x_50 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; +x_51 = l_unreachable_x21___rarg(x_50); lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_51 = lean_apply_7(x_50, x_2, x_3, x_4, x_5, x_22, x_7, x_8); -if (lean_obj_tag(x_51) == 0) +x_52 = lean_apply_7(x_51, x_2, x_3, x_4, x_5, x_22, x_7, x_8); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_52; -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); +lean_object* x_53; +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); x_1 = x_12; -x_8 = x_52; +x_8 = x_53; goto _start; } else { -uint8_t x_54; +uint8_t x_55; lean_dec(x_12); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_54 = !lean_is_exclusive(x_51); -if (x_54 == 0) +x_55 = !lean_is_exclusive(x_52); +if (x_55 == 0) { -return x_51; +return x_52; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_51, 0); -x_56 = lean_ctor_get(x_51, 1); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_52, 0); +x_57 = lean_ctor_get(x_52, 1); +lean_inc(x_57); lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_51); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_dec(x_52); +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; } } } @@ -4428,13 +4440,13 @@ 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_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* x_13) { _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); -lean_dec(x_7); -return x_13; +lean_object* x_14; +x_14 = 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); +lean_dec(x_8); +return x_14; } } lean_object* l_List_forM___main___at___private_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___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) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 43c7490a8d..6422bca2d1 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -20,7 +20,6 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalSeq1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3; -extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18; lean_object* l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__9; lean_object* l_Array_forMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__12(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_getMainTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -119,12 +118,14 @@ lean_object* l_Lean_Elab_Tactic_saveAllState(lean_object*); lean_object* l_ReaderT_Monad___rarg(lean_object*); lean_object* l_Lean_Meta_subst(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*); +extern lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6; lean_object* l___private_Init_Data_Array_QSort_1__qpartitionAux___main___at___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_Lean_MonadLCtx___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ensureHasType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalIntro(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_evalCase___closed__5; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3; lean_object* l_Lean_Elab_Tactic_evalCase___closed__3; lean_object* l___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___closed__1; lean_object* l_Lean_Meta_getMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -174,7 +175,7 @@ lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg(lean_object*, lean_obje lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___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_nat_add(lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__5(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_Lean_Elab_Term_ensureHasType(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_getMVarDecl___at_Lean_Elab_Tactic_getMainTag___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_Tactic_getMainGoal___closed__2; lean_object* l___private_Init_Data_Array_QSort_1__qpartitionAux___main___at___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -236,7 +237,6 @@ extern lean_object* l_Lean_choiceKind___closed__2; lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__7; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_saveBacktrackableState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6; lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object*); lean_object* l_Lean_Elab_Tactic_TacticM_run(lean_object*); @@ -246,6 +246,7 @@ lean_object* l_Std_AssocList_find_x3f___main___at_Lean_Elab_Tactic_evalTactic___ lean_object* l_Lean_Elab_Tactic_SavedState_inhabited; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic___main___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_object*); lean_object* l___private_Init_Data_Array_QSort_1__qpartitionAux___main___at___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); @@ -282,6 +283,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2; lean_object* l_Lean_Syntax_getId(lean_object*); +extern lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -289,7 +291,6 @@ lean_object* l_Lean_Elab_Tactic_evalChoice___boxed(lean_object*, lean_object*, l extern lean_object* l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6; lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern size_t l_Std_PersistentHashMap_insertAux___main___rarg___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; 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_Tactic_evalParen___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_evalSeq1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -323,7 +324,6 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Elab_Tactic_evalTactic___main__ lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_Lean_Ref; lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic___main___spec__8___rarg(lean_object*); lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__1; lean_object* l_List_findM_x3f___main___at___private_Lean_Elab_Tactic_Basic_6__findTag_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -370,6 +370,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; extern lean_object* l_Lean_Syntax_inhabited; lean_object* l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__5; extern lean_object* l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__16; +extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; lean_object* l_Lean_Elab_goalsToMessageData(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_isAnonymousMVar(lean_object*, lean_object*); @@ -452,7 +453,6 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Tactic_evalTacticSeqBrack lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_6__findTag_x3f(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_10__elabUsingElabFnsAux___main___closed__3; lean_object* l_Array_qsortAux___main___at___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars(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_QSort_1__qpartitionAux___main___at___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1517,9 +1517,10 @@ return x_11; lean_object* l_Lean_Elab_Tactic_ensureHasType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; -x_12 = l_Lean_Elab_Term_ensureHasType(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_12; +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l_Lean_Elab_Term_ensureHasType(x_1, x_2, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; } } lean_object* l_Lean_Elab_Tactic_ensureHasType___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) { @@ -1869,7 +1870,7 @@ x_16 = lean_unsigned_to_nat(2u); x_17 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); -x_18 = l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__3; +x_18 = l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); @@ -2364,7 +2365,7 @@ x_18 = l_Lean_Meta_throwTacticEx___rarg___closed__3; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6; +x_20 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6; x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); @@ -3297,7 +3298,7 @@ x_17 = l_Lean_Meta_throwTacticEx___rarg___closed__3; x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6; +x_19 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); @@ -7743,24 +7744,6 @@ lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("seq1"); -return x_1; -} -} -lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2() { -_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___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3() { -_start: -{ -lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSeq1___boxed), 10, 0); return x_1; } @@ -7770,8 +7753,8 @@ _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___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; +x_3 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } @@ -7953,6 +7936,24 @@ lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___clos _start: { lean_object* x_1; +x_1 = lean_mk_string("tacticSeq1Indented"); +return x_1; +} +} +lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2() { +_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___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3() { +_start: +{ +lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed), 10, 0); return x_1; } @@ -7962,8 +7963,8 @@ _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_17__expandMatchAltsIntoMatchAux___main___closed__7; -x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } @@ -9310,30 +9311,30 @@ return x_3; lean_object* l_Lean_Elab_Tactic_evalIntro(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_207; uint8_t x_208; -x_207 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9; +uint8_t x_11; lean_object* x_194; uint8_t x_195; +x_194 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9; lean_inc(x_1); -x_208 = l_Lean_Syntax_isOfKind(x_1, x_207); -if (x_208 == 0) +x_195 = l_Lean_Syntax_isOfKind(x_1, x_194); +if (x_195 == 0) { -uint8_t x_209; -x_209 = 0; -x_11 = x_209; -goto block_206; +uint8_t x_196; +x_196 = 0; +x_11 = x_196; +goto block_193; } else { -lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; -x_210 = l_Lean_Syntax_getArgs(x_1); -x_211 = lean_array_get_size(x_210); -lean_dec(x_210); -x_212 = lean_unsigned_to_nat(2u); -x_213 = lean_nat_dec_eq(x_211, x_212); -lean_dec(x_211); -x_11 = x_213; -goto block_206; +lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_197 = l_Lean_Syntax_getArgs(x_1); +x_198 = lean_array_get_size(x_197); +lean_dec(x_197); +x_199 = lean_unsigned_to_nat(2u); +x_200 = lean_nat_dec_eq(x_198, x_199); +lean_dec(x_198); +x_11 = x_200; +goto block_193; } -block_206: +block_193: { if (x_11 == 0) { @@ -9352,36 +9353,36 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_177; uint8_t x_178; uint8_t x_179; +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_164; uint8_t x_165; uint8_t x_166; x_13 = lean_unsigned_to_nat(1u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_177 = l_Lean_nullKind___closed__2; +x_164 = l_Lean_nullKind___closed__2; lean_inc(x_14); -x_178 = l_Lean_Syntax_isOfKind(x_14, x_177); -if (x_178 == 0) +x_165 = l_Lean_Syntax_isOfKind(x_14, x_164); +if (x_165 == 0) { -uint8_t x_201; -x_201 = 0; -x_179 = x_201; -goto block_200; +uint8_t x_188; +x_188 = 0; +x_166 = x_188; +goto block_187; } else { -lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; -x_202 = l_Lean_Syntax_getArgs(x_14); -x_203 = lean_array_get_size(x_202); -lean_dec(x_202); -x_204 = lean_unsigned_to_nat(0u); -x_205 = lean_nat_dec_eq(x_203, x_204); -lean_dec(x_203); -x_179 = x_205; -goto block_200; +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = l_Lean_Syntax_getArgs(x_14); +x_190 = lean_array_get_size(x_189); +lean_dec(x_189); +x_191 = lean_unsigned_to_nat(0u); +x_192 = lean_nat_dec_eq(x_190, x_191); +lean_dec(x_190); +x_166 = x_192; +goto block_187; } -block_176: +block_163: { 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; x_16 = l_Lean_Syntax_getArgs(x_14); lean_dec(x_14); x_17 = l_Lean_Syntax_inhabited; @@ -9412,390 +9413,367 @@ 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_array_push(x_26, x_33); -x_35 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18; +x_35 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; x_36 = lean_array_push(x_34, x_35); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_28); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_array_push(x_26, x_37); -x_39 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_21, x_21, x_18, x_26); +x_37 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_21, x_21, x_18, x_26); lean_dec(x_21); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_28); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_array_push(x_30, x_38); x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_28); +lean_ctor_set(x_40, 0, x_32); lean_ctor_set(x_40, 1, x_39); -x_41 = lean_array_push(x_30, x_40); +x_41 = lean_array_push(x_36, x_40); x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_32); +lean_ctor_set(x_42, 0, x_28); lean_ctor_set(x_42, 1, x_41); x_43 = lean_array_push(x_26, x_42); -x_44 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; -x_45 = lean_array_push(x_43, x_44); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_28); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_array_push(x_38, x_46); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_28); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_array_push(x_26, x_48); -x_50 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = !lean_is_exclusive(x_4); -if (x_52 == 0) +x_44 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = !lean_is_exclusive(x_4); +if (x_46 == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_4, 6); -lean_inc(x_51); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_1); -lean_ctor_set(x_54, 1, x_51); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -lean_ctor_set(x_4, 6, x_55); -x_56 = l_Lean_Elab_Tactic_evalTactic___main(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25); -return x_56; +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_4, 6); +lean_inc(x_45); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_1); +lean_ctor_set(x_48, 1, x_45); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_4, 6, x_49); +x_50 = l_Lean_Elab_Tactic_evalTactic___main(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25); +return x_50; } 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; lean_object* x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_57 = lean_ctor_get(x_4, 0); -x_58 = lean_ctor_get(x_4, 1); -x_59 = lean_ctor_get(x_4, 2); -x_60 = lean_ctor_get(x_4, 3); -x_61 = lean_ctor_get(x_4, 4); -x_62 = lean_ctor_get(x_4, 5); -x_63 = lean_ctor_get(x_4, 6); -x_64 = lean_ctor_get(x_4, 7); -x_65 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_66 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -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_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_51 = lean_ctor_get(x_4, 0); +x_52 = lean_ctor_get(x_4, 1); +x_53 = lean_ctor_get(x_4, 2); +x_54 = lean_ctor_get(x_4, 3); +x_55 = lean_ctor_get(x_4, 4); +x_56 = lean_ctor_get(x_4, 5); +x_57 = lean_ctor_get(x_4, 6); +x_58 = lean_ctor_get(x_4, 7); +x_59 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_60 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); lean_inc(x_58); lean_inc(x_57); -lean_dec(x_4); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); lean_inc(x_51); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_1); -lean_ctor_set(x_67, 1, x_51); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_63); -x_69 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_69, 0, x_57); -lean_ctor_set(x_69, 1, x_58); -lean_ctor_set(x_69, 2, x_59); -lean_ctor_set(x_69, 3, x_60); -lean_ctor_set(x_69, 4, x_61); -lean_ctor_set(x_69, 5, x_62); -lean_ctor_set(x_69, 6, x_68); -lean_ctor_set(x_69, 7, x_64); -lean_ctor_set_uint8(x_69, sizeof(void*)*8, x_65); -lean_ctor_set_uint8(x_69, sizeof(void*)*8 + 1, x_66); -x_70 = l_Lean_Elab_Tactic_evalTactic___main(x_51, x_2, x_3, x_69, x_5, x_6, x_7, x_8, x_9, x_25); -return x_70; +lean_dec(x_4); +lean_inc(x_45); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_1); +lean_ctor_set(x_61, 1, x_45); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_57); +x_63 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_63, 0, x_51); +lean_ctor_set(x_63, 1, x_52); +lean_ctor_set(x_63, 2, x_53); +lean_ctor_set(x_63, 3, x_54); +lean_ctor_set(x_63, 4, x_55); +lean_ctor_set(x_63, 5, x_56); +lean_ctor_set(x_63, 6, x_62); +lean_ctor_set(x_63, 7, x_58); +lean_ctor_set_uint8(x_63, sizeof(void*)*8, x_59); +lean_ctor_set_uint8(x_63, sizeof(void*)*8 + 1, x_60); +x_64 = l_Lean_Elab_Tactic_evalTactic___main(x_45, x_2, x_3, x_63, x_5, x_6, x_7, x_8, x_9, x_25); +return x_64; } } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_71 = lean_unsigned_to_nat(0u); -x_72 = l_Lean_Syntax_getArg(x_14, x_71); +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_65 = lean_unsigned_to_nat(0u); +x_66 = l_Lean_Syntax_getArg(x_14, x_65); lean_dec(x_14); -x_73 = l_Lean_identKind___closed__2; -lean_inc(x_72); -x_74 = l_Lean_Syntax_isOfKind(x_72, x_73); -if (x_74 == 0) +x_67 = l_Lean_identKind___closed__2; +lean_inc(x_66); +x_68 = l_Lean_Syntax_isOfKind(x_66, x_67); +if (x_68 == 0) { -uint8_t x_75; lean_object* x_168; uint8_t x_169; -x_168 = l_Lean_mkHole___closed__2; -lean_inc(x_72); -x_169 = l_Lean_Syntax_isOfKind(x_72, x_168); -if (x_169 == 0) +uint8_t x_69; lean_object* x_155; uint8_t x_156; +x_155 = l_Lean_mkHole___closed__2; +lean_inc(x_66); +x_156 = l_Lean_Syntax_isOfKind(x_66, x_155); +if (x_156 == 0) { -uint8_t x_170; -x_170 = 0; -x_75 = x_170; -goto block_167; +uint8_t x_157; +x_157 = 0; +x_69 = x_157; +goto block_154; } else { -lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_171 = l_Lean_Syntax_getArgs(x_72); -x_172 = lean_array_get_size(x_171); -lean_dec(x_171); -x_173 = lean_nat_dec_eq(x_172, x_13); -lean_dec(x_172); -x_75 = x_173; -goto block_167; +lean_object* x_158; lean_object* x_159; uint8_t x_160; +x_158 = l_Lean_Syntax_getArgs(x_66); +x_159 = lean_array_get_size(x_158); +lean_dec(x_158); +x_160 = lean_nat_dec_eq(x_159, x_13); +lean_dec(x_159); +x_69 = x_160; +goto block_154; } -block_167: +block_154: { -if (x_75 == 0) +if (x_69 == 0) { -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; 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; uint8_t x_146; -x_76 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_78); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); +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; 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; uint8_t x_133; +x_70 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_72); +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); +x_76 = l_Lean_Elab_Tactic_evalIntro___closed__4; +x_77 = l_Lean_addMacroScope(x_74, x_76, x_71); +x_78 = lean_box(0); +x_79 = l_Lean_SourceInfo_inhabited___closed__1; +x_80 = l_Lean_Elab_Tactic_evalIntro___closed__3; +x_81 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_77); +lean_ctor_set(x_81, 3, x_78); +x_82 = l_Array_empty___closed__1; lean_inc(x_81); -lean_dec(x_79); -x_82 = l_Lean_Elab_Tactic_evalIntro___closed__4; -x_83 = l_Lean_addMacroScope(x_80, x_82, x_77); -x_84 = lean_box(0); -x_85 = l_Lean_SourceInfo_inhabited___closed__1; -x_86 = l_Lean_Elab_Tactic_evalIntro___closed__3; -x_87 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set(x_87, 2, x_83); -lean_ctor_set(x_87, 3, x_84); -x_88 = l_Array_empty___closed__1; -lean_inc(x_87); -x_89 = lean_array_push(x_88, x_87); -x_90 = l_Lean_nullKind___closed__2; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11; -lean_inc(x_91); -x_93 = lean_array_push(x_92, x_91); -x_94 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = lean_array_push(x_88, x_95); -x_97 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18; -x_98 = lean_array_push(x_96, x_97); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_90); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_array_push(x_88, x_99); -x_101 = l_Lean_Elab_Tactic_evalIntro___closed__5; -x_102 = lean_array_push(x_101, x_87); -x_103 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6; -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = lean_array_push(x_88, x_104); +x_83 = lean_array_push(x_82, x_81); +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_17__expandMatchAltsIntoMatchAux___main___closed__11; +lean_inc(x_85); +x_87 = lean_array_push(x_86, x_85); +x_88 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = lean_array_push(x_82, x_89); +x_91 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_92 = lean_array_push(x_90, x_91); +x_93 = l_Lean_Elab_Tactic_evalIntro___closed__5; +x_94 = lean_array_push(x_93, x_81); +x_95 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_array_push(x_82, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_84); +lean_ctor_set(x_98, 1, x_97); +x_99 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__4; +x_100 = lean_array_push(x_99, x_98); +x_101 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; +x_102 = lean_array_push(x_100, x_101); +x_103 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__9; +x_104 = lean_array_push(x_102, x_103); +x_105 = lean_array_push(x_82, x_66); x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_90); +lean_ctor_set(x_106, 0, x_84); lean_ctor_set(x_106, 1, x_105); -x_107 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__4; -x_108 = lean_array_push(x_107, x_106); -x_109 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13; -x_110 = lean_array_push(x_108, x_109); -x_111 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__9; -x_112 = lean_array_push(x_110, x_111); -x_113 = lean_array_push(x_88, x_72); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_90); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_push(x_88, x_114); -x_116 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -x_117 = lean_array_push(x_115, x_116); -x_118 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__12; -x_119 = lean_array_push(x_117, x_118); -x_120 = l_Lean_Elab_Tactic_evalIntro___closed__6; +x_107 = lean_array_push(x_82, x_106); +x_108 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; +x_109 = lean_array_push(x_107, x_108); +x_110 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__12; +x_111 = lean_array_push(x_109, x_110); +x_112 = l_Lean_Elab_Tactic_evalIntro___closed__6; +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_82, x_113); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_84); +lean_ctor_set(x_115, 1, x_114); +x_116 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__16; +x_117 = lean_array_push(x_116, x_115); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_84); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_104, x_118); +x_120 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14; 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 = lean_array_push(x_88, x_121); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_90); -lean_ctor_set(x_123, 1, x_122); -x_124 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__16; -x_125 = lean_array_push(x_124, x_123); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_90); -lean_ctor_set(x_126, 1, x_125); -x_127 = lean_array_push(x_112, x_126); -x_128 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14; +x_122 = lean_array_push(x_92, x_121); +x_123 = lean_array_push(x_122, x_91); +x_124 = l_Lean_Elab_Tactic_evalIntro___closed__9; +x_125 = lean_array_push(x_124, x_85); +x_126 = l_Lean_Elab_Tactic_evalIntro___closed__7; +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_128 = lean_array_push(x_123, x_127); 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_88, x_129); -x_131 = lean_array_push(x_130, x_97); +lean_ctor_set(x_129, 0, x_84); +lean_ctor_set(x_129, 1, x_128); +x_130 = lean_array_push(x_82, x_129); +x_131 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_90); -lean_ctor_set(x_132, 1, x_131); -x_133 = lean_array_push(x_100, x_132); -x_134 = l_Lean_Elab_Tactic_evalIntro___closed__9; -x_135 = lean_array_push(x_134, x_91); -x_136 = l_Lean_Elab_Tactic_evalIntro___closed__7; -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_135); -x_138 = lean_array_push(x_88, x_137); -x_139 = lean_array_push(x_138, x_109); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_90); -lean_ctor_set(x_140, 1, x_139); -x_141 = lean_array_push(x_133, x_140); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_90); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_array_push(x_88, x_142); -x_144 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7; -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = !lean_is_exclusive(x_4); -if (x_146 == 0) +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = !lean_is_exclusive(x_4); +if (x_133 == 0) { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_4, 6); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_134 = lean_ctor_get(x_4, 6); +lean_inc(x_132); +x_135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_135, 0, x_1); +lean_ctor_set(x_135, 1, x_132); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +lean_ctor_set(x_4, 6, x_136); +x_137 = l_Lean_Elab_Tactic_evalTactic___main(x_132, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_75); +return x_137; +} +else +{ +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; uint8_t x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_138 = lean_ctor_get(x_4, 0); +x_139 = lean_ctor_get(x_4, 1); +x_140 = lean_ctor_get(x_4, 2); +x_141 = lean_ctor_get(x_4, 3); +x_142 = lean_ctor_get(x_4, 4); +x_143 = lean_ctor_get(x_4, 5); +x_144 = lean_ctor_get(x_4, 6); +x_145 = lean_ctor_get(x_4, 7); +x_146 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_147 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); lean_inc(x_145); +lean_inc(x_144); +lean_inc(x_143); +lean_inc(x_142); +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_4); +lean_inc(x_132); x_148 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_148, 0, x_1); -lean_ctor_set(x_148, 1, x_145); +lean_ctor_set(x_148, 1, x_132); x_149 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_147); -lean_ctor_set(x_4, 6, x_149); -x_150 = l_Lean_Elab_Tactic_evalTactic___main(x_145, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_81); -return x_150; -} -else -{ -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; uint8_t x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_151 = lean_ctor_get(x_4, 0); -x_152 = lean_ctor_get(x_4, 1); -x_153 = lean_ctor_get(x_4, 2); -x_154 = lean_ctor_get(x_4, 3); -x_155 = lean_ctor_get(x_4, 4); -x_156 = lean_ctor_get(x_4, 5); -x_157 = lean_ctor_get(x_4, 6); -x_158 = lean_ctor_get(x_4, 7); -x_159 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_160 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -lean_inc(x_158); -lean_inc(x_157); -lean_inc(x_156); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_153); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_4); -lean_inc(x_145); -x_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_1); -lean_ctor_set(x_161, 1, x_145); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_157); -x_163 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_163, 0, x_151); -lean_ctor_set(x_163, 1, x_152); -lean_ctor_set(x_163, 2, x_153); -lean_ctor_set(x_163, 3, x_154); -lean_ctor_set(x_163, 4, x_155); -lean_ctor_set(x_163, 5, x_156); -lean_ctor_set(x_163, 6, x_162); -lean_ctor_set(x_163, 7, x_158); -lean_ctor_set_uint8(x_163, sizeof(void*)*8, x_159); -lean_ctor_set_uint8(x_163, sizeof(void*)*8 + 1, x_160); -x_164 = l_Lean_Elab_Tactic_evalTactic___main(x_145, x_2, x_3, x_163, x_5, x_6, x_7, x_8, x_9, x_81); -return x_164; +lean_ctor_set(x_149, 1, x_144); +x_150 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_150, 0, x_138); +lean_ctor_set(x_150, 1, x_139); +lean_ctor_set(x_150, 2, x_140); +lean_ctor_set(x_150, 3, x_141); +lean_ctor_set(x_150, 4, x_142); +lean_ctor_set(x_150, 5, x_143); +lean_ctor_set(x_150, 6, x_149); +lean_ctor_set(x_150, 7, x_145); +lean_ctor_set_uint8(x_150, sizeof(void*)*8, x_146); +lean_ctor_set_uint8(x_150, sizeof(void*)*8 + 1, x_147); +x_151 = l_Lean_Elab_Tactic_evalTactic___main(x_132, x_2, x_3, x_150, x_5, x_6, x_7, x_8, x_9, x_75); +return x_151; } } else { -lean_object* x_165; lean_object* x_166; -lean_dec(x_72); +lean_object* x_152; lean_object* x_153; +lean_dec(x_66); lean_dec(x_1); -x_165 = l_Lean_mkSimpleThunk___closed__1; -x_166 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_165, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_166; +x_152 = l_Lean_mkSimpleThunk___closed__1; +x_153 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_152, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_153; } } } else { -lean_object* x_174; lean_object* x_175; +lean_object* x_161; lean_object* x_162; lean_dec(x_1); -x_174 = l_Lean_Syntax_getId(x_72); -lean_dec(x_72); -x_175 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_174, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_175; +x_161 = l_Lean_Syntax_getId(x_66); +lean_dec(x_66); +x_162 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_161, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_162; } } } -block_200: +block_187: { -if (x_179 == 0) +if (x_166 == 0) { -if (x_178 == 0) +if (x_165 == 0) { -uint8_t x_180; -x_180 = 0; -x_15 = x_180; -goto block_176; +uint8_t x_167; +x_167 = 0; +x_15 = x_167; +goto block_163; } else { -lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_181 = l_Lean_Syntax_getArgs(x_14); -x_182 = lean_array_get_size(x_181); -lean_dec(x_181); -x_183 = lean_nat_dec_eq(x_182, x_13); -lean_dec(x_182); -x_15 = x_183; -goto block_176; +lean_object* x_168; lean_object* x_169; uint8_t x_170; +x_168 = l_Lean_Syntax_getArgs(x_14); +x_169 = lean_array_get_size(x_168); +lean_dec(x_168); +x_170 = lean_nat_dec_eq(x_169, x_13); +lean_dec(x_169); +x_15 = x_170; +goto block_163; } } else { -lean_object* x_184; +lean_object* x_171; lean_dec(x_14); lean_dec(x_1); -x_184 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_184) == 0) +x_171 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_171) == 0) { -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; -x_185 = lean_ctor_get(x_184, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_184, 1); -lean_inc(x_186); -lean_dec(x_184); -x_187 = lean_ctor_get(x_185, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_185, 1); -lean_inc(x_188); -lean_dec(x_185); -lean_inc(x_187); -x_189 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro___lambda__1), 6, 1); -lean_closure_set(x_189, 0, x_187); -x_190 = l_Lean_Elab_Tactic_liftMetaTactic___closed__1; -x_191 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_Lean_MonadLCtx___spec__2___rarg), 7, 2); -lean_closure_set(x_191, 0, x_189); -lean_closure_set(x_191, 1, x_190); -x_192 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaM___rarg___boxed), 10, 1); -lean_closure_set(x_192, 0, x_191); -x_193 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed), 11, 1); -lean_closure_set(x_193, 0, x_188); -x_194 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_194, 0, x_192); -lean_closure_set(x_194, 1, x_193); -x_195 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_187, x_194, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_186); -return x_195; +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; +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); +x_175 = lean_ctor_get(x_172, 1); +lean_inc(x_175); +lean_dec(x_172); +lean_inc(x_174); +x_176 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro___lambda__1), 6, 1); +lean_closure_set(x_176, 0, x_174); +x_177 = l_Lean_Elab_Tactic_liftMetaTactic___closed__1; +x_178 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_Lean_MonadLCtx___spec__2___rarg), 7, 2); +lean_closure_set(x_178, 0, x_176); +lean_closure_set(x_178, 1, x_177); +x_179 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaM___rarg___boxed), 10, 1); +lean_closure_set(x_179, 0, x_178); +x_180 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed), 11, 1); +lean_closure_set(x_180, 0, x_175); +x_181 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_181, 0, x_179); +lean_closure_set(x_181, 1, x_180); +x_182 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_174, x_181, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_173); +return x_182; } else { -uint8_t x_196; +uint8_t x_183; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -9804,23 +9782,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_196 = !lean_is_exclusive(x_184); -if (x_196 == 0) +x_183 = !lean_is_exclusive(x_171); +if (x_183 == 0) { -return x_184; +return x_171; } else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_197 = lean_ctor_get(x_184, 0); -x_198 = lean_ctor_get(x_184, 1); -lean_inc(x_198); -lean_inc(x_197); -lean_dec(x_184); -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); -return x_199; +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_171, 0); +x_185 = lean_ctor_get(x_171, 1); +lean_inc(x_185); +lean_inc(x_184); +lean_dec(x_171); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +return x_186; } } } @@ -15404,10 +15382,6 @@ l_Lean_Elab_Tactic_focus___rarg___closed__1 = _init_l_Lean_Elab_Tactic_focus___r lean_mark_persistent(l_Lean_Elab_Tactic_focus___rarg___closed__1); l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1); -l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2); -l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3); res = l___regBuiltin_Lean_Elab_Tactic_evalSeq1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -15420,6 +15394,10 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3); res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c index aaad1a176f..6f5e63573b 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c +++ b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c @@ -45,7 +45,6 @@ lean_object* l_Lean_Elab_Tactic_evalRefine(lean_object*, lean_object*, lean_obje lean_object* l_Array_filterMAux___main___at_Lean_Elab_Tactic_elabTermWithHoles___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_Array_filterMAux___main___at_Lean_Elab_Tactic_elabTermWithHoles___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_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_Lean_Meta_getMVarDecl___at_Lean_Elab_Tactic_getMainTag___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_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -110,6 +109,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply(lean_object*); lean_object* l_Lean_Elab_Tactic_expandAdmit(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_refineCore___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*, lean_object*); lean_object* l_Array_toList___rarg(lean_object*); +lean_object* l_Lean_Elab_Tactic_ensureHasType(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___closed__1; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(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*); @@ -293,7 +293,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l_Lean_Elab_Term_ensureHasType(x_2, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +x_16 = l_Lean_Elab_Tactic_ensureHasType(x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); lean_dec(x_7); return x_16; } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c index 272d142229..e7d296fa30 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c @@ -94,6 +94,7 @@ lean_object* l_Lean_Meta_getMVarDecl___at_Lean_Elab_Tactic_getMainTag___spec__1( lean_object* l_Array_umapMAux___main___at_Lean_Elab_Tactic_expandRewriteTactic___spec__1___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___spec__1(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_5__tryCoe___closed__3; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Tactic_expandRewriteTactic___spec__1___closed__2; lean_object* lean_local_ctx_find(lean_object*, lean_object*); @@ -103,7 +104,6 @@ lean_object* l_Lean_Elab_Tactic_evalRewrite___boxed(lean_object*, lean_object*, lean_object* l_Lean_Elab_Tactic_expandRewriteTactic(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_Elab_Tactic_evalRewrite___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_Lean_Elab_Term_tryCoe___closed__3; lean_object* _init_l_Array_umapMAux___main___at_Lean_Elab_Tactic_expandRewriteTactic___spec__1___closed__1() { _start: { @@ -146,7 +146,7 @@ x_9 = lean_array_fset(x_3, x_2, x_8); x_10 = x_7; x_11 = l_Array_umapMAux___main___at_Lean_Elab_Tactic_expandRewriteTactic___spec__1___closed__2; x_12 = l_Lean_mkAtomFrom(x_10, x_11); -x_13 = l_Lean_Elab_Term_tryCoe___closed__3; +x_13 = l___private_Lean_Elab_Term_5__tryCoe___closed__3; x_14 = lean_array_push(x_13, x_12); x_15 = lean_array_push(x_14, x_10); lean_inc(x_1); diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 338c6ec040..416d0eeeaa 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -17,14 +17,16 @@ lean_object* l_Lean_Elab_Term_getLevelNames(lean_object*, lean_object*, lean_obj lean_object* l_List_reverse___rarg(lean_object*); extern lean_object* l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__4___closed__1; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4; -lean_object* l___private_Lean_Elab_Term_5__isTypeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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___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___private_Lean_Elab_Term_6__isTypeApp_x3f(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_Lean_Elab_Term_elabTypeOf___boxed(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_elabEnsureTypeOf___closed__2; +lean_object* l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___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_27__resolveLocalNameAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; -lean_object* l___private_Lean_Elab_Term_26__mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); @@ -34,21 +36,18 @@ lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___s lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__8; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__6; -lean_object* l___private_Lean_Elab_Term_19__elabTermAux___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_Term_25__mkPairsAux___main___closed__3; lean_object* l_Lean_Elab_Term_resolveGlobalConstNoOverload(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(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_Term_19__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_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); uint8_t l___private_Lean_Elab_Term_3__hasCDot(lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__2___boxed(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*); extern lean_object* l___private_Lean_Meta_ExprDefEq_8__checkTypesAndAssign___closed__7; extern lean_object* l___private_Lean_Meta_AppBuilder_22__mkEqNDRecImp___closed__6; lean_object* l_Lean_Elab_Term_State_inhabited; -lean_object* l___private_Lean_Elab_Term_19__elabTermAux___main___closed__1; lean_object* l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___spec__3(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l___private_Lean_Meta_Basic_27__withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -57,28 +56,23 @@ lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError(lean_object*, lean_object*, lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__2; lean_object* l_Lean_mkSort(lean_object*); lean_object* l___private_Lean_Elab_Term_4__expandCDot___main___closed__1; -lean_object* l___private_Lean_Elab_Term_7__tryPureCoe_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_read___at_Lean_Elab_Term_monadLog___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KeyedDeclsAttribute_KeyedDeclsAttribute_inhabited___closed__1; -lean_object* l___private_Lean_Elab_Term_23__mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__9; -lean_object* l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__3(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Elab_Term_1__liftAttrM___rarg___boxed(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_unreachable_x21___rarg(lean_object*); -lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; +lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1(lean_object*); lean_object* l___private_Lean_Expr_3__getAppArgsAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__3; lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__8; -lean_object* l___private_Lean_Elab_Term_21__elabOptLevel___boxed(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___private_Lean_Elab_Term_11__elabUsingElabFns___spec__6(lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel___at_Lean_Elab_Term_elabNumLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_ofList___closed__3; extern lean_object* l_Lean_InternalExceptionId_toString___closed__1; @@ -94,19 +88,14 @@ lean_object* l_Lean_MetavarContext_addLevelMVarDecl(lean_object*, lean_object*); extern lean_object* l___private_Init_LeanInit_14__quoteList___main___rarg___closed__7; lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__3; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2; -lean_object* l___private_Lean_Elab_Term_26__mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_16__useImplicitLambda_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_IO_Prim_fopenFlags___closed__12; lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__1; -lean_object* l___private_Lean_Elab_Term_5__isTypeApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___closed__3; 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___private_Lean_Elab_Term_23__mkPairsAux___main___closed__2; 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___private_Lean_Elab_Term_11__elabUsingElabFns___closed__4; +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; @@ -115,7 +104,7 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_4__addNode___at_Lean_Meta_isLevelDefEq___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_11__elabUsingElabFns___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___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_Elab_Term_levelMVarToParam___closed__1; lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -123,30 +112,24 @@ lean_object* l_ReaderT_read___at_Lean_Elab_Term_monadLog___spec__1(lean_object*, lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__1; extern lean_object* l_Std_HashMap_inhabited___closed__1; lean_object* l_Lean_Elab_Term_expandArrayLit___closed__7; -lean_object* l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; -lean_object* l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__1; -lean_object* l___private_Lean_Elab_Term_18__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_Elab_Term_MonadLiftT___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__3; lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___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_Term_23__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; +lean_object* l___private_Lean_Elab_Term_5__tryCoe(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_elem___main___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__2; +lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarsAtDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Prod_HasRepr___rarg___closed__1; -lean_object* l___private_Lean_Elab_Term_9__postponeElabTerm___boxed(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_elabTypeOf(lean_object*); 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_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__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_MacroScopesView_format(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_31__withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveAllState(lean_object*); -lean_object* l___private_Lean_Elab_Term_20__tryCoeSort___closed__7; -lean_object* l___private_Lean_Elab_Term_9__postponeElabTerm___closed__1; +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*); uint8_t lean_metavar_ctx_is_delayed_assigned(lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; @@ -154,50 +137,53 @@ extern lean_object* l_Lean_Array_hasQuote___rarg___closed__2; 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*); -lean_object* l_Lean_Elab_Term_tryCoe___closed__2; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1(lean_object*); +lean_object* l___private_Lean_Elab_Term_20__elabImplicitLambda___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_MessageLog_forM___at_Lean_Elab_Term_MetaHasEval___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__3; lean_object* l_Lean_Elab_Term_registerMVarErrorHoleInfo(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_Elab_Term_mkExplicitBinder___closed__2; lean_object* l_Lean_Elab_Term_elabTypeStx___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_17__elabImplicitLambdaAux___closed__1; +lean_object* l___private_Lean_Elab_Term_10__exceptionToSorry___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_decLevel___rarg___lambda__1___closed__6; -lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___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_withoutErrToSorry(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__2; extern lean_object* l_Lean_charLitKind___closed__2; lean_object* l_List_append___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___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_elabQuotedName___closed__2; lean_object* l_Lean_Elab_Term_withDeclName(lean_object*); +lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__2; lean_object* l_Lean_Elab_Term_resolveGlobalConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__2; +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*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__6; lean_object* l_Lean_Elab_Term_monadQuotation___closed__2; lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_MetaHasEval___spec__6(lean_object*, 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_Lean_Meta_mkFreshExprMVar___at_Lean_Elab_Term_tryCoe___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_mkIdentFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponing(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__13; +lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6; extern lean_object* l_Lean_Meta_mkAppM___rarg___closed__2; lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_Lean_MonadLCtx___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__3; lean_object* l___private_Lean_Meta_AppBuilder_20__mkFun___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2; 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* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Term_synthesizeInstMVarCore___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_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___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_Expr_ctorName___closed__4; +lean_object* l___private_Lean_Elab_Term_22__tryCoeSort___closed__6; +lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___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_6__isTypeApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_20__tryCoeSort___closed__8; -lean_object* l___private_Lean_Elab_Term_18__elabImplicitLambda___main___lambda__1(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___private_Lean_Elab_Term_11__elabUsingElabFns___closed__3; extern lean_object* l_Lean_Literal_type___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); @@ -206,25 +192,28 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Term_mkAuxName___closed__3; lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Term_2__applyAttributesCore___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*); lean_object* l_Lean_Elab_Term_monadLog___closed__7; -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__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*); lean_object* l___regBuiltin_Lean_Elab_Term_elabProp(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_3__hasCDot___main___closed__2; +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_Array_umapMAux___main___at___private_Lean_Elab_Term_4__expandCDot___main___spec__1(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_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___private_Lean_Elab_Term_20__tryCoeSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, 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_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_registerCustomErrorIfMVar___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_11__elabUsingElabFns___closed__5; 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*); +lean_object* l___private_Lean_Elab_Term_22__tryCoeSort___closed__3; lean_object* l___private_Lean_Meta_InferType_4__getLevelImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1; lean_object* l_Std_PersistentArray_forM___at_Lean_Elab_Term_MetaHasEval___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___main___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___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_List_repr___rarg___closed__3; @@ -233,11 +222,9 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; lean_object* l_Lean_Elab_Term_elabSort___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_elabTypeOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); -lean_object* l___private_Lean_Elab_Term_7__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_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_23__mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_printTraces___at_Lean_Core_hasEval___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__6; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_MetaHasEval___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -252,85 +239,94 @@ lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_obj lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_6__liftMkBindingM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__5; +lean_object* l_Lean_Meta_getLevel___at___private_Lean_Elab_Term_5__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_mkTermElabAttribute___closed__5; -lean_object* l___private_Lean_Elab_Term_20__tryCoeSort___closed__2; +lean_object* l___private_Lean_Elab_Term_22__tryCoeSort___closed__5; 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___private_Lean_Elab_Term_25__resolveLocalNameAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_3__hasCDot___main___closed__1; +lean_object* l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__6; +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(lean_object*); lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_MetaHasEval___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_3__hasCDot___main___boxed(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__8; +lean_object* l___private_Lean_Elab_Term_5__tryCoe___closed__2; extern lean_object* l_Lean_levelZero; lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabResult_inhabited___closed__1; +lean_object* l___private_Lean_Elab_Term_20__elabImplicitLambda(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_elabStrLit___boxed(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_Lean_Elab_Term_MetaHasEval___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +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_ensureHasType(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_20__tryCoeSort___closed__3; +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*); 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_Elab_Term_MVarErrorInfo_logError___closed__7; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__24; +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___private_Lean_Elab_Term_7__isMonad_x3f(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_elabParen___closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*); -lean_object* l___private_Lean_Elab_Term_17__elabImplicitLambdaAux(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_SavedState_inhabited___closed__2; lean_object* l_Lean_Elab_Term_monadLog___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_10__exceptionToSorry(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_7__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_Lean_Elab_Term_resolveGlobalConstNoOverload___closed__2; +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux___main(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_Lean_Elab_Term_liftMetaM(lean_object*); +lean_object* l___private_Lean_Elab_Term_22__tryCoeSort___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_saveAllState___boxed(lean_object*); -lean_object* l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__4; +lean_object* l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__6(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_18__useImplicitLambda_x3f___boxed(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_Basic_6__liftMkBindingM___rarg___closed__3; +lean_object* l___private_Lean_Elab_Term_7__isMonad_x3f___closed__2; +lean_object* l___private_Lean_Elab_Term_11__postponeElabTerm___boxed(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*); uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); -lean_object* l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_Lean_AddMessageContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); extern lean_object* l_Lean_Elab_logDbgTrace___rarg___closed__2; +lean_object* l___private_Lean_Elab_Term_7__isMonad_x3f___boxed(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__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; uint8_t l_Lean_AttributeApplicationTime_beq(uint8_t, uint8_t); 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; lean_object* l_Lean_Elab_Term_Lean_Ref___lambda__2___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___kind_term____x40_Lean_Util_Trace___hyg_3____closed__3; -lean_object* l_Lean_Elab_Term_tryCoe(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_MVarErrorInfo_logError___closed__13; 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_Term_22__mkTacticMVar(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_Lean_Elab_Term_tryLiftAndCoe___closed__9; 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* l_Lean_Elab_Term_MonadLiftT___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___closed__1; lean_object* l_Lean_Syntax_isCharLit_x3f(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* 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_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5; +lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__1; extern lean_object* l_Lean_Meta_isExprDefEq___rarg___closed__2; uint8_t l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_28__mkSomeContext___closed__1; 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___private_Lean_Elab_Term_20__tryCoeSort___closed__5; -lean_object* l___private_Lean_Elab_Term_18__elabImplicitLambda(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_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkPure___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___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_levelMVarToParam(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_elabSyntheticHole___closed__3; lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___boxed(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*); lean_object* l_Lean_Elab_Term_observing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr(lean_object*); @@ -338,87 +334,85 @@ extern lean_object* l_Lean_Exception_inhabited___closed__1; lean_object* l_Lean_Elab_Term_withMacroExpansion(lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog(lean_object*); lean_object* l_Lean_Elab_Term_State_inhabited___closed__1; -lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MonadIO___rarg___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_45____closed__7; -lean_object* l___private_Lean_Elab_Term_20__tryCoeSort___closed__6; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__2; lean_object* l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; -lean_object* l_Lean_Meta_mkPure___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___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_elabTermWithoutImplicitLambdas(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar(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_28__mkSomeContext___closed__2; 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_tryCoe___closed__1; 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_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__3(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___private_Lean_Elab_Term_13__elabUsingElabFns___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run(lean_object*); lean_object* l_Lean_Meta_throwUnknownConstant___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__4; -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_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_MVarErrorInfo_logError___closed__1; lean_object* l_Lean_Elab_Term_isExprMVarAssigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__5; lean_object* l_Lean_Elab_Term_elabProp___rarg(lean_object*); -lean_object* l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6; +lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); -lean_object* l___private_Lean_Elab_Term_22__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_resolveGlobalConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2; 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*); -lean_object* l___private_Lean_Elab_Term_25__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*, lean_object*); +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*); lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__3; +lean_object* l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__4; +lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMacroExpansion___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_Term_elabByTactic___closed__2; +lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__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_mkExplicitBinder___closed__3; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__14; +lean_object* l___private_Lean_Elab_Term_22__tryCoeSort___closed__7; lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__2; -lean_object* l_Lean_Elab_Term_tryLiftAndCoe___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_Lean_Elab_MonadMacroAdapter___lambda__3___boxed(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_Term_14__isLambdaWithImplicit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__2; 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_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_elabQuotedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_trySynthInstance___at_Lean_Elab_Term_synthesizeInstMVarCore___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_elabNumLit___closed__1; -lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__1; lean_object* l_Array_forMAux___main___at___private_Lean_Elab_Term_2__applyAttributesCore___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* l_Lean_Elab_Term_TermElabM_inhabited(lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_InferType_21__isTypeImp___at_Lean_Meta_isType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_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_getFVarLocalDecl_x21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); 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_IO_println___at___private_Init_System_IO_1__printlnAux___spec__1(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_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7; 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_Lean_MessageLog_forM___at_Lean_Elab_Term_MetaHasEval___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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*); lean_object* l_Lean_Elab_Term_levelMVarToParam_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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___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*); @@ -427,16 +421,15 @@ lean_object* l_Lean_Elab_Term_monadLog___closed__6; lean_object* l_Lean_Elab_Term_levelMVarToParam___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_1__liftAttrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__2; -lean_object* l___private_Lean_Elab_Term_13__isExplicitApp___boxed(lean_object*); lean_object* l___private_Lean_Elab_Term_1__liftAttrM(lean_object*); lean_object* l_Lean_Elab_Term_withFreshMacroScope(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1; lean_object* l_Lean_Elab_Term_resolveName___closed__7; size_t l_Lean_Name_hash(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_Lean_Elab_Term_registerSyntheticMVarWithCurrRef___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_resolveGlobalConstNoOverload___closed__1; lean_object* l_Nat_repr(lean_object*); -lean_object* l___private_Lean_Elab_Term_14__isLambdaWithImplicit___boxed(lean_object*); lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__3; lean_object* l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___spec__3___rarg___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_MessageData_hasCoeOfOptExpr___closed__1; @@ -444,7 +437,6 @@ lean_object* l___private_Lean_Elab_Term_2__applyAttributesCore___boxed(lean_obje lean_object* l_Lean_Elab_getMacros(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarsAtDecl___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1___boxed(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_Term_3__hasCDot___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__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_Elab_Term_resolveGlobalConstNoOverload___closed__4; extern lean_object* l_Lean_Meta_inferTypeRef; lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -452,23 +444,23 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit(lean_object*); lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); lean_object* l_Lean_Elab_Term_getLetRecsToLift(lean_object*); lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter; lean_object* l_Lean_Elab_Term_mkTypeMismatchError(lean_object*, lean_object*, lean_object*, lean_object*); 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* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_9__postponeElabTerm(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_10__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*); lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__2; lean_object* l_Std_PersistentArray_forM___at_Lean_Elab_Term_MetaHasEval___spec__2___boxed(lean_object*, lean_object*, lean_object*); 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_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_Lean_Ref___closed__3; -lean_object* l___private_Lean_Elab_Term_8__exceptionToSorry___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_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern size_t l_Std_PersistentHashMap_insertAux___main___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -478,72 +470,78 @@ lean_object* l_Lean_Meta_trySynthInstance___at_Lean_Elab_Term_synthesizeInstMVar lean_object* l_Lean_Elab_Term_Lean_AddErrorMessageContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isWellFormed___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_25__resolveLocalNameAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandArrayLit___closed__11; lean_object* l_Lean_Elab_Term_monadQuotation___closed__4; -lean_object* l___private_Lean_Elab_Term_18__elabImplicitLambda___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_getMainModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute(lean_object*); -lean_object* l___private_Lean_Elab_Term_27__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind___closed__2; lean_object* l_Lean_Elab_Term_MetaHasEval___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Ref___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_SavedState_inhabited___closed__1; +lean_object* l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__7; 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_Term_Lean_Ref___closed__1; 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*); lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; size_t lean_usize_modn(size_t, lean_object*); extern lean_object* l_Lean_charToExpr___lambda__1___closed__1; 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*); +lean_object* l_Lean_Meta_getLevel___at___private_Lean_Elab_Term_5__tryCoe___spec__1(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_Term_4__expandCDot___main___closed__2; lean_object* l_Lean_Elab_throwPostpone___at_Lean_Elab_Term_tryPostpone___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_4__expandCDot___main(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__15; uint8_t l_Array_isEmpty___rarg(lean_object*); -lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__8; lean_object* l_Lean_Elab_Term_liftLevelM(lean_object*); lean_object* l_Lean_Elab_Term_elabProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__8; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__5; lean_object* l_Lean_LocalDecl_toExpr(lean_object*); extern lean_object* l_Lean_firstFrontendMacroScope; -lean_object* l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__3; +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_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_Elab_Term_ensureHasType___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_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_Lean_Elab_Term_MVarErrorInfo_logError___closed__3; lean_object* l_Std_PersistentArray_forMAux___main___at_Lean_Elab_Term_MetaHasEval___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__1; -lean_object* l___private_Lean_Elab_Term_10__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_Lean_Elab_Term_registerMVarErrorHoleInfo___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_Lean_Ref___closed__2; +lean_object* l___private_Lean_Elab_Term_16__isLambdaWithImplicit___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Lean_Ref; +lean_object* l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_expandListLit___closed__1; lean_object* l_List_map___main___at_Lean_Elab_Term_resolveGlobalConst___spec__2(lean_object*); lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___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_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_5__tryCoe___closed__4; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__15; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___closed__2; 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_elabTermEnsuringType___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_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*); lean_object* l_Lean_Elab_Term_TermElabResult_inhabited; lean_object* l_Lean_Elab_Term_TermElabM_inhabited___lambda__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_24__elabCDot___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_25__resolveLocalNameAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_8__tryPureCoe_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_3__hasCDot___boxed(lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_expandListLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); @@ -553,91 +551,89 @@ lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; lean_object* l_Lean_Elab_Term_resolveGlobalConstNoOverload___closed__3; 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*); -lean_object* l_Lean_Elab_Term_tryLiftAndCoe(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_foldMAux___main___at___private_Lean_Elab_Term_26__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_InternalExceptionId_getName(lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__4; -lean_object* l___private_Lean_Elab_Term_27__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLevelMVar(lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo___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_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_19__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___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(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_19__elabTermAux___main___spec__2___rarg(lean_object*); 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*); size_t l_USize_land(size_t, size_t); 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_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__9; lean_object* l_Lean_Elab_Term_expandArrayLit___closed__2; lean_object* l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___spec__1(lean_object*); -lean_object* l___private_Lean_Elab_Term_24__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_mkConst___closed__3; lean_object* l_Lean_Elab_Term_resolveName___closed__4; extern lean_object* l_Lean_nullKind___closed__2; -uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_22__tryCoeSort___closed__4; lean_object* l_Lean_Elab_Term_elabCharLit(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_MVarErrorInfo_logError___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandListLit___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Lean_Elab_Term_27__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_synthesizeInst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute; +lean_object* l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__3(lean_object*, size_t, lean_object*); +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; extern lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__3; lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveGlobalConstNoOverload___closed__6; -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__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_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_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___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_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_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___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_29__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_setMacroStackOption(lean_object*, uint8_t); -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_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_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_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___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__8; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf(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_Term_Lean_Ref___closed__4; lean_object* l_Lean_Elab_Term_elabEnsureTypeOf___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_22__tryCoeSort___closed__8; extern lean_object* l_Option_HasRepr___rarg___closed__3; lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_traceAtCmdPos___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_9__tryLiftAndCoe(lean_object*, 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_27__resolveLocalNameAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_18__elabImplicitLambda___main(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_TermElabM_inhabited___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_savingMCtx(lean_object*); lean_object* l_Lean_Elab_Term_elabHole(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_elabCharLit___closed__1; -lean_object* l___private_Lean_Elab_Term_15__dropTermParens(lean_object*); +lean_object* l___private_Lean_Elab_Term_17__dropTermParens(lean_object*); extern lean_object* l_Lean_Syntax_inhabited; -lean_object* l___private_Lean_Elab_Term_10__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*); lean_object* l___private_Lean_Meta_LevelDefEq_15__runDefEqM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM___rarg___boxed(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_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_anyRangeMAux___main___at___private_Lean_Elab_Term_3__hasCDot___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_30__mkSomeContext; +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__5; -lean_object* l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___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_Term_27__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_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1___boxed(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_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_25__mkPairsAux___main___closed__4; lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__3; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__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___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1; extern lean_object* l_Lean_Elab_macroAttribute; extern lean_object* l_Lean_Core_State_inhabited___closed__2; @@ -648,20 +644,21 @@ 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_Lean_Elab_Term_logUnassignedUsingErrorInfos___boxed(lean_object*, lean_object*, 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___private_Lean_Elab_Term_16__useImplicitLambda_x3f(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_30__mkSomeContext___closed__2; lean_object* l___private_Lean_Elab_Util_5__expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos___closed__1; lean_object* l_Lean_Elab_Term_resetMessageLog___boxed(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___rarg(lean_object*); extern lean_object* l_Lean_Elab_throwPostpone___rarg___closed__1; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; lean_object* l_Lean_mkApp(lean_object*, lean_object*); extern lean_object* l_Lean_SourceInfo_inhabited___closed__1; lean_object* l_Lean_Elab_Term_saveAllState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getMaxRecDepth(lean_object*); -lean_object* l___private_Lean_Elab_Term_6__isMonad_x3f___closed__1; lean_object* l_Lean_Elab_Term_SavedState_restore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Lean_Elab_Term_MonadIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -682,67 +679,66 @@ lean_object* l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2(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_Array_forMAux___main___at_Lean_Elab_Term_MetaHasEval___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(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*); lean_object* l_List_filterAux___main___at_Lean_Elab_Term_resolveGlobalConst___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_assignLevelMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributes(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Lean_Elab_Term_12__isExplicit(lean_object*); +uint8_t l___private_Lean_Elab_Term_16__isLambdaWithImplicit(lean_object*); lean_object* lean_metavar_ctx_assign_level(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__6; lean_object* l_Lean_Elab_Term_savingMCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorCustomInfo(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_PersistentHashMap_mkCollisionNode___rarg___closed__1; lean_object* l_Lean_Meta_getMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toExprAux___main(lean_object*); lean_object* l_Lean_Elab_Term_elabEnsureTypeOf(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_11__postponeElabTerm(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__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot(lean_object*); 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*); -uint8_t l___private_Lean_Elab_Term_14__isLambdaWithImplicit(lean_object*); +uint8_t l___private_Lean_Elab_Term_14__isExplicit(lean_object*); lean_object* l_Lean_Elab_Term_liftLevelM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__5(lean_object*, lean_object*); -lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(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_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_Lean_Elab_Term_withDeclName___rarg(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_traceAtCmdPos___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_Term_8__exceptionToSorry(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_18__elabImplicitLambda___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* l_Lean_Elab_Term_tryPostponeIfMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_5__tryCoe___closed__1; +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2; -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1(lean_object*); extern lean_object* l_Lean_Meta_whnfRef; lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___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_resolveGlobalName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__6; -lean_object* l___private_Lean_Elab_Term_6__isMonad_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandArrayLit___closed__6; +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_Lean_Elab_Term_MonadIO(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandListLit___closed__2; -lean_object* l___private_Lean_Elab_Term_28__mkSomeContext; +lean_object* l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_Term_5__tryCoe___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_Term_elabProp___closed__1; lean_object* l_Lean_Elab_Term_mkConst___closed__1; lean_object* l_Lean_Elab_Term_resolveGlobalConstNoOverload___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabCharLit___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_elabHole___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_6__isMonad_x3f(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__8; +lean_object* l___private_Lean_Elab_Term_20__elabImplicitLambda___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* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole(lean_object*); lean_object* l_Lean_Elab_Term_elabSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_levelMVarToParam___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Ref___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__2; 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___private_Lean_Elab_Term_6__isMonad_x3f___closed__2; 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_throwUnsupportedSyntax___at___private_Lean_Elab_Term_24__elabCDot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Term_3__hasCDot___main(lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_20__tryCoeSort___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_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*); lean_object* l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -750,21 +746,23 @@ extern lean_object* l_Lean_Meta_throwAppTypeMismatch___rarg___lambda__1___closed lean_object* l_Lean_Meta_decLevel___at_Lean_Meta_getDecLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_object*); extern lean_object* l_Lean_Elab_abortExceptionId; -lean_object* l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main(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___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__5; 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___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__3; -lean_object* l___private_Lean_Elab_Term_20__tryCoeSort___closed__1; lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1(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*); +lean_object* l___private_Lean_Elab_Term_5__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*); uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_Meta_mkPure___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___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_TraceState_Inhabited___closed__1; +lean_object* l___private_Lean_Elab_Term_25__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_8__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*); lean_object* l___private_Lean_Elab_Term_4__expandCDot___main___closed__3; 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*); +lean_object* l_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_FileMap_Inhabited___closed__1; lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -772,61 +770,64 @@ extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); lean_object* l_Lean_Elab_Term_liftCoreM(lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__2___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_29__regTraceClasses___closed__1; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__9; lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___boxed(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(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__12; lean_object* l___regBuiltin_Lean_Elab_Term_expandListLit___closed__3; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__3; +lean_object* l___private_Lean_Elab_Term_20__elabImplicitLambda___main___lambda__1(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_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_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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* l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(uint8_t, 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*); -uint8_t l___private_Lean_Elab_Term_13__isExplicitApp(lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, 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*); -lean_object* l___private_Lean_Elab_Term_15__dropTermParens___main(lean_object*); lean_object* l_Lean_Elab_Term_elabByTactic___closed__3; 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_Elab_Term_getLetRecsToLift___boxed(lean_object*); -lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOpenDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_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*); extern lean_object* l_Lean_Meta_decLevel___rarg___lambda__1___closed__3; +lean_object* l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__1; extern lean_object* l_Lean_Prod_hasQuote___rarg___closed__4; lean_object* l___regBuiltin_Lean_Elab_Term_expandArrayLit___closed__1; lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__4; lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Elab_Term_15__isExplicitApp(lean_object*); extern lean_object* l_Lean_mkHole___closed__2; +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_Lean_Meta_mkPure___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___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_elabByTactic___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_resolveName___closed__2; 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_23__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_9__tryLiftAndCoe___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_Elab_Term_setMessageLog___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); +lean_object* l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_Term_5__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_Meta_getMVars___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; -lean_object* l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__3; +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*); lean_object* l_Lean_Elab_Term_elabByTactic___closed__1; lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(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_MVarErrorInfo_logError___closed__10; lean_object* l_Lean_Elab_Term_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run_x27(lean_object*); -lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostpone(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkPairs(lean_object*, lean_object*, lean_object*); @@ -834,79 +835,78 @@ lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object*, lean_object*, lea uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_29__regTraceClasses(lean_object*); lean_object* l_Lean_Elab_Term_monadQuotation___closed__3; -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__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_Lean_AddErrorMessageContext___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_9__tryLiftAndCoe___closed__3; lean_object* l_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; -lean_object* l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2___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_mkPure___rarg___closed__4; extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; +lean_object* l___private_Lean_Elab_Term_17__dropTermParens___main(lean_object*); lean_object* l_Lean_mkNatLit(lean_object*); lean_object* l_Lean_mkStrLit(lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__9; -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___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* l___private_Lean_Elab_Term_13__elabUsingElabFns(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_Term_5__tryCoe___closed__3; lean_object* l_Lean_Elab_Term_Lean_Ref___lambda__2(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_19__elabTermAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; -lean_object* l___private_Lean_Elab_Term_12__isExplicit___closed__1; +lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, uint8_t, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_19__elabTermAux___main(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___private_Lean_Elab_Term_12__isExplicit___boxed(lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_Lean_AddErrorMessageContext___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_addMacroStack___at_Lean_Elab_Term_Lean_AddErrorMessageContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forMAux___main___at_Lean_Elab_Term_MetaHasEval___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__9; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__1; extern lean_object* l_System_FilePath_dirName___closed__1; -lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_ensureHasTypeAux___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___closed__3; lean_object* l_Lean_Meta_setMCtx___at_Lean_Elab_Term_savingMCtx___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_Term_12__elabUsingElabFnsAux___main(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_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_ensureHasTypeAux___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_ensureHasTypeAux___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_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__2; +lean_object* l___private_Lean_Elab_Term_21__elabTermAux___main(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_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_tryCoe___closed__5; lean_object* l_Lean_Elab_Term_applyResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_11__elabUsingElabFns(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MetaHasEval___rarg___closed__3; +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_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2(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* l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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___private_Lean_Elab_Term_14__isExplicit___boxed(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_Lean_Elab_Term_setMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Message_toString(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*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Term_14__isExplicit___closed__2; lean_object* l_Lean_MetavarContext_findUserName_x3f(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__5; extern lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__9; -lean_object* l___private_Lean_Elab_Term_21__elabOptLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Term_12__isExplicit___closed__2; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); extern lean_object* l___private_Init_LeanInit_14__quoteList___main___rarg___closed__4; 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_throwUnsupportedSyntax___at___private_Lean_Elab_Term_24__elabCDot___spec__1___rarg(lean_object*); lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_MetaHasEval___spec__5(lean_object*, lean_object*, lean_object*, 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_Elab_Term_MVarErrorInfo_logError___closed__4; -lean_object* l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___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_registerMVarErrorCustomInfo___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_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_Lean_Elab_Term_mkExplicitBinder___closed__6; @@ -917,28 +917,28 @@ lean_object* l_Lean_Elab_Term_MetaHasEval(lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_Inhabited___closed__1; lean_object* l_Lean_Elab_Term_registerSyntheticMVar___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_ensureHasTypeAux(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_ensureHasTypeAux(lean_object*, 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_SavedState_inhabited; -lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__5; lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_getMacroStackOption(lean_object*); lean_object* lean_uint32_to_nat(uint32_t); lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; -lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___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_Lean_Elab_Term_5__tryCoe___closed__5; +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*); 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*); +lean_object* l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___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_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_getAttributeImpl(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -lean_object* l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__2; 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_Lean_Elab_Term_tryLiftAndCoe___closed__7; +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_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*); lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___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_MVarErrorInfo_logError___closed__8; +lean_object* l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__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_monadLog; lean_object* l_Lean_Elab_throwAbort___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); @@ -950,7 +950,7 @@ uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_logUnassignedUsingErrorI lean_object* l_Lean_Elab_Term_monadLog___closed__4; lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__1; lean_object* l_Lean_Elab_Term_applyAttributesAt___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_20__tryCoeSort___closed__4; +lean_object* l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__4; lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__5; 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_Lean_Elab_Term_getMainModule___rarg___boxed(lean_object*, lean_object*); @@ -963,13 +963,14 @@ lean_object* l_Lean_Elab_Term_elabTermWithoutImplicitLambdas___boxed(lean_object lean_object* l_Lean_Elab_Term_mkFreshInstanceName___closed__1; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___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___private_Lean_Elab_Term_25__mkPairsAux___main___closed__2; lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__7; 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_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; lean_object* l_Lean_Elab_Term_applyAttributes___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_SMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabBadCDot(lean_object*, lean_object*); @@ -980,15 +981,14 @@ uint8_t lean_nat_dec_lt(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*); extern lean_object* l_Lean_Meta_mkArrow___rarg___closed__2; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__6; -lean_object* l_Lean_Elab_Term_tryLiftAndCoe___closed__3; -lean_object* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_26__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___private_Lean_Elab_Term_25__mkPairsAux___main___closed__1; lean_object* l_Lean_Elab_Term_resolveGlobalConstNoOverload___closed__5; 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; lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__1; extern lean_object* l_Lean_KernelException_toMessageData___closed__39; -lean_object* l_Lean_Elab_Term_tryCoe___closed__3; +lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___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_setElabConfig(lean_object* x_1) { _start: { @@ -8194,10 +8194,10 @@ _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_5 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 0, x_1); x_6 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_6, 0, x_5); -x_7 = l_Lean_indentExpr(x_1); +x_7 = l_Lean_indentExpr(x_2); x_8 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 1, x_7); @@ -8209,7 +8209,7 @@ x_11 = l_Lean_KernelException_toMessageData___closed__12; x_12 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_indentExpr(x_2); +x_13 = l_Lean_indentExpr(x_3); x_14 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); @@ -8220,7 +8220,7 @@ x_16 = l_Lean_KernelException_toMessageData___closed__15; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_indentExpr(x_3); +x_18 = l_Lean_indentExpr(x_4); x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -8639,82 +8639,74 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab return x_2; } } -lean_object* _init_l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__1() { +lean_object* l_Lean_Elab_Term_throwTypeMismatchError___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* x_13) { _start: { -lean_object* x_1; -x_1 = lean_mk_string("type mismatch"); -return x_1; -} -} -lean_object* l_Lean_Elab_Term_throwTypeMismatchError___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: +if (lean_obj_tag(x_6) == 0) { if (lean_obj_tag(x_5) == 0) { -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__1; -x_14 = l_Lean_Elab_Term_mkTypeMismatchError(x_3, x_2, x_1, x_13); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = l_Lean_Elab_Term_mkTypeMismatchError(x_1, x_4, x_3, x_2); x_15 = l_Lean_MessageData_Inhabited___closed__1; x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_17 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_16, 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); return x_17; } else { lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_18 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_5, 0); lean_inc(x_18); -lean_dec(x_4); +lean_dec(x_5); x_19 = l_Lean_MessageData_Inhabited___closed__1; -x_20 = l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___spec__1___rarg(x_18, x_3, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_20 = l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___spec__1___rarg(x_18, x_4, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_20; } } else { lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_5, 0); +x_21 = lean_ctor_get(x_6, 0); x_22 = l_Lean_MessageData_ofList___closed__3; lean_inc(x_21); x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -if (lean_obj_tag(x_4) == 0) +if (lean_obj_tag(x_5) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__1; -x_25 = l_Lean_Elab_Term_mkTypeMismatchError(x_3, x_2, x_1, x_24); -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -x_27 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = l_Lean_Elab_Term_mkTypeMismatchError(x_1, x_4, x_3, x_2); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_25, 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); -return x_27; +return x_26; } else { -lean_object* x_28; lean_object* x_29; +lean_object* x_27; lean_object* x_28; +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_28 = lean_ctor_get(x_4, 0); -lean_inc(x_28); -lean_dec(x_4); -x_29 = l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___spec__3___rarg(x_28, x_3, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_29; +x_27 = lean_ctor_get(x_5, 0); +lean_inc(x_27); +lean_dec(x_5); +x_28 = l_Lean_Meta_throwAppTypeMismatch___at_Lean_Elab_Term_throwTypeMismatchError___spec__3___rarg(x_27, x_4, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_28; } } } @@ -8723,7 +8715,7 @@ lean_object* l_Lean_Elab_Term_throwTypeMismatchError(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_throwTypeMismatchError___rarg___boxed), 12, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_throwTypeMismatchError___rarg___boxed), 13, 0); return x_2; } } @@ -8755,14 +8747,14 @@ lean_dec(x_5); return x_11; } } -lean_object* l_Lean_Elab_Term_throwTypeMismatchError___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_Lean_Elab_Term_throwTypeMismatchError___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* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_Term_throwTypeMismatchError___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_7); -lean_dec(x_5); -return x_13; +lean_object* x_14; +x_14 = l_Lean_Elab_Term_throwTypeMismatchError___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); +lean_dec(x_8); +lean_dec(x_6); +return x_14; } } lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr___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) { @@ -10324,7 +10316,7 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_Meta_getLevel___at_Lean_Elab_Term_tryCoe___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_getLevel___at___private_Lean_Elab_Term_5__tryCoe___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; @@ -10332,7 +10324,7 @@ x_9 = l___private_Lean_Meta_InferType_4__getLevelImp(x_1, x_4, x_5, x_6, x_7, x_ return x_9; } } -lean_object* l_Lean_Meta_mkFreshExprMVar___at_Lean_Elab_Term_tryCoe___spec__2(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* l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_Term_5__tryCoe___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -10340,7 +10332,7 @@ x_11 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_1, x_2, x_3, x_6, x_ return x_11; } } -lean_object* _init_l_Lean_Elab_Term_tryCoe___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_5__tryCoe___closed__1() { _start: { lean_object* x_1; @@ -10348,17 +10340,17 @@ x_1 = lean_mk_string("CoeT"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_tryCoe___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_5__tryCoe___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_tryCoe___closed__1; +x_2 = l___private_Lean_Elab_Term_5__tryCoe___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_tryCoe___closed__3() { +lean_object* _init_l___private_Lean_Elab_Term_5__tryCoe___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -10367,7 +10359,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_tryCoe___closed__4() { +lean_object* _init_l___private_Lean_Elab_Term_5__tryCoe___closed__4() { _start: { lean_object* x_1; @@ -10375,400 +10367,406 @@ x_1 = lean_mk_string("coe"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_tryCoe___closed__5() { +lean_object* _init_l___private_Lean_Elab_Term_5__tryCoe___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_tryCoe___closed__4; +x_2 = l___private_Lean_Elab_Term_5__tryCoe___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_tryCoe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_Term_5__tryCoe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_12; +lean_object* x_13; +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); +lean_inc(x_3); lean_inc(x_2); -lean_inc(x_1); -x_12 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) +x_13 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_13; uint8_t x_14; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_unbox(x_13); +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(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_2); -x_16 = l___private_Lean_Meta_InferType_4__getLevelImp(x_2, x_7, x_8, x_9, x_10, x_15); -if (lean_obj_tag(x_16) == 0) +lean_inc(x_3); +x_17 = l___private_Lean_Meta_InferType_4__getLevelImp(x_3, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_17) == 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_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_19 = l___private_Lean_Meta_InferType_4__getLevelImp(x_1, 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_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; 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; lean_object* x_53; lean_object* x_54; lean_object* x_55; -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 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_17); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_Elab_Term_tryCoe___closed__2; -lean_inc(x_24); -x_26 = l_Lean_mkConst(x_25, x_24); -x_27 = l_Lean_Elab_Term_tryCoe___closed__3; lean_inc(x_2); -x_28 = lean_array_push(x_27, x_2); +x_20 = l___private_Lean_Meta_InferType_4__getLevelImp(x_2, x_8, x_9, x_10, x_11, x_19); +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; 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_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; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +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_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_18); +lean_ctor_set(x_25, 1, x_24); +x_26 = l___private_Lean_Elab_Term_5__tryCoe___closed__2; +lean_inc(x_25); +x_27 = l_Lean_mkConst(x_26, x_25); +x_28 = l___private_Lean_Elab_Term_5__tryCoe___closed__3; lean_inc(x_3); x_29 = lean_array_push(x_28, x_3); -lean_inc(x_1); -x_30 = lean_array_push(x_29, x_1); -x_31 = lean_unsigned_to_nat(0u); -x_32 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_30, x_30, x_31, x_26); -lean_dec(x_30); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = 1; -x_35 = lean_box(0); -lean_inc(x_7); -x_36 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_33, x_34, x_35, x_7, x_8, x_9, x_10, x_21); -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 = l_Lean_Elab_Term_tryCoe___closed__5; -x_40 = l_Lean_mkConst(x_39, x_24); -x_41 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; +lean_inc(x_4); +x_30 = lean_array_push(x_29, x_4); lean_inc(x_2); -x_42 = lean_array_push(x_41, x_2); -lean_inc(x_1); -x_43 = lean_array_push(x_42, x_1); -lean_inc(x_3); -x_44 = lean_array_push(x_43, x_3); -lean_inc(x_37); -x_45 = lean_array_push(x_44, x_37); -x_46 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_45, x_45, x_31, x_40); -lean_dec(x_45); -x_47 = l_Lean_Expr_mvarId_x21(x_37); -lean_dec(x_37); -x_48 = lean_ctor_get(x_9, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_9, 1); -lean_inc(x_49); -x_50 = lean_ctor_get(x_9, 2); -lean_inc(x_50); -x_51 = lean_ctor_get(x_9, 3); -lean_inc(x_51); -x_52 = 0; -x_53 = l_Lean_Elab_setMacroStackOption(x_48, x_52); -x_54 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_49); -lean_ctor_set(x_54, 2, x_50); -lean_ctor_set(x_54, 3, x_51); -lean_inc(x_10); -lean_inc(x_54); +x_31 = lean_array_push(x_30, x_2); +x_32 = lean_unsigned_to_nat(0u); +x_33 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_31, x_31, x_32, x_27); +lean_dec(x_31); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = 1; +x_36 = lean_box(0); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_47); -x_55 = l_Lean_Elab_Term_synthesizeInstMVarCore(x_47, x_5, x_6, x_7, x_8, x_54, x_10, x_38); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; uint8_t x_57; -lean_dec(x_9); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_unbox(x_56); -lean_dec(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec(x_55); -x_59 = lean_alloc_ctor(1, 4, 0); -lean_ctor_set(x_59, 0, x_1); -lean_ctor_set(x_59, 1, x_2); -lean_ctor_set(x_59, 2, x_3); -lean_ctor_set(x_59, 3, x_4); -x_60 = l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(x_47, x_59, x_5, x_6, x_7, x_8, x_54, x_10, x_58); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -x_61 = !lean_is_exclusive(x_60); -if (x_61 == 0) -{ -lean_object* x_62; -x_62 = lean_ctor_get(x_60, 0); -lean_dec(x_62); -lean_ctor_set(x_60, 0, x_46); -return x_60; -} -else -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_60, 1); -lean_inc(x_63); -lean_dec(x_60); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_46); -lean_ctor_set(x_64, 1, x_63); -return x_64; -} -} -else -{ -uint8_t x_65; -lean_dec(x_54); -lean_dec(x_47); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_65 = !lean_is_exclusive(x_55); -if (x_65 == 0) -{ -lean_object* x_66; -x_66 = lean_ctor_get(x_55, 0); -lean_dec(x_66); -lean_ctor_set(x_55, 0, x_46); -return x_55; -} -else -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_55, 1); -lean_inc(x_67); -lean_dec(x_55); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_46); -lean_ctor_set(x_68, 1, x_67); -return x_68; -} -} -} -else -{ -lean_object* x_69; -lean_dec(x_54); -lean_dec(x_47); +x_37 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_34, x_35, x_36, x_8, x_9, x_10, x_11, x_22); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l___private_Lean_Elab_Term_5__tryCoe___closed__5; +x_41 = l_Lean_mkConst(x_40, x_25); +x_42 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; +lean_inc(x_3); +x_43 = lean_array_push(x_42, x_3); +lean_inc(x_2); +x_44 = lean_array_push(x_43, x_2); +lean_inc(x_4); +x_45 = lean_array_push(x_44, x_4); +lean_inc(x_38); +x_46 = lean_array_push(x_45, x_38); +x_47 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_46, x_46, x_32, x_41); lean_dec(x_46); -x_69 = lean_ctor_get(x_55, 0); -lean_inc(x_69); -if (lean_obj_tag(x_69) == 0) +x_48 = l_Lean_Expr_mvarId_x21(x_38); +lean_dec(x_38); +x_49 = lean_ctor_get(x_10, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_10, 1); +lean_inc(x_50); +x_51 = lean_ctor_get(x_10, 2); +lean_inc(x_51); +x_52 = lean_ctor_get(x_10, 3); +lean_inc(x_52); +x_53 = 0; +x_54 = l_Lean_Elab_setMacroStackOption(x_49, x_53); +x_55 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_50); +lean_ctor_set(x_55, 2, x_51); +lean_ctor_set(x_55, 3, x_52); +lean_inc(x_11); +lean_inc(x_55); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_48); +x_56 = l_Lean_Elab_Term_synthesizeInstMVarCore(x_48, x_6, x_7, x_8, x_9, x_55, x_11, x_39); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_70 = lean_ctor_get(x_55, 1); +lean_object* x_57; uint8_t x_58; +lean_dec(x_10); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_unbox(x_57); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(1, 5, 0); +lean_ctor_set(x_60, 0, x_1); +lean_ctor_set(x_60, 1, x_2); +lean_ctor_set(x_60, 2, x_3); +lean_ctor_set(x_60, 3, x_4); +lean_ctor_set(x_60, 4, x_5); +x_61 = l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(x_48, x_60, x_6, x_7, x_8, x_9, x_55, x_11, x_59); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) +{ +lean_object* x_63; +x_63 = lean_ctor_get(x_61, 0); +lean_dec(x_63); +lean_ctor_set(x_61, 0, x_47); +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_dec(x_61); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_47); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +else +{ +uint8_t x_66; +lean_dec(x_55); +lean_dec(x_48); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +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_66 = !lean_is_exclusive(x_56); +if (x_66 == 0) +{ +lean_object* x_67; +x_67 = lean_ctor_get(x_56, 0); +lean_dec(x_67); +lean_ctor_set(x_56, 0, x_47); +return x_56; +} +else +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_56, 1); +lean_inc(x_68); +lean_dec(x_56); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_47); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +lean_object* x_70; +lean_dec(x_55); +lean_dec(x_48); +lean_dec(x_47); +x_70 = lean_ctor_get(x_56, 0); lean_inc(x_70); -lean_dec(x_55); -x_71 = lean_ctor_get(x_69, 1); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_56, 1); lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_72, 0, x_71); -x_73 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_72, x_5, x_6, x_7, x_8, x_9, x_10, x_70); -lean_dec(x_72); -return x_73; +lean_dec(x_56); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_74 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_5, x_73, x_6, x_7, x_8, x_9, x_10, x_11, x_71); +lean_dec(x_73); +return x_74; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -lean_dec(x_69); -x_74 = lean_ctor_get(x_55, 1); -lean_inc(x_74); -lean_dec(x_55); -x_75 = lean_box(0); -x_76 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_75, x_5, x_6, x_7, x_8, x_9, x_10, x_74); -return x_76; +lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_70); +x_75 = lean_ctor_get(x_56, 1); +lean_inc(x_75); +lean_dec(x_56); +x_76 = lean_box(0); +x_77 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_3, x_4, x_5, x_76, x_6, x_7, x_8, x_9, x_10, x_11, x_75); +return x_77; } } } else { -uint8_t x_77; -lean_dec(x_17); +uint8_t x_78; +lean_dec(x_18); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_77 = !lean_is_exclusive(x_19); -if (x_77 == 0) +x_78 = !lean_is_exclusive(x_20); +if (x_78 == 0) { -return x_19; +return x_20; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_19, 0); -x_79 = lean_ctor_get(x_19, 1); +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_20, 0); +x_80 = lean_ctor_get(x_20, 1); +lean_inc(x_80); lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_19); -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; +lean_dec(x_20); +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; } } } else { -uint8_t x_81; +uint8_t x_82; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_81 = !lean_is_exclusive(x_16); -if (x_81 == 0) +x_82 = !lean_is_exclusive(x_17); +if (x_82 == 0) { -return x_16; +return x_17; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_16, 0); -x_83 = lean_ctor_get(x_16, 1); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_17, 0); +x_84 = lean_ctor_get(x_17, 1); +lean_inc(x_84); lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_16); -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; +lean_dec(x_17); +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_85; +uint8_t x_86; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_85 = !lean_is_exclusive(x_12); -if (x_85 == 0) +x_86 = !lean_is_exclusive(x_13); +if (x_86 == 0) { -lean_object* x_86; -x_86 = lean_ctor_get(x_12, 0); -lean_dec(x_86); -lean_ctor_set(x_12, 0, x_3); -return x_12; +lean_object* x_87; +x_87 = lean_ctor_get(x_13, 0); +lean_dec(x_87); +lean_ctor_set(x_13, 0, x_4); +return x_13; } else { -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_12, 1); -lean_inc(x_87); -lean_dec(x_12); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_3); -lean_ctor_set(x_88, 1, x_87); -return x_88; +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_13, 1); +lean_inc(x_88); +lean_dec(x_13); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_4); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } else { -uint8_t x_89; +uint8_t x_90; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_89 = !lean_is_exclusive(x_12); -if (x_89 == 0) +x_90 = !lean_is_exclusive(x_13); +if (x_90 == 0) { -return x_12; +return x_13; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_12, 0); -x_91 = lean_ctor_get(x_12, 1); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_13, 0); +x_92 = lean_ctor_get(x_13, 1); +lean_inc(x_92); lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_12); -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; +lean_dec(x_13); +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; } } } } -lean_object* l_Lean_Meta_getLevel___at_Lean_Elab_Term_tryCoe___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* l_Lean_Meta_getLevel___at___private_Lean_Elab_Term_5__tryCoe___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_getLevel___at_Lean_Elab_Term_tryCoe___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_getLevel___at___private_Lean_Elab_Term_5__tryCoe___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_2); return x_9; } } -lean_object* l_Lean_Meta_mkFreshExprMVar___at_Lean_Elab_Term_tryCoe___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* l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_Term_5__tryCoe___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: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_2); lean_dec(x_2); -x_12 = l_Lean_Meta_mkFreshExprMVar___at_Lean_Elab_Term_tryCoe___spec__2(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_Term_5__tryCoe___spec__2(x_1, x_11, 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); @@ -10777,16 +10775,16 @@ lean_dec(x_4); return x_12; } } -lean_object* l_Lean_Elab_Term_tryCoe___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_Term_5__tryCoe___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_12; -x_12 = l_Lean_Elab_Term_tryCoe(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; +lean_object* x_13; +x_13 = l___private_Lean_Elab_Term_5__tryCoe(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_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___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_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___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; uint8_t x_13; @@ -10886,7 +10884,7 @@ return x_39; } } } -lean_object* l___private_Lean_Elab_Term_5__isTypeApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* 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_6__isTypeApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -10901,7 +10899,7 @@ if (x_11 == 0) uint8_t x_12; lean_object* x_13; x_12 = 2; lean_ctor_set_uint8(x_10, 5, x_12); -x_13 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_13 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; @@ -11024,7 +11022,7 @@ lean_ctor_set_uint8(x_45, 5, x_44); lean_ctor_set_uint8(x_45, 6, x_42); lean_ctor_set_uint8(x_45, 7, x_43); lean_ctor_set(x_4, 0, x_45); -x_46 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_46 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_46) == 0) { lean_object* x_47; @@ -11154,7 +11152,7 @@ x_76 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_64); lean_ctor_set(x_76, 2, x_65); -x_77 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_76, x_5, x_6, x_7, x_8); +x_77 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_76, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_77) == 0) { lean_object* x_78; @@ -11244,27 +11242,27 @@ return x_93; } } } -lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___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* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___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_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_2); return x_9; } } -lean_object* l___private_Lean_Elab_Term_5__isTypeApp_x3f___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_6__isTypeApp_x3f___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_5__isTypeApp_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Term_6__isTypeApp_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_2); return x_9; } } -lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___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_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___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; uint8_t x_13; lean_object* x_14; lean_object* x_216; lean_object* x_217; lean_object* x_218; uint8_t x_219; @@ -12117,7 +12115,7 @@ return x_214; } } } -lean_object* _init_l___private_Lean_Elab_Term_6__isMonad_x3f___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_7__isMonad_x3f___closed__1() { _start: { lean_object* x_1; @@ -12125,17 +12123,17 @@ x_1 = lean_mk_string("Monad"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_6__isMonad_x3f___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_7__isMonad_x3f___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_Term_6__isMonad_x3f___closed__1; +x_2 = l___private_Lean_Elab_Term_7__isMonad_x3f___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_6__isMonad_x3f(lean_object* x_1, lean_object* x_2, lean_object* 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_7__isMonad_x3f(lean_object* x_1, lean_object* x_2, 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; uint8_t x_12; @@ -12158,7 +12156,7 @@ lean_ctor_set(x_14, 2, x_11); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_15 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8); +x_15 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; @@ -12178,12 +12176,12 @@ lean_dec(x_16); x_20 = l_Lean_mkOptionalNode___closed__2; lean_inc(x_18); x_21 = lean_array_push(x_20, x_18); -x_22 = l___private_Lean_Elab_Term_6__isMonad_x3f___closed__2; +x_22 = l___private_Lean_Elab_Term_7__isMonad_x3f___closed__2; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_23 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_22, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +x_23 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_22, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_17); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -12421,7 +12419,7 @@ lean_ctor_set(x_75, 2, x_11); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_76 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_75, x_5, x_6, x_7, x_8); +x_76 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_75, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_76) == 0) { lean_object* x_77; @@ -12441,12 +12439,12 @@ lean_dec(x_77); x_81 = l_Lean_mkOptionalNode___closed__2; lean_inc(x_79); x_82 = lean_array_push(x_81, x_79); -x_83 = l___private_Lean_Elab_Term_6__isMonad_x3f___closed__2; +x_83 = l___private_Lean_Elab_Term_7__isMonad_x3f___closed__2; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_84 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_83, x_82, x_2, x_3, x_4, x_5, x_6, x_7, x_78); +x_84 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_83, x_82, x_2, x_3, x_4, x_5, x_6, x_7, x_78); if (lean_obj_tag(x_84) == 0) { lean_object* x_85; lean_object* x_86; lean_object* x_87; @@ -12637,21 +12635,21 @@ return x_114; } } } -lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___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_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___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_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___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_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_3); return x_10; } } -lean_object* l___private_Lean_Elab_Term_6__isMonad_x3f___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_7__isMonad_x3f___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_6__isMonad_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Term_7__isMonad_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_2); return x_9; @@ -12813,7 +12811,7 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___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_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___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; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_216; lean_object* x_217; lean_object* x_218; uint8_t x_219; @@ -13666,7 +13664,7 @@ return x_214; } } } -lean_object* l_Lean_Meta_mkPure___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___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_mkPure___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___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; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -13681,199 +13679,201 @@ x_15 = lean_array_push(x_14, x_11); x_16 = lean_array_push(x_15, x_11); x_17 = lean_array_push(x_16, x_12); x_18 = l_Lean_Meta_mkPure___rarg___closed__4; -x_19 = l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___spec__2(x_18, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_19 = l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___spec__2(x_18, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_19; } } -lean_object* l___private_Lean_Elab_Term_7__tryPureCoe_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_Term_8__tryPureCoe_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_12; uint8_t x_13; -x_12 = l_Lean_Expr_getAppFn___main(x_2); -x_13 = l_Lean_Expr_isMVar(x_12); -lean_dec(x_12); -if (x_13 == 0) +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_Expr_getAppFn___main(x_3); +x_14 = l_Lean_Expr_isMVar(x_13); +lean_dec(x_13); +if (x_14 == 0) { -lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_Expr_getAppFn___main(x_3); -x_15 = l_Lean_Expr_isMVar(x_14); -lean_dec(x_14); -if (x_15 == 0) +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_Expr_getAppFn___main(x_4); +x_16 = l_Lean_Expr_isMVar(x_15); +lean_dec(x_15); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = lean_box(0); +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -x_17 = l_Lean_Elab_Term_tryCoe(x_2, x_3, x_4, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_17) == 0) +lean_inc(x_6); +x_18 = l___private_Lean_Elab_Term_5__tryCoe(x_1, x_3, x_4, x_5, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Meta_mkPure___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___spec__1(x_1, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_19); -lean_dec(x_5); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_20, 0, x_23); -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_20, 0); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_20); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_24); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -return x_27; -} -} -else -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_20); -if (x_28 == 0) -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_20, 0); -lean_dec(x_29); -lean_ctor_set_tag(x_20, 0); -lean_ctor_set(x_20, 0, x_16); -return x_20; -} -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_20, 1); -lean_inc(x_30); -lean_dec(x_20); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_16); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -else -{ -uint8_t x_32; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_17); -if (x_32 == 0) -{ -lean_object* x_33; -x_33 = lean_ctor_get(x_17, 0); -lean_dec(x_33); -lean_ctor_set_tag(x_17, 0); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -else -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_17, 1); -lean_inc(x_34); -lean_dec(x_17); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_16); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; lean_object* x_37; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_11); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_11); -return x_39; -} -} -} -lean_object* l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___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_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -lean_object* l_Lean_Meta_mkPure___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___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_mkPure___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -lean_object* l___private_Lean_Elab_Term_7__tryPureCoe_x3f___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_Term_7__tryPureCoe_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Meta_mkPure___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___spec__1(x_2, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_20); lean_dec(x_6); -return x_12; +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_21, 0, x_24); +return x_21; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_21, 0); +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_21); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_25); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; } } -lean_object* l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___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) { +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_21); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_21, 0); +lean_dec(x_30); +lean_ctor_set_tag(x_21, 0); +lean_ctor_set(x_21, 0, x_17); +return x_21; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_17); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +uint8_t x_33; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_2); +x_33 = !lean_is_exclusive(x_18); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_18, 0); +lean_dec(x_34); +lean_ctor_set_tag(x_18, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_18, 1); +lean_inc(x_35); +lean_dec(x_18); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_17); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_12); +return x_38; +} +} +else +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_12); +return x_40; +} +} +} +lean_object* l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___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_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +lean_object* l_Lean_Meta_mkPure___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___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_mkPure___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +lean_object* l___private_Lean_Elab_Term_8__tryPureCoe_x3f___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_Term_8__tryPureCoe_x3f(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_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___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; @@ -13925,7 +13925,7 @@ return x_16; } } } -lean_object* _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__1() { _start: { lean_object* x_1; @@ -13933,17 +13933,17 @@ x_1 = lean_mk_string("MonadLiftT"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___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_tryLiftAndCoe___closed__1; +x_2 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__3() { +lean_object* _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__3() { _start: { lean_object* x_1; @@ -13951,17 +13951,17 @@ x_1 = lean_mk_string("liftM"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__4() { +lean_object* _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___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_tryLiftAndCoe___closed__3; +x_2 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__5() { +lean_object* _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__5() { _start: { lean_object* x_1; @@ -13969,17 +13969,17 @@ x_1 = lean_mk_string("liftCoeM"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__6() { +lean_object* _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_tryLiftAndCoe___closed__5; +x_2 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__7() { +lean_object* _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -13988,7 +13988,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__8() { +lean_object* _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__8() { _start: { lean_object* x_1; @@ -13996,2609 +13996,2763 @@ x_1 = lean_mk_string("coeM"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__9() { +lean_object* _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_tryLiftAndCoe___closed__8; +x_2 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_tryLiftAndCoe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_Term_9__tryLiftAndCoe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_15 = l___private_Lean_Elab_Term_6__isMonad_x3f(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); +lean_inc(x_2); +x_16 = l___private_Lean_Elab_Term_7__isMonad_x3f(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_15); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_Elab_Term_tryCoe(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -return x_18; +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l___private_Lean_Elab_Term_5__tryCoe(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +return x_19; } else { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_17); +if (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; lean_object* x_29; -x_20 = lean_ctor_get(x_16, 0); -x_21 = lean_ctor_get(x_15, 1); -lean_inc(x_21); -lean_dec(x_15); -x_22 = lean_ctor_get(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; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_21 = lean_ctor_get(x_17, 0); +x_22 = lean_ctor_get(x_16, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 1); +lean_dec(x_16); +x_23 = lean_ctor_get(x_21, 0); lean_inc(x_23); -x_24 = lean_ctor_get(x_20, 2); +x_24 = lean_ctor_get(x_21, 1); lean_inc(x_24); -lean_dec(x_20); -x_25 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +x_25 = lean_ctor_get(x_21, 2); +lean_inc(x_25); +lean_dec(x_21); +x_26 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_13); -lean_inc(x_26); -lean_inc(x_22); -x_28 = l___private_Lean_Elab_Term_7__tryPureCoe_x3f(x_22, x_26, x_13, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_6); +lean_inc(x_4); +lean_inc(x_14); +lean_inc(x_27); +lean_inc(x_23); +lean_inc(x_1); +x_29 = l___private_Lean_Elab_Term_8__tryPureCoe_x3f(x_1, x_23, x_27, x_14, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_28); +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -lean_dec(x_28); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_13); -x_31 = l___private_Lean_Elab_Term_5__isTypeApp_x3f(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_30); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); +lean_inc(x_14); +x_32 = l___private_Lean_Elab_Term_6__isTypeApp_x3f(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_31); if (lean_obj_tag(x_32) == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -lean_free_object(x_16); -x_33 = lean_ctor_get(x_31, 1); +lean_object* x_33; +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Elab_Term_tryCoe(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); -return x_34; +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +lean_free_object(x_17); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l___private_Lean_Elab_Term_5__tryCoe(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +return x_35; } else { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_32); -if (x_35 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_33); +if (x_36 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_36 = lean_ctor_get(x_32, 0); -x_37 = lean_ctor_get(x_31, 1); -lean_inc(x_37); -lean_dec(x_31); -x_38 = lean_ctor_get(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_33, 0); +x_38 = lean_ctor_get(x_32, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_36, 1); +lean_dec(x_32); +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_36); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_22); -lean_inc(x_38); -x_40 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_38, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_37); -if (lean_obj_tag(x_40) == 0) +lean_inc(x_23); +lean_inc(x_39); +x_41 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_39, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_38); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_unbox(x_41); +lean_object* x_42; uint8_t x_43; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_unbox(x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +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_free_object(x_33); +lean_free_object(x_17); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); lean_dec(x_41); -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_free_object(x_32); -lean_free_object(x_16); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_dec(x_40); -x_44 = l_Lean_mkAppStx___closed__9; -lean_inc(x_38); -x_45 = lean_array_push(x_44, x_38); -lean_inc(x_22); -x_46 = lean_array_push(x_45, x_22); -x_47 = l_Lean_Elab_Term_tryLiftAndCoe___closed__2; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_48 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_47, x_46, x_5, x_6, x_7, x_8, x_9, x_10, x_43); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -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); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -x_51 = l_Lean_Elab_Term_synthesizeInst(x_49, x_5, x_6, x_7, x_8, x_9, x_10, x_50); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); +x_45 = l_Lean_mkAppStx___closed__9; lean_inc(x_39); -x_54 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_53); -if (lean_obj_tag(x_54) == 0) +x_46 = lean_array_push(x_45, x_39); +lean_inc(x_23); +x_47 = lean_array_push(x_46, x_23); +x_48 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__2; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_49 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_48, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_44); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); +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_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +x_52 = l_Lean_Elab_Term_synthesizeInst(x_50, x_6, x_7, x_8, x_9, x_10, x_11, x_51); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_40); +x_55 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_40, x_6, x_7, x_8, x_9, x_10, x_11, x_54); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); -lean_dec(x_54); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_13); -x_57 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_56); -if (lean_obj_tag(x_57) == 0) +lean_inc(x_14); +x_58 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_57); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); -lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_60 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_59); -if (lean_obj_tag(x_60) == 0) +lean_inc(x_2); +x_61 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_60); +if (lean_obj_tag(x_61) == 0) { -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; -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); +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; +x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_box(0); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_63); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_box(0); x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_58); +lean_ctor_set(x_65, 0, x_62); lean_ctor_set(x_65, 1, x_64); x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_55); +lean_ctor_set(x_66, 0, x_59); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Elab_Term_tryLiftAndCoe___closed__4; -lean_inc(x_66); -x_68 = l_Lean_mkConst(x_67, x_66); -x_69 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; -lean_inc(x_38); -x_70 = lean_array_push(x_69, x_38); -lean_inc(x_22); -x_71 = lean_array_push(x_70, x_22); -lean_inc(x_52); -x_72 = lean_array_push(x_71, x_52); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_56); +lean_ctor_set(x_67, 1, x_66); +x_68 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__4; +lean_inc(x_67); +x_69 = l_Lean_mkConst(x_68, x_67); +x_70 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; lean_inc(x_39); -x_73 = lean_array_push(x_72, x_39); -lean_inc(x_3); -x_74 = lean_array_push(x_73, x_3); -x_75 = lean_unsigned_to_nat(0u); -x_76 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_74, x_74, x_75, x_68); -lean_dec(x_74); +x_71 = lean_array_push(x_70, x_39); +lean_inc(x_23); +x_72 = lean_array_push(x_71, x_23); +lean_inc(x_53); +x_73 = lean_array_push(x_72, x_53); +lean_inc(x_40); +x_74 = lean_array_push(x_73, x_40); +lean_inc(x_4); +x_75 = lean_array_push(x_74, x_4); +x_76 = lean_unsigned_to_nat(0u); +x_77 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_75, x_75, x_76, x_69); +lean_dec(x_75); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_76); -x_77 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_76, x_5, x_6, x_7, x_8, x_9, x_10, x_62); -if (lean_obj_tag(x_77) == 0) +lean_inc(x_77); +x_78 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_77, x_6, x_7, x_8, x_9, x_10, x_11, x_63); +if (lean_obj_tag(x_78) == 0) { -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_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_81 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_79, x_6, x_7, x_8, x_9, x_10, x_11, x_80); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; uint8_t x_83; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +lean_dec(x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_dec(x_77); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_80 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_1, x_78, x_5, x_6, x_7, x_8, x_9, x_10, x_79); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; uint8_t x_82; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_unbox(x_81); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); lean_dec(x_81); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; -lean_dec(x_76); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -lean_dec(x_80); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_39); -x_84 = l___private_Lean_Meta_InferType_4__getLevelImp(x_39, x_7, x_8, x_9, x_10, x_83); -if (lean_obj_tag(x_84) == 0) +lean_inc(x_40); +x_85 = l___private_Lean_Meta_InferType_4__getLevelImp(x_40, x_8, x_9, x_10, x_11, x_84); +if (lean_obj_tag(x_85) == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_85, 0); lean_inc(x_86); -lean_dec(x_84); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_26); -x_87 = l___private_Lean_Meta_InferType_4__getLevelImp(x_26, x_7, x_8, x_9, x_10, x_86); -if (lean_obj_tag(x_87) == 0) +lean_inc(x_27); +x_88 = l___private_Lean_Meta_InferType_4__getLevelImp(x_27, x_8, x_9, x_10, x_11, x_87); +if (lean_obj_tag(x_88) == 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; uint8_t x_101; lean_object* x_102; lean_object* x_103; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); +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; uint8_t x_102; lean_object* x_103; lean_object* x_104; +x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_63); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_85); -lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Elab_Term_tryCoe___closed__2; -x_93 = l_Lean_mkConst(x_92, x_91); -x_94 = l_Lean_Elab_Term_tryCoe___closed__3; -lean_inc(x_39); -x_95 = lean_array_push(x_94, x_39); -x_96 = l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__4___closed__1; -x_97 = lean_array_push(x_95, x_96); -lean_inc(x_26); -x_98 = lean_array_push(x_97, x_26); -x_99 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_98, x_98, x_75, x_93); -lean_dec(x_98); -x_100 = l___private_Lean_Elab_Term_4__expandCDot___main___closed__3; -x_101 = 0; -lean_inc(x_39); -x_102 = l_Lean_mkForall(x_100, x_101, x_39, x_99); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_64); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_86); +lean_ctor_set(x_92, 1, x_91); +x_93 = l___private_Lean_Elab_Term_5__tryCoe___closed__2; +x_94 = l_Lean_mkConst(x_93, x_92); +x_95 = l___private_Lean_Elab_Term_5__tryCoe___closed__3; +lean_inc(x_40); +x_96 = lean_array_push(x_95, x_40); +x_97 = l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__4___closed__1; +x_98 = lean_array_push(x_96, x_97); +lean_inc(x_27); +x_99 = lean_array_push(x_98, x_27); +x_100 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_99, x_99, x_76, x_94); +lean_dec(x_99); +x_101 = l___private_Lean_Elab_Term_4__expandCDot___main___closed__3; +x_102 = 0; +lean_inc(x_40); +x_103 = l_Lean_mkForall(x_101, x_102, x_40, x_100); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -x_103 = l_Lean_Elab_Term_synthesizeInst(x_102, x_5, x_6, x_7, x_8, x_9, x_10, x_89); -if (lean_obj_tag(x_103) == 0) +lean_inc(x_6); +x_104 = l_Lean_Elab_Term_synthesizeInst(x_103, x_6, x_7, x_8, x_9, x_10, x_11, x_90); +if (lean_obj_tag(x_104) == 0) { -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; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); +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; +x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); -lean_dec(x_103); -x_106 = l_Lean_Elab_Term_tryLiftAndCoe___closed__6; -x_107 = l_Lean_mkConst(x_106, x_66); -x_108 = l_Lean_Elab_Term_tryLiftAndCoe___closed__7; -x_109 = lean_array_push(x_108, x_38); -x_110 = lean_array_push(x_109, x_22); -x_111 = lean_array_push(x_110, x_39); -x_112 = lean_array_push(x_111, x_26); -x_113 = lean_array_push(x_112, x_52); -x_114 = lean_array_push(x_113, x_104); -x_115 = lean_array_push(x_114, x_24); -lean_inc(x_3); -x_116 = lean_array_push(x_115, x_3); -x_117 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_116, x_116, x_75, x_107); -lean_dec(x_116); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_117); -x_118 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_117, x_5, x_6, x_7, x_8, x_9, x_10, x_105); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_121 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_1, x_119, x_5, x_6, x_7, x_8, x_9, x_10, x_120); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; uint8_t x_123; -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_unbox(x_122); -lean_dec(x_122); -if (x_123 == 0) -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__6; +x_108 = l_Lean_mkConst(x_107, x_67); +x_109 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__7; +x_110 = lean_array_push(x_109, x_39); +x_111 = lean_array_push(x_110, x_23); +x_112 = lean_array_push(x_111, x_40); +x_113 = lean_array_push(x_112, x_27); +x_114 = lean_array_push(x_113, x_53); +x_115 = lean_array_push(x_114, x_105); +x_116 = lean_array_push(x_115, x_25); +lean_inc(x_4); +x_117 = lean_array_push(x_116, x_4); +x_118 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_117, x_117, x_76, x_108); lean_dec(x_117); -x_124 = lean_ctor_get(x_121, 1); -lean_inc(x_124); -lean_dec(x_121); -x_125 = lean_box(0); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); +lean_inc(x_118); +x_119 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_118, x_6, x_7, x_8, x_9, x_10, x_11, x_106); +if (lean_obj_tag(x_119) == 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_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_122 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_120, x_6, x_7, x_8, x_9, x_10, x_11, x_121); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; uint8_t x_124; +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_unbox(x_123); +lean_dec(x_123); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +lean_dec(x_118); +x_125 = lean_ctor_get(x_122, 1); +lean_inc(x_125); +lean_dec(x_122); +x_126 = 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_5); lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_13); +lean_inc(x_14); +lean_inc(x_2); lean_inc(x_1); -x_126 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_125, x_5, x_6, x_7, x_8, x_9, x_10, x_124); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -x_128 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_125, x_5, x_6, x_7, x_8, x_9, x_10, x_127); -return x_128; +x_127 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_126, x_6, x_7, x_8, x_9, x_10, x_11, x_125); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +lean_dec(x_127); +x_129 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_126, x_6, x_7, x_8, x_9, x_10, x_11, x_128); +return x_129; } else { -uint8_t x_129; -lean_dec(x_13); +uint8_t x_130; +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_129 = !lean_is_exclusive(x_121); -if (x_129 == 0) +x_130 = !lean_is_exclusive(x_122); +if (x_130 == 0) { -lean_object* x_130; -x_130 = lean_ctor_get(x_121, 0); -lean_dec(x_130); -lean_ctor_set(x_121, 0, x_117); -return x_121; +lean_object* x_131; +x_131 = lean_ctor_get(x_122, 0); +lean_dec(x_131); +lean_ctor_set(x_122, 0, x_118); +return x_122; } else { -lean_object* x_131; lean_object* x_132; -x_131 = lean_ctor_get(x_121, 1); -lean_inc(x_131); -lean_dec(x_121); -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_117); -lean_ctor_set(x_132, 1, x_131); -return x_132; +lean_object* x_132; lean_object* x_133; +x_132 = lean_ctor_get(x_122, 1); +lean_inc(x_132); +lean_dec(x_122); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_118); +lean_ctor_set(x_133, 1, x_132); +return x_133; } } } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_117); -x_133 = lean_ctor_get(x_121, 1); -lean_inc(x_133); -lean_dec(x_121); -x_134 = lean_box(0); -x_135 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_134, x_5, x_6, x_7, x_8, x_9, x_10, x_133); -return x_135; -} -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; -lean_dec(x_117); -x_136 = lean_ctor_get(x_118, 1); -lean_inc(x_136); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_dec(x_118); -x_137 = lean_box(0); -x_138 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_137, x_5, x_6, x_7, x_8, x_9, x_10, x_136); -return x_138; +x_134 = lean_ctor_get(x_122, 1); +lean_inc(x_134); +lean_dec(x_122); +x_135 = lean_box(0); +x_136 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_135, x_6, x_7, x_8, x_9, x_10, x_11, x_134); +return x_136; } } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -lean_dec(x_66); -lean_dec(x_52); +lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_118); +x_137 = lean_ctor_get(x_119, 1); +lean_inc(x_137); +lean_dec(x_119); +x_138 = lean_box(0); +x_139 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_138, x_6, x_7, x_8, x_9, x_10, x_11, x_137); +return x_139; +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec(x_67); +lean_dec(x_53); +lean_dec(x_40); lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_139 = lean_ctor_get(x_103, 1); -lean_inc(x_139); -lean_dec(x_103); -x_140 = lean_box(0); -x_141 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_140, x_5, x_6, x_7, x_8, x_9, x_10, x_139); -return x_141; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_140 = lean_ctor_get(x_104, 1); +lean_inc(x_140); +lean_dec(x_104); +x_141 = lean_box(0); +x_142 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_141, x_6, x_7, x_8, x_9, x_10, x_11, x_140); +return x_142; } } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_86); +lean_dec(x_67); +lean_dec(x_53); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_143 = lean_ctor_get(x_88, 1); +lean_inc(x_143); +lean_dec(x_88); +x_144 = lean_box(0); +x_145 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_144, x_6, x_7, x_8, x_9, x_10, x_11, x_143); +return x_145; +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_67); +lean_dec(x_53); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_146 = lean_ctor_get(x_85, 1); +lean_inc(x_146); lean_dec(x_85); -lean_dec(x_66); -lean_dec(x_52); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_142 = lean_ctor_get(x_87, 1); -lean_inc(x_142); -lean_dec(x_87); -x_143 = lean_box(0); -x_144 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_143, x_5, x_6, x_7, x_8, x_9, x_10, x_142); -return x_144; +x_147 = lean_box(0); +x_148 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_147, x_6, x_7, x_8, x_9, x_10, x_11, x_146); +return x_148; } } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_66); -lean_dec(x_52); +uint8_t x_149; +lean_dec(x_67); +lean_dec(x_53); +lean_dec(x_40); lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_145 = lean_ctor_get(x_84, 1); -lean_inc(x_145); -lean_dec(x_84); -x_146 = lean_box(0); -x_147 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_146, x_5, x_6, x_7, x_8, x_9, x_10, x_145); -return x_147; -} -} -else -{ -uint8_t x_148; -lean_dec(x_66); -lean_dec(x_52); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_13); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_148 = !lean_is_exclusive(x_80); -if (x_148 == 0) +x_149 = !lean_is_exclusive(x_81); +if (x_149 == 0) { -lean_object* x_149; -x_149 = lean_ctor_get(x_80, 0); -lean_dec(x_149); -lean_ctor_set(x_80, 0, x_76); -return x_80; +lean_object* x_150; +x_150 = lean_ctor_get(x_81, 0); +lean_dec(x_150); +lean_ctor_set(x_81, 0, x_77); +return x_81; } else { -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_80, 1); -lean_inc(x_150); -lean_dec(x_80); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_76); -lean_ctor_set(x_151, 1, x_150); -return x_151; +lean_object* x_151; lean_object* x_152; +x_151 = lean_ctor_get(x_81, 1); +lean_inc(x_151); +lean_dec(x_81); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_77); +lean_ctor_set(x_152, 1, x_151); +return x_152; } } } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_dec(x_76); -lean_dec(x_66); -lean_dec(x_52); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_152 = lean_ctor_get(x_80, 1); -lean_inc(x_152); -lean_dec(x_80); -x_153 = lean_box(0); -x_154 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_153, x_5, x_6, x_7, x_8, x_9, x_10, x_152); -return x_154; -} -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; -lean_dec(x_76); -lean_dec(x_66); -lean_dec(x_52); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_155 = lean_ctor_get(x_77, 1); -lean_inc(x_155); +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_dec(x_77); -x_156 = lean_box(0); -x_157 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_156, x_5, x_6, x_7, x_8, x_9, x_10, x_155); -return x_157; +lean_dec(x_67); +lean_dec(x_53); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_153 = lean_ctor_get(x_81, 1); +lean_inc(x_153); +lean_dec(x_81); +x_154 = lean_box(0); +x_155 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_154, x_6, x_7, x_8, x_9, x_10, x_11, x_153); +return x_155; } } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_object* x_156; lean_object* x_157; lean_object* x_158; +lean_dec(x_77); +lean_dec(x_67); +lean_dec(x_53); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_156 = lean_ctor_get(x_78, 1); +lean_inc(x_156); +lean_dec(x_78); +x_157 = lean_box(0); +x_158 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_157, x_6, x_7, x_8, x_9, x_10, x_11, x_156); +return x_158; +} +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_dec(x_59); +lean_dec(x_56); +lean_dec(x_53); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_159 = lean_ctor_get(x_61, 1); +lean_inc(x_159); +lean_dec(x_61); +x_160 = lean_box(0); +x_161 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_160, x_6, x_7, x_8, x_9, x_10, x_11, x_159); +return x_161; +} +} +else +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_dec(x_56); +lean_dec(x_53); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_162 = lean_ctor_get(x_58, 1); +lean_inc(x_162); lean_dec(x_58); -lean_dec(x_55); -lean_dec(x_52); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_158 = lean_ctor_get(x_60, 1); -lean_inc(x_158); -lean_dec(x_60); -x_159 = lean_box(0); -x_160 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_159, x_5, x_6, x_7, x_8, x_9, x_10, x_158); -return x_160; +x_163 = lean_box(0); +x_164 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_163, x_6, x_7, x_8, x_9, x_10, x_11, x_162); +return x_164; } } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; -lean_dec(x_55); -lean_dec(x_52); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_161 = lean_ctor_get(x_57, 1); -lean_inc(x_161); -lean_dec(x_57); -x_162 = lean_box(0); -x_163 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_162, x_5, x_6, x_7, x_8, x_9, x_10, x_161); -return x_163; -} -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec(x_52); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_164 = lean_ctor_get(x_54, 1); -lean_inc(x_164); -lean_dec(x_54); -x_165 = lean_box(0); -x_166 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_165, x_5, x_6, x_7, x_8, x_9, x_10, x_164); -return x_166; -} -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_167 = lean_ctor_get(x_51, 1); -lean_inc(x_167); -lean_dec(x_51); -x_168 = lean_box(0); -x_169 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_168, x_5, x_6, x_7, x_8, x_9, x_10, x_167); -return x_169; -} -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_170 = lean_ctor_get(x_48, 1); -lean_inc(x_170); -lean_dec(x_48); -x_171 = lean_box(0); -x_172 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_171, x_5, x_6, x_7, x_8, x_9, x_10, x_170); -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_183; lean_object* x_184; lean_object* x_185; -lean_dec(x_22); -x_173 = lean_ctor_get(x_40, 1); -lean_inc(x_173); +lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_53); lean_dec(x_40); -lean_ctor_set(x_32, 0, x_38); -lean_ctor_set(x_16, 0, x_39); -x_174 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_174, 0, x_26); +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_165 = lean_ctor_get(x_55, 1); +lean_inc(x_165); +lean_dec(x_55); +x_166 = lean_box(0); +x_167 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_166, x_6, x_7, x_8, x_9, x_10, x_11, x_165); +return x_167; +} +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_168 = lean_ctor_get(x_52, 1); +lean_inc(x_168); +lean_dec(x_52); +x_169 = lean_box(0); +x_170 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_169, x_6, x_7, x_8, x_9, x_10, x_11, x_168); +return x_170; +} +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_171 = lean_ctor_get(x_49, 1); +lean_inc(x_171); +lean_dec(x_49); +x_172 = lean_box(0); +x_173 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_172, x_6, x_7, x_8, x_9, x_10, x_11, x_171); +return x_173; +} +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +lean_dec(x_23); +x_174 = lean_ctor_get(x_41, 1); +lean_inc(x_174); +lean_dec(x_41); +lean_ctor_set(x_33, 0, x_39); +lean_ctor_set(x_17, 0, x_40); x_175 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_175, 0, x_24); -lean_inc(x_3); +lean_ctor_set(x_175, 0, x_27); x_176 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_176, 0, x_3); -x_177 = l___private_Lean_Meta_AppBuilder_22__mkEqNDRecImp___closed__6; -x_178 = lean_array_push(x_177, x_32); -x_179 = lean_array_push(x_178, x_16); -x_180 = lean_array_push(x_179, x_174); -x_181 = lean_array_push(x_180, x_29); -x_182 = lean_array_push(x_181, x_175); +lean_ctor_set(x_176, 0, x_25); +lean_inc(x_4); +x_177 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_177, 0, x_4); +x_178 = l___private_Lean_Meta_AppBuilder_22__mkEqNDRecImp___closed__6; +x_179 = lean_array_push(x_178, x_33); +x_180 = lean_array_push(x_179, x_17); +x_181 = lean_array_push(x_180, x_175); +x_182 = lean_array_push(x_181, x_30); x_183 = lean_array_push(x_182, x_176); -x_184 = l_Lean_Elab_Term_tryLiftAndCoe___closed__9; +x_184 = lean_array_push(x_183, x_177); +x_185 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__9; +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_185 = l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___spec__2(x_184, x_183, x_5, x_6, x_7, x_8, x_9, x_10, x_173); -if (lean_obj_tag(x_185) == 0) +x_186 = l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___spec__2(x_185, x_184, x_6, x_7, x_8, x_9, x_10, x_11, x_174); +if (lean_obj_tag(x_186) == 0) { -lean_dec(x_13); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_185; +return x_186; } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -lean_dec(x_185); -x_187 = lean_box(0); -x_188 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_187, x_5, x_6, x_7, x_8, x_9, x_10, x_186); -return x_188; +lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_187 = lean_ctor_get(x_186, 1); +lean_inc(x_187); +lean_dec(x_186); +x_188 = lean_box(0); +x_189 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_188, x_6, x_7, x_8, x_9, x_10, x_11, x_187); +return x_189; } } } else { -uint8_t x_189; -lean_dec(x_39); -lean_dec(x_38); -lean_free_object(x_32); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -lean_free_object(x_16); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_189 = !lean_is_exclusive(x_40); -if (x_189 == 0) -{ -return x_40; -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_190 = lean_ctor_get(x_40, 0); -x_191 = lean_ctor_get(x_40, 1); -lean_inc(x_191); -lean_inc(x_190); +uint8_t x_190; lean_dec(x_40); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set(x_192, 1, x_191); -return x_192; +lean_dec(x_39); +lean_free_object(x_33); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +lean_free_object(x_17); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_190 = !lean_is_exclusive(x_41); +if (x_190 == 0) +{ +return x_41; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = lean_ctor_get(x_41, 0); +x_192 = lean_ctor_get(x_41, 1); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_41); +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +return x_193; } } } else { -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_193 = lean_ctor_get(x_32, 0); -lean_inc(x_193); -lean_dec(x_32); -x_194 = lean_ctor_get(x_31, 1); +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_194 = lean_ctor_get(x_33, 0); lean_inc(x_194); -lean_dec(x_31); -x_195 = lean_ctor_get(x_193, 0); +lean_dec(x_33); +x_195 = lean_ctor_get(x_32, 1); lean_inc(x_195); -x_196 = lean_ctor_get(x_193, 1); +lean_dec(x_32); +x_196 = lean_ctor_get(x_194, 0); lean_inc(x_196); -lean_dec(x_193); +x_197 = lean_ctor_get(x_194, 1); +lean_inc(x_197); +lean_dec(x_194); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_22); -lean_inc(x_195); -x_197 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_195, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_194); -if (lean_obj_tag(x_197) == 0) +lean_inc(x_23); +lean_inc(x_196); +x_198 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_196, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_195); +if (lean_obj_tag(x_198) == 0) { -lean_object* x_198; uint8_t x_199; -x_198 = lean_ctor_get(x_197, 0); -lean_inc(x_198); -x_199 = lean_unbox(x_198); +lean_object* x_199; uint8_t x_200; +x_199 = lean_ctor_get(x_198, 0); +lean_inc(x_199); +x_200 = lean_unbox(x_199); +lean_dec(x_199); +if (x_200 == 0) +{ +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_free_object(x_17); +x_201 = lean_ctor_get(x_198, 1); +lean_inc(x_201); lean_dec(x_198); -if (x_199 == 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_free_object(x_16); -x_200 = lean_ctor_get(x_197, 1); -lean_inc(x_200); -lean_dec(x_197); -x_201 = l_Lean_mkAppStx___closed__9; -lean_inc(x_195); -x_202 = lean_array_push(x_201, x_195); -lean_inc(x_22); -x_203 = lean_array_push(x_202, x_22); -x_204 = l_Lean_Elab_Term_tryLiftAndCoe___closed__2; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_205 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_204, x_203, x_5, x_6, x_7, x_8, x_9, x_10, x_200); -if (lean_obj_tag(x_205) == 0) -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; -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); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -x_208 = l_Lean_Elab_Term_synthesizeInst(x_206, x_5, x_6, x_7, x_8, x_9, x_10, x_207); -if (lean_obj_tag(x_208) == 0) -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; -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); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); +x_202 = l_Lean_mkAppStx___closed__9; lean_inc(x_196); -x_211 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_196, x_5, x_6, x_7, x_8, x_9, x_10, x_210); -if (lean_obj_tag(x_211) == 0) +x_203 = lean_array_push(x_202, x_196); +lean_inc(x_23); +x_204 = lean_array_push(x_203, x_23); +x_205 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__2; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_206 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_205, x_204, x_6, x_7, x_8, x_9, x_10, x_11, x_201); +if (lean_obj_tag(x_206) == 0) { -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_211, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_211, 1); +lean_object* x_207; lean_object* x_208; lean_object* x_209; +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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +x_209 = l_Lean_Elab_Term_synthesizeInst(x_207, x_6, x_7, x_8, x_9, x_10, x_11, x_208); +if (lean_obj_tag(x_209) == 0) +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); +lean_inc(x_211); +lean_dec(x_209); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_197); +x_212 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_197, x_6, x_7, x_8, x_9, x_10, x_11, x_211); +if (lean_obj_tag(x_212) == 0) +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_213 = lean_ctor_get(x_212, 0); lean_inc(x_213); -lean_dec(x_211); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_13); -x_214 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_213); -if (lean_obj_tag(x_214) == 0) +lean_inc(x_14); +x_215 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_214); +if (lean_obj_tag(x_215) == 0) { -lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); -lean_dec(x_214); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_217 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_216); -if (lean_obj_tag(x_217) == 0) +lean_inc(x_2); +x_218 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_217); +if (lean_obj_tag(x_218) == 0) { -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; -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); +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; +x_219 = lean_ctor_get(x_218, 0); lean_inc(x_219); -lean_dec(x_217); -x_220 = lean_box(0); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_218); -lean_ctor_set(x_221, 1, x_220); +x_220 = lean_ctor_get(x_218, 1); +lean_inc(x_220); +lean_dec(x_218); +x_221 = lean_box(0); x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_215); +lean_ctor_set(x_222, 0, x_219); lean_ctor_set(x_222, 1, x_221); x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_212); +lean_ctor_set(x_223, 0, x_216); lean_ctor_set(x_223, 1, x_222); -x_224 = l_Lean_Elab_Term_tryLiftAndCoe___closed__4; -lean_inc(x_223); -x_225 = l_Lean_mkConst(x_224, x_223); -x_226 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; -lean_inc(x_195); -x_227 = lean_array_push(x_226, x_195); -lean_inc(x_22); -x_228 = lean_array_push(x_227, x_22); -lean_inc(x_209); -x_229 = lean_array_push(x_228, x_209); +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_213); +lean_ctor_set(x_224, 1, x_223); +x_225 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__4; +lean_inc(x_224); +x_226 = l_Lean_mkConst(x_225, x_224); +x_227 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; lean_inc(x_196); -x_230 = lean_array_push(x_229, x_196); -lean_inc(x_3); -x_231 = lean_array_push(x_230, x_3); -x_232 = lean_unsigned_to_nat(0u); -x_233 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_231, x_231, x_232, x_225); -lean_dec(x_231); +x_228 = lean_array_push(x_227, x_196); +lean_inc(x_23); +x_229 = lean_array_push(x_228, x_23); +lean_inc(x_210); +x_230 = lean_array_push(x_229, x_210); +lean_inc(x_197); +x_231 = lean_array_push(x_230, x_197); +lean_inc(x_4); +x_232 = lean_array_push(x_231, x_4); +x_233 = lean_unsigned_to_nat(0u); +x_234 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_232, x_232, x_233, x_226); +lean_dec(x_232); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_233); -x_234 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_233, x_5, x_6, x_7, x_8, x_9, x_10, x_219); -if (lean_obj_tag(x_234) == 0) +lean_inc(x_234); +x_235 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_234, x_6, x_7, x_8, x_9, x_10, x_11, x_220); +if (lean_obj_tag(x_235) == 0) { -lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_234, 1); +lean_object* x_236; lean_object* x_237; lean_object* x_238; +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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_238 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_236, x_6, x_7, x_8, x_9, x_10, x_11, x_237); +if (lean_obj_tag(x_238) == 0) +{ +lean_object* x_239; uint8_t x_240; +x_239 = lean_ctor_get(x_238, 0); +lean_inc(x_239); +x_240 = lean_unbox(x_239); +lean_dec(x_239); +if (x_240 == 0) +{ +lean_object* x_241; lean_object* x_242; lean_dec(x_234); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_237 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_1, x_235, x_5, x_6, x_7, x_8, x_9, x_10, x_236); -if (lean_obj_tag(x_237) == 0) -{ -lean_object* x_238; uint8_t x_239; -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_unbox(x_238); +x_241 = lean_ctor_get(x_238, 1); +lean_inc(x_241); lean_dec(x_238); -if (x_239 == 0) -{ -lean_object* x_240; lean_object* x_241; -lean_dec(x_233); -x_240 = lean_ctor_get(x_237, 1); -lean_inc(x_240); -lean_dec(x_237); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_196); -x_241 = l___private_Lean_Meta_InferType_4__getLevelImp(x_196, x_7, x_8, x_9, x_10, x_240); -if (lean_obj_tag(x_241) == 0) +lean_inc(x_197); +x_242 = l___private_Lean_Meta_InferType_4__getLevelImp(x_197, x_8, x_9, x_10, x_11, x_241); +if (lean_obj_tag(x_242) == 0) { -lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_241, 1); +lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_243 = lean_ctor_get(x_242, 0); lean_inc(x_243); -lean_dec(x_241); +x_244 = lean_ctor_get(x_242, 1); +lean_inc(x_244); +lean_dec(x_242); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_26); -x_244 = l___private_Lean_Meta_InferType_4__getLevelImp(x_26, x_7, x_8, x_9, x_10, x_243); -if (lean_obj_tag(x_244) == 0) +lean_inc(x_27); +x_245 = l___private_Lean_Meta_InferType_4__getLevelImp(x_27, x_8, x_9, x_10, x_11, x_244); +if (lean_obj_tag(x_245) == 0) { -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; uint8_t x_258; lean_object* x_259; lean_object* x_260; -x_245 = lean_ctor_get(x_244, 0); -lean_inc(x_245); -x_246 = lean_ctor_get(x_244, 1); +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; uint8_t x_259; lean_object* x_260; lean_object* x_261; +x_246 = lean_ctor_get(x_245, 0); lean_inc(x_246); -lean_dec(x_244); -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_245); -lean_ctor_set(x_247, 1, x_220); +x_247 = lean_ctor_get(x_245, 1); +lean_inc(x_247); +lean_dec(x_245); x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_242); -lean_ctor_set(x_248, 1, x_247); -x_249 = l_Lean_Elab_Term_tryCoe___closed__2; -x_250 = l_Lean_mkConst(x_249, x_248); -x_251 = l_Lean_Elab_Term_tryCoe___closed__3; -lean_inc(x_196); -x_252 = lean_array_push(x_251, x_196); -x_253 = l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__4___closed__1; -x_254 = lean_array_push(x_252, x_253); -lean_inc(x_26); -x_255 = lean_array_push(x_254, x_26); -x_256 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_255, x_255, x_232, x_250); -lean_dec(x_255); -x_257 = l___private_Lean_Elab_Term_4__expandCDot___main___closed__3; -x_258 = 0; -lean_inc(x_196); -x_259 = l_Lean_mkForall(x_257, x_258, x_196, x_256); +lean_ctor_set(x_248, 0, x_246); +lean_ctor_set(x_248, 1, x_221); +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_243); +lean_ctor_set(x_249, 1, x_248); +x_250 = l___private_Lean_Elab_Term_5__tryCoe___closed__2; +x_251 = l_Lean_mkConst(x_250, x_249); +x_252 = l___private_Lean_Elab_Term_5__tryCoe___closed__3; +lean_inc(x_197); +x_253 = lean_array_push(x_252, x_197); +x_254 = l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__4___closed__1; +x_255 = lean_array_push(x_253, x_254); +lean_inc(x_27); +x_256 = lean_array_push(x_255, x_27); +x_257 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_256, x_256, x_233, x_251); +lean_dec(x_256); +x_258 = l___private_Lean_Elab_Term_4__expandCDot___main___closed__3; +x_259 = 0; +lean_inc(x_197); +x_260 = l_Lean_mkForall(x_258, x_259, x_197, x_257); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -x_260 = l_Lean_Elab_Term_synthesizeInst(x_259, x_5, x_6, x_7, x_8, x_9, x_10, x_246); -if (lean_obj_tag(x_260) == 0) +lean_inc(x_6); +x_261 = l_Lean_Elab_Term_synthesizeInst(x_260, x_6, x_7, x_8, x_9, x_10, x_11, x_247); +if (lean_obj_tag(x_261) == 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; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_261 = lean_ctor_get(x_260, 0); -lean_inc(x_261); -x_262 = lean_ctor_get(x_260, 1); +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_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_262 = lean_ctor_get(x_261, 0); lean_inc(x_262); -lean_dec(x_260); -x_263 = l_Lean_Elab_Term_tryLiftAndCoe___closed__6; -x_264 = l_Lean_mkConst(x_263, x_223); -x_265 = l_Lean_Elab_Term_tryLiftAndCoe___closed__7; -x_266 = lean_array_push(x_265, x_195); -x_267 = lean_array_push(x_266, x_22); -x_268 = lean_array_push(x_267, x_196); -x_269 = lean_array_push(x_268, x_26); -x_270 = lean_array_push(x_269, x_209); -x_271 = lean_array_push(x_270, x_261); -x_272 = lean_array_push(x_271, x_24); -lean_inc(x_3); -x_273 = lean_array_push(x_272, x_3); -x_274 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_273, x_273, x_232, x_264); -lean_dec(x_273); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_274); -x_275 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_274, x_5, x_6, x_7, x_8, x_9, x_10, x_262); -if (lean_obj_tag(x_275) == 0) -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_276 = lean_ctor_get(x_275, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 1); -lean_inc(x_277); -lean_dec(x_275); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_278 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_1, x_276, x_5, x_6, x_7, x_8, x_9, x_10, x_277); -if (lean_obj_tag(x_278) == 0) -{ -lean_object* x_279; uint8_t x_280; -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -x_280 = lean_unbox(x_279); -lean_dec(x_279); -if (x_280 == 0) -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_263 = lean_ctor_get(x_261, 1); +lean_inc(x_263); +lean_dec(x_261); +x_264 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__6; +x_265 = l_Lean_mkConst(x_264, x_224); +x_266 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__7; +x_267 = lean_array_push(x_266, x_196); +x_268 = lean_array_push(x_267, x_23); +x_269 = lean_array_push(x_268, x_197); +x_270 = lean_array_push(x_269, x_27); +x_271 = lean_array_push(x_270, x_210); +x_272 = lean_array_push(x_271, x_262); +x_273 = lean_array_push(x_272, x_25); +lean_inc(x_4); +x_274 = lean_array_push(x_273, x_4); +x_275 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_274, x_274, x_233, x_265); lean_dec(x_274); -x_281 = lean_ctor_get(x_278, 1); -lean_inc(x_281); -lean_dec(x_278); -x_282 = lean_box(0); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); +lean_inc(x_275); +x_276 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_275, x_6, x_7, x_8, x_9, x_10, x_11, x_263); +if (lean_obj_tag(x_276) == 0) +{ +lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_277 = lean_ctor_get(x_276, 0); +lean_inc(x_277); +x_278 = lean_ctor_get(x_276, 1); +lean_inc(x_278); +lean_dec(x_276); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_279 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_277, x_6, x_7, x_8, x_9, x_10, x_11, x_278); +if (lean_obj_tag(x_279) == 0) +{ +lean_object* x_280; uint8_t x_281; +x_280 = lean_ctor_get(x_279, 0); +lean_inc(x_280); +x_281 = lean_unbox(x_280); +lean_dec(x_280); +if (x_281 == 0) +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec(x_275); +x_282 = lean_ctor_get(x_279, 1); +lean_inc(x_282); +lean_dec(x_279); +x_283 = 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_5); lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_13); +lean_inc(x_14); +lean_inc(x_2); lean_inc(x_1); -x_283 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_282, x_5, x_6, x_7, x_8, x_9, x_10, x_281); -x_284 = lean_ctor_get(x_283, 1); -lean_inc(x_284); -lean_dec(x_283); -x_285 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_282, x_5, x_6, x_7, x_8, x_9, x_10, x_284); -return x_285; +x_284 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_283, x_6, x_7, x_8, x_9, x_10, x_11, x_282); +x_285 = lean_ctor_get(x_284, 1); +lean_inc(x_285); +lean_dec(x_284); +x_286 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_283, x_6, x_7, x_8, x_9, x_10, x_11, x_285); +return x_286; } else { -lean_object* x_286; lean_object* x_287; lean_object* x_288; -lean_dec(x_13); +lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_286 = lean_ctor_get(x_278, 1); -lean_inc(x_286); -if (lean_is_exclusive(x_278)) { - lean_ctor_release(x_278, 0); - lean_ctor_release(x_278, 1); - x_287 = x_278; +x_287 = lean_ctor_get(x_279, 1); +lean_inc(x_287); +if (lean_is_exclusive(x_279)) { + lean_ctor_release(x_279, 0); + lean_ctor_release(x_279, 1); + x_288 = x_279; } else { - lean_dec_ref(x_278); - x_287 = lean_box(0); + lean_dec_ref(x_279); + x_288 = lean_box(0); } -if (lean_is_scalar(x_287)) { - x_288 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_288)) { + x_289 = lean_alloc_ctor(0, 2, 0); } else { - x_288 = x_287; + x_289 = x_288; } -lean_ctor_set(x_288, 0, x_274); -lean_ctor_set(x_288, 1, x_286); -return x_288; +lean_ctor_set(x_289, 0, x_275); +lean_ctor_set(x_289, 1, x_287); +return x_289; } } else { -lean_object* x_289; lean_object* x_290; lean_object* x_291; -lean_dec(x_274); -x_289 = lean_ctor_get(x_278, 1); -lean_inc(x_289); -lean_dec(x_278); -x_290 = lean_box(0); -x_291 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_290, x_5, x_6, x_7, x_8, x_9, x_10, x_289); -return x_291; -} -} -else -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; -lean_dec(x_274); -x_292 = lean_ctor_get(x_275, 1); -lean_inc(x_292); +lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_dec(x_275); -x_293 = lean_box(0); -x_294 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_293, x_5, x_6, x_7, x_8, x_9, x_10, x_292); -return x_294; +x_290 = lean_ctor_get(x_279, 1); +lean_inc(x_290); +lean_dec(x_279); +x_291 = lean_box(0); +x_292 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_291, x_6, x_7, x_8, x_9, x_10, x_11, x_290); +return x_292; } } else { -lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_223); -lean_dec(x_209); +lean_object* x_293; lean_object* x_294; lean_object* x_295; +lean_dec(x_275); +x_293 = lean_ctor_get(x_276, 1); +lean_inc(x_293); +lean_dec(x_276); +x_294 = lean_box(0); +x_295 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_294, x_6, x_7, x_8, x_9, x_10, x_11, x_293); +return x_295; +} +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; +lean_dec(x_224); +lean_dec(x_210); +lean_dec(x_197); lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_295 = lean_ctor_get(x_260, 1); -lean_inc(x_295); -lean_dec(x_260); -x_296 = lean_box(0); -x_297 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_296, x_5, x_6, x_7, x_8, x_9, x_10, x_295); -return x_297; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_296 = lean_ctor_get(x_261, 1); +lean_inc(x_296); +lean_dec(x_261); +x_297 = lean_box(0); +x_298 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_297, x_6, x_7, x_8, x_9, x_10, x_11, x_296); +return x_298; } } else { -lean_object* x_298; lean_object* x_299; lean_object* x_300; +lean_object* x_299; lean_object* x_300; lean_object* x_301; +lean_dec(x_243); +lean_dec(x_224); +lean_dec(x_210); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_299 = lean_ctor_get(x_245, 1); +lean_inc(x_299); +lean_dec(x_245); +x_300 = lean_box(0); +x_301 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_300, x_6, x_7, x_8, x_9, x_10, x_11, x_299); +return x_301; +} +} +else +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; +lean_dec(x_224); +lean_dec(x_210); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_302 = lean_ctor_get(x_242, 1); +lean_inc(x_302); lean_dec(x_242); -lean_dec(x_223); -lean_dec(x_209); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_298 = lean_ctor_get(x_244, 1); -lean_inc(x_298); -lean_dec(x_244); -x_299 = lean_box(0); -x_300 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_299, x_5, x_6, x_7, x_8, x_9, x_10, x_298); -return x_300; +x_303 = lean_box(0); +x_304 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_303, x_6, x_7, x_8, x_9, x_10, x_11, x_302); +return x_304; } } else { -lean_object* x_301; lean_object* x_302; lean_object* x_303; -lean_dec(x_223); -lean_dec(x_209); +lean_object* x_305; lean_object* x_306; lean_object* x_307; +lean_dec(x_224); +lean_dec(x_210); +lean_dec(x_197); lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_301 = lean_ctor_get(x_241, 1); -lean_inc(x_301); -lean_dec(x_241); -x_302 = lean_box(0); -x_303 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_302, x_5, x_6, x_7, x_8, x_9, x_10, x_301); -return x_303; -} -} -else -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; -lean_dec(x_223); -lean_dec(x_209); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_13); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_304 = lean_ctor_get(x_237, 1); -lean_inc(x_304); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - lean_ctor_release(x_237, 1); - x_305 = x_237; +x_305 = lean_ctor_get(x_238, 1); +lean_inc(x_305); +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + lean_ctor_release(x_238, 1); + x_306 = x_238; } else { - lean_dec_ref(x_237); - x_305 = lean_box(0); + lean_dec_ref(x_238); + x_306 = lean_box(0); } -if (lean_is_scalar(x_305)) { - x_306 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_306)) { + x_307 = lean_alloc_ctor(0, 2, 0); } else { - x_306 = x_305; + x_307 = x_306; } -lean_ctor_set(x_306, 0, x_233); -lean_ctor_set(x_306, 1, x_304); -return x_306; +lean_ctor_set(x_307, 0, x_234); +lean_ctor_set(x_307, 1, x_305); +return x_307; } } else { -lean_object* x_307; lean_object* x_308; lean_object* x_309; -lean_dec(x_233); -lean_dec(x_223); -lean_dec(x_209); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_307 = lean_ctor_get(x_237, 1); -lean_inc(x_307); -lean_dec(x_237); -x_308 = lean_box(0); -x_309 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_308, x_5, x_6, x_7, x_8, x_9, x_10, x_307); -return x_309; -} -} -else -{ -lean_object* x_310; lean_object* x_311; lean_object* x_312; -lean_dec(x_233); -lean_dec(x_223); -lean_dec(x_209); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_310 = lean_ctor_get(x_234, 1); -lean_inc(x_310); +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_dec(x_234); -x_311 = lean_box(0); -x_312 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_311, x_5, x_6, x_7, x_8, x_9, x_10, x_310); -return x_312; -} -} -else -{ -lean_object* x_313; lean_object* x_314; lean_object* x_315; -lean_dec(x_215); -lean_dec(x_212); -lean_dec(x_209); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_313 = lean_ctor_get(x_217, 1); -lean_inc(x_313); -lean_dec(x_217); -x_314 = lean_box(0); -x_315 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_314, x_5, x_6, x_7, x_8, x_9, x_10, x_313); -return x_315; -} -} -else -{ -lean_object* x_316; lean_object* x_317; lean_object* x_318; -lean_dec(x_212); -lean_dec(x_209); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_316 = lean_ctor_get(x_214, 1); -lean_inc(x_316); -lean_dec(x_214); -x_317 = lean_box(0); -x_318 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_317, x_5, x_6, x_7, x_8, x_9, x_10, x_316); -return x_318; -} -} -else -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; -lean_dec(x_209); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_319 = lean_ctor_get(x_211, 1); -lean_inc(x_319); -lean_dec(x_211); -x_320 = lean_box(0); -x_321 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_320, x_5, x_6, x_7, x_8, x_9, x_10, x_319); -return x_321; -} -} -else -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_322 = lean_ctor_get(x_208, 1); -lean_inc(x_322); -lean_dec(x_208); -x_323 = lean_box(0); -x_324 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_323, x_5, x_6, x_7, x_8, x_9, x_10, x_322); -return x_324; -} -} -else -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -x_325 = lean_ctor_get(x_205, 1); -lean_inc(x_325); -lean_dec(x_205); -x_326 = lean_box(0); -x_327 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_326, x_5, x_6, x_7, x_8, x_9, x_10, x_325); -return x_327; -} -} -else -{ -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_dec(x_22); -x_328 = lean_ctor_get(x_197, 1); -lean_inc(x_328); +lean_dec(x_224); +lean_dec(x_210); lean_dec(x_197); -x_329 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_329, 0, x_195); -lean_ctor_set(x_16, 0, x_196); +lean_dec(x_196); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_308 = lean_ctor_get(x_238, 1); +lean_inc(x_308); +lean_dec(x_238); +x_309 = lean_box(0); +x_310 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_309, x_6, x_7, x_8, x_9, x_10, x_11, x_308); +return x_310; +} +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; +lean_dec(x_234); +lean_dec(x_224); +lean_dec(x_210); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_311 = lean_ctor_get(x_235, 1); +lean_inc(x_311); +lean_dec(x_235); +x_312 = lean_box(0); +x_313 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_312, x_6, x_7, x_8, x_9, x_10, x_11, x_311); +return x_313; +} +} +else +{ +lean_object* x_314; lean_object* x_315; lean_object* x_316; +lean_dec(x_216); +lean_dec(x_213); +lean_dec(x_210); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_314 = lean_ctor_get(x_218, 1); +lean_inc(x_314); +lean_dec(x_218); +x_315 = lean_box(0); +x_316 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_315, x_6, x_7, x_8, x_9, x_10, x_11, x_314); +return x_316; +} +} +else +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; +lean_dec(x_213); +lean_dec(x_210); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_317 = lean_ctor_get(x_215, 1); +lean_inc(x_317); +lean_dec(x_215); +x_318 = lean_box(0); +x_319 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_318, x_6, x_7, x_8, x_9, x_10, x_11, x_317); +return x_319; +} +} +else +{ +lean_object* x_320; lean_object* x_321; lean_object* x_322; +lean_dec(x_210); +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_320 = lean_ctor_get(x_212, 1); +lean_inc(x_320); +lean_dec(x_212); +x_321 = lean_box(0); +x_322 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_321, x_6, x_7, x_8, x_9, x_10, x_11, x_320); +return x_322; +} +} +else +{ +lean_object* x_323; lean_object* x_324; lean_object* x_325; +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_323 = lean_ctor_get(x_209, 1); +lean_inc(x_323); +lean_dec(x_209); +x_324 = lean_box(0); +x_325 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_324, x_6, x_7, x_8, x_9, x_10, x_11, x_323); +return x_325; +} +} +else +{ +lean_object* x_326; lean_object* x_327; lean_object* x_328; +lean_dec(x_197); +lean_dec(x_196); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +x_326 = lean_ctor_get(x_206, 1); +lean_inc(x_326); +lean_dec(x_206); +x_327 = lean_box(0); +x_328 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_327, x_6, x_7, x_8, x_9, x_10, x_11, x_326); +return x_328; +} +} +else +{ +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_dec(x_23); +x_329 = lean_ctor_get(x_198, 1); +lean_inc(x_329); +lean_dec(x_198); x_330 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_330, 0, x_26); +lean_ctor_set(x_330, 0, x_196); +lean_ctor_set(x_17, 0, x_197); x_331 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_331, 0, x_24); -lean_inc(x_3); +lean_ctor_set(x_331, 0, x_27); x_332 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_332, 0, x_3); -x_333 = l___private_Lean_Meta_AppBuilder_22__mkEqNDRecImp___closed__6; -x_334 = lean_array_push(x_333, x_329); -x_335 = lean_array_push(x_334, x_16); -x_336 = lean_array_push(x_335, x_330); -x_337 = lean_array_push(x_336, x_29); -x_338 = lean_array_push(x_337, x_331); +lean_ctor_set(x_332, 0, x_25); +lean_inc(x_4); +x_333 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_333, 0, x_4); +x_334 = l___private_Lean_Meta_AppBuilder_22__mkEqNDRecImp___closed__6; +x_335 = lean_array_push(x_334, x_330); +x_336 = lean_array_push(x_335, x_17); +x_337 = lean_array_push(x_336, x_331); +x_338 = lean_array_push(x_337, x_30); x_339 = lean_array_push(x_338, x_332); -x_340 = l_Lean_Elab_Term_tryLiftAndCoe___closed__9; +x_340 = lean_array_push(x_339, x_333); +x_341 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__9; +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_341 = l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___spec__2(x_340, x_339, x_5, x_6, x_7, x_8, x_9, x_10, x_328); -if (lean_obj_tag(x_341) == 0) +x_342 = l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___spec__2(x_341, x_340, x_6, x_7, x_8, x_9, x_10, x_11, x_329); +if (lean_obj_tag(x_342) == 0) { -lean_dec(x_13); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_341; +return x_342; } else { -lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_342 = lean_ctor_get(x_341, 1); -lean_inc(x_342); -lean_dec(x_341); -x_343 = lean_box(0); -x_344 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_343, x_5, x_6, x_7, x_8, x_9, x_10, x_342); -return x_344; +lean_object* x_343; lean_object* x_344; lean_object* x_345; +x_343 = lean_ctor_get(x_342, 1); +lean_inc(x_343); +lean_dec(x_342); +x_344 = lean_box(0); +x_345 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_344, x_6, x_7, x_8, x_9, x_10, x_11, x_343); +return x_345; } } } else { -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; +lean_dec(x_197); lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -lean_free_object(x_16); -lean_dec(x_13); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +lean_free_object(x_17); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_345 = lean_ctor_get(x_197, 0); -lean_inc(x_345); -x_346 = lean_ctor_get(x_197, 1); +x_346 = lean_ctor_get(x_198, 0); lean_inc(x_346); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - x_347 = x_197; +x_347 = lean_ctor_get(x_198, 1); +lean_inc(x_347); +if (lean_is_exclusive(x_198)) { + lean_ctor_release(x_198, 0); + lean_ctor_release(x_198, 1); + x_348 = x_198; } else { - lean_dec_ref(x_197); - x_347 = lean_box(0); + lean_dec_ref(x_198); + x_348 = lean_box(0); } -if (lean_is_scalar(x_347)) { - x_348 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_348)) { + x_349 = lean_alloc_ctor(1, 2, 0); } else { - x_348 = x_347; + x_349 = x_348; } -lean_ctor_set(x_348, 0, x_345); -lean_ctor_set(x_348, 1, x_346); -return x_348; +lean_ctor_set(x_349, 0, x_346); +lean_ctor_set(x_349, 1, x_347); +return x_349; } } } } else { -uint8_t x_349; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -lean_free_object(x_16); -lean_dec(x_13); +uint8_t x_350; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +lean_free_object(x_17); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_349 = !lean_is_exclusive(x_31); -if (x_349 == 0) +x_350 = !lean_is_exclusive(x_32); +if (x_350 == 0) { -return x_31; +return x_32; } else { -lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_350 = lean_ctor_get(x_31, 0); -x_351 = lean_ctor_get(x_31, 1); +lean_object* x_351; lean_object* x_352; lean_object* x_353; +x_351 = lean_ctor_get(x_32, 0); +x_352 = lean_ctor_get(x_32, 1); +lean_inc(x_352); lean_inc(x_351); -lean_inc(x_350); -lean_dec(x_31); -x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_350); -lean_ctor_set(x_352, 1, x_351); -return x_352; +lean_dec(x_32); +x_353 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_353, 0, x_351); +lean_ctor_set(x_353, 1, x_352); +return x_353; } } } else { -uint8_t x_353; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_22); -lean_free_object(x_16); -lean_dec(x_13); +uint8_t x_354; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_23); +lean_free_object(x_17); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_353 = !lean_is_exclusive(x_28); -if (x_353 == 0) +x_354 = !lean_is_exclusive(x_29); +if (x_354 == 0) { -lean_object* x_354; lean_object* x_355; -x_354 = lean_ctor_get(x_28, 0); -lean_dec(x_354); +lean_object* x_355; lean_object* x_356; x_355 = lean_ctor_get(x_29, 0); -lean_inc(x_355); -lean_dec(x_29); -lean_ctor_set(x_28, 0, x_355); -return x_28; +lean_dec(x_355); +x_356 = lean_ctor_get(x_30, 0); +lean_inc(x_356); +lean_dec(x_30); +lean_ctor_set(x_29, 0, x_356); +return x_29; } else { -lean_object* x_356; lean_object* x_357; lean_object* x_358; -x_356 = lean_ctor_get(x_28, 1); -lean_inc(x_356); -lean_dec(x_28); -x_357 = lean_ctor_get(x_29, 0); +lean_object* x_357; lean_object* x_358; lean_object* x_359; +x_357 = lean_ctor_get(x_29, 1); lean_inc(x_357); lean_dec(x_29); -x_358 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_358, 0, x_357); -lean_ctor_set(x_358, 1, x_356); -return x_358; +x_358 = lean_ctor_get(x_30, 0); +lean_inc(x_358); +lean_dec(x_30); +x_359 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_359, 0, x_358); +lean_ctor_set(x_359, 1, x_357); +return x_359; } } } 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; -x_359 = lean_ctor_get(x_16, 0); -lean_inc(x_359); -lean_dec(x_16); -x_360 = lean_ctor_get(x_15, 1); +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; +x_360 = lean_ctor_get(x_17, 0); lean_inc(x_360); -lean_dec(x_15); -x_361 = lean_ctor_get(x_359, 0); +lean_dec(x_17); +x_361 = lean_ctor_get(x_16, 1); lean_inc(x_361); -x_362 = lean_ctor_get(x_359, 1); +lean_dec(x_16); +x_362 = lean_ctor_get(x_360, 0); lean_inc(x_362); -x_363 = lean_ctor_get(x_359, 2); +x_363 = lean_ctor_get(x_360, 1); lean_inc(x_363); -lean_dec(x_359); -x_364 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_362, x_5, x_6, x_7, x_8, x_9, x_10, x_360); -x_365 = lean_ctor_get(x_364, 0); -lean_inc(x_365); -x_366 = lean_ctor_get(x_364, 1); +x_364 = lean_ctor_get(x_360, 2); +lean_inc(x_364); +lean_dec(x_360); +x_365 = l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_363, x_6, x_7, x_8, x_9, x_10, x_11, x_361); +x_366 = lean_ctor_get(x_365, 0); lean_inc(x_366); -lean_dec(x_364); +x_367 = lean_ctor_get(x_365, 1); +lean_inc(x_367); +lean_dec(x_365); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_13); -lean_inc(x_365); -lean_inc(x_361); -x_367 = l___private_Lean_Elab_Term_7__tryPureCoe_x3f(x_361, x_365, x_13, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_366); -x_368 = lean_ctor_get(x_367, 0); -lean_inc(x_368); -if (lean_obj_tag(x_368) == 0) -{ -lean_object* x_369; lean_object* x_370; -x_369 = lean_ctor_get(x_367, 1); +lean_inc(x_6); +lean_inc(x_4); +lean_inc(x_14); +lean_inc(x_366); +lean_inc(x_362); +lean_inc(x_1); +x_368 = l___private_Lean_Elab_Term_8__tryPureCoe_x3f(x_1, x_362, x_366, x_14, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_367); +x_369 = lean_ctor_get(x_368, 0); lean_inc(x_369); -lean_dec(x_367); +if (lean_obj_tag(x_369) == 0) +{ +lean_object* x_370; lean_object* x_371; +x_370 = lean_ctor_get(x_368, 1); +lean_inc(x_370); +lean_dec(x_368); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_13); -x_370 = l___private_Lean_Elab_Term_5__isTypeApp_x3f(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_369); -if (lean_obj_tag(x_370) == 0) -{ -lean_object* x_371; -x_371 = lean_ctor_get(x_370, 0); -lean_inc(x_371); +lean_inc(x_14); +x_371 = l___private_Lean_Elab_Term_6__isTypeApp_x3f(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_370); if (lean_obj_tag(x_371) == 0) { -lean_object* x_372; lean_object* x_373; -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_372 = lean_ctor_get(x_370, 1); +lean_object* x_372; +x_372 = lean_ctor_get(x_371, 0); lean_inc(x_372); -lean_dec(x_370); -x_373 = l_Lean_Elab_Term_tryCoe(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_372); -return x_373; +if (lean_obj_tag(x_372) == 0) +{ +lean_object* x_373; lean_object* x_374; +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_373 = lean_ctor_get(x_371, 1); +lean_inc(x_373); +lean_dec(x_371); +x_374 = l___private_Lean_Elab_Term_5__tryCoe(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_373); +return x_374; } else { -lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; -x_374 = lean_ctor_get(x_371, 0); -lean_inc(x_374); -if (lean_is_exclusive(x_371)) { - lean_ctor_release(x_371, 0); - x_375 = x_371; +lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; +x_375 = lean_ctor_get(x_372, 0); +lean_inc(x_375); +if (lean_is_exclusive(x_372)) { + lean_ctor_release(x_372, 0); + x_376 = x_372; } else { - lean_dec_ref(x_371); - x_375 = lean_box(0); + lean_dec_ref(x_372); + x_376 = lean_box(0); } -x_376 = lean_ctor_get(x_370, 1); -lean_inc(x_376); -lean_dec(x_370); -x_377 = lean_ctor_get(x_374, 0); +x_377 = lean_ctor_get(x_371, 1); lean_inc(x_377); -x_378 = lean_ctor_get(x_374, 1); +lean_dec(x_371); +x_378 = lean_ctor_get(x_375, 0); lean_inc(x_378); -lean_dec(x_374); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_361); -lean_inc(x_377); -x_379 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_377, x_361, x_5, x_6, x_7, x_8, x_9, x_10, x_376); -if (lean_obj_tag(x_379) == 0) -{ -lean_object* x_380; uint8_t x_381; -x_380 = lean_ctor_get(x_379, 0); -lean_inc(x_380); -x_381 = lean_unbox(x_380); -lean_dec(x_380); -if (x_381 == 0) -{ -lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_379 = lean_ctor_get(x_375, 1); +lean_inc(x_379); lean_dec(x_375); -x_382 = lean_ctor_get(x_379, 1); -lean_inc(x_382); -lean_dec(x_379); -x_383 = l_Lean_mkAppStx___closed__9; -lean_inc(x_377); -x_384 = lean_array_push(x_383, x_377); -lean_inc(x_361); -x_385 = lean_array_push(x_384, x_361); -x_386 = l_Lean_Elab_Term_tryLiftAndCoe___closed__2; +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_387 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_6__isMonad_x3f___spec__1(x_386, x_385, x_5, x_6, x_7, x_8, x_9, x_10, x_382); -if (lean_obj_tag(x_387) == 0) -{ -lean_object* x_388; lean_object* x_389; lean_object* x_390; -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); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -x_390 = l_Lean_Elab_Term_synthesizeInst(x_388, x_5, x_6, x_7, x_8, x_9, x_10, x_389); -if (lean_obj_tag(x_390) == 0) -{ -lean_object* x_391; lean_object* x_392; lean_object* x_393; -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); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); +lean_inc(x_362); lean_inc(x_378); -x_393 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_378, x_5, x_6, x_7, x_8, x_9, x_10, x_392); -if (lean_obj_tag(x_393) == 0) +x_380 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_378, x_362, x_6, x_7, x_8, x_9, x_10, x_11, x_377); +if (lean_obj_tag(x_380) == 0) { -lean_object* x_394; lean_object* x_395; lean_object* x_396; -x_394 = lean_ctor_get(x_393, 0); -lean_inc(x_394); -x_395 = lean_ctor_get(x_393, 1); +lean_object* x_381; uint8_t x_382; +x_381 = lean_ctor_get(x_380, 0); +lean_inc(x_381); +x_382 = lean_unbox(x_381); +lean_dec(x_381); +if (x_382 == 0) +{ +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_dec(x_376); +x_383 = lean_ctor_get(x_380, 1); +lean_inc(x_383); +lean_dec(x_380); +x_384 = l_Lean_mkAppStx___closed__9; +lean_inc(x_378); +x_385 = lean_array_push(x_384, x_378); +lean_inc(x_362); +x_386 = lean_array_push(x_385, x_362); +x_387 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__2; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_388 = l_Lean_Meta_mkAppM___at___private_Lean_Elab_Term_7__isMonad_x3f___spec__1(x_387, x_386, x_6, x_7, x_8, x_9, x_10, x_11, x_383); +if (lean_obj_tag(x_388) == 0) +{ +lean_object* x_389; lean_object* x_390; lean_object* x_391; +x_389 = lean_ctor_get(x_388, 0); +lean_inc(x_389); +x_390 = lean_ctor_get(x_388, 1); +lean_inc(x_390); +lean_dec(x_388); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +x_391 = l_Lean_Elab_Term_synthesizeInst(x_389, x_6, x_7, x_8, x_9, x_10, x_11, x_390); +if (lean_obj_tag(x_391) == 0) +{ +lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_392 = lean_ctor_get(x_391, 0); +lean_inc(x_392); +x_393 = lean_ctor_get(x_391, 1); +lean_inc(x_393); +lean_dec(x_391); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_379); +x_394 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_379, x_6, x_7, x_8, x_9, x_10, x_11, x_393); +if (lean_obj_tag(x_394) == 0) +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; +x_395 = lean_ctor_get(x_394, 0); lean_inc(x_395); -lean_dec(x_393); +x_396 = lean_ctor_get(x_394, 1); +lean_inc(x_396); +lean_dec(x_394); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_13); -x_396 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_395); -if (lean_obj_tag(x_396) == 0) +lean_inc(x_14); +x_397 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_396); +if (lean_obj_tag(x_397) == 0) { -lean_object* x_397; lean_object* x_398; lean_object* x_399; -x_397 = lean_ctor_get(x_396, 0); -lean_inc(x_397); -x_398 = lean_ctor_get(x_396, 1); +lean_object* x_398; lean_object* x_399; lean_object* x_400; +x_398 = lean_ctor_get(x_397, 0); lean_inc(x_398); -lean_dec(x_396); +x_399 = lean_ctor_get(x_397, 1); +lean_inc(x_399); +lean_dec(x_397); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_399 = l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_398); -if (lean_obj_tag(x_399) == 0) +lean_inc(x_2); +x_400 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_399); +if (lean_obj_tag(x_400) == 0) { -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; -x_400 = lean_ctor_get(x_399, 0); -lean_inc(x_400); -x_401 = lean_ctor_get(x_399, 1); +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; +x_401 = lean_ctor_get(x_400, 0); lean_inc(x_401); -lean_dec(x_399); -x_402 = lean_box(0); -x_403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_403, 0, x_400); -lean_ctor_set(x_403, 1, x_402); +x_402 = lean_ctor_get(x_400, 1); +lean_inc(x_402); +lean_dec(x_400); +x_403 = lean_box(0); x_404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_404, 0, x_397); +lean_ctor_set(x_404, 0, x_401); lean_ctor_set(x_404, 1, x_403); x_405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_405, 0, x_394); +lean_ctor_set(x_405, 0, x_398); lean_ctor_set(x_405, 1, x_404); -x_406 = l_Lean_Elab_Term_tryLiftAndCoe___closed__4; -lean_inc(x_405); -x_407 = l_Lean_mkConst(x_406, x_405); -x_408 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; -lean_inc(x_377); -x_409 = lean_array_push(x_408, x_377); -lean_inc(x_361); -x_410 = lean_array_push(x_409, x_361); -lean_inc(x_391); -x_411 = lean_array_push(x_410, x_391); +x_406 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_406, 0, x_395); +lean_ctor_set(x_406, 1, x_405); +x_407 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__4; +lean_inc(x_406); +x_408 = l_Lean_mkConst(x_407, x_406); +x_409 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; lean_inc(x_378); -x_412 = lean_array_push(x_411, x_378); -lean_inc(x_3); -x_413 = lean_array_push(x_412, x_3); -x_414 = lean_unsigned_to_nat(0u); -x_415 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_413, x_413, x_414, x_407); -lean_dec(x_413); +x_410 = lean_array_push(x_409, x_378); +lean_inc(x_362); +x_411 = lean_array_push(x_410, x_362); +lean_inc(x_392); +x_412 = lean_array_push(x_411, x_392); +lean_inc(x_379); +x_413 = lean_array_push(x_412, x_379); +lean_inc(x_4); +x_414 = lean_array_push(x_413, x_4); +x_415 = lean_unsigned_to_nat(0u); +x_416 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_414, x_414, x_415, x_408); +lean_dec(x_414); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_415); -x_416 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_415, x_5, x_6, x_7, x_8, x_9, x_10, x_401); -if (lean_obj_tag(x_416) == 0) +lean_inc(x_416); +x_417 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_416, x_6, x_7, x_8, x_9, x_10, x_11, x_402); +if (lean_obj_tag(x_417) == 0) { -lean_object* x_417; lean_object* x_418; lean_object* x_419; -x_417 = lean_ctor_get(x_416, 0); -lean_inc(x_417); -x_418 = lean_ctor_get(x_416, 1); +lean_object* x_418; lean_object* x_419; lean_object* x_420; +x_418 = lean_ctor_get(x_417, 0); lean_inc(x_418); +x_419 = lean_ctor_get(x_417, 1); +lean_inc(x_419); +lean_dec(x_417); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_420 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_418, x_6, x_7, x_8, x_9, x_10, x_11, x_419); +if (lean_obj_tag(x_420) == 0) +{ +lean_object* x_421; uint8_t x_422; +x_421 = lean_ctor_get(x_420, 0); +lean_inc(x_421); +x_422 = lean_unbox(x_421); +lean_dec(x_421); +if (x_422 == 0) +{ +lean_object* x_423; lean_object* x_424; lean_dec(x_416); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_419 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_1, x_417, x_5, x_6, x_7, x_8, x_9, x_10, x_418); -if (lean_obj_tag(x_419) == 0) -{ -lean_object* x_420; uint8_t x_421; -x_420 = lean_ctor_get(x_419, 0); -lean_inc(x_420); -x_421 = lean_unbox(x_420); +x_423 = lean_ctor_get(x_420, 1); +lean_inc(x_423); lean_dec(x_420); -if (x_421 == 0) -{ -lean_object* x_422; lean_object* x_423; -lean_dec(x_415); -x_422 = lean_ctor_get(x_419, 1); -lean_inc(x_422); -lean_dec(x_419); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_378); -x_423 = l___private_Lean_Meta_InferType_4__getLevelImp(x_378, x_7, x_8, x_9, x_10, x_422); -if (lean_obj_tag(x_423) == 0) +lean_inc(x_379); +x_424 = l___private_Lean_Meta_InferType_4__getLevelImp(x_379, x_8, x_9, x_10, x_11, x_423); +if (lean_obj_tag(x_424) == 0) { -lean_object* x_424; lean_object* x_425; lean_object* x_426; -x_424 = lean_ctor_get(x_423, 0); -lean_inc(x_424); -x_425 = lean_ctor_get(x_423, 1); +lean_object* x_425; lean_object* x_426; lean_object* x_427; +x_425 = lean_ctor_get(x_424, 0); lean_inc(x_425); -lean_dec(x_423); +x_426 = lean_ctor_get(x_424, 1); +lean_inc(x_426); +lean_dec(x_424); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_365); -x_426 = l___private_Lean_Meta_InferType_4__getLevelImp(x_365, x_7, x_8, x_9, x_10, x_425); -if (lean_obj_tag(x_426) == 0) +lean_inc(x_366); +x_427 = l___private_Lean_Meta_InferType_4__getLevelImp(x_366, x_8, x_9, x_10, x_11, x_426); +if (lean_obj_tag(x_427) == 0) { -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; uint8_t x_440; lean_object* x_441; lean_object* x_442; -x_427 = lean_ctor_get(x_426, 0); -lean_inc(x_427); -x_428 = lean_ctor_get(x_426, 1); +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; uint8_t x_441; lean_object* x_442; lean_object* x_443; +x_428 = lean_ctor_get(x_427, 0); lean_inc(x_428); -lean_dec(x_426); -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_427); -lean_ctor_set(x_429, 1, x_402); +x_429 = lean_ctor_get(x_427, 1); +lean_inc(x_429); +lean_dec(x_427); x_430 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_430, 0, x_424); -lean_ctor_set(x_430, 1, x_429); -x_431 = l_Lean_Elab_Term_tryCoe___closed__2; -x_432 = l_Lean_mkConst(x_431, x_430); -x_433 = l_Lean_Elab_Term_tryCoe___closed__3; -lean_inc(x_378); -x_434 = lean_array_push(x_433, x_378); -x_435 = l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__4___closed__1; -x_436 = lean_array_push(x_434, x_435); -lean_inc(x_365); -x_437 = lean_array_push(x_436, x_365); -x_438 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_437, x_437, x_414, x_432); -lean_dec(x_437); -x_439 = l___private_Lean_Elab_Term_4__expandCDot___main___closed__3; -x_440 = 0; -lean_inc(x_378); -x_441 = l_Lean_mkForall(x_439, x_440, x_378, x_438); +lean_ctor_set(x_430, 0, x_428); +lean_ctor_set(x_430, 1, x_403); +x_431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_431, 0, x_425); +lean_ctor_set(x_431, 1, x_430); +x_432 = l___private_Lean_Elab_Term_5__tryCoe___closed__2; +x_433 = l_Lean_mkConst(x_432, x_431); +x_434 = l___private_Lean_Elab_Term_5__tryCoe___closed__3; +lean_inc(x_379); +x_435 = lean_array_push(x_434, x_379); +x_436 = l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__4___closed__1; +x_437 = lean_array_push(x_435, x_436); +lean_inc(x_366); +x_438 = lean_array_push(x_437, x_366); +x_439 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_438, x_438, x_415, x_433); +lean_dec(x_438); +x_440 = l___private_Lean_Elab_Term_4__expandCDot___main___closed__3; +x_441 = 0; +lean_inc(x_379); +x_442 = l_Lean_mkForall(x_440, x_441, x_379, x_439); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -x_442 = l_Lean_Elab_Term_synthesizeInst(x_441, x_5, x_6, x_7, x_8, x_9, x_10, x_428); -if (lean_obj_tag(x_442) == 0) +lean_inc(x_6); +x_443 = l_Lean_Elab_Term_synthesizeInst(x_442, x_6, x_7, x_8, x_9, x_10, x_11, x_429); +if (lean_obj_tag(x_443) == 0) { -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; -x_443 = lean_ctor_get(x_442, 0); -lean_inc(x_443); -x_444 = lean_ctor_get(x_442, 1); +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; +x_444 = lean_ctor_get(x_443, 0); lean_inc(x_444); -lean_dec(x_442); -x_445 = l_Lean_Elab_Term_tryLiftAndCoe___closed__6; -x_446 = l_Lean_mkConst(x_445, x_405); -x_447 = l_Lean_Elab_Term_tryLiftAndCoe___closed__7; -x_448 = lean_array_push(x_447, x_377); -x_449 = lean_array_push(x_448, x_361); -x_450 = lean_array_push(x_449, x_378); -x_451 = lean_array_push(x_450, x_365); -x_452 = lean_array_push(x_451, x_391); -x_453 = lean_array_push(x_452, x_443); -x_454 = lean_array_push(x_453, x_363); -lean_inc(x_3); -x_455 = lean_array_push(x_454, x_3); -x_456 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_455, x_455, x_414, x_446); -lean_dec(x_455); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_456); -x_457 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_456, x_5, x_6, x_7, x_8, x_9, x_10, x_444); -if (lean_obj_tag(x_457) == 0) -{ -lean_object* x_458; lean_object* x_459; lean_object* x_460; -x_458 = lean_ctor_get(x_457, 0); -lean_inc(x_458); -x_459 = lean_ctor_get(x_457, 1); -lean_inc(x_459); -lean_dec(x_457); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_460 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_1, x_458, x_5, x_6, x_7, x_8, x_9, x_10, x_459); -if (lean_obj_tag(x_460) == 0) -{ -lean_object* x_461; uint8_t x_462; -x_461 = lean_ctor_get(x_460, 0); -lean_inc(x_461); -x_462 = lean_unbox(x_461); -lean_dec(x_461); -if (x_462 == 0) -{ -lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +lean_dec(x_443); +x_446 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__6; +x_447 = l_Lean_mkConst(x_446, x_406); +x_448 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__7; +x_449 = lean_array_push(x_448, x_378); +x_450 = lean_array_push(x_449, x_362); +x_451 = lean_array_push(x_450, x_379); +x_452 = lean_array_push(x_451, x_366); +x_453 = lean_array_push(x_452, x_392); +x_454 = lean_array_push(x_453, x_444); +x_455 = lean_array_push(x_454, x_364); +lean_inc(x_4); +x_456 = lean_array_push(x_455, x_4); +x_457 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_456, x_456, x_415, x_447); lean_dec(x_456); -x_463 = lean_ctor_get(x_460, 1); -lean_inc(x_463); -lean_dec(x_460); -x_464 = lean_box(0); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); +lean_inc(x_457); +x_458 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_457, x_6, x_7, x_8, x_9, x_10, x_11, x_445); +if (lean_obj_tag(x_458) == 0) +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_459 = lean_ctor_get(x_458, 0); +lean_inc(x_459); +x_460 = lean_ctor_get(x_458, 1); +lean_inc(x_460); +lean_dec(x_458); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_2); +x_461 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_459, x_6, x_7, x_8, x_9, x_10, x_11, x_460); +if (lean_obj_tag(x_461) == 0) +{ +lean_object* x_462; uint8_t x_463; +x_462 = lean_ctor_get(x_461, 0); +lean_inc(x_462); +x_463 = lean_unbox(x_462); +lean_dec(x_462); +if (x_463 == 0) +{ +lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; +lean_dec(x_457); +x_464 = lean_ctor_get(x_461, 1); +lean_inc(x_464); +lean_dec(x_461); +x_465 = 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_5); lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_13); +lean_inc(x_14); +lean_inc(x_2); lean_inc(x_1); -x_465 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_464, x_5, x_6, x_7, x_8, x_9, x_10, x_463); -x_466 = lean_ctor_get(x_465, 1); -lean_inc(x_466); -lean_dec(x_465); -x_467 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_464, x_5, x_6, x_7, x_8, x_9, x_10, x_466); -return x_467; +x_466 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_465, x_6, x_7, x_8, x_9, x_10, x_11, x_464); +x_467 = lean_ctor_get(x_466, 1); +lean_inc(x_467); +lean_dec(x_466); +x_468 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_465, x_6, x_7, x_8, x_9, x_10, x_11, x_467); +return x_468; } else { -lean_object* x_468; lean_object* x_469; lean_object* x_470; -lean_dec(x_13); +lean_object* x_469; lean_object* x_470; lean_object* x_471; +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_468 = lean_ctor_get(x_460, 1); -lean_inc(x_468); -if (lean_is_exclusive(x_460)) { - lean_ctor_release(x_460, 0); - lean_ctor_release(x_460, 1); - x_469 = x_460; +x_469 = lean_ctor_get(x_461, 1); +lean_inc(x_469); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + lean_ctor_release(x_461, 1); + x_470 = x_461; } else { - lean_dec_ref(x_460); - x_469 = lean_box(0); + lean_dec_ref(x_461); + x_470 = lean_box(0); } -if (lean_is_scalar(x_469)) { - x_470 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_470)) { + x_471 = lean_alloc_ctor(0, 2, 0); } else { - x_470 = x_469; + x_471 = x_470; } -lean_ctor_set(x_470, 0, x_456); -lean_ctor_set(x_470, 1, x_468); -return x_470; +lean_ctor_set(x_471, 0, x_457); +lean_ctor_set(x_471, 1, x_469); +return x_471; } } else { -lean_object* x_471; lean_object* x_472; lean_object* x_473; -lean_dec(x_456); -x_471 = lean_ctor_get(x_460, 1); -lean_inc(x_471); -lean_dec(x_460); -x_472 = lean_box(0); -x_473 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_472, x_5, x_6, x_7, x_8, x_9, x_10, x_471); -return x_473; -} -} -else -{ -lean_object* x_474; lean_object* x_475; lean_object* x_476; -lean_dec(x_456); -x_474 = lean_ctor_get(x_457, 1); -lean_inc(x_474); +lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_dec(x_457); -x_475 = lean_box(0); -x_476 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_475, x_5, x_6, x_7, x_8, x_9, x_10, x_474); -return x_476; +x_472 = lean_ctor_get(x_461, 1); +lean_inc(x_472); +lean_dec(x_461); +x_473 = lean_box(0); +x_474 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_473, x_6, x_7, x_8, x_9, x_10, x_11, x_472); +return x_474; } } else { -lean_object* x_477; lean_object* x_478; lean_object* x_479; -lean_dec(x_405); -lean_dec(x_391); +lean_object* x_475; lean_object* x_476; lean_object* x_477; +lean_dec(x_457); +x_475 = lean_ctor_get(x_458, 1); +lean_inc(x_475); +lean_dec(x_458); +x_476 = lean_box(0); +x_477 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_476, x_6, x_7, x_8, x_9, x_10, x_11, x_475); +return x_477; +} +} +else +{ +lean_object* x_478; lean_object* x_479; lean_object* x_480; +lean_dec(x_406); +lean_dec(x_392); +lean_dec(x_379); lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_477 = lean_ctor_get(x_442, 1); -lean_inc(x_477); -lean_dec(x_442); -x_478 = lean_box(0); -x_479 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_478, x_5, x_6, x_7, x_8, x_9, x_10, x_477); -return x_479; +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_478 = lean_ctor_get(x_443, 1); +lean_inc(x_478); +lean_dec(x_443); +x_479 = lean_box(0); +x_480 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_479, x_6, x_7, x_8, x_9, x_10, x_11, x_478); +return x_480; } } else { -lean_object* x_480; lean_object* x_481; lean_object* x_482; +lean_object* x_481; lean_object* x_482; lean_object* x_483; +lean_dec(x_425); +lean_dec(x_406); +lean_dec(x_392); +lean_dec(x_379); +lean_dec(x_378); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_481 = lean_ctor_get(x_427, 1); +lean_inc(x_481); +lean_dec(x_427); +x_482 = lean_box(0); +x_483 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_482, x_6, x_7, x_8, x_9, x_10, x_11, x_481); +return x_483; +} +} +else +{ +lean_object* x_484; lean_object* x_485; lean_object* x_486; +lean_dec(x_406); +lean_dec(x_392); +lean_dec(x_379); +lean_dec(x_378); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_484 = lean_ctor_get(x_424, 1); +lean_inc(x_484); lean_dec(x_424); -lean_dec(x_405); -lean_dec(x_391); -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_480 = lean_ctor_get(x_426, 1); -lean_inc(x_480); -lean_dec(x_426); -x_481 = lean_box(0); -x_482 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_481, x_5, x_6, x_7, x_8, x_9, x_10, x_480); -return x_482; +x_485 = lean_box(0); +x_486 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_485, x_6, x_7, x_8, x_9, x_10, x_11, x_484); +return x_486; } } else { -lean_object* x_483; lean_object* x_484; lean_object* x_485; -lean_dec(x_405); -lean_dec(x_391); +lean_object* x_487; lean_object* x_488; lean_object* x_489; +lean_dec(x_406); +lean_dec(x_392); +lean_dec(x_379); lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_483 = lean_ctor_get(x_423, 1); -lean_inc(x_483); -lean_dec(x_423); -x_484 = lean_box(0); -x_485 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_484, x_5, x_6, x_7, x_8, x_9, x_10, x_483); -return x_485; -} -} -else -{ -lean_object* x_486; lean_object* x_487; lean_object* x_488; -lean_dec(x_405); -lean_dec(x_391); -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -lean_dec(x_13); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_486 = lean_ctor_get(x_419, 1); -lean_inc(x_486); -if (lean_is_exclusive(x_419)) { - lean_ctor_release(x_419, 0); - lean_ctor_release(x_419, 1); - x_487 = x_419; +x_487 = lean_ctor_get(x_420, 1); +lean_inc(x_487); +if (lean_is_exclusive(x_420)) { + lean_ctor_release(x_420, 0); + lean_ctor_release(x_420, 1); + x_488 = x_420; } else { - lean_dec_ref(x_419); - x_487 = lean_box(0); + lean_dec_ref(x_420); + x_488 = lean_box(0); } -if (lean_is_scalar(x_487)) { - x_488 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_488)) { + x_489 = lean_alloc_ctor(0, 2, 0); } else { - x_488 = x_487; + x_489 = x_488; } -lean_ctor_set(x_488, 0, x_415); -lean_ctor_set(x_488, 1, x_486); -return x_488; +lean_ctor_set(x_489, 0, x_416); +lean_ctor_set(x_489, 1, x_487); +return x_489; } } else { -lean_object* x_489; lean_object* x_490; lean_object* x_491; -lean_dec(x_415); -lean_dec(x_405); -lean_dec(x_391); -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_489 = lean_ctor_get(x_419, 1); -lean_inc(x_489); -lean_dec(x_419); -x_490 = lean_box(0); -x_491 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_490, x_5, x_6, x_7, x_8, x_9, x_10, x_489); -return x_491; -} -} -else -{ -lean_object* x_492; lean_object* x_493; lean_object* x_494; -lean_dec(x_415); -lean_dec(x_405); -lean_dec(x_391); -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_492 = lean_ctor_get(x_416, 1); -lean_inc(x_492); +lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_dec(x_416); -x_493 = lean_box(0); -x_494 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_493, x_5, x_6, x_7, x_8, x_9, x_10, x_492); -return x_494; -} -} -else -{ -lean_object* x_495; lean_object* x_496; lean_object* x_497; -lean_dec(x_397); -lean_dec(x_394); -lean_dec(x_391); -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_495 = lean_ctor_get(x_399, 1); -lean_inc(x_495); -lean_dec(x_399); -x_496 = lean_box(0); -x_497 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_496, x_5, x_6, x_7, x_8, x_9, x_10, x_495); -return x_497; -} -} -else -{ -lean_object* x_498; lean_object* x_499; lean_object* x_500; -lean_dec(x_394); -lean_dec(x_391); -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_498 = lean_ctor_get(x_396, 1); -lean_inc(x_498); -lean_dec(x_396); -x_499 = lean_box(0); -x_500 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_499, x_5, x_6, x_7, x_8, x_9, x_10, x_498); -return x_500; -} -} -else -{ -lean_object* x_501; lean_object* x_502; lean_object* x_503; -lean_dec(x_391); -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_501 = lean_ctor_get(x_393, 1); -lean_inc(x_501); -lean_dec(x_393); -x_502 = lean_box(0); -x_503 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_502, x_5, x_6, x_7, x_8, x_9, x_10, x_501); -return x_503; -} -} -else -{ -lean_object* x_504; lean_object* x_505; lean_object* x_506; -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_504 = lean_ctor_get(x_390, 1); -lean_inc(x_504); -lean_dec(x_390); -x_505 = lean_box(0); -x_506 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_505, x_5, x_6, x_7, x_8, x_9, x_10, x_504); -return x_506; -} -} -else -{ -lean_object* x_507; lean_object* x_508; lean_object* x_509; -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -x_507 = lean_ctor_get(x_387, 1); -lean_inc(x_507); -lean_dec(x_387); -x_508 = lean_box(0); -x_509 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_508, x_5, x_6, x_7, x_8, x_9, x_10, x_507); -return x_509; -} -} -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; 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_dec(x_361); -x_510 = lean_ctor_get(x_379, 1); -lean_inc(x_510); +lean_dec(x_406); +lean_dec(x_392); lean_dec(x_379); -if (lean_is_scalar(x_375)) { - x_511 = lean_alloc_ctor(1, 1, 0); -} else { - x_511 = x_375; +lean_dec(x_378); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_490 = lean_ctor_get(x_420, 1); +lean_inc(x_490); +lean_dec(x_420); +x_491 = lean_box(0); +x_492 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_491, x_6, x_7, x_8, x_9, x_10, x_11, x_490); +return x_492; +} +} +else +{ +lean_object* x_493; lean_object* x_494; lean_object* x_495; +lean_dec(x_416); +lean_dec(x_406); +lean_dec(x_392); +lean_dec(x_379); +lean_dec(x_378); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_493 = lean_ctor_get(x_417, 1); +lean_inc(x_493); +lean_dec(x_417); +x_494 = lean_box(0); +x_495 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_494, x_6, x_7, x_8, x_9, x_10, x_11, x_493); +return x_495; +} +} +else +{ +lean_object* x_496; lean_object* x_497; lean_object* x_498; +lean_dec(x_398); +lean_dec(x_395); +lean_dec(x_392); +lean_dec(x_379); +lean_dec(x_378); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_496 = lean_ctor_get(x_400, 1); +lean_inc(x_496); +lean_dec(x_400); +x_497 = lean_box(0); +x_498 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_497, x_6, x_7, x_8, x_9, x_10, x_11, x_496); +return x_498; +} +} +else +{ +lean_object* x_499; lean_object* x_500; lean_object* x_501; +lean_dec(x_395); +lean_dec(x_392); +lean_dec(x_379); +lean_dec(x_378); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_499 = lean_ctor_get(x_397, 1); +lean_inc(x_499); +lean_dec(x_397); +x_500 = lean_box(0); +x_501 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_500, x_6, x_7, x_8, x_9, x_10, x_11, x_499); +return x_501; +} +} +else +{ +lean_object* x_502; lean_object* x_503; lean_object* x_504; +lean_dec(x_392); +lean_dec(x_379); +lean_dec(x_378); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_502 = lean_ctor_get(x_394, 1); +lean_inc(x_502); +lean_dec(x_394); +x_503 = lean_box(0); +x_504 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_503, x_6, x_7, x_8, x_9, x_10, x_11, x_502); +return x_504; +} +} +else +{ +lean_object* x_505; lean_object* x_506; lean_object* x_507; +lean_dec(x_379); +lean_dec(x_378); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_505 = lean_ctor_get(x_391, 1); +lean_inc(x_505); +lean_dec(x_391); +x_506 = lean_box(0); +x_507 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_506, x_6, x_7, x_8, x_9, x_10, x_11, x_505); +return x_507; +} +} +else +{ +lean_object* x_508; lean_object* x_509; lean_object* x_510; +lean_dec(x_379); +lean_dec(x_378); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +x_508 = lean_ctor_get(x_388, 1); +lean_inc(x_508); +lean_dec(x_388); +x_509 = lean_box(0); +x_510 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_509, x_6, x_7, x_8, x_9, x_10, x_11, x_508); +return x_510; +} +} +else +{ +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_dec(x_362); +x_511 = lean_ctor_get(x_380, 1); +lean_inc(x_511); +lean_dec(x_380); +if (lean_is_scalar(x_376)) { + x_512 = lean_alloc_ctor(1, 1, 0); +} else { + x_512 = x_376; } -lean_ctor_set(x_511, 0, x_377); -x_512 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_512, 0, x_378); x_513 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_513, 0, x_365); +lean_ctor_set(x_513, 0, x_379); x_514 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_514, 0, x_363); -lean_inc(x_3); +lean_ctor_set(x_514, 0, x_366); x_515 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_515, 0, x_3); -x_516 = l___private_Lean_Meta_AppBuilder_22__mkEqNDRecImp___closed__6; -x_517 = lean_array_push(x_516, x_511); +lean_ctor_set(x_515, 0, x_364); +lean_inc(x_4); +x_516 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_516, 0, x_4); +x_517 = l___private_Lean_Meta_AppBuilder_22__mkEqNDRecImp___closed__6; x_518 = lean_array_push(x_517, x_512); x_519 = lean_array_push(x_518, x_513); -x_520 = lean_array_push(x_519, x_368); -x_521 = lean_array_push(x_520, x_514); +x_520 = lean_array_push(x_519, x_514); +x_521 = lean_array_push(x_520, x_369); x_522 = lean_array_push(x_521, x_515); -x_523 = l_Lean_Elab_Term_tryLiftAndCoe___closed__9; +x_523 = lean_array_push(x_522, x_516); +x_524 = l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__9; +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_524 = l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_7__tryPureCoe_x3f___spec__2(x_523, x_522, x_5, x_6, x_7, x_8, x_9, x_10, x_510); -if (lean_obj_tag(x_524) == 0) +x_525 = l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_8__tryPureCoe_x3f___spec__2(x_524, x_523, x_6, x_7, x_8, x_9, x_10, x_11, x_511); +if (lean_obj_tag(x_525) == 0) { -lean_dec(x_13); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_524; +return x_525; } else { -lean_object* x_525; lean_object* x_526; lean_object* x_527; -x_525 = lean_ctor_get(x_524, 1); -lean_inc(x_525); -lean_dec(x_524); -x_526 = lean_box(0); -x_527 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_13, x_3, x_4, x_526, x_5, x_6, x_7, x_8, x_9, x_10, x_525); -return x_527; +lean_object* x_526; lean_object* x_527; lean_object* x_528; +x_526 = lean_ctor_get(x_525, 1); +lean_inc(x_526); +lean_dec(x_525); +x_527 = lean_box(0); +x_528 = l_Lean_Elab_Term_throwTypeMismatchError___rarg(x_1, x_2, x_14, x_4, x_5, x_527, x_6, x_7, x_8, x_9, x_10, x_11, x_526); +return x_528; } } } else { -lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; +lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; +lean_dec(x_379); lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_375); -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -lean_dec(x_13); +lean_dec(x_376); +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_528 = lean_ctor_get(x_379, 0); -lean_inc(x_528); -x_529 = lean_ctor_get(x_379, 1); +x_529 = lean_ctor_get(x_380, 0); lean_inc(x_529); -if (lean_is_exclusive(x_379)) { - lean_ctor_release(x_379, 0); - lean_ctor_release(x_379, 1); - x_530 = x_379; +x_530 = lean_ctor_get(x_380, 1); +lean_inc(x_530); +if (lean_is_exclusive(x_380)) { + lean_ctor_release(x_380, 0); + lean_ctor_release(x_380, 1); + x_531 = x_380; } else { - lean_dec_ref(x_379); - x_530 = lean_box(0); + lean_dec_ref(x_380); + x_531 = lean_box(0); } -if (lean_is_scalar(x_530)) { - x_531 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_531)) { + x_532 = lean_alloc_ctor(1, 2, 0); } else { - x_531 = x_530; + x_532 = x_531; } -lean_ctor_set(x_531, 0, x_528); -lean_ctor_set(x_531, 1, x_529); -return x_531; +lean_ctor_set(x_532, 0, x_529); +lean_ctor_set(x_532, 1, x_530); +return x_532; } } } else { -lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -lean_dec(x_13); +lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_532 = lean_ctor_get(x_370, 0); -lean_inc(x_532); -x_533 = lean_ctor_get(x_370, 1); +x_533 = lean_ctor_get(x_371, 0); lean_inc(x_533); -if (lean_is_exclusive(x_370)) { - lean_ctor_release(x_370, 0); - lean_ctor_release(x_370, 1); - x_534 = x_370; +x_534 = lean_ctor_get(x_371, 1); +lean_inc(x_534); +if (lean_is_exclusive(x_371)) { + lean_ctor_release(x_371, 0); + lean_ctor_release(x_371, 1); + x_535 = x_371; } else { - lean_dec_ref(x_370); - x_534 = lean_box(0); + lean_dec_ref(x_371); + x_535 = lean_box(0); } -if (lean_is_scalar(x_534)) { - x_535 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_535)) { + x_536 = lean_alloc_ctor(1, 2, 0); } else { - x_535 = x_534; + x_536 = x_535; } -lean_ctor_set(x_535, 0, x_532); -lean_ctor_set(x_535, 1, x_533); -return x_535; +lean_ctor_set(x_536, 0, x_533); +lean_ctor_set(x_536, 1, x_534); +return x_536; } } else { -lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; -lean_dec(x_365); -lean_dec(x_363); -lean_dec(x_361); -lean_dec(x_13); +lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_362); +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_536 = lean_ctor_get(x_367, 1); -lean_inc(x_536); -if (lean_is_exclusive(x_367)) { - lean_ctor_release(x_367, 0); - lean_ctor_release(x_367, 1); - x_537 = x_367; +x_537 = lean_ctor_get(x_368, 1); +lean_inc(x_537); +if (lean_is_exclusive(x_368)) { + lean_ctor_release(x_368, 0); + lean_ctor_release(x_368, 1); + x_538 = x_368; } else { - lean_dec_ref(x_367); - x_537 = lean_box(0); + lean_dec_ref(x_368); + x_538 = lean_box(0); } -x_538 = lean_ctor_get(x_368, 0); -lean_inc(x_538); -lean_dec(x_368); -if (lean_is_scalar(x_537)) { - x_539 = lean_alloc_ctor(0, 2, 0); +x_539 = lean_ctor_get(x_369, 0); +lean_inc(x_539); +lean_dec(x_369); +if (lean_is_scalar(x_538)) { + x_540 = lean_alloc_ctor(0, 2, 0); } else { - x_539 = x_537; + x_540 = x_538; } -lean_ctor_set(x_539, 0, x_538); -lean_ctor_set(x_539, 1, x_536); -return x_539; +lean_ctor_set(x_540, 0, x_539); +lean_ctor_set(x_540, 1, x_537); +return x_540; } } } } else { -uint8_t x_540; -lean_dec(x_13); +uint8_t x_541; +lean_dec(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_5); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_540 = !lean_is_exclusive(x_15); -if (x_540 == 0) +x_541 = !lean_is_exclusive(x_16); +if (x_541 == 0) { -return x_15; +return x_16; } else { -lean_object* x_541; lean_object* x_542; lean_object* x_543; -x_541 = lean_ctor_get(x_15, 0); -x_542 = lean_ctor_get(x_15, 1); +lean_object* x_542; lean_object* x_543; lean_object* x_544; +x_542 = lean_ctor_get(x_16, 0); +x_543 = lean_ctor_get(x_16, 1); +lean_inc(x_543); lean_inc(x_542); -lean_inc(x_541); -lean_dec(x_15); -x_543 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_543, 0, x_541); -lean_ctor_set(x_543, 1, x_542); -return x_543; +lean_dec(x_16); +x_544 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_544, 0, x_542); +lean_ctor_set(x_544, 1, x_543); +return x_544; } } } } -lean_object* l_Lean_Meta_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___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* l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___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_getDecLevel___at_Lean_Elab_Term_tryLiftAndCoe___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_getDecLevel___at___private_Lean_Elab_Term_9__tryLiftAndCoe___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_2); return x_9; } } -lean_object* l_Lean_Elab_Term_tryLiftAndCoe___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_Term_9__tryLiftAndCoe___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_12; -x_12 = l_Lean_Elab_Term_tryLiftAndCoe(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; +lean_object* x_13; +x_13 = l___private_Lean_Elab_Term_9__tryLiftAndCoe(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_Lean_Elab_Term_ensureHasTypeAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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* _init_l_Lean_Elab_Term_ensureHasTypeAux___closed__1() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("type mismatch"); +return x_1; +} +} +lean_object* l_Lean_Elab_Term_ensureHasTypeAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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) +{ if (lean_obj_tag(x_1) == 0) { -lean_object* x_12; +lean_object* x_13; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); +lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_3); -lean_ctor_set(x_12, 1, x_11); -return x_12; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_12); +return x_13; } else { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); lean_dec(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_13); +lean_inc(x_14); lean_inc(x_2); -x_14 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) +x_15 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_unbox(x_15); +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unbox(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); lean_dec(x_15); -if (x_16 == 0) +x_19 = l_Lean_Elab_Term_ensureHasTypeAux___closed__1; +x_20 = l___private_Lean_Elab_Term_9__tryLiftAndCoe(x_19, x_14, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +return x_20; +} +else { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); +uint8_t x_21; lean_dec(x_14); -x_18 = l_Lean_Elab_Term_tryLiftAndCoe(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -return x_18; -} -else -{ -uint8_t x_19; -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_14, 0); -lean_dec(x_20); -lean_ctor_set(x_14, 0, x_3); -return x_14; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_dec(x_14); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_3); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -else -{ -uint8_t x_23; -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = !lean_is_exclusive(x_14); -if (x_23 == 0) -{ -return x_14; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_14, 0); -x_25 = lean_ctor_get(x_14, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_14); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -} -} -lean_object* l_Lean_Elab_Term_ensureHasTypeAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Term_ensureHasTypeAux(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; -} -} -lean_object* l_Lean_Elab_Term_ensureHasType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_10; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -else -{ -lean_object* x_11; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_2); -x_11 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -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_box(0); -x_15 = l_Lean_Elab_Term_ensureHasTypeAux(x_1, x_12, x_2, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_15); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_15, 0); +lean_dec(x_22); +lean_ctor_set(x_15, 0, x_3); return x_15; } else { -uint8_t x_16; +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_15, 1); +lean_inc(x_23); +lean_dec(x_15); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_3); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +uint8_t x_25; +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_25 = !lean_is_exclusive(x_15); +if (x_25 == 0) +{ +return x_15; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_15); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +} +else +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_29; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_3); +lean_ctor_set(x_29, 1, x_12); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_5, 0); +lean_inc(x_30); +lean_dec(x_5); +x_31 = lean_ctor_get(x_1, 0); +lean_inc(x_31); +lean_dec(x_1); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_31); +lean_inc(x_2); +x_32 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_unbox(x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = l___private_Lean_Elab_Term_9__tryLiftAndCoe(x_30, x_31, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_35); +return x_36; +} +else +{ +uint8_t x_37; +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_32); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_32, 0); +lean_dec(x_38); +lean_ctor_set(x_32, 0, x_3); +return x_32; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_32, 1); +lean_inc(x_39); +lean_dec(x_32); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_3); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_41 = !lean_is_exclusive(x_32); +if (x_41 == 0) +{ +return x_32; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_32, 0); +x_43 = lean_ctor_get(x_32, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_32); +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; +} +} +} +} +} +} +lean_object* l_Lean_Elab_Term_ensureHasTypeAux___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_Lean_Elab_Term_ensureHasTypeAux(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_Lean_Elab_Term_ensureHasType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_1) == 0) +{ +lean_object* x_11; +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) -{ +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_2); +lean_ctor_set(x_11, 1, x_10); return x_11; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); +lean_object* x_12; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +x_12 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +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_box(0); +x_16 = l_Lean_Elab_Term_ensureHasTypeAux(x_1, x_13, x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +return x_16; +} +else +{ +uint8_t x_17; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; } } } } } -lean_object* l_Lean_Elab_Term_ensureHasType___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_Elab_Term_ensureHasType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; -x_10 = l_Lean_Elab_Term_ensureHasType(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* x_11; +x_11 = l_Lean_Elab_Term_ensureHasType(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +return x_11; } } -lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___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_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___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: { if (lean_obj_tag(x_1) == 0) @@ -16703,7 +16857,7 @@ return x_39; } } } -lean_object* l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(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_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2(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; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -16720,7 +16874,7 @@ x_15 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_14, x_1, x_2, x_5, x return x_15; } } -lean_object* l___private_Lean_Elab_Term_8__exceptionToSorry(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_10__exceptionToSorry(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; @@ -16730,7 +16884,7 @@ uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_obje x_55 = 0; x_56 = lean_box(0); lean_inc(x_5); -x_57 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(x_55, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_57 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2(x_55, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); x_59 = lean_ctor_get(x_57, 1); @@ -16781,7 +16935,7 @@ if (x_22 == 0) { lean_object* x_23; lean_free_object(x_12); -x_23 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_23 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__1(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_15); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -16865,7 +17019,7 @@ x_40 = l_Lean_Exception_hasSyntheticSorry(x_1); if (x_40 == 0) { lean_object* x_41; -x_41 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_33); +x_41 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__1(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_33); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -16964,11 +17118,11 @@ return x_53; } } } -lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___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* l_Lean_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___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_Elab_logException___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_logException___at___private_Lean_Elab_Term_10__exceptionToSorry___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); @@ -16978,13 +17132,13 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___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_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___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: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2(x_10, 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); @@ -16993,11 +17147,11 @@ lean_dec(x_3); return x_11; } } -lean_object* l___private_Lean_Elab_Term_8__exceptionToSorry___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_10__exceptionToSorry___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_8__exceptionToSorry(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_10__exceptionToSorry(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_3); return x_10; @@ -17197,7 +17351,7 @@ lean_dec(x_2); return x_9; } } -lean_object* _init_l___private_Lean_Elab_Term_9__postponeElabTerm___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_11__postponeElabTerm___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -17207,12 +17361,12 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_9__postponeElabTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_11__postponeElabTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_26; lean_object* x_27; uint8_t x_28; x_26 = lean_ctor_get(x_7, 0); -x_27 = l___private_Lean_Elab_Term_9__postponeElabTerm___closed__1; +x_27 = l___private_Lean_Elab_Term_11__postponeElabTerm___closed__1; x_28 = l_Lean_checkTraceOption(x_26, x_27); if (x_28 == 0) { @@ -17306,11 +17460,11 @@ return x_24; } } } -lean_object* l___private_Lean_Elab_Term_9__postponeElabTerm___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_11__postponeElabTerm___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_9__postponeElabTerm(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_11__postponeElabTerm(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); @@ -17319,7 +17473,7 @@ lean_dec(x_3); return x_10; } } -lean_object* _init_l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__1() { _start: { lean_object* x_1; @@ -17327,27 +17481,27 @@ x_1 = lean_mk_string("unexpected syntax"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__1; +x_1 = l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___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_Term_10__elabUsingElabFnsAux___main___closed__3() { +lean_object* _init_l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__2; +x_1 = l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___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_Term_10__elabUsingElabFnsAux___main(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) { +lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main(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) @@ -17365,7 +17519,7 @@ x_16 = lean_unsigned_to_nat(2u); x_17 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); -x_18 = l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__3; +x_18 = l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); @@ -17456,7 +17610,7 @@ lean_object* x_30; lean_object* x_31; x_30 = lean_ctor_get(x_23, 1); lean_inc(x_30); lean_dec(x_23); -x_31 = l___private_Lean_Elab_Term_8__exceptionToSorry(x_24, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_30); +x_31 = l___private_Lean_Elab_Term_10__exceptionToSorry(x_24, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_30); lean_dec(x_7); lean_dec(x_6); return x_31; @@ -17521,7 +17675,7 @@ x_40 = l_Lean_Elab_Term_SavedState_restore(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l___private_Lean_Elab_Term_9__postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_41); +x_42 = l___private_Lean_Elab_Term_11__postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_41); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -17609,7 +17763,7 @@ x_54 = l_Lean_Elab_Term_SavedState_restore(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_55 = lean_ctor_get(x_54, 1); lean_inc(x_55); lean_dec(x_54); -x_56 = l___private_Lean_Elab_Term_9__postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_55); +x_56 = l___private_Lean_Elab_Term_11__postponeElabTerm(x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_55); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -17639,35 +17793,35 @@ goto _start; } } } -lean_object* l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___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_Term_12__elabUsingElabFnsAux___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: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main(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___private_Lean_Elab_Term_10__elabUsingElabFnsAux(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) { +lean_object* l___private_Lean_Elab_Term_12__elabUsingElabFnsAux(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: { lean_object* x_13; -x_13 = l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___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_Term_12__elabUsingElabFnsAux___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_Term_10__elabUsingElabFnsAux___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_Term_12__elabUsingElabFnsAux___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_4); lean_dec(x_4); -x_14 = l___private_Lean_Elab_Term_10__elabUsingElabFnsAux(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l___private_Lean_Elab_Term_12__elabUsingElabFnsAux(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_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__4(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; @@ -17709,7 +17863,7 @@ return x_15; } } } -lean_object* l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -17780,14 +17934,14 @@ x_21 = lean_ctor_get(x_1, 1); lean_inc(x_21); lean_dec(x_1); x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__4(x_20, x_21, lean_box(0), x_22, x_3); +x_23 = l_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__4(x_20, x_21, lean_box(0), x_22, x_3); lean_dec(x_21); lean_dec(x_20); return x_23; } } } -lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; size_t x_4; lean_object* x_5; @@ -17795,11 +17949,11 @@ x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); lean_dec(x_1); x_4 = l_Lean_Name_hash(x_2); -x_5 = l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__3(x_3, x_4, x_2); +x_5 = l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__3(x_3, x_4, x_2); return x_5; } } -lean_object* l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__6(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__6(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -17831,7 +17985,7 @@ return x_9; } } } -lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__5(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; @@ -17841,12 +17995,12 @@ x_5 = l_Lean_Name_hash(x_2); x_6 = lean_usize_modn(x_5, x_4); lean_dec(x_4); x_7 = lean_array_uget(x_3, x_6); -x_8 = l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__6(x_2, x_7); +x_8 = l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__6(x_2, x_7); lean_dec(x_7); return x_8; } } -lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__1(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -17859,11 +18013,11 @@ lean_inc(x_4); x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); lean_dec(x_1); -x_6 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__2(x_5, x_2); +x_6 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__2(x_5, x_2); if (lean_obj_tag(x_6) == 0) { lean_object* x_7; -x_7 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__5(x_4, x_2); +x_7 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__5(x_4, x_2); lean_dec(x_4); return x_7; } @@ -17879,13 +18033,13 @@ lean_object* x_8; lean_object* x_9; x_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); lean_dec(x_1); -x_9 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__5(x_8, x_2); +x_9 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__5(x_8, x_2); lean_dec(x_8); return x_9; } } } -lean_object* _init_l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__1() { _start: { lean_object* x_1; @@ -17893,27 +18047,27 @@ x_1 = lean_mk_string("elaboration function for '"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__1; +x_1 = l___private_Lean_Elab_Term_13__elabUsingElabFns___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_Term_11__elabUsingElabFns___closed__3() { +lean_object* _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__2; +x_1 = l___private_Lean_Elab_Term_13__elabUsingElabFns___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_Term_11__elabUsingElabFns___closed__4() { +lean_object* _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__4() { _start: { lean_object* x_1; @@ -17921,27 +18075,27 @@ x_1 = lean_mk_string("' has not been implemented"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__5() { +lean_object* _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__4; +x_1 = l___private_Lean_Elab_Term_13__elabUsingElabFns___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_Term_11__elabUsingElabFns___closed__6() { +lean_object* _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__5; +x_1 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__5; 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_Term_11__elabUsingElabFns(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_Term_13__elabUsingElabFns(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: { 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; @@ -17971,7 +18125,7 @@ lean_inc(x_21); lean_dec(x_20); lean_inc(x_1); x_22 = l_Lean_Syntax_getKind(x_1); -x_23 = l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__1(x_21, x_22); +x_23 = l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__1(x_21, x_22); if (lean_obj_tag(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; @@ -17984,11 +18138,11 @@ x_26 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_26, 0, x_25); x_27 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_27, 0, x_26); -x_28 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__3; +x_28 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3; x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6; +x_30 = l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6; x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); @@ -18007,78 +18161,78 @@ lean_dec(x_22); x_33 = lean_ctor_get(x_23, 0); lean_inc(x_33); lean_dec(x_23); -x_34 = l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main(x_12, x_1, x_2, x_3, x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +x_34 = l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main(x_12, x_1, x_2, x_3, x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_16); return x_34; } } } -lean_object* l_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___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* l_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__4___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_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__4(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Std_PersistentHashMap_findAtAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__4(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); return x_6; } } -lean_object* l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; lean_object* x_5; x_4 = lean_unbox_usize(x_2); lean_dec(x_2); -x_5 = l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__3(x_1, x_4, x_3); +x_5 = l_Std_PersistentHashMap_findAux___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__3(x_1, x_4, x_3); lean_dec(x_3); return x_5; } } -lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__2(x_1, x_2); +x_3 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__2(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__6___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__6(x_1, x_2); +x_3 = l_Std_AssocList_find_x3f___main___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__6(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__5___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__5(x_1, x_2); +x_3 = l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__5(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_11__elabUsingElabFns___spec__1(x_1, x_2); +x_3 = l_Lean_SMap_find_x3f___at___private_Lean_Elab_Term_13__elabUsingElabFns___spec__1(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_11__elabUsingElabFns___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_Term_13__elabUsingElabFns___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_Term_11__elabUsingElabFns(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_Term_13__elabUsingElabFns(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_12; } } @@ -18308,7 +18462,7 @@ lean_dec(x_2); return x_9; } } -lean_object* _init_l___private_Lean_Elab_Term_12__isExplicit___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_14__isExplicit___closed__1() { _start: { lean_object* x_1; @@ -18316,21 +18470,21 @@ x_1 = lean_mk_string("explicit"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_12__isExplicit___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_14__isExplicit___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_Term_12__isExplicit___closed__1; +x_2 = l___private_Lean_Elab_Term_14__isExplicit___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -uint8_t l___private_Lean_Elab_Term_12__isExplicit(lean_object* x_1) { +uint8_t l___private_Lean_Elab_Term_14__isExplicit(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; -x_2 = l___private_Lean_Elab_Term_12__isExplicit___closed__2; +x_2 = l___private_Lean_Elab_Term_14__isExplicit___closed__2; lean_inc(x_1); x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); if (x_3 == 0) @@ -18354,16 +18508,16 @@ return x_8; } } } -lean_object* l___private_Lean_Elab_Term_12__isExplicit___boxed(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Term_14__isExplicit___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Term_12__isExplicit(x_1); +x_2 = l___private_Lean_Elab_Term_14__isExplicit(x_1); x_3 = lean_box(x_2); return x_3; } } -uint8_t l___private_Lean_Elab_Term_13__isExplicitApp(lean_object* x_1) { +uint8_t l___private_Lean_Elab_Term_15__isExplicitApp(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -18385,21 +18539,21 @@ lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_unsigned_to_nat(0u); x_7 = l_Lean_Syntax_getArg(x_1, x_6); lean_dec(x_1); -x_8 = l___private_Lean_Elab_Term_12__isExplicit(x_7); +x_8 = l___private_Lean_Elab_Term_14__isExplicit(x_7); return x_8; } } } -lean_object* l___private_Lean_Elab_Term_13__isExplicitApp___boxed(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Term_15__isExplicitApp___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Term_13__isExplicitApp(x_1); +x_2 = l___private_Lean_Elab_Term_15__isExplicitApp(x_1); x_3 = lean_box(x_2); return x_3; } } -lean_object* _init_l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1() { +lean_object* _init_l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1() { _start: { lean_object* x_1; @@ -18407,7 +18561,7 @@ x_1 = lean_mk_string("implicitBinder"); return x_1; } } -lean_object* _init_l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2() { +lean_object* _init_l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2() { _start: { lean_object* x_1; @@ -18415,7 +18569,7 @@ x_1 = lean_mk_string("instBinder"); return x_1; } } -uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1(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; @@ -18432,7 +18586,7 @@ else { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_array_fget(x_3, x_5); -x_9 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1; +x_9 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1; lean_inc(x_2); x_10 = lean_name_mk_string(x_2, x_9); lean_inc(x_8); @@ -18441,7 +18595,7 @@ lean_dec(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2; +x_12 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2; lean_inc(x_2); x_13 = lean_name_mk_string(x_2, x_12); x_14 = l_Lean_Syntax_isOfKind(x_8, x_13); @@ -18474,7 +18628,7 @@ return x_18; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__2(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; @@ -18491,7 +18645,7 @@ else { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_array_fget(x_3, x_5); -x_9 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1; +x_9 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1; lean_inc(x_2); x_10 = lean_name_mk_string(x_2, x_9); lean_inc(x_8); @@ -18500,7 +18654,7 @@ lean_dec(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2; +x_12 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2; lean_inc(x_2); x_13 = lean_name_mk_string(x_2, x_12); x_14 = l_Lean_Syntax_isOfKind(x_8, x_13); @@ -18533,7 +18687,7 @@ return x_18; } } } -uint8_t l___private_Lean_Elab_Term_14__isLambdaWithImplicit(lean_object* x_1) { +uint8_t l___private_Lean_Elab_Term_16__isLambdaWithImplicit(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; @@ -18573,7 +18727,7 @@ lean_dec(x_11); x_13 = lean_array_get_size(x_12); x_14 = l_Lean_mkAppStx___closed__6; x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__2(x_1, x_14, x_12, x_13, x_15); +x_16 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__2(x_1, x_14, x_12, x_13, x_15); lean_dec(x_13); lean_dec(x_12); lean_dec(x_1); @@ -18582,11 +18736,11 @@ return x_16; } } } -lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___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* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; -x_6 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -18594,11 +18748,11 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___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* l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; -x_6 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__2(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -18606,16 +18760,16 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l___private_Lean_Elab_Term_14__isLambdaWithImplicit___boxed(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Term_16__isLambdaWithImplicit___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Term_14__isLambdaWithImplicit(x_1); +x_2 = l___private_Lean_Elab_Term_16__isLambdaWithImplicit(x_1); x_3 = lean_box(x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_15__dropTermParens___main(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Term_17__dropTermParens___main(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_20; uint8_t x_21; @@ -18716,11 +18870,11 @@ goto _start; } } } -lean_object* l___private_Lean_Elab_Term_15__dropTermParens(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Term_17__dropTermParens(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Elab_Term_15__dropTermParens___main(x_1); +x_2 = l___private_Lean_Elab_Term_17__dropTermParens___main(x_1); return x_2; } } @@ -18728,18 +18882,18 @@ uint8_t l_Lean_Elab_Term_blockImplicitLambda(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; -x_2 = l___private_Lean_Elab_Term_15__dropTermParens___main(x_1); +x_2 = l___private_Lean_Elab_Term_17__dropTermParens___main(x_1); lean_inc(x_2); -x_3 = l___private_Lean_Elab_Term_12__isExplicit(x_2); +x_3 = l___private_Lean_Elab_Term_14__isExplicit(x_2); if (x_3 == 0) { uint8_t x_4; lean_inc(x_2); -x_4 = l___private_Lean_Elab_Term_13__isExplicitApp(x_2); +x_4 = l___private_Lean_Elab_Term_15__isExplicitApp(x_2); if (x_4 == 0) { uint8_t x_5; -x_5 = l___private_Lean_Elab_Term_14__isLambdaWithImplicit(x_2); +x_5 = l___private_Lean_Elab_Term_16__isLambdaWithImplicit(x_2); return x_5; } else @@ -18768,12 +18922,12 @@ x_3 = lean_box(x_2); return x_3; } } -lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___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_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___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_inc(x_1); -x_9 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_5__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_whnf___at___private_Lean_Elab_Term_6__isTypeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -18849,7 +19003,7 @@ return x_21; } } } -lean_object* l___private_Lean_Elab_Term_16__useImplicitLambda_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_18__useImplicitLambda_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; @@ -18876,7 +19030,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_2, 0); -x_14 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; @@ -19000,7 +19154,7 @@ lean_object* x_39; lean_object* x_40; x_39 = lean_ctor_get(x_2, 0); lean_inc(x_39); lean_dec(x_2); -x_40 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_40 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_40) == 0) { lean_object* x_41; @@ -19119,27 +19273,27 @@ return x_60; } } } -lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___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* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___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_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_2); return x_9; } } -lean_object* l___private_Lean_Elab_Term_16__useImplicitLambda_x3f___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_18__useImplicitLambda_x3f___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_16__useImplicitLambda_x3f(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_18__useImplicitLambda_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_3); return x_10; } } -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___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_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___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: { uint8_t x_10; @@ -19350,7 +19504,7 @@ return x_75; } } } -lean_object* _init_l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__1() { _start: { lean_object* x_1; @@ -19358,17 +19512,17 @@ x_1 = lean_mk_string("implicitForall"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Util_6__regTraceClasses___closed__1; -x_2 = l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__1; +x_2 = l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_17__elabImplicitLambdaAux(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_Term_19__elabImplicitLambdaAux(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; lean_object* x_13; @@ -19380,7 +19534,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_13 = l___private_Lean_Elab_Term_11__elabUsingElabFns(x_1, x_12, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_1, x_12, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -19390,7 +19544,7 @@ x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); lean_inc(x_7); -x_16 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___spec__1(x_4, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_16 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___spec__1(x_4, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_15); if (lean_obj_tag(x_16) == 0) { uint8_t x_17; @@ -19402,7 +19556,7 @@ x_18 = lean_ctor_get(x_16, 0); x_19 = lean_ctor_get(x_16, 1); x_20 = lean_ctor_get(x_9, 0); lean_inc(x_20); -x_21 = l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__2; +x_21 = l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__2; x_22 = l_Lean_checkTraceOption(x_20, x_21); lean_dec(x_20); if (x_22 == 0) @@ -19461,7 +19615,7 @@ lean_inc(x_29); lean_dec(x_16); x_31 = lean_ctor_get(x_9, 0); lean_inc(x_31); -x_32 = l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__2; +x_32 = l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__2; x_33 = l_Lean_checkTraceOption(x_31, x_32); lean_dec(x_31); if (x_33 == 0) @@ -19572,11 +19726,11 @@ return x_47; } } } -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___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_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___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_mkLambdaFVars___at___private_Lean_Elab_Term_17__elabImplicitLambdaAux___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_mkLambdaFVars___at___private_Lean_Elab_Term_19__elabImplicitLambdaAux___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); @@ -19585,17 +19739,17 @@ lean_dec(x_3); return x_10; } } -lean_object* l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___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_Term_19__elabImplicitLambdaAux___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_Term_17__elabImplicitLambdaAux(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_Term_19__elabImplicitLambdaAux(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_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___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* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___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) { _start: { lean_object* x_10; @@ -19603,11 +19757,11 @@ x_10 = lean_apply_8(x_1, x_4, x_2, x_3, x_5, x_6, x_7, x_8, x_9); return x_10; } } -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(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_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(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; lean_object* x_13; -x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg___lambda__1), 9, 3); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg___lambda__1), 9, 3); lean_closure_set(x_12, 0, x_4); lean_closure_set(x_12, 1, x_5); lean_closure_set(x_12, 2, x_6); @@ -19658,15 +19812,15 @@ return x_21; } } } -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1(lean_object* x_1) { +lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg___boxed), 11, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg___boxed), 11, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Term_18__elabImplicitLambda___main___lambda__1(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) { +lean_object* l___private_Lean_Elab_Term_20__elabImplicitLambda___main___lambda__1(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: { lean_object* x_13; lean_object* x_14; @@ -19675,7 +19829,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_14 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_18__useImplicitLambda_x3f___spec__1(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -19685,7 +19839,7 @@ x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); x_17 = lean_array_push(x_2, x_5); -x_18 = l___private_Lean_Elab_Term_18__elabImplicitLambda___main(x_3, x_4, x_15, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_18 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main(x_3, x_4, x_15, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_16); return x_18; } else @@ -19721,7 +19875,7 @@ return x_22; } } } -lean_object* l___private_Lean_Elab_Term_18__elabImplicitLambda___main(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_Term_20__elabImplicitLambda___main(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: { if (lean_obj_tag(x_3) == 7) @@ -19779,12 +19933,12 @@ lean_inc(x_34); lean_dec(x_32); x_35 = l_Lean_addMacroScope(x_30, x_12, x_33); x_36 = lean_box(x_2); -x_37 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_18__elabImplicitLambda___main___lambda__1___boxed), 12, 4); +x_37 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_20__elabImplicitLambda___main___lambda__1___boxed), 12, 4); lean_closure_set(x_37, 0, x_14); lean_closure_set(x_37, 1, x_4); lean_closure_set(x_37, 2, x_1); lean_closure_set(x_37, 3, x_36); -x_38 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_35, x_16, x_13, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_34); +x_38 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_35, x_16, x_13, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_34); return x_38; } else @@ -19832,12 +19986,12 @@ lean_inc(x_54); lean_dec(x_52); x_55 = l_Lean_addMacroScope(x_50, x_12, x_53); x_56 = lean_box(x_2); -x_57 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_18__elabImplicitLambda___main___lambda__1___boxed), 12, 4); +x_57 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_20__elabImplicitLambda___main___lambda__1___boxed), 12, 4); lean_closure_set(x_57, 0, x_14); lean_closure_set(x_57, 1, x_4); lean_closure_set(x_57, 2, x_1); lean_closure_set(x_57, 3, x_56); -x_58 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_55, x_16, x_13, x_57, x_48, x_6, x_7, x_8, x_9, x_10, x_54); +x_58 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_55, x_16, x_13, x_57, x_48, x_6, x_7, x_8, x_9, x_10, x_54); return x_58; } } @@ -19923,12 +20077,12 @@ lean_inc(x_84); lean_dec(x_82); x_85 = l_Lean_addMacroScope(x_80, x_12, x_83); x_86 = lean_box(x_2); -x_87 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_18__elabImplicitLambda___main___lambda__1___boxed), 12, 4); +x_87 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_20__elabImplicitLambda___main___lambda__1___boxed), 12, 4); lean_closure_set(x_87, 0, x_14); lean_closure_set(x_87, 1, x_4); lean_closure_set(x_87, 2, x_1); lean_closure_set(x_87, 3, x_86); -x_88 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(x_85, x_16, x_13, x_87, x_78, x_6, x_7, x_8, x_9, x_10, x_84); +x_88 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(x_85, x_16, x_13, x_87, x_78, x_6, x_7, x_8, x_9, x_10, x_84); return x_88; } } @@ -19938,68 +20092,68 @@ lean_object* x_89; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_89 = l___private_Lean_Elab_Term_17__elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_89 = 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_89; } } else { lean_object* x_90; -x_90 = l___private_Lean_Elab_Term_17__elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_90 = 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_90; } } } -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___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* x_11) { +lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___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* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_2); lean_dec(x_2); -x_13 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_18__elabImplicitLambda___main___spec__1___rarg(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_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_20__elabImplicitLambda___main___spec__1___rarg(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_Term_18__elabImplicitLambda___main___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_Term_20__elabImplicitLambda___main___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: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l___private_Lean_Elab_Term_18__elabImplicitLambda___main___lambda__1(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main___lambda__1(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); return x_14; } } -lean_object* l___private_Lean_Elab_Term_18__elabImplicitLambda___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_Term_20__elabImplicitLambda___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: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_2); lean_dec(x_2); -x_13 = l___private_Lean_Elab_Term_18__elabImplicitLambda___main(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_Term_20__elabImplicitLambda___main(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_Term_18__elabImplicitLambda(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_Term_20__elabImplicitLambda(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; -x_12 = l___private_Lean_Elab_Term_18__elabImplicitLambda___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_Term_20__elabImplicitLambda___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_Term_18__elabImplicitLambda___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_Term_20__elabImplicitLambda___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_Term_18__elabImplicitLambda(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_Term_20__elabImplicitLambda(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_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___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_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___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: { uint8_t x_10; @@ -20048,15 +20202,15 @@ return x_24; } } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1(lean_object* x_1) { +lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg___boxed), 9, 0); return x_2; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(lean_object* x_1) { +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -20067,15 +20221,15 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___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) { _start: { lean_object* x_7; -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg), 1, 0); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg), 1, 0); return x_7; } } -lean_object* _init_l___private_Lean_Elab_Term_19__elabTermAux___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -20087,7 +20241,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_19__elabTermAux___main(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* x_11) { +lean_object* l___private_Lean_Elab_Term_21__elabTermAux___main(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* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -20191,7 +20345,7 @@ lean_ctor_set(x_131, 0, x_4); if (lean_obj_tag(x_1) == 0) { 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_19__elabTermAux___main___closed__1; +x_132 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; x_133 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_133, 0, x_132); lean_ctor_set(x_133, 1, x_131); @@ -20259,7 +20413,7 @@ lean_dec(x_16); if (x_3 == 0) { lean_object* x_45; -x_45 = l___private_Lean_Elab_Term_11__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_44); +x_45 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_44); return x_45; } else @@ -20271,7 +20425,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); lean_inc(x_4); -x_46 = l___private_Lean_Elab_Term_16__useImplicitLambda_x3f(x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_44); +x_46 = l___private_Lean_Elab_Term_18__useImplicitLambda_x3f(x_4, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_44); if (lean_obj_tag(x_46) == 0) { lean_object* x_47; @@ -20283,7 +20437,7 @@ lean_object* x_48; lean_object* x_49; x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); lean_dec(x_46); -x_49 = l___private_Lean_Elab_Term_11__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_48); +x_49 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_48); return x_49; } else @@ -20297,7 +20451,7 @@ x_51 = lean_ctor_get(x_47, 0); lean_inc(x_51); lean_dec(x_47); x_52 = l_Array_empty___closed__1; -x_53 = l___private_Lean_Elab_Term_18__elabImplicitLambda___main(x_4, x_2, x_51, x_52, x_5, x_6, x_7, x_8, x_9, x_10, x_50); +x_53 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main(x_4, x_2, x_51, x_52, x_5, x_6, x_7, x_8, x_9, x_10, x_50); return x_53; } } @@ -20490,7 +20644,7 @@ 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_19__elabTermAux___main___spec__1___rarg(x_100, x_103, x_5, x_6, x_7, x_8, x_9, x_10, x_75); +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_75); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -20518,7 +20672,7 @@ return x_108; else { lean_object* x_109; uint8_t x_110; -x_109 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_75); +x_109 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_75); x_110 = !lean_is_exclusive(x_109); if (x_110 == 0) { @@ -20654,7 +20808,7 @@ lean_ctor_set(x_231, 0, x_4); if (lean_obj_tag(x_1) == 0) { 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; -x_232 = l___private_Lean_Elab_Term_19__elabTermAux___main___closed__1; +x_232 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; x_233 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_233, 0, x_232); lean_ctor_set(x_233, 1, x_231); @@ -20722,7 +20876,7 @@ lean_dec(x_16); if (x_3 == 0) { lean_object* x_155; -x_155 = l___private_Lean_Elab_Term_11__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_152, x_10, x_154); +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 @@ -20734,7 +20888,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); lean_inc(x_4); -x_156 = l___private_Lean_Elab_Term_16__useImplicitLambda_x3f(x_4, x_1, x_5, x_6, x_7, x_8, x_152, x_10, x_154); +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_157; @@ -20746,7 +20900,7 @@ 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_11__elabUsingElabFns(x_4, x_1, x_2, x_5, x_6, x_7, x_8, x_152, x_10, x_158); +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 @@ -20760,7 +20914,7 @@ 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_18__elabImplicitLambda___main(x_4, x_2, x_161, x_162, x_5, x_6, x_7, x_8, x_152, x_10, x_160); +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; } } @@ -20948,7 +21102,7 @@ x_208 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_208, 0, x_207); x_209 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_209, 0, x_208); -x_210 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_206, x_209, x_5, x_6, x_7, x_8, x_152, x_10, x_185); +x_210 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_206, x_209, x_5, x_6, x_7, x_8, x_152, x_10, x_185); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -20978,7 +21132,7 @@ return x_214; else { lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_215 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_185); +x_215 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_185); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -21186,7 +21340,7 @@ lean_ctor_set(x_353, 0, x_4); if (lean_obj_tag(x_1) == 0) { 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; -x_354 = l___private_Lean_Elab_Term_19__elabTermAux___main___closed__1; +x_354 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; x_355 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_355, 0, x_354); lean_ctor_set(x_355, 1, x_353); @@ -21254,7 +21408,7 @@ lean_dec(x_16); if (x_3 == 0) { lean_object* x_277; -x_277 = l___private_Lean_Elab_Term_11__elabUsingElabFns(x_4, x_1, x_2, x_266, x_6, x_7, x_8, x_274, x_10, x_276); +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 @@ -21266,7 +21420,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); lean_inc(x_4); -x_278 = l___private_Lean_Elab_Term_16__useImplicitLambda_x3f(x_4, x_1, x_266, x_6, x_7, x_8, x_274, x_10, x_276); +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; @@ -21278,7 +21432,7 @@ 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_11__elabUsingElabFns(x_4, x_1, x_2, x_266, x_6, x_7, x_8, x_274, x_10, x_280); +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 @@ -21292,7 +21446,7 @@ x_283 = lean_ctor_get(x_279, 0); lean_inc(x_283); lean_dec(x_279); x_284 = l_Array_empty___closed__1; -x_285 = l___private_Lean_Elab_Term_18__elabImplicitLambda___main(x_4, x_2, x_283, x_284, x_266, x_6, x_7, x_8, x_274, x_10, x_282); +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; } } @@ -21480,7 +21634,7 @@ x_330 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_330, 0, x_329); x_331 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_331, 0, x_330); -x_332 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__1___rarg(x_328, x_331, x_266, x_6, x_7, x_8, x_274, x_10, x_307); +x_332 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_328, x_331, x_266, x_6, x_7, x_8, x_274, x_10, x_307); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -21510,7 +21664,7 @@ return x_336; else { lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; -x_337 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2___rarg(x_307); +x_337 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_307); x_338 = lean_ctor_get(x_337, 0); lean_inc(x_338); x_339 = lean_ctor_get(x_337, 1); @@ -21757,7 +21911,7 @@ lean_ctor_set(x_485, 0, x_4); if (lean_obj_tag(x_1) == 0) { 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_19__elabTermAux___main___closed__1; +x_486 = l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1; x_487 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_487, 0, x_486); lean_ctor_set(x_487, 1, x_485); @@ -21825,7 +21979,7 @@ lean_dec(x_380); if (x_3 == 0) { lean_object* x_409; -x_409 = l___private_Lean_Elab_Term_11__elabUsingElabFns(x_4, x_1, x_2, x_398, x_6, x_7, x_8, x_406, x_10, x_408); +x_409 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_398, x_6, x_7, x_8, x_406, x_10, x_408); return x_409; } else @@ -21837,7 +21991,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); lean_inc(x_4); -x_410 = l___private_Lean_Elab_Term_16__useImplicitLambda_x3f(x_4, x_1, x_398, x_6, x_7, x_8, x_406, x_10, x_408); +x_410 = l___private_Lean_Elab_Term_18__useImplicitLambda_x3f(x_4, x_1, x_398, x_6, x_7, x_8, x_406, x_10, x_408); if (lean_obj_tag(x_410) == 0) { lean_object* x_411; @@ -21849,7 +22003,7 @@ lean_object* x_412; lean_object* x_413; x_412 = lean_ctor_get(x_410, 1); lean_inc(x_412); lean_dec(x_410); -x_413 = l___private_Lean_Elab_Term_11__elabUsingElabFns(x_4, x_1, x_2, x_398, x_6, x_7, x_8, x_406, x_10, x_412); +x_413 = l___private_Lean_Elab_Term_13__elabUsingElabFns(x_4, x_1, x_2, x_398, x_6, x_7, x_8, x_406, x_10, x_412); return x_413; } else @@ -21863,7 +22017,7 @@ x_415 = lean_ctor_get(x_411, 0); lean_inc(x_415); lean_dec(x_411); x_416 = l_Array_empty___closed__1; -x_417 = l___private_Lean_Elab_Term_18__elabImplicitLambda___main(x_4, x_2, x_415, x_416, x_398, x_6, x_7, x_8, x_406, x_10, x_414); +x_417 = l___private_Lean_Elab_Term_20__elabImplicitLambda___main(x_4, x_2, x_415, x_416, x_398, x_6, x_7, x_8, x_406, x_10, x_414); return x_417; } } @@ -22051,7 +22205,7 @@ 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_19__elabTermAux___main___spec__1___rarg(x_460, x_463, x_398, x_6, x_7, x_8, x_406, x_10, x_439); +x_464 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_460, x_463, x_398, x_6, x_7, x_8, x_406, x_10, x_439); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -22081,7 +22235,7 @@ 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_19__elabTermAux___main___spec__2___rarg(x_439); +x_469 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__2___rarg(x_439); x_470 = lean_ctor_get(x_469, 0); lean_inc(x_470); x_471 = lean_ctor_get(x_469, 1); @@ -22189,11 +22343,11 @@ return x_510; } } } -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___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_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___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_throwErrorAt___at___private_Lean_Elab_Term_19__elabTermAux___main___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_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___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_6); lean_dec(x_5); @@ -22202,11 +22356,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___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* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___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) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_19__elabTermAux___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_21__elabTermAux___main___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); @@ -22216,7 +22370,7 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Lean_Elab_Term_19__elabTermAux___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_Term_21__elabTermAux___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: { uint8_t x_12; uint8_t x_13; lean_object* x_14; @@ -22224,19 +22378,19 @@ x_12 = lean_unbox(x_2); lean_dec(x_2); x_13 = lean_unbox(x_3); lean_dec(x_3); -x_14 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_14; } } -lean_object* l___private_Lean_Elab_Term_19__elabTermAux(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* x_11) { +lean_object* l___private_Lean_Elab_Term_21__elabTermAux(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* x_11) { _start: { lean_object* x_12; -x_12 = l___private_Lean_Elab_Term_19__elabTermAux___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_Term_21__elabTermAux___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_Term_19__elabTermAux___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_Term_21__elabTermAux___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; uint8_t x_13; lean_object* x_14; @@ -22244,7 +22398,7 @@ x_12 = lean_unbox(x_2); lean_dec(x_2); x_13 = lean_unbox(x_3); lean_dec(x_3); -x_14 = l___private_Lean_Elab_Term_19__elabTermAux(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l___private_Lean_Elab_Term_21__elabTermAux(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_14; } } @@ -22265,7 +22419,7 @@ lean_dec(x_12); lean_dec(x_14); lean_ctor_set(x_8, 3, x_15); x_16 = 1; -x_17 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_3, x_16, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_17 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_3, x_16, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_17; } else @@ -22292,7 +22446,7 @@ lean_ctor_set(x_25, 1, x_19); lean_ctor_set(x_25, 2, x_20); lean_ctor_set(x_25, 3, x_24); x_26 = 1; -x_27 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_3, x_26, x_1, x_4, x_5, x_6, x_7, x_25, x_9, x_10); +x_27 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_3, x_26, x_1, x_4, x_5, x_6, x_7, x_25, x_9, x_10); return x_27; } } @@ -22307,76 +22461,77 @@ x_12 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x return x_12; } } -lean_object* l_Lean_Elab_Term_elabTermEnsuringType(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_Lean_Elab_Term_elabTermEnsuringType(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_11; +lean_object* x_12; +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); lean_inc(x_2); lean_inc(x_1); -x_11 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +x_12 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -lean_dec(x_11); -x_14 = !lean_is_exclusive(x_8); -if (x_14 == 0) +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_9); +if (x_15 == 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_8, 3); -x_16 = l_Lean_replaceRef(x_1, x_15); +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_9, 3); +x_17 = l_Lean_replaceRef(x_1, x_16); lean_dec(x_1); -x_17 = l_Lean_replaceRef(x_16, x_15); -lean_dec(x_16); -x_18 = l_Lean_replaceRef(x_17, x_15); -lean_dec(x_15); +x_18 = l_Lean_replaceRef(x_17, x_16); lean_dec(x_17); -lean_ctor_set(x_8, 3, x_18); -x_19 = l_Lean_Elab_Term_ensureHasType(x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -lean_dec(x_5); -return x_19; +x_19 = l_Lean_replaceRef(x_18, x_16); +lean_dec(x_16); +lean_dec(x_18); +lean_ctor_set(x_9, 3, x_19); +x_20 = l_Lean_Elab_Term_ensureHasType(x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +lean_dec(x_6); +return x_20; } 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; -x_20 = lean_ctor_get(x_8, 0); -x_21 = lean_ctor_get(x_8, 1); -x_22 = lean_ctor_get(x_8, 2); -x_23 = lean_ctor_get(x_8, 3); +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; +x_21 = lean_ctor_get(x_9, 0); +x_22 = lean_ctor_get(x_9, 1); +x_23 = lean_ctor_get(x_9, 2); +x_24 = lean_ctor_get(x_9, 3); +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_24 = l_Lean_replaceRef(x_1, x_23); +lean_dec(x_9); +x_25 = l_Lean_replaceRef(x_1, x_24); lean_dec(x_1); -x_25 = l_Lean_replaceRef(x_24, x_23); -lean_dec(x_24); -x_26 = l_Lean_replaceRef(x_25, x_23); -lean_dec(x_23); +x_26 = l_Lean_replaceRef(x_25, x_24); lean_dec(x_25); -x_27 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_27, 0, x_20); -lean_ctor_set(x_27, 1, x_21); -lean_ctor_set(x_27, 2, x_22); -lean_ctor_set(x_27, 3, x_26); -x_28 = l_Lean_Elab_Term_ensureHasType(x_2, x_12, x_4, x_5, x_6, x_7, x_27, x_9, x_13); -lean_dec(x_5); -return x_28; +x_27 = l_Lean_replaceRef(x_26, x_24); +lean_dec(x_24); +lean_dec(x_26); +x_28 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_28, 0, x_21); +lean_ctor_set(x_28, 1, x_22); +lean_ctor_set(x_28, 2, x_23); +lean_ctor_set(x_28, 3, x_27); +x_29 = l_Lean_Elab_Term_ensureHasType(x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_28, x_10, x_14); +lean_dec(x_6); +return x_29; } } else { -uint8_t x_29; +uint8_t x_30; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -22385,35 +22540,35 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_11); -if (x_29 == 0) +x_30 = !lean_is_exclusive(x_12); +if (x_30 == 0) { -return x_11; +return x_12; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_11, 0); -x_31 = lean_ctor_get(x_11, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_12, 0); +x_32 = lean_ctor_get(x_12, 1); +lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_11); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_dec(x_12); +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; } } } } -lean_object* l_Lean_Elab_Term_elabTermEnsuringType___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_Elab_Term_elabTermEnsuringType___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_11; lean_object* x_12; -x_11 = lean_unbox(x_3); +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_3); lean_dec(x_3); -x_12 = l_Lean_Elab_Term_elabTermEnsuringType(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; +x_13 = l_Lean_Elab_Term_elabTermEnsuringType(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_Lean_Elab_Term_elabTermWithoutImplicitLambdas(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) { @@ -22421,7 +22576,7 @@ _start: { uint8_t x_11; lean_object* x_12; x_11 = 0; -x_12 = l___private_Lean_Elab_Term_19__elabTermAux___main(x_2, x_3, x_11, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l___private_Lean_Elab_Term_21__elabTermAux___main(x_2, x_3, x_11, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_12; } } @@ -22683,7 +22838,7 @@ lean_dec(x_3); return x_9; } } -lean_object* _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__1() { _start: { lean_object* x_1; @@ -22691,17 +22846,17 @@ x_1 = lean_mk_string("CoeSort"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_22__tryCoeSort___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_Term_20__tryCoeSort___closed__1; +x_2 = l___private_Lean_Elab_Term_22__tryCoeSort___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__3() { +lean_object* _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__3() { _start: { lean_object* x_1; @@ -22709,31 +22864,31 @@ x_1 = lean_mk_string("type expected"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__4() { +lean_object* _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_20__tryCoeSort___closed__3; +x_1 = l___private_Lean_Elab_Term_22__tryCoeSort___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_Term_20__tryCoeSort___closed__5() { +lean_object* _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Term_20__tryCoeSort___closed__4; +x_1 = l___private_Lean_Elab_Term_22__tryCoeSort___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_Term_20__tryCoeSort___closed__6() { +lean_object* _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Term_20__tryCoeSort___closed__5; +x_1 = l___private_Lean_Elab_Term_22__tryCoeSort___closed__5; x_2 = l_Lean_MessageData_ofList___closed__3; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22741,7 +22896,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__7() { +lean_object* _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__7() { _start: { lean_object* x_1; @@ -22749,24 +22904,24 @@ x_1 = lean_mk_string("coeSort"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__8() { +lean_object* _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__8() { _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_20__tryCoeSort___closed__7; +x_2 = l___private_Lean_Elab_Term_22__tryCoeSort___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_20__tryCoeSort(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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_22__tryCoeSort(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = 0; x_11 = lean_box(0); lean_inc(x_5); -x_12 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -22807,7 +22962,7 @@ lean_ctor_set(x_22, 1, x_21); x_23 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_23, 0, x_16); lean_ctor_set(x_23, 1, x_22); -x_24 = l___private_Lean_Elab_Term_20__tryCoeSort___closed__2; +x_24 = l___private_Lean_Elab_Term_22__tryCoeSort___closed__2; lean_inc(x_23); x_25 = l_Lean_mkConst(x_24, x_23); x_26 = l_Lean_mkAppStx___closed__9; @@ -22868,7 +23023,7 @@ lean_dec(x_1); x_56 = lean_ctor_get(x_53, 1); lean_inc(x_56); lean_dec(x_53); -x_57 = l___private_Lean_Elab_Term_20__tryCoeSort___closed__5; +x_57 = l___private_Lean_Elab_Term_22__tryCoeSort___closed__5; lean_inc(x_3); x_58 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_57, x_3, x_4, x_5, x_6, x_52, x_8, x_56); lean_dec(x_52); @@ -22896,7 +23051,7 @@ if (x_61 == 0) lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; x_62 = lean_ctor_get(x_53, 0); lean_dec(x_62); -x_63 = l___private_Lean_Elab_Term_20__tryCoeSort___closed__8; +x_63 = l___private_Lean_Elab_Term_22__tryCoeSort___closed__8; x_64 = l_Lean_mkConst(x_63, x_23); x_65 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; x_66 = lean_array_push(x_65, x_1); @@ -22914,7 +23069,7 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean x_71 = lean_ctor_get(x_53, 1); lean_inc(x_71); lean_dec(x_53); -x_72 = l___private_Lean_Elab_Term_20__tryCoeSort___closed__8; +x_72 = l___private_Lean_Elab_Term_22__tryCoeSort___closed__8; x_73 = l_Lean_mkConst(x_72, x_23); x_74 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; x_75 = lean_array_push(x_74, x_1); @@ -22956,7 +23111,7 @@ lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); -x_40 = l___private_Lean_Elab_Term_20__tryCoeSort___closed__6; +x_40 = l___private_Lean_Elab_Term_22__tryCoeSort___closed__6; x_41 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -22971,7 +23126,7 @@ else { lean_object* x_43; lean_object* x_44; lean_dec(x_37); -x_43 = l___private_Lean_Elab_Term_20__tryCoeSort___closed__5; +x_43 = l___private_Lean_Elab_Term_22__tryCoeSort___closed__5; x_44 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_38); lean_dec(x_8); lean_dec(x_7); @@ -23045,11 +23200,11 @@ return x_90; } } } -lean_object* l___private_Lean_Elab_Term_20__tryCoeSort___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_22__tryCoeSort___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_20__tryCoeSort(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_22__tryCoeSort(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; } @@ -23220,7 +23375,7 @@ lean_object* x_23; lean_object* x_24; x_23 = lean_ctor_get(x_20, 1); lean_inc(x_23); lean_dec(x_20); -x_24 = l___private_Lean_Elab_Term_20__tryCoeSort(x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_23); +x_24 = l___private_Lean_Elab_Term_22__tryCoeSort(x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_23); return x_24; } else @@ -23713,7 +23868,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_21__elabOptLevel(lean_object* x_1, lean_object* x_2, lean_object* 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_23__elabOptLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -23737,11 +23892,11 @@ return x_14; } } } -lean_object* l___private_Lean_Elab_Term_21__elabOptLevel___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_23__elabOptLevel___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_21__elabOptLevel(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Lean_Elab_Term_23__elabOptLevel(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); @@ -23758,7 +23913,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_unsigned_to_nat(1u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l___private_Lean_Elab_Term_21__elabOptLevel(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l___private_Lean_Elab_Term_23__elabOptLevel(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_11); if (lean_obj_tag(x_12) == 0) { @@ -23862,7 +24017,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_unsigned_to_nat(1u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l___private_Lean_Elab_Term_21__elabOptLevel(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l___private_Lean_Elab_Term_23__elabOptLevel(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_11); if (lean_obj_tag(x_12) == 0) { @@ -24869,7 +25024,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_22__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; @@ -24921,11 +25076,11 @@ return x_26; } } } -lean_object* l___private_Lean_Elab_Term_22__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___private_Lean_Elab_Term_22__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); @@ -24980,7 +25135,7 @@ 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 = l___private_Lean_Elab_Term_22__mkTacticMVar(x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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); lean_dec(x_3); return x_13; } @@ -25034,7 +25189,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_23__mkPairsAux___main___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_25__mkPairsAux___main___closed__1() { _start: { lean_object* x_1; @@ -25042,22 +25197,22 @@ x_1 = lean_mk_string("Prod.mk"); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_23__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_23__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_23__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_23__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_23__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); @@ -25065,7 +25220,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Lean_Elab_Term_23__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; @@ -25077,19 +25232,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Lean_Elab_Term_23__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_23__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_23__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; @@ -25120,8 +25275,8 @@ lean_inc(x_14); x_15 = l_Lean_Prod_hasQuote___rarg___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_23__mkPairsAux___main___closed__3; -x_19 = l___private_Lean_Elab_Term_23__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); @@ -25146,28 +25301,28 @@ goto _start; } } } -lean_object* l___private_Lean_Elab_Term_23__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_23__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_23__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_23__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_23__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_23__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; } @@ -25181,7 +25336,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_23__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; } } @@ -25194,7 +25349,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_24__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; @@ -25205,15 +25360,15 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_24__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_24__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_24__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_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; @@ -25331,7 +25486,7 @@ 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_19__elabTermAux___main___spec__1___rarg(x_71, x_74, x_3, x_4, x_5, x_6, x_7, x_8, x_46); +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_46); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -25365,7 +25520,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_80 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_24__elabCDot___spec__1___rarg(x_46); +x_80 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_46); x_81 = !lean_is_exclusive(x_80); if (x_81 == 0) { @@ -25466,11 +25621,11 @@ return x_35; } } } -lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_24__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_24__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); @@ -25554,28 +25709,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_34; lean_object* x_153; uint8_t x_154; -x_153 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; +lean_object* x_10; lean_object* x_11; uint8_t x_34; lean_object* x_154; uint8_t x_155; +x_154 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; lean_inc(x_1); -x_154 = l_Lean_Syntax_isOfKind(x_1, x_153); -if (x_154 == 0) +x_155 = l_Lean_Syntax_isOfKind(x_1, x_154); +if (x_155 == 0) { -uint8_t x_155; -x_155 = 0; -x_34 = x_155; -goto block_152; +uint8_t x_156; +x_156 = 0; +x_34 = x_156; +goto block_153; } else { -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_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; +x_157 = l_Lean_Syntax_getArgs(x_1); +x_158 = lean_array_get_size(x_157); lean_dec(x_157); -x_34 = x_159; -goto block_152; +x_159 = lean_unsigned_to_nat(3u); +x_160 = lean_nat_dec_eq(x_158, x_159); +lean_dec(x_158); +x_34 = x_160; +goto block_153; } block_33: { @@ -25642,7 +25797,7 @@ x_32 = l_Lean_Elab_Term_elabTerm(x_10, x_2, x_31, x_30, x_4, x_5, x_6, x_7, x_8, return x_32; } } -block_152: +block_153: { if (x_34 == 0) { @@ -25660,40 +25815,40 @@ return x_36; } else { -lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_141; uint8_t x_142; +lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_142; uint8_t x_143; x_37 = lean_unsigned_to_nat(1u); x_38 = l_Lean_Syntax_getArg(x_1, x_37); -x_141 = l_Lean_nullKind___closed__2; +x_142 = l_Lean_nullKind___closed__2; lean_inc(x_38); -x_142 = l_Lean_Syntax_isOfKind(x_38, x_141); -if (x_142 == 0) +x_143 = l_Lean_Syntax_isOfKind(x_38, x_142); +if (x_143 == 0) { -uint8_t x_143; -x_143 = 0; -x_39 = x_143; -goto block_140; +uint8_t x_144; +x_144 = 0; +x_39 = x_144; +goto block_141; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; -x_144 = l_Lean_Syntax_getArgs(x_38); -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_148; uint8_t x_149; -x_148 = lean_unsigned_to_nat(2u); -x_149 = lean_nat_dec_eq(x_145, x_148); +lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_145 = l_Lean_Syntax_getArgs(x_38); +x_146 = lean_array_get_size(x_145); lean_dec(x_145); -x_39 = x_149; -goto block_140; +x_147 = lean_unsigned_to_nat(0u); +x_148 = lean_nat_dec_eq(x_146, x_147); +if (x_148 == 0) +{ +lean_object* x_149; uint8_t x_150; +x_149 = lean_unsigned_to_nat(2u); +x_150 = lean_nat_dec_eq(x_146, x_149); +lean_dec(x_146); +x_39 = x_150; +goto block_141; } else { -lean_object* x_150; lean_object* x_151; -lean_dec(x_145); +lean_object* x_151; lean_object* x_152; +lean_dec(x_146); lean_dec(x_38); lean_dec(x_8); lean_dec(x_7); @@ -25703,14 +25858,14 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -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; +x_151 = l_Lean_unitToExpr___lambda__1___closed__3; +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_9); +return x_152; } } -block_140: +block_141: { if (x_39 == 0) { @@ -25739,23 +25894,23 @@ lean_inc(x_44); x_46 = l_Lean_Syntax_isOfKind(x_44, x_45); if (x_46 == 0) { -uint8_t x_136; -x_136 = 0; -x_47 = x_136; -goto block_135; +uint8_t x_137; +x_137 = 0; +x_47 = x_137; +goto block_136; } else { -lean_object* x_137; lean_object* x_138; uint8_t x_139; -x_137 = l_Lean_Syntax_getArgs(x_44); -x_138 = lean_array_get_size(x_137); -lean_dec(x_137); -x_139 = lean_nat_dec_eq(x_138, x_37); +lean_object* x_138; lean_object* x_139; uint8_t x_140; +x_138 = l_Lean_Syntax_getArgs(x_44); +x_139 = lean_array_get_size(x_138); lean_dec(x_138); -x_47 = x_139; -goto block_135; +x_140 = lean_nat_dec_eq(x_139, x_37); +lean_dec(x_139); +x_47 = x_140; +goto block_136; } -block_135: +block_136: { if (x_47 == 0) { @@ -25801,37 +25956,37 @@ return x_54; else { lean_object* x_55; -x_55 = l___private_Lean_Elab_Term_24__elabCDot(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_55 = l___private_Lean_Elab_Term_26__elabCDot(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_55; } } } else { -lean_object* x_56; uint8_t x_57; uint8_t x_102; lean_object* x_128; uint8_t x_129; +lean_object* x_56; uint8_t x_57; uint8_t x_102; lean_object* x_129; uint8_t x_130; x_56 = l_Lean_Syntax_getArg(x_44, x_42); lean_dec(x_44); -x_128 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__24; +x_129 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__24; lean_inc(x_56); -x_129 = l_Lean_Syntax_isOfKind(x_56, x_128); -if (x_129 == 0) +x_130 = l_Lean_Syntax_isOfKind(x_56, x_129); +if (x_130 == 0) { -uint8_t x_130; -x_130 = 0; -x_102 = x_130; -goto block_127; +uint8_t x_131; +x_131 = 0; +x_102 = x_131; +goto block_128; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; -x_131 = l_Lean_Syntax_getArgs(x_56); -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_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; +x_132 = l_Lean_Syntax_getArgs(x_56); +x_133 = lean_array_get_size(x_132); lean_dec(x_132); -x_102 = x_134; -goto block_127; +x_134 = lean_unsigned_to_nat(2u); +x_135 = lean_nat_dec_eq(x_133, x_134); +lean_dec(x_133); +x_102 = x_135; +goto block_128; } block_101: { @@ -25958,7 +26113,7 @@ goto block_33; } } } -block_127: +block_128: { if (x_102 == 0) { @@ -26017,22 +26172,23 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_114); -x_115 = l___private_Lean_Elab_Term_24__elabCDot(x_43, x_114, x_3, x_4, x_5, x_6, x_7, x_8, x_113); +x_115 = l___private_Lean_Elab_Term_26__elabCDot(x_43, 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_116; lean_object* x_117; lean_object* x_118; +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; 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); +x_118 = lean_box(0); +x_119 = l_Lean_Elab_Term_ensureHasType(x_114, x_116, x_118, x_3, x_4, x_5, x_6, x_7, x_8, x_117); lean_dec(x_4); -return x_118; +return x_119; } else { -uint8_t x_119; +uint8_t x_120; lean_dec(x_114); lean_dec(x_8); lean_dec(x_7); @@ -26040,29 +26196,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_119 = !lean_is_exclusive(x_115); -if (x_119 == 0) +x_120 = !lean_is_exclusive(x_115); +if (x_120 == 0) { return x_115; } else { -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_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_115, 0); +x_122 = lean_ctor_get(x_115, 1); +lean_inc(x_122); 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; +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_123; +uint8_t x_124; lean_dec(x_43); lean_dec(x_8); lean_dec(x_7); @@ -26070,23 +26226,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_123 = !lean_is_exclusive(x_111); -if (x_123 == 0) +x_124 = !lean_is_exclusive(x_111); +if (x_124 == 0) { return x_111; } else { -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_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_111, 0); +x_126 = lean_ctor_get(x_111, 1); +lean_inc(x_126); 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; +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; } } } @@ -26478,7 +26634,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_25__resolveLocalNameAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux___main(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; lean_object* x_10; @@ -26560,28 +26716,28 @@ return x_23; } } } -lean_object* l___private_Lean_Elab_Term_25__resolveLocalNameAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux___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_Term_25__resolveLocalNameAux___main(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Elab_Term_27__resolveLocalNameAux___main(x_1, x_2, x_3, x_4); lean_dec(x_2); return x_5; } } -lean_object* l___private_Lean_Elab_Term_25__resolveLocalNameAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux(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_Term_25__resolveLocalNameAux___main(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Elab_Term_27__resolveLocalNameAux___main(x_1, x_2, x_3, x_4); return x_5; } } -lean_object* l___private_Lean_Elab_Term_25__resolveLocalNameAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Elab_Term_27__resolveLocalNameAux___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_Term_25__resolveLocalNameAux(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Elab_Term_27__resolveLocalNameAux(x_1, x_2, x_3, x_4); lean_dec(x_2); return x_5; } @@ -26597,7 +26753,7 @@ x_10 = l_Lean_extractMacroScopes(x_1); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_box(0); -x_13 = l___private_Lean_Elab_Term_25__resolveLocalNameAux___main(x_9, x_10, x_11, x_12); +x_13 = l___private_Lean_Elab_Term_27__resolveLocalNameAux___main(x_9, x_10, x_11, x_12); lean_dec(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_13); @@ -26816,7 +26972,7 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Nat_foldMAux___main___at___private_Lean_Elab_Term_26__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_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) { _start: { lean_object* x_11; uint8_t x_12; @@ -26853,22 +27009,22 @@ return x_20; } } } -lean_object* l___private_Lean_Elab_Term_26__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_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) { _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_26__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_28__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_26__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_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) { _start: { lean_object* x_11; -x_11 = l_Nat_foldMAux___main___at___private_Lean_Elab_Term_26__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_28__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); @@ -26879,11 +27035,11 @@ lean_dec(x_1); return x_11; } } -lean_object* l___private_Lean_Elab_Term_26__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_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) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Elab_Term_26__mkFreshLevelMVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +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); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -27039,7 +27195,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_26__mkFreshLevelMVars(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +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); lean_dec(x_3); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) @@ -27132,7 +27288,7 @@ lean_dec(x_4); return x_10; } } -lean_object* l_List_foldlM___main___at___private_Lean_Elab_Term_27__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_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) { _start: { if (lean_obj_tag(x_3) == 0) @@ -27350,7 +27506,7 @@ return x_52; } } } -lean_object* l___private_Lean_Elab_Term_27__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_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) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -27359,15 +27515,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_27__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_29__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_27__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_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) { _start: { lean_object* x_11; -x_11 = l_List_foldlM___main___at___private_Lean_Elab_Term_27__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_29__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); @@ -27376,11 +27532,11 @@ lean_dec(x_5); return x_11; } } -lean_object* l___private_Lean_Elab_Term_27__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_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) { _start: { lean_object* x_10; -x_10 = l___private_Lean_Elab_Term_27__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_29__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); @@ -28025,7 +28181,7 @@ if (x_14 == 0) { lean_object* x_15; lean_dec(x_1); -x_15 = l___private_Lean_Elab_Term_27__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_29__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; } @@ -28045,7 +28201,7 @@ if (x_19 == 0) { lean_object* x_20; lean_dec(x_1); -x_20 = l___private_Lean_Elab_Term_27__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_29__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; } @@ -28561,7 +28717,7 @@ uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_obje x_12 = 1; x_13 = lean_box(0); lean_inc(x_5); -x_14 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_8__exceptionToSorry___spec__2(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_11); +x_14 = l_Lean_Meta_mkFreshTypeMVar___at___private_Lean_Elab_Term_10__exceptionToSorry___spec__2(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_11); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -29093,7 +29249,6 @@ lean_dec(x_11); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; -lean_dec(x_2); x_13 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); @@ -29104,308 +29259,223 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Lean_Syntax_getArg(x_1, x_15); -x_17 = lean_box(0); -x_18 = 1; +uint8_t x_14; +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; lean_object* x_20; +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_unsigned_to_nat(1u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +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_19 = l_Lean_Elab_Term_elabTerm(x_16, x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_19) == 0) +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_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_22 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_21); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unsigned_to_nat(3u); -x_26 = l_Lean_Syntax_getArg(x_1, x_25); -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_27 = l_Lean_Elab_Term_elabTerm(x_26, x_2, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_24); -if (lean_obj_tag(x_27) == 0) +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_unsigned_to_nat(3u); +x_27 = l_Lean_Syntax_getArg(x_1, x_26); +lean_ctor_set(x_12, 0, x_24); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_15); +x_29 = l_Lean_Elab_Term_elabTermEnsuringType(x_27, x_12, x_19, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +return x_29; +} +else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -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_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_28); -x_30 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_29); -if (lean_obj_tag(x_30) == 0) +uint8_t x_30; +lean_free_object(x_12); +lean_dec(x_15); +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_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else { lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); lean_inc(x_32); -lean_dec(x_30); +lean_inc(x_31); +lean_dec(x_23); +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_12); +lean_dec(x_15); +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_34 = !lean_is_exclusive(x_20); +if (x_34 == 0) +{ +return x_20; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_20, 0); +x_36 = lean_ctor_get(x_20, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_20); +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; uint8_t x_42; lean_object* x_43; +x_38 = lean_ctor_get(x_12, 0); +lean_inc(x_38); +lean_dec(x_12); +x_39 = lean_unsigned_to_nat(1u); +x_40 = l_Lean_Syntax_getArg(x_1, x_39); +x_41 = lean_box(0); +x_42 = 1; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_23); -lean_inc(x_31); -x_33 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_31, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_32); -if (lean_obj_tag(x_33) == 0) +lean_inc(x_4); +lean_inc(x_3); +x_43 = l_Lean_Elab_Term_elabTerm(x_40, x_41, x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_unbox(x_34); -lean_dec(x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = l_Lean_Elab_Term_mkTypeMismatchError(x_28, x_31, x_23, x_14); -x_38 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_36); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -return x_38; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_38, 0); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_38); -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 -{ -uint8_t x_43; -lean_dec(x_31); -lean_dec(x_23); -lean_dec(x_14); -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_43 = !lean_is_exclusive(x_33); -if (x_43 == 0) -{ -lean_object* x_44; -x_44 = lean_ctor_get(x_33, 0); -lean_dec(x_44); -lean_ctor_set(x_33, 0, x_28); -return x_33; -} -else -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_33, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +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_33); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_28); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else +lean_dec(x_43); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_46 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_45); +if (lean_obj_tag(x_46) == 0) { -uint8_t x_47; -lean_dec(x_31); -lean_dec(x_28); -lean_dec(x_23); -lean_dec(x_14); -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_47 = !lean_is_exclusive(x_33); -if (x_47 == 0) -{ -return x_33; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_33, 0); -x_49 = lean_ctor_get(x_33, 1); -lean_inc(x_49); +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; +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_33); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} +lean_dec(x_46); +x_49 = lean_unsigned_to_nat(3u); +x_50 = l_Lean_Syntax_getArg(x_1, x_49); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_47); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_38); +x_53 = l_Lean_Elab_Term_elabTermEnsuringType(x_50, x_51, x_42, x_52, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +return x_53; } else { -uint8_t x_51; -lean_dec(x_28); -lean_dec(x_23); -lean_dec(x_14); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_38); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_51 = !lean_is_exclusive(x_30); -if (x_51 == 0) -{ -return x_30; +x_54 = lean_ctor_get(x_46, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_46, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_56 = x_46; +} else { + lean_dec_ref(x_46); + x_56 = lean_box(0); } -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_30, 0); -x_53 = lean_ctor_get(x_30, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_30); -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; +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(1, 2, 0); +} else { + x_57 = x_56; } +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_55); +return x_57; } } else { -uint8_t x_55; -lean_dec(x_23); -lean_dec(x_14); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_38); 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_27); -if (x_55 == 0) -{ -return x_27; +x_58 = lean_ctor_get(x_43, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_43, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_60 = x_43; +} else { + lean_dec_ref(x_43); + x_60 = lean_box(0); } -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_27, 0); -x_57 = lean_ctor_get(x_27, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_27); -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; +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(1, 2, 0); +} else { + x_61 = x_60; } -} -} -else -{ -uint8_t x_59; -lean_dec(x_14); -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_59 = !lean_is_exclusive(x_22); -if (x_59 == 0) -{ -return x_22; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_22, 0); -x_61 = lean_ctor_get(x_22, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_22); -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; -} -} -} -else -{ -uint8_t x_63; -lean_dec(x_14); -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_63 = !lean_is_exclusive(x_19); -if (x_63 == 0) -{ -return x_19; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_19, 0); -x_65 = lean_ctor_get(x_19, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_19); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } } @@ -29416,6 +29486,7 @@ _start: { lean_object* x_10; x_10 = l_Lean_Elab_Term_elabEnsureTypeOf(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; } @@ -29457,7 +29528,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_28__mkSomeContext___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_30__mkSomeContext___closed__1() { _start: { lean_object* x_1; @@ -29465,13 +29536,13 @@ x_1 = lean_mk_string(""); return x_1; } } -lean_object* _init_l___private_Lean_Elab_Term_28__mkSomeContext___closed__2() { +lean_object* _init_l___private_Lean_Elab_Term_30__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_28__mkSomeContext___closed__1; +x_3 = l___private_Lean_Elab_Term_30__mkSomeContext___closed__1; x_4 = l_Lean_FileMap_Inhabited___closed__1; x_5 = lean_box(0); x_6 = l_Lean_firstFrontendMacroScope; @@ -29490,11 +29561,11 @@ lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 1, x_7); return x_8; } } -lean_object* _init_l___private_Lean_Elab_Term_28__mkSomeContext() { +lean_object* _init_l___private_Lean_Elab_Term_30__mkSomeContext() { _start: { lean_object* x_1; -x_1 = l___private_Lean_Elab_Term_28__mkSomeContext___closed__2; +x_1 = l___private_Lean_Elab_Term_30__mkSomeContext___closed__2; return x_1; } } @@ -30615,7 +30686,7 @@ lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); lean_dec(x_52); -x_55 = l___private_Lean_Elab_Term_28__mkSomeContext; +x_55 = l___private_Lean_Elab_Term_30__mkSomeContext; x_56 = l_Lean_Elab_Term_MetaHasEval___rarg___closed__2; lean_inc(x_38); lean_inc(x_32); @@ -30964,21 +31035,21 @@ 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_29__regTraceClasses___closed__1() { +lean_object* _init_l___private_Lean_Elab_Term_31__regTraceClasses___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Util_6__regTraceClasses___closed__1; -x_2 = l_Lean_Elab_Term_tryCoe___closed__4; +x_2 = l___private_Lean_Elab_Term_5__tryCoe___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Elab_Term_29__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Lean_Elab_Term_31__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Term_9__postponeElabTerm___closed__1; +x_2 = l___private_Lean_Elab_Term_11__postponeElabTerm___closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -30986,7 +31057,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_29__regTraceClasses___closed__1; +x_5 = l___private_Lean_Elab_Term_31__regTraceClasses___closed__1; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -31312,8 +31383,6 @@ l___private_Lean_Elab_Term_4__expandCDot___main___closed__2 = _init_l___private_ lean_mark_persistent(l___private_Lean_Elab_Term_4__expandCDot___main___closed__2); l___private_Lean_Elab_Term_4__expandCDot___main___closed__3 = _init_l___private_Lean_Elab_Term_4__expandCDot___main___closed__3(); lean_mark_persistent(l___private_Lean_Elab_Term_4__expandCDot___main___closed__3); -l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__1 = _init_l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__1); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2(); @@ -31340,58 +31409,60 @@ l_Lean_Elab_Term_synthesizeInstMVarCore___closed__12 = _init_l_Lean_Elab_Term_sy lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__12); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__13 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__13(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__13); -l_Lean_Elab_Term_tryCoe___closed__1 = _init_l_Lean_Elab_Term_tryCoe___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_tryCoe___closed__1); -l_Lean_Elab_Term_tryCoe___closed__2 = _init_l_Lean_Elab_Term_tryCoe___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_tryCoe___closed__2); -l_Lean_Elab_Term_tryCoe___closed__3 = _init_l_Lean_Elab_Term_tryCoe___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_tryCoe___closed__3); -l_Lean_Elab_Term_tryCoe___closed__4 = _init_l_Lean_Elab_Term_tryCoe___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_tryCoe___closed__4); -l_Lean_Elab_Term_tryCoe___closed__5 = _init_l_Lean_Elab_Term_tryCoe___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_tryCoe___closed__5); -l___private_Lean_Elab_Term_6__isMonad_x3f___closed__1 = _init_l___private_Lean_Elab_Term_6__isMonad_x3f___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_6__isMonad_x3f___closed__1); -l___private_Lean_Elab_Term_6__isMonad_x3f___closed__2 = _init_l___private_Lean_Elab_Term_6__isMonad_x3f___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_6__isMonad_x3f___closed__2); -l_Lean_Elab_Term_tryLiftAndCoe___closed__1 = _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_tryLiftAndCoe___closed__1); -l_Lean_Elab_Term_tryLiftAndCoe___closed__2 = _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_tryLiftAndCoe___closed__2); -l_Lean_Elab_Term_tryLiftAndCoe___closed__3 = _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_tryLiftAndCoe___closed__3); -l_Lean_Elab_Term_tryLiftAndCoe___closed__4 = _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_tryLiftAndCoe___closed__4); -l_Lean_Elab_Term_tryLiftAndCoe___closed__5 = _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_tryLiftAndCoe___closed__5); -l_Lean_Elab_Term_tryLiftAndCoe___closed__6 = _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_tryLiftAndCoe___closed__6); -l_Lean_Elab_Term_tryLiftAndCoe___closed__7 = _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_tryLiftAndCoe___closed__7); -l_Lean_Elab_Term_tryLiftAndCoe___closed__8 = _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_tryLiftAndCoe___closed__8); -l_Lean_Elab_Term_tryLiftAndCoe___closed__9 = _init_l_Lean_Elab_Term_tryLiftAndCoe___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_tryLiftAndCoe___closed__9); -l___private_Lean_Elab_Term_9__postponeElabTerm___closed__1 = _init_l___private_Lean_Elab_Term_9__postponeElabTerm___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_9__postponeElabTerm___closed__1); -l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__1 = _init_l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__1); -l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__2 = _init_l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__2); -l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__3 = _init_l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Term_10__elabUsingElabFnsAux___main___closed__3); -l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__1 = _init_l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__1); -l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__2 = _init_l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__2); -l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__3 = _init_l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__3); -l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__4 = _init_l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__4); -l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__5 = _init_l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__5); -l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6 = _init_l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Term_11__elabUsingElabFns___closed__6); +l___private_Lean_Elab_Term_5__tryCoe___closed__1 = _init_l___private_Lean_Elab_Term_5__tryCoe___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_5__tryCoe___closed__1); +l___private_Lean_Elab_Term_5__tryCoe___closed__2 = _init_l___private_Lean_Elab_Term_5__tryCoe___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_5__tryCoe___closed__2); +l___private_Lean_Elab_Term_5__tryCoe___closed__3 = _init_l___private_Lean_Elab_Term_5__tryCoe___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_5__tryCoe___closed__3); +l___private_Lean_Elab_Term_5__tryCoe___closed__4 = _init_l___private_Lean_Elab_Term_5__tryCoe___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Term_5__tryCoe___closed__4); +l___private_Lean_Elab_Term_5__tryCoe___closed__5 = _init_l___private_Lean_Elab_Term_5__tryCoe___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Term_5__tryCoe___closed__5); +l___private_Lean_Elab_Term_7__isMonad_x3f___closed__1 = _init_l___private_Lean_Elab_Term_7__isMonad_x3f___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_7__isMonad_x3f___closed__1); +l___private_Lean_Elab_Term_7__isMonad_x3f___closed__2 = _init_l___private_Lean_Elab_Term_7__isMonad_x3f___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_7__isMonad_x3f___closed__2); +l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__1 = _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__1); +l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__2 = _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__2); +l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__3 = _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__3); +l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__4 = _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__4); +l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__5 = _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__5); +l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__6 = _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__6); +l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__7 = _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__7); +l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__8 = _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__8); +l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__9 = _init_l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__9(); +lean_mark_persistent(l___private_Lean_Elab_Term_9__tryLiftAndCoe___closed__9); +l_Lean_Elab_Term_ensureHasTypeAux___closed__1 = _init_l_Lean_Elab_Term_ensureHasTypeAux___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_ensureHasTypeAux___closed__1); +l___private_Lean_Elab_Term_11__postponeElabTerm___closed__1 = _init_l___private_Lean_Elab_Term_11__postponeElabTerm___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_11__postponeElabTerm___closed__1); +l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__1 = _init_l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__1); +l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__2 = _init_l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__2); +l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3 = _init_l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_12__elabUsingElabFnsAux___main___closed__3); +l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__1 = _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__1); +l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__2 = _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__2); +l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3 = _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__3); +l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__4 = _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__4); +l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__5 = _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__5); +l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6 = _init_l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Term_13__elabUsingElabFns___closed__6); l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__1 = _init_l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__1); l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__2 = _init_l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__2(); @@ -31406,36 +31477,36 @@ l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__6 = _init_l_Lean_Elab_Ter lean_mark_persistent(l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__6); l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter = _init_l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter(); lean_mark_persistent(l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter); -l___private_Lean_Elab_Term_12__isExplicit___closed__1 = _init_l___private_Lean_Elab_Term_12__isExplicit___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_12__isExplicit___closed__1); -l___private_Lean_Elab_Term_12__isExplicit___closed__2 = _init_l___private_Lean_Elab_Term_12__isExplicit___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_12__isExplicit___closed__2); -l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1 = _init_l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1(); -lean_mark_persistent(l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__1); -l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2 = _init_l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2(); -lean_mark_persistent(l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_14__isLambdaWithImplicit___spec__1___closed__2); -l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__1 = _init_l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__1); -l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__2 = _init_l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_17__elabImplicitLambdaAux___closed__2); -l___private_Lean_Elab_Term_19__elabTermAux___main___closed__1 = _init_l___private_Lean_Elab_Term_19__elabTermAux___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_19__elabTermAux___main___closed__1); -l___private_Lean_Elab_Term_20__tryCoeSort___closed__1 = _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_20__tryCoeSort___closed__1); -l___private_Lean_Elab_Term_20__tryCoeSort___closed__2 = _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_20__tryCoeSort___closed__2); -l___private_Lean_Elab_Term_20__tryCoeSort___closed__3 = _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Term_20__tryCoeSort___closed__3); -l___private_Lean_Elab_Term_20__tryCoeSort___closed__4 = _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Term_20__tryCoeSort___closed__4); -l___private_Lean_Elab_Term_20__tryCoeSort___closed__5 = _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Term_20__tryCoeSort___closed__5); -l___private_Lean_Elab_Term_20__tryCoeSort___closed__6 = _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__6(); -lean_mark_persistent(l___private_Lean_Elab_Term_20__tryCoeSort___closed__6); -l___private_Lean_Elab_Term_20__tryCoeSort___closed__7 = _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__7(); -lean_mark_persistent(l___private_Lean_Elab_Term_20__tryCoeSort___closed__7); -l___private_Lean_Elab_Term_20__tryCoeSort___closed__8 = _init_l___private_Lean_Elab_Term_20__tryCoeSort___closed__8(); -lean_mark_persistent(l___private_Lean_Elab_Term_20__tryCoeSort___closed__8); +l___private_Lean_Elab_Term_14__isExplicit___closed__1 = _init_l___private_Lean_Elab_Term_14__isExplicit___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_14__isExplicit___closed__1); +l___private_Lean_Elab_Term_14__isExplicit___closed__2 = _init_l___private_Lean_Elab_Term_14__isExplicit___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_14__isExplicit___closed__2); +l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1 = _init_l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1(); +lean_mark_persistent(l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__1); +l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2 = _init_l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2(); +lean_mark_persistent(l_Array_anyRangeMAux___main___at___private_Lean_Elab_Term_16__isLambdaWithImplicit___spec__1___closed__2); +l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__1 = _init_l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__1); +l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__2 = _init_l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_19__elabImplicitLambdaAux___closed__2); +l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1 = _init_l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_21__elabTermAux___main___closed__1); +l___private_Lean_Elab_Term_22__tryCoeSort___closed__1 = _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Term_22__tryCoeSort___closed__1); +l___private_Lean_Elab_Term_22__tryCoeSort___closed__2 = _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Term_22__tryCoeSort___closed__2); +l___private_Lean_Elab_Term_22__tryCoeSort___closed__3 = _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Term_22__tryCoeSort___closed__3); +l___private_Lean_Elab_Term_22__tryCoeSort___closed__4 = _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Term_22__tryCoeSort___closed__4); +l___private_Lean_Elab_Term_22__tryCoeSort___closed__5 = _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Term_22__tryCoeSort___closed__5); +l___private_Lean_Elab_Term_22__tryCoeSort___closed__6 = _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Term_22__tryCoeSort___closed__6); +l___private_Lean_Elab_Term_22__tryCoeSort___closed__7 = _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__7(); +lean_mark_persistent(l___private_Lean_Elab_Term_22__tryCoeSort___closed__7); +l___private_Lean_Elab_Term_22__tryCoeSort___closed__8 = _init_l___private_Lean_Elab_Term_22__tryCoeSort___closed__8(); +lean_mark_persistent(l___private_Lean_Elab_Term_22__tryCoeSort___closed__8); l_Lean_Elab_Term_mkAuxName___closed__1 = _init_l_Lean_Elab_Term_mkAuxName___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__1); l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___closed__2(); @@ -31514,16 +31585,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_23__mkPairsAux___main___closed__1 = _init_l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__1); -l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__2 = _init_l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__2); -l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__3 = _init_l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__3); -l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__4 = _init_l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__4); -l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__5 = _init_l___private_Lean_Elab_Term_23__mkPairsAux___main___closed__5(); -lean_mark_persistent(l___private_Lean_Elab_Term_23__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(); @@ -31666,21 +31737,21 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__3) res = l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Elab_Term_28__mkSomeContext___closed__1 = _init_l___private_Lean_Elab_Term_28__mkSomeContext___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_28__mkSomeContext___closed__1); -l___private_Lean_Elab_Term_28__mkSomeContext___closed__2 = _init_l___private_Lean_Elab_Term_28__mkSomeContext___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Term_28__mkSomeContext___closed__2); -l___private_Lean_Elab_Term_28__mkSomeContext = _init_l___private_Lean_Elab_Term_28__mkSomeContext(); -lean_mark_persistent(l___private_Lean_Elab_Term_28__mkSomeContext); +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_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_Lean_Elab_Term_MetaHasEval___rarg___closed__3 = _init_l_Lean_Elab_Term_MetaHasEval___rarg___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_MetaHasEval___rarg___closed__3); -l___private_Lean_Elab_Term_29__regTraceClasses___closed__1 = _init_l___private_Lean_Elab_Term_29__regTraceClasses___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Term_29__regTraceClasses___closed__1); -res = l___private_Lean_Elab_Term_29__regTraceClasses(lean_io_mk_world()); +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()); 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/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 0a6c7d0fc2..023ca6cb6b 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -162,10 +162,12 @@ lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_sorry_formatter(lean_object*); lean_object* l_Lean_Parser_Term_andthen___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__2; +lean_object* l_Lean_Parser_Term_ensureExpectedType; lean_object* l_Lean_Parser_Term_explicitBinder_formatter___closed__6; lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_have___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_infixL_parenthesizer(lean_object*); +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_bnot___closed__4; lean_object* l_Lean_Parser_Term_sub___elambda__1(lean_object*, lean_object*); @@ -303,6 +305,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_formatter(lean_object lean_object* l_Lean_Parser_Term_bracketedBinder(uint8_t); lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_structInst___closed__6; +lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepBy_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Tactic_seq1___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_unreachable_parenthesizer(lean_object*); @@ -347,6 +350,7 @@ lean_object* l_Lean_Parser_Term_listLit___closed__3; lean_object* l_Lean_Parser_Term_match___closed__7; lean_object* l_Lean_PrettyPrinter_Formatter_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_tupleTail_parenthesizer___closed__3; +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_pow(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_match__syntax_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___closed__1; @@ -422,6 +426,7 @@ lean_object* l_Lean_Parser_Term_show___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_match__syntax___closed__7; lean_object* l_Lean_Parser_Term_match__syntax_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_nativeRefl___elambda__1___closed__5; +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_nativeRefl_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_matchAlt___closed__8; lean_object* l___regBuiltinParser_Lean_Parser_Term_assert(lean_object*); @@ -560,6 +565,7 @@ lean_object* l_Lean_Parser_Term_bor_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_andM___closed__2; lean_object* l_Lean_Parser_Term_implicitBinder_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_emptyC_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_structInstLVal___closed__10; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_type___closed__6; @@ -583,6 +589,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_band_formatter(lean_object*); lean_object* l_Lean_Parser_Term_anonymousCtor___closed__8; lean_object* l_Lean_Parser_Term_dollarProj___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_sort___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_heq___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_unreachable_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_attributes___closed__4; @@ -680,6 +687,7 @@ lean_object* l_Lean_Parser_Term_app_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_explicitBinder_formatter___closed__1; lean_object* l_Lean_Parser_Term_structInstLVal___closed__7; lean_object* l_Lean_Parser_Term_nomatch_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__8; lean_object* l_Lean_Parser_Term_optExprPrecedence_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_gt_formatter___closed__1; lean_object* l_Lean_Parser_Term_bor_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -727,6 +735,7 @@ lean_object* l_Lean_Parser_Term_nativeDecide___elambda__1___closed__2; lean_object* l_Lean_Parser_notFollowedByFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_match__syntax___closed__3; +lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__4; extern lean_object* l_Lean_Parser_symbolNoWsFn___closed__1; lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_if_parenthesizer___closed__5; @@ -1140,6 +1149,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_panic(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_sorry_formatter___closed__1; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__4; +lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letRecDecls___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__4; @@ -1679,6 +1689,7 @@ lean_object* l_Lean_Parser_Term_type___closed__7; lean_object* l_Lean_Parser_Term_arrayRef; lean_object* l_Lean_Parser_Term_cdot; lean_object* l___regBuiltin_Lean_Parser_Term_band_formatter___closed__1; +lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_depArrow___closed__9; lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__3; @@ -1872,6 +1883,7 @@ lean_object* l_Lean_Parser_Term_fcomp; lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_tupleTail___closed__7; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__5; +lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_structInst___closed__14; lean_object* l_Lean_Parser_Term_depArrow___closed__4; @@ -2014,6 +2026,7 @@ lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_subst_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__9; +lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__3; lean_object* l_Lean_Parser_Term_arrayLit_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_append_formatter___closed__1; lean_object* l_Lean_Parser_Term_append___closed__1; @@ -2031,6 +2044,7 @@ lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__2; +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_or___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_sort_formatter___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_seq(lean_object*); @@ -2368,6 +2382,7 @@ lean_object* l_Lean_Parser_Term_funBinder_quot; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__3; lean_object* l_Lean_Parser_Term_show_formatter___closed__4; lean_object* l_Lean_Parser_Term_or___elambda__1___closed__3; +lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter___closed__1; extern lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__3; lean_object* l_Lean_Parser_Term_bne_formatter___closed__1; lean_object* l_Lean_Parser_Term_structInst___closed__12; @@ -2594,6 +2609,7 @@ lean_object* l_Lean_Parser_Term_dollar___closed__6; lean_object* l_Lean_Parser_Level_quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_haveDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__3; lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_match__syntax___closed__2; lean_object* l_Lean_Parser_Term_tparser_x21___elambda__1___closed__5; @@ -2613,6 +2629,7 @@ lean_object* l_Lean_Parser_Term_match__syntax___closed__1; lean_object* l_Lean_Parser_Term_instBinder___closed__2; lean_object* l_Lean_Parser_Term_letDecl___closed__1; lean_object* l_Lean_Parser_Term_unicodeInfixL___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__5; lean_object* l_Lean_Parser_Term_forall_formatter___closed__11; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_subst___elambda__1___spec__2(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_emptyC___closed__4; @@ -2689,6 +2706,7 @@ lean_object* l_Lean_Parser_Tactic_seq1___closed__4; lean_object* l_Lean_Parser_Term_forall_formatter___closed__6; lean_object* l_Lean_Parser_charLit___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2; +lean_object* l___regBuiltinParser_Lean_Parser_Term_ensureExpectedType(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_or_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_uminus___closed__2; lean_object* l_Lean_Parser_toggleInsideQuotFn(lean_object*, lean_object*, lean_object*); @@ -2800,6 +2818,7 @@ lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_typeSpec_parenthesizer___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_show(lean_object*); lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__7; lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_append___elambda__1___closed__3; @@ -2847,6 +2866,7 @@ lean_object* l_Lean_Parser_Term_nativeDecide; lean_object* l_Lean_Parser_Term_binderType___boxed(lean_object*); lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__4; lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__3; +lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_char_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_paren_formatter___closed__1; lean_object* l_Lean_Parser_Term_binderDefault_parenthesizer___closed__1; @@ -3023,6 +3043,8 @@ lean_object* l_Lean_Parser_Term_namedPattern___closed__1; lean_object* l_Lean_Parser_Term_haveDecl_formatter___closed__5; lean_object* l_Lean_Parser_Term_cdot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__1; +lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__7; lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__10; lean_object* l_Lean_Parser_Term_letDecl___closed__8; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__4; @@ -3116,6 +3138,7 @@ lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__4; extern lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_have___closed__4; @@ -3203,6 +3226,7 @@ lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__8; lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_bne___closed__2; lean_object* l_Lean_Parser_Term_seqLeft_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_where___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInst_formatter___closed__15; @@ -3270,6 +3294,7 @@ lean_object* l_Lean_Parser_Term_bne___closed__4; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__5; lean_object* l_Lean_Parser_Term_quotedName_formatter___closed__2; lean_object* l_Lean_Parser_Term_char; +lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_let_x21___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_structInstField___closed__5; lean_object* l_Lean_Parser_Term_attrArg___closed__1; @@ -3323,6 +3348,7 @@ lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_seqRight_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_gt; +lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_tparser_x21___closed__2; lean_object* l_Lean_Parser_Term_matchAlts___boxed(lean_object*); @@ -3486,6 +3512,7 @@ extern lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_instBinder___closed__4; lean_object* l_Lean_Parser_Term_ne___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_heq___closed__1; +lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter(lean_object*); lean_object* l_Lean_Parser_Term_tparser_x21_formatter___closed__4; lean_object* l_Lean_Parser_Term_borrowed___closed__6; lean_object* l_Lean_Parser_Term_byTactic_parenthesizer___closed__1; @@ -3574,6 +3601,7 @@ lean_object* l_Lean_Parser_Term_haveDecl___closed__2; lean_object* l_Lean_Parser_Term_have_formatter___closed__4; lean_object* l_Lean_Parser_Term_typeSpec___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_haveAssign___closed__3; +lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_forall___closed__5; @@ -3632,6 +3660,7 @@ lean_object* l_Lean_Parser_Term_namedPattern_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_haveDecl___closed__6; lean_object* l_Lean_Parser_Term_bor_formatter___closed__1; lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__5; +lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_lt; lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__1; lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__2; @@ -3732,6 +3761,7 @@ lean_object* l_Lean_Parser_Term_nomatch___closed__5; lean_object* l_Lean_Parser_Term_beq___closed__1; lean_object* l_Lean_Parser_Term_fun___closed__2; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__5; +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_if_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_hole(lean_object*); @@ -3853,6 +3883,7 @@ lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer___closed__3; lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_matchDiscr___closed__9; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__5; +lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__2; lean_object* l_Lean_Parser_Term_proj___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_sort_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_sufficesDecl___closed__4; @@ -3899,6 +3930,7 @@ lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__6; lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_borrowed(lean_object*); lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__11; +lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_ne_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_let_x21___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__4; @@ -4033,6 +4065,7 @@ lean_object* l_Lean_Parser_Term_sort___closed__7; lean_object* l___regBuiltin_Lean_Parser_Term_eq_parenthesizer___closed__1; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_tupleTail___elambda__1___spec__2___closed__2; lean_object* l_Lean_Parser_Term_unicodeInfixR___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__6; lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_str_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_letrec_parenthesizer___closed__1; @@ -4055,6 +4088,7 @@ lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_attributes___elambda__ lean_object* l___regBuiltin_Lean_Parser_Term_not_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_num_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__3; +lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__1; lean_object* l_Lean_Parser_Term_bnot_parenthesizer___closed__2; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___spec__2(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_seq___closed__4; @@ -61415,6 +61449,669 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ensureExpectedType"); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___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_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_ensureExpectedType___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_Term_ensureExpectedType___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_Term_ensureExpectedType___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_ensureExpectedType___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_Term_ensureExpectedType___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ensureExpectedType! "); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__5; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__7() { +_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_Term_ensureExpectedType___elambda__1___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__7; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__8; +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_Parser_Term_ensureExpectedType___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_Term_ensureExpectedType___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_25; lean_object* x_26; lean_object* x_27; +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_25 = lean_ctor_get(x_7, 1); +lean_inc(x_25); +lean_inc(x_1); +x_26 = l_Lean_Parser_tokenFn(x_1, x_7); +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; +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +x_29 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_28); +lean_dec(x_28); +if (lean_obj_tag(x_29) == 2) +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__6; +x_32 = lean_string_dec_eq(x_30, x_31); +lean_dec(x_30); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; +x_34 = l_Lean_Parser_ParserState_mkErrorsAt(x_26, x_33, x_25); +x_11 = x_34; +goto block_24; +} +else +{ +lean_dec(x_25); +x_11 = x_26; +goto block_24; +} +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_29); +x_35 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; +x_36 = l_Lean_Parser_ParserState_mkErrorsAt(x_26, x_35, x_25); +x_11 = x_36; +goto block_24; +} +} +else +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_27); +x_37 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; +x_38 = l_Lean_Parser_ParserState_mkErrorsAt(x_26, x_37, x_25); +x_11 = x_38; +goto block_24; +} +block_24: +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 3); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_inc(x_1); +x_13 = l_Lean_Parser_strLit___elambda__1(x_1, x_11); +x_14 = lean_ctor_get(x_13, 3); +lean_inc(x_14); +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; +x_15 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_16 = l_Lean_Parser_maxPrec; +x_17 = l_Lean_Parser_categoryParser___elambda__1(x_15, x_16, x_1, x_13); +x_18 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_19 = l_Lean_Parser_ParserState_mkNode(x_17, x_18, x_10); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_14); +lean_dec(x_1); +x_20 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_21 = l_Lean_Parser_ParserState_mkNode(x_13, x_20, x_10); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_12); +lean_dec(x_1); +x_22 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_23 = l_Lean_Parser_ParserState_mkNode(x_11, x_22, x_10); +return x_23; +} +} +} +else +{ +lean_dec(x_8); +lean_dec(x_1); +return x_7; +} +} +else +{ +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_2, 0); +lean_inc(x_39); +x_40 = lean_array_get_size(x_39); +lean_dec(x_39); +x_41 = lean_ctor_get(x_2, 1); +lean_inc(x_41); +lean_inc(x_1); +x_42 = lean_apply_2(x_4, x_1, x_2); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_1); +return x_42; +} +else +{ +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +x_46 = lean_nat_dec_eq(x_45, x_41); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_dec(x_44); +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_1); +return x_42; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_inc(x_41); +x_47 = l_Lean_Parser_ParserState_restore(x_42, x_40, x_41); +lean_dec(x_40); +x_48 = lean_unsigned_to_nat(1024u); +x_49 = l_Lean_Parser_checkPrecFn(x_48, x_1, x_47); +x_50 = lean_ctor_get(x_49, 3); +lean_inc(x_50); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +x_52 = lean_array_get_size(x_51); +lean_dec(x_51); +x_73 = lean_ctor_get(x_49, 1); +lean_inc(x_73); +lean_inc(x_1); +x_74 = l_Lean_Parser_tokenFn(x_1, x_49); +x_75 = lean_ctor_get(x_74, 3); +lean_inc(x_75); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_74, 0); +lean_inc(x_76); +x_77 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_76); +lean_dec(x_76); +if (lean_obj_tag(x_77) == 2) +{ +lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_79 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__6; +x_80 = lean_string_dec_eq(x_78, x_79); +lean_dec(x_78); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; +x_82 = l_Lean_Parser_ParserState_mkErrorsAt(x_74, x_81, x_73); +x_53 = x_82; +goto block_72; +} +else +{ +lean_dec(x_73); +x_53 = x_74; +goto block_72; +} +} +else +{ +lean_object* x_83; lean_object* x_84; +lean_dec(x_77); +x_83 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; +x_84 = l_Lean_Parser_ParserState_mkErrorsAt(x_74, x_83, x_73); +x_53 = x_84; +goto block_72; +} +} +else +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_75); +x_85 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; +x_86 = l_Lean_Parser_ParserState_mkErrorsAt(x_74, x_85, x_73); +x_53 = x_86; +goto block_72; +} +block_72: +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_53, 3); +lean_inc(x_54); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; +lean_inc(x_1); +x_55 = l_Lean_Parser_strLit___elambda__1(x_1, x_53); +x_56 = lean_ctor_get(x_55, 3); +lean_inc(x_56); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; +x_57 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_58 = l_Lean_Parser_maxPrec; +x_59 = l_Lean_Parser_categoryParser___elambda__1(x_57, x_58, x_1, x_55); +x_60 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_52); +x_62 = 1; +x_63 = l_Lean_Parser_mergeOrElseErrors(x_61, x_44, x_41, x_62); +lean_dec(x_41); +return x_63; +} +else +{ +lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; +lean_dec(x_56); +lean_dec(x_1); +x_64 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_65 = l_Lean_Parser_ParserState_mkNode(x_55, x_64, x_52); +x_66 = 1; +x_67 = l_Lean_Parser_mergeOrElseErrors(x_65, x_44, x_41, x_66); +lean_dec(x_41); +return x_67; +} +} +else +{ +lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; +lean_dec(x_54); +lean_dec(x_1); +x_68 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_69 = l_Lean_Parser_ParserState_mkNode(x_53, x_68, x_52); +x_70 = 1; +x_71 = l_Lean_Parser_mergeOrElseErrors(x_69, x_44, x_41, x_70); +lean_dec(x_41); +return x_71; +} +} +} +else +{ +uint8_t x_87; lean_object* x_88; +lean_dec(x_50); +lean_dec(x_1); +x_87 = 1; +x_88 = l_Lean_Parser_mergeOrElseErrors(x_49, x_44, x_41, x_87); +lean_dec(x_41); +return x_88; +} +} +} +} +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__6; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_strLit; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_explicit___closed__2; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); +return x_5; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_ensureExpectedType___closed__1; +x_2 = l_Lean_Parser_Term_ensureExpectedType___closed__2; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_ensureExpectedType___closed__3; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Term_ensureExpectedType___closed__4; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_ensureExpectedType___closed__5; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_ensureExpectedType___elambda__1), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_ensureExpectedType___closed__6; +x_2 = l_Lean_Parser_Term_ensureExpectedType___closed__7; +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_Term_ensureExpectedType() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Term_ensureExpectedType___closed__8; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Term_ensureExpectedType(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; lean_object* x_7; +x_2 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_3 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_4 = 1; +x_5 = l_Lean_Parser_Term_ensureExpectedType; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); +return x_7; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType_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_Term_ensureExpectedType___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_ensureExpectedType___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_Term_ensureExpectedType_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_ensureExpectedType_formatter___closed__2; +x_2 = l_Lean_Parser_Term_ensureTypeOf_formatter___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_ensureExpectedType_formatter___closed__3; +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_Term_ensureExpectedType_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_Term_ensureExpectedType_formatter___closed__1; +x_7 = l_Lean_Parser_Term_ensureExpectedType_formatter___closed__4; +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_Term_ensureExpectedType_formatter___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_ensureExpectedType_formatter), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_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_Term_ensureExpectedType___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_ensureExpectedType_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_Term_ensureExpectedType_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_Term_ensureExpectedType___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_Term_ensureExpectedType_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_str_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Term_explicit_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__3; +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_Term_ensureExpectedType_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_Term_ensureExpectedType_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__4; +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_Term_ensureExpectedType_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_ensureExpectedType_parenthesizer), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_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_Term_ensureExpectedType___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_ensureExpectedType_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_Term_not___elambda__1___closed__1() { _start: { @@ -89403,6 +90100,71 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_ensureTypeOf_parenthesizer_ res = l___regBuiltin_Lean_Parser_Term_ensureTypeOf_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__1 = _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__1); +l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2 = _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2); +l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__3 = _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__3); +l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__4 = _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__4); +l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__5 = _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__5); +l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__6 = _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__6); +l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__7 = _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__7); +l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__8 = _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__8); +l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9 = _init_l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9); +l_Lean_Parser_Term_ensureExpectedType___closed__1 = _init_l_Lean_Parser_Term_ensureExpectedType___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___closed__1); +l_Lean_Parser_Term_ensureExpectedType___closed__2 = _init_l_Lean_Parser_Term_ensureExpectedType___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___closed__2); +l_Lean_Parser_Term_ensureExpectedType___closed__3 = _init_l_Lean_Parser_Term_ensureExpectedType___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___closed__3); +l_Lean_Parser_Term_ensureExpectedType___closed__4 = _init_l_Lean_Parser_Term_ensureExpectedType___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___closed__4); +l_Lean_Parser_Term_ensureExpectedType___closed__5 = _init_l_Lean_Parser_Term_ensureExpectedType___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___closed__5); +l_Lean_Parser_Term_ensureExpectedType___closed__6 = _init_l_Lean_Parser_Term_ensureExpectedType___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___closed__6); +l_Lean_Parser_Term_ensureExpectedType___closed__7 = _init_l_Lean_Parser_Term_ensureExpectedType___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___closed__7); +l_Lean_Parser_Term_ensureExpectedType___closed__8 = _init_l_Lean_Parser_Term_ensureExpectedType___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType___closed__8); +l_Lean_Parser_Term_ensureExpectedType = _init_l_Lean_Parser_Term_ensureExpectedType(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType); +res = l___regBuiltinParser_Lean_Parser_Term_ensureExpectedType(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Term_ensureExpectedType_formatter___closed__1 = _init_l_Lean_Parser_Term_ensureExpectedType_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType_formatter___closed__1); +l_Lean_Parser_Term_ensureExpectedType_formatter___closed__2 = _init_l_Lean_Parser_Term_ensureExpectedType_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType_formatter___closed__2); +l_Lean_Parser_Term_ensureExpectedType_formatter___closed__3 = _init_l_Lean_Parser_Term_ensureExpectedType_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType_formatter___closed__3); +l_Lean_Parser_Term_ensureExpectedType_formatter___closed__4 = _init_l_Lean_Parser_Term_ensureExpectedType_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType_formatter___closed__4); +l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter___closed__1); +res = l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1); +l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__2); +l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__3); +l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__4); +l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1); +res = l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_Term_not___elambda__1___closed__1 = _init_l_Lean_Parser_Term_not___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_not___elambda__1___closed__1); l_Lean_Parser_Term_not___elambda__1___closed__2 = _init_l_Lean_Parser_Term_not___elambda__1___closed__2();