diff --git a/stage0/src/Init/Lean/Meta/Basic.lean b/stage0/src/Init/Lean/Meta/Basic.lean index 5af0b083fb..5bc2dda1cb 100644 --- a/stage0/src/Init/Lean/Meta/Basic.lean +++ b/stage0/src/Init/Lean/Meta/Basic.lean @@ -59,10 +59,14 @@ end TransparencyMode structure Config := (opts : Options := {}) --- TODO: merge all *Approx flags. (foApprox : Bool := false) (ctxApprox : Bool := false) (quasiPatternApprox : Bool := false) +/- When `constApprox` is set to true, + we solve `?m t =?= c` using + `?m := fun _ => c` + when `?m t` is not a higher-order pattern and `c` is not an application as -/ +(constApprox : Bool := false) /- When the following flag is set, `isDefEq` throws the exeption `Exeption.isDefEqStuck` @@ -255,18 +259,19 @@ ctx ← read; pure ctx.config.opts @[inline] def isReducible (constName : Name) : MetaM Bool := do env ← getEnv; pure $ isReducible env constName -/-- While executing `x`, ensure the given transparency mode is used. -/ -@[inline] def usingTransparency {α} (mode : TransparencyMode) (x : MetaM α) : MetaM α := -adaptReader - (fun (ctx : Context) => { config := { transparency := mode, .. ctx.config }, .. ctx }) - x +@[inline] def withConfig {α} (f : Config → Config) (x : MetaM α) : MetaM α := +adaptReader (fun (ctx : Context) => { config := f ctx.config, .. ctx }) x -@[inline] def usingAtLeastTransparency {α} (mode : TransparencyMode) (x : MetaM α) : MetaM α := -adaptReader - (fun (ctx : Context) => - let oldMode := ctx.config.transparency; +/-- While executing `x`, ensure the given transparency mode is used. -/ +@[inline] def withTransparency {α} (mode : TransparencyMode) (x : MetaM α) : MetaM α := +withConfig (fun config => { transparency := mode, .. config }) x + +@[inline] def withAtLeastTransparency {α} (mode : TransparencyMode) (x : MetaM α) : MetaM α := +withConfig + (fun config => + let oldMode := config.transparency; let mode := if oldMode.lt mode then mode else oldMode; - { config := { transparency := mode, .. ctx.config }, .. ctx }) + { transparency := mode, .. config }) x def isSyntheticExprMVar (mvarId : MVarId) : MetaM Bool := do @@ -553,7 +558,7 @@ else k #[] type partial def isClassExpensive : Expr → MetaM (Option Name) -| type => usingTransparency TransparencyMode.reducible $ -- when testing whether a type is a type class, we only unfold reducible constants. +| type => withTransparency TransparencyMode.reducible $ -- when testing whether a type is a type class, we only unfold reducible constants. forallTelescopeReducingAux isClassExpensive type none $ fun xs type => do match type.getAppFn with | Expr.const c _ _ => do @@ -700,14 +705,12 @@ mvarId ← mkFreshId; modify $ fun s => { mctx := s.mctx.addLevelMVarDecl mvarId, .. s }; pure mvarId -def whnfUsingDefault : Expr → MetaM Expr := -fun e => usingTransparency TransparencyMode.default $ whnf e - -abbrev whnfD := whnfUsingDefault +def whnfD : Expr → MetaM Expr := +fun e => withTransparency TransparencyMode.default $ whnf e /-- Execute `x` using approximate unification. -/ @[inline] def approxDefEq {α} (x : MetaM α) : MetaM α := -adaptReader (fun (ctx : Context) => { config := { foApprox := true, ctxApprox := true, quasiPatternApprox := true, .. ctx.config }, .. ctx }) +adaptReader (fun (ctx : Context) => { config := { foApprox := true, ctxApprox := true, quasiPatternApprox := true, constApprox := true, .. ctx.config }, .. ctx }) x @[inline] private def withNewFVar {α} (fvar fvarType : Expr) (k : Expr → MetaM α) : MetaM α := do diff --git a/stage0/src/Init/Lean/Meta/Check.lean b/stage0/src/Init/Lean/Meta/Check.lean index 2e105a39e9..041a9d670c 100644 --- a/stage0/src/Init/Lean/Meta/Check.lean +++ b/stage0/src/Init/Lean/Meta/Check.lean @@ -79,7 +79,7 @@ private partial def checkAux : Expr → MetaM Unit def check (e : Expr) : MetaM Unit := traceCtx `Meta.check $ - usingTransparency TransparencyMode.all $ checkAux e + withTransparency TransparencyMode.all $ checkAux e def isTypeCorrect (e : Expr) : MetaM Bool := catch diff --git a/stage0/src/Init/Lean/Meta/DiscrTree.lean b/stage0/src/Init/Lean/Meta/DiscrTree.lean index b7a30df40c..54d82ca987 100644 --- a/stage0/src/Init/Lean/Meta/DiscrTree.lean +++ b/stage0/src/Init/Lean/Meta/DiscrTree.lean @@ -182,7 +182,7 @@ partial def mkPathAux : Array Expr → Array Key → MetaM (Array Key) private def initCapacity := 8 def mkPath (e : Expr) : MetaM (Array Key) := -usingTransparency TransparencyMode.reducible $ do +withTransparency TransparencyMode.reducible $ do let todo : Array Expr := Array.mkEmpty initCapacity; let keys : Array Key := Array.mkEmpty initCapacity; mkPathAux (todo.push e) keys @@ -309,7 +309,7 @@ match d.root.find Key.star with | some (Trie.node vs _) => result ++ vs def getMatch {α} (d : DiscrTree α) (e : Expr) : MetaM (Array α) := -usingTransparency TransparencyMode.reducible $ do +withTransparency TransparencyMode.reducible $ do let result := getStarResult d; (k, args) ← getMatchKeyArgs e; match k with @@ -341,7 +341,7 @@ private partial def getUnifyAux {α} : Nat → Array Expr → Trie α → (Array | some c => do result ← visitStarChild result; getUnifyAux 0 (todo ++ args) c.2 result def getUnify {α} (d : DiscrTree α) (e : Expr) : MetaM (Array α) := -usingTransparency TransparencyMode.reducible $ do +withTransparency TransparencyMode.reducible $ do (k, args) ← getUnifyKeyArgs e; match k with | Key.star => d.root.foldlM (fun result k c => getUnifyAux k.arity #[] c result) #[] diff --git a/stage0/src/Init/Lean/Meta/ExprDefEq.lean b/stage0/src/Init/Lean/Meta/ExprDefEq.lean index 6b2af88c1b..00ddb6c718 100644 --- a/stage0/src/Init/Lean/Meta/ExprDefEq.lean +++ b/stage0/src/Init/Lean/Meta/ExprDefEq.lean @@ -27,7 +27,7 @@ namespace Meta private def isDefEqEta (a b : Expr) : MetaM Bool := if a.isLambda && !b.isLambda then do bType ← inferType b; - bType ← whnfUsingDefault bType; + bType ← whnfD bType; match bType with | Expr.forallE n d _ c => let b' := Lean.mkLambda n c.binderInfo d (mkApp b (mkBVar 0)); @@ -128,7 +128,7 @@ if h : args₁.size = args₂.size then do synthPending a₂; pure () }; - usingAtLeastTransparency TransparencyMode.default $ isExprDefEqAux a₁ a₂) + withAtLeastTransparency TransparencyMode.default $ isExprDefEqAux a₁ a₂) else pure false @@ -628,6 +628,29 @@ private def simpAssignmentArg (arg : Expr) : MetaM Expr := do arg ← if arg.getAppFn.hasExprMVar then instantiateMVars arg else pure arg; simpAssignmentArgAux arg +private def checkTypesAndAssign (mvar : Expr) (v : Expr) : MetaM Bool := +traceCtx `Meta.isDefEq.assign.checkTypes $ do + -- must check whether types are definitionally equal or not, before assigning and returning true + mvarType ← inferType mvar; + vType ← inferType v; + condM (withTransparency TransparencyMode.default $ isExprDefEqAux mvarType vType) + (do assignExprMVar mvar.mvarId! v; pure true) + (do trace `Meta.isDefEq.assign.typeMismatch $ fun _ => mvar ++ " : " ++ mvarType ++ " := " ++ v ++ " : " ++ vType; + pure false) + +private def processConstApprox (mvar : Expr) (numArgs : Nat) (v : Expr) : MetaM Bool := do +let mvarId := mvar.mvarId!; +v? ← checkAssignment mvarId #[] v; +match v? with +| none => pure false +| some v => do + mvarDecl ← getMVarDecl mvarId; + forallBoundedTelescope mvarDecl.type numArgs $ fun xs _ => + if xs.size != numArgs then pure false + else do + v ← mkLambda xs v; + checkTypesAndAssign mvar v + private partial def processAssignmentAux (mvar : Expr) (mvarDecl : MetavarDecl) (v : Expr) : Nat → Array Expr → MetaM Bool | i, args => if h : i < args.size then do @@ -636,8 +659,10 @@ private partial def processAssignmentAux (mvar : Expr) (mvarDecl : MetavarDecl) arg ← simpAssignmentArg arg; let args := args.set ⟨i, h⟩ arg; let useFOApprox : Unit → MetaM Bool := fun _ => - if cfg.foApprox then + if cfg.foApprox && v.isApp then processAssignmentFOApprox mvar args v + else if cfg.constApprox then + processConstApprox mvar args.size v else pure false; match arg with @@ -654,6 +679,7 @@ private partial def processAssignmentAux (mvar : Expr) (mvarDecl : MetavarDecl) cfg ← getConfig; v ← instantiateMVars v; -- enforce A4 if cfg.foApprox && args.isEmpty && v.getAppFn == mvar then + -- using A6 processAssignmentFOApprox mvar args v else do let useFOApprox : Unit → MetaM Bool := fun _ => @@ -669,7 +695,7 @@ private partial def processAssignmentAux (mvar : Expr) (mvarDecl : MetavarDecl) -- must check whether types are definitionally equal or not, before assigning and returning true mvarType ← inferType mvar; vType ← inferType v; - condM (usingTransparency TransparencyMode.default $ isExprDefEqAux mvarType vType) + condM (withTransparency TransparencyMode.default $ isExprDefEqAux mvarType vType) (do assignExprMVar mvarId v; pure true) (do trace `Meta.isDefEq.assign.typeMismatch $ fun _ => mvar ++ " : " ++ mvarType ++ " := " ++ v ++ " : " ++ vType; pure false) @@ -678,11 +704,11 @@ private partial def processAssignmentAux (mvar : Expr) (mvarDecl : MetavarDecl) /- We need to type check `v` because abstraction using `mkLambda` may have produced a type incorrect term. See discussion at A2 -/ condM (isTypeCorrect v) - (finalize ()) + (checkTypesAndAssign mvar v) (do trace `Meta.isDefEq.assign.typeError $ fun _ => mvar ++ " := " ++ v; useFOApprox ()) else - finalize () + checkTypesAndAssign mvar v /-- Tries to solve `?m a₁ ... aₙ =?= v` by assigning `?m`. It assumes `?m` is unassigned. -/ diff --git a/stage0/src/Init/Lean/Meta/FunInfo.lean b/stage0/src/Init/Lean/Meta/FunInfo.lean index 4b6a9954f7..7dc1821fb7 100644 --- a/stage0/src/Init/Lean/Meta/FunInfo.lean +++ b/stage0/src/Init/Lean/Meta/FunInfo.lean @@ -56,7 +56,7 @@ else private def getFunInfoAux (fn : Expr) (maxArgs? : Option Nat) : MetaM FunInfo := checkFunInfoCache fn maxArgs? $ do fnType ← inferType fn; - usingTransparency TransparencyMode.default $ + withTransparency TransparencyMode.default $ forallBoundedTelescope fnType maxArgs? $ fun fvars type => do pinfo ← fvars.size.foldM (fun (i : Nat) (pinfo : Array ParamInfo) => do diff --git a/stage0/src/Init/Lean/Meta/InferType.lean b/stage0/src/Init/Lean/Meta/InferType.lean index 79ed3adc1d..6fe4692450 100644 --- a/stage0/src/Init/Lean/Meta/InferType.lean +++ b/stage0/src/Init/Lean/Meta/InferType.lean @@ -69,7 +69,7 @@ matchConst env structType.getAppFn failed $ fun structInfo structLvls => do def getLevel (type : Expr) : MetaM Level := do typeType ← inferType type; -typeType ← whnfUsingDefault typeType; +typeType ← whnfD typeType; match typeType with | Expr.sort lvl _ => pure lvl | Expr.mvar mvarId _ => @@ -141,7 +141,7 @@ private partial def inferTypeAux : Expr → MetaM Expr | Expr.localE _ _ _ _ => unreachable! def inferTypeImpl (e : Expr) : MetaM Expr := -usingTransparency TransparencyMode.default (inferTypeAux e) +withTransparency TransparencyMode.default (inferTypeAux e) @[init] def setInferTypeRef : IO Unit := inferTypeRef.set inferTypeImpl @@ -215,7 +215,7 @@ match r with | LBool.undef => do -- dbgTrace ("isPropQuick failed " ++ toString e); type ← inferType e; - type ← whnfUsingDefault type; + type ← whnfD type; match type with | Expr.sort u _ => do u ← instantiateLevelMVars u; pure $ isAlwaysZero u | _ => pure false @@ -323,7 +323,7 @@ match r with | LBool.false => pure false | LBool.undef => do type ← inferType e; - type ← whnfUsingDefault type; + type ← whnfD type; match type with | Expr.sort _ _ => pure true | _ => pure false diff --git a/stage0/src/Init/Lean/Meta/SynthInstance.lean b/stage0/src/Init/Lean/Meta/SynthInstance.lean index 56bb922923..e293228711 100644 --- a/stage0/src/Init/Lean/Meta/SynthInstance.lean +++ b/stage0/src/Init/Lean/Meta/SynthInstance.lean @@ -511,7 +511,7 @@ try $ r.exprReplacements.allM (fun ⟨e, e'⟩ => isExprDefEqAux e e') def synthInstance? (type : Expr) (fuel : Nat := 10000) : MetaM (Option Expr) := -usingTransparency TransparencyMode.reducible $ do +withConfig (fun config => { transparency := TransparencyMode.reducible, foApprox := true, ctxApprox := true, .. config }) $ do type ← instantiateMVars type; type ← preprocess type; s ← get; diff --git a/stage0/src/runtime/lean.h b/stage0/src/runtime/lean.h index 6b37fd91ab..b1e657b0fa 100644 --- a/stage0/src/runtime/lean.h +++ b/stage0/src/runtime/lean.h @@ -1434,12 +1434,22 @@ static inline bool lean_int_lt(b_lean_obj_arg a1, b_lean_obj_arg a2) { } } +lean_obj_res lean_big_int_to_nat(lean_obj_arg a); +static inline lean_obj_res lean_int_to_nat(lean_obj_arg a) { + assert(!lean_int_lt(a, lean_box(0))); + if (lean_is_scalar(a)) { + return a; + } else { + return lean_big_int_to_nat(a); + } +} + static inline lean_obj_res lean_nat_abs(b_lean_obj_arg i) { if (lean_int_lt(i, lean_box(0))) { - return lean_int_neg(i); + return lean_int_to_nat(lean_int_neg(i)); } else { lean_inc(i); - return i; + return lean_int_to_nat(i); } } diff --git a/stage0/src/runtime/object.cpp b/stage0/src/runtime/object.cpp index c88b83876c..1b0322ed3d 100644 --- a/stage0/src/runtime/object.cpp +++ b/stage0/src/runtime/object.cpp @@ -1232,6 +1232,13 @@ static object * mpz_to_int(mpz const & m) { return lean_box(static_cast(m.get_int())); } +extern "C" lean_obj_res lean_big_int_to_nat(lean_obj_arg a) { + lean_assert(!lean_is_scalar(a)); + mpz m = mpz_value(a); + lean_dec(a); + return mpz_to_nat(m); +} + extern "C" object * lean_cstr_to_int(char const * n) { return mpz_to_int(mpz(n)); } diff --git a/stage0/src/shell/CMakeLists.txt b/stage0/src/shell/CMakeLists.txt index 09df59afe2..3f9ddf783c 100644 --- a/stage0/src/shell/CMakeLists.txt +++ b/stage0/src/shell/CMakeLists.txt @@ -140,7 +140,7 @@ add_test(lean_version2 "${CMAKE_CURRENT_BINARY_DIR}/lean" --v) endif() add_test(lean_ghash1 "${CMAKE_CURRENT_BINARY_DIR}/lean" -g) add_test(lean_ghash2 "${CMAKE_CURRENT_BINARY_DIR}/lean" --githash) -# add_test(lean_new_frontend "${LEAN_SOURCE_DIR}/../bin/lean" --new-frontend "${LEAN_SOURCE_DIR}/Init/Core.lean") +add_test(lean_new_frontend "${LEAN_SOURCE_DIR}/../bin/lean" --new-frontend "${LEAN_SOURCE_DIR}/Init/Core.lean") add_test(lean_unknown_option bash "${LEAN_SOURCE_DIR}/cmake/check_failure.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean" "-z") add_test(lean_unknown_file1 bash "${LEAN_SOURCE_DIR}/cmake/check_failure.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean" "boofoo.lean") if (NOT(${CMAKE_SYSTEM_NAME} MATCHES "Windows")) diff --git a/stage0/stdlib/Init/Lean/Elab/Command.c b/stage0/stdlib/Init/Lean/Elab/Command.c index 292517857b..74da2dc956 100644 --- a/stage0/stdlib/Init/Lean/Elab/Command.c +++ b/stage0/stdlib/Init/Lean/Elab/Command.c @@ -91,7 +91,6 @@ lean_object* l_PersistentHashMap_insertAux___main___at_Lean_Elab_Command_addBuil lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Command_elabCommand___spec__3(lean_object*, lean_object*, lean_object*); lean_object* lean_dbg_trace(lean_object*, lean_object*); lean_object* lean_io_mk_ref(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; lean_object* l_Lean_Elab_Command_getUniverseNames___boxed(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___closed__2; @@ -321,6 +320,7 @@ lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab___closed__1; lean_object* l_Lean_Elab_Command_CommandElabM_monadLog; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3; lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_Elab_Command_addBuiltinCommandElab___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; extern lean_object* l_Lean_AttributeImpl_inhabited___closed__6; lean_object* l___private_Init_Lean_Elab_Command_8__checkEndHeader___main___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__3; @@ -4389,14 +4389,15 @@ lean_dec(x_4); x_9 = 1; x_10 = 0; x_11 = 1; -x_12 = lean_alloc_ctor(0, 1, 6); +x_12 = lean_alloc_ctor(0, 1, 7); lean_ctor_set(x_12, 0, x_5); lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_9); lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 1, x_9); lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 2, x_9); -lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 3, x_9); -lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 4, x_10); -lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 5, x_11); +lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 3, x_10); +lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 4, x_9); +lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 5, x_10); +lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 6, x_11); x_13 = l_Lean_LocalContext_Inhabited___closed__2; x_14 = l_Array_empty___closed__1; x_15 = lean_alloc_ctor(0, 3, 0); @@ -13787,7 +13788,7 @@ lean_inc(x_93); lean_dec(x_91); x_94 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_94, 0, x_89); -x_95 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; +x_95 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; x_96 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); @@ -13899,7 +13900,7 @@ lean_inc(x_125); lean_dec(x_123); x_126 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_126, 0, x_121); -x_127 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; +x_127 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; x_128 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_128, 0, x_126); lean_ctor_set(x_128, 1, x_127); @@ -14035,7 +14036,7 @@ lean_inc(x_207); lean_dec(x_205); x_208 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_208, 0, x_203); -x_209 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; +x_209 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; x_210 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_210, 0, x_208); lean_ctor_set(x_210, 1, x_209); @@ -14316,7 +14317,7 @@ lean_inc(x_279); lean_dec(x_277); x_280 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_280, 0, x_275); -x_281 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; +x_281 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; x_282 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_282, 0, x_280); lean_ctor_set(x_282, 1, x_281); diff --git a/stage0/stdlib/Init/Lean/Meta/AppBuilder.c b/stage0/stdlib/Init/Lean/Meta/AppBuilder.c index e85ec6e57f..994459a090 100644 --- a/stage0/stdlib/Init/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Init/Lean/Meta/AppBuilder.c @@ -90,7 +90,6 @@ lean_object* l_Lean_Expr_getRevArg_x21___main(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEqSymm(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_whnfUsingDefault(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM___closed__1; lean_object* l___private_Init_Lean_Meta_AppBuilder_3__mkAppMAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -112,6 +111,7 @@ lean_object* l_Lean_Expr_arrow_x3f___boxed(lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_AppBuilder_3__mkAppMAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*); lean_object* l_Lean_Meta_mkHEq(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEqTrans___closed__1; @@ -835,7 +835,7 @@ lean_inc(x_5); x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); lean_dec(x_4); -x_7 = l_Lean_Meta_whnfUsingDefault(x_5, x_2, x_6); +x_7 = l_Lean_Meta_whnfD(x_5, x_2, x_6); return x_7; } else @@ -3156,7 +3156,7 @@ lean_dec(x_32); x_34 = l_Lean_Expr_getRevArg_x21___main(x_7, x_33); lean_dec(x_7); lean_inc(x_3); -x_35 = l_Lean_Meta_whnfUsingDefault(x_27, x_3, x_8); +x_35 = l_Lean_Meta_whnfD(x_27, x_3, x_8); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; @@ -3444,7 +3444,7 @@ lean_dec(x_118); x_120 = l_Lean_Expr_getRevArg_x21___main(x_92, x_119); lean_dec(x_92); lean_inc(x_3); -x_121 = l_Lean_Meta_whnfUsingDefault(x_113, x_3, x_93); +x_121 = l_Lean_Meta_whnfD(x_113, x_3, x_93); if (lean_obj_tag(x_121) == 0) { lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; @@ -3898,7 +3898,7 @@ x_36 = lean_ctor_get(x_30, 1); lean_inc(x_36); lean_dec(x_30); lean_inc(x_3); -x_37 = l_Lean_Meta_whnfUsingDefault(x_31, x_3, x_10); +x_37 = l_Lean_Meta_whnfD(x_31, x_3, x_10); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; @@ -4812,7 +4812,7 @@ x_12 = lean_expr_instantiate_rev_range(x_7, x_5, x_11, x_4); lean_dec(x_5); lean_dec(x_7); lean_inc(x_8); -x_13 = l_Lean_Meta_whnfUsingDefault(x_12, x_8, x_9); +x_13 = l_Lean_Meta_whnfD(x_12, x_8, x_9); if (lean_obj_tag(x_13) == 0) { uint8_t x_14; diff --git a/stage0/stdlib/Init/Lean/Meta/Basic.c b/stage0/stdlib/Init/Lean/Meta/Basic.c index 1c144f44f4..d600e5fd36 100644 --- a/stage0/stdlib/Init/Lean/Meta/Basic.c +++ b/stage0/stdlib/Init/Lean/Meta/Basic.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Lean_Meta_withConfig___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_isClassExpensive___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MetaM_inhabited(lean_object*, lean_object*); size_t l_Lean_Meta_InfoCacheKey_Hashable(lean_object*); @@ -120,9 +121,9 @@ lean_object* l_Lean_Meta_withLocalDeclD(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallBoundedTelescope___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConst___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Meta_withTransparency___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_Basic_7__lambdaTelescopeAux___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing(lean_object*); -lean_object* l_Lean_Meta_usingAtLeastTransparency(lean_object*); lean_object* l_Lean_Meta_MetaM_inhabited___rarg(lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_7__lambdaTelescopeAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_TransparencyMode_Hashable___closed__1; @@ -183,6 +184,7 @@ lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux__ lean_object* l_Lean_Meta_TransparencyMode_Hashable; lean_object* l_Lean_Meta_dbgTrace___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +lean_object* l_Lean_Meta_withTransparency(lean_object*); lean_object* l_Lean_Meta_tracer___closed__5; lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSynthPendingRef___lambda__1(lean_object*, lean_object*, lean_object*); @@ -223,6 +225,7 @@ lean_object* l_Lean_Meta_withNewLocalInstances(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main(lean_object*); extern lean_object* l_Lean_Options_empty; lean_object* l_Lean_Meta_approxDefEq___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withAtLeastTransparency___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MetaExtState_inhabited___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescopeReducing___spec__4___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*); uint8_t l_Lean_Meta_TransparencyMode_beq(uint8_t, uint8_t); @@ -256,9 +259,7 @@ uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l_Lean_Meta_liftStateMCtx___rarg(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Meta_mkMetaExtension___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Meta_usingTransparency(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_usingAtLeastTransparency___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescopeReducing___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_isClassExpensive___main___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLevelMVar(lean_object*); @@ -300,11 +301,10 @@ lean_object* l_Lean_Meta_liftStateMCtx___rarg___boxed(lean_object*, lean_object* lean_object* l_Lean_Meta_tracer___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_resettingSynthInstanceCache(lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_Meta_usingAtLeastTransparency___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_8__forallMetaTelescopeReducingAux___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_Meta_whnfUsingDefault(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_tracer___closed__2; +lean_object* l_Lean_Meta_withAtLeastTransparency___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_mk_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Meta_synthPendingRef; lean_object* l_Lean_Meta_getConstAux(lean_object*, uint8_t, lean_object*, lean_object*); @@ -333,9 +333,9 @@ lean_object* l_Lean_Meta_mkFreshExprMVar___boxed(lean_object*, lean_object*, lea lean_object* l_Lean_Meta_isReducible(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_Meta_withNewLocalInstances___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withAtLeastTransparency(lean_object*); lean_object* l_Lean_Meta_dbgTrace(lean_object*); lean_object* l_Lean_Meta_mkFreshId(lean_object*); -lean_object* l_Lean_Meta_usingTransparency___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescope___spec__3___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_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___at_Lean_Meta_forallBoundedTelescope___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_TransparencyMode_beq___boxed(lean_object*, lean_object*); @@ -367,6 +367,7 @@ lean_object* l_Lean_Meta_forallMetaTelescope(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Meta_isClassQuickConst(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_getStateUnsafe___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_MetaExtState_inhabited; +lean_object* l_Lean_Meta_withConfig(lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth(lean_object*); lean_object* l_Lean_Meta_shouldReduceReducibleOnly(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMCtx___rarg(lean_object*); @@ -406,7 +407,6 @@ lean_object* l_Lean_Meta_mkWHNFRef___lambda__1(lean_object*, lean_object*, lean_ lean_object* l_Lean_Meta_withNewLocalInstance(lean_object*); lean_object* l_Lean_Meta_mkWHNFRef(lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_1__whenDebugging(lean_object*); -lean_object* l_Lean_Meta_usingTransparency___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkBinding___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConfig(lean_object*, lean_object*); @@ -436,6 +436,7 @@ lean_object* l_Lean_Meta_getConstAux___boxed(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_isClassExpensive___main___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallBoundedTelescope___spec__3(lean_object*); +lean_object* l_Lean_Meta_withTransparency___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t _init_l_Lean_Meta_TransparencyMode_Inhabited() { _start: { @@ -2380,7 +2381,7 @@ _start: lean_object* x_4; uint8_t x_5; x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); -x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*1 + 4); +x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*1 + 5); lean_dec(x_4); if (x_5 == 0) { @@ -2461,7 +2462,7 @@ _start: { lean_object* x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 5); +x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 6); x_5 = 0; x_6 = l_Lean_Meta_TransparencyMode_beq(x_4, x_5); x_7 = lean_box(x_6); @@ -2485,7 +2486,7 @@ _start: { lean_object* x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 5); +x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 6); x_5 = 2; x_6 = l_Lean_Meta_TransparencyMode_beq(x_4, x_5); x_7 = lean_box(x_6); @@ -2509,7 +2510,7 @@ _start: { lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 5); +x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 6); x_5 = lean_box(x_4); x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_5); @@ -2571,7 +2572,49 @@ lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Meta_usingTransparency___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_withConfig___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_apply_1(x_1, x_6); +lean_ctor_set(x_3, 0, x_7); +x_8 = lean_apply_2(x_2, x_3, x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +x_11 = lean_ctor_get(x_3, 2); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_3); +x_12 = lean_apply_1(x_1, x_9); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +lean_ctor_set(x_13, 2, x_11); +x_14 = lean_apply_2(x_2, x_13, x_4); +return x_14; +} +} +} +lean_object* l_Lean_Meta_withConfig(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withConfig___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_withTransparency___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -2584,98 +2627,102 @@ x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { lean_object* x_8; -lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 5, x_1); +lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 6, x_1); x_8 = lean_apply_2(x_2, x_3, x_4); return x_8; } else { -lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; x_9 = lean_ctor_get(x_6, 0); x_10 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); x_11 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1); x_12 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 2); x_13 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 3); x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 4); +x_15 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 5); lean_inc(x_9); lean_dec(x_6); -x_15 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_15, 0, x_9); -lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_10); -lean_ctor_set_uint8(x_15, sizeof(void*)*1 + 1, x_11); -lean_ctor_set_uint8(x_15, sizeof(void*)*1 + 2, x_12); -lean_ctor_set_uint8(x_15, sizeof(void*)*1 + 3, x_13); -lean_ctor_set_uint8(x_15, sizeof(void*)*1 + 4, x_14); -lean_ctor_set_uint8(x_15, sizeof(void*)*1 + 5, x_1); -lean_ctor_set(x_3, 0, x_15); -x_16 = lean_apply_2(x_2, x_3, x_4); -return x_16; +x_16 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_10); +lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 1, x_11); +lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 2, x_12); +lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 3, x_13); +lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 4, x_14); +lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 5, x_15); +lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 6, x_1); +lean_ctor_set(x_3, 0, x_16); +x_17 = lean_apply_2(x_2, x_3, x_4); +return x_17; } } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_17 = lean_ctor_get(x_3, 0); -x_18 = lean_ctor_get(x_3, 1); -x_19 = lean_ctor_get(x_3, 2); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_18 = lean_ctor_get(x_3, 0); +x_19 = lean_ctor_get(x_3, 1); +x_20 = lean_ctor_get(x_3, 2); +lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); -lean_inc(x_17); lean_dec(x_3); -x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -x_21 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_22 = lean_ctor_get_uint8(x_17, sizeof(void*)*1 + 1); -x_23 = lean_ctor_get_uint8(x_17, sizeof(void*)*1 + 2); -x_24 = lean_ctor_get_uint8(x_17, sizeof(void*)*1 + 3); -x_25 = lean_ctor_get_uint8(x_17, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - x_26 = x_17; +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +x_22 = lean_ctor_get_uint8(x_18, sizeof(void*)*1); +x_23 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 1); +x_24 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 2); +x_25 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 3); +x_26 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 4); +x_27 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + x_28 = x_18; } else { - lean_dec_ref(x_17); - x_26 = lean_box(0); + lean_dec_ref(x_18); + x_28 = lean_box(0); } -if (lean_is_scalar(x_26)) { - x_27 = lean_alloc_ctor(0, 1, 6); +if (lean_is_scalar(x_28)) { + x_29 = lean_alloc_ctor(0, 1, 7); } else { - x_27 = x_26; + x_29 = x_28; } -lean_ctor_set(x_27, 0, x_20); -lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_21); -lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 1, x_22); -lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 2, x_23); -lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 3, x_24); -lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 4, x_25); -lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 5, x_1); -x_28 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_18); -lean_ctor_set(x_28, 2, x_19); -x_29 = lean_apply_2(x_2, x_28, x_4); -return x_29; +lean_ctor_set(x_29, 0, x_21); +lean_ctor_set_uint8(x_29, sizeof(void*)*1, x_22); +lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 1, x_23); +lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 2, x_24); +lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 3, x_25); +lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 4, x_26); +lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 5, x_27); +lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 6, x_1); +x_30 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_19); +lean_ctor_set(x_30, 2, x_20); +x_31 = lean_apply_2(x_2, x_30, x_4); +return x_31; } } } -lean_object* l_Lean_Meta_usingTransparency(lean_object* x_1) { +lean_object* l_Lean_Meta_withTransparency(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_usingTransparency___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withTransparency___rarg___boxed), 4, 0); return x_2; } } -lean_object* l_Lean_Meta_usingTransparency___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_withTransparency___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_1); lean_dec(x_1); -x_6 = l_Lean_Meta_usingTransparency___rarg(x_5, x_2, x_3, x_4); +x_6 = l_Lean_Meta_withTransparency___rarg(x_5, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_Meta_usingAtLeastTransparency___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_withAtLeastTransparency___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -2688,7 +2735,7 @@ x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { uint8_t x_8; uint8_t x_9; -x_8 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 5); +x_8 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 6); x_9 = l_Lean_Meta_TransparencyMode_lt(x_8, x_1); if (x_9 == 0) { @@ -2699,14 +2746,14 @@ return x_10; else { lean_object* x_11; -lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 5, x_1); +lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 6, x_1); x_11 = lean_apply_2(x_2, x_3, x_4); return x_11; } } else { -lean_object* x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; +lean_object* x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; x_12 = lean_ctor_get(x_6, 0); x_13 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1); @@ -2714,129 +2761,135 @@ x_15 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 2); x_16 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 3); x_17 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 4); x_18 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 5); +x_19 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 6); lean_inc(x_12); lean_dec(x_6); -x_19 = l_Lean_Meta_TransparencyMode_lt(x_18, x_1); -if (x_19 == 0) +x_20 = l_Lean_Meta_TransparencyMode_lt(x_19, x_1); +if (x_20 == 0) { -lean_object* x_20; lean_object* x_21; -x_20 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_20, 0, x_12); -lean_ctor_set_uint8(x_20, sizeof(void*)*1, x_13); -lean_ctor_set_uint8(x_20, sizeof(void*)*1 + 1, x_14); -lean_ctor_set_uint8(x_20, sizeof(void*)*1 + 2, x_15); -lean_ctor_set_uint8(x_20, sizeof(void*)*1 + 3, x_16); -lean_ctor_set_uint8(x_20, sizeof(void*)*1 + 4, x_17); -lean_ctor_set_uint8(x_20, sizeof(void*)*1 + 5, x_18); -lean_ctor_set(x_3, 0, x_20); -x_21 = lean_apply_2(x_2, x_3, x_4); -return x_21; +lean_object* x_21; lean_object* x_22; +x_21 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_21, 0, x_12); +lean_ctor_set_uint8(x_21, sizeof(void*)*1, x_13); +lean_ctor_set_uint8(x_21, sizeof(void*)*1 + 1, x_14); +lean_ctor_set_uint8(x_21, sizeof(void*)*1 + 2, x_15); +lean_ctor_set_uint8(x_21, sizeof(void*)*1 + 3, x_16); +lean_ctor_set_uint8(x_21, sizeof(void*)*1 + 4, x_17); +lean_ctor_set_uint8(x_21, sizeof(void*)*1 + 5, x_18); +lean_ctor_set_uint8(x_21, sizeof(void*)*1 + 6, x_19); +lean_ctor_set(x_3, 0, x_21); +x_22 = lean_apply_2(x_2, x_3, x_4); +return x_22; } else { -lean_object* x_22; lean_object* x_23; -x_22 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_22, 0, x_12); -lean_ctor_set_uint8(x_22, sizeof(void*)*1, x_13); -lean_ctor_set_uint8(x_22, sizeof(void*)*1 + 1, x_14); -lean_ctor_set_uint8(x_22, sizeof(void*)*1 + 2, x_15); -lean_ctor_set_uint8(x_22, sizeof(void*)*1 + 3, x_16); -lean_ctor_set_uint8(x_22, sizeof(void*)*1 + 4, x_17); -lean_ctor_set_uint8(x_22, sizeof(void*)*1 + 5, x_1); -lean_ctor_set(x_3, 0, x_22); -x_23 = lean_apply_2(x_2, x_3, x_4); -return x_23; +lean_object* x_23; lean_object* x_24; +x_23 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_23, 0, x_12); +lean_ctor_set_uint8(x_23, sizeof(void*)*1, x_13); +lean_ctor_set_uint8(x_23, sizeof(void*)*1 + 1, x_14); +lean_ctor_set_uint8(x_23, sizeof(void*)*1 + 2, x_15); +lean_ctor_set_uint8(x_23, sizeof(void*)*1 + 3, x_16); +lean_ctor_set_uint8(x_23, sizeof(void*)*1 + 4, x_17); +lean_ctor_set_uint8(x_23, sizeof(void*)*1 + 5, x_18); +lean_ctor_set_uint8(x_23, sizeof(void*)*1 + 6, x_1); +lean_ctor_set(x_3, 0, x_23); +x_24 = lean_apply_2(x_2, x_3, x_4); +return x_24; } } } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; uint8_t x_35; -x_24 = lean_ctor_get(x_3, 0); -x_25 = lean_ctor_get(x_3, 1); -x_26 = lean_ctor_get(x_3, 2); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; uint8_t x_37; +x_25 = lean_ctor_get(x_3, 0); +x_26 = lean_ctor_get(x_3, 1); +x_27 = lean_ctor_get(x_3, 2); +lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); lean_dec(x_3); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -x_28 = lean_ctor_get_uint8(x_24, sizeof(void*)*1); -x_29 = lean_ctor_get_uint8(x_24, sizeof(void*)*1 + 1); -x_30 = lean_ctor_get_uint8(x_24, sizeof(void*)*1 + 2); -x_31 = lean_ctor_get_uint8(x_24, sizeof(void*)*1 + 3); -x_32 = lean_ctor_get_uint8(x_24, sizeof(void*)*1 + 4); -x_33 = lean_ctor_get_uint8(x_24, sizeof(void*)*1 + 5); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - x_34 = x_24; +x_28 = lean_ctor_get(x_25, 0); +lean_inc(x_28); +x_29 = lean_ctor_get_uint8(x_25, sizeof(void*)*1); +x_30 = lean_ctor_get_uint8(x_25, sizeof(void*)*1 + 1); +x_31 = lean_ctor_get_uint8(x_25, sizeof(void*)*1 + 2); +x_32 = lean_ctor_get_uint8(x_25, sizeof(void*)*1 + 3); +x_33 = lean_ctor_get_uint8(x_25, sizeof(void*)*1 + 4); +x_34 = lean_ctor_get_uint8(x_25, sizeof(void*)*1 + 5); +x_35 = lean_ctor_get_uint8(x_25, sizeof(void*)*1 + 6); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + x_36 = x_25; } else { - lean_dec_ref(x_24); - x_34 = lean_box(0); + lean_dec_ref(x_25); + x_36 = lean_box(0); } -x_35 = l_Lean_Meta_TransparencyMode_lt(x_33, x_1); -if (x_35 == 0) +x_37 = l_Lean_Meta_TransparencyMode_lt(x_35, x_1); +if (x_37 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 1, 6); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 1, 7); } else { - x_36 = x_34; + x_38 = x_36; } -lean_ctor_set(x_36, 0, x_27); -lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_28); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 1, x_29); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 2, x_30); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 3, x_31); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 4, x_32); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 5, x_33); -x_37 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_25); -lean_ctor_set(x_37, 2, x_26); -x_38 = lean_apply_2(x_2, x_37, x_4); -return x_38; +lean_ctor_set(x_38, 0, x_28); +lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_29); +lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 1, x_30); +lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 2, x_31); +lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 3, x_32); +lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 4, x_33); +lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 5, x_34); +lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 6, x_35); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_26); +lean_ctor_set(x_39, 2, x_27); +x_40 = lean_apply_2(x_2, x_39, x_4); +return x_40; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -if (lean_is_scalar(x_34)) { - x_39 = lean_alloc_ctor(0, 1, 6); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +if (lean_is_scalar(x_36)) { + x_41 = lean_alloc_ctor(0, 1, 7); } else { - x_39 = x_34; + x_41 = x_36; } -lean_ctor_set(x_39, 0, x_27); -lean_ctor_set_uint8(x_39, sizeof(void*)*1, x_28); -lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 1, x_29); -lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 2, x_30); -lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 3, x_31); -lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 4, x_32); -lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 5, x_1); -x_40 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_25); -lean_ctor_set(x_40, 2, x_26); -x_41 = lean_apply_2(x_2, x_40, x_4); -return x_41; +lean_ctor_set(x_41, 0, x_28); +lean_ctor_set_uint8(x_41, sizeof(void*)*1, x_29); +lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 1, x_30); +lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 2, x_31); +lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 3, x_32); +lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 4, x_33); +lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 5, x_34); +lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 6, x_1); +x_42 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_26); +lean_ctor_set(x_42, 2, x_27); +x_43 = lean_apply_2(x_2, x_42, x_4); +return x_43; } } } } -lean_object* l_Lean_Meta_usingAtLeastTransparency(lean_object* x_1) { +lean_object* l_Lean_Meta_withAtLeastTransparency(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_usingAtLeastTransparency___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withAtLeastTransparency___rarg___boxed), 4, 0); return x_2; } } -lean_object* l_Lean_Meta_usingAtLeastTransparency___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_withAtLeastTransparency___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_1); lean_dec(x_1); -x_6 = l_Lean_Meta_usingAtLeastTransparency___rarg(x_5, x_2, x_3, x_4); +x_6 = l_Lean_Meta_withAtLeastTransparency___rarg(x_5, x_2, x_3, x_4); return x_6; } } @@ -3189,7 +3242,7 @@ _start: { lean_object* x_5; lean_object* x_22; uint8_t x_23; x_22 = lean_ctor_get(x_3, 0); -x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1 + 4); +x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*1 + 5); if (x_23 == 0) { x_5 = x_4; @@ -3592,7 +3645,7 @@ case 1: lean_object* x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; lean_dec(x_13); x_14 = lean_ctor_get(x_3, 0); -x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*1 + 5); +x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*1 + 6); x_16 = 2; x_17 = l_Lean_Meta_TransparencyMode_beq(x_15, x_16); if (x_17 == 0) @@ -3636,7 +3689,7 @@ lean_dec(x_13); lean_dec(x_5); lean_dec(x_1); x_23 = lean_ctor_get(x_3, 0); -x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*1 + 5); +x_24 = lean_ctor_get_uint8(x_23, sizeof(void*)*1 + 6); x_25 = 0; x_26 = l_Lean_Meta_TransparencyMode_beq(x_24, x_25); if (x_26 == 0) @@ -16854,78 +16907,82 @@ if (x_7 == 0) { uint8_t x_8; lean_object* x_9; x_8 = 2; -lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 5, x_8); +lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 6, x_8); x_9 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at_Lean_Meta_isClassExpensive___main___spec__1(x_1, x_4, x_2, x_3); return x_9; } else { -lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; x_10 = lean_ctor_get(x_6, 0); x_11 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); x_12 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1); x_13 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 2); x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 3); x_15 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 4); +x_16 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 5); lean_inc(x_10); lean_dec(x_6); -x_16 = 2; -x_17 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_17, 0, x_10); -lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_11); -lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 1, x_12); -lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 2, x_13); -lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 3, x_14); -lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 4, x_15); -lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 5, x_16); -lean_ctor_set(x_2, 0, x_17); -x_18 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at_Lean_Meta_isClassExpensive___main___spec__1(x_1, x_4, x_2, x_3); -return x_18; +x_17 = 2; +x_18 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set_uint8(x_18, sizeof(void*)*1, x_11); +lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 1, x_12); +lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 2, x_13); +lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 3, x_14); +lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 4, x_15); +lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 5, x_16); +lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 6, x_17); +lean_ctor_set(x_2, 0, x_18); +x_19 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at_Lean_Meta_isClassExpensive___main___spec__1(x_1, x_4, x_2, x_3); +return x_19; } } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_19 = lean_ctor_get(x_2, 0); -x_20 = lean_ctor_get(x_2, 1); -x_21 = lean_ctor_get(x_2, 2); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_20 = lean_ctor_get(x_2, 0); +x_21 = lean_ctor_get(x_2, 1); +x_22 = lean_ctor_get(x_2, 2); +lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); lean_dec(x_2); -x_22 = lean_ctor_get(x_19, 0); -lean_inc(x_22); -x_23 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); -x_24 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 1); -x_25 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 2); -x_26 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 3); -x_27 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - x_28 = x_19; +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +x_24 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); +x_25 = lean_ctor_get_uint8(x_20, sizeof(void*)*1 + 1); +x_26 = lean_ctor_get_uint8(x_20, sizeof(void*)*1 + 2); +x_27 = lean_ctor_get_uint8(x_20, sizeof(void*)*1 + 3); +x_28 = lean_ctor_get_uint8(x_20, sizeof(void*)*1 + 4); +x_29 = lean_ctor_get_uint8(x_20, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_30 = x_20; } else { - lean_dec_ref(x_19); - x_28 = lean_box(0); + lean_dec_ref(x_20); + x_30 = lean_box(0); } -x_29 = 2; -if (lean_is_scalar(x_28)) { - x_30 = lean_alloc_ctor(0, 1, 6); +x_31 = 2; +if (lean_is_scalar(x_30)) { + x_32 = lean_alloc_ctor(0, 1, 7); } else { - x_30 = x_28; + x_32 = x_30; } -lean_ctor_set(x_30, 0, x_22); -lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_23); -lean_ctor_set_uint8(x_30, sizeof(void*)*1 + 1, x_24); -lean_ctor_set_uint8(x_30, sizeof(void*)*1 + 2, x_25); -lean_ctor_set_uint8(x_30, sizeof(void*)*1 + 3, x_26); -lean_ctor_set_uint8(x_30, sizeof(void*)*1 + 4, x_27); -lean_ctor_set_uint8(x_30, sizeof(void*)*1 + 5, x_29); -x_31 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_20); -lean_ctor_set(x_31, 2, x_21); -x_32 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at_Lean_Meta_isClassExpensive___main___spec__1(x_1, x_4, x_31, x_3); -return x_32; +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_24); +lean_ctor_set_uint8(x_32, sizeof(void*)*1 + 1, x_25); +lean_ctor_set_uint8(x_32, sizeof(void*)*1 + 2, x_26); +lean_ctor_set_uint8(x_32, sizeof(void*)*1 + 3, x_27); +lean_ctor_set_uint8(x_32, sizeof(void*)*1 + 4, x_28); +lean_ctor_set_uint8(x_32, sizeof(void*)*1 + 5, x_29); +lean_ctor_set_uint8(x_32, sizeof(void*)*1 + 6, x_31); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_21); +lean_ctor_set(x_33, 2, x_22); +x_34 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at_Lean_Meta_isClassExpensive___main___spec__1(x_1, x_4, x_33, x_3); +return x_34; } } } @@ -40589,7 +40646,7 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Meta_whnfUsingDefault(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Meta_whnfD(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -40603,89 +40660,85 @@ if (x_6 == 0) { uint8_t x_7; lean_object* x_8; x_7 = 1; -lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 5, x_7); +lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 6, x_7); x_8 = l_Lean_Meta_whnf(x_1, x_2, x_3); return x_8; } else { -lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; x_9 = lean_ctor_get(x_5, 0); x_10 = lean_ctor_get_uint8(x_5, sizeof(void*)*1); x_11 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 1); x_12 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 2); x_13 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 3); x_14 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 4); +x_15 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 5); lean_inc(x_9); lean_dec(x_5); -x_15 = 1; -x_16 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_16, 0, x_9); -lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_10); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 1, x_11); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 2, x_12); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 3, x_13); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 4, x_14); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 5, x_15); -lean_ctor_set(x_2, 0, x_16); -x_17 = l_Lean_Meta_whnf(x_1, x_2, x_3); -return x_17; +x_16 = 1; +x_17 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_10); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 1, x_11); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 2, x_12); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 3, x_13); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 4, x_14); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 5, x_15); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 6, x_16); +lean_ctor_set(x_2, 0, x_17); +x_18 = l_Lean_Meta_whnf(x_1, x_2, x_3); +return x_18; } } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_18 = lean_ctor_get(x_2, 0); -x_19 = lean_ctor_get(x_2, 1); -x_20 = lean_ctor_get(x_2, 2); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_19 = lean_ctor_get(x_2, 0); +x_20 = lean_ctor_get(x_2, 1); +x_21 = lean_ctor_get(x_2, 2); +lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); lean_dec(x_2); -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_21); -x_22 = lean_ctor_get_uint8(x_18, sizeof(void*)*1); -x_23 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 1); -x_24 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 2); -x_25 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 3); -x_26 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - x_27 = x_18; +x_22 = lean_ctor_get(x_19, 0); +lean_inc(x_22); +x_23 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); +x_24 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 1); +x_25 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 2); +x_26 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 3); +x_27 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 4); +x_28 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + x_29 = x_19; } else { - lean_dec_ref(x_18); - x_27 = lean_box(0); + lean_dec_ref(x_19); + x_29 = lean_box(0); } -x_28 = 1; -if (lean_is_scalar(x_27)) { - x_29 = lean_alloc_ctor(0, 1, 6); +x_30 = 1; +if (lean_is_scalar(x_29)) { + x_31 = lean_alloc_ctor(0, 1, 7); } else { - x_29 = x_27; + x_31 = x_29; } -lean_ctor_set(x_29, 0, x_21); -lean_ctor_set_uint8(x_29, sizeof(void*)*1, x_22); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 1, x_23); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 2, x_24); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 3, x_25); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 4, x_26); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 5, x_28); -x_30 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_19); -lean_ctor_set(x_30, 2, x_20); -x_31 = l_Lean_Meta_whnf(x_1, x_30, x_3); -return x_31; +lean_ctor_set(x_31, 0, x_22); +lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_23); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 1, x_24); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 2, x_25); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 3, x_26); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 4, x_27); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 5, x_28); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 6, x_30); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_20); +lean_ctor_set(x_32, 2, x_21); +x_33 = l_Lean_Meta_whnf(x_1, x_32, x_3); +return x_33; } } } -lean_object* l_Lean_Meta_whnfD(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Meta_whnfUsingDefault(x_1, x_2, x_3); -return x_4; -} -} lean_object* l_Lean_Meta_approxDefEq___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -40703,6 +40756,7 @@ x_7 = 1; lean_ctor_set_uint8(x_5, sizeof(void*)*1, x_7); lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 1, x_7); lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 2, x_7); +lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 3, x_7); x_8 = lean_apply_2(x_1, x_2, x_3); return x_8; } @@ -40710,20 +40764,21 @@ else { lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; x_9 = lean_ctor_get(x_5, 0); -x_10 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 3); -x_11 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 4); -x_12 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 5); +x_10 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 4); +x_11 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 5); +x_12 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 6); lean_inc(x_9); lean_dec(x_5); x_13 = 1; -x_14 = lean_alloc_ctor(0, 1, 6); +x_14 = lean_alloc_ctor(0, 1, 7); lean_ctor_set(x_14, 0, x_9); lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13); lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 1, x_13); lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 2, x_13); -lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 3, x_10); -lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 4, x_11); -lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 5, x_12); +lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 3, x_13); +lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 4, x_10); +lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 5, x_11); +lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 6, x_12); lean_ctor_set(x_2, 0, x_14); x_15 = lean_apply_2(x_1, x_2, x_3); return x_15; @@ -40741,9 +40796,9 @@ lean_inc(x_16); lean_dec(x_2); x_19 = lean_ctor_get(x_16, 0); lean_inc(x_19); -x_20 = lean_ctor_get_uint8(x_16, sizeof(void*)*1 + 3); -x_21 = lean_ctor_get_uint8(x_16, sizeof(void*)*1 + 4); -x_22 = lean_ctor_get_uint8(x_16, sizeof(void*)*1 + 5); +x_20 = lean_ctor_get_uint8(x_16, sizeof(void*)*1 + 4); +x_21 = lean_ctor_get_uint8(x_16, sizeof(void*)*1 + 5); +x_22 = lean_ctor_get_uint8(x_16, sizeof(void*)*1 + 6); if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 0); x_23 = x_16; @@ -40753,7 +40808,7 @@ if (lean_is_exclusive(x_16)) { } x_24 = 1; if (lean_is_scalar(x_23)) { - x_25 = lean_alloc_ctor(0, 1, 6); + x_25 = lean_alloc_ctor(0, 1, 7); } else { x_25 = x_23; } @@ -40761,9 +40816,10 @@ lean_ctor_set(x_25, 0, x_19); lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_24); lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 1, x_24); lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 2, x_24); -lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 3, x_20); -lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 4, x_21); -lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 5, x_22); +lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 3, x_24); +lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 4, x_20); +lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 5, x_21); +lean_ctor_set_uint8(x_25, sizeof(void*)*1 + 6, x_22); x_26 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_17); @@ -45877,14 +45933,15 @@ uint8_t x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_6 = 0; x_7 = 1; lean_inc(x_3); -x_8 = lean_alloc_ctor(0, 1, 6); +x_8 = lean_alloc_ctor(0, 1, 7); lean_ctor_set(x_8, 0, x_3); lean_ctor_set_uint8(x_8, sizeof(void*)*1, x_6); lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 1, x_6); lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 2, x_6); lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 3, x_6); lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 4, x_6); -lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 5, x_7); +lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 5, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 6, x_7); x_9 = l_Lean_LocalContext_Inhabited___closed__2; x_10 = l_Array_empty___closed__1; x_11 = lean_alloc_ctor(0, 3, 0); diff --git a/stage0/stdlib/Init/Lean/Meta/Check.c b/stage0/stdlib/Init/Lean/Meta/Check.c index 4d7ce6fc82..d2b8077f1d 100644 --- a/stage0/stdlib/Init/Lean/Meta/Check.c +++ b/stage0/stdlib/Init/Lean/Meta/Check.c @@ -2645,36 +2645,36 @@ return x_3; lean_object* l_Lean_Meta_check(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_5; lean_object* x_316; uint8_t x_317; -x_316 = lean_ctor_get(x_3, 4); -lean_inc(x_316); -x_317 = lean_ctor_get_uint8(x_316, sizeof(void*)*1); -lean_dec(x_316); -if (x_317 == 0) +uint8_t x_4; lean_object* x_5; lean_object* x_321; uint8_t x_322; +x_321 = lean_ctor_get(x_3, 4); +lean_inc(x_321); +x_322 = lean_ctor_get_uint8(x_321, sizeof(void*)*1); +lean_dec(x_321); +if (x_322 == 0) { -uint8_t x_318; -x_318 = 0; -x_4 = x_318; +uint8_t x_323; +x_323 = 0; +x_4 = x_323; x_5 = x_3; -goto block_315; +goto block_320; } else { -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; -x_319 = l_Lean_Meta_check___closed__3; -x_320 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_319, x_2, x_3); -x_321 = lean_ctor_get(x_320, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_320, 1); -lean_inc(x_322); -lean_dec(x_320); -x_323 = lean_unbox(x_321); -lean_dec(x_321); -x_4 = x_323; -x_5 = x_322; -goto block_315; +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; +x_324 = l_Lean_Meta_check___closed__3; +x_325 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_324, x_2, x_3); +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_325, 1); +lean_inc(x_327); +lean_dec(x_325); +x_328 = lean_unbox(x_326); +lean_dec(x_326); +x_4 = x_328; +x_5 = x_327; +goto block_320; } -block_315: +block_320: { if (x_4 == 0) { @@ -2701,7 +2701,7 @@ if (x_13 == 0) { uint8_t x_14; lean_object* x_15; x_14 = 0; -lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 5, x_14); +lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 6, x_14); x_15 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_2, x_5); if (lean_obj_tag(x_15) == 0) { @@ -2986,1008 +2986,1018 @@ return x_75; } else { -lean_object* x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; uint8_t x_80; uint8_t x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; +lean_object* x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; uint8_t x_80; uint8_t x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; x_76 = lean_ctor_get(x_12, 0); x_77 = lean_ctor_get_uint8(x_12, sizeof(void*)*1); x_78 = lean_ctor_get_uint8(x_12, sizeof(void*)*1 + 1); x_79 = lean_ctor_get_uint8(x_12, sizeof(void*)*1 + 2); x_80 = lean_ctor_get_uint8(x_12, sizeof(void*)*1 + 3); x_81 = lean_ctor_get_uint8(x_12, sizeof(void*)*1 + 4); +x_82 = lean_ctor_get_uint8(x_12, sizeof(void*)*1 + 5); lean_inc(x_76); lean_dec(x_12); -x_82 = 0; -x_83 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_83, 0, x_76); -lean_ctor_set_uint8(x_83, sizeof(void*)*1, x_77); -lean_ctor_set_uint8(x_83, sizeof(void*)*1 + 1, x_78); -lean_ctor_set_uint8(x_83, sizeof(void*)*1 + 2, x_79); -lean_ctor_set_uint8(x_83, sizeof(void*)*1 + 3, x_80); -lean_ctor_set_uint8(x_83, sizeof(void*)*1 + 4, x_81); -lean_ctor_set_uint8(x_83, sizeof(void*)*1 + 5, x_82); -lean_ctor_set(x_2, 0, x_83); -x_84 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_2, x_5); -if (lean_obj_tag(x_84) == 0) +x_83 = 0; +x_84 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_84, 0, x_76); +lean_ctor_set_uint8(x_84, sizeof(void*)*1, x_77); +lean_ctor_set_uint8(x_84, sizeof(void*)*1 + 1, x_78); +lean_ctor_set_uint8(x_84, sizeof(void*)*1 + 2, x_79); +lean_ctor_set_uint8(x_84, sizeof(void*)*1 + 3, x_80); +lean_ctor_set_uint8(x_84, sizeof(void*)*1 + 4, x_81); +lean_ctor_set_uint8(x_84, sizeof(void*)*1 + 5, x_82); +lean_ctor_set_uint8(x_84, sizeof(void*)*1 + 6, x_83); +lean_ctor_set(x_2, 0, x_84); +x_85 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_2, x_5); +if (lean_obj_tag(x_85) == 0) { -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; -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -x_86 = lean_ctor_get(x_85, 4); +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; +x_86 = lean_ctor_get(x_85, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_84, 0); +x_87 = lean_ctor_get(x_86, 4); lean_inc(x_87); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_88 = x_84; -} else { - lean_dec_ref(x_84); - x_88 = lean_box(0); -} -x_89 = lean_ctor_get(x_85, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_85, 1); -lean_inc(x_90); -x_91 = lean_ctor_get(x_85, 2); -lean_inc(x_91); -x_92 = lean_ctor_get(x_85, 3); -lean_inc(x_92); -x_93 = lean_ctor_get(x_85, 5); -lean_inc(x_93); +x_88 = lean_ctor_get(x_85, 0); +lean_inc(x_88); if (lean_is_exclusive(x_85)) { lean_ctor_release(x_85, 0); lean_ctor_release(x_85, 1); - lean_ctor_release(x_85, 2); - lean_ctor_release(x_85, 3); - lean_ctor_release(x_85, 4); - lean_ctor_release(x_85, 5); - x_94 = x_85; + x_89 = x_85; } else { lean_dec_ref(x_85); - x_94 = lean_box(0); + x_89 = lean_box(0); } -x_95 = lean_ctor_get(x_86, 0); -lean_inc(x_95); +x_90 = lean_ctor_get(x_86, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_86, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_86, 2); +lean_inc(x_92); +x_93 = lean_ctor_get(x_86, 3); +lean_inc(x_93); +x_94 = lean_ctor_get(x_86, 5); +lean_inc(x_94); if (lean_is_exclusive(x_86)) { lean_ctor_release(x_86, 0); - x_96 = x_86; + lean_ctor_release(x_86, 1); + lean_ctor_release(x_86, 2); + lean_ctor_release(x_86, 3); + lean_ctor_release(x_86, 4); + lean_ctor_release(x_86, 5); + x_95 = x_86; } else { lean_dec_ref(x_86); - x_96 = lean_box(0); + x_95 = lean_box(0); } -if (lean_is_scalar(x_96)) { - x_97 = lean_alloc_ctor(0, 1, 1); +x_96 = lean_ctor_get(x_87, 0); +lean_inc(x_96); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + x_97 = x_87; } else { - x_97 = x_96; + lean_dec_ref(x_87); + x_97 = lean_box(0); } -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set_uint8(x_97, sizeof(void*)*1, x_9); -if (lean_is_scalar(x_94)) { - x_98 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_97)) { + x_98 = lean_alloc_ctor(0, 1, 1); } else { - x_98 = x_94; + x_98 = x_97; } -lean_ctor_set(x_98, 0, x_89); -lean_ctor_set(x_98, 1, x_90); -lean_ctor_set(x_98, 2, x_91); -lean_ctor_set(x_98, 3, x_92); -lean_ctor_set(x_98, 4, x_97); -lean_ctor_set(x_98, 5, x_93); -if (lean_is_scalar(x_88)) { - x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set_uint8(x_98, sizeof(void*)*1, x_9); +if (lean_is_scalar(x_95)) { + x_99 = lean_alloc_ctor(0, 6, 0); } else { - x_99 = x_88; + x_99 = x_95; } -lean_ctor_set(x_99, 0, x_87); -lean_ctor_set(x_99, 1, x_98); -return x_99; +lean_ctor_set(x_99, 0, x_90); +lean_ctor_set(x_99, 1, x_91); +lean_ctor_set(x_99, 2, x_92); +lean_ctor_set(x_99, 3, x_93); +lean_ctor_set(x_99, 4, x_98); +lean_ctor_set(x_99, 5, x_94); +if (lean_is_scalar(x_89)) { + x_100 = lean_alloc_ctor(0, 2, 0); +} else { + x_100 = x_89; +} +lean_ctor_set(x_100, 0, x_88); +lean_ctor_set(x_100, 1, x_99); +return x_100; } else { -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; -x_100 = lean_ctor_get(x_84, 1); -lean_inc(x_100); -x_101 = lean_ctor_get(x_100, 4); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_101 = lean_ctor_get(x_85, 1); lean_inc(x_101); -x_102 = lean_ctor_get(x_84, 0); +x_102 = lean_ctor_get(x_101, 4); lean_inc(x_102); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_103 = x_84; +x_103 = lean_ctor_get(x_85, 0); +lean_inc(x_103); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_104 = x_85; } else { - lean_dec_ref(x_84); - x_103 = lean_box(0); + lean_dec_ref(x_85); + x_104 = lean_box(0); } -x_104 = lean_ctor_get(x_100, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_100, 1); +x_105 = lean_ctor_get(x_101, 0); lean_inc(x_105); -x_106 = lean_ctor_get(x_100, 2); +x_106 = lean_ctor_get(x_101, 1); lean_inc(x_106); -x_107 = lean_ctor_get(x_100, 3); +x_107 = lean_ctor_get(x_101, 2); lean_inc(x_107); -x_108 = lean_ctor_get(x_100, 5); +x_108 = lean_ctor_get(x_101, 3); lean_inc(x_108); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - lean_ctor_release(x_100, 2); - lean_ctor_release(x_100, 3); - lean_ctor_release(x_100, 4); - lean_ctor_release(x_100, 5); - x_109 = x_100; -} else { - lean_dec_ref(x_100); - x_109 = lean_box(0); -} -x_110 = lean_ctor_get(x_101, 0); -lean_inc(x_110); +x_109 = lean_ctor_get(x_101, 5); +lean_inc(x_109); if (lean_is_exclusive(x_101)) { lean_ctor_release(x_101, 0); - x_111 = x_101; + lean_ctor_release(x_101, 1); + lean_ctor_release(x_101, 2); + lean_ctor_release(x_101, 3); + lean_ctor_release(x_101, 4); + lean_ctor_release(x_101, 5); + x_110 = x_101; } else { lean_dec_ref(x_101); - x_111 = lean_box(0); + x_110 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 1, 1); +x_111 = lean_ctor_get(x_102, 0); +lean_inc(x_111); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + x_112 = x_102; } else { - x_112 = x_111; + lean_dec_ref(x_102); + x_112 = lean_box(0); } -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set_uint8(x_112, sizeof(void*)*1, x_9); -if (lean_is_scalar(x_109)) { - x_113 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(0, 1, 1); } else { - x_113 = x_109; + x_113 = x_112; } -lean_ctor_set(x_113, 0, x_104); -lean_ctor_set(x_113, 1, x_105); -lean_ctor_set(x_113, 2, x_106); -lean_ctor_set(x_113, 3, x_107); -lean_ctor_set(x_113, 4, x_112); -lean_ctor_set(x_113, 5, x_108); -if (lean_is_scalar(x_103)) { - x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set_uint8(x_113, sizeof(void*)*1, x_9); +if (lean_is_scalar(x_110)) { + x_114 = lean_alloc_ctor(0, 6, 0); } else { - x_114 = x_103; + x_114 = x_110; } -lean_ctor_set(x_114, 0, x_102); -lean_ctor_set(x_114, 1, x_113); -return x_114; +lean_ctor_set(x_114, 0, x_105); +lean_ctor_set(x_114, 1, x_106); +lean_ctor_set(x_114, 2, x_107); +lean_ctor_set(x_114, 3, x_108); +lean_ctor_set(x_114, 4, x_113); +lean_ctor_set(x_114, 5, x_109); +if (lean_is_scalar(x_104)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_104; +} +lean_ctor_set(x_115, 0, x_103); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; uint8_t x_120; uint8_t x_121; uint8_t x_122; uint8_t x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_115 = lean_ctor_get(x_2, 0); -x_116 = lean_ctor_get(x_2, 1); -x_117 = lean_ctor_get(x_2, 2); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; uint8_t x_121; uint8_t x_122; uint8_t x_123; uint8_t x_124; uint8_t x_125; lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_116 = lean_ctor_get(x_2, 0); +x_117 = lean_ctor_get(x_2, 1); +x_118 = lean_ctor_get(x_2, 2); +lean_inc(x_118); lean_inc(x_117); lean_inc(x_116); -lean_inc(x_115); lean_dec(x_2); -x_118 = lean_ctor_get(x_115, 0); -lean_inc(x_118); -x_119 = lean_ctor_get_uint8(x_115, sizeof(void*)*1); -x_120 = lean_ctor_get_uint8(x_115, sizeof(void*)*1 + 1); -x_121 = lean_ctor_get_uint8(x_115, sizeof(void*)*1 + 2); -x_122 = lean_ctor_get_uint8(x_115, sizeof(void*)*1 + 3); -x_123 = lean_ctor_get_uint8(x_115, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - x_124 = x_115; +x_119 = lean_ctor_get(x_116, 0); +lean_inc(x_119); +x_120 = lean_ctor_get_uint8(x_116, sizeof(void*)*1); +x_121 = lean_ctor_get_uint8(x_116, sizeof(void*)*1 + 1); +x_122 = lean_ctor_get_uint8(x_116, sizeof(void*)*1 + 2); +x_123 = lean_ctor_get_uint8(x_116, sizeof(void*)*1 + 3); +x_124 = lean_ctor_get_uint8(x_116, sizeof(void*)*1 + 4); +x_125 = lean_ctor_get_uint8(x_116, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + x_126 = x_116; } else { - lean_dec_ref(x_115); - x_124 = lean_box(0); + lean_dec_ref(x_116); + x_126 = lean_box(0); } -x_125 = 0; -if (lean_is_scalar(x_124)) { - x_126 = lean_alloc_ctor(0, 1, 6); +x_127 = 0; +if (lean_is_scalar(x_126)) { + x_128 = lean_alloc_ctor(0, 1, 7); } else { - x_126 = x_124; + x_128 = x_126; } -lean_ctor_set(x_126, 0, x_118); -lean_ctor_set_uint8(x_126, sizeof(void*)*1, x_119); -lean_ctor_set_uint8(x_126, sizeof(void*)*1 + 1, x_120); -lean_ctor_set_uint8(x_126, sizeof(void*)*1 + 2, x_121); -lean_ctor_set_uint8(x_126, sizeof(void*)*1 + 3, x_122); -lean_ctor_set_uint8(x_126, sizeof(void*)*1 + 4, x_123); -lean_ctor_set_uint8(x_126, sizeof(void*)*1 + 5, x_125); -x_127 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_116); -lean_ctor_set(x_127, 2, x_117); -x_128 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_127, x_5); -if (lean_obj_tag(x_128) == 0) +lean_ctor_set(x_128, 0, x_119); +lean_ctor_set_uint8(x_128, sizeof(void*)*1, x_120); +lean_ctor_set_uint8(x_128, sizeof(void*)*1 + 1, x_121); +lean_ctor_set_uint8(x_128, sizeof(void*)*1 + 2, x_122); +lean_ctor_set_uint8(x_128, sizeof(void*)*1 + 3, x_123); +lean_ctor_set_uint8(x_128, sizeof(void*)*1 + 4, x_124); +lean_ctor_set_uint8(x_128, sizeof(void*)*1 + 5, x_125); +lean_ctor_set_uint8(x_128, sizeof(void*)*1 + 6, x_127); +x_129 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_117); +lean_ctor_set(x_129, 2, x_118); +x_130 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_129, x_5); +if (lean_obj_tag(x_130) == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; 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_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -x_130 = lean_ctor_get(x_129, 4); -lean_inc(x_130); -x_131 = lean_ctor_get(x_128, 0); +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; +x_131 = lean_ctor_get(x_130, 1); lean_inc(x_131); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_132 = x_128; -} else { - lean_dec_ref(x_128); - x_132 = lean_box(0); -} -x_133 = lean_ctor_get(x_129, 0); +x_132 = lean_ctor_get(x_131, 4); +lean_inc(x_132); +x_133 = lean_ctor_get(x_130, 0); lean_inc(x_133); -x_134 = lean_ctor_get(x_129, 1); -lean_inc(x_134); -x_135 = lean_ctor_get(x_129, 2); -lean_inc(x_135); -x_136 = lean_ctor_get(x_129, 3); -lean_inc(x_136); -x_137 = lean_ctor_get(x_129, 5); -lean_inc(x_137); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - lean_ctor_release(x_129, 2); - lean_ctor_release(x_129, 3); - lean_ctor_release(x_129, 4); - lean_ctor_release(x_129, 5); - x_138 = x_129; -} else { - lean_dec_ref(x_129); - x_138 = lean_box(0); -} -x_139 = lean_ctor_get(x_130, 0); -lean_inc(x_139); if (lean_is_exclusive(x_130)) { lean_ctor_release(x_130, 0); - x_140 = x_130; + lean_ctor_release(x_130, 1); + x_134 = x_130; } else { lean_dec_ref(x_130); + x_134 = lean_box(0); +} +x_135 = lean_ctor_get(x_131, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_131, 1); +lean_inc(x_136); +x_137 = lean_ctor_get(x_131, 2); +lean_inc(x_137); +x_138 = lean_ctor_get(x_131, 3); +lean_inc(x_138); +x_139 = lean_ctor_get(x_131, 5); +lean_inc(x_139); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + lean_ctor_release(x_131, 2); + lean_ctor_release(x_131, 3); + lean_ctor_release(x_131, 4); + lean_ctor_release(x_131, 5); + x_140 = x_131; +} else { + lean_dec_ref(x_131); x_140 = lean_box(0); } +x_141 = lean_ctor_get(x_132, 0); +lean_inc(x_141); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + x_142 = x_132; +} else { + lean_dec_ref(x_132); + x_142 = lean_box(0); +} +if (lean_is_scalar(x_142)) { + x_143 = lean_alloc_ctor(0, 1, 1); +} else { + x_143 = x_142; +} +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set_uint8(x_143, sizeof(void*)*1, x_9); if (lean_is_scalar(x_140)) { - x_141 = lean_alloc_ctor(0, 1, 1); + x_144 = lean_alloc_ctor(0, 6, 0); } else { - x_141 = x_140; + x_144 = x_140; } -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set_uint8(x_141, sizeof(void*)*1, x_9); -if (lean_is_scalar(x_138)) { - x_142 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_144, 0, x_135); +lean_ctor_set(x_144, 1, x_136); +lean_ctor_set(x_144, 2, x_137); +lean_ctor_set(x_144, 3, x_138); +lean_ctor_set(x_144, 4, x_143); +lean_ctor_set(x_144, 5, x_139); +if (lean_is_scalar(x_134)) { + x_145 = lean_alloc_ctor(0, 2, 0); } else { - x_142 = x_138; + x_145 = x_134; } -lean_ctor_set(x_142, 0, x_133); -lean_ctor_set(x_142, 1, x_134); -lean_ctor_set(x_142, 2, x_135); -lean_ctor_set(x_142, 3, x_136); -lean_ctor_set(x_142, 4, x_141); -lean_ctor_set(x_142, 5, x_137); -if (lean_is_scalar(x_132)) { - x_143 = lean_alloc_ctor(0, 2, 0); -} else { - x_143 = x_132; -} -lean_ctor_set(x_143, 0, x_131); -lean_ctor_set(x_143, 1, x_142); -return x_143; +lean_ctor_set(x_145, 0, x_133); +lean_ctor_set(x_145, 1, x_144); +return x_145; } 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; -x_144 = lean_ctor_get(x_128, 1); -lean_inc(x_144); -x_145 = lean_ctor_get(x_144, 4); -lean_inc(x_145); -x_146 = lean_ctor_get(x_128, 0); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_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; +x_146 = lean_ctor_get(x_130, 1); lean_inc(x_146); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_147 = x_128; -} else { - lean_dec_ref(x_128); - x_147 = lean_box(0); -} -x_148 = lean_ctor_get(x_144, 0); +x_147 = lean_ctor_get(x_146, 4); +lean_inc(x_147); +x_148 = lean_ctor_get(x_130, 0); lean_inc(x_148); -x_149 = lean_ctor_get(x_144, 1); -lean_inc(x_149); -x_150 = lean_ctor_get(x_144, 2); -lean_inc(x_150); -x_151 = lean_ctor_get(x_144, 3); -lean_inc(x_151); -x_152 = lean_ctor_get(x_144, 5); -lean_inc(x_152); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - lean_ctor_release(x_144, 2); - lean_ctor_release(x_144, 3); - lean_ctor_release(x_144, 4); - lean_ctor_release(x_144, 5); - x_153 = x_144; +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_149 = x_130; } else { - lean_dec_ref(x_144); - x_153 = lean_box(0); + lean_dec_ref(x_130); + x_149 = lean_box(0); } -x_154 = lean_ctor_get(x_145, 0); +x_150 = lean_ctor_get(x_146, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_146, 1); +lean_inc(x_151); +x_152 = lean_ctor_get(x_146, 2); +lean_inc(x_152); +x_153 = lean_ctor_get(x_146, 3); +lean_inc(x_153); +x_154 = lean_ctor_get(x_146, 5); lean_inc(x_154); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - x_155 = x_145; +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + lean_ctor_release(x_146, 2); + lean_ctor_release(x_146, 3); + lean_ctor_release(x_146, 4); + lean_ctor_release(x_146, 5); + x_155 = x_146; } else { - lean_dec_ref(x_145); + lean_dec_ref(x_146); x_155 = lean_box(0); } +x_156 = lean_ctor_get(x_147, 0); +lean_inc(x_156); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + x_157 = x_147; +} else { + lean_dec_ref(x_147); + x_157 = lean_box(0); +} +if (lean_is_scalar(x_157)) { + x_158 = lean_alloc_ctor(0, 1, 1); +} else { + x_158 = x_157; +} +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set_uint8(x_158, sizeof(void*)*1, x_9); if (lean_is_scalar(x_155)) { - x_156 = lean_alloc_ctor(0, 1, 1); + x_159 = lean_alloc_ctor(0, 6, 0); } else { - x_156 = x_155; + x_159 = x_155; } -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set_uint8(x_156, sizeof(void*)*1, x_9); -if (lean_is_scalar(x_153)) { - x_157 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_159, 0, x_150); +lean_ctor_set(x_159, 1, x_151); +lean_ctor_set(x_159, 2, x_152); +lean_ctor_set(x_159, 3, x_153); +lean_ctor_set(x_159, 4, x_158); +lean_ctor_set(x_159, 5, x_154); +if (lean_is_scalar(x_149)) { + x_160 = lean_alloc_ctor(1, 2, 0); } else { - x_157 = x_153; + x_160 = x_149; } -lean_ctor_set(x_157, 0, x_148); -lean_ctor_set(x_157, 1, x_149); -lean_ctor_set(x_157, 2, x_150); -lean_ctor_set(x_157, 3, x_151); -lean_ctor_set(x_157, 4, x_156); -lean_ctor_set(x_157, 5, x_152); -if (lean_is_scalar(x_147)) { - x_158 = lean_alloc_ctor(1, 2, 0); -} else { - x_158 = x_147; -} -lean_ctor_set(x_158, 0, x_146); -lean_ctor_set(x_158, 1, x_157); -return x_158; +lean_ctor_set(x_160, 0, x_148); +lean_ctor_set(x_160, 1, x_159); +return x_160; } } } else { -uint8_t x_159; lean_object* x_160; uint8_t 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; uint8_t x_168; uint8_t x_169; uint8_t x_170; uint8_t x_171; uint8_t x_172; lean_object* x_173; uint8_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_159 = lean_ctor_get_uint8(x_7, sizeof(void*)*1); -x_160 = lean_ctor_get(x_7, 0); -lean_inc(x_160); +uint8_t x_161; lean_object* x_162; uint8_t 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; uint8_t x_170; uint8_t x_171; uint8_t x_172; uint8_t x_173; uint8_t x_174; uint8_t x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_161 = lean_ctor_get_uint8(x_7, sizeof(void*)*1); +x_162 = lean_ctor_get(x_7, 0); +lean_inc(x_162); lean_dec(x_7); -x_161 = 0; -x_162 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set_uint8(x_162, sizeof(void*)*1, x_161); -lean_ctor_set(x_5, 4, x_162); -x_163 = lean_ctor_get(x_2, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_2, 1); -lean_inc(x_164); -x_165 = lean_ctor_get(x_2, 2); +x_163 = 0; +x_164 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_164, 0, x_162); +lean_ctor_set_uint8(x_164, sizeof(void*)*1, x_163); +lean_ctor_set(x_5, 4, x_164); +x_165 = lean_ctor_get(x_2, 0); lean_inc(x_165); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - x_166 = x_2; -} else { - lean_dec_ref(x_2); - x_166 = lean_box(0); -} -x_167 = lean_ctor_get(x_163, 0); +x_166 = lean_ctor_get(x_2, 1); +lean_inc(x_166); +x_167 = lean_ctor_get(x_2, 2); lean_inc(x_167); -x_168 = lean_ctor_get_uint8(x_163, sizeof(void*)*1); -x_169 = lean_ctor_get_uint8(x_163, sizeof(void*)*1 + 1); -x_170 = lean_ctor_get_uint8(x_163, sizeof(void*)*1 + 2); -x_171 = lean_ctor_get_uint8(x_163, sizeof(void*)*1 + 3); -x_172 = lean_ctor_get_uint8(x_163, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_163)) { - lean_ctor_release(x_163, 0); - x_173 = x_163; -} else { - lean_dec_ref(x_163); - x_173 = lean_box(0); -} -x_174 = 0; -if (lean_is_scalar(x_173)) { - x_175 = lean_alloc_ctor(0, 1, 6); -} else { - x_175 = x_173; -} -lean_ctor_set(x_175, 0, x_167); -lean_ctor_set_uint8(x_175, sizeof(void*)*1, x_168); -lean_ctor_set_uint8(x_175, sizeof(void*)*1 + 1, x_169); -lean_ctor_set_uint8(x_175, sizeof(void*)*1 + 2, x_170); -lean_ctor_set_uint8(x_175, sizeof(void*)*1 + 3, x_171); -lean_ctor_set_uint8(x_175, sizeof(void*)*1 + 4, x_172); -lean_ctor_set_uint8(x_175, sizeof(void*)*1 + 5, x_174); -if (lean_is_scalar(x_166)) { - x_176 = lean_alloc_ctor(0, 3, 0); -} else { - x_176 = x_166; -} -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_164); -lean_ctor_set(x_176, 2, x_165); -x_177 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_176, x_5); -if (lean_obj_tag(x_177) == 0) -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_178 = lean_ctor_get(x_177, 1); -lean_inc(x_178); -x_179 = lean_ctor_get(x_178, 4); -lean_inc(x_179); -x_180 = lean_ctor_get(x_177, 0); -lean_inc(x_180); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_181 = x_177; -} else { - lean_dec_ref(x_177); - x_181 = lean_box(0); -} -x_182 = lean_ctor_get(x_178, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_178, 1); -lean_inc(x_183); -x_184 = lean_ctor_get(x_178, 2); -lean_inc(x_184); -x_185 = lean_ctor_get(x_178, 3); -lean_inc(x_185); -x_186 = lean_ctor_get(x_178, 5); -lean_inc(x_186); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - lean_ctor_release(x_178, 2); - lean_ctor_release(x_178, 3); - lean_ctor_release(x_178, 4); - lean_ctor_release(x_178, 5); - x_187 = x_178; -} else { - lean_dec_ref(x_178); - x_187 = lean_box(0); -} -x_188 = lean_ctor_get(x_179, 0); -lean_inc(x_188); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - x_189 = x_179; -} else { - lean_dec_ref(x_179); - x_189 = lean_box(0); -} -if (lean_is_scalar(x_189)) { - x_190 = lean_alloc_ctor(0, 1, 1); -} else { - x_190 = x_189; -} -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set_uint8(x_190, sizeof(void*)*1, x_159); -if (lean_is_scalar(x_187)) { - x_191 = lean_alloc_ctor(0, 6, 0); -} else { - x_191 = x_187; -} -lean_ctor_set(x_191, 0, x_182); -lean_ctor_set(x_191, 1, x_183); -lean_ctor_set(x_191, 2, x_184); -lean_ctor_set(x_191, 3, x_185); -lean_ctor_set(x_191, 4, x_190); -lean_ctor_set(x_191, 5, x_186); -if (lean_is_scalar(x_181)) { - x_192 = lean_alloc_ctor(0, 2, 0); -} else { - x_192 = x_181; -} -lean_ctor_set(x_192, 0, x_180); -lean_ctor_set(x_192, 1, x_191); -return x_192; -} -else -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_193 = lean_ctor_get(x_177, 1); -lean_inc(x_193); -x_194 = lean_ctor_get(x_193, 4); -lean_inc(x_194); -x_195 = lean_ctor_get(x_177, 0); -lean_inc(x_195); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_196 = x_177; -} else { - lean_dec_ref(x_177); - x_196 = lean_box(0); -} -x_197 = lean_ctor_get(x_193, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_193, 1); -lean_inc(x_198); -x_199 = lean_ctor_get(x_193, 2); -lean_inc(x_199); -x_200 = lean_ctor_get(x_193, 3); -lean_inc(x_200); -x_201 = lean_ctor_get(x_193, 5); -lean_inc(x_201); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - lean_ctor_release(x_193, 2); - lean_ctor_release(x_193, 3); - lean_ctor_release(x_193, 4); - lean_ctor_release(x_193, 5); - x_202 = x_193; -} else { - lean_dec_ref(x_193); - x_202 = lean_box(0); -} -x_203 = lean_ctor_get(x_194, 0); -lean_inc(x_203); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - x_204 = x_194; -} else { - lean_dec_ref(x_194); - x_204 = lean_box(0); -} -if (lean_is_scalar(x_204)) { - x_205 = lean_alloc_ctor(0, 1, 1); -} else { - x_205 = x_204; -} -lean_ctor_set(x_205, 0, x_203); -lean_ctor_set_uint8(x_205, sizeof(void*)*1, x_159); -if (lean_is_scalar(x_202)) { - x_206 = lean_alloc_ctor(0, 6, 0); -} else { - x_206 = x_202; -} -lean_ctor_set(x_206, 0, x_197); -lean_ctor_set(x_206, 1, x_198); -lean_ctor_set(x_206, 2, x_199); -lean_ctor_set(x_206, 3, x_200); -lean_ctor_set(x_206, 4, x_205); -lean_ctor_set(x_206, 5, x_201); -if (lean_is_scalar(x_196)) { - x_207 = lean_alloc_ctor(1, 2, 0); -} else { - x_207 = x_196; -} -lean_ctor_set(x_207, 0, x_195); -lean_ctor_set(x_207, 1, x_206); -return x_207; -} -} -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; uint8_t x_226; uint8_t x_227; uint8_t x_228; uint8_t x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_208 = lean_ctor_get(x_5, 4); -x_209 = lean_ctor_get(x_5, 0); -x_210 = lean_ctor_get(x_5, 1); -x_211 = lean_ctor_get(x_5, 2); -x_212 = lean_ctor_get(x_5, 3); -x_213 = lean_ctor_get(x_5, 5); -lean_inc(x_213); -lean_inc(x_208); -lean_inc(x_212); -lean_inc(x_211); -lean_inc(x_210); -lean_inc(x_209); -lean_dec(x_5); -x_214 = lean_ctor_get_uint8(x_208, sizeof(void*)*1); -x_215 = lean_ctor_get(x_208, 0); -lean_inc(x_215); -if (lean_is_exclusive(x_208)) { - lean_ctor_release(x_208, 0); - x_216 = x_208; -} else { - lean_dec_ref(x_208); - x_216 = lean_box(0); -} -x_217 = 0; -if (lean_is_scalar(x_216)) { - x_218 = lean_alloc_ctor(0, 1, 1); -} else { - x_218 = x_216; -} -lean_ctor_set(x_218, 0, x_215); -lean_ctor_set_uint8(x_218, sizeof(void*)*1, x_217); -x_219 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_219, 0, x_209); -lean_ctor_set(x_219, 1, x_210); -lean_ctor_set(x_219, 2, x_211); -lean_ctor_set(x_219, 3, x_212); -lean_ctor_set(x_219, 4, x_218); -lean_ctor_set(x_219, 5, x_213); -x_220 = lean_ctor_get(x_2, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_2, 1); -lean_inc(x_221); -x_222 = lean_ctor_get(x_2, 2); -lean_inc(x_222); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); lean_ctor_release(x_2, 2); - x_223 = x_2; + x_168 = x_2; } else { lean_dec_ref(x_2); - x_223 = lean_box(0); + x_168 = lean_box(0); } -x_224 = lean_ctor_get(x_220, 0); +x_169 = lean_ctor_get(x_165, 0); +lean_inc(x_169); +x_170 = lean_ctor_get_uint8(x_165, sizeof(void*)*1); +x_171 = lean_ctor_get_uint8(x_165, sizeof(void*)*1 + 1); +x_172 = lean_ctor_get_uint8(x_165, sizeof(void*)*1 + 2); +x_173 = lean_ctor_get_uint8(x_165, sizeof(void*)*1 + 3); +x_174 = lean_ctor_get_uint8(x_165, sizeof(void*)*1 + 4); +x_175 = lean_ctor_get_uint8(x_165, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + x_176 = x_165; +} else { + lean_dec_ref(x_165); + x_176 = lean_box(0); +} +x_177 = 0; +if (lean_is_scalar(x_176)) { + x_178 = lean_alloc_ctor(0, 1, 7); +} else { + x_178 = x_176; +} +lean_ctor_set(x_178, 0, x_169); +lean_ctor_set_uint8(x_178, sizeof(void*)*1, x_170); +lean_ctor_set_uint8(x_178, sizeof(void*)*1 + 1, x_171); +lean_ctor_set_uint8(x_178, sizeof(void*)*1 + 2, x_172); +lean_ctor_set_uint8(x_178, sizeof(void*)*1 + 3, x_173); +lean_ctor_set_uint8(x_178, sizeof(void*)*1 + 4, x_174); +lean_ctor_set_uint8(x_178, sizeof(void*)*1 + 5, x_175); +lean_ctor_set_uint8(x_178, sizeof(void*)*1 + 6, x_177); +if (lean_is_scalar(x_168)) { + x_179 = lean_alloc_ctor(0, 3, 0); +} else { + x_179 = x_168; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_166); +lean_ctor_set(x_179, 2, x_167); +x_180 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_179, x_5); +if (lean_obj_tag(x_180) == 0) +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_181 = lean_ctor_get(x_180, 1); +lean_inc(x_181); +x_182 = lean_ctor_get(x_181, 4); +lean_inc(x_182); +x_183 = lean_ctor_get(x_180, 0); +lean_inc(x_183); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_184 = x_180; +} else { + lean_dec_ref(x_180); + x_184 = lean_box(0); +} +x_185 = lean_ctor_get(x_181, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_181, 1); +lean_inc(x_186); +x_187 = lean_ctor_get(x_181, 2); +lean_inc(x_187); +x_188 = lean_ctor_get(x_181, 3); +lean_inc(x_188); +x_189 = lean_ctor_get(x_181, 5); +lean_inc(x_189); +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + lean_ctor_release(x_181, 1); + lean_ctor_release(x_181, 2); + lean_ctor_release(x_181, 3); + lean_ctor_release(x_181, 4); + lean_ctor_release(x_181, 5); + x_190 = x_181; +} else { + lean_dec_ref(x_181); + x_190 = lean_box(0); +} +x_191 = lean_ctor_get(x_182, 0); +lean_inc(x_191); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + x_192 = x_182; +} else { + lean_dec_ref(x_182); + x_192 = lean_box(0); +} +if (lean_is_scalar(x_192)) { + x_193 = lean_alloc_ctor(0, 1, 1); +} else { + x_193 = x_192; +} +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set_uint8(x_193, sizeof(void*)*1, x_161); +if (lean_is_scalar(x_190)) { + x_194 = lean_alloc_ctor(0, 6, 0); +} else { + x_194 = x_190; +} +lean_ctor_set(x_194, 0, x_185); +lean_ctor_set(x_194, 1, x_186); +lean_ctor_set(x_194, 2, x_187); +lean_ctor_set(x_194, 3, x_188); +lean_ctor_set(x_194, 4, x_193); +lean_ctor_set(x_194, 5, x_189); +if (lean_is_scalar(x_184)) { + x_195 = lean_alloc_ctor(0, 2, 0); +} else { + x_195 = x_184; +} +lean_ctor_set(x_195, 0, x_183); +lean_ctor_set(x_195, 1, x_194); +return x_195; +} +else +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_196 = lean_ctor_get(x_180, 1); +lean_inc(x_196); +x_197 = lean_ctor_get(x_196, 4); +lean_inc(x_197); +x_198 = lean_ctor_get(x_180, 0); +lean_inc(x_198); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_199 = x_180; +} else { + lean_dec_ref(x_180); + x_199 = lean_box(0); +} +x_200 = lean_ctor_get(x_196, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_196, 1); +lean_inc(x_201); +x_202 = lean_ctor_get(x_196, 2); +lean_inc(x_202); +x_203 = lean_ctor_get(x_196, 3); +lean_inc(x_203); +x_204 = lean_ctor_get(x_196, 5); +lean_inc(x_204); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + lean_ctor_release(x_196, 2); + lean_ctor_release(x_196, 3); + lean_ctor_release(x_196, 4); + lean_ctor_release(x_196, 5); + x_205 = x_196; +} else { + lean_dec_ref(x_196); + x_205 = lean_box(0); +} +x_206 = lean_ctor_get(x_197, 0); +lean_inc(x_206); +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + x_207 = x_197; +} else { + lean_dec_ref(x_197); + x_207 = lean_box(0); +} +if (lean_is_scalar(x_207)) { + x_208 = lean_alloc_ctor(0, 1, 1); +} else { + x_208 = x_207; +} +lean_ctor_set(x_208, 0, x_206); +lean_ctor_set_uint8(x_208, sizeof(void*)*1, x_161); +if (lean_is_scalar(x_205)) { + x_209 = lean_alloc_ctor(0, 6, 0); +} else { + x_209 = x_205; +} +lean_ctor_set(x_209, 0, x_200); +lean_ctor_set(x_209, 1, x_201); +lean_ctor_set(x_209, 2, x_202); +lean_ctor_set(x_209, 3, x_203); +lean_ctor_set(x_209, 4, x_208); +lean_ctor_set(x_209, 5, x_204); +if (lean_is_scalar(x_199)) { + x_210 = lean_alloc_ctor(1, 2, 0); +} else { + x_210 = x_199; +} +lean_ctor_set(x_210, 0, x_198); +lean_ctor_set(x_210, 1, x_209); +return x_210; +} +} +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; uint8_t 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; uint8_t x_228; uint8_t x_229; uint8_t x_230; uint8_t x_231; uint8_t x_232; uint8_t x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_211 = lean_ctor_get(x_5, 4); +x_212 = lean_ctor_get(x_5, 0); +x_213 = lean_ctor_get(x_5, 1); +x_214 = lean_ctor_get(x_5, 2); +x_215 = lean_ctor_get(x_5, 3); +x_216 = lean_ctor_get(x_5, 5); +lean_inc(x_216); +lean_inc(x_211); +lean_inc(x_215); +lean_inc(x_214); +lean_inc(x_213); +lean_inc(x_212); +lean_dec(x_5); +x_217 = lean_ctor_get_uint8(x_211, sizeof(void*)*1); +x_218 = lean_ctor_get(x_211, 0); +lean_inc(x_218); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + x_219 = x_211; +} else { + lean_dec_ref(x_211); + x_219 = lean_box(0); +} +x_220 = 0; +if (lean_is_scalar(x_219)) { + x_221 = lean_alloc_ctor(0, 1, 1); +} else { + x_221 = x_219; +} +lean_ctor_set(x_221, 0, x_218); +lean_ctor_set_uint8(x_221, sizeof(void*)*1, x_220); +x_222 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_222, 0, x_212); +lean_ctor_set(x_222, 1, x_213); +lean_ctor_set(x_222, 2, x_214); +lean_ctor_set(x_222, 3, x_215); +lean_ctor_set(x_222, 4, x_221); +lean_ctor_set(x_222, 5, x_216); +x_223 = lean_ctor_get(x_2, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_2, 1); lean_inc(x_224); -x_225 = lean_ctor_get_uint8(x_220, sizeof(void*)*1); -x_226 = lean_ctor_get_uint8(x_220, sizeof(void*)*1 + 1); -x_227 = lean_ctor_get_uint8(x_220, sizeof(void*)*1 + 2); -x_228 = lean_ctor_get_uint8(x_220, sizeof(void*)*1 + 3); -x_229 = lean_ctor_get_uint8(x_220, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - x_230 = x_220; +x_225 = lean_ctor_get(x_2, 2); +lean_inc(x_225); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + x_226 = x_2; } else { - lean_dec_ref(x_220); - x_230 = lean_box(0); + lean_dec_ref(x_2); + x_226 = lean_box(0); } -x_231 = 0; -if (lean_is_scalar(x_230)) { - x_232 = lean_alloc_ctor(0, 1, 6); +x_227 = lean_ctor_get(x_223, 0); +lean_inc(x_227); +x_228 = lean_ctor_get_uint8(x_223, sizeof(void*)*1); +x_229 = lean_ctor_get_uint8(x_223, sizeof(void*)*1 + 1); +x_230 = lean_ctor_get_uint8(x_223, sizeof(void*)*1 + 2); +x_231 = lean_ctor_get_uint8(x_223, sizeof(void*)*1 + 3); +x_232 = lean_ctor_get_uint8(x_223, sizeof(void*)*1 + 4); +x_233 = lean_ctor_get_uint8(x_223, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_223)) { + lean_ctor_release(x_223, 0); + x_234 = x_223; } else { - x_232 = x_230; + lean_dec_ref(x_223); + x_234 = lean_box(0); } -lean_ctor_set(x_232, 0, x_224); -lean_ctor_set_uint8(x_232, sizeof(void*)*1, x_225); -lean_ctor_set_uint8(x_232, sizeof(void*)*1 + 1, x_226); -lean_ctor_set_uint8(x_232, sizeof(void*)*1 + 2, x_227); -lean_ctor_set_uint8(x_232, sizeof(void*)*1 + 3, x_228); -lean_ctor_set_uint8(x_232, sizeof(void*)*1 + 4, x_229); -lean_ctor_set_uint8(x_232, sizeof(void*)*1 + 5, x_231); -if (lean_is_scalar(x_223)) { - x_233 = lean_alloc_ctor(0, 3, 0); +x_235 = 0; +if (lean_is_scalar(x_234)) { + x_236 = lean_alloc_ctor(0, 1, 7); } else { - x_233 = x_223; + x_236 = x_234; } -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_221); -lean_ctor_set(x_233, 2, x_222); -x_234 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_233, x_219); -if (lean_obj_tag(x_234) == 0) +lean_ctor_set(x_236, 0, x_227); +lean_ctor_set_uint8(x_236, sizeof(void*)*1, x_228); +lean_ctor_set_uint8(x_236, sizeof(void*)*1 + 1, x_229); +lean_ctor_set_uint8(x_236, sizeof(void*)*1 + 2, x_230); +lean_ctor_set_uint8(x_236, sizeof(void*)*1 + 3, x_231); +lean_ctor_set_uint8(x_236, sizeof(void*)*1 + 4, x_232); +lean_ctor_set_uint8(x_236, sizeof(void*)*1 + 5, x_233); +lean_ctor_set_uint8(x_236, sizeof(void*)*1 + 6, x_235); +if (lean_is_scalar(x_226)) { + x_237 = lean_alloc_ctor(0, 3, 0); +} else { + x_237 = x_226; +} +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_224); +lean_ctor_set(x_237, 2, x_225); +x_238 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_237, x_222); +if (lean_obj_tag(x_238) == 0) { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_235 = lean_ctor_get(x_234, 1); -lean_inc(x_235); -x_236 = lean_ctor_get(x_235, 4); -lean_inc(x_236); -x_237 = lean_ctor_get(x_234, 0); -lean_inc(x_237); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - x_238 = x_234; -} else { - lean_dec_ref(x_234); - x_238 = lean_box(0); -} -x_239 = lean_ctor_get(x_235, 0); +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_239 = lean_ctor_get(x_238, 1); lean_inc(x_239); -x_240 = lean_ctor_get(x_235, 1); +x_240 = lean_ctor_get(x_239, 4); lean_inc(x_240); -x_241 = lean_ctor_get(x_235, 2); +x_241 = lean_ctor_get(x_238, 0); lean_inc(x_241); -x_242 = lean_ctor_get(x_235, 3); -lean_inc(x_242); -x_243 = lean_ctor_get(x_235, 5); +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + lean_ctor_release(x_238, 1); + x_242 = x_238; +} else { + lean_dec_ref(x_238); + x_242 = lean_box(0); +} +x_243 = lean_ctor_get(x_239, 0); lean_inc(x_243); -if (lean_is_exclusive(x_235)) { - lean_ctor_release(x_235, 0); - lean_ctor_release(x_235, 1); - lean_ctor_release(x_235, 2); - lean_ctor_release(x_235, 3); - lean_ctor_release(x_235, 4); - lean_ctor_release(x_235, 5); - x_244 = x_235; -} else { - lean_dec_ref(x_235); - x_244 = lean_box(0); -} -x_245 = lean_ctor_get(x_236, 0); +x_244 = lean_ctor_get(x_239, 1); +lean_inc(x_244); +x_245 = lean_ctor_get(x_239, 2); lean_inc(x_245); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - x_246 = x_236; +x_246 = lean_ctor_get(x_239, 3); +lean_inc(x_246); +x_247 = lean_ctor_get(x_239, 5); +lean_inc(x_247); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + lean_ctor_release(x_239, 2); + lean_ctor_release(x_239, 3); + lean_ctor_release(x_239, 4); + lean_ctor_release(x_239, 5); + x_248 = x_239; } else { - lean_dec_ref(x_236); - x_246 = lean_box(0); + lean_dec_ref(x_239); + x_248 = lean_box(0); } -if (lean_is_scalar(x_246)) { - x_247 = lean_alloc_ctor(0, 1, 1); +x_249 = lean_ctor_get(x_240, 0); +lean_inc(x_249); +if (lean_is_exclusive(x_240)) { + lean_ctor_release(x_240, 0); + x_250 = x_240; } else { - x_247 = x_246; + lean_dec_ref(x_240); + x_250 = lean_box(0); } -lean_ctor_set(x_247, 0, x_245); -lean_ctor_set_uint8(x_247, sizeof(void*)*1, x_214); -if (lean_is_scalar(x_244)) { - x_248 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_250)) { + x_251 = lean_alloc_ctor(0, 1, 1); } else { - x_248 = x_244; + x_251 = x_250; } -lean_ctor_set(x_248, 0, x_239); -lean_ctor_set(x_248, 1, x_240); -lean_ctor_set(x_248, 2, x_241); -lean_ctor_set(x_248, 3, x_242); -lean_ctor_set(x_248, 4, x_247); -lean_ctor_set(x_248, 5, x_243); -if (lean_is_scalar(x_238)) { - x_249 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_249); +lean_ctor_set_uint8(x_251, sizeof(void*)*1, x_217); +if (lean_is_scalar(x_248)) { + x_252 = lean_alloc_ctor(0, 6, 0); } else { - x_249 = x_238; + x_252 = x_248; } -lean_ctor_set(x_249, 0, x_237); -lean_ctor_set(x_249, 1, x_248); -return x_249; +lean_ctor_set(x_252, 0, x_243); +lean_ctor_set(x_252, 1, x_244); +lean_ctor_set(x_252, 2, x_245); +lean_ctor_set(x_252, 3, x_246); +lean_ctor_set(x_252, 4, x_251); +lean_ctor_set(x_252, 5, x_247); +if (lean_is_scalar(x_242)) { + x_253 = lean_alloc_ctor(0, 2, 0); +} else { + x_253 = x_242; +} +lean_ctor_set(x_253, 0, x_241); +lean_ctor_set(x_253, 1, x_252); +return x_253; } else { -lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_250 = lean_ctor_get(x_234, 1); -lean_inc(x_250); -x_251 = lean_ctor_get(x_250, 4); -lean_inc(x_251); -x_252 = lean_ctor_get(x_234, 0); -lean_inc(x_252); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - x_253 = x_234; -} else { - lean_dec_ref(x_234); - x_253 = lean_box(0); -} -x_254 = lean_ctor_get(x_250, 0); +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_254 = lean_ctor_get(x_238, 1); lean_inc(x_254); -x_255 = lean_ctor_get(x_250, 1); +x_255 = lean_ctor_get(x_254, 4); lean_inc(x_255); -x_256 = lean_ctor_get(x_250, 2); +x_256 = lean_ctor_get(x_238, 0); lean_inc(x_256); -x_257 = lean_ctor_get(x_250, 3); -lean_inc(x_257); -x_258 = lean_ctor_get(x_250, 5); +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + lean_ctor_release(x_238, 1); + x_257 = x_238; +} else { + lean_dec_ref(x_238); + x_257 = lean_box(0); +} +x_258 = lean_ctor_get(x_254, 0); lean_inc(x_258); -if (lean_is_exclusive(x_250)) { - lean_ctor_release(x_250, 0); - lean_ctor_release(x_250, 1); - lean_ctor_release(x_250, 2); - lean_ctor_release(x_250, 3); - lean_ctor_release(x_250, 4); - lean_ctor_release(x_250, 5); - x_259 = x_250; -} else { - lean_dec_ref(x_250); - x_259 = lean_box(0); -} -x_260 = lean_ctor_get(x_251, 0); +x_259 = lean_ctor_get(x_254, 1); +lean_inc(x_259); +x_260 = lean_ctor_get(x_254, 2); lean_inc(x_260); -if (lean_is_exclusive(x_251)) { - lean_ctor_release(x_251, 0); - x_261 = x_251; +x_261 = lean_ctor_get(x_254, 3); +lean_inc(x_261); +x_262 = lean_ctor_get(x_254, 5); +lean_inc(x_262); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + lean_ctor_release(x_254, 1); + lean_ctor_release(x_254, 2); + lean_ctor_release(x_254, 3); + lean_ctor_release(x_254, 4); + lean_ctor_release(x_254, 5); + x_263 = x_254; } else { - lean_dec_ref(x_251); - x_261 = lean_box(0); + lean_dec_ref(x_254); + x_263 = lean_box(0); } -if (lean_is_scalar(x_261)) { - x_262 = lean_alloc_ctor(0, 1, 1); +x_264 = lean_ctor_get(x_255, 0); +lean_inc(x_264); +if (lean_is_exclusive(x_255)) { + lean_ctor_release(x_255, 0); + x_265 = x_255; } else { - x_262 = x_261; + lean_dec_ref(x_255); + x_265 = lean_box(0); } -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set_uint8(x_262, sizeof(void*)*1, x_214); -if (lean_is_scalar(x_259)) { - x_263 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_265)) { + x_266 = lean_alloc_ctor(0, 1, 1); } else { - x_263 = x_259; + x_266 = x_265; } -lean_ctor_set(x_263, 0, x_254); -lean_ctor_set(x_263, 1, x_255); -lean_ctor_set(x_263, 2, x_256); -lean_ctor_set(x_263, 3, x_257); -lean_ctor_set(x_263, 4, x_262); -lean_ctor_set(x_263, 5, x_258); -if (lean_is_scalar(x_253)) { - x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_264); +lean_ctor_set_uint8(x_266, sizeof(void*)*1, x_217); +if (lean_is_scalar(x_263)) { + x_267 = lean_alloc_ctor(0, 6, 0); } else { - x_264 = x_253; + x_267 = x_263; } -lean_ctor_set(x_264, 0, x_252); -lean_ctor_set(x_264, 1, x_263); -return x_264; +lean_ctor_set(x_267, 0, x_258); +lean_ctor_set(x_267, 1, x_259); +lean_ctor_set(x_267, 2, x_260); +lean_ctor_set(x_267, 3, x_261); +lean_ctor_set(x_267, 4, x_266); +lean_ctor_set(x_267, 5, x_262); +if (lean_is_scalar(x_257)) { + x_268 = lean_alloc_ctor(1, 2, 0); +} else { + x_268 = x_257; +} +lean_ctor_set(x_268, 0, x_256); +lean_ctor_set(x_268, 1, x_267); +return x_268; } } } else { -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; -x_265 = l___private_Init_Lean_Util_Trace_2__getResetTraces___at_Lean_Meta_check___spec__1___rarg(x_5); -x_266 = lean_ctor_get(x_2, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 0); -lean_inc(x_267); -x_268 = lean_ctor_get(x_265, 1); -lean_inc(x_268); -lean_dec(x_265); -x_269 = lean_ctor_get(x_2, 1); -lean_inc(x_269); -x_270 = lean_ctor_get(x_2, 2); +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; uint8_t x_275; +x_269 = l___private_Init_Lean_Util_Trace_2__getResetTraces___at_Lean_Meta_check___spec__1___rarg(x_5); +x_270 = lean_ctor_get(x_2, 0); lean_inc(x_270); -x_271 = !lean_is_exclusive(x_266); -if (x_271 == 0) +x_271 = lean_ctor_get(x_269, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_269, 1); +lean_inc(x_272); +lean_dec(x_269); +x_273 = lean_ctor_get(x_2, 1); +lean_inc(x_273); +x_274 = lean_ctor_get(x_2, 2); +lean_inc(x_274); +x_275 = !lean_is_exclusive(x_270); +if (x_275 == 0) { -uint8_t x_272; lean_object* x_273; lean_object* x_274; -x_272 = 0; -lean_ctor_set_uint8(x_266, sizeof(void*)*1 + 5, x_272); -x_273 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_273, 0, x_266); -lean_ctor_set(x_273, 1, x_269); -lean_ctor_set(x_273, 2, x_270); -x_274 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_273, x_268); -if (lean_obj_tag(x_274) == 0) +uint8_t x_276; lean_object* x_277; lean_object* x_278; +x_276 = 0; +lean_ctor_set_uint8(x_270, sizeof(void*)*1 + 6, x_276); +x_277 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_277, 0, x_270); +lean_ctor_set(x_277, 1, x_273); +lean_ctor_set(x_277, 2, x_274); +x_278 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_277, x_272); +if (lean_obj_tag(x_278) == 0) { -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; -x_275 = lean_ctor_get(x_274, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_274, 1); -lean_inc(x_276); -lean_dec(x_274); -x_277 = l_Lean_Meta_check___closed__2; -x_278 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_267, x_277, x_2, x_276); -lean_dec(x_2); -x_279 = !lean_is_exclusive(x_278); -if (x_279 == 0) -{ -lean_object* x_280; -x_280 = lean_ctor_get(x_278, 0); -lean_dec(x_280); -lean_ctor_set(x_278, 0, x_275); -return x_278; -} -else -{ -lean_object* x_281; lean_object* x_282; -x_281 = lean_ctor_get(x_278, 1); -lean_inc(x_281); +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; uint8_t x_283; +x_279 = lean_ctor_get(x_278, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_278, 1); +lean_inc(x_280); lean_dec(x_278); -x_282 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_282, 0, x_275); -lean_ctor_set(x_282, 1, x_281); +x_281 = l_Lean_Meta_check___closed__2; +x_282 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_271, x_281, x_2, x_280); +lean_dec(x_2); +x_283 = !lean_is_exclusive(x_282); +if (x_283 == 0) +{ +lean_object* x_284; +x_284 = lean_ctor_get(x_282, 0); +lean_dec(x_284); +lean_ctor_set(x_282, 0, x_279); return x_282; } -} else { -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; -x_283 = lean_ctor_get(x_274, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_274, 1); -lean_inc(x_284); -lean_dec(x_274); -x_285 = l_Lean_Meta_check___closed__2; -x_286 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_267, x_285, x_2, x_284); -lean_dec(x_2); -x_287 = !lean_is_exclusive(x_286); -if (x_287 == 0) -{ -lean_object* x_288; -x_288 = lean_ctor_get(x_286, 0); -lean_dec(x_288); -lean_ctor_set_tag(x_286, 1); -lean_ctor_set(x_286, 0, x_283); +lean_object* x_285; lean_object* x_286; +x_285 = lean_ctor_get(x_282, 1); +lean_inc(x_285); +lean_dec(x_282); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_279); +lean_ctor_set(x_286, 1, x_285); return x_286; } +} else { -lean_object* x_289; lean_object* x_290; -x_289 = lean_ctor_get(x_286, 1); -lean_inc(x_289); -lean_dec(x_286); -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_283); -lean_ctor_set(x_290, 1, x_289); +lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; +x_287 = lean_ctor_get(x_278, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_278, 1); +lean_inc(x_288); +lean_dec(x_278); +x_289 = l_Lean_Meta_check___closed__2; +x_290 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_271, x_289, x_2, x_288); +lean_dec(x_2); +x_291 = !lean_is_exclusive(x_290); +if (x_291 == 0) +{ +lean_object* x_292; +x_292 = lean_ctor_get(x_290, 0); +lean_dec(x_292); +lean_ctor_set_tag(x_290, 1); +lean_ctor_set(x_290, 0, x_287); return x_290; } +else +{ +lean_object* x_293; lean_object* x_294; +x_293 = lean_ctor_get(x_290, 1); +lean_inc(x_293); +lean_dec(x_290); +x_294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_294, 0, x_287); +lean_ctor_set(x_294, 1, x_293); +return x_294; +} } } else { -lean_object* x_291; uint8_t x_292; uint8_t x_293; uint8_t x_294; uint8_t x_295; uint8_t x_296; uint8_t x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_291 = lean_ctor_get(x_266, 0); -x_292 = lean_ctor_get_uint8(x_266, sizeof(void*)*1); -x_293 = lean_ctor_get_uint8(x_266, sizeof(void*)*1 + 1); -x_294 = lean_ctor_get_uint8(x_266, sizeof(void*)*1 + 2); -x_295 = lean_ctor_get_uint8(x_266, sizeof(void*)*1 + 3); -x_296 = lean_ctor_get_uint8(x_266, sizeof(void*)*1 + 4); -lean_inc(x_291); -lean_dec(x_266); -x_297 = 0; -x_298 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_298, 0, x_291); -lean_ctor_set_uint8(x_298, sizeof(void*)*1, x_292); -lean_ctor_set_uint8(x_298, sizeof(void*)*1 + 1, x_293); -lean_ctor_set_uint8(x_298, sizeof(void*)*1 + 2, x_294); -lean_ctor_set_uint8(x_298, sizeof(void*)*1 + 3, x_295); -lean_ctor_set_uint8(x_298, sizeof(void*)*1 + 4, x_296); -lean_ctor_set_uint8(x_298, sizeof(void*)*1 + 5, x_297); -x_299 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_299, 0, x_298); -lean_ctor_set(x_299, 1, x_269); -lean_ctor_set(x_299, 2, x_270); -x_300 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_299, x_268); -if (lean_obj_tag(x_300) == 0) +lean_object* x_295; uint8_t x_296; uint8_t x_297; uint8_t x_298; uint8_t x_299; uint8_t x_300; uint8_t x_301; uint8_t x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_295 = lean_ctor_get(x_270, 0); +x_296 = lean_ctor_get_uint8(x_270, sizeof(void*)*1); +x_297 = lean_ctor_get_uint8(x_270, sizeof(void*)*1 + 1); +x_298 = lean_ctor_get_uint8(x_270, sizeof(void*)*1 + 2); +x_299 = lean_ctor_get_uint8(x_270, sizeof(void*)*1 + 3); +x_300 = lean_ctor_get_uint8(x_270, sizeof(void*)*1 + 4); +x_301 = lean_ctor_get_uint8(x_270, sizeof(void*)*1 + 5); +lean_inc(x_295); +lean_dec(x_270); +x_302 = 0; +x_303 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_303, 0, x_295); +lean_ctor_set_uint8(x_303, sizeof(void*)*1, x_296); +lean_ctor_set_uint8(x_303, sizeof(void*)*1 + 1, x_297); +lean_ctor_set_uint8(x_303, sizeof(void*)*1 + 2, x_298); +lean_ctor_set_uint8(x_303, sizeof(void*)*1 + 3, x_299); +lean_ctor_set_uint8(x_303, sizeof(void*)*1 + 4, x_300); +lean_ctor_set_uint8(x_303, sizeof(void*)*1 + 5, x_301); +lean_ctor_set_uint8(x_303, sizeof(void*)*1 + 6, x_302); +x_304 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_273); +lean_ctor_set(x_304, 2, x_274); +x_305 = l___private_Init_Lean_Meta_Check_6__checkAux___main(x_1, x_304, x_272); +if (lean_obj_tag(x_305) == 0) { -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -lean_dec(x_300); -x_303 = l_Lean_Meta_check___closed__2; -x_304 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_267, x_303, x_2, x_302); +lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +x_306 = lean_ctor_get(x_305, 0); +lean_inc(x_306); +x_307 = lean_ctor_get(x_305, 1); +lean_inc(x_307); +lean_dec(x_305); +x_308 = l_Lean_Meta_check___closed__2; +x_309 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_271, x_308, x_2, x_307); lean_dec(x_2); -x_305 = lean_ctor_get(x_304, 1); -lean_inc(x_305); -if (lean_is_exclusive(x_304)) { - lean_ctor_release(x_304, 0); - lean_ctor_release(x_304, 1); - x_306 = x_304; +x_310 = lean_ctor_get(x_309, 1); +lean_inc(x_310); +if (lean_is_exclusive(x_309)) { + lean_ctor_release(x_309, 0); + lean_ctor_release(x_309, 1); + x_311 = x_309; } else { - lean_dec_ref(x_304); - x_306 = lean_box(0); + lean_dec_ref(x_309); + x_311 = lean_box(0); } -if (lean_is_scalar(x_306)) { - x_307 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_311)) { + x_312 = lean_alloc_ctor(0, 2, 0); } else { - x_307 = x_306; + x_312 = x_311; } -lean_ctor_set(x_307, 0, x_301); -lean_ctor_set(x_307, 1, x_305); -return x_307; +lean_ctor_set(x_312, 0, x_306); +lean_ctor_set(x_312, 1, x_310); +return x_312; } else { -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; -x_308 = lean_ctor_get(x_300, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_300, 1); -lean_inc(x_309); -lean_dec(x_300); -x_310 = l_Lean_Meta_check___closed__2; -x_311 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_267, x_310, x_2, 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; +x_313 = lean_ctor_get(x_305, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_305, 1); +lean_inc(x_314); +lean_dec(x_305); +x_315 = l_Lean_Meta_check___closed__2; +x_316 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_271, x_315, x_2, x_314); lean_dec(x_2); -x_312 = lean_ctor_get(x_311, 1); -lean_inc(x_312); -if (lean_is_exclusive(x_311)) { - lean_ctor_release(x_311, 0); - lean_ctor_release(x_311, 1); - x_313 = x_311; +x_317 = lean_ctor_get(x_316, 1); +lean_inc(x_317); +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + lean_ctor_release(x_316, 1); + x_318 = x_316; } else { - lean_dec_ref(x_311); - x_313 = lean_box(0); + lean_dec_ref(x_316); + x_318 = lean_box(0); } -if (lean_is_scalar(x_313)) { - x_314 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_318)) { + x_319 = lean_alloc_ctor(1, 2, 0); } else { - x_314 = x_313; - lean_ctor_set_tag(x_314, 1); + x_319 = x_318; + lean_ctor_set_tag(x_319, 1); } -lean_ctor_set(x_314, 0, x_308); -lean_ctor_set(x_314, 1, x_312); -return x_314; +lean_ctor_set(x_319, 0, x_313); +lean_ctor_set(x_319, 1, x_317); +return x_319; } } } diff --git a/stage0/stdlib/Init/Lean/Meta/DiscrTree.c b/stage0/stdlib/Init/Lean/Meta/DiscrTree.c index 73595589ec..5dd036884f 100644 --- a/stage0/stdlib/Init/Lean/Meta/DiscrTree.c +++ b/stage0/stdlib/Init/Lean/Meta/DiscrTree.c @@ -2089,78 +2089,82 @@ if (x_8 == 0) { uint8_t x_9; lean_object* x_10; x_9 = 2; -lean_ctor_set_uint8(x_7, sizeof(void*)*1 + 5, x_9); +lean_ctor_set_uint8(x_7, sizeof(void*)*1 + 6, x_9); x_10 = l_Lean_Meta_DiscrTree_mkPathAux___main(x_5, x_4, x_2, x_3); return x_10; } else { -lean_object* x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; x_11 = lean_ctor_get(x_7, 0); x_12 = lean_ctor_get_uint8(x_7, sizeof(void*)*1); x_13 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 1); x_14 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 2); x_15 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 3); x_16 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 4); +x_17 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 5); lean_inc(x_11); lean_dec(x_7); -x_17 = 2; -x_18 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set_uint8(x_18, sizeof(void*)*1, x_12); -lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 1, x_13); -lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 2, x_14); -lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 3, x_15); -lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 4, x_16); -lean_ctor_set_uint8(x_18, sizeof(void*)*1 + 5, x_17); -lean_ctor_set(x_2, 0, x_18); -x_19 = l_Lean_Meta_DiscrTree_mkPathAux___main(x_5, x_4, x_2, x_3); -return x_19; +x_18 = 2; +x_19 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_19, 0, x_11); +lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_12); +lean_ctor_set_uint8(x_19, sizeof(void*)*1 + 1, x_13); +lean_ctor_set_uint8(x_19, sizeof(void*)*1 + 2, x_14); +lean_ctor_set_uint8(x_19, sizeof(void*)*1 + 3, x_15); +lean_ctor_set_uint8(x_19, sizeof(void*)*1 + 4, x_16); +lean_ctor_set_uint8(x_19, sizeof(void*)*1 + 5, x_17); +lean_ctor_set_uint8(x_19, sizeof(void*)*1 + 6, x_18); +lean_ctor_set(x_2, 0, x_19); +x_20 = l_Lean_Meta_DiscrTree_mkPathAux___main(x_5, x_4, x_2, x_3); +return x_20; } } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_20 = lean_ctor_get(x_2, 0); -x_21 = lean_ctor_get(x_2, 1); -x_22 = lean_ctor_get(x_2, 2); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_21 = lean_ctor_get(x_2, 0); +x_22 = lean_ctor_get(x_2, 1); +x_23 = lean_ctor_get(x_2, 2); +lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); lean_dec(x_2); -x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_23); -x_24 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); -x_25 = lean_ctor_get_uint8(x_20, sizeof(void*)*1 + 1); -x_26 = lean_ctor_get_uint8(x_20, sizeof(void*)*1 + 2); -x_27 = lean_ctor_get_uint8(x_20, sizeof(void*)*1 + 3); -x_28 = lean_ctor_get_uint8(x_20, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - x_29 = x_20; +x_24 = lean_ctor_get(x_21, 0); +lean_inc(x_24); +x_25 = lean_ctor_get_uint8(x_21, sizeof(void*)*1); +x_26 = lean_ctor_get_uint8(x_21, sizeof(void*)*1 + 1); +x_27 = lean_ctor_get_uint8(x_21, sizeof(void*)*1 + 2); +x_28 = lean_ctor_get_uint8(x_21, sizeof(void*)*1 + 3); +x_29 = lean_ctor_get_uint8(x_21, sizeof(void*)*1 + 4); +x_30 = lean_ctor_get_uint8(x_21, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + x_31 = x_21; } else { - lean_dec_ref(x_20); - x_29 = lean_box(0); + lean_dec_ref(x_21); + x_31 = lean_box(0); } -x_30 = 2; -if (lean_is_scalar(x_29)) { - x_31 = lean_alloc_ctor(0, 1, 6); +x_32 = 2; +if (lean_is_scalar(x_31)) { + x_33 = lean_alloc_ctor(0, 1, 7); } else { - x_31 = x_29; + x_33 = x_31; } -lean_ctor_set(x_31, 0, x_23); -lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_24); -lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 1, x_25); -lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 2, x_26); -lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 3, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 4, x_28); -lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 5, x_30); -x_32 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_21); -lean_ctor_set(x_32, 2, x_22); -x_33 = l_Lean_Meta_DiscrTree_mkPathAux___main(x_5, x_4, x_32, x_3); -return x_33; +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_25); +lean_ctor_set_uint8(x_33, sizeof(void*)*1 + 1, x_26); +lean_ctor_set_uint8(x_33, sizeof(void*)*1 + 2, x_27); +lean_ctor_set_uint8(x_33, sizeof(void*)*1 + 3, x_28); +lean_ctor_set_uint8(x_33, sizeof(void*)*1 + 4, x_29); +lean_ctor_set_uint8(x_33, sizeof(void*)*1 + 5, x_30); +lean_ctor_set_uint8(x_33, sizeof(void*)*1 + 6, x_32); +x_34 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_22); +lean_ctor_set(x_34, 2, x_23); +x_35 = l_Lean_Meta_DiscrTree_mkPathAux___main(x_5, x_4, x_34, x_3); +return x_35; } } } @@ -5256,7 +5260,7 @@ if (x_2 == 0) lean_object* x_17; uint8_t x_18; x_17 = lean_ctor_get(x_3, 0); lean_inc(x_17); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*1 + 3); +x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*1 + 4); lean_dec(x_17); if (x_18 == 0) { @@ -5463,7 +5467,7 @@ if (x_2 == 0) lean_object* x_64; uint8_t x_65; x_64 = lean_ctor_get(x_3, 0); lean_inc(x_64); -x_65 = lean_ctor_get_uint8(x_64, sizeof(void*)*1 + 3); +x_65 = lean_ctor_get_uint8(x_64, sizeof(void*)*1 + 4); lean_dec(x_64); if (x_65 == 0) { @@ -8300,7 +8304,7 @@ if (x_8 == 0) { uint8_t x_9; uint8_t x_10; lean_object* x_11; x_9 = 2; -lean_ctor_set_uint8(x_7, sizeof(void*)*1 + 5, x_9); +lean_ctor_set_uint8(x_7, sizeof(void*)*1 + 6, x_9); x_10 = 1; lean_inc(x_3); x_11 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_10, x_3, x_4); @@ -8401,265 +8405,269 @@ return x_28; } else { -lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; +lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; x_29 = lean_ctor_get(x_7, 0); x_30 = lean_ctor_get_uint8(x_7, sizeof(void*)*1); x_31 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 1); x_32 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 2); x_33 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 3); x_34 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 4); +x_35 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 5); lean_inc(x_29); lean_dec(x_7); -x_35 = 2; -x_36 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_36, 0, x_29); -lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_30); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 1, x_31); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 2, x_32); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 3, x_33); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 4, x_34); -lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 5, x_35); -lean_ctor_set(x_3, 0, x_36); -x_37 = 1; +x_36 = 2; +x_37 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_37, 0, x_29); +lean_ctor_set_uint8(x_37, sizeof(void*)*1, x_30); +lean_ctor_set_uint8(x_37, sizeof(void*)*1 + 1, x_31); +lean_ctor_set_uint8(x_37, sizeof(void*)*1 + 2, x_32); +lean_ctor_set_uint8(x_37, sizeof(void*)*1 + 3, x_33); +lean_ctor_set_uint8(x_37, sizeof(void*)*1 + 4, x_34); +lean_ctor_set_uint8(x_37, sizeof(void*)*1 + 5, x_35); +lean_ctor_set_uint8(x_37, sizeof(void*)*1 + 6, x_36); +lean_ctor_set(x_3, 0, x_37); +x_38 = 1; lean_inc(x_3); -x_38 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_37, x_3, x_4); -if (lean_obj_tag(x_38) == 0) +x_39 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_38, x_3, x_4); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_41 = x_38; +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_42 = x_39; } else { - lean_dec_ref(x_38); - x_41 = lean_box(0); + lean_dec_ref(x_39); + x_42 = lean_box(0); } -x_42 = lean_ctor_get(x_39, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_39, 1); +x_43 = lean_ctor_get(x_40, 0); lean_inc(x_43); -lean_dec(x_39); -if (lean_obj_tag(x_42) == 3) -{ -lean_object* x_50; -lean_dec(x_43); -lean_dec(x_41); -lean_dec(x_3); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_5); -lean_ctor_set(x_50, 1, x_40); -return x_50; -} -else +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec(x_40); +if (lean_obj_tag(x_43) == 3) { lean_object* x_51; -x_51 = lean_box(0); -x_44 = x_51; -goto block_49; -} -block_49: -{ -lean_object* x_45; lean_dec(x_44); -x_45 = l_PersistentHashMap_find___at_Lean_Meta_DiscrTree_getMatch___spec__1___rarg(x_1, x_42); -if (lean_obj_tag(x_45) == 0) +lean_dec(x_42); +lean_dec(x_3); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_41); +return x_51; +} +else +{ +lean_object* x_52; +x_52 = lean_box(0); +x_45 = x_52; +goto block_50; +} +block_50: { lean_object* x_46; -lean_dec(x_43); -lean_dec(x_3); -if (lean_is_scalar(x_41)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_41; -} -lean_ctor_set(x_46, 0, x_5); -lean_ctor_set(x_46, 1, x_40); -return x_46; -} -else -{ -lean_object* x_47; lean_object* x_48; -lean_dec(x_41); -x_47 = lean_ctor_get(x_45, 0); -lean_inc(x_47); lean_dec(x_45); -x_48 = l___private_Init_Lean_Meta_DiscrTree_14__getMatchAux___main___rarg(x_43, x_47, x_5, x_3, x_40); -lean_dec(x_47); -return x_48; +x_46 = l_PersistentHashMap_find___at_Lean_Meta_DiscrTree_getMatch___spec__1___rarg(x_1, x_43); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; +lean_dec(x_44); +lean_dec(x_3); +if (lean_is_scalar(x_42)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_42; +} +lean_ctor_set(x_47, 0, x_5); +lean_ctor_set(x_47, 1, x_41); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_42); +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l___private_Init_Lean_Meta_DiscrTree_14__getMatchAux___main___rarg(x_44, x_48, x_5, x_3, x_41); +lean_dec(x_48); +return x_49; } } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_dec(x_3); lean_dec(x_5); -x_52 = lean_ctor_get(x_38, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_38, 1); +x_53 = lean_ctor_get(x_39, 0); lean_inc(x_53); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_54 = x_38; +x_54 = lean_ctor_get(x_39, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_55 = x_39; } else { - lean_dec_ref(x_38); - x_54 = lean_box(0); + lean_dec_ref(x_39); + x_55 = lean_box(0); } -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(1, 2, 0); } else { - x_55 = x_54; + x_56 = x_55; } -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_53); -return x_55; +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +return x_56; } } } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; uint8_t x_61; uint8_t x_62; uint8_t x_63; uint8_t x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_object* x_70; -x_56 = lean_ctor_get(x_3, 0); -x_57 = lean_ctor_get(x_3, 1); -x_58 = lean_ctor_get(x_3, 2); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; uint8_t x_62; uint8_t x_63; uint8_t x_64; uint8_t x_65; uint8_t x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; +x_57 = lean_ctor_get(x_3, 0); +x_58 = lean_ctor_get(x_3, 1); +x_59 = lean_ctor_get(x_3, 2); +lean_inc(x_59); lean_inc(x_58); lean_inc(x_57); -lean_inc(x_56); lean_dec(x_3); -x_59 = lean_ctor_get(x_56, 0); -lean_inc(x_59); -x_60 = lean_ctor_get_uint8(x_56, sizeof(void*)*1); -x_61 = lean_ctor_get_uint8(x_56, sizeof(void*)*1 + 1); -x_62 = lean_ctor_get_uint8(x_56, sizeof(void*)*1 + 2); -x_63 = lean_ctor_get_uint8(x_56, sizeof(void*)*1 + 3); -x_64 = lean_ctor_get_uint8(x_56, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - x_65 = x_56; +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +x_61 = lean_ctor_get_uint8(x_57, sizeof(void*)*1); +x_62 = lean_ctor_get_uint8(x_57, sizeof(void*)*1 + 1); +x_63 = lean_ctor_get_uint8(x_57, sizeof(void*)*1 + 2); +x_64 = lean_ctor_get_uint8(x_57, sizeof(void*)*1 + 3); +x_65 = lean_ctor_get_uint8(x_57, sizeof(void*)*1 + 4); +x_66 = lean_ctor_get_uint8(x_57, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + x_67 = x_57; } else { - lean_dec_ref(x_56); - x_65 = lean_box(0); + lean_dec_ref(x_57); + x_67 = lean_box(0); } -x_66 = 2; -if (lean_is_scalar(x_65)) { - x_67 = lean_alloc_ctor(0, 1, 6); +x_68 = 2; +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 1, 7); } else { - x_67 = x_65; + x_69 = x_67; } -lean_ctor_set(x_67, 0, x_59); -lean_ctor_set_uint8(x_67, sizeof(void*)*1, x_60); -lean_ctor_set_uint8(x_67, sizeof(void*)*1 + 1, x_61); -lean_ctor_set_uint8(x_67, sizeof(void*)*1 + 2, x_62); -lean_ctor_set_uint8(x_67, sizeof(void*)*1 + 3, x_63); -lean_ctor_set_uint8(x_67, sizeof(void*)*1 + 4, x_64); -lean_ctor_set_uint8(x_67, sizeof(void*)*1 + 5, x_66); -x_68 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_57); -lean_ctor_set(x_68, 2, x_58); -x_69 = 1; -lean_inc(x_68); -x_70 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_69, x_68, x_4); -if (lean_obj_tag(x_70) == 0) +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set_uint8(x_69, sizeof(void*)*1, x_61); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 1, x_62); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 2, x_63); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 3, x_64); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 4, x_65); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 5, x_66); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 6, x_68); +x_70 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_58); +lean_ctor_set(x_70, 2, x_59); +x_71 = 1; +lean_inc(x_70); +x_72 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_71, x_70, x_4); +if (lean_obj_tag(x_72) == 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; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_73 = x_70; -} else { - lean_dec_ref(x_70); - x_73 = lean_box(0); -} -x_74 = lean_ctor_get(x_71, 0); +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_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); -x_75 = lean_ctor_get(x_71, 1); -lean_inc(x_75); -lean_dec(x_71); -if (lean_obj_tag(x_74) == 3) -{ -lean_object* x_82; -lean_dec(x_75); -lean_dec(x_73); -lean_dec(x_68); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_5); -lean_ctor_set(x_82, 1, x_72); -return x_82; -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_76 = x_83; -goto block_81; -} -block_81: -{ -lean_object* x_77; -lean_dec(x_76); -x_77 = l_PersistentHashMap_find___at_Lean_Meta_DiscrTree_getMatch___spec__1___rarg(x_1, x_74); -if (lean_obj_tag(x_77) == 0) -{ -lean_object* x_78; -lean_dec(x_75); -lean_dec(x_68); -if (lean_is_scalar(x_73)) { - x_78 = lean_alloc_ctor(0, 2, 0); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_75 = x_72; } else { - x_78 = x_73; + lean_dec_ref(x_72); + x_75 = lean_box(0); } -lean_ctor_set(x_78, 0, x_5); -lean_ctor_set(x_78, 1, x_72); -return x_78; +x_76 = lean_ctor_get(x_73, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_73, 1); +lean_inc(x_77); +lean_dec(x_73); +if (lean_obj_tag(x_76) == 3) +{ +lean_object* x_84; +lean_dec(x_77); +lean_dec(x_75); +lean_dec(x_70); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_5); +lean_ctor_set(x_84, 1, x_74); +return x_84; } else { -lean_object* x_79; lean_object* x_80; -lean_dec(x_73); -x_79 = lean_ctor_get(x_77, 0); -lean_inc(x_79); +lean_object* x_85; +x_85 = lean_box(0); +x_78 = x_85; +goto block_83; +} +block_83: +{ +lean_object* x_79; +lean_dec(x_78); +x_79 = l_PersistentHashMap_find___at_Lean_Meta_DiscrTree_getMatch___spec__1___rarg(x_1, x_76); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_dec(x_77); -x_80 = l___private_Init_Lean_Meta_DiscrTree_14__getMatchAux___main___rarg(x_75, x_79, x_5, x_68, x_72); -lean_dec(x_79); +lean_dec(x_70); +if (lean_is_scalar(x_75)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_75; +} +lean_ctor_set(x_80, 0, x_5); +lean_ctor_set(x_80, 1, x_74); return x_80; } +else +{ +lean_object* x_81; lean_object* x_82; +lean_dec(x_75); +x_81 = lean_ctor_get(x_79, 0); +lean_inc(x_81); +lean_dec(x_79); +x_82 = l___private_Init_Lean_Meta_DiscrTree_14__getMatchAux___main___rarg(x_77, x_81, x_5, x_70, x_74); +lean_dec(x_81); +return x_82; +} } } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_68); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_70); lean_dec(x_5); -x_84 = lean_ctor_get(x_70, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_70, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_86 = x_70; +x_86 = lean_ctor_get(x_72, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_72, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_88 = x_72; } else { - lean_dec_ref(x_70); - x_86 = lean_box(0); + lean_dec_ref(x_72); + x_88 = lean_box(0); } -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); } else { - x_87 = x_86; + x_89 = x_88; } -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_85); -return x_87; +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; } } } @@ -11552,7 +11560,7 @@ if (x_7 == 0) { uint8_t x_8; uint8_t x_9; lean_object* x_10; x_8 = 2; -lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 5, x_8); +lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 6, x_8); x_9 = 0; lean_inc(x_3); x_10 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_9, x_3, x_4); @@ -11652,263 +11660,267 @@ return x_30; } else { -lean_object* x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; +lean_object* x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; x_31 = lean_ctor_get(x_6, 0); x_32 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); x_33 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1); x_34 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 2); x_35 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 3); x_36 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 4); +x_37 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 5); lean_inc(x_31); lean_dec(x_6); -x_37 = 2; -x_38 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_38, 0, x_31); -lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_32); -lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 1, x_33); -lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 2, x_34); -lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 3, x_35); -lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 4, x_36); -lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 5, x_37); -lean_ctor_set(x_3, 0, x_38); -x_39 = 0; +x_38 = 2; +x_39 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_39, 0, x_31); +lean_ctor_set_uint8(x_39, sizeof(void*)*1, x_32); +lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 1, x_33); +lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 2, x_34); +lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 3, x_35); +lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 4, x_36); +lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 5, x_37); +lean_ctor_set_uint8(x_39, sizeof(void*)*1 + 6, x_38); +lean_ctor_set(x_3, 0, x_39); +x_40 = 0; lean_inc(x_3); -x_40 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_39, x_3, x_4); -if (lean_obj_tag(x_40) == 0) +x_41 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_40, x_3, x_4); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_43 = x_40; +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; } else { - lean_dec_ref(x_40); - x_43 = lean_box(0); + lean_dec_ref(x_41); + x_44 = lean_box(0); } -x_44 = lean_ctor_get(x_41, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_41, 1); +x_45 = lean_ctor_get(x_42, 0); lean_inc(x_45); -lean_dec(x_41); -if (lean_obj_tag(x_44) == 3) +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_dec(x_42); +if (lean_obj_tag(x_45) == 3) { -lean_object* x_54; lean_object* x_55; -lean_dec(x_45); -lean_dec(x_43); -x_54 = l_Array_empty___closed__1; -x_55 = l_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_54, x_3, x_42); -return x_55; -} -else -{ -lean_object* x_56; -x_56 = lean_box(0); -x_46 = x_56; -goto block_53; -} -block_53: -{ -lean_object* x_47; lean_object* x_48; +lean_object* x_55; lean_object* x_56; lean_dec(x_46); -x_47 = l___private_Init_Lean_Meta_DiscrTree_15__getStarResult___rarg(x_1); -x_48 = l_PersistentHashMap_find___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_44); -if (lean_obj_tag(x_48) == 0) +lean_dec(x_44); +x_55 = l_Array_empty___closed__1; +x_56 = l_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_55, x_3, x_43); +return x_56; +} +else { -lean_object* x_49; -lean_dec(x_45); +lean_object* x_57; +x_57 = lean_box(0); +x_47 = x_57; +goto block_54; +} +block_54: +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_47); +x_48 = l___private_Init_Lean_Meta_DiscrTree_15__getStarResult___rarg(x_1); +x_49 = l_PersistentHashMap_find___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_45); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; +lean_dec(x_46); lean_dec(x_3); -if (lean_is_scalar(x_43)) { - x_49 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_44)) { + x_50 = lean_alloc_ctor(0, 2, 0); } else { - x_49 = x_43; + x_50 = x_44; } -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_42); -return x_49; +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_43); +return x_50; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_43); -x_50 = lean_ctor_get(x_48, 0); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_unsigned_to_nat(0u); -x_52 = l___private_Init_Lean_Meta_DiscrTree_16__getUnifyAux___main___rarg(x_51, x_45, x_50, x_47, x_3, x_42); -lean_dec(x_50); -return x_52; +lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_44); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_unsigned_to_nat(0u); +x_53 = l___private_Init_Lean_Meta_DiscrTree_16__getUnifyAux___main___rarg(x_52, x_46, x_51, x_48, x_3, x_43); +lean_dec(x_51); +return x_53; } } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_dec(x_3); -x_57 = lean_ctor_get(x_40, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_40, 1); +x_58 = lean_ctor_get(x_41, 0); lean_inc(x_58); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_59 = x_40; +x_59 = lean_ctor_get(x_41, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_60 = x_41; } else { - lean_dec_ref(x_40); - x_59 = lean_box(0); + lean_dec_ref(x_41); + x_60 = lean_box(0); } -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(1, 2, 0); } else { - x_60 = x_59; + x_61 = x_60; } -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_58); -return x_60; +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; uint8_t x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; -x_61 = lean_ctor_get(x_3, 0); -x_62 = lean_ctor_get(x_3, 1); -x_63 = lean_ctor_get(x_3, 2); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; uint8_t x_69; uint8_t x_70; uint8_t x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; +x_62 = lean_ctor_get(x_3, 0); +x_63 = lean_ctor_get(x_3, 1); +x_64 = lean_ctor_get(x_3, 2); +lean_inc(x_64); lean_inc(x_63); lean_inc(x_62); -lean_inc(x_61); lean_dec(x_3); -x_64 = lean_ctor_get(x_61, 0); -lean_inc(x_64); -x_65 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); -x_66 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 1); -x_67 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 2); -x_68 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 3); -x_69 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - x_70 = x_61; +x_65 = lean_ctor_get(x_62, 0); +lean_inc(x_65); +x_66 = lean_ctor_get_uint8(x_62, sizeof(void*)*1); +x_67 = lean_ctor_get_uint8(x_62, sizeof(void*)*1 + 1); +x_68 = lean_ctor_get_uint8(x_62, sizeof(void*)*1 + 2); +x_69 = lean_ctor_get_uint8(x_62, sizeof(void*)*1 + 3); +x_70 = lean_ctor_get_uint8(x_62, sizeof(void*)*1 + 4); +x_71 = lean_ctor_get_uint8(x_62, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + x_72 = x_62; } else { - lean_dec_ref(x_61); - x_70 = lean_box(0); + lean_dec_ref(x_62); + x_72 = lean_box(0); } -x_71 = 2; -if (lean_is_scalar(x_70)) { - x_72 = lean_alloc_ctor(0, 1, 6); +x_73 = 2; +if (lean_is_scalar(x_72)) { + x_74 = lean_alloc_ctor(0, 1, 7); } else { - x_72 = x_70; + x_74 = x_72; } -lean_ctor_set(x_72, 0, x_64); -lean_ctor_set_uint8(x_72, sizeof(void*)*1, x_65); -lean_ctor_set_uint8(x_72, sizeof(void*)*1 + 1, x_66); -lean_ctor_set_uint8(x_72, sizeof(void*)*1 + 2, x_67); -lean_ctor_set_uint8(x_72, sizeof(void*)*1 + 3, x_68); -lean_ctor_set_uint8(x_72, sizeof(void*)*1 + 4, x_69); -lean_ctor_set_uint8(x_72, sizeof(void*)*1 + 5, x_71); -x_73 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_62); -lean_ctor_set(x_73, 2, x_63); -x_74 = 0; -lean_inc(x_73); -x_75 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_74, x_73, x_4); -if (lean_obj_tag(x_75) == 0) +lean_ctor_set(x_74, 0, x_65); +lean_ctor_set_uint8(x_74, sizeof(void*)*1, x_66); +lean_ctor_set_uint8(x_74, sizeof(void*)*1 + 1, x_67); +lean_ctor_set_uint8(x_74, sizeof(void*)*1 + 2, x_68); +lean_ctor_set_uint8(x_74, sizeof(void*)*1 + 3, x_69); +lean_ctor_set_uint8(x_74, sizeof(void*)*1 + 4, x_70); +lean_ctor_set_uint8(x_74, sizeof(void*)*1 + 5, x_71); +lean_ctor_set_uint8(x_74, sizeof(void*)*1 + 6, x_73); +x_75 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_63); +lean_ctor_set(x_75, 2, x_64); +x_76 = 0; +lean_inc(x_75); +x_77 = l___private_Init_Lean_Meta_DiscrTree_11__getKeyArgs(x_2, x_76, x_75, x_4); +if (lean_obj_tag(x_77) == 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; -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_78 = x_75; -} else { - lean_dec_ref(x_75); - x_78 = lean_box(0); -} -x_79 = lean_ctor_get(x_76, 0); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -lean_dec(x_76); -if (lean_obj_tag(x_79) == 3) -{ -lean_object* x_89; lean_object* x_90; -lean_dec(x_80); -lean_dec(x_78); -x_89 = l_Array_empty___closed__1; -x_90 = l_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_89, x_73, x_77); -return x_90; -} -else -{ -lean_object* x_91; -x_91 = lean_box(0); -x_81 = x_91; -goto block_88; -} -block_88: -{ -lean_object* x_82; lean_object* x_83; -lean_dec(x_81); -x_82 = l___private_Init_Lean_Meta_DiscrTree_15__getStarResult___rarg(x_1); -x_83 = l_PersistentHashMap_find___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_79); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; -lean_dec(x_80); -lean_dec(x_73); -if (lean_is_scalar(x_78)) { - x_84 = lean_alloc_ctor(0, 2, 0); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_80 = x_77; } else { - x_84 = x_78; + lean_dec_ref(x_77); + x_80 = lean_box(0); } -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_77); -return x_84; +x_81 = lean_ctor_get(x_78, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_78, 1); +lean_inc(x_82); +lean_dec(x_78); +if (lean_obj_tag(x_81) == 3) +{ +lean_object* x_91; lean_object* x_92; +lean_dec(x_82); +lean_dec(x_80); +x_91 = l_Array_empty___closed__1; +x_92 = l_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(x_1, x_91, x_75, x_79); +return x_92; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_78); -x_85 = lean_ctor_get(x_83, 0); -lean_inc(x_85); +lean_object* x_93; +x_93 = lean_box(0); +x_83 = x_93; +goto block_90; +} +block_90: +{ +lean_object* x_84; lean_object* x_85; lean_dec(x_83); -x_86 = lean_unsigned_to_nat(0u); -x_87 = l___private_Init_Lean_Meta_DiscrTree_16__getUnifyAux___main___rarg(x_86, x_80, x_85, x_82, x_73, x_77); +x_84 = l___private_Init_Lean_Meta_DiscrTree_15__getStarResult___rarg(x_1); +x_85 = l_PersistentHashMap_find___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(x_1, x_81); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; +lean_dec(x_82); +lean_dec(x_75); +if (lean_is_scalar(x_80)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_80; +} +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_79); +return x_86; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_80); +x_87 = lean_ctor_get(x_85, 0); +lean_inc(x_87); lean_dec(x_85); -return x_87; +x_88 = lean_unsigned_to_nat(0u); +x_89 = l___private_Init_Lean_Meta_DiscrTree_16__getUnifyAux___main___rarg(x_88, x_82, x_87, x_84, x_75, x_79); +lean_dec(x_87); +return x_89; } } } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_73); -x_92 = lean_ctor_get(x_75, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_75, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_94 = x_75; +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_75); +x_94 = lean_ctor_get(x_77, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_77, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_96 = x_77; } else { - lean_dec_ref(x_75); - x_94 = lean_box(0); + lean_dec_ref(x_77); + x_96 = lean_box(0); } -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); } else { - x_95 = x_94; + x_97 = x_96; } -lean_ctor_set(x_95, 0, x_92); -lean_ctor_set(x_95, 1, x_93); -return x_95; +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_95); +return x_97; } } } diff --git a/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c index c0f195fae6..0314997c6a 100644 --- a/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c @@ -16,169 +16,175 @@ extern "C" { lean_object* l_Lean_Meta_CheckAssignmentQuick_check___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4___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_Init_Lean_Meta_ExprDefEq_42__isDefEqWHNF___at_Lean_Meta_isExprDefEqAuxImpl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Exception_toTraceMessageData___closed__51; -lean_object* l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_12__isDefEqFOApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignmentQuick_check___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__sameHeadSymbol___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__regTraceClasses(lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__1___closed__1; -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__2; lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__visit(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__9; lean_object* l_HashMapImp_find___at___private_Init_Lean_Meta_ExprDefEq_7__findCached___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_Lean_MonadCache___closed__2; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_28__unfoldBothDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); +lean_object* l_Lean_Meta_isClassExpensive___main(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__unfold(lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__simpAssignmentArgAux(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_34__isSynthetic___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setIsExprDefEqAuxRef(lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_checkAssignment___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_mdata(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isExprDefEq___closed__2; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__6; lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__4; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldReducibeDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__unfoldReducibeDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_4__isDefEqArgs___spec__1___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_Expr_updateMData_x21___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___closed__1; lean_object* l_Lean_Meta_CheckAssignment_checkFVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_8__cache___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__17; uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__1; lean_object* l_Lean_mkMVar(lean_object*); +lean_object* l_Lean_Meta_isClassQuick___main(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqBindingDomain___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__2; lean_object* l_Lean_Meta_isProofQuick___main(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_20__isListLevelDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; lean_object* l___private_Init_Lean_Meta_ExprDefEq_9__visit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_isClassExpensive___main___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_MessageData_arrayExpr_toMessageData___main(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__1; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5; uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_Lean_Meta_CheckAssignment_checkFVar___at_Lean_Meta_CheckAssignment_check___main___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_Lean_MonadCache; +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalContext_containsFVar(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__6; lean_object* l___private_Init_Lean_Meta_ExprDefEq_4__isDefEqArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_findFVar(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__3; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__isDeltaCandidate___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_getStuckMVar___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__9; lean_object* l___private_Init_Lean_Util_Trace_2__getResetTraces___at_Lean_Meta_check___spec__1___rarg(lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn___main(lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___boxed(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_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__1; lean_object* l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_Meta_ExprDefEq_8__cache___spec__4(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__3; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__1; +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__2; uint8_t l_Array_contains___at_Lean_Meta_CheckAssignment_check___main___spec__2(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); uint8_t l_Lean_isReducible(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_Lean_MonadCache___closed__1; uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); -lean_object* l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__findCached___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_4__isDefEqArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isLevelDefEqAux___main___closed__3; lean_object* l_Lean_Meta_isExprDefEqAuxImpl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConst___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_isProjectionFn(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__3; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldNonProjFnDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateLambdaE_x21___closed__1; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDeltaCandidate___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_find_decl(lean_object*, lean_object*); +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Lean_Meta_isClass(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_try___at_Lean_Meta_isExprDefEqAuxImpl___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__4; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; lean_object* l_Lean_Meta_CheckAssignment_check(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_checkAssignment___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__1; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_38__etaEq___boxed(lean_object*, lean_object*); lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_2__isDefEqArgsFirstPass___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__1; +lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__12; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_HashMapImp_expand___at___private_Init_Lean_Meta_ExprDefEq_8__cache___spec__3(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__7; +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqBindingDomain(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_5__isDefEqBindingAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_20__isListLevelDefEq(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isListLevelDefEq(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__1; lean_object* l_Lean_Expr_constLevels_x21(lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__findCached(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isTypeCorrect___closed__1; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__4; lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_12__isDefEqFOApprox___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Literal_beq(lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEqAuxImpl___closed__1; +lean_object* l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux___main(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__2; +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignmentQuick_check___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqBindingDomain___main___at___private_Init_Lean_Meta_ExprDefEq_5__isDefEqBindingAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_2__mkAppRangeAux___main(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5___boxed(lean_object*, 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___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__7; extern lean_object* l_Lean_formatEntry___closed__2; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___at_Lean_Meta_CheckAssignment_check___main___spec__2___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__11; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__unfold___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__2; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_42__isDefEqWHNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isReadOnlyOrSyntheticExprMVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); lean_object* l_Lean_Meta_isExprDefEqAuxImpl___closed__2; lean_object* l___private_Init_Lean_Meta_LevelDefEq_11__processPostponed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqWHNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__5; extern lean_object* l_Lean_MessageData_coeOfArrayExpr___closed__2; -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__1; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__1; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_33__unfoldNonProjFnDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_5__isDefEqBindingAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_Lean_Expr_hash(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_try___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__3; uint8_t l_AssocList_contains___main___at___private_Init_Lean_Meta_ExprDefEq_8__cache___spec__2(lean_object*, lean_object*); extern lean_object* l_PersistentArray_empty___closed__3; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__3; lean_object* l___private_Init_Lean_Meta_ExprDefEq_6__isDefEqBinding___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_checkMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_mkAuxMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -192,12 +198,14 @@ uint8_t l_Lean_Meta_TransparencyMode_beq(uint8_t, uint8_t); lean_object* l___private_Init_Lean_Meta_ExprDefEq_12__isDefEqFOApprox___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__3; size_t lean_usize_modn(size_t, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_39__isLetFVar(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment___closed__1; extern lean_object* l_Lean_Expr_updateApp_x21___closed__1; uint8_t l_Array_isEmpty___rarg(lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__isLetFVar(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_36__isSynthetic(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isEtaUnassignedMVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLambda(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldNonProjFnDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshId___rarg(lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_6__isDefEqBinding(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkAssignment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -207,15 +215,23 @@ lean_object* l_AssocList_replace___main___at___private_Init_Lean_Meta_ExprDefEq_ lean_object* l_Lean_Meta_isDefEqBindingDomain___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_5__isDefEqBindingAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__7; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isForall(lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_33__unfoldNonProjFnDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__1; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__16; -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_hints(lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__9; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); lean_object* l_AssocList_foldlM___main___at___private_Init_Lean_Meta_ExprDefEq_8__cache___spec__5(lean_object*, lean_object*); @@ -223,119 +239,119 @@ lean_object* l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___ lean_object* l___private_Init_Lean_Meta_ExprDefEq_3__isDefEqArgsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_contains___main___at___private_Init_Lean_Meta_ExprDefEq_8__cache___spec__2___boxed(lean_object*, lean_object*); uint8_t l_Array_contains___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_34__isSynthetic(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateProj_x21___closed__2; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__2; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___closed__1; lean_object* l_Lean_Meta_isDefEqBindingDomain___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqBindingDomain___main___at___private_Init_Lean_Meta_ExprDefEq_5__isDefEqBindingAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__unfold(lean_object*); lean_object* l_Lean_Meta_isListLevelDefEqAux___main(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_36__isSynthetic___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignmentQuick_check___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; lean_object* l_Lean_LocalDecl_type(lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__3; lean_object* l_Lean_LocalDecl_value_x3f(lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssignable(lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__10; lean_object* l_Lean_Meta_try___at_Lean_Meta_isExprDefEqAuxImpl___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignmentQuick_check___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__1; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__5; +lean_object* l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_getMCtx(lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__1; lean_object* l_Lean_WHNF_whnfCore___main___at_Lean_Meta_whnfCore___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_ParamInfo_inhabited; lean_object* l_HashMapImp_insert___at___private_Init_Lean_Meta_ExprDefEq_8__cache___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__2; lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__2(lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); uint8_t lean_expr_equal(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_3__isDefEqArgsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_whnfUsingDefault(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_39__isDefEqProofIrrel(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isListLevelDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_mk_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); extern uint8_t l_Bool_Inhabited; lean_object* l_Lean_Meta_getConstAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_panic(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignmentQuick_check(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqProofIrrel(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__2; uint8_t l_Bool_toLBool(uint8_t); -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at___private_Init_Lean_Meta_ExprDefEq_7__findCached___spec__2___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_4__isDefEqArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_synthPending(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isExprDefEqAuxRef; lean_object* l___private_Init_Lean_Meta_ExprDefEq_2__isDefEqArgsFirstPass___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__1; lean_object* l_Lean_Meta_CheckAssignmentQuick_check___main(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_check___main(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -uint8_t l___private_Init_Lean_Meta_ExprDefEq_27__sameHeadSymbol(lean_object*, lean_object*); +uint8_t l___private_Init_Lean_Meta_ExprDefEq_29__sameHeadSymbol(lean_object*, lean_object*); +lean_object* l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_2__isDefEqArgsFirstPass___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFunInfoNArgs(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_36__etaEq___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldReducibeDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_26__unfoldBothDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateLet_x21___closed__1; lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqWHNF___at_Lean_Meta_isExprDefEqAuxImpl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__2; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__10; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__3; -uint8_t l___private_Init_Lean_Meta_ExprDefEq_36__etaEq(lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__3; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_3__isDefEqArgsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Lean_Meta_ExprDefEq_38__etaEq(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_33__isAssigned(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_Inhabited; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__3; +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__3(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*); +extern lean_object* l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_FunInfo_6__getFunInfoAux___spec__2___closed__1; lean_object* l_AssocList_find___main___at___private_Init_Lean_Meta_ExprDefEq_7__findCached___spec__2(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_8__cache(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment___closed__1; lean_object* l_Lean_Meta_checkAssignment___closed__1; -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_mkAuxMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDeltaCandidate(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_Lean_MonadCache___closed__3; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__isDeltaCandidate(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__unfoldReducibeDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_mkHashMap___at_Lean_Meta_checkAssignment___spec__2(lean_object*); +lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_getMCtx___boxed(lean_object*); lean_object* l_HashMapImp_find___at___private_Init_Lean_Meta_ExprDefEq_7__findCached___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_setIsExprDefEqAuxRef___closed__1; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_33__isAssigned___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_9__etaExpandedAux___main(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__8; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_check___main___closed__1; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__isDefEqDelta(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssignable___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_34__isDefEqDelta(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_3__isDefEqArgsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__2; lean_object* l_Lean_Meta_tryL(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__1; lean_object* l___private_Init_Lean_Meta_ExprDefEq_5__isDefEqBindingAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isSyntheticExprMVar(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); @@ -343,36 +359,38 @@ lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure(lea lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__5; lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__14; lean_object* l_Lean_Meta_CheckAssignmentQuick_check___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_HasBeq; lean_object* l_Lean_mkBVar(lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasFVar(lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__sameHeadSymbol___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_2__isDefEqArgsFirstPass(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__15; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__11; lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__3; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__unfold___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__18; extern lean_object* l_Lean_Expr_updateForallE_x21___closed__1; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_getMCtx___rarg(lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__regTraceClasses(lean_object*); uint8_t l_Lean_ReducibilityHints_lt(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_12__isDefEqFOApprox___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__3; uint8_t l_Lean_LocalDecl_isLet(lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__2; +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__13; lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__2; lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__1___closed__1() { _start: { @@ -783,7 +801,7 @@ x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); lean_inc(x_3); -x_13 = l_Lean_Meta_whnfUsingDefault(x_11, x_3, x_12); +x_13 = l_Lean_Meta_whnfD(x_11, x_3, x_12); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; @@ -1684,47 +1702,47 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_95; lean_object* x_109; lean_object* x_110; uint8_t x_111; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_96; lean_object* x_110; lean_object* x_111; uint8_t x_112; x_23 = lean_array_fget(x_6, x_8); x_24 = l_Lean_Expr_Inhabited; x_25 = lean_array_get(x_24, x_1, x_23); x_26 = lean_array_get(x_24, x_2, x_23); -x_109 = l_Lean_Meta_ParamInfo_inhabited; -x_110 = lean_array_get(x_109, x_3, x_23); +x_110 = l_Lean_Meta_ParamInfo_inhabited; +x_111 = lean_array_get(x_110, x_3, x_23); lean_dec(x_23); -x_111 = lean_ctor_get_uint8(x_110, sizeof(void*)*1 + 1); -lean_dec(x_110); -if (x_111 == 0) +x_112 = lean_ctor_get_uint8(x_111, sizeof(void*)*1 + 1); +lean_dec(x_111); +if (x_112 == 0) { if (x_5 == 0) { -lean_object* x_112; -x_112 = lean_box(0); -x_95 = x_112; -goto block_108; -} -else -{ -x_27 = x_10; -goto block_94; -} -} -else -{ -if (x_5 == 0) -{ -x_27 = x_10; -goto block_94; -} -else -{ lean_object* x_113; x_113 = lean_box(0); -x_95 = x_113; -goto block_108; +x_96 = x_113; +goto block_109; +} +else +{ +x_27 = x_10; +goto block_95; } } -block_94: +else +{ +if (x_5 == 0) +{ +x_27 = x_10; +goto block_95; +} +else +{ +lean_object* x_114; +x_114 = lean_box(0); +x_96 = x_114; +goto block_109; +} +} +block_95: { lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; x_28 = lean_ctor_get(x_9, 0); @@ -1737,7 +1755,7 @@ x_31 = !lean_is_exclusive(x_28); if (x_31 == 0) { uint8_t x_32; uint8_t x_33; uint8_t x_34; -x_32 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 5); +x_32 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 6); x_33 = 1; x_34 = l_Lean_Meta_TransparencyMode_lt(x_32, x_33); if (x_34 == 0) @@ -1806,7 +1824,7 @@ return x_46; else { lean_object* x_47; lean_object* x_48; -lean_ctor_set_uint8(x_28, sizeof(void*)*1 + 5, x_33); +lean_ctor_set_uint8(x_28, sizeof(void*)*1 + 6, x_33); x_47 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_47, 0, x_28); lean_ctor_set(x_47, 1, x_29); @@ -1870,7 +1888,7 @@ return x_58; } else { -lean_object* x_59; uint8_t x_60; uint8_t x_61; uint8_t x_62; uint8_t x_63; uint8_t x_64; uint8_t x_65; uint8_t x_66; uint8_t x_67; +lean_object* x_59; uint8_t x_60; uint8_t x_61; uint8_t x_62; uint8_t x_63; uint8_t x_64; uint8_t x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; x_59 = lean_ctor_get(x_28, 0); x_60 = lean_ctor_get_uint8(x_28, sizeof(void*)*1); x_61 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 1); @@ -1878,234 +1896,237 @@ x_62 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 2); x_63 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 3); x_64 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 4); x_65 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 5); +x_66 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 6); lean_inc(x_59); lean_dec(x_28); -x_66 = 1; -x_67 = l_Lean_Meta_TransparencyMode_lt(x_65, x_66); -if (x_67 == 0) +x_67 = 1; +x_68 = l_Lean_Meta_TransparencyMode_lt(x_66, x_67); +if (x_68 == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_68, 0, x_59); -lean_ctor_set_uint8(x_68, sizeof(void*)*1, x_60); -lean_ctor_set_uint8(x_68, sizeof(void*)*1 + 1, x_61); -lean_ctor_set_uint8(x_68, sizeof(void*)*1 + 2, x_62); -lean_ctor_set_uint8(x_68, sizeof(void*)*1 + 3, x_63); -lean_ctor_set_uint8(x_68, sizeof(void*)*1 + 4, x_64); -lean_ctor_set_uint8(x_68, sizeof(void*)*1 + 5, x_65); -x_69 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_29); -lean_ctor_set(x_69, 2, x_30); -x_70 = l_Lean_Meta_isExprDefEqAux(x_25, x_26, x_69, x_27); -if (lean_obj_tag(x_70) == 0) +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_69, 0, x_59); +lean_ctor_set_uint8(x_69, sizeof(void*)*1, x_60); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 1, x_61); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 2, x_62); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 3, x_63); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 4, x_64); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 5, x_65); +lean_ctor_set_uint8(x_69, sizeof(void*)*1 + 6, x_66); +x_70 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_29); +lean_ctor_set(x_70, 2, x_30); +x_71 = l_Lean_Meta_isExprDefEqAux(x_25, x_26, x_70, x_27); +if (lean_obj_tag(x_71) == 0) { -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_unbox(x_71); +lean_object* x_72; uint8_t x_73; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_unbox(x_72); +lean_dec(x_72); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); lean_dec(x_71); -if (x_72 == 0) -{ -lean_object* x_73; uint8_t x_74; -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = 1; -x_11 = x_74; -x_12 = x_73; +x_75 = 1; +x_11 = x_75; +x_12 = x_74; goto block_18; } else { -lean_object* x_75; uint8_t x_76; -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -lean_dec(x_70); -x_76 = 0; -x_11 = x_76; -x_12 = x_75; +lean_object* x_76; uint8_t x_77; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec(x_71); +x_77 = 0; +x_11 = x_77; +x_12 = x_76; goto block_18; } } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_dec(x_9); lean_dec(x_8); -x_77 = lean_ctor_get(x_70, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_70, 1); +x_78 = lean_ctor_get(x_71, 0); lean_inc(x_78); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_79 = x_70; +x_79 = lean_ctor_get(x_71, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_80 = x_71; } else { - lean_dec_ref(x_70); - x_79 = lean_box(0); + lean_dec_ref(x_71); + x_80 = lean_box(0); } -if (lean_is_scalar(x_79)) { - x_80 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(1, 2, 0); } else { - x_80 = x_79; + x_81 = x_80; } -lean_ctor_set(x_80, 0, x_77); -lean_ctor_set(x_80, 1, x_78); -return x_80; +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_79); +return x_81; } } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_81, 0, x_59); -lean_ctor_set_uint8(x_81, sizeof(void*)*1, x_60); -lean_ctor_set_uint8(x_81, sizeof(void*)*1 + 1, x_61); -lean_ctor_set_uint8(x_81, sizeof(void*)*1 + 2, x_62); -lean_ctor_set_uint8(x_81, sizeof(void*)*1 + 3, x_63); -lean_ctor_set_uint8(x_81, sizeof(void*)*1 + 4, x_64); -lean_ctor_set_uint8(x_81, sizeof(void*)*1 + 5, x_66); -x_82 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_29); -lean_ctor_set(x_82, 2, x_30); -x_83 = l_Lean_Meta_isExprDefEqAux(x_25, x_26, x_82, x_27); -if (lean_obj_tag(x_83) == 0) +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_82, 0, x_59); +lean_ctor_set_uint8(x_82, sizeof(void*)*1, x_60); +lean_ctor_set_uint8(x_82, sizeof(void*)*1 + 1, x_61); +lean_ctor_set_uint8(x_82, sizeof(void*)*1 + 2, x_62); +lean_ctor_set_uint8(x_82, sizeof(void*)*1 + 3, x_63); +lean_ctor_set_uint8(x_82, sizeof(void*)*1 + 4, x_64); +lean_ctor_set_uint8(x_82, sizeof(void*)*1 + 5, x_65); +lean_ctor_set_uint8(x_82, sizeof(void*)*1 + 6, x_67); +x_83 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_29); +lean_ctor_set(x_83, 2, x_30); +x_84 = l_Lean_Meta_isExprDefEqAux(x_25, x_26, x_83, x_27); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_unbox(x_84); +lean_object* x_85; uint8_t x_86; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +lean_dec(x_85); +if (x_86 == 0) +{ +lean_object* x_87; uint8_t x_88; +x_87 = lean_ctor_get(x_84, 1); +lean_inc(x_87); lean_dec(x_84); -if (x_85 == 0) -{ -lean_object* x_86; uint8_t x_87; -x_86 = lean_ctor_get(x_83, 1); -lean_inc(x_86); -lean_dec(x_83); -x_87 = 1; -x_11 = x_87; -x_12 = x_86; +x_88 = 1; +x_11 = x_88; +x_12 = x_87; goto block_18; } else { -lean_object* x_88; uint8_t x_89; -x_88 = lean_ctor_get(x_83, 1); -lean_inc(x_88); -lean_dec(x_83); -x_89 = 0; -x_11 = x_89; -x_12 = x_88; +lean_object* x_89; uint8_t x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = 0; +x_11 = x_90; +x_12 = x_89; goto block_18; } } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_dec(x_9); lean_dec(x_8); -x_90 = lean_ctor_get(x_83, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_83, 1); +x_91 = lean_ctor_get(x_84, 0); lean_inc(x_91); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_92 = x_83; +x_92 = lean_ctor_get(x_84, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_93 = x_84; } else { - lean_dec_ref(x_83); - x_92 = lean_box(0); + lean_dec_ref(x_84); + x_93 = lean_box(0); } -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(1, 2, 0); } else { - x_93 = x_92; + x_94 = x_93; } -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_92); +return x_94; } } } } -block_108: +block_109: { -lean_object* x_96; -lean_dec(x_95); +lean_object* x_97; +lean_dec(x_96); lean_inc(x_9); lean_inc(x_25); -x_96 = l_Lean_Meta_synthPending(x_25, x_9, x_10); -if (lean_obj_tag(x_96) == 0) +x_97 = l_Lean_Meta_synthPending(x_25, x_9, x_10); +if (lean_obj_tag(x_97) == 0) { -lean_object* x_97; lean_object* x_98; -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); lean_inc(x_9); lean_inc(x_26); -x_98 = l_Lean_Meta_synthPending(x_26, x_9, x_97); -if (lean_obj_tag(x_98) == 0) +x_99 = l_Lean_Meta_synthPending(x_26, x_9, x_98); +if (lean_obj_tag(x_99) == 0) { -lean_object* x_99; -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_27 = x_99; -goto block_94; +lean_object* x_100; +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +lean_dec(x_99); +x_27 = x_100; +goto block_95; } else { -uint8_t x_100; +uint8_t x_101; lean_dec(x_26); lean_dec(x_25); lean_dec(x_9); lean_dec(x_8); -x_100 = !lean_is_exclusive(x_98); -if (x_100 == 0) +x_101 = !lean_is_exclusive(x_99); +if (x_101 == 0) { -return x_98; +return x_99; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_98, 0); -x_102 = lean_ctor_get(x_98, 1); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_99, 0); +x_103 = lean_ctor_get(x_99, 1); +lean_inc(x_103); lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_98); -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_99); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; } } } else { -uint8_t x_104; +uint8_t x_105; lean_dec(x_26); lean_dec(x_25); lean_dec(x_9); lean_dec(x_8); -x_104 = !lean_is_exclusive(x_96); -if (x_104 == 0) +x_105 = !lean_is_exclusive(x_97); +if (x_105 == 0) { -return x_96; +return x_97; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_96, 0); -x_106 = lean_ctor_get(x_96, 1); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_97, 0); +x_107 = lean_ctor_get(x_97, 1); +lean_inc(x_107); lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_96); -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; +lean_dec(x_97); +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; } } } @@ -12094,7 +12115,9261 @@ return x_10; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("checkTypes"); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeMismatch"); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4; +x_3 = l_Lean_Name_append___main(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" : "); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__6; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__7; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__2; +x_3 = l_Lean_Name_append___main(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; lean_object* x_493; uint8_t x_494; +x_493 = lean_ctor_get(x_4, 4); +lean_inc(x_493); +x_494 = lean_ctor_get_uint8(x_493, sizeof(void*)*1); +lean_dec(x_493); +if (x_494 == 0) +{ +uint8_t x_495; +x_495 = 0; +x_5 = x_495; +x_6 = x_4; +goto block_492; +} +else +{ +lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; uint8_t x_500; +x_496 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__9; +x_497 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_496, x_3, x_4); +x_498 = lean_ctor_get(x_497, 0); +lean_inc(x_498); +x_499 = lean_ctor_get(x_497, 1); +lean_inc(x_499); +lean_dec(x_497); +x_500 = lean_unbox(x_498); +lean_dec(x_498); +x_5 = x_500; +x_6 = x_499; +goto block_492; +} +block_492: +{ +if (x_5 == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_ctor_get(x_6, 4); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +uint8_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_36; lean_object* x_37; lean_object* x_57; +x_10 = lean_ctor_get_uint8(x_8, sizeof(void*)*1); +x_11 = 0; +lean_ctor_set_uint8(x_8, sizeof(void*)*1, x_11); +lean_inc(x_3); +lean_inc(x_1); +x_57 = l_Lean_Meta_inferType(x_1, x_3, x_6); +if (lean_obj_tag(x_57) == 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_inc(x_59); +lean_dec(x_57); +lean_inc(x_3); +lean_inc(x_2); +x_60 = l_Lean_Meta_inferType(x_2, x_3, x_59); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_61 = lean_ctor_get(x_3, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_60, 1); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +x_66 = !lean_is_exclusive(x_61); +if (x_66 == 0) +{ +uint8_t x_67; lean_object* x_68; lean_object* x_69; +x_67 = 1; +lean_ctor_set_uint8(x_61, sizeof(void*)*1 + 6, x_67); +x_68 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_68, 0, x_61); +lean_ctor_set(x_68, 1, x_64); +lean_ctor_set(x_68, 2, x_65); +lean_inc(x_62); +lean_inc(x_58); +x_69 = l_Lean_Meta_isExprDefEqAux(x_58, x_62, x_68, x_63); +if (lean_obj_tag(x_69) == 0) +{ +lean_object* x_70; uint8_t x_71; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_unbox(x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_72 = lean_ctor_get(x_69, 1); +lean_inc(x_72); +lean_dec(x_69); +x_73 = lean_ctor_get(x_72, 4); +lean_inc(x_73); +x_74 = lean_ctor_get_uint8(x_73, sizeof(void*)*1); +lean_dec(x_73); +if (x_74 == 0) +{ +uint8_t x_75; +lean_dec(x_62); +lean_dec(x_58); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_75 = lean_unbox(x_70); +lean_dec(x_70); +x_12 = x_75; +x_13 = x_72; +goto block_35; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_76 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5; +x_77 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_76, x_3, x_72); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_unbox(x_78); +lean_dec(x_78); +if (x_79 == 0) +{ +lean_object* x_80; uint8_t x_81; +lean_dec(x_62); +lean_dec(x_58); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_80 = lean_ctor_get(x_77, 1); +lean_inc(x_80); +lean_dec(x_77); +x_81 = lean_unbox(x_70); +lean_dec(x_70); +x_12 = x_81; +x_13 = x_80; +goto block_35; +} +else +{ +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; uint8_t x_98; +x_82 = lean_ctor_get(x_77, 1); +lean_inc(x_82); +lean_dec(x_77); +x_83 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_83, 0, x_1); +x_84 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; +x_85 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_86, 0, x_58); +x_87 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +x_88 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; +x_89 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_90, 0, x_2); +x_91 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_84); +x_93 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_93, 0, x_62); +x_94 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +x_95 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4; +x_96 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_95, x_94, x_3, x_82); +lean_dec(x_3); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +x_98 = lean_unbox(x_70); +lean_dec(x_70); +x_12 = x_98; +x_13 = x_97; +goto block_35; +} +} +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_62); +lean_dec(x_58); +x_99 = lean_ctor_get(x_69, 1); +lean_inc(x_99); +lean_dec(x_69); +x_100 = l_Lean_Expr_mvarId_x21(x_1); +lean_dec(x_1); +x_101 = l_Lean_Meta_assignExprMVar(x_100, x_2, x_3, x_99); +lean_dec(x_3); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; uint8_t x_103; +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +x_103 = lean_unbox(x_70); +lean_dec(x_70); +x_12 = x_103; +x_13 = x_102; +goto block_35; +} +else +{ +lean_object* x_104; lean_object* x_105; +lean_dec(x_70); +x_104 = lean_ctor_get(x_101, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_101, 1); +lean_inc(x_105); +lean_dec(x_101); +x_36 = x_104; +x_37 = x_105; +goto block_56; +} +} +} +else +{ +lean_object* x_106; lean_object* x_107; +lean_dec(x_62); +lean_dec(x_58); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_106 = lean_ctor_get(x_69, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_69, 1); +lean_inc(x_107); +lean_dec(x_69); +x_36 = x_106; +x_37 = x_107; +goto block_56; +} +} +else +{ +lean_object* x_108; uint8_t x_109; uint8_t x_110; uint8_t x_111; uint8_t x_112; uint8_t x_113; uint8_t x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_108 = lean_ctor_get(x_61, 0); +x_109 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); +x_110 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 1); +x_111 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 2); +x_112 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 3); +x_113 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 4); +x_114 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 5); +lean_inc(x_108); +lean_dec(x_61); +x_115 = 1; +x_116 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_116, 0, x_108); +lean_ctor_set_uint8(x_116, sizeof(void*)*1, x_109); +lean_ctor_set_uint8(x_116, sizeof(void*)*1 + 1, x_110); +lean_ctor_set_uint8(x_116, sizeof(void*)*1 + 2, x_111); +lean_ctor_set_uint8(x_116, sizeof(void*)*1 + 3, x_112); +lean_ctor_set_uint8(x_116, sizeof(void*)*1 + 4, x_113); +lean_ctor_set_uint8(x_116, sizeof(void*)*1 + 5, x_114); +lean_ctor_set_uint8(x_116, sizeof(void*)*1 + 6, x_115); +x_117 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_64); +lean_ctor_set(x_117, 2, x_65); +lean_inc(x_62); +lean_inc(x_58); +x_118 = l_Lean_Meta_isExprDefEqAux(x_58, x_62, x_117, x_63); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; uint8_t x_120; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_121 = lean_ctor_get(x_118, 1); +lean_inc(x_121); +lean_dec(x_118); +x_122 = lean_ctor_get(x_121, 4); +lean_inc(x_122); +x_123 = lean_ctor_get_uint8(x_122, sizeof(void*)*1); +lean_dec(x_122); +if (x_123 == 0) +{ +uint8_t x_124; +lean_dec(x_62); +lean_dec(x_58); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_124 = lean_unbox(x_119); +lean_dec(x_119); +x_12 = x_124; +x_13 = x_121; +goto block_35; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; +x_125 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5; +x_126 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_125, x_3, x_121); +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_unbox(x_127); +lean_dec(x_127); +if (x_128 == 0) +{ +lean_object* x_129; uint8_t x_130; +lean_dec(x_62); +lean_dec(x_58); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_dec(x_126); +x_130 = lean_unbox(x_119); +lean_dec(x_119); +x_12 = x_130; +x_13 = x_129; +goto block_35; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; +x_131 = lean_ctor_get(x_126, 1); +lean_inc(x_131); +lean_dec(x_126); +x_132 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_132, 0, x_1); +x_133 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; +x_134 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +x_135 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_135, 0, x_58); +x_136 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +x_137 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; +x_138 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +x_139 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_139, 0, x_2); +x_140 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +x_141 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_133); +x_142 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_142, 0, x_62); +x_143 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +x_144 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4; +x_145 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_144, x_143, x_3, x_131); +lean_dec(x_3); +x_146 = lean_ctor_get(x_145, 1); +lean_inc(x_146); +lean_dec(x_145); +x_147 = lean_unbox(x_119); +lean_dec(x_119); +x_12 = x_147; +x_13 = x_146; +goto block_35; +} +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +lean_dec(x_62); +lean_dec(x_58); +x_148 = lean_ctor_get(x_118, 1); +lean_inc(x_148); +lean_dec(x_118); +x_149 = l_Lean_Expr_mvarId_x21(x_1); +lean_dec(x_1); +x_150 = l_Lean_Meta_assignExprMVar(x_149, x_2, x_3, x_148); +lean_dec(x_3); +if (lean_obj_tag(x_150) == 0) +{ +lean_object* x_151; uint8_t x_152; +x_151 = lean_ctor_get(x_150, 1); +lean_inc(x_151); +lean_dec(x_150); +x_152 = lean_unbox(x_119); +lean_dec(x_119); +x_12 = x_152; +x_13 = x_151; +goto block_35; +} +else +{ +lean_object* x_153; lean_object* x_154; +lean_dec(x_119); +x_153 = lean_ctor_get(x_150, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_150, 1); +lean_inc(x_154); +lean_dec(x_150); +x_36 = x_153; +x_37 = x_154; +goto block_56; +} +} +} +else +{ +lean_object* x_155; lean_object* x_156; +lean_dec(x_62); +lean_dec(x_58); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_155 = lean_ctor_get(x_118, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_118, 1); +lean_inc(x_156); +lean_dec(x_118); +x_36 = x_155; +x_37 = x_156; +goto block_56; +} +} +} +else +{ +lean_object* x_157; lean_object* x_158; +lean_dec(x_58); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_157 = lean_ctor_get(x_60, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_60, 1); +lean_inc(x_158); +lean_dec(x_60); +x_36 = x_157; +x_37 = x_158; +goto block_56; +} +} +else +{ +lean_object* x_159; lean_object* x_160; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_159 = lean_ctor_get(x_57, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_57, 1); +lean_inc(x_160); +lean_dec(x_57); +x_36 = x_159; +x_37 = x_160; +goto block_56; +} +block_35: +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_13, 4); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_10); +x_17 = lean_box(x_12); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_13); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set_uint8(x_20, sizeof(void*)*1, x_10); +lean_ctor_set(x_13, 4, x_20); +x_21 = lean_box(x_12); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_13); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_23 = lean_ctor_get(x_13, 4); +x_24 = lean_ctor_get(x_13, 0); +x_25 = lean_ctor_get(x_13, 1); +x_26 = lean_ctor_get(x_13, 2); +x_27 = lean_ctor_get(x_13, 3); +x_28 = lean_ctor_get(x_13, 5); +lean_inc(x_28); +lean_inc(x_23); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_13); +x_29 = lean_ctor_get(x_23, 0); +lean_inc(x_29); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + x_30 = x_23; +} else { + lean_dec_ref(x_23); + x_30 = lean_box(0); +} +if (lean_is_scalar(x_30)) { + x_31 = lean_alloc_ctor(0, 1, 1); +} else { + x_31 = x_30; +} +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_10); +x_32 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_25); +lean_ctor_set(x_32, 2, x_26); +lean_ctor_set(x_32, 3, x_27); +lean_ctor_set(x_32, 4, x_31); +lean_ctor_set(x_32, 5, x_28); +x_33 = lean_box(x_12); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +return x_34; +} +} +block_56: +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_37, 4); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; +lean_ctor_set_uint8(x_39, sizeof(void*)*1, x_10); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_36); +lean_ctor_set(x_41, 1, x_37); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_39, 0); +lean_inc(x_42); +lean_dec(x_39); +x_43 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set_uint8(x_43, sizeof(void*)*1, x_10); +lean_ctor_set(x_37, 4, x_43); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_36); +lean_ctor_set(x_44, 1, x_37); +return x_44; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_45 = lean_ctor_get(x_37, 4); +x_46 = lean_ctor_get(x_37, 0); +x_47 = lean_ctor_get(x_37, 1); +x_48 = lean_ctor_get(x_37, 2); +x_49 = lean_ctor_get(x_37, 3); +x_50 = lean_ctor_get(x_37, 5); +lean_inc(x_50); +lean_inc(x_45); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_37); +x_51 = lean_ctor_get(x_45, 0); +lean_inc(x_51); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + x_52 = x_45; +} else { + lean_dec_ref(x_45); + x_52 = lean_box(0); +} +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(0, 1, 1); +} else { + x_53 = x_52; +} +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_10); +x_54 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_54, 0, x_46); +lean_ctor_set(x_54, 1, x_47); +lean_ctor_set(x_54, 2, x_48); +lean_ctor_set(x_54, 3, x_49); +lean_ctor_set(x_54, 4, x_53); +lean_ctor_set(x_54, 5, x_50); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_36); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; lean_object* x_181; lean_object* x_182; lean_object* x_196; +x_161 = lean_ctor_get_uint8(x_8, sizeof(void*)*1); +x_162 = lean_ctor_get(x_8, 0); +lean_inc(x_162); +lean_dec(x_8); +x_163 = 0; +x_164 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_164, 0, x_162); +lean_ctor_set_uint8(x_164, sizeof(void*)*1, x_163); +lean_ctor_set(x_6, 4, x_164); +lean_inc(x_3); +lean_inc(x_1); +x_196 = l_Lean_Meta_inferType(x_1, x_3, x_6); +if (lean_obj_tag(x_196) == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec(x_196); +lean_inc(x_3); +lean_inc(x_2); +x_199 = l_Lean_Meta_inferType(x_2, x_3, x_198); +if (lean_obj_tag(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; uint8_t x_206; uint8_t x_207; uint8_t x_208; uint8_t x_209; uint8_t x_210; uint8_t x_211; lean_object* x_212; uint8_t x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +x_200 = lean_ctor_get(x_3, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_199, 1); +lean_inc(x_202); +lean_dec(x_199); +x_203 = lean_ctor_get(x_3, 1); +lean_inc(x_203); +x_204 = lean_ctor_get(x_3, 2); +lean_inc(x_204); +x_205 = lean_ctor_get(x_200, 0); +lean_inc(x_205); +x_206 = lean_ctor_get_uint8(x_200, sizeof(void*)*1); +x_207 = lean_ctor_get_uint8(x_200, sizeof(void*)*1 + 1); +x_208 = lean_ctor_get_uint8(x_200, sizeof(void*)*1 + 2); +x_209 = lean_ctor_get_uint8(x_200, sizeof(void*)*1 + 3); +x_210 = lean_ctor_get_uint8(x_200, sizeof(void*)*1 + 4); +x_211 = lean_ctor_get_uint8(x_200, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + x_212 = x_200; +} else { + lean_dec_ref(x_200); + x_212 = lean_box(0); +} +x_213 = 1; +if (lean_is_scalar(x_212)) { + x_214 = lean_alloc_ctor(0, 1, 7); +} else { + x_214 = x_212; +} +lean_ctor_set(x_214, 0, x_205); +lean_ctor_set_uint8(x_214, sizeof(void*)*1, x_206); +lean_ctor_set_uint8(x_214, sizeof(void*)*1 + 1, x_207); +lean_ctor_set_uint8(x_214, sizeof(void*)*1 + 2, x_208); +lean_ctor_set_uint8(x_214, sizeof(void*)*1 + 3, x_209); +lean_ctor_set_uint8(x_214, sizeof(void*)*1 + 4, x_210); +lean_ctor_set_uint8(x_214, sizeof(void*)*1 + 5, x_211); +lean_ctor_set_uint8(x_214, sizeof(void*)*1 + 6, x_213); +x_215 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_203); +lean_ctor_set(x_215, 2, x_204); +lean_inc(x_201); +lean_inc(x_197); +x_216 = l_Lean_Meta_isExprDefEqAux(x_197, x_201, x_215, x_202); +if (lean_obj_tag(x_216) == 0) +{ +lean_object* x_217; uint8_t x_218; +x_217 = lean_ctor_get(x_216, 0); +lean_inc(x_217); +x_218 = lean_unbox(x_217); +if (x_218 == 0) +{ +lean_object* x_219; lean_object* x_220; uint8_t x_221; +x_219 = lean_ctor_get(x_216, 1); +lean_inc(x_219); +lean_dec(x_216); +x_220 = lean_ctor_get(x_219, 4); +lean_inc(x_220); +x_221 = lean_ctor_get_uint8(x_220, sizeof(void*)*1); +lean_dec(x_220); +if (x_221 == 0) +{ +uint8_t x_222; +lean_dec(x_201); +lean_dec(x_197); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_222 = lean_unbox(x_217); +lean_dec(x_217); +x_165 = x_222; +x_166 = x_219; +goto block_180; +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +x_223 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5; +x_224 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_223, x_3, x_219); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_unbox(x_225); +lean_dec(x_225); +if (x_226 == 0) +{ +lean_object* x_227; uint8_t x_228; +lean_dec(x_201); +lean_dec(x_197); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_227 = lean_ctor_get(x_224, 1); +lean_inc(x_227); +lean_dec(x_224); +x_228 = lean_unbox(x_217); +lean_dec(x_217); +x_165 = x_228; +x_166 = x_227; +goto block_180; +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; +x_229 = lean_ctor_get(x_224, 1); +lean_inc(x_229); +lean_dec(x_224); +x_230 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_230, 0, x_1); +x_231 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; +x_232 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set(x_232, 1, x_231); +x_233 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_233, 0, x_197); +x_234 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set(x_234, 1, x_233); +x_235 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; +x_236 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_235); +x_237 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_237, 0, x_2); +x_238 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_238, 0, x_236); +lean_ctor_set(x_238, 1, x_237); +x_239 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_231); +x_240 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_240, 0, x_201); +x_241 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_241, 0, x_239); +lean_ctor_set(x_241, 1, x_240); +x_242 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4; +x_243 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_242, x_241, x_3, x_229); +lean_dec(x_3); +x_244 = lean_ctor_get(x_243, 1); +lean_inc(x_244); +lean_dec(x_243); +x_245 = lean_unbox(x_217); +lean_dec(x_217); +x_165 = x_245; +x_166 = x_244; +goto block_180; +} +} +} +else +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; +lean_dec(x_201); +lean_dec(x_197); +x_246 = lean_ctor_get(x_216, 1); +lean_inc(x_246); +lean_dec(x_216); +x_247 = l_Lean_Expr_mvarId_x21(x_1); +lean_dec(x_1); +x_248 = l_Lean_Meta_assignExprMVar(x_247, x_2, x_3, x_246); +lean_dec(x_3); +if (lean_obj_tag(x_248) == 0) +{ +lean_object* x_249; uint8_t x_250; +x_249 = lean_ctor_get(x_248, 1); +lean_inc(x_249); +lean_dec(x_248); +x_250 = lean_unbox(x_217); +lean_dec(x_217); +x_165 = x_250; +x_166 = x_249; +goto block_180; +} +else +{ +lean_object* x_251; lean_object* x_252; +lean_dec(x_217); +x_251 = lean_ctor_get(x_248, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_248, 1); +lean_inc(x_252); +lean_dec(x_248); +x_181 = x_251; +x_182 = x_252; +goto block_195; +} +} +} +else +{ +lean_object* x_253; lean_object* x_254; +lean_dec(x_201); +lean_dec(x_197); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_253 = lean_ctor_get(x_216, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_216, 1); +lean_inc(x_254); +lean_dec(x_216); +x_181 = x_253; +x_182 = x_254; +goto block_195; +} +} +else +{ +lean_object* x_255; lean_object* x_256; +lean_dec(x_197); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_255 = lean_ctor_get(x_199, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_199, 1); +lean_inc(x_256); +lean_dec(x_199); +x_181 = x_255; +x_182 = x_256; +goto block_195; +} +} +else +{ +lean_object* x_257; lean_object* x_258; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_257 = lean_ctor_get(x_196, 0); +lean_inc(x_257); +x_258 = lean_ctor_get(x_196, 1); +lean_inc(x_258); +lean_dec(x_196); +x_181 = x_257; +x_182 = x_258; +goto block_195; +} +block_180: +{ +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; +x_167 = lean_ctor_get(x_166, 4); +lean_inc(x_167); +x_168 = lean_ctor_get(x_166, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_166, 1); +lean_inc(x_169); +x_170 = lean_ctor_get(x_166, 2); +lean_inc(x_170); +x_171 = lean_ctor_get(x_166, 3); +lean_inc(x_171); +x_172 = lean_ctor_get(x_166, 5); +lean_inc(x_172); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + lean_ctor_release(x_166, 2); + lean_ctor_release(x_166, 3); + lean_ctor_release(x_166, 4); + lean_ctor_release(x_166, 5); + x_173 = x_166; +} else { + lean_dec_ref(x_166); + x_173 = lean_box(0); +} +x_174 = lean_ctor_get(x_167, 0); +lean_inc(x_174); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + x_175 = x_167; +} else { + lean_dec_ref(x_167); + x_175 = lean_box(0); +} +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(0, 1, 1); +} else { + x_176 = x_175; +} +lean_ctor_set(x_176, 0, x_174); +lean_ctor_set_uint8(x_176, sizeof(void*)*1, x_161); +if (lean_is_scalar(x_173)) { + x_177 = lean_alloc_ctor(0, 6, 0); +} else { + x_177 = x_173; +} +lean_ctor_set(x_177, 0, x_168); +lean_ctor_set(x_177, 1, x_169); +lean_ctor_set(x_177, 2, x_170); +lean_ctor_set(x_177, 3, x_171); +lean_ctor_set(x_177, 4, x_176); +lean_ctor_set(x_177, 5, x_172); +x_178 = lean_box(x_165); +x_179 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_177); +return x_179; +} +block_195: +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_183 = lean_ctor_get(x_182, 4); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_182, 1); +lean_inc(x_185); +x_186 = lean_ctor_get(x_182, 2); +lean_inc(x_186); +x_187 = lean_ctor_get(x_182, 3); +lean_inc(x_187); +x_188 = lean_ctor_get(x_182, 5); +lean_inc(x_188); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + lean_ctor_release(x_182, 2); + lean_ctor_release(x_182, 3); + lean_ctor_release(x_182, 4); + lean_ctor_release(x_182, 5); + x_189 = x_182; +} else { + lean_dec_ref(x_182); + x_189 = lean_box(0); +} +x_190 = lean_ctor_get(x_183, 0); +lean_inc(x_190); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + x_191 = x_183; +} else { + lean_dec_ref(x_183); + x_191 = lean_box(0); +} +if (lean_is_scalar(x_191)) { + x_192 = lean_alloc_ctor(0, 1, 1); +} else { + x_192 = x_191; +} +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set_uint8(x_192, sizeof(void*)*1, x_161); +if (lean_is_scalar(x_189)) { + x_193 = lean_alloc_ctor(0, 6, 0); +} else { + x_193 = x_189; +} +lean_ctor_set(x_193, 0, x_184); +lean_ctor_set(x_193, 1, x_185); +lean_ctor_set(x_193, 2, x_186); +lean_ctor_set(x_193, 3, x_187); +lean_ctor_set(x_193, 4, x_192); +lean_ctor_set(x_193, 5, x_188); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_181); +lean_ctor_set(x_194, 1, x_193); +return x_194; +} +} +} +else +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; lean_object* x_272; lean_object* x_287; lean_object* x_288; lean_object* x_302; +x_259 = lean_ctor_get(x_6, 4); +x_260 = lean_ctor_get(x_6, 0); +x_261 = lean_ctor_get(x_6, 1); +x_262 = lean_ctor_get(x_6, 2); +x_263 = lean_ctor_get(x_6, 3); +x_264 = lean_ctor_get(x_6, 5); +lean_inc(x_264); +lean_inc(x_259); +lean_inc(x_263); +lean_inc(x_262); +lean_inc(x_261); +lean_inc(x_260); +lean_dec(x_6); +x_265 = lean_ctor_get_uint8(x_259, sizeof(void*)*1); +x_266 = lean_ctor_get(x_259, 0); +lean_inc(x_266); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + x_267 = x_259; +} else { + lean_dec_ref(x_259); + x_267 = lean_box(0); +} +x_268 = 0; +if (lean_is_scalar(x_267)) { + x_269 = lean_alloc_ctor(0, 1, 1); +} else { + x_269 = x_267; +} +lean_ctor_set(x_269, 0, x_266); +lean_ctor_set_uint8(x_269, sizeof(void*)*1, x_268); +x_270 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_270, 0, x_260); +lean_ctor_set(x_270, 1, x_261); +lean_ctor_set(x_270, 2, x_262); +lean_ctor_set(x_270, 3, x_263); +lean_ctor_set(x_270, 4, x_269); +lean_ctor_set(x_270, 5, x_264); +lean_inc(x_3); +lean_inc(x_1); +x_302 = l_Lean_Meta_inferType(x_1, x_3, x_270); +if (lean_obj_tag(x_302) == 0) +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_303 = lean_ctor_get(x_302, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_302, 1); +lean_inc(x_304); +lean_dec(x_302); +lean_inc(x_3); +lean_inc(x_2); +x_305 = l_Lean_Meta_inferType(x_2, x_3, x_304); +if (lean_obj_tag(x_305) == 0) +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; uint8_t x_312; uint8_t x_313; uint8_t x_314; uint8_t x_315; uint8_t x_316; uint8_t x_317; lean_object* x_318; uint8_t x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; +x_306 = lean_ctor_get(x_3, 0); +lean_inc(x_306); +x_307 = lean_ctor_get(x_305, 0); +lean_inc(x_307); +x_308 = lean_ctor_get(x_305, 1); +lean_inc(x_308); +lean_dec(x_305); +x_309 = lean_ctor_get(x_3, 1); +lean_inc(x_309); +x_310 = lean_ctor_get(x_3, 2); +lean_inc(x_310); +x_311 = lean_ctor_get(x_306, 0); +lean_inc(x_311); +x_312 = lean_ctor_get_uint8(x_306, sizeof(void*)*1); +x_313 = lean_ctor_get_uint8(x_306, sizeof(void*)*1 + 1); +x_314 = lean_ctor_get_uint8(x_306, sizeof(void*)*1 + 2); +x_315 = lean_ctor_get_uint8(x_306, sizeof(void*)*1 + 3); +x_316 = lean_ctor_get_uint8(x_306, sizeof(void*)*1 + 4); +x_317 = lean_ctor_get_uint8(x_306, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_306)) { + lean_ctor_release(x_306, 0); + x_318 = x_306; +} else { + lean_dec_ref(x_306); + x_318 = lean_box(0); +} +x_319 = 1; +if (lean_is_scalar(x_318)) { + x_320 = lean_alloc_ctor(0, 1, 7); +} else { + x_320 = x_318; +} +lean_ctor_set(x_320, 0, x_311); +lean_ctor_set_uint8(x_320, sizeof(void*)*1, x_312); +lean_ctor_set_uint8(x_320, sizeof(void*)*1 + 1, x_313); +lean_ctor_set_uint8(x_320, sizeof(void*)*1 + 2, x_314); +lean_ctor_set_uint8(x_320, sizeof(void*)*1 + 3, x_315); +lean_ctor_set_uint8(x_320, sizeof(void*)*1 + 4, x_316); +lean_ctor_set_uint8(x_320, sizeof(void*)*1 + 5, x_317); +lean_ctor_set_uint8(x_320, sizeof(void*)*1 + 6, x_319); +x_321 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_309); +lean_ctor_set(x_321, 2, x_310); +lean_inc(x_307); +lean_inc(x_303); +x_322 = l_Lean_Meta_isExprDefEqAux(x_303, x_307, x_321, x_308); +if (lean_obj_tag(x_322) == 0) +{ +lean_object* x_323; uint8_t x_324; +x_323 = lean_ctor_get(x_322, 0); +lean_inc(x_323); +x_324 = lean_unbox(x_323); +if (x_324 == 0) +{ +lean_object* x_325; lean_object* x_326; uint8_t x_327; +x_325 = lean_ctor_get(x_322, 1); +lean_inc(x_325); +lean_dec(x_322); +x_326 = lean_ctor_get(x_325, 4); +lean_inc(x_326); +x_327 = lean_ctor_get_uint8(x_326, sizeof(void*)*1); +lean_dec(x_326); +if (x_327 == 0) +{ +uint8_t x_328; +lean_dec(x_307); +lean_dec(x_303); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_328 = lean_unbox(x_323); +lean_dec(x_323); +x_271 = x_328; +x_272 = x_325; +goto block_286; +} +else +{ +lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; +x_329 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5; +x_330 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_329, x_3, x_325); +x_331 = lean_ctor_get(x_330, 0); +lean_inc(x_331); +x_332 = lean_unbox(x_331); +lean_dec(x_331); +if (x_332 == 0) +{ +lean_object* x_333; uint8_t x_334; +lean_dec(x_307); +lean_dec(x_303); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_333 = lean_ctor_get(x_330, 1); +lean_inc(x_333); +lean_dec(x_330); +x_334 = lean_unbox(x_323); +lean_dec(x_323); +x_271 = x_334; +x_272 = x_333; +goto block_286; +} +else +{ +lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_351; +x_335 = lean_ctor_get(x_330, 1); +lean_inc(x_335); +lean_dec(x_330); +x_336 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_336, 0, x_1); +x_337 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; +x_338 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_338, 0, x_336); +lean_ctor_set(x_338, 1, x_337); +x_339 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_339, 0, x_303); +x_340 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_340, 0, x_338); +lean_ctor_set(x_340, 1, x_339); +x_341 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; +x_342 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_342, 0, x_340); +lean_ctor_set(x_342, 1, x_341); +x_343 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_343, 0, x_2); +x_344 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_344, 0, x_342); +lean_ctor_set(x_344, 1, x_343); +x_345 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_345, 0, x_344); +lean_ctor_set(x_345, 1, x_337); +x_346 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_346, 0, x_307); +x_347 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_347, 0, x_345); +lean_ctor_set(x_347, 1, x_346); +x_348 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4; +x_349 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_348, x_347, x_3, x_335); +lean_dec(x_3); +x_350 = lean_ctor_get(x_349, 1); +lean_inc(x_350); +lean_dec(x_349); +x_351 = lean_unbox(x_323); +lean_dec(x_323); +x_271 = x_351; +x_272 = x_350; +goto block_286; +} +} +} +else +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; +lean_dec(x_307); +lean_dec(x_303); +x_352 = lean_ctor_get(x_322, 1); +lean_inc(x_352); +lean_dec(x_322); +x_353 = l_Lean_Expr_mvarId_x21(x_1); +lean_dec(x_1); +x_354 = l_Lean_Meta_assignExprMVar(x_353, x_2, x_3, x_352); +lean_dec(x_3); +if (lean_obj_tag(x_354) == 0) +{ +lean_object* x_355; uint8_t x_356; +x_355 = lean_ctor_get(x_354, 1); +lean_inc(x_355); +lean_dec(x_354); +x_356 = lean_unbox(x_323); +lean_dec(x_323); +x_271 = x_356; +x_272 = x_355; +goto block_286; +} +else +{ +lean_object* x_357; lean_object* x_358; +lean_dec(x_323); +x_357 = lean_ctor_get(x_354, 0); +lean_inc(x_357); +x_358 = lean_ctor_get(x_354, 1); +lean_inc(x_358); +lean_dec(x_354); +x_287 = x_357; +x_288 = x_358; +goto block_301; +} +} +} +else +{ +lean_object* x_359; lean_object* x_360; +lean_dec(x_307); +lean_dec(x_303); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_359 = lean_ctor_get(x_322, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_322, 1); +lean_inc(x_360); +lean_dec(x_322); +x_287 = x_359; +x_288 = x_360; +goto block_301; +} +} +else +{ +lean_object* x_361; lean_object* x_362; +lean_dec(x_303); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_361 = lean_ctor_get(x_305, 0); +lean_inc(x_361); +x_362 = lean_ctor_get(x_305, 1); +lean_inc(x_362); +lean_dec(x_305); +x_287 = x_361; +x_288 = x_362; +goto block_301; +} +} +else +{ +lean_object* x_363; lean_object* x_364; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_363 = lean_ctor_get(x_302, 0); +lean_inc(x_363); +x_364 = lean_ctor_get(x_302, 1); +lean_inc(x_364); +lean_dec(x_302); +x_287 = x_363; +x_288 = x_364; +goto block_301; +} +block_286: +{ +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_273 = lean_ctor_get(x_272, 4); +lean_inc(x_273); +x_274 = lean_ctor_get(x_272, 0); +lean_inc(x_274); +x_275 = lean_ctor_get(x_272, 1); +lean_inc(x_275); +x_276 = lean_ctor_get(x_272, 2); +lean_inc(x_276); +x_277 = lean_ctor_get(x_272, 3); +lean_inc(x_277); +x_278 = lean_ctor_get(x_272, 5); +lean_inc(x_278); +if (lean_is_exclusive(x_272)) { + lean_ctor_release(x_272, 0); + lean_ctor_release(x_272, 1); + lean_ctor_release(x_272, 2); + lean_ctor_release(x_272, 3); + lean_ctor_release(x_272, 4); + lean_ctor_release(x_272, 5); + x_279 = x_272; +} else { + lean_dec_ref(x_272); + x_279 = lean_box(0); +} +x_280 = lean_ctor_get(x_273, 0); +lean_inc(x_280); +if (lean_is_exclusive(x_273)) { + lean_ctor_release(x_273, 0); + x_281 = x_273; +} else { + lean_dec_ref(x_273); + x_281 = lean_box(0); +} +if (lean_is_scalar(x_281)) { + x_282 = lean_alloc_ctor(0, 1, 1); +} else { + x_282 = x_281; +} +lean_ctor_set(x_282, 0, x_280); +lean_ctor_set_uint8(x_282, sizeof(void*)*1, x_265); +if (lean_is_scalar(x_279)) { + x_283 = lean_alloc_ctor(0, 6, 0); +} else { + x_283 = x_279; +} +lean_ctor_set(x_283, 0, x_274); +lean_ctor_set(x_283, 1, x_275); +lean_ctor_set(x_283, 2, x_276); +lean_ctor_set(x_283, 3, x_277); +lean_ctor_set(x_283, 4, x_282); +lean_ctor_set(x_283, 5, x_278); +x_284 = lean_box(x_271); +x_285 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_285, 0, x_284); +lean_ctor_set(x_285, 1, x_283); +return x_285; +} +block_301: +{ +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; +x_289 = lean_ctor_get(x_288, 4); +lean_inc(x_289); +x_290 = lean_ctor_get(x_288, 0); +lean_inc(x_290); +x_291 = lean_ctor_get(x_288, 1); +lean_inc(x_291); +x_292 = lean_ctor_get(x_288, 2); +lean_inc(x_292); +x_293 = lean_ctor_get(x_288, 3); +lean_inc(x_293); +x_294 = lean_ctor_get(x_288, 5); +lean_inc(x_294); +if (lean_is_exclusive(x_288)) { + lean_ctor_release(x_288, 0); + lean_ctor_release(x_288, 1); + lean_ctor_release(x_288, 2); + lean_ctor_release(x_288, 3); + lean_ctor_release(x_288, 4); + lean_ctor_release(x_288, 5); + x_295 = x_288; +} else { + lean_dec_ref(x_288); + x_295 = lean_box(0); +} +x_296 = lean_ctor_get(x_289, 0); +lean_inc(x_296); +if (lean_is_exclusive(x_289)) { + lean_ctor_release(x_289, 0); + x_297 = x_289; +} else { + lean_dec_ref(x_289); + x_297 = lean_box(0); +} +if (lean_is_scalar(x_297)) { + x_298 = lean_alloc_ctor(0, 1, 1); +} else { + x_298 = x_297; +} +lean_ctor_set(x_298, 0, x_296); +lean_ctor_set_uint8(x_298, sizeof(void*)*1, x_265); +if (lean_is_scalar(x_295)) { + x_299 = lean_alloc_ctor(0, 6, 0); +} else { + x_299 = x_295; +} +lean_ctor_set(x_299, 0, x_290); +lean_ctor_set(x_299, 1, x_291); +lean_ctor_set(x_299, 2, x_292); +lean_ctor_set(x_299, 3, x_293); +lean_ctor_set(x_299, 4, x_298); +lean_ctor_set(x_299, 5, x_294); +x_300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_300, 0, x_287); +lean_ctor_set(x_300, 1, x_299); +return x_300; +} +} +} +else +{ +lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; lean_object* x_369; lean_object* x_379; lean_object* x_380; lean_object* x_388; +x_365 = l___private_Init_Lean_Util_Trace_2__getResetTraces___at_Lean_Meta_check___spec__1___rarg(x_6); +x_366 = lean_ctor_get(x_365, 0); +lean_inc(x_366); +x_367 = lean_ctor_get(x_365, 1); +lean_inc(x_367); +lean_dec(x_365); +lean_inc(x_3); +lean_inc(x_1); +x_388 = l_Lean_Meta_inferType(x_1, x_3, x_367); +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_3); +lean_inc(x_2); +x_391 = l_Lean_Meta_inferType(x_2, x_3, x_390); +if (lean_obj_tag(x_391) == 0) +{ +lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; +x_392 = lean_ctor_get(x_3, 0); +lean_inc(x_392); +x_393 = lean_ctor_get(x_391, 0); +lean_inc(x_393); +x_394 = lean_ctor_get(x_391, 1); +lean_inc(x_394); +lean_dec(x_391); +x_395 = lean_ctor_get(x_3, 1); +lean_inc(x_395); +x_396 = lean_ctor_get(x_3, 2); +lean_inc(x_396); +x_397 = !lean_is_exclusive(x_392); +if (x_397 == 0) +{ +uint8_t x_398; lean_object* x_399; lean_object* x_400; +x_398 = 1; +lean_ctor_set_uint8(x_392, sizeof(void*)*1 + 6, x_398); +x_399 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_399, 0, x_392); +lean_ctor_set(x_399, 1, x_395); +lean_ctor_set(x_399, 2, x_396); +lean_inc(x_393); +lean_inc(x_389); +x_400 = l_Lean_Meta_isExprDefEqAux(x_389, x_393, x_399, x_394); +if (lean_obj_tag(x_400) == 0) +{ +lean_object* x_401; uint8_t x_402; +x_401 = lean_ctor_get(x_400, 0); +lean_inc(x_401); +x_402 = lean_unbox(x_401); +if (x_402 == 0) +{ +lean_object* x_403; lean_object* x_404; uint8_t x_405; +x_403 = lean_ctor_get(x_400, 1); +lean_inc(x_403); +lean_dec(x_400); +x_404 = lean_ctor_get(x_403, 4); +lean_inc(x_404); +x_405 = lean_ctor_get_uint8(x_404, sizeof(void*)*1); +lean_dec(x_404); +if (x_405 == 0) +{ +uint8_t x_406; +lean_dec(x_393); +lean_dec(x_389); +lean_dec(x_2); +lean_dec(x_1); +x_406 = lean_unbox(x_401); +lean_dec(x_401); +x_368 = x_406; +x_369 = x_403; +goto block_378; +} +else +{ +lean_object* x_407; lean_object* x_408; lean_object* x_409; uint8_t x_410; +x_407 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5; +x_408 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_407, x_3, x_403); +x_409 = lean_ctor_get(x_408, 0); +lean_inc(x_409); +x_410 = lean_unbox(x_409); +lean_dec(x_409); +if (x_410 == 0) +{ +lean_object* x_411; uint8_t x_412; +lean_dec(x_393); +lean_dec(x_389); +lean_dec(x_2); +lean_dec(x_1); +x_411 = lean_ctor_get(x_408, 1); +lean_inc(x_411); +lean_dec(x_408); +x_412 = lean_unbox(x_401); +lean_dec(x_401); +x_368 = x_412; +x_369 = x_411; +goto block_378; +} +else +{ +lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; uint8_t x_429; +x_413 = lean_ctor_get(x_408, 1); +lean_inc(x_413); +lean_dec(x_408); +x_414 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_414, 0, x_1); +x_415 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; +x_416 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_416, 0, x_414); +lean_ctor_set(x_416, 1, x_415); +x_417 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_417, 0, x_389); +x_418 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_418, 0, x_416); +lean_ctor_set(x_418, 1, x_417); +x_419 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; +x_420 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_420, 0, x_418); +lean_ctor_set(x_420, 1, x_419); +x_421 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_421, 0, x_2); +x_422 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_422, 0, x_420); +lean_ctor_set(x_422, 1, x_421); +x_423 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_423, 0, x_422); +lean_ctor_set(x_423, 1, x_415); +x_424 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_424, 0, x_393); +x_425 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_425, 0, x_423); +lean_ctor_set(x_425, 1, x_424); +x_426 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4; +x_427 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_426, x_425, x_3, x_413); +x_428 = lean_ctor_get(x_427, 1); +lean_inc(x_428); +lean_dec(x_427); +x_429 = lean_unbox(x_401); +lean_dec(x_401); +x_368 = x_429; +x_369 = x_428; +goto block_378; +} +} +} +else +{ +lean_object* x_430; lean_object* x_431; lean_object* x_432; +lean_dec(x_393); +lean_dec(x_389); +x_430 = lean_ctor_get(x_400, 1); +lean_inc(x_430); +lean_dec(x_400); +x_431 = l_Lean_Expr_mvarId_x21(x_1); +lean_dec(x_1); +x_432 = l_Lean_Meta_assignExprMVar(x_431, x_2, x_3, x_430); +if (lean_obj_tag(x_432) == 0) +{ +lean_object* x_433; uint8_t x_434; +x_433 = lean_ctor_get(x_432, 1); +lean_inc(x_433); +lean_dec(x_432); +x_434 = lean_unbox(x_401); +lean_dec(x_401); +x_368 = x_434; +x_369 = x_433; +goto block_378; +} +else +{ +lean_object* x_435; lean_object* x_436; +lean_dec(x_401); +x_435 = lean_ctor_get(x_432, 0); +lean_inc(x_435); +x_436 = lean_ctor_get(x_432, 1); +lean_inc(x_436); +lean_dec(x_432); +x_379 = x_435; +x_380 = x_436; +goto block_387; +} +} +} +else +{ +lean_object* x_437; lean_object* x_438; +lean_dec(x_393); +lean_dec(x_389); +lean_dec(x_2); +lean_dec(x_1); +x_437 = lean_ctor_get(x_400, 0); +lean_inc(x_437); +x_438 = lean_ctor_get(x_400, 1); +lean_inc(x_438); +lean_dec(x_400); +x_379 = x_437; +x_380 = x_438; +goto block_387; +} +} +else +{ +lean_object* x_439; uint8_t x_440; uint8_t x_441; uint8_t x_442; uint8_t x_443; uint8_t x_444; uint8_t x_445; uint8_t x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; +x_439 = lean_ctor_get(x_392, 0); +x_440 = lean_ctor_get_uint8(x_392, sizeof(void*)*1); +x_441 = lean_ctor_get_uint8(x_392, sizeof(void*)*1 + 1); +x_442 = lean_ctor_get_uint8(x_392, sizeof(void*)*1 + 2); +x_443 = lean_ctor_get_uint8(x_392, sizeof(void*)*1 + 3); +x_444 = lean_ctor_get_uint8(x_392, sizeof(void*)*1 + 4); +x_445 = lean_ctor_get_uint8(x_392, sizeof(void*)*1 + 5); +lean_inc(x_439); +lean_dec(x_392); +x_446 = 1; +x_447 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_447, 0, x_439); +lean_ctor_set_uint8(x_447, sizeof(void*)*1, x_440); +lean_ctor_set_uint8(x_447, sizeof(void*)*1 + 1, x_441); +lean_ctor_set_uint8(x_447, sizeof(void*)*1 + 2, x_442); +lean_ctor_set_uint8(x_447, sizeof(void*)*1 + 3, x_443); +lean_ctor_set_uint8(x_447, sizeof(void*)*1 + 4, x_444); +lean_ctor_set_uint8(x_447, sizeof(void*)*1 + 5, x_445); +lean_ctor_set_uint8(x_447, sizeof(void*)*1 + 6, x_446); +x_448 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_448, 0, x_447); +lean_ctor_set(x_448, 1, x_395); +lean_ctor_set(x_448, 2, x_396); +lean_inc(x_393); +lean_inc(x_389); +x_449 = l_Lean_Meta_isExprDefEqAux(x_389, x_393, x_448, x_394); +if (lean_obj_tag(x_449) == 0) +{ +lean_object* x_450; uint8_t x_451; +x_450 = lean_ctor_get(x_449, 0); +lean_inc(x_450); +x_451 = lean_unbox(x_450); +if (x_451 == 0) +{ +lean_object* x_452; lean_object* x_453; uint8_t x_454; +x_452 = lean_ctor_get(x_449, 1); +lean_inc(x_452); +lean_dec(x_449); +x_453 = lean_ctor_get(x_452, 4); +lean_inc(x_453); +x_454 = lean_ctor_get_uint8(x_453, sizeof(void*)*1); +lean_dec(x_453); +if (x_454 == 0) +{ +uint8_t x_455; +lean_dec(x_393); +lean_dec(x_389); +lean_dec(x_2); +lean_dec(x_1); +x_455 = lean_unbox(x_450); +lean_dec(x_450); +x_368 = x_455; +x_369 = x_452; +goto block_378; +} +else +{ +lean_object* x_456; lean_object* x_457; lean_object* x_458; uint8_t x_459; +x_456 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5; +x_457 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_456, x_3, x_452); +x_458 = lean_ctor_get(x_457, 0); +lean_inc(x_458); +x_459 = lean_unbox(x_458); +lean_dec(x_458); +if (x_459 == 0) +{ +lean_object* x_460; uint8_t x_461; +lean_dec(x_393); +lean_dec(x_389); +lean_dec(x_2); +lean_dec(x_1); +x_460 = lean_ctor_get(x_457, 1); +lean_inc(x_460); +lean_dec(x_457); +x_461 = lean_unbox(x_450); +lean_dec(x_450); +x_368 = x_461; +x_369 = x_460; +goto block_378; +} +else +{ +lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; uint8_t x_478; +x_462 = lean_ctor_get(x_457, 1); +lean_inc(x_462); +lean_dec(x_457); +x_463 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_463, 0, x_1); +x_464 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8; +x_465 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_465, 0, x_463); +lean_ctor_set(x_465, 1, x_464); +x_466 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_466, 0, x_389); +x_467 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_467, 0, x_465); +lean_ctor_set(x_467, 1, x_466); +x_468 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; +x_469 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_469, 0, x_467); +lean_ctor_set(x_469, 1, x_468); +x_470 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_470, 0, x_2); +x_471 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_471, 0, x_469); +lean_ctor_set(x_471, 1, x_470); +x_472 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_472, 0, x_471); +lean_ctor_set(x_472, 1, x_464); +x_473 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_473, 0, x_393); +x_474 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_474, 0, x_472); +lean_ctor_set(x_474, 1, x_473); +x_475 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4; +x_476 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_475, x_474, x_3, x_462); +x_477 = lean_ctor_get(x_476, 1); +lean_inc(x_477); +lean_dec(x_476); +x_478 = lean_unbox(x_450); +lean_dec(x_450); +x_368 = x_478; +x_369 = x_477; +goto block_378; +} +} +} +else +{ +lean_object* x_479; lean_object* x_480; lean_object* x_481; +lean_dec(x_393); +lean_dec(x_389); +x_479 = lean_ctor_get(x_449, 1); +lean_inc(x_479); +lean_dec(x_449); +x_480 = l_Lean_Expr_mvarId_x21(x_1); +lean_dec(x_1); +x_481 = l_Lean_Meta_assignExprMVar(x_480, x_2, x_3, x_479); +if (lean_obj_tag(x_481) == 0) +{ +lean_object* x_482; uint8_t x_483; +x_482 = lean_ctor_get(x_481, 1); +lean_inc(x_482); +lean_dec(x_481); +x_483 = lean_unbox(x_450); +lean_dec(x_450); +x_368 = x_483; +x_369 = x_482; +goto block_378; +} +else +{ +lean_object* x_484; lean_object* x_485; +lean_dec(x_450); +x_484 = lean_ctor_get(x_481, 0); +lean_inc(x_484); +x_485 = lean_ctor_get(x_481, 1); +lean_inc(x_485); +lean_dec(x_481); +x_379 = x_484; +x_380 = x_485; +goto block_387; +} +} +} +else +{ +lean_object* x_486; lean_object* x_487; +lean_dec(x_393); +lean_dec(x_389); +lean_dec(x_2); +lean_dec(x_1); +x_486 = lean_ctor_get(x_449, 0); +lean_inc(x_486); +x_487 = lean_ctor_get(x_449, 1); +lean_inc(x_487); +lean_dec(x_449); +x_379 = x_486; +x_380 = x_487; +goto block_387; +} +} +} +else +{ +lean_object* x_488; lean_object* x_489; +lean_dec(x_389); +lean_dec(x_2); +lean_dec(x_1); +x_488 = lean_ctor_get(x_391, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_391, 1); +lean_inc(x_489); +lean_dec(x_391); +x_379 = x_488; +x_380 = x_489; +goto block_387; +} +} +else +{ +lean_object* x_490; lean_object* x_491; +lean_dec(x_2); +lean_dec(x_1); +x_490 = lean_ctor_get(x_388, 0); +lean_inc(x_490); +x_491 = lean_ctor_get(x_388, 1); +lean_inc(x_491); +lean_dec(x_388); +x_379 = x_490; +x_380 = x_491; +goto block_387; +} +block_378: +{ +lean_object* x_370; lean_object* x_371; uint8_t x_372; +x_370 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__2; +x_371 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_366, x_370, x_3, x_369); +lean_dec(x_3); +x_372 = !lean_is_exclusive(x_371); +if (x_372 == 0) +{ +lean_object* x_373; lean_object* x_374; +x_373 = lean_ctor_get(x_371, 0); +lean_dec(x_373); +x_374 = lean_box(x_368); +lean_ctor_set(x_371, 0, x_374); +return x_371; +} +else +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; +x_375 = lean_ctor_get(x_371, 1); +lean_inc(x_375); +lean_dec(x_371); +x_376 = lean_box(x_368); +x_377 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_377, 0, x_376); +lean_ctor_set(x_377, 1, x_375); +return x_377; +} +} +block_387: +{ +lean_object* x_381; lean_object* x_382; uint8_t x_383; +x_381 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__2; +x_382 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_366, x_381, x_3, x_380); +lean_dec(x_3); +x_383 = !lean_is_exclusive(x_382); +if (x_383 == 0) +{ +lean_object* x_384; +x_384 = lean_ctor_get(x_382, 0); +lean_dec(x_384); +lean_ctor_set_tag(x_382, 1); +lean_ctor_set(x_382, 0, x_379); +return x_382; +} +else +{ +lean_object* x_385; lean_object* x_386; +x_385 = lean_ctor_get(x_382, 1); +lean_inc(x_385); +lean_dec(x_382); +x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_386, 0, x_379); +lean_ctor_set(x_386, 1, x_385); +return x_386; +} +} +} +} +} +} +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_array_get_size(x_6); +x_11 = lean_nat_dec_lt(x_7, x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +uint8_t x_12; +lean_dec(x_7); +x_12 = lean_nat_dec_eq(x_5, x_2); +if (x_12 == 0) +{ +uint8_t x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_13 = 0; +x_14 = lean_box(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; +lean_inc(x_8); +x_16 = l_Lean_Meta_mkLambda(x_4, x_3, x_8, x_9); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign(x_1, x_17, x_8, x_18); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_8); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_16); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_array_fget(x_6, x_7); +lean_inc(x_8); +x_25 = l_Lean_Meta_getFVarLocalDecl(x_24, x_8, x_9); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_LocalDecl_type(x_26); +lean_dec(x_26); +lean_inc(x_8); +lean_inc(x_28); +x_29 = l_Lean_Meta_isClassQuick___main(x_28, x_8, x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +switch (lean_obj_tag(x_30)) { +case 0: +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_28); +lean_dec(x_24); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_add(x_7, x_32); +lean_dec(x_7); +x_7 = x_33; +x_9 = x_31; +goto _start; +} +case 1: +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_dec(x_28); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +lean_dec(x_30); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_add(x_7, x_37); +lean_dec(x_7); +x_39 = !lean_is_exclusive(x_35); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_35, 2); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_42 = lean_ctor_get(x_40, 2); +x_43 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_ctor_set(x_40, 2, x_43); +x_44 = !lean_is_exclusive(x_8); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_8, 2); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_36); +lean_ctor_set(x_46, 1, x_24); +x_47 = lean_array_push(x_45, x_46); +lean_ctor_set(x_8, 2, x_47); +x_48 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_8, x_35); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_49, 2); +lean_inc(x_50); +x_51 = !lean_is_exclusive(x_48); +if (x_51 == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_48, 1); +lean_dec(x_52); +x_53 = !lean_is_exclusive(x_49); +if (x_53 == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_49, 2); +lean_dec(x_54); +x_55 = !lean_is_exclusive(x_50); +if (x_55 == 0) +{ +lean_object* x_56; +x_56 = lean_ctor_get(x_50, 2); +lean_dec(x_56); +lean_ctor_set(x_50, 2, x_42); +return x_48; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_50, 0); +x_58 = lean_ctor_get(x_50, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_50); +x_59 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_42); +lean_ctor_set(x_49, 2, x_59); +return x_48; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_60 = lean_ctor_get(x_49, 0); +x_61 = lean_ctor_get(x_49, 1); +x_62 = lean_ctor_get(x_49, 3); +x_63 = lean_ctor_get(x_49, 4); +x_64 = lean_ctor_get(x_49, 5); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_49); +x_65 = lean_ctor_get(x_50, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_50, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + lean_ctor_release(x_50, 2); + x_67 = x_50; +} else { + lean_dec_ref(x_50); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(0, 3, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +lean_ctor_set(x_68, 2, x_42); +x_69 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set(x_69, 1, x_61); +lean_ctor_set(x_69, 2, x_68); +lean_ctor_set(x_69, 3, x_62); +lean_ctor_set(x_69, 4, x_63); +lean_ctor_set(x_69, 5, x_64); +lean_ctor_set(x_48, 1, x_69); +return x_48; +} +} +else +{ +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_70 = lean_ctor_get(x_48, 0); +lean_inc(x_70); +lean_dec(x_48); +x_71 = lean_ctor_get(x_49, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_49, 1); +lean_inc(x_72); +x_73 = lean_ctor_get(x_49, 3); +lean_inc(x_73); +x_74 = lean_ctor_get(x_49, 4); +lean_inc(x_74); +x_75 = lean_ctor_get(x_49, 5); +lean_inc(x_75); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + lean_ctor_release(x_49, 2); + lean_ctor_release(x_49, 3); + lean_ctor_release(x_49, 4); + lean_ctor_release(x_49, 5); + x_76 = x_49; +} else { + lean_dec_ref(x_49); + x_76 = lean_box(0); +} +x_77 = lean_ctor_get(x_50, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_50, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + lean_ctor_release(x_50, 2); + x_79 = x_50; +} else { + lean_dec_ref(x_50); + x_79 = lean_box(0); +} +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(0, 3, 0); +} else { + x_80 = x_79; +} +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_80, 2, x_42); +if (lean_is_scalar(x_76)) { + x_81 = lean_alloc_ctor(0, 6, 0); +} else { + x_81 = x_76; +} +lean_ctor_set(x_81, 0, x_71); +lean_ctor_set(x_81, 1, x_72); +lean_ctor_set(x_81, 2, x_80); +lean_ctor_set(x_81, 3, x_73); +lean_ctor_set(x_81, 4, x_74); +lean_ctor_set(x_81, 5, x_75); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_70); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +else +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_83 = lean_ctor_get(x_48, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_83, 2); +lean_inc(x_84); +x_85 = !lean_is_exclusive(x_48); +if (x_85 == 0) +{ +lean_object* x_86; uint8_t x_87; +x_86 = lean_ctor_get(x_48, 1); +lean_dec(x_86); +x_87 = !lean_is_exclusive(x_83); +if (x_87 == 0) +{ +lean_object* x_88; uint8_t x_89; +x_88 = lean_ctor_get(x_83, 2); +lean_dec(x_88); +x_89 = !lean_is_exclusive(x_84); +if (x_89 == 0) +{ +lean_object* x_90; +x_90 = lean_ctor_get(x_84, 2); +lean_dec(x_90); +lean_ctor_set(x_84, 2, x_42); +return x_48; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_84, 0); +x_92 = lean_ctor_get(x_84, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_84); +x_93 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +lean_ctor_set(x_93, 2, x_42); +lean_ctor_set(x_83, 2, x_93); +return x_48; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_94 = lean_ctor_get(x_83, 0); +x_95 = lean_ctor_get(x_83, 1); +x_96 = lean_ctor_get(x_83, 3); +x_97 = lean_ctor_get(x_83, 4); +x_98 = lean_ctor_get(x_83, 5); +lean_inc(x_98); +lean_inc(x_97); +lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_83); +x_99 = lean_ctor_get(x_84, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_84, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + lean_ctor_release(x_84, 2); + x_101 = x_84; +} else { + lean_dec_ref(x_84); + x_101 = lean_box(0); +} +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(0, 3, 0); +} else { + x_102 = x_101; +} +lean_ctor_set(x_102, 0, x_99); +lean_ctor_set(x_102, 1, x_100); +lean_ctor_set(x_102, 2, x_42); +x_103 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_103, 0, x_94); +lean_ctor_set(x_103, 1, x_95); +lean_ctor_set(x_103, 2, x_102); +lean_ctor_set(x_103, 3, x_96); +lean_ctor_set(x_103, 4, x_97); +lean_ctor_set(x_103, 5, x_98); +lean_ctor_set(x_48, 1, x_103); +return x_48; +} +} +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; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_104 = lean_ctor_get(x_48, 0); +lean_inc(x_104); +lean_dec(x_48); +x_105 = lean_ctor_get(x_83, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_83, 1); +lean_inc(x_106); +x_107 = lean_ctor_get(x_83, 3); +lean_inc(x_107); +x_108 = lean_ctor_get(x_83, 4); +lean_inc(x_108); +x_109 = lean_ctor_get(x_83, 5); +lean_inc(x_109); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + lean_ctor_release(x_83, 2); + lean_ctor_release(x_83, 3); + lean_ctor_release(x_83, 4); + lean_ctor_release(x_83, 5); + x_110 = x_83; +} else { + lean_dec_ref(x_83); + x_110 = lean_box(0); +} +x_111 = lean_ctor_get(x_84, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_84, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + lean_ctor_release(x_84, 2); + x_113 = x_84; +} else { + lean_dec_ref(x_84); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 3, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_112); +lean_ctor_set(x_114, 2, x_42); +if (lean_is_scalar(x_110)) { + x_115 = lean_alloc_ctor(0, 6, 0); +} else { + x_115 = x_110; +} +lean_ctor_set(x_115, 0, x_105); +lean_ctor_set(x_115, 1, x_106); +lean_ctor_set(x_115, 2, x_114); +lean_ctor_set(x_115, 3, x_107); +lean_ctor_set(x_115, 4, x_108); +lean_ctor_set(x_115, 5, x_109); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_104); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +} +} +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; +x_117 = lean_ctor_get(x_8, 0); +x_118 = lean_ctor_get(x_8, 1); +x_119 = lean_ctor_get(x_8, 2); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_8); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_36); +lean_ctor_set(x_120, 1, x_24); +x_121 = lean_array_push(x_119, x_120); +x_122 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_118); +lean_ctor_set(x_122, 2, x_121); +x_123 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_122, x_35); +if (lean_obj_tag(x_123) == 0) +{ +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; +x_124 = lean_ctor_get(x_123, 1); +lean_inc(x_124); +x_125 = lean_ctor_get(x_124, 2); +lean_inc(x_125); +x_126 = lean_ctor_get(x_123, 0); +lean_inc(x_126); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_127 = x_123; +} else { + lean_dec_ref(x_123); + x_127 = lean_box(0); +} +x_128 = lean_ctor_get(x_124, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_124, 1); +lean_inc(x_129); +x_130 = lean_ctor_get(x_124, 3); +lean_inc(x_130); +x_131 = lean_ctor_get(x_124, 4); +lean_inc(x_131); +x_132 = lean_ctor_get(x_124, 5); +lean_inc(x_132); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + lean_ctor_release(x_124, 2); + lean_ctor_release(x_124, 3); + lean_ctor_release(x_124, 4); + lean_ctor_release(x_124, 5); + x_133 = x_124; +} else { + lean_dec_ref(x_124); + x_133 = lean_box(0); +} +x_134 = lean_ctor_get(x_125, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_125, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + lean_ctor_release(x_125, 2); + x_136 = x_125; +} else { + lean_dec_ref(x_125); + x_136 = lean_box(0); +} +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(0, 3, 0); +} else { + x_137 = x_136; +} +lean_ctor_set(x_137, 0, x_134); +lean_ctor_set(x_137, 1, x_135); +lean_ctor_set(x_137, 2, x_42); +if (lean_is_scalar(x_133)) { + x_138 = lean_alloc_ctor(0, 6, 0); +} else { + x_138 = x_133; +} +lean_ctor_set(x_138, 0, x_128); +lean_ctor_set(x_138, 1, x_129); +lean_ctor_set(x_138, 2, x_137); +lean_ctor_set(x_138, 3, x_130); +lean_ctor_set(x_138, 4, x_131); +lean_ctor_set(x_138, 5, x_132); +if (lean_is_scalar(x_127)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_127; +} +lean_ctor_set(x_139, 0, x_126); +lean_ctor_set(x_139, 1, x_138); +return x_139; +} +else +{ +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_140 = lean_ctor_get(x_123, 1); +lean_inc(x_140); +x_141 = lean_ctor_get(x_140, 2); +lean_inc(x_141); +x_142 = lean_ctor_get(x_123, 0); +lean_inc(x_142); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_143 = x_123; +} else { + lean_dec_ref(x_123); + x_143 = lean_box(0); +} +x_144 = lean_ctor_get(x_140, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +x_146 = lean_ctor_get(x_140, 3); +lean_inc(x_146); +x_147 = lean_ctor_get(x_140, 4); +lean_inc(x_147); +x_148 = lean_ctor_get(x_140, 5); +lean_inc(x_148); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + lean_ctor_release(x_140, 2); + lean_ctor_release(x_140, 3); + lean_ctor_release(x_140, 4); + lean_ctor_release(x_140, 5); + x_149 = x_140; +} else { + lean_dec_ref(x_140); + x_149 = lean_box(0); +} +x_150 = lean_ctor_get(x_141, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_141, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + lean_ctor_release(x_141, 2); + x_152 = x_141; +} else { + lean_dec_ref(x_141); + x_152 = lean_box(0); +} +if (lean_is_scalar(x_152)) { + x_153 = lean_alloc_ctor(0, 3, 0); +} else { + x_153 = x_152; +} +lean_ctor_set(x_153, 0, x_150); +lean_ctor_set(x_153, 1, x_151); +lean_ctor_set(x_153, 2, x_42); +if (lean_is_scalar(x_149)) { + x_154 = lean_alloc_ctor(0, 6, 0); +} else { + x_154 = x_149; +} +lean_ctor_set(x_154, 0, x_144); +lean_ctor_set(x_154, 1, x_145); +lean_ctor_set(x_154, 2, x_153); +lean_ctor_set(x_154, 3, x_146); +lean_ctor_set(x_154, 4, x_147); +lean_ctor_set(x_154, 5, x_148); +if (lean_is_scalar(x_143)) { + x_155 = lean_alloc_ctor(1, 2, 0); +} else { + x_155 = x_143; +} +lean_ctor_set(x_155, 0, x_142); +lean_ctor_set(x_155, 1, x_154); +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; +x_156 = lean_ctor_get(x_40, 0); +x_157 = lean_ctor_get(x_40, 1); +x_158 = lean_ctor_get(x_40, 2); +lean_inc(x_158); +lean_inc(x_157); +lean_inc(x_156); +lean_dec(x_40); +x_159 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_160 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_160, 0, x_156); +lean_ctor_set(x_160, 1, x_157); +lean_ctor_set(x_160, 2, x_159); +lean_ctor_set(x_35, 2, x_160); +x_161 = lean_ctor_get(x_8, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_8, 1); +lean_inc(x_162); +x_163 = lean_ctor_get(x_8, 2); +lean_inc(x_163); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_164 = x_8; +} else { + lean_dec_ref(x_8); + x_164 = lean_box(0); +} +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_36); +lean_ctor_set(x_165, 1, x_24); +x_166 = lean_array_push(x_163, x_165); +if (lean_is_scalar(x_164)) { + x_167 = lean_alloc_ctor(0, 3, 0); +} else { + x_167 = x_164; +} +lean_ctor_set(x_167, 0, x_161); +lean_ctor_set(x_167, 1, x_162); +lean_ctor_set(x_167, 2, x_166); +x_168 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_167, x_35); +if (lean_obj_tag(x_168) == 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; 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; +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +x_170 = lean_ctor_get(x_169, 2); +lean_inc(x_170); +x_171 = lean_ctor_get(x_168, 0); +lean_inc(x_171); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_172 = x_168; +} else { + lean_dec_ref(x_168); + x_172 = lean_box(0); +} +x_173 = lean_ctor_get(x_169, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +x_175 = lean_ctor_get(x_169, 3); +lean_inc(x_175); +x_176 = lean_ctor_get(x_169, 4); +lean_inc(x_176); +x_177 = lean_ctor_get(x_169, 5); +lean_inc(x_177); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + lean_ctor_release(x_169, 2); + lean_ctor_release(x_169, 3); + lean_ctor_release(x_169, 4); + lean_ctor_release(x_169, 5); + x_178 = x_169; +} else { + lean_dec_ref(x_169); + x_178 = lean_box(0); +} +x_179 = lean_ctor_get(x_170, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_170, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + lean_ctor_release(x_170, 2); + x_181 = x_170; +} else { + lean_dec_ref(x_170); + x_181 = lean_box(0); +} +if (lean_is_scalar(x_181)) { + x_182 = lean_alloc_ctor(0, 3, 0); +} else { + x_182 = x_181; +} +lean_ctor_set(x_182, 0, x_179); +lean_ctor_set(x_182, 1, x_180); +lean_ctor_set(x_182, 2, x_158); +if (lean_is_scalar(x_178)) { + x_183 = lean_alloc_ctor(0, 6, 0); +} else { + x_183 = x_178; +} +lean_ctor_set(x_183, 0, x_173); +lean_ctor_set(x_183, 1, x_174); +lean_ctor_set(x_183, 2, x_182); +lean_ctor_set(x_183, 3, x_175); +lean_ctor_set(x_183, 4, x_176); +lean_ctor_set(x_183, 5, x_177); +if (lean_is_scalar(x_172)) { + x_184 = lean_alloc_ctor(0, 2, 0); +} else { + x_184 = x_172; +} +lean_ctor_set(x_184, 0, x_171); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_185 = lean_ctor_get(x_168, 1); +lean_inc(x_185); +x_186 = lean_ctor_get(x_185, 2); +lean_inc(x_186); +x_187 = lean_ctor_get(x_168, 0); +lean_inc(x_187); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_188 = x_168; +} else { + lean_dec_ref(x_168); + x_188 = lean_box(0); +} +x_189 = lean_ctor_get(x_185, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_185, 1); +lean_inc(x_190); +x_191 = lean_ctor_get(x_185, 3); +lean_inc(x_191); +x_192 = lean_ctor_get(x_185, 4); +lean_inc(x_192); +x_193 = lean_ctor_get(x_185, 5); +lean_inc(x_193); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + lean_ctor_release(x_185, 2); + lean_ctor_release(x_185, 3); + lean_ctor_release(x_185, 4); + lean_ctor_release(x_185, 5); + x_194 = x_185; +} else { + lean_dec_ref(x_185); + x_194 = lean_box(0); +} +x_195 = lean_ctor_get(x_186, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_186, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_186)) { + lean_ctor_release(x_186, 0); + lean_ctor_release(x_186, 1); + lean_ctor_release(x_186, 2); + x_197 = x_186; +} else { + lean_dec_ref(x_186); + x_197 = lean_box(0); +} +if (lean_is_scalar(x_197)) { + x_198 = lean_alloc_ctor(0, 3, 0); +} else { + x_198 = x_197; +} +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_196); +lean_ctor_set(x_198, 2, x_158); +if (lean_is_scalar(x_194)) { + x_199 = lean_alloc_ctor(0, 6, 0); +} else { + x_199 = x_194; +} +lean_ctor_set(x_199, 0, x_189); +lean_ctor_set(x_199, 1, x_190); +lean_ctor_set(x_199, 2, x_198); +lean_ctor_set(x_199, 3, x_191); +lean_ctor_set(x_199, 4, x_192); +lean_ctor_set(x_199, 5, x_193); +if (lean_is_scalar(x_188)) { + x_200 = lean_alloc_ctor(1, 2, 0); +} else { + x_200 = x_188; +} +lean_ctor_set(x_200, 0, x_187); +lean_ctor_set(x_200, 1, x_199); +return x_200; +} +} +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_201 = lean_ctor_get(x_35, 2); +x_202 = lean_ctor_get(x_35, 0); +x_203 = lean_ctor_get(x_35, 1); +x_204 = lean_ctor_get(x_35, 3); +x_205 = lean_ctor_get(x_35, 4); +x_206 = lean_ctor_get(x_35, 5); +lean_inc(x_206); +lean_inc(x_205); +lean_inc(x_204); +lean_inc(x_201); +lean_inc(x_203); +lean_inc(x_202); +lean_dec(x_35); +x_207 = lean_ctor_get(x_201, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_201, 1); +lean_inc(x_208); +x_209 = lean_ctor_get(x_201, 2); +lean_inc(x_209); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + lean_ctor_release(x_201, 1); + lean_ctor_release(x_201, 2); + x_210 = x_201; +} else { + lean_dec_ref(x_201); + x_210 = lean_box(0); +} +x_211 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_210)) { + x_212 = lean_alloc_ctor(0, 3, 0); +} else { + x_212 = x_210; +} +lean_ctor_set(x_212, 0, x_207); +lean_ctor_set(x_212, 1, x_208); +lean_ctor_set(x_212, 2, x_211); +x_213 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_213, 0, x_202); +lean_ctor_set(x_213, 1, x_203); +lean_ctor_set(x_213, 2, x_212); +lean_ctor_set(x_213, 3, x_204); +lean_ctor_set(x_213, 4, x_205); +lean_ctor_set(x_213, 5, x_206); +x_214 = lean_ctor_get(x_8, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_8, 1); +lean_inc(x_215); +x_216 = lean_ctor_get(x_8, 2); +lean_inc(x_216); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_217 = x_8; +} else { + lean_dec_ref(x_8); + x_217 = lean_box(0); +} +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_36); +lean_ctor_set(x_218, 1, x_24); +x_219 = lean_array_push(x_216, x_218); +if (lean_is_scalar(x_217)) { + x_220 = lean_alloc_ctor(0, 3, 0); +} else { + x_220 = x_217; +} +lean_ctor_set(x_220, 0, x_214); +lean_ctor_set(x_220, 1, x_215); +lean_ctor_set(x_220, 2, x_219); +x_221 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_220, x_213); +if (lean_obj_tag(x_221) == 0) +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_222 = lean_ctor_get(x_221, 1); +lean_inc(x_222); +x_223 = lean_ctor_get(x_222, 2); +lean_inc(x_223); +x_224 = lean_ctor_get(x_221, 0); +lean_inc(x_224); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_225 = x_221; +} else { + lean_dec_ref(x_221); + x_225 = lean_box(0); +} +x_226 = lean_ctor_get(x_222, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_222, 1); +lean_inc(x_227); +x_228 = lean_ctor_get(x_222, 3); +lean_inc(x_228); +x_229 = lean_ctor_get(x_222, 4); +lean_inc(x_229); +x_230 = lean_ctor_get(x_222, 5); +lean_inc(x_230); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + lean_ctor_release(x_222, 2); + lean_ctor_release(x_222, 3); + lean_ctor_release(x_222, 4); + lean_ctor_release(x_222, 5); + x_231 = x_222; +} else { + lean_dec_ref(x_222); + x_231 = lean_box(0); +} +x_232 = lean_ctor_get(x_223, 0); +lean_inc(x_232); +x_233 = lean_ctor_get(x_223, 1); +lean_inc(x_233); +if (lean_is_exclusive(x_223)) { + lean_ctor_release(x_223, 0); + lean_ctor_release(x_223, 1); + lean_ctor_release(x_223, 2); + x_234 = x_223; +} else { + lean_dec_ref(x_223); + x_234 = lean_box(0); +} +if (lean_is_scalar(x_234)) { + x_235 = lean_alloc_ctor(0, 3, 0); +} else { + x_235 = x_234; +} +lean_ctor_set(x_235, 0, x_232); +lean_ctor_set(x_235, 1, x_233); +lean_ctor_set(x_235, 2, x_209); +if (lean_is_scalar(x_231)) { + x_236 = lean_alloc_ctor(0, 6, 0); +} else { + x_236 = x_231; +} +lean_ctor_set(x_236, 0, x_226); +lean_ctor_set(x_236, 1, x_227); +lean_ctor_set(x_236, 2, x_235); +lean_ctor_set(x_236, 3, x_228); +lean_ctor_set(x_236, 4, x_229); +lean_ctor_set(x_236, 5, x_230); +if (lean_is_scalar(x_225)) { + x_237 = lean_alloc_ctor(0, 2, 0); +} else { + x_237 = x_225; +} +lean_ctor_set(x_237, 0, x_224); +lean_ctor_set(x_237, 1, x_236); +return x_237; +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_238 = lean_ctor_get(x_221, 1); +lean_inc(x_238); +x_239 = lean_ctor_get(x_238, 2); +lean_inc(x_239); +x_240 = lean_ctor_get(x_221, 0); +lean_inc(x_240); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_241 = x_221; +} else { + lean_dec_ref(x_221); + x_241 = lean_box(0); +} +x_242 = lean_ctor_get(x_238, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_238, 1); +lean_inc(x_243); +x_244 = lean_ctor_get(x_238, 3); +lean_inc(x_244); +x_245 = lean_ctor_get(x_238, 4); +lean_inc(x_245); +x_246 = lean_ctor_get(x_238, 5); +lean_inc(x_246); +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + lean_ctor_release(x_238, 1); + lean_ctor_release(x_238, 2); + lean_ctor_release(x_238, 3); + lean_ctor_release(x_238, 4); + lean_ctor_release(x_238, 5); + x_247 = x_238; +} else { + lean_dec_ref(x_238); + x_247 = lean_box(0); +} +x_248 = lean_ctor_get(x_239, 0); +lean_inc(x_248); +x_249 = lean_ctor_get(x_239, 1); +lean_inc(x_249); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + lean_ctor_release(x_239, 2); + x_250 = x_239; +} else { + lean_dec_ref(x_239); + x_250 = lean_box(0); +} +if (lean_is_scalar(x_250)) { + x_251 = lean_alloc_ctor(0, 3, 0); +} else { + x_251 = x_250; +} +lean_ctor_set(x_251, 0, x_248); +lean_ctor_set(x_251, 1, x_249); +lean_ctor_set(x_251, 2, x_209); +if (lean_is_scalar(x_247)) { + x_252 = lean_alloc_ctor(0, 6, 0); +} else { + x_252 = x_247; +} +lean_ctor_set(x_252, 0, x_242); +lean_ctor_set(x_252, 1, x_243); +lean_ctor_set(x_252, 2, x_251); +lean_ctor_set(x_252, 3, x_244); +lean_ctor_set(x_252, 4, x_245); +lean_ctor_set(x_252, 5, x_246); +if (lean_is_scalar(x_241)) { + x_253 = lean_alloc_ctor(1, 2, 0); +} else { + x_253 = x_241; +} +lean_ctor_set(x_253, 0, x_240); +lean_ctor_set(x_253, 1, x_252); +return x_253; +} +} +} +default: +{ +lean_object* x_254; lean_object* x_255; +x_254 = lean_ctor_get(x_29, 1); +lean_inc(x_254); +lean_dec(x_29); +lean_inc(x_8); +x_255 = l_Lean_Meta_isClassExpensive___main(x_28, x_8, x_254); +if (lean_obj_tag(x_255) == 0) +{ +lean_object* x_256; +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +if (lean_obj_tag(x_256) == 0) +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; +lean_dec(x_24); +x_257 = lean_ctor_get(x_255, 1); +lean_inc(x_257); +lean_dec(x_255); +x_258 = lean_unsigned_to_nat(1u); +x_259 = lean_nat_add(x_7, x_258); +lean_dec(x_7); +x_7 = x_259; +x_9 = x_257; +goto _start; +} +else +{ +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; +x_261 = lean_ctor_get(x_255, 1); +lean_inc(x_261); +lean_dec(x_255); +x_262 = lean_ctor_get(x_256, 0); +lean_inc(x_262); +lean_dec(x_256); +x_263 = lean_unsigned_to_nat(1u); +x_264 = lean_nat_add(x_7, x_263); +lean_dec(x_7); +x_265 = !lean_is_exclusive(x_261); +if (x_265 == 0) +{ +lean_object* x_266; uint8_t x_267; +x_266 = lean_ctor_get(x_261, 2); +x_267 = !lean_is_exclusive(x_266); +if (x_267 == 0) +{ +lean_object* x_268; lean_object* x_269; uint8_t x_270; +x_268 = lean_ctor_get(x_266, 2); +x_269 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_ctor_set(x_266, 2, x_269); +x_270 = !lean_is_exclusive(x_8); +if (x_270 == 0) +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_271 = lean_ctor_get(x_8, 2); +x_272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_272, 0, x_262); +lean_ctor_set(x_272, 1, x_24); +x_273 = lean_array_push(x_271, x_272); +lean_ctor_set(x_8, 2, x_273); +x_274 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_264, x_8, x_261); +if (lean_obj_tag(x_274) == 0) +{ +lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_275 = lean_ctor_get(x_274, 1); +lean_inc(x_275); +x_276 = lean_ctor_get(x_275, 2); +lean_inc(x_276); +x_277 = !lean_is_exclusive(x_274); +if (x_277 == 0) +{ +lean_object* x_278; uint8_t x_279; +x_278 = lean_ctor_get(x_274, 1); +lean_dec(x_278); +x_279 = !lean_is_exclusive(x_275); +if (x_279 == 0) +{ +lean_object* x_280; uint8_t x_281; +x_280 = lean_ctor_get(x_275, 2); +lean_dec(x_280); +x_281 = !lean_is_exclusive(x_276); +if (x_281 == 0) +{ +lean_object* x_282; +x_282 = lean_ctor_get(x_276, 2); +lean_dec(x_282); +lean_ctor_set(x_276, 2, x_268); +return x_274; +} +else +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_283 = lean_ctor_get(x_276, 0); +x_284 = lean_ctor_get(x_276, 1); +lean_inc(x_284); +lean_inc(x_283); +lean_dec(x_276); +x_285 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +lean_ctor_set(x_285, 2, x_268); +lean_ctor_set(x_275, 2, x_285); +return x_274; +} +} +else +{ +lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_286 = lean_ctor_get(x_275, 0); +x_287 = lean_ctor_get(x_275, 1); +x_288 = lean_ctor_get(x_275, 3); +x_289 = lean_ctor_get(x_275, 4); +x_290 = lean_ctor_get(x_275, 5); +lean_inc(x_290); +lean_inc(x_289); +lean_inc(x_288); +lean_inc(x_287); +lean_inc(x_286); +lean_dec(x_275); +x_291 = lean_ctor_get(x_276, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_276, 1); +lean_inc(x_292); +if (lean_is_exclusive(x_276)) { + lean_ctor_release(x_276, 0); + lean_ctor_release(x_276, 1); + lean_ctor_release(x_276, 2); + x_293 = x_276; +} else { + lean_dec_ref(x_276); + x_293 = lean_box(0); +} +if (lean_is_scalar(x_293)) { + x_294 = lean_alloc_ctor(0, 3, 0); +} else { + x_294 = x_293; +} +lean_ctor_set(x_294, 0, x_291); +lean_ctor_set(x_294, 1, x_292); +lean_ctor_set(x_294, 2, x_268); +x_295 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_295, 0, x_286); +lean_ctor_set(x_295, 1, x_287); +lean_ctor_set(x_295, 2, x_294); +lean_ctor_set(x_295, 3, x_288); +lean_ctor_set(x_295, 4, x_289); +lean_ctor_set(x_295, 5, x_290); +lean_ctor_set(x_274, 1, x_295); +return x_274; +} +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_296 = lean_ctor_get(x_274, 0); +lean_inc(x_296); +lean_dec(x_274); +x_297 = lean_ctor_get(x_275, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_275, 1); +lean_inc(x_298); +x_299 = lean_ctor_get(x_275, 3); +lean_inc(x_299); +x_300 = lean_ctor_get(x_275, 4); +lean_inc(x_300); +x_301 = lean_ctor_get(x_275, 5); +lean_inc(x_301); +if (lean_is_exclusive(x_275)) { + lean_ctor_release(x_275, 0); + lean_ctor_release(x_275, 1); + lean_ctor_release(x_275, 2); + lean_ctor_release(x_275, 3); + lean_ctor_release(x_275, 4); + lean_ctor_release(x_275, 5); + x_302 = x_275; +} else { + lean_dec_ref(x_275); + x_302 = lean_box(0); +} +x_303 = lean_ctor_get(x_276, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_276, 1); +lean_inc(x_304); +if (lean_is_exclusive(x_276)) { + lean_ctor_release(x_276, 0); + lean_ctor_release(x_276, 1); + lean_ctor_release(x_276, 2); + x_305 = x_276; +} else { + lean_dec_ref(x_276); + x_305 = lean_box(0); +} +if (lean_is_scalar(x_305)) { + x_306 = lean_alloc_ctor(0, 3, 0); +} else { + x_306 = x_305; +} +lean_ctor_set(x_306, 0, x_303); +lean_ctor_set(x_306, 1, x_304); +lean_ctor_set(x_306, 2, x_268); +if (lean_is_scalar(x_302)) { + x_307 = lean_alloc_ctor(0, 6, 0); +} else { + x_307 = x_302; +} +lean_ctor_set(x_307, 0, x_297); +lean_ctor_set(x_307, 1, x_298); +lean_ctor_set(x_307, 2, x_306); +lean_ctor_set(x_307, 3, x_299); +lean_ctor_set(x_307, 4, x_300); +lean_ctor_set(x_307, 5, x_301); +x_308 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_308, 0, x_296); +lean_ctor_set(x_308, 1, x_307); +return x_308; +} +} +else +{ +lean_object* x_309; lean_object* x_310; uint8_t x_311; +x_309 = lean_ctor_get(x_274, 1); +lean_inc(x_309); +x_310 = lean_ctor_get(x_309, 2); +lean_inc(x_310); +x_311 = !lean_is_exclusive(x_274); +if (x_311 == 0) +{ +lean_object* x_312; uint8_t x_313; +x_312 = lean_ctor_get(x_274, 1); +lean_dec(x_312); +x_313 = !lean_is_exclusive(x_309); +if (x_313 == 0) +{ +lean_object* x_314; uint8_t x_315; +x_314 = lean_ctor_get(x_309, 2); +lean_dec(x_314); +x_315 = !lean_is_exclusive(x_310); +if (x_315 == 0) +{ +lean_object* x_316; +x_316 = lean_ctor_get(x_310, 2); +lean_dec(x_316); +lean_ctor_set(x_310, 2, x_268); +return x_274; +} +else +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; +x_317 = lean_ctor_get(x_310, 0); +x_318 = lean_ctor_get(x_310, 1); +lean_inc(x_318); +lean_inc(x_317); +lean_dec(x_310); +x_319 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_319, 0, x_317); +lean_ctor_set(x_319, 1, x_318); +lean_ctor_set(x_319, 2, x_268); +lean_ctor_set(x_309, 2, x_319); +return x_274; +} +} +else +{ +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; +x_320 = lean_ctor_get(x_309, 0); +x_321 = lean_ctor_get(x_309, 1); +x_322 = lean_ctor_get(x_309, 3); +x_323 = lean_ctor_get(x_309, 4); +x_324 = lean_ctor_get(x_309, 5); +lean_inc(x_324); +lean_inc(x_323); +lean_inc(x_322); +lean_inc(x_321); +lean_inc(x_320); +lean_dec(x_309); +x_325 = lean_ctor_get(x_310, 0); +lean_inc(x_325); +x_326 = lean_ctor_get(x_310, 1); +lean_inc(x_326); +if (lean_is_exclusive(x_310)) { + lean_ctor_release(x_310, 0); + lean_ctor_release(x_310, 1); + lean_ctor_release(x_310, 2); + x_327 = x_310; +} else { + lean_dec_ref(x_310); + x_327 = lean_box(0); +} +if (lean_is_scalar(x_327)) { + x_328 = lean_alloc_ctor(0, 3, 0); +} else { + x_328 = x_327; +} +lean_ctor_set(x_328, 0, x_325); +lean_ctor_set(x_328, 1, x_326); +lean_ctor_set(x_328, 2, x_268); +x_329 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_329, 0, x_320); +lean_ctor_set(x_329, 1, x_321); +lean_ctor_set(x_329, 2, x_328); +lean_ctor_set(x_329, 3, x_322); +lean_ctor_set(x_329, 4, x_323); +lean_ctor_set(x_329, 5, x_324); +lean_ctor_set(x_274, 1, x_329); +return x_274; +} +} +else +{ +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; +x_330 = lean_ctor_get(x_274, 0); +lean_inc(x_330); +lean_dec(x_274); +x_331 = lean_ctor_get(x_309, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_309, 1); +lean_inc(x_332); +x_333 = lean_ctor_get(x_309, 3); +lean_inc(x_333); +x_334 = lean_ctor_get(x_309, 4); +lean_inc(x_334); +x_335 = lean_ctor_get(x_309, 5); +lean_inc(x_335); +if (lean_is_exclusive(x_309)) { + lean_ctor_release(x_309, 0); + lean_ctor_release(x_309, 1); + lean_ctor_release(x_309, 2); + lean_ctor_release(x_309, 3); + lean_ctor_release(x_309, 4); + lean_ctor_release(x_309, 5); + x_336 = x_309; +} else { + lean_dec_ref(x_309); + x_336 = lean_box(0); +} +x_337 = lean_ctor_get(x_310, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_310, 1); +lean_inc(x_338); +if (lean_is_exclusive(x_310)) { + lean_ctor_release(x_310, 0); + lean_ctor_release(x_310, 1); + lean_ctor_release(x_310, 2); + x_339 = x_310; +} else { + lean_dec_ref(x_310); + x_339 = lean_box(0); +} +if (lean_is_scalar(x_339)) { + x_340 = lean_alloc_ctor(0, 3, 0); +} else { + x_340 = x_339; +} +lean_ctor_set(x_340, 0, x_337); +lean_ctor_set(x_340, 1, x_338); +lean_ctor_set(x_340, 2, x_268); +if (lean_is_scalar(x_336)) { + x_341 = lean_alloc_ctor(0, 6, 0); +} else { + x_341 = x_336; +} +lean_ctor_set(x_341, 0, x_331); +lean_ctor_set(x_341, 1, x_332); +lean_ctor_set(x_341, 2, x_340); +lean_ctor_set(x_341, 3, x_333); +lean_ctor_set(x_341, 4, x_334); +lean_ctor_set(x_341, 5, x_335); +x_342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_342, 0, x_330); +lean_ctor_set(x_342, 1, x_341); +return x_342; +} +} +} +else +{ +lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; +x_343 = lean_ctor_get(x_8, 0); +x_344 = lean_ctor_get(x_8, 1); +x_345 = lean_ctor_get(x_8, 2); +lean_inc(x_345); +lean_inc(x_344); +lean_inc(x_343); +lean_dec(x_8); +x_346 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_346, 0, x_262); +lean_ctor_set(x_346, 1, x_24); +x_347 = lean_array_push(x_345, x_346); +x_348 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_348, 0, x_343); +lean_ctor_set(x_348, 1, x_344); +lean_ctor_set(x_348, 2, x_347); +x_349 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_264, x_348, x_261); +if (lean_obj_tag(x_349) == 0) +{ +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_350 = lean_ctor_get(x_349, 1); +lean_inc(x_350); +x_351 = lean_ctor_get(x_350, 2); +lean_inc(x_351); +x_352 = lean_ctor_get(x_349, 0); +lean_inc(x_352); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + x_353 = x_349; +} else { + lean_dec_ref(x_349); + x_353 = lean_box(0); +} +x_354 = lean_ctor_get(x_350, 0); +lean_inc(x_354); +x_355 = lean_ctor_get(x_350, 1); +lean_inc(x_355); +x_356 = lean_ctor_get(x_350, 3); +lean_inc(x_356); +x_357 = lean_ctor_get(x_350, 4); +lean_inc(x_357); +x_358 = lean_ctor_get(x_350, 5); +lean_inc(x_358); +if (lean_is_exclusive(x_350)) { + lean_ctor_release(x_350, 0); + lean_ctor_release(x_350, 1); + lean_ctor_release(x_350, 2); + lean_ctor_release(x_350, 3); + lean_ctor_release(x_350, 4); + lean_ctor_release(x_350, 5); + x_359 = x_350; +} else { + lean_dec_ref(x_350); + x_359 = lean_box(0); +} +x_360 = lean_ctor_get(x_351, 0); +lean_inc(x_360); +x_361 = lean_ctor_get(x_351, 1); +lean_inc(x_361); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + x_362 = x_351; +} else { + lean_dec_ref(x_351); + x_362 = lean_box(0); +} +if (lean_is_scalar(x_362)) { + x_363 = lean_alloc_ctor(0, 3, 0); +} else { + x_363 = x_362; +} +lean_ctor_set(x_363, 0, x_360); +lean_ctor_set(x_363, 1, x_361); +lean_ctor_set(x_363, 2, x_268); +if (lean_is_scalar(x_359)) { + x_364 = lean_alloc_ctor(0, 6, 0); +} else { + x_364 = x_359; +} +lean_ctor_set(x_364, 0, x_354); +lean_ctor_set(x_364, 1, x_355); +lean_ctor_set(x_364, 2, x_363); +lean_ctor_set(x_364, 3, x_356); +lean_ctor_set(x_364, 4, x_357); +lean_ctor_set(x_364, 5, x_358); +if (lean_is_scalar(x_353)) { + x_365 = lean_alloc_ctor(0, 2, 0); +} else { + x_365 = x_353; +} +lean_ctor_set(x_365, 0, x_352); +lean_ctor_set(x_365, 1, x_364); +return x_365; +} +else +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; +x_366 = lean_ctor_get(x_349, 1); +lean_inc(x_366); +x_367 = lean_ctor_get(x_366, 2); +lean_inc(x_367); +x_368 = lean_ctor_get(x_349, 0); +lean_inc(x_368); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + x_369 = x_349; +} else { + lean_dec_ref(x_349); + x_369 = lean_box(0); +} +x_370 = lean_ctor_get(x_366, 0); +lean_inc(x_370); +x_371 = lean_ctor_get(x_366, 1); +lean_inc(x_371); +x_372 = lean_ctor_get(x_366, 3); +lean_inc(x_372); +x_373 = lean_ctor_get(x_366, 4); +lean_inc(x_373); +x_374 = lean_ctor_get(x_366, 5); +lean_inc(x_374); +if (lean_is_exclusive(x_366)) { + lean_ctor_release(x_366, 0); + lean_ctor_release(x_366, 1); + lean_ctor_release(x_366, 2); + lean_ctor_release(x_366, 3); + lean_ctor_release(x_366, 4); + lean_ctor_release(x_366, 5); + x_375 = x_366; +} else { + lean_dec_ref(x_366); + x_375 = lean_box(0); +} +x_376 = lean_ctor_get(x_367, 0); +lean_inc(x_376); +x_377 = lean_ctor_get(x_367, 1); +lean_inc(x_377); +if (lean_is_exclusive(x_367)) { + lean_ctor_release(x_367, 0); + lean_ctor_release(x_367, 1); + lean_ctor_release(x_367, 2); + x_378 = x_367; +} else { + lean_dec_ref(x_367); + x_378 = lean_box(0); +} +if (lean_is_scalar(x_378)) { + x_379 = lean_alloc_ctor(0, 3, 0); +} else { + x_379 = x_378; +} +lean_ctor_set(x_379, 0, x_376); +lean_ctor_set(x_379, 1, x_377); +lean_ctor_set(x_379, 2, x_268); +if (lean_is_scalar(x_375)) { + x_380 = lean_alloc_ctor(0, 6, 0); +} else { + x_380 = x_375; +} +lean_ctor_set(x_380, 0, x_370); +lean_ctor_set(x_380, 1, x_371); +lean_ctor_set(x_380, 2, x_379); +lean_ctor_set(x_380, 3, x_372); +lean_ctor_set(x_380, 4, x_373); +lean_ctor_set(x_380, 5, x_374); +if (lean_is_scalar(x_369)) { + x_381 = lean_alloc_ctor(1, 2, 0); +} else { + x_381 = x_369; +} +lean_ctor_set(x_381, 0, x_368); +lean_ctor_set(x_381, 1, x_380); +return x_381; +} +} +} +else +{ +lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_382 = lean_ctor_get(x_266, 0); +x_383 = lean_ctor_get(x_266, 1); +x_384 = lean_ctor_get(x_266, 2); +lean_inc(x_384); +lean_inc(x_383); +lean_inc(x_382); +lean_dec(x_266); +x_385 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_386 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_386, 0, x_382); +lean_ctor_set(x_386, 1, x_383); +lean_ctor_set(x_386, 2, x_385); +lean_ctor_set(x_261, 2, x_386); +x_387 = lean_ctor_get(x_8, 0); +lean_inc(x_387); +x_388 = lean_ctor_get(x_8, 1); +lean_inc(x_388); +x_389 = lean_ctor_get(x_8, 2); +lean_inc(x_389); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_390 = x_8; +} else { + lean_dec_ref(x_8); + x_390 = lean_box(0); +} +x_391 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_391, 0, x_262); +lean_ctor_set(x_391, 1, x_24); +x_392 = lean_array_push(x_389, x_391); +if (lean_is_scalar(x_390)) { + x_393 = lean_alloc_ctor(0, 3, 0); +} else { + x_393 = x_390; +} +lean_ctor_set(x_393, 0, x_387); +lean_ctor_set(x_393, 1, x_388); +lean_ctor_set(x_393, 2, x_392); +x_394 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_264, x_393, x_261); +if (lean_obj_tag(x_394) == 0) +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; 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; +x_395 = lean_ctor_get(x_394, 1); +lean_inc(x_395); +x_396 = lean_ctor_get(x_395, 2); +lean_inc(x_396); +x_397 = lean_ctor_get(x_394, 0); +lean_inc(x_397); +if (lean_is_exclusive(x_394)) { + lean_ctor_release(x_394, 0); + lean_ctor_release(x_394, 1); + x_398 = x_394; +} else { + lean_dec_ref(x_394); + x_398 = lean_box(0); +} +x_399 = lean_ctor_get(x_395, 0); +lean_inc(x_399); +x_400 = lean_ctor_get(x_395, 1); +lean_inc(x_400); +x_401 = lean_ctor_get(x_395, 3); +lean_inc(x_401); +x_402 = lean_ctor_get(x_395, 4); +lean_inc(x_402); +x_403 = lean_ctor_get(x_395, 5); +lean_inc(x_403); +if (lean_is_exclusive(x_395)) { + lean_ctor_release(x_395, 0); + lean_ctor_release(x_395, 1); + lean_ctor_release(x_395, 2); + lean_ctor_release(x_395, 3); + lean_ctor_release(x_395, 4); + lean_ctor_release(x_395, 5); + x_404 = x_395; +} else { + lean_dec_ref(x_395); + x_404 = lean_box(0); +} +x_405 = lean_ctor_get(x_396, 0); +lean_inc(x_405); +x_406 = lean_ctor_get(x_396, 1); +lean_inc(x_406); +if (lean_is_exclusive(x_396)) { + lean_ctor_release(x_396, 0); + lean_ctor_release(x_396, 1); + lean_ctor_release(x_396, 2); + x_407 = x_396; +} else { + lean_dec_ref(x_396); + x_407 = lean_box(0); +} +if (lean_is_scalar(x_407)) { + x_408 = lean_alloc_ctor(0, 3, 0); +} else { + x_408 = x_407; +} +lean_ctor_set(x_408, 0, x_405); +lean_ctor_set(x_408, 1, x_406); +lean_ctor_set(x_408, 2, x_384); +if (lean_is_scalar(x_404)) { + x_409 = lean_alloc_ctor(0, 6, 0); +} else { + x_409 = x_404; +} +lean_ctor_set(x_409, 0, x_399); +lean_ctor_set(x_409, 1, x_400); +lean_ctor_set(x_409, 2, x_408); +lean_ctor_set(x_409, 3, x_401); +lean_ctor_set(x_409, 4, x_402); +lean_ctor_set(x_409, 5, x_403); +if (lean_is_scalar(x_398)) { + x_410 = lean_alloc_ctor(0, 2, 0); +} else { + x_410 = x_398; +} +lean_ctor_set(x_410, 0, x_397); +lean_ctor_set(x_410, 1, x_409); +return x_410; +} +else +{ +lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; +x_411 = lean_ctor_get(x_394, 1); +lean_inc(x_411); +x_412 = lean_ctor_get(x_411, 2); +lean_inc(x_412); +x_413 = lean_ctor_get(x_394, 0); +lean_inc(x_413); +if (lean_is_exclusive(x_394)) { + lean_ctor_release(x_394, 0); + lean_ctor_release(x_394, 1); + x_414 = x_394; +} else { + lean_dec_ref(x_394); + x_414 = lean_box(0); +} +x_415 = lean_ctor_get(x_411, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_411, 1); +lean_inc(x_416); +x_417 = lean_ctor_get(x_411, 3); +lean_inc(x_417); +x_418 = lean_ctor_get(x_411, 4); +lean_inc(x_418); +x_419 = lean_ctor_get(x_411, 5); +lean_inc(x_419); +if (lean_is_exclusive(x_411)) { + lean_ctor_release(x_411, 0); + lean_ctor_release(x_411, 1); + lean_ctor_release(x_411, 2); + lean_ctor_release(x_411, 3); + lean_ctor_release(x_411, 4); + lean_ctor_release(x_411, 5); + x_420 = x_411; +} else { + lean_dec_ref(x_411); + x_420 = lean_box(0); +} +x_421 = lean_ctor_get(x_412, 0); +lean_inc(x_421); +x_422 = lean_ctor_get(x_412, 1); +lean_inc(x_422); +if (lean_is_exclusive(x_412)) { + lean_ctor_release(x_412, 0); + lean_ctor_release(x_412, 1); + lean_ctor_release(x_412, 2); + x_423 = x_412; +} else { + lean_dec_ref(x_412); + x_423 = lean_box(0); +} +if (lean_is_scalar(x_423)) { + x_424 = lean_alloc_ctor(0, 3, 0); +} else { + x_424 = x_423; +} +lean_ctor_set(x_424, 0, x_421); +lean_ctor_set(x_424, 1, x_422); +lean_ctor_set(x_424, 2, x_384); +if (lean_is_scalar(x_420)) { + x_425 = lean_alloc_ctor(0, 6, 0); +} else { + x_425 = x_420; +} +lean_ctor_set(x_425, 0, x_415); +lean_ctor_set(x_425, 1, x_416); +lean_ctor_set(x_425, 2, x_424); +lean_ctor_set(x_425, 3, x_417); +lean_ctor_set(x_425, 4, x_418); +lean_ctor_set(x_425, 5, x_419); +if (lean_is_scalar(x_414)) { + x_426 = lean_alloc_ctor(1, 2, 0); +} else { + x_426 = x_414; +} +lean_ctor_set(x_426, 0, x_413); +lean_ctor_set(x_426, 1, x_425); +return x_426; +} +} +} +else +{ +lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; 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; +x_427 = lean_ctor_get(x_261, 2); +x_428 = lean_ctor_get(x_261, 0); +x_429 = lean_ctor_get(x_261, 1); +x_430 = lean_ctor_get(x_261, 3); +x_431 = lean_ctor_get(x_261, 4); +x_432 = lean_ctor_get(x_261, 5); +lean_inc(x_432); +lean_inc(x_431); +lean_inc(x_430); +lean_inc(x_427); +lean_inc(x_429); +lean_inc(x_428); +lean_dec(x_261); +x_433 = lean_ctor_get(x_427, 0); +lean_inc(x_433); +x_434 = lean_ctor_get(x_427, 1); +lean_inc(x_434); +x_435 = lean_ctor_get(x_427, 2); +lean_inc(x_435); +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + lean_ctor_release(x_427, 2); + x_436 = x_427; +} else { + lean_dec_ref(x_427); + x_436 = lean_box(0); +} +x_437 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_436)) { + x_438 = lean_alloc_ctor(0, 3, 0); +} else { + x_438 = x_436; +} +lean_ctor_set(x_438, 0, x_433); +lean_ctor_set(x_438, 1, x_434); +lean_ctor_set(x_438, 2, x_437); +x_439 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_439, 0, x_428); +lean_ctor_set(x_439, 1, x_429); +lean_ctor_set(x_439, 2, x_438); +lean_ctor_set(x_439, 3, x_430); +lean_ctor_set(x_439, 4, x_431); +lean_ctor_set(x_439, 5, x_432); +x_440 = lean_ctor_get(x_8, 0); +lean_inc(x_440); +x_441 = lean_ctor_get(x_8, 1); +lean_inc(x_441); +x_442 = lean_ctor_get(x_8, 2); +lean_inc(x_442); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_443 = x_8; +} else { + lean_dec_ref(x_8); + x_443 = lean_box(0); +} +x_444 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_444, 0, x_262); +lean_ctor_set(x_444, 1, x_24); +x_445 = lean_array_push(x_442, x_444); +if (lean_is_scalar(x_443)) { + x_446 = lean_alloc_ctor(0, 3, 0); +} else { + x_446 = x_443; +} +lean_ctor_set(x_446, 0, x_440); +lean_ctor_set(x_446, 1, x_441); +lean_ctor_set(x_446, 2, x_445); +x_447 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_264, x_446, x_439); +if (lean_obj_tag(x_447) == 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; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; +x_448 = lean_ctor_get(x_447, 1); +lean_inc(x_448); +x_449 = lean_ctor_get(x_448, 2); +lean_inc(x_449); +x_450 = lean_ctor_get(x_447, 0); +lean_inc(x_450); +if (lean_is_exclusive(x_447)) { + lean_ctor_release(x_447, 0); + lean_ctor_release(x_447, 1); + x_451 = x_447; +} else { + lean_dec_ref(x_447); + x_451 = lean_box(0); +} +x_452 = lean_ctor_get(x_448, 0); +lean_inc(x_452); +x_453 = lean_ctor_get(x_448, 1); +lean_inc(x_453); +x_454 = lean_ctor_get(x_448, 3); +lean_inc(x_454); +x_455 = lean_ctor_get(x_448, 4); +lean_inc(x_455); +x_456 = lean_ctor_get(x_448, 5); +lean_inc(x_456); +if (lean_is_exclusive(x_448)) { + lean_ctor_release(x_448, 0); + lean_ctor_release(x_448, 1); + lean_ctor_release(x_448, 2); + lean_ctor_release(x_448, 3); + lean_ctor_release(x_448, 4); + lean_ctor_release(x_448, 5); + x_457 = x_448; +} else { + lean_dec_ref(x_448); + x_457 = lean_box(0); +} +x_458 = lean_ctor_get(x_449, 0); +lean_inc(x_458); +x_459 = lean_ctor_get(x_449, 1); +lean_inc(x_459); +if (lean_is_exclusive(x_449)) { + lean_ctor_release(x_449, 0); + lean_ctor_release(x_449, 1); + lean_ctor_release(x_449, 2); + x_460 = x_449; +} else { + lean_dec_ref(x_449); + x_460 = lean_box(0); +} +if (lean_is_scalar(x_460)) { + x_461 = lean_alloc_ctor(0, 3, 0); +} else { + x_461 = x_460; +} +lean_ctor_set(x_461, 0, x_458); +lean_ctor_set(x_461, 1, x_459); +lean_ctor_set(x_461, 2, x_435); +if (lean_is_scalar(x_457)) { + x_462 = lean_alloc_ctor(0, 6, 0); +} else { + x_462 = x_457; +} +lean_ctor_set(x_462, 0, x_452); +lean_ctor_set(x_462, 1, x_453); +lean_ctor_set(x_462, 2, x_461); +lean_ctor_set(x_462, 3, x_454); +lean_ctor_set(x_462, 4, x_455); +lean_ctor_set(x_462, 5, x_456); +if (lean_is_scalar(x_451)) { + x_463 = lean_alloc_ctor(0, 2, 0); +} else { + x_463 = x_451; +} +lean_ctor_set(x_463, 0, x_450); +lean_ctor_set(x_463, 1, x_462); +return x_463; +} +else +{ +lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; +x_464 = lean_ctor_get(x_447, 1); +lean_inc(x_464); +x_465 = lean_ctor_get(x_464, 2); +lean_inc(x_465); +x_466 = lean_ctor_get(x_447, 0); +lean_inc(x_466); +if (lean_is_exclusive(x_447)) { + lean_ctor_release(x_447, 0); + lean_ctor_release(x_447, 1); + x_467 = x_447; +} else { + lean_dec_ref(x_447); + x_467 = lean_box(0); +} +x_468 = lean_ctor_get(x_464, 0); +lean_inc(x_468); +x_469 = lean_ctor_get(x_464, 1); +lean_inc(x_469); +x_470 = lean_ctor_get(x_464, 3); +lean_inc(x_470); +x_471 = lean_ctor_get(x_464, 4); +lean_inc(x_471); +x_472 = lean_ctor_get(x_464, 5); +lean_inc(x_472); +if (lean_is_exclusive(x_464)) { + lean_ctor_release(x_464, 0); + lean_ctor_release(x_464, 1); + lean_ctor_release(x_464, 2); + lean_ctor_release(x_464, 3); + lean_ctor_release(x_464, 4); + lean_ctor_release(x_464, 5); + x_473 = x_464; +} else { + lean_dec_ref(x_464); + x_473 = lean_box(0); +} +x_474 = lean_ctor_get(x_465, 0); +lean_inc(x_474); +x_475 = lean_ctor_get(x_465, 1); +lean_inc(x_475); +if (lean_is_exclusive(x_465)) { + lean_ctor_release(x_465, 0); + lean_ctor_release(x_465, 1); + lean_ctor_release(x_465, 2); + x_476 = x_465; +} else { + lean_dec_ref(x_465); + x_476 = lean_box(0); +} +if (lean_is_scalar(x_476)) { + x_477 = lean_alloc_ctor(0, 3, 0); +} else { + x_477 = x_476; +} +lean_ctor_set(x_477, 0, x_474); +lean_ctor_set(x_477, 1, x_475); +lean_ctor_set(x_477, 2, x_435); +if (lean_is_scalar(x_473)) { + x_478 = lean_alloc_ctor(0, 6, 0); +} else { + x_478 = x_473; +} +lean_ctor_set(x_478, 0, x_468); +lean_ctor_set(x_478, 1, x_469); +lean_ctor_set(x_478, 2, x_477); +lean_ctor_set(x_478, 3, x_470); +lean_ctor_set(x_478, 4, x_471); +lean_ctor_set(x_478, 5, x_472); +if (lean_is_scalar(x_467)) { + x_479 = lean_alloc_ctor(1, 2, 0); +} else { + x_479 = x_467; +} +lean_ctor_set(x_479, 0, x_466); +lean_ctor_set(x_479, 1, x_478); +return x_479; +} +} +} +} +else +{ +uint8_t x_480; +lean_dec(x_24); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_480 = !lean_is_exclusive(x_255); +if (x_480 == 0) +{ +return x_255; +} +else +{ +lean_object* x_481; lean_object* x_482; lean_object* x_483; +x_481 = lean_ctor_get(x_255, 0); +x_482 = lean_ctor_get(x_255, 1); +lean_inc(x_482); +lean_inc(x_481); +lean_dec(x_255); +x_483 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_483, 0, x_481); +lean_ctor_set(x_483, 1, x_482); +return x_483; +} +} +} +} +} +else +{ +uint8_t x_484; +lean_dec(x_28); +lean_dec(x_24); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_484 = !lean_is_exclusive(x_29); +if (x_484 == 0) +{ +return x_29; +} +else +{ +lean_object* x_485; lean_object* x_486; lean_object* x_487; +x_485 = lean_ctor_get(x_29, 0); +x_486 = lean_ctor_get(x_29, 1); +lean_inc(x_486); +lean_inc(x_485); +lean_dec(x_29); +x_487 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_487, 0, x_485); +lean_ctor_set(x_487, 1, x_486); +return x_487; +} +} +} +else +{ +uint8_t x_488; +lean_dec(x_24); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_488 = !lean_is_exclusive(x_25); +if (x_488 == 0) +{ +return x_25; +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; +x_489 = lean_ctor_get(x_25, 0); +x_490 = lean_ctor_get(x_25, 1); +lean_inc(x_490); +lean_inc(x_489); +lean_dec(x_25); +x_491 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_491, 0, x_489); +lean_ctor_set(x_491, 1, x_490); +return x_491; +} +} +} +} +} +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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; +x_12 = l_Lean_Expr_isForall(x_9); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_13 = lean_nat_dec_eq(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +if (x_13 == 0) +{ +uint8_t x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_14 = 0; +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_11); +return x_16; +} +else +{ +lean_object* x_17; +lean_inc(x_10); +x_17 = l_Lean_Meta_mkLambda(x_3, x_4, x_10, x_11); +if (lean_obj_tag(x_17) == 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_inc(x_19); +lean_dec(x_17); +x_20 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign(x_5, x_18, x_10, x_19); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_10); +lean_dec(x_5); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +else +{ +lean_object* x_25; +x_25 = l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__2(x_5, x_2, x_4, x_6, x_7, x_8, x_3, x_1, x_9, x_10, x_11); +return x_25; +} +} +} +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(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* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_inc(x_7); +x_15 = lean_expr_instantiate_rev_range(x_9, x_8, x_10, x_7); +x_16 = lean_alloc_closure((void*)(l_Lean_Meta_whnf), 3, 1); +lean_closure_set(x_16, 0, x_15); +x_17 = lean_box(x_4); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +lean_inc(x_3); +lean_inc(x_7); +lean_inc(x_2); +lean_inc(x_10); +x_18 = lean_alloc_closure((void*)(l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4___lambda__1___boxed), 11, 8); +lean_closure_set(x_18, 0, x_10); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_7); +lean_closure_set(x_18, 3, x_3); +lean_closure_set(x_18, 4, x_1); +lean_closure_set(x_18, 5, x_17); +lean_closure_set(x_18, 6, x_5); +lean_closure_set(x_18, 7, x_6); +x_19 = lean_array_get_size(x_11); +x_20 = lean_nat_dec_lt(x_12, x_19); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = l_ReaderT_bind___at_Lean_Meta_isClassExpensive___main___spec__4___rarg(x_16, x_18, x_13, x_14); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_18); +lean_dec(x_16); +x_22 = lean_array_fget(x_11, x_12); +lean_inc(x_13); +x_23 = l_Lean_Meta_getFVarLocalDecl(x_22, x_13, x_14); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_LocalDecl_type(x_24); +lean_dec(x_24); +lean_inc(x_13); +lean_inc(x_26); +x_27 = l_Lean_Meta_isClassQuick___main(x_26, x_13, x_25); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +switch (lean_obj_tag(x_28)) { +case 0: +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_26); +lean_dec(x_22); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_12, x_30); +lean_dec(x_12); +x_12 = x_31; +x_14 = x_29; +goto _start; +} +case 1: +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_dec(x_26); +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_dec(x_27); +x_34 = lean_ctor_get(x_28, 0); +lean_inc(x_34); +lean_dec(x_28); +x_35 = lean_unsigned_to_nat(1u); +x_36 = lean_nat_add(x_12, x_35); +lean_dec(x_12); +x_37 = !lean_is_exclusive(x_33); +if (x_37 == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_33, 2); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_ctor_get(x_38, 2); +x_41 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_ctor_set(x_38, 2, x_41); +x_42 = !lean_is_exclusive(x_13); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_13, 2); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_34); +lean_ctor_set(x_44, 1, x_22); +x_45 = lean_array_push(x_43, x_44); +lean_ctor_set(x_13, 2, x_45); +x_46 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36, x_13, x_33); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 2); +lean_inc(x_48); +x_49 = !lean_is_exclusive(x_46); +if (x_49 == 0) +{ +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_46, 1); +lean_dec(x_50); +x_51 = !lean_is_exclusive(x_47); +if (x_51 == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_47, 2); +lean_dec(x_52); +x_53 = !lean_is_exclusive(x_48); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_48, 2); +lean_dec(x_54); +lean_ctor_set(x_48, 2, x_40); +return x_46; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_48, 0); +x_56 = lean_ctor_get(x_48, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_48); +x_57 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_40); +lean_ctor_set(x_47, 2, x_57); +return x_46; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_58 = lean_ctor_get(x_47, 0); +x_59 = lean_ctor_get(x_47, 1); +x_60 = lean_ctor_get(x_47, 3); +x_61 = lean_ctor_get(x_47, 4); +x_62 = lean_ctor_get(x_47, 5); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_47); +x_63 = lean_ctor_get(x_48, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_48, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + lean_ctor_release(x_48, 2); + x_65 = x_48; +} else { + lean_dec_ref(x_48); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 3, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_64); +lean_ctor_set(x_66, 2, x_40); +x_67 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_67, 0, x_58); +lean_ctor_set(x_67, 1, x_59); +lean_ctor_set(x_67, 2, x_66); +lean_ctor_set(x_67, 3, x_60); +lean_ctor_set(x_67, 4, x_61); +lean_ctor_set(x_67, 5, x_62); +lean_ctor_set(x_46, 1, x_67); +return x_46; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_68 = lean_ctor_get(x_46, 0); +lean_inc(x_68); +lean_dec(x_46); +x_69 = lean_ctor_get(x_47, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_47, 1); +lean_inc(x_70); +x_71 = lean_ctor_get(x_47, 3); +lean_inc(x_71); +x_72 = lean_ctor_get(x_47, 4); +lean_inc(x_72); +x_73 = lean_ctor_get(x_47, 5); +lean_inc(x_73); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + lean_ctor_release(x_47, 2); + lean_ctor_release(x_47, 3); + lean_ctor_release(x_47, 4); + lean_ctor_release(x_47, 5); + x_74 = x_47; +} else { + lean_dec_ref(x_47); + x_74 = lean_box(0); +} +x_75 = lean_ctor_get(x_48, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_48, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + lean_ctor_release(x_48, 2); + x_77 = x_48; +} else { + lean_dec_ref(x_48); + x_77 = lean_box(0); +} +if (lean_is_scalar(x_77)) { + x_78 = lean_alloc_ctor(0, 3, 0); +} else { + x_78 = x_77; +} +lean_ctor_set(x_78, 0, x_75); +lean_ctor_set(x_78, 1, x_76); +lean_ctor_set(x_78, 2, x_40); +if (lean_is_scalar(x_74)) { + x_79 = lean_alloc_ctor(0, 6, 0); +} else { + x_79 = x_74; +} +lean_ctor_set(x_79, 0, x_69); +lean_ctor_set(x_79, 1, x_70); +lean_ctor_set(x_79, 2, x_78); +lean_ctor_set(x_79, 3, x_71); +lean_ctor_set(x_79, 4, x_72); +lean_ctor_set(x_79, 5, x_73); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_68); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +else +{ +lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_81 = lean_ctor_get(x_46, 1); +lean_inc(x_81); +x_82 = lean_ctor_get(x_81, 2); +lean_inc(x_82); +x_83 = !lean_is_exclusive(x_46); +if (x_83 == 0) +{ +lean_object* x_84; uint8_t x_85; +x_84 = lean_ctor_get(x_46, 1); +lean_dec(x_84); +x_85 = !lean_is_exclusive(x_81); +if (x_85 == 0) +{ +lean_object* x_86; uint8_t x_87; +x_86 = lean_ctor_get(x_81, 2); +lean_dec(x_86); +x_87 = !lean_is_exclusive(x_82); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_82, 2); +lean_dec(x_88); +lean_ctor_set(x_82, 2, x_40); +return x_46; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_82, 0); +x_90 = lean_ctor_get(x_82, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_82); +x_91 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +lean_ctor_set(x_91, 2, x_40); +lean_ctor_set(x_81, 2, x_91); +return x_46; +} +} +else +{ +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_92 = lean_ctor_get(x_81, 0); +x_93 = lean_ctor_get(x_81, 1); +x_94 = lean_ctor_get(x_81, 3); +x_95 = lean_ctor_get(x_81, 4); +x_96 = lean_ctor_get(x_81, 5); +lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_81); +x_97 = lean_ctor_get(x_82, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_82, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + lean_ctor_release(x_82, 2); + x_99 = x_82; +} else { + lean_dec_ref(x_82); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(0, 3, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +lean_ctor_set(x_100, 2, x_40); +x_101 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_101, 0, x_92); +lean_ctor_set(x_101, 1, x_93); +lean_ctor_set(x_101, 2, x_100); +lean_ctor_set(x_101, 3, x_94); +lean_ctor_set(x_101, 4, x_95); +lean_ctor_set(x_101, 5, x_96); +lean_ctor_set(x_46, 1, x_101); +return x_46; +} +} +else +{ +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; +x_102 = lean_ctor_get(x_46, 0); +lean_inc(x_102); +lean_dec(x_46); +x_103 = lean_ctor_get(x_81, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_81, 1); +lean_inc(x_104); +x_105 = lean_ctor_get(x_81, 3); +lean_inc(x_105); +x_106 = lean_ctor_get(x_81, 4); +lean_inc(x_106); +x_107 = lean_ctor_get(x_81, 5); +lean_inc(x_107); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + lean_ctor_release(x_81, 2); + lean_ctor_release(x_81, 3); + lean_ctor_release(x_81, 4); + lean_ctor_release(x_81, 5); + x_108 = x_81; +} else { + lean_dec_ref(x_81); + x_108 = lean_box(0); +} +x_109 = lean_ctor_get(x_82, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_82, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + lean_ctor_release(x_82, 2); + x_111 = x_82; +} else { + lean_dec_ref(x_82); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(0, 3, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_109); +lean_ctor_set(x_112, 1, x_110); +lean_ctor_set(x_112, 2, x_40); +if (lean_is_scalar(x_108)) { + x_113 = lean_alloc_ctor(0, 6, 0); +} else { + x_113 = x_108; +} +lean_ctor_set(x_113, 0, x_103); +lean_ctor_set(x_113, 1, x_104); +lean_ctor_set(x_113, 2, x_112); +lean_ctor_set(x_113, 3, x_105); +lean_ctor_set(x_113, 4, x_106); +lean_ctor_set(x_113, 5, x_107); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_102); +lean_ctor_set(x_114, 1, x_113); +return x_114; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_115 = lean_ctor_get(x_13, 0); +x_116 = lean_ctor_get(x_13, 1); +x_117 = lean_ctor_get(x_13, 2); +lean_inc(x_117); +lean_inc(x_116); +lean_inc(x_115); +lean_dec(x_13); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_34); +lean_ctor_set(x_118, 1, x_22); +x_119 = lean_array_push(x_117, x_118); +x_120 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_120, 0, x_115); +lean_ctor_set(x_120, 1, x_116); +lean_ctor_set(x_120, 2, x_119); +x_121 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36, x_120, x_33); +if (lean_obj_tag(x_121) == 0) +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; 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; +x_122 = lean_ctor_get(x_121, 1); +lean_inc(x_122); +x_123 = lean_ctor_get(x_122, 2); +lean_inc(x_123); +x_124 = lean_ctor_get(x_121, 0); +lean_inc(x_124); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_125 = x_121; +} else { + lean_dec_ref(x_121); + x_125 = lean_box(0); +} +x_126 = lean_ctor_get(x_122, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_122, 1); +lean_inc(x_127); +x_128 = lean_ctor_get(x_122, 3); +lean_inc(x_128); +x_129 = lean_ctor_get(x_122, 4); +lean_inc(x_129); +x_130 = lean_ctor_get(x_122, 5); +lean_inc(x_130); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + lean_ctor_release(x_122, 2); + lean_ctor_release(x_122, 3); + lean_ctor_release(x_122, 4); + lean_ctor_release(x_122, 5); + x_131 = x_122; +} else { + lean_dec_ref(x_122); + x_131 = lean_box(0); +} +x_132 = lean_ctor_get(x_123, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_123, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + lean_ctor_release(x_123, 2); + x_134 = x_123; +} else { + lean_dec_ref(x_123); + x_134 = lean_box(0); +} +if (lean_is_scalar(x_134)) { + x_135 = lean_alloc_ctor(0, 3, 0); +} else { + x_135 = x_134; +} +lean_ctor_set(x_135, 0, x_132); +lean_ctor_set(x_135, 1, x_133); +lean_ctor_set(x_135, 2, x_40); +if (lean_is_scalar(x_131)) { + x_136 = lean_alloc_ctor(0, 6, 0); +} else { + x_136 = x_131; +} +lean_ctor_set(x_136, 0, x_126); +lean_ctor_set(x_136, 1, x_127); +lean_ctor_set(x_136, 2, x_135); +lean_ctor_set(x_136, 3, x_128); +lean_ctor_set(x_136, 4, x_129); +lean_ctor_set(x_136, 5, x_130); +if (lean_is_scalar(x_125)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_125; +} +lean_ctor_set(x_137, 0, x_124); +lean_ctor_set(x_137, 1, x_136); +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; 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; +x_138 = lean_ctor_get(x_121, 1); +lean_inc(x_138); +x_139 = lean_ctor_get(x_138, 2); +lean_inc(x_139); +x_140 = lean_ctor_get(x_121, 0); +lean_inc(x_140); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_141 = x_121; +} else { + lean_dec_ref(x_121); + x_141 = lean_box(0); +} +x_142 = lean_ctor_get(x_138, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_138, 1); +lean_inc(x_143); +x_144 = lean_ctor_get(x_138, 3); +lean_inc(x_144); +x_145 = lean_ctor_get(x_138, 4); +lean_inc(x_145); +x_146 = lean_ctor_get(x_138, 5); +lean_inc(x_146); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + lean_ctor_release(x_138, 2); + lean_ctor_release(x_138, 3); + lean_ctor_release(x_138, 4); + lean_ctor_release(x_138, 5); + x_147 = x_138; +} else { + lean_dec_ref(x_138); + x_147 = lean_box(0); +} +x_148 = lean_ctor_get(x_139, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_139, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + lean_ctor_release(x_139, 2); + x_150 = x_139; +} else { + lean_dec_ref(x_139); + x_150 = lean_box(0); +} +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(0, 3, 0); +} else { + x_151 = x_150; +} +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_149); +lean_ctor_set(x_151, 2, x_40); +if (lean_is_scalar(x_147)) { + x_152 = lean_alloc_ctor(0, 6, 0); +} else { + x_152 = x_147; +} +lean_ctor_set(x_152, 0, x_142); +lean_ctor_set(x_152, 1, x_143); +lean_ctor_set(x_152, 2, x_151); +lean_ctor_set(x_152, 3, x_144); +lean_ctor_set(x_152, 4, x_145); +lean_ctor_set(x_152, 5, x_146); +if (lean_is_scalar(x_141)) { + x_153 = lean_alloc_ctor(1, 2, 0); +} else { + x_153 = x_141; +} +lean_ctor_set(x_153, 0, x_140); +lean_ctor_set(x_153, 1, x_152); +return x_153; +} +} +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_154 = lean_ctor_get(x_38, 0); +x_155 = lean_ctor_get(x_38, 1); +x_156 = lean_ctor_get(x_38, 2); +lean_inc(x_156); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_38); +x_157 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_158 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_158, 0, x_154); +lean_ctor_set(x_158, 1, x_155); +lean_ctor_set(x_158, 2, x_157); +lean_ctor_set(x_33, 2, x_158); +x_159 = lean_ctor_get(x_13, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_13, 1); +lean_inc(x_160); +x_161 = lean_ctor_get(x_13, 2); +lean_inc(x_161); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + lean_ctor_release(x_13, 2); + x_162 = x_13; +} else { + lean_dec_ref(x_13); + x_162 = lean_box(0); +} +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_34); +lean_ctor_set(x_163, 1, x_22); +x_164 = lean_array_push(x_161, x_163); +if (lean_is_scalar(x_162)) { + x_165 = lean_alloc_ctor(0, 3, 0); +} else { + x_165 = x_162; +} +lean_ctor_set(x_165, 0, x_159); +lean_ctor_set(x_165, 1, x_160); +lean_ctor_set(x_165, 2, x_164); +x_166 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36, x_165, x_33); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_167 = lean_ctor_get(x_166, 1); +lean_inc(x_167); +x_168 = lean_ctor_get(x_167, 2); +lean_inc(x_168); +x_169 = lean_ctor_get(x_166, 0); +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_166); + x_170 = lean_box(0); +} +x_171 = lean_ctor_get(x_167, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_167, 1); +lean_inc(x_172); +x_173 = lean_ctor_get(x_167, 3); +lean_inc(x_173); +x_174 = lean_ctor_get(x_167, 4); +lean_inc(x_174); +x_175 = lean_ctor_get(x_167, 5); +lean_inc(x_175); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + lean_ctor_release(x_167, 2); + lean_ctor_release(x_167, 3); + lean_ctor_release(x_167, 4); + lean_ctor_release(x_167, 5); + x_176 = x_167; +} else { + lean_dec_ref(x_167); + x_176 = lean_box(0); +} +x_177 = lean_ctor_get(x_168, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_168, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + lean_ctor_release(x_168, 2); + x_179 = x_168; +} else { + lean_dec_ref(x_168); + x_179 = lean_box(0); +} +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(0, 3, 0); +} else { + x_180 = x_179; +} +lean_ctor_set(x_180, 0, x_177); +lean_ctor_set(x_180, 1, x_178); +lean_ctor_set(x_180, 2, x_156); +if (lean_is_scalar(x_176)) { + x_181 = lean_alloc_ctor(0, 6, 0); +} else { + x_181 = x_176; +} +lean_ctor_set(x_181, 0, x_171); +lean_ctor_set(x_181, 1, x_172); +lean_ctor_set(x_181, 2, x_180); +lean_ctor_set(x_181, 3, x_173); +lean_ctor_set(x_181, 4, x_174); +lean_ctor_set(x_181, 5, x_175); +if (lean_is_scalar(x_170)) { + x_182 = lean_alloc_ctor(0, 2, 0); +} else { + x_182 = x_170; +} +lean_ctor_set(x_182, 0, x_169); +lean_ctor_set(x_182, 1, x_181); +return x_182; +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_183 = lean_ctor_get(x_166, 1); +lean_inc(x_183); +x_184 = lean_ctor_get(x_183, 2); +lean_inc(x_184); +x_185 = lean_ctor_get(x_166, 0); +lean_inc(x_185); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_186 = x_166; +} else { + lean_dec_ref(x_166); + x_186 = lean_box(0); +} +x_187 = lean_ctor_get(x_183, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_183, 1); +lean_inc(x_188); +x_189 = lean_ctor_get(x_183, 3); +lean_inc(x_189); +x_190 = lean_ctor_get(x_183, 4); +lean_inc(x_190); +x_191 = lean_ctor_get(x_183, 5); +lean_inc(x_191); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + lean_ctor_release(x_183, 2); + lean_ctor_release(x_183, 3); + lean_ctor_release(x_183, 4); + lean_ctor_release(x_183, 5); + x_192 = x_183; +} else { + lean_dec_ref(x_183); + x_192 = lean_box(0); +} +x_193 = lean_ctor_get(x_184, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_184, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + lean_ctor_release(x_184, 2); + x_195 = x_184; +} else { + lean_dec_ref(x_184); + x_195 = lean_box(0); +} +if (lean_is_scalar(x_195)) { + x_196 = lean_alloc_ctor(0, 3, 0); +} else { + x_196 = x_195; +} +lean_ctor_set(x_196, 0, x_193); +lean_ctor_set(x_196, 1, x_194); +lean_ctor_set(x_196, 2, x_156); +if (lean_is_scalar(x_192)) { + x_197 = lean_alloc_ctor(0, 6, 0); +} else { + x_197 = x_192; +} +lean_ctor_set(x_197, 0, x_187); +lean_ctor_set(x_197, 1, x_188); +lean_ctor_set(x_197, 2, x_196); +lean_ctor_set(x_197, 3, x_189); +lean_ctor_set(x_197, 4, x_190); +lean_ctor_set(x_197, 5, x_191); +if (lean_is_scalar(x_186)) { + x_198 = lean_alloc_ctor(1, 2, 0); +} else { + x_198 = x_186; +} +lean_ctor_set(x_198, 0, x_185); +lean_ctor_set(x_198, 1, x_197); +return x_198; +} +} +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_199 = lean_ctor_get(x_33, 2); +x_200 = lean_ctor_get(x_33, 0); +x_201 = lean_ctor_get(x_33, 1); +x_202 = lean_ctor_get(x_33, 3); +x_203 = lean_ctor_get(x_33, 4); +x_204 = lean_ctor_get(x_33, 5); +lean_inc(x_204); +lean_inc(x_203); +lean_inc(x_202); +lean_inc(x_199); +lean_inc(x_201); +lean_inc(x_200); +lean_dec(x_33); +x_205 = lean_ctor_get(x_199, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_199, 1); +lean_inc(x_206); +x_207 = lean_ctor_get(x_199, 2); +lean_inc(x_207); +if (lean_is_exclusive(x_199)) { + lean_ctor_release(x_199, 0); + lean_ctor_release(x_199, 1); + lean_ctor_release(x_199, 2); + x_208 = x_199; +} else { + lean_dec_ref(x_199); + x_208 = lean_box(0); +} +x_209 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_208)) { + x_210 = lean_alloc_ctor(0, 3, 0); +} else { + x_210 = x_208; +} +lean_ctor_set(x_210, 0, x_205); +lean_ctor_set(x_210, 1, x_206); +lean_ctor_set(x_210, 2, x_209); +x_211 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_211, 0, x_200); +lean_ctor_set(x_211, 1, x_201); +lean_ctor_set(x_211, 2, x_210); +lean_ctor_set(x_211, 3, x_202); +lean_ctor_set(x_211, 4, x_203); +lean_ctor_set(x_211, 5, x_204); +x_212 = lean_ctor_get(x_13, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_13, 1); +lean_inc(x_213); +x_214 = lean_ctor_get(x_13, 2); +lean_inc(x_214); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + lean_ctor_release(x_13, 2); + x_215 = x_13; +} else { + lean_dec_ref(x_13); + x_215 = lean_box(0); +} +x_216 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_216, 0, x_34); +lean_ctor_set(x_216, 1, x_22); +x_217 = lean_array_push(x_214, x_216); +if (lean_is_scalar(x_215)) { + x_218 = lean_alloc_ctor(0, 3, 0); +} else { + x_218 = x_215; +} +lean_ctor_set(x_218, 0, x_212); +lean_ctor_set(x_218, 1, x_213); +lean_ctor_set(x_218, 2, x_217); +x_219 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36, x_218, x_211); +if (lean_obj_tag(x_219) == 0) +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; 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_220 = lean_ctor_get(x_219, 1); +lean_inc(x_220); +x_221 = lean_ctor_get(x_220, 2); +lean_inc(x_221); +x_222 = lean_ctor_get(x_219, 0); +lean_inc(x_222); +if (lean_is_exclusive(x_219)) { + lean_ctor_release(x_219, 0); + lean_ctor_release(x_219, 1); + x_223 = x_219; +} else { + lean_dec_ref(x_219); + x_223 = lean_box(0); +} +x_224 = lean_ctor_get(x_220, 0); +lean_inc(x_224); +x_225 = lean_ctor_get(x_220, 1); +lean_inc(x_225); +x_226 = lean_ctor_get(x_220, 3); +lean_inc(x_226); +x_227 = lean_ctor_get(x_220, 4); +lean_inc(x_227); +x_228 = lean_ctor_get(x_220, 5); +lean_inc(x_228); +if (lean_is_exclusive(x_220)) { + lean_ctor_release(x_220, 0); + lean_ctor_release(x_220, 1); + lean_ctor_release(x_220, 2); + lean_ctor_release(x_220, 3); + lean_ctor_release(x_220, 4); + lean_ctor_release(x_220, 5); + x_229 = x_220; +} else { + lean_dec_ref(x_220); + x_229 = lean_box(0); +} +x_230 = lean_ctor_get(x_221, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_221, 1); +lean_inc(x_231); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + lean_ctor_release(x_221, 2); + x_232 = x_221; +} else { + lean_dec_ref(x_221); + x_232 = lean_box(0); +} +if (lean_is_scalar(x_232)) { + x_233 = lean_alloc_ctor(0, 3, 0); +} else { + x_233 = x_232; +} +lean_ctor_set(x_233, 0, x_230); +lean_ctor_set(x_233, 1, x_231); +lean_ctor_set(x_233, 2, x_207); +if (lean_is_scalar(x_229)) { + x_234 = lean_alloc_ctor(0, 6, 0); +} else { + x_234 = x_229; +} +lean_ctor_set(x_234, 0, x_224); +lean_ctor_set(x_234, 1, x_225); +lean_ctor_set(x_234, 2, x_233); +lean_ctor_set(x_234, 3, x_226); +lean_ctor_set(x_234, 4, x_227); +lean_ctor_set(x_234, 5, x_228); +if (lean_is_scalar(x_223)) { + x_235 = lean_alloc_ctor(0, 2, 0); +} else { + x_235 = x_223; +} +lean_ctor_set(x_235, 0, x_222); +lean_ctor_set(x_235, 1, x_234); +return x_235; +} +else +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_236 = lean_ctor_get(x_219, 1); +lean_inc(x_236); +x_237 = lean_ctor_get(x_236, 2); +lean_inc(x_237); +x_238 = lean_ctor_get(x_219, 0); +lean_inc(x_238); +if (lean_is_exclusive(x_219)) { + lean_ctor_release(x_219, 0); + lean_ctor_release(x_219, 1); + x_239 = x_219; +} else { + lean_dec_ref(x_219); + x_239 = lean_box(0); +} +x_240 = lean_ctor_get(x_236, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_236, 1); +lean_inc(x_241); +x_242 = lean_ctor_get(x_236, 3); +lean_inc(x_242); +x_243 = lean_ctor_get(x_236, 4); +lean_inc(x_243); +x_244 = lean_ctor_get(x_236, 5); +lean_inc(x_244); +if (lean_is_exclusive(x_236)) { + lean_ctor_release(x_236, 0); + lean_ctor_release(x_236, 1); + lean_ctor_release(x_236, 2); + lean_ctor_release(x_236, 3); + lean_ctor_release(x_236, 4); + lean_ctor_release(x_236, 5); + x_245 = x_236; +} else { + lean_dec_ref(x_236); + x_245 = lean_box(0); +} +x_246 = lean_ctor_get(x_237, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_237, 1); +lean_inc(x_247); +if (lean_is_exclusive(x_237)) { + lean_ctor_release(x_237, 0); + lean_ctor_release(x_237, 1); + lean_ctor_release(x_237, 2); + x_248 = x_237; +} else { + lean_dec_ref(x_237); + x_248 = lean_box(0); +} +if (lean_is_scalar(x_248)) { + x_249 = lean_alloc_ctor(0, 3, 0); +} else { + x_249 = x_248; +} +lean_ctor_set(x_249, 0, x_246); +lean_ctor_set(x_249, 1, x_247); +lean_ctor_set(x_249, 2, x_207); +if (lean_is_scalar(x_245)) { + x_250 = lean_alloc_ctor(0, 6, 0); +} else { + x_250 = x_245; +} +lean_ctor_set(x_250, 0, x_240); +lean_ctor_set(x_250, 1, x_241); +lean_ctor_set(x_250, 2, x_249); +lean_ctor_set(x_250, 3, x_242); +lean_ctor_set(x_250, 4, x_243); +lean_ctor_set(x_250, 5, x_244); +if (lean_is_scalar(x_239)) { + x_251 = lean_alloc_ctor(1, 2, 0); +} else { + x_251 = x_239; +} +lean_ctor_set(x_251, 0, x_238); +lean_ctor_set(x_251, 1, x_250); +return x_251; +} +} +} +default: +{ +lean_object* x_252; lean_object* x_253; +x_252 = lean_ctor_get(x_27, 1); +lean_inc(x_252); +lean_dec(x_27); +lean_inc(x_13); +x_253 = l_Lean_Meta_isClassExpensive___main(x_26, x_13, x_252); +if (lean_obj_tag(x_253) == 0) +{ +lean_object* x_254; +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +if (lean_obj_tag(x_254) == 0) +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; +lean_dec(x_22); +x_255 = lean_ctor_get(x_253, 1); +lean_inc(x_255); +lean_dec(x_253); +x_256 = lean_unsigned_to_nat(1u); +x_257 = lean_nat_add(x_12, x_256); +lean_dec(x_12); +x_12 = x_257; +x_14 = x_255; +goto _start; +} +else +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; +x_259 = lean_ctor_get(x_253, 1); +lean_inc(x_259); +lean_dec(x_253); +x_260 = lean_ctor_get(x_254, 0); +lean_inc(x_260); +lean_dec(x_254); +x_261 = lean_unsigned_to_nat(1u); +x_262 = lean_nat_add(x_12, x_261); +lean_dec(x_12); +x_263 = !lean_is_exclusive(x_259); +if (x_263 == 0) +{ +lean_object* x_264; uint8_t x_265; +x_264 = lean_ctor_get(x_259, 2); +x_265 = !lean_is_exclusive(x_264); +if (x_265 == 0) +{ +lean_object* x_266; lean_object* x_267; uint8_t x_268; +x_266 = lean_ctor_get(x_264, 2); +x_267 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_ctor_set(x_264, 2, x_267); +x_268 = !lean_is_exclusive(x_13); +if (x_268 == 0) +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_269 = lean_ctor_get(x_13, 2); +x_270 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_270, 0, x_260); +lean_ctor_set(x_270, 1, x_22); +x_271 = lean_array_push(x_269, x_270); +lean_ctor_set(x_13, 2, x_271); +x_272 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_262, x_13, x_259); +if (lean_obj_tag(x_272) == 0) +{ +lean_object* x_273; lean_object* x_274; uint8_t x_275; +x_273 = lean_ctor_get(x_272, 1); +lean_inc(x_273); +x_274 = lean_ctor_get(x_273, 2); +lean_inc(x_274); +x_275 = !lean_is_exclusive(x_272); +if (x_275 == 0) +{ +lean_object* x_276; uint8_t x_277; +x_276 = lean_ctor_get(x_272, 1); +lean_dec(x_276); +x_277 = !lean_is_exclusive(x_273); +if (x_277 == 0) +{ +lean_object* x_278; uint8_t x_279; +x_278 = lean_ctor_get(x_273, 2); +lean_dec(x_278); +x_279 = !lean_is_exclusive(x_274); +if (x_279 == 0) +{ +lean_object* x_280; +x_280 = lean_ctor_get(x_274, 2); +lean_dec(x_280); +lean_ctor_set(x_274, 2, x_266); +return x_272; +} +else +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; +x_281 = lean_ctor_get(x_274, 0); +x_282 = lean_ctor_get(x_274, 1); +lean_inc(x_282); +lean_inc(x_281); +lean_dec(x_274); +x_283 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +lean_ctor_set(x_283, 2, x_266); +lean_ctor_set(x_273, 2, x_283); +return x_272; +} +} +else +{ +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; +x_284 = lean_ctor_get(x_273, 0); +x_285 = lean_ctor_get(x_273, 1); +x_286 = lean_ctor_get(x_273, 3); +x_287 = lean_ctor_get(x_273, 4); +x_288 = lean_ctor_get(x_273, 5); +lean_inc(x_288); +lean_inc(x_287); +lean_inc(x_286); +lean_inc(x_285); +lean_inc(x_284); +lean_dec(x_273); +x_289 = lean_ctor_get(x_274, 0); +lean_inc(x_289); +x_290 = lean_ctor_get(x_274, 1); +lean_inc(x_290); +if (lean_is_exclusive(x_274)) { + lean_ctor_release(x_274, 0); + lean_ctor_release(x_274, 1); + lean_ctor_release(x_274, 2); + x_291 = x_274; +} else { + lean_dec_ref(x_274); + x_291 = lean_box(0); +} +if (lean_is_scalar(x_291)) { + x_292 = lean_alloc_ctor(0, 3, 0); +} else { + x_292 = x_291; +} +lean_ctor_set(x_292, 0, x_289); +lean_ctor_set(x_292, 1, x_290); +lean_ctor_set(x_292, 2, x_266); +x_293 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_293, 0, x_284); +lean_ctor_set(x_293, 1, x_285); +lean_ctor_set(x_293, 2, x_292); +lean_ctor_set(x_293, 3, x_286); +lean_ctor_set(x_293, 4, x_287); +lean_ctor_set(x_293, 5, x_288); +lean_ctor_set(x_272, 1, x_293); +return x_272; +} +} +else +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; +x_294 = lean_ctor_get(x_272, 0); +lean_inc(x_294); +lean_dec(x_272); +x_295 = lean_ctor_get(x_273, 0); +lean_inc(x_295); +x_296 = lean_ctor_get(x_273, 1); +lean_inc(x_296); +x_297 = lean_ctor_get(x_273, 3); +lean_inc(x_297); +x_298 = lean_ctor_get(x_273, 4); +lean_inc(x_298); +x_299 = lean_ctor_get(x_273, 5); +lean_inc(x_299); +if (lean_is_exclusive(x_273)) { + lean_ctor_release(x_273, 0); + lean_ctor_release(x_273, 1); + lean_ctor_release(x_273, 2); + lean_ctor_release(x_273, 3); + lean_ctor_release(x_273, 4); + lean_ctor_release(x_273, 5); + x_300 = x_273; +} else { + lean_dec_ref(x_273); + x_300 = lean_box(0); +} +x_301 = lean_ctor_get(x_274, 0); +lean_inc(x_301); +x_302 = lean_ctor_get(x_274, 1); +lean_inc(x_302); +if (lean_is_exclusive(x_274)) { + lean_ctor_release(x_274, 0); + lean_ctor_release(x_274, 1); + lean_ctor_release(x_274, 2); + x_303 = x_274; +} else { + lean_dec_ref(x_274); + x_303 = lean_box(0); +} +if (lean_is_scalar(x_303)) { + x_304 = lean_alloc_ctor(0, 3, 0); +} else { + x_304 = x_303; +} +lean_ctor_set(x_304, 0, x_301); +lean_ctor_set(x_304, 1, x_302); +lean_ctor_set(x_304, 2, x_266); +if (lean_is_scalar(x_300)) { + x_305 = lean_alloc_ctor(0, 6, 0); +} else { + x_305 = x_300; +} +lean_ctor_set(x_305, 0, x_295); +lean_ctor_set(x_305, 1, x_296); +lean_ctor_set(x_305, 2, x_304); +lean_ctor_set(x_305, 3, x_297); +lean_ctor_set(x_305, 4, x_298); +lean_ctor_set(x_305, 5, x_299); +x_306 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_306, 0, x_294); +lean_ctor_set(x_306, 1, x_305); +return x_306; +} +} +else +{ +lean_object* x_307; lean_object* x_308; uint8_t x_309; +x_307 = lean_ctor_get(x_272, 1); +lean_inc(x_307); +x_308 = lean_ctor_get(x_307, 2); +lean_inc(x_308); +x_309 = !lean_is_exclusive(x_272); +if (x_309 == 0) +{ +lean_object* x_310; uint8_t x_311; +x_310 = lean_ctor_get(x_272, 1); +lean_dec(x_310); +x_311 = !lean_is_exclusive(x_307); +if (x_311 == 0) +{ +lean_object* x_312; uint8_t x_313; +x_312 = lean_ctor_get(x_307, 2); +lean_dec(x_312); +x_313 = !lean_is_exclusive(x_308); +if (x_313 == 0) +{ +lean_object* x_314; +x_314 = lean_ctor_get(x_308, 2); +lean_dec(x_314); +lean_ctor_set(x_308, 2, x_266); +return x_272; +} +else +{ +lean_object* x_315; lean_object* x_316; lean_object* x_317; +x_315 = lean_ctor_get(x_308, 0); +x_316 = lean_ctor_get(x_308, 1); +lean_inc(x_316); +lean_inc(x_315); +lean_dec(x_308); +x_317 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_317, 0, x_315); +lean_ctor_set(x_317, 1, x_316); +lean_ctor_set(x_317, 2, x_266); +lean_ctor_set(x_307, 2, x_317); +return x_272; +} +} +else +{ +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +x_318 = lean_ctor_get(x_307, 0); +x_319 = lean_ctor_get(x_307, 1); +x_320 = lean_ctor_get(x_307, 3); +x_321 = lean_ctor_get(x_307, 4); +x_322 = lean_ctor_get(x_307, 5); +lean_inc(x_322); +lean_inc(x_321); +lean_inc(x_320); +lean_inc(x_319); +lean_inc(x_318); +lean_dec(x_307); +x_323 = lean_ctor_get(x_308, 0); +lean_inc(x_323); +x_324 = lean_ctor_get(x_308, 1); +lean_inc(x_324); +if (lean_is_exclusive(x_308)) { + lean_ctor_release(x_308, 0); + lean_ctor_release(x_308, 1); + lean_ctor_release(x_308, 2); + x_325 = x_308; +} else { + lean_dec_ref(x_308); + x_325 = lean_box(0); +} +if (lean_is_scalar(x_325)) { + x_326 = lean_alloc_ctor(0, 3, 0); +} else { + x_326 = x_325; +} +lean_ctor_set(x_326, 0, x_323); +lean_ctor_set(x_326, 1, x_324); +lean_ctor_set(x_326, 2, x_266); +x_327 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_327, 0, x_318); +lean_ctor_set(x_327, 1, x_319); +lean_ctor_set(x_327, 2, x_326); +lean_ctor_set(x_327, 3, x_320); +lean_ctor_set(x_327, 4, x_321); +lean_ctor_set(x_327, 5, x_322); +lean_ctor_set(x_272, 1, x_327); +return x_272; +} +} +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; +x_328 = lean_ctor_get(x_272, 0); +lean_inc(x_328); +lean_dec(x_272); +x_329 = lean_ctor_get(x_307, 0); +lean_inc(x_329); +x_330 = lean_ctor_get(x_307, 1); +lean_inc(x_330); +x_331 = lean_ctor_get(x_307, 3); +lean_inc(x_331); +x_332 = lean_ctor_get(x_307, 4); +lean_inc(x_332); +x_333 = lean_ctor_get(x_307, 5); +lean_inc(x_333); +if (lean_is_exclusive(x_307)) { + lean_ctor_release(x_307, 0); + lean_ctor_release(x_307, 1); + lean_ctor_release(x_307, 2); + lean_ctor_release(x_307, 3); + lean_ctor_release(x_307, 4); + lean_ctor_release(x_307, 5); + x_334 = x_307; +} else { + lean_dec_ref(x_307); + x_334 = lean_box(0); +} +x_335 = lean_ctor_get(x_308, 0); +lean_inc(x_335); +x_336 = lean_ctor_get(x_308, 1); +lean_inc(x_336); +if (lean_is_exclusive(x_308)) { + lean_ctor_release(x_308, 0); + lean_ctor_release(x_308, 1); + lean_ctor_release(x_308, 2); + x_337 = x_308; +} else { + lean_dec_ref(x_308); + x_337 = lean_box(0); +} +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(0, 3, 0); +} else { + x_338 = x_337; +} +lean_ctor_set(x_338, 0, x_335); +lean_ctor_set(x_338, 1, x_336); +lean_ctor_set(x_338, 2, x_266); +if (lean_is_scalar(x_334)) { + x_339 = lean_alloc_ctor(0, 6, 0); +} else { + x_339 = x_334; +} +lean_ctor_set(x_339, 0, x_329); +lean_ctor_set(x_339, 1, x_330); +lean_ctor_set(x_339, 2, x_338); +lean_ctor_set(x_339, 3, x_331); +lean_ctor_set(x_339, 4, x_332); +lean_ctor_set(x_339, 5, x_333); +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_328); +lean_ctor_set(x_340, 1, x_339); +return x_340; +} +} +} +else +{ +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; +x_341 = lean_ctor_get(x_13, 0); +x_342 = lean_ctor_get(x_13, 1); +x_343 = lean_ctor_get(x_13, 2); +lean_inc(x_343); +lean_inc(x_342); +lean_inc(x_341); +lean_dec(x_13); +x_344 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_344, 0, x_260); +lean_ctor_set(x_344, 1, x_22); +x_345 = lean_array_push(x_343, x_344); +x_346 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_346, 0, x_341); +lean_ctor_set(x_346, 1, x_342); +lean_ctor_set(x_346, 2, x_345); +x_347 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_262, x_346, x_259); +if (lean_obj_tag(x_347) == 0) +{ +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; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; +x_348 = lean_ctor_get(x_347, 1); +lean_inc(x_348); +x_349 = lean_ctor_get(x_348, 2); +lean_inc(x_349); +x_350 = lean_ctor_get(x_347, 0); +lean_inc(x_350); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + x_351 = x_347; +} else { + lean_dec_ref(x_347); + x_351 = lean_box(0); +} +x_352 = lean_ctor_get(x_348, 0); +lean_inc(x_352); +x_353 = lean_ctor_get(x_348, 1); +lean_inc(x_353); +x_354 = lean_ctor_get(x_348, 3); +lean_inc(x_354); +x_355 = lean_ctor_get(x_348, 4); +lean_inc(x_355); +x_356 = lean_ctor_get(x_348, 5); +lean_inc(x_356); +if (lean_is_exclusive(x_348)) { + lean_ctor_release(x_348, 0); + lean_ctor_release(x_348, 1); + lean_ctor_release(x_348, 2); + lean_ctor_release(x_348, 3); + lean_ctor_release(x_348, 4); + lean_ctor_release(x_348, 5); + x_357 = x_348; +} else { + lean_dec_ref(x_348); + x_357 = lean_box(0); +} +x_358 = lean_ctor_get(x_349, 0); +lean_inc(x_358); +x_359 = lean_ctor_get(x_349, 1); +lean_inc(x_359); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + x_360 = x_349; +} else { + lean_dec_ref(x_349); + x_360 = lean_box(0); +} +if (lean_is_scalar(x_360)) { + x_361 = lean_alloc_ctor(0, 3, 0); +} else { + x_361 = x_360; +} +lean_ctor_set(x_361, 0, x_358); +lean_ctor_set(x_361, 1, x_359); +lean_ctor_set(x_361, 2, x_266); +if (lean_is_scalar(x_357)) { + x_362 = lean_alloc_ctor(0, 6, 0); +} else { + x_362 = x_357; +} +lean_ctor_set(x_362, 0, x_352); +lean_ctor_set(x_362, 1, x_353); +lean_ctor_set(x_362, 2, x_361); +lean_ctor_set(x_362, 3, x_354); +lean_ctor_set(x_362, 4, x_355); +lean_ctor_set(x_362, 5, x_356); +if (lean_is_scalar(x_351)) { + x_363 = lean_alloc_ctor(0, 2, 0); +} else { + x_363 = x_351; +} +lean_ctor_set(x_363, 0, x_350); +lean_ctor_set(x_363, 1, x_362); +return x_363; +} +else +{ +lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_364 = lean_ctor_get(x_347, 1); +lean_inc(x_364); +x_365 = lean_ctor_get(x_364, 2); +lean_inc(x_365); +x_366 = lean_ctor_get(x_347, 0); +lean_inc(x_366); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + x_367 = x_347; +} else { + lean_dec_ref(x_347); + x_367 = lean_box(0); +} +x_368 = lean_ctor_get(x_364, 0); +lean_inc(x_368); +x_369 = lean_ctor_get(x_364, 1); +lean_inc(x_369); +x_370 = lean_ctor_get(x_364, 3); +lean_inc(x_370); +x_371 = lean_ctor_get(x_364, 4); +lean_inc(x_371); +x_372 = lean_ctor_get(x_364, 5); +lean_inc(x_372); +if (lean_is_exclusive(x_364)) { + lean_ctor_release(x_364, 0); + lean_ctor_release(x_364, 1); + lean_ctor_release(x_364, 2); + lean_ctor_release(x_364, 3); + lean_ctor_release(x_364, 4); + lean_ctor_release(x_364, 5); + x_373 = x_364; +} else { + lean_dec_ref(x_364); + x_373 = lean_box(0); +} +x_374 = lean_ctor_get(x_365, 0); +lean_inc(x_374); +x_375 = lean_ctor_get(x_365, 1); +lean_inc(x_375); +if (lean_is_exclusive(x_365)) { + lean_ctor_release(x_365, 0); + lean_ctor_release(x_365, 1); + lean_ctor_release(x_365, 2); + x_376 = x_365; +} else { + lean_dec_ref(x_365); + x_376 = lean_box(0); +} +if (lean_is_scalar(x_376)) { + x_377 = lean_alloc_ctor(0, 3, 0); +} else { + x_377 = x_376; +} +lean_ctor_set(x_377, 0, x_374); +lean_ctor_set(x_377, 1, x_375); +lean_ctor_set(x_377, 2, x_266); +if (lean_is_scalar(x_373)) { + x_378 = lean_alloc_ctor(0, 6, 0); +} else { + x_378 = x_373; +} +lean_ctor_set(x_378, 0, x_368); +lean_ctor_set(x_378, 1, x_369); +lean_ctor_set(x_378, 2, x_377); +lean_ctor_set(x_378, 3, x_370); +lean_ctor_set(x_378, 4, x_371); +lean_ctor_set(x_378, 5, x_372); +if (lean_is_scalar(x_367)) { + x_379 = lean_alloc_ctor(1, 2, 0); +} else { + x_379 = x_367; +} +lean_ctor_set(x_379, 0, x_366); +lean_ctor_set(x_379, 1, x_378); +return x_379; +} +} +} +else +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; +x_380 = lean_ctor_get(x_264, 0); +x_381 = lean_ctor_get(x_264, 1); +x_382 = lean_ctor_get(x_264, 2); +lean_inc(x_382); +lean_inc(x_381); +lean_inc(x_380); +lean_dec(x_264); +x_383 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_384 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_384, 0, x_380); +lean_ctor_set(x_384, 1, x_381); +lean_ctor_set(x_384, 2, x_383); +lean_ctor_set(x_259, 2, x_384); +x_385 = lean_ctor_get(x_13, 0); +lean_inc(x_385); +x_386 = lean_ctor_get(x_13, 1); +lean_inc(x_386); +x_387 = lean_ctor_get(x_13, 2); +lean_inc(x_387); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + lean_ctor_release(x_13, 2); + x_388 = x_13; +} else { + lean_dec_ref(x_13); + x_388 = lean_box(0); +} +x_389 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_389, 0, x_260); +lean_ctor_set(x_389, 1, x_22); +x_390 = lean_array_push(x_387, x_389); +if (lean_is_scalar(x_388)) { + x_391 = lean_alloc_ctor(0, 3, 0); +} else { + x_391 = x_388; +} +lean_ctor_set(x_391, 0, x_385); +lean_ctor_set(x_391, 1, x_386); +lean_ctor_set(x_391, 2, x_390); +x_392 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_262, x_391, x_259); +if (lean_obj_tag(x_392) == 0) +{ +lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; +x_393 = lean_ctor_get(x_392, 1); +lean_inc(x_393); +x_394 = lean_ctor_get(x_393, 2); +lean_inc(x_394); +x_395 = lean_ctor_get(x_392, 0); +lean_inc(x_395); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + x_396 = x_392; +} else { + lean_dec_ref(x_392); + x_396 = lean_box(0); +} +x_397 = lean_ctor_get(x_393, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_393, 1); +lean_inc(x_398); +x_399 = lean_ctor_get(x_393, 3); +lean_inc(x_399); +x_400 = lean_ctor_get(x_393, 4); +lean_inc(x_400); +x_401 = lean_ctor_get(x_393, 5); +lean_inc(x_401); +if (lean_is_exclusive(x_393)) { + lean_ctor_release(x_393, 0); + lean_ctor_release(x_393, 1); + lean_ctor_release(x_393, 2); + lean_ctor_release(x_393, 3); + lean_ctor_release(x_393, 4); + lean_ctor_release(x_393, 5); + x_402 = x_393; +} else { + lean_dec_ref(x_393); + x_402 = lean_box(0); +} +x_403 = lean_ctor_get(x_394, 0); +lean_inc(x_403); +x_404 = lean_ctor_get(x_394, 1); +lean_inc(x_404); +if (lean_is_exclusive(x_394)) { + lean_ctor_release(x_394, 0); + lean_ctor_release(x_394, 1); + lean_ctor_release(x_394, 2); + x_405 = x_394; +} else { + lean_dec_ref(x_394); + x_405 = lean_box(0); +} +if (lean_is_scalar(x_405)) { + x_406 = lean_alloc_ctor(0, 3, 0); +} else { + x_406 = x_405; +} +lean_ctor_set(x_406, 0, x_403); +lean_ctor_set(x_406, 1, x_404); +lean_ctor_set(x_406, 2, x_382); +if (lean_is_scalar(x_402)) { + x_407 = lean_alloc_ctor(0, 6, 0); +} else { + x_407 = x_402; +} +lean_ctor_set(x_407, 0, x_397); +lean_ctor_set(x_407, 1, x_398); +lean_ctor_set(x_407, 2, x_406); +lean_ctor_set(x_407, 3, x_399); +lean_ctor_set(x_407, 4, x_400); +lean_ctor_set(x_407, 5, x_401); +if (lean_is_scalar(x_396)) { + x_408 = lean_alloc_ctor(0, 2, 0); +} else { + x_408 = x_396; +} +lean_ctor_set(x_408, 0, x_395); +lean_ctor_set(x_408, 1, x_407); +return x_408; +} +else +{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; +x_409 = lean_ctor_get(x_392, 1); +lean_inc(x_409); +x_410 = lean_ctor_get(x_409, 2); +lean_inc(x_410); +x_411 = lean_ctor_get(x_392, 0); +lean_inc(x_411); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + x_412 = x_392; +} else { + lean_dec_ref(x_392); + x_412 = lean_box(0); +} +x_413 = lean_ctor_get(x_409, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_409, 1); +lean_inc(x_414); +x_415 = lean_ctor_get(x_409, 3); +lean_inc(x_415); +x_416 = lean_ctor_get(x_409, 4); +lean_inc(x_416); +x_417 = lean_ctor_get(x_409, 5); +lean_inc(x_417); +if (lean_is_exclusive(x_409)) { + lean_ctor_release(x_409, 0); + lean_ctor_release(x_409, 1); + lean_ctor_release(x_409, 2); + lean_ctor_release(x_409, 3); + lean_ctor_release(x_409, 4); + lean_ctor_release(x_409, 5); + x_418 = x_409; +} else { + lean_dec_ref(x_409); + x_418 = lean_box(0); +} +x_419 = lean_ctor_get(x_410, 0); +lean_inc(x_419); +x_420 = lean_ctor_get(x_410, 1); +lean_inc(x_420); +if (lean_is_exclusive(x_410)) { + lean_ctor_release(x_410, 0); + lean_ctor_release(x_410, 1); + lean_ctor_release(x_410, 2); + x_421 = x_410; +} else { + lean_dec_ref(x_410); + x_421 = lean_box(0); +} +if (lean_is_scalar(x_421)) { + x_422 = lean_alloc_ctor(0, 3, 0); +} else { + x_422 = x_421; +} +lean_ctor_set(x_422, 0, x_419); +lean_ctor_set(x_422, 1, x_420); +lean_ctor_set(x_422, 2, x_382); +if (lean_is_scalar(x_418)) { + x_423 = lean_alloc_ctor(0, 6, 0); +} else { + x_423 = x_418; +} +lean_ctor_set(x_423, 0, x_413); +lean_ctor_set(x_423, 1, x_414); +lean_ctor_set(x_423, 2, x_422); +lean_ctor_set(x_423, 3, x_415); +lean_ctor_set(x_423, 4, x_416); +lean_ctor_set(x_423, 5, x_417); +if (lean_is_scalar(x_412)) { + x_424 = lean_alloc_ctor(1, 2, 0); +} else { + x_424 = x_412; +} +lean_ctor_set(x_424, 0, x_411); +lean_ctor_set(x_424, 1, x_423); +return x_424; +} +} +} +else +{ +lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; +x_425 = lean_ctor_get(x_259, 2); +x_426 = lean_ctor_get(x_259, 0); +x_427 = lean_ctor_get(x_259, 1); +x_428 = lean_ctor_get(x_259, 3); +x_429 = lean_ctor_get(x_259, 4); +x_430 = lean_ctor_get(x_259, 5); +lean_inc(x_430); +lean_inc(x_429); +lean_inc(x_428); +lean_inc(x_425); +lean_inc(x_427); +lean_inc(x_426); +lean_dec(x_259); +x_431 = lean_ctor_get(x_425, 0); +lean_inc(x_431); +x_432 = lean_ctor_get(x_425, 1); +lean_inc(x_432); +x_433 = lean_ctor_get(x_425, 2); +lean_inc(x_433); +if (lean_is_exclusive(x_425)) { + lean_ctor_release(x_425, 0); + lean_ctor_release(x_425, 1); + lean_ctor_release(x_425, 2); + x_434 = x_425; +} else { + lean_dec_ref(x_425); + x_434 = lean_box(0); +} +x_435 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_434)) { + x_436 = lean_alloc_ctor(0, 3, 0); +} else { + x_436 = x_434; +} +lean_ctor_set(x_436, 0, x_431); +lean_ctor_set(x_436, 1, x_432); +lean_ctor_set(x_436, 2, x_435); +x_437 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_437, 0, x_426); +lean_ctor_set(x_437, 1, x_427); +lean_ctor_set(x_437, 2, x_436); +lean_ctor_set(x_437, 3, x_428); +lean_ctor_set(x_437, 4, x_429); +lean_ctor_set(x_437, 5, x_430); +x_438 = lean_ctor_get(x_13, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_13, 1); +lean_inc(x_439); +x_440 = lean_ctor_get(x_13, 2); +lean_inc(x_440); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + lean_ctor_release(x_13, 2); + x_441 = x_13; +} else { + lean_dec_ref(x_13); + x_441 = lean_box(0); +} +x_442 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_442, 0, x_260); +lean_ctor_set(x_442, 1, x_22); +x_443 = lean_array_push(x_440, x_442); +if (lean_is_scalar(x_441)) { + x_444 = lean_alloc_ctor(0, 3, 0); +} else { + x_444 = x_441; +} +lean_ctor_set(x_444, 0, x_438); +lean_ctor_set(x_444, 1, x_439); +lean_ctor_set(x_444, 2, x_443); +x_445 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_262, x_444, x_437); +if (lean_obj_tag(x_445) == 0) +{ +lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_446 = lean_ctor_get(x_445, 1); +lean_inc(x_446); +x_447 = lean_ctor_get(x_446, 2); +lean_inc(x_447); +x_448 = lean_ctor_get(x_445, 0); +lean_inc(x_448); +if (lean_is_exclusive(x_445)) { + lean_ctor_release(x_445, 0); + lean_ctor_release(x_445, 1); + x_449 = x_445; +} else { + lean_dec_ref(x_445); + x_449 = lean_box(0); +} +x_450 = lean_ctor_get(x_446, 0); +lean_inc(x_450); +x_451 = lean_ctor_get(x_446, 1); +lean_inc(x_451); +x_452 = lean_ctor_get(x_446, 3); +lean_inc(x_452); +x_453 = lean_ctor_get(x_446, 4); +lean_inc(x_453); +x_454 = lean_ctor_get(x_446, 5); +lean_inc(x_454); +if (lean_is_exclusive(x_446)) { + lean_ctor_release(x_446, 0); + lean_ctor_release(x_446, 1); + lean_ctor_release(x_446, 2); + lean_ctor_release(x_446, 3); + lean_ctor_release(x_446, 4); + lean_ctor_release(x_446, 5); + x_455 = x_446; +} else { + lean_dec_ref(x_446); + x_455 = lean_box(0); +} +x_456 = lean_ctor_get(x_447, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_447, 1); +lean_inc(x_457); +if (lean_is_exclusive(x_447)) { + lean_ctor_release(x_447, 0); + lean_ctor_release(x_447, 1); + lean_ctor_release(x_447, 2); + x_458 = x_447; +} else { + lean_dec_ref(x_447); + x_458 = lean_box(0); +} +if (lean_is_scalar(x_458)) { + x_459 = lean_alloc_ctor(0, 3, 0); +} else { + x_459 = x_458; +} +lean_ctor_set(x_459, 0, x_456); +lean_ctor_set(x_459, 1, x_457); +lean_ctor_set(x_459, 2, x_433); +if (lean_is_scalar(x_455)) { + x_460 = lean_alloc_ctor(0, 6, 0); +} else { + x_460 = x_455; +} +lean_ctor_set(x_460, 0, x_450); +lean_ctor_set(x_460, 1, x_451); +lean_ctor_set(x_460, 2, x_459); +lean_ctor_set(x_460, 3, x_452); +lean_ctor_set(x_460, 4, x_453); +lean_ctor_set(x_460, 5, x_454); +if (lean_is_scalar(x_449)) { + x_461 = lean_alloc_ctor(0, 2, 0); +} else { + x_461 = x_449; +} +lean_ctor_set(x_461, 0, x_448); +lean_ctor_set(x_461, 1, x_460); +return x_461; +} +else +{ +lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; +x_462 = lean_ctor_get(x_445, 1); +lean_inc(x_462); +x_463 = lean_ctor_get(x_462, 2); +lean_inc(x_463); +x_464 = lean_ctor_get(x_445, 0); +lean_inc(x_464); +if (lean_is_exclusive(x_445)) { + lean_ctor_release(x_445, 0); + lean_ctor_release(x_445, 1); + x_465 = x_445; +} else { + lean_dec_ref(x_445); + x_465 = lean_box(0); +} +x_466 = lean_ctor_get(x_462, 0); +lean_inc(x_466); +x_467 = lean_ctor_get(x_462, 1); +lean_inc(x_467); +x_468 = lean_ctor_get(x_462, 3); +lean_inc(x_468); +x_469 = lean_ctor_get(x_462, 4); +lean_inc(x_469); +x_470 = lean_ctor_get(x_462, 5); +lean_inc(x_470); +if (lean_is_exclusive(x_462)) { + lean_ctor_release(x_462, 0); + lean_ctor_release(x_462, 1); + lean_ctor_release(x_462, 2); + lean_ctor_release(x_462, 3); + lean_ctor_release(x_462, 4); + lean_ctor_release(x_462, 5); + x_471 = x_462; +} else { + lean_dec_ref(x_462); + x_471 = lean_box(0); +} +x_472 = lean_ctor_get(x_463, 0); +lean_inc(x_472); +x_473 = lean_ctor_get(x_463, 1); +lean_inc(x_473); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + x_474 = x_463; +} else { + lean_dec_ref(x_463); + x_474 = lean_box(0); +} +if (lean_is_scalar(x_474)) { + x_475 = lean_alloc_ctor(0, 3, 0); +} else { + x_475 = x_474; +} +lean_ctor_set(x_475, 0, x_472); +lean_ctor_set(x_475, 1, x_473); +lean_ctor_set(x_475, 2, x_433); +if (lean_is_scalar(x_471)) { + x_476 = lean_alloc_ctor(0, 6, 0); +} else { + x_476 = x_471; +} +lean_ctor_set(x_476, 0, x_466); +lean_ctor_set(x_476, 1, x_467); +lean_ctor_set(x_476, 2, x_475); +lean_ctor_set(x_476, 3, x_468); +lean_ctor_set(x_476, 4, x_469); +lean_ctor_set(x_476, 5, x_470); +if (lean_is_scalar(x_465)) { + x_477 = lean_alloc_ctor(1, 2, 0); +} else { + x_477 = x_465; +} +lean_ctor_set(x_477, 0, x_464); +lean_ctor_set(x_477, 1, x_476); +return x_477; +} +} +} +} +else +{ +uint8_t x_478; +lean_dec(x_22); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_478 = !lean_is_exclusive(x_253); +if (x_478 == 0) +{ +return x_253; +} +else +{ +lean_object* x_479; lean_object* x_480; lean_object* x_481; +x_479 = lean_ctor_get(x_253, 0); +x_480 = lean_ctor_get(x_253, 1); +lean_inc(x_480); +lean_inc(x_479); +lean_dec(x_253); +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_479); +lean_ctor_set(x_481, 1, x_480); +return x_481; +} +} +} +} +} +else +{ +uint8_t x_482; +lean_dec(x_26); +lean_dec(x_22); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_482 = !lean_is_exclusive(x_27); +if (x_482 == 0) +{ +return x_27; +} +else +{ +lean_object* x_483; lean_object* x_484; lean_object* x_485; +x_483 = lean_ctor_get(x_27, 0); +x_484 = lean_ctor_get(x_27, 1); +lean_inc(x_484); +lean_inc(x_483); +lean_dec(x_27); +x_485 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_485, 0, x_483); +lean_ctor_set(x_485, 1, x_484); +return x_485; +} +} +} +else +{ +uint8_t x_486; +lean_dec(x_22); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_486 = !lean_is_exclusive(x_23); +if (x_486 == 0) +{ +return x_23; +} +else +{ +lean_object* x_487; lean_object* x_488; lean_object* x_489; +x_487 = lean_ctor_get(x_23, 0); +x_488 = lean_ctor_get(x_23, 1); +lean_inc(x_488); +lean_inc(x_487); +lean_dec(x_23); +x_489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_489, 0, x_487); +lean_ctor_set(x_489, 1, x_488); +return x_489; +} +} +} +} +} +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_array_get_size(x_6); +x_11 = lean_nat_dec_lt(x_7, x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +uint8_t x_12; +lean_dec(x_7); +x_12 = lean_nat_dec_eq(x_5, x_2); +if (x_12 == 0) +{ +uint8_t x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_13 = 0; +x_14 = lean_box(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; +lean_inc(x_8); +x_16 = l_Lean_Meta_mkLambda(x_4, x_3, x_8, x_9); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign(x_1, x_17, x_8, x_18); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_8); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_16); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_array_fget(x_6, x_7); +lean_inc(x_8); +x_25 = l_Lean_Meta_getFVarLocalDecl(x_24, x_8, x_9); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_LocalDecl_type(x_26); +lean_dec(x_26); +lean_inc(x_8); +lean_inc(x_28); +x_29 = l_Lean_Meta_isClassQuick___main(x_28, x_8, x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +switch (lean_obj_tag(x_30)) { +case 0: +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_28); +lean_dec(x_24); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_add(x_7, x_32); +lean_dec(x_7); +x_7 = x_33; +x_9 = x_31; +goto _start; +} +case 1: +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_dec(x_28); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +lean_dec(x_30); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_add(x_7, x_37); +lean_dec(x_7); +x_39 = !lean_is_exclusive(x_35); +if (x_39 == 0) +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_35, 2); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_42 = lean_ctor_get(x_40, 2); +x_43 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_ctor_set(x_40, 2, x_43); +x_44 = !lean_is_exclusive(x_8); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_8, 2); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_36); +lean_ctor_set(x_46, 1, x_24); +x_47 = lean_array_push(x_45, x_46); +lean_ctor_set(x_8, 2, x_47); +x_48 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_8, x_35); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_49, 2); +lean_inc(x_50); +x_51 = !lean_is_exclusive(x_48); +if (x_51 == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_48, 1); +lean_dec(x_52); +x_53 = !lean_is_exclusive(x_49); +if (x_53 == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_49, 2); +lean_dec(x_54); +x_55 = !lean_is_exclusive(x_50); +if (x_55 == 0) +{ +lean_object* x_56; +x_56 = lean_ctor_get(x_50, 2); +lean_dec(x_56); +lean_ctor_set(x_50, 2, x_42); +return x_48; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_50, 0); +x_58 = lean_ctor_get(x_50, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_50); +x_59 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_42); +lean_ctor_set(x_49, 2, x_59); +return x_48; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_60 = lean_ctor_get(x_49, 0); +x_61 = lean_ctor_get(x_49, 1); +x_62 = lean_ctor_get(x_49, 3); +x_63 = lean_ctor_get(x_49, 4); +x_64 = lean_ctor_get(x_49, 5); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_49); +x_65 = lean_ctor_get(x_50, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_50, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + lean_ctor_release(x_50, 2); + x_67 = x_50; +} else { + lean_dec_ref(x_50); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(0, 3, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +lean_ctor_set(x_68, 2, x_42); +x_69 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_69, 0, x_60); +lean_ctor_set(x_69, 1, x_61); +lean_ctor_set(x_69, 2, x_68); +lean_ctor_set(x_69, 3, x_62); +lean_ctor_set(x_69, 4, x_63); +lean_ctor_set(x_69, 5, x_64); +lean_ctor_set(x_48, 1, x_69); +return x_48; +} +} +else +{ +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_70 = lean_ctor_get(x_48, 0); +lean_inc(x_70); +lean_dec(x_48); +x_71 = lean_ctor_get(x_49, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_49, 1); +lean_inc(x_72); +x_73 = lean_ctor_get(x_49, 3); +lean_inc(x_73); +x_74 = lean_ctor_get(x_49, 4); +lean_inc(x_74); +x_75 = lean_ctor_get(x_49, 5); +lean_inc(x_75); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + lean_ctor_release(x_49, 2); + lean_ctor_release(x_49, 3); + lean_ctor_release(x_49, 4); + lean_ctor_release(x_49, 5); + x_76 = x_49; +} else { + lean_dec_ref(x_49); + x_76 = lean_box(0); +} +x_77 = lean_ctor_get(x_50, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_50, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + lean_ctor_release(x_50, 2); + x_79 = x_50; +} else { + lean_dec_ref(x_50); + x_79 = lean_box(0); +} +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(0, 3, 0); +} else { + x_80 = x_79; +} +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_80, 2, x_42); +if (lean_is_scalar(x_76)) { + x_81 = lean_alloc_ctor(0, 6, 0); +} else { + x_81 = x_76; +} +lean_ctor_set(x_81, 0, x_71); +lean_ctor_set(x_81, 1, x_72); +lean_ctor_set(x_81, 2, x_80); +lean_ctor_set(x_81, 3, x_73); +lean_ctor_set(x_81, 4, x_74); +lean_ctor_set(x_81, 5, x_75); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_70); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +else +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_83 = lean_ctor_get(x_48, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_83, 2); +lean_inc(x_84); +x_85 = !lean_is_exclusive(x_48); +if (x_85 == 0) +{ +lean_object* x_86; uint8_t x_87; +x_86 = lean_ctor_get(x_48, 1); +lean_dec(x_86); +x_87 = !lean_is_exclusive(x_83); +if (x_87 == 0) +{ +lean_object* x_88; uint8_t x_89; +x_88 = lean_ctor_get(x_83, 2); +lean_dec(x_88); +x_89 = !lean_is_exclusive(x_84); +if (x_89 == 0) +{ +lean_object* x_90; +x_90 = lean_ctor_get(x_84, 2); +lean_dec(x_90); +lean_ctor_set(x_84, 2, x_42); +return x_48; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_84, 0); +x_92 = lean_ctor_get(x_84, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_84); +x_93 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +lean_ctor_set(x_93, 2, x_42); +lean_ctor_set(x_83, 2, x_93); +return x_48; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_94 = lean_ctor_get(x_83, 0); +x_95 = lean_ctor_get(x_83, 1); +x_96 = lean_ctor_get(x_83, 3); +x_97 = lean_ctor_get(x_83, 4); +x_98 = lean_ctor_get(x_83, 5); +lean_inc(x_98); +lean_inc(x_97); +lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_83); +x_99 = lean_ctor_get(x_84, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_84, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + lean_ctor_release(x_84, 2); + x_101 = x_84; +} else { + lean_dec_ref(x_84); + x_101 = lean_box(0); +} +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(0, 3, 0); +} else { + x_102 = x_101; +} +lean_ctor_set(x_102, 0, x_99); +lean_ctor_set(x_102, 1, x_100); +lean_ctor_set(x_102, 2, x_42); +x_103 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_103, 0, x_94); +lean_ctor_set(x_103, 1, x_95); +lean_ctor_set(x_103, 2, x_102); +lean_ctor_set(x_103, 3, x_96); +lean_ctor_set(x_103, 4, x_97); +lean_ctor_set(x_103, 5, x_98); +lean_ctor_set(x_48, 1, x_103); +return x_48; +} +} +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; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_104 = lean_ctor_get(x_48, 0); +lean_inc(x_104); +lean_dec(x_48); +x_105 = lean_ctor_get(x_83, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_83, 1); +lean_inc(x_106); +x_107 = lean_ctor_get(x_83, 3); +lean_inc(x_107); +x_108 = lean_ctor_get(x_83, 4); +lean_inc(x_108); +x_109 = lean_ctor_get(x_83, 5); +lean_inc(x_109); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + lean_ctor_release(x_83, 2); + lean_ctor_release(x_83, 3); + lean_ctor_release(x_83, 4); + lean_ctor_release(x_83, 5); + x_110 = x_83; +} else { + lean_dec_ref(x_83); + x_110 = lean_box(0); +} +x_111 = lean_ctor_get(x_84, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_84, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + lean_ctor_release(x_84, 2); + x_113 = x_84; +} else { + lean_dec_ref(x_84); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 3, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_112); +lean_ctor_set(x_114, 2, x_42); +if (lean_is_scalar(x_110)) { + x_115 = lean_alloc_ctor(0, 6, 0); +} else { + x_115 = x_110; +} +lean_ctor_set(x_115, 0, x_105); +lean_ctor_set(x_115, 1, x_106); +lean_ctor_set(x_115, 2, x_114); +lean_ctor_set(x_115, 3, x_107); +lean_ctor_set(x_115, 4, x_108); +lean_ctor_set(x_115, 5, x_109); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_104); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +} +} +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; +x_117 = lean_ctor_get(x_8, 0); +x_118 = lean_ctor_get(x_8, 1); +x_119 = lean_ctor_get(x_8, 2); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_8); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_36); +lean_ctor_set(x_120, 1, x_24); +x_121 = lean_array_push(x_119, x_120); +x_122 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_118); +lean_ctor_set(x_122, 2, x_121); +x_123 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_122, x_35); +if (lean_obj_tag(x_123) == 0) +{ +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; +x_124 = lean_ctor_get(x_123, 1); +lean_inc(x_124); +x_125 = lean_ctor_get(x_124, 2); +lean_inc(x_125); +x_126 = lean_ctor_get(x_123, 0); +lean_inc(x_126); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_127 = x_123; +} else { + lean_dec_ref(x_123); + x_127 = lean_box(0); +} +x_128 = lean_ctor_get(x_124, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_124, 1); +lean_inc(x_129); +x_130 = lean_ctor_get(x_124, 3); +lean_inc(x_130); +x_131 = lean_ctor_get(x_124, 4); +lean_inc(x_131); +x_132 = lean_ctor_get(x_124, 5); +lean_inc(x_132); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + lean_ctor_release(x_124, 2); + lean_ctor_release(x_124, 3); + lean_ctor_release(x_124, 4); + lean_ctor_release(x_124, 5); + x_133 = x_124; +} else { + lean_dec_ref(x_124); + x_133 = lean_box(0); +} +x_134 = lean_ctor_get(x_125, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_125, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + lean_ctor_release(x_125, 2); + x_136 = x_125; +} else { + lean_dec_ref(x_125); + x_136 = lean_box(0); +} +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(0, 3, 0); +} else { + x_137 = x_136; +} +lean_ctor_set(x_137, 0, x_134); +lean_ctor_set(x_137, 1, x_135); +lean_ctor_set(x_137, 2, x_42); +if (lean_is_scalar(x_133)) { + x_138 = lean_alloc_ctor(0, 6, 0); +} else { + x_138 = x_133; +} +lean_ctor_set(x_138, 0, x_128); +lean_ctor_set(x_138, 1, x_129); +lean_ctor_set(x_138, 2, x_137); +lean_ctor_set(x_138, 3, x_130); +lean_ctor_set(x_138, 4, x_131); +lean_ctor_set(x_138, 5, x_132); +if (lean_is_scalar(x_127)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_127; +} +lean_ctor_set(x_139, 0, x_126); +lean_ctor_set(x_139, 1, x_138); +return x_139; +} +else +{ +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_140 = lean_ctor_get(x_123, 1); +lean_inc(x_140); +x_141 = lean_ctor_get(x_140, 2); +lean_inc(x_141); +x_142 = lean_ctor_get(x_123, 0); +lean_inc(x_142); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_143 = x_123; +} else { + lean_dec_ref(x_123); + x_143 = lean_box(0); +} +x_144 = lean_ctor_get(x_140, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +x_146 = lean_ctor_get(x_140, 3); +lean_inc(x_146); +x_147 = lean_ctor_get(x_140, 4); +lean_inc(x_147); +x_148 = lean_ctor_get(x_140, 5); +lean_inc(x_148); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + lean_ctor_release(x_140, 2); + lean_ctor_release(x_140, 3); + lean_ctor_release(x_140, 4); + lean_ctor_release(x_140, 5); + x_149 = x_140; +} else { + lean_dec_ref(x_140); + x_149 = lean_box(0); +} +x_150 = lean_ctor_get(x_141, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_141, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + lean_ctor_release(x_141, 2); + x_152 = x_141; +} else { + lean_dec_ref(x_141); + x_152 = lean_box(0); +} +if (lean_is_scalar(x_152)) { + x_153 = lean_alloc_ctor(0, 3, 0); +} else { + x_153 = x_152; +} +lean_ctor_set(x_153, 0, x_150); +lean_ctor_set(x_153, 1, x_151); +lean_ctor_set(x_153, 2, x_42); +if (lean_is_scalar(x_149)) { + x_154 = lean_alloc_ctor(0, 6, 0); +} else { + x_154 = x_149; +} +lean_ctor_set(x_154, 0, x_144); +lean_ctor_set(x_154, 1, x_145); +lean_ctor_set(x_154, 2, x_153); +lean_ctor_set(x_154, 3, x_146); +lean_ctor_set(x_154, 4, x_147); +lean_ctor_set(x_154, 5, x_148); +if (lean_is_scalar(x_143)) { + x_155 = lean_alloc_ctor(1, 2, 0); +} else { + x_155 = x_143; +} +lean_ctor_set(x_155, 0, x_142); +lean_ctor_set(x_155, 1, x_154); +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; +x_156 = lean_ctor_get(x_40, 0); +x_157 = lean_ctor_get(x_40, 1); +x_158 = lean_ctor_get(x_40, 2); +lean_inc(x_158); +lean_inc(x_157); +lean_inc(x_156); +lean_dec(x_40); +x_159 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_160 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_160, 0, x_156); +lean_ctor_set(x_160, 1, x_157); +lean_ctor_set(x_160, 2, x_159); +lean_ctor_set(x_35, 2, x_160); +x_161 = lean_ctor_get(x_8, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_8, 1); +lean_inc(x_162); +x_163 = lean_ctor_get(x_8, 2); +lean_inc(x_163); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_164 = x_8; +} else { + lean_dec_ref(x_8); + x_164 = lean_box(0); +} +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_36); +lean_ctor_set(x_165, 1, x_24); +x_166 = lean_array_push(x_163, x_165); +if (lean_is_scalar(x_164)) { + x_167 = lean_alloc_ctor(0, 3, 0); +} else { + x_167 = x_164; +} +lean_ctor_set(x_167, 0, x_161); +lean_ctor_set(x_167, 1, x_162); +lean_ctor_set(x_167, 2, x_166); +x_168 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_167, x_35); +if (lean_obj_tag(x_168) == 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; 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; +x_169 = lean_ctor_get(x_168, 1); +lean_inc(x_169); +x_170 = lean_ctor_get(x_169, 2); +lean_inc(x_170); +x_171 = lean_ctor_get(x_168, 0); +lean_inc(x_171); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_172 = x_168; +} else { + lean_dec_ref(x_168); + x_172 = lean_box(0); +} +x_173 = lean_ctor_get(x_169, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +x_175 = lean_ctor_get(x_169, 3); +lean_inc(x_175); +x_176 = lean_ctor_get(x_169, 4); +lean_inc(x_176); +x_177 = lean_ctor_get(x_169, 5); +lean_inc(x_177); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + lean_ctor_release(x_169, 2); + lean_ctor_release(x_169, 3); + lean_ctor_release(x_169, 4); + lean_ctor_release(x_169, 5); + x_178 = x_169; +} else { + lean_dec_ref(x_169); + x_178 = lean_box(0); +} +x_179 = lean_ctor_get(x_170, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_170, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + lean_ctor_release(x_170, 2); + x_181 = x_170; +} else { + lean_dec_ref(x_170); + x_181 = lean_box(0); +} +if (lean_is_scalar(x_181)) { + x_182 = lean_alloc_ctor(0, 3, 0); +} else { + x_182 = x_181; +} +lean_ctor_set(x_182, 0, x_179); +lean_ctor_set(x_182, 1, x_180); +lean_ctor_set(x_182, 2, x_158); +if (lean_is_scalar(x_178)) { + x_183 = lean_alloc_ctor(0, 6, 0); +} else { + x_183 = x_178; +} +lean_ctor_set(x_183, 0, x_173); +lean_ctor_set(x_183, 1, x_174); +lean_ctor_set(x_183, 2, x_182); +lean_ctor_set(x_183, 3, x_175); +lean_ctor_set(x_183, 4, x_176); +lean_ctor_set(x_183, 5, x_177); +if (lean_is_scalar(x_172)) { + x_184 = lean_alloc_ctor(0, 2, 0); +} else { + x_184 = x_172; +} +lean_ctor_set(x_184, 0, x_171); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_185 = lean_ctor_get(x_168, 1); +lean_inc(x_185); +x_186 = lean_ctor_get(x_185, 2); +lean_inc(x_186); +x_187 = lean_ctor_get(x_168, 0); +lean_inc(x_187); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_188 = x_168; +} else { + lean_dec_ref(x_168); + x_188 = lean_box(0); +} +x_189 = lean_ctor_get(x_185, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_185, 1); +lean_inc(x_190); +x_191 = lean_ctor_get(x_185, 3); +lean_inc(x_191); +x_192 = lean_ctor_get(x_185, 4); +lean_inc(x_192); +x_193 = lean_ctor_get(x_185, 5); +lean_inc(x_193); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + lean_ctor_release(x_185, 2); + lean_ctor_release(x_185, 3); + lean_ctor_release(x_185, 4); + lean_ctor_release(x_185, 5); + x_194 = x_185; +} else { + lean_dec_ref(x_185); + x_194 = lean_box(0); +} +x_195 = lean_ctor_get(x_186, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_186, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_186)) { + lean_ctor_release(x_186, 0); + lean_ctor_release(x_186, 1); + lean_ctor_release(x_186, 2); + x_197 = x_186; +} else { + lean_dec_ref(x_186); + x_197 = lean_box(0); +} +if (lean_is_scalar(x_197)) { + x_198 = lean_alloc_ctor(0, 3, 0); +} else { + x_198 = x_197; +} +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_196); +lean_ctor_set(x_198, 2, x_158); +if (lean_is_scalar(x_194)) { + x_199 = lean_alloc_ctor(0, 6, 0); +} else { + x_199 = x_194; +} +lean_ctor_set(x_199, 0, x_189); +lean_ctor_set(x_199, 1, x_190); +lean_ctor_set(x_199, 2, x_198); +lean_ctor_set(x_199, 3, x_191); +lean_ctor_set(x_199, 4, x_192); +lean_ctor_set(x_199, 5, x_193); +if (lean_is_scalar(x_188)) { + x_200 = lean_alloc_ctor(1, 2, 0); +} else { + x_200 = x_188; +} +lean_ctor_set(x_200, 0, x_187); +lean_ctor_set(x_200, 1, x_199); +return x_200; +} +} +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_201 = lean_ctor_get(x_35, 2); +x_202 = lean_ctor_get(x_35, 0); +x_203 = lean_ctor_get(x_35, 1); +x_204 = lean_ctor_get(x_35, 3); +x_205 = lean_ctor_get(x_35, 4); +x_206 = lean_ctor_get(x_35, 5); +lean_inc(x_206); +lean_inc(x_205); +lean_inc(x_204); +lean_inc(x_201); +lean_inc(x_203); +lean_inc(x_202); +lean_dec(x_35); +x_207 = lean_ctor_get(x_201, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_201, 1); +lean_inc(x_208); +x_209 = lean_ctor_get(x_201, 2); +lean_inc(x_209); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + lean_ctor_release(x_201, 1); + lean_ctor_release(x_201, 2); + x_210 = x_201; +} else { + lean_dec_ref(x_201); + x_210 = lean_box(0); +} +x_211 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_210)) { + x_212 = lean_alloc_ctor(0, 3, 0); +} else { + x_212 = x_210; +} +lean_ctor_set(x_212, 0, x_207); +lean_ctor_set(x_212, 1, x_208); +lean_ctor_set(x_212, 2, x_211); +x_213 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_213, 0, x_202); +lean_ctor_set(x_213, 1, x_203); +lean_ctor_set(x_213, 2, x_212); +lean_ctor_set(x_213, 3, x_204); +lean_ctor_set(x_213, 4, x_205); +lean_ctor_set(x_213, 5, x_206); +x_214 = lean_ctor_get(x_8, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_8, 1); +lean_inc(x_215); +x_216 = lean_ctor_get(x_8, 2); +lean_inc(x_216); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_217 = x_8; +} else { + lean_dec_ref(x_8); + x_217 = lean_box(0); +} +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_36); +lean_ctor_set(x_218, 1, x_24); +x_219 = lean_array_push(x_216, x_218); +if (lean_is_scalar(x_217)) { + x_220 = lean_alloc_ctor(0, 3, 0); +} else { + x_220 = x_217; +} +lean_ctor_set(x_220, 0, x_214); +lean_ctor_set(x_220, 1, x_215); +lean_ctor_set(x_220, 2, x_219); +x_221 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_220, x_213); +if (lean_obj_tag(x_221) == 0) +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_222 = lean_ctor_get(x_221, 1); +lean_inc(x_222); +x_223 = lean_ctor_get(x_222, 2); +lean_inc(x_223); +x_224 = lean_ctor_get(x_221, 0); +lean_inc(x_224); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_225 = x_221; +} else { + lean_dec_ref(x_221); + x_225 = lean_box(0); +} +x_226 = lean_ctor_get(x_222, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_222, 1); +lean_inc(x_227); +x_228 = lean_ctor_get(x_222, 3); +lean_inc(x_228); +x_229 = lean_ctor_get(x_222, 4); +lean_inc(x_229); +x_230 = lean_ctor_get(x_222, 5); +lean_inc(x_230); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + lean_ctor_release(x_222, 2); + lean_ctor_release(x_222, 3); + lean_ctor_release(x_222, 4); + lean_ctor_release(x_222, 5); + x_231 = x_222; +} else { + lean_dec_ref(x_222); + x_231 = lean_box(0); +} +x_232 = lean_ctor_get(x_223, 0); +lean_inc(x_232); +x_233 = lean_ctor_get(x_223, 1); +lean_inc(x_233); +if (lean_is_exclusive(x_223)) { + lean_ctor_release(x_223, 0); + lean_ctor_release(x_223, 1); + lean_ctor_release(x_223, 2); + x_234 = x_223; +} else { + lean_dec_ref(x_223); + x_234 = lean_box(0); +} +if (lean_is_scalar(x_234)) { + x_235 = lean_alloc_ctor(0, 3, 0); +} else { + x_235 = x_234; +} +lean_ctor_set(x_235, 0, x_232); +lean_ctor_set(x_235, 1, x_233); +lean_ctor_set(x_235, 2, x_209); +if (lean_is_scalar(x_231)) { + x_236 = lean_alloc_ctor(0, 6, 0); +} else { + x_236 = x_231; +} +lean_ctor_set(x_236, 0, x_226); +lean_ctor_set(x_236, 1, x_227); +lean_ctor_set(x_236, 2, x_235); +lean_ctor_set(x_236, 3, x_228); +lean_ctor_set(x_236, 4, x_229); +lean_ctor_set(x_236, 5, x_230); +if (lean_is_scalar(x_225)) { + x_237 = lean_alloc_ctor(0, 2, 0); +} else { + x_237 = x_225; +} +lean_ctor_set(x_237, 0, x_224); +lean_ctor_set(x_237, 1, x_236); +return x_237; +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_238 = lean_ctor_get(x_221, 1); +lean_inc(x_238); +x_239 = lean_ctor_get(x_238, 2); +lean_inc(x_239); +x_240 = lean_ctor_get(x_221, 0); +lean_inc(x_240); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_241 = x_221; +} else { + lean_dec_ref(x_221); + x_241 = lean_box(0); +} +x_242 = lean_ctor_get(x_238, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_238, 1); +lean_inc(x_243); +x_244 = lean_ctor_get(x_238, 3); +lean_inc(x_244); +x_245 = lean_ctor_get(x_238, 4); +lean_inc(x_245); +x_246 = lean_ctor_get(x_238, 5); +lean_inc(x_246); +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + lean_ctor_release(x_238, 1); + lean_ctor_release(x_238, 2); + lean_ctor_release(x_238, 3); + lean_ctor_release(x_238, 4); + lean_ctor_release(x_238, 5); + x_247 = x_238; +} else { + lean_dec_ref(x_238); + x_247 = lean_box(0); +} +x_248 = lean_ctor_get(x_239, 0); +lean_inc(x_248); +x_249 = lean_ctor_get(x_239, 1); +lean_inc(x_249); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + lean_ctor_release(x_239, 2); + x_250 = x_239; +} else { + lean_dec_ref(x_239); + x_250 = lean_box(0); +} +if (lean_is_scalar(x_250)) { + x_251 = lean_alloc_ctor(0, 3, 0); +} else { + x_251 = x_250; +} +lean_ctor_set(x_251, 0, x_248); +lean_ctor_set(x_251, 1, x_249); +lean_ctor_set(x_251, 2, x_209); +if (lean_is_scalar(x_247)) { + x_252 = lean_alloc_ctor(0, 6, 0); +} else { + x_252 = x_247; +} +lean_ctor_set(x_252, 0, x_242); +lean_ctor_set(x_252, 1, x_243); +lean_ctor_set(x_252, 2, x_251); +lean_ctor_set(x_252, 3, x_244); +lean_ctor_set(x_252, 4, x_245); +lean_ctor_set(x_252, 5, x_246); +if (lean_is_scalar(x_241)) { + x_253 = lean_alloc_ctor(1, 2, 0); +} else { + x_253 = x_241; +} +lean_ctor_set(x_253, 0, x_240); +lean_ctor_set(x_253, 1, x_252); +return x_253; +} +} +} +default: +{ +lean_object* x_254; lean_object* x_255; +x_254 = lean_ctor_get(x_29, 1); +lean_inc(x_254); +lean_dec(x_29); +lean_inc(x_8); +x_255 = l_Lean_Meta_isClassExpensive___main(x_28, x_8, x_254); +if (lean_obj_tag(x_255) == 0) +{ +lean_object* x_256; +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +if (lean_obj_tag(x_256) == 0) +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; +lean_dec(x_24); +x_257 = lean_ctor_get(x_255, 1); +lean_inc(x_257); +lean_dec(x_255); +x_258 = lean_unsigned_to_nat(1u); +x_259 = lean_nat_add(x_7, x_258); +lean_dec(x_7); +x_7 = x_259; +x_9 = x_257; +goto _start; +} +else +{ +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; +x_261 = lean_ctor_get(x_255, 1); +lean_inc(x_261); +lean_dec(x_255); +x_262 = lean_ctor_get(x_256, 0); +lean_inc(x_262); +lean_dec(x_256); +x_263 = lean_unsigned_to_nat(1u); +x_264 = lean_nat_add(x_7, x_263); +lean_dec(x_7); +x_265 = !lean_is_exclusive(x_261); +if (x_265 == 0) +{ +lean_object* x_266; uint8_t x_267; +x_266 = lean_ctor_get(x_261, 2); +x_267 = !lean_is_exclusive(x_266); +if (x_267 == 0) +{ +lean_object* x_268; lean_object* x_269; uint8_t x_270; +x_268 = lean_ctor_get(x_266, 2); +x_269 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_ctor_set(x_266, 2, x_269); +x_270 = !lean_is_exclusive(x_8); +if (x_270 == 0) +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_271 = lean_ctor_get(x_8, 2); +x_272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_272, 0, x_262); +lean_ctor_set(x_272, 1, x_24); +x_273 = lean_array_push(x_271, x_272); +lean_ctor_set(x_8, 2, x_273); +x_274 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_264, x_8, x_261); +if (lean_obj_tag(x_274) == 0) +{ +lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_275 = lean_ctor_get(x_274, 1); +lean_inc(x_275); +x_276 = lean_ctor_get(x_275, 2); +lean_inc(x_276); +x_277 = !lean_is_exclusive(x_274); +if (x_277 == 0) +{ +lean_object* x_278; uint8_t x_279; +x_278 = lean_ctor_get(x_274, 1); +lean_dec(x_278); +x_279 = !lean_is_exclusive(x_275); +if (x_279 == 0) +{ +lean_object* x_280; uint8_t x_281; +x_280 = lean_ctor_get(x_275, 2); +lean_dec(x_280); +x_281 = !lean_is_exclusive(x_276); +if (x_281 == 0) +{ +lean_object* x_282; +x_282 = lean_ctor_get(x_276, 2); +lean_dec(x_282); +lean_ctor_set(x_276, 2, x_268); +return x_274; +} +else +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_283 = lean_ctor_get(x_276, 0); +x_284 = lean_ctor_get(x_276, 1); +lean_inc(x_284); +lean_inc(x_283); +lean_dec(x_276); +x_285 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +lean_ctor_set(x_285, 2, x_268); +lean_ctor_set(x_275, 2, x_285); +return x_274; +} +} +else +{ +lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_286 = lean_ctor_get(x_275, 0); +x_287 = lean_ctor_get(x_275, 1); +x_288 = lean_ctor_get(x_275, 3); +x_289 = lean_ctor_get(x_275, 4); +x_290 = lean_ctor_get(x_275, 5); +lean_inc(x_290); +lean_inc(x_289); +lean_inc(x_288); +lean_inc(x_287); +lean_inc(x_286); +lean_dec(x_275); +x_291 = lean_ctor_get(x_276, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_276, 1); +lean_inc(x_292); +if (lean_is_exclusive(x_276)) { + lean_ctor_release(x_276, 0); + lean_ctor_release(x_276, 1); + lean_ctor_release(x_276, 2); + x_293 = x_276; +} else { + lean_dec_ref(x_276); + x_293 = lean_box(0); +} +if (lean_is_scalar(x_293)) { + x_294 = lean_alloc_ctor(0, 3, 0); +} else { + x_294 = x_293; +} +lean_ctor_set(x_294, 0, x_291); +lean_ctor_set(x_294, 1, x_292); +lean_ctor_set(x_294, 2, x_268); +x_295 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_295, 0, x_286); +lean_ctor_set(x_295, 1, x_287); +lean_ctor_set(x_295, 2, x_294); +lean_ctor_set(x_295, 3, x_288); +lean_ctor_set(x_295, 4, x_289); +lean_ctor_set(x_295, 5, x_290); +lean_ctor_set(x_274, 1, x_295); +return x_274; +} +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_296 = lean_ctor_get(x_274, 0); +lean_inc(x_296); +lean_dec(x_274); +x_297 = lean_ctor_get(x_275, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_275, 1); +lean_inc(x_298); +x_299 = lean_ctor_get(x_275, 3); +lean_inc(x_299); +x_300 = lean_ctor_get(x_275, 4); +lean_inc(x_300); +x_301 = lean_ctor_get(x_275, 5); +lean_inc(x_301); +if (lean_is_exclusive(x_275)) { + lean_ctor_release(x_275, 0); + lean_ctor_release(x_275, 1); + lean_ctor_release(x_275, 2); + lean_ctor_release(x_275, 3); + lean_ctor_release(x_275, 4); + lean_ctor_release(x_275, 5); + x_302 = x_275; +} else { + lean_dec_ref(x_275); + x_302 = lean_box(0); +} +x_303 = lean_ctor_get(x_276, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_276, 1); +lean_inc(x_304); +if (lean_is_exclusive(x_276)) { + lean_ctor_release(x_276, 0); + lean_ctor_release(x_276, 1); + lean_ctor_release(x_276, 2); + x_305 = x_276; +} else { + lean_dec_ref(x_276); + x_305 = lean_box(0); +} +if (lean_is_scalar(x_305)) { + x_306 = lean_alloc_ctor(0, 3, 0); +} else { + x_306 = x_305; +} +lean_ctor_set(x_306, 0, x_303); +lean_ctor_set(x_306, 1, x_304); +lean_ctor_set(x_306, 2, x_268); +if (lean_is_scalar(x_302)) { + x_307 = lean_alloc_ctor(0, 6, 0); +} else { + x_307 = x_302; +} +lean_ctor_set(x_307, 0, x_297); +lean_ctor_set(x_307, 1, x_298); +lean_ctor_set(x_307, 2, x_306); +lean_ctor_set(x_307, 3, x_299); +lean_ctor_set(x_307, 4, x_300); +lean_ctor_set(x_307, 5, x_301); +x_308 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_308, 0, x_296); +lean_ctor_set(x_308, 1, x_307); +return x_308; +} +} +else +{ +lean_object* x_309; lean_object* x_310; uint8_t x_311; +x_309 = lean_ctor_get(x_274, 1); +lean_inc(x_309); +x_310 = lean_ctor_get(x_309, 2); +lean_inc(x_310); +x_311 = !lean_is_exclusive(x_274); +if (x_311 == 0) +{ +lean_object* x_312; uint8_t x_313; +x_312 = lean_ctor_get(x_274, 1); +lean_dec(x_312); +x_313 = !lean_is_exclusive(x_309); +if (x_313 == 0) +{ +lean_object* x_314; uint8_t x_315; +x_314 = lean_ctor_get(x_309, 2); +lean_dec(x_314); +x_315 = !lean_is_exclusive(x_310); +if (x_315 == 0) +{ +lean_object* x_316; +x_316 = lean_ctor_get(x_310, 2); +lean_dec(x_316); +lean_ctor_set(x_310, 2, x_268); +return x_274; +} +else +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; +x_317 = lean_ctor_get(x_310, 0); +x_318 = lean_ctor_get(x_310, 1); +lean_inc(x_318); +lean_inc(x_317); +lean_dec(x_310); +x_319 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_319, 0, x_317); +lean_ctor_set(x_319, 1, x_318); +lean_ctor_set(x_319, 2, x_268); +lean_ctor_set(x_309, 2, x_319); +return x_274; +} +} +else +{ +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; +x_320 = lean_ctor_get(x_309, 0); +x_321 = lean_ctor_get(x_309, 1); +x_322 = lean_ctor_get(x_309, 3); +x_323 = lean_ctor_get(x_309, 4); +x_324 = lean_ctor_get(x_309, 5); +lean_inc(x_324); +lean_inc(x_323); +lean_inc(x_322); +lean_inc(x_321); +lean_inc(x_320); +lean_dec(x_309); +x_325 = lean_ctor_get(x_310, 0); +lean_inc(x_325); +x_326 = lean_ctor_get(x_310, 1); +lean_inc(x_326); +if (lean_is_exclusive(x_310)) { + lean_ctor_release(x_310, 0); + lean_ctor_release(x_310, 1); + lean_ctor_release(x_310, 2); + x_327 = x_310; +} else { + lean_dec_ref(x_310); + x_327 = lean_box(0); +} +if (lean_is_scalar(x_327)) { + x_328 = lean_alloc_ctor(0, 3, 0); +} else { + x_328 = x_327; +} +lean_ctor_set(x_328, 0, x_325); +lean_ctor_set(x_328, 1, x_326); +lean_ctor_set(x_328, 2, x_268); +x_329 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_329, 0, x_320); +lean_ctor_set(x_329, 1, x_321); +lean_ctor_set(x_329, 2, x_328); +lean_ctor_set(x_329, 3, x_322); +lean_ctor_set(x_329, 4, x_323); +lean_ctor_set(x_329, 5, x_324); +lean_ctor_set(x_274, 1, x_329); +return x_274; +} +} +else +{ +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; +x_330 = lean_ctor_get(x_274, 0); +lean_inc(x_330); +lean_dec(x_274); +x_331 = lean_ctor_get(x_309, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_309, 1); +lean_inc(x_332); +x_333 = lean_ctor_get(x_309, 3); +lean_inc(x_333); +x_334 = lean_ctor_get(x_309, 4); +lean_inc(x_334); +x_335 = lean_ctor_get(x_309, 5); +lean_inc(x_335); +if (lean_is_exclusive(x_309)) { + lean_ctor_release(x_309, 0); + lean_ctor_release(x_309, 1); + lean_ctor_release(x_309, 2); + lean_ctor_release(x_309, 3); + lean_ctor_release(x_309, 4); + lean_ctor_release(x_309, 5); + x_336 = x_309; +} else { + lean_dec_ref(x_309); + x_336 = lean_box(0); +} +x_337 = lean_ctor_get(x_310, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_310, 1); +lean_inc(x_338); +if (lean_is_exclusive(x_310)) { + lean_ctor_release(x_310, 0); + lean_ctor_release(x_310, 1); + lean_ctor_release(x_310, 2); + x_339 = x_310; +} else { + lean_dec_ref(x_310); + x_339 = lean_box(0); +} +if (lean_is_scalar(x_339)) { + x_340 = lean_alloc_ctor(0, 3, 0); +} else { + x_340 = x_339; +} +lean_ctor_set(x_340, 0, x_337); +lean_ctor_set(x_340, 1, x_338); +lean_ctor_set(x_340, 2, x_268); +if (lean_is_scalar(x_336)) { + x_341 = lean_alloc_ctor(0, 6, 0); +} else { + x_341 = x_336; +} +lean_ctor_set(x_341, 0, x_331); +lean_ctor_set(x_341, 1, x_332); +lean_ctor_set(x_341, 2, x_340); +lean_ctor_set(x_341, 3, x_333); +lean_ctor_set(x_341, 4, x_334); +lean_ctor_set(x_341, 5, x_335); +x_342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_342, 0, x_330); +lean_ctor_set(x_342, 1, x_341); +return x_342; +} +} +} +else +{ +lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; +x_343 = lean_ctor_get(x_8, 0); +x_344 = lean_ctor_get(x_8, 1); +x_345 = lean_ctor_get(x_8, 2); +lean_inc(x_345); +lean_inc(x_344); +lean_inc(x_343); +lean_dec(x_8); +x_346 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_346, 0, x_262); +lean_ctor_set(x_346, 1, x_24); +x_347 = lean_array_push(x_345, x_346); +x_348 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_348, 0, x_343); +lean_ctor_set(x_348, 1, x_344); +lean_ctor_set(x_348, 2, x_347); +x_349 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_264, x_348, x_261); +if (lean_obj_tag(x_349) == 0) +{ +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_350 = lean_ctor_get(x_349, 1); +lean_inc(x_350); +x_351 = lean_ctor_get(x_350, 2); +lean_inc(x_351); +x_352 = lean_ctor_get(x_349, 0); +lean_inc(x_352); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + x_353 = x_349; +} else { + lean_dec_ref(x_349); + x_353 = lean_box(0); +} +x_354 = lean_ctor_get(x_350, 0); +lean_inc(x_354); +x_355 = lean_ctor_get(x_350, 1); +lean_inc(x_355); +x_356 = lean_ctor_get(x_350, 3); +lean_inc(x_356); +x_357 = lean_ctor_get(x_350, 4); +lean_inc(x_357); +x_358 = lean_ctor_get(x_350, 5); +lean_inc(x_358); +if (lean_is_exclusive(x_350)) { + lean_ctor_release(x_350, 0); + lean_ctor_release(x_350, 1); + lean_ctor_release(x_350, 2); + lean_ctor_release(x_350, 3); + lean_ctor_release(x_350, 4); + lean_ctor_release(x_350, 5); + x_359 = x_350; +} else { + lean_dec_ref(x_350); + x_359 = lean_box(0); +} +x_360 = lean_ctor_get(x_351, 0); +lean_inc(x_360); +x_361 = lean_ctor_get(x_351, 1); +lean_inc(x_361); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + x_362 = x_351; +} else { + lean_dec_ref(x_351); + x_362 = lean_box(0); +} +if (lean_is_scalar(x_362)) { + x_363 = lean_alloc_ctor(0, 3, 0); +} else { + x_363 = x_362; +} +lean_ctor_set(x_363, 0, x_360); +lean_ctor_set(x_363, 1, x_361); +lean_ctor_set(x_363, 2, x_268); +if (lean_is_scalar(x_359)) { + x_364 = lean_alloc_ctor(0, 6, 0); +} else { + x_364 = x_359; +} +lean_ctor_set(x_364, 0, x_354); +lean_ctor_set(x_364, 1, x_355); +lean_ctor_set(x_364, 2, x_363); +lean_ctor_set(x_364, 3, x_356); +lean_ctor_set(x_364, 4, x_357); +lean_ctor_set(x_364, 5, x_358); +if (lean_is_scalar(x_353)) { + x_365 = lean_alloc_ctor(0, 2, 0); +} else { + x_365 = x_353; +} +lean_ctor_set(x_365, 0, x_352); +lean_ctor_set(x_365, 1, x_364); +return x_365; +} +else +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; +x_366 = lean_ctor_get(x_349, 1); +lean_inc(x_366); +x_367 = lean_ctor_get(x_366, 2); +lean_inc(x_367); +x_368 = lean_ctor_get(x_349, 0); +lean_inc(x_368); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + x_369 = x_349; +} else { + lean_dec_ref(x_349); + x_369 = lean_box(0); +} +x_370 = lean_ctor_get(x_366, 0); +lean_inc(x_370); +x_371 = lean_ctor_get(x_366, 1); +lean_inc(x_371); +x_372 = lean_ctor_get(x_366, 3); +lean_inc(x_372); +x_373 = lean_ctor_get(x_366, 4); +lean_inc(x_373); +x_374 = lean_ctor_get(x_366, 5); +lean_inc(x_374); +if (lean_is_exclusive(x_366)) { + lean_ctor_release(x_366, 0); + lean_ctor_release(x_366, 1); + lean_ctor_release(x_366, 2); + lean_ctor_release(x_366, 3); + lean_ctor_release(x_366, 4); + lean_ctor_release(x_366, 5); + x_375 = x_366; +} else { + lean_dec_ref(x_366); + x_375 = lean_box(0); +} +x_376 = lean_ctor_get(x_367, 0); +lean_inc(x_376); +x_377 = lean_ctor_get(x_367, 1); +lean_inc(x_377); +if (lean_is_exclusive(x_367)) { + lean_ctor_release(x_367, 0); + lean_ctor_release(x_367, 1); + lean_ctor_release(x_367, 2); + x_378 = x_367; +} else { + lean_dec_ref(x_367); + x_378 = lean_box(0); +} +if (lean_is_scalar(x_378)) { + x_379 = lean_alloc_ctor(0, 3, 0); +} else { + x_379 = x_378; +} +lean_ctor_set(x_379, 0, x_376); +lean_ctor_set(x_379, 1, x_377); +lean_ctor_set(x_379, 2, x_268); +if (lean_is_scalar(x_375)) { + x_380 = lean_alloc_ctor(0, 6, 0); +} else { + x_380 = x_375; +} +lean_ctor_set(x_380, 0, x_370); +lean_ctor_set(x_380, 1, x_371); +lean_ctor_set(x_380, 2, x_379); +lean_ctor_set(x_380, 3, x_372); +lean_ctor_set(x_380, 4, x_373); +lean_ctor_set(x_380, 5, x_374); +if (lean_is_scalar(x_369)) { + x_381 = lean_alloc_ctor(1, 2, 0); +} else { + x_381 = x_369; +} +lean_ctor_set(x_381, 0, x_368); +lean_ctor_set(x_381, 1, x_380); +return x_381; +} +} +} +else +{ +lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_382 = lean_ctor_get(x_266, 0); +x_383 = lean_ctor_get(x_266, 1); +x_384 = lean_ctor_get(x_266, 2); +lean_inc(x_384); +lean_inc(x_383); +lean_inc(x_382); +lean_dec(x_266); +x_385 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_386 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_386, 0, x_382); +lean_ctor_set(x_386, 1, x_383); +lean_ctor_set(x_386, 2, x_385); +lean_ctor_set(x_261, 2, x_386); +x_387 = lean_ctor_get(x_8, 0); +lean_inc(x_387); +x_388 = lean_ctor_get(x_8, 1); +lean_inc(x_388); +x_389 = lean_ctor_get(x_8, 2); +lean_inc(x_389); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_390 = x_8; +} else { + lean_dec_ref(x_8); + x_390 = lean_box(0); +} +x_391 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_391, 0, x_262); +lean_ctor_set(x_391, 1, x_24); +x_392 = lean_array_push(x_389, x_391); +if (lean_is_scalar(x_390)) { + x_393 = lean_alloc_ctor(0, 3, 0); +} else { + x_393 = x_390; +} +lean_ctor_set(x_393, 0, x_387); +lean_ctor_set(x_393, 1, x_388); +lean_ctor_set(x_393, 2, x_392); +x_394 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_264, x_393, x_261); +if (lean_obj_tag(x_394) == 0) +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; 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; +x_395 = lean_ctor_get(x_394, 1); +lean_inc(x_395); +x_396 = lean_ctor_get(x_395, 2); +lean_inc(x_396); +x_397 = lean_ctor_get(x_394, 0); +lean_inc(x_397); +if (lean_is_exclusive(x_394)) { + lean_ctor_release(x_394, 0); + lean_ctor_release(x_394, 1); + x_398 = x_394; +} else { + lean_dec_ref(x_394); + x_398 = lean_box(0); +} +x_399 = lean_ctor_get(x_395, 0); +lean_inc(x_399); +x_400 = lean_ctor_get(x_395, 1); +lean_inc(x_400); +x_401 = lean_ctor_get(x_395, 3); +lean_inc(x_401); +x_402 = lean_ctor_get(x_395, 4); +lean_inc(x_402); +x_403 = lean_ctor_get(x_395, 5); +lean_inc(x_403); +if (lean_is_exclusive(x_395)) { + lean_ctor_release(x_395, 0); + lean_ctor_release(x_395, 1); + lean_ctor_release(x_395, 2); + lean_ctor_release(x_395, 3); + lean_ctor_release(x_395, 4); + lean_ctor_release(x_395, 5); + x_404 = x_395; +} else { + lean_dec_ref(x_395); + x_404 = lean_box(0); +} +x_405 = lean_ctor_get(x_396, 0); +lean_inc(x_405); +x_406 = lean_ctor_get(x_396, 1); +lean_inc(x_406); +if (lean_is_exclusive(x_396)) { + lean_ctor_release(x_396, 0); + lean_ctor_release(x_396, 1); + lean_ctor_release(x_396, 2); + x_407 = x_396; +} else { + lean_dec_ref(x_396); + x_407 = lean_box(0); +} +if (lean_is_scalar(x_407)) { + x_408 = lean_alloc_ctor(0, 3, 0); +} else { + x_408 = x_407; +} +lean_ctor_set(x_408, 0, x_405); +lean_ctor_set(x_408, 1, x_406); +lean_ctor_set(x_408, 2, x_384); +if (lean_is_scalar(x_404)) { + x_409 = lean_alloc_ctor(0, 6, 0); +} else { + x_409 = x_404; +} +lean_ctor_set(x_409, 0, x_399); +lean_ctor_set(x_409, 1, x_400); +lean_ctor_set(x_409, 2, x_408); +lean_ctor_set(x_409, 3, x_401); +lean_ctor_set(x_409, 4, x_402); +lean_ctor_set(x_409, 5, x_403); +if (lean_is_scalar(x_398)) { + x_410 = lean_alloc_ctor(0, 2, 0); +} else { + x_410 = x_398; +} +lean_ctor_set(x_410, 0, x_397); +lean_ctor_set(x_410, 1, x_409); +return x_410; +} +else +{ +lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; +x_411 = lean_ctor_get(x_394, 1); +lean_inc(x_411); +x_412 = lean_ctor_get(x_411, 2); +lean_inc(x_412); +x_413 = lean_ctor_get(x_394, 0); +lean_inc(x_413); +if (lean_is_exclusive(x_394)) { + lean_ctor_release(x_394, 0); + lean_ctor_release(x_394, 1); + x_414 = x_394; +} else { + lean_dec_ref(x_394); + x_414 = lean_box(0); +} +x_415 = lean_ctor_get(x_411, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_411, 1); +lean_inc(x_416); +x_417 = lean_ctor_get(x_411, 3); +lean_inc(x_417); +x_418 = lean_ctor_get(x_411, 4); +lean_inc(x_418); +x_419 = lean_ctor_get(x_411, 5); +lean_inc(x_419); +if (lean_is_exclusive(x_411)) { + lean_ctor_release(x_411, 0); + lean_ctor_release(x_411, 1); + lean_ctor_release(x_411, 2); + lean_ctor_release(x_411, 3); + lean_ctor_release(x_411, 4); + lean_ctor_release(x_411, 5); + x_420 = x_411; +} else { + lean_dec_ref(x_411); + x_420 = lean_box(0); +} +x_421 = lean_ctor_get(x_412, 0); +lean_inc(x_421); +x_422 = lean_ctor_get(x_412, 1); +lean_inc(x_422); +if (lean_is_exclusive(x_412)) { + lean_ctor_release(x_412, 0); + lean_ctor_release(x_412, 1); + lean_ctor_release(x_412, 2); + x_423 = x_412; +} else { + lean_dec_ref(x_412); + x_423 = lean_box(0); +} +if (lean_is_scalar(x_423)) { + x_424 = lean_alloc_ctor(0, 3, 0); +} else { + x_424 = x_423; +} +lean_ctor_set(x_424, 0, x_421); +lean_ctor_set(x_424, 1, x_422); +lean_ctor_set(x_424, 2, x_384); +if (lean_is_scalar(x_420)) { + x_425 = lean_alloc_ctor(0, 6, 0); +} else { + x_425 = x_420; +} +lean_ctor_set(x_425, 0, x_415); +lean_ctor_set(x_425, 1, x_416); +lean_ctor_set(x_425, 2, x_424); +lean_ctor_set(x_425, 3, x_417); +lean_ctor_set(x_425, 4, x_418); +lean_ctor_set(x_425, 5, x_419); +if (lean_is_scalar(x_414)) { + x_426 = lean_alloc_ctor(1, 2, 0); +} else { + x_426 = x_414; +} +lean_ctor_set(x_426, 0, x_413); +lean_ctor_set(x_426, 1, x_425); +return x_426; +} +} +} +else +{ +lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; 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; +x_427 = lean_ctor_get(x_261, 2); +x_428 = lean_ctor_get(x_261, 0); +x_429 = lean_ctor_get(x_261, 1); +x_430 = lean_ctor_get(x_261, 3); +x_431 = lean_ctor_get(x_261, 4); +x_432 = lean_ctor_get(x_261, 5); +lean_inc(x_432); +lean_inc(x_431); +lean_inc(x_430); +lean_inc(x_427); +lean_inc(x_429); +lean_inc(x_428); +lean_dec(x_261); +x_433 = lean_ctor_get(x_427, 0); +lean_inc(x_433); +x_434 = lean_ctor_get(x_427, 1); +lean_inc(x_434); +x_435 = lean_ctor_get(x_427, 2); +lean_inc(x_435); +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + lean_ctor_release(x_427, 2); + x_436 = x_427; +} else { + lean_dec_ref(x_427); + x_436 = lean_box(0); +} +x_437 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_436)) { + x_438 = lean_alloc_ctor(0, 3, 0); +} else { + x_438 = x_436; +} +lean_ctor_set(x_438, 0, x_433); +lean_ctor_set(x_438, 1, x_434); +lean_ctor_set(x_438, 2, x_437); +x_439 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_439, 0, x_428); +lean_ctor_set(x_439, 1, x_429); +lean_ctor_set(x_439, 2, x_438); +lean_ctor_set(x_439, 3, x_430); +lean_ctor_set(x_439, 4, x_431); +lean_ctor_set(x_439, 5, x_432); +x_440 = lean_ctor_get(x_8, 0); +lean_inc(x_440); +x_441 = lean_ctor_get(x_8, 1); +lean_inc(x_441); +x_442 = lean_ctor_get(x_8, 2); +lean_inc(x_442); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_443 = x_8; +} else { + lean_dec_ref(x_8); + x_443 = lean_box(0); +} +x_444 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_444, 0, x_262); +lean_ctor_set(x_444, 1, x_24); +x_445 = lean_array_push(x_442, x_444); +if (lean_is_scalar(x_443)) { + x_446 = lean_alloc_ctor(0, 3, 0); +} else { + x_446 = x_443; +} +lean_ctor_set(x_446, 0, x_440); +lean_ctor_set(x_446, 1, x_441); +lean_ctor_set(x_446, 2, x_445); +x_447 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_264, x_446, x_439); +if (lean_obj_tag(x_447) == 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; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; +x_448 = lean_ctor_get(x_447, 1); +lean_inc(x_448); +x_449 = lean_ctor_get(x_448, 2); +lean_inc(x_449); +x_450 = lean_ctor_get(x_447, 0); +lean_inc(x_450); +if (lean_is_exclusive(x_447)) { + lean_ctor_release(x_447, 0); + lean_ctor_release(x_447, 1); + x_451 = x_447; +} else { + lean_dec_ref(x_447); + x_451 = lean_box(0); +} +x_452 = lean_ctor_get(x_448, 0); +lean_inc(x_452); +x_453 = lean_ctor_get(x_448, 1); +lean_inc(x_453); +x_454 = lean_ctor_get(x_448, 3); +lean_inc(x_454); +x_455 = lean_ctor_get(x_448, 4); +lean_inc(x_455); +x_456 = lean_ctor_get(x_448, 5); +lean_inc(x_456); +if (lean_is_exclusive(x_448)) { + lean_ctor_release(x_448, 0); + lean_ctor_release(x_448, 1); + lean_ctor_release(x_448, 2); + lean_ctor_release(x_448, 3); + lean_ctor_release(x_448, 4); + lean_ctor_release(x_448, 5); + x_457 = x_448; +} else { + lean_dec_ref(x_448); + x_457 = lean_box(0); +} +x_458 = lean_ctor_get(x_449, 0); +lean_inc(x_458); +x_459 = lean_ctor_get(x_449, 1); +lean_inc(x_459); +if (lean_is_exclusive(x_449)) { + lean_ctor_release(x_449, 0); + lean_ctor_release(x_449, 1); + lean_ctor_release(x_449, 2); + x_460 = x_449; +} else { + lean_dec_ref(x_449); + x_460 = lean_box(0); +} +if (lean_is_scalar(x_460)) { + x_461 = lean_alloc_ctor(0, 3, 0); +} else { + x_461 = x_460; +} +lean_ctor_set(x_461, 0, x_458); +lean_ctor_set(x_461, 1, x_459); +lean_ctor_set(x_461, 2, x_435); +if (lean_is_scalar(x_457)) { + x_462 = lean_alloc_ctor(0, 6, 0); +} else { + x_462 = x_457; +} +lean_ctor_set(x_462, 0, x_452); +lean_ctor_set(x_462, 1, x_453); +lean_ctor_set(x_462, 2, x_461); +lean_ctor_set(x_462, 3, x_454); +lean_ctor_set(x_462, 4, x_455); +lean_ctor_set(x_462, 5, x_456); +if (lean_is_scalar(x_451)) { + x_463 = lean_alloc_ctor(0, 2, 0); +} else { + x_463 = x_451; +} +lean_ctor_set(x_463, 0, x_450); +lean_ctor_set(x_463, 1, x_462); +return x_463; +} +else +{ +lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; +x_464 = lean_ctor_get(x_447, 1); +lean_inc(x_464); +x_465 = lean_ctor_get(x_464, 2); +lean_inc(x_465); +x_466 = lean_ctor_get(x_447, 0); +lean_inc(x_466); +if (lean_is_exclusive(x_447)) { + lean_ctor_release(x_447, 0); + lean_ctor_release(x_447, 1); + x_467 = x_447; +} else { + lean_dec_ref(x_447); + x_467 = lean_box(0); +} +x_468 = lean_ctor_get(x_464, 0); +lean_inc(x_468); +x_469 = lean_ctor_get(x_464, 1); +lean_inc(x_469); +x_470 = lean_ctor_get(x_464, 3); +lean_inc(x_470); +x_471 = lean_ctor_get(x_464, 4); +lean_inc(x_471); +x_472 = lean_ctor_get(x_464, 5); +lean_inc(x_472); +if (lean_is_exclusive(x_464)) { + lean_ctor_release(x_464, 0); + lean_ctor_release(x_464, 1); + lean_ctor_release(x_464, 2); + lean_ctor_release(x_464, 3); + lean_ctor_release(x_464, 4); + lean_ctor_release(x_464, 5); + x_473 = x_464; +} else { + lean_dec_ref(x_464); + x_473 = lean_box(0); +} +x_474 = lean_ctor_get(x_465, 0); +lean_inc(x_474); +x_475 = lean_ctor_get(x_465, 1); +lean_inc(x_475); +if (lean_is_exclusive(x_465)) { + lean_ctor_release(x_465, 0); + lean_ctor_release(x_465, 1); + lean_ctor_release(x_465, 2); + x_476 = x_465; +} else { + lean_dec_ref(x_465); + x_476 = lean_box(0); +} +if (lean_is_scalar(x_476)) { + x_477 = lean_alloc_ctor(0, 3, 0); +} else { + x_477 = x_476; +} +lean_ctor_set(x_477, 0, x_474); +lean_ctor_set(x_477, 1, x_475); +lean_ctor_set(x_477, 2, x_435); +if (lean_is_scalar(x_473)) { + x_478 = lean_alloc_ctor(0, 6, 0); +} else { + x_478 = x_473; +} +lean_ctor_set(x_478, 0, x_468); +lean_ctor_set(x_478, 1, x_469); +lean_ctor_set(x_478, 2, x_477); +lean_ctor_set(x_478, 3, x_470); +lean_ctor_set(x_478, 4, x_471); +lean_ctor_set(x_478, 5, x_472); +if (lean_is_scalar(x_467)) { + x_479 = lean_alloc_ctor(1, 2, 0); +} else { + x_479 = x_467; +} +lean_ctor_set(x_479, 0, x_466); +lean_ctor_set(x_479, 1, x_478); +return x_479; +} +} +} +} +else +{ +uint8_t x_480; +lean_dec(x_24); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_480 = !lean_is_exclusive(x_255); +if (x_480 == 0) +{ +return x_255; +} +else +{ +lean_object* x_481; lean_object* x_482; lean_object* x_483; +x_481 = lean_ctor_get(x_255, 0); +x_482 = lean_ctor_get(x_255, 1); +lean_inc(x_482); +lean_inc(x_481); +lean_dec(x_255); +x_483 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_483, 0, x_481); +lean_ctor_set(x_483, 1, x_482); +return x_483; +} +} +} +} +} +else +{ +uint8_t x_484; +lean_dec(x_28); +lean_dec(x_24); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_484 = !lean_is_exclusive(x_29); +if (x_484 == 0) +{ +return x_29; +} +else +{ +lean_object* x_485; lean_object* x_486; lean_object* x_487; +x_485 = lean_ctor_get(x_29, 0); +x_486 = lean_ctor_get(x_29, 1); +lean_inc(x_486); +lean_inc(x_485); +lean_dec(x_29); +x_487 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_487, 0, x_485); +lean_ctor_set(x_487, 1, x_486); +return x_487; +} +} +} +else +{ +uint8_t x_488; +lean_dec(x_24); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_488 = !lean_is_exclusive(x_25); +if (x_488 == 0) +{ +return x_25; +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; +x_489 = lean_ctor_get(x_25, 0); +x_490 = lean_ctor_get(x_25, 1); +lean_inc(x_490); +lean_inc(x_489); +lean_dec(x_25); +x_491 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_491, 0, x_489); +lean_ctor_set(x_491, 1, x_490); +return x_491; +} +} +} +} +} +lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +if (lean_obj_tag(x_9) == 7) +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint64_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_24 = lean_ctor_get(x_9, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_9, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_9, 2); +lean_inc(x_26); +x_27 = lean_ctor_get_uint64(x_9, sizeof(void*)*3); +lean_dec(x_9); +x_28 = lean_array_get_size(x_7); +lean_inc(x_7); +x_29 = lean_expr_instantiate_rev_range(x_25, x_8, x_28, x_7); +lean_dec(x_28); +lean_dec(x_25); +x_30 = l_Lean_Meta_mkFreshId___rarg(x_11); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = (uint8_t)((x_27 << 24) >> 61); +lean_inc(x_31); +x_34 = lean_local_ctx_mk_local_decl(x_6, x_31, x_24, x_29, x_33); +x_35 = l_Lean_mkFVar(x_31); +x_36 = lean_array_push(x_7, x_35); +x_6 = x_34; +x_7 = x_36; +x_9 = x_26; +x_11 = x_32; +goto _start; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint64_t x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_38 = lean_ctor_get(x_9, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_9, 1); +lean_inc(x_39); +x_40 = lean_ctor_get(x_9, 2); +lean_inc(x_40); +x_41 = lean_ctor_get_uint64(x_9, sizeof(void*)*3); +lean_dec(x_9); +x_42 = lean_ctor_get(x_5, 0); +lean_inc(x_42); +x_43 = lean_array_get_size(x_7); +x_44 = lean_nat_dec_lt(x_43, x_42); +lean_dec(x_42); +if (x_44 == 0) +{ +uint8_t x_45; +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_38); +lean_dec(x_5); +x_45 = !lean_is_exclusive(x_10); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_10, 1); +lean_dec(x_46); +lean_ctor_set(x_10, 1, x_6); +lean_inc(x_7); +x_47 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_7, x_43, x_7, x_8, x_10, x_11); +lean_dec(x_43); +lean_dec(x_7); +lean_dec(x_2); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_10, 0); +x_49 = lean_ctor_get(x_10, 2); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_10); +x_50 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_6); +lean_ctor_set(x_50, 2, x_49); +lean_inc(x_7); +x_51 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_7, x_43, x_7, x_8, x_50, x_11); +lean_dec(x_43); +lean_dec(x_7); +lean_dec(x_2); +return x_51; +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_inc(x_7); +x_52 = lean_expr_instantiate_rev_range(x_39, x_8, x_43, x_7); +lean_dec(x_43); +lean_dec(x_39); +x_53 = l_Lean_Meta_mkFreshId___rarg(x_11); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = (uint8_t)((x_41 << 24) >> 61); +lean_inc(x_54); +x_57 = lean_local_ctx_mk_local_decl(x_6, x_54, x_38, x_52, x_56); +x_58 = l_Lean_mkFVar(x_54); +x_59 = lean_array_push(x_7, x_58); +x_6 = x_57; +x_7 = x_59; +x_9 = x_40; +x_11 = x_55; +goto _start; +} +} +} +else +{ +lean_object* x_61; +x_61 = lean_box(0); +x_12 = x_61; +goto block_23; +} +block_23: +{ +lean_object* x_13; uint8_t x_14; +lean_dec(x_12); +x_13 = lean_array_get_size(x_7); +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_10, 1); +lean_dec(x_15); +lean_inc(x_6); +lean_ctor_set(x_10, 1, x_6); +if (x_4 == 0) +{ +lean_object* x_16; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_inc(x_7); +x_16 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_7, x_13, x_7, x_8, x_10, x_11); +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_2); +return x_16; +} +else +{ +lean_object* x_17; +lean_inc(x_8); +lean_inc(x_7); +x_17 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_7, x_8, x_10, x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_10, 0); +x_19 = lean_ctor_get(x_10, 2); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_10); +lean_inc(x_6); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_6); +lean_ctor_set(x_20, 2, x_19); +if (x_4 == 0) +{ +lean_object* x_21; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_inc(x_7); +x_21 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_7, x_13, x_7, x_8, x_20, x_11); +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_2); +return x_21; +} +else +{ +lean_object* x_22; +lean_inc(x_8); +lean_inc(x_7); +x_22 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_7, x_8, x_20, x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_22; +} +} +} +} +} +lean_object* l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +lean_inc(x_6); +x_8 = l_Lean_Meta_whnf(x_4, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +x_12 = l_Lean_Expr_isForall(x_10); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +lean_dec(x_10); +lean_dec(x_5); +x_13 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_FunInfo_6__getFunInfoAux___spec__2___closed__1; +x_14 = lean_nat_dec_eq(x_13, x_2); +lean_dec(x_2); +if (x_14 == 0) +{ +uint8_t x_15; lean_object* x_16; +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_15 = 0; +x_16 = lean_box(x_15); +lean_ctor_set(x_8, 0, x_16); +return x_8; +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_free_object(x_8); +x_17 = l_Array_empty___closed__1; +lean_inc(x_6); +x_18 = l_Lean_Meta_mkLambda(x_17, x_3, x_6, x_11); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign(x_1, x_19, x_6, x_20); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_6); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_18, 0); +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_18); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +else +{ +lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_free_object(x_8); +x_26 = lean_ctor_get(x_6, 1); +lean_inc(x_26); +x_27 = 1; +x_28 = l_Array_empty___closed__1; +x_29 = lean_unsigned_to_nat(0u); +x_30 = l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__2(x_1, x_2, x_3, x_27, x_5, x_26, x_28, x_29, x_10, x_6, x_11); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_8, 0); +x_32 = lean_ctor_get(x_8, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_8); +x_33 = l_Lean_Expr_isForall(x_31); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +lean_dec(x_31); +lean_dec(x_5); +x_34 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_FunInfo_6__getFunInfoAux___spec__2___closed__1; +x_35 = lean_nat_dec_eq(x_34, x_2); +lean_dec(x_2); +if (x_35 == 0) +{ +uint8_t x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_36 = 0; +x_37 = lean_box(x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_32); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = l_Array_empty___closed__1; +lean_inc(x_6); +x_40 = l_Lean_Meta_mkLambda(x_39, x_3, x_6, x_32); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign(x_1, x_41, x_6, x_42); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_6); +lean_dec(x_1); +x_44 = lean_ctor_get(x_40, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_46 = x_40; +} else { + lean_dec_ref(x_40); + x_46 = lean_box(0); +} +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(1, 2, 0); +} else { + x_47 = x_46; +} +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_45); +return x_47; +} +} +} +else +{ +lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_48 = lean_ctor_get(x_6, 1); +lean_inc(x_48); +x_49 = 1; +x_50 = l_Array_empty___closed__1; +x_51 = lean_unsigned_to_nat(0u); +x_52 = l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__2(x_1, x_2, x_3, x_49, x_5, x_48, x_50, x_51, x_31, x_6, x_32); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_53 = !lean_is_exclusive(x_8); +if (x_53 == 0) +{ +return x_8; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_8, 0); +x_55 = lean_ctor_get(x_8, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_8); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +} +lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(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_Expr_mvarId_x21(x_1); +x_7 = l_Array_empty___closed__1; +lean_inc(x_4); +lean_inc(x_6); +x_8 = l_Lean_Meta_checkAssignment(x_6, x_7, x_3, x_4, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_8, 0); +lean_dec(x_11); +x_12 = 0; +x_13 = lean_box(x_12); +lean_ctor_set(x_8, 0, x_13); +return x_8; +} +else +{ +lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_8, 1); +lean_inc(x_14); +lean_dec(x_8); +x_15 = 0; +x_16 = lean_box(x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_14); +return x_17; +} +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_dec(x_8); +x_19 = !lean_is_exclusive(x_9); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_9, 0); +x_21 = l_Lean_Meta_getMVarDecl(x_6, x_4, x_18); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 2); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_2); +lean_ctor_set(x_9, 0, x_2); +x_25 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__1(x_1, x_2, x_20, x_24, x_9, x_4, x_23); +return x_25; +} +else +{ +uint8_t x_26; +lean_free_object(x_9); +lean_dec(x_20); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_9, 0); +lean_inc(x_30); +lean_dec(x_9); +x_31 = l_Lean_Meta_getMVarDecl(x_6, x_4, x_18); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 2); +lean_inc(x_34); +lean_dec(x_32); +lean_inc(x_2); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_2); +x_36 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__1(x_1, x_2, x_30, x_34, x_35, x_4, x_33); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_30); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_37 = lean_ctor_get(x_31, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_39 = x_31; +} else { + lean_dec_ref(x_31); + x_39 = lean_box(0); +} +if (lean_is_scalar(x_39)) { + x_40 = lean_alloc_ctor(1, 2, 0); +} else { + x_40 = x_39; +} +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_38); +return x_40; +} +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_8); +if (x_41 == 0) +{ +return x_8; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_8, 0); +x_43 = lean_ctor_get(x_8, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_8); +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_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4___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) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_6); +lean_dec(x_6); +x_13 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +return x_16; +} +} +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_10; +} +} +lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_4); +lean_dec(x_4); +x_13 = l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__2(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___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; @@ -12130,7 +21405,7 @@ return x_10; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -12166,7 +21441,7 @@ return x_11; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -12203,91 +21478,7 @@ return x_12; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("checkTypes"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("typeMismatch"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_3 = l_Lean_Name_append___main(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" : "); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__6; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__7; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2; -x_3 = l_Lean_Name_append___main(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__10() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -12297,17 +21488,17 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__11() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__10; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1; x_3 = l_Lean_Name_append___main(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -12315,5121 +21506,1036 @@ x_8 = lean_array_get_size(x_5); x_9 = lean_nat_dec_lt(x_4, x_8); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_dec(x_4); x_10 = lean_ctor_get(x_6, 0); lean_inc(x_10); -x_11 = lean_ctor_get(x_6, 1); -lean_inc(x_11); -x_12 = lean_ctor_get(x_6, 2); +x_11 = l_Lean_Meta_instantiateMVars(x_3, x_6, x_7); +x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); -x_13 = l_Lean_Meta_instantiateMVars(x_3, x_6, x_7); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get_uint8(x_10, sizeof(void*)*1); -if (x_16 == 0) -{ -lean_object* x_1067; -x_1067 = lean_box(0); -x_17 = x_1067; -goto block_1066; -} -else -{ -uint8_t x_1068; -x_1068 = l_Array_isEmpty___rarg(x_5); -if (x_1068 == 0) -{ -lean_object* x_1069; -x_1069 = lean_box(0); -x_17 = x_1069; -goto block_1066; -} -else -{ -lean_object* x_1070; uint8_t x_1071; -x_1070 = l_Lean_Expr_getAppFn___main(x_14); -x_1071 = lean_expr_eqv(x_1070, x_1); -lean_dec(x_1070); -if (x_1071 == 0) -{ -lean_object* x_1072; -x_1072 = lean_box(0); -x_17 = x_1072; -goto block_1066; -} -else -{ -lean_object* x_1073; -lean_dec(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); lean_dec(x_11); +x_14 = lean_ctor_get_uint8(x_10, sizeof(void*)*1); lean_dec(x_10); +if (x_14 == 0) +{ +lean_object* x_124; +x_124 = lean_box(0); +x_15 = x_124; +goto block_123; +} +else +{ +uint8_t x_125; +x_125 = l_Array_isEmpty___rarg(x_5); +if (x_125 == 0) +{ +lean_object* x_126; +x_126 = lean_box(0); +x_15 = x_126; +goto block_123; +} +else +{ +lean_object* x_127; uint8_t x_128; +x_127 = l_Lean_Expr_getAppFn___main(x_12); +x_128 = lean_expr_eqv(x_127, x_1); +lean_dec(x_127); +if (x_128 == 0) +{ +lean_object* x_129; +x_129 = lean_box(0); +x_15 = x_129; +goto block_123; +} +else +{ +lean_object* x_130; lean_dec(x_8); -x_1073 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_14, x_6, x_15); +x_130 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_13); lean_dec(x_5); -return x_1073; +return x_130; } } } -block_1066: +block_123: { -lean_object* x_18; lean_object* x_19; -lean_dec(x_17); -x_18 = l_Lean_Expr_mvarId_x21(x_1); +lean_object* x_16; lean_object* x_17; +lean_dec(x_15); +x_16 = l_Lean_Expr_mvarId_x21(x_1); lean_inc(x_6); -lean_inc(x_14); +lean_inc(x_12); lean_inc(x_5); +x_17 = l_Lean_Meta_checkAssignment(x_16, x_5, x_12, x_6, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -x_19 = l_Lean_Meta_checkAssignment(x_18, x_5, x_14, x_6, x_15); -if (lean_obj_tag(x_19) == 0) +if (lean_obj_tag(x_18) == 0) { -lean_object* x_20; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) -{ -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); lean_dec(x_8); -if (x_16 == 0) +if (x_14 == 0) { -uint8_t x_21; -lean_dec(x_14); +uint8_t x_19; +lean_dec(x_12); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) { -lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_19, 0); -lean_dec(x_22); -x_23 = 0; -x_24 = lean_box(x_23); -lean_ctor_set(x_19, 0, x_24); -return x_19; +lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_17, 0); +lean_dec(x_20); +x_21 = 0; +x_22 = lean_box(x_21); +lean_ctor_set(x_17, 0, x_22); +return x_17; } else { -lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_19, 1); -lean_inc(x_25); -lean_dec(x_19); -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_25); +lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_dec(x_17); +x_24 = 0; +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_23); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_17, 1); +lean_inc(x_27); +lean_dec(x_17); +x_28 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_27); +lean_dec(x_5); return x_28; } } else { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_19, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_17, 1); lean_inc(x_29); -lean_dec(x_19); -x_30 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_14, x_6, x_29); -lean_dec(x_5); -return x_30; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_19, 1); -lean_inc(x_31); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_32 = x_19; -} else { - lean_dec_ref(x_19); - x_32 = lean_box(0); -} -x_33 = lean_ctor_get(x_20, 0); -lean_inc(x_33); -lean_dec(x_20); +lean_dec(x_17); +x_30 = lean_ctor_get(x_18, 0); +lean_inc(x_30); +lean_dec(x_18); lean_inc(x_6); lean_inc(x_5); -x_34 = l_Lean_Meta_mkLambda(x_5, x_33, x_6, x_31); -if (lean_obj_tag(x_34) == 0) +x_31 = l_Lean_Meta_mkLambda(x_5, x_30, x_6, x_29); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - x_37 = x_34; -} else { - lean_dec_ref(x_34); - x_37 = lean_box(0); -} -x_38 = lean_unsigned_to_nat(0u); -x_39 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__1(x_2, x_5, x_5, x_8, x_38); +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_unsigned_to_nat(0u); +x_35 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__1(x_2, x_5, x_5, x_8, x_34); lean_dec(x_8); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_12); +lean_dec(x_5); +x_36 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign(x_1, x_32, x_6, x_33); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_inc(x_6); +lean_inc(x_32); +x_37 = l_Lean_Meta_isTypeCorrect(x_32, x_6, x_33); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_unbox(x_38); +lean_dec(x_38); if (x_39 == 0) { -uint8_t x_40; lean_object* x_41; lean_object* x_502; uint8_t x_503; -lean_dec(x_14); -lean_dec(x_5); -x_502 = lean_ctor_get(x_36, 4); -lean_inc(x_502); -x_503 = lean_ctor_get_uint8(x_502, sizeof(void*)*1); -lean_dec(x_502); -if (x_503 == 0) -{ -uint8_t x_504; -x_504 = 0; -x_40 = x_504; -x_41 = x_36; -goto block_501; -} -else -{ -lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; uint8_t x_509; -x_505 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__9; -x_506 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_505, x_6, x_36); -x_507 = lean_ctor_get(x_506, 0); -lean_inc(x_507); -x_508 = lean_ctor_get(x_506, 1); -lean_inc(x_508); -lean_dec(x_506); -x_509 = lean_unbox(x_507); -lean_dec(x_507); -x_40 = x_509; -x_41 = x_508; -goto block_501; -} -block_501: -{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_37); if (x_40 == 0) { -uint8_t x_42; -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; uint8_t x_44; +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_41 = lean_ctor_get(x_37, 1); +x_42 = lean_ctor_get(x_37, 0); +lean_dec(x_42); x_43 = lean_ctor_get(x_41, 4); -x_44 = !lean_is_exclusive(x_43); +lean_inc(x_43); +x_44 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); +lean_dec(x_43); if (x_44 == 0) { -uint8_t x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; lean_object* x_71; lean_object* x_72; lean_object* x_92; -x_45 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); -x_46 = 0; -lean_ctor_set_uint8(x_43, sizeof(void*)*1, x_46); -lean_inc(x_6); -lean_inc(x_1); -x_92 = l_Lean_Meta_inferType(x_1, x_6, x_41); -if (lean_obj_tag(x_92) == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -lean_inc(x_6); -lean_inc(x_35); -x_95 = l_Lean_Meta_inferType(x_35, x_6, x_94); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = !lean_is_exclusive(x_10); -if (x_98 == 0) -{ -uint8_t x_99; lean_object* x_100; lean_object* x_101; -x_99 = 1; -lean_ctor_set_uint8(x_10, sizeof(void*)*1 + 5, x_99); -x_100 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_100, 0, x_10); -lean_ctor_set(x_100, 1, x_11); -lean_ctor_set(x_100, 2, x_12); -lean_inc(x_96); -lean_inc(x_93); -x_101 = l_Lean_Meta_isExprDefEqAux(x_93, x_96, x_100, x_97); -if (lean_obj_tag(x_101) == 0) -{ -lean_object* x_102; uint8_t x_103; -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_unbox(x_102); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_dec(x_32); -lean_dec(x_18); -x_104 = lean_ctor_get(x_101, 1); -lean_inc(x_104); -lean_dec(x_101); -x_105 = lean_ctor_get(x_104, 4); -lean_inc(x_105); -x_106 = lean_ctor_get_uint8(x_105, sizeof(void*)*1); -lean_dec(x_105); -if (x_106 == 0) +if (x_14 == 0) { -uint8_t x_107; -lean_dec(x_96); -lean_dec(x_93); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_107 = lean_unbox(x_102); -lean_dec(x_102); -x_47 = x_107; -x_48 = x_104; -goto block_70; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_108 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_109 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_108, x_6, x_104); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_unbox(x_110); -lean_dec(x_110); -if (x_111 == 0) -{ -lean_object* x_112; uint8_t x_113; -lean_dec(x_96); -lean_dec(x_93); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_112 = lean_ctor_get(x_109, 1); -lean_inc(x_112); -lean_dec(x_109); -x_113 = lean_unbox(x_102); -lean_dec(x_102); -x_47 = x_113; -x_48 = x_112; -goto block_70; -} -else -{ -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; uint8_t x_130; -x_114 = lean_ctor_get(x_109, 1); -lean_inc(x_114); -lean_dec(x_109); -x_115 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_115, 0, x_1); -x_116 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_117 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_118, 0, x_93); -x_119 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -x_120 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_121 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_122, 0, x_35); -x_123 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_116); -x_125 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_125, 0, x_96); -x_126 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -x_127 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_128 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_127, x_126, x_6, x_114); -lean_dec(x_6); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); -x_130 = lean_unbox(x_102); -lean_dec(x_102); -x_47 = x_130; -x_48 = x_129; -goto block_70; -} -} -} -else -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_96); -lean_dec(x_93); -lean_dec(x_1); -x_131 = lean_ctor_get(x_101, 1); -lean_inc(x_131); -lean_dec(x_101); -x_132 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_131); -lean_dec(x_6); -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_133; uint8_t x_134; -lean_dec(x_32); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_134 = lean_unbox(x_102); -lean_dec(x_102); -x_47 = x_134; -x_48 = x_133; -goto block_70; -} -else -{ -lean_object* x_135; lean_object* x_136; -lean_dec(x_102); -lean_dec(x_37); -x_135 = lean_ctor_get(x_132, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -lean_dec(x_132); -x_71 = x_135; -x_72 = x_136; -goto block_91; -} -} -} -else -{ -lean_object* x_137; lean_object* x_138; -lean_dec(x_96); -lean_dec(x_93); -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_1); -x_137 = lean_ctor_get(x_101, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_101, 1); -lean_inc(x_138); -lean_dec(x_101); -x_71 = x_137; -x_72 = x_138; -goto block_91; -} -} -else -{ -lean_object* x_139; 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_139 = lean_ctor_get(x_10, 0); -x_140 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 1); -x_141 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 2); -x_142 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 3); -x_143 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 4); -lean_inc(x_139); -lean_dec(x_10); -x_144 = 1; -x_145 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_145, 0, x_139); -lean_ctor_set_uint8(x_145, sizeof(void*)*1, x_16); -lean_ctor_set_uint8(x_145, sizeof(void*)*1 + 1, x_140); -lean_ctor_set_uint8(x_145, sizeof(void*)*1 + 2, x_141); -lean_ctor_set_uint8(x_145, sizeof(void*)*1 + 3, x_142); -lean_ctor_set_uint8(x_145, sizeof(void*)*1 + 4, x_143); -lean_ctor_set_uint8(x_145, sizeof(void*)*1 + 5, x_144); -x_146 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_11); -lean_ctor_set(x_146, 2, x_12); -lean_inc(x_96); -lean_inc(x_93); -x_147 = l_Lean_Meta_isExprDefEqAux(x_93, x_96, x_146, x_97); -if (lean_obj_tag(x_147) == 0) -{ -lean_object* x_148; uint8_t x_149; -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_unbox(x_148); -if (x_149 == 0) -{ -lean_object* x_150; lean_object* x_151; uint8_t x_152; -lean_dec(x_32); -lean_dec(x_18); -x_150 = lean_ctor_get(x_147, 1); -lean_inc(x_150); -lean_dec(x_147); -x_151 = lean_ctor_get(x_150, 4); -lean_inc(x_151); -x_152 = lean_ctor_get_uint8(x_151, sizeof(void*)*1); -lean_dec(x_151); -if (x_152 == 0) -{ -uint8_t x_153; -lean_dec(x_96); -lean_dec(x_93); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_153 = lean_unbox(x_148); -lean_dec(x_148); -x_47 = x_153; -x_48 = x_150; -goto block_70; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -x_154 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_155 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_154, x_6, x_150); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_unbox(x_156); -lean_dec(x_156); -if (x_157 == 0) -{ -lean_object* x_158; uint8_t x_159; -lean_dec(x_96); -lean_dec(x_93); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_158 = lean_ctor_get(x_155, 1); -lean_inc(x_158); -lean_dec(x_155); -x_159 = lean_unbox(x_148); -lean_dec(x_148); -x_47 = x_159; -x_48 = x_158; -goto block_70; -} -else -{ -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; uint8_t x_176; -x_160 = lean_ctor_get(x_155, 1); -lean_inc(x_160); -lean_dec(x_155); -x_161 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_161, 0, x_1); -x_162 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_163 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -x_164 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_164, 0, x_93); -x_165 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_164); -x_166 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_167 = lean_alloc_ctor(8, 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_35); -x_169 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -x_170 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_162); -x_171 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_171, 0, x_96); -x_172 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_172, 0, x_170); -lean_ctor_set(x_172, 1, x_171); -x_173 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_174 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_173, x_172, x_6, x_160); -lean_dec(x_6); -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -lean_dec(x_174); -x_176 = lean_unbox(x_148); -lean_dec(x_148); -x_47 = x_176; -x_48 = x_175; -goto block_70; -} -} -} -else -{ -lean_object* x_177; lean_object* x_178; -lean_dec(x_96); -lean_dec(x_93); -lean_dec(x_1); -x_177 = lean_ctor_get(x_147, 1); -lean_inc(x_177); -lean_dec(x_147); -x_178 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_177); -lean_dec(x_6); -if (lean_obj_tag(x_178) == 0) -{ -lean_object* x_179; uint8_t x_180; -lean_dec(x_32); -x_179 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -lean_dec(x_178); -x_180 = lean_unbox(x_148); -lean_dec(x_148); -x_47 = x_180; -x_48 = x_179; -goto block_70; -} -else -{ -lean_object* x_181; lean_object* x_182; -lean_dec(x_148); -lean_dec(x_37); -x_181 = lean_ctor_get(x_178, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_178, 1); -lean_inc(x_182); -lean_dec(x_178); -x_71 = x_181; -x_72 = x_182; -goto block_91; -} -} -} -else -{ -lean_object* x_183; lean_object* x_184; -lean_dec(x_96); -lean_dec(x_93); -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_1); -x_183 = lean_ctor_get(x_147, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_147, 1); -lean_inc(x_184); -lean_dec(x_147); -x_71 = x_183; -x_72 = x_184; -goto block_91; -} -} -} -else -{ -lean_object* x_185; lean_object* x_186; -lean_dec(x_93); -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); +uint8_t x_45; lean_object* x_46; lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); -x_185 = lean_ctor_get(x_95, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_95, 1); -lean_inc(x_186); -lean_dec(x_95); -x_71 = x_185; -x_72 = x_186; -goto block_91; +x_45 = 0; +x_46 = lean_box(x_45); +lean_ctor_set(x_37, 0, x_46); +return x_37; +} +else +{ +lean_object* x_47; +lean_free_object(x_37); +x_47 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_41); +lean_dec(x_5); +return x_47; } } else { -lean_object* x_187; lean_object* x_188; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_187 = lean_ctor_get(x_92, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_92, 1); -lean_inc(x_188); -lean_dec(x_92); -x_71 = x_187; -x_72 = x_188; -goto block_91; -} -block_70: -{ -uint8_t x_49; -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; uint8_t x_51; -x_50 = lean_ctor_get(x_48, 4); -x_51 = !lean_is_exclusive(x_50); +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +lean_free_object(x_37); +x_48 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__2; +x_49 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_48, x_6, x_41); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_unbox(x_50); +lean_dec(x_50); if (x_51 == 0) { -lean_object* x_52; lean_object* x_53; -lean_ctor_set_uint8(x_50, sizeof(void*)*1, x_45); -x_52 = lean_box(x_47); -if (lean_is_scalar(x_37)) { - x_53 = lean_alloc_ctor(0, 2, 0); -} else { - x_53 = x_37; -} -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_48); -return x_53; +lean_dec(x_32); +if (x_14 == 0) +{ +uint8_t x_52; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_52 = !lean_is_exclusive(x_49); +if (x_52 == 0) +{ +lean_object* x_53; uint8_t x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_49, 0); +lean_dec(x_53); +x_54 = 0; +x_55 = lean_box(x_54); +lean_ctor_set(x_49, 0, x_55); +return x_49; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_54 = lean_ctor_get(x_50, 0); -lean_inc(x_54); -lean_dec(x_50); -x_55 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set_uint8(x_55, sizeof(void*)*1, x_45); -lean_ctor_set(x_48, 4, x_55); -x_56 = lean_box(x_47); -if (lean_is_scalar(x_37)) { - x_57 = lean_alloc_ctor(0, 2, 0); -} else { - x_57 = x_37; -} -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_48); -return x_57; +lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_49, 1); +lean_inc(x_56); +lean_dec(x_49); +x_57 = 0; +x_58 = lean_box(x_57); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +return x_59; } } else { -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; -x_58 = lean_ctor_get(x_48, 4); -x_59 = lean_ctor_get(x_48, 0); -x_60 = lean_ctor_get(x_48, 1); -x_61 = lean_ctor_get(x_48, 2); -x_62 = lean_ctor_get(x_48, 3); -x_63 = lean_ctor_get(x_48, 5); -lean_inc(x_63); -lean_inc(x_58); -lean_inc(x_62); -lean_inc(x_61); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_49, 1); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_48); -x_64 = lean_ctor_get(x_58, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - x_65 = x_58; -} else { - lean_dec_ref(x_58); - x_65 = lean_box(0); +lean_dec(x_49); +x_61 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_60); +lean_dec(x_5); +return x_61; } -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(0, 1, 1); -} else { - x_66 = x_65; } -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set_uint8(x_66, sizeof(void*)*1, x_45); -x_67 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_67, 0, x_59); -lean_ctor_set(x_67, 1, x_60); -lean_ctor_set(x_67, 2, x_61); -lean_ctor_set(x_67, 3, x_62); -lean_ctor_set(x_67, 4, x_66); -lean_ctor_set(x_67, 5, x_63); -x_68 = lean_box(x_47); -if (lean_is_scalar(x_37)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_37; -} -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_62 = lean_ctor_get(x_49, 1); +lean_inc(x_62); +lean_dec(x_49); +lean_inc(x_1); +x_63 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_63, 0, x_1); +x_64 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; +x_65 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_66, 0, x_32); +x_67 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1; +x_69 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_68, x_67, x_6, x_62); +if (x_14 == 0) +{ +uint8_t x_70; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; uint8_t x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_69, 0); +lean_dec(x_71); +x_72 = 0; +x_73 = lean_box(x_72); +lean_ctor_set(x_69, 0, x_73); return x_69; } +else +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_69, 1); +lean_inc(x_74); +lean_dec(x_69); +x_75 = 0; +x_76 = lean_box(x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +return x_77; } -block_91: -{ -uint8_t x_73; -x_73 = !lean_is_exclusive(x_72); -if (x_73 == 0) -{ -lean_object* x_74; uint8_t x_75; -x_74 = lean_ctor_get(x_72, 4); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; -lean_ctor_set_uint8(x_74, sizeof(void*)*1, x_45); -if (lean_is_scalar(x_32)) { - x_76 = lean_alloc_ctor(1, 2, 0); -} else { - x_76 = x_32; - lean_ctor_set_tag(x_76, 1); -} -lean_ctor_set(x_76, 0, x_71); -lean_ctor_set(x_76, 1, x_72); -return x_76; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_74, 0); -lean_inc(x_77); -lean_dec(x_74); -x_78 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set_uint8(x_78, sizeof(void*)*1, x_45); -lean_ctor_set(x_72, 4, x_78); -if (lean_is_scalar(x_32)) { - x_79 = lean_alloc_ctor(1, 2, 0); -} else { - x_79 = x_32; - lean_ctor_set_tag(x_79, 1); -} -lean_ctor_set(x_79, 0, x_71); -lean_ctor_set(x_79, 1, x_72); +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_69, 1); +lean_inc(x_78); +lean_dec(x_69); +x_79 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_78); +lean_dec(x_5); return x_79; } } +} +} else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_80 = lean_ctor_get(x_72, 4); -x_81 = lean_ctor_get(x_72, 0); -x_82 = lean_ctor_get(x_72, 1); -x_83 = lean_ctor_get(x_72, 2); -x_84 = lean_ctor_get(x_72, 3); -x_85 = lean_ctor_get(x_72, 5); -lean_inc(x_85); +lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_80 = lean_ctor_get(x_37, 1); lean_inc(x_80); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); +lean_dec(x_37); +x_81 = lean_ctor_get(x_80, 4); lean_inc(x_81); -lean_dec(x_72); -x_86 = lean_ctor_get(x_80, 0); -lean_inc(x_86); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - x_87 = x_80; -} else { - lean_dec_ref(x_80); - x_87 = lean_box(0); -} -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(0, 1, 1); -} else { - x_88 = x_87; -} -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set_uint8(x_88, sizeof(void*)*1, x_45); -x_89 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_89, 0, x_81); -lean_ctor_set(x_89, 1, x_82); -lean_ctor_set(x_89, 2, x_83); -lean_ctor_set(x_89, 3, x_84); -lean_ctor_set(x_89, 4, x_88); -lean_ctor_set(x_89, 5, x_85); -if (lean_is_scalar(x_32)) { - x_90 = lean_alloc_ctor(1, 2, 0); -} else { - x_90 = x_32; - lean_ctor_set_tag(x_90, 1); -} -lean_ctor_set(x_90, 0, x_71); -lean_ctor_set(x_90, 1, x_89); -return x_90; +x_82 = lean_ctor_get_uint8(x_81, sizeof(void*)*1); +lean_dec(x_81); +if (x_82 == 0) +{ +lean_dec(x_32); +if (x_14 == 0) +{ +uint8_t x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_83 = 0; +x_84 = lean_box(x_83); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_80); +return x_85; } +else +{ +lean_object* x_86; +x_86 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_80); +lean_dec(x_5); +return x_86; } } else { -uint8_t x_189; lean_object* x_190; uint8_t x_191; lean_object* x_192; uint8_t x_193; lean_object* x_194; lean_object* x_209; lean_object* x_210; lean_object* x_224; -x_189 = lean_ctor_get_uint8(x_43, sizeof(void*)*1); -x_190 = lean_ctor_get(x_43, 0); -lean_inc(x_190); -lean_dec(x_43); -x_191 = 0; -x_192 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set_uint8(x_192, sizeof(void*)*1, x_191); -lean_ctor_set(x_41, 4, x_192); -lean_inc(x_6); +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_87 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__2; +x_88 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_87, x_6, x_80); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_unbox(x_89); +lean_dec(x_89); +if (x_90 == 0) +{ +lean_dec(x_32); +if (x_14 == 0) +{ +lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_92 = x_88; +} else { + lean_dec_ref(x_88); + x_92 = lean_box(0); +} +x_93 = 0; +x_94 = lean_box(x_93); +if (lean_is_scalar(x_92)) { + x_95 = lean_alloc_ctor(0, 2, 0); +} else { + x_95 = x_92; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_91); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_88, 1); +lean_inc(x_96); +lean_dec(x_88); +x_97 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_96); +lean_dec(x_5); +return x_97; +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_98 = lean_ctor_get(x_88, 1); +lean_inc(x_98); +lean_dec(x_88); lean_inc(x_1); -x_224 = l_Lean_Meta_inferType(x_1, x_6, x_41); -if (lean_obj_tag(x_224) == 0) +x_99 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_99, 0, x_1); +x_100 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; +x_101 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +x_102 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_102, 0, x_32); +x_103 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +x_104 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1; +x_105 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_104, x_103, x_6, x_98); +if (x_14 == 0) { -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); +lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_107 = x_105; +} else { + lean_dec_ref(x_105); + x_107 = lean_box(0); +} +x_108 = 0; +x_109 = lean_box(x_108); +if (lean_is_scalar(x_107)) { + x_110 = lean_alloc_ctor(0, 2, 0); +} else { + x_110 = x_107; +} +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_106); +return x_110; +} +else +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_105, 1); +lean_inc(x_111); +lean_dec(x_105); +x_112 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_111); +lean_dec(x_5); +return x_112; +} +} +} +} +} +else +{ +lean_object* x_113; lean_object* x_114; +lean_dec(x_12); +lean_dec(x_5); +x_113 = lean_ctor_get(x_37, 1); +lean_inc(x_113); +lean_dec(x_37); +x_114 = l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign(x_1, x_32, x_6, x_113); +return x_114; +} +} +} +else +{ +uint8_t x_115; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_115 = !lean_is_exclusive(x_31); +if (x_115 == 0) +{ +return x_31; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_31, 0); +x_117 = lean_ctor_get(x_31, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_31); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_119 = !lean_is_exclusive(x_17); +if (x_119 == 0) +{ +return x_17; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_17, 0); +x_121 = lean_ctor_get(x_17, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_17); +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 +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec(x_8); +x_131 = lean_ctor_get(x_6, 0); +lean_inc(x_131); +x_132 = lean_array_fget(x_5, x_4); lean_inc(x_6); -lean_inc(x_35); -x_227 = l_Lean_Meta_inferType(x_35, x_6, x_226); -if (lean_obj_tag(x_227) == 0) +x_133 = l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArg(x_132, x_6, x_7); +if (lean_obj_tag(x_133) == 0) { -lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; uint8_t x_232; uint8_t x_233; uint8_t x_234; lean_object* x_235; uint8_t x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -x_229 = lean_ctor_get(x_227, 1); -lean_inc(x_229); -lean_dec(x_227); -x_230 = lean_ctor_get(x_10, 0); -lean_inc(x_230); -x_231 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 1); -x_232 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 2); -x_233 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 3); -x_234 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - x_235 = x_10; +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + lean_ctor_release(x_133, 1); + x_136 = x_133; } else { - lean_dec_ref(x_10); - x_235 = lean_box(0); + lean_dec_ref(x_133); + x_136 = lean_box(0); } -x_236 = 1; -if (lean_is_scalar(x_235)) { - x_237 = lean_alloc_ctor(0, 1, 6); -} else { - x_237 = x_235; +lean_inc(x_134); +lean_inc(x_5); +x_137 = lean_array_fset(x_5, x_4, x_134); +if (lean_obj_tag(x_134) == 1) +{ +lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_155 = lean_ctor_get(x_134, 0); +lean_inc(x_155); +x_156 = lean_array_get_size(x_137); +x_157 = lean_nat_dec_le(x_4, x_156); +if (x_157 == 0) +{ +lean_object* x_158; uint8_t x_159; +x_158 = lean_unsigned_to_nat(0u); +x_159 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__2(x_4, x_5, lean_box(0), x_134, x_137, x_156, x_158); +lean_dec(x_134); +lean_dec(x_5); +if (x_159 == 0) +{ +lean_object* x_160; uint8_t x_161; +lean_dec(x_156); +x_160 = lean_ctor_get(x_2, 1); +x_161 = l_Lean_LocalContext_contains(x_160, x_155); +lean_dec(x_155); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +lean_dec(x_136); +lean_dec(x_131); +x_162 = lean_unsigned_to_nat(1u); +x_163 = lean_nat_add(x_4, x_162); +lean_dec(x_4); +x_4 = x_163; +x_5 = x_137; +x_7 = x_135; +goto _start; } -lean_ctor_set(x_237, 0, x_230); -lean_ctor_set_uint8(x_237, sizeof(void*)*1, x_16); -lean_ctor_set_uint8(x_237, sizeof(void*)*1 + 1, x_231); -lean_ctor_set_uint8(x_237, sizeof(void*)*1 + 2, x_232); -lean_ctor_set_uint8(x_237, sizeof(void*)*1 + 3, x_233); -lean_ctor_set_uint8(x_237, sizeof(void*)*1 + 4, x_234); -lean_ctor_set_uint8(x_237, sizeof(void*)*1 + 5, x_236); -x_238 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_11); -lean_ctor_set(x_238, 2, x_12); -lean_inc(x_228); -lean_inc(x_225); -x_239 = l_Lean_Meta_isExprDefEqAux(x_225, x_228, x_238, x_229); -if (lean_obj_tag(x_239) == 0) +else { -lean_object* x_240; uint8_t x_241; -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_unbox(x_240); -if (x_241 == 0) +uint8_t x_165; +x_165 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 2); +if (x_165 == 0) { -lean_object* x_242; lean_object* x_243; uint8_t x_244; -lean_dec(x_32); -lean_dec(x_18); -x_242 = lean_ctor_get(x_239, 1); -lean_inc(x_242); -lean_dec(x_239); -x_243 = lean_ctor_get(x_242, 4); -lean_inc(x_243); -x_244 = lean_ctor_get_uint8(x_243, sizeof(void*)*1); -lean_dec(x_243); -if (x_244 == 0) +lean_object* x_166; +lean_dec(x_4); +x_166 = lean_box(0); +x_138 = x_166; +goto block_154; +} +else { -uint8_t x_245; -lean_dec(x_228); -lean_dec(x_225); -lean_dec(x_35); +lean_object* x_167; lean_object* x_168; +lean_dec(x_136); +lean_dec(x_131); +x_167 = lean_unsigned_to_nat(1u); +x_168 = lean_nat_add(x_4, x_167); +lean_dec(x_4); +x_4 = x_168; +x_5 = x_137; +x_7 = x_135; +goto _start; +} +} +} +else +{ +uint8_t x_170; +lean_dec(x_155); +lean_dec(x_136); +lean_dec(x_4); +x_170 = lean_ctor_get_uint8(x_131, sizeof(void*)*1); +if (x_170 == 0) +{ +uint8_t x_171; +lean_dec(x_137); +x_171 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 3); +lean_dec(x_131); +if (x_171 == 0) +{ +uint8_t x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_156); lean_dec(x_6); +lean_dec(x_3); lean_dec(x_1); -x_245 = lean_unbox(x_240); -lean_dec(x_240); -x_193 = x_245; -x_194 = x_242; -goto block_208; +x_172 = 0; +x_173 = lean_box(x_172); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_135); +return x_174; } else { -lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; -x_246 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_247 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_246, x_6, x_242); -x_248 = lean_ctor_get(x_247, 0); -lean_inc(x_248); -x_249 = lean_unbox(x_248); -lean_dec(x_248); -if (x_249 == 0) +lean_object* x_175; +x_175 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_156, x_3, x_6, x_135); +return x_175; +} +} +else { -lean_object* x_250; uint8_t x_251; -lean_dec(x_228); -lean_dec(x_225); -lean_dec(x_35); +uint8_t x_176; +x_176 = l_Lean_Expr_isApp(x_3); +if (x_176 == 0) +{ +uint8_t x_177; +lean_dec(x_137); +x_177 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 3); +lean_dec(x_131); +if (x_177 == 0) +{ +uint8_t x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_156); lean_dec(x_6); +lean_dec(x_3); lean_dec(x_1); -x_250 = lean_ctor_get(x_247, 1); -lean_inc(x_250); -lean_dec(x_247); -x_251 = lean_unbox(x_240); -lean_dec(x_240); -x_193 = x_251; -x_194 = x_250; -goto block_208; +x_178 = 0; +x_179 = lean_box(x_178); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_135); +return x_180; } else { -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; -x_252 = lean_ctor_get(x_247, 1); -lean_inc(x_252); -lean_dec(x_247); -x_253 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_253, 0, x_1); -x_254 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_255 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_255, 0, x_253); -lean_ctor_set(x_255, 1, x_254); -x_256 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_256, 0, x_225); -x_257 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_257, 0, x_255); -lean_ctor_set(x_257, 1, x_256); -x_258 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_259 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_259, 0, x_257); -lean_ctor_set(x_259, 1, x_258); -x_260 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_260, 0, x_35); -x_261 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_261, 0, x_259); -lean_ctor_set(x_261, 1, x_260); -x_262 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_254); -x_263 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_263, 0, x_228); -x_264 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_264, 0, x_262); -lean_ctor_set(x_264, 1, x_263); -x_265 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_266 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_265, x_264, x_6, x_252); +lean_object* x_181; +x_181 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_156, x_3, x_6, x_135); +return x_181; +} +} +else +{ +lean_object* x_182; +lean_dec(x_156); +lean_dec(x_131); +x_182 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_137, x_3, x_6, x_135); +lean_dec(x_137); +return x_182; +} +} +} +} +else +{ +lean_object* x_183; uint8_t x_184; +x_183 = lean_unsigned_to_nat(0u); +x_184 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__3(x_4, x_5, lean_box(0), x_134, lean_box(0), x_137, x_4, x_183); +lean_dec(x_134); +lean_dec(x_5); +if (x_184 == 0) +{ +lean_object* x_185; uint8_t x_186; +lean_dec(x_156); +x_185 = lean_ctor_get(x_2, 1); +x_186 = l_Lean_LocalContext_contains(x_185, x_155); +lean_dec(x_155); +if (x_186 == 0) +{ +lean_object* x_187; lean_object* x_188; +lean_dec(x_136); +lean_dec(x_131); +x_187 = lean_unsigned_to_nat(1u); +x_188 = lean_nat_add(x_4, x_187); +lean_dec(x_4); +x_4 = x_188; +x_5 = x_137; +x_7 = x_135; +goto _start; +} +else +{ +uint8_t x_190; +x_190 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 2); +if (x_190 == 0) +{ +lean_object* x_191; +lean_dec(x_4); +x_191 = lean_box(0); +x_138 = x_191; +goto block_154; +} +else +{ +lean_object* x_192; lean_object* x_193; +lean_dec(x_136); +lean_dec(x_131); +x_192 = lean_unsigned_to_nat(1u); +x_193 = lean_nat_add(x_4, x_192); +lean_dec(x_4); +x_4 = x_193; +x_5 = x_137; +x_7 = x_135; +goto _start; +} +} +} +else +{ +uint8_t x_195; +lean_dec(x_155); +lean_dec(x_136); +lean_dec(x_4); +x_195 = lean_ctor_get_uint8(x_131, sizeof(void*)*1); +if (x_195 == 0) +{ +uint8_t x_196; +lean_dec(x_137); +x_196 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 3); +lean_dec(x_131); +if (x_196 == 0) +{ +uint8_t x_197; lean_object* x_198; lean_object* x_199; +lean_dec(x_156); lean_dec(x_6); -x_267 = lean_ctor_get(x_266, 1); -lean_inc(x_267); -lean_dec(x_266); -x_268 = lean_unbox(x_240); -lean_dec(x_240); -x_193 = x_268; -x_194 = x_267; -goto block_208; -} -} -} -else -{ -lean_object* x_269; lean_object* x_270; -lean_dec(x_228); -lean_dec(x_225); +lean_dec(x_3); lean_dec(x_1); -x_269 = lean_ctor_get(x_239, 1); -lean_inc(x_269); -lean_dec(x_239); -x_270 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_269); -lean_dec(x_6); -if (lean_obj_tag(x_270) == 0) -{ -lean_object* x_271; uint8_t x_272; -lean_dec(x_32); -x_271 = lean_ctor_get(x_270, 1); -lean_inc(x_271); -lean_dec(x_270); -x_272 = lean_unbox(x_240); -lean_dec(x_240); -x_193 = x_272; -x_194 = x_271; -goto block_208; +x_197 = 0; +x_198 = lean_box(x_197); +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_135); +return x_199; } else { -lean_object* x_273; lean_object* x_274; -lean_dec(x_240); -lean_dec(x_37); -x_273 = lean_ctor_get(x_270, 0); -lean_inc(x_273); -x_274 = lean_ctor_get(x_270, 1); -lean_inc(x_274); -lean_dec(x_270); -x_209 = x_273; -x_210 = x_274; -goto block_223; -} +lean_object* x_200; +x_200 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_156, x_3, x_6, x_135); +return x_200; } } else { -lean_object* x_275; lean_object* x_276; -lean_dec(x_228); -lean_dec(x_225); -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); +uint8_t x_201; +x_201 = l_Lean_Expr_isApp(x_3); +if (x_201 == 0) +{ +uint8_t x_202; +lean_dec(x_137); +x_202 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 3); +lean_dec(x_131); +if (x_202 == 0) +{ +uint8_t x_203; lean_object* x_204; lean_object* x_205; +lean_dec(x_156); lean_dec(x_6); +lean_dec(x_3); lean_dec(x_1); -x_275 = lean_ctor_get(x_239, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_239, 1); -lean_inc(x_276); -lean_dec(x_239); -x_209 = x_275; -x_210 = x_276; -goto block_223; +x_203 = 0; +x_204 = lean_box(x_203); +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_135); +return x_205; +} +else +{ +lean_object* x_206; +x_206 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_156, x_3, x_6, x_135); +return x_206; } } else { -lean_object* x_277; lean_object* x_278; -lean_dec(x_225); -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_277 = lean_ctor_get(x_227, 0); -lean_inc(x_277); -x_278 = lean_ctor_get(x_227, 1); -lean_inc(x_278); -lean_dec(x_227); -x_209 = x_277; -x_210 = x_278; -goto block_223; -} -} -else -{ -lean_object* x_279; lean_object* x_280; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_279 = lean_ctor_get(x_224, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_224, 1); -lean_inc(x_280); -lean_dec(x_224); -x_209 = x_279; -x_210 = x_280; -goto block_223; -} -block_208: -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_195 = lean_ctor_get(x_194, 4); -lean_inc(x_195); -x_196 = lean_ctor_get(x_194, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_194, 1); -lean_inc(x_197); -x_198 = lean_ctor_get(x_194, 2); -lean_inc(x_198); -x_199 = lean_ctor_get(x_194, 3); -lean_inc(x_199); -x_200 = lean_ctor_get(x_194, 5); -lean_inc(x_200); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - lean_ctor_release(x_194, 2); - lean_ctor_release(x_194, 3); - lean_ctor_release(x_194, 4); - lean_ctor_release(x_194, 5); - x_201 = x_194; -} else { - lean_dec_ref(x_194); - x_201 = lean_box(0); -} -x_202 = lean_ctor_get(x_195, 0); -lean_inc(x_202); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - x_203 = x_195; -} else { - lean_dec_ref(x_195); - x_203 = lean_box(0); -} -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(0, 1, 1); -} else { - x_204 = x_203; -} -lean_ctor_set(x_204, 0, x_202); -lean_ctor_set_uint8(x_204, sizeof(void*)*1, x_189); -if (lean_is_scalar(x_201)) { - x_205 = lean_alloc_ctor(0, 6, 0); -} else { - x_205 = x_201; -} -lean_ctor_set(x_205, 0, x_196); -lean_ctor_set(x_205, 1, x_197); -lean_ctor_set(x_205, 2, x_198); -lean_ctor_set(x_205, 3, x_199); -lean_ctor_set(x_205, 4, x_204); -lean_ctor_set(x_205, 5, x_200); -x_206 = lean_box(x_193); -if (lean_is_scalar(x_37)) { - x_207 = lean_alloc_ctor(0, 2, 0); -} else { - x_207 = x_37; -} -lean_ctor_set(x_207, 0, x_206); -lean_ctor_set(x_207, 1, x_205); +lean_object* x_207; +lean_dec(x_156); +lean_dec(x_131); +x_207 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_137, x_3, x_6, x_135); +lean_dec(x_137); return x_207; } -block_223: +} +} +} +} +else { -lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; -x_211 = lean_ctor_get(x_210, 4); -lean_inc(x_211); -x_212 = lean_ctor_get(x_210, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_210, 1); -lean_inc(x_213); -x_214 = lean_ctor_get(x_210, 2); -lean_inc(x_214); -x_215 = lean_ctor_get(x_210, 3); -lean_inc(x_215); -x_216 = lean_ctor_get(x_210, 5); -lean_inc(x_216); -if (lean_is_exclusive(x_210)) { - lean_ctor_release(x_210, 0); - lean_ctor_release(x_210, 1); - lean_ctor_release(x_210, 2); - lean_ctor_release(x_210, 3); - lean_ctor_release(x_210, 4); - lean_ctor_release(x_210, 5); - x_217 = x_210; -} else { - lean_dec_ref(x_210); - x_217 = lean_box(0); +uint8_t x_208; +lean_dec(x_136); +lean_dec(x_134); +lean_dec(x_5); +lean_dec(x_4); +x_208 = lean_ctor_get_uint8(x_131, sizeof(void*)*1); +if (x_208 == 0) +{ +uint8_t x_209; +x_209 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 3); +lean_dec(x_131); +if (x_209 == 0) +{ +uint8_t x_210; lean_object* x_211; lean_object* x_212; +lean_dec(x_137); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_210 = 0; +x_211 = lean_box(x_210); +x_212 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_135); +return x_212; } -x_218 = lean_ctor_get(x_211, 0); -lean_inc(x_218); -if (lean_is_exclusive(x_211)) { - lean_ctor_release(x_211, 0); - x_219 = x_211; -} else { - lean_dec_ref(x_211); - x_219 = lean_box(0); +else +{ +lean_object* x_213; lean_object* x_214; +x_213 = lean_array_get_size(x_137); +lean_dec(x_137); +x_214 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_213, x_3, x_6, x_135); +return x_214; } -if (lean_is_scalar(x_219)) { - x_220 = lean_alloc_ctor(0, 1, 1); -} else { - x_220 = x_219; } -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set_uint8(x_220, sizeof(void*)*1, x_189); -if (lean_is_scalar(x_217)) { - x_221 = lean_alloc_ctor(0, 6, 0); -} else { - x_221 = x_217; +else +{ +uint8_t x_215; +x_215 = l_Lean_Expr_isApp(x_3); +if (x_215 == 0) +{ +uint8_t x_216; +x_216 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 3); +lean_dec(x_131); +if (x_216 == 0) +{ +uint8_t x_217; lean_object* x_218; lean_object* x_219; +lean_dec(x_137); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_217 = 0; +x_218 = lean_box(x_217); +x_219 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_135); +return x_219; } -lean_ctor_set(x_221, 0, x_212); -lean_ctor_set(x_221, 1, x_213); -lean_ctor_set(x_221, 2, x_214); -lean_ctor_set(x_221, 3, x_215); -lean_ctor_set(x_221, 4, x_220); -lean_ctor_set(x_221, 5, x_216); -if (lean_is_scalar(x_32)) { - x_222 = lean_alloc_ctor(1, 2, 0); -} else { - x_222 = x_32; - lean_ctor_set_tag(x_222, 1); +else +{ +lean_object* x_220; lean_object* x_221; +x_220 = lean_array_get_size(x_137); +lean_dec(x_137); +x_221 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_220, x_3, x_6, x_135); +return x_221; } -lean_ctor_set(x_222, 0, x_209); -lean_ctor_set(x_222, 1, x_221); +} +else +{ +lean_object* x_222; +lean_dec(x_131); +x_222 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_137, x_3, x_6, x_135); +lean_dec(x_137); return x_222; } } } -else +block_154: { -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; lean_object* x_291; lean_object* x_292; uint8_t x_293; lean_object* x_294; lean_object* x_309; lean_object* x_310; lean_object* x_324; -x_281 = lean_ctor_get(x_41, 4); -x_282 = lean_ctor_get(x_41, 0); -x_283 = lean_ctor_get(x_41, 1); -x_284 = lean_ctor_get(x_41, 2); -x_285 = lean_ctor_get(x_41, 3); -x_286 = lean_ctor_get(x_41, 5); -lean_inc(x_286); -lean_inc(x_281); -lean_inc(x_285); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_dec(x_41); -x_287 = lean_ctor_get_uint8(x_281, sizeof(void*)*1); -x_288 = lean_ctor_get(x_281, 0); -lean_inc(x_288); -if (lean_is_exclusive(x_281)) { - lean_ctor_release(x_281, 0); - x_289 = x_281; -} else { - lean_dec_ref(x_281); - x_289 = lean_box(0); -} -x_290 = 0; -if (lean_is_scalar(x_289)) { - x_291 = lean_alloc_ctor(0, 1, 1); -} else { - x_291 = x_289; -} -lean_ctor_set(x_291, 0, x_288); -lean_ctor_set_uint8(x_291, sizeof(void*)*1, x_290); -x_292 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_292, 0, x_282); -lean_ctor_set(x_292, 1, x_283); -lean_ctor_set(x_292, 2, x_284); -lean_ctor_set(x_292, 3, x_285); -lean_ctor_set(x_292, 4, x_291); -lean_ctor_set(x_292, 5, x_286); -lean_inc(x_6); -lean_inc(x_1); -x_324 = l_Lean_Meta_inferType(x_1, x_6, x_292); -if (lean_obj_tag(x_324) == 0) +uint8_t x_139; +lean_dec(x_138); +x_139 = lean_ctor_get_uint8(x_131, sizeof(void*)*1); +if (x_139 == 0) { -lean_object* x_325; lean_object* x_326; lean_object* x_327; -x_325 = lean_ctor_get(x_324, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_324, 1); -lean_inc(x_326); -lean_dec(x_324); -lean_inc(x_6); -lean_inc(x_35); -x_327 = l_Lean_Meta_inferType(x_35, x_6, x_326); -if (lean_obj_tag(x_327) == 0) +uint8_t x_140; +x_140 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 3); +lean_dec(x_131); +if (x_140 == 0) { -lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; uint8_t x_332; uint8_t x_333; uint8_t x_334; lean_object* x_335; uint8_t x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_ctor_get(x_10, 0); -lean_inc(x_330); -x_331 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 1); -x_332 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 2); -x_333 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 3); -x_334 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - x_335 = x_10; -} else { - lean_dec_ref(x_10); - x_335 = lean_box(0); -} -x_336 = 1; -if (lean_is_scalar(x_335)) { - x_337 = lean_alloc_ctor(0, 1, 6); -} else { - x_337 = x_335; -} -lean_ctor_set(x_337, 0, x_330); -lean_ctor_set_uint8(x_337, sizeof(void*)*1, x_16); -lean_ctor_set_uint8(x_337, sizeof(void*)*1 + 1, x_331); -lean_ctor_set_uint8(x_337, sizeof(void*)*1 + 2, x_332); -lean_ctor_set_uint8(x_337, sizeof(void*)*1 + 3, x_333); -lean_ctor_set_uint8(x_337, sizeof(void*)*1 + 4, x_334); -lean_ctor_set_uint8(x_337, sizeof(void*)*1 + 5, x_336); -x_338 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_11); -lean_ctor_set(x_338, 2, x_12); -lean_inc(x_328); -lean_inc(x_325); -x_339 = l_Lean_Meta_isExprDefEqAux(x_325, x_328, x_338, x_329); -if (lean_obj_tag(x_339) == 0) -{ -lean_object* x_340; uint8_t x_341; -x_340 = lean_ctor_get(x_339, 0); -lean_inc(x_340); -x_341 = lean_unbox(x_340); -if (x_341 == 0) -{ -lean_object* x_342; lean_object* x_343; uint8_t x_344; -lean_dec(x_32); -lean_dec(x_18); -x_342 = lean_ctor_get(x_339, 1); -lean_inc(x_342); -lean_dec(x_339); -x_343 = lean_ctor_get(x_342, 4); -lean_inc(x_343); -x_344 = lean_ctor_get_uint8(x_343, sizeof(void*)*1); -lean_dec(x_343); -if (x_344 == 0) -{ -uint8_t x_345; -lean_dec(x_328); -lean_dec(x_325); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_345 = lean_unbox(x_340); -lean_dec(x_340); -x_293 = x_345; -x_294 = x_342; -goto block_308; -} -else -{ -lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; -x_346 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_347 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_346, x_6, x_342); -x_348 = lean_ctor_get(x_347, 0); -lean_inc(x_348); -x_349 = lean_unbox(x_348); -lean_dec(x_348); -if (x_349 == 0) -{ -lean_object* x_350; uint8_t x_351; -lean_dec(x_328); -lean_dec(x_325); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_350 = lean_ctor_get(x_347, 1); -lean_inc(x_350); -lean_dec(x_347); -x_351 = lean_unbox(x_340); -lean_dec(x_340); -x_293 = x_351; -x_294 = x_350; -goto block_308; -} -else -{ -lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; -x_352 = lean_ctor_get(x_347, 1); -lean_inc(x_352); -lean_dec(x_347); -x_353 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_353, 0, x_1); -x_354 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_355 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_355, 0, x_353); -lean_ctor_set(x_355, 1, x_354); -x_356 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_356, 0, x_325); -x_357 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_357, 0, x_355); -lean_ctor_set(x_357, 1, x_356); -x_358 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_359 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_359, 0, x_357); -lean_ctor_set(x_359, 1, x_358); -x_360 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_360, 0, x_35); -x_361 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_361, 0, x_359); -lean_ctor_set(x_361, 1, x_360); -x_362 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_362, 0, x_361); -lean_ctor_set(x_362, 1, x_354); -x_363 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_363, 0, x_328); -x_364 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_364, 0, x_362); -lean_ctor_set(x_364, 1, x_363); -x_365 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_366 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_365, x_364, x_6, x_352); -lean_dec(x_6); -x_367 = lean_ctor_get(x_366, 1); -lean_inc(x_367); -lean_dec(x_366); -x_368 = lean_unbox(x_340); -lean_dec(x_340); -x_293 = x_368; -x_294 = x_367; -goto block_308; -} -} -} -else -{ -lean_object* x_369; lean_object* x_370; -lean_dec(x_328); -lean_dec(x_325); -lean_dec(x_1); -x_369 = lean_ctor_get(x_339, 1); -lean_inc(x_369); -lean_dec(x_339); -x_370 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_369); -lean_dec(x_6); -if (lean_obj_tag(x_370) == 0) -{ -lean_object* x_371; uint8_t x_372; -lean_dec(x_32); -x_371 = lean_ctor_get(x_370, 1); -lean_inc(x_371); -lean_dec(x_370); -x_372 = lean_unbox(x_340); -lean_dec(x_340); -x_293 = x_372; -x_294 = x_371; -goto block_308; -} -else -{ -lean_object* x_373; lean_object* x_374; -lean_dec(x_340); -lean_dec(x_37); -x_373 = lean_ctor_get(x_370, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_370, 1); -lean_inc(x_374); -lean_dec(x_370); -x_309 = x_373; -x_310 = x_374; -goto block_323; -} -} -} -else -{ -lean_object* x_375; lean_object* x_376; -lean_dec(x_328); -lean_dec(x_325); -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_1); -x_375 = lean_ctor_get(x_339, 0); -lean_inc(x_375); -x_376 = lean_ctor_get(x_339, 1); -lean_inc(x_376); -lean_dec(x_339); -x_309 = x_375; -x_310 = x_376; -goto block_323; -} -} -else -{ -lean_object* x_377; lean_object* x_378; -lean_dec(x_325); -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_377 = lean_ctor_get(x_327, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_327, 1); -lean_inc(x_378); -lean_dec(x_327); -x_309 = x_377; -x_310 = x_378; -goto block_323; -} -} -else -{ -lean_object* x_379; lean_object* x_380; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_379 = lean_ctor_get(x_324, 0); -lean_inc(x_379); -x_380 = lean_ctor_get(x_324, 1); -lean_inc(x_380); -lean_dec(x_324); -x_309 = x_379; -x_310 = x_380; -goto block_323; -} -block_308: -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_295 = lean_ctor_get(x_294, 4); -lean_inc(x_295); -x_296 = lean_ctor_get(x_294, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_294, 1); -lean_inc(x_297); -x_298 = lean_ctor_get(x_294, 2); -lean_inc(x_298); -x_299 = lean_ctor_get(x_294, 3); -lean_inc(x_299); -x_300 = lean_ctor_get(x_294, 5); -lean_inc(x_300); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - lean_ctor_release(x_294, 2); - lean_ctor_release(x_294, 3); - lean_ctor_release(x_294, 4); - lean_ctor_release(x_294, 5); - x_301 = x_294; -} else { - lean_dec_ref(x_294); - x_301 = lean_box(0); -} -x_302 = lean_ctor_get(x_295, 0); -lean_inc(x_302); -if (lean_is_exclusive(x_295)) { - lean_ctor_release(x_295, 0); - x_303 = x_295; -} else { - lean_dec_ref(x_295); - x_303 = lean_box(0); -} -if (lean_is_scalar(x_303)) { - x_304 = lean_alloc_ctor(0, 1, 1); -} else { - x_304 = x_303; -} -lean_ctor_set(x_304, 0, x_302); -lean_ctor_set_uint8(x_304, sizeof(void*)*1, x_287); -if (lean_is_scalar(x_301)) { - x_305 = lean_alloc_ctor(0, 6, 0); -} else { - x_305 = x_301; -} -lean_ctor_set(x_305, 0, x_296); -lean_ctor_set(x_305, 1, x_297); -lean_ctor_set(x_305, 2, x_298); -lean_ctor_set(x_305, 3, x_299); -lean_ctor_set(x_305, 4, x_304); -lean_ctor_set(x_305, 5, x_300); -x_306 = lean_box(x_293); -if (lean_is_scalar(x_37)) { - x_307 = lean_alloc_ctor(0, 2, 0); -} else { - x_307 = x_37; -} -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_305); -return x_307; -} -block_323: -{ -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_311 = lean_ctor_get(x_310, 4); -lean_inc(x_311); -x_312 = lean_ctor_get(x_310, 0); -lean_inc(x_312); -x_313 = lean_ctor_get(x_310, 1); -lean_inc(x_313); -x_314 = lean_ctor_get(x_310, 2); -lean_inc(x_314); -x_315 = lean_ctor_get(x_310, 3); -lean_inc(x_315); -x_316 = lean_ctor_get(x_310, 5); -lean_inc(x_316); -if (lean_is_exclusive(x_310)) { - lean_ctor_release(x_310, 0); - lean_ctor_release(x_310, 1); - lean_ctor_release(x_310, 2); - lean_ctor_release(x_310, 3); - lean_ctor_release(x_310, 4); - lean_ctor_release(x_310, 5); - x_317 = x_310; -} else { - lean_dec_ref(x_310); - x_317 = lean_box(0); -} -x_318 = lean_ctor_get(x_311, 0); -lean_inc(x_318); -if (lean_is_exclusive(x_311)) { - lean_ctor_release(x_311, 0); - x_319 = x_311; -} else { - lean_dec_ref(x_311); - x_319 = lean_box(0); -} -if (lean_is_scalar(x_319)) { - x_320 = lean_alloc_ctor(0, 1, 1); -} else { - x_320 = x_319; -} -lean_ctor_set(x_320, 0, x_318); -lean_ctor_set_uint8(x_320, sizeof(void*)*1, x_287); -if (lean_is_scalar(x_317)) { - x_321 = lean_alloc_ctor(0, 6, 0); -} else { - x_321 = x_317; -} -lean_ctor_set(x_321, 0, x_312); -lean_ctor_set(x_321, 1, x_313); -lean_ctor_set(x_321, 2, x_314); -lean_ctor_set(x_321, 3, x_315); -lean_ctor_set(x_321, 4, x_320); -lean_ctor_set(x_321, 5, x_316); -if (lean_is_scalar(x_32)) { - x_322 = lean_alloc_ctor(1, 2, 0); -} else { - x_322 = x_32; - lean_ctor_set_tag(x_322, 1); -} -lean_ctor_set(x_322, 0, x_309); -lean_ctor_set(x_322, 1, x_321); -return x_322; -} -} -} -else -{ -lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; lean_object* x_385; lean_object* x_395; lean_object* x_396; lean_object* x_404; -lean_dec(x_37); -lean_dec(x_32); -x_381 = l___private_Init_Lean_Util_Trace_2__getResetTraces___at_Lean_Meta_check___spec__1___rarg(x_41); -x_382 = lean_ctor_get(x_381, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_381, 1); -lean_inc(x_383); -lean_dec(x_381); -lean_inc(x_6); -lean_inc(x_1); -x_404 = l_Lean_Meta_inferType(x_1, x_6, x_383); -if (lean_obj_tag(x_404) == 0) -{ -lean_object* x_405; lean_object* x_406; lean_object* x_407; -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); -lean_inc(x_6); -lean_inc(x_35); -x_407 = l_Lean_Meta_inferType(x_35, x_6, x_406); -if (lean_obj_tag(x_407) == 0) -{ -lean_object* x_408; lean_object* x_409; uint8_t x_410; -x_408 = lean_ctor_get(x_407, 0); -lean_inc(x_408); -x_409 = lean_ctor_get(x_407, 1); -lean_inc(x_409); -lean_dec(x_407); -x_410 = !lean_is_exclusive(x_10); -if (x_410 == 0) -{ -uint8_t x_411; lean_object* x_412; lean_object* x_413; -x_411 = 1; -lean_ctor_set_uint8(x_10, sizeof(void*)*1 + 5, x_411); -x_412 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_412, 0, x_10); -lean_ctor_set(x_412, 1, x_11); -lean_ctor_set(x_412, 2, x_12); -lean_inc(x_408); -lean_inc(x_405); -x_413 = l_Lean_Meta_isExprDefEqAux(x_405, x_408, x_412, x_409); -if (lean_obj_tag(x_413) == 0) -{ -lean_object* x_414; uint8_t x_415; -x_414 = lean_ctor_get(x_413, 0); -lean_inc(x_414); -x_415 = lean_unbox(x_414); -if (x_415 == 0) -{ -lean_object* x_416; lean_object* x_417; uint8_t x_418; -lean_dec(x_18); -x_416 = lean_ctor_get(x_413, 1); -lean_inc(x_416); -lean_dec(x_413); -x_417 = lean_ctor_get(x_416, 4); -lean_inc(x_417); -x_418 = lean_ctor_get_uint8(x_417, sizeof(void*)*1); -lean_dec(x_417); -if (x_418 == 0) -{ -uint8_t x_419; -lean_dec(x_408); -lean_dec(x_405); -lean_dec(x_35); -lean_dec(x_1); -x_419 = lean_unbox(x_414); -lean_dec(x_414); -x_384 = x_419; -x_385 = x_416; -goto block_394; -} -else -{ -lean_object* x_420; lean_object* x_421; lean_object* x_422; uint8_t x_423; -x_420 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_421 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_420, x_6, x_416); -x_422 = lean_ctor_get(x_421, 0); -lean_inc(x_422); -x_423 = lean_unbox(x_422); -lean_dec(x_422); -if (x_423 == 0) -{ -lean_object* x_424; uint8_t x_425; -lean_dec(x_408); -lean_dec(x_405); -lean_dec(x_35); -lean_dec(x_1); -x_424 = lean_ctor_get(x_421, 1); -lean_inc(x_424); -lean_dec(x_421); -x_425 = lean_unbox(x_414); -lean_dec(x_414); -x_384 = x_425; -x_385 = x_424; -goto block_394; -} -else -{ -lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; 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; uint8_t x_442; -x_426 = lean_ctor_get(x_421, 1); -lean_inc(x_426); -lean_dec(x_421); -x_427 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_427, 0, x_1); -x_428 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_429 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_429, 0, x_427); -lean_ctor_set(x_429, 1, x_428); -x_430 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_430, 0, x_405); -x_431 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_431, 0, x_429); -lean_ctor_set(x_431, 1, x_430); -x_432 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_433 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_433, 0, x_431); -lean_ctor_set(x_433, 1, x_432); -x_434 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_434, 0, x_35); -x_435 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_435, 0, x_433); -lean_ctor_set(x_435, 1, x_434); -x_436 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_436, 0, x_435); -lean_ctor_set(x_436, 1, x_428); -x_437 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_437, 0, x_408); -x_438 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_438, 0, x_436); -lean_ctor_set(x_438, 1, x_437); -x_439 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_440 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_439, x_438, x_6, x_426); -x_441 = lean_ctor_get(x_440, 1); -lean_inc(x_441); -lean_dec(x_440); -x_442 = lean_unbox(x_414); -lean_dec(x_414); -x_384 = x_442; -x_385 = x_441; -goto block_394; -} -} -} -else -{ -lean_object* x_443; lean_object* x_444; -lean_dec(x_408); -lean_dec(x_405); -lean_dec(x_1); -x_443 = lean_ctor_get(x_413, 1); -lean_inc(x_443); -lean_dec(x_413); -x_444 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_443); -if (lean_obj_tag(x_444) == 0) -{ -lean_object* x_445; uint8_t x_446; -x_445 = lean_ctor_get(x_444, 1); -lean_inc(x_445); -lean_dec(x_444); -x_446 = lean_unbox(x_414); -lean_dec(x_414); -x_384 = x_446; -x_385 = x_445; -goto block_394; -} -else -{ -lean_object* x_447; lean_object* x_448; -lean_dec(x_414); -x_447 = lean_ctor_get(x_444, 0); -lean_inc(x_447); -x_448 = lean_ctor_get(x_444, 1); -lean_inc(x_448); -lean_dec(x_444); -x_395 = x_447; -x_396 = x_448; -goto block_403; -} -} -} -else -{ -lean_object* x_449; lean_object* x_450; -lean_dec(x_408); -lean_dec(x_405); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_1); -x_449 = lean_ctor_get(x_413, 0); -lean_inc(x_449); -x_450 = lean_ctor_get(x_413, 1); -lean_inc(x_450); -lean_dec(x_413); -x_395 = x_449; -x_396 = x_450; -goto block_403; -} -} -else -{ -lean_object* x_451; uint8_t x_452; uint8_t x_453; uint8_t x_454; uint8_t x_455; uint8_t x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; -x_451 = lean_ctor_get(x_10, 0); -x_452 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 1); -x_453 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 2); -x_454 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 3); -x_455 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 4); -lean_inc(x_451); -lean_dec(x_10); -x_456 = 1; -x_457 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_457, 0, x_451); -lean_ctor_set_uint8(x_457, sizeof(void*)*1, x_16); -lean_ctor_set_uint8(x_457, sizeof(void*)*1 + 1, x_452); -lean_ctor_set_uint8(x_457, sizeof(void*)*1 + 2, x_453); -lean_ctor_set_uint8(x_457, sizeof(void*)*1 + 3, x_454); -lean_ctor_set_uint8(x_457, sizeof(void*)*1 + 4, x_455); -lean_ctor_set_uint8(x_457, sizeof(void*)*1 + 5, x_456); -x_458 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_458, 0, x_457); -lean_ctor_set(x_458, 1, x_11); -lean_ctor_set(x_458, 2, x_12); -lean_inc(x_408); -lean_inc(x_405); -x_459 = l_Lean_Meta_isExprDefEqAux(x_405, x_408, x_458, x_409); -if (lean_obj_tag(x_459) == 0) -{ -lean_object* x_460; uint8_t x_461; -x_460 = lean_ctor_get(x_459, 0); -lean_inc(x_460); -x_461 = lean_unbox(x_460); -if (x_461 == 0) -{ -lean_object* x_462; lean_object* x_463; uint8_t x_464; -lean_dec(x_18); -x_462 = lean_ctor_get(x_459, 1); -lean_inc(x_462); -lean_dec(x_459); -x_463 = lean_ctor_get(x_462, 4); -lean_inc(x_463); -x_464 = lean_ctor_get_uint8(x_463, sizeof(void*)*1); -lean_dec(x_463); -if (x_464 == 0) -{ -uint8_t x_465; -lean_dec(x_408); -lean_dec(x_405); -lean_dec(x_35); -lean_dec(x_1); -x_465 = lean_unbox(x_460); -lean_dec(x_460); -x_384 = x_465; -x_385 = x_462; -goto block_394; -} -else -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; uint8_t x_469; -x_466 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_467 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_466, x_6, x_462); -x_468 = lean_ctor_get(x_467, 0); -lean_inc(x_468); -x_469 = lean_unbox(x_468); -lean_dec(x_468); -if (x_469 == 0) -{ -lean_object* x_470; uint8_t x_471; -lean_dec(x_408); -lean_dec(x_405); -lean_dec(x_35); -lean_dec(x_1); -x_470 = lean_ctor_get(x_467, 1); -lean_inc(x_470); -lean_dec(x_467); -x_471 = lean_unbox(x_460); -lean_dec(x_460); -x_384 = x_471; -x_385 = x_470; -goto block_394; -} -else -{ -lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; uint8_t x_488; -x_472 = lean_ctor_get(x_467, 1); -lean_inc(x_472); -lean_dec(x_467); -x_473 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_473, 0, x_1); -x_474 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_475 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_475, 0, x_473); -lean_ctor_set(x_475, 1, x_474); -x_476 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_476, 0, x_405); -x_477 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_477, 0, x_475); -lean_ctor_set(x_477, 1, x_476); -x_478 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_479 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_479, 0, x_477); -lean_ctor_set(x_479, 1, x_478); -x_480 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_480, 0, x_35); -x_481 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_481, 0, x_479); -lean_ctor_set(x_481, 1, x_480); -x_482 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_482, 0, x_481); -lean_ctor_set(x_482, 1, x_474); -x_483 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_483, 0, x_408); -x_484 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_484, 0, x_482); -lean_ctor_set(x_484, 1, x_483); -x_485 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_486 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_485, x_484, x_6, x_472); -x_487 = lean_ctor_get(x_486, 1); -lean_inc(x_487); -lean_dec(x_486); -x_488 = lean_unbox(x_460); -lean_dec(x_460); -x_384 = x_488; -x_385 = x_487; -goto block_394; -} -} -} -else -{ -lean_object* x_489; lean_object* x_490; -lean_dec(x_408); -lean_dec(x_405); -lean_dec(x_1); -x_489 = lean_ctor_get(x_459, 1); -lean_inc(x_489); -lean_dec(x_459); -x_490 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_489); -if (lean_obj_tag(x_490) == 0) -{ -lean_object* x_491; uint8_t x_492; -x_491 = lean_ctor_get(x_490, 1); -lean_inc(x_491); -lean_dec(x_490); -x_492 = lean_unbox(x_460); -lean_dec(x_460); -x_384 = x_492; -x_385 = x_491; -goto block_394; -} -else -{ -lean_object* x_493; lean_object* x_494; -lean_dec(x_460); -x_493 = lean_ctor_get(x_490, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_490, 1); -lean_inc(x_494); -lean_dec(x_490); -x_395 = x_493; -x_396 = x_494; -goto block_403; -} -} -} -else -{ -lean_object* x_495; lean_object* x_496; -lean_dec(x_408); -lean_dec(x_405); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_1); -x_495 = lean_ctor_get(x_459, 0); -lean_inc(x_495); -x_496 = lean_ctor_get(x_459, 1); -lean_inc(x_496); -lean_dec(x_459); -x_395 = x_495; -x_396 = x_496; -goto block_403; -} -} -} -else -{ -lean_object* x_497; lean_object* x_498; -lean_dec(x_405); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_1); -x_497 = lean_ctor_get(x_407, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_407, 1); -lean_inc(x_498); -lean_dec(x_407); -x_395 = x_497; -x_396 = x_498; -goto block_403; -} -} -else -{ -lean_object* x_499; lean_object* x_500; -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_1); -x_499 = lean_ctor_get(x_404, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_404, 1); -lean_inc(x_500); -lean_dec(x_404); -x_395 = x_499; -x_396 = x_500; -goto block_403; -} -block_394: -{ -lean_object* x_386; lean_object* x_387; uint8_t x_388; -x_386 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2; -x_387 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_382, x_386, x_6, x_385); -lean_dec(x_6); -x_388 = !lean_is_exclusive(x_387); -if (x_388 == 0) -{ -lean_object* x_389; lean_object* x_390; -x_389 = lean_ctor_get(x_387, 0); -lean_dec(x_389); -x_390 = lean_box(x_384); -lean_ctor_set(x_387, 0, x_390); -return x_387; -} -else -{ -lean_object* x_391; lean_object* x_392; lean_object* x_393; -x_391 = lean_ctor_get(x_387, 1); -lean_inc(x_391); -lean_dec(x_387); -x_392 = lean_box(x_384); -x_393 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_393, 0, x_392); -lean_ctor_set(x_393, 1, x_391); -return x_393; -} -} -block_403: -{ -lean_object* x_397; lean_object* x_398; uint8_t x_399; -x_397 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2; -x_398 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_382, x_397, x_6, x_396); -lean_dec(x_6); -x_399 = !lean_is_exclusive(x_398); -if (x_399 == 0) -{ -lean_object* x_400; -x_400 = lean_ctor_get(x_398, 0); -lean_dec(x_400); -lean_ctor_set_tag(x_398, 1); -lean_ctor_set(x_398, 0, x_395); -return x_398; -} -else -{ -lean_object* x_401; lean_object* x_402; -x_401 = lean_ctor_get(x_398, 1); -lean_inc(x_401); -lean_dec(x_398); -x_402 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_402, 0, x_395); -lean_ctor_set(x_402, 1, x_401); -return x_402; -} -} -} -} -} -else -{ -lean_object* x_510; lean_object* x_511; uint8_t x_512; -lean_dec(x_32); -lean_inc(x_6); -lean_inc(x_35); -x_510 = l_Lean_Meta_isTypeCorrect(x_35, x_6, x_36); -x_511 = lean_ctor_get(x_510, 0); -lean_inc(x_511); -x_512 = lean_unbox(x_511); -lean_dec(x_511); -if (x_512 == 0) -{ -uint8_t x_513; -lean_dec(x_37); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -x_513 = !lean_is_exclusive(x_510); -if (x_513 == 0) -{ -lean_object* x_514; lean_object* x_515; lean_object* x_516; uint8_t x_517; -x_514 = lean_ctor_get(x_510, 1); -x_515 = lean_ctor_get(x_510, 0); -lean_dec(x_515); -x_516 = lean_ctor_get(x_514, 4); -lean_inc(x_516); -x_517 = lean_ctor_get_uint8(x_516, sizeof(void*)*1); -lean_dec(x_516); -if (x_517 == 0) -{ -lean_dec(x_35); -if (x_16 == 0) -{ -uint8_t x_518; lean_object* x_519; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_518 = 0; -x_519 = lean_box(x_518); -lean_ctor_set(x_510, 0, x_519); -return x_510; -} -else -{ -lean_object* x_520; -lean_free_object(x_510); -x_520 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_14, x_6, x_514); -lean_dec(x_5); -return x_520; -} -} -else -{ -lean_object* x_521; lean_object* x_522; lean_object* x_523; uint8_t x_524; -lean_free_object(x_510); -x_521 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__11; -x_522 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_521, x_6, x_514); -x_523 = lean_ctor_get(x_522, 0); -lean_inc(x_523); -x_524 = lean_unbox(x_523); -lean_dec(x_523); -if (x_524 == 0) -{ -lean_dec(x_35); -if (x_16 == 0) -{ -uint8_t x_525; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_525 = !lean_is_exclusive(x_522); -if (x_525 == 0) -{ -lean_object* x_526; uint8_t x_527; lean_object* x_528; -x_526 = lean_ctor_get(x_522, 0); -lean_dec(x_526); -x_527 = 0; -x_528 = lean_box(x_527); -lean_ctor_set(x_522, 0, x_528); -return x_522; -} -else -{ -lean_object* x_529; uint8_t x_530; lean_object* x_531; lean_object* x_532; -x_529 = lean_ctor_get(x_522, 1); -lean_inc(x_529); -lean_dec(x_522); -x_530 = 0; -x_531 = lean_box(x_530); -x_532 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_532, 0, x_531); -lean_ctor_set(x_532, 1, x_529); -return x_532; -} -} -else -{ -lean_object* x_533; lean_object* x_534; -x_533 = lean_ctor_get(x_522, 1); -lean_inc(x_533); -lean_dec(x_522); -x_534 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_14, x_6, x_533); -lean_dec(x_5); -return x_534; -} -} -else -{ -lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; -x_535 = lean_ctor_get(x_522, 1); -lean_inc(x_535); -lean_dec(x_522); -lean_inc(x_1); -x_536 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_536, 0, x_1); -x_537 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_538 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_538, 0, x_536); -lean_ctor_set(x_538, 1, x_537); -x_539 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_539, 0, x_35); -x_540 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_540, 0, x_538); -lean_ctor_set(x_540, 1, x_539); -x_541 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__10; -x_542 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_541, x_540, x_6, x_535); -if (x_16 == 0) -{ -uint8_t x_543; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_543 = !lean_is_exclusive(x_542); -if (x_543 == 0) -{ -lean_object* x_544; uint8_t x_545; lean_object* x_546; -x_544 = lean_ctor_get(x_542, 0); -lean_dec(x_544); -x_545 = 0; -x_546 = lean_box(x_545); -lean_ctor_set(x_542, 0, x_546); -return x_542; -} -else -{ -lean_object* x_547; uint8_t x_548; lean_object* x_549; lean_object* x_550; -x_547 = lean_ctor_get(x_542, 1); -lean_inc(x_547); -lean_dec(x_542); -x_548 = 0; -x_549 = lean_box(x_548); -x_550 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_550, 0, x_549); -lean_ctor_set(x_550, 1, x_547); -return x_550; -} -} -else -{ -lean_object* x_551; lean_object* x_552; -x_551 = lean_ctor_get(x_542, 1); -lean_inc(x_551); -lean_dec(x_542); -x_552 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_14, x_6, x_551); -lean_dec(x_5); -return x_552; -} -} -} -} -else -{ -lean_object* x_553; lean_object* x_554; uint8_t x_555; -x_553 = lean_ctor_get(x_510, 1); -lean_inc(x_553); -lean_dec(x_510); -x_554 = lean_ctor_get(x_553, 4); -lean_inc(x_554); -x_555 = lean_ctor_get_uint8(x_554, sizeof(void*)*1); -lean_dec(x_554); -if (x_555 == 0) -{ -lean_dec(x_35); -if (x_16 == 0) -{ -uint8_t x_556; lean_object* x_557; lean_object* x_558; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_556 = 0; -x_557 = lean_box(x_556); -x_558 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_558, 0, x_557); -lean_ctor_set(x_558, 1, x_553); -return x_558; -} -else -{ -lean_object* x_559; -x_559 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_14, x_6, x_553); -lean_dec(x_5); -return x_559; -} -} -else -{ -lean_object* x_560; lean_object* x_561; lean_object* x_562; uint8_t x_563; -x_560 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__11; -x_561 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_560, x_6, x_553); -x_562 = lean_ctor_get(x_561, 0); -lean_inc(x_562); -x_563 = lean_unbox(x_562); -lean_dec(x_562); -if (x_563 == 0) -{ -lean_dec(x_35); -if (x_16 == 0) -{ -lean_object* x_564; lean_object* x_565; uint8_t x_566; lean_object* x_567; lean_object* x_568; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_564 = lean_ctor_get(x_561, 1); -lean_inc(x_564); -if (lean_is_exclusive(x_561)) { - lean_ctor_release(x_561, 0); - lean_ctor_release(x_561, 1); - x_565 = x_561; -} else { - lean_dec_ref(x_561); - x_565 = lean_box(0); -} -x_566 = 0; -x_567 = lean_box(x_566); -if (lean_is_scalar(x_565)) { - x_568 = lean_alloc_ctor(0, 2, 0); -} else { - x_568 = x_565; -} -lean_ctor_set(x_568, 0, x_567); -lean_ctor_set(x_568, 1, x_564); -return x_568; -} -else -{ -lean_object* x_569; lean_object* x_570; -x_569 = lean_ctor_get(x_561, 1); -lean_inc(x_569); -lean_dec(x_561); -x_570 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_14, x_6, x_569); -lean_dec(x_5); -return x_570; -} -} -else -{ -lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; -x_571 = lean_ctor_get(x_561, 1); -lean_inc(x_571); -lean_dec(x_561); -lean_inc(x_1); -x_572 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_572, 0, x_1); -x_573 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_574 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_574, 0, x_572); -lean_ctor_set(x_574, 1, x_573); -x_575 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_575, 0, x_35); -x_576 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_576, 0, x_574); -lean_ctor_set(x_576, 1, x_575); -x_577 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__10; -x_578 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_577, x_576, x_6, x_571); -if (x_16 == 0) -{ -lean_object* x_579; lean_object* x_580; uint8_t x_581; lean_object* x_582; lean_object* x_583; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_579 = lean_ctor_get(x_578, 1); -lean_inc(x_579); -if (lean_is_exclusive(x_578)) { - lean_ctor_release(x_578, 0); - lean_ctor_release(x_578, 1); - x_580 = x_578; -} else { - lean_dec_ref(x_578); - x_580 = lean_box(0); -} -x_581 = 0; -x_582 = lean_box(x_581); -if (lean_is_scalar(x_580)) { - x_583 = lean_alloc_ctor(0, 2, 0); -} else { - x_583 = x_580; -} -lean_ctor_set(x_583, 0, x_582); -lean_ctor_set(x_583, 1, x_579); -return x_583; -} -else -{ -lean_object* x_584; lean_object* x_585; -x_584 = lean_ctor_get(x_578, 1); -lean_inc(x_584); -lean_dec(x_578); -x_585 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_14, x_6, x_584); -lean_dec(x_5); -return x_585; -} -} -} -} -} -else -{ -lean_object* x_586; lean_object* x_587; uint8_t x_588; lean_object* x_589; lean_object* x_1050; uint8_t x_1051; -lean_dec(x_14); -lean_dec(x_5); -x_586 = lean_ctor_get(x_510, 1); -lean_inc(x_586); -if (lean_is_exclusive(x_510)) { - lean_ctor_release(x_510, 0); - lean_ctor_release(x_510, 1); - x_587 = x_510; -} else { - lean_dec_ref(x_510); - x_587 = lean_box(0); -} -x_1050 = lean_ctor_get(x_586, 4); -lean_inc(x_1050); -x_1051 = lean_ctor_get_uint8(x_1050, sizeof(void*)*1); -lean_dec(x_1050); -if (x_1051 == 0) -{ -uint8_t x_1052; -x_1052 = 0; -x_588 = x_1052; -x_589 = x_586; -goto block_1049; -} -else -{ -lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; uint8_t x_1057; -x_1053 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__9; -x_1054 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_1053, x_6, x_586); -x_1055 = lean_ctor_get(x_1054, 0); -lean_inc(x_1055); -x_1056 = lean_ctor_get(x_1054, 1); -lean_inc(x_1056); -lean_dec(x_1054); -x_1057 = lean_unbox(x_1055); -lean_dec(x_1055); -x_588 = x_1057; -x_589 = x_1056; -goto block_1049; -} -block_1049: -{ -if (x_588 == 0) -{ -uint8_t x_590; -x_590 = !lean_is_exclusive(x_589); -if (x_590 == 0) -{ -lean_object* x_591; uint8_t x_592; -x_591 = lean_ctor_get(x_589, 4); -x_592 = !lean_is_exclusive(x_591); -if (x_592 == 0) -{ -uint8_t x_593; uint8_t x_594; uint8_t x_595; lean_object* x_596; lean_object* x_619; lean_object* x_620; lean_object* x_640; -x_593 = lean_ctor_get_uint8(x_591, sizeof(void*)*1); -x_594 = 0; -lean_ctor_set_uint8(x_591, sizeof(void*)*1, x_594); -lean_inc(x_6); -lean_inc(x_1); -x_640 = l_Lean_Meta_inferType(x_1, x_6, x_589); -if (lean_obj_tag(x_640) == 0) -{ -lean_object* x_641; lean_object* x_642; lean_object* x_643; -x_641 = lean_ctor_get(x_640, 0); -lean_inc(x_641); -x_642 = lean_ctor_get(x_640, 1); -lean_inc(x_642); -lean_dec(x_640); -lean_inc(x_6); -lean_inc(x_35); -x_643 = l_Lean_Meta_inferType(x_35, x_6, x_642); -if (lean_obj_tag(x_643) == 0) -{ -lean_object* x_644; lean_object* x_645; uint8_t x_646; -x_644 = lean_ctor_get(x_643, 0); -lean_inc(x_644); -x_645 = lean_ctor_get(x_643, 1); -lean_inc(x_645); -lean_dec(x_643); -x_646 = !lean_is_exclusive(x_10); -if (x_646 == 0) -{ -uint8_t x_647; lean_object* x_648; lean_object* x_649; -x_647 = 1; -lean_ctor_set_uint8(x_10, sizeof(void*)*1 + 5, x_647); -x_648 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_648, 0, x_10); -lean_ctor_set(x_648, 1, x_11); -lean_ctor_set(x_648, 2, x_12); -lean_inc(x_644); -lean_inc(x_641); -x_649 = l_Lean_Meta_isExprDefEqAux(x_641, x_644, x_648, x_645); -if (lean_obj_tag(x_649) == 0) -{ -lean_object* x_650; uint8_t x_651; -x_650 = lean_ctor_get(x_649, 0); -lean_inc(x_650); -x_651 = lean_unbox(x_650); -if (x_651 == 0) -{ -lean_object* x_652; lean_object* x_653; uint8_t x_654; -lean_dec(x_37); -lean_dec(x_18); -x_652 = lean_ctor_get(x_649, 1); -lean_inc(x_652); -lean_dec(x_649); -x_653 = lean_ctor_get(x_652, 4); -lean_inc(x_653); -x_654 = lean_ctor_get_uint8(x_653, sizeof(void*)*1); -lean_dec(x_653); -if (x_654 == 0) -{ -uint8_t x_655; -lean_dec(x_644); -lean_dec(x_641); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_655 = lean_unbox(x_650); -lean_dec(x_650); -x_595 = x_655; -x_596 = x_652; -goto block_618; -} -else -{ -lean_object* x_656; lean_object* x_657; lean_object* x_658; uint8_t x_659; -x_656 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_657 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_656, x_6, x_652); -x_658 = lean_ctor_get(x_657, 0); -lean_inc(x_658); -x_659 = lean_unbox(x_658); -lean_dec(x_658); -if (x_659 == 0) -{ -lean_object* x_660; uint8_t x_661; -lean_dec(x_644); -lean_dec(x_641); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_660 = lean_ctor_get(x_657, 1); -lean_inc(x_660); -lean_dec(x_657); -x_661 = lean_unbox(x_650); -lean_dec(x_650); -x_595 = x_661; -x_596 = x_660; -goto block_618; -} -else -{ -lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; uint8_t x_678; -x_662 = lean_ctor_get(x_657, 1); -lean_inc(x_662); -lean_dec(x_657); -x_663 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_663, 0, x_1); -x_664 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_665 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_665, 0, x_663); -lean_ctor_set(x_665, 1, x_664); -x_666 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_666, 0, x_641); -x_667 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_667, 0, x_665); -lean_ctor_set(x_667, 1, x_666); -x_668 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_669 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_669, 0, x_667); -lean_ctor_set(x_669, 1, x_668); -x_670 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_670, 0, x_35); -x_671 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_671, 0, x_669); -lean_ctor_set(x_671, 1, x_670); -x_672 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_672, 0, x_671); -lean_ctor_set(x_672, 1, x_664); -x_673 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_673, 0, x_644); -x_674 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_674, 0, x_672); -lean_ctor_set(x_674, 1, x_673); -x_675 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_676 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_675, x_674, x_6, x_662); -lean_dec(x_6); -x_677 = lean_ctor_get(x_676, 1); -lean_inc(x_677); -lean_dec(x_676); -x_678 = lean_unbox(x_650); -lean_dec(x_650); -x_595 = x_678; -x_596 = x_677; -goto block_618; -} -} -} -else -{ -lean_object* x_679; lean_object* x_680; -lean_dec(x_644); -lean_dec(x_641); -lean_dec(x_1); -x_679 = lean_ctor_get(x_649, 1); -lean_inc(x_679); -lean_dec(x_649); -x_680 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_679); -lean_dec(x_6); -if (lean_obj_tag(x_680) == 0) -{ -lean_object* x_681; uint8_t x_682; -lean_dec(x_37); -x_681 = lean_ctor_get(x_680, 1); -lean_inc(x_681); -lean_dec(x_680); -x_682 = lean_unbox(x_650); -lean_dec(x_650); -x_595 = x_682; -x_596 = x_681; -goto block_618; -} -else -{ -lean_object* x_683; lean_object* x_684; -lean_dec(x_650); -lean_dec(x_587); -x_683 = lean_ctor_get(x_680, 0); -lean_inc(x_683); -x_684 = lean_ctor_get(x_680, 1); -lean_inc(x_684); -lean_dec(x_680); -x_619 = x_683; -x_620 = x_684; -goto block_639; -} -} -} -else -{ -lean_object* x_685; lean_object* x_686; -lean_dec(x_644); -lean_dec(x_641); -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_1); -x_685 = lean_ctor_get(x_649, 0); -lean_inc(x_685); -x_686 = lean_ctor_get(x_649, 1); -lean_inc(x_686); -lean_dec(x_649); -x_619 = x_685; -x_620 = x_686; -goto block_639; -} -} -else -{ -lean_object* x_687; uint8_t x_688; uint8_t x_689; uint8_t x_690; uint8_t x_691; uint8_t x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; -x_687 = lean_ctor_get(x_10, 0); -x_688 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 1); -x_689 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 2); -x_690 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 3); -x_691 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 4); -lean_inc(x_687); -lean_dec(x_10); -x_692 = 1; -x_693 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_693, 0, x_687); -lean_ctor_set_uint8(x_693, sizeof(void*)*1, x_16); -lean_ctor_set_uint8(x_693, sizeof(void*)*1 + 1, x_688); -lean_ctor_set_uint8(x_693, sizeof(void*)*1 + 2, x_689); -lean_ctor_set_uint8(x_693, sizeof(void*)*1 + 3, x_690); -lean_ctor_set_uint8(x_693, sizeof(void*)*1 + 4, x_691); -lean_ctor_set_uint8(x_693, sizeof(void*)*1 + 5, x_692); -x_694 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_694, 0, x_693); -lean_ctor_set(x_694, 1, x_11); -lean_ctor_set(x_694, 2, x_12); -lean_inc(x_644); -lean_inc(x_641); -x_695 = l_Lean_Meta_isExprDefEqAux(x_641, x_644, x_694, x_645); -if (lean_obj_tag(x_695) == 0) -{ -lean_object* x_696; uint8_t x_697; -x_696 = lean_ctor_get(x_695, 0); -lean_inc(x_696); -x_697 = lean_unbox(x_696); -if (x_697 == 0) -{ -lean_object* x_698; lean_object* x_699; uint8_t x_700; -lean_dec(x_37); -lean_dec(x_18); -x_698 = lean_ctor_get(x_695, 1); -lean_inc(x_698); -lean_dec(x_695); -x_699 = lean_ctor_get(x_698, 4); -lean_inc(x_699); -x_700 = lean_ctor_get_uint8(x_699, sizeof(void*)*1); -lean_dec(x_699); -if (x_700 == 0) -{ -uint8_t x_701; -lean_dec(x_644); -lean_dec(x_641); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_701 = lean_unbox(x_696); -lean_dec(x_696); -x_595 = x_701; -x_596 = x_698; -goto block_618; -} -else -{ -lean_object* x_702; lean_object* x_703; lean_object* x_704; uint8_t x_705; -x_702 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_703 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_702, x_6, x_698); -x_704 = lean_ctor_get(x_703, 0); -lean_inc(x_704); -x_705 = lean_unbox(x_704); -lean_dec(x_704); -if (x_705 == 0) -{ -lean_object* x_706; uint8_t x_707; -lean_dec(x_644); -lean_dec(x_641); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_706 = lean_ctor_get(x_703, 1); -lean_inc(x_706); -lean_dec(x_703); -x_707 = lean_unbox(x_696); -lean_dec(x_696); -x_595 = x_707; -x_596 = x_706; -goto block_618; -} -else -{ -lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; uint8_t x_724; -x_708 = lean_ctor_get(x_703, 1); -lean_inc(x_708); -lean_dec(x_703); -x_709 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_709, 0, x_1); -x_710 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_711 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_711, 0, x_709); -lean_ctor_set(x_711, 1, x_710); -x_712 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_712, 0, x_641); -x_713 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_713, 0, x_711); -lean_ctor_set(x_713, 1, x_712); -x_714 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_715 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_715, 0, x_713); -lean_ctor_set(x_715, 1, x_714); -x_716 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_716, 0, x_35); -x_717 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_717, 0, x_715); -lean_ctor_set(x_717, 1, x_716); -x_718 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_718, 0, x_717); -lean_ctor_set(x_718, 1, x_710); -x_719 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_719, 0, x_644); -x_720 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_720, 0, x_718); -lean_ctor_set(x_720, 1, x_719); -x_721 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_722 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_721, x_720, x_6, x_708); -lean_dec(x_6); -x_723 = lean_ctor_get(x_722, 1); -lean_inc(x_723); -lean_dec(x_722); -x_724 = lean_unbox(x_696); -lean_dec(x_696); -x_595 = x_724; -x_596 = x_723; -goto block_618; -} -} -} -else -{ -lean_object* x_725; lean_object* x_726; -lean_dec(x_644); -lean_dec(x_641); -lean_dec(x_1); -x_725 = lean_ctor_get(x_695, 1); -lean_inc(x_725); -lean_dec(x_695); -x_726 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_725); -lean_dec(x_6); -if (lean_obj_tag(x_726) == 0) -{ -lean_object* x_727; uint8_t x_728; -lean_dec(x_37); -x_727 = lean_ctor_get(x_726, 1); -lean_inc(x_727); -lean_dec(x_726); -x_728 = lean_unbox(x_696); -lean_dec(x_696); -x_595 = x_728; -x_596 = x_727; -goto block_618; -} -else -{ -lean_object* x_729; lean_object* x_730; -lean_dec(x_696); -lean_dec(x_587); -x_729 = lean_ctor_get(x_726, 0); -lean_inc(x_729); -x_730 = lean_ctor_get(x_726, 1); -lean_inc(x_730); -lean_dec(x_726); -x_619 = x_729; -x_620 = x_730; -goto block_639; -} -} -} -else -{ -lean_object* x_731; lean_object* x_732; -lean_dec(x_644); -lean_dec(x_641); -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_1); -x_731 = lean_ctor_get(x_695, 0); -lean_inc(x_731); -x_732 = lean_ctor_get(x_695, 1); -lean_inc(x_732); -lean_dec(x_695); -x_619 = x_731; -x_620 = x_732; -goto block_639; -} -} -} -else -{ -lean_object* x_733; lean_object* x_734; -lean_dec(x_641); -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_733 = lean_ctor_get(x_643, 0); -lean_inc(x_733); -x_734 = lean_ctor_get(x_643, 1); -lean_inc(x_734); -lean_dec(x_643); -x_619 = x_733; -x_620 = x_734; -goto block_639; -} -} -else -{ -lean_object* x_735; lean_object* x_736; -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_735 = lean_ctor_get(x_640, 0); -lean_inc(x_735); -x_736 = lean_ctor_get(x_640, 1); -lean_inc(x_736); -lean_dec(x_640); -x_619 = x_735; -x_620 = x_736; -goto block_639; -} -block_618: -{ -uint8_t x_597; -x_597 = !lean_is_exclusive(x_596); -if (x_597 == 0) -{ -lean_object* x_598; uint8_t x_599; -x_598 = lean_ctor_get(x_596, 4); -x_599 = !lean_is_exclusive(x_598); -if (x_599 == 0) -{ -lean_object* x_600; lean_object* x_601; -lean_ctor_set_uint8(x_598, sizeof(void*)*1, x_593); -x_600 = lean_box(x_595); -if (lean_is_scalar(x_587)) { - x_601 = lean_alloc_ctor(0, 2, 0); -} else { - x_601 = x_587; -} -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_596); -return x_601; -} -else -{ -lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; -x_602 = lean_ctor_get(x_598, 0); -lean_inc(x_602); -lean_dec(x_598); -x_603 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_603, 0, x_602); -lean_ctor_set_uint8(x_603, sizeof(void*)*1, x_593); -lean_ctor_set(x_596, 4, x_603); -x_604 = lean_box(x_595); -if (lean_is_scalar(x_587)) { - x_605 = lean_alloc_ctor(0, 2, 0); -} else { - x_605 = x_587; -} -lean_ctor_set(x_605, 0, x_604); -lean_ctor_set(x_605, 1, x_596); -return x_605; -} -} -else -{ -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; -x_606 = lean_ctor_get(x_596, 4); -x_607 = lean_ctor_get(x_596, 0); -x_608 = lean_ctor_get(x_596, 1); -x_609 = lean_ctor_get(x_596, 2); -x_610 = lean_ctor_get(x_596, 3); -x_611 = lean_ctor_get(x_596, 5); -lean_inc(x_611); -lean_inc(x_606); -lean_inc(x_610); -lean_inc(x_609); -lean_inc(x_608); -lean_inc(x_607); -lean_dec(x_596); -x_612 = lean_ctor_get(x_606, 0); -lean_inc(x_612); -if (lean_is_exclusive(x_606)) { - lean_ctor_release(x_606, 0); - x_613 = x_606; -} else { - lean_dec_ref(x_606); - x_613 = lean_box(0); -} -if (lean_is_scalar(x_613)) { - x_614 = lean_alloc_ctor(0, 1, 1); -} else { - x_614 = x_613; -} -lean_ctor_set(x_614, 0, x_612); -lean_ctor_set_uint8(x_614, sizeof(void*)*1, x_593); -x_615 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_615, 0, x_607); -lean_ctor_set(x_615, 1, x_608); -lean_ctor_set(x_615, 2, x_609); -lean_ctor_set(x_615, 3, x_610); -lean_ctor_set(x_615, 4, x_614); -lean_ctor_set(x_615, 5, x_611); -x_616 = lean_box(x_595); -if (lean_is_scalar(x_587)) { - x_617 = lean_alloc_ctor(0, 2, 0); -} else { - x_617 = x_587; -} -lean_ctor_set(x_617, 0, x_616); -lean_ctor_set(x_617, 1, x_615); -return x_617; -} -} -block_639: -{ -uint8_t x_621; -x_621 = !lean_is_exclusive(x_620); -if (x_621 == 0) -{ -lean_object* x_622; uint8_t x_623; -x_622 = lean_ctor_get(x_620, 4); -x_623 = !lean_is_exclusive(x_622); -if (x_623 == 0) -{ -lean_object* x_624; -lean_ctor_set_uint8(x_622, sizeof(void*)*1, x_593); -if (lean_is_scalar(x_37)) { - x_624 = lean_alloc_ctor(1, 2, 0); -} else { - x_624 = x_37; - lean_ctor_set_tag(x_624, 1); -} -lean_ctor_set(x_624, 0, x_619); -lean_ctor_set(x_624, 1, x_620); -return x_624; -} -else -{ -lean_object* x_625; lean_object* x_626; lean_object* x_627; -x_625 = lean_ctor_get(x_622, 0); -lean_inc(x_625); -lean_dec(x_622); -x_626 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_626, 0, x_625); -lean_ctor_set_uint8(x_626, sizeof(void*)*1, x_593); -lean_ctor_set(x_620, 4, x_626); -if (lean_is_scalar(x_37)) { - x_627 = lean_alloc_ctor(1, 2, 0); -} else { - x_627 = x_37; - lean_ctor_set_tag(x_627, 1); -} -lean_ctor_set(x_627, 0, x_619); -lean_ctor_set(x_627, 1, x_620); -return x_627; -} -} -else -{ -lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; -x_628 = lean_ctor_get(x_620, 4); -x_629 = lean_ctor_get(x_620, 0); -x_630 = lean_ctor_get(x_620, 1); -x_631 = lean_ctor_get(x_620, 2); -x_632 = lean_ctor_get(x_620, 3); -x_633 = lean_ctor_get(x_620, 5); -lean_inc(x_633); -lean_inc(x_628); -lean_inc(x_632); -lean_inc(x_631); -lean_inc(x_630); -lean_inc(x_629); -lean_dec(x_620); -x_634 = lean_ctor_get(x_628, 0); -lean_inc(x_634); -if (lean_is_exclusive(x_628)) { - lean_ctor_release(x_628, 0); - x_635 = x_628; -} else { - lean_dec_ref(x_628); - x_635 = lean_box(0); -} -if (lean_is_scalar(x_635)) { - x_636 = lean_alloc_ctor(0, 1, 1); -} else { - x_636 = x_635; -} -lean_ctor_set(x_636, 0, x_634); -lean_ctor_set_uint8(x_636, sizeof(void*)*1, x_593); -x_637 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_637, 0, x_629); -lean_ctor_set(x_637, 1, x_630); -lean_ctor_set(x_637, 2, x_631); -lean_ctor_set(x_637, 3, x_632); -lean_ctor_set(x_637, 4, x_636); -lean_ctor_set(x_637, 5, x_633); -if (lean_is_scalar(x_37)) { - x_638 = lean_alloc_ctor(1, 2, 0); -} else { - x_638 = x_37; - lean_ctor_set_tag(x_638, 1); -} -lean_ctor_set(x_638, 0, x_619); -lean_ctor_set(x_638, 1, x_637); -return x_638; -} -} -} -else -{ -uint8_t x_737; lean_object* x_738; uint8_t x_739; lean_object* x_740; uint8_t x_741; lean_object* x_742; lean_object* x_757; lean_object* x_758; lean_object* x_772; -x_737 = lean_ctor_get_uint8(x_591, sizeof(void*)*1); -x_738 = lean_ctor_get(x_591, 0); -lean_inc(x_738); -lean_dec(x_591); -x_739 = 0; -x_740 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_740, 0, x_738); -lean_ctor_set_uint8(x_740, sizeof(void*)*1, x_739); -lean_ctor_set(x_589, 4, x_740); -lean_inc(x_6); -lean_inc(x_1); -x_772 = l_Lean_Meta_inferType(x_1, x_6, x_589); -if (lean_obj_tag(x_772) == 0) -{ -lean_object* x_773; lean_object* x_774; lean_object* x_775; -x_773 = lean_ctor_get(x_772, 0); -lean_inc(x_773); -x_774 = lean_ctor_get(x_772, 1); -lean_inc(x_774); -lean_dec(x_772); -lean_inc(x_6); -lean_inc(x_35); -x_775 = l_Lean_Meta_inferType(x_35, x_6, x_774); -if (lean_obj_tag(x_775) == 0) -{ -lean_object* x_776; lean_object* x_777; lean_object* x_778; uint8_t x_779; uint8_t x_780; uint8_t x_781; uint8_t x_782; lean_object* x_783; uint8_t x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; -x_776 = lean_ctor_get(x_775, 0); -lean_inc(x_776); -x_777 = lean_ctor_get(x_775, 1); -lean_inc(x_777); -lean_dec(x_775); -x_778 = lean_ctor_get(x_10, 0); -lean_inc(x_778); -x_779 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 1); -x_780 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 2); -x_781 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 3); -x_782 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - x_783 = x_10; -} else { - lean_dec_ref(x_10); - x_783 = lean_box(0); -} -x_784 = 1; -if (lean_is_scalar(x_783)) { - x_785 = lean_alloc_ctor(0, 1, 6); -} else { - x_785 = x_783; -} -lean_ctor_set(x_785, 0, x_778); -lean_ctor_set_uint8(x_785, sizeof(void*)*1, x_16); -lean_ctor_set_uint8(x_785, sizeof(void*)*1 + 1, x_779); -lean_ctor_set_uint8(x_785, sizeof(void*)*1 + 2, x_780); -lean_ctor_set_uint8(x_785, sizeof(void*)*1 + 3, x_781); -lean_ctor_set_uint8(x_785, sizeof(void*)*1 + 4, x_782); -lean_ctor_set_uint8(x_785, sizeof(void*)*1 + 5, x_784); -x_786 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_786, 0, x_785); -lean_ctor_set(x_786, 1, x_11); -lean_ctor_set(x_786, 2, x_12); -lean_inc(x_776); -lean_inc(x_773); -x_787 = l_Lean_Meta_isExprDefEqAux(x_773, x_776, x_786, x_777); -if (lean_obj_tag(x_787) == 0) -{ -lean_object* x_788; uint8_t x_789; -x_788 = lean_ctor_get(x_787, 0); -lean_inc(x_788); -x_789 = lean_unbox(x_788); -if (x_789 == 0) -{ -lean_object* x_790; lean_object* x_791; uint8_t x_792; -lean_dec(x_37); -lean_dec(x_18); -x_790 = lean_ctor_get(x_787, 1); -lean_inc(x_790); -lean_dec(x_787); -x_791 = lean_ctor_get(x_790, 4); -lean_inc(x_791); -x_792 = lean_ctor_get_uint8(x_791, sizeof(void*)*1); -lean_dec(x_791); -if (x_792 == 0) -{ -uint8_t x_793; -lean_dec(x_776); -lean_dec(x_773); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_793 = lean_unbox(x_788); -lean_dec(x_788); -x_741 = x_793; -x_742 = x_790; -goto block_756; -} -else -{ -lean_object* x_794; lean_object* x_795; lean_object* x_796; uint8_t x_797; -x_794 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_795 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_794, x_6, x_790); -x_796 = lean_ctor_get(x_795, 0); -lean_inc(x_796); -x_797 = lean_unbox(x_796); -lean_dec(x_796); -if (x_797 == 0) -{ -lean_object* x_798; uint8_t x_799; -lean_dec(x_776); -lean_dec(x_773); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_798 = lean_ctor_get(x_795, 1); -lean_inc(x_798); -lean_dec(x_795); -x_799 = lean_unbox(x_788); -lean_dec(x_788); -x_741 = x_799; -x_742 = x_798; -goto block_756; -} -else -{ -lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; uint8_t x_816; -x_800 = lean_ctor_get(x_795, 1); -lean_inc(x_800); -lean_dec(x_795); -x_801 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_801, 0, x_1); -x_802 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_803 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_803, 0, x_801); -lean_ctor_set(x_803, 1, x_802); -x_804 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_804, 0, x_773); -x_805 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_805, 0, x_803); -lean_ctor_set(x_805, 1, x_804); -x_806 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_807 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_807, 0, x_805); -lean_ctor_set(x_807, 1, x_806); -x_808 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_808, 0, x_35); -x_809 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_809, 0, x_807); -lean_ctor_set(x_809, 1, x_808); -x_810 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_810, 0, x_809); -lean_ctor_set(x_810, 1, x_802); -x_811 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_811, 0, x_776); -x_812 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_812, 0, x_810); -lean_ctor_set(x_812, 1, x_811); -x_813 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_814 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_813, x_812, x_6, x_800); -lean_dec(x_6); -x_815 = lean_ctor_get(x_814, 1); -lean_inc(x_815); -lean_dec(x_814); -x_816 = lean_unbox(x_788); -lean_dec(x_788); -x_741 = x_816; -x_742 = x_815; -goto block_756; -} -} -} -else -{ -lean_object* x_817; lean_object* x_818; -lean_dec(x_776); -lean_dec(x_773); -lean_dec(x_1); -x_817 = lean_ctor_get(x_787, 1); -lean_inc(x_817); -lean_dec(x_787); -x_818 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_817); -lean_dec(x_6); -if (lean_obj_tag(x_818) == 0) -{ -lean_object* x_819; uint8_t x_820; -lean_dec(x_37); -x_819 = lean_ctor_get(x_818, 1); -lean_inc(x_819); -lean_dec(x_818); -x_820 = lean_unbox(x_788); -lean_dec(x_788); -x_741 = x_820; -x_742 = x_819; -goto block_756; -} -else -{ -lean_object* x_821; lean_object* x_822; -lean_dec(x_788); -lean_dec(x_587); -x_821 = lean_ctor_get(x_818, 0); -lean_inc(x_821); -x_822 = lean_ctor_get(x_818, 1); -lean_inc(x_822); -lean_dec(x_818); -x_757 = x_821; -x_758 = x_822; -goto block_771; -} -} -} -else -{ -lean_object* x_823; lean_object* x_824; -lean_dec(x_776); -lean_dec(x_773); -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_1); -x_823 = lean_ctor_get(x_787, 0); -lean_inc(x_823); -x_824 = lean_ctor_get(x_787, 1); -lean_inc(x_824); -lean_dec(x_787); -x_757 = x_823; -x_758 = x_824; -goto block_771; -} -} -else -{ -lean_object* x_825; lean_object* x_826; -lean_dec(x_773); -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_825 = lean_ctor_get(x_775, 0); -lean_inc(x_825); -x_826 = lean_ctor_get(x_775, 1); -lean_inc(x_826); -lean_dec(x_775); -x_757 = x_825; -x_758 = x_826; -goto block_771; -} -} -else -{ -lean_object* x_827; lean_object* x_828; -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_827 = lean_ctor_get(x_772, 0); -lean_inc(x_827); -x_828 = lean_ctor_get(x_772, 1); -lean_inc(x_828); -lean_dec(x_772); -x_757 = x_827; -x_758 = x_828; -goto block_771; -} -block_756: -{ -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_743 = lean_ctor_get(x_742, 4); -lean_inc(x_743); -x_744 = lean_ctor_get(x_742, 0); -lean_inc(x_744); -x_745 = lean_ctor_get(x_742, 1); -lean_inc(x_745); -x_746 = lean_ctor_get(x_742, 2); -lean_inc(x_746); -x_747 = lean_ctor_get(x_742, 3); -lean_inc(x_747); -x_748 = lean_ctor_get(x_742, 5); -lean_inc(x_748); -if (lean_is_exclusive(x_742)) { - lean_ctor_release(x_742, 0); - lean_ctor_release(x_742, 1); - lean_ctor_release(x_742, 2); - lean_ctor_release(x_742, 3); - lean_ctor_release(x_742, 4); - lean_ctor_release(x_742, 5); - x_749 = x_742; -} else { - lean_dec_ref(x_742); - x_749 = lean_box(0); -} -x_750 = lean_ctor_get(x_743, 0); -lean_inc(x_750); -if (lean_is_exclusive(x_743)) { - lean_ctor_release(x_743, 0); - x_751 = x_743; -} else { - lean_dec_ref(x_743); - x_751 = lean_box(0); -} -if (lean_is_scalar(x_751)) { - x_752 = lean_alloc_ctor(0, 1, 1); -} else { - x_752 = x_751; -} -lean_ctor_set(x_752, 0, x_750); -lean_ctor_set_uint8(x_752, sizeof(void*)*1, x_737); -if (lean_is_scalar(x_749)) { - x_753 = lean_alloc_ctor(0, 6, 0); -} else { - x_753 = x_749; -} -lean_ctor_set(x_753, 0, x_744); -lean_ctor_set(x_753, 1, x_745); -lean_ctor_set(x_753, 2, x_746); -lean_ctor_set(x_753, 3, x_747); -lean_ctor_set(x_753, 4, x_752); -lean_ctor_set(x_753, 5, x_748); -x_754 = lean_box(x_741); -if (lean_is_scalar(x_587)) { - x_755 = lean_alloc_ctor(0, 2, 0); -} else { - x_755 = x_587; -} -lean_ctor_set(x_755, 0, x_754); -lean_ctor_set(x_755, 1, x_753); -return x_755; -} -block_771: -{ -lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; -x_759 = lean_ctor_get(x_758, 4); -lean_inc(x_759); -x_760 = lean_ctor_get(x_758, 0); -lean_inc(x_760); -x_761 = lean_ctor_get(x_758, 1); -lean_inc(x_761); -x_762 = lean_ctor_get(x_758, 2); -lean_inc(x_762); -x_763 = lean_ctor_get(x_758, 3); -lean_inc(x_763); -x_764 = lean_ctor_get(x_758, 5); -lean_inc(x_764); -if (lean_is_exclusive(x_758)) { - lean_ctor_release(x_758, 0); - lean_ctor_release(x_758, 1); - lean_ctor_release(x_758, 2); - lean_ctor_release(x_758, 3); - lean_ctor_release(x_758, 4); - lean_ctor_release(x_758, 5); - x_765 = x_758; -} else { - lean_dec_ref(x_758); - x_765 = lean_box(0); -} -x_766 = lean_ctor_get(x_759, 0); -lean_inc(x_766); -if (lean_is_exclusive(x_759)) { - lean_ctor_release(x_759, 0); - x_767 = x_759; -} else { - lean_dec_ref(x_759); - x_767 = lean_box(0); -} -if (lean_is_scalar(x_767)) { - x_768 = lean_alloc_ctor(0, 1, 1); -} else { - x_768 = x_767; -} -lean_ctor_set(x_768, 0, x_766); -lean_ctor_set_uint8(x_768, sizeof(void*)*1, x_737); -if (lean_is_scalar(x_765)) { - x_769 = lean_alloc_ctor(0, 6, 0); -} else { - x_769 = x_765; -} -lean_ctor_set(x_769, 0, x_760); -lean_ctor_set(x_769, 1, x_761); -lean_ctor_set(x_769, 2, x_762); -lean_ctor_set(x_769, 3, x_763); -lean_ctor_set(x_769, 4, x_768); -lean_ctor_set(x_769, 5, x_764); -if (lean_is_scalar(x_37)) { - x_770 = lean_alloc_ctor(1, 2, 0); -} else { - x_770 = x_37; - lean_ctor_set_tag(x_770, 1); -} -lean_ctor_set(x_770, 0, x_757); -lean_ctor_set(x_770, 1, x_769); -return x_770; -} -} -} -else -{ -lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; uint8_t x_835; lean_object* x_836; lean_object* x_837; uint8_t x_838; lean_object* x_839; lean_object* x_840; uint8_t x_841; lean_object* x_842; lean_object* x_857; lean_object* x_858; lean_object* x_872; -x_829 = lean_ctor_get(x_589, 4); -x_830 = lean_ctor_get(x_589, 0); -x_831 = lean_ctor_get(x_589, 1); -x_832 = lean_ctor_get(x_589, 2); -x_833 = lean_ctor_get(x_589, 3); -x_834 = lean_ctor_get(x_589, 5); -lean_inc(x_834); -lean_inc(x_829); -lean_inc(x_833); -lean_inc(x_832); -lean_inc(x_831); -lean_inc(x_830); -lean_dec(x_589); -x_835 = lean_ctor_get_uint8(x_829, sizeof(void*)*1); -x_836 = lean_ctor_get(x_829, 0); -lean_inc(x_836); -if (lean_is_exclusive(x_829)) { - lean_ctor_release(x_829, 0); - x_837 = x_829; -} else { - lean_dec_ref(x_829); - x_837 = lean_box(0); -} -x_838 = 0; -if (lean_is_scalar(x_837)) { - x_839 = lean_alloc_ctor(0, 1, 1); -} else { - x_839 = x_837; -} -lean_ctor_set(x_839, 0, x_836); -lean_ctor_set_uint8(x_839, sizeof(void*)*1, x_838); -x_840 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_840, 0, x_830); -lean_ctor_set(x_840, 1, x_831); -lean_ctor_set(x_840, 2, x_832); -lean_ctor_set(x_840, 3, x_833); -lean_ctor_set(x_840, 4, x_839); -lean_ctor_set(x_840, 5, x_834); -lean_inc(x_6); -lean_inc(x_1); -x_872 = l_Lean_Meta_inferType(x_1, x_6, x_840); -if (lean_obj_tag(x_872) == 0) -{ -lean_object* x_873; lean_object* x_874; lean_object* x_875; -x_873 = lean_ctor_get(x_872, 0); -lean_inc(x_873); -x_874 = lean_ctor_get(x_872, 1); -lean_inc(x_874); -lean_dec(x_872); -lean_inc(x_6); -lean_inc(x_35); -x_875 = l_Lean_Meta_inferType(x_35, x_6, x_874); -if (lean_obj_tag(x_875) == 0) -{ -lean_object* x_876; lean_object* x_877; lean_object* x_878; uint8_t x_879; uint8_t x_880; uint8_t x_881; uint8_t x_882; lean_object* x_883; uint8_t x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; -x_876 = lean_ctor_get(x_875, 0); -lean_inc(x_876); -x_877 = lean_ctor_get(x_875, 1); -lean_inc(x_877); -lean_dec(x_875); -x_878 = lean_ctor_get(x_10, 0); -lean_inc(x_878); -x_879 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 1); -x_880 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 2); -x_881 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 3); -x_882 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - x_883 = x_10; -} else { - lean_dec_ref(x_10); - x_883 = lean_box(0); -} -x_884 = 1; -if (lean_is_scalar(x_883)) { - x_885 = lean_alloc_ctor(0, 1, 6); -} else { - x_885 = x_883; -} -lean_ctor_set(x_885, 0, x_878); -lean_ctor_set_uint8(x_885, sizeof(void*)*1, x_16); -lean_ctor_set_uint8(x_885, sizeof(void*)*1 + 1, x_879); -lean_ctor_set_uint8(x_885, sizeof(void*)*1 + 2, x_880); -lean_ctor_set_uint8(x_885, sizeof(void*)*1 + 3, x_881); -lean_ctor_set_uint8(x_885, sizeof(void*)*1 + 4, x_882); -lean_ctor_set_uint8(x_885, sizeof(void*)*1 + 5, x_884); -x_886 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_886, 0, x_885); -lean_ctor_set(x_886, 1, x_11); -lean_ctor_set(x_886, 2, x_12); -lean_inc(x_876); -lean_inc(x_873); -x_887 = l_Lean_Meta_isExprDefEqAux(x_873, x_876, x_886, x_877); -if (lean_obj_tag(x_887) == 0) -{ -lean_object* x_888; uint8_t x_889; -x_888 = lean_ctor_get(x_887, 0); -lean_inc(x_888); -x_889 = lean_unbox(x_888); -if (x_889 == 0) -{ -lean_object* x_890; lean_object* x_891; uint8_t x_892; -lean_dec(x_37); -lean_dec(x_18); -x_890 = lean_ctor_get(x_887, 1); -lean_inc(x_890); -lean_dec(x_887); -x_891 = lean_ctor_get(x_890, 4); -lean_inc(x_891); -x_892 = lean_ctor_get_uint8(x_891, sizeof(void*)*1); -lean_dec(x_891); -if (x_892 == 0) -{ -uint8_t x_893; -lean_dec(x_876); -lean_dec(x_873); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_893 = lean_unbox(x_888); -lean_dec(x_888); -x_841 = x_893; -x_842 = x_890; -goto block_856; -} -else -{ -lean_object* x_894; lean_object* x_895; lean_object* x_896; uint8_t x_897; -x_894 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_895 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_894, x_6, x_890); -x_896 = lean_ctor_get(x_895, 0); -lean_inc(x_896); -x_897 = lean_unbox(x_896); -lean_dec(x_896); -if (x_897 == 0) -{ -lean_object* x_898; uint8_t x_899; -lean_dec(x_876); -lean_dec(x_873); -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_1); -x_898 = lean_ctor_get(x_895, 1); -lean_inc(x_898); -lean_dec(x_895); -x_899 = lean_unbox(x_888); -lean_dec(x_888); -x_841 = x_899; -x_842 = x_898; -goto block_856; -} -else -{ -lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; uint8_t x_916; -x_900 = lean_ctor_get(x_895, 1); -lean_inc(x_900); -lean_dec(x_895); -x_901 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_901, 0, x_1); -x_902 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_903 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_903, 0, x_901); -lean_ctor_set(x_903, 1, x_902); -x_904 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_904, 0, x_873); -x_905 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_905, 0, x_903); -lean_ctor_set(x_905, 1, x_904); -x_906 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_907 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_907, 0, x_905); -lean_ctor_set(x_907, 1, x_906); -x_908 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_908, 0, x_35); -x_909 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_909, 0, x_907); -lean_ctor_set(x_909, 1, x_908); -x_910 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_910, 0, x_909); -lean_ctor_set(x_910, 1, x_902); -x_911 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_911, 0, x_876); -x_912 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_912, 0, x_910); -lean_ctor_set(x_912, 1, x_911); -x_913 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_914 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_913, x_912, x_6, x_900); -lean_dec(x_6); -x_915 = lean_ctor_get(x_914, 1); -lean_inc(x_915); -lean_dec(x_914); -x_916 = lean_unbox(x_888); -lean_dec(x_888); -x_841 = x_916; -x_842 = x_915; -goto block_856; -} -} -} -else -{ -lean_object* x_917; lean_object* x_918; -lean_dec(x_876); -lean_dec(x_873); -lean_dec(x_1); -x_917 = lean_ctor_get(x_887, 1); -lean_inc(x_917); -lean_dec(x_887); -x_918 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_917); -lean_dec(x_6); -if (lean_obj_tag(x_918) == 0) -{ -lean_object* x_919; uint8_t x_920; -lean_dec(x_37); -x_919 = lean_ctor_get(x_918, 1); -lean_inc(x_919); -lean_dec(x_918); -x_920 = lean_unbox(x_888); -lean_dec(x_888); -x_841 = x_920; -x_842 = x_919; -goto block_856; -} -else -{ -lean_object* x_921; lean_object* x_922; -lean_dec(x_888); -lean_dec(x_587); -x_921 = lean_ctor_get(x_918, 0); -lean_inc(x_921); -x_922 = lean_ctor_get(x_918, 1); -lean_inc(x_922); -lean_dec(x_918); -x_857 = x_921; -x_858 = x_922; -goto block_871; -} -} -} -else -{ -lean_object* x_923; lean_object* x_924; -lean_dec(x_876); -lean_dec(x_873); -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_1); -x_923 = lean_ctor_get(x_887, 0); -lean_inc(x_923); -x_924 = lean_ctor_get(x_887, 1); -lean_inc(x_924); -lean_dec(x_887); -x_857 = x_923; -x_858 = x_924; -goto block_871; -} -} -else -{ -lean_object* x_925; lean_object* x_926; -lean_dec(x_873); -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_925 = lean_ctor_get(x_875, 0); -lean_inc(x_925); -x_926 = lean_ctor_get(x_875, 1); -lean_inc(x_926); -lean_dec(x_875); -x_857 = x_925; -x_858 = x_926; -goto block_871; -} -} -else -{ -lean_object* x_927; lean_object* x_928; -lean_dec(x_587); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_1); -x_927 = lean_ctor_get(x_872, 0); -lean_inc(x_927); -x_928 = lean_ctor_get(x_872, 1); -lean_inc(x_928); -lean_dec(x_872); -x_857 = x_927; -x_858 = x_928; -goto block_871; -} -block_856: -{ -lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; -x_843 = lean_ctor_get(x_842, 4); -lean_inc(x_843); -x_844 = lean_ctor_get(x_842, 0); -lean_inc(x_844); -x_845 = lean_ctor_get(x_842, 1); -lean_inc(x_845); -x_846 = lean_ctor_get(x_842, 2); -lean_inc(x_846); -x_847 = lean_ctor_get(x_842, 3); -lean_inc(x_847); -x_848 = lean_ctor_get(x_842, 5); -lean_inc(x_848); -if (lean_is_exclusive(x_842)) { - lean_ctor_release(x_842, 0); - lean_ctor_release(x_842, 1); - lean_ctor_release(x_842, 2); - lean_ctor_release(x_842, 3); - lean_ctor_release(x_842, 4); - lean_ctor_release(x_842, 5); - x_849 = x_842; -} else { - lean_dec_ref(x_842); - x_849 = lean_box(0); -} -x_850 = lean_ctor_get(x_843, 0); -lean_inc(x_850); -if (lean_is_exclusive(x_843)) { - lean_ctor_release(x_843, 0); - x_851 = x_843; -} else { - lean_dec_ref(x_843); - x_851 = lean_box(0); -} -if (lean_is_scalar(x_851)) { - x_852 = lean_alloc_ctor(0, 1, 1); -} else { - x_852 = x_851; -} -lean_ctor_set(x_852, 0, x_850); -lean_ctor_set_uint8(x_852, sizeof(void*)*1, x_835); -if (lean_is_scalar(x_849)) { - x_853 = lean_alloc_ctor(0, 6, 0); -} else { - x_853 = x_849; -} -lean_ctor_set(x_853, 0, x_844); -lean_ctor_set(x_853, 1, x_845); -lean_ctor_set(x_853, 2, x_846); -lean_ctor_set(x_853, 3, x_847); -lean_ctor_set(x_853, 4, x_852); -lean_ctor_set(x_853, 5, x_848); -x_854 = lean_box(x_841); -if (lean_is_scalar(x_587)) { - x_855 = lean_alloc_ctor(0, 2, 0); -} else { - x_855 = x_587; -} -lean_ctor_set(x_855, 0, x_854); -lean_ctor_set(x_855, 1, x_853); -return x_855; -} -block_871: -{ -lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; -x_859 = lean_ctor_get(x_858, 4); -lean_inc(x_859); -x_860 = lean_ctor_get(x_858, 0); -lean_inc(x_860); -x_861 = lean_ctor_get(x_858, 1); -lean_inc(x_861); -x_862 = lean_ctor_get(x_858, 2); -lean_inc(x_862); -x_863 = lean_ctor_get(x_858, 3); -lean_inc(x_863); -x_864 = lean_ctor_get(x_858, 5); -lean_inc(x_864); -if (lean_is_exclusive(x_858)) { - lean_ctor_release(x_858, 0); - lean_ctor_release(x_858, 1); - lean_ctor_release(x_858, 2); - lean_ctor_release(x_858, 3); - lean_ctor_release(x_858, 4); - lean_ctor_release(x_858, 5); - x_865 = x_858; -} else { - lean_dec_ref(x_858); - x_865 = lean_box(0); -} -x_866 = lean_ctor_get(x_859, 0); -lean_inc(x_866); -if (lean_is_exclusive(x_859)) { - lean_ctor_release(x_859, 0); - x_867 = x_859; -} else { - lean_dec_ref(x_859); - x_867 = lean_box(0); -} -if (lean_is_scalar(x_867)) { - x_868 = lean_alloc_ctor(0, 1, 1); -} else { - x_868 = x_867; -} -lean_ctor_set(x_868, 0, x_866); -lean_ctor_set_uint8(x_868, sizeof(void*)*1, x_835); -if (lean_is_scalar(x_865)) { - x_869 = lean_alloc_ctor(0, 6, 0); -} else { - x_869 = x_865; -} -lean_ctor_set(x_869, 0, x_860); -lean_ctor_set(x_869, 1, x_861); -lean_ctor_set(x_869, 2, x_862); -lean_ctor_set(x_869, 3, x_863); -lean_ctor_set(x_869, 4, x_868); -lean_ctor_set(x_869, 5, x_864); -if (lean_is_scalar(x_37)) { - x_870 = lean_alloc_ctor(1, 2, 0); -} else { - x_870 = x_37; - lean_ctor_set_tag(x_870, 1); -} -lean_ctor_set(x_870, 0, x_857); -lean_ctor_set(x_870, 1, x_869); -return x_870; -} -} -} -else -{ -lean_object* x_929; lean_object* x_930; lean_object* x_931; uint8_t x_932; lean_object* x_933; lean_object* x_943; lean_object* x_944; lean_object* x_952; -lean_dec(x_587); -lean_dec(x_37); -x_929 = l___private_Init_Lean_Util_Trace_2__getResetTraces___at_Lean_Meta_check___spec__1___rarg(x_589); -x_930 = lean_ctor_get(x_929, 0); -lean_inc(x_930); -x_931 = lean_ctor_get(x_929, 1); -lean_inc(x_931); -lean_dec(x_929); -lean_inc(x_6); -lean_inc(x_1); -x_952 = l_Lean_Meta_inferType(x_1, x_6, x_931); -if (lean_obj_tag(x_952) == 0) -{ -lean_object* x_953; lean_object* x_954; lean_object* x_955; -x_953 = lean_ctor_get(x_952, 0); -lean_inc(x_953); -x_954 = lean_ctor_get(x_952, 1); -lean_inc(x_954); -lean_dec(x_952); -lean_inc(x_6); -lean_inc(x_35); -x_955 = l_Lean_Meta_inferType(x_35, x_6, x_954); -if (lean_obj_tag(x_955) == 0) -{ -lean_object* x_956; lean_object* x_957; uint8_t x_958; -x_956 = lean_ctor_get(x_955, 0); -lean_inc(x_956); -x_957 = lean_ctor_get(x_955, 1); -lean_inc(x_957); -lean_dec(x_955); -x_958 = !lean_is_exclusive(x_10); -if (x_958 == 0) -{ -uint8_t x_959; lean_object* x_960; lean_object* x_961; -x_959 = 1; -lean_ctor_set_uint8(x_10, sizeof(void*)*1 + 5, x_959); -x_960 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_960, 0, x_10); -lean_ctor_set(x_960, 1, x_11); -lean_ctor_set(x_960, 2, x_12); -lean_inc(x_956); -lean_inc(x_953); -x_961 = l_Lean_Meta_isExprDefEqAux(x_953, x_956, x_960, x_957); -if (lean_obj_tag(x_961) == 0) -{ -lean_object* x_962; uint8_t x_963; -x_962 = lean_ctor_get(x_961, 0); -lean_inc(x_962); -x_963 = lean_unbox(x_962); -if (x_963 == 0) -{ -lean_object* x_964; lean_object* x_965; uint8_t x_966; -lean_dec(x_18); -x_964 = lean_ctor_get(x_961, 1); -lean_inc(x_964); -lean_dec(x_961); -x_965 = lean_ctor_get(x_964, 4); -lean_inc(x_965); -x_966 = lean_ctor_get_uint8(x_965, sizeof(void*)*1); -lean_dec(x_965); -if (x_966 == 0) -{ -uint8_t x_967; -lean_dec(x_956); -lean_dec(x_953); -lean_dec(x_35); -lean_dec(x_1); -x_967 = lean_unbox(x_962); -lean_dec(x_962); -x_932 = x_967; -x_933 = x_964; -goto block_942; -} -else -{ -lean_object* x_968; lean_object* x_969; lean_object* x_970; uint8_t x_971; -x_968 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_969 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_968, x_6, x_964); -x_970 = lean_ctor_get(x_969, 0); -lean_inc(x_970); -x_971 = lean_unbox(x_970); -lean_dec(x_970); -if (x_971 == 0) -{ -lean_object* x_972; uint8_t x_973; -lean_dec(x_956); -lean_dec(x_953); -lean_dec(x_35); -lean_dec(x_1); -x_972 = lean_ctor_get(x_969, 1); -lean_inc(x_972); -lean_dec(x_969); -x_973 = lean_unbox(x_962); -lean_dec(x_962); -x_932 = x_973; -x_933 = x_972; -goto block_942; -} -else -{ -lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; uint8_t x_990; -x_974 = lean_ctor_get(x_969, 1); -lean_inc(x_974); -lean_dec(x_969); -x_975 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_975, 0, x_1); -x_976 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_977 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_977, 0, x_975); -lean_ctor_set(x_977, 1, x_976); -x_978 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_978, 0, x_953); -x_979 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_979, 0, x_977); -lean_ctor_set(x_979, 1, x_978); -x_980 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_981 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_981, 0, x_979); -lean_ctor_set(x_981, 1, x_980); -x_982 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_982, 0, x_35); -x_983 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_983, 0, x_981); -lean_ctor_set(x_983, 1, x_982); -x_984 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_984, 0, x_983); -lean_ctor_set(x_984, 1, x_976); -x_985 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_985, 0, x_956); -x_986 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_986, 0, x_984); -lean_ctor_set(x_986, 1, x_985); -x_987 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_988 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_987, x_986, x_6, x_974); -x_989 = lean_ctor_get(x_988, 1); -lean_inc(x_989); -lean_dec(x_988); -x_990 = lean_unbox(x_962); -lean_dec(x_962); -x_932 = x_990; -x_933 = x_989; -goto block_942; -} -} -} -else -{ -lean_object* x_991; lean_object* x_992; -lean_dec(x_956); -lean_dec(x_953); -lean_dec(x_1); -x_991 = lean_ctor_get(x_961, 1); -lean_inc(x_991); -lean_dec(x_961); -x_992 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_991); -if (lean_obj_tag(x_992) == 0) -{ -lean_object* x_993; uint8_t x_994; -x_993 = lean_ctor_get(x_992, 1); -lean_inc(x_993); -lean_dec(x_992); -x_994 = lean_unbox(x_962); -lean_dec(x_962); -x_932 = x_994; -x_933 = x_993; -goto block_942; -} -else -{ -lean_object* x_995; lean_object* x_996; -lean_dec(x_962); -x_995 = lean_ctor_get(x_992, 0); -lean_inc(x_995); -x_996 = lean_ctor_get(x_992, 1); -lean_inc(x_996); -lean_dec(x_992); -x_943 = x_995; -x_944 = x_996; -goto block_951; -} -} -} -else -{ -lean_object* x_997; lean_object* x_998; -lean_dec(x_956); -lean_dec(x_953); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_1); -x_997 = lean_ctor_get(x_961, 0); -lean_inc(x_997); -x_998 = lean_ctor_get(x_961, 1); -lean_inc(x_998); -lean_dec(x_961); -x_943 = x_997; -x_944 = x_998; -goto block_951; -} -} -else -{ -lean_object* x_999; uint8_t x_1000; uint8_t x_1001; uint8_t x_1002; uint8_t x_1003; uint8_t x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; -x_999 = lean_ctor_get(x_10, 0); -x_1000 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 1); -x_1001 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 2); -x_1002 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 3); -x_1003 = lean_ctor_get_uint8(x_10, sizeof(void*)*1 + 4); -lean_inc(x_999); -lean_dec(x_10); -x_1004 = 1; -x_1005 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_1005, 0, x_999); -lean_ctor_set_uint8(x_1005, sizeof(void*)*1, x_16); -lean_ctor_set_uint8(x_1005, sizeof(void*)*1 + 1, x_1000); -lean_ctor_set_uint8(x_1005, sizeof(void*)*1 + 2, x_1001); -lean_ctor_set_uint8(x_1005, sizeof(void*)*1 + 3, x_1002); -lean_ctor_set_uint8(x_1005, sizeof(void*)*1 + 4, x_1003); -lean_ctor_set_uint8(x_1005, sizeof(void*)*1 + 5, x_1004); -x_1006 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_1006, 0, x_1005); -lean_ctor_set(x_1006, 1, x_11); -lean_ctor_set(x_1006, 2, x_12); -lean_inc(x_956); -lean_inc(x_953); -x_1007 = l_Lean_Meta_isExprDefEqAux(x_953, x_956, x_1006, x_957); -if (lean_obj_tag(x_1007) == 0) -{ -lean_object* x_1008; uint8_t x_1009; -x_1008 = lean_ctor_get(x_1007, 0); -lean_inc(x_1008); -x_1009 = lean_unbox(x_1008); -if (x_1009 == 0) -{ -lean_object* x_1010; lean_object* x_1011; uint8_t x_1012; -lean_dec(x_18); -x_1010 = lean_ctor_get(x_1007, 1); -lean_inc(x_1010); -lean_dec(x_1007); -x_1011 = lean_ctor_get(x_1010, 4); -lean_inc(x_1011); -x_1012 = lean_ctor_get_uint8(x_1011, sizeof(void*)*1); -lean_dec(x_1011); -if (x_1012 == 0) -{ -uint8_t x_1013; -lean_dec(x_956); -lean_dec(x_953); -lean_dec(x_35); -lean_dec(x_1); -x_1013 = lean_unbox(x_1008); -lean_dec(x_1008); -x_932 = x_1013; -x_933 = x_1010; -goto block_942; -} -else -{ -lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; uint8_t x_1017; -x_1014 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5; -x_1015 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_1014, x_6, x_1010); -x_1016 = lean_ctor_get(x_1015, 0); -lean_inc(x_1016); -x_1017 = lean_unbox(x_1016); -lean_dec(x_1016); -if (x_1017 == 0) -{ -lean_object* x_1018; uint8_t x_1019; -lean_dec(x_956); -lean_dec(x_953); -lean_dec(x_35); -lean_dec(x_1); -x_1018 = lean_ctor_get(x_1015, 1); -lean_inc(x_1018); -lean_dec(x_1015); -x_1019 = lean_unbox(x_1008); -lean_dec(x_1008); -x_932 = x_1019; -x_933 = x_1018; -goto block_942; -} -else -{ -lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; uint8_t x_1036; -x_1020 = lean_ctor_get(x_1015, 1); -lean_inc(x_1020); -lean_dec(x_1015); -x_1021 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1021, 0, x_1); -x_1022 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8; -x_1023 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_1023, 0, x_1021); -lean_ctor_set(x_1023, 1, x_1022); -x_1024 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1024, 0, x_953); -x_1025 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_1025, 0, x_1023); -lean_ctor_set(x_1025, 1, x_1024); -x_1026 = l___private_Init_Lean_Meta_ExprDefEq_10__checkAssignmentFailure___closed__6; -x_1027 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_1027, 0, x_1025); -lean_ctor_set(x_1027, 1, x_1026); -x_1028 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1028, 0, x_35); -x_1029 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_1029, 0, x_1027); -lean_ctor_set(x_1029, 1, x_1028); -x_1030 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_1030, 0, x_1029); -lean_ctor_set(x_1030, 1, x_1022); -x_1031 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1031, 0, x_956); -x_1032 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_1032, 0, x_1030); -lean_ctor_set(x_1032, 1, x_1031); -x_1033 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4; -x_1034 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_1033, x_1032, x_6, x_1020); -x_1035 = lean_ctor_get(x_1034, 1); -lean_inc(x_1035); -lean_dec(x_1034); -x_1036 = lean_unbox(x_1008); -lean_dec(x_1008); -x_932 = x_1036; -x_933 = x_1035; -goto block_942; -} -} -} -else -{ -lean_object* x_1037; lean_object* x_1038; -lean_dec(x_956); -lean_dec(x_953); -lean_dec(x_1); -x_1037 = lean_ctor_get(x_1007, 1); -lean_inc(x_1037); -lean_dec(x_1007); -x_1038 = l_Lean_Meta_assignExprMVar(x_18, x_35, x_6, x_1037); -if (lean_obj_tag(x_1038) == 0) -{ -lean_object* x_1039; uint8_t x_1040; -x_1039 = lean_ctor_get(x_1038, 1); -lean_inc(x_1039); -lean_dec(x_1038); -x_1040 = lean_unbox(x_1008); -lean_dec(x_1008); -x_932 = x_1040; -x_933 = x_1039; -goto block_942; -} -else -{ -lean_object* x_1041; lean_object* x_1042; -lean_dec(x_1008); -x_1041 = lean_ctor_get(x_1038, 0); -lean_inc(x_1041); -x_1042 = lean_ctor_get(x_1038, 1); -lean_inc(x_1042); -lean_dec(x_1038); -x_943 = x_1041; -x_944 = x_1042; -goto block_951; -} -} -} -else -{ -lean_object* x_1043; lean_object* x_1044; -lean_dec(x_956); -lean_dec(x_953); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_1); -x_1043 = lean_ctor_get(x_1007, 0); -lean_inc(x_1043); -x_1044 = lean_ctor_get(x_1007, 1); -lean_inc(x_1044); -lean_dec(x_1007); -x_943 = x_1043; -x_944 = x_1044; -goto block_951; -} -} -} -else -{ -lean_object* x_1045; lean_object* x_1046; -lean_dec(x_953); -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_1); -x_1045 = lean_ctor_get(x_955, 0); -lean_inc(x_1045); -x_1046 = lean_ctor_get(x_955, 1); -lean_inc(x_1046); -lean_dec(x_955); -x_943 = x_1045; -x_944 = x_1046; -goto block_951; -} -} -else -{ -lean_object* x_1047; lean_object* x_1048; -lean_dec(x_35); -lean_dec(x_18); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_1); -x_1047 = lean_ctor_get(x_952, 0); -lean_inc(x_1047); -x_1048 = lean_ctor_get(x_952, 1); -lean_inc(x_1048); -lean_dec(x_952); -x_943 = x_1047; -x_944 = x_1048; -goto block_951; -} -block_942: -{ -lean_object* x_934; lean_object* x_935; uint8_t x_936; -x_934 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2; -x_935 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_930, x_934, x_6, x_933); -lean_dec(x_6); -x_936 = !lean_is_exclusive(x_935); -if (x_936 == 0) -{ -lean_object* x_937; lean_object* x_938; -x_937 = lean_ctor_get(x_935, 0); -lean_dec(x_937); -x_938 = lean_box(x_932); -lean_ctor_set(x_935, 0, x_938); -return x_935; -} -else -{ -lean_object* x_939; lean_object* x_940; lean_object* x_941; -x_939 = lean_ctor_get(x_935, 1); -lean_inc(x_939); -lean_dec(x_935); -x_940 = lean_box(x_932); -x_941 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_941, 0, x_940); -lean_ctor_set(x_941, 1, x_939); -return x_941; -} -} -block_951: -{ -lean_object* x_945; lean_object* x_946; uint8_t x_947; -x_945 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2; -x_946 = l___private_Init_Lean_Util_Trace_1__addNode___at_Lean_Meta_check___spec__2(x_930, x_945, x_6, x_944); -lean_dec(x_6); -x_947 = !lean_is_exclusive(x_946); -if (x_947 == 0) -{ -lean_object* x_948; -x_948 = lean_ctor_get(x_946, 0); -lean_dec(x_948); -lean_ctor_set_tag(x_946, 1); -lean_ctor_set(x_946, 0, x_943); -return x_946; -} -else -{ -lean_object* x_949; lean_object* x_950; -x_949 = lean_ctor_get(x_946, 1); -lean_inc(x_949); -lean_dec(x_946); -x_950 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_950, 0, x_943); -lean_ctor_set(x_950, 1, x_949); -return x_950; -} -} -} -} -} -} -} -else -{ -uint8_t x_1058; -lean_dec(x_32); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_1058 = !lean_is_exclusive(x_34); -if (x_1058 == 0) -{ -return x_34; -} -else -{ -lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; -x_1059 = lean_ctor_get(x_34, 0); -x_1060 = lean_ctor_get(x_34, 1); -lean_inc(x_1060); -lean_inc(x_1059); -lean_dec(x_34); -x_1061 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1061, 0, x_1059); -lean_ctor_set(x_1061, 1, x_1060); -return x_1061; -} -} -} -} -else -{ -uint8_t x_1062; -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_1062 = !lean_is_exclusive(x_19); -if (x_1062 == 0) -{ -return x_19; -} -else -{ -lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; -x_1063 = lean_ctor_get(x_19, 0); -x_1064 = lean_ctor_get(x_19, 1); -lean_inc(x_1064); -lean_inc(x_1063); -lean_dec(x_19); -x_1065 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1065, 0, x_1063); -lean_ctor_set(x_1065, 1, x_1064); -return x_1065; -} -} -} -} -else -{ -lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; -lean_dec(x_8); -x_1074 = lean_ctor_get(x_6, 0); -lean_inc(x_1074); -x_1075 = lean_array_fget(x_5, x_4); -lean_inc(x_6); -x_1076 = l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArg(x_1075, x_6, x_7); -if (lean_obj_tag(x_1076) == 0) -{ -uint8_t x_1077; -x_1077 = !lean_is_exclusive(x_1076); -if (x_1077 == 0) -{ -lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; -x_1078 = lean_ctor_get(x_1076, 0); -x_1079 = lean_ctor_get(x_1076, 1); -lean_inc(x_1078); -lean_inc(x_5); -x_1080 = lean_array_fset(x_5, x_4, x_1078); -if (lean_obj_tag(x_1078) == 1) -{ -lean_object* x_1081; lean_object* x_1082; uint8_t x_1083; -x_1081 = lean_ctor_get(x_1078, 0); -lean_inc(x_1081); -x_1082 = lean_array_get_size(x_1080); -x_1083 = lean_nat_dec_le(x_4, x_1082); -if (x_1083 == 0) -{ -lean_object* x_1084; uint8_t x_1085; -x_1084 = lean_unsigned_to_nat(0u); -x_1085 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__2(x_4, x_5, lean_box(0), x_1078, x_1080, x_1082, x_1084); -lean_dec(x_1082); -lean_dec(x_1078); -lean_dec(x_5); -if (x_1085 == 0) -{ -lean_object* x_1086; uint8_t x_1087; -x_1086 = lean_ctor_get(x_2, 1); -x_1087 = l_Lean_LocalContext_contains(x_1086, x_1081); -lean_dec(x_1081); -if (x_1087 == 0) -{ -lean_object* x_1088; lean_object* x_1089; -lean_free_object(x_1076); -lean_dec(x_1074); -x_1088 = lean_unsigned_to_nat(1u); -x_1089 = lean_nat_add(x_4, x_1088); -lean_dec(x_4); -x_4 = x_1089; -x_5 = x_1080; -x_7 = x_1079; -goto _start; -} -else -{ -uint8_t x_1091; -x_1091 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1 + 2); -if (x_1091 == 0) -{ -uint8_t x_1092; -lean_dec(x_4); -x_1092 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1092 == 0) -{ -uint8_t x_1093; lean_object* x_1094; -lean_dec(x_1080); +uint8_t x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_137); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_1093 = 0; -x_1094 = lean_box(x_1093); -lean_ctor_set(x_1076, 0, x_1094); -return x_1076; +x_141 = 0; +x_142 = lean_box(x_141); +if (lean_is_scalar(x_136)) { + x_143 = lean_alloc_ctor(0, 2, 0); +} else { + x_143 = x_136; +} +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_135); +return x_143; } else { -lean_object* x_1095; -lean_free_object(x_1076); -x_1095 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1080, x_3, x_6, x_1079); -lean_dec(x_1080); -return x_1095; +lean_object* x_144; lean_object* x_145; +lean_dec(x_136); +x_144 = lean_array_get_size(x_137); +lean_dec(x_137); +x_145 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_144, x_3, x_6, x_135); +return x_145; } } else { -lean_object* x_1096; lean_object* x_1097; -lean_free_object(x_1076); -lean_dec(x_1074); -x_1096 = lean_unsigned_to_nat(1u); -x_1097 = lean_nat_add(x_4, x_1096); -lean_dec(x_4); -x_4 = x_1097; -x_5 = x_1080; -x_7 = x_1079; -goto _start; -} -} -} -else +uint8_t x_146; +x_146 = l_Lean_Expr_isApp(x_3); +if (x_146 == 0) { -uint8_t x_1099; -lean_dec(x_1081); -lean_dec(x_4); -x_1099 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1099 == 0) +uint8_t x_147; +x_147 = lean_ctor_get_uint8(x_131, sizeof(void*)*1 + 3); +lean_dec(x_131); +if (x_147 == 0) { -uint8_t x_1100; lean_object* x_1101; -lean_dec(x_1080); +uint8_t x_148; lean_object* x_149; lean_object* x_150; +lean_dec(x_137); lean_dec(x_6); lean_dec(x_3); lean_dec(x_1); -x_1100 = 0; -x_1101 = lean_box(x_1100); -lean_ctor_set(x_1076, 0, x_1101); -return x_1076; +x_148 = 0; +x_149 = lean_box(x_148); +if (lean_is_scalar(x_136)) { + x_150 = lean_alloc_ctor(0, 2, 0); +} else { + x_150 = x_136; +} +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_135); +return x_150; } else { -lean_object* x_1102; -lean_free_object(x_1076); -x_1102 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1080, x_3, x_6, x_1079); -lean_dec(x_1080); -return x_1102; -} +lean_object* x_151; lean_object* x_152; +lean_dec(x_136); +x_151 = lean_array_get_size(x_137); +lean_dec(x_137); +x_152 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_151, x_3, x_6, x_135); +return x_152; } } else { -lean_object* x_1103; uint8_t x_1104; -lean_dec(x_1082); -x_1103 = lean_unsigned_to_nat(0u); -x_1104 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__3(x_4, x_5, lean_box(0), x_1078, lean_box(0), x_1080, x_4, x_1103); -lean_dec(x_1078); -lean_dec(x_5); -if (x_1104 == 0) -{ -lean_object* x_1105; uint8_t x_1106; -x_1105 = lean_ctor_get(x_2, 1); -x_1106 = l_Lean_LocalContext_contains(x_1105, x_1081); -lean_dec(x_1081); -if (x_1106 == 0) -{ -lean_object* x_1107; lean_object* x_1108; -lean_free_object(x_1076); -lean_dec(x_1074); -x_1107 = lean_unsigned_to_nat(1u); -x_1108 = lean_nat_add(x_4, x_1107); -lean_dec(x_4); -x_4 = x_1108; -x_5 = x_1080; -x_7 = x_1079; -goto _start; -} -else -{ -uint8_t x_1110; -x_1110 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1 + 2); -if (x_1110 == 0) -{ -uint8_t x_1111; -lean_dec(x_4); -x_1111 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1111 == 0) -{ -uint8_t x_1112; lean_object* x_1113; -lean_dec(x_1080); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_1112 = 0; -x_1113 = lean_box(x_1112); -lean_ctor_set(x_1076, 0, x_1113); -return x_1076; -} -else -{ -lean_object* x_1114; -lean_free_object(x_1076); -x_1114 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1080, x_3, x_6, x_1079); -lean_dec(x_1080); -return x_1114; -} -} -else -{ -lean_object* x_1115; lean_object* x_1116; -lean_free_object(x_1076); -lean_dec(x_1074); -x_1115 = lean_unsigned_to_nat(1u); -x_1116 = lean_nat_add(x_4, x_1115); -lean_dec(x_4); -x_4 = x_1116; -x_5 = x_1080; -x_7 = x_1079; -goto _start; -} -} -} -else -{ -uint8_t x_1118; -lean_dec(x_1081); -lean_dec(x_4); -x_1118 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1118 == 0) -{ -uint8_t x_1119; lean_object* x_1120; -lean_dec(x_1080); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_1119 = 0; -x_1120 = lean_box(x_1119); -lean_ctor_set(x_1076, 0, x_1120); -return x_1076; -} -else -{ -lean_object* x_1121; -lean_free_object(x_1076); -x_1121 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1080, x_3, x_6, x_1079); -lean_dec(x_1080); -return x_1121; +lean_object* x_153; +lean_dec(x_136); +lean_dec(x_131); +x_153 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_137, x_3, x_6, x_135); +lean_dec(x_137); +return x_153; } } } } else { -uint8_t x_1122; -lean_dec(x_1078); -lean_dec(x_5); -lean_dec(x_4); -x_1122 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1122 == 0) -{ -uint8_t x_1123; lean_object* x_1124; -lean_dec(x_1080); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_1123 = 0; -x_1124 = lean_box(x_1123); -lean_ctor_set(x_1076, 0, x_1124); -return x_1076; -} -else -{ -lean_object* x_1125; -lean_free_object(x_1076); -x_1125 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1080, x_3, x_6, x_1079); -lean_dec(x_1080); -return x_1125; -} -} -} -else -{ -lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; -x_1126 = lean_ctor_get(x_1076, 0); -x_1127 = lean_ctor_get(x_1076, 1); -lean_inc(x_1127); -lean_inc(x_1126); -lean_dec(x_1076); -lean_inc(x_1126); -lean_inc(x_5); -x_1128 = lean_array_fset(x_5, x_4, x_1126); -if (lean_obj_tag(x_1126) == 1) -{ -lean_object* x_1129; lean_object* x_1130; uint8_t x_1131; -x_1129 = lean_ctor_get(x_1126, 0); -lean_inc(x_1129); -x_1130 = lean_array_get_size(x_1128); -x_1131 = lean_nat_dec_le(x_4, x_1130); -if (x_1131 == 0) -{ -lean_object* x_1132; uint8_t x_1133; -x_1132 = lean_unsigned_to_nat(0u); -x_1133 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__2(x_4, x_5, lean_box(0), x_1126, x_1128, x_1130, x_1132); -lean_dec(x_1130); -lean_dec(x_1126); -lean_dec(x_5); -if (x_1133 == 0) -{ -lean_object* x_1134; uint8_t x_1135; -x_1134 = lean_ctor_get(x_2, 1); -x_1135 = l_Lean_LocalContext_contains(x_1134, x_1129); -lean_dec(x_1129); -if (x_1135 == 0) -{ -lean_object* x_1136; lean_object* x_1137; -lean_dec(x_1074); -x_1136 = lean_unsigned_to_nat(1u); -x_1137 = lean_nat_add(x_4, x_1136); -lean_dec(x_4); -x_4 = x_1137; -x_5 = x_1128; -x_7 = x_1127; -goto _start; -} -else -{ -uint8_t x_1139; -x_1139 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1 + 2); -if (x_1139 == 0) -{ -uint8_t x_1140; -lean_dec(x_4); -x_1140 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1140 == 0) -{ -uint8_t x_1141; lean_object* x_1142; lean_object* x_1143; -lean_dec(x_1128); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_1141 = 0; -x_1142 = lean_box(x_1141); -x_1143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1143, 0, x_1142); -lean_ctor_set(x_1143, 1, x_1127); -return x_1143; -} -else -{ -lean_object* x_1144; -x_1144 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1128, x_3, x_6, x_1127); -lean_dec(x_1128); -return x_1144; -} -} -else -{ -lean_object* x_1145; lean_object* x_1146; -lean_dec(x_1074); -x_1145 = lean_unsigned_to_nat(1u); -x_1146 = lean_nat_add(x_4, x_1145); -lean_dec(x_4); -x_4 = x_1146; -x_5 = x_1128; -x_7 = x_1127; -goto _start; -} -} -} -else -{ -uint8_t x_1148; -lean_dec(x_1129); -lean_dec(x_4); -x_1148 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1148 == 0) -{ -uint8_t x_1149; lean_object* x_1150; lean_object* x_1151; -lean_dec(x_1128); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_1149 = 0; -x_1150 = lean_box(x_1149); -x_1151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1151, 0, x_1150); -lean_ctor_set(x_1151, 1, x_1127); -return x_1151; -} -else -{ -lean_object* x_1152; -x_1152 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1128, x_3, x_6, x_1127); -lean_dec(x_1128); -return x_1152; -} -} -} -else -{ -lean_object* x_1153; uint8_t x_1154; -lean_dec(x_1130); -x_1153 = lean_unsigned_to_nat(0u); -x_1154 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__3(x_4, x_5, lean_box(0), x_1126, lean_box(0), x_1128, x_4, x_1153); -lean_dec(x_1126); -lean_dec(x_5); -if (x_1154 == 0) -{ -lean_object* x_1155; uint8_t x_1156; -x_1155 = lean_ctor_get(x_2, 1); -x_1156 = l_Lean_LocalContext_contains(x_1155, x_1129); -lean_dec(x_1129); -if (x_1156 == 0) -{ -lean_object* x_1157; lean_object* x_1158; -lean_dec(x_1074); -x_1157 = lean_unsigned_to_nat(1u); -x_1158 = lean_nat_add(x_4, x_1157); -lean_dec(x_4); -x_4 = x_1158; -x_5 = x_1128; -x_7 = x_1127; -goto _start; -} -else -{ -uint8_t x_1160; -x_1160 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1 + 2); -if (x_1160 == 0) -{ -uint8_t x_1161; -lean_dec(x_4); -x_1161 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1161 == 0) -{ -uint8_t x_1162; lean_object* x_1163; lean_object* x_1164; -lean_dec(x_1128); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_1162 = 0; -x_1163 = lean_box(x_1162); -x_1164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1164, 0, x_1163); -lean_ctor_set(x_1164, 1, x_1127); -return x_1164; -} -else -{ -lean_object* x_1165; -x_1165 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1128, x_3, x_6, x_1127); -lean_dec(x_1128); -return x_1165; -} -} -else -{ -lean_object* x_1166; lean_object* x_1167; -lean_dec(x_1074); -x_1166 = lean_unsigned_to_nat(1u); -x_1167 = lean_nat_add(x_4, x_1166); -lean_dec(x_4); -x_4 = x_1167; -x_5 = x_1128; -x_7 = x_1127; -goto _start; -} -} -} -else -{ -uint8_t x_1169; -lean_dec(x_1129); -lean_dec(x_4); -x_1169 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1169 == 0) -{ -uint8_t x_1170; lean_object* x_1171; lean_object* x_1172; -lean_dec(x_1128); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_1170 = 0; -x_1171 = lean_box(x_1170); -x_1172 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1172, 0, x_1171); -lean_ctor_set(x_1172, 1, x_1127); -return x_1172; -} -else -{ -lean_object* x_1173; -x_1173 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1128, x_3, x_6, x_1127); -lean_dec(x_1128); -return x_1173; -} -} -} -} -else -{ -uint8_t x_1174; -lean_dec(x_1126); -lean_dec(x_5); -lean_dec(x_4); -x_1174 = lean_ctor_get_uint8(x_1074, sizeof(void*)*1); -lean_dec(x_1074); -if (x_1174 == 0) -{ -uint8_t x_1175; lean_object* x_1176; lean_object* x_1177; -lean_dec(x_1128); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_1175 = 0; -x_1176 = lean_box(x_1175); -x_1177 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1177, 0, x_1176); -lean_ctor_set(x_1177, 1, x_1127); -return x_1177; -} -else -{ -lean_object* x_1178; -x_1178 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_1128, x_3, x_6, x_1127); -lean_dec(x_1128); -return x_1178; -} -} -} -} -else -{ -uint8_t x_1179; -lean_dec(x_1074); +uint8_t x_223; +lean_dec(x_131); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_1179 = !lean_is_exclusive(x_1076); -if (x_1179 == 0) +x_223 = !lean_is_exclusive(x_133); +if (x_223 == 0) { -return x_1076; +return x_133; } else { -lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; -x_1180 = lean_ctor_get(x_1076, 0); -x_1181 = lean_ctor_get(x_1076, 1); -lean_inc(x_1181); -lean_inc(x_1180); -lean_dec(x_1076); -x_1182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1182, 0, x_1180); -lean_ctor_set(x_1182, 1, x_1181); -return x_1182; +lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_224 = lean_ctor_get(x_133, 0); +x_225 = lean_ctor_get(x_133, 1); +lean_inc(x_225); +lean_inc(x_224); +lean_dec(x_133); +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +return x_226; } } } } } -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___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_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -17438,11 +22544,11 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -17452,11 +22558,11 @@ x_9 = lean_box(x_8); return x_9; } } -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; -x_9 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__3(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_4); @@ -17466,33 +22572,33 @@ x_10 = lean_box(x_9); return x_10; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); return x_8; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_8; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); return x_8; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -17502,7 +22608,7 @@ x_3 = l_Lean_Name_append___main(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; lean_object* x_306; uint8_t x_307; @@ -17521,7 +22627,7 @@ goto block_305; else { lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; uint8_t x_313; -x_309 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment___closed__1; +x_309 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment___closed__1; x_310 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_309, x_3, x_4); x_311 = lean_ctor_get(x_310, 0); lean_inc(x_311); @@ -17571,7 +22677,7 @@ x_21 = lean_unsigned_to_nat(1u); x_22 = lean_nat_sub(x_18, x_21); lean_dec(x_18); x_23 = l___private_Init_Lean_Expr_3__getAppArgsAux___main(x_1, x_20, x_22); -x_24 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main(x_12, x_15, x_2, x_17, x_23, x_3, x_16); +x_24 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main(x_12, x_15, x_2, x_17, x_23, x_3, x_16); lean_dec(x_15); if (lean_obj_tag(x_24) == 0) { @@ -18031,7 +23137,7 @@ x_128 = lean_unsigned_to_nat(1u); x_129 = lean_nat_sub(x_125, x_128); lean_dec(x_125); x_130 = l___private_Init_Lean_Expr_3__getAppArgsAux___main(x_1, x_127, x_129); -x_131 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main(x_119, x_122, x_2, x_124, x_130, x_3, x_123); +x_131 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main(x_119, x_122, x_2, x_124, x_130, x_3, x_123); lean_dec(x_122); if (lean_obj_tag(x_131) == 0) { @@ -18326,7 +23432,7 @@ x_198 = lean_unsigned_to_nat(1u); x_199 = lean_nat_sub(x_195, x_198); lean_dec(x_195); x_200 = l___private_Init_Lean_Expr_3__getAppArgsAux___main(x_1, x_197, x_199); -x_201 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main(x_189, x_192, x_2, x_194, x_200, x_3, x_193); +x_201 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main(x_189, x_192, x_2, x_194, x_200, x_3, x_193); lean_dec(x_192); if (lean_obj_tag(x_201) == 0) { @@ -18581,7 +23687,7 @@ goto block_288; else { lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; -x_291 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment___closed__1; +x_291 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment___closed__1; x_292 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_291, x_3, x_249); x_293 = lean_ctor_get(x_292, 0); lean_inc(x_293); @@ -18648,7 +23754,7 @@ x_261 = lean_nat_sub(x_257, x_260); lean_dec(x_257); x_262 = l___private_Init_Lean_Expr_3__getAppArgsAux___main(x_1, x_259, x_261); lean_inc(x_3); -x_263 = l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main(x_251, x_254, x_2, x_256, x_262, x_3, x_255); +x_263 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main(x_251, x_254, x_2, x_256, x_262, x_3, x_255); lean_dec(x_254); if (lean_obj_tag(x_263) == 0) { @@ -18757,7 +23863,7 @@ return x_287; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__isDeltaCandidate(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDeltaCandidate(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -18784,17 +23890,17 @@ return x_9; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__isDeltaCandidate___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDeltaCandidate___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Meta_ExprDefEq_19__isDeltaCandidate(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Meta_ExprDefEq_21__isDeltaCandidate(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_20__isListLevelDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isListLevelDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -18856,16 +23962,16 @@ return x_20; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_20__isListLevelDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isListLevelDefEq___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_Init_Lean_Meta_ExprDefEq_20__isListLevelDefEq(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Meta_ExprDefEq_22__isListLevelDefEq(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__1() { _start: { lean_object* x_1; @@ -18873,17 +23979,17 @@ x_1 = lean_mk_string("delta"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_isExprDefEq___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__1; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__3() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__3() { _start: { lean_object* x_1; @@ -18891,27 +23997,27 @@ x_1 = lean_mk_string("unfoldLeft"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__4() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__3; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__5() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__4; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__4; x_3 = l_Lean_Name_append___main(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft(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; @@ -18983,7 +24089,7 @@ return x_23; else { lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__5; +x_24 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__5; x_25 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_24, x_4, x_5); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); @@ -19061,7 +24167,7 @@ lean_inc(x_45); lean_dec(x_25); x_46 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_46, 0, x_1); -x_47 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__4; +x_47 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__4; x_48 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_47, x_46, x_4, x_45); x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); @@ -19126,7 +24232,7 @@ return x_65; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__1() { _start: { lean_object* x_1; @@ -19134,27 +24240,27 @@ x_1 = lean_mk_string("unfoldRight"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__1; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__3() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__2; x_3 = l_Lean_Name_append___main(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(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; @@ -19226,7 +24332,7 @@ return x_23; else { lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__3; +x_24 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__3; x_25 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_24, x_4, x_5); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); @@ -19304,7 +24410,7 @@ lean_inc(x_45); lean_dec(x_25); x_46 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_46, 0, x_1); -x_47 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__2; +x_47 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__2; x_48 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_47, x_46, x_4, x_45); x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); @@ -19369,7 +24475,7 @@ return x_65; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__1() { _start: { lean_object* x_1; @@ -19377,27 +24483,27 @@ x_1 = lean_mk_string("unfoldLeftRight"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__1; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__3() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__2; x_3 = l_Lean_Name_append___main(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight(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; @@ -19469,7 +24575,7 @@ return x_23; else { lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__3; +x_24 = l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__3; x_25 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_24, x_4, x_5); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); @@ -19547,7 +24653,7 @@ lean_inc(x_45); lean_dec(x_25); x_46 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_46, 0, x_1); -x_47 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__2; +x_47 = l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__2; x_48 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_47, x_46, x_4, x_45); x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); @@ -19612,7 +24718,7 @@ return x_65; } } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (x_3 == 0) @@ -19634,7 +24740,7 @@ return x_10; } } } -lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__1() { +lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -19642,27 +24748,27 @@ x_1 = lean_mk_string("heuristic failed "); return x_1; } } -lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__2() { +lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__1; +x_1 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__3() { +lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__2; +x_1 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { _start: { if (x_4 == 0) @@ -19733,7 +24839,7 @@ lean_inc(x_22); lean_dec(x_13); x_23 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_23, 0, x_2); -x_24 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__3; +x_24 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__3; x_25 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -19786,7 +24892,7 @@ return x_38; } } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; @@ -19812,13 +24918,13 @@ x_19 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_ExprDefEq_4__isDefE lean_closure_set(x_19, 0, x_3); lean_closure_set(x_19, 1, x_14); lean_closure_set(x_19, 2, x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__1___boxed), 5, 2); +x_20 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__1___boxed), 5, 2); lean_closure_set(x_20, 0, x_3); lean_closure_set(x_20, 1, x_4); x_21 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_isClassExpensive___main___spec__4___rarg), 4, 2); lean_closure_set(x_21, 0, x_19); lean_closure_set(x_21, 1, x_20); -x_22 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___boxed), 6, 3); +x_22 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___boxed), 6, 3); lean_closure_set(x_22, 0, x_5); lean_closure_set(x_22, 1, x_1); lean_closure_set(x_22, 2, x_2); @@ -20178,7 +25284,7 @@ return x_76; } } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___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* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___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) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 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; @@ -20204,13 +25310,13 @@ x_19 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_ExprDefEq_4__isDefE lean_closure_set(x_19, 0, x_3); lean_closure_set(x_19, 1, x_14); lean_closure_set(x_19, 2, x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__1___boxed), 5, 2); +x_20 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__1___boxed), 5, 2); lean_closure_set(x_20, 0, x_3); lean_closure_set(x_20, 1, x_4); x_21 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_isClassExpensive___main___spec__4___rarg), 4, 2); lean_closure_set(x_21, 0, x_19); lean_closure_set(x_21, 1, x_20); -x_22 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___boxed), 6, 3); +x_22 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___boxed), 6, 3); lean_closure_set(x_22, 0, x_5); lean_closure_set(x_22, 1, x_1); lean_closure_set(x_22, 2, x_2); @@ -20570,17 +25676,17 @@ return x_76; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; x_3 = l_Lean_Name_append___main(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic(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; uint8_t x_7; lean_object* x_8; lean_object* x_176; uint8_t x_177; @@ -20601,7 +25707,7 @@ goto block_175; else { lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_179 = l___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___closed__1; +x_179 = l___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___closed__1; x_180 = l___private_Init_Lean_Util_Trace_4__checkTraceOption___at_Lean_Meta_check___spec__3(x_179, x_3, x_4); x_181 = lean_ctor_get(x_180, 0); lean_inc(x_181); @@ -20631,8 +25737,8 @@ uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; x_12 = lean_ctor_get_uint8(x_10, sizeof(void*)*1); x_13 = 0; lean_ctor_set_uint8(x_10, sizeof(void*)*1, x_13); -x_14 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; -x_15 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1(x_1, x_2, x_5, x_6, x_14, x_3, x_8); +x_14 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; +x_15 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1(x_1, x_2, x_5, x_6, x_14, x_3, x_8); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -20926,8 +26032,8 @@ x_79 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_79, 0, x_77); lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_78); lean_ctor_set(x_8, 4, x_79); -x_80 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; -x_81 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1(x_1, x_2, x_5, x_6, x_80, x_3, x_8); +x_80 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; +x_81 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1(x_1, x_2, x_5, x_6, x_80, x_3, x_8); if (lean_obj_tag(x_81) == 0) { lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; @@ -21121,8 +26227,8 @@ lean_ctor_set(x_123, 2, x_115); lean_ctor_set(x_123, 3, x_116); lean_ctor_set(x_123, 4, x_122); lean_ctor_set(x_123, 5, x_117); -x_124 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; -x_125 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1(x_1, x_2, x_5, x_6, x_124, x_3, x_123); +x_124 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; +x_125 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1(x_1, x_2, x_5, x_6, x_124, x_3, x_123); if (lean_obj_tag(x_125) == 0) { 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; @@ -21284,9 +26390,9 @@ lean_inc(x_157); x_158 = lean_ctor_get(x_156, 1); lean_inc(x_158); lean_dec(x_156); -x_159 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; +x_159 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; lean_inc(x_3); -x_160 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__2(x_1, x_2, x_5, x_6, x_159, x_3, x_158); +x_160 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__2(x_1, x_2, x_5, x_6, x_159, x_3, x_158); if (lean_obj_tag(x_160) == 0) { lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; @@ -21354,31 +26460,31 @@ return x_174; } } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_3); lean_dec(x_3); -x_7 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__1(x_1, x_2, x_6, x_4, x_5); +x_7 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__1(x_1, x_2, x_6, x_4, x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___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* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_4); lean_dec(x_4); -x_8 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2(x_1, x_2, x_3, x_7, x_5, x_6); +x_8 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2(x_1, x_2, x_3, x_7, x_5, x_6); lean_dec(x_5); return x_8; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__unfold___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__unfold___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -21440,15 +26546,15 @@ return x_16; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__unfold(lean_object* x_1) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__unfold(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_ExprDefEq_25__unfold___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_ExprDefEq_27__unfold___rarg), 5, 0); return x_2; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_26__unfoldBothDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_28__unfoldBothDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { switch (lean_obj_tag(x_2)) { @@ -21464,7 +26570,7 @@ lean_dec(x_2); x_7 = lean_ctor_get(x_3, 1); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Init_Lean_Meta_ExprDefEq_20__isListLevelDefEq(x_6, x_7, x_4, x_5); +x_8 = l___private_Init_Lean_Meta_ExprDefEq_22__isListLevelDefEq(x_6, x_7, x_4, x_5); lean_dec(x_4); return x_8; } @@ -21490,7 +26596,7 @@ lean_object* x_12; lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_12 = l___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic(x_2, x_3, x_4, x_5); +x_12 = l___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic(x_2, x_3, x_4, x_5); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; uint8_t x_14; @@ -21565,7 +26671,7 @@ lean_dec(x_19); x_30 = lean_ctor_get(x_20, 0); lean_inc(x_30); lean_dec(x_20); -x_31 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(x_1, x_2, x_30, x_4, x_29); +x_31 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(x_1, x_2, x_30, x_4, x_29); return x_31; } } @@ -21619,7 +26725,7 @@ lean_object* x_40; lean_object* x_41; x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); lean_dec(x_38); -x_41 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft(x_1, x_37, x_3, x_4, x_40); +x_41 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft(x_1, x_37, x_3, x_4, x_40); return x_41; } else @@ -21632,7 +26738,7 @@ lean_dec(x_38); x_43 = lean_ctor_get(x_39, 0); lean_inc(x_43); lean_dec(x_39); -x_44 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight(x_1, x_37, x_43, x_4, x_42); +x_44 = l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight(x_1, x_37, x_43, x_4, x_42); return x_44; } } @@ -21783,7 +26889,7 @@ return x_70; } } } -uint8_t l___private_Init_Lean_Meta_ExprDefEq_27__sameHeadSymbol(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Lean_Meta_ExprDefEq_29__sameHeadSymbol(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -21817,18 +26923,18 @@ return x_7; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__sameHeadSymbol___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__sameHeadSymbol___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Lean_Meta_ExprDefEq_27__sameHeadSymbol(x_1, x_2); +x_3 = l___private_Init_Lean_Meta_ExprDefEq_29__sameHeadSymbol(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(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; @@ -21893,7 +26999,7 @@ x_21 = lean_ctor_get(x_11, 0); lean_inc(x_21); lean_dec(x_11); x_22 = l_Lean_ConstantInfo_name(x_2); -x_23 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(x_22, x_3, x_21, x_5, x_20); +x_23 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(x_22, x_3, x_21, x_5, x_20); return x_23; } } @@ -21931,7 +27037,7 @@ lean_dec(x_7); x_29 = lean_ctor_get(x_8, 0); lean_inc(x_29); lean_dec(x_8); -x_30 = l___private_Init_Lean_Meta_ExprDefEq_27__sameHeadSymbol(x_29, x_4); +x_30 = l___private_Init_Lean_Meta_ExprDefEq_29__sameHeadSymbol(x_29, x_4); if (x_30 == 0) { lean_object* x_31; lean_object* x_32; @@ -21951,7 +27057,7 @@ lean_dec(x_3); x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); -x_35 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft(x_31, x_29, x_4, x_5, x_34); +x_35 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft(x_31, x_29, x_4, x_5, x_34); return x_35; } else @@ -21964,12 +27070,12 @@ lean_dec(x_32); x_37 = lean_ctor_get(x_33, 0); lean_inc(x_37); lean_dec(x_33); -x_38 = l___private_Init_Lean_Meta_ExprDefEq_27__sameHeadSymbol(x_3, x_37); +x_38 = l___private_Init_Lean_Meta_ExprDefEq_29__sameHeadSymbol(x_3, x_37); if (x_38 == 0) { lean_object* x_39; lean_dec(x_3); -x_39 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight(x_31, x_29, x_37, x_5, x_36); +x_39 = l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight(x_31, x_29, x_37, x_5, x_36); return x_39; } else @@ -21978,7 +27084,7 @@ lean_object* x_40; lean_object* x_41; lean_dec(x_31); lean_dec(x_29); x_40 = l_Lean_ConstantInfo_name(x_2); -x_41 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(x_40, x_3, x_37, x_5, x_36); +x_41 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(x_40, x_3, x_37, x_5, x_36); return x_41; } } @@ -22016,7 +27122,7 @@ else lean_object* x_46; lean_object* x_47; lean_dec(x_3); x_46 = l_Lean_ConstantInfo_name(x_1); -x_47 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft(x_46, x_29, x_4, x_5, x_28); +x_47 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft(x_46, x_29, x_4, x_5, x_28); return x_47; } } @@ -22048,17 +27154,17 @@ return x_51; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -22082,7 +27188,7 @@ lean_dec(x_10); if (x_12 == 0) { lean_object* x_13; -x_13 = l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_13 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_13; } else @@ -22102,7 +27208,7 @@ lean_object* x_16; lean_object* x_17; x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_16); +x_17 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_16); return x_17; } else @@ -22116,7 +27222,7 @@ x_19 = lean_ctor_get(x_15, 0); lean_inc(x_19); lean_dec(x_15); x_20 = l_Lean_ConstantInfo_name(x_2); -x_21 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(x_20, x_3, x_19, x_5, x_18); +x_21 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(x_20, x_3, x_19, x_5, x_18); return x_21; } } @@ -22166,7 +27272,7 @@ lean_object* x_28; lean_object* x_29; x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_28); +x_29 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_28); return x_29; } else @@ -22180,7 +27286,7 @@ x_31 = lean_ctor_get(x_27, 0); lean_inc(x_31); lean_dec(x_27); x_32 = l_Lean_ConstantInfo_name(x_1); -x_33 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft(x_32, x_31, x_4, x_5, x_30); +x_33 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft(x_32, x_31, x_4, x_5, x_30); return x_33; } } @@ -22214,35 +27320,35 @@ return x_37; else { lean_object* x_38; -x_38 = l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_38 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_38; } } else { lean_object* x_39; -x_39 = l___private_Init_Lean_Meta_ExprDefEq_28__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_39 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_39; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldReducibeDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__unfoldReducibeDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; x_7 = lean_ctor_get(x_5, 0); lean_inc(x_7); -x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 5); +x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 6); lean_dec(x_7); x_9 = 2; x_10 = l_Lean_Meta_TransparencyMode_beq(x_8, x_9); @@ -22287,7 +27393,7 @@ lean_dec(x_11); x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); lean_dec(x_44); -x_47 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_46); +x_47 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_46); return x_47; } else @@ -22300,7 +27406,7 @@ lean_dec(x_44); x_49 = lean_ctor_get(x_45, 0); lean_inc(x_49); lean_dec(x_45); -x_50 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft(x_11, x_49, x_4, x_5, x_48); +x_50 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft(x_11, x_49, x_4, x_5, x_48); return x_50; } } @@ -22349,7 +27455,7 @@ if (x_15 == 0) { lean_object* x_17; lean_dec(x_14); -x_17 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_17 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_17; } else @@ -22370,7 +27476,7 @@ lean_dec(x_14); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); -x_21 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_20); +x_21 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_20); return x_21; } else @@ -22383,7 +27489,7 @@ lean_dec(x_18); x_23 = lean_ctor_get(x_19, 0); lean_inc(x_23); lean_dec(x_19); -x_24 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(x_14, x_3, x_23, x_5, x_22); +x_24 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(x_14, x_3, x_23, x_5, x_22); return x_24; } } @@ -22421,7 +27527,7 @@ if (x_10 == 0) { lean_object* x_29; lean_dec(x_14); -x_29 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_29 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_29; } else @@ -22430,7 +27536,7 @@ if (x_15 == 0) { lean_object* x_30; lean_dec(x_14); -x_30 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_30 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_30; } else @@ -22451,7 +27557,7 @@ lean_dec(x_14); x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); lean_dec(x_31); -x_34 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_33); +x_34 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_33); return x_34; } else @@ -22464,7 +27570,7 @@ lean_dec(x_31); x_36 = lean_ctor_get(x_32, 0); lean_inc(x_36); lean_dec(x_32); -x_37 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(x_14, x_3, x_36, x_5, x_35); +x_37 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(x_14, x_3, x_36, x_5, x_35); return x_37; } } @@ -22502,22 +27608,22 @@ return x_41; else { lean_object* x_56; -x_56 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_56 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_56; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldReducibeDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__unfoldReducibeDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Meta_ExprDefEq_32__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldNonProjFnDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_33__unfoldNonProjFnDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; uint8_t x_11; @@ -22537,7 +27643,7 @@ if (x_11 == 0) { lean_object* x_12; lean_dec(x_8); -x_12 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_12 = l___private_Init_Lean_Meta_ExprDefEq_32__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_12; } else @@ -22558,7 +27664,7 @@ lean_dec(x_8); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_15); +x_16 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_15); return x_16; } else @@ -22571,7 +27677,7 @@ lean_dec(x_13); x_18 = lean_ctor_get(x_14, 0); lean_inc(x_18); lean_dec(x_14); -x_19 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft(x_8, x_18, x_4, x_5, x_17); +x_19 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft(x_8, x_18, x_4, x_5, x_17); return x_19; } } @@ -22624,7 +27730,7 @@ lean_dec(x_10); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_26); +x_27 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_26); return x_27; } else @@ -22637,7 +27743,7 @@ lean_dec(x_24); x_29 = lean_ctor_get(x_25, 0); lean_inc(x_29); lean_dec(x_25); -x_30 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(x_10, x_3, x_29, x_5, x_28); +x_30 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(x_10, x_3, x_29, x_5, x_28); return x_30; } } @@ -22672,28 +27778,28 @@ else { lean_object* x_35; lean_dec(x_10); -x_35 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_35 = l___private_Init_Lean_Meta_ExprDefEq_32__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_35; } } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldNonProjFnDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_33__unfoldNonProjFnDefEq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldNonProjFnDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Meta_ExprDefEq_33__unfoldNonProjFnDefEq(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__isDefEqDelta(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_34__isDefEqDelta(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; x_5 = l_Lean_Expr_getAppFn___main(x_1); -x_6 = l___private_Init_Lean_Meta_ExprDefEq_19__isDeltaCandidate(x_5, x_3, x_4); +x_6 = l___private_Init_Lean_Meta_ExprDefEq_21__isDeltaCandidate(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -22704,7 +27810,7 @@ x_8 = lean_ctor_get(x_6, 1); lean_inc(x_8); lean_dec(x_6); x_9 = l_Lean_Expr_getAppFn___main(x_2); -x_10 = l___private_Init_Lean_Meta_ExprDefEq_19__isDeltaCandidate(x_9, x_3, x_8); +x_10 = l___private_Init_Lean_Meta_ExprDefEq_21__isDeltaCandidate(x_9, x_3, x_8); lean_dec(x_9); if (lean_obj_tag(x_10) == 0) { @@ -22802,7 +27908,7 @@ lean_inc(x_33); lean_dec(x_23); x_34 = l_Lean_ConstantInfo_name(x_21); lean_dec(x_21); -x_35 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight(x_34, x_1, x_33, x_3, x_32); +x_35 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight(x_34, x_1, x_33, x_3, x_32); return x_35; } } @@ -22896,7 +28002,7 @@ lean_inc(x_54); lean_dec(x_44); x_55 = l_Lean_ConstantInfo_name(x_42); lean_dec(x_42); -x_56 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft(x_55, x_54, x_2, x_3, x_53); +x_56 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft(x_55, x_54, x_2, x_3, x_53); return x_56; } } @@ -22946,7 +28052,7 @@ if (x_66 == 0) { lean_object* x_67; lean_dec(x_64); -x_67 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldNonProjFnDefEq(x_62, x_63, x_1, x_2, x_3, x_61); +x_67 = l___private_Init_Lean_Meta_ExprDefEq_33__unfoldNonProjFnDefEq(x_62, x_63, x_1, x_2, x_3, x_61); lean_dec(x_63); lean_dec(x_62); return x_67; @@ -22956,7 +28062,7 @@ else lean_object* x_68; lean_dec(x_63); lean_dec(x_62); -x_68 = l___private_Init_Lean_Meta_ExprDefEq_26__unfoldBothDefEq(x_64, x_1, x_2, x_3, x_61); +x_68 = l___private_Init_Lean_Meta_ExprDefEq_28__unfoldBothDefEq(x_64, x_1, x_2, x_3, x_61); return x_68; } } @@ -23016,7 +28122,7 @@ return x_76; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_33__isAssigned(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 2) @@ -23047,16 +28153,16 @@ return x_11; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_33__isAssigned___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Meta_ExprDefEq_33__isAssigned(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_34__isSynthetic(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_36__isSynthetic(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 2) @@ -23081,16 +28187,16 @@ return x_8; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_34__isSynthetic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_36__isSynthetic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Meta_ExprDefEq_34__isSynthetic(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Meta_ExprDefEq_36__isSynthetic(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssignable(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 2) @@ -23200,16 +28306,16 @@ return x_30; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssignable___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Meta_ExprDefEq_35__isAssignable(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -uint8_t l___private_Init_Lean_Meta_ExprDefEq_36__etaEq(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Lean_Meta_ExprDefEq_38__etaEq(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -23233,17 +28339,17 @@ return x_7; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_36__etaEq___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_38__etaEq___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Lean_Meta_ExprDefEq_36__etaEq(x_1, x_2); +x_3 = l___private_Init_Lean_Meta_ExprDefEq_38__etaEq(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__isLetFVar(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_39__isLetFVar(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -23303,7 +28409,7 @@ return x_17; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___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_407; @@ -23322,7 +28428,7 @@ lean_inc(x_432); lean_dec(x_2); lean_inc(x_3); lean_inc(x_431); -x_433 = l___private_Init_Lean_Meta_ExprDefEq_37__isLetFVar(x_431, x_3, x_4); +x_433 = l___private_Init_Lean_Meta_ExprDefEq_39__isLetFVar(x_431, x_3, x_4); if (lean_obj_tag(x_433) == 0) { lean_object* x_434; uint8_t x_435; @@ -23337,7 +28443,7 @@ x_436 = lean_ctor_get(x_433, 1); lean_inc(x_436); lean_dec(x_433); lean_inc(x_432); -x_437 = l___private_Init_Lean_Meta_ExprDefEq_37__isLetFVar(x_432, x_3, x_436); +x_437 = l___private_Init_Lean_Meta_ExprDefEq_39__isLetFVar(x_432, x_3, x_436); if (lean_obj_tag(x_437) == 0) { lean_object* x_438; uint8_t x_439; @@ -23734,12 +28840,12 @@ if (x_6 == 0) { uint8_t x_7; lean_inc(x_1); -x_7 = l___private_Init_Lean_Meta_ExprDefEq_36__etaEq(x_1, x_2); +x_7 = l___private_Init_Lean_Meta_ExprDefEq_38__etaEq(x_1, x_2); if (x_7 == 0) { uint8_t x_8; lean_inc(x_2); -x_8 = l___private_Init_Lean_Meta_ExprDefEq_36__etaEq(x_2, x_1); +x_8 = l___private_Init_Lean_Meta_ExprDefEq_38__etaEq(x_2, x_1); if (x_8 == 0) { lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; @@ -23785,7 +28891,7 @@ block_390: lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_dec(x_12); lean_inc(x_9); -x_13 = l___private_Init_Lean_Meta_ExprDefEq_33__isAssigned(x_9, x_3, x_4); +x_13 = l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned(x_9, x_3, x_4); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_unbox(x_14); @@ -23797,7 +28903,7 @@ x_16 = lean_ctor_get(x_13, 1); lean_inc(x_16); lean_dec(x_13); lean_inc(x_10); -x_17 = l___private_Init_Lean_Meta_ExprDefEq_33__isAssigned(x_10, x_3, x_16); +x_17 = l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned(x_10, x_3, x_16); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -23809,7 +28915,7 @@ if (x_362 == 0) { lean_object* x_363; lean_inc(x_9); -x_363 = l___private_Init_Lean_Meta_ExprDefEq_34__isSynthetic(x_9, x_3, x_19); +x_363 = l___private_Init_Lean_Meta_ExprDefEq_36__isSynthetic(x_9, x_3, x_19); if (lean_obj_tag(x_363) == 0) { lean_object* x_364; uint8_t x_365; @@ -23931,7 +29037,7 @@ if (x_20 == 0) { lean_object* x_339; lean_inc(x_10); -x_339 = l___private_Init_Lean_Meta_ExprDefEq_34__isSynthetic(x_10, x_3, x_21); +x_339 = l___private_Init_Lean_Meta_ExprDefEq_36__isSynthetic(x_10, x_3, x_21); if (lean_obj_tag(x_339) == 0) { lean_object* x_340; uint8_t x_341; @@ -24052,7 +29158,7 @@ if (x_22 == 0) { lean_object* x_24; lean_inc(x_9); -x_24 = l___private_Init_Lean_Meta_ExprDefEq_35__isAssignable(x_9, x_3, x_23); +x_24 = l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable(x_9, x_3, x_23); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; lean_object* x_27; @@ -24062,7 +29168,7 @@ x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); lean_inc(x_10); -x_27 = l___private_Init_Lean_Meta_ExprDefEq_35__isAssignable(x_10, x_3, x_26); +x_27 = l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable(x_10, x_3, x_26); if (lean_obj_tag(x_27) == 0) { uint8_t x_28; @@ -24106,7 +29212,7 @@ else lean_object* x_37; uint8_t x_38; x_37 = lean_ctor_get(x_3, 0); lean_inc(x_37); -x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*1 + 3); +x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*1 + 4); lean_dec(x_37); if (x_38 == 0) { @@ -24169,7 +29275,7 @@ else lean_object* x_51; uint8_t x_52; x_51 = lean_ctor_get(x_3, 0); lean_inc(x_51); -x_52 = lean_ctor_get_uint8(x_51, sizeof(void*)*1 + 3); +x_52 = lean_ctor_get_uint8(x_51, sizeof(void*)*1 + 4); lean_dec(x_51); if (x_52 == 0) { @@ -24216,7 +29322,7 @@ lean_object* x_62; uint8_t x_63; lean_dec(x_10); x_62 = lean_ctor_get(x_3, 0); lean_inc(x_62); -x_63 = lean_ctor_get_uint8(x_62, sizeof(void*)*1 + 3); +x_63 = lean_ctor_get_uint8(x_62, sizeof(void*)*1 + 4); lean_dec(x_62); if (x_63 == 0) { @@ -24314,7 +29420,7 @@ lean_dec(x_10); x_87 = lean_ctor_get(x_27, 1); lean_inc(x_87); lean_dec(x_27); -x_88 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_2, x_1, x_3, x_87); +x_88 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_87); if (lean_obj_tag(x_88) == 0) { uint8_t x_89; @@ -24387,7 +29493,7 @@ lean_dec(x_9); x_106 = lean_ctor_get(x_27, 1); lean_inc(x_106); lean_dec(x_27); -x_107 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_1, x_2, x_3, x_106); +x_107 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_106); if (lean_obj_tag(x_107) == 0) { uint8_t x_108; @@ -24486,7 +29592,7 @@ if (x_134 == 0) lean_object* x_135; lean_dec(x_133); lean_dec(x_132); -x_135 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_2, x_1, x_3, x_131); +x_135 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_131); if (lean_obj_tag(x_135) == 0) { uint8_t x_136; @@ -24561,7 +29667,7 @@ else lean_object* x_302; lean_dec(x_133); lean_dec(x_132); -x_302 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_1, x_2, x_3, x_131); +x_302 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_131); if (lean_obj_tag(x_302) == 0) { uint8_t x_303; @@ -24637,7 +29743,7 @@ lean_dec(x_132); if (x_152 == 0) { lean_object* x_154; -x_154 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_1, x_2, x_3, x_131); +x_154 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_131); if (lean_obj_tag(x_154) == 0) { uint8_t x_155; @@ -24697,7 +29803,7 @@ return x_169; else { lean_object* x_170; -x_170 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_2, x_1, x_3, x_131); +x_170 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_131); if (lean_obj_tag(x_170) == 0) { uint8_t x_171; @@ -24762,7 +29868,7 @@ x_186 = l_Lean_LocalContext_isSubPrefixOf(x_133, x_132); if (x_186 == 0) { lean_object* x_187; -x_187 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_1, x_2, x_3, x_131); +x_187 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_131); if (lean_obj_tag(x_187) == 0) { uint8_t x_188; @@ -24822,7 +29928,7 @@ return x_202; else { lean_object* x_203; -x_203 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_2, x_1, x_3, x_131); +x_203 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_131); if (lean_obj_tag(x_203) == 0) { uint8_t x_204; @@ -24888,7 +29994,7 @@ if (x_152 == 0) lean_object* x_219; lean_dec(x_133); lean_dec(x_132); -x_219 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_1, x_2, x_3, x_131); +x_219 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_131); if (lean_obj_tag(x_219) == 0) { uint8_t x_220; @@ -24954,7 +30060,7 @@ lean_dec(x_132); if (x_152 == 0) { lean_object* x_235; -x_235 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_1, x_2, x_3, x_131); +x_235 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_131); if (lean_obj_tag(x_235) == 0) { uint8_t x_236; @@ -25014,7 +30120,7 @@ return x_250; else { lean_object* x_251; -x_251 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_2, x_1, x_3, x_131); +x_251 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_131); if (lean_obj_tag(x_251) == 0) { uint8_t x_252; @@ -25079,7 +30185,7 @@ x_267 = l_Lean_LocalContext_isSubPrefixOf(x_133, x_132); if (x_267 == 0) { lean_object* x_268; -x_268 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_1, x_2, x_3, x_131); +x_268 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_131); if (lean_obj_tag(x_268) == 0) { uint8_t x_269; @@ -25139,7 +30245,7 @@ return x_283; else { lean_object* x_284; -x_284 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment(x_2, x_1, x_3, x_131); +x_284 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_131); if (lean_obj_tag(x_284) == 0) { uint8_t x_285; @@ -25480,15 +30586,15 @@ return x_429; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick(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_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick___main(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main(x_1, x_2, x_3, x_4); return x_5; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_39__isDefEqProofIrrel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqProofIrrel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -26014,7 +31120,7 @@ return x_29; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqWHNF(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_42__isDefEqWHNF(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; @@ -26049,7 +31155,7 @@ lean_dec(x_2); lean_inc(x_4); lean_inc(x_10); lean_inc(x_7); -x_13 = l___private_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick___main(x_7, x_10, x_4, x_11); +x_13 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main(x_7, x_10, x_4, x_11); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; uint8_t x_15; @@ -26171,7 +31277,7 @@ lean_object* x_39; lean_inc(x_4); lean_inc(x_10); lean_inc(x_7); -x_39 = l___private_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick___main(x_7, x_10, x_4, x_11); +x_39 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main(x_7, x_10, x_4, x_11); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; uint8_t x_41; @@ -26346,7 +31452,7 @@ return x_72; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__1() { _start: { lean_object* x_1; @@ -26354,7 +31460,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_getConst___boxed), 3, 0); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__2() { _start: { lean_object* x_1; @@ -26362,13 +31468,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_whnf), 3, 0); return x_1; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_6 = l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; -x_7 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__1; -x_8 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__2; +x_7 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__1; +x_8 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__2; lean_inc(x_1); x_9 = l_Lean_WHNF_getStuckMVar___main___rarg(x_6, x_7, x_8, x_1); lean_inc(x_4); @@ -26491,7 +31597,7 @@ return x_33; } } } -lean_object* l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__3(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_21; lean_object* x_22; @@ -26554,7 +31660,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__2(x_13, x_4, x_14); +x_15 = l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__2(x_13, x_4, x_14); return x_15; } else @@ -26584,7 +31690,7 @@ return x_19; } } } -lean_object* l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___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_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__4(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; @@ -26622,7 +31728,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_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__2(x_14, x_4, x_15); +x_16 = l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__2(x_14, x_4, x_15); return x_16; } else @@ -26662,7 +31768,7 @@ return x_22; } } } -lean_object* l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { switch (lean_obj_tag(x_1)) { @@ -26766,7 +31872,7 @@ x_28 = lean_unsigned_to_nat(1u); x_29 = lean_nat_sub(x_25, x_28); lean_dec(x_25); x_30 = l___private_Init_Lean_Expr_3__getAppArgsAux___main(x_1, x_27, x_29); -x_31 = l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__3(x_23, x_11, x_30, x_2, x_22); +x_31 = l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__3(x_23, x_11, x_30, x_2, x_22); lean_dec(x_30); lean_dec(x_11); lean_dec(x_23); @@ -26790,7 +31896,7 @@ x_38 = lean_unsigned_to_nat(1u); x_39 = lean_nat_sub(x_35, x_38); lean_dec(x_35); x_40 = l___private_Init_Lean_Expr_3__getAppArgsAux___main(x_1, x_37, x_39); -x_41 = l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__4(x_33, x_11, x_40, x_2, x_32); +x_41 = l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__4(x_33, x_11, x_40, x_2, x_32); lean_dec(x_40); lean_dec(x_11); lean_dec(x_33); @@ -26936,13 +32042,13 @@ return x_66; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_inc(x_3); lean_inc(x_2); -x_5 = l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__2(x_2, x_3, x_4); +x_5 = l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__2(x_2, x_3, x_4); if (lean_obj_tag(x_5) == 0) { lean_object* x_6; @@ -27098,13 +32204,13 @@ return x_40; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(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_inc(x_4); lean_inc(x_3); -x_6 = l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__2(x_3, x_4, x_5); +x_6 = l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__2(x_3, x_4, x_5); if (lean_obj_tag(x_6) == 0) { lean_object* x_7; @@ -27117,7 +32223,7 @@ lean_dec(x_3); x_8 = lean_ctor_get(x_6, 1); lean_inc(x_8); lean_dec(x_6); -x_9 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__1(x_1, x_2, x_4, x_8); +x_9 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__1(x_1, x_2, x_4, x_8); return x_9; } else @@ -27145,7 +32251,7 @@ lean_dec(x_3); x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); lean_dec(x_12); -x_16 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__1(x_1, x_2, x_4, x_15); +x_16 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__1(x_1, x_2, x_4, x_15); return x_16; } else @@ -27221,31 +32327,31 @@ return x_29; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_inc(x_1); -x_5 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_1, x_2, x_1, x_3, x_4); +x_5 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_1, x_2, x_1, x_3, x_4); return x_5; } } -lean_object* l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__3(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__3(x_1, x_2, x_3, x_4, x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_6; } } -lean_object* l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___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_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___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_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__4(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__4(x_1, x_2, x_3, x_4, x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -27662,7 +32768,7 @@ return x_62; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqWHNF___at_Lean_Meta_isExprDefEqAuxImpl___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_42__isDefEqWHNF___at_Lean_Meta_isExprDefEqAuxImpl___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -27705,7 +32811,7 @@ lean_dec(x_2); lean_inc(x_3); lean_inc(x_9); lean_inc(x_6); -x_13 = l___private_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick___main(x_6, x_9, x_3, x_10); +x_13 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main(x_6, x_9, x_3, x_10); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; uint8_t x_15; @@ -27874,7 +32980,7 @@ lean_dec(x_64); lean_inc(x_3); lean_inc(x_9); lean_inc(x_6); -x_84 = l___private_Init_Lean_Meta_ExprDefEq_32__isDefEqDelta(x_6, x_9, x_3, x_83); +x_84 = l___private_Init_Lean_Meta_ExprDefEq_34__isDefEqDelta(x_6, x_9, x_3, x_83); if (lean_obj_tag(x_84) == 0) { lean_object* x_85; uint8_t x_86; @@ -28165,7 +33271,7 @@ else lean_object* x_44; lean_dec(x_33); lean_inc(x_6); -x_44 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_35); +x_44 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_35); return x_44; } } @@ -28194,7 +33300,7 @@ x_49 = lean_ctor_get(x_46, 1); lean_inc(x_49); lean_dec(x_46); lean_inc(x_6); -x_50 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_49); +x_50 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_49); return x_50; } else @@ -28254,7 +33360,7 @@ else { lean_object* x_59; lean_inc(x_6); -x_59 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_35); +x_59 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_35); return x_59; } } @@ -28263,7 +33369,7 @@ default: lean_object* x_60; lean_dec(x_33); lean_inc(x_6); -x_60 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_35); +x_60 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_35); return x_60; } } @@ -28326,7 +33432,7 @@ lean_dec(x_11); lean_inc(x_3); lean_inc(x_9); lean_inc(x_6); -x_135 = l___private_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick___main(x_6, x_9, x_3, x_10); +x_135 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main(x_6, x_9, x_3, x_10); if (lean_obj_tag(x_135) == 0) { lean_object* x_136; uint8_t x_137; @@ -28495,7 +33601,7 @@ lean_dec(x_186); lean_inc(x_3); lean_inc(x_9); lean_inc(x_6); -x_206 = l___private_Init_Lean_Meta_ExprDefEq_32__isDefEqDelta(x_6, x_9, x_3, x_205); +x_206 = l___private_Init_Lean_Meta_ExprDefEq_34__isDefEqDelta(x_6, x_9, x_3, x_205); if (lean_obj_tag(x_206) == 0) { lean_object* x_207; uint8_t x_208; @@ -28786,7 +33892,7 @@ else lean_object* x_166; lean_dec(x_155); lean_inc(x_6); -x_166 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_157); +x_166 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_157); return x_166; } } @@ -28815,7 +33921,7 @@ x_171 = lean_ctor_get(x_168, 1); lean_inc(x_171); lean_dec(x_168); lean_inc(x_6); -x_172 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_171); +x_172 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_171); return x_172; } else @@ -28875,7 +33981,7 @@ else { lean_object* x_181; lean_inc(x_6); -x_181 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_157); +x_181 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_157); return x_181; } } @@ -28884,7 +33990,7 @@ default: lean_object* x_182; lean_dec(x_155); lean_inc(x_6); -x_182 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_157); +x_182 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_157); return x_182; } } @@ -29023,7 +34129,7 @@ lean_dec(x_286); lean_inc(x_3); lean_inc(x_9); lean_inc(x_6); -x_306 = l___private_Init_Lean_Meta_ExprDefEq_32__isDefEqDelta(x_6, x_9, x_3, x_305); +x_306 = l___private_Init_Lean_Meta_ExprDefEq_34__isDefEqDelta(x_6, x_9, x_3, x_305); if (lean_obj_tag(x_306) == 0) { lean_object* x_307; uint8_t x_308; @@ -29314,7 +34420,7 @@ else lean_object* x_266; lean_dec(x_11); lean_inc(x_6); -x_266 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_257); +x_266 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_257); return x_266; } } @@ -29343,7 +34449,7 @@ x_271 = lean_ctor_get(x_268, 1); lean_inc(x_271); lean_dec(x_268); lean_inc(x_6); -x_272 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_271); +x_272 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_271); return x_272; } else @@ -29403,7 +34509,7 @@ else { lean_object* x_281; lean_inc(x_6); -x_281 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_257); +x_281 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_257); return x_281; } } @@ -29412,7 +34518,7 @@ default: lean_object* x_282; lean_dec(x_11); lean_inc(x_6); -x_282 = l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_42__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_257); +x_282 = l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure___spec__5(x_6, x_9, x_6, x_3, x_257); return x_282; } } @@ -29576,7 +34682,7 @@ lean_object* x_6; lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_6 = l___private_Init_Lean_Meta_ExprDefEq_38__isDefEqQuick___main(x_1, x_2, x_3, x_5); +x_6 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main(x_1, x_2, x_3, x_5); if (lean_obj_tag(x_6) == 0) { lean_object* x_7; uint8_t x_8; @@ -29656,7 +34762,7 @@ lean_dec(x_6); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_26 = l___private_Init_Lean_Meta_ExprDefEq_39__isDefEqProofIrrel(x_1, x_2, x_3, x_25); +x_26 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqProofIrrel(x_1, x_2, x_3, x_25); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; uint8_t x_28; @@ -29733,7 +34839,7 @@ lean_object* x_45; lean_object* x_46; x_45 = lean_ctor_get(x_26, 1); lean_inc(x_45); lean_dec(x_26); -x_46 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqWHNF___at_Lean_Meta_isExprDefEqAuxImpl___spec__2(x_1, x_2, x_3, x_45); +x_46 = l___private_Init_Lean_Meta_ExprDefEq_42__isDefEqWHNF___at_Lean_Meta_isExprDefEqAuxImpl___spec__2(x_1, x_2, x_3, x_45); return x_46; } } @@ -29822,7 +34928,7 @@ x_4 = lean_io_ref_set(x_2, x_3, x_1); return x_4; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -29842,7 +34948,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2; +x_8 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; x_9 = l_Lean_registerTraceClass(x_8, x_7); if (lean_obj_tag(x_9) == 0) { @@ -30044,64 +35150,64 @@ l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___clos lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__2); l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__3(); lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__3); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__2); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__3); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__4); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__5); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__6 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__6); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__7 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__7); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__8); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__9 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__9); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__10 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__10(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__10); -l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__11 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__11(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__processAssignmentAux___main___closed__11); -l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_18__processAssignment___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__2); -l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__3); -l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__4 = _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__4); -l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__5 = _init_l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_21__isDefEqLeft___closed__5); -l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__2); -l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqRight___closed__3); -l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__2); -l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeftRight___closed__3); -l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__1 = _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__1); -l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__2 = _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__2); -l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__3 = _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___spec__1___lambda__2___closed__3); -l___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_24__tryHeuristic___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_41__unstuckMVar___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__3); +l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__4); +l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5); +l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__6 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__6); +l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__7 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__7); +l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__8); +l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__9 = _init_l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__9); +l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__3); +l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__4 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__4); +l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__5 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__5); +l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__3); +l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__3); +l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__1 = _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__1); +l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__2 = _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__2); +l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__3 = _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__3); +l___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__2); l_Lean_Meta_isExprDefEqAuxImpl___closed__1 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__1(); lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__1); l_Lean_Meta_isExprDefEqAuxImpl___closed__2 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__2(); @@ -30111,7 +35217,7 @@ lean_mark_persistent(l_Lean_Meta_setIsExprDefEqAuxRef___closed__1); res = l_Lean_Meta_setIsExprDefEqAuxRef(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l___private_Init_Lean_Meta_ExprDefEq_43__regTraceClasses(lean_io_mk_world()); +res = l___private_Init_Lean_Meta_ExprDefEq_45__regTraceClasses(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_mk_io_result(lean_box(0)); diff --git a/stage0/stdlib/Init/Lean/Meta/FunInfo.c b/stage0/stdlib/Init/Lean/Meta/FunInfo.c index f79fe3744d..bc25fc9ef8 100644 --- a/stage0/stdlib/Init/Lean/Meta/FunInfo.c +++ b/stage0/stdlib/Init/Lean/Meta/FunInfo.c @@ -1552,7 +1552,7 @@ _start: lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_6 = lean_ctor_get(x_4, 0); lean_inc(x_6); -x_7 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 5); +x_7 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 6); lean_dec(x_6); x_8 = lean_ctor_get(x_5, 2); lean_inc(x_8); @@ -9516,7 +9516,7 @@ if (x_8 == 0) { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_9 = lean_ctor_get(x_5, 0); -x_10 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 5); +x_10 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 6); x_11 = lean_ctor_get(x_4, 2); lean_inc(x_11); x_12 = lean_ctor_get(x_11, 1); @@ -9554,7 +9554,7 @@ x_21 = lean_ctor_get(x_15, 1); lean_inc(x_21); lean_dec(x_15); x_22 = 1; -lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 5, x_22); +lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 6, x_22); x_23 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_FunInfo_6__getFunInfoAux___spec__2(x_20, x_2, x_3, x_21); if (lean_obj_tag(x_23) == 0) { @@ -9792,7 +9792,7 @@ x_75 = lean_ctor_get(x_15, 1); lean_inc(x_75); lean_dec(x_15); x_76 = 1; -lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 5, x_76); +lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 6, x_76); x_77 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_77, 0, x_5); lean_ctor_set(x_77, 1, x_6); @@ -9962,7 +9962,7 @@ return x_106; } else { -lean_object* x_107; uint8_t x_108; uint8_t x_109; uint8_t x_110; uint8_t x_111; uint8_t x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_object* x_107; uint8_t x_108; uint8_t x_109; uint8_t x_110; uint8_t x_111; uint8_t x_112; uint8_t x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; x_107 = lean_ctor_get(x_5, 0); x_108 = lean_ctor_get_uint8(x_5, sizeof(void*)*1); x_109 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 1); @@ -9970,219 +9970,221 @@ x_110 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 2); x_111 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 3); x_112 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 4); x_113 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 5); +x_114 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 6); lean_inc(x_107); lean_dec(x_5); -x_114 = lean_ctor_get(x_4, 2); -lean_inc(x_114); -x_115 = lean_ctor_get(x_114, 1); +x_115 = lean_ctor_get(x_4, 2); lean_inc(x_115); -lean_dec(x_114); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); lean_inc(x_2); lean_inc(x_1); -x_116 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_116, 0, x_1); -lean_ctor_set(x_116, 1, x_2); -lean_ctor_set_uint8(x_116, sizeof(void*)*2, x_113); -x_117 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_FunInfo_1__checkFunInfoCache___spec__1(x_115, x_116); -lean_dec(x_115); -if (lean_obj_tag(x_117) == 0) +x_117 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_117, 0, x_1); +lean_ctor_set(x_117, 1, x_2); +lean_ctor_set_uint8(x_117, sizeof(void*)*2, x_114); +x_118 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_FunInfo_1__checkFunInfoCache___spec__1(x_116, x_117); +lean_dec(x_116); +if (lean_obj_tag(x_118) == 0) { -lean_object* x_118; lean_object* x_119; +lean_object* x_119; lean_object* x_120; lean_inc(x_3); -x_118 = l_Lean_Meta_inferType(x_1, x_3, x_4); +x_119 = l_Lean_Meta_inferType(x_1, x_3, x_4); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); lean_ctor_release(x_3, 2); - x_119 = x_3; + x_120 = x_3; } else { lean_dec_ref(x_3); - x_119 = lean_box(0); + x_120 = lean_box(0); } -if (lean_obj_tag(x_118) == 0) +if (lean_obj_tag(x_119) == 0) { -lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_120 = lean_ctor_get(x_118, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_118, 1); +lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_121 = lean_ctor_get(x_119, 0); lean_inc(x_121); -lean_dec(x_118); -x_122 = 1; -x_123 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_123, 0, x_107); -lean_ctor_set_uint8(x_123, sizeof(void*)*1, x_108); -lean_ctor_set_uint8(x_123, sizeof(void*)*1 + 1, x_109); -lean_ctor_set_uint8(x_123, sizeof(void*)*1 + 2, x_110); -lean_ctor_set_uint8(x_123, sizeof(void*)*1 + 3, x_111); -lean_ctor_set_uint8(x_123, sizeof(void*)*1 + 4, x_112); -lean_ctor_set_uint8(x_123, sizeof(void*)*1 + 5, x_122); -if (lean_is_scalar(x_119)) { - x_124 = lean_alloc_ctor(0, 3, 0); +x_122 = lean_ctor_get(x_119, 1); +lean_inc(x_122); +lean_dec(x_119); +x_123 = 1; +x_124 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_124, 0, x_107); +lean_ctor_set_uint8(x_124, sizeof(void*)*1, x_108); +lean_ctor_set_uint8(x_124, sizeof(void*)*1 + 1, x_109); +lean_ctor_set_uint8(x_124, sizeof(void*)*1 + 2, x_110); +lean_ctor_set_uint8(x_124, sizeof(void*)*1 + 3, x_111); +lean_ctor_set_uint8(x_124, sizeof(void*)*1 + 4, x_112); +lean_ctor_set_uint8(x_124, sizeof(void*)*1 + 5, x_113); +lean_ctor_set_uint8(x_124, sizeof(void*)*1 + 6, x_123); +if (lean_is_scalar(x_120)) { + x_125 = lean_alloc_ctor(0, 3, 0); } else { - x_124 = x_119; + x_125 = x_120; } -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_6); -lean_ctor_set(x_124, 2, x_7); -x_125 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_FunInfo_6__getFunInfoAux___spec__2(x_120, x_2, x_124, x_121); -if (lean_obj_tag(x_125) == 0) +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_6); +lean_ctor_set(x_125, 2, x_7); +x_126 = l___private_Init_Lean_Meta_Basic_6__forallTelescopeReducingAux___at___private_Init_Lean_Meta_FunInfo_6__getFunInfoAux___spec__2(x_121, x_2, x_125, x_122); +if (lean_obj_tag(x_126) == 0) { -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_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_126, 2); +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; +x_127 = lean_ctor_get(x_126, 1); lean_inc(x_127); -x_128 = lean_ctor_get(x_125, 0); +x_128 = lean_ctor_get(x_127, 2); lean_inc(x_128); -if (lean_is_exclusive(x_125)) { - lean_ctor_release(x_125, 0); - lean_ctor_release(x_125, 1); - x_129 = x_125; -} else { - lean_dec_ref(x_125); - x_129 = lean_box(0); -} -x_130 = lean_ctor_get(x_126, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_126, 1); -lean_inc(x_131); -x_132 = lean_ctor_get(x_126, 3); -lean_inc(x_132); -x_133 = lean_ctor_get(x_126, 4); -lean_inc(x_133); -x_134 = lean_ctor_get(x_126, 5); -lean_inc(x_134); +x_129 = lean_ctor_get(x_126, 0); +lean_inc(x_129); if (lean_is_exclusive(x_126)) { lean_ctor_release(x_126, 0); lean_ctor_release(x_126, 1); - lean_ctor_release(x_126, 2); - lean_ctor_release(x_126, 3); - lean_ctor_release(x_126, 4); - lean_ctor_release(x_126, 5); - x_135 = x_126; + x_130 = x_126; } else { lean_dec_ref(x_126); - x_135 = lean_box(0); + x_130 = lean_box(0); } -x_136 = lean_ctor_get(x_127, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_127, 1); -lean_inc(x_137); -x_138 = lean_ctor_get(x_127, 2); -lean_inc(x_138); +x_131 = lean_ctor_get(x_127, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_127, 1); +lean_inc(x_132); +x_133 = lean_ctor_get(x_127, 3); +lean_inc(x_133); +x_134 = lean_ctor_get(x_127, 4); +lean_inc(x_134); +x_135 = lean_ctor_get(x_127, 5); +lean_inc(x_135); if (lean_is_exclusive(x_127)) { lean_ctor_release(x_127, 0); lean_ctor_release(x_127, 1); lean_ctor_release(x_127, 2); - x_139 = x_127; + lean_ctor_release(x_127, 3); + lean_ctor_release(x_127, 4); + lean_ctor_release(x_127, 5); + x_136 = x_127; } else { lean_dec_ref(x_127); - x_139 = lean_box(0); + x_136 = lean_box(0); } -lean_inc(x_128); -x_140 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_FunInfo_1__checkFunInfoCache___spec__4(x_137, x_116, x_128); -if (lean_is_scalar(x_139)) { - x_141 = lean_alloc_ctor(0, 3, 0); +x_137 = lean_ctor_get(x_128, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_128, 1); +lean_inc(x_138); +x_139 = lean_ctor_get(x_128, 2); +lean_inc(x_139); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + lean_ctor_release(x_128, 2); + x_140 = x_128; } else { - x_141 = x_139; + lean_dec_ref(x_128); + x_140 = lean_box(0); } -lean_ctor_set(x_141, 0, x_136); -lean_ctor_set(x_141, 1, x_140); -lean_ctor_set(x_141, 2, x_138); -if (lean_is_scalar(x_135)) { - x_142 = lean_alloc_ctor(0, 6, 0); +lean_inc(x_129); +x_141 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_FunInfo_1__checkFunInfoCache___spec__4(x_138, x_117, x_129); +if (lean_is_scalar(x_140)) { + x_142 = lean_alloc_ctor(0, 3, 0); } else { - x_142 = x_135; + x_142 = x_140; } -lean_ctor_set(x_142, 0, x_130); -lean_ctor_set(x_142, 1, x_131); -lean_ctor_set(x_142, 2, x_141); -lean_ctor_set(x_142, 3, x_132); -lean_ctor_set(x_142, 4, x_133); -lean_ctor_set(x_142, 5, x_134); -if (lean_is_scalar(x_129)) { - x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_137); +lean_ctor_set(x_142, 1, x_141); +lean_ctor_set(x_142, 2, x_139); +if (lean_is_scalar(x_136)) { + x_143 = lean_alloc_ctor(0, 6, 0); } else { - x_143 = x_129; + x_143 = x_136; } -lean_ctor_set(x_143, 0, x_128); -lean_ctor_set(x_143, 1, x_142); -return x_143; +lean_ctor_set(x_143, 0, x_131); +lean_ctor_set(x_143, 1, x_132); +lean_ctor_set(x_143, 2, x_142); +lean_ctor_set(x_143, 3, x_133); +lean_ctor_set(x_143, 4, x_134); +lean_ctor_set(x_143, 5, x_135); +if (lean_is_scalar(x_130)) { + x_144 = lean_alloc_ctor(0, 2, 0); +} else { + x_144 = x_130; +} +lean_ctor_set(x_144, 0, x_129); +lean_ctor_set(x_144, 1, x_143); +return x_144; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_116); -x_144 = lean_ctor_get(x_125, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_125, 1); +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_117); +x_145 = lean_ctor_get(x_126, 0); lean_inc(x_145); -if (lean_is_exclusive(x_125)) { - lean_ctor_release(x_125, 0); - lean_ctor_release(x_125, 1); - x_146 = x_125; +x_146 = lean_ctor_get(x_126, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_147 = x_126; } else { - lean_dec_ref(x_125); - x_146 = lean_box(0); + lean_dec_ref(x_126); + x_147 = lean_box(0); } -if (lean_is_scalar(x_146)) { - x_147 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_147)) { + x_148 = lean_alloc_ctor(1, 2, 0); } else { - x_147 = x_146; + x_148 = x_147; } -lean_ctor_set(x_147, 0, x_144); -lean_ctor_set(x_147, 1, x_145); -return x_147; +lean_ctor_set(x_148, 0, x_145); +lean_ctor_set(x_148, 1, x_146); +return x_148; } } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -lean_dec(x_119); -lean_dec(x_116); +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_120); +lean_dec(x_117); lean_dec(x_107); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -x_148 = lean_ctor_get(x_118, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_118, 1); +x_149 = lean_ctor_get(x_119, 0); lean_inc(x_149); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_150 = x_118; +x_150 = lean_ctor_get(x_119, 1); +lean_inc(x_150); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_151 = x_119; } else { - lean_dec_ref(x_118); - x_150 = lean_box(0); + lean_dec_ref(x_119); + x_151 = lean_box(0); } -if (lean_is_scalar(x_150)) { - x_151 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 2, 0); } else { - x_151 = x_150; + x_152 = x_151; } -lean_ctor_set(x_151, 0, x_148); -lean_ctor_set(x_151, 1, x_149); -return x_151; +lean_ctor_set(x_152, 0, x_149); +lean_ctor_set(x_152, 1, x_150); +return x_152; } } else { -lean_object* x_152; lean_object* x_153; -lean_dec(x_116); +lean_object* x_153; lean_object* x_154; +lean_dec(x_117); lean_dec(x_107); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_152 = lean_ctor_get(x_117, 0); -lean_inc(x_152); -lean_dec(x_117); -x_153 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_4); -return x_153; +x_153 = lean_ctor_get(x_118, 0); +lean_inc(x_153); +lean_dec(x_118); +x_154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_4); +return x_154; } } } diff --git a/stage0/stdlib/Init/Lean/Meta/InferType.c b/stage0/stdlib/Init/Lean/Meta/InferType.c index c7e8eb5a79..319cc01079 100644 --- a/stage0/stdlib/Init/Lean/Meta/InferType.c +++ b/stage0/stdlib/Init/Lean/Meta/InferType.c @@ -109,7 +109,6 @@ lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Meta_InferType_ lean_object* l_Lean_mkLevelSucc(lean_object*); uint8_t lean_expr_equal(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); -lean_object* l_Lean_Meta_whnfUsingDefault(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_InferType_1__inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Bool_toLBool(uint8_t); lean_object* l___private_Init_Lean_Meta_InferType_6__withLocalDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -132,6 +131,7 @@ lean_object* l___private_Init_Lean_Meta_InferType_4__inferForallType(lean_object lean_object* l___private_Init_Lean_Meta_InferType_6__withLocalDecl(lean_object*); lean_object* l___private_Init_Lean_Meta_InferType_6__withLocalDecl___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_InferType_17__isTypeQuickApp___main(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Meta_InferType_4__inferForallType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_InferType_7__inferMVarType___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_InferType_17__isTypeQuickApp(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1722,7 +1722,7 @@ x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); lean_dec(x_4); lean_inc(x_2); -x_7 = l_Lean_Meta_whnfUsingDefault(x_5, x_2, x_6); +x_7 = l_Lean_Meta_whnfD(x_5, x_2, x_6); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; @@ -4705,78 +4705,82 @@ if (x_6 == 0) { uint8_t x_7; lean_object* x_8; x_7 = 1; -lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 5, x_7); +lean_ctor_set_uint8(x_5, sizeof(void*)*1 + 6, x_7); x_8 = l___private_Init_Lean_Meta_InferType_10__inferTypeAux___main(x_1, x_2, x_3); return x_8; } else { -lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; x_9 = lean_ctor_get(x_5, 0); x_10 = lean_ctor_get_uint8(x_5, sizeof(void*)*1); x_11 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 1); x_12 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 2); x_13 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 3); x_14 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 4); +x_15 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 5); lean_inc(x_9); lean_dec(x_5); -x_15 = 1; -x_16 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_16, 0, x_9); -lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_10); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 1, x_11); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 2, x_12); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 3, x_13); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 4, x_14); -lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 5, x_15); -lean_ctor_set(x_2, 0, x_16); -x_17 = l___private_Init_Lean_Meta_InferType_10__inferTypeAux___main(x_1, x_2, x_3); -return x_17; +x_16 = 1; +x_17 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_10); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 1, x_11); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 2, x_12); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 3, x_13); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 4, x_14); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 5, x_15); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 6, x_16); +lean_ctor_set(x_2, 0, x_17); +x_18 = l___private_Init_Lean_Meta_InferType_10__inferTypeAux___main(x_1, x_2, x_3); +return x_18; } } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_18 = lean_ctor_get(x_2, 0); -x_19 = lean_ctor_get(x_2, 1); -x_20 = lean_ctor_get(x_2, 2); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_19 = lean_ctor_get(x_2, 0); +x_20 = lean_ctor_get(x_2, 1); +x_21 = lean_ctor_get(x_2, 2); +lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); lean_dec(x_2); -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_21); -x_22 = lean_ctor_get_uint8(x_18, sizeof(void*)*1); -x_23 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 1); -x_24 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 2); -x_25 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 3); -x_26 = lean_ctor_get_uint8(x_18, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - x_27 = x_18; +x_22 = lean_ctor_get(x_19, 0); +lean_inc(x_22); +x_23 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); +x_24 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 1); +x_25 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 2); +x_26 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 3); +x_27 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 4); +x_28 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + x_29 = x_19; } else { - lean_dec_ref(x_18); - x_27 = lean_box(0); + lean_dec_ref(x_19); + x_29 = lean_box(0); } -x_28 = 1; -if (lean_is_scalar(x_27)) { - x_29 = lean_alloc_ctor(0, 1, 6); +x_30 = 1; +if (lean_is_scalar(x_29)) { + x_31 = lean_alloc_ctor(0, 1, 7); } else { - x_29 = x_27; + x_31 = x_29; } -lean_ctor_set(x_29, 0, x_21); -lean_ctor_set_uint8(x_29, sizeof(void*)*1, x_22); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 1, x_23); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 2, x_24); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 3, x_25); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 4, x_26); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 5, x_28); -x_30 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_19); -lean_ctor_set(x_30, 2, x_20); -x_31 = l___private_Init_Lean_Meta_InferType_10__inferTypeAux___main(x_1, x_30, x_3); -return x_31; +lean_ctor_set(x_31, 0, x_22); +lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_23); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 1, x_24); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 2, x_25); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 3, x_26); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 4, x_27); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 5, x_28); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 6, x_30); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_20); +lean_ctor_set(x_32, 2, x_21); +x_33 = l___private_Init_Lean_Meta_InferType_10__inferTypeAux___main(x_1, x_32, x_3); +return x_33; } } } @@ -5569,7 +5573,7 @@ x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); lean_inc(x_2); -x_27 = l_Lean_Meta_whnfUsingDefault(x_25, x_2, x_26); +x_27 = l_Lean_Meta_whnfD(x_25, x_2, x_26); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; @@ -7305,7 +7309,7 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = l_Lean_Meta_whnfUsingDefault(x_25, x_2, x_26); +x_27 = l_Lean_Meta_whnfD(x_25, x_2, x_26); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; diff --git a/stage0/stdlib/Init/Lean/Meta/Instances.c b/stage0/stdlib/Init/Lean/Meta/Instances.c index f8712b0b95..c1bbc52eaf 100644 --- a/stage0/stdlib/Init/Lean/Meta/Instances.c +++ b/stage0/stdlib/Init/Lean/Meta/Instances.c @@ -3182,14 +3182,15 @@ lean_object* x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; x_1 = l_Lean_Options_empty; x_2 = 0; x_3 = 1; -x_4 = lean_alloc_ctor(0, 1, 6); +x_4 = lean_alloc_ctor(0, 1, 7); lean_ctor_set(x_4, 0, x_1); lean_ctor_set_uint8(x_4, sizeof(void*)*1, x_2); lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 1, x_2); lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 2, x_2); lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 3, x_2); lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 4, x_2); -lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 5, x_3); +lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 5, x_2); +lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 6, x_3); return x_4; } } diff --git a/stage0/stdlib/Init/Lean/Meta/LevelDefEq.c b/stage0/stdlib/Init/Lean/Meta/LevelDefEq.c index 171b2efe50..9a4aa6f7cf 100644 --- a/stage0/stdlib/Init/Lean/Meta/LevelDefEq.c +++ b/stage0/stdlib/Init/Lean/Meta/LevelDefEq.c @@ -962,7 +962,7 @@ if (x_200 == 0) { lean_object* x_201; uint8_t x_202; x_201 = lean_ctor_get(x_3, 0); -x_202 = lean_ctor_get_uint8(x_201, sizeof(void*)*1 + 3); +x_202 = lean_ctor_get_uint8(x_201, sizeof(void*)*1 + 4); if (x_202 == 0) { uint8_t x_203; lean_object* x_204; @@ -1801,7 +1801,7 @@ if (x_328 == 0) { lean_object* x_329; uint8_t x_330; x_329 = lean_ctor_get(x_3, 0); -x_330 = lean_ctor_get_uint8(x_329, sizeof(void*)*1 + 3); +x_330 = lean_ctor_get_uint8(x_329, sizeof(void*)*1 + 4); if (x_330 == 0) { uint8_t x_331; lean_object* x_332; lean_object* x_333; diff --git a/stage0/stdlib/Init/Lean/Meta/Message.c b/stage0/stdlib/Init/Lean/Meta/Message.c index 862af5aa67..a91470baa1 100644 --- a/stage0/stdlib/Init/Lean/Meta/Message.c +++ b/stage0/stdlib/Init/Lean/Meta/Message.c @@ -193,14 +193,15 @@ lean_object* x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; x_1 = l_Lean_Options_empty; x_2 = 0; x_3 = 1; -x_4 = lean_alloc_ctor(0, 1, 6); +x_4 = lean_alloc_ctor(0, 1, 7); lean_ctor_set(x_4, 0, x_1); lean_ctor_set_uint8(x_4, sizeof(void*)*1, x_2); lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 1, x_2); lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 2, x_2); lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 3, x_2); lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 4, x_2); -lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 5, x_3); +lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 5, x_2); +lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 6, x_3); return x_4; } } diff --git a/stage0/stdlib/Init/Lean/Meta/SynthInstance.c b/stage0/stdlib/Init/Lean/Meta/SynthInstance.c index 4a30159f7f..2b3212d525 100644 --- a/stage0/stdlib/Init/Lean/Meta/SynthInstance.c +++ b/stage0/stdlib/Init/Lean/Meta/SynthInstance.c @@ -21491,1647 +21491,1652 @@ x_6 = lean_ctor_get(x_3, 0); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { -uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_8 = 2; -lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 5, x_8); -x_9 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); +uint8_t x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_8 = 1; +x_9 = 2; +lean_ctor_set_uint8(x_6, sizeof(void*)*1, x_8); +lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 1, x_8); +lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 6, x_9); +x_10 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4); +x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - x_12 = x_9; +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_13 = x_10; } else { - lean_dec_ref(x_9); - x_12 = lean_box(0); + lean_dec_ref(x_10); + x_13 = lean_box(0); } -x_13 = l___private_Init_Lean_Meta_SynthInstance_2__preprocess___closed__1; +x_14 = l___private_Init_Lean_Meta_SynthInstance_2__preprocess___closed__1; lean_inc(x_3); -x_14 = l_Lean_Meta_forallTelescopeReducing___rarg(x_10, x_13, x_3, x_11); -if (lean_obj_tag(x_14) == 0) +x_15 = l_Lean_Meta_forallTelescopeReducing___rarg(x_11, x_14, x_3, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 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; +x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - x_17 = x_14; -} else { - lean_dec_ref(x_14); - x_17 = lean_box(0); -} -x_18 = lean_ctor_get(x_15, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -x_20 = lean_ctor_get(x_15, 2); -lean_inc(x_20); -x_21 = lean_ctor_get(x_15, 3); -lean_inc(x_21); -x_22 = lean_ctor_get(x_15, 4); -lean_inc(x_22); -x_23 = lean_ctor_get(x_15, 5); -lean_inc(x_23); -x_24 = lean_ctor_get(x_20, 2); -lean_inc(x_24); -x_25 = l_PersistentHashMap_find___at_Lean_Meta_synthInstance_x3f___spec__1(x_24, x_16); -lean_dec(x_24); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_67; lean_object* x_68; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); - lean_ctor_release(x_15, 2); - lean_ctor_release(x_15, 3); - lean_ctor_release(x_15, 4); - lean_ctor_release(x_15, 5); - x_26 = x_15; + x_18 = x_15; } else { lean_dec_ref(x_15); - x_26 = lean_box(0); + x_18 = lean_box(0); } +x_19 = lean_ctor_get(x_16, 0); lean_inc(x_19); -x_80 = l_Lean_MetavarContext_incDepth(x_19); -x_81 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_81, 0, x_18); -lean_ctor_set(x_81, 1, x_80); -lean_ctor_set(x_81, 2, x_20); -lean_ctor_set(x_81, 3, x_21); -lean_ctor_set(x_81, 4, x_22); -lean_ctor_set(x_81, 5, x_23); -lean_inc(x_3); -lean_inc(x_16); -x_82 = l___private_Init_Lean_Meta_SynthInstance_5__preprocessOutParam(x_16, x_3, x_81); -if (lean_obj_tag(x_82) == 0) +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +x_21 = lean_ctor_get(x_16, 2); +lean_inc(x_21); +x_22 = lean_ctor_get(x_16, 3); +lean_inc(x_22); +x_23 = lean_ctor_get(x_16, 4); +lean_inc(x_23); +x_24 = lean_ctor_get(x_16, 5); +lean_inc(x_24); +x_25 = lean_ctor_get(x_21, 2); +lean_inc(x_25); +x_26 = l_PersistentHashMap_find___at_Lean_Meta_synthInstance_x3f___spec__1(x_25, x_17); +lean_dec(x_25); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_68; lean_object* x_69; lean_object* x_81; lean_object* x_82; lean_object* x_83; +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_27 = x_16; +} else { + lean_dec_ref(x_16); + x_27 = lean_box(0); +} +lean_inc(x_20); +x_81 = l_Lean_MetavarContext_incDepth(x_20); +x_82 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_82, 0, x_19); +lean_ctor_set(x_82, 1, x_81); +lean_ctor_set(x_82, 2, x_21); +lean_ctor_set(x_82, 3, x_22); +lean_ctor_set(x_82, 4, x_23); +lean_ctor_set(x_82, 5, x_24); +lean_inc(x_3); +lean_inc(x_17); +x_83 = l___private_Init_Lean_Meta_SynthInstance_5__preprocessOutParam(x_17, x_3, x_82); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_ctor_get(x_83, 0); +x_85 = lean_ctor_get(x_83, 1); lean_inc(x_85); -x_86 = lean_ctor_get(x_83, 1); -lean_inc(x_86); lean_dec(x_83); +x_86 = lean_ctor_get(x_84, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_84, 1); +lean_inc(x_87); +lean_dec(x_84); lean_inc(x_3); -x_87 = l_Lean_Meta_SynthInstance_main(x_85, x_2, x_3, x_84); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); +x_88 = l_Lean_Meta_SynthInstance_main(x_86, x_2, x_3, x_85); if (lean_obj_tag(x_88) == 0) { lean_object* x_89; -lean_dec(x_86); -lean_dec(x_12); -lean_dec(x_3); -x_89 = lean_ctor_get(x_87, 1); +x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); -lean_dec(x_87); -x_27 = x_88; -x_28 = x_89; -goto block_66; -} -else +if (lean_obj_tag(x_89) == 0) { -lean_object* x_90; uint8_t x_91; -x_90 = lean_ctor_get(x_87, 1); +lean_object* x_90; +lean_dec(x_87); +lean_dec(x_13); +lean_dec(x_3); +x_90 = lean_ctor_get(x_88, 1); lean_inc(x_90); -lean_dec(x_87); -x_91 = !lean_is_exclusive(x_88); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_88, 0); -lean_inc(x_3); -x_93 = l_Lean_Meta_try___at___private_Init_Lean_Meta_SynthInstance_6__resolveReplacements___spec__3(x_86, x_3, x_90); -if (lean_obj_tag(x_93) == 0) -{ -lean_object* x_94; uint8_t x_95; -lean_dec(x_12); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_unbox(x_94); -lean_dec(x_94); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; -lean_free_object(x_88); -lean_dec(x_92); -lean_dec(x_3); -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -lean_dec(x_93); -x_97 = lean_box(0); -x_27 = x_97; -x_28 = x_96; -goto block_66; -} -else -{ -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; -x_98 = lean_ctor_get(x_93, 1); -lean_inc(x_98); -lean_dec(x_93); -x_99 = l_Lean_Meta_instantiateMVars(x_92, x_3, x_98); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = l_Lean_Meta_hasAssignableMVar(x_100, x_3, x_101); -lean_dec(x_3); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_unbox(x_103); -lean_dec(x_103); -if (x_104 == 0) -{ -lean_object* x_105; -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_dec(x_102); -lean_ctor_set(x_88, 0, x_100); -x_27 = x_88; -x_28 = x_105; -goto block_66; -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_100); -lean_free_object(x_88); -x_106 = lean_ctor_get(x_102, 1); -lean_inc(x_106); -lean_dec(x_102); -x_107 = lean_box(0); -x_27 = x_107; -x_28 = x_106; -goto block_66; -} -} -} -else -{ -lean_object* x_108; lean_object* x_109; -lean_free_object(x_88); -lean_dec(x_92); -lean_dec(x_26); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_3); -x_108 = lean_ctor_get(x_93, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_93, 1); -lean_inc(x_109); -lean_dec(x_93); -x_67 = x_108; -x_68 = x_109; -goto block_79; -} -} -else -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_88, 0); -lean_inc(x_110); lean_dec(x_88); +x_28 = x_89; +x_29 = x_90; +goto block_67; +} +else +{ +lean_object* x_91; uint8_t x_92; +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_91); +lean_dec(x_88); +x_92 = !lean_is_exclusive(x_89); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_89, 0); lean_inc(x_3); -x_111 = l_Lean_Meta_try___at___private_Init_Lean_Meta_SynthInstance_6__resolveReplacements___spec__3(x_86, x_3, x_90); -if (lean_obj_tag(x_111) == 0) +x_94 = l_Lean_Meta_try___at___private_Init_Lean_Meta_SynthInstance_6__resolveReplacements___spec__3(x_87, x_3, x_91); +if (lean_obj_tag(x_94) == 0) { -lean_object* x_112; uint8_t x_113; -lean_dec(x_12); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_unbox(x_112); +lean_object* x_95; uint8_t x_96; +lean_dec(x_13); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_unbox(x_95); +lean_dec(x_95); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; +lean_free_object(x_89); +lean_dec(x_93); +lean_dec(x_3); +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +lean_dec(x_94); +x_98 = lean_box(0); +x_28 = x_98; +x_29 = x_97; +goto block_67; +} +else +{ +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_99 = lean_ctor_get(x_94, 1); +lean_inc(x_99); +lean_dec(x_94); +x_100 = l_Lean_Meta_instantiateMVars(x_93, x_3, x_99); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = l_Lean_Meta_hasAssignableMVar(x_101, x_3, x_102); +lean_dec(x_3); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +lean_dec(x_104); +if (x_105 == 0) +{ +lean_object* x_106; +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_dec(x_103); +lean_ctor_set(x_89, 0, x_101); +x_28 = x_89; +x_29 = x_106; +goto block_67; +} +else +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_101); +lean_free_object(x_89); +x_107 = lean_ctor_get(x_103, 1); +lean_inc(x_107); +lean_dec(x_103); +x_108 = lean_box(0); +x_28 = x_108; +x_29 = x_107; +goto block_67; +} +} +} +else +{ +lean_object* x_109; lean_object* x_110; +lean_free_object(x_89); +lean_dec(x_93); +lean_dec(x_27); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_3); +x_109 = lean_ctor_get(x_94, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_94, 1); +lean_inc(x_110); +lean_dec(x_94); +x_68 = x_109; +x_69 = x_110; +goto block_80; +} +} +else +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_89, 0); +lean_inc(x_111); +lean_dec(x_89); +lean_inc(x_3); +x_112 = l_Lean_Meta_try___at___private_Init_Lean_Meta_SynthInstance_6__resolveReplacements___spec__3(x_87, x_3, x_91); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; uint8_t x_114; +lean_dec(x_13); +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_unbox(x_113); +lean_dec(x_113); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +lean_dec(x_111); +lean_dec(x_3); +x_115 = lean_ctor_get(x_112, 1); +lean_inc(x_115); lean_dec(x_112); -if (x_113 == 0) -{ -lean_object* x_114; lean_object* x_115; -lean_dec(x_110); -lean_dec(x_3); -x_114 = lean_ctor_get(x_111, 1); -lean_inc(x_114); -lean_dec(x_111); -x_115 = lean_box(0); -x_27 = x_115; -x_28 = x_114; -goto block_66; +x_116 = lean_box(0); +x_28 = x_116; +x_29 = x_115; +goto block_67; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_116 = lean_ctor_get(x_111, 1); -lean_inc(x_116); -lean_dec(x_111); -x_117 = l_Lean_Meta_instantiateMVars(x_110, x_3, x_116); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_117 = lean_ctor_get(x_112, 1); +lean_inc(x_117); +lean_dec(x_112); +x_118 = l_Lean_Meta_instantiateMVars(x_111, x_3, x_117); +x_119 = lean_ctor_get(x_118, 0); lean_inc(x_119); -lean_dec(x_117); -x_120 = l_Lean_Meta_hasAssignableMVar(x_118, x_3, x_119); -lean_dec(x_3); -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_unbox(x_121); -lean_dec(x_121); -if (x_122 == 0) -{ -lean_object* x_123; lean_object* x_124; -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -lean_dec(x_120); -x_124 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_124, 0, x_118); -x_27 = x_124; -x_28 = x_123; -goto block_66; -} -else -{ -lean_object* x_125; lean_object* x_126; +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); lean_dec(x_118); -x_125 = lean_ctor_get(x_120, 1); -lean_inc(x_125); -lean_dec(x_120); -x_126 = lean_box(0); -x_27 = x_126; +x_121 = l_Lean_Meta_hasAssignableMVar(x_119, x_3, x_120); +lean_dec(x_3); +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; +x_124 = lean_ctor_get(x_121, 1); +lean_inc(x_124); +lean_dec(x_121); +x_125 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_125, 0, x_119); x_28 = x_125; -goto block_66; +x_29 = x_124; +goto block_67; +} +else +{ +lean_object* x_126; lean_object* x_127; +lean_dec(x_119); +x_126 = lean_ctor_get(x_121, 1); +lean_inc(x_126); +lean_dec(x_121); +x_127 = lean_box(0); +x_28 = x_127; +x_29 = x_126; +goto block_67; } } } else { -lean_object* x_127; lean_object* x_128; -lean_dec(x_110); -lean_dec(x_26); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_3); -x_127 = lean_ctor_get(x_111, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_111, 1); -lean_inc(x_128); +lean_object* x_128; lean_object* x_129; lean_dec(x_111); -x_67 = x_127; -x_68 = x_128; -goto block_79; -} -} -} -} -else -{ -lean_object* x_129; lean_object* x_130; -lean_dec(x_86); -lean_dec(x_26); +lean_dec(x_27); +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); lean_dec(x_3); -x_129 = lean_ctor_get(x_87, 0); +x_128 = lean_ctor_get(x_112, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_112, 1); lean_inc(x_129); -x_130 = lean_ctor_get(x_87, 1); -lean_inc(x_130); -lean_dec(x_87); -x_67 = x_129; -x_68 = x_130; -goto block_79; +lean_dec(x_112); +x_68 = x_128; +x_69 = x_129; +goto block_80; +} +} } } else { -lean_object* x_131; lean_object* x_132; -lean_dec(x_26); +lean_object* x_130; lean_object* x_131; +lean_dec(x_87); +lean_dec(x_27); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_3); +x_130 = lean_ctor_get(x_88, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_88, 1); +lean_inc(x_131); +lean_dec(x_88); +x_68 = x_130; +x_69 = x_131; +goto block_80; +} +} +else +{ +lean_object* x_132; lean_object* x_133; +lean_dec(x_27); +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); lean_dec(x_3); lean_dec(x_2); -x_131 = lean_ctor_get(x_82, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_82, 1); +x_132 = lean_ctor_get(x_83, 0); lean_inc(x_132); -lean_dec(x_82); -x_67 = x_131; +x_133 = lean_ctor_get(x_83, 1); +lean_inc(x_133); +lean_dec(x_83); x_68 = x_132; -goto block_79; +x_69 = x_133; +goto block_80; } -block_66: +block_67: { -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; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 2); -x_32 = lean_ctor_get(x_28, 3); -x_33 = lean_ctor_get(x_28, 4); -x_34 = lean_ctor_get(x_28, 5); -x_35 = lean_ctor_get(x_28, 1); -lean_dec(x_35); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 2); +x_33 = lean_ctor_get(x_29, 3); +x_34 = lean_ctor_get(x_29, 4); +x_35 = lean_ctor_get(x_29, 5); +x_36 = lean_ctor_get(x_29, 1); +lean_dec(x_36); +lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); +lean_inc(x_20); lean_inc(x_31); -lean_inc(x_19); -lean_inc(x_30); -lean_ctor_set(x_28, 1, x_19); -x_36 = l_Lean_Expr_hasMVar(x_16); -if (x_36 == 0) -{ -uint8_t x_37; -lean_dec(x_28); -x_37 = !lean_is_exclusive(x_31); +lean_ctor_set(x_29, 1, x_20); +x_37 = l_Lean_Expr_hasMVar(x_17); if (x_37 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_31, 2); -lean_inc(x_27); -x_39 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_38, x_16, x_27); -lean_ctor_set(x_31, 2, x_39); -if (lean_is_scalar(x_26)) { - x_40 = lean_alloc_ctor(0, 6, 0); +uint8_t x_38; +lean_dec(x_29); +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_32, 2); +lean_inc(x_28); +x_40 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_39, x_17, x_28); +lean_ctor_set(x_32, 2, x_40); +if (lean_is_scalar(x_27)) { + x_41 = lean_alloc_ctor(0, 6, 0); } else { - x_40 = x_26; + x_41 = x_27; } -lean_ctor_set(x_40, 0, x_30); -lean_ctor_set(x_40, 1, x_19); -lean_ctor_set(x_40, 2, x_31); -lean_ctor_set(x_40, 3, x_32); -lean_ctor_set(x_40, 4, x_33); -lean_ctor_set(x_40, 5, x_34); -if (lean_is_scalar(x_17)) { - x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_31); +lean_ctor_set(x_41, 1, x_20); +lean_ctor_set(x_41, 2, x_32); +lean_ctor_set(x_41, 3, x_33); +lean_ctor_set(x_41, 4, x_34); +lean_ctor_set(x_41, 5, x_35); +if (lean_is_scalar(x_18)) { + x_42 = lean_alloc_ctor(0, 2, 0); } else { - x_41 = x_17; + x_42 = x_18; } -lean_ctor_set(x_41, 0, x_27); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_ctor_set(x_42, 0, x_28); +lean_ctor_set(x_42, 1, x_41); +return x_42; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_42 = lean_ctor_get(x_31, 0); -x_43 = lean_ctor_get(x_31, 1); -x_44 = lean_ctor_get(x_31, 2); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_43 = lean_ctor_get(x_32, 0); +x_44 = lean_ctor_get(x_32, 1); +x_45 = lean_ctor_get(x_32, 2); +lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_31); -lean_inc(x_27); -x_45 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_44, x_16, x_27); -x_46 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_46, 0, x_42); -lean_ctor_set(x_46, 1, x_43); -lean_ctor_set(x_46, 2, x_45); -if (lean_is_scalar(x_26)) { - x_47 = lean_alloc_ctor(0, 6, 0); -} else { - x_47 = x_26; -} -lean_ctor_set(x_47, 0, x_30); -lean_ctor_set(x_47, 1, x_19); -lean_ctor_set(x_47, 2, x_46); -lean_ctor_set(x_47, 3, x_32); -lean_ctor_set(x_47, 4, x_33); -lean_ctor_set(x_47, 5, x_34); -if (lean_is_scalar(x_17)) { - x_48 = lean_alloc_ctor(0, 2, 0); -} else { - x_48 = x_17; -} -lean_ctor_set(x_48, 0, x_27); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} -else -{ -lean_object* x_49; -lean_dec(x_34); -lean_dec(x_33); lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_26); -lean_dec(x_19); -lean_dec(x_16); -if (lean_is_scalar(x_17)) { +lean_inc(x_28); +x_46 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_45, x_17, x_28); +x_47 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_47, 0, x_43); +lean_ctor_set(x_47, 1, x_44); +lean_ctor_set(x_47, 2, x_46); +if (lean_is_scalar(x_27)) { + x_48 = lean_alloc_ctor(0, 6, 0); +} else { + x_48 = x_27; +} +lean_ctor_set(x_48, 0, x_31); +lean_ctor_set(x_48, 1, x_20); +lean_ctor_set(x_48, 2, x_47); +lean_ctor_set(x_48, 3, x_33); +lean_ctor_set(x_48, 4, x_34); +lean_ctor_set(x_48, 5, x_35); +if (lean_is_scalar(x_18)) { x_49 = lean_alloc_ctor(0, 2, 0); } else { - x_49 = x_17; + x_49 = x_18; } -lean_ctor_set(x_49, 0, x_27); -lean_ctor_set(x_49, 1, x_28); +lean_ctor_set(x_49, 0, x_28); +lean_ctor_set(x_49, 1, x_48); return x_49; } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_50 = lean_ctor_get(x_28, 0); -x_51 = lean_ctor_get(x_28, 2); -x_52 = lean_ctor_get(x_28, 3); -x_53 = lean_ctor_get(x_28, 4); -x_54 = lean_ctor_get(x_28, 5); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_28); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_19); -lean_inc(x_50); -x_55 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_19); -lean_ctor_set(x_55, 2, x_51); -lean_ctor_set(x_55, 3, x_52); -lean_ctor_set(x_55, 4, x_53); -lean_ctor_set(x_55, 5, x_54); -x_56 = l_Lean_Expr_hasMVar(x_16); -if (x_56 == 0) -{ -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_dec(x_55); -x_57 = lean_ctor_get(x_51, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_51, 1); -lean_inc(x_58); -x_59 = lean_ctor_get(x_51, 2); -lean_inc(x_59); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - lean_ctor_release(x_51, 2); - x_60 = x_51; +lean_object* x_50; +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_27); +lean_dec(x_20); +lean_dec(x_17); +if (lean_is_scalar(x_18)) { + x_50 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_51); - x_60 = lean_box(0); + x_50 = x_18; } -lean_inc(x_27); -x_61 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_59, x_16, x_27); -if (lean_is_scalar(x_60)) { - x_62 = lean_alloc_ctor(0, 3, 0); -} else { - x_62 = x_60; +lean_ctor_set(x_50, 0, x_28); +lean_ctor_set(x_50, 1, x_29); +return x_50; } -lean_ctor_set(x_62, 0, x_57); -lean_ctor_set(x_62, 1, x_58); -lean_ctor_set(x_62, 2, x_61); -if (lean_is_scalar(x_26)) { - x_63 = lean_alloc_ctor(0, 6, 0); -} else { - x_63 = x_26; -} -lean_ctor_set(x_63, 0, x_50); -lean_ctor_set(x_63, 1, x_19); -lean_ctor_set(x_63, 2, x_62); -lean_ctor_set(x_63, 3, x_52); -lean_ctor_set(x_63, 4, x_53); -lean_ctor_set(x_63, 5, x_54); -if (lean_is_scalar(x_17)) { - x_64 = lean_alloc_ctor(0, 2, 0); -} else { - x_64 = x_17; -} -lean_ctor_set(x_64, 0, x_27); -lean_ctor_set(x_64, 1, x_63); -return x_64; } else { -lean_object* x_65; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_51 = lean_ctor_get(x_29, 0); +x_52 = lean_ctor_get(x_29, 2); +x_53 = lean_ctor_get(x_29, 3); +x_54 = lean_ctor_get(x_29, 4); +x_55 = lean_ctor_get(x_29, 5); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_29); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_20); +lean_inc(x_51); +x_56 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_20); +lean_ctor_set(x_56, 2, x_52); +lean_ctor_set(x_56, 3, x_53); +lean_ctor_set(x_56, 4, x_54); +lean_ctor_set(x_56, 5, x_55); +x_57 = l_Lean_Expr_hasMVar(x_17); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_56); +x_58 = lean_ctor_get(x_52, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_52, 1); +lean_inc(x_59); +x_60 = lean_ctor_get(x_52, 2); +lean_inc(x_60); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + lean_ctor_release(x_52, 2); + x_61 = x_52; +} else { + lean_dec_ref(x_52); + x_61 = lean_box(0); +} +lean_inc(x_28); +x_62 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_60, x_17, x_28); +if (lean_is_scalar(x_61)) { + x_63 = lean_alloc_ctor(0, 3, 0); +} else { + x_63 = x_61; +} +lean_ctor_set(x_63, 0, x_58); +lean_ctor_set(x_63, 1, x_59); +lean_ctor_set(x_63, 2, x_62); +if (lean_is_scalar(x_27)) { + x_64 = lean_alloc_ctor(0, 6, 0); +} else { + x_64 = x_27; +} +lean_ctor_set(x_64, 0, x_51); +lean_ctor_set(x_64, 1, x_20); +lean_ctor_set(x_64, 2, x_63); +lean_ctor_set(x_64, 3, x_53); +lean_ctor_set(x_64, 4, x_54); +lean_ctor_set(x_64, 5, x_55); +if (lean_is_scalar(x_18)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_18; +} +lean_ctor_set(x_65, 0, x_28); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +else +{ +lean_object* x_66; +lean_dec(x_55); lean_dec(x_54); lean_dec(x_53); lean_dec(x_52); lean_dec(x_51); -lean_dec(x_50); -lean_dec(x_26); -lean_dec(x_19); -lean_dec(x_16); -if (lean_is_scalar(x_17)) { - x_65 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_27); +lean_dec(x_20); +lean_dec(x_17); +if (lean_is_scalar(x_18)) { + x_66 = lean_alloc_ctor(0, 2, 0); } else { - x_65 = x_17; + x_66 = x_18; } -lean_ctor_set(x_65, 0, x_27); -lean_ctor_set(x_65, 1, x_55); -return x_65; +lean_ctor_set(x_66, 0, x_28); +lean_ctor_set(x_66, 1, x_56); +return x_66; } } } -block_79: +block_80: { -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; -x_70 = lean_ctor_get(x_68, 1); -lean_dec(x_70); -lean_ctor_set(x_68, 1, x_19); -if (lean_is_scalar(x_12)) { - x_71 = lean_alloc_ctor(1, 2, 0); +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_69, 1); +lean_dec(x_71); +lean_ctor_set(x_69, 1, x_20); +if (lean_is_scalar(x_13)) { + x_72 = lean_alloc_ctor(1, 2, 0); } else { - x_71 = x_12; - lean_ctor_set_tag(x_71, 1); + x_72 = x_13; + lean_ctor_set_tag(x_72, 1); } -lean_ctor_set(x_71, 0, x_67); -lean_ctor_set(x_71, 1, x_68); -return x_71; +lean_ctor_set(x_72, 0, x_68); +lean_ctor_set(x_72, 1, x_69); +return x_72; } else { -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_72 = lean_ctor_get(x_68, 0); -x_73 = lean_ctor_get(x_68, 2); -x_74 = lean_ctor_get(x_68, 3); -x_75 = lean_ctor_get(x_68, 4); -x_76 = lean_ctor_get(x_68, 5); +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; +x_73 = lean_ctor_get(x_69, 0); +x_74 = lean_ctor_get(x_69, 2); +x_75 = lean_ctor_get(x_69, 3); +x_76 = lean_ctor_get(x_69, 4); +x_77 = lean_ctor_get(x_69, 5); +lean_inc(x_77); lean_inc(x_76); lean_inc(x_75); lean_inc(x_74); lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_68); -x_77 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_77, 0, x_72); -lean_ctor_set(x_77, 1, x_19); -lean_ctor_set(x_77, 2, x_73); -lean_ctor_set(x_77, 3, x_74); -lean_ctor_set(x_77, 4, x_75); -lean_ctor_set(x_77, 5, x_76); -if (lean_is_scalar(x_12)) { - x_78 = lean_alloc_ctor(1, 2, 0); +lean_dec(x_69); +x_78 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_78, 0, x_73); +lean_ctor_set(x_78, 1, x_20); +lean_ctor_set(x_78, 2, x_74); +lean_ctor_set(x_78, 3, x_75); +lean_ctor_set(x_78, 4, x_76); +lean_ctor_set(x_78, 5, x_77); +if (lean_is_scalar(x_13)) { + x_79 = lean_alloc_ctor(1, 2, 0); } else { - x_78 = x_12; - lean_ctor_set_tag(x_78, 1); + x_79 = x_13; + lean_ctor_set_tag(x_79, 1); } -lean_ctor_set(x_78, 0, x_67); -lean_ctor_set(x_78, 1, x_77); -return x_78; +lean_ctor_set(x_79, 0, x_68); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } } else { -lean_object* x_133; lean_object* x_134; +lean_object* x_134; lean_object* x_135; +lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_21); lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_12); +lean_dec(x_17); +lean_dec(x_13); lean_dec(x_3); lean_dec(x_2); -x_133 = lean_ctor_get(x_25, 0); -lean_inc(x_133); -lean_dec(x_25); -if (lean_is_scalar(x_17)) { - x_134 = lean_alloc_ctor(0, 2, 0); +x_134 = lean_ctor_get(x_26, 0); +lean_inc(x_134); +lean_dec(x_26); +if (lean_is_scalar(x_18)) { + x_135 = lean_alloc_ctor(0, 2, 0); } else { - x_134 = x_17; + x_135 = x_18; } -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_15); -return x_134; +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_16); +return x_135; } } else { -uint8_t x_135; -lean_dec(x_12); +uint8_t x_136; +lean_dec(x_13); lean_dec(x_3); lean_dec(x_2); -x_135 = !lean_is_exclusive(x_14); -if (x_135 == 0) +x_136 = !lean_is_exclusive(x_15); +if (x_136 == 0) { -return x_14; +return x_15; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_14, 0); -x_137 = lean_ctor_get(x_14, 1); +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_15, 0); +x_138 = lean_ctor_get(x_15, 1); +lean_inc(x_138); lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_14); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; +lean_dec(x_15); +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; } } } else { -lean_object* x_139; uint8_t x_140; 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; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_139 = lean_ctor_get(x_6, 0); -x_140 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_141 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1); -x_142 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 2); -x_143 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 3); -x_144 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 4); -lean_inc(x_139); +lean_object* x_140; uint8_t x_141; uint8_t x_142; uint8_t x_143; uint8_t x_144; uint8_t x_145; uint8_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_140 = lean_ctor_get(x_6, 0); +x_141 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 2); +x_142 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 3); +x_143 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 4); +x_144 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 5); +lean_inc(x_140); lean_dec(x_6); -x_145 = 2; -x_146 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_146, 0, x_139); -lean_ctor_set_uint8(x_146, sizeof(void*)*1, x_140); -lean_ctor_set_uint8(x_146, sizeof(void*)*1 + 1, x_141); -lean_ctor_set_uint8(x_146, sizeof(void*)*1 + 2, x_142); -lean_ctor_set_uint8(x_146, sizeof(void*)*1 + 3, x_143); -lean_ctor_set_uint8(x_146, sizeof(void*)*1 + 4, x_144); -lean_ctor_set_uint8(x_146, sizeof(void*)*1 + 5, x_145); -lean_ctor_set(x_3, 0, x_146); -x_147 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); +x_145 = 1; +x_146 = 2; +x_147 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_147, 0, x_140); +lean_ctor_set_uint8(x_147, sizeof(void*)*1, x_145); +lean_ctor_set_uint8(x_147, sizeof(void*)*1 + 1, x_145); +lean_ctor_set_uint8(x_147, sizeof(void*)*1 + 2, x_141); +lean_ctor_set_uint8(x_147, sizeof(void*)*1 + 3, x_142); +lean_ctor_set_uint8(x_147, sizeof(void*)*1 + 4, x_143); +lean_ctor_set_uint8(x_147, sizeof(void*)*1 + 5, x_144); +lean_ctor_set_uint8(x_147, sizeof(void*)*1 + 6, x_146); +lean_ctor_set(x_3, 0, x_147); +x_148 = l_Lean_Meta_instantiateMVars(x_1, x_3, x_4); +x_149 = lean_ctor_get(x_148, 0); lean_inc(x_149); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_150 = x_147; +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; } else { - lean_dec_ref(x_147); - x_150 = lean_box(0); + lean_dec_ref(x_148); + x_151 = lean_box(0); } -x_151 = l___private_Init_Lean_Meta_SynthInstance_2__preprocess___closed__1; +x_152 = l___private_Init_Lean_Meta_SynthInstance_2__preprocess___closed__1; lean_inc(x_3); -x_152 = l_Lean_Meta_forallTelescopeReducing___rarg(x_148, x_151, x_3, x_149); -if (lean_obj_tag(x_152) == 0) +x_153 = l_Lean_Meta_forallTelescopeReducing___rarg(x_149, x_152, x_3, x_150); +if (lean_obj_tag(x_153) == 0) { -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_153 = lean_ctor_get(x_152, 1); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 0); +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_154 = lean_ctor_get(x_153, 1); lean_inc(x_154); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_155 = x_152; -} else { - lean_dec_ref(x_152); - x_155 = lean_box(0); -} -x_156 = lean_ctor_get(x_153, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_153, 1); -lean_inc(x_157); -x_158 = lean_ctor_get(x_153, 2); -lean_inc(x_158); -x_159 = lean_ctor_get(x_153, 3); -lean_inc(x_159); -x_160 = lean_ctor_get(x_153, 4); -lean_inc(x_160); -x_161 = lean_ctor_get(x_153, 5); -lean_inc(x_161); -x_162 = lean_ctor_get(x_158, 2); -lean_inc(x_162); -x_163 = l_PersistentHashMap_find___at_Lean_Meta_synthInstance_x3f___spec__1(x_162, x_154); -lean_dec(x_162); -if (lean_obj_tag(x_163) == 0) -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_185; lean_object* x_186; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_155 = lean_ctor_get(x_153, 0); +lean_inc(x_155); if (lean_is_exclusive(x_153)) { lean_ctor_release(x_153, 0); lean_ctor_release(x_153, 1); - lean_ctor_release(x_153, 2); - lean_ctor_release(x_153, 3); - lean_ctor_release(x_153, 4); - lean_ctor_release(x_153, 5); - x_164 = x_153; + x_156 = x_153; } else { lean_dec_ref(x_153); - x_164 = lean_box(0); + x_156 = lean_box(0); } +x_157 = lean_ctor_get(x_154, 0); lean_inc(x_157); -x_196 = l_Lean_MetavarContext_incDepth(x_157); -x_197 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_197, 0, x_156); -lean_ctor_set(x_197, 1, x_196); -lean_ctor_set(x_197, 2, x_158); -lean_ctor_set(x_197, 3, x_159); -lean_ctor_set(x_197, 4, x_160); -lean_ctor_set(x_197, 5, x_161); -lean_inc(x_3); -lean_inc(x_154); -x_198 = l___private_Init_Lean_Meta_SynthInstance_5__preprocessOutParam(x_154, x_3, x_197); -if (lean_obj_tag(x_198) == 0) +x_158 = lean_ctor_get(x_154, 1); +lean_inc(x_158); +x_159 = lean_ctor_get(x_154, 2); +lean_inc(x_159); +x_160 = lean_ctor_get(x_154, 3); +lean_inc(x_160); +x_161 = lean_ctor_get(x_154, 4); +lean_inc(x_161); +x_162 = lean_ctor_get(x_154, 5); +lean_inc(x_162); +x_163 = lean_ctor_get(x_159, 2); +lean_inc(x_163); +x_164 = l_PersistentHashMap_find___at_Lean_Meta_synthInstance_x3f___spec__1(x_163, x_155); +lean_dec(x_163); +if (lean_obj_tag(x_164) == 0) { -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_198, 1); +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_186; lean_object* x_187; lean_object* x_197; lean_object* x_198; lean_object* x_199; +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + lean_ctor_release(x_154, 2); + lean_ctor_release(x_154, 3); + lean_ctor_release(x_154, 4); + lean_ctor_release(x_154, 5); + x_165 = x_154; +} else { + lean_dec_ref(x_154); + x_165 = lean_box(0); +} +lean_inc(x_158); +x_197 = l_Lean_MetavarContext_incDepth(x_158); +x_198 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_198, 0, x_157); +lean_ctor_set(x_198, 1, x_197); +lean_ctor_set(x_198, 2, x_159); +lean_ctor_set(x_198, 3, x_160); +lean_ctor_set(x_198, 4, x_161); +lean_ctor_set(x_198, 5, x_162); +lean_inc(x_3); +lean_inc(x_155); +x_199 = l___private_Init_Lean_Meta_SynthInstance_5__preprocessOutParam(x_155, x_3, x_198); +if (lean_obj_tag(x_199) == 0) +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_200 = lean_ctor_get(x_199, 0); lean_inc(x_200); -lean_dec(x_198); -x_201 = lean_ctor_get(x_199, 0); +x_201 = lean_ctor_get(x_199, 1); lean_inc(x_201); -x_202 = lean_ctor_get(x_199, 1); -lean_inc(x_202); lean_dec(x_199); +x_202 = lean_ctor_get(x_200, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_200, 1); +lean_inc(x_203); +lean_dec(x_200); lean_inc(x_3); -x_203 = l_Lean_Meta_SynthInstance_main(x_201, x_2, x_3, x_200); -if (lean_obj_tag(x_203) == 0) -{ -lean_object* x_204; -x_204 = lean_ctor_get(x_203, 0); -lean_inc(x_204); +x_204 = l_Lean_Meta_SynthInstance_main(x_202, x_2, x_3, x_201); if (lean_obj_tag(x_204) == 0) { lean_object* x_205; -lean_dec(x_202); -lean_dec(x_150); -lean_dec(x_3); -x_205 = lean_ctor_get(x_203, 1); +x_205 = lean_ctor_get(x_204, 0); lean_inc(x_205); +if (lean_obj_tag(x_205) == 0) +{ +lean_object* x_206; lean_dec(x_203); -x_165 = x_204; +lean_dec(x_151); +lean_dec(x_3); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); x_166 = x_205; -goto block_184; +x_167 = x_206; +goto block_185; } else { -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_206 = lean_ctor_get(x_203, 1); -lean_inc(x_206); -lean_dec(x_203); -x_207 = lean_ctor_get(x_204, 0); +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_207 = lean_ctor_get(x_204, 1); lean_inc(x_207); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - x_208 = x_204; +lean_dec(x_204); +x_208 = lean_ctor_get(x_205, 0); +lean_inc(x_208); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + x_209 = x_205; } else { - lean_dec_ref(x_204); - x_208 = lean_box(0); + lean_dec_ref(x_205); + x_209 = lean_box(0); } lean_inc(x_3); -x_209 = l_Lean_Meta_try___at___private_Init_Lean_Meta_SynthInstance_6__resolveReplacements___spec__3(x_202, x_3, x_206); -if (lean_obj_tag(x_209) == 0) +x_210 = l_Lean_Meta_try___at___private_Init_Lean_Meta_SynthInstance_6__resolveReplacements___spec__3(x_203, x_3, x_207); +if (lean_obj_tag(x_210) == 0) { -lean_object* x_210; uint8_t x_211; -lean_dec(x_150); -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_unbox(x_210); +lean_object* x_211; uint8_t x_212; +lean_dec(x_151); +x_211 = lean_ctor_get(x_210, 0); +lean_inc(x_211); +x_212 = lean_unbox(x_211); +lean_dec(x_211); +if (x_212 == 0) +{ +lean_object* x_213; lean_object* x_214; +lean_dec(x_209); +lean_dec(x_208); +lean_dec(x_3); +x_213 = lean_ctor_get(x_210, 1); +lean_inc(x_213); lean_dec(x_210); -if (x_211 == 0) -{ -lean_object* x_212; lean_object* x_213; -lean_dec(x_208); -lean_dec(x_207); -lean_dec(x_3); -x_212 = lean_ctor_get(x_209, 1); -lean_inc(x_212); -lean_dec(x_209); -x_213 = lean_box(0); -x_165 = x_213; -x_166 = x_212; -goto block_184; +x_214 = lean_box(0); +x_166 = x_214; +x_167 = x_213; +goto block_185; } else { -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; -x_214 = lean_ctor_get(x_209, 1); -lean_inc(x_214); -lean_dec(x_209); -x_215 = l_Lean_Meta_instantiateMVars(x_207, x_3, x_214); -x_216 = lean_ctor_get(x_215, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_215, 1); +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 = lean_ctor_get(x_210, 1); +lean_inc(x_215); +lean_dec(x_210); +x_216 = l_Lean_Meta_instantiateMVars(x_208, x_3, x_215); +x_217 = lean_ctor_get(x_216, 0); lean_inc(x_217); -lean_dec(x_215); -x_218 = l_Lean_Meta_hasAssignableMVar(x_216, x_3, x_217); -lean_dec(x_3); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_unbox(x_219); -lean_dec(x_219); -if (x_220 == 0) -{ -lean_object* x_221; lean_object* x_222; -x_221 = lean_ctor_get(x_218, 1); -lean_inc(x_221); -lean_dec(x_218); -if (lean_is_scalar(x_208)) { - x_222 = lean_alloc_ctor(1, 1, 0); -} else { - x_222 = x_208; -} -lean_ctor_set(x_222, 0, x_216); -x_165 = x_222; -x_166 = x_221; -goto block_184; -} -else -{ -lean_object* x_223; lean_object* x_224; +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); lean_dec(x_216); -lean_dec(x_208); -x_223 = lean_ctor_get(x_218, 1); -lean_inc(x_223); -lean_dec(x_218); -x_224 = lean_box(0); -x_165 = x_224; +x_219 = l_Lean_Meta_hasAssignableMVar(x_217, x_3, x_218); +lean_dec(x_3); +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_unbox(x_220); +lean_dec(x_220); +if (x_221 == 0) +{ +lean_object* x_222; lean_object* x_223; +x_222 = lean_ctor_get(x_219, 1); +lean_inc(x_222); +lean_dec(x_219); +if (lean_is_scalar(x_209)) { + x_223 = lean_alloc_ctor(1, 1, 0); +} else { + x_223 = x_209; +} +lean_ctor_set(x_223, 0, x_217); x_166 = x_223; -goto block_184; -} -} +x_167 = x_222; +goto block_185; } else { -lean_object* x_225; lean_object* x_226; -lean_dec(x_208); -lean_dec(x_207); -lean_dec(x_164); -lean_dec(x_155); -lean_dec(x_154); -lean_dec(x_3); -x_225 = lean_ctor_get(x_209, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_209, 1); -lean_inc(x_226); +lean_object* x_224; lean_object* x_225; +lean_dec(x_217); lean_dec(x_209); -x_185 = x_225; -x_186 = x_226; -goto block_195; +x_224 = lean_ctor_get(x_219, 1); +lean_inc(x_224); +lean_dec(x_219); +x_225 = lean_box(0); +x_166 = x_225; +x_167 = x_224; +goto block_185; } } } else { -lean_object* x_227; lean_object* x_228; -lean_dec(x_202); -lean_dec(x_164); +lean_object* x_226; lean_object* x_227; +lean_dec(x_209); +lean_dec(x_208); +lean_dec(x_165); +lean_dec(x_156); lean_dec(x_155); -lean_dec(x_154); lean_dec(x_3); -x_227 = lean_ctor_get(x_203, 0); +x_226 = lean_ctor_get(x_210, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_210, 1); lean_inc(x_227); -x_228 = lean_ctor_get(x_203, 1); -lean_inc(x_228); -lean_dec(x_203); -x_185 = x_227; -x_186 = x_228; -goto block_195; +lean_dec(x_210); +x_186 = x_226; +x_187 = x_227; +goto block_196; +} } } else { -lean_object* x_229; lean_object* x_230; -lean_dec(x_164); +lean_object* x_228; lean_object* x_229; +lean_dec(x_203); +lean_dec(x_165); +lean_dec(x_156); +lean_dec(x_155); +lean_dec(x_3); +x_228 = lean_ctor_get(x_204, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_204, 1); +lean_inc(x_229); +lean_dec(x_204); +x_186 = x_228; +x_187 = x_229; +goto block_196; +} +} +else +{ +lean_object* x_230; lean_object* x_231; +lean_dec(x_165); +lean_dec(x_156); lean_dec(x_155); -lean_dec(x_154); lean_dec(x_3); lean_dec(x_2); -x_229 = lean_ctor_get(x_198, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_198, 1); +x_230 = lean_ctor_get(x_199, 0); lean_inc(x_230); -lean_dec(x_198); -x_185 = x_229; +x_231 = lean_ctor_get(x_199, 1); +lean_inc(x_231); +lean_dec(x_199); x_186 = x_230; -goto block_195; +x_187 = x_231; +goto block_196; } -block_184: +block_185: { -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; uint8_t x_174; -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 2); +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; +x_168 = lean_ctor_get(x_167, 0); lean_inc(x_168); -x_169 = lean_ctor_get(x_166, 3); +x_169 = lean_ctor_get(x_167, 2); lean_inc(x_169); -x_170 = lean_ctor_get(x_166, 4); +x_170 = lean_ctor_get(x_167, 3); lean_inc(x_170); -x_171 = lean_ctor_get(x_166, 5); +x_171 = lean_ctor_get(x_167, 4); lean_inc(x_171); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - lean_ctor_release(x_166, 2); - lean_ctor_release(x_166, 3); - lean_ctor_release(x_166, 4); - lean_ctor_release(x_166, 5); - x_172 = x_166; +x_172 = lean_ctor_get(x_167, 5); +lean_inc(x_172); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + lean_ctor_release(x_167, 2); + lean_ctor_release(x_167, 3); + lean_ctor_release(x_167, 4); + lean_ctor_release(x_167, 5); + x_173 = x_167; } else { - lean_dec_ref(x_166); - x_172 = lean_box(0); + lean_dec_ref(x_167); + x_173 = lean_box(0); } +lean_inc(x_172); lean_inc(x_171); lean_inc(x_170); lean_inc(x_169); +lean_inc(x_158); lean_inc(x_168); -lean_inc(x_157); -lean_inc(x_167); -if (lean_is_scalar(x_172)) { - x_173 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(0, 6, 0); } else { - x_173 = x_172; + x_174 = x_173; } -lean_ctor_set(x_173, 0, x_167); -lean_ctor_set(x_173, 1, x_157); -lean_ctor_set(x_173, 2, x_168); -lean_ctor_set(x_173, 3, x_169); -lean_ctor_set(x_173, 4, x_170); -lean_ctor_set(x_173, 5, x_171); -x_174 = l_Lean_Expr_hasMVar(x_154); -if (x_174 == 0) +lean_ctor_set(x_174, 0, x_168); +lean_ctor_set(x_174, 1, x_158); +lean_ctor_set(x_174, 2, x_169); +lean_ctor_set(x_174, 3, x_170); +lean_ctor_set(x_174, 4, x_171); +lean_ctor_set(x_174, 5, x_172); +x_175 = l_Lean_Expr_hasMVar(x_155); +if (x_175 == 0) { -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_dec(x_173); -x_175 = lean_ctor_get(x_168, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_168, 1); +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_dec(x_174); +x_176 = lean_ctor_get(x_169, 0); lean_inc(x_176); -x_177 = lean_ctor_get(x_168, 2); +x_177 = lean_ctor_get(x_169, 1); lean_inc(x_177); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - lean_ctor_release(x_168, 2); - x_178 = x_168; +x_178 = lean_ctor_get(x_169, 2); +lean_inc(x_178); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + lean_ctor_release(x_169, 2); + x_179 = x_169; } else { - lean_dec_ref(x_168); - x_178 = lean_box(0); + lean_dec_ref(x_169); + x_179 = lean_box(0); } -lean_inc(x_165); -x_179 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_177, x_154, x_165); -if (lean_is_scalar(x_178)) { - x_180 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_166); +x_180 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_178, x_155, x_166); +if (lean_is_scalar(x_179)) { + x_181 = lean_alloc_ctor(0, 3, 0); } else { - x_180 = x_178; + x_181 = x_179; } -lean_ctor_set(x_180, 0, x_175); -lean_ctor_set(x_180, 1, x_176); -lean_ctor_set(x_180, 2, x_179); -if (lean_is_scalar(x_164)) { - x_181 = lean_alloc_ctor(0, 6, 0); -} else { - x_181 = x_164; -} -lean_ctor_set(x_181, 0, x_167); -lean_ctor_set(x_181, 1, x_157); +lean_ctor_set(x_181, 0, x_176); +lean_ctor_set(x_181, 1, x_177); lean_ctor_set(x_181, 2, x_180); -lean_ctor_set(x_181, 3, x_169); -lean_ctor_set(x_181, 4, x_170); -lean_ctor_set(x_181, 5, x_171); -if (lean_is_scalar(x_155)) { - x_182 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_165)) { + x_182 = lean_alloc_ctor(0, 6, 0); } else { - x_182 = x_155; + x_182 = x_165; } -lean_ctor_set(x_182, 0, x_165); -lean_ctor_set(x_182, 1, x_181); -return x_182; +lean_ctor_set(x_182, 0, x_168); +lean_ctor_set(x_182, 1, x_158); +lean_ctor_set(x_182, 2, x_181); +lean_ctor_set(x_182, 3, x_170); +lean_ctor_set(x_182, 4, x_171); +lean_ctor_set(x_182, 5, x_172); +if (lean_is_scalar(x_156)) { + x_183 = lean_alloc_ctor(0, 2, 0); +} else { + x_183 = x_156; +} +lean_ctor_set(x_183, 0, x_166); +lean_ctor_set(x_183, 1, x_182); +return x_183; } else { -lean_object* x_183; +lean_object* x_184; +lean_dec(x_172); lean_dec(x_171); lean_dec(x_170); lean_dec(x_169); lean_dec(x_168); -lean_dec(x_167); -lean_dec(x_164); -lean_dec(x_157); -lean_dec(x_154); -if (lean_is_scalar(x_155)) { - x_183 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_165); +lean_dec(x_158); +lean_dec(x_155); +if (lean_is_scalar(x_156)) { + x_184 = lean_alloc_ctor(0, 2, 0); } else { - x_183 = x_155; + x_184 = x_156; } -lean_ctor_set(x_183, 0, x_165); -lean_ctor_set(x_183, 1, x_173); -return x_183; +lean_ctor_set(x_184, 0, x_166); +lean_ctor_set(x_184, 1, x_174); +return x_184; } } -block_195: +block_196: { -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; -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 2); +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_188 = lean_ctor_get(x_187, 0); lean_inc(x_188); -x_189 = lean_ctor_get(x_186, 3); +x_189 = lean_ctor_get(x_187, 2); lean_inc(x_189); -x_190 = lean_ctor_get(x_186, 4); +x_190 = lean_ctor_get(x_187, 3); lean_inc(x_190); -x_191 = lean_ctor_get(x_186, 5); +x_191 = lean_ctor_get(x_187, 4); lean_inc(x_191); -if (lean_is_exclusive(x_186)) { - lean_ctor_release(x_186, 0); - lean_ctor_release(x_186, 1); - lean_ctor_release(x_186, 2); - lean_ctor_release(x_186, 3); - lean_ctor_release(x_186, 4); - lean_ctor_release(x_186, 5); - x_192 = x_186; +x_192 = lean_ctor_get(x_187, 5); +lean_inc(x_192); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + lean_ctor_release(x_187, 2); + lean_ctor_release(x_187, 3); + lean_ctor_release(x_187, 4); + lean_ctor_release(x_187, 5); + x_193 = x_187; } else { - lean_dec_ref(x_186); - x_192 = lean_box(0); + lean_dec_ref(x_187); + x_193 = lean_box(0); } -if (lean_is_scalar(x_192)) { - x_193 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_193)) { + x_194 = lean_alloc_ctor(0, 6, 0); } else { - x_193 = x_192; + x_194 = x_193; } -lean_ctor_set(x_193, 0, x_187); -lean_ctor_set(x_193, 1, x_157); -lean_ctor_set(x_193, 2, x_188); -lean_ctor_set(x_193, 3, x_189); -lean_ctor_set(x_193, 4, x_190); -lean_ctor_set(x_193, 5, x_191); -if (lean_is_scalar(x_150)) { - x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_188); +lean_ctor_set(x_194, 1, x_158); +lean_ctor_set(x_194, 2, x_189); +lean_ctor_set(x_194, 3, x_190); +lean_ctor_set(x_194, 4, x_191); +lean_ctor_set(x_194, 5, x_192); +if (lean_is_scalar(x_151)) { + x_195 = lean_alloc_ctor(1, 2, 0); } else { - x_194 = x_150; - lean_ctor_set_tag(x_194, 1); + x_195 = x_151; + lean_ctor_set_tag(x_195, 1); } -lean_ctor_set(x_194, 0, x_185); -lean_ctor_set(x_194, 1, x_193); -return x_194; +lean_ctor_set(x_195, 0, x_186); +lean_ctor_set(x_195, 1, x_194); +return x_195; } } else { -lean_object* x_231; lean_object* x_232; +lean_object* x_232; lean_object* x_233; +lean_dec(x_162); lean_dec(x_161); lean_dec(x_160); lean_dec(x_159); lean_dec(x_158); lean_dec(x_157); -lean_dec(x_156); -lean_dec(x_154); -lean_dec(x_150); +lean_dec(x_155); +lean_dec(x_151); lean_dec(x_3); lean_dec(x_2); -x_231 = lean_ctor_get(x_163, 0); -lean_inc(x_231); -lean_dec(x_163); -if (lean_is_scalar(x_155)) { - x_232 = lean_alloc_ctor(0, 2, 0); +x_232 = lean_ctor_get(x_164, 0); +lean_inc(x_232); +lean_dec(x_164); +if (lean_is_scalar(x_156)) { + x_233 = lean_alloc_ctor(0, 2, 0); } else { - x_232 = x_155; + x_233 = x_156; } -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_153); -return x_232; +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_154); +return x_233; } } else { -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -lean_dec(x_150); +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +lean_dec(x_151); lean_dec(x_3); lean_dec(x_2); -x_233 = lean_ctor_get(x_152, 0); -lean_inc(x_233); -x_234 = lean_ctor_get(x_152, 1); +x_234 = lean_ctor_get(x_153, 0); lean_inc(x_234); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_235 = x_152; +x_235 = lean_ctor_get(x_153, 1); +lean_inc(x_235); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_236 = x_153; } else { - lean_dec_ref(x_152); - x_235 = lean_box(0); + lean_dec_ref(x_153); + x_236 = lean_box(0); } -if (lean_is_scalar(x_235)) { - x_236 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_236)) { + x_237 = lean_alloc_ctor(1, 2, 0); } else { - x_236 = x_235; + x_237 = x_236; } -lean_ctor_set(x_236, 0, x_233); -lean_ctor_set(x_236, 1, x_234); -return x_236; +lean_ctor_set(x_237, 0, x_234); +lean_ctor_set(x_237, 1, x_235); +return x_237; } } } else { -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; uint8_t x_242; uint8_t x_243; uint8_t x_244; uint8_t x_245; lean_object* x_246; uint8_t 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; -x_237 = lean_ctor_get(x_3, 0); -x_238 = lean_ctor_get(x_3, 1); -x_239 = lean_ctor_get(x_3, 2); +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; uint8_t x_243; uint8_t x_244; uint8_t x_245; lean_object* x_246; uint8_t x_247; uint8_t x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; +x_238 = lean_ctor_get(x_3, 0); +x_239 = lean_ctor_get(x_3, 1); +x_240 = lean_ctor_get(x_3, 2); +lean_inc(x_240); lean_inc(x_239); lean_inc(x_238); -lean_inc(x_237); lean_dec(x_3); -x_240 = lean_ctor_get(x_237, 0); -lean_inc(x_240); -x_241 = lean_ctor_get_uint8(x_237, sizeof(void*)*1); -x_242 = lean_ctor_get_uint8(x_237, sizeof(void*)*1 + 1); -x_243 = lean_ctor_get_uint8(x_237, sizeof(void*)*1 + 2); -x_244 = lean_ctor_get_uint8(x_237, sizeof(void*)*1 + 3); -x_245 = lean_ctor_get_uint8(x_237, sizeof(void*)*1 + 4); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - x_246 = x_237; +x_241 = lean_ctor_get(x_238, 0); +lean_inc(x_241); +x_242 = lean_ctor_get_uint8(x_238, sizeof(void*)*1 + 2); +x_243 = lean_ctor_get_uint8(x_238, sizeof(void*)*1 + 3); +x_244 = lean_ctor_get_uint8(x_238, sizeof(void*)*1 + 4); +x_245 = lean_ctor_get_uint8(x_238, sizeof(void*)*1 + 5); +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + x_246 = x_238; } else { - lean_dec_ref(x_237); + lean_dec_ref(x_238); x_246 = lean_box(0); } -x_247 = 2; +x_247 = 1; +x_248 = 2; if (lean_is_scalar(x_246)) { - x_248 = lean_alloc_ctor(0, 1, 6); + x_249 = lean_alloc_ctor(0, 1, 7); } else { - x_248 = x_246; + x_249 = x_246; } -lean_ctor_set(x_248, 0, x_240); -lean_ctor_set_uint8(x_248, sizeof(void*)*1, x_241); -lean_ctor_set_uint8(x_248, sizeof(void*)*1 + 1, x_242); -lean_ctor_set_uint8(x_248, sizeof(void*)*1 + 2, x_243); -lean_ctor_set_uint8(x_248, sizeof(void*)*1 + 3, x_244); -lean_ctor_set_uint8(x_248, sizeof(void*)*1 + 4, x_245); -lean_ctor_set_uint8(x_248, sizeof(void*)*1 + 5, x_247); -x_249 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_238); -lean_ctor_set(x_249, 2, x_239); -x_250 = l_Lean_Meta_instantiateMVars(x_1, x_249, x_4); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); +lean_ctor_set(x_249, 0, x_241); +lean_ctor_set_uint8(x_249, sizeof(void*)*1, x_247); +lean_ctor_set_uint8(x_249, sizeof(void*)*1 + 1, x_247); +lean_ctor_set_uint8(x_249, sizeof(void*)*1 + 2, x_242); +lean_ctor_set_uint8(x_249, sizeof(void*)*1 + 3, x_243); +lean_ctor_set_uint8(x_249, sizeof(void*)*1 + 4, x_244); +lean_ctor_set_uint8(x_249, sizeof(void*)*1 + 5, x_245); +lean_ctor_set_uint8(x_249, sizeof(void*)*1 + 6, x_248); +x_250 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_239); +lean_ctor_set(x_250, 2, x_240); +x_251 = l_Lean_Meta_instantiateMVars(x_1, x_250, x_4); +x_252 = lean_ctor_get(x_251, 0); lean_inc(x_252); -if (lean_is_exclusive(x_250)) { - lean_ctor_release(x_250, 0); - lean_ctor_release(x_250, 1); - x_253 = x_250; +x_253 = lean_ctor_get(x_251, 1); +lean_inc(x_253); +if (lean_is_exclusive(x_251)) { + lean_ctor_release(x_251, 0); + lean_ctor_release(x_251, 1); + x_254 = x_251; } else { - lean_dec_ref(x_250); - x_253 = lean_box(0); + lean_dec_ref(x_251); + x_254 = lean_box(0); } -x_254 = l___private_Init_Lean_Meta_SynthInstance_2__preprocess___closed__1; -lean_inc(x_249); -x_255 = l_Lean_Meta_forallTelescopeReducing___rarg(x_251, x_254, x_249, x_252); -if (lean_obj_tag(x_255) == 0) +x_255 = l___private_Init_Lean_Meta_SynthInstance_2__preprocess___closed__1; +lean_inc(x_250); +x_256 = l_Lean_Meta_forallTelescopeReducing___rarg(x_252, x_255, x_250, x_253); +if (lean_obj_tag(x_256) == 0) { -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_256 = lean_ctor_get(x_255, 1); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 0); +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +x_257 = lean_ctor_get(x_256, 1); lean_inc(x_257); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_258 = x_255; -} else { - lean_dec_ref(x_255); - x_258 = lean_box(0); -} -x_259 = lean_ctor_get(x_256, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_256, 1); -lean_inc(x_260); -x_261 = lean_ctor_get(x_256, 2); -lean_inc(x_261); -x_262 = lean_ctor_get(x_256, 3); -lean_inc(x_262); -x_263 = lean_ctor_get(x_256, 4); -lean_inc(x_263); -x_264 = lean_ctor_get(x_256, 5); -lean_inc(x_264); -x_265 = lean_ctor_get(x_261, 2); -lean_inc(x_265); -x_266 = l_PersistentHashMap_find___at_Lean_Meta_synthInstance_x3f___spec__1(x_265, x_257); -lean_dec(x_265); -if (lean_obj_tag(x_266) == 0) -{ -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_288; lean_object* x_289; lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_258 = lean_ctor_get(x_256, 0); +lean_inc(x_258); if (lean_is_exclusive(x_256)) { lean_ctor_release(x_256, 0); lean_ctor_release(x_256, 1); - lean_ctor_release(x_256, 2); - lean_ctor_release(x_256, 3); - lean_ctor_release(x_256, 4); - lean_ctor_release(x_256, 5); - x_267 = x_256; + x_259 = x_256; } else { lean_dec_ref(x_256); - x_267 = lean_box(0); + x_259 = lean_box(0); } +x_260 = lean_ctor_get(x_257, 0); lean_inc(x_260); -x_299 = l_Lean_MetavarContext_incDepth(x_260); -x_300 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_300, 0, x_259); -lean_ctor_set(x_300, 1, x_299); -lean_ctor_set(x_300, 2, x_261); -lean_ctor_set(x_300, 3, x_262); -lean_ctor_set(x_300, 4, x_263); -lean_ctor_set(x_300, 5, x_264); -lean_inc(x_249); -lean_inc(x_257); -x_301 = l___private_Init_Lean_Meta_SynthInstance_5__preprocessOutParam(x_257, x_249, x_300); -if (lean_obj_tag(x_301) == 0) +x_261 = lean_ctor_get(x_257, 1); +lean_inc(x_261); +x_262 = lean_ctor_get(x_257, 2); +lean_inc(x_262); +x_263 = lean_ctor_get(x_257, 3); +lean_inc(x_263); +x_264 = lean_ctor_get(x_257, 4); +lean_inc(x_264); +x_265 = lean_ctor_get(x_257, 5); +lean_inc(x_265); +x_266 = lean_ctor_get(x_262, 2); +lean_inc(x_266); +x_267 = l_PersistentHashMap_find___at_Lean_Meta_synthInstance_x3f___spec__1(x_266, x_258); +lean_dec(x_266); +if (lean_obj_tag(x_267) == 0) { -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_289; lean_object* x_290; lean_object* x_300; lean_object* x_301; lean_object* x_302; +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + lean_ctor_release(x_257, 2); + lean_ctor_release(x_257, 3); + lean_ctor_release(x_257, 4); + lean_ctor_release(x_257, 5); + x_268 = x_257; +} else { + lean_dec_ref(x_257); + x_268 = lean_box(0); +} +lean_inc(x_261); +x_300 = l_Lean_MetavarContext_incDepth(x_261); +x_301 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_301, 0, x_260); +lean_ctor_set(x_301, 1, x_300); +lean_ctor_set(x_301, 2, x_262); +lean_ctor_set(x_301, 3, x_263); +lean_ctor_set(x_301, 4, x_264); +lean_ctor_set(x_301, 5, x_265); +lean_inc(x_250); +lean_inc(x_258); +x_302 = l___private_Init_Lean_Meta_SynthInstance_5__preprocessOutParam(x_258, x_250, x_301); +if (lean_obj_tag(x_302) == 0) +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_303 = lean_ctor_get(x_302, 0); lean_inc(x_303); -lean_dec(x_301); -x_304 = lean_ctor_get(x_302, 0); +x_304 = lean_ctor_get(x_302, 1); lean_inc(x_304); -x_305 = lean_ctor_get(x_302, 1); -lean_inc(x_305); lean_dec(x_302); -lean_inc(x_249); -x_306 = l_Lean_Meta_SynthInstance_main(x_304, x_2, x_249, x_303); -if (lean_obj_tag(x_306) == 0) -{ -lean_object* x_307; -x_307 = lean_ctor_get(x_306, 0); -lean_inc(x_307); +x_305 = lean_ctor_get(x_303, 0); +lean_inc(x_305); +x_306 = lean_ctor_get(x_303, 1); +lean_inc(x_306); +lean_dec(x_303); +lean_inc(x_250); +x_307 = l_Lean_Meta_SynthInstance_main(x_305, x_2, x_250, x_304); if (lean_obj_tag(x_307) == 0) { lean_object* x_308; -lean_dec(x_305); -lean_dec(x_253); -lean_dec(x_249); -x_308 = lean_ctor_get(x_306, 1); +x_308 = lean_ctor_get(x_307, 0); lean_inc(x_308); -lean_dec(x_306); -x_268 = x_307; -x_269 = x_308; -goto block_287; -} -else +if (lean_obj_tag(x_308) == 0) { -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; -x_309 = lean_ctor_get(x_306, 1); +lean_object* x_309; +lean_dec(x_306); +lean_dec(x_254); +lean_dec(x_250); +x_309 = lean_ctor_get(x_307, 1); lean_inc(x_309); -lean_dec(x_306); -x_310 = lean_ctor_get(x_307, 0); +lean_dec(x_307); +x_269 = x_308; +x_270 = x_309; +goto block_288; +} +else +{ +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; +x_310 = lean_ctor_get(x_307, 1); lean_inc(x_310); -if (lean_is_exclusive(x_307)) { - lean_ctor_release(x_307, 0); - x_311 = x_307; +lean_dec(x_307); +x_311 = lean_ctor_get(x_308, 0); +lean_inc(x_311); +if (lean_is_exclusive(x_308)) { + lean_ctor_release(x_308, 0); + x_312 = x_308; } else { - lean_dec_ref(x_307); - x_311 = lean_box(0); + lean_dec_ref(x_308); + x_312 = lean_box(0); } -lean_inc(x_249); -x_312 = l_Lean_Meta_try___at___private_Init_Lean_Meta_SynthInstance_6__resolveReplacements___spec__3(x_305, x_249, x_309); -if (lean_obj_tag(x_312) == 0) +lean_inc(x_250); +x_313 = l_Lean_Meta_try___at___private_Init_Lean_Meta_SynthInstance_6__resolveReplacements___spec__3(x_306, x_250, x_310); +if (lean_obj_tag(x_313) == 0) { -lean_object* x_313; uint8_t x_314; -lean_dec(x_253); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_unbox(x_313); +lean_object* x_314; uint8_t x_315; +lean_dec(x_254); +x_314 = lean_ctor_get(x_313, 0); +lean_inc(x_314); +x_315 = lean_unbox(x_314); +lean_dec(x_314); +if (x_315 == 0) +{ +lean_object* x_316; lean_object* x_317; +lean_dec(x_312); +lean_dec(x_311); +lean_dec(x_250); +x_316 = lean_ctor_get(x_313, 1); +lean_inc(x_316); lean_dec(x_313); -if (x_314 == 0) -{ -lean_object* x_315; lean_object* x_316; -lean_dec(x_311); -lean_dec(x_310); -lean_dec(x_249); -x_315 = lean_ctor_get(x_312, 1); -lean_inc(x_315); -lean_dec(x_312); -x_316 = lean_box(0); -x_268 = x_316; -x_269 = x_315; -goto block_287; +x_317 = lean_box(0); +x_269 = x_317; +x_270 = x_316; +goto block_288; } else { -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; -x_317 = lean_ctor_get(x_312, 1); -lean_inc(x_317); -lean_dec(x_312); -x_318 = l_Lean_Meta_instantiateMVars(x_310, x_249, x_317); -x_319 = lean_ctor_get(x_318, 0); -lean_inc(x_319); -x_320 = lean_ctor_get(x_318, 1); +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; +x_318 = lean_ctor_get(x_313, 1); +lean_inc(x_318); +lean_dec(x_313); +x_319 = l_Lean_Meta_instantiateMVars(x_311, x_250, x_318); +x_320 = lean_ctor_get(x_319, 0); lean_inc(x_320); -lean_dec(x_318); -x_321 = l_Lean_Meta_hasAssignableMVar(x_319, x_249, x_320); -lean_dec(x_249); -x_322 = lean_ctor_get(x_321, 0); -lean_inc(x_322); -x_323 = lean_unbox(x_322); -lean_dec(x_322); -if (x_323 == 0) -{ -lean_object* x_324; lean_object* x_325; -x_324 = lean_ctor_get(x_321, 1); -lean_inc(x_324); -lean_dec(x_321); -if (lean_is_scalar(x_311)) { - x_325 = lean_alloc_ctor(1, 1, 0); -} else { - x_325 = x_311; -} -lean_ctor_set(x_325, 0, x_319); -x_268 = x_325; -x_269 = x_324; -goto block_287; -} -else -{ -lean_object* x_326; lean_object* x_327; +x_321 = lean_ctor_get(x_319, 1); +lean_inc(x_321); lean_dec(x_319); -lean_dec(x_311); -x_326 = lean_ctor_get(x_321, 1); -lean_inc(x_326); -lean_dec(x_321); -x_327 = lean_box(0); -x_268 = x_327; +x_322 = l_Lean_Meta_hasAssignableMVar(x_320, x_250, x_321); +lean_dec(x_250); +x_323 = lean_ctor_get(x_322, 0); +lean_inc(x_323); +x_324 = lean_unbox(x_323); +lean_dec(x_323); +if (x_324 == 0) +{ +lean_object* x_325; lean_object* x_326; +x_325 = lean_ctor_get(x_322, 1); +lean_inc(x_325); +lean_dec(x_322); +if (lean_is_scalar(x_312)) { + x_326 = lean_alloc_ctor(1, 1, 0); +} else { + x_326 = x_312; +} +lean_ctor_set(x_326, 0, x_320); x_269 = x_326; -goto block_287; -} -} +x_270 = x_325; +goto block_288; } else { -lean_object* x_328; lean_object* x_329; -lean_dec(x_311); -lean_dec(x_310); -lean_dec(x_267); -lean_dec(x_258); -lean_dec(x_257); -lean_dec(x_249); -x_328 = lean_ctor_get(x_312, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_312, 1); -lean_inc(x_329); +lean_object* x_327; lean_object* x_328; +lean_dec(x_320); lean_dec(x_312); -x_288 = x_328; -x_289 = x_329; -goto block_298; +x_327 = lean_ctor_get(x_322, 1); +lean_inc(x_327); +lean_dec(x_322); +x_328 = lean_box(0); +x_269 = x_328; +x_270 = x_327; +goto block_288; } } } else { -lean_object* x_330; lean_object* x_331; -lean_dec(x_305); -lean_dec(x_267); +lean_object* x_329; lean_object* x_330; +lean_dec(x_312); +lean_dec(x_311); +lean_dec(x_268); +lean_dec(x_259); lean_dec(x_258); -lean_dec(x_257); -lean_dec(x_249); -x_330 = lean_ctor_get(x_306, 0); +lean_dec(x_250); +x_329 = lean_ctor_get(x_313, 0); +lean_inc(x_329); +x_330 = lean_ctor_get(x_313, 1); lean_inc(x_330); -x_331 = lean_ctor_get(x_306, 1); -lean_inc(x_331); +lean_dec(x_313); +x_289 = x_329; +x_290 = x_330; +goto block_299; +} +} +} +else +{ +lean_object* x_331; lean_object* x_332; lean_dec(x_306); -x_288 = x_330; -x_289 = x_331; -goto block_298; -} -} -else -{ -lean_object* x_332; lean_object* x_333; -lean_dec(x_267); +lean_dec(x_268); +lean_dec(x_259); lean_dec(x_258); -lean_dec(x_257); -lean_dec(x_249); -lean_dec(x_2); -x_332 = lean_ctor_get(x_301, 0); +lean_dec(x_250); +x_331 = lean_ctor_get(x_307, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_307, 1); lean_inc(x_332); -x_333 = lean_ctor_get(x_301, 1); -lean_inc(x_333); -lean_dec(x_301); -x_288 = x_332; -x_289 = x_333; -goto block_298; +lean_dec(x_307); +x_289 = x_331; +x_290 = x_332; +goto block_299; } -block_287: -{ -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; uint8_t x_277; -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 2); -lean_inc(x_271); -x_272 = lean_ctor_get(x_269, 3); -lean_inc(x_272); -x_273 = lean_ctor_get(x_269, 4); -lean_inc(x_273); -x_274 = lean_ctor_get(x_269, 5); -lean_inc(x_274); -if (lean_is_exclusive(x_269)) { - lean_ctor_release(x_269, 0); - lean_ctor_release(x_269, 1); - lean_ctor_release(x_269, 2); - lean_ctor_release(x_269, 3); - lean_ctor_release(x_269, 4); - lean_ctor_release(x_269, 5); - x_275 = x_269; -} else { - lean_dec_ref(x_269); - x_275 = lean_box(0); -} -lean_inc(x_274); -lean_inc(x_273); -lean_inc(x_272); -lean_inc(x_271); -lean_inc(x_260); -lean_inc(x_270); -if (lean_is_scalar(x_275)) { - x_276 = lean_alloc_ctor(0, 6, 0); -} else { - x_276 = x_275; -} -lean_ctor_set(x_276, 0, x_270); -lean_ctor_set(x_276, 1, x_260); -lean_ctor_set(x_276, 2, x_271); -lean_ctor_set(x_276, 3, x_272); -lean_ctor_set(x_276, 4, x_273); -lean_ctor_set(x_276, 5, x_274); -x_277 = l_Lean_Expr_hasMVar(x_257); -if (x_277 == 0) -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -lean_dec(x_276); -x_278 = lean_ctor_get(x_271, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_271, 1); -lean_inc(x_279); -x_280 = lean_ctor_get(x_271, 2); -lean_inc(x_280); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - lean_ctor_release(x_271, 2); - x_281 = x_271; -} else { - lean_dec_ref(x_271); - x_281 = lean_box(0); -} -lean_inc(x_268); -x_282 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_280, x_257, x_268); -if (lean_is_scalar(x_281)) { - x_283 = lean_alloc_ctor(0, 3, 0); -} else { - x_283 = x_281; -} -lean_ctor_set(x_283, 0, x_278); -lean_ctor_set(x_283, 1, x_279); -lean_ctor_set(x_283, 2, x_282); -if (lean_is_scalar(x_267)) { - x_284 = lean_alloc_ctor(0, 6, 0); -} else { - x_284 = x_267; -} -lean_ctor_set(x_284, 0, x_270); -lean_ctor_set(x_284, 1, x_260); -lean_ctor_set(x_284, 2, x_283); -lean_ctor_set(x_284, 3, x_272); -lean_ctor_set(x_284, 4, x_273); -lean_ctor_set(x_284, 5, x_274); -if (lean_is_scalar(x_258)) { - x_285 = lean_alloc_ctor(0, 2, 0); -} else { - x_285 = x_258; -} -lean_ctor_set(x_285, 0, x_268); -lean_ctor_set(x_285, 1, x_284); -return x_285; } else { -lean_object* x_286; +lean_object* x_333; lean_object* x_334; +lean_dec(x_268); +lean_dec(x_259); +lean_dec(x_258); +lean_dec(x_250); +lean_dec(x_2); +x_333 = lean_ctor_get(x_302, 0); +lean_inc(x_333); +x_334 = lean_ctor_get(x_302, 1); +lean_inc(x_334); +lean_dec(x_302); +x_289 = x_333; +x_290 = x_334; +goto block_299; +} +block_288: +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_270, 2); +lean_inc(x_272); +x_273 = lean_ctor_get(x_270, 3); +lean_inc(x_273); +x_274 = lean_ctor_get(x_270, 4); +lean_inc(x_274); +x_275 = lean_ctor_get(x_270, 5); +lean_inc(x_275); +if (lean_is_exclusive(x_270)) { + lean_ctor_release(x_270, 0); + lean_ctor_release(x_270, 1); + lean_ctor_release(x_270, 2); + lean_ctor_release(x_270, 3); + lean_ctor_release(x_270, 4); + lean_ctor_release(x_270, 5); + x_276 = x_270; +} else { + lean_dec_ref(x_270); + x_276 = lean_box(0); +} +lean_inc(x_275); +lean_inc(x_274); +lean_inc(x_273); +lean_inc(x_272); +lean_inc(x_261); +lean_inc(x_271); +if (lean_is_scalar(x_276)) { + x_277 = lean_alloc_ctor(0, 6, 0); +} else { + x_277 = x_276; +} +lean_ctor_set(x_277, 0, x_271); +lean_ctor_set(x_277, 1, x_261); +lean_ctor_set(x_277, 2, x_272); +lean_ctor_set(x_277, 3, x_273); +lean_ctor_set(x_277, 4, x_274); +lean_ctor_set(x_277, 5, x_275); +x_278 = l_Lean_Expr_hasMVar(x_258); +if (x_278 == 0) +{ +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec(x_277); +x_279 = lean_ctor_get(x_272, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_272, 1); +lean_inc(x_280); +x_281 = lean_ctor_get(x_272, 2); +lean_inc(x_281); +if (lean_is_exclusive(x_272)) { + lean_ctor_release(x_272, 0); + lean_ctor_release(x_272, 1); + lean_ctor_release(x_272, 2); + x_282 = x_272; +} else { + lean_dec_ref(x_272); + x_282 = lean_box(0); +} +lean_inc(x_269); +x_283 = l_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_281, x_258, x_269); +if (lean_is_scalar(x_282)) { + x_284 = lean_alloc_ctor(0, 3, 0); +} else { + x_284 = x_282; +} +lean_ctor_set(x_284, 0, x_279); +lean_ctor_set(x_284, 1, x_280); +lean_ctor_set(x_284, 2, x_283); +if (lean_is_scalar(x_268)) { + x_285 = lean_alloc_ctor(0, 6, 0); +} else { + x_285 = x_268; +} +lean_ctor_set(x_285, 0, x_271); +lean_ctor_set(x_285, 1, x_261); +lean_ctor_set(x_285, 2, x_284); +lean_ctor_set(x_285, 3, x_273); +lean_ctor_set(x_285, 4, x_274); +lean_ctor_set(x_285, 5, x_275); +if (lean_is_scalar(x_259)) { + x_286 = lean_alloc_ctor(0, 2, 0); +} else { + x_286 = x_259; +} +lean_ctor_set(x_286, 0, x_269); +lean_ctor_set(x_286, 1, x_285); +return x_286; +} +else +{ +lean_object* x_287; +lean_dec(x_275); lean_dec(x_274); lean_dec(x_273); lean_dec(x_272); lean_dec(x_271); -lean_dec(x_270); -lean_dec(x_267); -lean_dec(x_260); -lean_dec(x_257); -if (lean_is_scalar(x_258)) { - x_286 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_268); +lean_dec(x_261); +lean_dec(x_258); +if (lean_is_scalar(x_259)) { + x_287 = lean_alloc_ctor(0, 2, 0); } else { - x_286 = x_258; + x_287 = x_259; } -lean_ctor_set(x_286, 0, x_268); -lean_ctor_set(x_286, 1, x_276); -return x_286; +lean_ctor_set(x_287, 0, x_269); +lean_ctor_set(x_287, 1, x_277); +return x_287; } } -block_298: +block_299: { -lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_290 = lean_ctor_get(x_289, 0); -lean_inc(x_290); -x_291 = lean_ctor_get(x_289, 2); +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_291 = lean_ctor_get(x_290, 0); lean_inc(x_291); -x_292 = lean_ctor_get(x_289, 3); +x_292 = lean_ctor_get(x_290, 2); lean_inc(x_292); -x_293 = lean_ctor_get(x_289, 4); +x_293 = lean_ctor_get(x_290, 3); lean_inc(x_293); -x_294 = lean_ctor_get(x_289, 5); +x_294 = lean_ctor_get(x_290, 4); lean_inc(x_294); -if (lean_is_exclusive(x_289)) { - lean_ctor_release(x_289, 0); - lean_ctor_release(x_289, 1); - lean_ctor_release(x_289, 2); - lean_ctor_release(x_289, 3); - lean_ctor_release(x_289, 4); - lean_ctor_release(x_289, 5); - x_295 = x_289; +x_295 = lean_ctor_get(x_290, 5); +lean_inc(x_295); +if (lean_is_exclusive(x_290)) { + lean_ctor_release(x_290, 0); + lean_ctor_release(x_290, 1); + lean_ctor_release(x_290, 2); + lean_ctor_release(x_290, 3); + lean_ctor_release(x_290, 4); + lean_ctor_release(x_290, 5); + x_296 = x_290; } else { - lean_dec_ref(x_289); - x_295 = lean_box(0); + lean_dec_ref(x_290); + x_296 = lean_box(0); } -if (lean_is_scalar(x_295)) { - x_296 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_296)) { + x_297 = lean_alloc_ctor(0, 6, 0); } else { - x_296 = x_295; + x_297 = x_296; } -lean_ctor_set(x_296, 0, x_290); -lean_ctor_set(x_296, 1, x_260); -lean_ctor_set(x_296, 2, x_291); -lean_ctor_set(x_296, 3, x_292); -lean_ctor_set(x_296, 4, x_293); -lean_ctor_set(x_296, 5, x_294); -if (lean_is_scalar(x_253)) { - x_297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_297, 0, x_291); +lean_ctor_set(x_297, 1, x_261); +lean_ctor_set(x_297, 2, x_292); +lean_ctor_set(x_297, 3, x_293); +lean_ctor_set(x_297, 4, x_294); +lean_ctor_set(x_297, 5, x_295); +if (lean_is_scalar(x_254)) { + x_298 = lean_alloc_ctor(1, 2, 0); } else { - x_297 = x_253; - lean_ctor_set_tag(x_297, 1); + x_298 = x_254; + lean_ctor_set_tag(x_298, 1); } -lean_ctor_set(x_297, 0, x_288); -lean_ctor_set(x_297, 1, x_296); -return x_297; +lean_ctor_set(x_298, 0, x_289); +lean_ctor_set(x_298, 1, x_297); +return x_298; } } else { -lean_object* x_334; lean_object* x_335; +lean_object* x_335; lean_object* x_336; +lean_dec(x_265); lean_dec(x_264); lean_dec(x_263); lean_dec(x_262); lean_dec(x_261); lean_dec(x_260); -lean_dec(x_259); -lean_dec(x_257); -lean_dec(x_253); -lean_dec(x_249); +lean_dec(x_258); +lean_dec(x_254); +lean_dec(x_250); lean_dec(x_2); -x_334 = lean_ctor_get(x_266, 0); -lean_inc(x_334); -lean_dec(x_266); -if (lean_is_scalar(x_258)) { - x_335 = lean_alloc_ctor(0, 2, 0); +x_335 = lean_ctor_get(x_267, 0); +lean_inc(x_335); +lean_dec(x_267); +if (lean_is_scalar(x_259)) { + x_336 = lean_alloc_ctor(0, 2, 0); } else { - x_335 = x_258; + x_336 = x_259; } -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_256); -return x_335; +lean_ctor_set(x_336, 0, x_335); +lean_ctor_set(x_336, 1, x_257); +return x_336; } } else { -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -lean_dec(x_253); -lean_dec(x_249); +lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; +lean_dec(x_254); +lean_dec(x_250); lean_dec(x_2); -x_336 = lean_ctor_get(x_255, 0); -lean_inc(x_336); -x_337 = lean_ctor_get(x_255, 1); +x_337 = lean_ctor_get(x_256, 0); lean_inc(x_337); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_338 = x_255; +x_338 = lean_ctor_get(x_256, 1); +lean_inc(x_338); +if (lean_is_exclusive(x_256)) { + lean_ctor_release(x_256, 0); + lean_ctor_release(x_256, 1); + x_339 = x_256; } else { - lean_dec_ref(x_255); - x_338 = lean_box(0); + lean_dec_ref(x_256); + x_339 = lean_box(0); } -if (lean_is_scalar(x_338)) { - x_339 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_339)) { + x_340 = lean_alloc_ctor(1, 2, 0); } else { - x_339 = x_338; + x_340 = x_339; } -lean_ctor_set(x_339, 0, x_336); -lean_ctor_set(x_339, 1, x_337); -return x_339; +lean_ctor_set(x_340, 0, x_337); +lean_ctor_set(x_340, 1, x_338); +return x_340; } } } @@ -23208,7 +23213,7 @@ if (x_7 == 0) { uint8_t x_8; lean_object* x_9; x_8 = 1; -lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 3, x_8); +lean_ctor_set_uint8(x_6, sizeof(void*)*1 + 4, x_8); x_9 = l_Lean_Meta_synthInstance_x3f(x_1, x_2, x_3, x_4); if (lean_obj_tag(x_9) == 0) { @@ -23329,129 +23334,131 @@ return x_33; } else { -lean_object* x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; +lean_object* x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; x_34 = lean_ctor_get(x_6, 0); x_35 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); x_36 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1); x_37 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 2); -x_38 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 4); +x_38 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 3); x_39 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 5); +x_40 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 6); lean_inc(x_34); lean_dec(x_6); -x_40 = 1; -x_41 = lean_alloc_ctor(0, 1, 6); -lean_ctor_set(x_41, 0, x_34); -lean_ctor_set_uint8(x_41, sizeof(void*)*1, x_35); -lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 1, x_36); -lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 2, x_37); -lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 3, x_40); -lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 4, x_38); -lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 5, x_39); -lean_ctor_set(x_3, 0, x_41); -x_42 = l_Lean_Meta_synthInstance_x3f(x_1, x_2, x_3, x_4); -if (lean_obj_tag(x_42) == 0) +x_41 = 1; +x_42 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set_uint8(x_42, sizeof(void*)*1, x_35); +lean_ctor_set_uint8(x_42, sizeof(void*)*1 + 1, x_36); +lean_ctor_set_uint8(x_42, sizeof(void*)*1 + 2, x_37); +lean_ctor_set_uint8(x_42, sizeof(void*)*1 + 3, x_38); +lean_ctor_set_uint8(x_42, sizeof(void*)*1 + 4, x_41); +lean_ctor_set_uint8(x_42, sizeof(void*)*1 + 5, x_39); +lean_ctor_set_uint8(x_42, sizeof(void*)*1 + 6, x_40); +lean_ctor_set(x_3, 0, x_42); +x_43 = l_Lean_Meta_synthInstance_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_45 = x_42; +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; } else { - lean_dec_ref(x_42); - x_45 = lean_box(0); + lean_dec_ref(x_43); + x_46 = lean_box(0); } -x_46 = l_Option_toLOption___rarg(x_43); -lean_dec(x_43); -if (lean_is_scalar(x_45)) { - x_47 = lean_alloc_ctor(0, 2, 0); +x_47 = l_Option_toLOption___rarg(x_44); +lean_dec(x_44); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); } else { - x_47 = x_45; + x_48 = x_46; } -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_44); -return x_47; +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; } else { -lean_object* x_48; -x_48 = lean_ctor_get(x_42, 0); -lean_inc(x_48); -switch (lean_obj_tag(x_48)) { +lean_object* x_49; +x_49 = lean_ctor_get(x_43, 0); +lean_inc(x_49); +switch (lean_obj_tag(x_49)) { case 11: { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_48); -x_49 = lean_ctor_get(x_42, 1); -lean_inc(x_49); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_50 = x_42; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_49); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_51 = x_43; } else { - lean_dec_ref(x_42); - x_50 = lean_box(0); + lean_dec_ref(x_43); + x_51 = lean_box(0); } -x_51 = lean_box(2); -if (lean_is_scalar(x_50)) { - x_52 = lean_alloc_ctor(0, 2, 0); +x_52 = lean_box(2); +if (lean_is_scalar(x_51)) { + x_53 = lean_alloc_ctor(0, 2, 0); } else { - x_52 = x_50; - lean_ctor_set_tag(x_52, 0); + x_53 = x_51; + lean_ctor_set_tag(x_53, 0); } -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_49); -return x_52; +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_50); +return x_53; } case 12: { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_48); -x_53 = lean_ctor_get(x_42, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_54 = x_42; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_49); +x_54 = lean_ctor_get(x_43, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_55 = x_43; } else { - lean_dec_ref(x_42); - x_54 = lean_box(0); + lean_dec_ref(x_43); + x_55 = lean_box(0); } -x_55 = lean_box(2); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); +x_56 = lean_box(2); +if (lean_is_scalar(x_55)) { + x_57 = lean_alloc_ctor(0, 2, 0); } else { - x_56 = x_54; - lean_ctor_set_tag(x_56, 0); + x_57 = x_55; + lean_ctor_set_tag(x_57, 0); } -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_54); +return x_57; } default: { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_42, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_58 = x_42; +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_43, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_59 = x_43; } else { - lean_dec_ref(x_42); - x_58 = lean_box(0); + lean_dec_ref(x_43); + x_59 = lean_box(0); } -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); } else { - x_59 = x_58; + x_60 = x_59; } -lean_ctor_set(x_59, 0, x_48); -lean_ctor_set(x_59, 1, x_57); -return x_59; +lean_ctor_set(x_60, 0, x_49); +lean_ctor_set(x_60, 1, x_58); +return x_60; } } } @@ -23459,149 +23466,151 @@ return x_59; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_60 = lean_ctor_get(x_3, 0); -x_61 = lean_ctor_get(x_3, 1); -x_62 = lean_ctor_get(x_3, 2); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; uint8_t x_69; uint8_t x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_61 = lean_ctor_get(x_3, 0); +x_62 = lean_ctor_get(x_3, 1); +x_63 = lean_ctor_get(x_3, 2); +lean_inc(x_63); lean_inc(x_62); lean_inc(x_61); -lean_inc(x_60); lean_dec(x_3); -x_63 = lean_ctor_get(x_60, 0); -lean_inc(x_63); -x_64 = lean_ctor_get_uint8(x_60, sizeof(void*)*1); -x_65 = lean_ctor_get_uint8(x_60, sizeof(void*)*1 + 1); -x_66 = lean_ctor_get_uint8(x_60, sizeof(void*)*1 + 2); -x_67 = lean_ctor_get_uint8(x_60, sizeof(void*)*1 + 4); -x_68 = lean_ctor_get_uint8(x_60, sizeof(void*)*1 + 5); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - x_69 = x_60; +x_64 = lean_ctor_get(x_61, 0); +lean_inc(x_64); +x_65 = lean_ctor_get_uint8(x_61, sizeof(void*)*1); +x_66 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 1); +x_67 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 2); +x_68 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 3); +x_69 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 5); +x_70 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 6); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + x_71 = x_61; } else { - lean_dec_ref(x_60); - x_69 = lean_box(0); + lean_dec_ref(x_61); + x_71 = lean_box(0); } -x_70 = 1; -if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(0, 1, 6); +x_72 = 1; +if (lean_is_scalar(x_71)) { + x_73 = lean_alloc_ctor(0, 1, 7); } else { - x_71 = x_69; + x_73 = x_71; } -lean_ctor_set(x_71, 0, x_63); -lean_ctor_set_uint8(x_71, sizeof(void*)*1, x_64); -lean_ctor_set_uint8(x_71, sizeof(void*)*1 + 1, x_65); -lean_ctor_set_uint8(x_71, sizeof(void*)*1 + 2, x_66); -lean_ctor_set_uint8(x_71, sizeof(void*)*1 + 3, x_70); -lean_ctor_set_uint8(x_71, sizeof(void*)*1 + 4, x_67); -lean_ctor_set_uint8(x_71, sizeof(void*)*1 + 5, x_68); -x_72 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_61); -lean_ctor_set(x_72, 2, x_62); -x_73 = l_Lean_Meta_synthInstance_x3f(x_1, x_2, x_72, x_4); -if (lean_obj_tag(x_73) == 0) +lean_ctor_set(x_73, 0, x_64); +lean_ctor_set_uint8(x_73, sizeof(void*)*1, x_65); +lean_ctor_set_uint8(x_73, sizeof(void*)*1 + 1, x_66); +lean_ctor_set_uint8(x_73, sizeof(void*)*1 + 2, x_67); +lean_ctor_set_uint8(x_73, sizeof(void*)*1 + 3, x_68); +lean_ctor_set_uint8(x_73, sizeof(void*)*1 + 4, x_72); +lean_ctor_set_uint8(x_73, sizeof(void*)*1 + 5, x_69); +lean_ctor_set_uint8(x_73, sizeof(void*)*1 + 6, x_70); +x_74 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_62); +lean_ctor_set(x_74, 2, x_63); +x_75 = l_Lean_Meta_synthInstance_x3f(x_1, x_2, x_74, x_4); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_76 = x_73; +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_78 = x_75; } else { - lean_dec_ref(x_73); - x_76 = lean_box(0); + lean_dec_ref(x_75); + x_78 = lean_box(0); } -x_77 = l_Option_toLOption___rarg(x_74); -lean_dec(x_74); -if (lean_is_scalar(x_76)) { - x_78 = lean_alloc_ctor(0, 2, 0); +x_79 = l_Option_toLOption___rarg(x_76); +lean_dec(x_76); +if (lean_is_scalar(x_78)) { + x_80 = lean_alloc_ctor(0, 2, 0); } else { - x_78 = x_76; + x_80 = x_78; } -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_75); -return x_78; +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +return x_80; } else { -lean_object* x_79; -x_79 = lean_ctor_get(x_73, 0); -lean_inc(x_79); -switch (lean_obj_tag(x_79)) { +lean_object* x_81; +x_81 = lean_ctor_get(x_75, 0); +lean_inc(x_81); +switch (lean_obj_tag(x_81)) { case 11: { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -lean_dec(x_79); -x_80 = lean_ctor_get(x_73, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_81 = x_73; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_81); +x_82 = lean_ctor_get(x_75, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_83 = x_75; } else { - lean_dec_ref(x_73); - x_81 = lean_box(0); + lean_dec_ref(x_75); + x_83 = lean_box(0); } -x_82 = lean_box(2); -if (lean_is_scalar(x_81)) { - x_83 = lean_alloc_ctor(0, 2, 0); +x_84 = lean_box(2); +if (lean_is_scalar(x_83)) { + x_85 = lean_alloc_ctor(0, 2, 0); } else { - x_83 = x_81; - lean_ctor_set_tag(x_83, 0); + x_85 = x_83; + lean_ctor_set_tag(x_85, 0); } -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_80); -return x_83; +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +return x_85; } case 12: { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_79); -x_84 = lean_ctor_get(x_73, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_85 = x_73; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_81); +x_86 = lean_ctor_get(x_75, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_87 = x_75; } else { - lean_dec_ref(x_73); - x_85 = lean_box(0); + lean_dec_ref(x_75); + x_87 = lean_box(0); } -x_86 = lean_box(2); -if (lean_is_scalar(x_85)) { - x_87 = lean_alloc_ctor(0, 2, 0); +x_88 = lean_box(2); +if (lean_is_scalar(x_87)) { + x_89 = lean_alloc_ctor(0, 2, 0); } else { - x_87 = x_85; - lean_ctor_set_tag(x_87, 0); + x_89 = x_87; + lean_ctor_set_tag(x_89, 0); } -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_84); -return x_87; +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_86); +return x_89; } default: { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_73, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_89 = x_73; +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_75, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_91 = x_75; } else { - lean_dec_ref(x_73); - x_89 = lean_box(0); + lean_dec_ref(x_75); + x_91 = lean_box(0); } -if (lean_is_scalar(x_89)) { - x_90 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(1, 2, 0); } else { - x_90 = x_89; + x_92 = x_91; } -lean_ctor_set(x_90, 0, x_79); -lean_ctor_set(x_90, 1, x_88); -return x_90; +lean_ctor_set(x_92, 0, x_81); +lean_ctor_set(x_92, 1, x_90); +return x_92; } } }