From 783460af4b84becf18cf4fc5cb260239b1910583 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 12 Feb 2020 11:30:15 -0800 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Lean/Elab/App.lean | 59 +- stage0/src/Init/Lean/Elab/Binders.lean | 86 +- stage0/src/Init/Lean/Elab/Definition.lean | 1 + stage0/src/Init/Lean/Elab/Term.lean | 59 +- stage0/src/Init/Lean/Meta/ExprDefEq.lean | 125 +- stage0/src/Init/Lean/Parser/Command.lean | 1 + stage0/src/Init/LeanInit.lean | 5 + stage0/stdlib/Init/Lean/Elab/App.c | 13874 ++++++++++----- stage0/stdlib/Init/Lean/Elab/Binders.c | 3035 +++- .../stdlib/Init/Lean/Elab/BuiltinNotation.c | 16 +- stage0/stdlib/Init/Lean/Elab/Command.c | 16 +- stage0/stdlib/Init/Lean/Elab/Definition.c | 339 +- stage0/stdlib/Init/Lean/Elab/DoNotation.c | 12 +- stage0/stdlib/Init/Lean/Elab/Match.c | 20 +- stage0/stdlib/Init/Lean/Elab/Quotation.c | 26 +- stage0/stdlib/Init/Lean/Elab/StructInst.c | 6 +- stage0/stdlib/Init/Lean/Elab/Syntax.c | 10 +- stage0/stdlib/Init/Lean/Elab/SyntheticMVars.c | 10 +- stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c | 10 +- .../stdlib/Init/Lean/Elab/Tactic/ElabTerm.c | 30 +- stage0/stdlib/Init/Lean/Elab/Term.c | 1564 +- stage0/stdlib/Init/Lean/Meta/ExprDefEq.c | 14700 ++++++++-------- stage0/stdlib/Init/Lean/Parser/Command.c | 463 + stage0/stdlib/Init/LeanInit.c | 60 + 24 files changed, 22802 insertions(+), 11725 deletions(-) diff --git a/stage0/src/Init/Lean/Elab/App.lean b/stage0/src/Init/Lean/Elab/App.lean index 5b2a359219..313b603e40 100644 --- a/stage0/src/Init/Lean/Elab/App.lean +++ b/stage0/src/Init/Lean/Elab/App.lean @@ -5,6 +5,7 @@ Authors: Leonardo de Moura -/ prelude import Init.Lean.Elab.Term +import Init.Lean.Elab.Binders namespace Lean namespace Elab @@ -185,11 +186,20 @@ unless (ctx.explicit || ctx.foundExplicit || ctx.typeMVars.isEmpty) $ do isDefEq ctx.ref expectedType eTypeBody; pure () +private def nextArgIsHole (ctx : ElabAppArgsCtx) : Bool := +if h : ctx.argIdx < ctx.args.size then + match ctx.args.get ⟨ctx.argIdx, h⟩ with + | Arg.stx (Syntax.node `Lean.Parser.Term.hole _) => true + | _ => false +else + false + /- Elaborate function application arguments. -/ private partial def elabAppArgsAux : ElabAppArgsCtx → Expr → Expr → TermElabM Expr | ctx, e, eType => do let finalize : Unit → TermElabM Expr := fun _ => do { -- all user explicit arguments have been consumed + trace `Elab.app.finalize ctx.ref $ fun _ => e; match ctx.expectedType? with | none => pure () | some expectedType => do { @@ -226,16 +236,26 @@ private partial def elabAppArgsAux : ElabAppArgsCtx → Expr → Expr → TermEl else throwError ctx.ref ("explicit parameter '" ++ n ++ "' is missing, unused named arguments " ++ toString (ctx.namedArgs.map $ fun narg => narg.name)) }; - if ctx.explicit then - processExplictArg () - else match c.binderInfo with - | BinderInfo.implicit => do - a ← mkFreshExprMVar ctx.ref d; - typeMVars ← condM (isType ctx.ref a) (pure $ ctx.typeMVars.push a.mvarId!) (pure ctx.typeMVars); - elabAppArgsAux { typeMVars := typeMVars, .. ctx } (mkApp e a) (b.instantiate1 a) - | BinderInfo.instImplicit => do - a ← mkFreshExprMVar ctx.ref d MetavarKind.synthetic; - elabAppArgsAux { instMVars := ctx.instMVars.push a.mvarId!, .. ctx } (mkApp e a) (b.instantiate1 a) + match c.binderInfo with + | BinderInfo.implicit => + if ctx.explicit then + processExplictArg () + else do + a ← mkFreshExprMVar ctx.ref d; + typeMVars ← condM (isTypeFormer ctx.ref a) (pure $ ctx.typeMVars.push a.mvarId!) (pure ctx.typeMVars); + elabAppArgsAux { typeMVars := typeMVars, .. ctx } (mkApp e a) (b.instantiate1 a) + + | BinderInfo.instImplicit => + if ctx.explicit && nextArgIsHole ctx then do + /- Recall that if '@' has been used, and the argument is '_', then we still use + type class resolution -/ + a ← mkFreshExprMVar ctx.ref d MetavarKind.synthetic; + elabAppArgsAux { argIdx := ctx.argIdx + 1, instMVars := ctx.instMVars.push a.mvarId!, .. ctx } (mkApp e a) (b.instantiate1 a) + else if ctx.explicit then + processExplictArg () + else do + a ← mkFreshExprMVar ctx.ref d MetavarKind.synthetic; + elabAppArgsAux { instMVars := ctx.instMVars.push a.mvarId!, .. ctx } (mkApp e a) (b.instantiate1 a) | _ => processExplictArg () | _ => @@ -250,6 +270,7 @@ private def elabAppArgs (ref : Syntax) (f : Expr) (namedArgs : Array NamedArg) ( (expectedType? : Option Expr) (explicit : Bool) : TermElabM Expr := do fType ← inferType ref f; fType ← instantiateMVars ref fType; +trace `Elab.app.args ref $ fun _ => "explicit: " ++ toString explicit ++ ", " ++ f ++ " : " ++ fType; tryPostponeIfMVar fType; elabAppArgsAux {ref := ref, args := args, expectedType? := expectedType?, explicit := explicit, namedArgs := namedArgs } f fType @@ -460,8 +481,6 @@ private partial def elabAppFn (ref : Syntax) : Syntax → List LVal → Array Na else if f.getKind == choiceKind then f.getArgs.foldlM (fun acc f => elabAppFn f lvals namedArgs args expectedType? explicit acc) acc else match_syntax f with - | `(@$id:id) => - elabAppFn id lvals namedArgs args expectedType? true acc | `($(e).$idx:fieldIdx) => let idx := idx.isFieldIdx?.get!; elabAppFn (f.getArg 0) (LVal.fieldIdx idx :: lvals) namedArgs args expectedType? explicit acc @@ -474,6 +493,17 @@ private partial def elabAppFn (ref : Syntax) : Syntax → List LVal → Array Na -- Remark: `id.` should already have been expanded us ← if us.isEmpty then pure [] else elabExplicitUniv (us.get! 0); elabAppFnId ref id us lvals namedArgs args expectedType? explicit acc + | `(@($f:fun)) => do + s ← observing $ do { + if lvals.isEmpty && namedArgs.isEmpty && args.isEmpty then + elabFunCore f expectedType? true + else do + f ← elabFunCore f none true; + elabAppLVals ref f lvals namedArgs args expectedType? true + }; + pure $ acc.push s + | `(@$f) => + elabAppFn f lvals namedArgs args expectedType? true acc | _ => do s ← observing $ do { f ← elabTerm f none; @@ -557,6 +587,11 @@ fun stx expectedType? => elabAppAux stx stx #[] #[] expectedType? but it is nice to have a handler for them because it allows `macros` to insert them into terms. -/ @[builtinTermElab ident] def elabRawIdent : TermElab := elabAtom +@[builtinTermElab «fun»] def elabFun : TermElab := +fun stx expectedType? => do + f ← elabFunCore stx expectedType? false; + elabAppArgs stx f #[] #[] none false + @[builtinTermElab sortApp] def elabSortApp : TermElab := fun stx _ => do u ← elabLevel (stx.getArg 1); diff --git a/stage0/src/Init/Lean/Elab/Binders.lean b/stage0/src/Init/Lean/Elab/Binders.lean index 569dc6f4c6..15fd7c7c2d 100644 --- a/stage0/src/Init/Lean/Elab/Binders.lean +++ b/stage0/src/Init/Lean/Elab/Binders.lean @@ -9,6 +9,7 @@ import Init.Lean.Elab.Term namespace Lean namespace Elab namespace Term + /-- Given syntax of the forms a) (`:` term)? @@ -236,19 +237,82 @@ private partial def expandFunBindersAux (binders : Array Syntax) : Syntax → Na We update the `body` syntax when expanding the pattern notation. Example: `fun (a, b) => a + b` expands into `fun _a_1 => match _a_1 with | (a, b) => a + b`. See local function `processAsPattern` at `expandFunBindersAux`. -/ -private def expandFunBinders (binders : Array Syntax) (body : Syntax) : TermElabM (Array Syntax × Syntax) := +def expandFunBinders (binders : Array Syntax) (body : Syntax) : TermElabM (Array Syntax × Syntax) := expandFunBindersAux binders body 0 #[] -@[builtinTermElab «fun»] def elabFun : TermElab := -fun stx expectedType? => do - -- `fun` term+ `=>` term - let binders := (stx.getArg 1).getArgs; - let body := stx.getArg 3; - (binders, body) ← expandFunBinders binders body; - elabBinders binders $ fun xs => do - -- TODO: expected type - e ← elabTerm body none; - mkLambda stx xs e +namespace FunBinders + +structure State := +(implicitArgs : Array Expr := #[]) +(fvars : Array Expr := #[]) +(lctx : LocalContext) +(localInsts : LocalInstances) +(expectedType? : Option Expr := none) +(explicit : Bool := false) + +private def propagateExpectedType (ref : Syntax) (fvar : Expr) (fvarType : Expr) (s : State) : TermElabM State := do +match s.expectedType? with +| none => pure s +| some expectedType => do + expectedType ← whnfForall ref expectedType; + match expectedType with + | Expr.forallE _ d b _ => do + isDefEq ref fvarType d; + let b := b.instantiate1 fvar; + pure { expectedType? := some b, .. s } + | _ => pure { expectedType? := none, .. s } + +private partial def elabFunBinderViews (binderViews : Array BinderView) : Nat → State → TermElabM State +| i, s => + if h : i < binderViews.size then + let binderView := binderViews.get ⟨i, h⟩; + withLCtx s.lctx s.localInsts $ do + type ← elabType binderView.type; + fvarId ← mkFreshFVarId; + let fvar := mkFVar fvarId; + let fvars := s.fvars.push fvar; + -- dbgTrace (toString binderView.id.getId ++ " : " ++ toString type); + let lctx := s.lctx.mkLocalDecl fvarId binderView.id.getId type binderView.bi; + s ← propagateExpectedType binderView.id fvar type s; + className? ← isClass binderView.type type; + match className? with + | none => elabFunBinderViews (i+1) { fvars := fvars, lctx := lctx, .. s } + | some className => do + resetSynthInstanceCache; + let localInsts := s.localInsts.push { className := className, fvar := mkFVar fvarId }; + elabFunBinderViews (i+1) { fvars := fvars, lctx := lctx, localInsts := localInsts, .. s } + else + pure s + +partial def elabFunBindersAux (binders : Array Syntax) : Nat → State → TermElabM State +| i, s => + if h : i < binders.size then do + binderViews ← matchBinder (binders.get ⟨i, h⟩); + s ← elabFunBinderViews binderViews 0 s; + elabFunBindersAux (i+1) s + else + pure s + +end FunBinders + +def elabFunBinders {α} (binders : Array Syntax) (expectedType? : Option Expr) (explicit : Bool) (x : Array Expr → Option Expr → TermElabM α) : TermElabM α := +if binders.isEmpty then x #[] expectedType? +else do + lctx ← getLCtx; + localInsts ← getLocalInsts; + s ← FunBinders.elabFunBindersAux binders 0 { lctx := lctx, localInsts := localInsts, expectedType? := expectedType?, explicit := explicit }; + resettingSynthInstanceCacheWhen (s.localInsts.size > localInsts.size) $ withLCtx s.lctx s.localInsts $ + x s.fvars s.expectedType? + +def elabFunCore (stx : Syntax) (expectedType? : Option Expr) (explicit : Bool) : TermElabM Expr := do +-- `fun` term+ `=>` term +let binders := (stx.getArg 1).getArgs; +let body := stx.getArg 3; +(binders, body) ← expandFunBinders binders body; +elabFunBinders binders expectedType? explicit $ fun xs expectedType? => do { + e ← elabTerm body expectedType?; + mkLambda stx xs e +} /- Recall that diff --git a/stage0/src/Init/Lean/Elab/Definition.lean b/stage0/src/Init/Lean/Elab/Definition.lean index 85298bd714..0f8e4b4be7 100644 --- a/stage0/src/Init/Lean/Elab/Definition.lean +++ b/stage0/src/Init/Lean/Elab/Definition.lean @@ -83,6 +83,7 @@ withUsedWhen ref vars xs e dummyExpr cond k def mkDef (view : DefView) (declName : Name) (explictLevelNames : List Name) (vars : Array Expr) (xs : Array Expr) (type : Expr) (val : Expr) : TermElabM (Option Declaration) := do let ref := view.ref; +Term.synthesizeSyntheticMVars; val ← Term.ensureHasType view.val type val; Term.synthesizeSyntheticMVars false; type ← Term.instantiateMVars ref type; diff --git a/stage0/src/Init/Lean/Elab/Term.lean b/stage0/src/Init/Lean/Elab/Term.lean index a1f5283d60..2355fcd470 100644 --- a/stage0/src/Init/Lean/Elab/Term.lean +++ b/stage0/src/Init/Lean/Elab/Term.lean @@ -264,6 +264,7 @@ fun ctx s => def ppGoal (ref : Syntax) (mvarId : MVarId) : TermElabM Format := liftMetaM ref $ Meta.ppGoal mvarId def isType (ref : Syntax) (e : Expr) : TermElabM Bool := liftMetaM ref $ Meta.isType e +def isTypeFormer (ref : Syntax) (e : Expr) : TermElabM Bool := liftMetaM ref $ Meta.isTypeFormer e def isDefEq (ref : Syntax) (t s : Expr) : TermElabM Bool := liftMetaM ref $ Meta.approxDefEq $ Meta.isDefEq t s def inferType (ref : Syntax) (e : Expr) : TermElabM Expr := liftMetaM ref $ Meta.inferType e def whnf (ref : Syntax) (e : Expr) : TermElabM Expr := liftMetaM ref $ Meta.whnf e @@ -737,30 +738,45 @@ partial def elabTermAux (expectedType? : Option Expr) (catchExPostpone := true) | some elabFns => elabTermUsing s stx expectedType? catchExPostpone elabFns | none => throwError stx ("elaboration function for '" ++ toString k ++ "' has not been implemented") -/-- Return true with `expectedType` is of the form `{a : α} → β` or `[a : α] → β` -/ -def isImplicitForall? (expectedType? : Option Expr) : Option Expr := -match expectedType? with -| some type@(Expr.forallE _ _ _ c) => if c.binderInfo.isExplicit then none else some type -| _ => none +private def isExplicit (stx : Syntax) : Bool := +match_syntax stx with +| `(@$f) => true +| _ => false -/- -WIP -def elabImplicitForallAux (stx : Syntax) (catchExPostpone : Bool) (expectedType : Expr) (fvars : Array Expr) : TermElabM Expr := do +private def isExplicitApp (stx : Syntax) : Bool := +stx.getKind == `Lean.Parser.Term.app && isExplicit (stx.getArg 0) + +/-- + Return true with `expectedType` is of the form `{a : α} → β` or `[a : α] → β`, and + `stx` is not `@f` nor `@f arg1 ...` -/ +def useImplicitLambda? (stx : Syntax) (expectedType? : Option Expr) : TermElabM (Option Expr) := +if isExplicit stx || isExplicitApp stx then pure none +else match expectedType? with + | some expectedType => do + expectedType ← whnfForall stx expectedType; + match expectedType with + | Expr.forallE _ _ _ c => pure $ if c.binderInfo.isExplicit then none else some expectedType + | _ => pure $ none + | _ => pure $ none + +def elabImplicitLambdaAux (stx : Syntax) (catchExPostpone : Bool) (expectedType : Expr) (fvars : Array Expr) : TermElabM Expr := do body ← elabTermAux expectedType catchExPostpone stx; -mkLambda stx fvars body +-- body ← ensureHasType stx expectedType body; +r ← mkLambda stx fvars body; +trace `Elab.implicitForall stx $ fun _ => r; +pure r -def elabImplicitForall (stx : Syntax) (catchExPostpone : Bool) : Expr → Array Expr → TermElabM Expr +partial def elabImplicitLambda (stx : Syntax) (catchExPostpone : Bool) : Expr → Array Expr → TermElabM Expr | type@(Expr.forallE n d b c), fvars => if c.binderInfo.isExplicit then - let type := type.instantiateRev fvars; - elabImplicitForallAux stx catchExPostpone type fvars - else - let d := d.instantiateRev fvars; - withLocalDecl stx n c.binderInfo d $ fun fvar => elabImplicitForall b (fvars.push fvar) + elabImplicitLambdaAux stx catchExPostpone type fvars + else withFreshMacroScope $ do + n ← MonadQuotation.addMacroScope n; + withLocalDecl stx n c.binderInfo d $ fun fvar => do + type ← whnfForall stx (b.instantiate1 fvar); + elabImplicitLambda type (fvars.push fvar) | type, fvars => - let type := type.instantiateRev fvars; - elabImplicitForallAux stx catchExPostpone type fvars --/ + elabImplicitLambdaAux stx catchExPostpone type fvars /-- Main function for elaborating terms. @@ -775,9 +791,10 @@ def elabImplicitForall (stx : Syntax) (catchExPostpone : Bool) : Expr → Array and returned. The option `catchExPostpone == false` is used to implement `resumeElabTerm` to prevent the creation of another synthetic metavariable when resuming the elaboration. -/ -def elabTerm (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) : TermElabM Expr := -match isImplicitForall? expectedType? with -| some expectedType => elabTermAux expectedType? catchExPostpone stx -- elabImplicitForall stx catchExPostpone expectedType #[] +def elabTerm (stx : Syntax) (expectedType? : Option Expr) (catchExPostpone := true) : TermElabM Expr := do +implicit? ← useImplicitLambda? stx expectedType?; +match implicit? with +| some expectedType => elabImplicitLambda stx catchExPostpone expectedType #[] | none => elabTermAux expectedType? catchExPostpone stx /-- Adapt a syntax transformation to a regular, term-producing elaborator. -/ diff --git a/stage0/src/Init/Lean/Meta/ExprDefEq.lean b/stage0/src/Init/Lean/Meta/ExprDefEq.lean index ff682e114b..b370077c8c 100644 --- a/stage0/src/Init/Lean/Meta/ExprDefEq.lean +++ b/stage0/src/Init/Lean/Meta/ExprDefEq.lean @@ -369,26 +369,28 @@ let mvarId := mvar.mvarId!; ctx ← read; mctx ← getMCtx; if mvarId == ctx.mvarId then throw Exception.occursCheck -else match mctx.findDecl? mvarId with - | none => throw $ Exception.unknownExprMVar mvarId - | some mvarDecl => - if ctx.hasCtxLocals then - throw $ Exception.useFOApprox -- It is not a pattern, then we fail and fall back to FO unification - else if mvarDecl.lctx.isSubPrefixOf ctx.mvarDecl.lctx ctx.fvars then - /- The local context of `mvar` - free variables being abstracted is a subprefix of the metavariable being assigned. - We "substract" variables being abstracted because we use `elimMVarDeps` -/ - pure mvar - else if mvarDecl.depth != mctx.depth || mvarDecl.kind.isSyntheticOpaque then throw $ Exception.readOnlyMVarWithBiggerLCtx mvarId - else if ctx.config.ctxApprox && ctx.mvarDecl.lctx.isSubPrefixOf mvarDecl.lctx then do - mvarType ← check mvarDecl.type; - /- Create an auxiliary metavariable with a smaller context and "checked" type. - Note that `mvarType` may be different from `mvarDecl.type`. Example: `mvarType` contains - a metavariable that we also need to reduce the context. -/ - newMVar ← mkAuxMVar ctx.mvarDecl.lctx ctx.mvarDecl.localInstances mvarType; - modify $ fun s => { mctx := s.mctx.assignExpr mvarId newMVar, .. s }; - pure newMVar - else - pure mvar +else match mctx.getExprAssignment? mvarId with + | some v => check v + | none => match mctx.findDecl? mvarId with + | none => throw $ Exception.unknownExprMVar mvarId + | some mvarDecl => + if ctx.hasCtxLocals then + throw $ Exception.useFOApprox -- It is not a pattern, then we fail and fall back to FO unification + else if mvarDecl.lctx.isSubPrefixOf ctx.mvarDecl.lctx ctx.fvars then + /- The local context of `mvar` - free variables being abstracted is a subprefix of the metavariable being assigned. + We "substract" variables being abstracted because we use `elimMVarDeps` -/ + pure mvar + else if mvarDecl.depth != mctx.depth || mvarDecl.kind.isSyntheticOpaque then throw $ Exception.readOnlyMVarWithBiggerLCtx mvarId + else if ctx.config.ctxApprox && ctx.mvarDecl.lctx.isSubPrefixOf mvarDecl.lctx then do + mvarType ← check mvarDecl.type; + /- Create an auxiliary metavariable with a smaller context and "checked" type. + Note that `mvarType` may be different from `mvarDecl.type`. Example: `mvarType` contains + a metavariable that we also need to reduce the context. -/ + newMVar ← mkAuxMVar ctx.mvarDecl.lctx ctx.mvarDecl.localInstances mvarType; + modify $ fun s => { mctx := s.mctx.assignExpr mvarId newMVar, .. s }; + pure newMVar + else + pure mvar /- Auxiliary function used to "fix" subterms of the form `?m x_1 ... x_n` where `x_i`s are free variables, @@ -426,15 +428,16 @@ partial def check : Expr → CheckAssignmentM Expr args ← args.mapM (visit check); pure $ mkAppN f args) (fun ex => match ex with - | Exception.outOfScopeFVar _ => do - eType ← liftMetaM $ inferType e; - mvarType ← check eType; - /- Create an auxiliary metavariable with a smaller context and "checked" type, assign `?f := fun _ => ?newMVar` - Note that `mvarType` may be different from `eType`. -/ - newMVar ← mkAuxMVar ctx.mvarDecl.lctx ctx.mvarDecl.localInstances mvarType; - condM (liftMetaM $ assignToConstFun f args.size newMVar) - (pure newMVar) - (throw ex) + | Exception.outOfScopeFVar _ => + condM (liftMetaM $ isDelayedAssigned f.mvarId!) (throw ex) $ do + eType ← liftMetaM $ inferType e; + mvarType ← check eType; + /- Create an auxiliary metavariable with a smaller context and "checked" type, assign `?f := fun _ => ?newMVar` + Note that `mvarType` may be different from `eType`. -/ + newMVar ← mkAuxMVar ctx.mvarDecl.lctx ctx.mvarDecl.localInstances mvarType; + condM (liftMetaM $ assignToConstFun f args.size newMVar) + (pure newMVar) + (throw ex) | _ => throw ex) else do f ← visit check f; @@ -540,66 +543,10 @@ else do v ← instantiateMVars v; checkAssignmentAux mvarId mvarDecl fvars hasCtxLocals v -/- - We try to unify arguments before we try to unify the functions. - The motivation is the following: the universe constraints in - the arguments propagate to the function. -/ -private partial def isDefEqFOApprox (f₁ f₂ : Expr) (args₁ args₂ : Array Expr) : Nat → Nat → MetaM Bool -| i₁, i₂ => - if h : i₂ < args₂.size then - let arg₁ := args₁.get! i₁; - let arg₂ := args₂.get ⟨i₂, h⟩; - condM (isExprDefEqAux arg₁ arg₂) - (isDefEqFOApprox (i₁+1) (i₂+1)) - (pure false) - else - isExprDefEqAux f₁ f₂ - private def processAssignmentFOApproxAux (mvar : Expr) (args : Array Expr) (v : Expr) : MetaM Bool := -let vArgs := v.getAppArgs; -if vArgs.isEmpty then - /- ?m a_1 ... a_k =?= t, where t is not an application -/ - pure false -else if args.size > vArgs.size then - /- - ?m a_1 ... a_i a_{i+1} ... a_{i+k} =?= f b_1 ... b_k - - reduces to - - ?m a_1 ... a_i =?= f - a_{i+1} =?= b_1 - ... - a_{i+k} =?= b_k - -/ - let f₁ := mkAppRange mvar 0 (args.size - vArgs.size) args; - let i₁ := args.size - vArgs.size; - isDefEqFOApprox f₁ v.getAppFn args vArgs i₁ 0 -else if args.size < vArgs.size then - /- - ?m a_1 ... a_k =?= f b_1 ... b_i b_{i+1} ... b_{i+k} - - reduces to - - ?m =?= f b_1 ... b_i - a_1 =?= b_{i+1} - ... - a_k =?= b_{i+k} - -/ - let vFn := mkAppRange v.getAppFn 0 (vArgs.size - args.size) vArgs; - let i₂ := vArgs.size - args.size; - isDefEqFOApprox mvar vFn args vArgs 0 i₂ -else - /- - ?m a_1 ... a_k =?= f b_1 ... b_k - - reduces to - - ?m =?= f - a_1 =?= b_1 - ... - a_k =?= b_k - -/ - isDefEqFOApprox mvar v.getAppFn args vArgs 0 0 +match v with +| Expr.app f a _ => isExprDefEqAux args.back a <&&> isExprDefEqAux (mkAppRange mvar 0 (args.size - 1) args) f +| _ => pure false /- Auxiliary method for applying first-order unification. It is an approximation. @@ -1033,7 +980,7 @@ pure false /- Remove unnecessary let-decls -/ private def consumeLet : Expr → Expr -| e@(Expr.letE _ _ _ b _) => if b.hasLooseBVars then b else consumeLet b +| e@(Expr.letE _ _ _ b _) => if b.hasLooseBVars then e else consumeLet b | e => e partial def isExprDefEqAuxImpl : Expr → Expr → MetaM Bool diff --git a/stage0/src/Init/Lean/Parser/Command.lean b/stage0/src/Init/Lean/Parser/Command.lean index 9ff4656676..3b7609c447 100644 --- a/stage0/src/Init/Lean/Parser/Command.lean +++ b/stage0/src/Init/Lean/Parser/Command.lean @@ -81,6 +81,7 @@ declModifiers >> («abbrev» <|> «def» <|> «theorem» <|> «constant» <|> « @[builtinCommandParser] def «universe» := parser! "universe " >> ident @[builtinCommandParser] def «universes» := parser! "universes " >> many1 ident @[builtinCommandParser] def check := parser! "#check " >> termParser +@[builtinCommandParser] def check_failure := parser! "#check_failure " >> termParser -- Like `#check`, but succeeds only if term does not type check @[builtinCommandParser] def synth := parser! "#synth " >> termParser @[builtinCommandParser] def exit := parser! "#exit" @[builtinCommandParser] def «resolve_name» := parser! "#resolve_name " >> ident diff --git a/stage0/src/Init/LeanInit.lean b/stage0/src/Init/LeanInit.lean index 7d3f728069..bab24e0fee 100644 --- a/stage0/src/Init/LeanInit.lean +++ b/stage0/src/Init/LeanInit.lean @@ -359,6 +359,11 @@ if n.hasMacroScopes then else mkNameNum (mkNameStr (mkNameStr n "_@" ++ mainModule) "_hyg") scp +@[inline] def MonadQuotation.addMacroScope {m : Type → Type} [MonadQuotation m] [Monad m] (n : Name) : m Name := do +mainModule ← getMainModule; +scp ← getCurrMacroScope; +pure $ addMacroScope mainModule n scp + namespace Macro structure Context := diff --git a/stage0/stdlib/Init/Lean/Elab/App.c b/stage0/stdlib/Init/Lean/Elab/App.c index 630eac4b93..9974c79ace 100644 --- a/stage0/stdlib/Init/Lean/Elab/App.c +++ b/stage0/stdlib/Init/Lean/Elab/App.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Lean.Elab.App -// Imports: Init.Lean.Elab.Term +// Imports: Init.Lean.Elab.Term Init.Lean.Elab.Binders #include "runtime/lean.h" #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,18 +13,16 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l___private_Init_Lean_Elab_App_25__mergeFailures(lean_object*); lean_object* l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__7; lean_object* l_Lean_FindMVar_main___main___at___private_Init_Lean_Elab_App_8__hasOnlyTypeMVar___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg___closed__5; lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; -lean_object* l___private_Init_Lean_Elab_App_14__resolveLValLoop___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_fieldIdxKind; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_6__getForallBody___main___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_14__resolveLValLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_26__expandApp___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChoice___closed__3; extern lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__2; @@ -32,114 +30,125 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawIdent___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawIdent___closed__1; lean_object* l_Lean_mkSort(lean_object*); lean_object* l_Lean_Elab_Term_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2; -lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__8; lean_object* l_unreachable_x21___rarg(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__4; +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__5; +uint8_t l___private_Init_Lean_Elab_App_10__nextArgIsHole(lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabExplicitUniv___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_fieldIdxKind___closed__2; extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__2; lean_object* l_Lean_Elab_Term_inferType(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FindMVar_main___main___at___private_Init_Lean_Elab_App_7__hasTypeMVar___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__12; +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1; +lean_object* l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__1; +lean_object* l___private_Init_Lean_Elab_App_17__mkBaseProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_26__expandApp(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__1(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__1; extern lean_object* l_Option_get_x21___rarg___closed__3; +lean_object* l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__2; +lean_object* l_Lean_Elab_Term_elabFun(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__2; -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_identKind___closed__2; +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2; extern lean_object* l_Prod_HasRepr___rarg___closed__1; lean_object* l_Array_contains___at___private_Init_Lean_Elab_App_7__hasTypeMVar___spec__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_12__throwLValError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_27__expandApp(lean_object*, lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_mkCollisionNode___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__20; -lean_object* l___private_Init_Lean_Elab_App_26__expandApp___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProj___closed__3; +lean_object* l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_27__expandApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__2(lean_object*, lean_object*); +lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_18__addLValArg___main___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__2; +uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__10; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__16; +lean_object* l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__3; lean_object* l_List_append___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__20; lean_object* l_Lean_Elab_Term_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_17__addLValArg___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__10; -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1___closed__1; -lean_object* l___private_Init_Lean_Elab_App_14__resolveLValLoop___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__7; +lean_object* l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__1; extern lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__1; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawIdent(lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l_Lean_FindMVar_main___main___at___private_Init_Lean_Elab_App_8__hasOnlyTypeMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_23__toMessageData___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_NamedArg_hasToString(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_6__getForallBody___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_19__elabAppLVals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_23__toMessageData___closed__1; -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__11; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__10; lean_object* l_Lean_Expr_getOptParamDefault_x3f(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_25__elabAppAux___closed__3; lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l_PersistentArray_push___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_isTypeFormer(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__7; lean_object* l_Lean_Elab_Term_synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_19__elabAppLVals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__4; +lean_object* l___private_Init_Lean_Elab_App_20__elabAppLVals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__2; lean_object* l_Lean_Elab_Term_addNamedArg___closed__6; -lean_object* l___private_Init_Lean_Elab_App_23__toMessageData___closed__2; +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1___closed__1; +lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_App_15__resolveLValLoop___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__2; +lean_object* l___private_Init_Lean_Elab_App_21__elabAppFnId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_25__mergeFailures___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_NamedArg_inhabited; -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__3; -lean_object* l___private_Init_Lean_Elab_App_20__elabAppFnId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__8; -lean_object* l___private_Init_Lean_Elab_App_15__resolveLVal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawIdent___closed__3; extern lean_object* l_Lean_mkAppStx___closed__7; lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_16__resolveLVal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_5__isAutoOrOptParam___boxed(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_16__resolveLVal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__10; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__3; -lean_object* l___private_Init_Lean_Elab_App_12__throwLValError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__5; +lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_18__addLValArg___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOptions(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_9__propagateExpectedType(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Meta_Tactic_Apply_5__reorderNonDependentFirst___closed__1; extern lean_object* l_Lean_mkTermIdFromIdent___closed__2; extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; +extern uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_15__resolveLValLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_13__throwLValError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__1; +extern lean_object* l_Lean_Format_repr___main___closed__13; extern lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__9; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_26__expandApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__1; +lean_object* l___private_Init_Lean_Elab_App_22__elabAppFn___main___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_Array_HasRepr___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__17; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__1; -extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3; lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Lean_Elab_App_7__hasTypeMVar(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__2; extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__17; +lean_object* l___private_Init_Lean_Elab_App_13__throwLValError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayRef(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__8; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__3; -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__8; +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_20__elabAppLVals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChoice___closed__2; -lean_object* l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_23__toMessageData___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevel(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabExplicit(lean_object*, lean_object*, lean_object*, lean_object*); @@ -147,246 +156,272 @@ lean_object* l_Lean_Elab_Term_getCurrNamespace(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); extern lean_object* l_Lean_choiceKind___closed__2; extern lean_object* l_Lean_MessageData_Inhabited; -lean_object* l_Array_filterAux___main___at___private_Init_Lean_Elab_App_22__getSuccess___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__5; lean_object* l_Lean_Elab_Term_elabId(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_15__resolveLVal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__26; -lean_object* l_Lean_Elab_Term_isType(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__1; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___elambda__1___closed__2; +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_27__expandApp___spec__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__26; uint8_t l___private_Init_Lean_Elab_App_5__isAutoOrOptParam(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChoice___closed__1; lean_object* l___private_Init_Lean_Elab_App_7__hasTypeMVar___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg___closed__3; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_15__resolveLValLoop___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_27__expandApp___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__12; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__2; -lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__2; -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_26__expandApp___spec__2(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_NamedArg_inhabited___closed__1; lean_object* l_Lean_Elab_Term_elabExplicitUniv___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__12; -lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Arg_hasToString(lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__3; +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__19; uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_26__expandApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__11; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__19; +lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__7; +lean_object* l___private_Init_Lean_Elab_App_26__elabAppAux___closed__1; +lean_object* l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_24__toMessageData___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; -lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__1; -lean_object* l_List_map___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__1(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__12; +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg(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_Parser_Term_fun___elambda__1___closed__2; +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_6__getForallBody(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAtom(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__6; lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_26__elabAppAux___closed__2; +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__1; +lean_object* l_Array_filterAux___main___at___private_Init_Lean_Elab_App_23__getSuccess___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__11; +lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_App_15__resolveLValLoop___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Exception_toTraceMessageData___closed__4; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__2; +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__1; extern lean_object* l_Lean_Options_empty; lean_object* lean_expr_dbg_to_string(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__23; +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabApp(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; lean_object* l_Lean_getPathToBaseStructure_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeAppInstMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_coeDecidableEq(uint8_t); -lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__23; lean_object* l___private_Init_Lean_Elab_App_1__ensureArgType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Lean_Elab_App_8__hasOnlyTypeMVar(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__elabAppAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_27__regTraceClasses(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__1; lean_object* l_Lean_LocalDecl_toExpr(lean_object*); lean_object* l_Lean_Elab_Term_elabChoice(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_21__elabAppFn___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabApp(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__2; -lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_28__regTraceClasses(lean_object*); +lean_object* l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__1(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_22__elabAppFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_formatEntry___closed__1; -lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_App_14__resolveLValLoop___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; extern lean_object* l_Lean_Elab_Term_TermElabResult_inhabited; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l_Lean_Elab_Term_TermElabM_inhabited___boxed(lean_object*, lean_object*); uint8_t l_Array_contains___at___private_Init_Lean_Elab_App_7__hasTypeMVar___spec__1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__8; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabExplicit___closed__1; -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__6; extern lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_App_7__hasTypeMVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_23__toMessageData___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_replacePrefix___main(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_27__expandApp___spec__2(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_26__elabAppAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_20__elabAppFnId___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_Elab_App_17__addLValArg___main___closed__10; -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Term_elabProj(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_25__elabAppAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__4; lean_object* l_Lean_MessageData_ofArray(lean_object*); lean_object* l___private_Init_Lean_Elab_App_3__mkArrow(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_App_14__resolveLValLoop___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__25; +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_24__toMessageData___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabExplicit___closed__2; -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__6; +extern lean_object* l_Lean_mkAppStx___closed__3; +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__4; lean_object* l___private_Init_Lean_Elab_App_2__elabArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_6__getForallBody___main(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_21__elabAppFn___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabExplicit(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__2; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__27; extern lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__8; uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_addNamedArg___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId(lean_object*); extern lean_object* l_Lean_Syntax_inhabited; -lean_object* l___private_Init_Lean_Elab_App_22__getSuccess(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__4; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__2; +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__7; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__2; -lean_object* l___private_Init_Lean_Elab_App_25__elabAppAux___closed__2; +extern lean_object* l_Lean_mkAppStx___closed__5; uint8_t l_Lean_BinderInfo_beq(uint8_t, uint8_t); lean_object* l_Lean_FindMVar_main___main___at___private_Init_Lean_Elab_App_7__hasTypeMVar___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSortApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProj___closed__1; -lean_object* l___private_Init_Lean_Elab_App_25__elabAppAux___closed__1; +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__2; +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; lean_object* l_Lean_mkLevelSucc(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__9; lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSortApp(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__9; lean_object* l_Lean_mkApp(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__27; uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabExplicit___closed__3; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProj___closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_27__regTraceClasses___closed__1; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_10__nextArgIsHole___boxed(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__1; uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Lean_Elab_Term_registerSyntheticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__9; lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__5; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__13; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__3; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChoice(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__5; lean_object* l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__5; lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_throwError___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__13; -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__3; -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_whnfCore(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef(lean_object*); extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2; -lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__3; -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__1; +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_26__elabAppAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Elab_Term_elabExplicitUniv(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__2; -lean_object* l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__3; +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__7; +lean_object* l___private_Init_Lean_Elab_App_23__getSuccess(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__8; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__18; lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_16__mkBaseProjections(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__3; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__15; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__3; +lean_object* l___private_Init_Lean_Elab_App_24__toMessageData___closed__2; lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__9; -lean_object* l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__2; -lean_object* l___private_Init_Lean_Elab_App_16__mkBaseProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__15; -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__18; -lean_object* l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__1; lean_object* l_Lean_Elab_Term_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__5; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__3; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__28; +lean_object* l___private_Init_Lean_Elab_App_15__resolveLValLoop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_4__tryCoeFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__9; lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_addNamedArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_consumeMData___main(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_23__toMessageData(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_24__toMessageData(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg___closed__1; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__5; lean_object* l_Array_toList___rarg(lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__8; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__2; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__2; lean_object* l_Lean_Elab_Term_Arg_inhabited___closed__1; lean_object* l_Lean_Elab_Term_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; -lean_object* l___private_Init_Lean_Elab_App_14__resolveLValLoop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_MessageData_arrayExpr_toMessageData___main___closed__2; +lean_object* l___private_Init_Lean_Elab_App_22__elabAppFn___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_24__toMessageData___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__1; -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__7; -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__6; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_26__expandApp___spec__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__16; +lean_object* l___private_Init_Lean_Elab_App_27__expandApp___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_24__toMessageData___closed__1; +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__1; +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2; lean_object* l_Lean_Elab_Term_addNamedArg___closed__2; +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Exception_toStr___closed__6; lean_object* l___private_Init_Lean_Elab_App_8__hasOnlyTypeMVar___boxed(lean_object*, lean_object*); uint8_t l_Lean_Position_DecidableEq(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__7; +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__11; uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_App_7__hasTypeMVar___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; +lean_object* l___private_Init_Lean_Elab_App_15__resolveLValLoop___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_17__mkBaseProjections(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProj(lean_object*); lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Nat_Inhabited; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_26__elabAppAux___closed__3; lean_object* l_Lean_Elab_Term_applyResult(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; lean_object* l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__2; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__6; +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__3; lean_object* l_Lean_Elab_Term_elabRawIdent(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_4__tryCoeFun___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_21__elabAppFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_17__addLValArg___main___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_12__throwLValError(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_13__throwLValError(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__3; uint8_t l_Lean_isStructureLike(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__22; +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__11; lean_object* l_Lean_indentExpr(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__1; -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__4; lean_object* l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp(lean_object*); -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__3; +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__25; +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__1; +extern lean_object* l_Lean_Format_repr___main___closed__16; lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__14; lean_object* l_Lean_Elab_Term_ensureHasTypeAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__28; +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findField_x3f___main(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_App_21__elabAppFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_sortApp___elambda__1___closed__2; +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__6; +lean_object* l___private_Init_Lean_Elab_App_22__elabAppFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_components(lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__22; +extern lean_object* l_Lean_mkAppStx___closed__1; +lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabExplicitUniv___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg___closed__4; -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabFunCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_21__elabAppFnId___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___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__3; uint8_t l_Lean_isStructure(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_27__expandApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_3__mkArrow___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__14; +uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Arg_inhabited; lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1___boxed(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_Elab_App_18__addLValArg___main___closed__6; uint8_t l_Lean_Syntax_isIdent(lean_object*); +lean_object* l_List_map___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__1(lean_object*); lean_object* _init_l_Lean_Elab_Term_Arg_inhabited___closed__1() { _start: { @@ -868,7 +903,7 @@ x_8 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_8, 0, x_4); x_9 = 1; lean_inc(x_5); -x_10 = l_Lean_Elab_Term_elabTermAux___main(x_8, x_9, x_7, x_5, x_6); +x_10 = l_Lean_Elab_Term_elabTerm(x_7, x_8, x_9, x_5, x_6); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -2559,7 +2594,212 @@ return x_48; } } } -lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l___private_Init_Lean_Elab_App_10__nextArgIsHole(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 3); +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = lean_nat_dec_lt(x_2, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_array_fget(x_3, x_2); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 1) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +if (lean_obj_tag(x_9) == 1) +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 1) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 1) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 1) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_dec(x_9); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_dec(x_10); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = l_Lean_mkAppStx___closed__1; +x_19 = lean_string_dec_eq(x_17, x_18); +lean_dec(x_17); +if (x_19 == 0) +{ +uint8_t x_20; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +x_20 = 0; +return x_20; +} +else +{ +lean_object* x_21; uint8_t x_22; +x_21 = l_Lean_mkAppStx___closed__3; +x_22 = lean_string_dec_eq(x_16, x_21); +lean_dec(x_16); +if (x_22 == 0) +{ +uint8_t x_23; +lean_dec(x_15); +lean_dec(x_14); +x_23 = 0; +return x_23; +} +else +{ +lean_object* x_24; uint8_t x_25; +x_24 = l_Lean_mkAppStx___closed__5; +x_25 = lean_string_dec_eq(x_15, x_24); +lean_dec(x_15); +if (x_25 == 0) +{ +uint8_t x_26; +lean_dec(x_14); +x_26 = 0; +return x_26; +} +else +{ +lean_object* x_27; uint8_t x_28; +x_27 = l_Lean_mkHole___closed__1; +x_28 = lean_string_dec_eq(x_14, x_27); +lean_dec(x_14); +if (x_28 == 0) +{ +uint8_t x_29; +x_29 = 0; +return x_29; +} +else +{ +uint8_t x_30; +x_30 = 1; +return x_30; +} +} +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_31 = 0; +return x_31; +} +} +else +{ +uint8_t x_32; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_32 = 0; +return x_32; +} +} +else +{ +uint8_t x_33; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_33 = 0; +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_10); +lean_dec(x_9); +x_34 = 0; +return x_34; +} +} +else +{ +uint8_t x_35; +lean_dec(x_9); +x_35 = 0; +return x_35; +} +} +else +{ +uint8_t x_36; +lean_dec(x_8); +x_36 = 0; +return x_36; +} +} +else +{ +uint8_t x_37; +lean_dec(x_7); +x_37 = 0; +return x_37; +} +} +} +} +lean_object* l___private_Init_Lean_Elab_App_10__nextArgIsHole___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Init_Lean_Elab_App_10__nextArgIsHole(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2601,7 +2841,7 @@ return x_13; } } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -2637,7 +2877,35 @@ goto _start; } } } -lean_object* _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; +x_2 = l_Lean_mkAppStx___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("finalize"); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__1; +x_2 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__4() { _start: { lean_object* x_1; @@ -2645,27 +2913,27 @@ x_1 = lean_mk_string("explicit parameter '"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__1; +x_1 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__2; +x_1 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__7() { _start: { lean_object* x_1; @@ -2673,27 +2941,27 @@ x_1 = lean_mk_string("' is missing, unused named arguments "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__4; +x_1 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__5; +x_1 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; @@ -2726,378 +2994,52 @@ lean_inc(x_17); lean_dec(x_15); if (lean_obj_tag(x_16) == 7) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; uint64_t x_83; lean_object* x_84; lean_object* x_85; -x_80 = lean_ctor_get(x_16, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_16, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_16, 2); -lean_inc(x_82); -x_83 = lean_ctor_get_uint64(x_16, sizeof(void*)*3); -x_84 = lean_unsigned_to_nat(0u); -x_85 = l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__1(x_80, x_11, x_84); -if (lean_obj_tag(x_85) == 0) +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint64_t x_93; lean_object* x_94; lean_object* x_95; +x_90 = lean_ctor_get(x_16, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_16, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_16, 2); +lean_inc(x_92); +x_93 = lean_ctor_get_uint64(x_16, sizeof(void*)*3); +x_94 = lean_unsigned_to_nat(0u); +x_95 = l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__1(x_90, x_11, x_94); +if (lean_obj_tag(x_95) == 0) { -if (x_9 == 0) +uint8_t x_96; +x_96 = (uint8_t)((x_93 << 24) >> 61); +switch (x_96) { +case 0: { -uint8_t x_86; lean_object* x_87; -x_86 = (uint8_t)((x_83 << 24) >> 61); -x_87 = lean_box(x_86); -switch (lean_obj_tag(x_87)) { -case 1: -{ -uint8_t x_88; -lean_dec(x_80); -lean_dec(x_16); -lean_dec(x_3); -x_88 = !lean_is_exclusive(x_1); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_89 = lean_ctor_get(x_1, 6); -lean_dec(x_89); -x_90 = lean_ctor_get(x_1, 5); -lean_dec(x_90); -x_91 = lean_ctor_get(x_1, 4); -lean_dec(x_91); -x_92 = lean_ctor_get(x_1, 3); -lean_dec(x_92); -x_93 = lean_ctor_get(x_1, 2); -lean_dec(x_93); -x_94 = lean_ctor_get(x_1, 1); -lean_dec(x_94); -x_95 = lean_ctor_get(x_1, 0); -lean_dec(x_95); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_81); -x_97 = 0; -x_98 = lean_box(0); -lean_inc(x_4); -x_99 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_96, x_97, x_98, x_4, x_17); -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); -lean_inc(x_4); -lean_inc(x_100); -x_102 = l_Lean_Elab_Term_isType(x_6, x_100, x_4, x_101); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; uint8_t x_104; -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; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_dec(x_102); -lean_inc(x_100); -x_106 = l_Lean_mkApp(x_2, x_100); -x_107 = lean_expr_instantiate1(x_82, x_100); -lean_dec(x_100); -lean_dec(x_82); -x_2 = x_106; -x_3 = x_107; -x_5 = x_105; -goto _start; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_109 = lean_ctor_get(x_102, 1); -lean_inc(x_109); -lean_dec(x_102); -x_110 = l_Lean_Expr_mvarId_x21(x_100); -x_111 = lean_array_push(x_13, x_110); -lean_ctor_set(x_1, 6, x_111); -lean_inc(x_100); -x_112 = l_Lean_mkApp(x_2, x_100); -x_113 = lean_expr_instantiate1(x_82, x_100); -lean_dec(x_100); -lean_dec(x_82); -x_2 = x_112; -x_3 = x_113; -x_5 = x_109; -goto _start; -} -} -else -{ -uint8_t x_115; -lean_dec(x_100); -lean_free_object(x_1); -lean_dec(x_82); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_115 = !lean_is_exclusive(x_102); -if (x_115 == 0) -{ -return x_102; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_102, 0); -x_117 = lean_ctor_get(x_102, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_102); -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 -{ -lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -lean_dec(x_1); -x_119 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_119, 0, x_81); -x_120 = 0; -x_121 = lean_box(0); -lean_inc(x_4); -x_122 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_119, x_120, x_121, x_4, x_17); -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -lean_inc(x_4); -lean_inc(x_123); -x_125 = l_Lean_Elab_Term_isType(x_6, x_123, x_4, x_124); -if (lean_obj_tag(x_125) == 0) -{ -lean_object* x_126; uint8_t x_127; -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_unbox(x_126); -lean_dec(x_126); -if (x_127 == 0) -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_128 = lean_ctor_get(x_125, 1); -lean_inc(x_128); -lean_dec(x_125); -x_129 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_129, 0, x_6); -lean_ctor_set(x_129, 1, x_7); -lean_ctor_set(x_129, 2, x_8); -lean_ctor_set(x_129, 3, x_10); -lean_ctor_set(x_129, 4, x_11); -lean_ctor_set(x_129, 5, x_12); -lean_ctor_set(x_129, 6, x_13); -lean_ctor_set_uint8(x_129, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_129, sizeof(void*)*7 + 1, x_14); -lean_inc(x_123); -x_130 = l_Lean_mkApp(x_2, x_123); -x_131 = lean_expr_instantiate1(x_82, x_123); -lean_dec(x_123); -lean_dec(x_82); -x_1 = x_129; -x_2 = x_130; -x_3 = x_131; -x_5 = x_128; -goto _start; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_133 = lean_ctor_get(x_125, 1); -lean_inc(x_133); -lean_dec(x_125); -x_134 = l_Lean_Expr_mvarId_x21(x_123); -x_135 = lean_array_push(x_13, x_134); -x_136 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_136, 0, x_6); -lean_ctor_set(x_136, 1, x_7); -lean_ctor_set(x_136, 2, x_8); -lean_ctor_set(x_136, 3, x_10); -lean_ctor_set(x_136, 4, x_11); -lean_ctor_set(x_136, 5, x_12); -lean_ctor_set(x_136, 6, x_135); -lean_ctor_set_uint8(x_136, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_136, sizeof(void*)*7 + 1, x_14); -lean_inc(x_123); -x_137 = l_Lean_mkApp(x_2, x_123); -x_138 = lean_expr_instantiate1(x_82, x_123); -lean_dec(x_123); -lean_dec(x_82); -x_1 = x_136; -x_2 = x_137; -x_3 = x_138; -x_5 = x_133; -goto _start; -} -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_123); -lean_dec(x_82); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_140 = lean_ctor_get(x_125, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_125, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_125)) { - lean_ctor_release(x_125, 0); - lean_ctor_release(x_125, 1); - x_142 = x_125; -} else { - lean_dec_ref(x_125); - x_142 = lean_box(0); -} -if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); -} else { - x_143 = x_142; -} -lean_ctor_set(x_143, 0, x_140); -lean_ctor_set(x_143, 1, x_141); -return x_143; -} -} -} -case 3: -{ -uint8_t x_144; -lean_dec(x_80); -lean_dec(x_16); -lean_dec(x_3); -x_144 = !lean_is_exclusive(x_1); -if (x_144 == 0) -{ -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; uint8_t 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; -x_145 = lean_ctor_get(x_1, 6); -lean_dec(x_145); -x_146 = lean_ctor_get(x_1, 5); -lean_dec(x_146); -x_147 = lean_ctor_get(x_1, 4); -lean_dec(x_147); -x_148 = lean_ctor_get(x_1, 3); -lean_dec(x_148); -x_149 = lean_ctor_get(x_1, 2); -lean_dec(x_149); -x_150 = lean_ctor_get(x_1, 1); -lean_dec(x_150); -x_151 = lean_ctor_get(x_1, 0); -lean_dec(x_151); -x_152 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_152, 0, x_81); -x_153 = 1; -x_154 = lean_box(0); -lean_inc(x_4); -x_155 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_152, x_153, x_154, x_4, x_17); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = l_Lean_Expr_mvarId_x21(x_156); -x_159 = lean_array_push(x_12, x_158); -lean_ctor_set(x_1, 5, x_159); -lean_inc(x_156); -x_160 = l_Lean_mkApp(x_2, x_156); -x_161 = lean_expr_instantiate1(x_82, x_156); -lean_dec(x_156); -lean_dec(x_82); -x_2 = x_160; -x_3 = x_161; -x_5 = x_157; -goto _start; -} -else -{ -lean_object* x_163; uint8_t 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_dec(x_1); -x_163 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_163, 0, x_81); -x_164 = 1; -x_165 = lean_box(0); -lean_inc(x_4); -x_166 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_163, x_164, x_165, x_4, x_17); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -x_169 = l_Lean_Expr_mvarId_x21(x_167); -x_170 = lean_array_push(x_12, x_169); -x_171 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_171, 0, x_6); -lean_ctor_set(x_171, 1, x_7); -lean_ctor_set(x_171, 2, x_8); -lean_ctor_set(x_171, 3, x_10); -lean_ctor_set(x_171, 4, x_11); -lean_ctor_set(x_171, 5, x_170); -lean_ctor_set(x_171, 6, x_13); -lean_ctor_set_uint8(x_171, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_171, sizeof(void*)*7 + 1, x_14); -lean_inc(x_167); -x_172 = l_Lean_mkApp(x_2, x_167); -x_173 = lean_expr_instantiate1(x_82, x_167); -lean_dec(x_167); -lean_dec(x_82); -x_1 = x_171; -x_2 = x_172; -x_3 = x_173; -x_5 = x_168; -goto _start; -} -} -default: -{ -lean_object* x_175; uint8_t x_176; -lean_dec(x_87); +lean_object* x_97; uint8_t x_98; lean_inc(x_4); lean_inc(x_1); -x_175 = l___private_Init_Lean_Elab_App_9__propagateExpectedType(x_1, x_16, x_4, x_17); -x_176 = !lean_is_exclusive(x_1); -if (x_176 == 0) +x_97 = l___private_Init_Lean_Elab_App_9__propagateExpectedType(x_1, x_16, x_4, x_17); +x_98 = !lean_is_exclusive(x_1); +if (x_98 == 0) { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_177 = lean_ctor_get(x_1, 6); -lean_dec(x_177); -x_178 = lean_ctor_get(x_1, 5); -lean_dec(x_178); -x_179 = lean_ctor_get(x_1, 4); -lean_dec(x_179); -x_180 = lean_ctor_get(x_1, 3); -lean_dec(x_180); -x_181 = lean_ctor_get(x_1, 2); -lean_dec(x_181); -x_182 = lean_ctor_get(x_1, 1); -lean_dec(x_182); -x_183 = lean_ctor_get(x_1, 0); -lean_dec(x_183); -if (lean_obj_tag(x_175) == 0) +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_99 = lean_ctor_get(x_1, 6); +lean_dec(x_99); +x_100 = lean_ctor_get(x_1, 5); +lean_dec(x_100); +x_101 = lean_ctor_get(x_1, 4); +lean_dec(x_101); +x_102 = lean_ctor_get(x_1, 3); +lean_dec(x_102); +x_103 = lean_ctor_get(x_1, 2); +lean_dec(x_103); +x_104 = lean_ctor_get(x_1, 1); +lean_dec(x_104); +x_105 = lean_ctor_get(x_1, 0); +lean_dec(x_105); +if (lean_obj_tag(x_97) == 0) { -lean_object* x_184; uint8_t x_185; lean_object* x_186; uint8_t x_187; -x_184 = lean_ctor_get(x_175, 1); -lean_inc(x_184); -lean_dec(x_175); -x_185 = 1; +lean_object* x_106; uint8_t x_107; lean_object* x_108; uint8_t x_109; +x_106 = lean_ctor_get(x_97, 1); +lean_inc(x_106); +lean_dec(x_97); +x_107 = 1; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -3105,201 +3047,560 @@ lean_inc(x_10); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_185); -x_186 = lean_array_get_size(x_7); -x_187 = lean_nat_dec_lt(x_10, x_186); -lean_dec(x_186); -if (x_187 == 0) +lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_107); +x_108 = lean_array_get_size(x_7); +x_109 = lean_nat_dec_lt(x_10, x_108); +lean_dec(x_108); +if (x_109 == 0) { -lean_object* x_188; lean_dec(x_13); lean_dec(x_10); lean_dec(x_7); -x_188 = l_Lean_Expr_getOptParamDefault_x3f(x_81); -lean_dec(x_81); -if (lean_obj_tag(x_188) == 0) +if (x_9 == 0) { -uint8_t x_189; +lean_object* x_110; +x_110 = l_Lean_Expr_getOptParamDefault_x3f(x_91); +lean_dec(x_91); +if (lean_obj_tag(x_110) == 0) +{ +uint8_t x_111; lean_dec(x_1); -lean_dec(x_82); -x_189 = l_Array_isEmpty___rarg(x_11); -if (x_189 == 0) +lean_dec(x_92); +x_111 = l_Array_isEmpty___rarg(x_11); +if (x_111 == 0) { -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_dec(x_12); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_190 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_190, 0, x_80); -x_191 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__3; -x_192 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_190); -x_193 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__6; -x_194 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_194, 0, x_192); -lean_ctor_set(x_194, 1, x_193); -x_195 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__2(x_84, x_11); -x_196 = l_Array_toList___rarg(x_195); -lean_dec(x_195); -x_197 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_196); -x_198 = l_Array_HasRepr___rarg___closed__1; -x_199 = lean_string_append(x_198, x_197); -lean_dec(x_197); -x_200 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_200, 0, x_199); -x_201 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_201, 0, x_200); -x_202 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_202, 0, x_194); -lean_ctor_set(x_202, 1, x_201); -x_203 = l_Lean_Elab_Term_throwError___rarg(x_6, x_202, x_4, x_184); +x_112 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_112, 0, x_90); +x_113 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_114 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +x_115 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_116 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_118 = l_Array_toList___rarg(x_117); +lean_dec(x_117); +x_119 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_118); +x_120 = l_Array_HasRepr___rarg___closed__1; +x_121 = lean_string_append(x_120, x_119); +lean_dec(x_119); +x_122 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_122, 0, x_121); +x_123 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_123, 0, x_122); +x_124 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_124, 0, x_116); +lean_ctor_set(x_124, 1, x_123); +x_125 = l_Lean_Elab_Term_throwError___rarg(x_6, x_124, x_4, x_106); lean_dec(x_6); -return x_203; +return x_125; } else { -lean_dec(x_80); +lean_object* x_126; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; +lean_dec(x_90); lean_dec(x_11); +x_153 = l_Lean_Elab_Term_getOptions(x_4, x_106); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_157 = l_Lean_checkTraceOption(x_154, x_156); +lean_dec(x_154); +if (x_157 == 0) +{ +x_126 = x_155; +goto block_152; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_inc(x_2); +x_158 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_158, 0, x_2); +x_159 = l_Lean_Elab_Term_logTrace(x_156, x_6, x_158, x_4, x_155); +x_160 = lean_ctor_get(x_159, 1); +lean_inc(x_160); +lean_dec(x_159); +x_126 = x_160; +goto block_152; +} +block_152: +{ if (lean_obj_tag(x_8) == 0) { -lean_object* x_204; +lean_object* x_127; lean_dec(x_3); -x_204 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_184); +x_127 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_126); lean_dec(x_12); -if (lean_obj_tag(x_204) == 0) +if (lean_obj_tag(x_127) == 0) { -uint8_t x_205; -x_205 = !lean_is_exclusive(x_204); -if (x_205 == 0) +uint8_t x_128; +x_128 = !lean_is_exclusive(x_127); +if (x_128 == 0) { -lean_object* x_206; -x_206 = lean_ctor_get(x_204, 0); -lean_dec(x_206); -lean_ctor_set(x_204, 0, x_2); -return x_204; +lean_object* x_129; +x_129 = lean_ctor_get(x_127, 0); +lean_dec(x_129); +lean_ctor_set(x_127, 0, x_2); +return x_127; } else { -lean_object* x_207; lean_object* x_208; -x_207 = lean_ctor_get(x_204, 1); -lean_inc(x_207); -lean_dec(x_204); -x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_2); -lean_ctor_set(x_208, 1, x_207); -return x_208; +lean_object* x_130; lean_object* x_131; +x_130 = lean_ctor_get(x_127, 1); +lean_inc(x_130); +lean_dec(x_127); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_2); +lean_ctor_set(x_131, 1, x_130); +return x_131; } } else { -uint8_t x_209; +uint8_t x_132; lean_dec(x_2); -x_209 = !lean_is_exclusive(x_204); -if (x_209 == 0) +x_132 = !lean_is_exclusive(x_127); +if (x_132 == 0) { -return x_204; +return x_127; } else { -lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_210 = lean_ctor_get(x_204, 0); -x_211 = lean_ctor_get(x_204, 1); -lean_inc(x_211); -lean_inc(x_210); -lean_dec(x_204); -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_210); -lean_ctor_set(x_212, 1, x_211); -return x_212; +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_127, 0); +x_134 = lean_ctor_get(x_127, 1); +lean_inc(x_134); +lean_inc(x_133); +lean_dec(x_127); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +return x_135; } } } else { -lean_object* x_213; lean_object* x_214; -x_213 = lean_ctor_get(x_8, 0); -lean_inc(x_213); +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_8, 0); +lean_inc(x_136); lean_dec(x_8); lean_inc(x_4); -x_214 = l_Lean_Elab_Term_isDefEq(x_6, x_213, x_3, x_4, x_184); -if (lean_obj_tag(x_214) == 0) +x_137 = l_Lean_Elab_Term_isDefEq(x_6, x_136, x_3, x_4, x_126); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_215; lean_object* x_216; -x_215 = lean_ctor_get(x_214, 1); -lean_inc(x_215); -lean_dec(x_214); -x_216 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_215); +lean_object* x_138; lean_object* x_139; +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +lean_dec(x_137); +x_139 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_138); lean_dec(x_12); -if (lean_obj_tag(x_216) == 0) +if (lean_obj_tag(x_139) == 0) { -uint8_t x_217; -x_217 = !lean_is_exclusive(x_216); -if (x_217 == 0) +uint8_t x_140; +x_140 = !lean_is_exclusive(x_139); +if (x_140 == 0) { -lean_object* x_218; -x_218 = lean_ctor_get(x_216, 0); -lean_dec(x_218); -lean_ctor_set(x_216, 0, x_2); -return x_216; +lean_object* x_141; +x_141 = lean_ctor_get(x_139, 0); +lean_dec(x_141); +lean_ctor_set(x_139, 0, x_2); +return x_139; } else { -lean_object* x_219; lean_object* x_220; -x_219 = lean_ctor_get(x_216, 1); -lean_inc(x_219); -lean_dec(x_216); -x_220 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_220, 0, x_2); -lean_ctor_set(x_220, 1, x_219); -return x_220; +lean_object* x_142; lean_object* x_143; +x_142 = lean_ctor_get(x_139, 1); +lean_inc(x_142); +lean_dec(x_139); +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_2); +lean_ctor_set(x_143, 1, x_142); +return x_143; } } else { -uint8_t x_221; +uint8_t x_144; lean_dec(x_2); -x_221 = !lean_is_exclusive(x_216); -if (x_221 == 0) +x_144 = !lean_is_exclusive(x_139); +if (x_144 == 0) { -return x_216; +return x_139; } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_216, 0); -x_223 = lean_ctor_get(x_216, 1); -lean_inc(x_223); -lean_inc(x_222); -lean_dec(x_216); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -return x_224; +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_139, 0); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_139); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +return x_147; } } } else { -uint8_t x_225; +uint8_t x_148; lean_dec(x_12); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_225 = !lean_is_exclusive(x_214); +x_148 = !lean_is_exclusive(x_137); +if (x_148 == 0) +{ +return x_137; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_137, 0); +x_150 = lean_ctor_get(x_137, 1); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_137); +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +return x_151; +} +} +} +} +} +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_90); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_161 = lean_ctor_get(x_110, 0); +lean_inc(x_161); +lean_dec(x_110); +lean_inc(x_161); +x_162 = l_Lean_mkApp(x_2, x_161); +x_163 = lean_expr_instantiate1(x_92, x_161); +lean_dec(x_161); +lean_dec(x_92); +x_2 = x_162; +x_3 = x_163; +x_5 = x_106; +goto _start; +} +} +else +{ +uint8_t x_165; +lean_dec(x_1); +lean_dec(x_92); +lean_dec(x_91); +x_165 = l_Array_isEmpty___rarg(x_11); +if (x_165 == 0) +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_166 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_166, 0, x_90); +x_167 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_168 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_166); +x_169 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_170 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +x_171 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_172 = l_Array_toList___rarg(x_171); +lean_dec(x_171); +x_173 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_172); +x_174 = l_Array_HasRepr___rarg___closed__1; +x_175 = lean_string_append(x_174, x_173); +lean_dec(x_173); +x_176 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_176, 0, x_175); +x_177 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_177, 0, x_176); +x_178 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_178, 0, x_170); +lean_ctor_set(x_178, 1, x_177); +x_179 = l_Lean_Elab_Term_throwError___rarg(x_6, x_178, x_4, x_106); +lean_dec(x_6); +return x_179; +} +else +{ +lean_object* x_180; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; +lean_dec(x_90); +lean_dec(x_11); +x_207 = l_Lean_Elab_Term_getOptions(x_4, x_106); +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_207, 1); +lean_inc(x_209); +lean_dec(x_207); +x_210 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_211 = l_Lean_checkTraceOption(x_208, x_210); +lean_dec(x_208); +if (x_211 == 0) +{ +x_180 = x_209; +goto block_206; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; +lean_inc(x_2); +x_212 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_212, 0, x_2); +x_213 = l_Lean_Elab_Term_logTrace(x_210, x_6, x_212, x_4, x_209); +x_214 = lean_ctor_get(x_213, 1); +lean_inc(x_214); +lean_dec(x_213); +x_180 = x_214; +goto block_206; +} +block_206: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_181; +lean_dec(x_3); +x_181 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_180); +lean_dec(x_12); +if (lean_obj_tag(x_181) == 0) +{ +uint8_t x_182; +x_182 = !lean_is_exclusive(x_181); +if (x_182 == 0) +{ +lean_object* x_183; +x_183 = lean_ctor_get(x_181, 0); +lean_dec(x_183); +lean_ctor_set(x_181, 0, x_2); +return x_181; +} +else +{ +lean_object* x_184; lean_object* x_185; +x_184 = lean_ctor_get(x_181, 1); +lean_inc(x_184); +lean_dec(x_181); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_2); +lean_ctor_set(x_185, 1, x_184); +return x_185; +} +} +else +{ +uint8_t x_186; +lean_dec(x_2); +x_186 = !lean_is_exclusive(x_181); +if (x_186 == 0) +{ +return x_181; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_187 = lean_ctor_get(x_181, 0); +x_188 = lean_ctor_get(x_181, 1); +lean_inc(x_188); +lean_inc(x_187); +lean_dec(x_181); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_187); +lean_ctor_set(x_189, 1, x_188); +return x_189; +} +} +} +else +{ +lean_object* x_190; lean_object* x_191; +x_190 = lean_ctor_get(x_8, 0); +lean_inc(x_190); +lean_dec(x_8); +lean_inc(x_4); +x_191 = l_Lean_Elab_Term_isDefEq(x_6, x_190, x_3, x_4, x_180); +if (lean_obj_tag(x_191) == 0) +{ +lean_object* x_192; lean_object* x_193; +x_192 = lean_ctor_get(x_191, 1); +lean_inc(x_192); +lean_dec(x_191); +x_193 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_192); +lean_dec(x_12); +if (lean_obj_tag(x_193) == 0) +{ +uint8_t x_194; +x_194 = !lean_is_exclusive(x_193); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_193, 0); +lean_dec(x_195); +lean_ctor_set(x_193, 0, x_2); +return x_193; +} +else +{ +lean_object* x_196; lean_object* x_197; +x_196 = lean_ctor_get(x_193, 1); +lean_inc(x_196); +lean_dec(x_193); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_2); +lean_ctor_set(x_197, 1, x_196); +return x_197; +} +} +else +{ +uint8_t x_198; +lean_dec(x_2); +x_198 = !lean_is_exclusive(x_193); +if (x_198 == 0) +{ +return x_193; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_199 = lean_ctor_get(x_193, 0); +x_200 = lean_ctor_get(x_193, 1); +lean_inc(x_200); +lean_inc(x_199); +lean_dec(x_193); +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +return x_201; +} +} +} +else +{ +uint8_t x_202; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_202 = !lean_is_exclusive(x_191); +if (x_202 == 0) +{ +return x_191; +} +else +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_203 = lean_ctor_get(x_191, 0); +x_204 = lean_ctor_get(x_191, 1); +lean_inc(x_204); +lean_inc(x_203); +lean_dec(x_191); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set(x_205, 1, x_204); +return x_205; +} +} +} +} +} +} +} +else +{ +lean_object* x_215; lean_object* x_216; +lean_dec(x_1); +lean_dec(x_90); +lean_dec(x_3); +x_215 = lean_array_fget(x_7, x_10); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_216 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_215, x_91, x_4, x_106); +if (lean_obj_tag(x_216) == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_217 = lean_ctor_get(x_216, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); +lean_dec(x_216); +x_219 = lean_unsigned_to_nat(1u); +x_220 = lean_nat_add(x_10, x_219); +lean_dec(x_10); +x_221 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_221, 0, x_6); +lean_ctor_set(x_221, 1, x_7); +lean_ctor_set(x_221, 2, x_8); +lean_ctor_set(x_221, 3, x_220); +lean_ctor_set(x_221, 4, x_11); +lean_ctor_set(x_221, 5, x_12); +lean_ctor_set(x_221, 6, x_13); +lean_ctor_set_uint8(x_221, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_221, sizeof(void*)*7 + 1, x_107); +lean_inc(x_217); +x_222 = l_Lean_mkApp(x_2, x_217); +x_223 = lean_expr_instantiate1(x_92, x_217); +lean_dec(x_217); +lean_dec(x_92); +x_1 = x_221; +x_2 = x_222; +x_3 = x_223; +x_5 = x_218; +goto _start; +} +else +{ +uint8_t x_225; +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_225 = !lean_is_exclusive(x_216); if (x_225 == 0) { -return x_214; +return x_216; } else { lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_226 = lean_ctor_get(x_214, 0); -x_227 = lean_ctor_get(x_214, 1); +x_226 = lean_ctor_get(x_216, 0); +x_227 = lean_ctor_get(x_216, 1); lean_inc(x_227); lean_inc(x_226); -lean_dec(x_214); +lean_dec(x_216); x_228 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_228, 0, x_226); lean_ctor_set(x_228, 1, x_227); @@ -3308,114 +3609,13 @@ return x_228; } } } -} else { -lean_object* x_229; lean_object* x_230; lean_object* x_231; -lean_dec(x_80); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_3); -x_229 = lean_ctor_get(x_188, 0); -lean_inc(x_229); -lean_dec(x_188); -lean_inc(x_229); -x_230 = l_Lean_mkApp(x_2, x_229); -x_231 = lean_expr_instantiate1(x_82, x_229); -lean_dec(x_229); -lean_dec(x_82); -x_2 = x_230; -x_3 = x_231; -x_5 = x_184; -goto _start; -} -} -else -{ -lean_object* x_233; lean_object* x_234; -lean_dec(x_1); -lean_dec(x_80); -lean_dec(x_3); -x_233 = lean_array_fget(x_7, x_10); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_6); -x_234 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_233, x_81, x_4, x_184); -if (lean_obj_tag(x_234) == 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; -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_234, 1); -lean_inc(x_236); -lean_dec(x_234); -x_237 = lean_unsigned_to_nat(1u); -x_238 = lean_nat_add(x_10, x_237); -lean_dec(x_10); -x_239 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_239, 0, x_6); -lean_ctor_set(x_239, 1, x_7); -lean_ctor_set(x_239, 2, x_8); -lean_ctor_set(x_239, 3, x_238); -lean_ctor_set(x_239, 4, x_11); -lean_ctor_set(x_239, 5, x_12); -lean_ctor_set(x_239, 6, x_13); -lean_ctor_set_uint8(x_239, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_239, sizeof(void*)*7 + 1, x_185); -lean_inc(x_235); -x_240 = l_Lean_mkApp(x_2, x_235); -x_241 = lean_expr_instantiate1(x_82, x_235); -lean_dec(x_235); -lean_dec(x_82); -x_1 = x_239; -x_2 = x_240; -x_3 = x_241; -x_5 = x_236; -goto _start; -} -else -{ -uint8_t x_243; -lean_dec(x_82); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_243 = !lean_is_exclusive(x_234); -if (x_243 == 0) -{ -return x_234; -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_234, 0); -x_245 = lean_ctor_get(x_234, 1); -lean_inc(x_245); -lean_inc(x_244); -lean_dec(x_234); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -return x_246; -} -} -} -} -else -{ -uint8_t x_247; +uint8_t x_229; lean_free_object(x_1); -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_80); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -3426,36 +3626,36 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_247 = !lean_is_exclusive(x_175); -if (x_247 == 0) +x_229 = !lean_is_exclusive(x_97); +if (x_229 == 0) { -return x_175; +return x_97; } else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_248 = lean_ctor_get(x_175, 0); -x_249 = lean_ctor_get(x_175, 1); -lean_inc(x_249); -lean_inc(x_248); -lean_dec(x_175); -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_248); -lean_ctor_set(x_250, 1, x_249); -return x_250; +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_97, 0); +x_231 = lean_ctor_get(x_97, 1); +lean_inc(x_231); +lean_inc(x_230); +lean_dec(x_97); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set(x_232, 1, x_231); +return x_232; } } } else { lean_dec(x_1); -if (lean_obj_tag(x_175) == 0) +if (lean_obj_tag(x_97) == 0) { -lean_object* x_251; uint8_t x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; -x_251 = lean_ctor_get(x_175, 1); -lean_inc(x_251); -lean_dec(x_175); -x_252 = 1; +lean_object* x_233; uint8_t x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; +x_233 = lean_ctor_get(x_97, 1); +lean_inc(x_233); +lean_dec(x_97); +x_234 = 1; lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -3463,292 +3663,552 @@ lean_inc(x_10); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_253 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_253, 0, x_6); -lean_ctor_set(x_253, 1, x_7); -lean_ctor_set(x_253, 2, x_8); -lean_ctor_set(x_253, 3, x_10); -lean_ctor_set(x_253, 4, x_11); -lean_ctor_set(x_253, 5, x_12); -lean_ctor_set(x_253, 6, x_13); -lean_ctor_set_uint8(x_253, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_253, sizeof(void*)*7 + 1, x_252); -x_254 = lean_array_get_size(x_7); -x_255 = lean_nat_dec_lt(x_10, x_254); -lean_dec(x_254); -if (x_255 == 0) +x_235 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_235, 0, x_6); +lean_ctor_set(x_235, 1, x_7); +lean_ctor_set(x_235, 2, x_8); +lean_ctor_set(x_235, 3, x_10); +lean_ctor_set(x_235, 4, x_11); +lean_ctor_set(x_235, 5, x_12); +lean_ctor_set(x_235, 6, x_13); +lean_ctor_set_uint8(x_235, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_235, sizeof(void*)*7 + 1, x_234); +x_236 = lean_array_get_size(x_7); +x_237 = lean_nat_dec_lt(x_10, x_236); +lean_dec(x_236); +if (x_237 == 0) { -lean_object* x_256; lean_dec(x_13); lean_dec(x_10); lean_dec(x_7); -x_256 = l_Lean_Expr_getOptParamDefault_x3f(x_81); -lean_dec(x_81); -if (lean_obj_tag(x_256) == 0) +if (x_9 == 0) { -uint8_t x_257; -lean_dec(x_253); -lean_dec(x_82); -x_257 = l_Array_isEmpty___rarg(x_11); -if (x_257 == 0) +lean_object* x_238; +x_238 = l_Lean_Expr_getOptParamDefault_x3f(x_91); +lean_dec(x_91); +if (lean_obj_tag(x_238) == 0) { -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +uint8_t x_239; +lean_dec(x_235); +lean_dec(x_92); +x_239 = l_Array_isEmpty___rarg(x_11); +if (x_239 == 0) +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_dec(x_12); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_258 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_258, 0, x_80); -x_259 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__3; -x_260 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_258); -x_261 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__6; -x_262 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set(x_262, 1, x_261); -x_263 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__2(x_84, x_11); -x_264 = l_Array_toList___rarg(x_263); -lean_dec(x_263); -x_265 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_264); -x_266 = l_Array_HasRepr___rarg___closed__1; -x_267 = lean_string_append(x_266, x_265); -lean_dec(x_265); -x_268 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_268, 0, x_267); -x_269 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_269, 0, x_268); -x_270 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_270, 0, x_262); -lean_ctor_set(x_270, 1, x_269); -x_271 = l_Lean_Elab_Term_throwError___rarg(x_6, x_270, x_4, x_251); +x_240 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_240, 0, x_90); +x_241 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_242 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_240); +x_243 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_244 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_244, 0, x_242); +lean_ctor_set(x_244, 1, x_243); +x_245 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_246 = l_Array_toList___rarg(x_245); +lean_dec(x_245); +x_247 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_246); +x_248 = l_Array_HasRepr___rarg___closed__1; +x_249 = lean_string_append(x_248, x_247); +lean_dec(x_247); +x_250 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_250, 0, x_249); +x_251 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_251, 0, x_250); +x_252 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_252, 0, x_244); +lean_ctor_set(x_252, 1, x_251); +x_253 = l_Lean_Elab_Term_throwError___rarg(x_6, x_252, x_4, x_233); lean_dec(x_6); -return x_271; +return x_253; } else { -lean_dec(x_80); +lean_object* x_254; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; uint8_t x_283; +lean_dec(x_90); lean_dec(x_11); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_272; -lean_dec(x_3); -x_272 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_251); -lean_dec(x_12); -if (lean_obj_tag(x_272) == 0) -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_273 = lean_ctor_get(x_272, 1); -lean_inc(x_273); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - x_274 = x_272; -} else { - lean_dec_ref(x_272); - x_274 = lean_box(0); -} -if (lean_is_scalar(x_274)) { - x_275 = lean_alloc_ctor(0, 2, 0); -} else { - x_275 = x_274; -} -lean_ctor_set(x_275, 0, x_2); -lean_ctor_set(x_275, 1, x_273); -return x_275; -} -else -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; -lean_dec(x_2); -x_276 = lean_ctor_get(x_272, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_272, 1); -lean_inc(x_277); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - x_278 = x_272; -} else { - lean_dec_ref(x_272); - x_278 = lean_box(0); -} -if (lean_is_scalar(x_278)) { - x_279 = lean_alloc_ctor(1, 2, 0); -} else { - x_279 = x_278; -} -lean_ctor_set(x_279, 0, x_276); -lean_ctor_set(x_279, 1, x_277); -return x_279; -} -} -else -{ -lean_object* x_280; lean_object* x_281; -x_280 = lean_ctor_get(x_8, 0); +x_279 = l_Lean_Elab_Term_getOptions(x_4, x_233); +x_280 = lean_ctor_get(x_279, 0); lean_inc(x_280); -lean_dec(x_8); -lean_inc(x_4); -x_281 = l_Lean_Elab_Term_isDefEq(x_6, x_280, x_3, x_4, x_251); -if (lean_obj_tag(x_281) == 0) +x_281 = lean_ctor_get(x_279, 1); +lean_inc(x_281); +lean_dec(x_279); +x_282 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_283 = l_Lean_checkTraceOption(x_280, x_282); +lean_dec(x_280); +if (x_283 == 0) { -lean_object* x_282; lean_object* x_283; -x_282 = lean_ctor_get(x_281, 1); -lean_inc(x_282); -lean_dec(x_281); -x_283 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_282); -lean_dec(x_12); -if (lean_obj_tag(x_283) == 0) +x_254 = x_281; +goto block_278; +} +else { lean_object* x_284; lean_object* x_285; lean_object* x_286; -x_284 = lean_ctor_get(x_283, 1); -lean_inc(x_284); -if (lean_is_exclusive(x_283)) { - lean_ctor_release(x_283, 0); - lean_ctor_release(x_283, 1); - x_285 = x_283; -} else { - lean_dec_ref(x_283); - x_285 = lean_box(0); +lean_inc(x_2); +x_284 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_284, 0, x_2); +x_285 = l_Lean_Elab_Term_logTrace(x_282, x_6, x_284, x_4, x_281); +x_286 = lean_ctor_get(x_285, 1); +lean_inc(x_286); +lean_dec(x_285); +x_254 = x_286; +goto block_278; } -if (lean_is_scalar(x_285)) { - x_286 = lean_alloc_ctor(0, 2, 0); +block_278: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_255; +lean_dec(x_3); +x_255 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_254); +lean_dec(x_12); +if (lean_obj_tag(x_255) == 0) +{ +lean_object* x_256; lean_object* x_257; lean_object* x_258; +x_256 = lean_ctor_get(x_255, 1); +lean_inc(x_256); +if (lean_is_exclusive(x_255)) { + lean_ctor_release(x_255, 0); + lean_ctor_release(x_255, 1); + x_257 = x_255; } else { - x_286 = x_285; + lean_dec_ref(x_255); + x_257 = lean_box(0); } -lean_ctor_set(x_286, 0, x_2); -lean_ctor_set(x_286, 1, x_284); -return x_286; +if (lean_is_scalar(x_257)) { + x_258 = lean_alloc_ctor(0, 2, 0); +} else { + x_258 = x_257; +} +lean_ctor_set(x_258, 0, x_2); +lean_ctor_set(x_258, 1, x_256); +return x_258; } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_dec(x_2); -x_287 = lean_ctor_get(x_283, 0); -lean_inc(x_287); -x_288 = lean_ctor_get(x_283, 1); -lean_inc(x_288); -if (lean_is_exclusive(x_283)) { - lean_ctor_release(x_283, 0); - lean_ctor_release(x_283, 1); - x_289 = x_283; +x_259 = lean_ctor_get(x_255, 0); +lean_inc(x_259); +x_260 = lean_ctor_get(x_255, 1); +lean_inc(x_260); +if (lean_is_exclusive(x_255)) { + lean_ctor_release(x_255, 0); + lean_ctor_release(x_255, 1); + x_261 = x_255; } else { - lean_dec_ref(x_283); - x_289 = lean_box(0); + lean_dec_ref(x_255); + x_261 = lean_box(0); } -if (lean_is_scalar(x_289)) { - x_290 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_261)) { + x_262 = lean_alloc_ctor(1, 2, 0); } else { - x_290 = x_289; + x_262 = x_261; } -lean_ctor_set(x_290, 0, x_287); -lean_ctor_set(x_290, 1, x_288); -return x_290; +lean_ctor_set(x_262, 0, x_259); +lean_ctor_set(x_262, 1, x_260); +return x_262; } } else { -lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +lean_object* x_263; lean_object* x_264; +x_263 = lean_ctor_get(x_8, 0); +lean_inc(x_263); +lean_dec(x_8); +lean_inc(x_4); +x_264 = l_Lean_Elab_Term_isDefEq(x_6, x_263, x_3, x_4, x_254); +if (lean_obj_tag(x_264) == 0) +{ +lean_object* x_265; lean_object* x_266; +x_265 = lean_ctor_get(x_264, 1); +lean_inc(x_265); +lean_dec(x_264); +x_266 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_265); +lean_dec(x_12); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_267 = lean_ctor_get(x_266, 1); +lean_inc(x_267); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + lean_ctor_release(x_266, 1); + x_268 = x_266; +} else { + lean_dec_ref(x_266); + x_268 = lean_box(0); +} +if (lean_is_scalar(x_268)) { + x_269 = lean_alloc_ctor(0, 2, 0); +} else { + x_269 = x_268; +} +lean_ctor_set(x_269, 0, x_2); +lean_ctor_set(x_269, 1, x_267); +return x_269; +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; +lean_dec(x_2); +x_270 = lean_ctor_get(x_266, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_266, 1); +lean_inc(x_271); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + lean_ctor_release(x_266, 1); + x_272 = x_266; +} else { + lean_dec_ref(x_266); + x_272 = lean_box(0); +} +if (lean_is_scalar(x_272)) { + x_273 = lean_alloc_ctor(1, 2, 0); +} else { + x_273 = x_272; +} +lean_ctor_set(x_273, 0, x_270); +lean_ctor_set(x_273, 1, x_271); +return x_273; +} +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_dec(x_12); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_291 = lean_ctor_get(x_281, 0); -lean_inc(x_291); -x_292 = lean_ctor_get(x_281, 1); -lean_inc(x_292); -if (lean_is_exclusive(x_281)) { - lean_ctor_release(x_281, 0); - lean_ctor_release(x_281, 1); - x_293 = x_281; +x_274 = lean_ctor_get(x_264, 0); +lean_inc(x_274); +x_275 = lean_ctor_get(x_264, 1); +lean_inc(x_275); +if (lean_is_exclusive(x_264)) { + lean_ctor_release(x_264, 0); + lean_ctor_release(x_264, 1); + x_276 = x_264; } else { - lean_dec_ref(x_281); - x_293 = lean_box(0); + lean_dec_ref(x_264); + x_276 = lean_box(0); } -if (lean_is_scalar(x_293)) { - x_294 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_276)) { + x_277 = lean_alloc_ctor(1, 2, 0); } else { - x_294 = x_293; + x_277 = x_276; +} +lean_ctor_set(x_277, 0, x_274); +lean_ctor_set(x_277, 1, x_275); +return x_277; } -lean_ctor_set(x_294, 0, x_291); -lean_ctor_set(x_294, 1, x_292); -return x_294; } } } } else { -lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_80); +lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_dec(x_90); lean_dec(x_12); lean_dec(x_11); lean_dec(x_8); lean_dec(x_6); lean_dec(x_3); -x_295 = lean_ctor_get(x_256, 0); -lean_inc(x_295); -lean_dec(x_256); -lean_inc(x_295); -x_296 = l_Lean_mkApp(x_2, x_295); -x_297 = lean_expr_instantiate1(x_82, x_295); -lean_dec(x_295); -lean_dec(x_82); -x_1 = x_253; -x_2 = x_296; -x_3 = x_297; -x_5 = x_251; +x_287 = lean_ctor_get(x_238, 0); +lean_inc(x_287); +lean_dec(x_238); +lean_inc(x_287); +x_288 = l_Lean_mkApp(x_2, x_287); +x_289 = lean_expr_instantiate1(x_92, x_287); +lean_dec(x_287); +lean_dec(x_92); +x_1 = x_235; +x_2 = x_288; +x_3 = x_289; +x_5 = x_233; goto _start; } } else { -lean_object* x_299; lean_object* x_300; -lean_dec(x_253); -lean_dec(x_80); +uint8_t x_291; +lean_dec(x_235); +lean_dec(x_92); +lean_dec(x_91); +x_291 = l_Array_isEmpty___rarg(x_11); +if (x_291 == 0) +{ +lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; +lean_dec(x_12); +lean_dec(x_8); lean_dec(x_3); -x_299 = lean_array_fget(x_7, x_10); +lean_dec(x_2); +x_292 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_292, 0, x_90); +x_293 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_294 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_294, 0, x_293); +lean_ctor_set(x_294, 1, x_292); +x_295 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_296 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_296, 0, x_294); +lean_ctor_set(x_296, 1, x_295); +x_297 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_298 = l_Array_toList___rarg(x_297); +lean_dec(x_297); +x_299 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_298); +x_300 = l_Array_HasRepr___rarg___closed__1; +x_301 = lean_string_append(x_300, x_299); +lean_dec(x_299); +x_302 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_302, 0, x_301); +x_303 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_303, 0, x_302); +x_304 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_304, 0, x_296); +lean_ctor_set(x_304, 1, x_303); +x_305 = l_Lean_Elab_Term_throwError___rarg(x_6, x_304, x_4, x_233); +lean_dec(x_6); +return x_305; +} +else +{ +lean_object* x_306; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; +lean_dec(x_90); +lean_dec(x_11); +x_331 = l_Lean_Elab_Term_getOptions(x_4, x_233); +x_332 = lean_ctor_get(x_331, 0); +lean_inc(x_332); +x_333 = lean_ctor_get(x_331, 1); +lean_inc(x_333); +lean_dec(x_331); +x_334 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_335 = l_Lean_checkTraceOption(x_332, x_334); +lean_dec(x_332); +if (x_335 == 0) +{ +x_306 = x_333; +goto block_330; +} +else +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; +lean_inc(x_2); +x_336 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_336, 0, x_2); +x_337 = l_Lean_Elab_Term_logTrace(x_334, x_6, x_336, x_4, x_333); +x_338 = lean_ctor_get(x_337, 1); +lean_inc(x_338); +lean_dec(x_337); +x_306 = x_338; +goto block_330; +} +block_330: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_307; +lean_dec(x_3); +x_307 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_306); +lean_dec(x_12); +if (lean_obj_tag(x_307) == 0) +{ +lean_object* x_308; lean_object* x_309; lean_object* x_310; +x_308 = lean_ctor_get(x_307, 1); +lean_inc(x_308); +if (lean_is_exclusive(x_307)) { + lean_ctor_release(x_307, 0); + lean_ctor_release(x_307, 1); + x_309 = x_307; +} else { + lean_dec_ref(x_307); + x_309 = lean_box(0); +} +if (lean_is_scalar(x_309)) { + x_310 = lean_alloc_ctor(0, 2, 0); +} else { + x_310 = x_309; +} +lean_ctor_set(x_310, 0, x_2); +lean_ctor_set(x_310, 1, x_308); +return x_310; +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +lean_dec(x_2); +x_311 = lean_ctor_get(x_307, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_307, 1); +lean_inc(x_312); +if (lean_is_exclusive(x_307)) { + lean_ctor_release(x_307, 0); + lean_ctor_release(x_307, 1); + x_313 = x_307; +} else { + lean_dec_ref(x_307); + x_313 = lean_box(0); +} +if (lean_is_scalar(x_313)) { + x_314 = lean_alloc_ctor(1, 2, 0); +} else { + x_314 = x_313; +} +lean_ctor_set(x_314, 0, x_311); +lean_ctor_set(x_314, 1, x_312); +return x_314; +} +} +else +{ +lean_object* x_315; lean_object* x_316; +x_315 = lean_ctor_get(x_8, 0); +lean_inc(x_315); +lean_dec(x_8); +lean_inc(x_4); +x_316 = l_Lean_Elab_Term_isDefEq(x_6, x_315, x_3, x_4, x_306); +if (lean_obj_tag(x_316) == 0) +{ +lean_object* x_317; lean_object* x_318; +x_317 = lean_ctor_get(x_316, 1); +lean_inc(x_317); +lean_dec(x_316); +x_318 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_317); +lean_dec(x_12); +if (lean_obj_tag(x_318) == 0) +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; +x_319 = lean_ctor_get(x_318, 1); +lean_inc(x_319); +if (lean_is_exclusive(x_318)) { + lean_ctor_release(x_318, 0); + lean_ctor_release(x_318, 1); + x_320 = x_318; +} else { + lean_dec_ref(x_318); + x_320 = lean_box(0); +} +if (lean_is_scalar(x_320)) { + x_321 = lean_alloc_ctor(0, 2, 0); +} else { + x_321 = x_320; +} +lean_ctor_set(x_321, 0, x_2); +lean_ctor_set(x_321, 1, x_319); +return x_321; +} +else +{ +lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; +lean_dec(x_2); +x_322 = lean_ctor_get(x_318, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_318, 1); +lean_inc(x_323); +if (lean_is_exclusive(x_318)) { + lean_ctor_release(x_318, 0); + lean_ctor_release(x_318, 1); + x_324 = x_318; +} else { + lean_dec_ref(x_318); + x_324 = lean_box(0); +} +if (lean_is_scalar(x_324)) { + x_325 = lean_alloc_ctor(1, 2, 0); +} else { + x_325 = x_324; +} +lean_ctor_set(x_325, 0, x_322); +lean_ctor_set(x_325, 1, x_323); +return x_325; +} +} +else +{ +lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_326 = lean_ctor_get(x_316, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_316, 1); +lean_inc(x_327); +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + lean_ctor_release(x_316, 1); + x_328 = x_316; +} else { + lean_dec_ref(x_316); + x_328 = lean_box(0); +} +if (lean_is_scalar(x_328)) { + x_329 = lean_alloc_ctor(1, 2, 0); +} else { + x_329 = x_328; +} +lean_ctor_set(x_329, 0, x_326); +lean_ctor_set(x_329, 1, x_327); +return x_329; +} +} +} +} +} +} +else +{ +lean_object* x_339; lean_object* x_340; +lean_dec(x_235); +lean_dec(x_90); +lean_dec(x_3); +x_339 = lean_array_fget(x_7, x_10); lean_inc(x_4); lean_inc(x_2); lean_inc(x_6); -x_300 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_299, x_81, x_4, x_251); -if (lean_obj_tag(x_300) == 0) +x_340 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_339, x_91, x_4, x_233); +if (lean_obj_tag(x_340) == 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 = lean_unsigned_to_nat(1u); -x_304 = lean_nat_add(x_10, x_303); +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_340, 0); +lean_inc(x_341); +x_342 = lean_ctor_get(x_340, 1); +lean_inc(x_342); +lean_dec(x_340); +x_343 = lean_unsigned_to_nat(1u); +x_344 = lean_nat_add(x_10, x_343); lean_dec(x_10); -x_305 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_305, 0, x_6); -lean_ctor_set(x_305, 1, x_7); -lean_ctor_set(x_305, 2, x_8); -lean_ctor_set(x_305, 3, x_304); -lean_ctor_set(x_305, 4, x_11); -lean_ctor_set(x_305, 5, x_12); -lean_ctor_set(x_305, 6, x_13); -lean_ctor_set_uint8(x_305, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_305, sizeof(void*)*7 + 1, x_252); -lean_inc(x_301); -x_306 = l_Lean_mkApp(x_2, x_301); -x_307 = lean_expr_instantiate1(x_82, x_301); -lean_dec(x_301); -lean_dec(x_82); -x_1 = x_305; -x_2 = x_306; -x_3 = x_307; -x_5 = x_302; +x_345 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_345, 0, x_6); +lean_ctor_set(x_345, 1, x_7); +lean_ctor_set(x_345, 2, x_8); +lean_ctor_set(x_345, 3, x_344); +lean_ctor_set(x_345, 4, x_11); +lean_ctor_set(x_345, 5, x_12); +lean_ctor_set(x_345, 6, x_13); +lean_ctor_set_uint8(x_345, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_345, sizeof(void*)*7 + 1, x_234); +lean_inc(x_341); +x_346 = l_Lean_mkApp(x_2, x_341); +x_347 = lean_expr_instantiate1(x_92, x_341); +lean_dec(x_341); +lean_dec(x_92); +x_1 = x_345; +x_2 = x_346; +x_3 = x_347; +x_5 = x_342; goto _start; } else { -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; -lean_dec(x_82); +lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; +lean_dec(x_92); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -3758,338 +4218,157 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_309 = lean_ctor_get(x_300, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_300, 1); -lean_inc(x_310); -if (lean_is_exclusive(x_300)) { - lean_ctor_release(x_300, 0); - lean_ctor_release(x_300, 1); - x_311 = x_300; -} else { - lean_dec_ref(x_300); - x_311 = lean_box(0); -} -if (lean_is_scalar(x_311)) { - x_312 = lean_alloc_ctor(1, 2, 0); -} else { - x_312 = x_311; -} -lean_ctor_set(x_312, 0, x_309); -lean_ctor_set(x_312, 1, x_310); -return x_312; -} -} -} -else -{ -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_80); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_313 = lean_ctor_get(x_175, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_175, 1); -lean_inc(x_314); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_315 = x_175; -} else { - lean_dec_ref(x_175); - x_315 = lean_box(0); -} -if (lean_is_scalar(x_315)) { - x_316 = lean_alloc_ctor(1, 2, 0); -} else { - x_316 = x_315; -} -lean_ctor_set(x_316, 0, x_313); -lean_ctor_set(x_316, 1, x_314); -return x_316; -} -} -} -} -} -else -{ -lean_object* x_317; uint8_t x_318; -lean_inc(x_4); -lean_inc(x_1); -x_317 = l___private_Init_Lean_Elab_App_9__propagateExpectedType(x_1, x_16, x_4, x_17); -x_318 = !lean_is_exclusive(x_1); -if (x_318 == 0) -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; -x_319 = lean_ctor_get(x_1, 6); -lean_dec(x_319); -x_320 = lean_ctor_get(x_1, 5); -lean_dec(x_320); -x_321 = lean_ctor_get(x_1, 4); -lean_dec(x_321); -x_322 = lean_ctor_get(x_1, 3); -lean_dec(x_322); -x_323 = lean_ctor_get(x_1, 2); -lean_dec(x_323); -x_324 = lean_ctor_get(x_1, 1); -lean_dec(x_324); -x_325 = lean_ctor_get(x_1, 0); -lean_dec(x_325); -if (lean_obj_tag(x_317) == 0) -{ -lean_object* x_326; lean_object* x_327; uint8_t x_328; -x_326 = lean_ctor_get(x_317, 1); -lean_inc(x_326); -lean_dec(x_317); -x_327 = lean_array_get_size(x_7); -x_328 = lean_nat_dec_lt(x_10, x_327); -lean_dec(x_327); -if (x_328 == 0) -{ -uint8_t x_329; -lean_free_object(x_1); -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_7); -x_329 = l_Array_isEmpty___rarg(x_11); -if (x_329 == 0) -{ -lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_330 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_330, 0, x_80); -x_331 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__3; -x_332 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_332, 0, x_331); -lean_ctor_set(x_332, 1, x_330); -x_333 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__6; -x_334 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_334, 0, x_332); -lean_ctor_set(x_334, 1, x_333); -x_335 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__2(x_84, x_11); -x_336 = l_Array_toList___rarg(x_335); -lean_dec(x_335); -x_337 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_336); -x_338 = l_Array_HasRepr___rarg___closed__1; -x_339 = lean_string_append(x_338, x_337); -lean_dec(x_337); -x_340 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_340, 0, x_339); -x_341 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_341, 0, x_340); -x_342 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_342, 0, x_334); -lean_ctor_set(x_342, 1, x_341); -x_343 = l_Lean_Elab_Term_throwError___rarg(x_6, x_342, x_4, x_326); -lean_dec(x_6); -return x_343; -} -else -{ -lean_dec(x_80); -lean_dec(x_11); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_344; -lean_dec(x_3); -x_344 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_326); -lean_dec(x_12); -if (lean_obj_tag(x_344) == 0) -{ -uint8_t x_345; -x_345 = !lean_is_exclusive(x_344); -if (x_345 == 0) -{ -lean_object* x_346; -x_346 = lean_ctor_get(x_344, 0); -lean_dec(x_346); -lean_ctor_set(x_344, 0, x_2); -return x_344; -} -else -{ -lean_object* x_347; lean_object* x_348; -x_347 = lean_ctor_get(x_344, 1); -lean_inc(x_347); -lean_dec(x_344); -x_348 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_348, 0, x_2); -lean_ctor_set(x_348, 1, x_347); -return x_348; -} -} -else -{ -uint8_t x_349; -lean_dec(x_2); -x_349 = !lean_is_exclusive(x_344); -if (x_349 == 0) -{ -return x_344; -} -else -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_350 = lean_ctor_get(x_344, 0); -x_351 = lean_ctor_get(x_344, 1); -lean_inc(x_351); +x_349 = lean_ctor_get(x_340, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_340, 1); lean_inc(x_350); -lean_dec(x_344); -x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_350); -lean_ctor_set(x_352, 1, x_351); +if (lean_is_exclusive(x_340)) { + lean_ctor_release(x_340, 0); + lean_ctor_release(x_340, 1); + x_351 = x_340; +} else { + lean_dec_ref(x_340); + x_351 = lean_box(0); +} +if (lean_is_scalar(x_351)) { + x_352 = lean_alloc_ctor(1, 2, 0); +} else { + x_352 = x_351; +} +lean_ctor_set(x_352, 0, x_349); +lean_ctor_set(x_352, 1, x_350); return x_352; } } } else { -lean_object* x_353; lean_object* x_354; -x_353 = lean_ctor_get(x_8, 0); -lean_inc(x_353); +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_8); -lean_inc(x_4); -x_354 = l_Lean_Elab_Term_isDefEq(x_6, x_353, x_3, x_4, x_326); -if (lean_obj_tag(x_354) == 0) -{ -lean_object* x_355; lean_object* x_356; -x_355 = lean_ctor_get(x_354, 1); -lean_inc(x_355); -lean_dec(x_354); -x_356 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_355); -lean_dec(x_12); -if (lean_obj_tag(x_356) == 0) -{ -uint8_t x_357; -x_357 = !lean_is_exclusive(x_356); -if (x_357 == 0) -{ -lean_object* x_358; -x_358 = lean_ctor_get(x_356, 0); -lean_dec(x_358); -lean_ctor_set(x_356, 0, x_2); -return x_356; -} -else -{ -lean_object* x_359; lean_object* x_360; -x_359 = lean_ctor_get(x_356, 1); -lean_inc(x_359); -lean_dec(x_356); -x_360 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_360, 0, x_2); -lean_ctor_set(x_360, 1, x_359); -return x_360; -} -} -else -{ -uint8_t x_361; -lean_dec(x_2); -x_361 = !lean_is_exclusive(x_356); -if (x_361 == 0) -{ -return x_356; -} -else -{ -lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_362 = lean_ctor_get(x_356, 0); -x_363 = lean_ctor_get(x_356, 1); -lean_inc(x_363); -lean_inc(x_362); -lean_dec(x_356); -x_364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_364, 0, x_362); -lean_ctor_set(x_364, 1, x_363); -return x_364; -} -} -} -else -{ -uint8_t x_365; -lean_dec(x_12); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); -lean_dec(x_2); -x_365 = !lean_is_exclusive(x_354); -if (x_365 == 0) -{ -return x_354; -} -else -{ -lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_366 = lean_ctor_get(x_354, 0); -x_367 = lean_ctor_get(x_354, 1); -lean_inc(x_367); -lean_inc(x_366); -lean_dec(x_354); -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_366); -lean_ctor_set(x_368, 1, x_367); -return x_368; -} -} -} -} -} -else -{ -lean_object* x_369; lean_object* x_370; -lean_dec(x_80); lean_dec(x_3); -x_369 = lean_array_fget(x_7, x_10); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_6); -x_370 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_369, x_81, x_4, x_326); -if (lean_obj_tag(x_370) == 0) +lean_dec(x_2); +x_353 = lean_ctor_get(x_97, 0); +lean_inc(x_353); +x_354 = lean_ctor_get(x_97, 1); +lean_inc(x_354); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + x_355 = x_97; +} else { + lean_dec_ref(x_97); + x_355 = lean_box(0); +} +if (lean_is_scalar(x_355)) { + x_356 = lean_alloc_ctor(1, 2, 0); +} else { + x_356 = x_355; +} +lean_ctor_set(x_356, 0, x_353); +lean_ctor_set(x_356, 1, x_354); +return x_356; +} +} +} +case 1: { -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; lean_object* x_376; lean_object* x_377; -x_371 = lean_ctor_get(x_370, 0); -lean_inc(x_371); -x_372 = lean_ctor_get(x_370, 1); +if (x_9 == 0) +{ +uint8_t x_357; +lean_dec(x_90); +lean_dec(x_16); +lean_dec(x_3); +x_357 = !lean_is_exclusive(x_1); +if (x_357 == 0) +{ +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; uint8_t x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; +x_358 = lean_ctor_get(x_1, 6); +lean_dec(x_358); +x_359 = lean_ctor_get(x_1, 5); +lean_dec(x_359); +x_360 = lean_ctor_get(x_1, 4); +lean_dec(x_360); +x_361 = lean_ctor_get(x_1, 3); +lean_dec(x_361); +x_362 = lean_ctor_get(x_1, 2); +lean_dec(x_362); +x_363 = lean_ctor_get(x_1, 1); +lean_dec(x_363); +x_364 = lean_ctor_get(x_1, 0); +lean_dec(x_364); +x_365 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_365, 0, x_91); +x_366 = 0; +x_367 = lean_box(0); +lean_inc(x_4); +x_368 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_365, x_366, x_367, x_4, x_17); +x_369 = lean_ctor_get(x_368, 0); +lean_inc(x_369); +x_370 = lean_ctor_get(x_368, 1); +lean_inc(x_370); +lean_dec(x_368); +lean_inc(x_4); +lean_inc(x_369); +x_371 = l_Lean_Elab_Term_isTypeFormer(x_6, x_369, x_4, x_370); +if (lean_obj_tag(x_371) == 0) +{ +lean_object* x_372; uint8_t x_373; +x_372 = lean_ctor_get(x_371, 0); lean_inc(x_372); -lean_dec(x_370); -x_373 = lean_unsigned_to_nat(1u); -x_374 = lean_nat_add(x_10, x_373); -lean_dec(x_10); -x_375 = 1; -lean_ctor_set(x_1, 3, x_374); -lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_375); -lean_inc(x_371); -x_376 = l_Lean_mkApp(x_2, x_371); -x_377 = lean_expr_instantiate1(x_82, x_371); +x_373 = lean_unbox(x_372); +lean_dec(x_372); +if (x_373 == 0) +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; +x_374 = lean_ctor_get(x_371, 1); +lean_inc(x_374); lean_dec(x_371); -lean_dec(x_82); -x_2 = x_376; -x_3 = x_377; -x_5 = x_372; +lean_inc(x_369); +x_375 = l_Lean_mkApp(x_2, x_369); +x_376 = lean_expr_instantiate1(x_92, x_369); +lean_dec(x_369); +lean_dec(x_92); +x_2 = x_375; +x_3 = x_376; +x_5 = x_374; goto _start; } else { -uint8_t x_379; +lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; +x_378 = lean_ctor_get(x_371, 1); +lean_inc(x_378); +lean_dec(x_371); +x_379 = l_Lean_Expr_mvarId_x21(x_369); +x_380 = lean_array_push(x_13, x_379); +lean_ctor_set(x_1, 6, x_380); +lean_inc(x_369); +x_381 = l_Lean_mkApp(x_2, x_369); +x_382 = lean_expr_instantiate1(x_92, x_369); +lean_dec(x_369); +lean_dec(x_92); +x_2 = x_381; +x_3 = x_382; +x_5 = x_378; +goto _start; +} +} +else +{ +uint8_t x_384; +lean_dec(x_369); lean_free_object(x_1); -lean_dec(x_82); +lean_dec(x_92); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -4099,166 +4378,132 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_379 = !lean_is_exclusive(x_370); -if (x_379 == 0) +x_384 = !lean_is_exclusive(x_371); +if (x_384 == 0) { -return x_370; +return x_371; } else { -lean_object* x_380; lean_object* x_381; lean_object* x_382; -x_380 = lean_ctor_get(x_370, 0); -x_381 = lean_ctor_get(x_370, 1); -lean_inc(x_381); -lean_inc(x_380); -lean_dec(x_370); -x_382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_382, 0, x_380); -lean_ctor_set(x_382, 1, x_381); -return x_382; -} -} -} -} -else -{ -uint8_t x_383; -lean_free_object(x_1); -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_80); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_383 = !lean_is_exclusive(x_317); -if (x_383 == 0) -{ -return x_317; -} -else -{ -lean_object* x_384; lean_object* x_385; lean_object* x_386; -x_384 = lean_ctor_get(x_317, 0); -x_385 = lean_ctor_get(x_317, 1); +lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_385 = lean_ctor_get(x_371, 0); +x_386 = lean_ctor_get(x_371, 1); +lean_inc(x_386); lean_inc(x_385); -lean_inc(x_384); -lean_dec(x_317); -x_386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_386, 0, x_384); -lean_ctor_set(x_386, 1, x_385); -return x_386; +lean_dec(x_371); +x_387 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_387, 0, x_385); +lean_ctor_set(x_387, 1, x_386); +return x_387; } } } else { +lean_object* x_388; uint8_t x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_dec(x_1); -if (lean_obj_tag(x_317) == 0) +x_388 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_388, 0, x_91); +x_389 = 0; +x_390 = lean_box(0); +lean_inc(x_4); +x_391 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_388, x_389, x_390, x_4, x_17); +x_392 = lean_ctor_get(x_391, 0); +lean_inc(x_392); +x_393 = lean_ctor_get(x_391, 1); +lean_inc(x_393); +lean_dec(x_391); +lean_inc(x_4); +lean_inc(x_392); +x_394 = l_Lean_Elab_Term_isTypeFormer(x_6, x_392, x_4, x_393); +if (lean_obj_tag(x_394) == 0) { -lean_object* x_387; lean_object* x_388; uint8_t x_389; -x_387 = lean_ctor_get(x_317, 1); -lean_inc(x_387); -lean_dec(x_317); -x_388 = lean_array_get_size(x_7); -x_389 = lean_nat_dec_lt(x_10, x_388); -lean_dec(x_388); -if (x_389 == 0) +lean_object* x_395; uint8_t x_396; +x_395 = lean_ctor_get(x_394, 0); +lean_inc(x_395); +x_396 = lean_unbox(x_395); +lean_dec(x_395); +if (x_396 == 0) { -uint8_t x_390; -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_7); -x_390 = l_Array_isEmpty___rarg(x_11); -if (x_390 == 0) -{ -lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_391 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_391, 0, x_80); -x_392 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__3; -x_393 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_393, 0, x_392); -lean_ctor_set(x_393, 1, x_391); -x_394 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__6; -x_395 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_395, 0, x_393); -lean_ctor_set(x_395, 1, x_394); -x_396 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__2(x_84, x_11); -x_397 = l_Array_toList___rarg(x_396); -lean_dec(x_396); -x_398 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_397); -x_399 = l_Array_HasRepr___rarg___closed__1; -x_400 = lean_string_append(x_399, x_398); -lean_dec(x_398); -x_401 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_401, 0, x_400); -x_402 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_402, 0, x_401); -x_403 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_403, 0, x_395); -lean_ctor_set(x_403, 1, x_402); -x_404 = l_Lean_Elab_Term_throwError___rarg(x_6, x_403, x_4, x_387); -lean_dec(x_6); -return x_404; +lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; +x_397 = lean_ctor_get(x_394, 1); +lean_inc(x_397); +lean_dec(x_394); +x_398 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_398, 0, x_6); +lean_ctor_set(x_398, 1, x_7); +lean_ctor_set(x_398, 2, x_8); +lean_ctor_set(x_398, 3, x_10); +lean_ctor_set(x_398, 4, x_11); +lean_ctor_set(x_398, 5, x_12); +lean_ctor_set(x_398, 6, x_13); +lean_ctor_set_uint8(x_398, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_398, sizeof(void*)*7 + 1, x_14); +lean_inc(x_392); +x_399 = l_Lean_mkApp(x_2, x_392); +x_400 = lean_expr_instantiate1(x_92, x_392); +lean_dec(x_392); +lean_dec(x_92); +x_1 = x_398; +x_2 = x_399; +x_3 = x_400; +x_5 = x_397; +goto _start; } else { -lean_dec(x_80); -lean_dec(x_11); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_405; -lean_dec(x_3); -x_405 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_387); -lean_dec(x_12); -if (lean_obj_tag(x_405) == 0) -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; -x_406 = lean_ctor_get(x_405, 1); -lean_inc(x_406); -if (lean_is_exclusive(x_405)) { - lean_ctor_release(x_405, 0); - lean_ctor_release(x_405, 1); - x_407 = x_405; -} else { - lean_dec_ref(x_405); - x_407 = lean_box(0); +lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; +x_402 = lean_ctor_get(x_394, 1); +lean_inc(x_402); +lean_dec(x_394); +x_403 = l_Lean_Expr_mvarId_x21(x_392); +x_404 = lean_array_push(x_13, x_403); +x_405 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_405, 0, x_6); +lean_ctor_set(x_405, 1, x_7); +lean_ctor_set(x_405, 2, x_8); +lean_ctor_set(x_405, 3, x_10); +lean_ctor_set(x_405, 4, x_11); +lean_ctor_set(x_405, 5, x_12); +lean_ctor_set(x_405, 6, x_404); +lean_ctor_set_uint8(x_405, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_405, sizeof(void*)*7 + 1, x_14); +lean_inc(x_392); +x_406 = l_Lean_mkApp(x_2, x_392); +x_407 = lean_expr_instantiate1(x_92, x_392); +lean_dec(x_392); +lean_dec(x_92); +x_1 = x_405; +x_2 = x_406; +x_3 = x_407; +x_5 = x_402; +goto _start; } -if (lean_is_scalar(x_407)) { - x_408 = lean_alloc_ctor(0, 2, 0); -} else { - x_408 = x_407; -} -lean_ctor_set(x_408, 0, x_2); -lean_ctor_set(x_408, 1, x_406); -return x_408; } else { lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; +lean_dec(x_392); +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); lean_dec(x_2); -x_409 = lean_ctor_get(x_405, 0); +x_409 = lean_ctor_get(x_394, 0); lean_inc(x_409); -x_410 = lean_ctor_get(x_405, 1); +x_410 = lean_ctor_get(x_394, 1); lean_inc(x_410); -if (lean_is_exclusive(x_405)) { - lean_ctor_release(x_405, 0); - lean_ctor_release(x_405, 1); - x_411 = x_405; +if (lean_is_exclusive(x_394)) { + lean_ctor_release(x_394, 0); + lean_ctor_release(x_394, 1); + x_411 = x_394; } else { - lean_dec_ref(x_405); + lean_dec_ref(x_394); x_411 = lean_box(0); } if (lean_is_scalar(x_411)) { @@ -4271,359 +4516,4263 @@ lean_ctor_set(x_412, 1, x_410); return x_412; } } -else -{ -lean_object* x_413; lean_object* x_414; -x_413 = lean_ctor_get(x_8, 0); -lean_inc(x_413); -lean_dec(x_8); -lean_inc(x_4); -x_414 = l_Lean_Elab_Term_isDefEq(x_6, x_413, x_3, x_4, x_387); -if (lean_obj_tag(x_414) == 0) -{ -lean_object* x_415; lean_object* x_416; -x_415 = lean_ctor_get(x_414, 1); -lean_inc(x_415); -lean_dec(x_414); -x_416 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_84, x_4, x_415); -lean_dec(x_12); -if (lean_obj_tag(x_416) == 0) -{ -lean_object* x_417; lean_object* x_418; lean_object* x_419; -x_417 = lean_ctor_get(x_416, 1); -lean_inc(x_417); -if (lean_is_exclusive(x_416)) { - lean_ctor_release(x_416, 0); - lean_ctor_release(x_416, 1); - x_418 = x_416; -} else { - lean_dec_ref(x_416); - x_418 = lean_box(0); -} -if (lean_is_scalar(x_418)) { - x_419 = lean_alloc_ctor(0, 2, 0); -} else { - x_419 = x_418; -} -lean_ctor_set(x_419, 0, x_2); -lean_ctor_set(x_419, 1, x_417); -return x_419; } else { -lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; -lean_dec(x_2); -x_420 = lean_ctor_get(x_416, 0); -lean_inc(x_420); -x_421 = lean_ctor_get(x_416, 1); -lean_inc(x_421); -if (lean_is_exclusive(x_416)) { - lean_ctor_release(x_416, 0); - lean_ctor_release(x_416, 1); - x_422 = x_416; -} else { - lean_dec_ref(x_416); - x_422 = lean_box(0); -} -if (lean_is_scalar(x_422)) { - x_423 = lean_alloc_ctor(1, 2, 0); -} else { - x_423 = x_422; -} -lean_ctor_set(x_423, 0, x_420); -lean_ctor_set(x_423, 1, x_421); -return x_423; -} -} -else -{ -lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_424 = lean_ctor_get(x_414, 0); -lean_inc(x_424); -x_425 = lean_ctor_get(x_414, 1); -lean_inc(x_425); -if (lean_is_exclusive(x_414)) { - lean_ctor_release(x_414, 0); - lean_ctor_release(x_414, 1); - x_426 = x_414; -} else { - lean_dec_ref(x_414); - x_426 = lean_box(0); -} -if (lean_is_scalar(x_426)) { - x_427 = lean_alloc_ctor(1, 2, 0); -} else { - x_427 = x_426; -} -lean_ctor_set(x_427, 0, x_424); -lean_ctor_set(x_427, 1, x_425); -return x_427; -} -} -} -} -else -{ -lean_object* x_428; lean_object* x_429; -lean_dec(x_80); -lean_dec(x_3); -x_428 = lean_array_fget(x_7, x_10); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_6); -x_429 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_428, x_81, x_4, x_387); -if (lean_obj_tag(x_429) == 0) -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; uint8_t x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; -x_430 = lean_ctor_get(x_429, 0); -lean_inc(x_430); -x_431 = lean_ctor_get(x_429, 1); -lean_inc(x_431); -lean_dec(x_429); -x_432 = lean_unsigned_to_nat(1u); -x_433 = lean_nat_add(x_10, x_432); -lean_dec(x_10); -x_434 = 1; -x_435 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_435, 0, x_6); -lean_ctor_set(x_435, 1, x_7); -lean_ctor_set(x_435, 2, x_8); -lean_ctor_set(x_435, 3, x_433); -lean_ctor_set(x_435, 4, x_11); -lean_ctor_set(x_435, 5, x_12); -lean_ctor_set(x_435, 6, x_13); -lean_ctor_set_uint8(x_435, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_435, sizeof(void*)*7 + 1, x_434); -lean_inc(x_430); -x_436 = l_Lean_mkApp(x_2, x_430); -x_437 = lean_expr_instantiate1(x_82, x_430); -lean_dec(x_430); -lean_dec(x_82); -x_1 = x_435; -x_2 = x_436; -x_3 = x_437; -x_5 = x_431; -goto _start; -} -else -{ -lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; -lean_dec(x_82); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_439 = lean_ctor_get(x_429, 0); -lean_inc(x_439); -x_440 = lean_ctor_get(x_429, 1); -lean_inc(x_440); -if (lean_is_exclusive(x_429)) { - lean_ctor_release(x_429, 0); - lean_ctor_release(x_429, 1); - x_441 = x_429; -} else { - lean_dec_ref(x_429); - x_441 = lean_box(0); -} -if (lean_is_scalar(x_441)) { - x_442 = lean_alloc_ctor(1, 2, 0); -} else { - x_442 = x_441; -} -lean_ctor_set(x_442, 0, x_439); -lean_ctor_set(x_442, 1, x_440); -return x_442; -} -} -} -else -{ -lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_80); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_443 = lean_ctor_get(x_317, 0); -lean_inc(x_443); -x_444 = lean_ctor_get(x_317, 1); -lean_inc(x_444); -if (lean_is_exclusive(x_317)) { - lean_ctor_release(x_317, 0); - lean_ctor_release(x_317, 1); - x_445 = x_317; -} else { - lean_dec_ref(x_317); - x_445 = lean_box(0); -} -if (lean_is_scalar(x_445)) { - x_446 = lean_alloc_ctor(1, 2, 0); -} else { - x_446 = x_445; -} -lean_ctor_set(x_446, 0, x_443); -lean_ctor_set(x_446, 1, x_444); -return x_446; -} -} -} -} -else -{ -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_dec(x_80); -lean_dec(x_3); -x_447 = lean_ctor_get(x_85, 0); -lean_inc(x_447); -lean_dec(x_85); -x_448 = l_Lean_Elab_Term_NamedArg_inhabited; -x_449 = lean_array_get(x_448, x_11, x_447); -x_450 = l_Array_eraseIdx___rarg(x_11, x_447); -lean_dec(x_447); -x_451 = lean_ctor_get(x_449, 1); -lean_inc(x_451); -lean_dec(x_449); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_6); -x_452 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_451, x_81, x_4, x_17); -if (lean_obj_tag(x_452) == 0) -{ -lean_object* x_453; lean_object* x_454; lean_object* x_455; uint8_t x_456; -x_453 = lean_ctor_get(x_452, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_452, 1); -lean_inc(x_454); -lean_dec(x_452); +lean_object* x_413; uint8_t x_414; lean_inc(x_4); lean_inc(x_1); -x_455 = l___private_Init_Lean_Elab_App_9__propagateExpectedType(x_1, x_16, x_4, x_454); -x_456 = !lean_is_exclusive(x_1); -if (x_456 == 0) +x_413 = l___private_Init_Lean_Elab_App_9__propagateExpectedType(x_1, x_16, x_4, x_17); +x_414 = !lean_is_exclusive(x_1); +if (x_414 == 0) { -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_457 = lean_ctor_get(x_1, 6); -lean_dec(x_457); -x_458 = lean_ctor_get(x_1, 5); -lean_dec(x_458); -x_459 = lean_ctor_get(x_1, 4); -lean_dec(x_459); -x_460 = lean_ctor_get(x_1, 3); -lean_dec(x_460); -x_461 = lean_ctor_get(x_1, 2); -lean_dec(x_461); -x_462 = lean_ctor_get(x_1, 1); -lean_dec(x_462); -x_463 = lean_ctor_get(x_1, 0); -lean_dec(x_463); -if (lean_obj_tag(x_455) == 0) +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; +x_415 = lean_ctor_get(x_1, 6); +lean_dec(x_415); +x_416 = lean_ctor_get(x_1, 5); +lean_dec(x_416); +x_417 = lean_ctor_get(x_1, 4); +lean_dec(x_417); +x_418 = lean_ctor_get(x_1, 3); +lean_dec(x_418); +x_419 = lean_ctor_get(x_1, 2); +lean_dec(x_419); +x_420 = lean_ctor_get(x_1, 1); +lean_dec(x_420); +x_421 = lean_ctor_get(x_1, 0); +lean_dec(x_421); +if (lean_obj_tag(x_413) == 0) { -lean_object* x_464; uint8_t x_465; lean_object* x_466; lean_object* x_467; -x_464 = lean_ctor_get(x_455, 1); -lean_inc(x_464); +lean_object* x_422; lean_object* x_423; uint8_t x_424; +x_422 = lean_ctor_get(x_413, 1); +lean_inc(x_422); +lean_dec(x_413); +x_423 = lean_array_get_size(x_7); +x_424 = lean_nat_dec_lt(x_10, x_423); +lean_dec(x_423); +if (x_424 == 0) +{ +uint8_t x_425; +lean_free_object(x_1); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +x_425 = l_Array_isEmpty___rarg(x_11); +if (x_425 == 0) +{ +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_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_426 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_426, 0, x_90); +x_427 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_428 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_428, 0, x_427); +lean_ctor_set(x_428, 1, x_426); +x_429 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_430 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_430, 0, x_428); +lean_ctor_set(x_430, 1, x_429); +x_431 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_432 = l_Array_toList___rarg(x_431); +lean_dec(x_431); +x_433 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_432); +x_434 = l_Array_HasRepr___rarg___closed__1; +x_435 = lean_string_append(x_434, x_433); +lean_dec(x_433); +x_436 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_436, 0, x_435); +x_437 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_437, 0, x_436); +x_438 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_438, 0, x_430); +lean_ctor_set(x_438, 1, x_437); +x_439 = l_Lean_Elab_Term_throwError___rarg(x_6, x_438, x_4, x_422); +lean_dec(x_6); +return x_439; +} +else +{ +lean_object* x_440; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; uint8_t x_471; +lean_dec(x_90); +lean_dec(x_11); +x_467 = l_Lean_Elab_Term_getOptions(x_4, x_422); +x_468 = lean_ctor_get(x_467, 0); +lean_inc(x_468); +x_469 = lean_ctor_get(x_467, 1); +lean_inc(x_469); +lean_dec(x_467); +x_470 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_471 = l_Lean_checkTraceOption(x_468, x_470); +lean_dec(x_468); +if (x_471 == 0) +{ +x_440 = x_469; +goto block_466; +} +else +{ +lean_object* x_472; lean_object* x_473; lean_object* x_474; +lean_inc(x_2); +x_472 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_472, 0, x_2); +x_473 = l_Lean_Elab_Term_logTrace(x_470, x_6, x_472, x_4, x_469); +x_474 = lean_ctor_get(x_473, 1); +lean_inc(x_474); +lean_dec(x_473); +x_440 = x_474; +goto block_466; +} +block_466: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_441; +lean_dec(x_3); +x_441 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_440); +lean_dec(x_12); +if (lean_obj_tag(x_441) == 0) +{ +uint8_t x_442; +x_442 = !lean_is_exclusive(x_441); +if (x_442 == 0) +{ +lean_object* x_443; +x_443 = lean_ctor_get(x_441, 0); +lean_dec(x_443); +lean_ctor_set(x_441, 0, x_2); +return x_441; +} +else +{ +lean_object* x_444; lean_object* x_445; +x_444 = lean_ctor_get(x_441, 1); +lean_inc(x_444); +lean_dec(x_441); +x_445 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_445, 0, x_2); +lean_ctor_set(x_445, 1, x_444); +return x_445; +} +} +else +{ +uint8_t x_446; +lean_dec(x_2); +x_446 = !lean_is_exclusive(x_441); +if (x_446 == 0) +{ +return x_441; +} +else +{ +lean_object* x_447; lean_object* x_448; lean_object* x_449; +x_447 = lean_ctor_get(x_441, 0); +x_448 = lean_ctor_get(x_441, 1); +lean_inc(x_448); +lean_inc(x_447); +lean_dec(x_441); +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_447); +lean_ctor_set(x_449, 1, x_448); +return x_449; +} +} +} +else +{ +lean_object* x_450; lean_object* x_451; +x_450 = lean_ctor_get(x_8, 0); +lean_inc(x_450); +lean_dec(x_8); +lean_inc(x_4); +x_451 = l_Lean_Elab_Term_isDefEq(x_6, x_450, x_3, x_4, x_440); +if (lean_obj_tag(x_451) == 0) +{ +lean_object* x_452; lean_object* x_453; +x_452 = lean_ctor_get(x_451, 1); +lean_inc(x_452); +lean_dec(x_451); +x_453 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_452); +lean_dec(x_12); +if (lean_obj_tag(x_453) == 0) +{ +uint8_t x_454; +x_454 = !lean_is_exclusive(x_453); +if (x_454 == 0) +{ +lean_object* x_455; +x_455 = lean_ctor_get(x_453, 0); lean_dec(x_455); -x_465 = 1; -lean_ctor_set(x_1, 4, x_450); -lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_465); -lean_inc(x_453); -x_466 = l_Lean_mkApp(x_2, x_453); -x_467 = lean_expr_instantiate1(x_82, x_453); +lean_ctor_set(x_453, 0, x_2); +return x_453; +} +else +{ +lean_object* x_456; lean_object* x_457; +x_456 = lean_ctor_get(x_453, 1); +lean_inc(x_456); lean_dec(x_453); -lean_dec(x_82); -x_2 = x_466; -x_3 = x_467; -x_5 = x_464; +x_457 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_457, 0, x_2); +lean_ctor_set(x_457, 1, x_456); +return x_457; +} +} +else +{ +uint8_t x_458; +lean_dec(x_2); +x_458 = !lean_is_exclusive(x_453); +if (x_458 == 0) +{ +return x_453; +} +else +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_459 = lean_ctor_get(x_453, 0); +x_460 = lean_ctor_get(x_453, 1); +lean_inc(x_460); +lean_inc(x_459); +lean_dec(x_453); +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_459); +lean_ctor_set(x_461, 1, x_460); +return x_461; +} +} +} +else +{ +uint8_t x_462; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_462 = !lean_is_exclusive(x_451); +if (x_462 == 0) +{ +return x_451; +} +else +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; +x_463 = lean_ctor_get(x_451, 0); +x_464 = lean_ctor_get(x_451, 1); +lean_inc(x_464); +lean_inc(x_463); +lean_dec(x_451); +x_465 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_465, 0, x_463); +lean_ctor_set(x_465, 1, x_464); +return x_465; +} +} +} +} +} +} +else +{ +lean_object* x_475; lean_object* x_476; +lean_dec(x_90); +lean_dec(x_3); +x_475 = lean_array_fget(x_7, x_10); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_476 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_475, x_91, x_4, x_422); +if (lean_obj_tag(x_476) == 0) +{ +lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; uint8_t x_481; lean_object* x_482; lean_object* x_483; +x_477 = lean_ctor_get(x_476, 0); +lean_inc(x_477); +x_478 = lean_ctor_get(x_476, 1); +lean_inc(x_478); +lean_dec(x_476); +x_479 = lean_unsigned_to_nat(1u); +x_480 = lean_nat_add(x_10, x_479); +lean_dec(x_10); +x_481 = 1; +lean_ctor_set(x_1, 3, x_480); +lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_481); +lean_inc(x_477); +x_482 = l_Lean_mkApp(x_2, x_477); +x_483 = lean_expr_instantiate1(x_92, x_477); +lean_dec(x_477); +lean_dec(x_92); +x_2 = x_482; +x_3 = x_483; +x_5 = x_478; goto _start; } else { -uint8_t x_469; +uint8_t x_485; lean_free_object(x_1); -lean_dec(x_453); -lean_dec(x_450); -lean_dec(x_82); +lean_dec(x_92); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_469 = !lean_is_exclusive(x_455); -if (x_469 == 0) +x_485 = !lean_is_exclusive(x_476); +if (x_485 == 0) { -return x_455; +return x_476; } else { -lean_object* x_470; lean_object* x_471; lean_object* x_472; -x_470 = lean_ctor_get(x_455, 0); -x_471 = lean_ctor_get(x_455, 1); -lean_inc(x_471); -lean_inc(x_470); -lean_dec(x_455); -x_472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_472, 0, x_470); -lean_ctor_set(x_472, 1, x_471); -return x_472; +lean_object* x_486; lean_object* x_487; lean_object* x_488; +x_486 = lean_ctor_get(x_476, 0); +x_487 = lean_ctor_get(x_476, 1); +lean_inc(x_487); +lean_inc(x_486); +lean_dec(x_476); +x_488 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_488, 0, x_486); +lean_ctor_set(x_488, 1, x_487); +return x_488; +} +} +} +} +else +{ +uint8_t x_489; +lean_free_object(x_1); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_489 = !lean_is_exclusive(x_413); +if (x_489 == 0) +{ +return x_413; +} +else +{ +lean_object* x_490; lean_object* x_491; lean_object* x_492; +x_490 = lean_ctor_get(x_413, 0); +x_491 = lean_ctor_get(x_413, 1); +lean_inc(x_491); +lean_inc(x_490); +lean_dec(x_413); +x_492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_492, 0, x_490); +lean_ctor_set(x_492, 1, x_491); +return x_492; } } } else { lean_dec(x_1); -if (lean_obj_tag(x_455) == 0) +if (lean_obj_tag(x_413) == 0) { -lean_object* x_473; uint8_t x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; -x_473 = lean_ctor_get(x_455, 1); -lean_inc(x_473); -lean_dec(x_455); -x_474 = 1; -x_475 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_475, 0, x_6); -lean_ctor_set(x_475, 1, x_7); -lean_ctor_set(x_475, 2, x_8); -lean_ctor_set(x_475, 3, x_10); -lean_ctor_set(x_475, 4, x_450); -lean_ctor_set(x_475, 5, x_12); -lean_ctor_set(x_475, 6, x_13); -lean_ctor_set_uint8(x_475, sizeof(void*)*7, x_9); -lean_ctor_set_uint8(x_475, sizeof(void*)*7 + 1, x_474); -lean_inc(x_453); -x_476 = l_Lean_mkApp(x_2, x_453); -x_477 = lean_expr_instantiate1(x_82, x_453); -lean_dec(x_453); -lean_dec(x_82); -x_1 = x_475; -x_2 = x_476; -x_3 = x_477; -x_5 = x_473; +lean_object* x_493; lean_object* x_494; uint8_t x_495; +x_493 = lean_ctor_get(x_413, 1); +lean_inc(x_493); +lean_dec(x_413); +x_494 = lean_array_get_size(x_7); +x_495 = lean_nat_dec_lt(x_10, x_494); +lean_dec(x_494); +if (x_495 == 0) +{ +uint8_t x_496; +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +x_496 = l_Array_isEmpty___rarg(x_11); +if (x_496 == 0) +{ +lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_497 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_497, 0, x_90); +x_498 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_499 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_499, 0, x_498); +lean_ctor_set(x_499, 1, x_497); +x_500 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_501 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_501, 0, x_499); +lean_ctor_set(x_501, 1, x_500); +x_502 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_503 = l_Array_toList___rarg(x_502); +lean_dec(x_502); +x_504 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_503); +x_505 = l_Array_HasRepr___rarg___closed__1; +x_506 = lean_string_append(x_505, x_504); +lean_dec(x_504); +x_507 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_507, 0, x_506); +x_508 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_508, 0, x_507); +x_509 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_509, 0, x_501); +lean_ctor_set(x_509, 1, x_508); +x_510 = l_Lean_Elab_Term_throwError___rarg(x_6, x_509, x_4, x_493); +lean_dec(x_6); +return x_510; +} +else +{ +lean_object* x_511; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; uint8_t x_540; +lean_dec(x_90); +lean_dec(x_11); +x_536 = l_Lean_Elab_Term_getOptions(x_4, x_493); +x_537 = lean_ctor_get(x_536, 0); +lean_inc(x_537); +x_538 = lean_ctor_get(x_536, 1); +lean_inc(x_538); +lean_dec(x_536); +x_539 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_540 = l_Lean_checkTraceOption(x_537, x_539); +lean_dec(x_537); +if (x_540 == 0) +{ +x_511 = x_538; +goto block_535; +} +else +{ +lean_object* x_541; lean_object* x_542; lean_object* x_543; +lean_inc(x_2); +x_541 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_541, 0, x_2); +x_542 = l_Lean_Elab_Term_logTrace(x_539, x_6, x_541, x_4, x_538); +x_543 = lean_ctor_get(x_542, 1); +lean_inc(x_543); +lean_dec(x_542); +x_511 = x_543; +goto block_535; +} +block_535: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_512; +lean_dec(x_3); +x_512 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_511); +lean_dec(x_12); +if (lean_obj_tag(x_512) == 0) +{ +lean_object* x_513; lean_object* x_514; lean_object* x_515; +x_513 = lean_ctor_get(x_512, 1); +lean_inc(x_513); +if (lean_is_exclusive(x_512)) { + lean_ctor_release(x_512, 0); + lean_ctor_release(x_512, 1); + x_514 = x_512; +} else { + lean_dec_ref(x_512); + x_514 = lean_box(0); +} +if (lean_is_scalar(x_514)) { + x_515 = lean_alloc_ctor(0, 2, 0); +} else { + x_515 = x_514; +} +lean_ctor_set(x_515, 0, x_2); +lean_ctor_set(x_515, 1, x_513); +return x_515; +} +else +{ +lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; +lean_dec(x_2); +x_516 = lean_ctor_get(x_512, 0); +lean_inc(x_516); +x_517 = lean_ctor_get(x_512, 1); +lean_inc(x_517); +if (lean_is_exclusive(x_512)) { + lean_ctor_release(x_512, 0); + lean_ctor_release(x_512, 1); + x_518 = x_512; +} else { + lean_dec_ref(x_512); + x_518 = lean_box(0); +} +if (lean_is_scalar(x_518)) { + x_519 = lean_alloc_ctor(1, 2, 0); +} else { + x_519 = x_518; +} +lean_ctor_set(x_519, 0, x_516); +lean_ctor_set(x_519, 1, x_517); +return x_519; +} +} +else +{ +lean_object* x_520; lean_object* x_521; +x_520 = lean_ctor_get(x_8, 0); +lean_inc(x_520); +lean_dec(x_8); +lean_inc(x_4); +x_521 = l_Lean_Elab_Term_isDefEq(x_6, x_520, x_3, x_4, x_511); +if (lean_obj_tag(x_521) == 0) +{ +lean_object* x_522; lean_object* x_523; +x_522 = lean_ctor_get(x_521, 1); +lean_inc(x_522); +lean_dec(x_521); +x_523 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_522); +lean_dec(x_12); +if (lean_obj_tag(x_523) == 0) +{ +lean_object* x_524; lean_object* x_525; lean_object* x_526; +x_524 = lean_ctor_get(x_523, 1); +lean_inc(x_524); +if (lean_is_exclusive(x_523)) { + lean_ctor_release(x_523, 0); + lean_ctor_release(x_523, 1); + x_525 = x_523; +} else { + lean_dec_ref(x_523); + x_525 = lean_box(0); +} +if (lean_is_scalar(x_525)) { + x_526 = lean_alloc_ctor(0, 2, 0); +} else { + x_526 = x_525; +} +lean_ctor_set(x_526, 0, x_2); +lean_ctor_set(x_526, 1, x_524); +return x_526; +} +else +{ +lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; +lean_dec(x_2); +x_527 = lean_ctor_get(x_523, 0); +lean_inc(x_527); +x_528 = lean_ctor_get(x_523, 1); +lean_inc(x_528); +if (lean_is_exclusive(x_523)) { + lean_ctor_release(x_523, 0); + lean_ctor_release(x_523, 1); + x_529 = x_523; +} else { + lean_dec_ref(x_523); + x_529 = lean_box(0); +} +if (lean_is_scalar(x_529)) { + x_530 = lean_alloc_ctor(1, 2, 0); +} else { + x_530 = x_529; +} +lean_ctor_set(x_530, 0, x_527); +lean_ctor_set(x_530, 1, x_528); +return x_530; +} +} +else +{ +lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_531 = lean_ctor_get(x_521, 0); +lean_inc(x_531); +x_532 = lean_ctor_get(x_521, 1); +lean_inc(x_532); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_533 = x_521; +} else { + lean_dec_ref(x_521); + x_533 = lean_box(0); +} +if (lean_is_scalar(x_533)) { + x_534 = lean_alloc_ctor(1, 2, 0); +} else { + x_534 = x_533; +} +lean_ctor_set(x_534, 0, x_531); +lean_ctor_set(x_534, 1, x_532); +return x_534; +} +} +} +} +} +else +{ +lean_object* x_544; lean_object* x_545; +lean_dec(x_90); +lean_dec(x_3); +x_544 = lean_array_fget(x_7, x_10); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_545 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_544, x_91, x_4, x_493); +if (lean_obj_tag(x_545) == 0) +{ +lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; uint8_t x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; +x_546 = lean_ctor_get(x_545, 0); +lean_inc(x_546); +x_547 = lean_ctor_get(x_545, 1); +lean_inc(x_547); +lean_dec(x_545); +x_548 = lean_unsigned_to_nat(1u); +x_549 = lean_nat_add(x_10, x_548); +lean_dec(x_10); +x_550 = 1; +x_551 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_551, 0, x_6); +lean_ctor_set(x_551, 1, x_7); +lean_ctor_set(x_551, 2, x_8); +lean_ctor_set(x_551, 3, x_549); +lean_ctor_set(x_551, 4, x_11); +lean_ctor_set(x_551, 5, x_12); +lean_ctor_set(x_551, 6, x_13); +lean_ctor_set_uint8(x_551, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_551, sizeof(void*)*7 + 1, x_550); +lean_inc(x_546); +x_552 = l_Lean_mkApp(x_2, x_546); +x_553 = lean_expr_instantiate1(x_92, x_546); +lean_dec(x_546); +lean_dec(x_92); +x_1 = x_551; +x_2 = x_552; +x_3 = x_553; +x_5 = x_547; goto _start; } else { -lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; -lean_dec(x_453); -lean_dec(x_450); -lean_dec(x_82); +lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_555 = lean_ctor_get(x_545, 0); +lean_inc(x_555); +x_556 = lean_ctor_get(x_545, 1); +lean_inc(x_556); +if (lean_is_exclusive(x_545)) { + lean_ctor_release(x_545, 0); + lean_ctor_release(x_545, 1); + x_557 = x_545; +} else { + lean_dec_ref(x_545); + x_557 = lean_box(0); +} +if (lean_is_scalar(x_557)) { + x_558 = lean_alloc_ctor(1, 2, 0); +} else { + x_558 = x_557; +} +lean_ctor_set(x_558, 0, x_555); +lean_ctor_set(x_558, 1, x_556); +return x_558; +} +} +} +else +{ +lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_559 = lean_ctor_get(x_413, 0); +lean_inc(x_559); +x_560 = lean_ctor_get(x_413, 1); +lean_inc(x_560); +if (lean_is_exclusive(x_413)) { + lean_ctor_release(x_413, 0); + lean_ctor_release(x_413, 1); + x_561 = x_413; +} else { + lean_dec_ref(x_413); + x_561 = lean_box(0); +} +if (lean_is_scalar(x_561)) { + x_562 = lean_alloc_ctor(1, 2, 0); +} else { + x_562 = x_561; +} +lean_ctor_set(x_562, 0, x_559); +lean_ctor_set(x_562, 1, x_560); +return x_562; +} +} +} +} +case 2: +{ +lean_object* x_563; uint8_t x_564; +lean_inc(x_4); +lean_inc(x_1); +x_563 = l___private_Init_Lean_Elab_App_9__propagateExpectedType(x_1, x_16, x_4, x_17); +x_564 = !lean_is_exclusive(x_1); +if (x_564 == 0) +{ +lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; +x_565 = lean_ctor_get(x_1, 6); +lean_dec(x_565); +x_566 = lean_ctor_get(x_1, 5); +lean_dec(x_566); +x_567 = lean_ctor_get(x_1, 4); +lean_dec(x_567); +x_568 = lean_ctor_get(x_1, 3); +lean_dec(x_568); +x_569 = lean_ctor_get(x_1, 2); +lean_dec(x_569); +x_570 = lean_ctor_get(x_1, 1); +lean_dec(x_570); +x_571 = lean_ctor_get(x_1, 0); +lean_dec(x_571); +if (lean_obj_tag(x_563) == 0) +{ +lean_object* x_572; uint8_t x_573; lean_object* x_574; uint8_t x_575; +x_572 = lean_ctor_get(x_563, 1); +lean_inc(x_572); +lean_dec(x_563); +x_573 = 1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_573); +x_574 = lean_array_get_size(x_7); +x_575 = lean_nat_dec_lt(x_10, x_574); +lean_dec(x_574); +if (x_575 == 0) +{ +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +if (x_9 == 0) +{ +lean_object* x_576; +x_576 = l_Lean_Expr_getOptParamDefault_x3f(x_91); +lean_dec(x_91); +if (lean_obj_tag(x_576) == 0) +{ +uint8_t x_577; +lean_dec(x_1); +lean_dec(x_92); +x_577 = l_Array_isEmpty___rarg(x_11); +if (x_577 == 0) +{ +lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_578 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_578, 0, x_90); +x_579 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_580 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_580, 0, x_579); +lean_ctor_set(x_580, 1, x_578); +x_581 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_582 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_582, 0, x_580); +lean_ctor_set(x_582, 1, x_581); +x_583 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_584 = l_Array_toList___rarg(x_583); +lean_dec(x_583); +x_585 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_584); +x_586 = l_Array_HasRepr___rarg___closed__1; +x_587 = lean_string_append(x_586, x_585); +lean_dec(x_585); +x_588 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_588, 0, x_587); +x_589 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_589, 0, x_588); +x_590 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_590, 0, x_582); +lean_ctor_set(x_590, 1, x_589); +x_591 = l_Lean_Elab_Term_throwError___rarg(x_6, x_590, x_4, x_572); +lean_dec(x_6); +return x_591; +} +else +{ +lean_object* x_592; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; uint8_t x_623; +lean_dec(x_90); +lean_dec(x_11); +x_619 = l_Lean_Elab_Term_getOptions(x_4, x_572); +x_620 = lean_ctor_get(x_619, 0); +lean_inc(x_620); +x_621 = lean_ctor_get(x_619, 1); +lean_inc(x_621); +lean_dec(x_619); +x_622 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_623 = l_Lean_checkTraceOption(x_620, x_622); +lean_dec(x_620); +if (x_623 == 0) +{ +x_592 = x_621; +goto block_618; +} +else +{ +lean_object* x_624; lean_object* x_625; lean_object* x_626; +lean_inc(x_2); +x_624 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_624, 0, x_2); +x_625 = l_Lean_Elab_Term_logTrace(x_622, x_6, x_624, x_4, x_621); +x_626 = lean_ctor_get(x_625, 1); +lean_inc(x_626); +lean_dec(x_625); +x_592 = x_626; +goto block_618; +} +block_618: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_593; +lean_dec(x_3); +x_593 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_592); +lean_dec(x_12); +if (lean_obj_tag(x_593) == 0) +{ +uint8_t x_594; +x_594 = !lean_is_exclusive(x_593); +if (x_594 == 0) +{ +lean_object* x_595; +x_595 = lean_ctor_get(x_593, 0); +lean_dec(x_595); +lean_ctor_set(x_593, 0, x_2); +return x_593; +} +else +{ +lean_object* x_596; lean_object* x_597; +x_596 = lean_ctor_get(x_593, 1); +lean_inc(x_596); +lean_dec(x_593); +x_597 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_597, 0, x_2); +lean_ctor_set(x_597, 1, x_596); +return x_597; +} +} +else +{ +uint8_t x_598; +lean_dec(x_2); +x_598 = !lean_is_exclusive(x_593); +if (x_598 == 0) +{ +return x_593; +} +else +{ +lean_object* x_599; lean_object* x_600; lean_object* x_601; +x_599 = lean_ctor_get(x_593, 0); +x_600 = lean_ctor_get(x_593, 1); +lean_inc(x_600); +lean_inc(x_599); +lean_dec(x_593); +x_601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_601, 0, x_599); +lean_ctor_set(x_601, 1, x_600); +return x_601; +} +} +} +else +{ +lean_object* x_602; lean_object* x_603; +x_602 = lean_ctor_get(x_8, 0); +lean_inc(x_602); +lean_dec(x_8); +lean_inc(x_4); +x_603 = l_Lean_Elab_Term_isDefEq(x_6, x_602, x_3, x_4, x_592); +if (lean_obj_tag(x_603) == 0) +{ +lean_object* x_604; lean_object* x_605; +x_604 = lean_ctor_get(x_603, 1); +lean_inc(x_604); +lean_dec(x_603); +x_605 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_604); +lean_dec(x_12); +if (lean_obj_tag(x_605) == 0) +{ +uint8_t x_606; +x_606 = !lean_is_exclusive(x_605); +if (x_606 == 0) +{ +lean_object* x_607; +x_607 = lean_ctor_get(x_605, 0); +lean_dec(x_607); +lean_ctor_set(x_605, 0, x_2); +return x_605; +} +else +{ +lean_object* x_608; lean_object* x_609; +x_608 = lean_ctor_get(x_605, 1); +lean_inc(x_608); +lean_dec(x_605); +x_609 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_609, 0, x_2); +lean_ctor_set(x_609, 1, x_608); +return x_609; +} +} +else +{ +uint8_t x_610; +lean_dec(x_2); +x_610 = !lean_is_exclusive(x_605); +if (x_610 == 0) +{ +return x_605; +} +else +{ +lean_object* x_611; lean_object* x_612; lean_object* x_613; +x_611 = lean_ctor_get(x_605, 0); +x_612 = lean_ctor_get(x_605, 1); +lean_inc(x_612); +lean_inc(x_611); +lean_dec(x_605); +x_613 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_613, 0, x_611); +lean_ctor_set(x_613, 1, x_612); +return x_613; +} +} +} +else +{ +uint8_t x_614; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_614 = !lean_is_exclusive(x_603); +if (x_614 == 0) +{ +return x_603; +} +else +{ +lean_object* x_615; lean_object* x_616; lean_object* x_617; +x_615 = lean_ctor_get(x_603, 0); +x_616 = lean_ctor_get(x_603, 1); +lean_inc(x_616); +lean_inc(x_615); +lean_dec(x_603); +x_617 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_617, 0, x_615); +lean_ctor_set(x_617, 1, x_616); +return x_617; +} +} +} +} +} +} +else +{ +lean_object* x_627; lean_object* x_628; lean_object* x_629; +lean_dec(x_90); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_627 = lean_ctor_get(x_576, 0); +lean_inc(x_627); +lean_dec(x_576); +lean_inc(x_627); +x_628 = l_Lean_mkApp(x_2, x_627); +x_629 = lean_expr_instantiate1(x_92, x_627); +lean_dec(x_627); +lean_dec(x_92); +x_2 = x_628; +x_3 = x_629; +x_5 = x_572; +goto _start; +} +} +else +{ +uint8_t x_631; +lean_dec(x_1); +lean_dec(x_92); +lean_dec(x_91); +x_631 = l_Array_isEmpty___rarg(x_11); +if (x_631 == 0) +{ +lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_632 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_632, 0, x_90); +x_633 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_634 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_634, 0, x_633); +lean_ctor_set(x_634, 1, x_632); +x_635 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_636 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_636, 0, x_634); +lean_ctor_set(x_636, 1, x_635); +x_637 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_638 = l_Array_toList___rarg(x_637); +lean_dec(x_637); +x_639 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_638); +x_640 = l_Array_HasRepr___rarg___closed__1; +x_641 = lean_string_append(x_640, x_639); +lean_dec(x_639); +x_642 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_642, 0, x_641); +x_643 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_643, 0, x_642); +x_644 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_644, 0, x_636); +lean_ctor_set(x_644, 1, x_643); +x_645 = l_Lean_Elab_Term_throwError___rarg(x_6, x_644, x_4, x_572); +lean_dec(x_6); +return x_645; +} +else +{ +lean_object* x_646; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; uint8_t x_677; +lean_dec(x_90); +lean_dec(x_11); +x_673 = l_Lean_Elab_Term_getOptions(x_4, x_572); +x_674 = lean_ctor_get(x_673, 0); +lean_inc(x_674); +x_675 = lean_ctor_get(x_673, 1); +lean_inc(x_675); +lean_dec(x_673); +x_676 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_677 = l_Lean_checkTraceOption(x_674, x_676); +lean_dec(x_674); +if (x_677 == 0) +{ +x_646 = x_675; +goto block_672; +} +else +{ +lean_object* x_678; lean_object* x_679; lean_object* x_680; +lean_inc(x_2); +x_678 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_678, 0, x_2); +x_679 = l_Lean_Elab_Term_logTrace(x_676, x_6, x_678, x_4, x_675); +x_680 = lean_ctor_get(x_679, 1); +lean_inc(x_680); +lean_dec(x_679); +x_646 = x_680; +goto block_672; +} +block_672: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_647; +lean_dec(x_3); +x_647 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_646); +lean_dec(x_12); +if (lean_obj_tag(x_647) == 0) +{ +uint8_t x_648; +x_648 = !lean_is_exclusive(x_647); +if (x_648 == 0) +{ +lean_object* x_649; +x_649 = lean_ctor_get(x_647, 0); +lean_dec(x_649); +lean_ctor_set(x_647, 0, x_2); +return x_647; +} +else +{ +lean_object* x_650; lean_object* x_651; +x_650 = lean_ctor_get(x_647, 1); +lean_inc(x_650); +lean_dec(x_647); +x_651 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_651, 0, x_2); +lean_ctor_set(x_651, 1, x_650); +return x_651; +} +} +else +{ +uint8_t x_652; +lean_dec(x_2); +x_652 = !lean_is_exclusive(x_647); +if (x_652 == 0) +{ +return x_647; +} +else +{ +lean_object* x_653; lean_object* x_654; lean_object* x_655; +x_653 = lean_ctor_get(x_647, 0); +x_654 = lean_ctor_get(x_647, 1); +lean_inc(x_654); +lean_inc(x_653); +lean_dec(x_647); +x_655 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_655, 0, x_653); +lean_ctor_set(x_655, 1, x_654); +return x_655; +} +} +} +else +{ +lean_object* x_656; lean_object* x_657; +x_656 = lean_ctor_get(x_8, 0); +lean_inc(x_656); +lean_dec(x_8); +lean_inc(x_4); +x_657 = l_Lean_Elab_Term_isDefEq(x_6, x_656, x_3, x_4, x_646); +if (lean_obj_tag(x_657) == 0) +{ +lean_object* x_658; lean_object* x_659; +x_658 = lean_ctor_get(x_657, 1); +lean_inc(x_658); +lean_dec(x_657); +x_659 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_658); +lean_dec(x_12); +if (lean_obj_tag(x_659) == 0) +{ +uint8_t x_660; +x_660 = !lean_is_exclusive(x_659); +if (x_660 == 0) +{ +lean_object* x_661; +x_661 = lean_ctor_get(x_659, 0); +lean_dec(x_661); +lean_ctor_set(x_659, 0, x_2); +return x_659; +} +else +{ +lean_object* x_662; lean_object* x_663; +x_662 = lean_ctor_get(x_659, 1); +lean_inc(x_662); +lean_dec(x_659); +x_663 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_663, 0, x_2); +lean_ctor_set(x_663, 1, x_662); +return x_663; +} +} +else +{ +uint8_t x_664; +lean_dec(x_2); +x_664 = !lean_is_exclusive(x_659); +if (x_664 == 0) +{ +return x_659; +} +else +{ +lean_object* x_665; lean_object* x_666; lean_object* x_667; +x_665 = lean_ctor_get(x_659, 0); +x_666 = lean_ctor_get(x_659, 1); +lean_inc(x_666); +lean_inc(x_665); +lean_dec(x_659); +x_667 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_667, 0, x_665); +lean_ctor_set(x_667, 1, x_666); +return x_667; +} +} +} +else +{ +uint8_t x_668; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_668 = !lean_is_exclusive(x_657); +if (x_668 == 0) +{ +return x_657; +} +else +{ +lean_object* x_669; lean_object* x_670; lean_object* x_671; +x_669 = lean_ctor_get(x_657, 0); +x_670 = lean_ctor_get(x_657, 1); +lean_inc(x_670); +lean_inc(x_669); +lean_dec(x_657); +x_671 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_671, 0, x_669); +lean_ctor_set(x_671, 1, x_670); +return x_671; +} +} +} +} +} +} +} +else +{ +lean_object* x_681; lean_object* x_682; +lean_dec(x_1); +lean_dec(x_90); +lean_dec(x_3); +x_681 = lean_array_fget(x_7, x_10); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_682 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_681, x_91, x_4, x_572); +if (lean_obj_tag(x_682) == 0) +{ +lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; +x_683 = lean_ctor_get(x_682, 0); +lean_inc(x_683); +x_684 = lean_ctor_get(x_682, 1); +lean_inc(x_684); +lean_dec(x_682); +x_685 = lean_unsigned_to_nat(1u); +x_686 = lean_nat_add(x_10, x_685); +lean_dec(x_10); +x_687 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_687, 0, x_6); +lean_ctor_set(x_687, 1, x_7); +lean_ctor_set(x_687, 2, x_8); +lean_ctor_set(x_687, 3, x_686); +lean_ctor_set(x_687, 4, x_11); +lean_ctor_set(x_687, 5, x_12); +lean_ctor_set(x_687, 6, x_13); +lean_ctor_set_uint8(x_687, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_687, sizeof(void*)*7 + 1, x_573); +lean_inc(x_683); +x_688 = l_Lean_mkApp(x_2, x_683); +x_689 = lean_expr_instantiate1(x_92, x_683); +lean_dec(x_683); +lean_dec(x_92); +x_1 = x_687; +x_2 = x_688; +x_3 = x_689; +x_5 = x_684; +goto _start; +} +else +{ +uint8_t x_691; +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_691 = !lean_is_exclusive(x_682); +if (x_691 == 0) +{ +return x_682; +} +else +{ +lean_object* x_692; lean_object* x_693; lean_object* x_694; +x_692 = lean_ctor_get(x_682, 0); +x_693 = lean_ctor_get(x_682, 1); +lean_inc(x_693); +lean_inc(x_692); +lean_dec(x_682); +x_694 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_694, 0, x_692); +lean_ctor_set(x_694, 1, x_693); +return x_694; +} +} +} +} +else +{ +uint8_t x_695; +lean_free_object(x_1); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_695 = !lean_is_exclusive(x_563); +if (x_695 == 0) +{ +return x_563; +} +else +{ +lean_object* x_696; lean_object* x_697; lean_object* x_698; +x_696 = lean_ctor_get(x_563, 0); +x_697 = lean_ctor_get(x_563, 1); +lean_inc(x_697); +lean_inc(x_696); +lean_dec(x_563); +x_698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_698, 0, x_696); +lean_ctor_set(x_698, 1, x_697); +return x_698; +} +} +} +else +{ +lean_dec(x_1); +if (lean_obj_tag(x_563) == 0) +{ +lean_object* x_699; uint8_t x_700; lean_object* x_701; lean_object* x_702; uint8_t x_703; +x_699 = lean_ctor_get(x_563, 1); +lean_inc(x_699); +lean_dec(x_563); +x_700 = 1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_701 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_701, 0, x_6); +lean_ctor_set(x_701, 1, x_7); +lean_ctor_set(x_701, 2, x_8); +lean_ctor_set(x_701, 3, x_10); +lean_ctor_set(x_701, 4, x_11); +lean_ctor_set(x_701, 5, x_12); +lean_ctor_set(x_701, 6, x_13); +lean_ctor_set_uint8(x_701, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_701, sizeof(void*)*7 + 1, x_700); +x_702 = lean_array_get_size(x_7); +x_703 = lean_nat_dec_lt(x_10, x_702); +lean_dec(x_702); +if (x_703 == 0) +{ +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +if (x_9 == 0) +{ +lean_object* x_704; +x_704 = l_Lean_Expr_getOptParamDefault_x3f(x_91); +lean_dec(x_91); +if (lean_obj_tag(x_704) == 0) +{ +uint8_t x_705; +lean_dec(x_701); +lean_dec(x_92); +x_705 = l_Array_isEmpty___rarg(x_11); +if (x_705 == 0) +{ +lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_706 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_706, 0, x_90); +x_707 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_708 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_708, 0, x_707); +lean_ctor_set(x_708, 1, x_706); +x_709 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_710 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_710, 0, x_708); +lean_ctor_set(x_710, 1, x_709); +x_711 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_712 = l_Array_toList___rarg(x_711); +lean_dec(x_711); +x_713 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_712); +x_714 = l_Array_HasRepr___rarg___closed__1; +x_715 = lean_string_append(x_714, x_713); +lean_dec(x_713); +x_716 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_716, 0, x_715); +x_717 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_717, 0, x_716); +x_718 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_718, 0, x_710); +lean_ctor_set(x_718, 1, x_717); +x_719 = l_Lean_Elab_Term_throwError___rarg(x_6, x_718, x_4, x_699); +lean_dec(x_6); +return x_719; +} +else +{ +lean_object* x_720; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; uint8_t x_749; +lean_dec(x_90); +lean_dec(x_11); +x_745 = l_Lean_Elab_Term_getOptions(x_4, x_699); +x_746 = lean_ctor_get(x_745, 0); +lean_inc(x_746); +x_747 = lean_ctor_get(x_745, 1); +lean_inc(x_747); +lean_dec(x_745); +x_748 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_749 = l_Lean_checkTraceOption(x_746, x_748); +lean_dec(x_746); +if (x_749 == 0) +{ +x_720 = x_747; +goto block_744; +} +else +{ +lean_object* x_750; lean_object* x_751; lean_object* x_752; +lean_inc(x_2); +x_750 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_750, 0, x_2); +x_751 = l_Lean_Elab_Term_logTrace(x_748, x_6, x_750, x_4, x_747); +x_752 = lean_ctor_get(x_751, 1); +lean_inc(x_752); +lean_dec(x_751); +x_720 = x_752; +goto block_744; +} +block_744: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_721; +lean_dec(x_3); +x_721 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_720); +lean_dec(x_12); +if (lean_obj_tag(x_721) == 0) +{ +lean_object* x_722; lean_object* x_723; lean_object* x_724; +x_722 = lean_ctor_get(x_721, 1); +lean_inc(x_722); +if (lean_is_exclusive(x_721)) { + lean_ctor_release(x_721, 0); + lean_ctor_release(x_721, 1); + x_723 = x_721; +} else { + lean_dec_ref(x_721); + x_723 = lean_box(0); +} +if (lean_is_scalar(x_723)) { + x_724 = lean_alloc_ctor(0, 2, 0); +} else { + x_724 = x_723; +} +lean_ctor_set(x_724, 0, x_2); +lean_ctor_set(x_724, 1, x_722); +return x_724; +} +else +{ +lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; +lean_dec(x_2); +x_725 = lean_ctor_get(x_721, 0); +lean_inc(x_725); +x_726 = lean_ctor_get(x_721, 1); +lean_inc(x_726); +if (lean_is_exclusive(x_721)) { + lean_ctor_release(x_721, 0); + lean_ctor_release(x_721, 1); + x_727 = x_721; +} else { + lean_dec_ref(x_721); + x_727 = lean_box(0); +} +if (lean_is_scalar(x_727)) { + x_728 = lean_alloc_ctor(1, 2, 0); +} else { + x_728 = x_727; +} +lean_ctor_set(x_728, 0, x_725); +lean_ctor_set(x_728, 1, x_726); +return x_728; +} +} +else +{ +lean_object* x_729; lean_object* x_730; +x_729 = lean_ctor_get(x_8, 0); +lean_inc(x_729); +lean_dec(x_8); +lean_inc(x_4); +x_730 = l_Lean_Elab_Term_isDefEq(x_6, x_729, x_3, x_4, x_720); +if (lean_obj_tag(x_730) == 0) +{ +lean_object* x_731; lean_object* x_732; +x_731 = lean_ctor_get(x_730, 1); +lean_inc(x_731); +lean_dec(x_730); +x_732 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_731); +lean_dec(x_12); +if (lean_obj_tag(x_732) == 0) +{ +lean_object* x_733; lean_object* x_734; lean_object* x_735; +x_733 = lean_ctor_get(x_732, 1); +lean_inc(x_733); +if (lean_is_exclusive(x_732)) { + lean_ctor_release(x_732, 0); + lean_ctor_release(x_732, 1); + x_734 = x_732; +} else { + lean_dec_ref(x_732); + x_734 = lean_box(0); +} +if (lean_is_scalar(x_734)) { + x_735 = lean_alloc_ctor(0, 2, 0); +} else { + x_735 = x_734; +} +lean_ctor_set(x_735, 0, x_2); +lean_ctor_set(x_735, 1, x_733); +return x_735; +} +else +{ +lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; +lean_dec(x_2); +x_736 = lean_ctor_get(x_732, 0); +lean_inc(x_736); +x_737 = lean_ctor_get(x_732, 1); +lean_inc(x_737); +if (lean_is_exclusive(x_732)) { + lean_ctor_release(x_732, 0); + lean_ctor_release(x_732, 1); + x_738 = x_732; +} else { + lean_dec_ref(x_732); + x_738 = lean_box(0); +} +if (lean_is_scalar(x_738)) { + x_739 = lean_alloc_ctor(1, 2, 0); +} else { + x_739 = x_738; +} +lean_ctor_set(x_739, 0, x_736); +lean_ctor_set(x_739, 1, x_737); +return x_739; +} +} +else +{ +lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_740 = lean_ctor_get(x_730, 0); +lean_inc(x_740); +x_741 = lean_ctor_get(x_730, 1); +lean_inc(x_741); +if (lean_is_exclusive(x_730)) { + lean_ctor_release(x_730, 0); + lean_ctor_release(x_730, 1); + x_742 = x_730; +} else { + lean_dec_ref(x_730); + x_742 = lean_box(0); +} +if (lean_is_scalar(x_742)) { + x_743 = lean_alloc_ctor(1, 2, 0); +} else { + x_743 = x_742; +} +lean_ctor_set(x_743, 0, x_740); +lean_ctor_set(x_743, 1, x_741); +return x_743; +} +} +} +} +} +else +{ +lean_object* x_753; lean_object* x_754; lean_object* x_755; +lean_dec(x_90); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_753 = lean_ctor_get(x_704, 0); +lean_inc(x_753); +lean_dec(x_704); +lean_inc(x_753); +x_754 = l_Lean_mkApp(x_2, x_753); +x_755 = lean_expr_instantiate1(x_92, x_753); +lean_dec(x_753); +lean_dec(x_92); +x_1 = x_701; +x_2 = x_754; +x_3 = x_755; +x_5 = x_699; +goto _start; +} +} +else +{ +uint8_t x_757; +lean_dec(x_701); +lean_dec(x_92); +lean_dec(x_91); +x_757 = l_Array_isEmpty___rarg(x_11); +if (x_757 == 0) +{ +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_758 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_758, 0, x_90); +x_759 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_760 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_760, 0, x_759); +lean_ctor_set(x_760, 1, x_758); +x_761 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_762 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_762, 0, x_760); +lean_ctor_set(x_762, 1, x_761); +x_763 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_764 = l_Array_toList___rarg(x_763); +lean_dec(x_763); +x_765 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_764); +x_766 = l_Array_HasRepr___rarg___closed__1; +x_767 = lean_string_append(x_766, x_765); +lean_dec(x_765); +x_768 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_768, 0, x_767); +x_769 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_769, 0, x_768); +x_770 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_770, 0, x_762); +lean_ctor_set(x_770, 1, x_769); +x_771 = l_Lean_Elab_Term_throwError___rarg(x_6, x_770, x_4, x_699); +lean_dec(x_6); +return x_771; +} +else +{ +lean_object* x_772; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; uint8_t x_801; +lean_dec(x_90); +lean_dec(x_11); +x_797 = l_Lean_Elab_Term_getOptions(x_4, x_699); +x_798 = lean_ctor_get(x_797, 0); +lean_inc(x_798); +x_799 = lean_ctor_get(x_797, 1); +lean_inc(x_799); +lean_dec(x_797); +x_800 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_801 = l_Lean_checkTraceOption(x_798, x_800); +lean_dec(x_798); +if (x_801 == 0) +{ +x_772 = x_799; +goto block_796; +} +else +{ +lean_object* x_802; lean_object* x_803; lean_object* x_804; +lean_inc(x_2); +x_802 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_802, 0, x_2); +x_803 = l_Lean_Elab_Term_logTrace(x_800, x_6, x_802, x_4, x_799); +x_804 = lean_ctor_get(x_803, 1); +lean_inc(x_804); +lean_dec(x_803); +x_772 = x_804; +goto block_796; +} +block_796: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_773; +lean_dec(x_3); +x_773 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_772); +lean_dec(x_12); +if (lean_obj_tag(x_773) == 0) +{ +lean_object* x_774; lean_object* x_775; lean_object* x_776; +x_774 = lean_ctor_get(x_773, 1); +lean_inc(x_774); +if (lean_is_exclusive(x_773)) { + lean_ctor_release(x_773, 0); + lean_ctor_release(x_773, 1); + x_775 = x_773; +} else { + lean_dec_ref(x_773); + x_775 = lean_box(0); +} +if (lean_is_scalar(x_775)) { + x_776 = lean_alloc_ctor(0, 2, 0); +} else { + x_776 = x_775; +} +lean_ctor_set(x_776, 0, x_2); +lean_ctor_set(x_776, 1, x_774); +return x_776; +} +else +{ +lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; +lean_dec(x_2); +x_777 = lean_ctor_get(x_773, 0); +lean_inc(x_777); +x_778 = lean_ctor_get(x_773, 1); +lean_inc(x_778); +if (lean_is_exclusive(x_773)) { + lean_ctor_release(x_773, 0); + lean_ctor_release(x_773, 1); + x_779 = x_773; +} else { + lean_dec_ref(x_773); + x_779 = lean_box(0); +} +if (lean_is_scalar(x_779)) { + x_780 = lean_alloc_ctor(1, 2, 0); +} else { + x_780 = x_779; +} +lean_ctor_set(x_780, 0, x_777); +lean_ctor_set(x_780, 1, x_778); +return x_780; +} +} +else +{ +lean_object* x_781; lean_object* x_782; +x_781 = lean_ctor_get(x_8, 0); +lean_inc(x_781); +lean_dec(x_8); +lean_inc(x_4); +x_782 = l_Lean_Elab_Term_isDefEq(x_6, x_781, x_3, x_4, x_772); +if (lean_obj_tag(x_782) == 0) +{ +lean_object* x_783; lean_object* x_784; +x_783 = lean_ctor_get(x_782, 1); +lean_inc(x_783); +lean_dec(x_782); +x_784 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_783); +lean_dec(x_12); +if (lean_obj_tag(x_784) == 0) +{ +lean_object* x_785; lean_object* x_786; lean_object* x_787; +x_785 = lean_ctor_get(x_784, 1); +lean_inc(x_785); +if (lean_is_exclusive(x_784)) { + lean_ctor_release(x_784, 0); + lean_ctor_release(x_784, 1); + x_786 = x_784; +} else { + lean_dec_ref(x_784); + x_786 = lean_box(0); +} +if (lean_is_scalar(x_786)) { + x_787 = lean_alloc_ctor(0, 2, 0); +} else { + x_787 = x_786; +} +lean_ctor_set(x_787, 0, x_2); +lean_ctor_set(x_787, 1, x_785); +return x_787; +} +else +{ +lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; +lean_dec(x_2); +x_788 = lean_ctor_get(x_784, 0); +lean_inc(x_788); +x_789 = lean_ctor_get(x_784, 1); +lean_inc(x_789); +if (lean_is_exclusive(x_784)) { + lean_ctor_release(x_784, 0); + lean_ctor_release(x_784, 1); + x_790 = x_784; +} else { + lean_dec_ref(x_784); + x_790 = lean_box(0); +} +if (lean_is_scalar(x_790)) { + x_791 = lean_alloc_ctor(1, 2, 0); +} else { + x_791 = x_790; +} +lean_ctor_set(x_791, 0, x_788); +lean_ctor_set(x_791, 1, x_789); +return x_791; +} +} +else +{ +lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_792 = lean_ctor_get(x_782, 0); +lean_inc(x_792); +x_793 = lean_ctor_get(x_782, 1); +lean_inc(x_793); +if (lean_is_exclusive(x_782)) { + lean_ctor_release(x_782, 0); + lean_ctor_release(x_782, 1); + x_794 = x_782; +} else { + lean_dec_ref(x_782); + x_794 = lean_box(0); +} +if (lean_is_scalar(x_794)) { + x_795 = lean_alloc_ctor(1, 2, 0); +} else { + x_795 = x_794; +} +lean_ctor_set(x_795, 0, x_792); +lean_ctor_set(x_795, 1, x_793); +return x_795; +} +} +} +} +} +} +else +{ +lean_object* x_805; lean_object* x_806; +lean_dec(x_701); +lean_dec(x_90); +lean_dec(x_3); +x_805 = lean_array_fget(x_7, x_10); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_806 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_805, x_91, x_4, x_699); +if (lean_obj_tag(x_806) == 0) +{ +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; +x_807 = lean_ctor_get(x_806, 0); +lean_inc(x_807); +x_808 = lean_ctor_get(x_806, 1); +lean_inc(x_808); +lean_dec(x_806); +x_809 = lean_unsigned_to_nat(1u); +x_810 = lean_nat_add(x_10, x_809); +lean_dec(x_10); +x_811 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_811, 0, x_6); +lean_ctor_set(x_811, 1, x_7); +lean_ctor_set(x_811, 2, x_8); +lean_ctor_set(x_811, 3, x_810); +lean_ctor_set(x_811, 4, x_11); +lean_ctor_set(x_811, 5, x_12); +lean_ctor_set(x_811, 6, x_13); +lean_ctor_set_uint8(x_811, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_811, sizeof(void*)*7 + 1, x_700); +lean_inc(x_807); +x_812 = l_Lean_mkApp(x_2, x_807); +x_813 = lean_expr_instantiate1(x_92, x_807); +lean_dec(x_807); +lean_dec(x_92); +x_1 = x_811; +x_2 = x_812; +x_3 = x_813; +x_5 = x_808; +goto _start; +} +else +{ +lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_815 = lean_ctor_get(x_806, 0); +lean_inc(x_815); +x_816 = lean_ctor_get(x_806, 1); +lean_inc(x_816); +if (lean_is_exclusive(x_806)) { + lean_ctor_release(x_806, 0); + lean_ctor_release(x_806, 1); + x_817 = x_806; +} else { + lean_dec_ref(x_806); + x_817 = lean_box(0); +} +if (lean_is_scalar(x_817)) { + x_818 = lean_alloc_ctor(1, 2, 0); +} else { + x_818 = x_817; +} +lean_ctor_set(x_818, 0, x_815); +lean_ctor_set(x_818, 1, x_816); +return x_818; +} +} +} +else +{ +lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_819 = lean_ctor_get(x_563, 0); +lean_inc(x_819); +x_820 = lean_ctor_get(x_563, 1); +lean_inc(x_820); +if (lean_is_exclusive(x_563)) { + lean_ctor_release(x_563, 0); + lean_ctor_release(x_563, 1); + x_821 = x_563; +} else { + lean_dec_ref(x_563); + x_821 = lean_box(0); +} +if (lean_is_scalar(x_821)) { + x_822 = lean_alloc_ctor(1, 2, 0); +} else { + x_822 = x_821; +} +lean_ctor_set(x_822, 0, x_819); +lean_ctor_set(x_822, 1, x_820); +return x_822; +} +} +} +case 3: +{ +if (x_9 == 0) +{ +uint8_t x_823; +lean_dec(x_90); +lean_dec(x_16); +lean_dec(x_3); +x_823 = !lean_is_exclusive(x_1); +if (x_823 == 0) +{ +lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; uint8_t x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; +x_824 = lean_ctor_get(x_1, 6); +lean_dec(x_824); +x_825 = lean_ctor_get(x_1, 5); +lean_dec(x_825); +x_826 = lean_ctor_get(x_1, 4); +lean_dec(x_826); +x_827 = lean_ctor_get(x_1, 3); +lean_dec(x_827); +x_828 = lean_ctor_get(x_1, 2); +lean_dec(x_828); +x_829 = lean_ctor_get(x_1, 1); +lean_dec(x_829); +x_830 = lean_ctor_get(x_1, 0); +lean_dec(x_830); +x_831 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_831, 0, x_91); +x_832 = 1; +x_833 = lean_box(0); +lean_inc(x_4); +x_834 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_831, x_832, x_833, x_4, x_17); +x_835 = lean_ctor_get(x_834, 0); +lean_inc(x_835); +x_836 = lean_ctor_get(x_834, 1); +lean_inc(x_836); +lean_dec(x_834); +x_837 = l_Lean_Expr_mvarId_x21(x_835); +x_838 = lean_array_push(x_12, x_837); +lean_ctor_set(x_1, 5, x_838); +lean_inc(x_835); +x_839 = l_Lean_mkApp(x_2, x_835); +x_840 = lean_expr_instantiate1(x_92, x_835); +lean_dec(x_835); +lean_dec(x_92); +x_2 = x_839; +x_3 = x_840; +x_5 = x_836; +goto _start; +} +else +{ +lean_object* x_842; uint8_t 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_dec(x_1); +x_842 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_842, 0, x_91); +x_843 = 1; +x_844 = lean_box(0); +lean_inc(x_4); +x_845 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_842, x_843, x_844, x_4, x_17); +x_846 = lean_ctor_get(x_845, 0); +lean_inc(x_846); +x_847 = lean_ctor_get(x_845, 1); +lean_inc(x_847); +lean_dec(x_845); +x_848 = l_Lean_Expr_mvarId_x21(x_846); +x_849 = lean_array_push(x_12, x_848); +x_850 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_850, 0, x_6); +lean_ctor_set(x_850, 1, x_7); +lean_ctor_set(x_850, 2, x_8); +lean_ctor_set(x_850, 3, x_10); +lean_ctor_set(x_850, 4, x_11); +lean_ctor_set(x_850, 5, x_849); +lean_ctor_set(x_850, 6, x_13); +lean_ctor_set_uint8(x_850, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_850, sizeof(void*)*7 + 1, x_14); +lean_inc(x_846); +x_851 = l_Lean_mkApp(x_2, x_846); +x_852 = lean_expr_instantiate1(x_92, x_846); +lean_dec(x_846); +lean_dec(x_92); +x_1 = x_850; +x_2 = x_851; +x_3 = x_852; +x_5 = x_847; +goto _start; +} +} +else +{ +uint8_t x_854; +x_854 = l___private_Init_Lean_Elab_App_10__nextArgIsHole(x_1); +if (x_854 == 0) +{ +lean_object* x_855; uint8_t x_856; +lean_inc(x_4); +lean_inc(x_1); +x_855 = l___private_Init_Lean_Elab_App_9__propagateExpectedType(x_1, x_16, x_4, x_17); +x_856 = !lean_is_exclusive(x_1); +if (x_856 == 0) +{ +lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; +x_857 = lean_ctor_get(x_1, 6); +lean_dec(x_857); +x_858 = lean_ctor_get(x_1, 5); +lean_dec(x_858); +x_859 = lean_ctor_get(x_1, 4); +lean_dec(x_859); +x_860 = lean_ctor_get(x_1, 3); +lean_dec(x_860); +x_861 = lean_ctor_get(x_1, 2); +lean_dec(x_861); +x_862 = lean_ctor_get(x_1, 1); +lean_dec(x_862); +x_863 = lean_ctor_get(x_1, 0); +lean_dec(x_863); +if (lean_obj_tag(x_855) == 0) +{ +lean_object* x_864; lean_object* x_865; uint8_t x_866; +x_864 = lean_ctor_get(x_855, 1); +lean_inc(x_864); +lean_dec(x_855); +x_865 = lean_array_get_size(x_7); +x_866 = lean_nat_dec_lt(x_10, x_865); +lean_dec(x_865); +if (x_866 == 0) +{ +uint8_t x_867; +lean_free_object(x_1); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +x_867 = l_Array_isEmpty___rarg(x_11); +if (x_867 == 0) +{ +lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_868 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_868, 0, x_90); +x_869 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_870 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_870, 0, x_869); +lean_ctor_set(x_870, 1, x_868); +x_871 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_872 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_872, 0, x_870); +lean_ctor_set(x_872, 1, x_871); +x_873 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_874 = l_Array_toList___rarg(x_873); +lean_dec(x_873); +x_875 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_874); +x_876 = l_Array_HasRepr___rarg___closed__1; +x_877 = lean_string_append(x_876, x_875); +lean_dec(x_875); +x_878 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_878, 0, x_877); +x_879 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_879, 0, x_878); +x_880 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_880, 0, x_872); +lean_ctor_set(x_880, 1, x_879); +x_881 = l_Lean_Elab_Term_throwError___rarg(x_6, x_880, x_4, x_864); +lean_dec(x_6); +return x_881; +} +else +{ +lean_object* x_882; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; uint8_t x_913; +lean_dec(x_90); +lean_dec(x_11); +x_909 = l_Lean_Elab_Term_getOptions(x_4, x_864); +x_910 = lean_ctor_get(x_909, 0); +lean_inc(x_910); +x_911 = lean_ctor_get(x_909, 1); +lean_inc(x_911); +lean_dec(x_909); +x_912 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_913 = l_Lean_checkTraceOption(x_910, x_912); +lean_dec(x_910); +if (x_913 == 0) +{ +x_882 = x_911; +goto block_908; +} +else +{ +lean_object* x_914; lean_object* x_915; lean_object* x_916; +lean_inc(x_2); +x_914 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_914, 0, x_2); +x_915 = l_Lean_Elab_Term_logTrace(x_912, x_6, x_914, x_4, x_911); +x_916 = lean_ctor_get(x_915, 1); +lean_inc(x_916); +lean_dec(x_915); +x_882 = x_916; +goto block_908; +} +block_908: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_883; +lean_dec(x_3); +x_883 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_882); +lean_dec(x_12); +if (lean_obj_tag(x_883) == 0) +{ +uint8_t x_884; +x_884 = !lean_is_exclusive(x_883); +if (x_884 == 0) +{ +lean_object* x_885; +x_885 = lean_ctor_get(x_883, 0); +lean_dec(x_885); +lean_ctor_set(x_883, 0, x_2); +return x_883; +} +else +{ +lean_object* x_886; lean_object* x_887; +x_886 = lean_ctor_get(x_883, 1); +lean_inc(x_886); +lean_dec(x_883); +x_887 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_887, 0, x_2); +lean_ctor_set(x_887, 1, x_886); +return x_887; +} +} +else +{ +uint8_t x_888; +lean_dec(x_2); +x_888 = !lean_is_exclusive(x_883); +if (x_888 == 0) +{ +return x_883; +} +else +{ +lean_object* x_889; lean_object* x_890; lean_object* x_891; +x_889 = lean_ctor_get(x_883, 0); +x_890 = lean_ctor_get(x_883, 1); +lean_inc(x_890); +lean_inc(x_889); +lean_dec(x_883); +x_891 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_891, 0, x_889); +lean_ctor_set(x_891, 1, x_890); +return x_891; +} +} +} +else +{ +lean_object* x_892; lean_object* x_893; +x_892 = lean_ctor_get(x_8, 0); +lean_inc(x_892); +lean_dec(x_8); +lean_inc(x_4); +x_893 = l_Lean_Elab_Term_isDefEq(x_6, x_892, x_3, x_4, x_882); +if (lean_obj_tag(x_893) == 0) +{ +lean_object* x_894; lean_object* x_895; +x_894 = lean_ctor_get(x_893, 1); +lean_inc(x_894); +lean_dec(x_893); +x_895 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_894); +lean_dec(x_12); +if (lean_obj_tag(x_895) == 0) +{ +uint8_t x_896; +x_896 = !lean_is_exclusive(x_895); +if (x_896 == 0) +{ +lean_object* x_897; +x_897 = lean_ctor_get(x_895, 0); +lean_dec(x_897); +lean_ctor_set(x_895, 0, x_2); +return x_895; +} +else +{ +lean_object* x_898; lean_object* x_899; +x_898 = lean_ctor_get(x_895, 1); +lean_inc(x_898); +lean_dec(x_895); +x_899 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_899, 0, x_2); +lean_ctor_set(x_899, 1, x_898); +return x_899; +} +} +else +{ +uint8_t x_900; +lean_dec(x_2); +x_900 = !lean_is_exclusive(x_895); +if (x_900 == 0) +{ +return x_895; +} +else +{ +lean_object* x_901; lean_object* x_902; lean_object* x_903; +x_901 = lean_ctor_get(x_895, 0); +x_902 = lean_ctor_get(x_895, 1); +lean_inc(x_902); +lean_inc(x_901); +lean_dec(x_895); +x_903 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_903, 0, x_901); +lean_ctor_set(x_903, 1, x_902); +return x_903; +} +} +} +else +{ +uint8_t x_904; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_904 = !lean_is_exclusive(x_893); +if (x_904 == 0) +{ +return x_893; +} +else +{ +lean_object* x_905; lean_object* x_906; lean_object* x_907; +x_905 = lean_ctor_get(x_893, 0); +x_906 = lean_ctor_get(x_893, 1); +lean_inc(x_906); +lean_inc(x_905); +lean_dec(x_893); +x_907 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_907, 0, x_905); +lean_ctor_set(x_907, 1, x_906); +return x_907; +} +} +} +} +} +} +else +{ +lean_object* x_917; lean_object* x_918; +lean_dec(x_90); +lean_dec(x_3); +x_917 = lean_array_fget(x_7, x_10); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_918 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_917, x_91, x_4, x_864); +if (lean_obj_tag(x_918) == 0) +{ +lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; uint8_t x_923; lean_object* x_924; lean_object* x_925; +x_919 = lean_ctor_get(x_918, 0); +lean_inc(x_919); +x_920 = lean_ctor_get(x_918, 1); +lean_inc(x_920); +lean_dec(x_918); +x_921 = lean_unsigned_to_nat(1u); +x_922 = lean_nat_add(x_10, x_921); +lean_dec(x_10); +x_923 = 1; +lean_ctor_set(x_1, 3, x_922); +lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_923); +lean_inc(x_919); +x_924 = l_Lean_mkApp(x_2, x_919); +x_925 = lean_expr_instantiate1(x_92, x_919); +lean_dec(x_919); +lean_dec(x_92); +x_2 = x_924; +x_3 = x_925; +x_5 = x_920; +goto _start; +} +else +{ +uint8_t x_927; +lean_free_object(x_1); +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_927 = !lean_is_exclusive(x_918); +if (x_927 == 0) +{ +return x_918; +} +else +{ +lean_object* x_928; lean_object* x_929; lean_object* x_930; +x_928 = lean_ctor_get(x_918, 0); +x_929 = lean_ctor_get(x_918, 1); +lean_inc(x_929); +lean_inc(x_928); +lean_dec(x_918); +x_930 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_930, 0, x_928); +lean_ctor_set(x_930, 1, x_929); +return x_930; +} +} +} +} +else +{ +uint8_t x_931; +lean_free_object(x_1); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_931 = !lean_is_exclusive(x_855); +if (x_931 == 0) +{ +return x_855; +} +else +{ +lean_object* x_932; lean_object* x_933; lean_object* x_934; +x_932 = lean_ctor_get(x_855, 0); +x_933 = lean_ctor_get(x_855, 1); +lean_inc(x_933); +lean_inc(x_932); +lean_dec(x_855); +x_934 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_934, 0, x_932); +lean_ctor_set(x_934, 1, x_933); +return x_934; +} +} +} +else +{ +lean_dec(x_1); +if (lean_obj_tag(x_855) == 0) +{ +lean_object* x_935; lean_object* x_936; uint8_t x_937; +x_935 = lean_ctor_get(x_855, 1); +lean_inc(x_935); +lean_dec(x_855); +x_936 = lean_array_get_size(x_7); +x_937 = lean_nat_dec_lt(x_10, x_936); +lean_dec(x_936); +if (x_937 == 0) +{ +uint8_t x_938; +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +x_938 = l_Array_isEmpty___rarg(x_11); +if (x_938 == 0) +{ +lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_939 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_939, 0, x_90); +x_940 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_941 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_941, 0, x_940); +lean_ctor_set(x_941, 1, x_939); +x_942 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_943 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_943, 0, x_941); +lean_ctor_set(x_943, 1, x_942); +x_944 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_945 = l_Array_toList___rarg(x_944); +lean_dec(x_944); +x_946 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_945); +x_947 = l_Array_HasRepr___rarg___closed__1; +x_948 = lean_string_append(x_947, x_946); +lean_dec(x_946); +x_949 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_949, 0, x_948); +x_950 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_950, 0, x_949); +x_951 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_951, 0, x_943); +lean_ctor_set(x_951, 1, x_950); +x_952 = l_Lean_Elab_Term_throwError___rarg(x_6, x_951, x_4, x_935); +lean_dec(x_6); +return x_952; +} +else +{ +lean_object* x_953; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; uint8_t x_982; +lean_dec(x_90); +lean_dec(x_11); +x_978 = l_Lean_Elab_Term_getOptions(x_4, x_935); +x_979 = lean_ctor_get(x_978, 0); +lean_inc(x_979); +x_980 = lean_ctor_get(x_978, 1); +lean_inc(x_980); +lean_dec(x_978); +x_981 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_982 = l_Lean_checkTraceOption(x_979, x_981); +lean_dec(x_979); +if (x_982 == 0) +{ +x_953 = x_980; +goto block_977; +} +else +{ +lean_object* x_983; lean_object* x_984; lean_object* x_985; +lean_inc(x_2); +x_983 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_983, 0, x_2); +x_984 = l_Lean_Elab_Term_logTrace(x_981, x_6, x_983, x_4, x_980); +x_985 = lean_ctor_get(x_984, 1); +lean_inc(x_985); +lean_dec(x_984); +x_953 = x_985; +goto block_977; +} +block_977: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_954; +lean_dec(x_3); +x_954 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_953); +lean_dec(x_12); +if (lean_obj_tag(x_954) == 0) +{ +lean_object* x_955; lean_object* x_956; lean_object* x_957; +x_955 = lean_ctor_get(x_954, 1); +lean_inc(x_955); +if (lean_is_exclusive(x_954)) { + lean_ctor_release(x_954, 0); + lean_ctor_release(x_954, 1); + x_956 = x_954; +} else { + lean_dec_ref(x_954); + x_956 = lean_box(0); +} +if (lean_is_scalar(x_956)) { + x_957 = lean_alloc_ctor(0, 2, 0); +} else { + x_957 = x_956; +} +lean_ctor_set(x_957, 0, x_2); +lean_ctor_set(x_957, 1, x_955); +return x_957; +} +else +{ +lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; +lean_dec(x_2); +x_958 = lean_ctor_get(x_954, 0); +lean_inc(x_958); +x_959 = lean_ctor_get(x_954, 1); +lean_inc(x_959); +if (lean_is_exclusive(x_954)) { + lean_ctor_release(x_954, 0); + lean_ctor_release(x_954, 1); + x_960 = x_954; +} else { + lean_dec_ref(x_954); + x_960 = lean_box(0); +} +if (lean_is_scalar(x_960)) { + x_961 = lean_alloc_ctor(1, 2, 0); +} else { + x_961 = x_960; +} +lean_ctor_set(x_961, 0, x_958); +lean_ctor_set(x_961, 1, x_959); +return x_961; +} +} +else +{ +lean_object* x_962; lean_object* x_963; +x_962 = lean_ctor_get(x_8, 0); +lean_inc(x_962); +lean_dec(x_8); +lean_inc(x_4); +x_963 = l_Lean_Elab_Term_isDefEq(x_6, x_962, x_3, x_4, x_953); +if (lean_obj_tag(x_963) == 0) +{ +lean_object* x_964; lean_object* x_965; +x_964 = lean_ctor_get(x_963, 1); +lean_inc(x_964); +lean_dec(x_963); +x_965 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_964); +lean_dec(x_12); +if (lean_obj_tag(x_965) == 0) +{ +lean_object* x_966; lean_object* x_967; lean_object* x_968; +x_966 = lean_ctor_get(x_965, 1); +lean_inc(x_966); +if (lean_is_exclusive(x_965)) { + lean_ctor_release(x_965, 0); + lean_ctor_release(x_965, 1); + x_967 = x_965; +} else { + lean_dec_ref(x_965); + x_967 = lean_box(0); +} +if (lean_is_scalar(x_967)) { + x_968 = lean_alloc_ctor(0, 2, 0); +} else { + x_968 = x_967; +} +lean_ctor_set(x_968, 0, x_2); +lean_ctor_set(x_968, 1, x_966); +return x_968; +} +else +{ +lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; +lean_dec(x_2); +x_969 = lean_ctor_get(x_965, 0); +lean_inc(x_969); +x_970 = lean_ctor_get(x_965, 1); +lean_inc(x_970); +if (lean_is_exclusive(x_965)) { + lean_ctor_release(x_965, 0); + lean_ctor_release(x_965, 1); + x_971 = x_965; +} else { + lean_dec_ref(x_965); + x_971 = lean_box(0); +} +if (lean_is_scalar(x_971)) { + x_972 = lean_alloc_ctor(1, 2, 0); +} else { + x_972 = x_971; +} +lean_ctor_set(x_972, 0, x_969); +lean_ctor_set(x_972, 1, x_970); +return x_972; +} +} +else +{ +lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_973 = lean_ctor_get(x_963, 0); +lean_inc(x_973); +x_974 = lean_ctor_get(x_963, 1); +lean_inc(x_974); +if (lean_is_exclusive(x_963)) { + lean_ctor_release(x_963, 0); + lean_ctor_release(x_963, 1); + x_975 = x_963; +} else { + lean_dec_ref(x_963); + x_975 = lean_box(0); +} +if (lean_is_scalar(x_975)) { + x_976 = lean_alloc_ctor(1, 2, 0); +} else { + x_976 = x_975; +} +lean_ctor_set(x_976, 0, x_973); +lean_ctor_set(x_976, 1, x_974); +return x_976; +} +} +} +} +} +else +{ +lean_object* x_986; lean_object* x_987; +lean_dec(x_90); +lean_dec(x_3); +x_986 = lean_array_fget(x_7, x_10); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_987 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_986, x_91, x_4, x_935); +if (lean_obj_tag(x_987) == 0) +{ +lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; uint8_t x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; +x_988 = lean_ctor_get(x_987, 0); +lean_inc(x_988); +x_989 = lean_ctor_get(x_987, 1); +lean_inc(x_989); +lean_dec(x_987); +x_990 = lean_unsigned_to_nat(1u); +x_991 = lean_nat_add(x_10, x_990); +lean_dec(x_10); +x_992 = 1; +x_993 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_993, 0, x_6); +lean_ctor_set(x_993, 1, x_7); +lean_ctor_set(x_993, 2, x_8); +lean_ctor_set(x_993, 3, x_991); +lean_ctor_set(x_993, 4, x_11); +lean_ctor_set(x_993, 5, x_12); +lean_ctor_set(x_993, 6, x_13); +lean_ctor_set_uint8(x_993, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_993, sizeof(void*)*7 + 1, x_992); +lean_inc(x_988); +x_994 = l_Lean_mkApp(x_2, x_988); +x_995 = lean_expr_instantiate1(x_92, x_988); +lean_dec(x_988); +lean_dec(x_92); +x_1 = x_993; +x_2 = x_994; +x_3 = x_995; +x_5 = x_989; +goto _start; +} +else +{ +lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_997 = lean_ctor_get(x_987, 0); +lean_inc(x_997); +x_998 = lean_ctor_get(x_987, 1); +lean_inc(x_998); +if (lean_is_exclusive(x_987)) { + lean_ctor_release(x_987, 0); + lean_ctor_release(x_987, 1); + x_999 = x_987; +} else { + lean_dec_ref(x_987); + x_999 = lean_box(0); +} +if (lean_is_scalar(x_999)) { + x_1000 = lean_alloc_ctor(1, 2, 0); +} else { + x_1000 = x_999; +} +lean_ctor_set(x_1000, 0, x_997); +lean_ctor_set(x_1000, 1, x_998); +return x_1000; +} +} +} +else +{ +lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1001 = lean_ctor_get(x_855, 0); +lean_inc(x_1001); +x_1002 = lean_ctor_get(x_855, 1); +lean_inc(x_1002); +if (lean_is_exclusive(x_855)) { + lean_ctor_release(x_855, 0); + lean_ctor_release(x_855, 1); + x_1003 = x_855; +} else { + lean_dec_ref(x_855); + x_1003 = lean_box(0); +} +if (lean_is_scalar(x_1003)) { + x_1004 = lean_alloc_ctor(1, 2, 0); +} else { + x_1004 = x_1003; +} +lean_ctor_set(x_1004, 0, x_1001); +lean_ctor_set(x_1004, 1, x_1002); +return x_1004; +} +} +} +else +{ +uint8_t x_1005; +lean_dec(x_90); +lean_dec(x_16); +lean_dec(x_3); +x_1005 = !lean_is_exclusive(x_1); +if (x_1005 == 0) +{ +lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; uint8_t x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; +x_1006 = lean_ctor_get(x_1, 6); +lean_dec(x_1006); +x_1007 = lean_ctor_get(x_1, 5); +lean_dec(x_1007); +x_1008 = lean_ctor_get(x_1, 4); +lean_dec(x_1008); +x_1009 = lean_ctor_get(x_1, 3); +lean_dec(x_1009); +x_1010 = lean_ctor_get(x_1, 2); +lean_dec(x_1010); +x_1011 = lean_ctor_get(x_1, 1); +lean_dec(x_1011); +x_1012 = lean_ctor_get(x_1, 0); +lean_dec(x_1012); +x_1013 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1013, 0, x_91); +x_1014 = 1; +x_1015 = lean_box(0); +lean_inc(x_4); +x_1016 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_1013, x_1014, x_1015, x_4, x_17); +x_1017 = lean_ctor_get(x_1016, 0); +lean_inc(x_1017); +x_1018 = lean_ctor_get(x_1016, 1); +lean_inc(x_1018); +lean_dec(x_1016); +x_1019 = lean_unsigned_to_nat(1u); +x_1020 = lean_nat_add(x_10, x_1019); +lean_dec(x_10); +x_1021 = l_Lean_Expr_mvarId_x21(x_1017); +x_1022 = lean_array_push(x_12, x_1021); +lean_ctor_set(x_1, 5, x_1022); +lean_ctor_set(x_1, 3, x_1020); +lean_inc(x_1017); +x_1023 = l_Lean_mkApp(x_2, x_1017); +x_1024 = lean_expr_instantiate1(x_92, x_1017); +lean_dec(x_1017); +lean_dec(x_92); +x_2 = x_1023; +x_3 = x_1024; +x_5 = x_1018; +goto _start; +} +else +{ +lean_object* x_1026; uint8_t x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; +lean_dec(x_1); +x_1026 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1026, 0, x_91); +x_1027 = 1; +x_1028 = lean_box(0); +lean_inc(x_4); +x_1029 = l_Lean_Elab_Term_mkFreshExprMVar(x_6, x_1026, x_1027, x_1028, x_4, x_17); +x_1030 = lean_ctor_get(x_1029, 0); +lean_inc(x_1030); +x_1031 = lean_ctor_get(x_1029, 1); +lean_inc(x_1031); +lean_dec(x_1029); +x_1032 = lean_unsigned_to_nat(1u); +x_1033 = lean_nat_add(x_10, x_1032); +lean_dec(x_10); +x_1034 = l_Lean_Expr_mvarId_x21(x_1030); +x_1035 = lean_array_push(x_12, x_1034); +x_1036 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_1036, 0, x_6); +lean_ctor_set(x_1036, 1, x_7); +lean_ctor_set(x_1036, 2, x_8); +lean_ctor_set(x_1036, 3, x_1033); +lean_ctor_set(x_1036, 4, x_11); +lean_ctor_set(x_1036, 5, x_1035); +lean_ctor_set(x_1036, 6, x_13); +lean_ctor_set_uint8(x_1036, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_1036, sizeof(void*)*7 + 1, x_14); +lean_inc(x_1030); +x_1037 = l_Lean_mkApp(x_2, x_1030); +x_1038 = lean_expr_instantiate1(x_92, x_1030); +lean_dec(x_1030); +lean_dec(x_92); +x_1 = x_1036; +x_2 = x_1037; +x_3 = x_1038; +x_5 = x_1031; +goto _start; +} +} +} +} +default: +{ +lean_object* x_1040; uint8_t x_1041; +lean_inc(x_4); +lean_inc(x_1); +x_1040 = l___private_Init_Lean_Elab_App_9__propagateExpectedType(x_1, x_16, x_4, x_17); +x_1041 = !lean_is_exclusive(x_1); +if (x_1041 == 0) +{ +lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; +x_1042 = lean_ctor_get(x_1, 6); +lean_dec(x_1042); +x_1043 = lean_ctor_get(x_1, 5); +lean_dec(x_1043); +x_1044 = lean_ctor_get(x_1, 4); +lean_dec(x_1044); +x_1045 = lean_ctor_get(x_1, 3); +lean_dec(x_1045); +x_1046 = lean_ctor_get(x_1, 2); +lean_dec(x_1046); +x_1047 = lean_ctor_get(x_1, 1); +lean_dec(x_1047); +x_1048 = lean_ctor_get(x_1, 0); +lean_dec(x_1048); +if (lean_obj_tag(x_1040) == 0) +{ +lean_object* x_1049; uint8_t x_1050; lean_object* x_1051; uint8_t x_1052; +x_1049 = lean_ctor_get(x_1040, 1); +lean_inc(x_1049); +lean_dec(x_1040); +x_1050 = 1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_1050); +x_1051 = lean_array_get_size(x_7); +x_1052 = lean_nat_dec_lt(x_10, x_1051); +lean_dec(x_1051); +if (x_1052 == 0) +{ +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +if (x_9 == 0) +{ +lean_object* x_1053; +x_1053 = l_Lean_Expr_getOptParamDefault_x3f(x_91); +lean_dec(x_91); +if (lean_obj_tag(x_1053) == 0) +{ +uint8_t x_1054; +lean_dec(x_1); +lean_dec(x_92); +x_1054 = l_Array_isEmpty___rarg(x_11); +if (x_1054 == 0) +{ +lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_1055 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1055, 0, x_90); +x_1056 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_1057 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1057, 0, x_1056); +lean_ctor_set(x_1057, 1, x_1055); +x_1058 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_1059 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1059, 0, x_1057); +lean_ctor_set(x_1059, 1, x_1058); +x_1060 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_1061 = l_Array_toList___rarg(x_1060); +lean_dec(x_1060); +x_1062 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_1061); +x_1063 = l_Array_HasRepr___rarg___closed__1; +x_1064 = lean_string_append(x_1063, x_1062); +lean_dec(x_1062); +x_1065 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1065, 0, x_1064); +x_1066 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1066, 0, x_1065); +x_1067 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1067, 0, x_1059); +lean_ctor_set(x_1067, 1, x_1066); +x_1068 = l_Lean_Elab_Term_throwError___rarg(x_6, x_1067, x_4, x_1049); +lean_dec(x_6); +return x_1068; +} +else +{ +lean_object* x_1069; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; uint8_t x_1100; +lean_dec(x_90); +lean_dec(x_11); +x_1096 = l_Lean_Elab_Term_getOptions(x_4, x_1049); +x_1097 = lean_ctor_get(x_1096, 0); +lean_inc(x_1097); +x_1098 = lean_ctor_get(x_1096, 1); +lean_inc(x_1098); +lean_dec(x_1096); +x_1099 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_1100 = l_Lean_checkTraceOption(x_1097, x_1099); +lean_dec(x_1097); +if (x_1100 == 0) +{ +x_1069 = x_1098; +goto block_1095; +} +else +{ +lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; +lean_inc(x_2); +x_1101 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1101, 0, x_2); +x_1102 = l_Lean_Elab_Term_logTrace(x_1099, x_6, x_1101, x_4, x_1098); +x_1103 = lean_ctor_get(x_1102, 1); +lean_inc(x_1103); +lean_dec(x_1102); +x_1069 = x_1103; +goto block_1095; +} +block_1095: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_1070; +lean_dec(x_3); +x_1070 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_1069); +lean_dec(x_12); +if (lean_obj_tag(x_1070) == 0) +{ +uint8_t x_1071; +x_1071 = !lean_is_exclusive(x_1070); +if (x_1071 == 0) +{ +lean_object* x_1072; +x_1072 = lean_ctor_get(x_1070, 0); +lean_dec(x_1072); +lean_ctor_set(x_1070, 0, x_2); +return x_1070; +} +else +{ +lean_object* x_1073; lean_object* x_1074; +x_1073 = lean_ctor_get(x_1070, 1); +lean_inc(x_1073); +lean_dec(x_1070); +x_1074 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1074, 0, x_2); +lean_ctor_set(x_1074, 1, x_1073); +return x_1074; +} +} +else +{ +uint8_t x_1075; +lean_dec(x_2); +x_1075 = !lean_is_exclusive(x_1070); +if (x_1075 == 0) +{ +return x_1070; +} +else +{ +lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; +x_1076 = lean_ctor_get(x_1070, 0); +x_1077 = lean_ctor_get(x_1070, 1); +lean_inc(x_1077); +lean_inc(x_1076); +lean_dec(x_1070); +x_1078 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1078, 0, x_1076); +lean_ctor_set(x_1078, 1, x_1077); +return x_1078; +} +} +} +else +{ +lean_object* x_1079; lean_object* x_1080; +x_1079 = lean_ctor_get(x_8, 0); +lean_inc(x_1079); +lean_dec(x_8); +lean_inc(x_4); +x_1080 = l_Lean_Elab_Term_isDefEq(x_6, x_1079, x_3, x_4, x_1069); +if (lean_obj_tag(x_1080) == 0) +{ +lean_object* x_1081; lean_object* x_1082; +x_1081 = lean_ctor_get(x_1080, 1); +lean_inc(x_1081); +lean_dec(x_1080); +x_1082 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_1081); +lean_dec(x_12); +if (lean_obj_tag(x_1082) == 0) +{ +uint8_t x_1083; +x_1083 = !lean_is_exclusive(x_1082); +if (x_1083 == 0) +{ +lean_object* x_1084; +x_1084 = lean_ctor_get(x_1082, 0); +lean_dec(x_1084); +lean_ctor_set(x_1082, 0, x_2); +return x_1082; +} +else +{ +lean_object* x_1085; lean_object* x_1086; +x_1085 = lean_ctor_get(x_1082, 1); +lean_inc(x_1085); +lean_dec(x_1082); +x_1086 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1086, 0, x_2); +lean_ctor_set(x_1086, 1, x_1085); +return x_1086; +} +} +else +{ +uint8_t x_1087; +lean_dec(x_2); +x_1087 = !lean_is_exclusive(x_1082); +if (x_1087 == 0) +{ +return x_1082; +} +else +{ +lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; +x_1088 = lean_ctor_get(x_1082, 0); +x_1089 = lean_ctor_get(x_1082, 1); +lean_inc(x_1089); +lean_inc(x_1088); +lean_dec(x_1082); +x_1090 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1090, 0, x_1088); +lean_ctor_set(x_1090, 1, x_1089); +return x_1090; +} +} +} +else +{ +uint8_t x_1091; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_1091 = !lean_is_exclusive(x_1080); +if (x_1091 == 0) +{ +return x_1080; +} +else +{ +lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; +x_1092 = lean_ctor_get(x_1080, 0); +x_1093 = lean_ctor_get(x_1080, 1); +lean_inc(x_1093); +lean_inc(x_1092); +lean_dec(x_1080); +x_1094 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1094, 0, x_1092); +lean_ctor_set(x_1094, 1, x_1093); +return x_1094; +} +} +} +} +} +} +else +{ +lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; +lean_dec(x_90); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_1104 = lean_ctor_get(x_1053, 0); +lean_inc(x_1104); +lean_dec(x_1053); +lean_inc(x_1104); +x_1105 = l_Lean_mkApp(x_2, x_1104); +x_1106 = lean_expr_instantiate1(x_92, x_1104); +lean_dec(x_1104); +lean_dec(x_92); +x_2 = x_1105; +x_3 = x_1106; +x_5 = x_1049; +goto _start; +} +} +else +{ +uint8_t x_1108; +lean_dec(x_1); +lean_dec(x_92); +lean_dec(x_91); +x_1108 = l_Array_isEmpty___rarg(x_11); +if (x_1108 == 0) +{ +lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_1109 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1109, 0, x_90); +x_1110 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_1111 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1111, 0, x_1110); +lean_ctor_set(x_1111, 1, x_1109); +x_1112 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_1113 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1113, 0, x_1111); +lean_ctor_set(x_1113, 1, x_1112); +x_1114 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_1115 = l_Array_toList___rarg(x_1114); +lean_dec(x_1114); +x_1116 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_1115); +x_1117 = l_Array_HasRepr___rarg___closed__1; +x_1118 = lean_string_append(x_1117, x_1116); +lean_dec(x_1116); +x_1119 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1119, 0, x_1118); +x_1120 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1120, 0, x_1119); +x_1121 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1121, 0, x_1113); +lean_ctor_set(x_1121, 1, x_1120); +x_1122 = l_Lean_Elab_Term_throwError___rarg(x_6, x_1121, x_4, x_1049); +lean_dec(x_6); +return x_1122; +} +else +{ +lean_object* x_1123; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; uint8_t x_1154; +lean_dec(x_90); +lean_dec(x_11); +x_1150 = l_Lean_Elab_Term_getOptions(x_4, x_1049); +x_1151 = lean_ctor_get(x_1150, 0); +lean_inc(x_1151); +x_1152 = lean_ctor_get(x_1150, 1); +lean_inc(x_1152); +lean_dec(x_1150); +x_1153 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_1154 = l_Lean_checkTraceOption(x_1151, x_1153); +lean_dec(x_1151); +if (x_1154 == 0) +{ +x_1123 = x_1152; +goto block_1149; +} +else +{ +lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; +lean_inc(x_2); +x_1155 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1155, 0, x_2); +x_1156 = l_Lean_Elab_Term_logTrace(x_1153, x_6, x_1155, x_4, x_1152); +x_1157 = lean_ctor_get(x_1156, 1); +lean_inc(x_1157); +lean_dec(x_1156); +x_1123 = x_1157; +goto block_1149; +} +block_1149: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_1124; +lean_dec(x_3); +x_1124 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_1123); +lean_dec(x_12); +if (lean_obj_tag(x_1124) == 0) +{ +uint8_t x_1125; +x_1125 = !lean_is_exclusive(x_1124); +if (x_1125 == 0) +{ +lean_object* x_1126; +x_1126 = lean_ctor_get(x_1124, 0); +lean_dec(x_1126); +lean_ctor_set(x_1124, 0, x_2); +return x_1124; +} +else +{ +lean_object* x_1127; lean_object* x_1128; +x_1127 = lean_ctor_get(x_1124, 1); +lean_inc(x_1127); +lean_dec(x_1124); +x_1128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1128, 0, x_2); +lean_ctor_set(x_1128, 1, x_1127); +return x_1128; +} +} +else +{ +uint8_t x_1129; +lean_dec(x_2); +x_1129 = !lean_is_exclusive(x_1124); +if (x_1129 == 0) +{ +return x_1124; +} +else +{ +lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; +x_1130 = lean_ctor_get(x_1124, 0); +x_1131 = lean_ctor_get(x_1124, 1); +lean_inc(x_1131); +lean_inc(x_1130); +lean_dec(x_1124); +x_1132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1132, 0, x_1130); +lean_ctor_set(x_1132, 1, x_1131); +return x_1132; +} +} +} +else +{ +lean_object* x_1133; lean_object* x_1134; +x_1133 = lean_ctor_get(x_8, 0); +lean_inc(x_1133); +lean_dec(x_8); +lean_inc(x_4); +x_1134 = l_Lean_Elab_Term_isDefEq(x_6, x_1133, x_3, x_4, x_1123); +if (lean_obj_tag(x_1134) == 0) +{ +lean_object* x_1135; lean_object* x_1136; +x_1135 = lean_ctor_get(x_1134, 1); +lean_inc(x_1135); +lean_dec(x_1134); +x_1136 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_1135); +lean_dec(x_12); +if (lean_obj_tag(x_1136) == 0) +{ +uint8_t x_1137; +x_1137 = !lean_is_exclusive(x_1136); +if (x_1137 == 0) +{ +lean_object* x_1138; +x_1138 = lean_ctor_get(x_1136, 0); +lean_dec(x_1138); +lean_ctor_set(x_1136, 0, x_2); +return x_1136; +} +else +{ +lean_object* x_1139; lean_object* x_1140; +x_1139 = lean_ctor_get(x_1136, 1); +lean_inc(x_1139); +lean_dec(x_1136); +x_1140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1140, 0, x_2); +lean_ctor_set(x_1140, 1, x_1139); +return x_1140; +} +} +else +{ +uint8_t x_1141; +lean_dec(x_2); +x_1141 = !lean_is_exclusive(x_1136); +if (x_1141 == 0) +{ +return x_1136; +} +else +{ +lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; +x_1142 = lean_ctor_get(x_1136, 0); +x_1143 = lean_ctor_get(x_1136, 1); +lean_inc(x_1143); +lean_inc(x_1142); +lean_dec(x_1136); +x_1144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1144, 0, x_1142); +lean_ctor_set(x_1144, 1, x_1143); +return x_1144; +} +} +} +else +{ +uint8_t x_1145; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_1145 = !lean_is_exclusive(x_1134); +if (x_1145 == 0) +{ +return x_1134; +} +else +{ +lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; +x_1146 = lean_ctor_get(x_1134, 0); +x_1147 = lean_ctor_get(x_1134, 1); +lean_inc(x_1147); +lean_inc(x_1146); +lean_dec(x_1134); +x_1148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1148, 0, x_1146); +lean_ctor_set(x_1148, 1, x_1147); +return x_1148; +} +} +} +} +} +} +} +else +{ +lean_object* x_1158; lean_object* x_1159; +lean_dec(x_1); +lean_dec(x_90); +lean_dec(x_3); +x_1158 = lean_array_fget(x_7, x_10); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_1159 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_1158, x_91, x_4, x_1049); +if (lean_obj_tag(x_1159) == 0) +{ +lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; +x_1160 = lean_ctor_get(x_1159, 0); +lean_inc(x_1160); +x_1161 = lean_ctor_get(x_1159, 1); +lean_inc(x_1161); +lean_dec(x_1159); +x_1162 = lean_unsigned_to_nat(1u); +x_1163 = lean_nat_add(x_10, x_1162); +lean_dec(x_10); +x_1164 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_1164, 0, x_6); +lean_ctor_set(x_1164, 1, x_7); +lean_ctor_set(x_1164, 2, x_8); +lean_ctor_set(x_1164, 3, x_1163); +lean_ctor_set(x_1164, 4, x_11); +lean_ctor_set(x_1164, 5, x_12); +lean_ctor_set(x_1164, 6, x_13); +lean_ctor_set_uint8(x_1164, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_1164, sizeof(void*)*7 + 1, x_1050); +lean_inc(x_1160); +x_1165 = l_Lean_mkApp(x_2, x_1160); +x_1166 = lean_expr_instantiate1(x_92, x_1160); +lean_dec(x_1160); +lean_dec(x_92); +x_1 = x_1164; +x_2 = x_1165; +x_3 = x_1166; +x_5 = x_1161; +goto _start; +} +else +{ +uint8_t x_1168; +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_1168 = !lean_is_exclusive(x_1159); +if (x_1168 == 0) +{ +return x_1159; +} +else +{ +lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; +x_1169 = lean_ctor_get(x_1159, 0); +x_1170 = lean_ctor_get(x_1159, 1); +lean_inc(x_1170); +lean_inc(x_1169); +lean_dec(x_1159); +x_1171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1171, 0, x_1169); +lean_ctor_set(x_1171, 1, x_1170); +return x_1171; +} +} +} +} +else +{ +uint8_t x_1172; +lean_free_object(x_1); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1172 = !lean_is_exclusive(x_1040); +if (x_1172 == 0) +{ +return x_1040; +} +else +{ +lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; +x_1173 = lean_ctor_get(x_1040, 0); +x_1174 = lean_ctor_get(x_1040, 1); +lean_inc(x_1174); +lean_inc(x_1173); +lean_dec(x_1040); +x_1175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1175, 0, x_1173); +lean_ctor_set(x_1175, 1, x_1174); +return x_1175; +} +} +} +else +{ +lean_dec(x_1); +if (lean_obj_tag(x_1040) == 0) +{ +lean_object* x_1176; uint8_t x_1177; lean_object* x_1178; lean_object* x_1179; uint8_t x_1180; +x_1176 = lean_ctor_get(x_1040, 1); +lean_inc(x_1176); +lean_dec(x_1040); +x_1177 = 1; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_1178 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_1178, 0, x_6); +lean_ctor_set(x_1178, 1, x_7); +lean_ctor_set(x_1178, 2, x_8); +lean_ctor_set(x_1178, 3, x_10); +lean_ctor_set(x_1178, 4, x_11); +lean_ctor_set(x_1178, 5, x_12); +lean_ctor_set(x_1178, 6, x_13); +lean_ctor_set_uint8(x_1178, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_1178, sizeof(void*)*7 + 1, x_1177); +x_1179 = lean_array_get_size(x_7); +x_1180 = lean_nat_dec_lt(x_10, x_1179); +lean_dec(x_1179); +if (x_1180 == 0) +{ +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_7); +if (x_9 == 0) +{ +lean_object* x_1181; +x_1181 = l_Lean_Expr_getOptParamDefault_x3f(x_91); +lean_dec(x_91); +if (lean_obj_tag(x_1181) == 0) +{ +uint8_t x_1182; +lean_dec(x_1178); +lean_dec(x_92); +x_1182 = l_Array_isEmpty___rarg(x_11); +if (x_1182 == 0) +{ +lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_1183 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1183, 0, x_90); +x_1184 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_1185 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1185, 0, x_1184); +lean_ctor_set(x_1185, 1, x_1183); +x_1186 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_1187 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1187, 0, x_1185); +lean_ctor_set(x_1187, 1, x_1186); +x_1188 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_1189 = l_Array_toList___rarg(x_1188); +lean_dec(x_1188); +x_1190 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_1189); +x_1191 = l_Array_HasRepr___rarg___closed__1; +x_1192 = lean_string_append(x_1191, x_1190); +lean_dec(x_1190); +x_1193 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1193, 0, x_1192); +x_1194 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1194, 0, x_1193); +x_1195 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1195, 0, x_1187); +lean_ctor_set(x_1195, 1, x_1194); +x_1196 = l_Lean_Elab_Term_throwError___rarg(x_6, x_1195, x_4, x_1176); +lean_dec(x_6); +return x_1196; +} +else +{ +lean_object* x_1197; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; uint8_t x_1226; +lean_dec(x_90); +lean_dec(x_11); +x_1222 = l_Lean_Elab_Term_getOptions(x_4, x_1176); +x_1223 = lean_ctor_get(x_1222, 0); +lean_inc(x_1223); +x_1224 = lean_ctor_get(x_1222, 1); +lean_inc(x_1224); +lean_dec(x_1222); +x_1225 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_1226 = l_Lean_checkTraceOption(x_1223, x_1225); +lean_dec(x_1223); +if (x_1226 == 0) +{ +x_1197 = x_1224; +goto block_1221; +} +else +{ +lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; +lean_inc(x_2); +x_1227 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1227, 0, x_2); +x_1228 = l_Lean_Elab_Term_logTrace(x_1225, x_6, x_1227, x_4, x_1224); +x_1229 = lean_ctor_get(x_1228, 1); +lean_inc(x_1229); +lean_dec(x_1228); +x_1197 = x_1229; +goto block_1221; +} +block_1221: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_1198; +lean_dec(x_3); +x_1198 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_1197); +lean_dec(x_12); +if (lean_obj_tag(x_1198) == 0) +{ +lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; +x_1199 = lean_ctor_get(x_1198, 1); +lean_inc(x_1199); +if (lean_is_exclusive(x_1198)) { + lean_ctor_release(x_1198, 0); + lean_ctor_release(x_1198, 1); + x_1200 = x_1198; +} else { + lean_dec_ref(x_1198); + x_1200 = lean_box(0); +} +if (lean_is_scalar(x_1200)) { + x_1201 = lean_alloc_ctor(0, 2, 0); +} else { + x_1201 = x_1200; +} +lean_ctor_set(x_1201, 0, x_2); +lean_ctor_set(x_1201, 1, x_1199); +return x_1201; +} +else +{ +lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; +lean_dec(x_2); +x_1202 = lean_ctor_get(x_1198, 0); +lean_inc(x_1202); +x_1203 = lean_ctor_get(x_1198, 1); +lean_inc(x_1203); +if (lean_is_exclusive(x_1198)) { + lean_ctor_release(x_1198, 0); + lean_ctor_release(x_1198, 1); + x_1204 = x_1198; +} else { + lean_dec_ref(x_1198); + x_1204 = lean_box(0); +} +if (lean_is_scalar(x_1204)) { + x_1205 = lean_alloc_ctor(1, 2, 0); +} else { + x_1205 = x_1204; +} +lean_ctor_set(x_1205, 0, x_1202); +lean_ctor_set(x_1205, 1, x_1203); +return x_1205; +} +} +else +{ +lean_object* x_1206; lean_object* x_1207; +x_1206 = lean_ctor_get(x_8, 0); +lean_inc(x_1206); +lean_dec(x_8); +lean_inc(x_4); +x_1207 = l_Lean_Elab_Term_isDefEq(x_6, x_1206, x_3, x_4, x_1197); +if (lean_obj_tag(x_1207) == 0) +{ +lean_object* x_1208; lean_object* x_1209; +x_1208 = lean_ctor_get(x_1207, 1); +lean_inc(x_1208); +lean_dec(x_1207); +x_1209 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_1208); +lean_dec(x_12); +if (lean_obj_tag(x_1209) == 0) +{ +lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; +x_1210 = lean_ctor_get(x_1209, 1); +lean_inc(x_1210); +if (lean_is_exclusive(x_1209)) { + lean_ctor_release(x_1209, 0); + lean_ctor_release(x_1209, 1); + x_1211 = x_1209; +} else { + lean_dec_ref(x_1209); + x_1211 = lean_box(0); +} +if (lean_is_scalar(x_1211)) { + x_1212 = lean_alloc_ctor(0, 2, 0); +} else { + x_1212 = x_1211; +} +lean_ctor_set(x_1212, 0, x_2); +lean_ctor_set(x_1212, 1, x_1210); +return x_1212; +} +else +{ +lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; +lean_dec(x_2); +x_1213 = lean_ctor_get(x_1209, 0); +lean_inc(x_1213); +x_1214 = lean_ctor_get(x_1209, 1); +lean_inc(x_1214); +if (lean_is_exclusive(x_1209)) { + lean_ctor_release(x_1209, 0); + lean_ctor_release(x_1209, 1); + x_1215 = x_1209; +} else { + lean_dec_ref(x_1209); + x_1215 = lean_box(0); +} +if (lean_is_scalar(x_1215)) { + x_1216 = lean_alloc_ctor(1, 2, 0); +} else { + x_1216 = x_1215; +} +lean_ctor_set(x_1216, 0, x_1213); +lean_ctor_set(x_1216, 1, x_1214); +return x_1216; +} +} +else +{ +lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_1217 = lean_ctor_get(x_1207, 0); +lean_inc(x_1217); +x_1218 = lean_ctor_get(x_1207, 1); +lean_inc(x_1218); +if (lean_is_exclusive(x_1207)) { + lean_ctor_release(x_1207, 0); + lean_ctor_release(x_1207, 1); + x_1219 = x_1207; +} else { + lean_dec_ref(x_1207); + x_1219 = lean_box(0); +} +if (lean_is_scalar(x_1219)) { + x_1220 = lean_alloc_ctor(1, 2, 0); +} else { + x_1220 = x_1219; +} +lean_ctor_set(x_1220, 0, x_1217); +lean_ctor_set(x_1220, 1, x_1218); +return x_1220; +} +} +} +} +} +else +{ +lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; +lean_dec(x_90); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +x_1230 = lean_ctor_get(x_1181, 0); +lean_inc(x_1230); +lean_dec(x_1181); +lean_inc(x_1230); +x_1231 = l_Lean_mkApp(x_2, x_1230); +x_1232 = lean_expr_instantiate1(x_92, x_1230); +lean_dec(x_1230); +lean_dec(x_92); +x_1 = x_1178; +x_2 = x_1231; +x_3 = x_1232; +x_5 = x_1176; +goto _start; +} +} +else +{ +uint8_t x_1234; +lean_dec(x_1178); +lean_dec(x_92); +lean_dec(x_91); +x_1234 = l_Array_isEmpty___rarg(x_11); +if (x_1234 == 0) +{ +lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_1235 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1235, 0, x_90); +x_1236 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6; +x_1237 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1237, 0, x_1236); +lean_ctor_set(x_1237, 1, x_1235); +x_1238 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9; +x_1239 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1239, 0, x_1237); +lean_ctor_set(x_1239, 1, x_1238); +x_1240 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__2(x_94, x_11); +x_1241 = l_Array_toList___rarg(x_1240); +lean_dec(x_1240); +x_1242 = l_List_toString___at_Lean_Elab_OpenDecl_HasToString___spec__2(x_1241); +x_1243 = l_Array_HasRepr___rarg___closed__1; +x_1244 = lean_string_append(x_1243, x_1242); +lean_dec(x_1242); +x_1245 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1245, 0, x_1244); +x_1246 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1246, 0, x_1245); +x_1247 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1247, 0, x_1239); +lean_ctor_set(x_1247, 1, x_1246); +x_1248 = l_Lean_Elab_Term_throwError___rarg(x_6, x_1247, x_4, x_1176); +lean_dec(x_6); +return x_1248; +} +else +{ +lean_object* x_1249; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; uint8_t x_1278; +lean_dec(x_90); +lean_dec(x_11); +x_1274 = l_Lean_Elab_Term_getOptions(x_4, x_1176); +x_1275 = lean_ctor_get(x_1274, 0); +lean_inc(x_1275); +x_1276 = lean_ctor_get(x_1274, 1); +lean_inc(x_1276); +lean_dec(x_1274); +x_1277 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_1278 = l_Lean_checkTraceOption(x_1275, x_1277); +lean_dec(x_1275); +if (x_1278 == 0) +{ +x_1249 = x_1276; +goto block_1273; +} +else +{ +lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; +lean_inc(x_2); +x_1279 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1279, 0, x_2); +x_1280 = l_Lean_Elab_Term_logTrace(x_1277, x_6, x_1279, x_4, x_1276); +x_1281 = lean_ctor_get(x_1280, 1); +lean_inc(x_1281); +lean_dec(x_1280); +x_1249 = x_1281; +goto block_1273; +} +block_1273: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_1250; +lean_dec(x_3); +x_1250 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_1249); +lean_dec(x_12); +if (lean_obj_tag(x_1250) == 0) +{ +lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; +x_1251 = lean_ctor_get(x_1250, 1); +lean_inc(x_1251); +if (lean_is_exclusive(x_1250)) { + lean_ctor_release(x_1250, 0); + lean_ctor_release(x_1250, 1); + x_1252 = x_1250; +} else { + lean_dec_ref(x_1250); + x_1252 = lean_box(0); +} +if (lean_is_scalar(x_1252)) { + x_1253 = lean_alloc_ctor(0, 2, 0); +} else { + x_1253 = x_1252; +} +lean_ctor_set(x_1253, 0, x_2); +lean_ctor_set(x_1253, 1, x_1251); +return x_1253; +} +else +{ +lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; +lean_dec(x_2); +x_1254 = lean_ctor_get(x_1250, 0); +lean_inc(x_1254); +x_1255 = lean_ctor_get(x_1250, 1); +lean_inc(x_1255); +if (lean_is_exclusive(x_1250)) { + lean_ctor_release(x_1250, 0); + lean_ctor_release(x_1250, 1); + x_1256 = x_1250; +} else { + lean_dec_ref(x_1250); + x_1256 = lean_box(0); +} +if (lean_is_scalar(x_1256)) { + x_1257 = lean_alloc_ctor(1, 2, 0); +} else { + x_1257 = x_1256; +} +lean_ctor_set(x_1257, 0, x_1254); +lean_ctor_set(x_1257, 1, x_1255); +return x_1257; +} +} +else +{ +lean_object* x_1258; lean_object* x_1259; +x_1258 = lean_ctor_get(x_8, 0); +lean_inc(x_1258); +lean_dec(x_8); +lean_inc(x_4); +x_1259 = l_Lean_Elab_Term_isDefEq(x_6, x_1258, x_3, x_4, x_1249); +if (lean_obj_tag(x_1259) == 0) +{ +lean_object* x_1260; lean_object* x_1261; +x_1260 = lean_ctor_get(x_1259, 1); +lean_inc(x_1260); +lean_dec(x_1259); +x_1261 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_94, x_4, x_1260); +lean_dec(x_12); +if (lean_obj_tag(x_1261) == 0) +{ +lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; +x_1262 = lean_ctor_get(x_1261, 1); +lean_inc(x_1262); +if (lean_is_exclusive(x_1261)) { + lean_ctor_release(x_1261, 0); + lean_ctor_release(x_1261, 1); + x_1263 = x_1261; +} else { + lean_dec_ref(x_1261); + x_1263 = lean_box(0); +} +if (lean_is_scalar(x_1263)) { + x_1264 = lean_alloc_ctor(0, 2, 0); +} else { + x_1264 = x_1263; +} +lean_ctor_set(x_1264, 0, x_2); +lean_ctor_set(x_1264, 1, x_1262); +return x_1264; +} +else +{ +lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; +lean_dec(x_2); +x_1265 = lean_ctor_get(x_1261, 0); +lean_inc(x_1265); +x_1266 = lean_ctor_get(x_1261, 1); +lean_inc(x_1266); +if (lean_is_exclusive(x_1261)) { + lean_ctor_release(x_1261, 0); + lean_ctor_release(x_1261, 1); + x_1267 = x_1261; +} else { + lean_dec_ref(x_1261); + x_1267 = lean_box(0); +} +if (lean_is_scalar(x_1267)) { + x_1268 = lean_alloc_ctor(1, 2, 0); +} else { + x_1268 = x_1267; +} +lean_ctor_set(x_1268, 0, x_1265); +lean_ctor_set(x_1268, 1, x_1266); +return x_1268; +} +} +else +{ +lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_1269 = lean_ctor_get(x_1259, 0); +lean_inc(x_1269); +x_1270 = lean_ctor_get(x_1259, 1); +lean_inc(x_1270); +if (lean_is_exclusive(x_1259)) { + lean_ctor_release(x_1259, 0); + lean_ctor_release(x_1259, 1); + x_1271 = x_1259; +} else { + lean_dec_ref(x_1259); + x_1271 = lean_box(0); +} +if (lean_is_scalar(x_1271)) { + x_1272 = lean_alloc_ctor(1, 2, 0); +} else { + x_1272 = x_1271; +} +lean_ctor_set(x_1272, 0, x_1269); +lean_ctor_set(x_1272, 1, x_1270); +return x_1272; +} +} +} +} +} +} +else +{ +lean_object* x_1282; lean_object* x_1283; +lean_dec(x_1178); +lean_dec(x_90); +lean_dec(x_3); +x_1282 = lean_array_fget(x_7, x_10); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_1283 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_1282, x_91, x_4, x_1176); +if (lean_obj_tag(x_1283) == 0) +{ +lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; +x_1284 = lean_ctor_get(x_1283, 0); +lean_inc(x_1284); +x_1285 = lean_ctor_get(x_1283, 1); +lean_inc(x_1285); +lean_dec(x_1283); +x_1286 = lean_unsigned_to_nat(1u); +x_1287 = lean_nat_add(x_10, x_1286); +lean_dec(x_10); +x_1288 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_1288, 0, x_6); +lean_ctor_set(x_1288, 1, x_7); +lean_ctor_set(x_1288, 2, x_8); +lean_ctor_set(x_1288, 3, x_1287); +lean_ctor_set(x_1288, 4, x_11); +lean_ctor_set(x_1288, 5, x_12); +lean_ctor_set(x_1288, 6, x_13); +lean_ctor_set_uint8(x_1288, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_1288, sizeof(void*)*7 + 1, x_1177); +lean_inc(x_1284); +x_1289 = l_Lean_mkApp(x_2, x_1284); +x_1290 = lean_expr_instantiate1(x_92, x_1284); +lean_dec(x_1284); +lean_dec(x_92); +x_1 = x_1288; +x_2 = x_1289; +x_3 = x_1290; +x_5 = x_1285; +goto _start; +} +else +{ +lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_1292 = lean_ctor_get(x_1283, 0); +lean_inc(x_1292); +x_1293 = lean_ctor_get(x_1283, 1); +lean_inc(x_1293); +if (lean_is_exclusive(x_1283)) { + lean_ctor_release(x_1283, 0); + lean_ctor_release(x_1283, 1); + x_1294 = x_1283; +} else { + lean_dec_ref(x_1283); + x_1294 = lean_box(0); +} +if (lean_is_scalar(x_1294)) { + x_1295 = lean_alloc_ctor(1, 2, 0); +} else { + x_1295 = x_1294; +} +lean_ctor_set(x_1295, 0, x_1292); +lean_ctor_set(x_1295, 1, x_1293); +return x_1295; +} +} +} +else +{ +lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1296 = lean_ctor_get(x_1040, 0); +lean_inc(x_1296); +x_1297 = lean_ctor_get(x_1040, 1); +lean_inc(x_1297); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + lean_ctor_release(x_1040, 1); + x_1298 = x_1040; +} else { + lean_dec_ref(x_1040); + x_1298 = lean_box(0); +} +if (lean_is_scalar(x_1298)) { + x_1299 = lean_alloc_ctor(1, 2, 0); +} else { + x_1299 = x_1298; +} +lean_ctor_set(x_1299, 0, x_1296); +lean_ctor_set(x_1299, 1, x_1297); +return x_1299; +} +} +} +} +} +else +{ +lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; +lean_dec(x_90); +lean_dec(x_3); +x_1300 = lean_ctor_get(x_95, 0); +lean_inc(x_1300); +lean_dec(x_95); +x_1301 = l_Lean_Elab_Term_NamedArg_inhabited; +x_1302 = lean_array_get(x_1301, x_11, x_1300); +x_1303 = l_Array_eraseIdx___rarg(x_11, x_1300); +lean_dec(x_1300); +x_1304 = lean_ctor_get(x_1302, 1); +lean_inc(x_1304); +lean_dec(x_1302); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_6); +x_1305 = l___private_Init_Lean_Elab_App_2__elabArg(x_6, x_2, x_1304, x_91, x_4, x_17); +if (lean_obj_tag(x_1305) == 0) +{ +lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; uint8_t x_1309; +x_1306 = lean_ctor_get(x_1305, 0); +lean_inc(x_1306); +x_1307 = lean_ctor_get(x_1305, 1); +lean_inc(x_1307); +lean_dec(x_1305); +lean_inc(x_4); +lean_inc(x_1); +x_1308 = l___private_Init_Lean_Elab_App_9__propagateExpectedType(x_1, x_16, x_4, x_1307); +x_1309 = !lean_is_exclusive(x_1); +if (x_1309 == 0) +{ +lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; +x_1310 = lean_ctor_get(x_1, 6); +lean_dec(x_1310); +x_1311 = lean_ctor_get(x_1, 5); +lean_dec(x_1311); +x_1312 = lean_ctor_get(x_1, 4); +lean_dec(x_1312); +x_1313 = lean_ctor_get(x_1, 3); +lean_dec(x_1313); +x_1314 = lean_ctor_get(x_1, 2); +lean_dec(x_1314); +x_1315 = lean_ctor_get(x_1, 1); +lean_dec(x_1315); +x_1316 = lean_ctor_get(x_1, 0); +lean_dec(x_1316); +if (lean_obj_tag(x_1308) == 0) +{ +lean_object* x_1317; uint8_t x_1318; lean_object* x_1319; lean_object* x_1320; +x_1317 = lean_ctor_get(x_1308, 1); +lean_inc(x_1317); +lean_dec(x_1308); +x_1318 = 1; +lean_ctor_set(x_1, 4, x_1303); +lean_ctor_set_uint8(x_1, sizeof(void*)*7 + 1, x_1318); +lean_inc(x_1306); +x_1319 = l_Lean_mkApp(x_2, x_1306); +x_1320 = lean_expr_instantiate1(x_92, x_1306); +lean_dec(x_1306); +lean_dec(x_92); +x_2 = x_1319; +x_3 = x_1320; +x_5 = x_1317; +goto _start; +} +else +{ +uint8_t x_1322; +lean_free_object(x_1); +lean_dec(x_1306); +lean_dec(x_1303); +lean_dec(x_92); lean_dec(x_13); lean_dec(x_12); lean_dec(x_10); @@ -4632,34 +8781,99 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_479 = lean_ctor_get(x_455, 0); -lean_inc(x_479); -x_480 = lean_ctor_get(x_455, 1); -lean_inc(x_480); -if (lean_is_exclusive(x_455)) { - lean_ctor_release(x_455, 0); - lean_ctor_release(x_455, 1); - x_481 = x_455; -} else { - lean_dec_ref(x_455); - x_481 = lean_box(0); +x_1322 = !lean_is_exclusive(x_1308); +if (x_1322 == 0) +{ +return x_1308; } -if (lean_is_scalar(x_481)) { - x_482 = lean_alloc_ctor(1, 2, 0); -} else { - x_482 = x_481; -} -lean_ctor_set(x_482, 0, x_479); -lean_ctor_set(x_482, 1, x_480); -return x_482; +else +{ +lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; +x_1323 = lean_ctor_get(x_1308, 0); +x_1324 = lean_ctor_get(x_1308, 1); +lean_inc(x_1324); +lean_inc(x_1323); +lean_dec(x_1308); +x_1325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1325, 0, x_1323); +lean_ctor_set(x_1325, 1, x_1324); +return x_1325; } } } else { -uint8_t x_483; -lean_dec(x_450); -lean_dec(x_82); +lean_dec(x_1); +if (lean_obj_tag(x_1308) == 0) +{ +lean_object* x_1326; uint8_t x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; +x_1326 = lean_ctor_get(x_1308, 1); +lean_inc(x_1326); +lean_dec(x_1308); +x_1327 = 1; +x_1328 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_1328, 0, x_6); +lean_ctor_set(x_1328, 1, x_7); +lean_ctor_set(x_1328, 2, x_8); +lean_ctor_set(x_1328, 3, x_10); +lean_ctor_set(x_1328, 4, x_1303); +lean_ctor_set(x_1328, 5, x_12); +lean_ctor_set(x_1328, 6, x_13); +lean_ctor_set_uint8(x_1328, sizeof(void*)*7, x_9); +lean_ctor_set_uint8(x_1328, sizeof(void*)*7 + 1, x_1327); +lean_inc(x_1306); +x_1329 = l_Lean_mkApp(x_2, x_1306); +x_1330 = lean_expr_instantiate1(x_92, x_1306); +lean_dec(x_1306); +lean_dec(x_92); +x_1 = x_1328; +x_2 = x_1329; +x_3 = x_1330; +x_5 = x_1326; +goto _start; +} +else +{ +lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; +lean_dec(x_1306); +lean_dec(x_1303); +lean_dec(x_92); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_1332 = lean_ctor_get(x_1308, 0); +lean_inc(x_1332); +x_1333 = lean_ctor_get(x_1308, 1); +lean_inc(x_1333); +if (lean_is_exclusive(x_1308)) { + lean_ctor_release(x_1308, 0); + lean_ctor_release(x_1308, 1); + x_1334 = x_1308; +} else { + lean_dec_ref(x_1308); + x_1334 = lean_box(0); +} +if (lean_is_scalar(x_1334)) { + x_1335 = lean_alloc_ctor(1, 2, 0); +} else { + x_1335 = x_1334; +} +lean_ctor_set(x_1335, 0, x_1332); +lean_ctor_set(x_1335, 1, x_1333); +return x_1335; +} +} +} +else +{ +uint8_t x_1336; +lean_dec(x_1303); +lean_dec(x_92); lean_dec(x_16); lean_dec(x_13); lean_dec(x_12); @@ -4670,36 +8884,36 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_483 = !lean_is_exclusive(x_452); -if (x_483 == 0) +x_1336 = !lean_is_exclusive(x_1305); +if (x_1336 == 0) { -return x_452; +return x_1305; } else { -lean_object* x_484; lean_object* x_485; lean_object* x_486; -x_484 = lean_ctor_get(x_452, 0); -x_485 = lean_ctor_get(x_452, 1); -lean_inc(x_485); -lean_inc(x_484); -lean_dec(x_452); -x_486 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_486, 0, x_484); -lean_ctor_set(x_486, 1, x_485); -return x_486; +lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; +x_1337 = lean_ctor_get(x_1305, 0); +x_1338 = lean_ctor_get(x_1305, 1); +lean_inc(x_1338); +lean_inc(x_1337); +lean_dec(x_1305); +x_1339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1339, 0, x_1337); +lean_ctor_set(x_1339, 1, x_1338); +return x_1339; } } } } else { -lean_object* x_487; +lean_object* x_1340; lean_dec(x_13); -x_487 = lean_box(0); -x_18 = x_487; -goto block_79; +x_1340 = lean_box(0); +x_18 = x_1340; +goto block_89; } -block_79: +block_89: { uint8_t x_19; lean_dec(x_18); @@ -4887,152 +9101,183 @@ return x_51; } else { +lean_object* x_52; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_dec(x_16); lean_dec(x_1); +x_81 = l_Lean_Elab_Term_getOptions(x_4, x_17); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3; +x_85 = l_Lean_checkTraceOption(x_82, x_84); +lean_dec(x_82); +if (x_85 == 0) +{ +x_52 = x_83; +goto block_80; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_inc(x_2); +x_86 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_86, 0, x_2); +x_87 = l_Lean_Elab_Term_logTrace(x_84, x_6, x_86, x_4, x_83); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_52 = x_88; +goto block_80; +} +block_80: +{ if (lean_obj_tag(x_8) == 0) { -lean_object* x_52; lean_object* x_53; +lean_object* x_53; lean_object* x_54; lean_dec(x_3); -x_52 = lean_unsigned_to_nat(0u); -x_53 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_52, x_4, x_17); +x_53 = lean_unsigned_to_nat(0u); +x_54 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_53, x_4, x_52); lean_dec(x_12); -if (lean_obj_tag(x_53) == 0) +if (lean_obj_tag(x_54) == 0) { -uint8_t x_54; -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) +uint8_t x_55; +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) { -lean_object* x_55; -x_55 = lean_ctor_get(x_53, 0); -lean_dec(x_55); -lean_ctor_set(x_53, 0, x_2); -return x_53; +lean_object* x_56; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +lean_ctor_set(x_54, 0, x_2); +return x_54; } else { -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_56); -lean_dec(x_53); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_2); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_2); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } else { -uint8_t x_58; +uint8_t x_59; lean_dec(x_2); -x_58 = !lean_is_exclusive(x_53); -if (x_58 == 0) +x_59 = !lean_is_exclusive(x_54); +if (x_59 == 0) { -return x_53; +return x_54; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_53, 0); -x_60 = lean_ctor_get(x_53, 1); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_54, 0); +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_53); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_dec(x_54); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -lean_object* x_62; lean_object* x_63; -x_62 = lean_ctor_get(x_8, 0); -lean_inc(x_62); +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_8, 0); +lean_inc(x_63); lean_dec(x_8); lean_inc(x_4); -x_63 = l_Lean_Elab_Term_isDefEq(x_6, x_62, x_3, x_4, x_17); -if (lean_obj_tag(x_63) == 0) +x_64 = l_Lean_Elab_Term_isDefEq(x_6, x_63, x_3, x_4, x_52); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_unsigned_to_nat(0u); -x_66 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_65, x_4, x_64); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(0u); +x_67 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_6, x_12, x_66, x_4, x_65); lean_dec(x_12); -if (lean_obj_tag(x_66) == 0) +if (lean_obj_tag(x_67) == 0) { -uint8_t x_67; -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) +uint8_t x_68; +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_68; -x_68 = lean_ctor_get(x_66, 0); -lean_dec(x_68); -lean_ctor_set(x_66, 0, x_2); -return x_66; +lean_object* x_69; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +lean_ctor_set(x_67, 0, x_2); +return x_67; } else { -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_2); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_2); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } else { -uint8_t x_71; +uint8_t x_72; lean_dec(x_2); -x_71 = !lean_is_exclusive(x_66); -if (x_71 == 0) +x_72 = !lean_is_exclusive(x_67); +if (x_72 == 0) { -return x_66; +return x_67; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_66, 0); -x_73 = lean_ctor_get(x_66, 1); +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_67, 0); +x_74 = lean_ctor_get(x_67, 1); +lean_inc(x_74); lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_66); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; +lean_dec(x_67); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } } else { -uint8_t x_75; +uint8_t x_76; lean_dec(x_12); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_75 = !lean_is_exclusive(x_63); -if (x_75 == 0) +x_76 = !lean_is_exclusive(x_64); +if (x_76 == 0) { -return x_63; +return x_64; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_63, 0); -x_77 = lean_ctor_get(x_63, 1); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_64, 0); +x_78 = lean_ctor_get(x_64, 1); +lean_inc(x_78); lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_63); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; +lean_dec(x_64); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} } } } @@ -5042,7 +9287,7 @@ return x_78; } else { -uint8_t x_488; +uint8_t x_1341; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -5054,46 +9299,160 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_488 = !lean_is_exclusive(x_15); -if (x_488 == 0) +x_1341 = !lean_is_exclusive(x_15); +if (x_1341 == 0) { return x_15; } else { -lean_object* x_489; lean_object* x_490; lean_object* x_491; -x_489 = lean_ctor_get(x_15, 0); -x_490 = lean_ctor_get(x_15, 1); -lean_inc(x_490); -lean_inc(x_489); +lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; +x_1342 = lean_ctor_get(x_15, 0); +x_1343 = lean_ctor_get(x_15, 1); +lean_inc(x_1343); +lean_inc(x_1342); lean_dec(x_15); -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; +x_1344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1344, 0, x_1342); +lean_ctor_set(x_1344, 1, x_1343); +return x_1344; } } } } -lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___spec__1(x_1, x_2, x_3); +x_4 = l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___spec__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Elab_App_10__elabAppArgsAux(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_Elab_App_11__elabAppArgsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgs(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* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("args"); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__1; +x_2 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("explicit: "); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__4; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Format_repr___main___closed__13; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__5; +x_2 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__6; +x_3 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__7; +x_2 = l_Lean_MessageData_arrayExpr_toMessageData___main___closed__2; +x_3 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Format_repr___main___closed__16; +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_Elab_App_12__elabAppArgs___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__5; +x_2 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__9; +x_3 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__10; +x_2 = l_Lean_MessageData_arrayExpr_toMessageData___main___closed__2; +x_3 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs(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) { _start: { lean_object* x_9; @@ -5102,7 +9461,7 @@ lean_inc(x_2); x_9 = l_Lean_Elab_Term_inferType(x_1, x_2, x_7, x_8); if (lean_obj_tag(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; +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; uint8_t x_19; x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); @@ -5115,32 +9474,44 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l_Lean_Elab_Term_tryPostponeIfMVar(x_13, x_7, x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_15, 1); +x_15 = l_Lean_Elab_Term_getOptions(x_7, x_14); +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); lean_dec(x_15); -x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Array_empty___closed__1; -x_19 = 0; -x_20 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_4); -lean_ctor_set(x_20, 2, x_5); -lean_ctor_set(x_20, 3, x_17); -lean_ctor_set(x_20, 4, x_3); -lean_ctor_set(x_20, 5, x_18); -lean_ctor_set(x_20, 6, x_18); -lean_ctor_set_uint8(x_20, sizeof(void*)*7, x_6); -lean_ctor_set_uint8(x_20, sizeof(void*)*7 + 1, x_19); -x_21 = l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main(x_20, x_2, x_13, x_7, x_16); -return x_21; +x_18 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__2; +x_19 = l_Lean_checkTraceOption(x_16, x_18); +lean_dec(x_16); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = l_Lean_Elab_Term_tryPostponeIfMVar(x_13, x_7, x_17); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Array_empty___closed__1; +x_24 = 0; +x_25 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_4); +lean_ctor_set(x_25, 2, x_5); +lean_ctor_set(x_25, 3, x_22); +lean_ctor_set(x_25, 4, x_3); +lean_ctor_set(x_25, 5, x_23); +lean_ctor_set(x_25, 6, x_23); +lean_ctor_set_uint8(x_25, sizeof(void*)*7, x_6); +lean_ctor_set_uint8(x_25, sizeof(void*)*7 + 1, x_24); +x_26 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main(x_25, x_2, x_13, x_7, x_21); +return x_26; } else { -uint8_t x_22; +uint8_t x_27; lean_dec(x_13); lean_dec(x_7); lean_dec(x_5); @@ -5148,67 +9519,220 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_22 = !lean_is_exclusive(x_15); -if (x_22 == 0) +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) { -return x_15; +return x_20; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_15, 0); -x_24 = lean_ctor_get(x_15, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_15); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_20); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } else { -uint8_t x_26; +lean_object* x_31; lean_object* x_32; +lean_inc(x_2); +x_31 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_31, 0, x_2); +lean_inc(x_13); +x_32 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_32, 0, x_13); +if (x_6 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_33 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__8; +x_34 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +x_35 = l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__7; +x_36 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_32); +x_38 = l_Lean_Elab_Term_logTrace(x_18, x_1, x_37, x_7, x_17); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = l_Lean_Elab_Term_tryPostponeIfMVar(x_13, x_7, x_39); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_unsigned_to_nat(0u); +x_43 = l_Array_empty___closed__1; +x_44 = 0; +x_45 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_45, 0, x_1); +lean_ctor_set(x_45, 1, x_4); +lean_ctor_set(x_45, 2, x_5); +lean_ctor_set(x_45, 3, x_42); +lean_ctor_set(x_45, 4, x_3); +lean_ctor_set(x_45, 5, x_43); +lean_ctor_set(x_45, 6, x_43); +lean_ctor_set_uint8(x_45, sizeof(void*)*7, x_6); +lean_ctor_set_uint8(x_45, sizeof(void*)*7 + 1, x_44); +x_46 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main(x_45, x_2, x_13, x_7, x_41); +return x_46; +} +else +{ +uint8_t x_47; +lean_dec(x_13); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_26 = !lean_is_exclusive(x_9); -if (x_26 == 0) +x_47 = !lean_is_exclusive(x_40); +if (x_47 == 0) +{ +return x_40; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_40, 0); +x_49 = lean_ctor_get(x_40, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_40); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_51 = l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__11; +x_52 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_31); +x_53 = l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__7; +x_54 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_32); +x_56 = l_Lean_Elab_Term_logTrace(x_18, x_1, x_55, x_7, x_17); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = l_Lean_Elab_Term_tryPostponeIfMVar(x_13, x_7, x_57); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_unsigned_to_nat(0u); +x_61 = l_Array_empty___closed__1; +x_62 = 0; +x_63 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_63, 0, x_1); +lean_ctor_set(x_63, 1, x_4); +lean_ctor_set(x_63, 2, x_5); +lean_ctor_set(x_63, 3, x_60); +lean_ctor_set(x_63, 4, x_3); +lean_ctor_set(x_63, 5, x_61); +lean_ctor_set(x_63, 6, x_61); +lean_ctor_set_uint8(x_63, sizeof(void*)*7, x_6); +lean_ctor_set_uint8(x_63, sizeof(void*)*7 + 1, x_62); +x_64 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main(x_63, x_2, x_13, x_7, x_59); +return x_64; +} +else +{ +uint8_t x_65; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_65 = !lean_is_exclusive(x_58); +if (x_65 == 0) +{ +return x_58; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_58, 0); +x_67 = lean_ctor_get(x_58, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_58); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_9); +if (x_69 == 0) { return x_9; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_9, 0); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); -lean_inc(x_27); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_9, 0); +x_71 = lean_ctor_get(x_9, 1); +lean_inc(x_71); +lean_inc(x_70); lean_dec(x_9); -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; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } } -lean_object* l___private_Init_Lean_Elab_App_11__elabAppArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_App_12__elabAppArgs___boxed(lean_object* x_1, lean_object* x_2, 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 = lean_unbox(x_6); lean_dec(x_6); -x_10 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_2, x_3, x_4, x_5, x_9, x_7, x_8); +x_10 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_2, x_3, x_4, x_5, x_9, x_7, x_8); return x_10; } } -lean_object* l___private_Init_Lean_Elab_App_12__throwLValError___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Elab_App_13__throwLValError___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -5236,24 +9760,24 @@ x_17 = l_Lean_Elab_Term_throwError___rarg(x_1, x_16, x_5, x_6); return x_17; } } -lean_object* l___private_Init_Lean_Elab_App_12__throwLValError(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_App_13__throwLValError(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_App_12__throwLValError___rarg___boxed), 6, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_App_13__throwLValError___rarg___boxed), 6, 0); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_12__throwLValError___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Elab_App_13__throwLValError___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); return x_7; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__1() { _start: { lean_object* x_1; @@ -5261,27 +9785,27 @@ x_1 = lean_mk_string("invalid field notation, type is not of the form (C ...) wh return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__1; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__2; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__4() { _start: { lean_object* x_1; @@ -5289,27 +9813,27 @@ x_1 = lean_mk_string("invalid [..] notation, type is not of the form (C ...) whe return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__4; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__5; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__7() { _start: { lean_object* x_1; @@ -5317,27 +9841,27 @@ x_1 = lean_mk_string("invalid projection, structure has only "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__8() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__7; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__9() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__8; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__10() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__10() { _start: { lean_object* x_1; @@ -5345,27 +9869,27 @@ x_1 = lean_mk_string(" field(s)"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__11() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__10; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__10; 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_Elab_App_13__resolveLValAux___closed__12() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__11; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__11; 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_Elab_App_13__resolveLValAux___closed__13() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__13() { _start: { lean_object* x_1; @@ -5373,27 +9897,27 @@ x_1 = lean_mk_string("invalid projection, structure expected"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__14() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__13; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__13; 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_Elab_App_13__resolveLValAux___closed__15() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__14; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__14; 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_Elab_App_13__resolveLValAux___closed__16() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__16() { _start: { lean_object* x_1; @@ -5401,27 +9925,27 @@ x_1 = lean_mk_string("invalid projection, index must be greater than 0"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__17() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__16; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__16; 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_Elab_App_13__resolveLValAux___closed__18() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__17; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__17; 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_Elab_App_13__resolveLValAux___closed__19() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__19() { _start: { lean_object* x_1; @@ -5429,27 +9953,27 @@ x_1 = lean_mk_string("invalid field notation, '"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__20() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__19; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__19; 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_Elab_App_13__resolveLValAux___closed__21() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__20; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__20; 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_Elab_App_13__resolveLValAux___closed__22() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__22() { _start: { lean_object* x_1; @@ -5457,27 +9981,27 @@ x_1 = lean_mk_string("' is not a valid \"field\" because environment does not co return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__23() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__23() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__22; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__22; 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_Elab_App_13__resolveLValAux___closed__24() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__23; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__23; 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_Elab_App_13__resolveLValAux___closed__25() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__25() { _start: { lean_object* x_1; @@ -5485,7 +10009,7 @@ x_1 = lean_mk_string("getOp"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__26() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__26() { _start: { lean_object* x_1; @@ -5493,27 +10017,27 @@ x_1 = lean_mk_string("invalid [..] notation because environment does not contain return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__27() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__27() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__26; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__26; 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_Elab_App_13__resolveLValAux___closed__28() { +lean_object* _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__28() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__27; +x_1 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__27; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux(lean_object* 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_Elab_App_14__resolveLValAux(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_13; @@ -5558,8 +10082,8 @@ lean_dec(x_21); lean_dec(x_19); lean_dec(x_15); lean_dec(x_14); -x_44 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__15; -x_45 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_44, x_5, x_20); +x_44 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__15; +x_45 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_44, x_5, x_20); x_46 = !lean_is_exclusive(x_45); if (x_46 == 0) { @@ -5608,15 +10132,15 @@ x_29 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_29, 0, x_28); x_30 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_30, 0, x_29); -x_31 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__9; +x_31 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__9; x_32 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); -x_33 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__12; +x_33 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__12; x_34 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); -x_35 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_34, x_5, x_22); +x_35 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_34, x_5, x_22); return x_35; } else @@ -5674,7 +10198,7 @@ lean_dec(x_15); lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); -x_50 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__18; +x_50 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__18; x_51 = l_Lean_Elab_Term_throwError___rarg(x_1, x_50, x_5, x_6); x_52 = !lean_is_exclusive(x_51); if (x_52 == 0) @@ -5754,11 +10278,11 @@ x_76 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_76, 0, x_57); x_77 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_77, 0, x_76); -x_78 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_78 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_79 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); -x_80 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_80 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_81 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_81, 0, x_79); lean_ctor_set(x_81, 1, x_80); @@ -5771,7 +10295,7 @@ x_84 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_85 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); -x_86 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_85, x_5, x_73); +x_86 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_85, x_5, x_73); return x_86; } else @@ -5813,11 +10337,11 @@ x_93 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_93, 0, x_57); x_94 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_94, 0, x_93); -x_95 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_95 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_96 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); -x_97 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_97 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_98 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_98, 0, x_96); lean_ctor_set(x_98, 1, x_97); @@ -5830,7 +10354,7 @@ x_101 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_102 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_102, 0, x_100); lean_ctor_set(x_102, 1, x_101); -x_103 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_102, x_5, x_73); +x_103 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_102, x_5, x_73); return x_103; } else @@ -5889,11 +10413,11 @@ x_111 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_111, 0, x_57); x_112 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_112, 0, x_111); -x_113 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_113 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_114 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_114, 0, x_113); lean_ctor_set(x_114, 1, x_112); -x_115 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_115 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_116 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_116, 0, x_114); lean_ctor_set(x_116, 1, x_115); @@ -5906,7 +10430,7 @@ x_119 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_120 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_120, 0, x_118); lean_ctor_set(x_120, 1, x_119); -x_121 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_120, x_5, x_108); +x_121 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_120, x_5, x_108); return x_121; } else @@ -5949,11 +10473,11 @@ x_129 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_129, 0, x_57); x_130 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_130, 0, x_129); -x_131 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_131 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_132 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); -x_133 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_133 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_134 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_134, 0, x_132); lean_ctor_set(x_134, 1, x_133); @@ -5966,7 +10490,7 @@ x_137 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_138 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_138, 0, x_136); lean_ctor_set(x_138, 1, x_137); -x_139 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_138, x_5, x_108); +x_139 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_138, x_5, x_108); return x_139; } else @@ -6053,11 +10577,11 @@ x_159 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_159, 0, x_57); x_160 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_160, 0, x_159); -x_161 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_161 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_162 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); -x_163 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_163 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_164 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_164, 0, x_162); lean_ctor_set(x_164, 1, x_163); @@ -6070,7 +10594,7 @@ x_167 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_168 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_168, 0, x_166); lean_ctor_set(x_168, 1, x_167); -x_169 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_168, x_5, x_156); +x_169 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_168, x_5, x_156); return x_169; } else @@ -6112,11 +10636,11 @@ x_176 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_176, 0, x_57); x_177 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_177, 0, x_176); -x_178 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_178 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_179 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_179, 0, x_178); lean_ctor_set(x_179, 1, x_177); -x_180 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_180 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_181 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_181, 0, x_179); lean_ctor_set(x_181, 1, x_180); @@ -6129,7 +10653,7 @@ x_184 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_185 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_185, 0, x_183); lean_ctor_set(x_185, 1, x_184); -x_186 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_185, x_5, x_156); +x_186 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_185, x_5, x_156); return x_186; } else @@ -6188,11 +10712,11 @@ x_194 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_194, 0, x_57); x_195 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_195, 0, x_194); -x_196 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_196 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_197 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_197, 0, x_196); lean_ctor_set(x_197, 1, x_195); -x_198 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_198 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_199 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_199, 0, x_197); lean_ctor_set(x_199, 1, x_198); @@ -6205,7 +10729,7 @@ x_202 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_203 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_203, 0, x_201); lean_ctor_set(x_203, 1, x_202); -x_204 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_203, x_5, x_191); +x_204 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_203, x_5, x_191); return x_204; } else @@ -6248,11 +10772,11 @@ x_212 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_212, 0, x_57); x_213 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_213, 0, x_212); -x_214 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_214 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_215 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_215, 0, x_214); lean_ctor_set(x_215, 1, x_213); -x_216 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_216 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_217 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_217, 0, x_215); lean_ctor_set(x_217, 1, x_216); @@ -6265,7 +10789,7 @@ x_220 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_221 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_221, 0, x_219); lean_ctor_set(x_221, 1, x_220); -x_222 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_221, x_5, x_191); +x_222 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_221, x_5, x_191); return x_222; } else @@ -6382,11 +10906,11 @@ x_246 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_246, 0, x_57); x_247 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_247, 0, x_246); -x_248 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_248 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_249 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_249, 0, x_248); lean_ctor_set(x_249, 1, x_247); -x_250 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_250 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_251 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_251, 0, x_249); lean_ctor_set(x_251, 1, x_250); @@ -6399,7 +10923,7 @@ x_254 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_255 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_255, 0, x_253); lean_ctor_set(x_255, 1, x_254); -x_256 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_255, x_5, x_242); +x_256 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_255, x_5, x_242); return x_256; } else @@ -6447,11 +10971,11 @@ x_264 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_264, 0, x_57); x_265 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_265, 0, x_264); -x_266 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_266 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_267 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_267, 0, x_266); lean_ctor_set(x_267, 1, x_265); -x_268 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_268 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_269 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_269, 0, x_267); lean_ctor_set(x_269, 1, x_268); @@ -6464,7 +10988,7 @@ x_272 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_273 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_273, 0, x_271); lean_ctor_set(x_273, 1, x_272); -x_274 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_273, x_5, x_242); +x_274 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_273, x_5, x_242); return x_274; } else @@ -6563,11 +11087,11 @@ x_294 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_294, 0, x_57); x_295 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_295, 0, x_294); -x_296 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_296 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_297 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_297, 0, x_296); lean_ctor_set(x_297, 1, x_295); -x_298 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_298 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_299 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_299, 0, x_297); lean_ctor_set(x_299, 1, x_298); @@ -6580,7 +11104,7 @@ x_302 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_303 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_303, 0, x_301); lean_ctor_set(x_303, 1, x_302); -x_304 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_303, x_5, x_290); +x_304 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_303, x_5, x_290); return x_304; } else @@ -6628,11 +11152,11 @@ x_312 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_312, 0, x_57); x_313 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_313, 0, x_312); -x_314 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21; +x_314 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21; x_315 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_315, 0, x_314); lean_ctor_set(x_315, 1, x_313); -x_316 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24; +x_316 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24; x_317 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_317, 0, x_315); lean_ctor_set(x_317, 1, x_316); @@ -6645,7 +11169,7 @@ x_320 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_321 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_321, 0, x_319); lean_ctor_set(x_321, 1, x_320); -x_322 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_321, x_5, x_290); +x_322 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_321, x_5, x_290); return x_322; } else @@ -6733,7 +11257,7 @@ if (x_334 == 0) lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; x_335 = lean_ctor_get(x_333, 0); x_336 = lean_ctor_get(x_333, 1); -x_337 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__25; +x_337 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__25; x_338 = lean_name_mk_string(x_331, x_337); lean_inc(x_338); x_339 = lean_environment_find(x_335, x_338); @@ -6744,7 +11268,7 @@ lean_free_object(x_333); lean_dec(x_332); x_340 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_340, 0, x_338); -x_341 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__28; +x_341 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__28; x_342 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_342, 0, x_341); lean_ctor_set(x_342, 1, x_340); @@ -6752,7 +11276,7 @@ x_343 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_344 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_344, 0, x_342); lean_ctor_set(x_344, 1, x_343); -x_345 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_344, x_5, x_336); +x_345 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_344, x_5, x_336); return x_345; } else @@ -6777,7 +11301,7 @@ x_348 = lean_ctor_get(x_333, 1); lean_inc(x_348); lean_inc(x_347); lean_dec(x_333); -x_349 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__25; +x_349 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__25; x_350 = lean_name_mk_string(x_331, x_349); lean_inc(x_350); x_351 = lean_environment_find(x_347, x_350); @@ -6787,7 +11311,7 @@ lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_dec(x_332); x_352 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_352, 0, x_350); -x_353 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__28; +x_353 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__28; x_354 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_354, 0, x_353); lean_ctor_set(x_354, 1, x_352); @@ -6795,7 +11319,7 @@ x_355 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; x_356 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_356, 0, x_354); lean_ctor_set(x_356, 1, x_355); -x_357 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_356, x_5, x_348); +x_357 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_356, x_5, x_348); return x_357; } else @@ -6832,31 +11356,31 @@ if (lean_obj_tag(x_4) == 2) { lean_object* x_8; lean_object* x_9; lean_dec(x_4); -x_8 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__6; -x_9 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_8, x_5, x_6); +x_8 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__6; +x_9 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_8, x_5, x_6); return x_9; } else { lean_object* x_10; lean_object* x_11; lean_dec(x_4); -x_10 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__3; -x_11 = l___private_Init_Lean_Elab_App_12__throwLValError___rarg(x_1, x_2, x_3, x_10, x_5, x_6); +x_10 = l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__3; +x_11 = l___private_Init_Lean_Elab_App_13__throwLValError___rarg(x_1, x_2, x_3, x_10, x_5, x_6); return x_11; } } } } -lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___boxed(lean_object* 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_Elab_App_14__resolveLValAux___boxed(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_Elab_App_13__resolveLValAux(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Elab_App_14__resolveLValAux(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); return x_7; } } -lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_App_14__resolveLValLoop___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* l_Array_forMAux___main___at___private_Init_Lean_Elab_App_15__resolveLValLoop___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -6926,7 +11450,7 @@ goto _start; } } } -lean_object* l___private_Init_Lean_Elab_App_14__resolveLValLoop___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_Elab_App_15__resolveLValLoop___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; @@ -6951,7 +11475,7 @@ lean_inc(x_6); lean_inc(x_3); lean_inc(x_9); lean_inc(x_2); -x_13 = l___private_Init_Lean_Elab_App_13__resolveLValAux(x_1, x_2, x_9, x_3, x_6, x_12); +x_13 = l___private_Init_Lean_Elab_App_14__resolveLValAux(x_1, x_2, x_9, x_3, x_6, x_12); if (lean_obj_tag(x_13) == 0) { lean_dec(x_9); @@ -6993,7 +11517,7 @@ x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); x_21 = lean_unsigned_to_nat(0u); -x_22 = l_Array_forMAux___main___at___private_Init_Lean_Elab_App_14__resolveLValLoop___main___spec__1(x_17, x_5, x_21, x_6, x_20); +x_22 = l_Array_forMAux___main___at___private_Init_Lean_Elab_App_15__resolveLValLoop___main___spec__1(x_17, x_5, x_21, x_6, x_20); lean_dec(x_6); lean_dec(x_5); x_23 = !lean_is_exclusive(x_22); @@ -7150,43 +11674,43 @@ return x_46; } } } -lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_App_14__resolveLValLoop___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_forMAux___main___at___private_Init_Lean_Elab_App_15__resolveLValLoop___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: { lean_object* x_6; -x_6 = l_Array_forMAux___main___at___private_Init_Lean_Elab_App_14__resolveLValLoop___main___spec__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_forMAux___main___at___private_Init_Lean_Elab_App_15__resolveLValLoop___main___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_2); return x_6; } } -lean_object* l___private_Init_Lean_Elab_App_14__resolveLValLoop___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_Elab_App_15__resolveLValLoop___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_Elab_App_14__resolveLValLoop___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Elab_App_15__resolveLValLoop___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_8; } } -lean_object* l___private_Init_Lean_Elab_App_14__resolveLValLoop(lean_object* x_1, lean_object* 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_Elab_App_15__resolveLValLoop(lean_object* x_1, 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_Elab_App_14__resolveLValLoop___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Elab_App_15__resolveLValLoop___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_8; } } -lean_object* l___private_Init_Lean_Elab_App_14__resolveLValLoop___boxed(lean_object* x_1, lean_object* 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_Elab_App_15__resolveLValLoop___boxed(lean_object* x_1, 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_Elab_App_14__resolveLValLoop(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Elab_App_15__resolveLValLoop(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_8; } } -lean_object* l___private_Init_Lean_Elab_App_15__resolveLVal(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_Elab_App_16__resolveLVal(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; @@ -7202,7 +11726,7 @@ x_8 = lean_ctor_get(x_6, 1); lean_inc(x_8); lean_dec(x_6); x_9 = l_Array_empty___closed__1; -x_10 = l___private_Init_Lean_Elab_App_14__resolveLValLoop___main(x_1, x_2, x_3, x_7, x_9, x_4, x_8); +x_10 = l___private_Init_Lean_Elab_App_15__resolveLValLoop___main(x_1, x_2, x_3, x_7, x_9, x_4, x_8); return x_10; } else @@ -7232,16 +11756,16 @@ return x_14; } } } -lean_object* l___private_Init_Lean_Elab_App_15__resolveLVal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_App_16__resolveLVal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_App_15__resolveLVal(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_App_16__resolveLVal(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } } -lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__1() { +lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__1() { _start: { lean_object* x_1; @@ -7249,17 +11773,17 @@ x_1 = lean_mk_string("self"); return x_1; } } -lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2() { +lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__1; +x_2 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_3) == 0) @@ -7293,7 +11817,7 @@ lean_inc(x_12); lean_dec(x_10); x_13 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_13, 0, x_2); -x_14 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2; +x_14 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2; x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); @@ -7304,7 +11828,7 @@ x_19 = l_Array_empty___closed__1; x_20 = 0; lean_inc(x_4); lean_inc(x_1); -x_21 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_11, x_17, x_19, x_18, x_20, x_4, x_12); +x_21 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_11, x_17, x_19, x_18, x_20, x_4, x_12); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; @@ -7373,7 +11897,7 @@ return x_32; } } } -lean_object* _init_l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__1() { _start: { lean_object* x_1; @@ -7381,27 +11905,27 @@ x_1 = lean_mk_string("failed to access field in parent structure"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__1; +x_1 = l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__2; +x_1 = l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_16__mkBaseProjections(lean_object* 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_Elab_App_17__mkBaseProjections(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -7416,7 +11940,7 @@ if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; lean_dec(x_4); -x_11 = l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__3; +x_11 = l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__3; x_12 = l_Lean_Elab_Term_throwError___rarg(x_1, x_11, x_5, x_9); lean_dec(x_1); return x_12; @@ -7427,21 +11951,21 @@ lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_10, 0); lean_inc(x_13); lean_dec(x_10); -x_14 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1(x_1, x_4, x_13, x_5, x_9); +x_14 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1(x_1, x_4, x_13, x_5, x_9); return x_14; } } } -lean_object* l___private_Init_Lean_Elab_App_16__mkBaseProjections___boxed(lean_object* 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_Elab_App_17__mkBaseProjections___boxed(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_Elab_App_16__mkBaseProjections(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Elab_App_17__mkBaseProjections(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); return x_7; } } -lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_17__addLValArg___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_18__addLValArg___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -7483,7 +12007,7 @@ return x_13; } } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__1() { _start: { lean_object* x_1; @@ -7491,27 +12015,27 @@ x_1 = lean_mk_string("invalid field notation, function '"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__1; +x_1 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__2; +x_1 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__4() { _start: { lean_object* x_1; @@ -7519,27 +12043,27 @@ x_1 = lean_mk_string("' does not have explicit argument with type ("); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__4; +x_1 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__5; +x_1 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__7() { _start: { lean_object* x_1; @@ -7547,27 +12071,27 @@ x_1 = lean_mk_string(" ...)"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__8() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__7; +x_1 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__9() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__8; +x_1 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__10() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__10() { _start: { lean_object* x_1; @@ -7575,27 +12099,27 @@ x_1 = lean_mk_string("invalid field notation, insufficient number of arguments f return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__11() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__10; +x_1 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__10; 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_Elab_App_17__addLValArg___main___closed__12() { +lean_object* _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__11; +x_1 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__11; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -7617,7 +12141,7 @@ else { lean_object* x_30; lean_object* x_31; x_30 = lean_unsigned_to_nat(0u); -x_31 = l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_17__addLValArg___main___spec__1(x_23, x_7, x_30); +x_31 = l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_18__addLValArg___main___spec__1(x_23, x_7, x_30); if (lean_obj_tag(x_31) == 0) { lean_object* x_32; uint8_t x_33; @@ -7640,7 +12164,7 @@ lean_dec(x_4); lean_dec(x_2); x_36 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_36, 0, x_3); -x_37 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__12; +x_37 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__12; x_38 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); @@ -7710,11 +12234,11 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean lean_dec(x_11); x_12 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_12, 0, x_3); -x_13 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__3; +x_13 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__3; x_14 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); -x_15 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__6; +x_15 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__6; x_16 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -7723,7 +12247,7 @@ lean_ctor_set(x_17, 0, x_2); x_18 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); -x_19 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__9; +x_19 = l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__9; x_20 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); @@ -7732,45 +12256,45 @@ return x_21; } } } -lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_17__addLValArg___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_18__addLValArg___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_17__addLValArg___main___spec__1(x_1, x_2, x_3); +x_4 = l_Array_findIdxAux___main___at___private_Init_Lean_Elab_App_18__addLValArg___main___spec__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l___private_Init_Lean_Elab_App_17__addLValArg___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Init_Lean_Elab_App_18__addLValArg___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); lean_dec(x_1); return x_11; } } -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l___private_Init_Lean_Elab_App_17__addLValArg___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Init_Lean_Elab_App_18__addLValArg___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_11; } } -lean_object* l___private_Init_Lean_Elab_App_17__addLValArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Init_Lean_Elab_App_18__addLValArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l___private_Init_Lean_Elab_App_17__addLValArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Init_Lean_Elab_App_18__addLValArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); lean_dec(x_1); return x_11; } } -lean_object* _init_l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__1() { _start: { lean_object* x_1; @@ -7778,23 +12302,23 @@ x_1 = lean_mk_string("idx"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__1; +x_2 = l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_7) == 0) { lean_object* x_10; -x_10 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_6, x_2, x_3, x_4, x_5, x_8, x_9); +x_10 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_6, x_2, x_3, x_4, x_5, x_8, x_9); return x_10; } else @@ -7807,7 +12331,7 @@ lean_inc(x_12); lean_dec(x_7); lean_inc(x_8); lean_inc(x_6); -x_13 = l___private_Init_Lean_Elab_App_15__resolveLVal(x_1, x_6, x_11, x_8, x_9); +x_13 = l___private_Init_Lean_Elab_App_16__resolveLVal(x_1, x_6, x_11, x_8, x_9); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; @@ -7829,7 +12353,7 @@ lean_inc(x_18); lean_dec(x_14); lean_inc(x_8); lean_inc(x_1); -x_19 = l___private_Init_Lean_Elab_App_16__mkBaseProjections(x_1, x_16, x_17, x_6, x_8, x_15); +x_19 = l___private_Init_Lean_Elab_App_17__mkBaseProjections(x_1, x_16, x_17, x_6, x_8, x_15); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -7857,7 +12381,7 @@ if (x_27 == 0) lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; x_28 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_28, 0, x_20); -x_29 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2; +x_29 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2; x_30 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); @@ -7868,7 +12392,7 @@ x_34 = l_Array_empty___closed__1; x_35 = 0; lean_inc(x_8); lean_inc(x_1); -x_36 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_25, x_32, x_34, x_33, x_35, x_8, x_26); +x_36 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_25, x_32, x_34, x_33, x_35, x_8, x_26); if (lean_obj_tag(x_36) == 0) { lean_object* x_37; lean_object* x_38; @@ -7917,7 +12441,7 @@ lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_dec(x_12); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_20); -x_45 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2; +x_45 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2; x_46 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); @@ -7931,7 +12455,7 @@ lean_inc(x_48); x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); lean_dec(x_47); -x_50 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_25, x_48, x_3, x_4, x_5, x_8, x_49); +x_50 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_25, x_48, x_3, x_4, x_5, x_8, x_49); return x_50; } else @@ -8079,7 +12603,7 @@ x_80 = l_Array_empty___closed__1; x_81 = 0; lean_inc(x_8); lean_inc(x_1); -x_82 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_73, x_80, x_78, x_79, x_81, x_8, x_74); +x_82 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_73, x_80, x_78, x_79, x_81, x_8, x_74); if (lean_obj_tag(x_82) == 0) { lean_object* x_83; lean_object* x_84; @@ -8140,7 +12664,7 @@ lean_dec(x_90); x_93 = lean_unsigned_to_nat(0u); lean_inc(x_8); lean_inc(x_2); -x_94 = l___private_Init_Lean_Elab_App_17__addLValArg___main(x_1, x_69, x_70, x_6, x_3, x_93, x_2, x_91, x_8, x_92); +x_94 = l___private_Init_Lean_Elab_App_18__addLValArg___main(x_1, x_69, x_70, x_6, x_3, x_93, x_2, x_91, x_8, x_92); lean_dec(x_91); if (lean_obj_tag(x_94) == 0) { @@ -8150,7 +12674,7 @@ lean_inc(x_95); x_96 = lean_ctor_get(x_94, 1); lean_inc(x_96); lean_dec(x_94); -x_97 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_73, x_2, x_95, x_4, x_5, x_8, x_96); +x_97 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_73, x_2, x_95, x_4, x_5, x_8, x_96); return x_97; } else @@ -8274,7 +12798,7 @@ x_119 = l_Array_empty___closed__1; x_120 = 0; lean_inc(x_8); lean_inc(x_1); -x_121 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_113, x_119, x_117, x_118, x_120, x_8, x_110); +x_121 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_113, x_119, x_117, x_118, x_120, x_8, x_110); if (lean_obj_tag(x_121) == 0) { lean_object* x_122; lean_object* x_123; @@ -8335,7 +12859,7 @@ lean_dec(x_129); x_132 = lean_unsigned_to_nat(0u); lean_inc(x_8); lean_inc(x_2); -x_133 = l___private_Init_Lean_Elab_App_17__addLValArg___main(x_1, x_111, x_112, x_6, x_3, x_132, x_2, x_130, x_8, x_131); +x_133 = l___private_Init_Lean_Elab_App_18__addLValArg___main(x_1, x_111, x_112, x_6, x_3, x_132, x_2, x_130, x_8, x_131); lean_dec(x_130); if (lean_obj_tag(x_133) == 0) { @@ -8345,7 +12869,7 @@ lean_inc(x_134); x_135 = lean_ctor_get(x_133, 1); lean_inc(x_135); lean_dec(x_133); -x_136 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_113, x_2, x_134, x_4, x_5, x_8, x_135); +x_136 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_113, x_2, x_134, x_4, x_5, x_8, x_135); return x_136; } else @@ -8437,13 +12961,13 @@ if (x_152 == 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; uint8_t x_164; lean_object* x_165; x_153 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_153, 0, x_6); -x_154 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2; +x_154 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2; x_155 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_155, 0, x_154); lean_ctor_set(x_155, 1, x_153); x_156 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_156, 0, x_147); -x_157 = l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__2; +x_157 = l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__2; x_158 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_158, 0, x_157); lean_ctor_set(x_158, 1, x_156); @@ -8455,7 +12979,7 @@ x_163 = l_Array_empty___closed__1; x_164 = 0; lean_inc(x_8); lean_inc(x_1); -x_165 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_150, x_161, x_163, x_162, x_164, x_8, x_151); +x_165 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_150, x_161, x_163, x_162, x_164, x_8, x_151); if (lean_obj_tag(x_165) == 0) { lean_object* x_166; lean_object* x_167; @@ -8504,7 +13028,7 @@ lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_dec(x_12); x_173 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_173, 0, x_6); -x_174 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2; +x_174 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2; x_175 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_175, 0, x_174); lean_ctor_set(x_175, 1, x_173); @@ -8520,7 +13044,7 @@ lean_inc(x_178); lean_dec(x_176); x_179 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_179, 0, x_147); -x_180 = l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__2; +x_180 = l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__2; x_181 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_181, 0, x_180); lean_ctor_set(x_181, 1, x_179); @@ -8534,7 +13058,7 @@ lean_inc(x_183); x_184 = lean_ctor_get(x_182, 1); lean_inc(x_184); lean_dec(x_182); -x_185 = l___private_Init_Lean_Elab_App_11__elabAppArgs(x_1, x_150, x_183, x_3, x_4, x_5, x_8, x_184); +x_185 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_150, x_183, x_3, x_4, x_5, x_8, x_184); return x_185; } else @@ -8660,35 +13184,35 @@ return x_201; } } } -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_5); lean_dec(x_5); -x_11 = l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +x_11 = l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_10; } } -lean_object* l___private_Init_Lean_Elab_App_18__elabAppLValsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Init_Lean_Elab_App_19__elabAppLValsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_5); lean_dec(x_5); -x_11 = l___private_Init_Lean_Elab_App_18__elabAppLValsAux(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +x_11 = l___private_Init_Lean_Elab_App_19__elabAppLValsAux(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } -lean_object* _init_l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__1() { _start: { lean_object* x_1; @@ -8696,27 +13220,27 @@ x_1 = lean_mk_string("invalid use of field notation with `@` modifier"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__1; +x_1 = l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__2; +x_1 = l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_19__elabAppLVals(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Init_Lean_Elab_App_20__elabAppLVals(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -8726,7 +13250,7 @@ if (x_10 == 0) if (x_7 == 0) { lean_object* x_11; -x_11 = l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main(x_1, x_4, x_5, x_6, x_7, x_2, x_3, x_8, x_9); +x_11 = l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main(x_1, x_4, x_5, x_6, x_7, x_2, x_3, x_8, x_9); return x_11; } else @@ -8737,7 +13261,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_12 = l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__3; +x_12 = l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__3; x_13 = l_Lean_Elab_Term_throwError___rarg(x_1, x_12, x_8, x_9); lean_dec(x_1); x_14 = !lean_is_exclusive(x_13); @@ -8763,18 +13287,18 @@ return x_17; else { lean_object* x_18; -x_18 = l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main(x_1, x_4, x_5, x_6, x_7, x_2, x_3, x_8, x_9); +x_18 = l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main(x_1, x_4, x_5, x_6, x_7, x_2, x_3, x_8, x_9); return x_18; } } } -lean_object* l___private_Init_Lean_Elab_App_19__elabAppLVals___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l___private_Init_Lean_Elab_App_20__elabAppLVals___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_7); lean_dec(x_7); -x_11 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_2, x_3, x_4, x_5, x_6, x_10, x_8, x_9); +x_11 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_2, x_3, x_4, x_5, x_6, x_10, x_8, x_9); return x_11; } } @@ -8886,7 +13410,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_List_map___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__1(lean_object* x_1) { +lean_object* l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -8906,7 +13430,7 @@ x_4 = lean_ctor_get(x_1, 0); x_5 = lean_ctor_get(x_1, 1); x_6 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_6, 0, x_4); -x_7 = l_List_map___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__1(x_5); +x_7 = l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__1(x_5); lean_ctor_set(x_1, 1, x_7); lean_ctor_set(x_1, 0, x_6); return x_1; @@ -8921,7 +13445,7 @@ lean_inc(x_8); lean_dec(x_1); x_10 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_10, 0, x_8); -x_11 = l_List_map___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__1(x_9); +x_11 = l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__1(x_9); x_12 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); @@ -8930,7 +13454,7 @@ return x_12; } } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__2(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* l_List_foldlM___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__2(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) { _start: { if (lean_obj_tag(x_8) == 0) @@ -8960,7 +13484,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); lean_dec(x_12); -x_16 = l_List_map___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__1(x_15); +x_16 = l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__1(x_15); lean_inc(x_2); x_17 = l_List_append___rarg(x_16, x_2); lean_inc(x_10); @@ -8969,7 +13493,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_18 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_14, x_17, x_3, x_4, x_5, x_6, x_9, x_10); +x_18 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_14, x_17, x_3, x_4, x_5, x_6, x_9, x_10); if (lean_obj_tag(x_18) == 0) { uint8_t x_19; @@ -9115,7 +13639,7 @@ return x_46; } } } -lean_object* l___private_Init_Lean_Elab_App_20__elabAppFnId(lean_object* x_1, 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 x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Init_Lean_Elab_App_21__elabAppFnId(lean_object* x_1, 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 x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_2) == 3) @@ -9136,7 +13660,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__2(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_10, x_16); +x_17 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__2(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_10, x_16); return x_17; } else @@ -9186,27 +13710,27 @@ return x_22; } } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_6); lean_dec(x_6); -x_12 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_20__elabAppFnId___spec__2(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +x_12 = l_List_foldlM___main___at___private_Init_Lean_Elab_App_21__elabAppFnId___spec__2(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); return x_12; } } -lean_object* l___private_Init_Lean_Elab_App_20__elabAppFnId___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Init_Lean_Elab_App_21__elabAppFnId___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_8); lean_dec(x_8); -x_13 = l___private_Init_Lean_Elab_App_20__elabAppFnId(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); +x_13 = l___private_Init_Lean_Elab_App_21__elabAppFnId(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_9, x_10, x_11); return x_13; } } -lean_object* l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__1(lean_object* x_1) { +lean_object* l_List_map___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -9228,7 +13752,7 @@ x_6 = l_Lean_Name_toString___closed__1; x_7 = l_Lean_Name_toStringWithSep___main(x_6, x_4); x_8 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_8, 0, x_7); -x_9 = l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__1(x_5); +x_9 = l_List_map___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__1(x_5); lean_ctor_set(x_1, 1, x_9); lean_ctor_set(x_1, 0, x_8); return x_1; @@ -9245,7 +13769,7 @@ x_12 = l_Lean_Name_toString___closed__1; x_13 = l_Lean_Name_toStringWithSep___main(x_12, x_10); x_14 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_14, 0, x_13); -x_15 = l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__1(x_11); +x_15 = l_List_map___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__1(x_11); x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -9254,7 +13778,7 @@ return x_16; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_21__elabAppFn___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, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_22__elabAppFn___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, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; uint8_t x_14; @@ -9289,7 +13813,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_19 = l___private_Init_Lean_Elab_App_21__elabAppFn___main(x_1, x_16, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12); +x_19 = l___private_Init_Lean_Elab_App_22__elabAppFn___main(x_1, x_16, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; @@ -9335,1878 +13859,2341 @@ return x_26; } } } -lean_object* l___private_Init_Lean_Elab_App_21__elabAppFn___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, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Init_Lean_Elab_App_22__elabAppFn___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_181; -x_181 = l_Lean_Syntax_isIdent(x_2); -if (x_181 == 0) +uint8_t x_11; +x_11 = l_Lean_Syntax_isIdent(x_2); +if (x_11 == 0) { -lean_object* x_182; lean_object* x_183; uint8_t x_184; +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_inc(x_2); -x_182 = l_Lean_Syntax_getKind(x_2); -x_183 = l_Lean_choiceKind; -x_184 = lean_name_eq(x_182, x_183); -lean_dec(x_182); -if (x_184 == 0) +x_12 = l_Lean_Syntax_getKind(x_2); +x_13 = l_Lean_choiceKind; +x_14 = lean_name_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) { -uint8_t x_185; uint8_t x_324; lean_object* x_414; uint8_t x_415; -x_414 = l_Lean_Parser_Term_explicit___elambda__1___closed__2; +uint8_t x_15; uint8_t x_389; uint8_t x_493; lean_object* x_632; uint8_t x_633; +x_632 = l_Lean_Parser_Term_proj___elambda__1___closed__2; lean_inc(x_2); -x_415 = l_Lean_Syntax_isOfKind(x_2, x_414); -if (x_415 == 0) +x_633 = l_Lean_Syntax_isOfKind(x_2, x_632); +if (x_633 == 0) { -uint8_t x_416; -x_416 = 0; -x_324 = x_416; -goto block_413; +uint8_t x_634; +x_634 = 0; +x_493 = x_634; +goto block_631; } else { -lean_object* x_417; lean_object* x_418; lean_object* x_419; uint8_t x_420; -x_417 = l_Lean_Syntax_getArgs(x_2); -x_418 = lean_array_get_size(x_417); -lean_dec(x_417); -x_419 = lean_unsigned_to_nat(2u); -x_420 = lean_nat_dec_eq(x_418, x_419); -lean_dec(x_418); -x_324 = x_420; -goto block_413; -} -block_323: -{ -uint8_t x_186; -x_186 = l_coeDecidableEq(x_185); -if (x_186 == 0) -{ -lean_object* x_187; uint8_t x_188; -x_187 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; -lean_inc(x_2); -x_188 = l_Lean_Syntax_isOfKind(x_2, x_187); -if (x_188 == 0) -{ -uint8_t x_189; -x_189 = l_Lean_Elab_Term_elabParen___closed__4; -if (x_189 == 0) -{ -lean_object* x_190; uint8_t x_191; -x_190 = l_Lean_mkTermIdFromIdent___closed__2; -lean_inc(x_2); -x_191 = l_Lean_Syntax_isOfKind(x_2, x_190); -if (x_191 == 0) -{ -uint8_t x_192; -x_192 = 0; -x_11 = x_192; -goto block_180; -} -else -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; -x_193 = l_Lean_Syntax_getArgs(x_2); -x_194 = lean_array_get_size(x_193); -lean_dec(x_193); -x_195 = lean_unsigned_to_nat(2u); -x_196 = lean_nat_dec_eq(x_194, x_195); -lean_dec(x_194); -x_11 = x_196; -goto block_180; -} -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_197 = lean_unsigned_to_nat(0u); -x_198 = l_Lean_Syntax_getArg(x_2, x_197); -x_199 = lean_unsigned_to_nat(2u); -x_200 = l_Lean_Syntax_getArg(x_2, x_199); -lean_dec(x_2); -x_201 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_201, 0, x_200); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_3); -x_2 = x_198; -x_3 = x_202; -goto _start; -} -} -else -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; uint8_t x_208; -x_204 = l_Lean_Syntax_getArgs(x_2); -x_205 = lean_array_get_size(x_204); -lean_dec(x_204); -x_206 = lean_unsigned_to_nat(4u); -x_207 = lean_nat_dec_eq(x_205, x_206); -x_208 = l_coeDecidableEq(x_207); -if (x_208 == 0) -{ -lean_object* x_209; uint8_t x_210; -x_209 = l_Lean_mkTermIdFromIdent___closed__2; -lean_inc(x_2); -x_210 = l_Lean_Syntax_isOfKind(x_2, x_209); -if (x_210 == 0) -{ -uint8_t x_211; -lean_dec(x_205); -x_211 = 0; -x_11 = x_211; -goto block_180; -} -else -{ -lean_object* x_212; uint8_t x_213; -x_212 = lean_unsigned_to_nat(2u); -x_213 = lean_nat_dec_eq(x_205, x_212); -lean_dec(x_205); -x_11 = x_213; -goto block_180; -} -} -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; -lean_dec(x_205); -x_214 = lean_unsigned_to_nat(0u); -x_215 = l_Lean_Syntax_getArg(x_2, x_214); -x_216 = lean_unsigned_to_nat(2u); -x_217 = l_Lean_Syntax_getArg(x_2, x_216); -lean_dec(x_2); -x_218 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_218, 0, x_217); -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_218); -lean_ctor_set(x_219, 1, x_3); -x_2 = x_215; -x_3 = x_219; -goto _start; -} -} -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; uint8_t x_225; -x_221 = lean_unsigned_to_nat(2u); -x_222 = l_Lean_Syntax_getArg(x_2, x_221); -x_223 = l_Lean_fieldIdxKind___closed__2; -lean_inc(x_222); -x_224 = l_Lean_Syntax_isOfKind(x_222, x_223); -x_225 = l_coeDecidableEq(x_224); -if (x_225 == 0) -{ -lean_object* x_226; uint8_t x_227; uint8_t x_228; -x_226 = l_Lean_identKind___closed__2; -lean_inc(x_222); -x_227 = l_Lean_Syntax_isOfKind(x_222, x_226); -x_228 = l_coeDecidableEq(x_227); -if (x_228 == 0) -{ -lean_object* x_229; uint8_t x_230; lean_object* x_231; -lean_dec(x_222); -x_229 = lean_box(0); -x_230 = 1; -lean_inc(x_10); -lean_inc(x_9); -x_231 = l_Lean_Elab_Term_elabTermAux___main(x_229, x_230, x_2, x_9, x_10); -if (lean_obj_tag(x_231) == 0) -{ -uint8_t x_232; -x_232 = !lean_is_exclusive(x_231); -if (x_232 == 0) -{ -lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_233 = lean_ctor_get(x_231, 0); -x_234 = lean_ctor_get(x_231, 1); -x_235 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_233, x_3, x_4, x_5, x_6, x_7, x_9, x_234); -if (lean_obj_tag(x_235) == 0) -{ -uint8_t x_236; -x_236 = !lean_is_exclusive(x_235); -if (x_236 == 0) -{ -lean_object* x_237; -x_237 = lean_array_push(x_8, x_235); -lean_ctor_set(x_231, 1, x_10); -lean_ctor_set(x_231, 0, x_237); -return x_231; -} -else -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_238 = lean_ctor_get(x_235, 0); -x_239 = lean_ctor_get(x_235, 1); -lean_inc(x_239); -lean_inc(x_238); -lean_dec(x_235); -x_240 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_240, 0, x_238); -lean_ctor_set(x_240, 1, x_239); -x_241 = lean_array_push(x_8, x_240); -lean_ctor_set(x_231, 1, x_10); -lean_ctor_set(x_231, 0, x_241); -return x_231; -} -} -else -{ -lean_object* x_242; -x_242 = lean_ctor_get(x_235, 0); -lean_inc(x_242); -if (lean_obj_tag(x_242) == 0) -{ -lean_object* x_243; -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -if (lean_obj_tag(x_243) == 0) -{ -uint8_t x_244; -lean_dec(x_242); -x_244 = !lean_is_exclusive(x_235); -if (x_244 == 0) -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_245 = lean_ctor_get(x_235, 0); -lean_dec(x_245); -x_246 = lean_ctor_get(x_243, 0); -lean_inc(x_246); -lean_dec(x_243); -lean_ctor_set(x_235, 0, x_246); -x_247 = lean_array_push(x_8, x_235); -lean_ctor_set(x_231, 1, x_10); -lean_ctor_set(x_231, 0, x_247); -return x_231; -} -else -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_248 = lean_ctor_get(x_235, 1); -lean_inc(x_248); -lean_dec(x_235); -x_249 = lean_ctor_get(x_243, 0); -lean_inc(x_249); -lean_dec(x_243); -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_248); -x_251 = lean_array_push(x_8, x_250); -lean_ctor_set(x_231, 1, x_10); -lean_ctor_set(x_231, 0, x_251); -return x_231; -} -} -else -{ -uint8_t x_252; -lean_free_object(x_231); -lean_dec(x_10); -lean_dec(x_8); -x_252 = !lean_is_exclusive(x_235); -if (x_252 == 0) -{ -lean_object* x_253; -x_253 = lean_ctor_get(x_235, 0); -lean_dec(x_253); -return x_235; -} -else -{ -lean_object* x_254; lean_object* x_255; -x_254 = lean_ctor_get(x_235, 1); -lean_inc(x_254); -lean_dec(x_235); -x_255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_255, 0, x_242); -lean_ctor_set(x_255, 1, x_254); -return x_255; -} -} -} -else -{ -uint8_t x_256; -lean_free_object(x_231); -lean_dec(x_8); -x_256 = !lean_is_exclusive(x_235); -if (x_256 == 0) -{ -lean_object* x_257; lean_object* x_258; -x_257 = lean_ctor_get(x_235, 1); -lean_dec(x_257); -x_258 = lean_ctor_get(x_235, 0); -lean_dec(x_258); -lean_ctor_set(x_235, 1, x_10); -return x_235; -} -else -{ -lean_object* x_259; -lean_dec(x_235); -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_242); -lean_ctor_set(x_259, 1, x_10); -return x_259; -} -} -} -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_260 = lean_ctor_get(x_231, 0); -x_261 = lean_ctor_get(x_231, 1); -lean_inc(x_261); -lean_inc(x_260); -lean_dec(x_231); -x_262 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_260, x_3, x_4, x_5, x_6, x_7, x_9, x_261); -if (lean_obj_tag(x_262) == 0) -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_263 = lean_ctor_get(x_262, 0); -lean_inc(x_263); -x_264 = lean_ctor_get(x_262, 1); -lean_inc(x_264); -if (lean_is_exclusive(x_262)) { - lean_ctor_release(x_262, 0); - lean_ctor_release(x_262, 1); - x_265 = x_262; -} else { - lean_dec_ref(x_262); - x_265 = lean_box(0); -} -if (lean_is_scalar(x_265)) { - x_266 = lean_alloc_ctor(0, 2, 0); -} else { - x_266 = x_265; -} -lean_ctor_set(x_266, 0, x_263); -lean_ctor_set(x_266, 1, x_264); -x_267 = lean_array_push(x_8, x_266); -x_268 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_268, 0, x_267); -lean_ctor_set(x_268, 1, x_10); -return x_268; -} -else -{ -lean_object* x_269; -x_269 = lean_ctor_get(x_262, 0); -lean_inc(x_269); -if (lean_obj_tag(x_269) == 0) -{ -lean_object* x_270; -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -if (lean_obj_tag(x_270) == 0) -{ -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_dec(x_269); -x_271 = lean_ctor_get(x_262, 1); -lean_inc(x_271); -if (lean_is_exclusive(x_262)) { - lean_ctor_release(x_262, 0); - lean_ctor_release(x_262, 1); - x_272 = x_262; -} else { - lean_dec_ref(x_262); - x_272 = lean_box(0); -} -x_273 = lean_ctor_get(x_270, 0); -lean_inc(x_273); -lean_dec(x_270); -if (lean_is_scalar(x_272)) { - x_274 = lean_alloc_ctor(1, 2, 0); -} else { - x_274 = x_272; -} -lean_ctor_set(x_274, 0, x_273); -lean_ctor_set(x_274, 1, x_271); -x_275 = lean_array_push(x_8, x_274); -x_276 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_10); -return x_276; -} -else -{ -lean_object* x_277; lean_object* x_278; lean_object* x_279; -lean_dec(x_10); -lean_dec(x_8); -x_277 = lean_ctor_get(x_262, 1); -lean_inc(x_277); -if (lean_is_exclusive(x_262)) { - lean_ctor_release(x_262, 0); - lean_ctor_release(x_262, 1); - x_278 = x_262; -} else { - lean_dec_ref(x_262); - x_278 = lean_box(0); -} -if (lean_is_scalar(x_278)) { - x_279 = lean_alloc_ctor(1, 2, 0); -} else { - x_279 = x_278; -} -lean_ctor_set(x_279, 0, x_269); -lean_ctor_set(x_279, 1, x_277); -return x_279; -} -} -else -{ -lean_object* x_280; lean_object* x_281; -lean_dec(x_8); -if (lean_is_exclusive(x_262)) { - lean_ctor_release(x_262, 0); - lean_ctor_release(x_262, 1); - x_280 = x_262; -} else { - lean_dec_ref(x_262); - x_280 = lean_box(0); -} -if (lean_is_scalar(x_280)) { - x_281 = lean_alloc_ctor(1, 2, 0); -} else { - x_281 = x_280; -} -lean_ctor_set(x_281, 0, x_269); -lean_ctor_set(x_281, 1, x_10); -return x_281; -} -} -} -} -else -{ -lean_object* x_282; -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_282 = lean_ctor_get(x_231, 0); -lean_inc(x_282); -if (lean_obj_tag(x_282) == 0) -{ -lean_object* x_283; -x_283 = lean_ctor_get(x_282, 0); -lean_inc(x_283); -if (lean_obj_tag(x_283) == 0) -{ -uint8_t x_284; -lean_dec(x_282); -x_284 = !lean_is_exclusive(x_231); -if (x_284 == 0) -{ -lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; -x_285 = lean_ctor_get(x_231, 0); -lean_dec(x_285); -x_286 = lean_ctor_get(x_283, 0); -lean_inc(x_286); -lean_dec(x_283); -lean_ctor_set(x_231, 0, x_286); -x_287 = lean_array_push(x_8, x_231); -x_288 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_10); -return x_288; -} -else -{ -lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_289 = lean_ctor_get(x_231, 1); -lean_inc(x_289); -lean_dec(x_231); -x_290 = lean_ctor_get(x_283, 0); -lean_inc(x_290); -lean_dec(x_283); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -x_292 = lean_array_push(x_8, x_291); -x_293 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_293, 0, x_292); -lean_ctor_set(x_293, 1, x_10); -return x_293; -} -} -else -{ -uint8_t x_294; -lean_dec(x_10); -lean_dec(x_8); -x_294 = !lean_is_exclusive(x_231); -if (x_294 == 0) -{ -lean_object* x_295; -x_295 = lean_ctor_get(x_231, 0); -lean_dec(x_295); -return x_231; -} -else -{ -lean_object* x_296; lean_object* x_297; -x_296 = lean_ctor_get(x_231, 1); -lean_inc(x_296); -lean_dec(x_231); -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_282); -lean_ctor_set(x_297, 1, x_296); -return x_297; -} -} -} -else -{ -uint8_t x_298; -lean_dec(x_8); -x_298 = !lean_is_exclusive(x_231); -if (x_298 == 0) -{ -lean_object* x_299; lean_object* x_300; -x_299 = lean_ctor_get(x_231, 1); -lean_dec(x_299); -x_300 = lean_ctor_get(x_231, 0); -lean_dec(x_300); -lean_ctor_set(x_231, 1, x_10); -return x_231; -} -else -{ -lean_object* x_301; -lean_dec(x_231); -x_301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_301, 0, x_282); -lean_ctor_set(x_301, 1, x_10); -return x_301; -} -} -} -} -else -{ -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_302 = l_Lean_Syntax_getId(x_222); -lean_dec(x_222); -x_303 = l_Lean_Name_components(x_302); -x_304 = l_List_map___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__1(x_303); -x_305 = lean_unsigned_to_nat(0u); -x_306 = l_Lean_Syntax_getArg(x_2, x_305); -lean_dec(x_2); -x_307 = l_List_append___rarg(x_304, x_3); -x_2 = x_306; -x_3 = x_307; -goto _start; -} -} -else -{ -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; -x_309 = l_Lean_fieldIdxKind; -x_310 = l_Lean_Syntax_isNatLitAux(x_309, x_222); -lean_dec(x_222); -x_311 = lean_unsigned_to_nat(0u); -x_312 = l_Lean_Syntax_getArg(x_2, x_311); -lean_dec(x_2); -if (lean_obj_tag(x_310) == 0) -{ -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; -x_313 = l_Nat_Inhabited; -x_314 = l_Option_get_x21___rarg___closed__3; -x_315 = lean_panic_fn(x_313, x_314); -x_316 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_316, 0, x_315); -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_3); -x_2 = x_312; -x_3 = x_317; -goto _start; -} -else -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; -x_319 = lean_ctor_get(x_310, 0); -lean_inc(x_319); -lean_dec(x_310); -x_320 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_320, 0, x_319); -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_320); -lean_ctor_set(x_321, 1, x_3); -x_2 = x_312; -x_3 = x_321; -goto _start; -} -} -} -} -block_413: -{ -uint8_t x_325; -x_325 = l_coeDecidableEq(x_324); -if (x_325 == 0) -{ -lean_object* x_326; uint8_t x_327; -x_326 = l_Lean_Parser_Term_proj___elambda__1___closed__2; -lean_inc(x_2); -x_327 = l_Lean_Syntax_isOfKind(x_2, x_326); -if (x_327 == 0) -{ -uint8_t x_328; -x_328 = 0; -x_185 = x_328; -goto block_323; -} -else -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; -x_329 = l_Lean_Syntax_getArgs(x_2); -x_330 = lean_array_get_size(x_329); -lean_dec(x_329); -x_331 = lean_unsigned_to_nat(3u); -x_332 = lean_nat_dec_eq(x_330, x_331); -lean_dec(x_330); -x_185 = x_332; -goto block_323; -} -} -else -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; uint8_t x_336; uint8_t x_337; -x_333 = lean_unsigned_to_nat(1u); -x_334 = l_Lean_Syntax_getArg(x_2, x_333); -x_335 = l_Lean_mkTermIdFromIdent___closed__2; -lean_inc(x_334); -x_336 = l_Lean_Syntax_isOfKind(x_334, x_335); -x_337 = l_coeDecidableEq(x_336); -if (x_337 == 0) -{ -lean_object* x_338; uint8_t x_339; lean_object* x_340; -lean_dec(x_334); -x_338 = lean_box(0); -x_339 = 1; -lean_inc(x_10); -lean_inc(x_9); -x_340 = l_Lean_Elab_Term_elabTermAux___main(x_338, x_339, x_2, x_9, x_10); -if (lean_obj_tag(x_340) == 0) -{ -uint8_t x_341; -x_341 = !lean_is_exclusive(x_340); -if (x_341 == 0) -{ -lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_342 = lean_ctor_get(x_340, 0); -x_343 = lean_ctor_get(x_340, 1); -x_344 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_342, x_3, x_4, x_5, x_6, x_7, x_9, x_343); -if (lean_obj_tag(x_344) == 0) -{ -uint8_t x_345; -x_345 = !lean_is_exclusive(x_344); -if (x_345 == 0) -{ -lean_object* x_346; -x_346 = lean_array_push(x_8, x_344); -lean_ctor_set(x_340, 1, x_10); -lean_ctor_set(x_340, 0, x_346); -return x_340; -} -else -{ -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; -x_347 = lean_ctor_get(x_344, 0); -x_348 = lean_ctor_get(x_344, 1); -lean_inc(x_348); -lean_inc(x_347); -lean_dec(x_344); -x_349 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_349, 0, x_347); -lean_ctor_set(x_349, 1, x_348); -x_350 = lean_array_push(x_8, x_349); -lean_ctor_set(x_340, 1, x_10); -lean_ctor_set(x_340, 0, x_350); -return x_340; -} -} -else -{ -lean_object* x_351; -x_351 = lean_ctor_get(x_344, 0); -lean_inc(x_351); -if (lean_obj_tag(x_351) == 0) -{ -lean_object* x_352; -x_352 = lean_ctor_get(x_351, 0); -lean_inc(x_352); -if (lean_obj_tag(x_352) == 0) -{ -uint8_t x_353; -lean_dec(x_351); -x_353 = !lean_is_exclusive(x_344); -if (x_353 == 0) -{ -lean_object* x_354; lean_object* x_355; lean_object* x_356; -x_354 = lean_ctor_get(x_344, 0); -lean_dec(x_354); -x_355 = lean_ctor_get(x_352, 0); -lean_inc(x_355); -lean_dec(x_352); -lean_ctor_set(x_344, 0, x_355); -x_356 = lean_array_push(x_8, x_344); -lean_ctor_set(x_340, 1, x_10); -lean_ctor_set(x_340, 0, x_356); -return x_340; -} -else -{ -lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; -x_357 = lean_ctor_get(x_344, 1); -lean_inc(x_357); -lean_dec(x_344); -x_358 = lean_ctor_get(x_352, 0); -lean_inc(x_358); -lean_dec(x_352); -x_359 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_359, 0, x_358); -lean_ctor_set(x_359, 1, x_357); -x_360 = lean_array_push(x_8, x_359); -lean_ctor_set(x_340, 1, x_10); -lean_ctor_set(x_340, 0, x_360); -return x_340; -} -} -else -{ -uint8_t x_361; -lean_free_object(x_340); -lean_dec(x_10); -lean_dec(x_8); -x_361 = !lean_is_exclusive(x_344); -if (x_361 == 0) -{ -lean_object* x_362; -x_362 = lean_ctor_get(x_344, 0); -lean_dec(x_362); -return x_344; -} -else -{ -lean_object* x_363; lean_object* x_364; -x_363 = lean_ctor_get(x_344, 1); -lean_inc(x_363); -lean_dec(x_344); -x_364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_364, 0, x_351); -lean_ctor_set(x_364, 1, x_363); -return x_364; -} -} -} -else -{ -uint8_t x_365; -lean_free_object(x_340); -lean_dec(x_8); -x_365 = !lean_is_exclusive(x_344); -if (x_365 == 0) -{ -lean_object* x_366; lean_object* x_367; -x_366 = lean_ctor_get(x_344, 1); -lean_dec(x_366); -x_367 = lean_ctor_get(x_344, 0); -lean_dec(x_367); -lean_ctor_set(x_344, 1, x_10); -return x_344; -} -else -{ -lean_object* x_368; -lean_dec(x_344); -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_351); -lean_ctor_set(x_368, 1, x_10); -return x_368; -} -} -} -} -else -{ -lean_object* x_369; lean_object* x_370; lean_object* x_371; -x_369 = lean_ctor_get(x_340, 0); -x_370 = lean_ctor_get(x_340, 1); -lean_inc(x_370); -lean_inc(x_369); -lean_dec(x_340); -x_371 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_369, x_3, x_4, x_5, x_6, x_7, x_9, x_370); -if (lean_obj_tag(x_371) == 0) -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; -x_372 = lean_ctor_get(x_371, 0); -lean_inc(x_372); -x_373 = lean_ctor_get(x_371, 1); -lean_inc(x_373); -if (lean_is_exclusive(x_371)) { - lean_ctor_release(x_371, 0); - lean_ctor_release(x_371, 1); - x_374 = x_371; -} else { - lean_dec_ref(x_371); - x_374 = lean_box(0); -} -if (lean_is_scalar(x_374)) { - x_375 = lean_alloc_ctor(0, 2, 0); -} else { - x_375 = x_374; -} -lean_ctor_set(x_375, 0, x_372); -lean_ctor_set(x_375, 1, x_373); -x_376 = lean_array_push(x_8, x_375); -x_377 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_377, 0, x_376); -lean_ctor_set(x_377, 1, x_10); -return x_377; -} -else -{ -lean_object* x_378; -x_378 = lean_ctor_get(x_371, 0); -lean_inc(x_378); -if (lean_obj_tag(x_378) == 0) -{ -lean_object* x_379; -x_379 = lean_ctor_get(x_378, 0); -lean_inc(x_379); -if (lean_obj_tag(x_379) == 0) -{ -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_dec(x_378); -x_380 = lean_ctor_get(x_371, 1); -lean_inc(x_380); -if (lean_is_exclusive(x_371)) { - lean_ctor_release(x_371, 0); - lean_ctor_release(x_371, 1); - x_381 = x_371; -} else { - lean_dec_ref(x_371); - x_381 = lean_box(0); -} -x_382 = lean_ctor_get(x_379, 0); -lean_inc(x_382); -lean_dec(x_379); -if (lean_is_scalar(x_381)) { - x_383 = lean_alloc_ctor(1, 2, 0); -} else { - x_383 = x_381; -} -lean_ctor_set(x_383, 0, x_382); -lean_ctor_set(x_383, 1, x_380); -x_384 = lean_array_push(x_8, x_383); -x_385 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_385, 0, x_384); -lean_ctor_set(x_385, 1, x_10); -return x_385; -} -else -{ -lean_object* x_386; lean_object* x_387; lean_object* x_388; -lean_dec(x_10); -lean_dec(x_8); -x_386 = lean_ctor_get(x_371, 1); -lean_inc(x_386); -if (lean_is_exclusive(x_371)) { - lean_ctor_release(x_371, 0); - lean_ctor_release(x_371, 1); - x_387 = x_371; -} else { - lean_dec_ref(x_371); - x_387 = lean_box(0); -} -if (lean_is_scalar(x_387)) { - x_388 = lean_alloc_ctor(1, 2, 0); -} else { - x_388 = x_387; -} -lean_ctor_set(x_388, 0, x_378); -lean_ctor_set(x_388, 1, x_386); -return x_388; -} -} -else -{ -lean_object* x_389; lean_object* x_390; -lean_dec(x_8); -if (lean_is_exclusive(x_371)) { - lean_ctor_release(x_371, 0); - lean_ctor_release(x_371, 1); - x_389 = x_371; -} else { - lean_dec_ref(x_371); - x_389 = lean_box(0); -} -if (lean_is_scalar(x_389)) { - x_390 = lean_alloc_ctor(1, 2, 0); -} else { - x_390 = x_389; -} -lean_ctor_set(x_390, 0, x_378); -lean_ctor_set(x_390, 1, x_10); -return x_390; -} -} -} -} -else -{ -lean_object* x_391; -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_391 = lean_ctor_get(x_340, 0); -lean_inc(x_391); -if (lean_obj_tag(x_391) == 0) -{ -lean_object* x_392; -x_392 = lean_ctor_get(x_391, 0); -lean_inc(x_392); -if (lean_obj_tag(x_392) == 0) -{ -uint8_t x_393; -lean_dec(x_391); -x_393 = !lean_is_exclusive(x_340); -if (x_393 == 0) -{ -lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; -x_394 = lean_ctor_get(x_340, 0); -lean_dec(x_394); -x_395 = lean_ctor_get(x_392, 0); -lean_inc(x_395); -lean_dec(x_392); -lean_ctor_set(x_340, 0, x_395); -x_396 = lean_array_push(x_8, x_340); -x_397 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_397, 0, x_396); -lean_ctor_set(x_397, 1, x_10); -return x_397; -} -else -{ -lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_398 = lean_ctor_get(x_340, 1); -lean_inc(x_398); -lean_dec(x_340); -x_399 = lean_ctor_get(x_392, 0); -lean_inc(x_399); -lean_dec(x_392); -x_400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_398); -x_401 = lean_array_push(x_8, x_400); -x_402 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_10); -return x_402; -} -} -else -{ -uint8_t x_403; -lean_dec(x_10); -lean_dec(x_8); -x_403 = !lean_is_exclusive(x_340); -if (x_403 == 0) -{ -lean_object* x_404; -x_404 = lean_ctor_get(x_340, 0); -lean_dec(x_404); -return x_340; -} -else -{ -lean_object* x_405; lean_object* x_406; -x_405 = lean_ctor_get(x_340, 1); -lean_inc(x_405); -lean_dec(x_340); -x_406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_406, 0, x_391); -lean_ctor_set(x_406, 1, x_405); -return x_406; -} -} -} -else -{ -uint8_t x_407; -lean_dec(x_8); -x_407 = !lean_is_exclusive(x_340); -if (x_407 == 0) -{ -lean_object* x_408; lean_object* x_409; -x_408 = lean_ctor_get(x_340, 1); -lean_dec(x_408); -x_409 = lean_ctor_get(x_340, 0); -lean_dec(x_409); -lean_ctor_set(x_340, 1, x_10); -return x_340; -} -else -{ -lean_object* x_410; -lean_dec(x_340); -x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_391); -lean_ctor_set(x_410, 1, x_10); -return x_410; -} -} -} -} -else -{ -uint8_t x_411; -lean_dec(x_2); -x_411 = 1; -x_2 = x_334; -x_7 = x_411; -goto _start; -} -} -} -} -else -{ -lean_object* x_421; lean_object* x_422; lean_object* x_423; -x_421 = l_Lean_Syntax_getArgs(x_2); -x_422 = lean_unsigned_to_nat(0u); -x_423 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_421, x_422, x_8, x_9, x_10); -lean_dec(x_421); -lean_dec(x_2); -return x_423; -} -} -else -{ -lean_object* x_424; lean_object* x_425; -x_424 = lean_box(0); -x_425 = l___private_Init_Lean_Elab_App_20__elabAppFnId(x_1, x_2, x_424, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_425; -} -block_180: -{ -uint8_t x_12; -x_12 = l_coeDecidableEq(x_11); -if (x_12 == 0) -{ -lean_object* x_13; uint8_t x_14; lean_object* x_15; -x_13 = lean_box(0); -x_14 = 1; -lean_inc(x_10); -lean_inc(x_9); -x_15 = l_Lean_Elab_Term_elabTermAux___main(x_13, x_14, x_2, x_9, x_10); -if (lean_obj_tag(x_15) == 0) +lean_object* x_635; lean_object* x_636; lean_object* x_637; uint8_t x_638; +x_635 = l_Lean_Syntax_getArgs(x_2); +x_636 = lean_array_get_size(x_635); +lean_dec(x_635); +x_637 = lean_unsigned_to_nat(3u); +x_638 = lean_nat_dec_eq(x_636, x_637); +lean_dec(x_636); +x_493 = x_638; +goto block_631; +} +block_388: { uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); +x_16 = l_coeDecidableEq(x_15); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -x_19 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_9, x_18); +lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_box(0); +x_18 = 1; +lean_inc(x_10); +lean_inc(x_9); +x_19 = l_Lean_Elab_Term_elabTerm(x_2, x_17, x_18, x_9, x_10); if (lean_obj_tag(x_19) == 0) { uint8_t x_20; x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { -lean_object* x_21; -x_21 = lean_array_push(x_8, x_19); -lean_ctor_set(x_15, 1, x_10); -lean_ctor_set(x_15, 0, x_21); -return x_15; -} -else +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +x_23 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_21, x_3, x_4, x_5, x_6, x_7, x_9, x_22); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_19, 0); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_19); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = lean_array_push(x_8, x_24); -lean_ctor_set(x_15, 1, x_10); -lean_ctor_set(x_15, 0, x_25); -return x_15; -} -} -else +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_19, 0); -lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) -{ -uint8_t x_28; -lean_dec(x_26); -x_28 = !lean_is_exclusive(x_19); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_19, 0); -lean_dec(x_29); -x_30 = lean_ctor_get(x_27, 0); -lean_inc(x_30); -lean_dec(x_27); -lean_ctor_set(x_19, 0, x_30); -x_31 = lean_array_push(x_8, x_19); -lean_ctor_set(x_15, 1, x_10); -lean_ctor_set(x_15, 0, x_31); -return x_15; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_19, 1); -lean_inc(x_32); -lean_dec(x_19); -x_33 = lean_ctor_get(x_27, 0); -lean_inc(x_33); -lean_dec(x_27); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = lean_array_push(x_8, x_34); -lean_ctor_set(x_15, 1, x_10); -lean_ctor_set(x_15, 0, x_35); -return x_15; -} -} -else -{ -uint8_t x_36; -lean_free_object(x_15); -lean_dec(x_10); -lean_dec(x_8); -x_36 = !lean_is_exclusive(x_19); -if (x_36 == 0) -{ -lean_object* x_37; -x_37 = lean_ctor_get(x_19, 0); -lean_dec(x_37); +lean_object* x_25; +x_25 = lean_array_push(x_8, x_23); +lean_ctor_set(x_19, 1, x_10); +lean_ctor_set(x_19, 0, x_25); return x_19; } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_19, 1); -lean_inc(x_38); -lean_dec(x_19); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_26); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_23, 0); +x_27 = lean_ctor_get(x_23, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_23); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_array_push(x_8, x_28); +lean_ctor_set(x_19, 1, x_10); +lean_ctor_set(x_19, 0, x_29); +return x_19; } } +else +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_23, 0); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; +lean_dec(x_30); +x_32 = !lean_is_exclusive(x_23); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_23, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_31, 0); +lean_inc(x_34); +lean_dec(x_31); +lean_ctor_set(x_23, 0, x_34); +x_35 = lean_array_push(x_8, x_23); +lean_ctor_set(x_19, 1, x_10); +lean_ctor_set(x_19, 0, x_35); +return x_19; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_23, 1); +lean_inc(x_36); +lean_dec(x_23); +x_37 = lean_ctor_get(x_31, 0); +lean_inc(x_37); +lean_dec(x_31); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = lean_array_push(x_8, x_38); +lean_ctor_set(x_19, 1, x_10); +lean_ctor_set(x_19, 0, x_39); +return x_19; +} } else { uint8_t x_40; -lean_free_object(x_15); +lean_free_object(x_19); +lean_dec(x_10); lean_dec(x_8); -x_40 = !lean_is_exclusive(x_19); +x_40 = !lean_is_exclusive(x_23); if (x_40 == 0) { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_19, 1); +lean_object* x_41; +x_41 = lean_ctor_get(x_23, 0); lean_dec(x_41); -x_42 = lean_ctor_get(x_19, 0); -lean_dec(x_42); -lean_ctor_set(x_19, 1, x_10); -return x_19; +return x_23; } else { -lean_object* x_43; -lean_dec(x_19); +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_23, 1); +lean_inc(x_42); +lean_dec(x_23); x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_26); -lean_ctor_set(x_43, 1, x_10); +lean_ctor_set(x_43, 0, x_30); +lean_ctor_set(x_43, 1, x_42); return x_43; } } } +else +{ +uint8_t x_44; +lean_free_object(x_19); +lean_dec(x_8); +x_44 = !lean_is_exclusive(x_23); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_23, 1); +lean_dec(x_45); +x_46 = lean_ctor_get(x_23, 0); +lean_dec(x_46); +lean_ctor_set(x_23, 1, x_10); +return x_23; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_15, 0); -x_45 = lean_ctor_get(x_15, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_15); -x_46 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_44, x_3, x_4, x_5, x_6, x_7, x_9, x_45); -if (lean_obj_tag(x_46) == 0) +lean_object* x_47; +lean_dec(x_23); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_30); +lean_ctor_set(x_47, 1, x_10); +return x_47; +} +} +} +} +else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_19, 0); +x_49 = lean_ctor_get(x_19, 1); +lean_inc(x_49); lean_inc(x_48); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_49 = x_46; +lean_dec(x_19); +x_50 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_48, x_3, x_4, x_5, x_6, x_7, x_9, x_49); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; } else { - lean_dec_ref(x_46); - x_49 = lean_box(0); + lean_dec_ref(x_50); + x_53 = lean_box(0); } -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 2, 0); } else { - x_50 = x_49; + x_54 = x_53; } -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_48); -x_51 = lean_array_push(x_8, x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_10); -return x_52; +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_array_push(x_8, x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_10); +return x_56; } else { -lean_object* x_53; -x_53 = lean_ctor_get(x_46, 0); -lean_inc(x_53); -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -if (lean_obj_tag(x_54) == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_53); -x_55 = lean_ctor_get(x_46, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_56 = x_46; -} else { - lean_dec_ref(x_46); - x_56 = lean_box(0); -} -x_57 = lean_ctor_get(x_54, 0); +lean_object* x_57; +x_57 = lean_ctor_get(x_50, 0); lean_inc(x_57); -lean_dec(x_54); -if (lean_is_scalar(x_56)) { - x_58 = lean_alloc_ctor(1, 2, 0); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +if (lean_obj_tag(x_58) == 0) +{ +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_57); +x_59 = lean_ctor_get(x_50, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_60 = x_50; } else { - x_58 = x_56; + lean_dec_ref(x_50); + x_60 = lean_box(0); } -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_55); -x_59 = lean_array_push(x_8, x_58); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_10); -return x_60; +x_61 = lean_ctor_get(x_58, 0); +lean_inc(x_61); +lean_dec(x_58); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(1, 2, 0); +} else { + x_62 = x_60; +} +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +x_63 = lean_array_push(x_8, x_62); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_10); +return x_64; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_dec(x_10); lean_dec(x_8); -x_61 = lean_ctor_get(x_46, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_62 = x_46; +x_65 = lean_ctor_get(x_50, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_66 = x_50; } else { - lean_dec_ref(x_46); - x_62 = lean_box(0); + lean_dec_ref(x_50); + x_66 = lean_box(0); } -if (lean_is_scalar(x_62)) { - x_63 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); } else { - x_63 = x_62; + x_67 = x_66; } -lean_ctor_set(x_63, 0, x_53); -lean_ctor_set(x_63, 1, x_61); -return x_63; +lean_ctor_set(x_67, 0, x_57); +lean_ctor_set(x_67, 1, x_65); +return x_67; } } else { -lean_object* x_64; lean_object* x_65; +lean_object* x_68; lean_object* x_69; lean_dec(x_8); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_64 = x_46; +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_68 = x_50; } else { - lean_dec_ref(x_46); - x_64 = lean_box(0); + lean_dec_ref(x_50); + x_68 = lean_box(0); } -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_68)) { + x_69 = lean_alloc_ctor(1, 2, 0); } else { - x_65 = x_64; + x_69 = x_68; } -lean_ctor_set(x_65, 0, x_53); -lean_ctor_set(x_65, 1, x_10); -return x_65; +lean_ctor_set(x_69, 0, x_57); +lean_ctor_set(x_69, 1, x_10); +return x_69; } } } } else { -lean_object* x_66; +lean_object* x_70; lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_66 = lean_ctor_get(x_15, 0); -lean_inc(x_66); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -if (lean_obj_tag(x_67) == 0) -{ -uint8_t x_68; -lean_dec(x_66); -x_68 = !lean_is_exclusive(x_15); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_15, 0); -lean_dec(x_69); -x_70 = lean_ctor_get(x_67, 0); +x_70 = lean_ctor_get(x_19, 0); lean_inc(x_70); -lean_dec(x_67); -lean_ctor_set(x_15, 0, x_70); -x_71 = lean_array_push(x_8, x_15); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_10); -return x_72; -} -else +if (lean_obj_tag(x_70) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_73 = lean_ctor_get(x_15, 1); -lean_inc(x_73); -lean_dec(x_15); -x_74 = lean_ctor_get(x_67, 0); +lean_object* x_71; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 0) +{ +uint8_t x_72; +lean_dec(x_70); +x_72 = !lean_is_exclusive(x_19); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_73 = lean_ctor_get(x_19, 0); +lean_dec(x_73); +x_74 = lean_ctor_get(x_71, 0); lean_inc(x_74); -lean_dec(x_67); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = lean_array_push(x_8, 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_10); -return x_77; -} +lean_dec(x_71); +lean_ctor_set(x_19, 0, x_74); +x_75 = lean_array_push(x_8, x_19); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_10); +return x_76; } else { -uint8_t x_78; -lean_dec(x_10); -lean_dec(x_8); -x_78 = !lean_is_exclusive(x_15); -if (x_78 == 0) -{ -lean_object* x_79; -x_79 = lean_ctor_get(x_15, 0); -lean_dec(x_79); -return x_15; -} -else -{ -lean_object* x_80; lean_object* x_81; -x_80 = lean_ctor_get(x_15, 1); -lean_inc(x_80); -lean_dec(x_15); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_66); -lean_ctor_set(x_81, 1, x_80); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_77 = lean_ctor_get(x_19, 1); +lean_inc(x_77); +lean_dec(x_19); +x_78 = lean_ctor_get(x_71, 0); +lean_inc(x_78); +lean_dec(x_71); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_array_push(x_8, x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_10); return x_81; } } -} else { uint8_t x_82; +lean_dec(x_10); lean_dec(x_8); -x_82 = !lean_is_exclusive(x_15); +x_82 = !lean_is_exclusive(x_19); if (x_82 == 0) { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_15, 1); +lean_object* x_83; +x_83 = lean_ctor_get(x_19, 0); lean_dec(x_83); -x_84 = lean_ctor_get(x_15, 0); -lean_dec(x_84); -lean_ctor_set(x_15, 1, x_10); -return x_15; +return x_19; } else { -lean_object* x_85; -lean_dec(x_15); +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_19, 1); +lean_inc(x_84); +lean_dec(x_19); x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_66); -lean_ctor_set(x_85, 1, x_10); +lean_ctor_set(x_85, 0, x_70); +lean_ctor_set(x_85, 1, x_84); return x_85; } } } +else +{ +uint8_t x_86; +lean_dec(x_8); +x_86 = !lean_is_exclusive(x_19); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_19, 1); +lean_dec(x_87); +x_88 = lean_ctor_get(x_19, 0); +lean_dec(x_88); +lean_ctor_set(x_19, 1, x_10); +return x_19; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; uint8_t x_90; -x_86 = lean_unsigned_to_nat(0u); -x_87 = l_Lean_Syntax_getArg(x_2, x_86); -x_88 = l_Lean_identKind___closed__2; -lean_inc(x_87); -x_89 = l_Lean_Syntax_isOfKind(x_87, x_88); -x_90 = l_coeDecidableEq(x_89); -if (x_90 == 0) +lean_object* x_89; +lean_dec(x_19); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_70); +lean_ctor_set(x_89, 1, x_10); +return x_89; +} +} +} +} +else { -lean_object* x_91; uint8_t x_92; lean_object* x_93; -lean_dec(x_87); -x_91 = lean_box(0); -x_92 = 1; -lean_inc(x_10); -lean_inc(x_9); -x_93 = l_Lean_Elab_Term_elabTermAux___main(x_91, x_92, x_2, x_9, x_10); -if (lean_obj_tag(x_93) == 0) +lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_381; uint8_t x_382; +x_90 = lean_unsigned_to_nat(1u); +x_91 = l_Lean_Syntax_getArg(x_2, x_90); +lean_dec(x_2); +x_381 = l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___elambda__1___closed__2; +lean_inc(x_91); +x_382 = l_Lean_Syntax_isOfKind(x_91, x_381); +if (x_382 == 0) +{ +uint8_t x_383; +x_383 = 0; +x_92 = x_383; +goto block_380; +} +else +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; +x_384 = l_Lean_Syntax_getArgs(x_91); +x_385 = lean_array_get_size(x_384); +lean_dec(x_384); +x_386 = lean_unsigned_to_nat(3u); +x_387 = lean_nat_dec_eq(x_385, x_386); +lean_dec(x_385); +x_92 = x_387; +goto block_380; +} +block_380: +{ +uint8_t x_93; +x_93 = l_coeDecidableEq(x_92); +if (x_93 == 0) { uint8_t x_94; -x_94 = !lean_is_exclusive(x_93); -if (x_94 == 0) +x_94 = 1; +x_2 = x_91; +x_7 = x_94; +goto _start; +} +else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_93, 0); -x_96 = lean_ctor_get(x_93, 1); -x_97 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_95, x_3, x_4, x_5, x_6, x_7, x_9, x_96); -if (lean_obj_tag(x_97) == 0) +lean_object* x_96; uint8_t x_97; lean_object* x_373; uint8_t x_374; +x_96 = l_Lean_Syntax_getArg(x_91, x_90); +x_373 = l_Lean_nullKind___closed__2; +lean_inc(x_96); +x_374 = l_Lean_Syntax_isOfKind(x_96, x_373); +if (x_374 == 0) +{ +uint8_t x_375; +x_375 = 0; +x_97 = x_375; +goto block_372; +} +else +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; uint8_t x_379; +x_376 = l_Lean_Syntax_getArgs(x_96); +x_377 = lean_array_get_size(x_376); +lean_dec(x_376); +x_378 = lean_unsigned_to_nat(2u); +x_379 = lean_nat_dec_eq(x_377, x_378); +lean_dec(x_377); +x_97 = x_379; +goto block_372; +} +block_372: { uint8_t x_98; -x_98 = !lean_is_exclusive(x_97); +x_98 = l_coeDecidableEq(x_97); if (x_98 == 0) { -lean_object* x_99; -x_99 = lean_array_push(x_8, x_97); -lean_ctor_set(x_93, 1, x_10); -lean_ctor_set(x_93, 0, x_99); -return x_93; +uint8_t x_99; +lean_dec(x_96); +x_99 = 1; +x_2 = x_91; +x_7 = x_99; +goto _start; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_100 = lean_ctor_get(x_97, 0); -x_101 = lean_ctor_get(x_97, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_97); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -x_103 = lean_array_push(x_8, x_102); -lean_ctor_set(x_93, 1, x_10); -lean_ctor_set(x_93, 0, x_103); -return x_93; -} -} -else -{ -lean_object* x_104; -x_104 = lean_ctor_get(x_97, 0); -lean_inc(x_104); -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_105; -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -if (lean_obj_tag(x_105) == 0) +lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; uint8_t x_105; +x_101 = lean_unsigned_to_nat(0u); +x_102 = l_Lean_Syntax_getArg(x_96, x_101); +x_103 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +lean_inc(x_102); +x_104 = l_Lean_Syntax_isOfKind(x_102, x_103); +x_105 = l_coeDecidableEq(x_104); +if (x_105 == 0) { uint8_t x_106; -lean_dec(x_104); -x_106 = !lean_is_exclusive(x_97); -if (x_106 == 0) +lean_dec(x_102); +lean_dec(x_96); +x_106 = 1; +x_2 = x_91; +x_7 = x_106; +goto _start; +} +else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_97, 0); -lean_dec(x_107); -x_108 = lean_ctor_get(x_105, 0); +lean_object* x_108; uint8_t x_109; lean_object* x_366; uint8_t x_367; +x_108 = l_Lean_Syntax_getArg(x_96, x_90); +lean_dec(x_96); +x_366 = l_Lean_nullKind___closed__2; lean_inc(x_108); -lean_dec(x_105); -lean_ctor_set(x_97, 0, x_108); -x_109 = lean_array_push(x_8, x_97); -lean_ctor_set(x_93, 1, x_10); -lean_ctor_set(x_93, 0, x_109); -return x_93; +x_367 = l_Lean_Syntax_isOfKind(x_108, x_366); +if (x_367 == 0) +{ +uint8_t x_368; +lean_dec(x_108); +x_368 = 0; +x_109 = x_368; +goto block_365; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_110 = lean_ctor_get(x_97, 1); -lean_inc(x_110); -lean_dec(x_97); -x_111 = lean_ctor_get(x_105, 0); -lean_inc(x_111); -lean_dec(x_105); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_110); -x_113 = lean_array_push(x_8, x_112); -lean_ctor_set(x_93, 1, x_10); -lean_ctor_set(x_93, 0, x_113); -return x_93; +lean_object* x_369; lean_object* x_370; uint8_t x_371; +x_369 = l_Lean_Syntax_getArgs(x_108); +lean_dec(x_108); +x_370 = lean_array_get_size(x_369); +lean_dec(x_369); +x_371 = lean_nat_dec_eq(x_370, x_101); +lean_dec(x_370); +x_109 = x_371; +goto block_365; } +block_365: +{ +uint8_t x_110; +x_110 = l_coeDecidableEq(x_109); +if (x_110 == 0) +{ +uint8_t x_111; +lean_dec(x_102); +x_111 = 1; +x_2 = x_91; +x_7 = x_111; +goto _start; } else { -uint8_t x_114; -lean_free_object(x_93); -lean_dec(x_10); -lean_dec(x_8); -x_114 = !lean_is_exclusive(x_97); -if (x_114 == 0) +uint8_t x_113; +lean_dec(x_91); +x_113 = l_List_isEmpty___rarg(x_3); +if (x_113 == 0) { -lean_object* x_115; -x_115 = lean_ctor_get(x_97, 0); -lean_dec(x_115); -return x_97; +lean_object* x_114; uint8_t x_115; lean_object* x_116; +x_114 = lean_box(0); +x_115 = 1; +lean_inc(x_10); +lean_inc(x_9); +x_116 = l_Lean_Elab_Term_elabFunCore(x_102, x_114, x_115, x_9, x_10); +if (lean_obj_tag(x_116) == 0) +{ +uint8_t x_117; +x_117 = !lean_is_exclusive(x_116); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_116, 0); +x_119 = lean_ctor_get(x_116, 1); +x_120 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_118, x_3, x_4, x_5, x_6, x_115, x_9, x_119); +if (lean_obj_tag(x_120) == 0) +{ +uint8_t x_121; +x_121 = !lean_is_exclusive(x_120); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_array_push(x_8, x_120); +lean_ctor_set(x_116, 1, x_10); +lean_ctor_set(x_116, 0, x_122); +return x_116; } else { -lean_object* x_116; lean_object* x_117; -x_116 = lean_ctor_get(x_97, 1); -lean_inc(x_116); -lean_dec(x_97); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_104); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -} -else -{ -uint8_t x_118; -lean_free_object(x_93); -lean_dec(x_8); -x_118 = !lean_is_exclusive(x_97); -if (x_118 == 0) -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_97, 1); -lean_dec(x_119); -x_120 = lean_ctor_get(x_97, 0); -lean_dec(x_120); -lean_ctor_set(x_97, 1, x_10); -return x_97; -} -else -{ -lean_object* x_121; -lean_dec(x_97); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_104); -lean_ctor_set(x_121, 1, x_10); -return x_121; -} -} -} -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_93, 0); -x_123 = lean_ctor_get(x_93, 1); +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_123 = lean_ctor_get(x_120, 0); +x_124 = lean_ctor_get(x_120, 1); +lean_inc(x_124); lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_93); -x_124 = l___private_Init_Lean_Elab_App_19__elabAppLVals(x_1, x_122, x_3, x_4, x_5, x_6, x_7, x_9, x_123); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_127 = x_124; -} else { - lean_dec_ref(x_124); - x_127 = lean_box(0); +lean_dec(x_120); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_array_push(x_8, x_125); +lean_ctor_set(x_116, 1, x_10); +lean_ctor_set(x_116, 0, x_126); +return x_116; } -if (lean_is_scalar(x_127)) { - x_128 = lean_alloc_ctor(0, 2, 0); -} else { - x_128 = x_127; -} -lean_ctor_set(x_128, 0, x_125); -lean_ctor_set(x_128, 1, x_126); -x_129 = lean_array_push(x_8, x_128); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_10); -return x_130; } else { -lean_object* x_131; -x_131 = lean_ctor_get(x_124, 0); +lean_object* x_127; +x_127 = lean_ctor_get(x_120, 0); +lean_inc(x_127); +if (lean_obj_tag(x_127) == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +if (lean_obj_tag(x_128) == 0) +{ +uint8_t x_129; +lean_dec(x_127); +x_129 = !lean_is_exclusive(x_120); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_120, 0); +lean_dec(x_130); +x_131 = lean_ctor_get(x_128, 0); lean_inc(x_131); -if (lean_obj_tag(x_131) == 0) -{ -lean_object* x_132; -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -if (lean_obj_tag(x_132) == 0) -{ -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_dec(x_131); -x_133 = lean_ctor_get(x_124, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_134 = x_124; -} else { - lean_dec_ref(x_124); - x_134 = lean_box(0); -} -x_135 = lean_ctor_get(x_132, 0); -lean_inc(x_135); -lean_dec(x_132); -if (lean_is_scalar(x_134)) { - x_136 = lean_alloc_ctor(1, 2, 0); -} else { - x_136 = x_134; -} -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_133); -x_137 = lean_array_push(x_8, x_136); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_10); -return x_138; +lean_dec(x_128); +lean_ctor_set(x_120, 0, x_131); +x_132 = lean_array_push(x_8, x_120); +lean_ctor_set(x_116, 1, x_10); +lean_ctor_set(x_116, 0, x_132); +return x_116; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_133 = lean_ctor_get(x_120, 1); +lean_inc(x_133); +lean_dec(x_120); +x_134 = lean_ctor_get(x_128, 0); +lean_inc(x_134); +lean_dec(x_128); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_133); +x_136 = lean_array_push(x_8, x_135); +lean_ctor_set(x_116, 1, x_10); +lean_ctor_set(x_116, 0, x_136); +return x_116; +} +} +else +{ +uint8_t x_137; +lean_free_object(x_116); lean_dec(x_10); lean_dec(x_8); -x_139 = lean_ctor_get(x_124, 1); +x_137 = !lean_is_exclusive(x_120); +if (x_137 == 0) +{ +lean_object* x_138; +x_138 = lean_ctor_get(x_120, 0); +lean_dec(x_138); +return x_120; +} +else +{ +lean_object* x_139; lean_object* x_140; +x_139 = lean_ctor_get(x_120, 1); lean_inc(x_139); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_140 = x_124; -} else { - lean_dec_ref(x_124); - x_140 = lean_box(0); +lean_dec(x_120); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_127); +lean_ctor_set(x_140, 1, x_139); +return x_140; } -if (lean_is_scalar(x_140)) { - x_141 = lean_alloc_ctor(1, 2, 0); -} else { - x_141 = x_140; -} -lean_ctor_set(x_141, 0, x_131); -lean_ctor_set(x_141, 1, x_139); -return x_141; } } else { +uint8_t x_141; +lean_free_object(x_116); +lean_dec(x_8); +x_141 = !lean_is_exclusive(x_120); +if (x_141 == 0) +{ lean_object* x_142; lean_object* x_143; -lean_dec(x_8); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_142 = x_124; -} else { - lean_dec_ref(x_124); - x_142 = lean_box(0); -} -if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); -} else { - x_143 = x_142; -} -lean_ctor_set(x_143, 0, x_131); -lean_ctor_set(x_143, 1, x_10); -return x_143; -} -} -} +x_142 = lean_ctor_get(x_120, 1); +lean_dec(x_142); +x_143 = lean_ctor_get(x_120, 0); +lean_dec(x_143); +lean_ctor_set(x_120, 1, x_10); +return x_120; } else { lean_object* x_144; +lean_dec(x_120); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_127); +lean_ctor_set(x_144, 1, x_10); +return x_144; +} +} +} +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_116, 0); +x_146 = lean_ctor_get(x_116, 1); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_116); +x_147 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_145, x_3, x_4, x_5, x_6, x_115, x_9, x_146); +if (lean_obj_tag(x_147) == 0) +{ +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_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +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; +} else { + lean_dec_ref(x_147); + x_150 = lean_box(0); +} +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(0, 2, 0); +} else { + x_151 = x_150; +} +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_149); +x_152 = lean_array_push(x_8, x_151); +x_153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_10); +return x_153; +} +else +{ +lean_object* x_154; +x_154 = lean_ctor_get(x_147, 0); +lean_inc(x_154); +if (lean_obj_tag(x_154) == 0) +{ +lean_object* x_155; +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +if (lean_obj_tag(x_155) == 0) +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_dec(x_154); +x_156 = lean_ctor_get(x_147, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_157 = x_147; +} else { + lean_dec_ref(x_147); + x_157 = lean_box(0); +} +x_158 = lean_ctor_get(x_155, 0); +lean_inc(x_158); +lean_dec(x_155); +if (lean_is_scalar(x_157)) { + x_159 = lean_alloc_ctor(1, 2, 0); +} else { + x_159 = x_157; +} +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_156); +x_160 = lean_array_push(x_8, x_159); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_10); +return x_161; +} +else +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_dec(x_10); +lean_dec(x_8); +x_162 = lean_ctor_get(x_147, 1); +lean_inc(x_162); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_163 = x_147; +} else { + lean_dec_ref(x_147); + x_163 = lean_box(0); +} +if (lean_is_scalar(x_163)) { + x_164 = lean_alloc_ctor(1, 2, 0); +} else { + x_164 = x_163; +} +lean_ctor_set(x_164, 0, x_154); +lean_ctor_set(x_164, 1, x_162); +return x_164; +} +} +else +{ +lean_object* x_165; lean_object* x_166; +lean_dec(x_8); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_165 = x_147; +} else { + lean_dec_ref(x_147); + x_165 = lean_box(0); +} +if (lean_is_scalar(x_165)) { + x_166 = lean_alloc_ctor(1, 2, 0); +} else { + x_166 = x_165; +} +lean_ctor_set(x_166, 0, x_154); +lean_ctor_set(x_166, 1, x_10); +return x_166; +} +} +} +} +else +{ +lean_object* x_167; lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_144 = lean_ctor_get(x_93, 0); -lean_inc(x_144); -if (lean_obj_tag(x_144) == 0) +x_167 = lean_ctor_get(x_116, 0); +lean_inc(x_167); +if (lean_obj_tag(x_167) == 0) { -lean_object* x_145; -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -if (lean_obj_tag(x_145) == 0) +lean_object* x_168; +x_168 = lean_ctor_get(x_167, 0); +lean_inc(x_168); +if (lean_obj_tag(x_168) == 0) { -uint8_t x_146; -lean_dec(x_144); -x_146 = !lean_is_exclusive(x_93); -if (x_146 == 0) +uint8_t x_169; +lean_dec(x_167); +x_169 = !lean_is_exclusive(x_116); +if (x_169 == 0) { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_93, 0); -lean_dec(x_147); -x_148 = lean_ctor_get(x_145, 0); -lean_inc(x_148); -lean_dec(x_145); -lean_ctor_set(x_93, 0, x_148); -x_149 = lean_array_push(x_8, x_93); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_10); -return x_150; -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_151 = lean_ctor_get(x_93, 1); -lean_inc(x_151); -lean_dec(x_93); -x_152 = lean_ctor_get(x_145, 0); -lean_inc(x_152); -lean_dec(x_145); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -x_154 = lean_array_push(x_8, x_153); -x_155 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_10); -return x_155; -} -} -else -{ -uint8_t x_156; -lean_dec(x_10); -lean_dec(x_8); -x_156 = !lean_is_exclusive(x_93); -if (x_156 == 0) -{ -lean_object* x_157; -x_157 = lean_ctor_get(x_93, 0); -lean_dec(x_157); -return x_93; -} -else -{ -lean_object* x_158; lean_object* x_159; -x_158 = lean_ctor_get(x_93, 1); -lean_inc(x_158); -lean_dec(x_93); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_144); -lean_ctor_set(x_159, 1, x_158); -return x_159; -} -} -} -else -{ -uint8_t x_160; -lean_dec(x_8); -x_160 = !lean_is_exclusive(x_93); -if (x_160 == 0) -{ -lean_object* x_161; lean_object* x_162; -x_161 = lean_ctor_get(x_93, 1); -lean_dec(x_161); -x_162 = lean_ctor_get(x_93, 0); -lean_dec(x_162); -lean_ctor_set(x_93, 1, x_10); -return x_93; -} -else -{ -lean_object* x_163; -lean_dec(x_93); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_144); -lean_ctor_set(x_163, 1, x_10); -return x_163; -} -} -} -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_164 = lean_unsigned_to_nat(1u); -x_165 = l_Lean_Syntax_getArg(x_2, x_164); -lean_dec(x_2); -x_166 = l_Lean_Syntax_getArgs(x_165); -lean_dec(x_165); -x_167 = l_Array_isEmpty___rarg(x_166); -if (x_167 == 0) -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = l_Lean_Syntax_inhabited; -x_169 = lean_array_get(x_168, x_166, x_86); -lean_dec(x_166); -x_170 = l_Lean_Elab_Term_elabExplicitUniv(x_169, x_9, x_10); -lean_dec(x_169); -if (lean_obj_tag(x_170) == 0) -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_170 = lean_ctor_get(x_116, 0); lean_dec(x_170); -x_173 = l___private_Init_Lean_Elab_App_20__elabAppFnId(x_1, x_87, x_171, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_172); +x_171 = lean_ctor_get(x_168, 0); +lean_inc(x_171); +lean_dec(x_168); +lean_ctor_set(x_116, 0, x_171); +x_172 = lean_array_push(x_8, x_116); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_10); return x_173; } else { -uint8_t x_174; -lean_dec(x_87); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_174 = lean_ctor_get(x_116, 1); +lean_inc(x_174); +lean_dec(x_116); +x_175 = lean_ctor_get(x_168, 0); +lean_inc(x_175); +lean_dec(x_168); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_174); +x_177 = lean_array_push(x_8, x_176); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_10); +return x_178; +} +} +else +{ +uint8_t x_179; +lean_dec(x_10); +lean_dec(x_8); +x_179 = !lean_is_exclusive(x_116); +if (x_179 == 0) +{ +lean_object* x_180; +x_180 = lean_ctor_get(x_116, 0); +lean_dec(x_180); +return x_116; +} +else +{ +lean_object* x_181; lean_object* x_182; +x_181 = lean_ctor_get(x_116, 1); +lean_inc(x_181); +lean_dec(x_116); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_167); +lean_ctor_set(x_182, 1, x_181); +return x_182; +} +} +} +else +{ +uint8_t x_183; +lean_dec(x_8); +x_183 = !lean_is_exclusive(x_116); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; +x_184 = lean_ctor_get(x_116, 1); +lean_dec(x_184); +x_185 = lean_ctor_get(x_116, 0); +lean_dec(x_185); +lean_ctor_set(x_116, 1, x_10); +return x_116; +} +else +{ +lean_object* x_186; +lean_dec(x_116); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_167); +lean_ctor_set(x_186, 1, x_10); +return x_186; +} +} +} +} +else +{ +uint8_t x_187; +x_187 = l_Array_isEmpty___rarg(x_4); +if (x_187 == 0) +{ +lean_object* x_188; uint8_t x_189; lean_object* x_190; +x_188 = lean_box(0); +x_189 = 1; +lean_inc(x_10); +lean_inc(x_9); +x_190 = l_Lean_Elab_Term_elabFunCore(x_102, x_188, x_189, x_9, x_10); +if (lean_obj_tag(x_190) == 0) +{ +uint8_t x_191; +x_191 = !lean_is_exclusive(x_190); +if (x_191 == 0) +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_192 = lean_ctor_get(x_190, 0); +x_193 = lean_ctor_get(x_190, 1); +x_194 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_192, x_3, x_4, x_5, x_6, x_189, x_9, x_193); +if (lean_obj_tag(x_194) == 0) +{ +uint8_t x_195; +x_195 = !lean_is_exclusive(x_194); +if (x_195 == 0) +{ +lean_object* x_196; +x_196 = lean_array_push(x_8, x_194); +lean_ctor_set(x_190, 1, x_10); +lean_ctor_set(x_190, 0, x_196); +return x_190; +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_197 = lean_ctor_get(x_194, 0); +x_198 = lean_ctor_get(x_194, 1); +lean_inc(x_198); +lean_inc(x_197); +lean_dec(x_194); +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +x_200 = lean_array_push(x_8, x_199); +lean_ctor_set(x_190, 1, x_10); +lean_ctor_set(x_190, 0, x_200); +return x_190; +} +} +else +{ +lean_object* x_201; +x_201 = lean_ctor_get(x_194, 0); +lean_inc(x_201); +if (lean_obj_tag(x_201) == 0) +{ +lean_object* x_202; +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +if (lean_obj_tag(x_202) == 0) +{ +uint8_t x_203; +lean_dec(x_201); +x_203 = !lean_is_exclusive(x_194); +if (x_203 == 0) +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_204 = lean_ctor_get(x_194, 0); +lean_dec(x_204); +x_205 = lean_ctor_get(x_202, 0); +lean_inc(x_205); +lean_dec(x_202); +lean_ctor_set(x_194, 0, x_205); +x_206 = lean_array_push(x_8, x_194); +lean_ctor_set(x_190, 1, x_10); +lean_ctor_set(x_190, 0, x_206); +return x_190; +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_207 = lean_ctor_get(x_194, 1); +lean_inc(x_207); +lean_dec(x_194); +x_208 = lean_ctor_get(x_202, 0); +lean_inc(x_208); +lean_dec(x_202); +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_207); +x_210 = lean_array_push(x_8, x_209); +lean_ctor_set(x_190, 1, x_10); +lean_ctor_set(x_190, 0, x_210); +return x_190; +} +} +else +{ +uint8_t x_211; +lean_free_object(x_190); +lean_dec(x_10); +lean_dec(x_8); +x_211 = !lean_is_exclusive(x_194); +if (x_211 == 0) +{ +lean_object* x_212; +x_212 = lean_ctor_get(x_194, 0); +lean_dec(x_212); +return x_194; +} +else +{ +lean_object* x_213; lean_object* x_214; +x_213 = lean_ctor_get(x_194, 1); +lean_inc(x_213); +lean_dec(x_194); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_201); +lean_ctor_set(x_214, 1, x_213); +return x_214; +} +} +} +else +{ +uint8_t x_215; +lean_free_object(x_190); +lean_dec(x_8); +x_215 = !lean_is_exclusive(x_194); +if (x_215 == 0) +{ +lean_object* x_216; lean_object* x_217; +x_216 = lean_ctor_get(x_194, 1); +lean_dec(x_216); +x_217 = lean_ctor_get(x_194, 0); +lean_dec(x_217); +lean_ctor_set(x_194, 1, x_10); +return x_194; +} +else +{ +lean_object* x_218; +lean_dec(x_194); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_201); +lean_ctor_set(x_218, 1, x_10); +return x_218; +} +} +} +} +else +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_ctor_get(x_190, 0); +x_220 = lean_ctor_get(x_190, 1); +lean_inc(x_220); +lean_inc(x_219); +lean_dec(x_190); +x_221 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_219, x_3, x_4, x_5, x_6, x_189, x_9, x_220); +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; +x_222 = lean_ctor_get(x_221, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_221, 1); +lean_inc(x_223); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_224 = x_221; +} else { + lean_dec_ref(x_221); + x_224 = lean_box(0); +} +if (lean_is_scalar(x_224)) { + x_225 = lean_alloc_ctor(0, 2, 0); +} else { + x_225 = x_224; +} +lean_ctor_set(x_225, 0, x_222); +lean_ctor_set(x_225, 1, x_223); +x_226 = lean_array_push(x_8, x_225); +x_227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_10); +return x_227; +} +else +{ +lean_object* x_228; +x_228 = lean_ctor_get(x_221, 0); +lean_inc(x_228); +if (lean_obj_tag(x_228) == 0) +{ +lean_object* x_229; +x_229 = lean_ctor_get(x_228, 0); +lean_inc(x_229); +if (lean_obj_tag(x_229) == 0) +{ +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_dec(x_228); +x_230 = lean_ctor_get(x_221, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_231 = x_221; +} else { + lean_dec_ref(x_221); + x_231 = lean_box(0); +} +x_232 = lean_ctor_get(x_229, 0); +lean_inc(x_232); +lean_dec(x_229); +if (lean_is_scalar(x_231)) { + x_233 = lean_alloc_ctor(1, 2, 0); +} else { + x_233 = x_231; +} +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_230); +x_234 = lean_array_push(x_8, x_233); +x_235 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_235, 0, x_234); +lean_ctor_set(x_235, 1, x_10); +return x_235; +} +else +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_10); +lean_dec(x_8); +x_236 = lean_ctor_get(x_221, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_237 = x_221; +} else { + lean_dec_ref(x_221); + x_237 = lean_box(0); +} +if (lean_is_scalar(x_237)) { + x_238 = lean_alloc_ctor(1, 2, 0); +} else { + x_238 = x_237; +} +lean_ctor_set(x_238, 0, x_228); +lean_ctor_set(x_238, 1, x_236); +return x_238; +} +} +else +{ +lean_object* x_239; lean_object* x_240; +lean_dec(x_8); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_239 = x_221; +} else { + lean_dec_ref(x_221); + x_239 = lean_box(0); +} +if (lean_is_scalar(x_239)) { + x_240 = lean_alloc_ctor(1, 2, 0); +} else { + x_240 = x_239; +} +lean_ctor_set(x_240, 0, x_228); +lean_ctor_set(x_240, 1, x_10); +return x_240; +} +} +} +} +else +{ +lean_object* x_241; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_241 = lean_ctor_get(x_190, 0); +lean_inc(x_241); +if (lean_obj_tag(x_241) == 0) +{ +lean_object* x_242; +x_242 = lean_ctor_get(x_241, 0); +lean_inc(x_242); +if (lean_obj_tag(x_242) == 0) +{ +uint8_t x_243; +lean_dec(x_241); +x_243 = !lean_is_exclusive(x_190); +if (x_243 == 0) +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_244 = lean_ctor_get(x_190, 0); +lean_dec(x_244); +x_245 = lean_ctor_get(x_242, 0); +lean_inc(x_245); +lean_dec(x_242); +lean_ctor_set(x_190, 0, x_245); +x_246 = lean_array_push(x_8, x_190); +x_247 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_10); +return x_247; +} +else +{ +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_248 = lean_ctor_get(x_190, 1); +lean_inc(x_248); +lean_dec(x_190); +x_249 = lean_ctor_get(x_242, 0); +lean_inc(x_249); +lean_dec(x_242); +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_248); +x_251 = lean_array_push(x_8, x_250); +x_252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_10); +return x_252; +} +} +else +{ +uint8_t x_253; +lean_dec(x_10); +lean_dec(x_8); +x_253 = !lean_is_exclusive(x_190); +if (x_253 == 0) +{ +lean_object* x_254; +x_254 = lean_ctor_get(x_190, 0); +lean_dec(x_254); +return x_190; +} +else +{ +lean_object* x_255; lean_object* x_256; +x_255 = lean_ctor_get(x_190, 1); +lean_inc(x_255); +lean_dec(x_190); +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_241); +lean_ctor_set(x_256, 1, x_255); +return x_256; +} +} +} +else +{ +uint8_t x_257; +lean_dec(x_8); +x_257 = !lean_is_exclusive(x_190); +if (x_257 == 0) +{ +lean_object* x_258; lean_object* x_259; +x_258 = lean_ctor_get(x_190, 1); +lean_dec(x_258); +x_259 = lean_ctor_get(x_190, 0); +lean_dec(x_259); +lean_ctor_set(x_190, 1, x_10); +return x_190; +} +else +{ +lean_object* x_260; +lean_dec(x_190); +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_241); +lean_ctor_set(x_260, 1, x_10); +return x_260; +} +} +} +} +else +{ +uint8_t x_261; +x_261 = l_Array_isEmpty___rarg(x_5); +if (x_261 == 0) +{ +lean_object* x_262; uint8_t x_263; lean_object* x_264; +x_262 = lean_box(0); +x_263 = 1; +lean_inc(x_10); +lean_inc(x_9); +x_264 = l_Lean_Elab_Term_elabFunCore(x_102, x_262, x_263, x_9, x_10); +if (lean_obj_tag(x_264) == 0) +{ +uint8_t x_265; +x_265 = !lean_is_exclusive(x_264); +if (x_265 == 0) +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_266 = lean_ctor_get(x_264, 0); +x_267 = lean_ctor_get(x_264, 1); +x_268 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_266, x_3, x_4, x_5, x_6, x_263, x_9, x_267); +if (lean_obj_tag(x_268) == 0) +{ +uint8_t x_269; +x_269 = !lean_is_exclusive(x_268); +if (x_269 == 0) +{ +lean_object* x_270; +x_270 = lean_array_push(x_8, x_268); +lean_ctor_set(x_264, 1, x_10); +lean_ctor_set(x_264, 0, x_270); +return x_264; +} +else +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_271 = lean_ctor_get(x_268, 0); +x_272 = lean_ctor_get(x_268, 1); +lean_inc(x_272); +lean_inc(x_271); +lean_dec(x_268); +x_273 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_273, 0, x_271); +lean_ctor_set(x_273, 1, x_272); +x_274 = lean_array_push(x_8, x_273); +lean_ctor_set(x_264, 1, x_10); +lean_ctor_set(x_264, 0, x_274); +return x_264; +} +} +else +{ +lean_object* x_275; +x_275 = lean_ctor_get(x_268, 0); +lean_inc(x_275); +if (lean_obj_tag(x_275) == 0) +{ +lean_object* x_276; +x_276 = lean_ctor_get(x_275, 0); +lean_inc(x_276); +if (lean_obj_tag(x_276) == 0) +{ +uint8_t x_277; +lean_dec(x_275); +x_277 = !lean_is_exclusive(x_268); +if (x_277 == 0) +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_278 = lean_ctor_get(x_268, 0); +lean_dec(x_278); +x_279 = lean_ctor_get(x_276, 0); +lean_inc(x_279); +lean_dec(x_276); +lean_ctor_set(x_268, 0, x_279); +x_280 = lean_array_push(x_8, x_268); +lean_ctor_set(x_264, 1, x_10); +lean_ctor_set(x_264, 0, x_280); +return x_264; +} +else +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_281 = lean_ctor_get(x_268, 1); +lean_inc(x_281); +lean_dec(x_268); +x_282 = lean_ctor_get(x_276, 0); +lean_inc(x_282); +lean_dec(x_276); +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_281); +x_284 = lean_array_push(x_8, x_283); +lean_ctor_set(x_264, 1, x_10); +lean_ctor_set(x_264, 0, x_284); +return x_264; +} +} +else +{ +uint8_t x_285; +lean_free_object(x_264); +lean_dec(x_10); +lean_dec(x_8); +x_285 = !lean_is_exclusive(x_268); +if (x_285 == 0) +{ +lean_object* x_286; +x_286 = lean_ctor_get(x_268, 0); +lean_dec(x_286); +return x_268; +} +else +{ +lean_object* x_287; lean_object* x_288; +x_287 = lean_ctor_get(x_268, 1); +lean_inc(x_287); +lean_dec(x_268); +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_275); +lean_ctor_set(x_288, 1, x_287); +return x_288; +} +} +} +else +{ +uint8_t x_289; +lean_free_object(x_264); +lean_dec(x_8); +x_289 = !lean_is_exclusive(x_268); +if (x_289 == 0) +{ +lean_object* x_290; lean_object* x_291; +x_290 = lean_ctor_get(x_268, 1); +lean_dec(x_290); +x_291 = lean_ctor_get(x_268, 0); +lean_dec(x_291); +lean_ctor_set(x_268, 1, x_10); +return x_268; +} +else +{ +lean_object* x_292; +lean_dec(x_268); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_275); +lean_ctor_set(x_292, 1, x_10); +return x_292; +} +} +} +} +else +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_293 = lean_ctor_get(x_264, 0); +x_294 = lean_ctor_get(x_264, 1); +lean_inc(x_294); +lean_inc(x_293); +lean_dec(x_264); +x_295 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_293, x_3, x_4, x_5, x_6, x_263, x_9, x_294); +if (lean_obj_tag(x_295) == 0) +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_296 = lean_ctor_get(x_295, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_295, 1); +lean_inc(x_297); +if (lean_is_exclusive(x_295)) { + lean_ctor_release(x_295, 0); + lean_ctor_release(x_295, 1); + x_298 = x_295; +} else { + lean_dec_ref(x_295); + x_298 = lean_box(0); +} +if (lean_is_scalar(x_298)) { + x_299 = lean_alloc_ctor(0, 2, 0); +} else { + x_299 = x_298; +} +lean_ctor_set(x_299, 0, x_296); +lean_ctor_set(x_299, 1, x_297); +x_300 = lean_array_push(x_8, x_299); +x_301 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_301, 0, x_300); +lean_ctor_set(x_301, 1, x_10); +return x_301; +} +else +{ +lean_object* x_302; +x_302 = lean_ctor_get(x_295, 0); +lean_inc(x_302); +if (lean_obj_tag(x_302) == 0) +{ +lean_object* x_303; +x_303 = lean_ctor_get(x_302, 0); +lean_inc(x_303); +if (lean_obj_tag(x_303) == 0) +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; +lean_dec(x_302); +x_304 = lean_ctor_get(x_295, 1); +lean_inc(x_304); +if (lean_is_exclusive(x_295)) { + lean_ctor_release(x_295, 0); + lean_ctor_release(x_295, 1); + x_305 = x_295; +} else { + lean_dec_ref(x_295); + x_305 = lean_box(0); +} +x_306 = lean_ctor_get(x_303, 0); +lean_inc(x_306); +lean_dec(x_303); +if (lean_is_scalar(x_305)) { + x_307 = lean_alloc_ctor(1, 2, 0); +} else { + x_307 = x_305; +} +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_304); +x_308 = lean_array_push(x_8, x_307); +x_309 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_10); +return x_309; +} +else +{ +lean_object* x_310; lean_object* x_311; lean_object* x_312; +lean_dec(x_10); +lean_dec(x_8); +x_310 = lean_ctor_get(x_295, 1); +lean_inc(x_310); +if (lean_is_exclusive(x_295)) { + lean_ctor_release(x_295, 0); + lean_ctor_release(x_295, 1); + x_311 = x_295; +} else { + lean_dec_ref(x_295); + x_311 = lean_box(0); +} +if (lean_is_scalar(x_311)) { + x_312 = lean_alloc_ctor(1, 2, 0); +} else { + x_312 = x_311; +} +lean_ctor_set(x_312, 0, x_302); +lean_ctor_set(x_312, 1, x_310); +return x_312; +} +} +else +{ +lean_object* x_313; lean_object* x_314; +lean_dec(x_8); +if (lean_is_exclusive(x_295)) { + lean_ctor_release(x_295, 0); + lean_ctor_release(x_295, 1); + x_313 = x_295; +} else { + lean_dec_ref(x_295); + x_313 = lean_box(0); +} +if (lean_is_scalar(x_313)) { + x_314 = lean_alloc_ctor(1, 2, 0); +} else { + x_314 = x_313; +} +lean_ctor_set(x_314, 0, x_302); +lean_ctor_set(x_314, 1, x_10); +return x_314; +} +} +} +} +else +{ +lean_object* x_315; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_315 = lean_ctor_get(x_264, 0); +lean_inc(x_315); +if (lean_obj_tag(x_315) == 0) +{ +lean_object* x_316; +x_316 = lean_ctor_get(x_315, 0); +lean_inc(x_316); +if (lean_obj_tag(x_316) == 0) +{ +uint8_t x_317; +lean_dec(x_315); +x_317 = !lean_is_exclusive(x_264); +if (x_317 == 0) +{ +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; +x_318 = lean_ctor_get(x_264, 0); +lean_dec(x_318); +x_319 = lean_ctor_get(x_316, 0); +lean_inc(x_319); +lean_dec(x_316); +lean_ctor_set(x_264, 0, x_319); +x_320 = lean_array_push(x_8, x_264); +x_321 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_10); +return x_321; +} +else +{ +lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; +x_322 = lean_ctor_get(x_264, 1); +lean_inc(x_322); +lean_dec(x_264); +x_323 = lean_ctor_get(x_316, 0); +lean_inc(x_323); +lean_dec(x_316); +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_323); +lean_ctor_set(x_324, 1, x_322); +x_325 = lean_array_push(x_8, x_324); +x_326 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_326, 0, x_325); +lean_ctor_set(x_326, 1, x_10); +return x_326; +} +} +else +{ +uint8_t x_327; +lean_dec(x_10); +lean_dec(x_8); +x_327 = !lean_is_exclusive(x_264); +if (x_327 == 0) +{ +lean_object* x_328; +x_328 = lean_ctor_get(x_264, 0); +lean_dec(x_328); +return x_264; +} +else +{ +lean_object* x_329; lean_object* x_330; +x_329 = lean_ctor_get(x_264, 1); +lean_inc(x_329); +lean_dec(x_264); +x_330 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_330, 0, x_315); +lean_ctor_set(x_330, 1, x_329); +return x_330; +} +} +} +else +{ +uint8_t x_331; +lean_dec(x_8); +x_331 = !lean_is_exclusive(x_264); +if (x_331 == 0) +{ +lean_object* x_332; lean_object* x_333; +x_332 = lean_ctor_get(x_264, 1); +lean_dec(x_332); +x_333 = lean_ctor_get(x_264, 0); +lean_dec(x_333); +lean_ctor_set(x_264, 1, x_10); +return x_264; +} +else +{ +lean_object* x_334; +lean_dec(x_264); +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_315); +lean_ctor_set(x_334, 1, x_10); +return x_334; +} +} +} +} +else +{ +uint8_t x_335; lean_object* x_336; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_335 = 1; +lean_inc(x_10); +x_336 = l_Lean_Elab_Term_elabFunCore(x_102, x_6, x_335, x_9, x_10); +if (lean_obj_tag(x_336) == 0) +{ +uint8_t x_337; +x_337 = !lean_is_exclusive(x_336); +if (x_337 == 0) +{ +lean_object* x_338; lean_object* x_339; +x_338 = lean_array_push(x_8, x_336); +x_339 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_10); +return x_339; +} +else +{ +lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; +x_340 = lean_ctor_get(x_336, 0); +x_341 = lean_ctor_get(x_336, 1); +lean_inc(x_341); +lean_inc(x_340); +lean_dec(x_336); +x_342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_342, 0, x_340); +lean_ctor_set(x_342, 1, x_341); +x_343 = lean_array_push(x_8, x_342); +x_344 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_10); +return x_344; +} +} +else +{ +lean_object* x_345; +x_345 = lean_ctor_get(x_336, 0); +lean_inc(x_345); +if (lean_obj_tag(x_345) == 0) +{ +lean_object* x_346; +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +if (lean_obj_tag(x_346) == 0) +{ +uint8_t x_347; +lean_dec(x_345); +x_347 = !lean_is_exclusive(x_336); +if (x_347 == 0) +{ +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; +x_348 = lean_ctor_get(x_336, 0); +lean_dec(x_348); +x_349 = lean_ctor_get(x_346, 0); +lean_inc(x_349); +lean_dec(x_346); +lean_ctor_set(x_336, 0, x_349); +x_350 = lean_array_push(x_8, x_336); +x_351 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_351, 0, x_350); +lean_ctor_set(x_351, 1, x_10); +return x_351; +} +else +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_352 = lean_ctor_get(x_336, 1); +lean_inc(x_352); +lean_dec(x_336); +x_353 = lean_ctor_get(x_346, 0); +lean_inc(x_353); +lean_dec(x_346); +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_353); +lean_ctor_set(x_354, 1, x_352); +x_355 = lean_array_push(x_8, x_354); +x_356 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_356, 0, x_355); +lean_ctor_set(x_356, 1, x_10); +return x_356; +} +} +else +{ +uint8_t x_357; +lean_dec(x_10); +lean_dec(x_8); +x_357 = !lean_is_exclusive(x_336); +if (x_357 == 0) +{ +lean_object* x_358; +x_358 = lean_ctor_get(x_336, 0); +lean_dec(x_358); +return x_336; +} +else +{ +lean_object* x_359; lean_object* x_360; +x_359 = lean_ctor_get(x_336, 1); +lean_inc(x_359); +lean_dec(x_336); +x_360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_360, 0, x_345); +lean_ctor_set(x_360, 1, x_359); +return x_360; +} +} +} +else +{ +uint8_t x_361; +lean_dec(x_8); +x_361 = !lean_is_exclusive(x_336); +if (x_361 == 0) +{ +lean_object* x_362; lean_object* x_363; +x_362 = lean_ctor_get(x_336, 1); +lean_dec(x_362); +x_363 = lean_ctor_get(x_336, 0); +lean_dec(x_363); +lean_ctor_set(x_336, 1, x_10); +return x_336; +} +else +{ +lean_object* x_364; +lean_dec(x_336); +x_364 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_364, 0, x_345); +lean_ctor_set(x_364, 1, x_10); +return x_364; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +} +block_492: +{ +uint8_t x_390; +x_390 = l_coeDecidableEq(x_389); +if (x_390 == 0) +{ +lean_object* x_391; uint8_t x_392; +x_391 = l_Lean_Parser_Term_explicit___elambda__1___closed__2; +lean_inc(x_2); +x_392 = l_Lean_Syntax_isOfKind(x_2, x_391); +if (x_392 == 0) +{ +uint8_t x_393; +x_393 = 0; +x_15 = x_393; +goto block_388; +} +else +{ +lean_object* x_394; lean_object* x_395; lean_object* x_396; uint8_t x_397; +x_394 = l_Lean_Syntax_getArgs(x_2); +x_395 = lean_array_get_size(x_394); +lean_dec(x_394); +x_396 = lean_unsigned_to_nat(2u); +x_397 = lean_nat_dec_eq(x_395, x_396); +lean_dec(x_395); +x_15 = x_397; +goto block_388; +} +} +else +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; uint8_t x_401; uint8_t x_402; +x_398 = lean_unsigned_to_nat(0u); +x_399 = l_Lean_Syntax_getArg(x_2, x_398); +x_400 = l_Lean_identKind___closed__2; +lean_inc(x_399); +x_401 = l_Lean_Syntax_isOfKind(x_399, x_400); +x_402 = l_coeDecidableEq(x_401); +if (x_402 == 0) +{ +lean_object* x_403; uint8_t x_404; lean_object* x_405; +lean_dec(x_399); +x_403 = lean_box(0); +x_404 = 1; +lean_inc(x_10); +lean_inc(x_9); +x_405 = l_Lean_Elab_Term_elabTerm(x_2, x_403, x_404, x_9, x_10); +if (lean_obj_tag(x_405) == 0) +{ +uint8_t x_406; +x_406 = !lean_is_exclusive(x_405); +if (x_406 == 0) +{ +lean_object* x_407; lean_object* x_408; lean_object* x_409; +x_407 = lean_ctor_get(x_405, 0); +x_408 = lean_ctor_get(x_405, 1); +x_409 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_407, x_3, x_4, x_5, x_6, x_7, x_9, x_408); +if (lean_obj_tag(x_409) == 0) +{ +uint8_t x_410; +x_410 = !lean_is_exclusive(x_409); +if (x_410 == 0) +{ +lean_object* x_411; +x_411 = lean_array_push(x_8, x_409); +lean_ctor_set(x_405, 1, x_10); +lean_ctor_set(x_405, 0, x_411); +return x_405; +} +else +{ +lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; +x_412 = lean_ctor_get(x_409, 0); +x_413 = lean_ctor_get(x_409, 1); +lean_inc(x_413); +lean_inc(x_412); +lean_dec(x_409); +x_414 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_414, 0, x_412); +lean_ctor_set(x_414, 1, x_413); +x_415 = lean_array_push(x_8, x_414); +lean_ctor_set(x_405, 1, x_10); +lean_ctor_set(x_405, 0, x_415); +return x_405; +} +} +else +{ +lean_object* x_416; +x_416 = lean_ctor_get(x_409, 0); +lean_inc(x_416); +if (lean_obj_tag(x_416) == 0) +{ +lean_object* x_417; +x_417 = lean_ctor_get(x_416, 0); +lean_inc(x_417); +if (lean_obj_tag(x_417) == 0) +{ +uint8_t x_418; +lean_dec(x_416); +x_418 = !lean_is_exclusive(x_409); +if (x_418 == 0) +{ +lean_object* x_419; lean_object* x_420; lean_object* x_421; +x_419 = lean_ctor_get(x_409, 0); +lean_dec(x_419); +x_420 = lean_ctor_get(x_417, 0); +lean_inc(x_420); +lean_dec(x_417); +lean_ctor_set(x_409, 0, x_420); +x_421 = lean_array_push(x_8, x_409); +lean_ctor_set(x_405, 1, x_10); +lean_ctor_set(x_405, 0, x_421); +return x_405; +} +else +{ +lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; +x_422 = lean_ctor_get(x_409, 1); +lean_inc(x_422); +lean_dec(x_409); +x_423 = lean_ctor_get(x_417, 0); +lean_inc(x_423); +lean_dec(x_417); +x_424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_422); +x_425 = lean_array_push(x_8, x_424); +lean_ctor_set(x_405, 1, x_10); +lean_ctor_set(x_405, 0, x_425); +return x_405; +} +} +else +{ +uint8_t x_426; +lean_free_object(x_405); +lean_dec(x_10); +lean_dec(x_8); +x_426 = !lean_is_exclusive(x_409); +if (x_426 == 0) +{ +lean_object* x_427; +x_427 = lean_ctor_get(x_409, 0); +lean_dec(x_427); +return x_409; +} +else +{ +lean_object* x_428; lean_object* x_429; +x_428 = lean_ctor_get(x_409, 1); +lean_inc(x_428); +lean_dec(x_409); +x_429 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_429, 0, x_416); +lean_ctor_set(x_429, 1, x_428); +return x_429; +} +} +} +else +{ +uint8_t x_430; +lean_free_object(x_405); +lean_dec(x_8); +x_430 = !lean_is_exclusive(x_409); +if (x_430 == 0) +{ +lean_object* x_431; lean_object* x_432; +x_431 = lean_ctor_get(x_409, 1); +lean_dec(x_431); +x_432 = lean_ctor_get(x_409, 0); +lean_dec(x_432); +lean_ctor_set(x_409, 1, x_10); +return x_409; +} +else +{ +lean_object* x_433; +lean_dec(x_409); +x_433 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_433, 0, x_416); +lean_ctor_set(x_433, 1, x_10); +return x_433; +} +} +} +} +else +{ +lean_object* x_434; lean_object* x_435; lean_object* x_436; +x_434 = lean_ctor_get(x_405, 0); +x_435 = lean_ctor_get(x_405, 1); +lean_inc(x_435); +lean_inc(x_434); +lean_dec(x_405); +x_436 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_434, x_3, x_4, x_5, x_6, x_7, x_9, x_435); +if (lean_obj_tag(x_436) == 0) +{ +lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; +x_437 = lean_ctor_get(x_436, 0); +lean_inc(x_437); +x_438 = lean_ctor_get(x_436, 1); +lean_inc(x_438); +if (lean_is_exclusive(x_436)) { + lean_ctor_release(x_436, 0); + lean_ctor_release(x_436, 1); + x_439 = x_436; +} else { + lean_dec_ref(x_436); + x_439 = lean_box(0); +} +if (lean_is_scalar(x_439)) { + x_440 = lean_alloc_ctor(0, 2, 0); +} else { + x_440 = x_439; +} +lean_ctor_set(x_440, 0, x_437); +lean_ctor_set(x_440, 1, x_438); +x_441 = lean_array_push(x_8, x_440); +x_442 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_442, 0, x_441); +lean_ctor_set(x_442, 1, x_10); +return x_442; +} +else +{ +lean_object* x_443; +x_443 = lean_ctor_get(x_436, 0); +lean_inc(x_443); +if (lean_obj_tag(x_443) == 0) +{ +lean_object* x_444; +x_444 = lean_ctor_get(x_443, 0); +lean_inc(x_444); +if (lean_obj_tag(x_444) == 0) +{ +lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; +lean_dec(x_443); +x_445 = lean_ctor_get(x_436, 1); +lean_inc(x_445); +if (lean_is_exclusive(x_436)) { + lean_ctor_release(x_436, 0); + lean_ctor_release(x_436, 1); + x_446 = x_436; +} else { + lean_dec_ref(x_436); + x_446 = lean_box(0); +} +x_447 = lean_ctor_get(x_444, 0); +lean_inc(x_447); +lean_dec(x_444); +if (lean_is_scalar(x_446)) { + x_448 = lean_alloc_ctor(1, 2, 0); +} else { + x_448 = x_446; +} +lean_ctor_set(x_448, 0, x_447); +lean_ctor_set(x_448, 1, x_445); +x_449 = lean_array_push(x_8, x_448); +x_450 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_450, 0, x_449); +lean_ctor_set(x_450, 1, x_10); +return x_450; +} +else +{ +lean_object* x_451; lean_object* x_452; lean_object* x_453; +lean_dec(x_10); +lean_dec(x_8); +x_451 = lean_ctor_get(x_436, 1); +lean_inc(x_451); +if (lean_is_exclusive(x_436)) { + lean_ctor_release(x_436, 0); + lean_ctor_release(x_436, 1); + x_452 = x_436; +} else { + lean_dec_ref(x_436); + x_452 = lean_box(0); +} +if (lean_is_scalar(x_452)) { + x_453 = lean_alloc_ctor(1, 2, 0); +} else { + x_453 = x_452; +} +lean_ctor_set(x_453, 0, x_443); +lean_ctor_set(x_453, 1, x_451); +return x_453; +} +} +else +{ +lean_object* x_454; lean_object* x_455; +lean_dec(x_8); +if (lean_is_exclusive(x_436)) { + lean_ctor_release(x_436, 0); + lean_ctor_release(x_436, 1); + x_454 = x_436; +} else { + lean_dec_ref(x_436); + x_454 = lean_box(0); +} +if (lean_is_scalar(x_454)) { + x_455 = lean_alloc_ctor(1, 2, 0); +} else { + x_455 = x_454; +} +lean_ctor_set(x_455, 0, x_443); +lean_ctor_set(x_455, 1, x_10); +return x_455; +} +} +} +} +else +{ +lean_object* x_456; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_456 = lean_ctor_get(x_405, 0); +lean_inc(x_456); +if (lean_obj_tag(x_456) == 0) +{ +lean_object* x_457; +x_457 = lean_ctor_get(x_456, 0); +lean_inc(x_457); +if (lean_obj_tag(x_457) == 0) +{ +uint8_t x_458; +lean_dec(x_456); +x_458 = !lean_is_exclusive(x_405); +if (x_458 == 0) +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; +x_459 = lean_ctor_get(x_405, 0); +lean_dec(x_459); +x_460 = lean_ctor_get(x_457, 0); +lean_inc(x_460); +lean_dec(x_457); +lean_ctor_set(x_405, 0, x_460); +x_461 = lean_array_push(x_8, x_405); +x_462 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_462, 0, x_461); +lean_ctor_set(x_462, 1, x_10); +return x_462; +} +else +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_463 = lean_ctor_get(x_405, 1); +lean_inc(x_463); +lean_dec(x_405); +x_464 = lean_ctor_get(x_457, 0); +lean_inc(x_464); +lean_dec(x_457); +x_465 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_465, 0, x_464); +lean_ctor_set(x_465, 1, x_463); +x_466 = lean_array_push(x_8, x_465); +x_467 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_467, 0, x_466); +lean_ctor_set(x_467, 1, x_10); +return x_467; +} +} +else +{ +uint8_t x_468; +lean_dec(x_10); +lean_dec(x_8); +x_468 = !lean_is_exclusive(x_405); +if (x_468 == 0) +{ +lean_object* x_469; +x_469 = lean_ctor_get(x_405, 0); +lean_dec(x_469); +return x_405; +} +else +{ +lean_object* x_470; lean_object* x_471; +x_470 = lean_ctor_get(x_405, 1); +lean_inc(x_470); +lean_dec(x_405); +x_471 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_471, 0, x_456); +lean_ctor_set(x_471, 1, x_470); +return x_471; +} +} +} +else +{ +uint8_t x_472; +lean_dec(x_8); +x_472 = !lean_is_exclusive(x_405); +if (x_472 == 0) +{ +lean_object* x_473; lean_object* x_474; +x_473 = lean_ctor_get(x_405, 1); +lean_dec(x_473); +x_474 = lean_ctor_get(x_405, 0); +lean_dec(x_474); +lean_ctor_set(x_405, 1, x_10); +return x_405; +} +else +{ +lean_object* x_475; +lean_dec(x_405); +x_475 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_475, 0, x_456); +lean_ctor_set(x_475, 1, x_10); +return x_475; +} +} +} +} +else +{ +lean_object* x_476; lean_object* x_477; lean_object* x_478; uint8_t x_479; +x_476 = lean_unsigned_to_nat(1u); +x_477 = l_Lean_Syntax_getArg(x_2, x_476); +lean_dec(x_2); +x_478 = l_Lean_Syntax_getArgs(x_477); +lean_dec(x_477); +x_479 = l_Array_isEmpty___rarg(x_478); +if (x_479 == 0) +{ +lean_object* x_480; lean_object* x_481; lean_object* x_482; +x_480 = l_Lean_Syntax_inhabited; +x_481 = lean_array_get(x_480, x_478, x_398); +lean_dec(x_478); +x_482 = l_Lean_Elab_Term_elabExplicitUniv(x_481, x_9, x_10); +lean_dec(x_481); +if (lean_obj_tag(x_482) == 0) +{ +lean_object* x_483; lean_object* x_484; lean_object* x_485; +x_483 = lean_ctor_get(x_482, 0); +lean_inc(x_483); +x_484 = lean_ctor_get(x_482, 1); +lean_inc(x_484); +lean_dec(x_482); +x_485 = l___private_Init_Lean_Elab_App_21__elabAppFnId(x_1, x_399, x_483, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_484); +return x_485; +} +else +{ +uint8_t x_486; +lean_dec(x_399); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); @@ -11214,80 +16201,668 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_174 = !lean_is_exclusive(x_170); -if (x_174 == 0) +x_486 = !lean_is_exclusive(x_482); +if (x_486 == 0) { -return x_170; +return x_482; } else { -lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_175 = lean_ctor_get(x_170, 0); -x_176 = lean_ctor_get(x_170, 1); -lean_inc(x_176); -lean_inc(x_175); -lean_dec(x_170); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -return x_177; +lean_object* x_487; lean_object* x_488; lean_object* x_489; +x_487 = lean_ctor_get(x_482, 0); +x_488 = lean_ctor_get(x_482, 1); +lean_inc(x_488); +lean_inc(x_487); +lean_dec(x_482); +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; } } } else { -lean_object* x_178; lean_object* x_179; -lean_dec(x_166); -x_178 = lean_box(0); -x_179 = l___private_Init_Lean_Elab_App_20__elabAppFnId(x_1, x_87, x_178, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_179; +lean_object* x_490; lean_object* x_491; +lean_dec(x_478); +x_490 = lean_box(0); +x_491 = l___private_Init_Lean_Elab_App_21__elabAppFnId(x_1, x_399, x_490, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_491; +} +} +} +} +block_631: +{ +uint8_t x_494; +x_494 = l_coeDecidableEq(x_493); +if (x_494 == 0) +{ +lean_object* x_495; uint8_t x_496; +x_495 = l_Lean_Parser_Term_arrayRef___elambda__1___closed__2; +lean_inc(x_2); +x_496 = l_Lean_Syntax_isOfKind(x_2, x_495); +if (x_496 == 0) +{ +uint8_t x_497; +x_497 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; +if (x_497 == 0) +{ +lean_object* x_498; uint8_t x_499; +x_498 = l_Lean_mkTermIdFromIdent___closed__2; +lean_inc(x_2); +x_499 = l_Lean_Syntax_isOfKind(x_2, x_498); +if (x_499 == 0) +{ +uint8_t x_500; +x_500 = 0; +x_389 = x_500; +goto block_492; +} +else +{ +lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; +x_501 = l_Lean_Syntax_getArgs(x_2); +x_502 = lean_array_get_size(x_501); +lean_dec(x_501); +x_503 = lean_unsigned_to_nat(2u); +x_504 = lean_nat_dec_eq(x_502, x_503); +lean_dec(x_502); +x_389 = x_504; +goto block_492; +} +} +else +{ +lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; +x_505 = lean_unsigned_to_nat(0u); +x_506 = l_Lean_Syntax_getArg(x_2, x_505); +x_507 = lean_unsigned_to_nat(2u); +x_508 = l_Lean_Syntax_getArg(x_2, x_507); +lean_dec(x_2); +x_509 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_509, 0, x_508); +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_509); +lean_ctor_set(x_510, 1, x_3); +x_2 = x_506; +x_3 = x_510; +goto _start; +} +} +else +{ +lean_object* x_512; lean_object* x_513; lean_object* x_514; uint8_t x_515; uint8_t x_516; +x_512 = l_Lean_Syntax_getArgs(x_2); +x_513 = lean_array_get_size(x_512); +lean_dec(x_512); +x_514 = lean_unsigned_to_nat(4u); +x_515 = lean_nat_dec_eq(x_513, x_514); +x_516 = l_coeDecidableEq(x_515); +if (x_516 == 0) +{ +lean_object* x_517; uint8_t x_518; +x_517 = l_Lean_mkTermIdFromIdent___closed__2; +lean_inc(x_2); +x_518 = l_Lean_Syntax_isOfKind(x_2, x_517); +if (x_518 == 0) +{ +uint8_t x_519; +lean_dec(x_513); +x_519 = 0; +x_389 = x_519; +goto block_492; +} +else +{ +lean_object* x_520; uint8_t x_521; +x_520 = lean_unsigned_to_nat(2u); +x_521 = lean_nat_dec_eq(x_513, x_520); +lean_dec(x_513); +x_389 = x_521; +goto block_492; +} +} +else +{ +lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; +lean_dec(x_513); +x_522 = lean_unsigned_to_nat(0u); +x_523 = l_Lean_Syntax_getArg(x_2, x_522); +x_524 = lean_unsigned_to_nat(2u); +x_525 = l_Lean_Syntax_getArg(x_2, x_524); +lean_dec(x_2); +x_526 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_526, 0, x_525); +x_527 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_527, 0, x_526); +lean_ctor_set(x_527, 1, x_3); +x_2 = x_523; +x_3 = x_527; +goto _start; +} +} +} +else +{ +lean_object* x_529; lean_object* x_530; lean_object* x_531; uint8_t x_532; uint8_t x_533; +x_529 = lean_unsigned_to_nat(2u); +x_530 = l_Lean_Syntax_getArg(x_2, x_529); +x_531 = l_Lean_fieldIdxKind___closed__2; +lean_inc(x_530); +x_532 = l_Lean_Syntax_isOfKind(x_530, x_531); +x_533 = l_coeDecidableEq(x_532); +if (x_533 == 0) +{ +lean_object* x_534; uint8_t x_535; uint8_t x_536; +x_534 = l_Lean_identKind___closed__2; +lean_inc(x_530); +x_535 = l_Lean_Syntax_isOfKind(x_530, x_534); +x_536 = l_coeDecidableEq(x_535); +if (x_536 == 0) +{ +lean_object* x_537; uint8_t x_538; lean_object* x_539; +lean_dec(x_530); +x_537 = lean_box(0); +x_538 = 1; +lean_inc(x_10); +lean_inc(x_9); +x_539 = l_Lean_Elab_Term_elabTerm(x_2, x_537, x_538, x_9, x_10); +if (lean_obj_tag(x_539) == 0) +{ +uint8_t x_540; +x_540 = !lean_is_exclusive(x_539); +if (x_540 == 0) +{ +lean_object* x_541; lean_object* x_542; lean_object* x_543; +x_541 = lean_ctor_get(x_539, 0); +x_542 = lean_ctor_get(x_539, 1); +x_543 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_541, x_3, x_4, x_5, x_6, x_7, x_9, x_542); +if (lean_obj_tag(x_543) == 0) +{ +uint8_t x_544; +x_544 = !lean_is_exclusive(x_543); +if (x_544 == 0) +{ +lean_object* x_545; +x_545 = lean_array_push(x_8, x_543); +lean_ctor_set(x_539, 1, x_10); +lean_ctor_set(x_539, 0, x_545); +return x_539; +} +else +{ +lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; +x_546 = lean_ctor_get(x_543, 0); +x_547 = lean_ctor_get(x_543, 1); +lean_inc(x_547); +lean_inc(x_546); +lean_dec(x_543); +x_548 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_548, 0, x_546); +lean_ctor_set(x_548, 1, x_547); +x_549 = lean_array_push(x_8, x_548); +lean_ctor_set(x_539, 1, x_10); +lean_ctor_set(x_539, 0, x_549); +return x_539; +} +} +else +{ +lean_object* x_550; +x_550 = lean_ctor_get(x_543, 0); +lean_inc(x_550); +if (lean_obj_tag(x_550) == 0) +{ +lean_object* x_551; +x_551 = lean_ctor_get(x_550, 0); +lean_inc(x_551); +if (lean_obj_tag(x_551) == 0) +{ +uint8_t x_552; +lean_dec(x_550); +x_552 = !lean_is_exclusive(x_543); +if (x_552 == 0) +{ +lean_object* x_553; lean_object* x_554; lean_object* x_555; +x_553 = lean_ctor_get(x_543, 0); +lean_dec(x_553); +x_554 = lean_ctor_get(x_551, 0); +lean_inc(x_554); +lean_dec(x_551); +lean_ctor_set(x_543, 0, x_554); +x_555 = lean_array_push(x_8, x_543); +lean_ctor_set(x_539, 1, x_10); +lean_ctor_set(x_539, 0, x_555); +return x_539; +} +else +{ +lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; +x_556 = lean_ctor_get(x_543, 1); +lean_inc(x_556); +lean_dec(x_543); +x_557 = lean_ctor_get(x_551, 0); +lean_inc(x_557); +lean_dec(x_551); +x_558 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_558, 0, x_557); +lean_ctor_set(x_558, 1, x_556); +x_559 = lean_array_push(x_8, x_558); +lean_ctor_set(x_539, 1, x_10); +lean_ctor_set(x_539, 0, x_559); +return x_539; +} +} +else +{ +uint8_t x_560; +lean_free_object(x_539); +lean_dec(x_10); +lean_dec(x_8); +x_560 = !lean_is_exclusive(x_543); +if (x_560 == 0) +{ +lean_object* x_561; +x_561 = lean_ctor_get(x_543, 0); +lean_dec(x_561); +return x_543; +} +else +{ +lean_object* x_562; lean_object* x_563; +x_562 = lean_ctor_get(x_543, 1); +lean_inc(x_562); +lean_dec(x_543); +x_563 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_563, 0, x_550); +lean_ctor_set(x_563, 1, x_562); +return x_563; +} +} +} +else +{ +uint8_t x_564; +lean_free_object(x_539); +lean_dec(x_8); +x_564 = !lean_is_exclusive(x_543); +if (x_564 == 0) +{ +lean_object* x_565; lean_object* x_566; +x_565 = lean_ctor_get(x_543, 1); +lean_dec(x_565); +x_566 = lean_ctor_get(x_543, 0); +lean_dec(x_566); +lean_ctor_set(x_543, 1, x_10); +return x_543; +} +else +{ +lean_object* x_567; +lean_dec(x_543); +x_567 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_567, 0, x_550); +lean_ctor_set(x_567, 1, x_10); +return x_567; +} +} +} +} +else +{ +lean_object* x_568; lean_object* x_569; lean_object* x_570; +x_568 = lean_ctor_get(x_539, 0); +x_569 = lean_ctor_get(x_539, 1); +lean_inc(x_569); +lean_inc(x_568); +lean_dec(x_539); +x_570 = l___private_Init_Lean_Elab_App_20__elabAppLVals(x_1, x_568, x_3, x_4, x_5, x_6, x_7, x_9, x_569); +if (lean_obj_tag(x_570) == 0) +{ +lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; +x_571 = lean_ctor_get(x_570, 0); +lean_inc(x_571); +x_572 = lean_ctor_get(x_570, 1); +lean_inc(x_572); +if (lean_is_exclusive(x_570)) { + lean_ctor_release(x_570, 0); + lean_ctor_release(x_570, 1); + x_573 = x_570; +} else { + lean_dec_ref(x_570); + x_573 = lean_box(0); +} +if (lean_is_scalar(x_573)) { + x_574 = lean_alloc_ctor(0, 2, 0); +} else { + x_574 = x_573; +} +lean_ctor_set(x_574, 0, x_571); +lean_ctor_set(x_574, 1, x_572); +x_575 = lean_array_push(x_8, x_574); +x_576 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_576, 0, x_575); +lean_ctor_set(x_576, 1, x_10); +return x_576; +} +else +{ +lean_object* x_577; +x_577 = lean_ctor_get(x_570, 0); +lean_inc(x_577); +if (lean_obj_tag(x_577) == 0) +{ +lean_object* x_578; +x_578 = lean_ctor_get(x_577, 0); +lean_inc(x_578); +if (lean_obj_tag(x_578) == 0) +{ +lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; +lean_dec(x_577); +x_579 = lean_ctor_get(x_570, 1); +lean_inc(x_579); +if (lean_is_exclusive(x_570)) { + lean_ctor_release(x_570, 0); + lean_ctor_release(x_570, 1); + x_580 = x_570; +} else { + lean_dec_ref(x_570); + x_580 = lean_box(0); +} +x_581 = lean_ctor_get(x_578, 0); +lean_inc(x_581); +lean_dec(x_578); +if (lean_is_scalar(x_580)) { + x_582 = lean_alloc_ctor(1, 2, 0); +} else { + x_582 = x_580; +} +lean_ctor_set(x_582, 0, x_581); +lean_ctor_set(x_582, 1, x_579); +x_583 = lean_array_push(x_8, x_582); +x_584 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_584, 0, x_583); +lean_ctor_set(x_584, 1, x_10); +return x_584; +} +else +{ +lean_object* x_585; lean_object* x_586; lean_object* x_587; +lean_dec(x_10); +lean_dec(x_8); +x_585 = lean_ctor_get(x_570, 1); +lean_inc(x_585); +if (lean_is_exclusive(x_570)) { + lean_ctor_release(x_570, 0); + lean_ctor_release(x_570, 1); + x_586 = x_570; +} else { + lean_dec_ref(x_570); + x_586 = lean_box(0); +} +if (lean_is_scalar(x_586)) { + x_587 = lean_alloc_ctor(1, 2, 0); +} else { + x_587 = x_586; +} +lean_ctor_set(x_587, 0, x_577); +lean_ctor_set(x_587, 1, x_585); +return x_587; +} +} +else +{ +lean_object* x_588; lean_object* x_589; +lean_dec(x_8); +if (lean_is_exclusive(x_570)) { + lean_ctor_release(x_570, 0); + lean_ctor_release(x_570, 1); + x_588 = x_570; +} else { + lean_dec_ref(x_570); + x_588 = lean_box(0); +} +if (lean_is_scalar(x_588)) { + x_589 = lean_alloc_ctor(1, 2, 0); +} else { + x_589 = x_588; +} +lean_ctor_set(x_589, 0, x_577); +lean_ctor_set(x_589, 1, x_10); +return x_589; +} +} +} +} +else +{ +lean_object* x_590; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_590 = lean_ctor_get(x_539, 0); +lean_inc(x_590); +if (lean_obj_tag(x_590) == 0) +{ +lean_object* x_591; +x_591 = lean_ctor_get(x_590, 0); +lean_inc(x_591); +if (lean_obj_tag(x_591) == 0) +{ +uint8_t x_592; +lean_dec(x_590); +x_592 = !lean_is_exclusive(x_539); +if (x_592 == 0) +{ +lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; +x_593 = lean_ctor_get(x_539, 0); +lean_dec(x_593); +x_594 = lean_ctor_get(x_591, 0); +lean_inc(x_594); +lean_dec(x_591); +lean_ctor_set(x_539, 0, x_594); +x_595 = lean_array_push(x_8, x_539); +x_596 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_596, 0, x_595); +lean_ctor_set(x_596, 1, x_10); +return x_596; +} +else +{ +lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; +x_597 = lean_ctor_get(x_539, 1); +lean_inc(x_597); +lean_dec(x_539); +x_598 = lean_ctor_get(x_591, 0); +lean_inc(x_598); +lean_dec(x_591); +x_599 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_599, 0, x_598); +lean_ctor_set(x_599, 1, x_597); +x_600 = lean_array_push(x_8, x_599); +x_601 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_601, 0, x_600); +lean_ctor_set(x_601, 1, x_10); +return x_601; +} +} +else +{ +uint8_t x_602; +lean_dec(x_10); +lean_dec(x_8); +x_602 = !lean_is_exclusive(x_539); +if (x_602 == 0) +{ +lean_object* x_603; +x_603 = lean_ctor_get(x_539, 0); +lean_dec(x_603); +return x_539; +} +else +{ +lean_object* x_604; lean_object* x_605; +x_604 = lean_ctor_get(x_539, 1); +lean_inc(x_604); +lean_dec(x_539); +x_605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_605, 0, x_590); +lean_ctor_set(x_605, 1, x_604); +return x_605; +} +} +} +else +{ +uint8_t x_606; +lean_dec(x_8); +x_606 = !lean_is_exclusive(x_539); +if (x_606 == 0) +{ +lean_object* x_607; lean_object* x_608; +x_607 = lean_ctor_get(x_539, 1); +lean_dec(x_607); +x_608 = lean_ctor_get(x_539, 0); +lean_dec(x_608); +lean_ctor_set(x_539, 1, x_10); +return x_539; +} +else +{ +lean_object* x_609; +lean_dec(x_539); +x_609 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_609, 0, x_590); +lean_ctor_set(x_609, 1, x_10); +return x_609; +} +} +} +} +else +{ +lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; +x_610 = l_Lean_Syntax_getId(x_530); +lean_dec(x_530); +x_611 = l_Lean_Name_components(x_610); +x_612 = l_List_map___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__1(x_611); +x_613 = lean_unsigned_to_nat(0u); +x_614 = l_Lean_Syntax_getArg(x_2, x_613); +lean_dec(x_2); +x_615 = l_List_append___rarg(x_612, x_3); +x_2 = x_614; +x_3 = x_615; +goto _start; +} +} +else +{ +lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; +x_617 = l_Lean_fieldIdxKind; +x_618 = l_Lean_Syntax_isNatLitAux(x_617, x_530); +lean_dec(x_530); +x_619 = lean_unsigned_to_nat(0u); +x_620 = l_Lean_Syntax_getArg(x_2, x_619); +lean_dec(x_2); +if (lean_obj_tag(x_618) == 0) +{ +lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; +x_621 = l_Nat_Inhabited; +x_622 = l_Option_get_x21___rarg___closed__3; +x_623 = lean_panic_fn(x_621, x_622); +x_624 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_624, 0, x_623); +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_624); +lean_ctor_set(x_625, 1, x_3); +x_2 = x_620; +x_3 = x_625; +goto _start; +} +else +{ +lean_object* x_627; lean_object* x_628; lean_object* x_629; +x_627 = lean_ctor_get(x_618, 0); +lean_inc(x_627); +lean_dec(x_618); +x_628 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_628, 0, x_627); +x_629 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_629, 0, x_628); +lean_ctor_set(x_629, 1, x_3); +x_2 = x_620; +x_3 = x_629; +goto _start; } } } } } +else +{ +lean_object* x_639; lean_object* x_640; lean_object* x_641; +x_639 = l_Lean_Syntax_getArgs(x_2); +x_640 = lean_unsigned_to_nat(0u); +x_641 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_639, x_640, x_8, x_9, x_10); +lean_dec(x_639); +lean_dec(x_2); +return x_641; } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +} +else +{ +lean_object* x_642; lean_object* x_643; +x_642 = lean_box(0); +x_643 = l___private_Init_Lean_Elab_App_21__elabAppFnId(x_1, x_2, x_642, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_643; +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_7); lean_dec(x_7); -x_14 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_21__elabAppFn___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_22__elabAppFn___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12); lean_dec(x_8); lean_dec(x_2); return x_14; } } -lean_object* l___private_Init_Lean_Elab_App_21__elabAppFn___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Init_Lean_Elab_App_22__elabAppFn___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_7); lean_dec(x_7); -x_12 = l___private_Init_Lean_Elab_App_21__elabAppFn___main(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); +x_12 = l___private_Init_Lean_Elab_App_22__elabAppFn___main(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); return x_12; } } -lean_object* l___private_Init_Lean_Elab_App_21__elabAppFn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Init_Lean_Elab_App_22__elabAppFn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l___private_Init_Lean_Elab_App_21__elabAppFn___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Init_Lean_Elab_App_22__elabAppFn___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_11; } } -lean_object* l___private_Init_Lean_Elab_App_21__elabAppFn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l___private_Init_Lean_Elab_App_22__elabAppFn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_7); lean_dec(x_7); -x_12 = l___private_Init_Lean_Elab_App_21__elabAppFn(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); +x_12 = l___private_Init_Lean_Elab_App_22__elabAppFn(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); return x_12; } } -lean_object* l_Array_filterAux___main___at___private_Init_Lean_Elab_App_22__getSuccess___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_filterAux___main___at___private_Init_Lean_Elab_App_23__getSuccess___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -11351,16 +16926,16 @@ goto _start; } } } -lean_object* l___private_Init_Lean_Elab_App_22__getSuccess(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_App_23__getSuccess(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_filterAux___main___at___private_Init_Lean_Elab_App_22__getSuccess___spec__1(x_1, x_2, x_2); +x_3 = l_Array_filterAux___main___at___private_Init_Lean_Elab_App_23__getSuccess___spec__1(x_1, x_2, x_2); return x_3; } } -lean_object* l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_23__toMessageData___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_24__toMessageData___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -11387,7 +16962,7 @@ return x_11; } } } -lean_object* _init_l___private_Init_Lean_Elab_App_23__toMessageData___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_App_24__toMessageData___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -11397,17 +16972,17 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_23__toMessageData___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_App_24__toMessageData___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_23__toMessageData___closed__1; +x_1 = l___private_Init_Lean_Elab_App_24__toMessageData___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_23__toMessageData(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_App_24__toMessageData(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -11419,7 +16994,7 @@ lean_inc(x_7); lean_dec(x_5); x_8 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_8, 0, x_6); -x_9 = l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_23__toMessageData___spec__1(x_8, x_3, x_7); +x_9 = l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_24__toMessageData___spec__1(x_8, x_3, x_7); lean_dec(x_8); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) @@ -11440,7 +17015,7 @@ x_16 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_16, 0, x_15); x_17 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_17, 0, x_16); -x_18 = l___private_Init_Lean_Elab_App_23__toMessageData___closed__2; +x_18 = l___private_Init_Lean_Elab_App_24__toMessageData___closed__2; x_19 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -11501,7 +17076,7 @@ x_36 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_36, 0, x_35); x_37 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_37, 0, x_36); -x_38 = l___private_Init_Lean_Elab_App_23__toMessageData___closed__2; +x_38 = l___private_Init_Lean_Elab_App_24__toMessageData___closed__2; x_39 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); @@ -11546,27 +17121,27 @@ return x_51; } } } -lean_object* l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_23__toMessageData___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_24__toMessageData___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_23__toMessageData___spec__1(x_1, x_2, x_3); +x_4 = l_Lean_Elab_getPosition___at___private_Init_Lean_Elab_App_24__toMessageData___spec__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Elab_App_23__toMessageData___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_App_24__toMessageData___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_Elab_App_23__toMessageData(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_App_24__toMessageData(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* _init_l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1___closed__1() { +lean_object* _init_l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1___closed__1() { _start: { lean_object* x_1; @@ -11575,7 +17150,7 @@ lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -11604,7 +17179,7 @@ x_14 = lean_array_fset(x_3, x_2, x_13); if (lean_obj_tag(x_11) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1___closed__1; +x_15 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1___closed__1; x_16 = l_unreachable_x21___rarg(x_15); lean_inc(x_4); x_17 = lean_apply_2(x_16, x_4, x_5); @@ -11659,7 +17234,7 @@ else lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_29 = lean_ctor_get(x_11, 0); lean_inc(x_29); -x_30 = l___private_Init_Lean_Elab_App_23__toMessageData(x_29, x_1, x_4, x_5); +x_30 = l___private_Init_Lean_Elab_App_24__toMessageData(x_29, x_1, x_4, x_5); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); @@ -11679,7 +17254,7 @@ goto _start; } } } -lean_object* _init_l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__1() { _start: { lean_object* x_1; @@ -11687,33 +17262,33 @@ x_1 = lean_mk_string("overloaded, errors "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__1; +x_1 = l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__2; +x_1 = l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_App_25__mergeFailures___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; x_5 = lean_unsigned_to_nat(0u); lean_inc(x_3); -x_6 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1(x_2, x_5, x_1, x_3, x_4); +x_6 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1(x_2, x_5, x_1, x_3, x_4); if (lean_obj_tag(x_6) == 0) { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -11724,7 +17299,7 @@ lean_inc(x_8); lean_dec(x_6); x_9 = l_Lean_MessageData_ofArray(x_7); lean_dec(x_7); -x_10 = l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__3; +x_10 = l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__3; x_11 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -11756,33 +17331,33 @@ return x_16; } } } -lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_App_25__mergeFailures(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___boxed), 4, 0); return x_2; } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___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_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1___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_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } } -lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___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_Elab_App_24__mergeFailures___rarg(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_App_25__mergeFailures___rarg(x_1, x_2, x_3, x_4); lean_dec(x_2); return x_5; } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__elabAppAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_26__elabAppAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -11859,7 +17434,7 @@ goto _start; } } } -lean_object* _init_l___private_Init_Lean_Elab_App_25__elabAppAux___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_App_26__elabAppAux___closed__1() { _start: { lean_object* x_1; @@ -11867,27 +17442,27 @@ x_1 = lean_mk_string("ambiguous, possible interpretations "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_App_25__elabAppAux___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_App_26__elabAppAux___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_25__elabAppAux___closed__1; +x_1 = l___private_Init_Lean_Elab_App_26__elabAppAux___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_App_25__elabAppAux___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_App_26__elabAppAux___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_App_25__elabAppAux___closed__2; +x_1 = l___private_Init_Lean_Elab_App_26__elabAppAux___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_25__elabAppAux(lean_object* x_1, lean_object* 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_Elab_App_26__elabAppAux(lean_object* x_1, 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; lean_object* x_10; lean_object* x_11; @@ -11896,7 +17471,7 @@ x_9 = 0; x_10 = l_Array_empty___closed__1; lean_inc(x_6); lean_inc(x_2); -x_11 = l___private_Init_Lean_Elab_App_21__elabAppFn___main(x_1, x_2, x_8, x_3, x_4, x_5, x_9, x_10, x_6, x_7); +x_11 = l___private_Init_Lean_Elab_App_22__elabAppFn___main(x_1, x_2, x_8, x_3, x_4, x_5, x_9, x_10, x_6, x_7); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -11914,7 +17489,7 @@ if (x_16 == 0) lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; x_17 = lean_unsigned_to_nat(0u); lean_inc(x_12); -x_18 = l_Array_filterAux___main___at___private_Init_Lean_Elab_App_22__getSuccess___spec__1(x_12, x_17, x_17); +x_18 = l_Array_filterAux___main___at___private_Init_Lean_Elab_App_23__getSuccess___spec__1(x_12, x_17, x_17); x_19 = lean_array_get_size(x_18); x_20 = lean_nat_dec_eq(x_19, x_15); if (x_20 == 0) @@ -11926,7 +17501,7 @@ if (x_21 == 0) { lean_object* x_22; lean_dec(x_18); -x_22 = l___private_Init_Lean_Elab_App_24__mergeFailures___rarg(x_12, x_2, x_6, x_13); +x_22 = l___private_Init_Lean_Elab_App_25__mergeFailures___rarg(x_12, x_2, x_6, x_13); lean_dec(x_2); return x_22; } @@ -11946,10 +17521,10 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__elabAppAux___spec__1(x_24, x_27, x_17, x_18); +x_29 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_26__elabAppAux___spec__1(x_24, x_27, x_17, x_18); x_30 = l_Lean_MessageData_ofArray(x_29); lean_dec(x_29); -x_31 = l___private_Init_Lean_Elab_App_25__elabAppAux___closed__3; +x_31 = l___private_Init_Lean_Elab_App_26__elabAppAux___closed__3; x_32 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -12013,7 +17588,7 @@ return x_44; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_26__expandApp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_27__expandApp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -12205,7 +17780,7 @@ return x_59; } } } -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_26__expandApp___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_27__expandApp___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -12215,15 +17790,15 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_26__expandApp___spec__2(lean_object* x_1) { +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_27__expandApp___spec__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_App_26__expandApp___spec__2___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_App_27__expandApp___spec__2___rarg___boxed), 3, 0); return x_2; } } -lean_object* l___private_Init_Lean_Elab_App_26__expandApp(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_App_27__expandApp(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -12234,7 +17809,7 @@ x_7 = l_Lean_Syntax_getArg(x_1, x_6); x_8 = l_Lean_Syntax_getArgs(x_7); lean_dec(x_7); x_9 = l___private_Init_Lean_Meta_Tactic_Apply_5__reorderNonDependentFirst___closed__1; -x_10 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_26__expandApp___spec__1(x_1, x_8, x_4, x_9, x_2, x_3); +x_10 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_27__expandApp___spec__1(x_1, x_8, x_4, x_9, x_2, x_3); lean_dec(x_8); if (lean_obj_tag(x_10) == 0) { @@ -12292,30 +17867,30 @@ return x_21; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_26__expandApp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_27__expandApp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_26__expandApp___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_App_27__expandApp___spec__1(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_ReaderT_pure___at___private_Init_Lean_Elab_App_26__expandApp___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_27__expandApp___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_ReaderT_pure___at___private_Init_Lean_Elab_App_26__expandApp___spec__2___rarg(x_1, x_2, x_3); +x_4 = l_ReaderT_pure___at___private_Init_Lean_Elab_App_27__expandApp___spec__2___rarg(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l___private_Init_Lean_Elab_App_26__expandApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_App_27__expandApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_App_26__expandApp(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Elab_App_27__expandApp(x_1, x_2, x_3); lean_dec(x_1); return x_4; } @@ -12325,7 +17900,7 @@ _start: { lean_object* x_5; lean_inc(x_3); -x_5 = l___private_Init_Lean_Elab_App_26__expandApp(x_1, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_App_27__expandApp(x_1, x_3, x_4); if (lean_obj_tag(x_5) == 0) { 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; @@ -12344,7 +17919,7 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_7, 1); lean_inc(x_11); lean_dec(x_7); -x_12 = l___private_Init_Lean_Elab_App_25__elabAppAux(x_1, x_9, x_10, x_11, x_2, x_3, x_8); +x_12 = l___private_Init_Lean_Elab_App_26__elabAppAux(x_1, x_9, x_10, x_11, x_2, x_3, x_8); return x_12; } else @@ -12417,7 +17992,7 @@ _start: lean_object* x_5; lean_object* x_6; x_5 = l_Array_empty___closed__1; lean_inc(x_1); -x_6 = l___private_Init_Lean_Elab_App_25__elabAppAux(x_1, x_1, x_5, x_5, x_2, x_3, x_4); +x_6 = l___private_Init_Lean_Elab_App_26__elabAppAux(x_1, x_1, x_5, x_5, x_2, x_3, x_4); return x_6; } } @@ -12691,6 +18266,90 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Lean_Elab_Term_elabFun(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 = 0; +lean_inc(x_3); +lean_inc(x_1); +x_6 = l_Lean_Elab_Term_elabFunCore(x_1, x_2, x_5, x_3, x_4); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_box(0); +x_10 = l_Array_empty___closed__1; +x_11 = l___private_Init_Lean_Elab_App_12__elabAppArgs(x_1, x_7, x_10, x_10, x_9, x_5, x_3, x_8); +return x_11; +} +else +{ +uint8_t x_12; +lean_dec(x_3); +lean_dec(x_1); +x_12 = !lean_is_exclusive(x_6); +if (x_12 == 0) +{ +return x_6; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_6, 0); +x_14 = lean_ctor_get(x_6, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_6); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabFun"); +return x_1; +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; +x_2 = l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabFun), 4, 0); +return x_1; +} +} +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2; +x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3; +x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* l_Lean_Elab_Term_elabSortApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -12835,21 +18494,11 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* _init_l___private_Init_Lean_Elab_App_27__regTraceClasses___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; -x_2 = l_Lean_mkAppStx___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Init_Lean_Elab_App_27__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_App_28__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_Elab_App_27__regTraceClasses___closed__1; +x_2 = l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -12902,6 +18551,7 @@ return x_13; } } lean_object* initialize_Init_Lean_Elab_Term(lean_object*); +lean_object* initialize_Init_Lean_Elab_Binders(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Lean_Elab_App(lean_object* w) { lean_object * res; @@ -12910,6 +18560,9 @@ _G_initialized = true; res = initialize_Init_Lean_Elab_Term(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Lean_Elab_Binders(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Term_Arg_inhabited___closed__1 = _init_l_Lean_Elab_Term_Arg_inhabited___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Arg_inhabited___closed__1); l_Lean_Elab_Term_Arg_inhabited = _init_l_Lean_Elab_Term_Arg_inhabited(); @@ -12944,136 +18597,164 @@ l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__6 = _init_l___private_Init lean_mark_persistent(l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__6); l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__7 = _init_l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__7(); lean_mark_persistent(l___private_Init_Lean_Elab_App_4__tryCoeFun___closed__7); -l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__1); -l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__2); -l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__3 = _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__3); -l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__4 = _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__4); -l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__5 = _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__5); -l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__6 = _init_l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_10__elabAppArgsAux___main___closed__6); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__1 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__1); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__2 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__2); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__3 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__3); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__4 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__4); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__5 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__5); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__6 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__6); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__7 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__7); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__8 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__8); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__9 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__9); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__10 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__10(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__10); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__11 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__11(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__11); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__12 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__12(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__12); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__13 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__13(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__13); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__14 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__14(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__14); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__15 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__15(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__15); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__16 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__16(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__16); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__17 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__17(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__17); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__18 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__18(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__18); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__19 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__19(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__19); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__20 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__20(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__20); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__21); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__22 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__22(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__22); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__23 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__23(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__23); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__24); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__25 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__25(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__25); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__26 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__26(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__26); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__27 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__27(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__27); -l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__28 = _init_l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__28(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__28); -l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__1 = _init_l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__1(); -lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__1); -l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2 = _init_l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2(); -lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Elab_App_16__mkBaseProjections___spec__1___closed__2); -l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__1 = _init_l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__1); -l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__2 = _init_l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__2); -l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__3 = _init_l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_16__mkBaseProjections___closed__3); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__1 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__1); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__2 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__2); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__3 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__3); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__4 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__4); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__5 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__5); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__6 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__6); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__7 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__7); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__8 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__8); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__9 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__9); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__10 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__10(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__10); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__11 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__11(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__11); -l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__12 = _init_l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__12(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__12); -l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__1); -l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_18__elabAppLValsAux___main___closed__2); -l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__1 = _init_l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__1); -l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__2 = _init_l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__2); -l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__3 = _init_l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_19__elabAppLVals___closed__3); -l___private_Init_Lean_Elab_App_23__toMessageData___closed__1 = _init_l___private_Init_Lean_Elab_App_23__toMessageData___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_23__toMessageData___closed__1); -l___private_Init_Lean_Elab_App_23__toMessageData___closed__2 = _init_l___private_Init_Lean_Elab_App_23__toMessageData___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_23__toMessageData___closed__2); -l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1___closed__1 = _init_l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1___closed__1(); -lean_mark_persistent(l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_24__mergeFailures___spec__1___closed__1); -l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__1 = _init_l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__1); -l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__2 = _init_l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__2); -l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__3 = _init_l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__3); -l___private_Init_Lean_Elab_App_25__elabAppAux___closed__1 = _init_l___private_Init_Lean_Elab_App_25__elabAppAux___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_25__elabAppAux___closed__1); -l___private_Init_Lean_Elab_App_25__elabAppAux___closed__2 = _init_l___private_Init_Lean_Elab_App_25__elabAppAux___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_25__elabAppAux___closed__2); -l___private_Init_Lean_Elab_App_25__elabAppAux___closed__3 = _init_l___private_Init_Lean_Elab_App_25__elabAppAux___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_25__elabAppAux___closed__3); +l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__1); +l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__2); +l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3 = _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__3); +l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__4 = _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__4); +l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__5 = _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__5); +l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6 = _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__6); +l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__7 = _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__7); +l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__8 = _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__8(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__8); +l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9 = _init_l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_11__elabAppArgsAux___main___closed__9); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__1 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__1); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__2 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__2); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__3 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__3); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__4 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__4); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__5 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__5); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__6 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__6); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__7 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__7); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__8 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__8(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__8); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__9 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__9); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__10 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__10(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__10); +l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__11 = _init_l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__11(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_12__elabAppArgs___closed__11); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__1 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__1); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__2 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__2); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__3 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__3); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__4 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__4); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__5 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__5); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__6 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__6); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__7 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__7); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__8 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__8(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__8); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__9 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__9); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__10 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__10(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__10); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__11 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__11(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__11); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__12 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__12(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__12); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__13 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__13(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__13); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__14 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__14(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__14); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__15 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__15(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__15); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__16 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__16(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__16); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__17 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__17(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__17); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__18 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__18(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__18); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__19 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__19(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__19); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__20 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__20(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__20); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__21); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__22 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__22(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__22); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__23 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__23(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__23); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__24); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__25 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__25(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__25); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__26 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__26(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__26); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__27 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__27(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__27); +l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__28 = _init_l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__28(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_14__resolveLValAux___closed__28); +l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__1 = _init_l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__1(); +lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__1); +l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2 = _init_l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2(); +lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Elab_App_17__mkBaseProjections___spec__1___closed__2); +l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__1 = _init_l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__1); +l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__2 = _init_l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__2); +l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__3 = _init_l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_17__mkBaseProjections___closed__3); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__1 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__1); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__2 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__2); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__3 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__3); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__4 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__4); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__5 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__5); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__6 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__6); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__7 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__7); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__8 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__8(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__8); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__9 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__9); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__10 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__10(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__10); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__11 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__11(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__11); +l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__12 = _init_l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__12(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_18__addLValArg___main___closed__12); +l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__1); +l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_19__elabAppLValsAux___main___closed__2); +l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__1 = _init_l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__1); +l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__2 = _init_l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__2); +l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__3 = _init_l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_20__elabAppLVals___closed__3); +l___private_Init_Lean_Elab_App_24__toMessageData___closed__1 = _init_l___private_Init_Lean_Elab_App_24__toMessageData___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_24__toMessageData___closed__1); +l___private_Init_Lean_Elab_App_24__toMessageData___closed__2 = _init_l___private_Init_Lean_Elab_App_24__toMessageData___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_24__toMessageData___closed__2); +l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1___closed__1 = _init_l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1___closed__1(); +lean_mark_persistent(l_Array_umapMAux___main___at___private_Init_Lean_Elab_App_25__mergeFailures___spec__1___closed__1); +l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__1 = _init_l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__1); +l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__2 = _init_l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__2); +l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__3 = _init_l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_25__mergeFailures___rarg___closed__3); +l___private_Init_Lean_Elab_App_26__elabAppAux___closed__1 = _init_l___private_Init_Lean_Elab_App_26__elabAppAux___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_26__elabAppAux___closed__1); +l___private_Init_Lean_Elab_App_26__elabAppAux___closed__2 = _init_l___private_Init_Lean_Elab_App_26__elabAppAux___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_26__elabAppAux___closed__2); +l___private_Init_Lean_Elab_App_26__elabAppAux___closed__3 = _init_l___private_Init_Lean_Elab_App_26__elabAppAux___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_App_26__elabAppAux___closed__3); l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__2(); @@ -13137,6 +18818,15 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabRawIdent___closed res = l___regBuiltinTermElab_Lean_Elab_Term_elabRawIdent(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1); +l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2); +l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3); +res = l___regBuiltinTermElab_Lean_Elab_Term_elabFun(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__2(); @@ -13146,9 +18836,7 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed_ res = l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Init_Lean_Elab_App_27__regTraceClasses___closed__1 = _init_l___private_Init_Lean_Elab_App_27__regTraceClasses___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_App_27__regTraceClasses___closed__1); -res = l___private_Init_Lean_Elab_App_27__regTraceClasses(lean_io_mk_world()); +res = l___private_Init_Lean_Elab_App_28__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/Elab/Binders.c b/stage0/stdlib/Init/Lean/Elab/Binders.c index ca3884c9ba..158c0e1bee 100644 --- a/stage0/stdlib/Init/Lean/Elab/Binders.c +++ b/stage0/stdlib/Init/Lean/Elab/Binders.c @@ -16,6 +16,7 @@ extern "C" { lean_object* l___private_Init_Lean_Elab_Binders_4__expandBinderModifier___closed__6; lean_object* l_Lean_Elab_Term_elabBinder___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders(lean_object*); +lean_object* l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_2__expandBinderIdent___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDecl(lean_object*, lean_object*, lean_object*, lean_object*); @@ -27,35 +28,37 @@ lean_object* l___private_Init_Lean_Elab_Binders_2__expandBinderIdent(lean_object lean_object* l_Lean_Elab_Term_elabDepArrow(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrow___closed__1; lean_object* l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1; extern lean_object* l_Lean_List_format___rarg___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabFunCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__8; lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_1__expandBinderType___boxed(lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_6__elabBinderViews___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinder___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabFun(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__2; extern lean_object* l_Lean_identKind___closed__2; -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2; lean_object* l_Lean_Elab_Term_elabForall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__1; extern lean_object* l_Prod_HasRepr___rarg___closed__1; extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__3; +lean_object* l_Lean_Elab_Term_expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; +lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_4__expandBinderModifier___closed__3; +lean_object* l___private_Init_Lean_Elab_Binders_11__propagateExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabFunBinders___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabForall(lean_object*); lean_object* l_Lean_Elab_Term_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); extern lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__2; extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__2; -lean_object* l___private_Init_Lean_Elab_Binders_11__expandFunBinders(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Elab_Term_withLetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*); @@ -76,11 +79,12 @@ lean_object* l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main__ lean_object* l_Lean_Elab_Term_getOptions(lean_object*, lean_object*); extern lean_object* l_Lean_mkTermIdFromIdent___closed__2; lean_object* l_Lean_Syntax_isSimpleTermId_x3f(lean_object*, uint8_t); +extern uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; lean_object* l___private_Init_Lean_Elab_Binders_4__expandBinderModifier___closed__4; +lean_object* l_Lean_Elab_Term_elabFunCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl(lean_object*); +lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___elambda__1___closed__1; -extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3; lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; extern lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__2; @@ -97,21 +101,20 @@ lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Binders_5__ma lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__1; extern lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDecl___closed__9; lean_object* l_Lean_Elab_Term_elabForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDecl___closed__4; -lean_object* l___private_Init_Lean_Elab_Binders_12__regTraceClasses(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabFunCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Binders_13__regTraceClasses(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDepArrow___closed__3; -lean_object* l_Lean_Elab_Term_elabFun___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_6__elabBinderViews(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__6; lean_object* l___private_Init_Lean_Elab_Binders_6__elabBinderViews___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__2; -lean_object* l_Lean_Elab_Term_elabFun___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_4__expandBinderModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_6__elabBinderViews___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; @@ -124,13 +127,11 @@ lean_object* l_Lean_Elab_Term_elabForall___lambda__1(lean_object*, lean_object*, lean_object* l___private_Init_Lean_Elab_Binders_4__expandBinderModifier___closed__2; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_4__expandBinderModifier___closed__1; -lean_object* l___private_Init_Lean_Elab_Binders_11__expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabFunBinders(lean_object*); extern lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDepArrow(lean_object*); -extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabBinder___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*); @@ -156,13 +157,16 @@ lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___boxed(lean_object*, l lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_5__matchBinder(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Binders_11__propagateExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Meta_Tactic_Apply_3__throwApplyError___rarg___closed__6; lean_object* l_Lean_Elab_Term_expandOptType___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; lean_object* l___private_Init_Lean_Elab_Binders_7__elabBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDepArrow___closed__1; +lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrow___closed__3; lean_object* l___private_Init_Lean_Elab_Binders_3__expandOptIdent___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__3; lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___spec__1(lean_object*, lean_object*, lean_object*); @@ -173,12 +177,13 @@ extern lean_object* l_Lean_Syntax_inhabited; lean_object* l_Lean_Elab_Term_elabArrow(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; extern lean_object* l_Lean_mkAppStx___closed__5; -lean_object* l_Lean_Elab_Term_elabFun___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabForall___closed__3; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_mkHole(lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_9__getFunBinderIds_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabFunBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__1; lean_object* l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__7; lean_object* l_Lean_Elab_Term_elabLetIdDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -202,11 +207,14 @@ lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Binders_5__ma lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_4__expandBinderModifier___closed__7; lean_object* l_Lean_Elab_Term_elabLetDecl___closed__8; +lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__3; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__7; extern lean_object* l_Lean_Parser_Term_letIdDecl___closed__2; +lean_object* l_Lean_Elab_Term_expandFunBinders(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_5__matchBinder___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetIdDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Term_resetSynthInstanceCache___rarg(lean_object*); @@ -229,7 +237,9 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__3; extern lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__3; extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; lean_object* l_Lean_Elab_Term_elabForall(lean_object*, lean_object*, lean_object*, lean_object*); @@ -241,6 +251,7 @@ extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabLetDecl___closed__7; extern lean_object* l_Lean_mkAppStx___closed__1; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Binders_5__matchBinder___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabFunCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_AbstractMVars_abstractExprMVars___main___closed__1; lean_object* l___private_Init_Lean_Elab_Binders_9__getFunBinderIds_x3f___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Binders_8__getFunBinderIdsAux_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -292,7 +303,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l_Lean_Elab_Term_elabParen___closed__4; +x_6 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_6 == 0) { lean_object* x_7; @@ -3198,7 +3209,7 @@ x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { uint8_t x_7; -x_7 = l_Lean_Elab_Term_elabParen___closed__4; +x_7 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_7 == 0) { lean_object* x_8; @@ -3739,7 +3750,7 @@ x_9 = l_Lean_Syntax_isOfKind(x_2, x_8); if (x_9 == 0) { uint8_t x_10; -x_10 = l_Lean_Elab_Term_elabParen___closed__4; +x_10 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_10 == 0) { uint8_t x_11; lean_object* x_12; @@ -3924,7 +3935,7 @@ x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); if (x_65 == 0) { uint8_t x_66; -x_66 = l_Lean_Elab_Term_elabParen___closed__4; +x_66 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_66 == 0) { uint8_t x_67; lean_object* x_68; @@ -16952,7 +16963,7 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Lean_Elab_Binders_11__expandFunBinders(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_expandFunBinders(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -16962,23 +16973,2817 @@ x_7 = l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main(x_1, x_2 return x_7; } } -lean_object* l___private_Init_Lean_Elab_Binders_11__expandFunBinders___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_expandFunBinders___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_Elab_Binders_11__expandFunBinders(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_Term_expandFunBinders(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_elabFun___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Binders_11__propagateExpectedType(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_6; uint8_t x_7; lean_object* x_8; -x_6 = lean_box(0); -x_7 = 1; +lean_object* x_7; +x_7 = lean_ctor_get(x_4, 4); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; +lean_dec(x_5); +lean_dec(x_3); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_4); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_4, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_4, 3); +lean_inc(x_12); +x_13 = lean_ctor_get_uint8(x_4, sizeof(void*)*5); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + lean_ctor_release(x_4, 3); + lean_ctor_release(x_4, 4); + x_14 = x_4; +} else { + lean_dec_ref(x_4); + x_14 = lean_box(0); +} +x_15 = !lean_is_exclusive(x_7); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_7, 0); +lean_inc(x_5); +x_17 = l_Lean_Elab_Term_whnfForall(x_1, x_16, x_5, x_6); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_20 = x_17; +} else { + lean_dec_ref(x_17); + x_20 = lean_box(0); +} +if (lean_obj_tag(x_18) == 7) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_20); +lean_dec(x_14); +x_26 = lean_ctor_get(x_18, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_18, 2); +lean_inc(x_27); +lean_dec(x_18); +x_28 = l_Lean_Elab_Term_isDefEq(x_1, x_3, x_26, x_5, x_19); +if (lean_obj_tag(x_28) == 0) +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +lean_dec(x_30); +x_31 = lean_expr_instantiate1(x_27, x_2); +lean_dec(x_27); +lean_ctor_set(x_7, 0, x_31); +x_32 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_32, 0, x_9); +lean_ctor_set(x_32, 1, x_10); +lean_ctor_set(x_32, 2, x_11); +lean_ctor_set(x_32, 3, x_12); +lean_ctor_set(x_32, 4, x_7); +lean_ctor_set_uint8(x_32, sizeof(void*)*5, x_13); +lean_ctor_set(x_28, 0, x_32); +return x_28; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_dec(x_28); +x_34 = lean_expr_instantiate1(x_27, x_2); +lean_dec(x_27); +lean_ctor_set(x_7, 0, x_34); +x_35 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_35, 0, x_9); +lean_ctor_set(x_35, 1, x_10); +lean_ctor_set(x_35, 2, x_11); +lean_ctor_set(x_35, 3, x_12); +lean_ctor_set(x_35, 4, x_7); +lean_ctor_set_uint8(x_35, sizeof(void*)*5, x_13); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +return x_36; +} +} +else +{ +uint8_t x_37; +lean_dec(x_27); +lean_free_object(x_7); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_37 = !lean_is_exclusive(x_28); +if (x_37 == 0) +{ +return x_28; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_28, 0); +x_39 = lean_ctor_get(x_28, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_28); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +lean_object* x_41; +lean_dec(x_18); +lean_free_object(x_7); +lean_dec(x_5); +lean_dec(x_3); +x_41 = lean_box(0); +x_21 = x_41; +goto block_25; +} +block_25: +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_21); +x_22 = lean_box(0); +if (lean_is_scalar(x_14)) { + x_23 = lean_alloc_ctor(0, 5, 1); +} else { + x_23 = x_14; +} +lean_ctor_set(x_23, 0, x_9); +lean_ctor_set(x_23, 1, x_10); +lean_ctor_set(x_23, 2, x_11); +lean_ctor_set(x_23, 3, x_12); +lean_ctor_set(x_23, 4, x_22); +lean_ctor_set_uint8(x_23, sizeof(void*)*5, x_13); +if (lean_is_scalar(x_20)) { + x_24 = lean_alloc_ctor(0, 2, 0); +} else { + x_24 = x_20; +} +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_19); +return x_24; +} +} +else +{ +uint8_t x_42; +lean_free_object(x_7); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +x_42 = !lean_is_exclusive(x_17); +if (x_42 == 0) +{ +return x_17; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_17, 0); +x_44 = lean_ctor_get(x_17, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_17); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_7, 0); +lean_inc(x_46); +lean_dec(x_7); +lean_inc(x_5); +x_47 = l_Lean_Elab_Term_whnfForall(x_1, x_46, x_5, x_6); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_50 = x_47; +} else { + lean_dec_ref(x_47); + x_50 = lean_box(0); +} +if (lean_obj_tag(x_48) == 7) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_50); +lean_dec(x_14); +x_56 = lean_ctor_get(x_48, 1); +lean_inc(x_56); +x_57 = lean_ctor_get(x_48, 2); +lean_inc(x_57); +lean_dec(x_48); +x_58 = l_Lean_Elab_Term_isDefEq(x_1, x_3, x_56, x_5, x_49); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; +} else { + lean_dec_ref(x_58); + x_60 = lean_box(0); +} +x_61 = lean_expr_instantiate1(x_57, x_2); +lean_dec(x_57); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_63, 0, x_9); +lean_ctor_set(x_63, 1, x_10); +lean_ctor_set(x_63, 2, x_11); +lean_ctor_set(x_63, 3, x_12); +lean_ctor_set(x_63, 4, x_62); +lean_ctor_set_uint8(x_63, sizeof(void*)*5, x_13); +if (lean_is_scalar(x_60)) { + x_64 = lean_alloc_ctor(0, 2, 0); +} else { + x_64 = x_60; +} +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_59); +return x_64; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_57); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_65 = lean_ctor_get(x_58, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_58, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_67 = x_58; +} else { + lean_dec_ref(x_58); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +else +{ +lean_object* x_69; +lean_dec(x_48); +lean_dec(x_5); +lean_dec(x_3); +x_69 = lean_box(0); +x_51 = x_69; +goto block_55; +} +block_55: +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_51); +x_52 = lean_box(0); +if (lean_is_scalar(x_14)) { + x_53 = lean_alloc_ctor(0, 5, 1); +} else { + x_53 = x_14; +} +lean_ctor_set(x_53, 0, x_9); +lean_ctor_set(x_53, 1, x_10); +lean_ctor_set(x_53, 2, x_11); +lean_ctor_set(x_53, 3, x_12); +lean_ctor_set(x_53, 4, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*5, x_13); +if (lean_is_scalar(x_50)) { + x_54 = lean_alloc_ctor(0, 2, 0); +} else { + x_54 = x_50; +} +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_49); +return x_54; +} +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +x_70 = lean_ctor_get(x_47, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_47, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_72 = x_47; +} else { + lean_dec_ref(x_47); + x_72 = lean_box(0); +} +if (lean_is_scalar(x_72)) { + x_73 = lean_alloc_ctor(1, 2, 0); +} else { + x_73 = x_72; +} +lean_ctor_set(x_73, 0, x_70); +lean_ctor_set(x_73, 1, x_71); +return x_73; +} +} +} +} +} +lean_object* l___private_Init_Lean_Elab_Binders_11__propagateExpectedType___boxed(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_Elab_Binders_11__propagateExpectedType(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_Elab_Binders_12__elabFunBinderViews___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_3); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = lean_array_fget(x_1, x_2); +x_10 = lean_ctor_get(x_4, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_3, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_3, 3); +lean_inc(x_12); +x_13 = lean_ctor_get(x_9, 1); +lean_inc(x_13); +x_14 = !lean_is_exclusive(x_4); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_4, 0); +lean_dec(x_15); +x_16 = !lean_is_exclusive(x_10); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_10, 2); +lean_dec(x_17); +x_18 = lean_ctor_get(x_10, 1); +lean_dec(x_18); +lean_inc(x_11); +lean_ctor_set(x_10, 2, x_12); +lean_ctor_set(x_10, 1, x_11); lean_inc(x_4); -x_8 = l_Lean_Elab_Term_elabTermAux___main(x_6, x_7, x_1, x_4, x_5); +lean_inc(x_13); +x_19 = l_Lean_Elab_Term_elabType(x_13, x_4, x_5); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_mkFreshFVarId___rarg(x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_23); +x_25 = l_Lean_mkFVar(x_23); +x_26 = lean_ctor_get(x_3, 1); +lean_inc(x_26); +lean_inc(x_25); +x_27 = lean_array_push(x_26, x_25); +x_28 = lean_ctor_get(x_9, 0); +lean_inc(x_28); +x_29 = l_Lean_Syntax_getId(x_28); +x_30 = lean_ctor_get_uint8(x_9, sizeof(void*)*2); +lean_dec(x_9); +lean_inc(x_20); +x_31 = lean_local_ctx_mk_local_decl(x_11, x_23, x_29, x_20, x_30); +lean_inc(x_4); +lean_inc(x_20); +x_32 = l___private_Init_Lean_Elab_Binders_11__propagateExpectedType(x_28, x_25, x_20, x_3, x_4, x_24); +lean_dec(x_28); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +lean_inc(x_4); +x_35 = l_Lean_Elab_Term_isClass(x_13, x_20, x_4, x_34); +lean_dec(x_13); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +lean_dec(x_25); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_unsigned_to_nat(1u); +x_39 = lean_nat_add(x_2, x_38); +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_33); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_33, 2); +lean_dec(x_41); +x_42 = lean_ctor_get(x_33, 1); +lean_dec(x_42); +lean_ctor_set(x_33, 2, x_31); +lean_ctor_set(x_33, 1, x_27); +x_2 = x_39; +x_3 = x_33; +x_5 = x_37; +goto _start; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_33, 0); +x_45 = lean_ctor_get(x_33, 3); +x_46 = lean_ctor_get(x_33, 4); +x_47 = lean_ctor_get_uint8(x_33, sizeof(void*)*5); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_33); +x_48 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_48, 0, x_44); +lean_ctor_set(x_48, 1, x_27); +lean_ctor_set(x_48, 2, x_31); +lean_ctor_set(x_48, 3, x_45); +lean_ctor_set(x_48, 4, x_46); +lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_47); +x_2 = x_39; +x_3 = x_48; +x_5 = x_37; +goto _start; +} +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_dec(x_35); +x_51 = lean_ctor_get(x_36, 0); +lean_inc(x_51); +lean_dec(x_36); +x_52 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_50); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = !lean_is_exclusive(x_33); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_55 = lean_ctor_get(x_33, 3); +x_56 = lean_ctor_get(x_33, 2); +lean_dec(x_56); +x_57 = lean_ctor_get(x_33, 1); +lean_dec(x_57); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_51); +lean_ctor_set(x_58, 1, x_25); +x_59 = lean_array_push(x_55, x_58); +x_60 = lean_unsigned_to_nat(1u); +x_61 = lean_nat_add(x_2, x_60); +lean_dec(x_2); +lean_ctor_set(x_33, 3, x_59); +lean_ctor_set(x_33, 2, x_31); +lean_ctor_set(x_33, 1, x_27); +x_2 = x_61; +x_3 = x_33; +x_5 = x_53; +goto _start; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_63 = lean_ctor_get(x_33, 0); +x_64 = lean_ctor_get(x_33, 3); +x_65 = lean_ctor_get(x_33, 4); +x_66 = lean_ctor_get_uint8(x_33, sizeof(void*)*5); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_33); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_51); +lean_ctor_set(x_67, 1, x_25); +x_68 = lean_array_push(x_64, x_67); +x_69 = lean_unsigned_to_nat(1u); +x_70 = lean_nat_add(x_2, x_69); +lean_dec(x_2); +x_71 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_71, 0, x_63); +lean_ctor_set(x_71, 1, x_27); +lean_ctor_set(x_71, 2, x_31); +lean_ctor_set(x_71, 3, x_68); +lean_ctor_set(x_71, 4, x_65); +lean_ctor_set_uint8(x_71, sizeof(void*)*5, x_66); +x_2 = x_70; +x_3 = x_71; +x_5 = x_53; +goto _start; +} +} +} +else +{ +uint8_t x_73; +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_4); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_35); +if (x_73 == 0) +{ +return x_35; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_35, 0); +x_75 = lean_ctor_get(x_35, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_35); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +uint8_t x_77; +lean_dec(x_31); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_4); +lean_dec(x_13); +lean_dec(x_2); +x_77 = !lean_is_exclusive(x_32); +if (x_77 == 0) +{ +return x_32; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_32, 0); +x_79 = lean_ctor_get(x_32, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_32); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +} +else +{ +uint8_t x_81; +lean_dec(x_4); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +x_81 = !lean_is_exclusive(x_19); +if (x_81 == 0) +{ +return x_19; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_19, 0); +x_83 = lean_ctor_get(x_19, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_19); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_85 = lean_ctor_get(x_10, 0); +x_86 = lean_ctor_get(x_10, 3); +x_87 = lean_ctor_get(x_10, 4); +lean_inc(x_87); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_10); +lean_inc(x_11); +x_88 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_11); +lean_ctor_set(x_88, 2, x_12); +lean_ctor_set(x_88, 3, x_86); +lean_ctor_set(x_88, 4, x_87); +lean_ctor_set(x_4, 0, x_88); +lean_inc(x_4); +lean_inc(x_13); +x_89 = l_Lean_Elab_Term_elabType(x_13, x_4, x_5); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = l_Lean_Elab_Term_mkFreshFVarId___rarg(x_91); +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_93); +x_95 = l_Lean_mkFVar(x_93); +x_96 = lean_ctor_get(x_3, 1); +lean_inc(x_96); +lean_inc(x_95); +x_97 = lean_array_push(x_96, x_95); +x_98 = lean_ctor_get(x_9, 0); +lean_inc(x_98); +x_99 = l_Lean_Syntax_getId(x_98); +x_100 = lean_ctor_get_uint8(x_9, sizeof(void*)*2); +lean_dec(x_9); +lean_inc(x_90); +x_101 = lean_local_ctx_mk_local_decl(x_11, x_93, x_99, x_90, x_100); +lean_inc(x_4); +lean_inc(x_90); +x_102 = l___private_Init_Lean_Elab_Binders_11__propagateExpectedType(x_98, x_95, x_90, x_3, x_4, x_94); +lean_dec(x_98); +if (lean_obj_tag(x_102) == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +lean_inc(x_4); +x_105 = l_Lean_Elab_Term_isClass(x_13, x_90, x_4, x_104); +lean_dec(x_13); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_95); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_unsigned_to_nat(1u); +x_109 = lean_nat_add(x_2, x_108); +lean_dec(x_2); +x_110 = lean_ctor_get(x_103, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_103, 3); +lean_inc(x_111); +x_112 = lean_ctor_get(x_103, 4); +lean_inc(x_112); +x_113 = lean_ctor_get_uint8(x_103, sizeof(void*)*5); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + lean_ctor_release(x_103, 2); + lean_ctor_release(x_103, 3); + lean_ctor_release(x_103, 4); + x_114 = x_103; +} else { + lean_dec_ref(x_103); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(0, 5, 1); +} else { + x_115 = x_114; +} +lean_ctor_set(x_115, 0, x_110); +lean_ctor_set(x_115, 1, x_97); +lean_ctor_set(x_115, 2, x_101); +lean_ctor_set(x_115, 3, x_111); +lean_ctor_set(x_115, 4, x_112); +lean_ctor_set_uint8(x_115, sizeof(void*)*5, x_113); +x_2 = x_109; +x_3 = x_115; +x_5 = x_107; +goto _start; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_117 = lean_ctor_get(x_105, 1); +lean_inc(x_117); +lean_dec(x_105); +x_118 = lean_ctor_get(x_106, 0); +lean_inc(x_118); +lean_dec(x_106); +x_119 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_117); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = lean_ctor_get(x_103, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_103, 3); +lean_inc(x_122); +x_123 = lean_ctor_get(x_103, 4); +lean_inc(x_123); +x_124 = lean_ctor_get_uint8(x_103, sizeof(void*)*5); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + lean_ctor_release(x_103, 2); + lean_ctor_release(x_103, 3); + lean_ctor_release(x_103, 4); + x_125 = x_103; +} else { + lean_dec_ref(x_103); + x_125 = lean_box(0); +} +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_118); +lean_ctor_set(x_126, 1, x_95); +x_127 = lean_array_push(x_122, x_126); +x_128 = lean_unsigned_to_nat(1u); +x_129 = lean_nat_add(x_2, x_128); +lean_dec(x_2); +if (lean_is_scalar(x_125)) { + x_130 = lean_alloc_ctor(0, 5, 1); +} else { + x_130 = x_125; +} +lean_ctor_set(x_130, 0, x_121); +lean_ctor_set(x_130, 1, x_97); +lean_ctor_set(x_130, 2, x_101); +lean_ctor_set(x_130, 3, x_127); +lean_ctor_set(x_130, 4, x_123); +lean_ctor_set_uint8(x_130, sizeof(void*)*5, x_124); +x_2 = x_129; +x_3 = x_130; +x_5 = x_120; +goto _start; +} +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_dec(x_103); +lean_dec(x_101); +lean_dec(x_97); +lean_dec(x_95); +lean_dec(x_4); +lean_dec(x_2); +x_132 = lean_ctor_get(x_105, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_105, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_134 = x_105; +} else { + lean_dec_ref(x_105); + x_134 = lean_box(0); +} +if (lean_is_scalar(x_134)) { + x_135 = lean_alloc_ctor(1, 2, 0); +} else { + x_135 = x_134; +} +lean_ctor_set(x_135, 0, x_132); +lean_ctor_set(x_135, 1, x_133); +return x_135; +} +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_101); +lean_dec(x_97); +lean_dec(x_95); +lean_dec(x_90); +lean_dec(x_4); +lean_dec(x_13); +lean_dec(x_2); +x_136 = lean_ctor_get(x_102, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_102, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_138 = x_102; +} else { + lean_dec_ref(x_102); + x_138 = lean_box(0); +} +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(1, 2, 0); +} else { + x_139 = x_138; +} +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_137); +return x_139; +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_4); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +x_140 = lean_ctor_get(x_89, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_89, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_142 = x_89; +} else { + lean_dec_ref(x_89); + x_142 = lean_box(0); +} +if (lean_is_scalar(x_142)) { + x_143 = lean_alloc_ctor(1, 2, 0); +} else { + x_143 = x_142; +} +lean_ctor_set(x_143, 0, x_140); +lean_ctor_set(x_143, 1, x_141); +return x_143; +} +} +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; uint8_t x_154; uint8_t 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; +x_144 = lean_ctor_get(x_4, 1); +x_145 = lean_ctor_get(x_4, 2); +x_146 = lean_ctor_get(x_4, 3); +x_147 = lean_ctor_get(x_4, 4); +x_148 = lean_ctor_get(x_4, 5); +x_149 = lean_ctor_get(x_4, 6); +x_150 = lean_ctor_get(x_4, 7); +x_151 = lean_ctor_get(x_4, 8); +x_152 = lean_ctor_get(x_4, 9); +x_153 = lean_ctor_get_uint8(x_4, sizeof(void*)*10); +x_154 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 1); +x_155 = lean_ctor_get_uint8(x_4, sizeof(void*)*10 + 2); +lean_inc(x_152); +lean_inc(x_151); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_inc(x_146); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_4); +x_156 = lean_ctor_get(x_10, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_10, 3); +lean_inc(x_157); +x_158 = lean_ctor_get(x_10, 4); +lean_inc(x_158); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + lean_ctor_release(x_10, 2); + lean_ctor_release(x_10, 3); + lean_ctor_release(x_10, 4); + x_159 = x_10; +} else { + lean_dec_ref(x_10); + x_159 = lean_box(0); +} +lean_inc(x_11); +if (lean_is_scalar(x_159)) { + x_160 = lean_alloc_ctor(0, 5, 0); +} else { + x_160 = x_159; +} +lean_ctor_set(x_160, 0, x_156); +lean_ctor_set(x_160, 1, x_11); +lean_ctor_set(x_160, 2, x_12); +lean_ctor_set(x_160, 3, x_157); +lean_ctor_set(x_160, 4, x_158); +x_161 = lean_alloc_ctor(0, 10, 3); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_144); +lean_ctor_set(x_161, 2, x_145); +lean_ctor_set(x_161, 3, x_146); +lean_ctor_set(x_161, 4, x_147); +lean_ctor_set(x_161, 5, x_148); +lean_ctor_set(x_161, 6, x_149); +lean_ctor_set(x_161, 7, x_150); +lean_ctor_set(x_161, 8, x_151); +lean_ctor_set(x_161, 9, x_152); +lean_ctor_set_uint8(x_161, sizeof(void*)*10, x_153); +lean_ctor_set_uint8(x_161, sizeof(void*)*10 + 1, x_154); +lean_ctor_set_uint8(x_161, sizeof(void*)*10 + 2, x_155); +lean_inc(x_161); +lean_inc(x_13); +x_162 = l_Lean_Elab_Term_elabType(x_13, x_161, x_5); +if (lean_obj_tag(x_162) == 0) +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +lean_dec(x_162); +x_165 = l_Lean_Elab_Term_mkFreshFVarId___rarg(x_164); +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +lean_inc(x_166); +x_168 = l_Lean_mkFVar(x_166); +x_169 = lean_ctor_get(x_3, 1); +lean_inc(x_169); +lean_inc(x_168); +x_170 = lean_array_push(x_169, x_168); +x_171 = lean_ctor_get(x_9, 0); +lean_inc(x_171); +x_172 = l_Lean_Syntax_getId(x_171); +x_173 = lean_ctor_get_uint8(x_9, sizeof(void*)*2); +lean_dec(x_9); +lean_inc(x_163); +x_174 = lean_local_ctx_mk_local_decl(x_11, x_166, x_172, x_163, x_173); +lean_inc(x_161); +lean_inc(x_163); +x_175 = l___private_Init_Lean_Elab_Binders_11__propagateExpectedType(x_171, x_168, x_163, x_3, x_161, x_167); +lean_dec(x_171); +if (lean_obj_tag(x_175) == 0) +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +lean_inc(x_161); +x_178 = l_Lean_Elab_Term_isClass(x_13, x_163, x_161, x_177); +lean_dec(x_13); +if (lean_obj_tag(x_178) == 0) +{ +lean_object* x_179; +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +if (lean_obj_tag(x_179) == 0) +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; lean_object* x_187; lean_object* x_188; +lean_dec(x_168); +x_180 = lean_ctor_get(x_178, 1); +lean_inc(x_180); +lean_dec(x_178); +x_181 = lean_unsigned_to_nat(1u); +x_182 = lean_nat_add(x_2, x_181); +lean_dec(x_2); +x_183 = lean_ctor_get(x_176, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_176, 3); +lean_inc(x_184); +x_185 = lean_ctor_get(x_176, 4); +lean_inc(x_185); +x_186 = lean_ctor_get_uint8(x_176, sizeof(void*)*5); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + lean_ctor_release(x_176, 2); + lean_ctor_release(x_176, 3); + lean_ctor_release(x_176, 4); + x_187 = x_176; +} else { + lean_dec_ref(x_176); + x_187 = lean_box(0); +} +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(0, 5, 1); +} else { + x_188 = x_187; +} +lean_ctor_set(x_188, 0, x_183); +lean_ctor_set(x_188, 1, x_170); +lean_ctor_set(x_188, 2, x_174); +lean_ctor_set(x_188, 3, x_184); +lean_ctor_set(x_188, 4, x_185); +lean_ctor_set_uint8(x_188, sizeof(void*)*5, x_186); +x_2 = x_182; +x_3 = x_188; +x_4 = x_161; +x_5 = x_180; +goto _start; +} +else +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_190 = lean_ctor_get(x_178, 1); +lean_inc(x_190); +lean_dec(x_178); +x_191 = lean_ctor_get(x_179, 0); +lean_inc(x_191); +lean_dec(x_179); +x_192 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_190); +x_193 = lean_ctor_get(x_192, 1); +lean_inc(x_193); +lean_dec(x_192); +x_194 = lean_ctor_get(x_176, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_176, 3); +lean_inc(x_195); +x_196 = lean_ctor_get(x_176, 4); +lean_inc(x_196); +x_197 = lean_ctor_get_uint8(x_176, sizeof(void*)*5); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + lean_ctor_release(x_176, 2); + lean_ctor_release(x_176, 3); + lean_ctor_release(x_176, 4); + x_198 = x_176; +} else { + lean_dec_ref(x_176); + x_198 = lean_box(0); +} +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_191); +lean_ctor_set(x_199, 1, x_168); +x_200 = lean_array_push(x_195, x_199); +x_201 = lean_unsigned_to_nat(1u); +x_202 = lean_nat_add(x_2, x_201); +lean_dec(x_2); +if (lean_is_scalar(x_198)) { + x_203 = lean_alloc_ctor(0, 5, 1); +} else { + x_203 = x_198; +} +lean_ctor_set(x_203, 0, x_194); +lean_ctor_set(x_203, 1, x_170); +lean_ctor_set(x_203, 2, x_174); +lean_ctor_set(x_203, 3, x_200); +lean_ctor_set(x_203, 4, x_196); +lean_ctor_set_uint8(x_203, sizeof(void*)*5, x_197); +x_2 = x_202; +x_3 = x_203; +x_4 = x_161; +x_5 = x_193; +goto _start; +} +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +lean_dec(x_176); +lean_dec(x_174); +lean_dec(x_170); +lean_dec(x_168); +lean_dec(x_161); +lean_dec(x_2); +x_205 = lean_ctor_get(x_178, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_178, 1); +lean_inc(x_206); +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + lean_ctor_release(x_178, 1); + x_207 = x_178; +} else { + lean_dec_ref(x_178); + x_207 = lean_box(0); +} +if (lean_is_scalar(x_207)) { + x_208 = lean_alloc_ctor(1, 2, 0); +} else { + x_208 = x_207; +} +lean_ctor_set(x_208, 0, x_205); +lean_ctor_set(x_208, 1, x_206); +return x_208; +} +} +else +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_dec(x_174); +lean_dec(x_170); +lean_dec(x_168); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_13); +lean_dec(x_2); +x_209 = lean_ctor_get(x_175, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_175, 1); +lean_inc(x_210); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_211 = x_175; +} else { + lean_dec_ref(x_175); + x_211 = lean_box(0); +} +if (lean_is_scalar(x_211)) { + x_212 = lean_alloc_ctor(1, 2, 0); +} else { + x_212 = x_211; +} +lean_ctor_set(x_212, 0, x_209); +lean_ctor_set(x_212, 1, x_210); +return x_212; +} +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +lean_dec(x_161); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +x_213 = lean_ctor_get(x_162, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_162, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_215 = x_162; +} else { + lean_dec_ref(x_162); + x_215 = lean_box(0); +} +if (lean_is_scalar(x_215)) { + x_216 = lean_alloc_ctor(1, 2, 0); +} else { + x_216 = x_215; +} +lean_ctor_set(x_216, 0, x_213); +lean_ctor_set(x_216, 1, x_214); +return x_216; +} +} +} +} +} +lean_object* l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews___main(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +lean_object* l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews___main(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_3); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_array_fget(x_1, x_2); +lean_inc(x_4); +x_10 = l___private_Init_Lean_Elab_Binders_5__matchBinder(x_9, x_4, x_5); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(0u); +lean_inc(x_4); +x_14 = l___private_Init_Lean_Elab_Binders_12__elabFunBinderViews___main(x_11, x_13, x_3, x_4, x_12); +lean_dec(x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_2, x_17); +lean_dec(x_2); +x_2 = x_18; +x_3 = x_15; +x_5 = x_16; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_4); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +return x_14; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_14, 0); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_14); +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 +{ +uint8_t x_24; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = !lean_is_exclusive(x_10); +if (x_24 == 0) +{ +return x_10; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_10, 0); +x_26 = lean_ctor_get(x_10, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_10); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} +} +lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_Term_FunBinders_elabFunBindersAux___main(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux(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_Elab_Term_FunBinders_elabFunBindersAux___main(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux___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_Elab_Term_FunBinders_elabFunBindersAux(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabFunBinders___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = l_Array_isEmpty___rarg(x_1); +if (x_7 == 0) +{ +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; +x_8 = l_Lean_Elab_Term_getLCtx(x_5, x_6); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Elab_Term_getLocalInsts(x_5, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Array_empty___closed__1; +lean_inc(x_12); +x_15 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_15, 2, x_9); +lean_ctor_set(x_15, 3, x_12); +lean_ctor_set(x_15, 4, x_2); +lean_ctor_set_uint8(x_15, sizeof(void*)*5, x_3); +x_16 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +x_17 = l_Lean_Elab_Term_FunBinders_elabFunBindersAux___main(x_1, x_16, x_15, x_5, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +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 = lean_array_get_size(x_12); +lean_dec(x_12); +x_21 = lean_ctor_get(x_18, 3); +lean_inc(x_21); +x_22 = lean_array_get_size(x_21); +x_23 = lean_nat_dec_lt(x_20, x_22); +lean_dec(x_22); +lean_dec(x_20); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_ctor_get(x_5, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_18, 2); +lean_inc(x_25); +x_26 = lean_ctor_get(x_18, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_18, 4); +lean_inc(x_27); +lean_dec(x_18); +x_28 = !lean_is_exclusive(x_5); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_5, 0); +lean_dec(x_29); +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_24, 2); +lean_dec(x_31); +x_32 = lean_ctor_get(x_24, 1); +lean_dec(x_32); +lean_ctor_set(x_24, 2, x_21); +lean_ctor_set(x_24, 1, x_25); +x_33 = lean_apply_4(x_4, x_26, x_27, x_5, x_19); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_24, 0); +x_35 = lean_ctor_get(x_24, 3); +x_36 = lean_ctor_get(x_24, 4); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_24); +x_37 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_25); +lean_ctor_set(x_37, 2, x_21); +lean_ctor_set(x_37, 3, x_35); +lean_ctor_set(x_37, 4, x_36); +lean_ctor_set(x_5, 0, x_37); +x_38 = lean_apply_4(x_4, x_26, x_27, x_5, x_19); +return x_38; +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_39 = lean_ctor_get(x_5, 1); +x_40 = lean_ctor_get(x_5, 2); +x_41 = lean_ctor_get(x_5, 3); +x_42 = lean_ctor_get(x_5, 4); +x_43 = lean_ctor_get(x_5, 5); +x_44 = lean_ctor_get(x_5, 6); +x_45 = lean_ctor_get(x_5, 7); +x_46 = lean_ctor_get(x_5, 8); +x_47 = lean_ctor_get(x_5, 9); +x_48 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); +x_49 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 1); +x_50 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 2); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_5); +x_51 = lean_ctor_get(x_24, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_24, 3); +lean_inc(x_52); +x_53 = lean_ctor_get(x_24, 4); +lean_inc(x_53); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + lean_ctor_release(x_24, 2); + lean_ctor_release(x_24, 3); + lean_ctor_release(x_24, 4); + x_54 = x_24; +} else { + lean_dec_ref(x_24); + x_54 = lean_box(0); +} +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(0, 5, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_51); +lean_ctor_set(x_55, 1, x_25); +lean_ctor_set(x_55, 2, x_21); +lean_ctor_set(x_55, 3, x_52); +lean_ctor_set(x_55, 4, x_53); +x_56 = lean_alloc_ctor(0, 10, 3); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_39); +lean_ctor_set(x_56, 2, x_40); +lean_ctor_set(x_56, 3, x_41); +lean_ctor_set(x_56, 4, x_42); +lean_ctor_set(x_56, 5, x_43); +lean_ctor_set(x_56, 6, x_44); +lean_ctor_set(x_56, 7, x_45); +lean_ctor_set(x_56, 8, x_46); +lean_ctor_set(x_56, 9, x_47); +lean_ctor_set_uint8(x_56, sizeof(void*)*10, x_48); +lean_ctor_set_uint8(x_56, sizeof(void*)*10 + 1, x_49); +lean_ctor_set_uint8(x_56, sizeof(void*)*10 + 2, x_50); +x_57 = lean_apply_4(x_4, x_26, x_27, x_56, x_19); +return x_57; +} +} +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; uint8_t x_67; +x_58 = lean_ctor_get(x_19, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_58, 2); +lean_inc(x_59); +lean_dec(x_58); +x_60 = lean_ctor_get(x_18, 2); +lean_inc(x_60); +x_61 = lean_ctor_get(x_18, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_18, 4); +lean_inc(x_62); +lean_dec(x_18); +x_63 = lean_ctor_get(x_59, 2); +lean_inc(x_63); +lean_dec(x_59); +x_64 = l_Lean_Elab_Term_resetSynthInstanceCache___rarg(x_19); +x_65 = lean_ctor_get(x_5, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = !lean_is_exclusive(x_5); +if (x_67 == 0) +{ +lean_object* x_68; uint8_t x_69; +x_68 = lean_ctor_get(x_5, 0); +lean_dec(x_68); +x_69 = !lean_is_exclusive(x_65); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_65, 2); +lean_dec(x_70); +x_71 = lean_ctor_get(x_65, 1); +lean_dec(x_71); +lean_ctor_set(x_65, 2, x_21); +lean_ctor_set(x_65, 1, x_60); +x_72 = lean_apply_4(x_4, x_61, x_62, x_5, x_66); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_74, 2); +lean_inc(x_75); +x_76 = !lean_is_exclusive(x_72); +if (x_76 == 0) +{ +lean_object* x_77; uint8_t x_78; +x_77 = lean_ctor_get(x_72, 1); +lean_dec(x_77); +x_78 = !lean_is_exclusive(x_73); +if (x_78 == 0) +{ +lean_object* x_79; uint8_t x_80; +x_79 = lean_ctor_get(x_73, 0); +lean_dec(x_79); +x_80 = !lean_is_exclusive(x_74); +if (x_80 == 0) +{ +lean_object* x_81; uint8_t x_82; +x_81 = lean_ctor_get(x_74, 2); +lean_dec(x_81); +x_82 = !lean_is_exclusive(x_75); +if (x_82 == 0) +{ +lean_object* x_83; +x_83 = lean_ctor_get(x_75, 2); +lean_dec(x_83); +lean_ctor_set(x_75, 2, x_63); +return x_72; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_75, 0); +x_85 = lean_ctor_get(x_75, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_75); +x_86 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_86, 2, x_63); +lean_ctor_set(x_74, 2, x_86); +return x_72; +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_87 = lean_ctor_get(x_74, 0); +x_88 = lean_ctor_get(x_74, 1); +x_89 = lean_ctor_get(x_74, 3); +x_90 = lean_ctor_get(x_74, 4); +x_91 = lean_ctor_get(x_74, 5); +lean_inc(x_91); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_74); +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); + lean_ctor_release(x_75, 2); + x_94 = x_75; +} else { + lean_dec_ref(x_75); + x_94 = lean_box(0); +} +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(0, 3, 0); +} else { + x_95 = x_94; +} +lean_ctor_set(x_95, 0, x_92); +lean_ctor_set(x_95, 1, x_93); +lean_ctor_set(x_95, 2, x_63); +x_96 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_96, 0, x_87); +lean_ctor_set(x_96, 1, x_88); +lean_ctor_set(x_96, 2, x_95); +lean_ctor_set(x_96, 3, x_89); +lean_ctor_set(x_96, 4, x_90); +lean_ctor_set(x_96, 5, x_91); +lean_ctor_set(x_73, 0, x_96); +return x_72; +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_97 = lean_ctor_get(x_73, 1); +x_98 = lean_ctor_get(x_73, 2); +x_99 = lean_ctor_get(x_73, 3); +x_100 = lean_ctor_get(x_73, 4); +x_101 = lean_ctor_get(x_73, 5); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_73); +x_102 = lean_ctor_get(x_74, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_74, 1); +lean_inc(x_103); +x_104 = lean_ctor_get(x_74, 3); +lean_inc(x_104); +x_105 = lean_ctor_get(x_74, 4); +lean_inc(x_105); +x_106 = lean_ctor_get(x_74, 5); +lean_inc(x_106); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + lean_ctor_release(x_74, 2); + lean_ctor_release(x_74, 3); + lean_ctor_release(x_74, 4); + lean_ctor_release(x_74, 5); + x_107 = x_74; +} else { + lean_dec_ref(x_74); + x_107 = lean_box(0); +} +x_108 = lean_ctor_get(x_75, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_75, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + lean_ctor_release(x_75, 2); + x_110 = x_75; +} else { + lean_dec_ref(x_75); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(0, 3, 0); +} else { + x_111 = x_110; +} +lean_ctor_set(x_111, 0, x_108); +lean_ctor_set(x_111, 1, x_109); +lean_ctor_set(x_111, 2, x_63); +if (lean_is_scalar(x_107)) { + x_112 = lean_alloc_ctor(0, 6, 0); +} else { + x_112 = x_107; +} +lean_ctor_set(x_112, 0, x_102); +lean_ctor_set(x_112, 1, x_103); +lean_ctor_set(x_112, 2, x_111); +lean_ctor_set(x_112, 3, x_104); +lean_ctor_set(x_112, 4, x_105); +lean_ctor_set(x_112, 5, x_106); +x_113 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_97); +lean_ctor_set(x_113, 2, x_98); +lean_ctor_set(x_113, 3, x_99); +lean_ctor_set(x_113, 4, x_100); +lean_ctor_set(x_113, 5, x_101); +lean_ctor_set(x_72, 1, x_113); +return x_72; +} +} +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; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_114 = lean_ctor_get(x_72, 0); +lean_inc(x_114); +lean_dec(x_72); +x_115 = lean_ctor_get(x_73, 1); +lean_inc(x_115); +x_116 = lean_ctor_get(x_73, 2); +lean_inc(x_116); +x_117 = lean_ctor_get(x_73, 3); +lean_inc(x_117); +x_118 = lean_ctor_get(x_73, 4); +lean_inc(x_118); +x_119 = lean_ctor_get(x_73, 5); +lean_inc(x_119); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + lean_ctor_release(x_73, 2); + lean_ctor_release(x_73, 3); + lean_ctor_release(x_73, 4); + lean_ctor_release(x_73, 5); + x_120 = x_73; +} else { + lean_dec_ref(x_73); + x_120 = lean_box(0); +} +x_121 = lean_ctor_get(x_74, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_74, 1); +lean_inc(x_122); +x_123 = lean_ctor_get(x_74, 3); +lean_inc(x_123); +x_124 = lean_ctor_get(x_74, 4); +lean_inc(x_124); +x_125 = lean_ctor_get(x_74, 5); +lean_inc(x_125); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + lean_ctor_release(x_74, 2); + lean_ctor_release(x_74, 3); + lean_ctor_release(x_74, 4); + lean_ctor_release(x_74, 5); + x_126 = x_74; +} else { + lean_dec_ref(x_74); + x_126 = lean_box(0); +} +x_127 = lean_ctor_get(x_75, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_75, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + lean_ctor_release(x_75, 2); + x_129 = x_75; +} else { + lean_dec_ref(x_75); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(0, 3, 0); +} else { + x_130 = x_129; +} +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +lean_ctor_set(x_130, 2, x_63); +if (lean_is_scalar(x_126)) { + x_131 = lean_alloc_ctor(0, 6, 0); +} else { + x_131 = x_126; +} +lean_ctor_set(x_131, 0, x_121); +lean_ctor_set(x_131, 1, x_122); +lean_ctor_set(x_131, 2, x_130); +lean_ctor_set(x_131, 3, x_123); +lean_ctor_set(x_131, 4, x_124); +lean_ctor_set(x_131, 5, x_125); +if (lean_is_scalar(x_120)) { + x_132 = lean_alloc_ctor(0, 6, 0); +} else { + x_132 = x_120; +} +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_115); +lean_ctor_set(x_132, 2, x_116); +lean_ctor_set(x_132, 3, x_117); +lean_ctor_set(x_132, 4, x_118); +lean_ctor_set(x_132, 5, x_119); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_114); +lean_ctor_set(x_133, 1, x_132); +return x_133; +} +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_134 = lean_ctor_get(x_72, 1); +lean_inc(x_134); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_135, 2); +lean_inc(x_136); +x_137 = !lean_is_exclusive(x_72); +if (x_137 == 0) +{ +lean_object* x_138; uint8_t x_139; +x_138 = lean_ctor_get(x_72, 1); +lean_dec(x_138); +x_139 = !lean_is_exclusive(x_134); +if (x_139 == 0) +{ +lean_object* x_140; uint8_t x_141; +x_140 = lean_ctor_get(x_134, 0); +lean_dec(x_140); +x_141 = !lean_is_exclusive(x_135); +if (x_141 == 0) +{ +lean_object* x_142; uint8_t x_143; +x_142 = lean_ctor_get(x_135, 2); +lean_dec(x_142); +x_143 = !lean_is_exclusive(x_136); +if (x_143 == 0) +{ +lean_object* x_144; +x_144 = lean_ctor_get(x_136, 2); +lean_dec(x_144); +lean_ctor_set(x_136, 2, x_63); +return x_72; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_136, 0); +x_146 = lean_ctor_get(x_136, 1); +lean_inc(x_146); +lean_inc(x_145); +lean_dec(x_136); +x_147 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +lean_ctor_set(x_147, 2, x_63); +lean_ctor_set(x_135, 2, x_147); +return x_72; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_148 = lean_ctor_get(x_135, 0); +x_149 = lean_ctor_get(x_135, 1); +x_150 = lean_ctor_get(x_135, 3); +x_151 = lean_ctor_get(x_135, 4); +x_152 = lean_ctor_get(x_135, 5); +lean_inc(x_152); +lean_inc(x_151); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_135); +x_153 = lean_ctor_get(x_136, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_136, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + lean_ctor_release(x_136, 2); + x_155 = x_136; +} else { + lean_dec_ref(x_136); + x_155 = lean_box(0); +} +if (lean_is_scalar(x_155)) { + x_156 = lean_alloc_ctor(0, 3, 0); +} else { + x_156 = x_155; +} +lean_ctor_set(x_156, 0, x_153); +lean_ctor_set(x_156, 1, x_154); +lean_ctor_set(x_156, 2, x_63); +x_157 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_157, 0, x_148); +lean_ctor_set(x_157, 1, x_149); +lean_ctor_set(x_157, 2, x_156); +lean_ctor_set(x_157, 3, x_150); +lean_ctor_set(x_157, 4, x_151); +lean_ctor_set(x_157, 5, x_152); +lean_ctor_set(x_134, 0, x_157); +return x_72; +} +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_158 = lean_ctor_get(x_134, 1); +x_159 = lean_ctor_get(x_134, 2); +x_160 = lean_ctor_get(x_134, 3); +x_161 = lean_ctor_get(x_134, 4); +x_162 = lean_ctor_get(x_134, 5); +lean_inc(x_162); +lean_inc(x_161); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_134); +x_163 = lean_ctor_get(x_135, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_135, 1); +lean_inc(x_164); +x_165 = lean_ctor_get(x_135, 3); +lean_inc(x_165); +x_166 = lean_ctor_get(x_135, 4); +lean_inc(x_166); +x_167 = lean_ctor_get(x_135, 5); +lean_inc(x_167); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + lean_ctor_release(x_135, 2); + lean_ctor_release(x_135, 3); + lean_ctor_release(x_135, 4); + lean_ctor_release(x_135, 5); + x_168 = x_135; +} else { + lean_dec_ref(x_135); + x_168 = lean_box(0); +} +x_169 = lean_ctor_get(x_136, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_136, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + lean_ctor_release(x_136, 2); + x_171 = x_136; +} else { + lean_dec_ref(x_136); + x_171 = lean_box(0); +} +if (lean_is_scalar(x_171)) { + x_172 = lean_alloc_ctor(0, 3, 0); +} else { + x_172 = x_171; +} +lean_ctor_set(x_172, 0, x_169); +lean_ctor_set(x_172, 1, x_170); +lean_ctor_set(x_172, 2, x_63); +if (lean_is_scalar(x_168)) { + x_173 = lean_alloc_ctor(0, 6, 0); +} else { + x_173 = x_168; +} +lean_ctor_set(x_173, 0, x_163); +lean_ctor_set(x_173, 1, x_164); +lean_ctor_set(x_173, 2, x_172); +lean_ctor_set(x_173, 3, x_165); +lean_ctor_set(x_173, 4, x_166); +lean_ctor_set(x_173, 5, x_167); +x_174 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_158); +lean_ctor_set(x_174, 2, x_159); +lean_ctor_set(x_174, 3, x_160); +lean_ctor_set(x_174, 4, x_161); +lean_ctor_set(x_174, 5, x_162); +lean_ctor_set(x_72, 1, x_174); +return x_72; +} +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_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_175 = lean_ctor_get(x_72, 0); +lean_inc(x_175); +lean_dec(x_72); +x_176 = lean_ctor_get(x_134, 1); +lean_inc(x_176); +x_177 = lean_ctor_get(x_134, 2); +lean_inc(x_177); +x_178 = lean_ctor_get(x_134, 3); +lean_inc(x_178); +x_179 = lean_ctor_get(x_134, 4); +lean_inc(x_179); +x_180 = lean_ctor_get(x_134, 5); +lean_inc(x_180); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + lean_ctor_release(x_134, 2); + lean_ctor_release(x_134, 3); + lean_ctor_release(x_134, 4); + lean_ctor_release(x_134, 5); + x_181 = x_134; +} else { + lean_dec_ref(x_134); + x_181 = lean_box(0); +} +x_182 = lean_ctor_get(x_135, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_135, 1); +lean_inc(x_183); +x_184 = lean_ctor_get(x_135, 3); +lean_inc(x_184); +x_185 = lean_ctor_get(x_135, 4); +lean_inc(x_185); +x_186 = lean_ctor_get(x_135, 5); +lean_inc(x_186); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + lean_ctor_release(x_135, 2); + lean_ctor_release(x_135, 3); + lean_ctor_release(x_135, 4); + lean_ctor_release(x_135, 5); + x_187 = x_135; +} else { + lean_dec_ref(x_135); + x_187 = lean_box(0); +} +x_188 = lean_ctor_get(x_136, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_136, 1); +lean_inc(x_189); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + lean_ctor_release(x_136, 2); + x_190 = x_136; +} else { + lean_dec_ref(x_136); + x_190 = lean_box(0); +} +if (lean_is_scalar(x_190)) { + x_191 = lean_alloc_ctor(0, 3, 0); +} else { + x_191 = x_190; +} +lean_ctor_set(x_191, 0, x_188); +lean_ctor_set(x_191, 1, x_189); +lean_ctor_set(x_191, 2, x_63); +if (lean_is_scalar(x_187)) { + x_192 = lean_alloc_ctor(0, 6, 0); +} else { + x_192 = x_187; +} +lean_ctor_set(x_192, 0, x_182); +lean_ctor_set(x_192, 1, x_183); +lean_ctor_set(x_192, 2, x_191); +lean_ctor_set(x_192, 3, x_184); +lean_ctor_set(x_192, 4, x_185); +lean_ctor_set(x_192, 5, x_186); +if (lean_is_scalar(x_181)) { + x_193 = lean_alloc_ctor(0, 6, 0); +} else { + x_193 = x_181; +} +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_176); +lean_ctor_set(x_193, 2, x_177); +lean_ctor_set(x_193, 3, x_178); +lean_ctor_set(x_193, 4, x_179); +lean_ctor_set(x_193, 5, x_180); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_175); +lean_ctor_set(x_194, 1, x_193); +return x_194; +} +} +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_195 = lean_ctor_get(x_65, 0); +x_196 = lean_ctor_get(x_65, 3); +x_197 = lean_ctor_get(x_65, 4); +lean_inc(x_197); +lean_inc(x_196); +lean_inc(x_195); +lean_dec(x_65); +x_198 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_60); +lean_ctor_set(x_198, 2, x_21); +lean_ctor_set(x_198, 3, x_196); +lean_ctor_set(x_198, 4, x_197); +lean_ctor_set(x_5, 0, x_198); +x_199 = lean_apply_4(x_4, x_61, x_62, x_5, x_66); +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; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_200 = lean_ctor_get(x_199, 1); +lean_inc(x_200); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_201, 2); +lean_inc(x_202); +x_203 = lean_ctor_get(x_199, 0); +lean_inc(x_203); +if (lean_is_exclusive(x_199)) { + lean_ctor_release(x_199, 0); + lean_ctor_release(x_199, 1); + x_204 = x_199; +} else { + lean_dec_ref(x_199); + x_204 = lean_box(0); +} +x_205 = lean_ctor_get(x_200, 1); +lean_inc(x_205); +x_206 = lean_ctor_get(x_200, 2); +lean_inc(x_206); +x_207 = lean_ctor_get(x_200, 3); +lean_inc(x_207); +x_208 = lean_ctor_get(x_200, 4); +lean_inc(x_208); +x_209 = lean_ctor_get(x_200, 5); +lean_inc(x_209); +if (lean_is_exclusive(x_200)) { + lean_ctor_release(x_200, 0); + lean_ctor_release(x_200, 1); + lean_ctor_release(x_200, 2); + lean_ctor_release(x_200, 3); + lean_ctor_release(x_200, 4); + lean_ctor_release(x_200, 5); + x_210 = x_200; +} else { + lean_dec_ref(x_200); + x_210 = lean_box(0); +} +x_211 = lean_ctor_get(x_201, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_201, 1); +lean_inc(x_212); +x_213 = lean_ctor_get(x_201, 3); +lean_inc(x_213); +x_214 = lean_ctor_get(x_201, 4); +lean_inc(x_214); +x_215 = lean_ctor_get(x_201, 5); +lean_inc(x_215); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + lean_ctor_release(x_201, 1); + lean_ctor_release(x_201, 2); + lean_ctor_release(x_201, 3); + lean_ctor_release(x_201, 4); + lean_ctor_release(x_201, 5); + x_216 = x_201; +} else { + lean_dec_ref(x_201); + x_216 = lean_box(0); +} +x_217 = lean_ctor_get(x_202, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_202, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_202)) { + lean_ctor_release(x_202, 0); + lean_ctor_release(x_202, 1); + lean_ctor_release(x_202, 2); + x_219 = x_202; +} else { + lean_dec_ref(x_202); + x_219 = lean_box(0); +} +if (lean_is_scalar(x_219)) { + x_220 = lean_alloc_ctor(0, 3, 0); +} else { + x_220 = x_219; +} +lean_ctor_set(x_220, 0, x_217); +lean_ctor_set(x_220, 1, x_218); +lean_ctor_set(x_220, 2, x_63); +if (lean_is_scalar(x_216)) { + x_221 = lean_alloc_ctor(0, 6, 0); +} else { + x_221 = x_216; +} +lean_ctor_set(x_221, 0, x_211); +lean_ctor_set(x_221, 1, x_212); +lean_ctor_set(x_221, 2, x_220); +lean_ctor_set(x_221, 3, x_213); +lean_ctor_set(x_221, 4, x_214); +lean_ctor_set(x_221, 5, x_215); +if (lean_is_scalar(x_210)) { + x_222 = lean_alloc_ctor(0, 6, 0); +} else { + x_222 = x_210; +} +lean_ctor_set(x_222, 0, x_221); +lean_ctor_set(x_222, 1, x_205); +lean_ctor_set(x_222, 2, x_206); +lean_ctor_set(x_222, 3, x_207); +lean_ctor_set(x_222, 4, x_208); +lean_ctor_set(x_222, 5, x_209); +if (lean_is_scalar(x_204)) { + x_223 = lean_alloc_ctor(0, 2, 0); +} else { + x_223 = x_204; +} +lean_ctor_set(x_223, 0, x_203); +lean_ctor_set(x_223, 1, x_222); +return x_223; +} +else +{ +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_224 = lean_ctor_get(x_199, 1); +lean_inc(x_224); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_225, 2); +lean_inc(x_226); +x_227 = lean_ctor_get(x_199, 0); +lean_inc(x_227); +if (lean_is_exclusive(x_199)) { + lean_ctor_release(x_199, 0); + lean_ctor_release(x_199, 1); + x_228 = x_199; +} else { + lean_dec_ref(x_199); + x_228 = lean_box(0); +} +x_229 = lean_ctor_get(x_224, 1); +lean_inc(x_229); +x_230 = lean_ctor_get(x_224, 2); +lean_inc(x_230); +x_231 = lean_ctor_get(x_224, 3); +lean_inc(x_231); +x_232 = lean_ctor_get(x_224, 4); +lean_inc(x_232); +x_233 = lean_ctor_get(x_224, 5); +lean_inc(x_233); +if (lean_is_exclusive(x_224)) { + lean_ctor_release(x_224, 0); + lean_ctor_release(x_224, 1); + lean_ctor_release(x_224, 2); + lean_ctor_release(x_224, 3); + lean_ctor_release(x_224, 4); + lean_ctor_release(x_224, 5); + x_234 = x_224; +} else { + lean_dec_ref(x_224); + x_234 = lean_box(0); +} +x_235 = lean_ctor_get(x_225, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_225, 1); +lean_inc(x_236); +x_237 = lean_ctor_get(x_225, 3); +lean_inc(x_237); +x_238 = lean_ctor_get(x_225, 4); +lean_inc(x_238); +x_239 = lean_ctor_get(x_225, 5); +lean_inc(x_239); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + lean_ctor_release(x_225, 2); + lean_ctor_release(x_225, 3); + lean_ctor_release(x_225, 4); + lean_ctor_release(x_225, 5); + x_240 = x_225; +} else { + lean_dec_ref(x_225); + x_240 = lean_box(0); +} +x_241 = lean_ctor_get(x_226, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_226, 1); +lean_inc(x_242); +if (lean_is_exclusive(x_226)) { + lean_ctor_release(x_226, 0); + lean_ctor_release(x_226, 1); + lean_ctor_release(x_226, 2); + x_243 = x_226; +} else { + lean_dec_ref(x_226); + x_243 = lean_box(0); +} +if (lean_is_scalar(x_243)) { + x_244 = lean_alloc_ctor(0, 3, 0); +} else { + x_244 = x_243; +} +lean_ctor_set(x_244, 0, x_241); +lean_ctor_set(x_244, 1, x_242); +lean_ctor_set(x_244, 2, x_63); +if (lean_is_scalar(x_240)) { + x_245 = lean_alloc_ctor(0, 6, 0); +} else { + x_245 = x_240; +} +lean_ctor_set(x_245, 0, x_235); +lean_ctor_set(x_245, 1, x_236); +lean_ctor_set(x_245, 2, x_244); +lean_ctor_set(x_245, 3, x_237); +lean_ctor_set(x_245, 4, x_238); +lean_ctor_set(x_245, 5, x_239); +if (lean_is_scalar(x_234)) { + x_246 = lean_alloc_ctor(0, 6, 0); +} else { + x_246 = x_234; +} +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_229); +lean_ctor_set(x_246, 2, x_230); +lean_ctor_set(x_246, 3, x_231); +lean_ctor_set(x_246, 4, x_232); +lean_ctor_set(x_246, 5, x_233); +if (lean_is_scalar(x_228)) { + x_247 = lean_alloc_ctor(1, 2, 0); +} else { + x_247 = x_228; +} +lean_ctor_set(x_247, 0, x_227); +lean_ctor_set(x_247, 1, x_246); +return x_247; +} +} +} +else +{ +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; uint8_t x_258; uint8_t 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_248 = lean_ctor_get(x_5, 1); +x_249 = lean_ctor_get(x_5, 2); +x_250 = lean_ctor_get(x_5, 3); +x_251 = lean_ctor_get(x_5, 4); +x_252 = lean_ctor_get(x_5, 5); +x_253 = lean_ctor_get(x_5, 6); +x_254 = lean_ctor_get(x_5, 7); +x_255 = lean_ctor_get(x_5, 8); +x_256 = lean_ctor_get(x_5, 9); +x_257 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); +x_258 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 1); +x_259 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 2); +lean_inc(x_256); +lean_inc(x_255); +lean_inc(x_254); +lean_inc(x_253); +lean_inc(x_252); +lean_inc(x_251); +lean_inc(x_250); +lean_inc(x_249); +lean_inc(x_248); +lean_dec(x_5); +x_260 = lean_ctor_get(x_65, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_65, 3); +lean_inc(x_261); +x_262 = lean_ctor_get(x_65, 4); +lean_inc(x_262); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + lean_ctor_release(x_65, 2); + lean_ctor_release(x_65, 3); + lean_ctor_release(x_65, 4); + x_263 = x_65; +} else { + lean_dec_ref(x_65); + x_263 = lean_box(0); +} +if (lean_is_scalar(x_263)) { + x_264 = lean_alloc_ctor(0, 5, 0); +} else { + x_264 = x_263; +} +lean_ctor_set(x_264, 0, x_260); +lean_ctor_set(x_264, 1, x_60); +lean_ctor_set(x_264, 2, x_21); +lean_ctor_set(x_264, 3, x_261); +lean_ctor_set(x_264, 4, x_262); +x_265 = lean_alloc_ctor(0, 10, 3); +lean_ctor_set(x_265, 0, x_264); +lean_ctor_set(x_265, 1, x_248); +lean_ctor_set(x_265, 2, x_249); +lean_ctor_set(x_265, 3, x_250); +lean_ctor_set(x_265, 4, x_251); +lean_ctor_set(x_265, 5, x_252); +lean_ctor_set(x_265, 6, x_253); +lean_ctor_set(x_265, 7, x_254); +lean_ctor_set(x_265, 8, x_255); +lean_ctor_set(x_265, 9, x_256); +lean_ctor_set_uint8(x_265, sizeof(void*)*10, x_257); +lean_ctor_set_uint8(x_265, sizeof(void*)*10 + 1, x_258); +lean_ctor_set_uint8(x_265, sizeof(void*)*10 + 2, x_259); +x_266 = lean_apply_4(x_4, x_61, x_62, x_265, x_66); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; +x_267 = lean_ctor_get(x_266, 1); +lean_inc(x_267); +x_268 = lean_ctor_get(x_267, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_268, 2); +lean_inc(x_269); +x_270 = lean_ctor_get(x_266, 0); +lean_inc(x_270); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + lean_ctor_release(x_266, 1); + x_271 = x_266; +} else { + lean_dec_ref(x_266); + x_271 = lean_box(0); +} +x_272 = lean_ctor_get(x_267, 1); +lean_inc(x_272); +x_273 = lean_ctor_get(x_267, 2); +lean_inc(x_273); +x_274 = lean_ctor_get(x_267, 3); +lean_inc(x_274); +x_275 = lean_ctor_get(x_267, 4); +lean_inc(x_275); +x_276 = lean_ctor_get(x_267, 5); +lean_inc(x_276); +if (lean_is_exclusive(x_267)) { + lean_ctor_release(x_267, 0); + lean_ctor_release(x_267, 1); + lean_ctor_release(x_267, 2); + lean_ctor_release(x_267, 3); + lean_ctor_release(x_267, 4); + lean_ctor_release(x_267, 5); + x_277 = x_267; +} else { + lean_dec_ref(x_267); + x_277 = lean_box(0); +} +x_278 = lean_ctor_get(x_268, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_268, 1); +lean_inc(x_279); +x_280 = lean_ctor_get(x_268, 3); +lean_inc(x_280); +x_281 = lean_ctor_get(x_268, 4); +lean_inc(x_281); +x_282 = lean_ctor_get(x_268, 5); +lean_inc(x_282); +if (lean_is_exclusive(x_268)) { + lean_ctor_release(x_268, 0); + lean_ctor_release(x_268, 1); + lean_ctor_release(x_268, 2); + lean_ctor_release(x_268, 3); + lean_ctor_release(x_268, 4); + lean_ctor_release(x_268, 5); + x_283 = x_268; +} else { + lean_dec_ref(x_268); + x_283 = lean_box(0); +} +x_284 = lean_ctor_get(x_269, 0); +lean_inc(x_284); +x_285 = lean_ctor_get(x_269, 1); +lean_inc(x_285); +if (lean_is_exclusive(x_269)) { + lean_ctor_release(x_269, 0); + lean_ctor_release(x_269, 1); + lean_ctor_release(x_269, 2); + x_286 = x_269; +} else { + lean_dec_ref(x_269); + x_286 = lean_box(0); +} +if (lean_is_scalar(x_286)) { + x_287 = lean_alloc_ctor(0, 3, 0); +} else { + x_287 = x_286; +} +lean_ctor_set(x_287, 0, x_284); +lean_ctor_set(x_287, 1, x_285); +lean_ctor_set(x_287, 2, x_63); +if (lean_is_scalar(x_283)) { + x_288 = lean_alloc_ctor(0, 6, 0); +} else { + x_288 = x_283; +} +lean_ctor_set(x_288, 0, x_278); +lean_ctor_set(x_288, 1, x_279); +lean_ctor_set(x_288, 2, x_287); +lean_ctor_set(x_288, 3, x_280); +lean_ctor_set(x_288, 4, x_281); +lean_ctor_set(x_288, 5, x_282); +if (lean_is_scalar(x_277)) { + x_289 = lean_alloc_ctor(0, 6, 0); +} else { + x_289 = x_277; +} +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_272); +lean_ctor_set(x_289, 2, x_273); +lean_ctor_set(x_289, 3, x_274); +lean_ctor_set(x_289, 4, x_275); +lean_ctor_set(x_289, 5, x_276); +if (lean_is_scalar(x_271)) { + x_290 = lean_alloc_ctor(0, 2, 0); +} else { + x_290 = x_271; +} +lean_ctor_set(x_290, 0, x_270); +lean_ctor_set(x_290, 1, x_289); +return x_290; +} +else +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_291 = lean_ctor_get(x_266, 1); +lean_inc(x_291); +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_292, 2); +lean_inc(x_293); +x_294 = lean_ctor_get(x_266, 0); +lean_inc(x_294); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + lean_ctor_release(x_266, 1); + x_295 = x_266; +} else { + lean_dec_ref(x_266); + x_295 = lean_box(0); +} +x_296 = lean_ctor_get(x_291, 1); +lean_inc(x_296); +x_297 = lean_ctor_get(x_291, 2); +lean_inc(x_297); +x_298 = lean_ctor_get(x_291, 3); +lean_inc(x_298); +x_299 = lean_ctor_get(x_291, 4); +lean_inc(x_299); +x_300 = lean_ctor_get(x_291, 5); +lean_inc(x_300); +if (lean_is_exclusive(x_291)) { + lean_ctor_release(x_291, 0); + lean_ctor_release(x_291, 1); + lean_ctor_release(x_291, 2); + lean_ctor_release(x_291, 3); + lean_ctor_release(x_291, 4); + lean_ctor_release(x_291, 5); + x_301 = x_291; +} else { + lean_dec_ref(x_291); + x_301 = lean_box(0); +} +x_302 = lean_ctor_get(x_292, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_292, 1); +lean_inc(x_303); +x_304 = lean_ctor_get(x_292, 3); +lean_inc(x_304); +x_305 = lean_ctor_get(x_292, 4); +lean_inc(x_305); +x_306 = lean_ctor_get(x_292, 5); +lean_inc(x_306); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + lean_ctor_release(x_292, 2); + lean_ctor_release(x_292, 3); + lean_ctor_release(x_292, 4); + lean_ctor_release(x_292, 5); + x_307 = x_292; +} else { + lean_dec_ref(x_292); + x_307 = lean_box(0); +} +x_308 = lean_ctor_get(x_293, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_293, 1); +lean_inc(x_309); +if (lean_is_exclusive(x_293)) { + lean_ctor_release(x_293, 0); + lean_ctor_release(x_293, 1); + lean_ctor_release(x_293, 2); + x_310 = x_293; +} else { + lean_dec_ref(x_293); + x_310 = lean_box(0); +} +if (lean_is_scalar(x_310)) { + x_311 = lean_alloc_ctor(0, 3, 0); +} else { + x_311 = x_310; +} +lean_ctor_set(x_311, 0, x_308); +lean_ctor_set(x_311, 1, x_309); +lean_ctor_set(x_311, 2, x_63); +if (lean_is_scalar(x_307)) { + x_312 = lean_alloc_ctor(0, 6, 0); +} else { + x_312 = x_307; +} +lean_ctor_set(x_312, 0, x_302); +lean_ctor_set(x_312, 1, x_303); +lean_ctor_set(x_312, 2, x_311); +lean_ctor_set(x_312, 3, x_304); +lean_ctor_set(x_312, 4, x_305); +lean_ctor_set(x_312, 5, x_306); +if (lean_is_scalar(x_301)) { + x_313 = lean_alloc_ctor(0, 6, 0); +} else { + x_313 = x_301; +} +lean_ctor_set(x_313, 0, x_312); +lean_ctor_set(x_313, 1, x_296); +lean_ctor_set(x_313, 2, x_297); +lean_ctor_set(x_313, 3, x_298); +lean_ctor_set(x_313, 4, x_299); +lean_ctor_set(x_313, 5, x_300); +if (lean_is_scalar(x_295)) { + x_314 = lean_alloc_ctor(1, 2, 0); +} else { + x_314 = x_295; +} +lean_ctor_set(x_314, 0, x_294); +lean_ctor_set(x_314, 1, x_313); +return x_314; +} +} +} +} +else +{ +uint8_t x_315; +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +x_315 = !lean_is_exclusive(x_17); +if (x_315 == 0) +{ +return x_17; +} +else +{ +lean_object* x_316; lean_object* x_317; lean_object* x_318; +x_316 = lean_ctor_get(x_17, 0); +x_317 = lean_ctor_get(x_17, 1); +lean_inc(x_317); +lean_inc(x_316); +lean_dec(x_17); +x_318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_318, 0, x_316); +lean_ctor_set(x_318, 1, x_317); +return x_318; +} +} +} +else +{ +lean_object* x_319; lean_object* x_320; +x_319 = l_Array_empty___closed__1; +x_320 = lean_apply_4(x_4, x_319, x_2, x_5, x_6); +return x_320; +} +} +} +lean_object* l_Lean_Elab_Term_elabFunBinders(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabFunBinders___rarg___boxed), 6, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabFunBinders___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_3); +lean_dec(x_3); +x_8 = l_Lean_Elab_Term_elabFunBinders___rarg(x_1, x_2, x_7, x_4, x_5, x_6); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_elabFunCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = 1; +lean_inc(x_5); +x_8 = l_Lean_Elab_Term_elabTerm(x_1, x_4, x_7, x_5, x_6); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -16987,13 +19792,13 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_Elab_Term_mkLambda(x_2, x_3, x_9, x_4, x_10); +x_11 = l_Lean_Elab_Term_mkLambda(x_2, x_3, x_9, x_5, x_10); return x_11; } else { uint8_t x_12; -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); x_12 = !lean_is_exclusive(x_8); if (x_12 == 0) @@ -17016,118 +19821,83 @@ return x_15; } } } -lean_object* l_Lean_Elab_Term_elabFun(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_elabFunCore(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_5 = lean_unsigned_to_nat(1u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Syntax_getArgs(x_6); -lean_dec(x_6); -x_8 = lean_unsigned_to_nat(3u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -lean_inc(x_3); -x_10 = l___private_Init_Lean_Elab_Binders_11__expandFunBinders(x_7, x_9, x_3, x_4); +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_unsigned_to_nat(1u); +x_7 = l_Lean_Syntax_getArg(x_1, x_6); +x_8 = l_Lean_Syntax_getArgs(x_7); lean_dec(x_7); -if (lean_obj_tag(x_10) == 0) +x_9 = lean_unsigned_to_nat(3u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +lean_inc(x_4); +x_11 = l_Lean_Elab_Term_expandFunBinders(x_8, x_10, x_4, x_5); +lean_dec(x_8); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_ctor_get(x_11, 0); +x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); lean_dec(x_11); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabFun___lambda__1___boxed), 5, 2); -lean_closure_set(x_15, 0, x_14); -lean_closure_set(x_15, 1, x_1); -x_16 = l_Lean_Elab_Term_elabBinders___rarg(x_13, x_15, x_3, x_12); -lean_dec(x_13); -return x_16; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabFunCore___lambda__1___boxed), 6, 2); +lean_closure_set(x_16, 0, x_15); +lean_closure_set(x_16, 1, x_1); +x_17 = l_Lean_Elab_Term_elabFunBinders___rarg(x_14, x_2, x_3, x_16, x_4, x_13); +lean_dec(x_14); +return x_17; } else { -uint8_t x_17; -lean_dec(x_3); +uint8_t x_18; +lean_dec(x_4); +lean_dec(x_2); lean_dec(x_1); -x_17 = !lean_is_exclusive(x_10); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_11); +if (x_18 == 0) { -return x_10; +return x_11; } 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, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_11, 0); +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_10); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; +lean_dec(x_11); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } } -lean_object* l_Lean_Elab_Term_elabFun___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_Elab_Term_elabFunCore___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) { _start: { -lean_object* x_6; -x_6 = l_Lean_Elab_Term_elabFun___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_object* x_7; +x_7 = l_Lean_Elab_Term_elabFunCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); -return x_6; +return x_7; } } -lean_object* l_Lean_Elab_Term_elabFun___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_elabFunCore___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_5; -x_5 = l_Lean_Elab_Term_elabFun(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; -} -} -lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabFun"); -return x_1; -} -} -lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; -x_2 = l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabFun___boxed), 4, 0); -return x_1; -} -} -lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2; -x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3; -x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); -return x_5; +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_3); +lean_dec(x_3); +x_7 = l_Lean_Elab_Term_elabFunCore(x_1, x_2, x_6, x_4, x_5); +return x_7; } } lean_object* l_Lean_Elab_Term_expandOptType(lean_object* x_1, lean_object* x_2) { @@ -17182,9 +19952,9 @@ x_10 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_10, 0, x_8); x_11 = 1; lean_inc(x_5); -lean_inc(x_2); lean_inc(x_10); -x_12 = l_Lean_Elab_Term_elabTermAux___main(x_10, x_11, x_2, x_5, x_9); +lean_inc(x_2); +x_12 = l_Lean_Elab_Term_elabTerm(x_2, x_10, x_11, x_5, x_9); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -17383,7 +20153,7 @@ _start: uint8_t x_7; lean_object* x_8; x_7 = 1; lean_inc(x_5); -x_8 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_7, x_2, x_5, x_6); +x_8 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_7, x_5, x_6); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -17494,8 +20264,8 @@ if (x_20 == 0) lean_object* x_21; lean_object* x_22; lean_inc(x_1); x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__2___boxed), 6, 3); -lean_closure_set(x_21, 0, x_7); -lean_closure_set(x_21, 1, x_6); +lean_closure_set(x_21, 0, x_6); +lean_closure_set(x_21, 1, x_7); lean_closure_set(x_21, 2, x_1); x_22 = l_Lean_Elab_Term_withLetDecl___rarg(x_1, x_2, x_14, x_15, x_21, x_8, x_18); lean_dec(x_1); @@ -17533,8 +20303,8 @@ lean_inc(x_33); lean_dec(x_32); lean_inc(x_1); x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__2___boxed), 6, 3); -lean_closure_set(x_34, 0, x_7); -lean_closure_set(x_34, 1, x_6); +lean_closure_set(x_34, 0, x_6); +lean_closure_set(x_34, 1, x_7); lean_closure_set(x_34, 2, x_1); x_35 = l_Lean_Elab_Term_withLetDecl___rarg(x_1, x_2, x_14, x_15, x_34, x_8, x_33); lean_dec(x_1); @@ -18053,7 +20823,7 @@ lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); lean_ctor_set(x_3, 8, x_98); x_99 = 1; -x_100 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_99, x_94, x_3, x_41); +x_100 = l_Lean_Elab_Term_elabTerm(x_94, x_2, x_99, x_3, x_41); return x_100; } else @@ -18105,7 +20875,7 @@ lean_ctor_set_uint8(x_116, sizeof(void*)*10, x_111); lean_ctor_set_uint8(x_116, sizeof(void*)*10 + 1, x_112); lean_ctor_set_uint8(x_116, sizeof(void*)*10 + 2, x_113); x_117 = 1; -x_118 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_117, x_94, x_116, x_41); +x_118 = l_Lean_Elab_Term_elabTerm(x_94, x_2, x_117, x_116, x_41); return x_118; } } @@ -18239,7 +21009,7 @@ lean_ctor_set(x_194, 0, x_193); lean_ctor_set(x_194, 1, x_192); lean_ctor_set(x_3, 8, x_194); x_195 = 1; -x_196 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_195, x_190, x_3, x_144); +x_196 = l_Lean_Elab_Term_elabTerm(x_190, x_2, x_195, x_3, x_144); return x_196; } else @@ -18291,7 +21061,7 @@ lean_ctor_set_uint8(x_212, sizeof(void*)*10, x_207); lean_ctor_set_uint8(x_212, sizeof(void*)*10 + 1, x_208); lean_ctor_set_uint8(x_212, sizeof(void*)*10 + 2, x_209); x_213 = 1; -x_214 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_213, x_190, x_212, x_144); +x_214 = l_Lean_Elab_Term_elabTerm(x_190, x_2, x_213, x_212, x_144); return x_214; } } @@ -18311,7 +21081,7 @@ x_261 = l_Lean_Syntax_isOfKind(x_229, x_260); if (x_261 == 0) { uint8_t x_262; -x_262 = l_Lean_Elab_Term_elabParen___closed__4; +x_262 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_262 == 0) { uint8_t x_263; @@ -18402,7 +21172,7 @@ x_235 = l_Lean_Syntax_isOfKind(x_233, x_234); if (x_235 == 0) { uint8_t x_236; -x_236 = l_Lean_Elab_Term_elabParen___closed__4; +x_236 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_236 == 0) { lean_object* x_237; @@ -18522,7 +21292,7 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Binders_12__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Binders_13__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -18664,15 +21434,6 @@ l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__8 = lean_mark_persistent(l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__8); l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__9 = _init_l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__9(); lean_mark_persistent(l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__9); -l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1(); -lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1); -l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2(); -lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2); -l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3(); -lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3); -res = l___regBuiltinTermElab_Lean_Elab_Term_elabFun(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l_Lean_Elab_Term_elabLetDeclAux___closed__1 = _init_l_Lean_Elab_Term_elabLetDeclAux___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclAux___closed__1); l_Lean_Elab_Term_elabLetDeclAux___closed__2 = _init_l_Lean_Elab_Term_elabLetDeclAux___closed__2(); @@ -18706,7 +21467,7 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed_ res = l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l___private_Init_Lean_Elab_Binders_12__regTraceClasses(lean_io_mk_world()); +res = l___private_Init_Lean_Elab_Binders_13__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/Elab/BuiltinNotation.c b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c index ace83dbfb0..0706665469 100644 --- a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c @@ -14,7 +14,6 @@ extern "C" { #endif lean_object* l_Lean_Elab_Term_elabModN___closed__2; -extern lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__5; lean_object* l_Lean_Elab_Term_elabBAnd___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabseqLeft___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); @@ -29,6 +28,7 @@ lean_object* l_Lean_Elab_Term_elabAdd___closed__1; extern lean_object* l_Lean_Parser_Term_andthen___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabModN___closed__1; lean_object* l_Lean_Elab_Term_elabIff(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__5; lean_object* l_Lean_Elab_Term_expandIf___closed__3; extern lean_object* l_Lean_Parser_Term_andthen___elambda__1___closed__1; lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabGE(lean_object*); @@ -167,6 +167,7 @@ extern lean_object* l_Lean_mkTermIdFromIdent___closed__2; lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabLT___closed__1; lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__19; +extern uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabMapConstRev___closed__1; extern lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_add___elambda__1___closed__1; @@ -183,7 +184,6 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object* lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabModN(lean_object*); extern lean_object* l_Lean_Parser_Term_div___elambda__1___closed__2; lean_object* l___regBuiltinMacro_Lean_Elab_Term_expandSubtype(lean_object*); -extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; lean_object* l_Lean_Elab_Term_expandSubtype___closed__6; lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; @@ -219,6 +219,7 @@ lean_object* l_Lean_Elab_Term_elabseq___closed__3; extern lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___elambda__1___closed__2; extern lean_object* l_Lean_Expr_heq_x3f___closed__2; lean_object* l_Lean_Elab_Term_elabDiv___closed__2; +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandIf___closed__4; extern lean_object* l_Lean_Parser_Term_sub___elambda__1___closed__1; lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabseq(lean_object*); @@ -244,7 +245,6 @@ lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabOrElse___closed__1; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__8; lean_object* l_Lean_Elab_Term_expandIf___closed__9; lean_object* l_Lean_Elab_Term_elabProd___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinMacro_Lean_Elab_Term_elabPow(lean_object*); extern lean_object* l_Lean_Parser_Term_mod___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabMapRev___closed__1; @@ -705,7 +705,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l_Lean_Elab_Term_elabParen___closed__4; +x_6 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_6 == 0) { lean_object* x_7; lean_object* x_8; @@ -2015,7 +2015,7 @@ lean_ctor_set(x_53, 1, x_76); lean_ctor_set(x_53, 0, x_77); lean_ctor_set(x_3, 8, x_53); x_78 = 1; -x_79 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_78, x_74, x_3, x_62); +x_79 = l_Lean_Elab_Term_elabTerm(x_74, x_2, x_78, x_3, x_62); return x_79; } else @@ -2066,7 +2066,7 @@ lean_ctor_set_uint8(x_94, sizeof(void*)*10, x_90); lean_ctor_set_uint8(x_94, sizeof(void*)*10 + 1, x_91); lean_ctor_set_uint8(x_94, sizeof(void*)*10 + 2, x_92); x_95 = 1; -x_96 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_95, x_74, x_94, x_62); +x_96 = l_Lean_Elab_Term_elabTerm(x_74, x_2, x_95, x_94, x_62); return x_96; } } @@ -2167,7 +2167,7 @@ lean_ctor_set_uint8(x_130, sizeof(void*)*10, x_124); lean_ctor_set_uint8(x_130, sizeof(void*)*10 + 1, x_125); lean_ctor_set_uint8(x_130, sizeof(void*)*10 + 2, x_126); x_131 = 1; -x_132 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_131, x_113, x_130, x_101); +x_132 = l_Lean_Elab_Term_elabTerm(x_113, x_2, x_131, x_130, x_101); return x_132; } } @@ -4678,7 +4678,7 @@ lean_object* l_Lean_Elab_Term_elabProd(lean_object* x_1, lean_object* x_2, lean_ _start: { lean_object* x_4; lean_object* x_5; -x_4 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__5; +x_4 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__5; x_5 = l_Lean_Elab_Term_elabInfixOp(x_4, x_1, x_2, x_3); return x_5; } diff --git a/stage0/stdlib/Init/Lean/Elab/Command.c b/stage0/stdlib/Init/Lean/Elab/Command.c index dea72fa624..05d71d2091 100644 --- a/stage0/stdlib/Init/Lean/Elab/Command.c +++ b/stage0/stdlib/Init/Lean/Elab/Command.c @@ -179,6 +179,7 @@ lean_object* l_Lean_Elab_Command_Lean_Elab_MonadMacroAdapter___closed__1; extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; lean_object* l_Lean_Elab_Command_State_inhabited___closed__1; lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +extern uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab___closed__4; lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_Elab_Command_sortDeclLevelParams___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -199,7 +200,6 @@ lean_object* l_Lean_Elab_Command_Lean_Elab_MonadMacroAdapter___closed__2; extern lean_object* l___private_Init_Lean_Elab_Term_10__elabTermUsing___main___closed__3; lean_object* l_Lean_Elab_Command_mkBuiltinCommandElabTable(lean_object*); lean_object* l_Lean_Elab_Command_addOpenDecl(lean_object*, lean_object*, lean_object*); -extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; extern lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabVariables___closed__3; lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__9; @@ -249,6 +249,7 @@ lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Command_throwError___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); uint8_t l___private_Init_Lean_Elab_Command_15__checkEndHeader___main(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_Elab_Command_addBuiltinCommandElab___spec__4(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabCheck___closed__3; lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel(lean_object*); @@ -270,7 +271,6 @@ extern lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_addBuiltinCommandElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabCoreM_monadState; size_t l_Lean_Name_hash(lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Char_HasRepr___closed__1; lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1___closed__4; lean_object* l_Lean_Elab_getMacros(lean_object*, lean_object*, lean_object*, lean_object*); @@ -9903,7 +9903,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l_Lean_Elab_Term_elabParen___closed__4; +x_6 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_6 == 0) { lean_object* x_7; lean_object* x_8; @@ -10081,7 +10081,7 @@ if (x_11 == 0) { uint8_t x_14; lean_dec(x_9); -x_14 = l_Lean_Elab_Term_elabParen___closed__4; +x_14 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_14 == 0) { lean_object* x_15; lean_object* x_16; @@ -17375,7 +17375,7 @@ _start: uint8_t x_7; lean_object* x_8; x_7 = 1; lean_inc(x_5); -x_8 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_7, x_2, x_5, x_6); +x_8 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_7, x_5, x_6); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; @@ -17523,8 +17523,8 @@ x_4 = lean_unsigned_to_nat(1u); x_5 = l_Lean_Syntax_getArg(x_1, x_4); x_6 = lean_box(0); x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCheck___lambda__1___boxed), 6, 3); -lean_closure_set(x_7, 0, x_6); -lean_closure_set(x_7, 1, x_5); +lean_closure_set(x_7, 0, x_5); +lean_closure_set(x_7, 1, x_6); lean_closure_set(x_7, 2, x_1); lean_inc(x_2); x_8 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_3); @@ -18005,7 +18005,7 @@ lean_object* x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_box(0); x_7 = 1; lean_inc(x_4); -x_8 = l_Lean_Elab_Term_elabTermAux___main(x_6, x_7, x_1, x_4, x_5); +x_8 = l_Lean_Elab_Term_elabTerm(x_1, x_6, x_7, x_4, x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; diff --git a/stage0/stdlib/Init/Lean/Elab/Definition.c b/stage0/stdlib/Init/Lean/Elab/Definition.c index bd2dd4587d..9e7c23ccfd 100644 --- a/stage0/stdlib/Init/Lean/Elab/Definition.c +++ b/stage0/stdlib/Init/Lean/Elab/Definition.c @@ -66,11 +66,11 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); lean_object* l_Lean_Elab_Command_DefKind_isTheorem___boxed(lean_object*); lean_object* l_Lean_Elab_Command_expandDeclId(lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Command_mkDef___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_mkDef___lambda__1___closed__1; -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabDefLike___spec__4(lean_object*, lean_object*, lean_object*); @@ -1732,135 +1732,92 @@ return x_92; lean_object* l_Lean_Elab_Command_mkDef(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_1, 0); lean_inc(x_10); -x_11 = lean_ctor_get(x_1, 5); -lean_inc(x_11); -lean_inc(x_6); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_6); +x_11 = 1; +x_12 = lean_box(0); lean_inc(x_8); -lean_inc(x_11); -x_13 = l_Lean_Elab_Term_ensureHasType(x_11, x_12, x_7, x_8, x_9); +x_13 = l___private_Init_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_11, x_12, x_8, x_9); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_13, 0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); lean_dec(x_13); -x_16 = 0; -x_17 = lean_box(0); +x_15 = lean_ctor_get(x_1, 5); +lean_inc(x_15); +lean_inc(x_6); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_6); lean_inc(x_8); -x_18 = l___private_Init_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_16, x_17, x_8, x_15); -if (lean_obj_tag(x_18) == 0) +lean_inc(x_15); +x_17 = l_Lean_Elab_Term_ensureHasType(x_15, x_16, x_7, x_8, x_14); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_19 = lean_ctor_get(x_18, 1); +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +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_18); +lean_dec(x_17); +x_20 = 0; lean_inc(x_8); -x_20 = l_Lean_Elab_Term_instantiateMVars(x_10, x_6, x_8, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +x_21 = l___private_Init_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_20, x_12, x_8, x_19); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); -lean_dec(x_20); +lean_dec(x_21); lean_inc(x_8); -x_23 = l_Lean_Elab_Term_instantiateMVars(x_11, x_14, x_8, x_22); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); -x_27 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_28 = l_Lean_Elab_Command_DefKind_isExample(x_27); -if (x_28 == 0) -{ -uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_free_object(x_23); -x_29 = l_Lean_Elab_Command_DefKind_isDefOrOpaque(x_27); -x_30 = lean_box(x_27); +x_23 = l_Lean_Elab_Term_instantiateMVars(x_10, x_6, x_8, x_22); +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_inc(x_21); -lean_inc(x_5); -lean_inc(x_10); -x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkDef___lambda__1___boxed), 12, 9); -lean_closure_set(x_31, 0, x_10); -lean_closure_set(x_31, 1, x_5); -lean_closure_set(x_31, 2, x_21); -lean_closure_set(x_31, 3, x_25); -lean_closure_set(x_31, 4, x_11); -lean_closure_set(x_31, 5, x_3); -lean_closure_set(x_31, 6, x_30); -lean_closure_set(x_31, 7, x_2); -lean_closure_set(x_31, 8, x_1); -x_32 = l_Lean_Elab_Command_withUsedWhen___rarg(x_10, x_4, x_5, x_25, x_21, x_29, x_31, x_8, x_26); -lean_dec(x_5); -lean_dec(x_10); -return x_32; -} -else -{ -lean_object* x_33; -lean_dec(x_25); -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_33 = lean_box(0); -lean_ctor_set(x_23, 0, x_33); -return x_23; -} -} -else -{ -lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; -x_34 = lean_ctor_get(x_23, 0); -x_35 = lean_ctor_get(x_23, 1); -lean_inc(x_35); -lean_inc(x_34); lean_dec(x_23); -x_36 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_37 = l_Lean_Elab_Command_DefKind_isExample(x_36); -if (x_37 == 0) +lean_inc(x_8); +x_26 = l_Lean_Elab_Term_instantiateMVars(x_15, x_18, x_8, x_25); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = l_Lean_Elab_Command_DefKind_isDefOrOpaque(x_36); -x_39 = lean_box(x_36); -lean_inc(x_34); -lean_inc(x_21); +lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +x_30 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_31 = l_Lean_Elab_Command_DefKind_isExample(x_30); +if (x_31 == 0) +{ +uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_free_object(x_26); +x_32 = l_Lean_Elab_Command_DefKind_isDefOrOpaque(x_30); +x_33 = lean_box(x_30); +lean_inc(x_28); +lean_inc(x_24); lean_inc(x_5); lean_inc(x_10); -x_40 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkDef___lambda__1___boxed), 12, 9); -lean_closure_set(x_40, 0, x_10); -lean_closure_set(x_40, 1, x_5); -lean_closure_set(x_40, 2, x_21); -lean_closure_set(x_40, 3, x_34); -lean_closure_set(x_40, 4, x_11); -lean_closure_set(x_40, 5, x_3); -lean_closure_set(x_40, 6, x_39); -lean_closure_set(x_40, 7, x_2); -lean_closure_set(x_40, 8, x_1); -x_41 = l_Lean_Elab_Command_withUsedWhen___rarg(x_10, x_4, x_5, x_34, x_21, x_38, x_40, x_8, x_35); +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkDef___lambda__1___boxed), 12, 9); +lean_closure_set(x_34, 0, x_10); +lean_closure_set(x_34, 1, x_5); +lean_closure_set(x_34, 2, x_24); +lean_closure_set(x_34, 3, x_28); +lean_closure_set(x_34, 4, x_15); +lean_closure_set(x_34, 5, x_3); +lean_closure_set(x_34, 6, x_33); +lean_closure_set(x_34, 7, x_2); +lean_closure_set(x_34, 8, x_1); +x_35 = l_Lean_Elab_Command_withUsedWhen___rarg(x_10, x_4, x_5, x_28, x_24, x_32, x_34, x_8, x_29); lean_dec(x_5); lean_dec(x_10); -return x_41; +return x_35; } else { -lean_object* x_42; lean_object* x_43; -lean_dec(x_34); -lean_dec(x_21); -lean_dec(x_11); +lean_object* x_36; +lean_dec(x_28); +lean_dec(x_24); +lean_dec(x_15); lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); @@ -1868,51 +1825,71 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_42 = lean_box(0); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_35); -return x_43; -} +x_36 = lean_box(0); +lean_ctor_set(x_26, 0, x_36); +return x_26; } } else { -uint8_t x_44; -lean_dec(x_14); -lean_dec(x_11); +lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_26, 0); +x_38 = lean_ctor_get(x_26, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_26); +x_39 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_40 = l_Lean_Elab_Command_DefKind_isExample(x_39); +if (x_40 == 0) +{ +uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = l_Lean_Elab_Command_DefKind_isDefOrOpaque(x_39); +x_42 = lean_box(x_39); +lean_inc(x_37); +lean_inc(x_24); +lean_inc(x_5); +lean_inc(x_10); +x_43 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkDef___lambda__1___boxed), 12, 9); +lean_closure_set(x_43, 0, x_10); +lean_closure_set(x_43, 1, x_5); +lean_closure_set(x_43, 2, x_24); +lean_closure_set(x_43, 3, x_37); +lean_closure_set(x_43, 4, x_15); +lean_closure_set(x_43, 5, x_3); +lean_closure_set(x_43, 6, x_42); +lean_closure_set(x_43, 7, x_2); +lean_closure_set(x_43, 8, x_1); +x_44 = l_Lean_Elab_Command_withUsedWhen___rarg(x_10, x_4, x_5, x_37, x_24, x_41, x_43, x_8, x_38); +lean_dec(x_5); +lean_dec(x_10); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_37); +lean_dec(x_24); +lean_dec(x_15); lean_dec(x_10); lean_dec(x_8); -lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_18); -if (x_44 == 0) -{ -return x_18; +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_38); +return x_46; +} +} } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_18, 0); -x_46 = lean_ctor_get(x_18, 1); -lean_inc(x_46); -lean_inc(x_45); +uint8_t x_47; lean_dec(x_18); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} -else -{ -uint8_t x_48; -lean_dec(x_11); +lean_dec(x_15); lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); @@ -1921,23 +1898,87 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_13); -if (x_48 == 0) +x_47 = !lean_is_exclusive(x_21); +if (x_47 == 0) +{ +return x_21; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_21, 0); +x_49 = lean_ctor_get(x_21, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_21); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_51 = !lean_is_exclusive(x_17); +if (x_51 == 0) +{ +return x_17; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_17, 0); +x_53 = lean_ctor_get(x_17, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_17); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_13); +if (x_55 == 0) { return x_13; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_13, 0); -x_50 = lean_ctor_get(x_13, 1); -lean_inc(x_50); -lean_inc(x_49); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_13, 0); +x_57 = lean_ctor_get(x_13, 1); +lean_inc(x_57); +lean_inc(x_56); lean_dec(x_13); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } @@ -2025,7 +2066,7 @@ lean_dec(x_1); x_15 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_15, 0, x_2); x_16 = 1; -x_17 = l_Lean_Elab_Term_elabTermAux___main(x_15, x_16, x_14, x_3, x_4); +x_17 = l_Lean_Elab_Term_elabTerm(x_14, x_15, x_16, x_3, x_4); return x_17; } } diff --git a/stage0/stdlib/Init/Lean/Elab/DoNotation.c b/stage0/stdlib/Init/Lean/Elab/DoNotation.c index 3cda492138..8d79b7f6ba 100644 --- a/stage0/stdlib/Init/Lean/Elab/DoNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/DoNotation.c @@ -72,6 +72,7 @@ extern lean_object* l_Lean_Expr_Inhabited___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevel(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_DoNotation_12__processDoElems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6; @@ -82,7 +83,6 @@ extern lean_object* l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux__ lean_object* l_Array_back___at___private_Init_Lean_Elab_DoNotation_10__mkBind___spec__1___boxed(lean_object*); extern lean_object* l___private_Init_Lean_Elab_Binders_10__expandFunBindersAux___main___closed__2; extern lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__11; extern lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4670,7 +4670,7 @@ lean_ctor_set(x_34, 0, x_4); x_35 = 1; lean_inc(x_7); lean_inc(x_34); -x_36 = l_Lean_Elab_Term_elabTermAux___main(x_34, x_35, x_33, x_7, x_8); +x_36 = l_Lean_Elab_Term_elabTerm(x_33, x_34, x_35, x_7, x_8); if (lean_obj_tag(x_36) == 0) { lean_object* x_37; lean_object* x_38; lean_object* x_39; @@ -4791,9 +4791,9 @@ x_65 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_65, 0, x_64); x_66 = 1; lean_inc(x_7); -lean_inc(x_60); lean_inc(x_65); -x_67 = l_Lean_Elab_Term_elabTermAux___main(x_65, x_66, x_60, x_7, x_63); +lean_inc(x_60); +x_67 = l_Lean_Elab_Term_elabTerm(x_60, x_65, x_66, x_7, x_63); if (lean_obj_tag(x_67) == 0) { lean_object* x_68; lean_object* x_69; lean_object* x_70; @@ -5302,7 +5302,7 @@ lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); lean_ctor_set(x_3, 8, x_62); x_63 = 1; -x_64 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_63, x_58, x_3, x_49); +x_64 = l_Lean_Elab_Term_elabTerm(x_58, x_2, x_63, x_3, x_49); return x_64; } else @@ -5354,7 +5354,7 @@ lean_ctor_set_uint8(x_80, sizeof(void*)*10, x_75); lean_ctor_set_uint8(x_80, sizeof(void*)*10 + 1, x_76); lean_ctor_set_uint8(x_80, sizeof(void*)*10 + 2, x_77); x_81 = 1; -x_82 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_81, x_58, x_80, x_49); +x_82 = l_Lean_Elab_Term_elabTerm(x_58, x_2, x_81, x_80, x_49); return x_82; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Match.c b/stage0/stdlib/Init/Lean/Elab/Match.c index be095288ec..cf9a7c4217 100644 --- a/stage0/stdlib/Init/Lean/Elab/Match.c +++ b/stage0/stdlib/Init/Lean/Elab/Match.c @@ -24,14 +24,14 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMatch___closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*); extern lean_object* l_Lean_mkTermIdFromIdent___closed__2; -extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; +extern uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Match_1__expandSimpleMatch___closed__1; lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMatch___closed__2; +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Match_1__expandSimpleMatch___closed__3; -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*); uint8_t l_coeDecidableEq(uint8_t); @@ -164,7 +164,7 @@ lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); lean_ctor_set(x_6, 8, x_32); x_33 = 1; -x_34 = l_Lean_Elab_Term_elabTermAux___main(x_5, x_33, x_28, x_6, x_11); +x_34 = l_Lean_Elab_Term_elabTerm(x_28, x_5, x_33, x_6, x_11); return x_34; } else @@ -216,7 +216,7 @@ lean_ctor_set_uint8(x_50, sizeof(void*)*10, x_45); lean_ctor_set_uint8(x_50, sizeof(void*)*10 + 1, x_46); lean_ctor_set_uint8(x_50, sizeof(void*)*10 + 2, x_47); x_51 = 1; -x_52 = l_Lean_Elab_Term_elabTermAux___main(x_5, x_51, x_28, x_50, x_11); +x_52 = l_Lean_Elab_Term_elabTerm(x_28, x_5, x_51, x_50, x_11); return x_52; } } @@ -301,7 +301,7 @@ lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); lean_ctor_set(x_7, 8, x_40); x_41 = 1; -x_42 = l_Lean_Elab_Term_elabTermAux___main(x_6, x_41, x_36, x_7, x_12); +x_42 = l_Lean_Elab_Term_elabTerm(x_36, x_6, x_41, x_7, x_12); return x_42; } else @@ -353,7 +353,7 @@ lean_ctor_set_uint8(x_58, sizeof(void*)*10, x_53); lean_ctor_set_uint8(x_58, sizeof(void*)*10 + 1, x_54); lean_ctor_set_uint8(x_58, sizeof(void*)*10 + 2, x_55); x_59 = 1; -x_60 = l_Lean_Elab_Term_elabTermAux___main(x_6, x_59, x_36, x_58, x_12); +x_60 = l_Lean_Elab_Term_elabTerm(x_36, x_6, x_59, x_58, x_12); return x_60; } } @@ -769,7 +769,7 @@ if (x_54 == 0) { uint8_t x_55; lean_dec(x_52); -x_55 = l_Lean_Elab_Term_elabParen___closed__4; +x_55 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_55 == 0) { lean_object* x_56; @@ -1064,7 +1064,7 @@ if (x_127 == 0) { uint8_t x_128; lean_dec(x_126); -x_128 = l_Lean_Elab_Term_elabParen___closed__4; +x_128 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_128 == 0) { lean_object* x_129; @@ -1395,7 +1395,7 @@ if (x_215 == 0) { uint8_t x_216; lean_dec(x_214); -x_216 = l_Lean_Elab_Term_elabParen___closed__4; +x_216 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_216 == 0) { lean_object* x_217; @@ -1683,7 +1683,7 @@ if (x_285 == 0) { uint8_t x_286; lean_dec(x_284); -x_286 = l_Lean_Elab_Term_elabParen___closed__4; +x_286 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_286 == 0) { lean_object* x_287; diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index c46acc2420..78164f5fc5 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -134,6 +134,7 @@ lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_Inhabited___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_Inhabited___closed__2; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__23; +extern lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7; extern lean_object* l_Lean_Parser_Term_num___elambda__1___closed__1; lean_object* l_List_range(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___lambda__1___closed__2; @@ -176,7 +177,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__2___ extern lean_object* l_Nat_HasOfNat___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_elabParen___closed__5; lean_object* l_Lean_Elab_Term_Quotation_oldExpandMatchSyntax___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__8; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main(lean_object*); @@ -200,6 +200,7 @@ lean_object* l_List_head_x21___at___private_Init_Lean_Elab_Quotation_9__compileS extern lean_object* l_Lean_mkTermIdFromIdent___closed__2; lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMData(lean_object*, lean_object*); +extern uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__19; lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_14__oldRunTermElabM___rarg___closed__3; @@ -220,7 +221,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed extern lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___elambda__1___closed__1; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); -extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; +extern lean_object* l_Lean_Elab_Term_elabParen___closed__4; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__8___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_Quotation_elabStxQuot___closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); @@ -262,7 +263,6 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; lean_object* l_Lean_Elab_Term_Quotation_isAntiquotSplice___boxed(lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__1; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___closed__4; @@ -821,7 +821,7 @@ x_7 = lean_apply_1(x_2, x_5); x_8 = l_Lean_mkAppStx___closed__9; x_9 = lean_array_push(x_8, x_6); x_10 = lean_array_push(x_9, x_7); -x_11 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7; +x_11 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7; x_12 = l_Lean_mkCAppStx(x_11, x_10); return x_12; } @@ -2014,7 +2014,7 @@ x_9 = l___private_Init_Lean_Elab_Quotation_2__quoteList___main___at___private_In x_10 = l_Lean_mkAppStx___closed__9; x_11 = lean_array_push(x_10, x_8); x_12 = lean_array_push(x_11, x_9); -x_13 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7; +x_13 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7; x_14 = l_Lean_mkCAppStx(x_13, x_12); x_15 = lean_array_push(x_10, x_14); x_16 = lean_array_push(x_15, x_5); @@ -5846,7 +5846,7 @@ x_68 = l_Lean_Syntax_isOfKind(x_66, x_67); if (x_68 == 0) { uint8_t x_69; -x_69 = l_Lean_Elab_Term_elabParen___closed__4; +x_69 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_69 == 0) { lean_dec(x_66); @@ -5923,7 +5923,7 @@ if (x_86 == 0) { uint8_t x_87; lean_dec(x_85); -x_87 = l_Lean_Elab_Term_elabParen___closed__4; +x_87 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_87 == 0) { lean_dec(x_84); @@ -11195,7 +11195,7 @@ if (x_31 == 0) { uint8_t x_32; lean_dec(x_29); -x_32 = l_Lean_Elab_Term_elabParen___closed__4; +x_32 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_32 == 0) { lean_object* x_33; uint8_t x_34; @@ -15308,7 +15308,7 @@ lean_dec(x_142); lean_dec(x_2); x_148 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_149 = lean_name_mk_string(x_27, x_148); -x_150 = l_Lean_Elab_Term_elabParen___closed__5; +x_150 = l_Lean_Elab_Term_elabParen___closed__4; x_151 = lean_name_mk_string(x_149, x_150); x_152 = lean_box(0); x_153 = l_Lean_mkConst(x_151, x_152); @@ -17748,7 +17748,7 @@ lean_dec(x_842); lean_dec(x_2); x_848 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_849 = lean_name_mk_string(x_27, x_848); -x_850 = l_Lean_Elab_Term_elabParen___closed__5; +x_850 = l_Lean_Elab_Term_elabParen___closed__4; x_851 = lean_name_mk_string(x_849, x_850); x_852 = lean_box(0); x_853 = l_Lean_mkConst(x_851, x_852); @@ -19604,7 +19604,7 @@ lean_dec(x_1352); lean_dec(x_2); x_1358 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_1359 = lean_name_mk_string(x_27, x_1358); -x_1360 = l_Lean_Elab_Term_elabParen___closed__5; +x_1360 = l_Lean_Elab_Term_elabParen___closed__4; x_1361 = lean_name_mk_string(x_1359, x_1360); x_1362 = lean_box(0); x_1363 = l_Lean_mkConst(x_1361, x_1362); @@ -21493,7 +21493,7 @@ lean_dec(x_1868); lean_dec(x_2); x_1874 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_1875 = lean_name_mk_string(x_27, x_1874); -x_1876 = l_Lean_Elab_Term_elabParen___closed__5; +x_1876 = l_Lean_Elab_Term_elabParen___closed__4; x_1877 = lean_name_mk_string(x_1875, x_1876); x_1878 = lean_box(0); x_1879 = l_Lean_mkConst(x_1877, x_1878); @@ -23414,7 +23414,7 @@ lean_dec(x_2391); lean_dec(x_2); x_2397 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; x_2398 = lean_name_mk_string(x_27, x_2397); -x_2399 = l_Lean_Elab_Term_elabParen___closed__5; +x_2399 = l_Lean_Elab_Term_elabParen___closed__4; x_2400 = lean_name_mk_string(x_2398, x_2399); x_2401 = lean_box(0); x_2402 = l_Lean_mkConst(x_2400, x_2401); diff --git a/stage0/stdlib/Init/Lean/Elab/StructInst.c b/stage0/stdlib/Init/Lean/Elab/StructInst.c index 12f7e7a827..6c201f9da3 100644 --- a/stage0/stdlib/Init/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Init/Lean/Elab/StructInst.c @@ -153,6 +153,7 @@ lean_object* l_Lean_Elab_Term_StructInst_Field_isSimple(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_fields___boxed(lean_object*); lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_FieldLHS_toSyntax(uint8_t, lean_object*); +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_StructInst_4__elabModifyOp___closed__2; lean_object* l___private_Init_Lean_Elab_StructInst_13__isSimpleField_x3f___boxed(lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__5; @@ -172,7 +173,6 @@ lean_object* l___private_Init_Lean_Elab_StructInst_14__getFieldIdx___closed__1; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_Field_toSyntax___spec__1(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__2; size_t l_Lean_Name_hash(lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); lean_object* l___private_Init_Lean_Elab_StructInst_14__getFieldIdx___closed__2; lean_object* l_List_head_x21___at___private_Init_Lean_Elab_StructInst_18__expandStruct___main___spec__5(lean_object*); @@ -14710,7 +14710,7 @@ lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); lean_ctor_set(x_3, 8, x_35); x_36 = 1; -x_37 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_36, x_31, x_3, x_30); +x_37 = l_Lean_Elab_Term_elabTerm(x_31, x_2, x_36, x_3, x_30); return x_37; } else @@ -14762,7 +14762,7 @@ lean_ctor_set_uint8(x_53, sizeof(void*)*10, x_48); lean_ctor_set_uint8(x_53, sizeof(void*)*10 + 1, x_49); lean_ctor_set_uint8(x_53, sizeof(void*)*10 + 2, x_50); x_54 = 1; -x_55 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_54, x_31, x_53, x_30); +x_55 = l_Lean_Elab_Term_elabTerm(x_31, x_2, x_54, x_53, x_30); return x_55; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Syntax.c b/stage0/stdlib/Init/Lean/Elab/Syntax.c index ffee162ed8..4f16d27253 100644 --- a/stage0/stdlib/Init/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Init/Lean/Elab/Syntax.c @@ -181,6 +181,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__16; extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; extern lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__49; +extern uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__105; extern lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Syntax_7__antiquote___main(lean_object*, lean_object*); @@ -195,7 +196,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__100; lean_object* l_Lean_Elab_Term_checkLeftRec___closed__4; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__53; lean_object* l_Lean_Elab_Command_expandMacroHeadIntoPattern(lean_object*, lean_object*, lean_object*); -extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__42; @@ -10846,7 +10846,7 @@ x_8 = l_Lean_Syntax_isOfKind(x_6, x_7); if (x_8 == 0) { uint8_t x_9; -x_9 = l_Lean_Elab_Term_elabParen___closed__4; +x_9 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_9 == 0) { lean_object* x_10; lean_object* x_11; @@ -11818,7 +11818,7 @@ if (x_18 == 0) { uint8_t x_21; lean_dec(x_16); -x_21 = l_Lean_Elab_Term_elabParen___closed__4; +x_21 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_21 == 0) { lean_object* x_22; lean_object* x_23; @@ -11965,7 +11965,7 @@ if (x_63 == 0) { uint8_t x_66; lean_dec(x_62); -x_66 = l_Lean_Elab_Term_elabParen___closed__4; +x_66 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_66 == 0) { lean_object* x_67; lean_object* x_68; @@ -12621,7 +12621,7 @@ if (x_44 == 0) { uint8_t x_45; lean_dec(x_27); -x_45 = l_Lean_Elab_Term_elabParen___closed__4; +x_45 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_45 == 0) { lean_dec(x_15); diff --git a/stage0/stdlib/Init/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Init/Lean/Elab/SyntheticMVars.c index 4d7a5a2002..b862ca633d 100644 --- a/stage0/stdlib/Init/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Init/Lean/Elab/SyntheticMVars.c @@ -56,6 +56,7 @@ lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg(lean lean_object* l___private_Init_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SyntheticMVars_2__resumePostponed___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__8; +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_List_forM___main___at___private_Init_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___closed__4; lean_object* l___private_Init_Lean_Elab_SyntheticMVars_6__synthesizeSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -66,7 +67,6 @@ lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SyntheticMVars_10__getSomeSynthethicMVarsRef___rarg___lambda__1___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SyntheticMVars_4__synthesizePendingCoeInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___main___at___private_Init_Lean_Elab_SyntheticMVars_9__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SyntheticMVars_7__synthesizeSyntheticMVarsStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1432,7 +1432,7 @@ if (x_7 == 0) uint8_t x_8; lean_object* x_9; x_8 = 0; lean_ctor_set_uint8(x_4, sizeof(void*)*10 + 1, x_8); -x_9 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_8, x_1, x_4, x_5); +x_9 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_8, x_4, x_5); return x_9; } else @@ -1476,7 +1476,7 @@ lean_ctor_set(x_23, 9, x_19); lean_ctor_set_uint8(x_23, sizeof(void*)*10, x_20); lean_ctor_set_uint8(x_23, sizeof(void*)*10 + 1, x_22); lean_ctor_set_uint8(x_23, sizeof(void*)*10 + 2, x_21); -x_24 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_22, x_1, x_23, x_5); +x_24 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_22, x_23, x_5); return x_24; } } @@ -1489,7 +1489,7 @@ if (x_25 == 0) uint8_t x_26; lean_object* x_27; lean_ctor_set_uint8(x_4, sizeof(void*)*10 + 1, x_3); x_26 = 0; -x_27 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_26, x_1, x_4, x_5); +x_27 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_26, x_4, x_5); return x_27; } else @@ -1533,7 +1533,7 @@ lean_ctor_set_uint8(x_40, sizeof(void*)*10, x_38); lean_ctor_set_uint8(x_40, sizeof(void*)*10 + 1, x_3); lean_ctor_set_uint8(x_40, sizeof(void*)*10 + 2, x_39); x_41 = 0; -x_42 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_41, x_1, x_40, x_5); +x_42 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_41, x_40, x_5); return x_42; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c index b3cce1ed67..35326f4b8d 100644 --- a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c @@ -144,6 +144,7 @@ lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__2; lean_object* l___private_Init_Lean_Elab_Tactic_Basic_3__getIntrosSize(lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___closed__3; extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; +extern uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; lean_object* l_Lean_Meta_intro(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -158,7 +159,6 @@ extern lean_object* l_Lean_Meta_dbgTrace___rarg___closed__1; extern lean_object* l___private_Init_Lean_Elab_Term_10__elabTermUsing___main___closed__3; lean_object* l_List_findM_x3f___main___at_Lean_Elab_Tactic_evalCase___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__2; -extern uint8_t l_Lean_Elab_Term_elabParen___closed__4; extern lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l_Lean_Elab_Tactic_evalCase(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__1___boxed(lean_object*, lean_object*); @@ -14267,7 +14267,7 @@ if (x_12 == 0) if (x_10 == 0) { uint8_t x_13; -x_13 = l_Lean_Elab_Term_elabParen___closed__4; +x_13 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_13 == 0) { lean_object* x_14; @@ -15699,7 +15699,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l_Lean_Elab_Term_elabParen___closed__4; +x_6 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_6 == 0) { lean_object* x_7; @@ -15809,7 +15809,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l_Lean_Elab_Term_elabParen___closed__4; +x_6 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_6 == 0) { lean_object* x_7; @@ -16476,7 +16476,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l_Lean_Elab_Term_elabParen___closed__4; +x_6 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_6 == 0) { lean_object* x_7; diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Init/Lean/Elab/Tactic/ElabTerm.c index b680ad973e..e30e065f22 100644 --- a/stage0/stdlib/Init/Lean/Elab/Tactic/ElabTerm.c +++ b/stage0/stdlib/Init/Lean/Elab/Tactic/ElabTerm.c @@ -30,9 +30,9 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine___closed__3; lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; +lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_apply___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalApply___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRefine(lean_object*); lean_object* l_Lean_Elab_Tactic_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalApply(lean_object*); @@ -83,8 +83,8 @@ x_7 = 0; lean_ctor_set_uint8(x_4, sizeof(void*)*10 + 1, x_7); x_8 = 1; lean_inc(x_4); -lean_inc(x_2); -x_9 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_8, x_2, x_4, x_5); +lean_inc(x_1); +x_9 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_8, x_4, x_5); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -102,8 +102,8 @@ lean_object* x_14; lean_object* x_15; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_Elab_Term_instantiateMVars(x_2, x_10, x_4, x_14); -lean_dec(x_2); +x_15 = l_Lean_Elab_Term_instantiateMVars(x_1, x_10, x_4, x_14); +lean_dec(x_1); return x_15; } else @@ -111,7 +111,7 @@ else uint8_t x_16; lean_dec(x_10); lean_dec(x_4); -lean_dec(x_2); +lean_dec(x_1); x_16 = !lean_is_exclusive(x_13); if (x_16 == 0) { @@ -136,7 +136,7 @@ else { uint8_t x_20; lean_dec(x_4); -lean_dec(x_2); +lean_dec(x_1); x_20 = !lean_is_exclusive(x_9); if (x_20 == 0) { @@ -200,8 +200,8 @@ lean_ctor_set_uint8(x_37, sizeof(void*)*10 + 1, x_36); lean_ctor_set_uint8(x_37, sizeof(void*)*10 + 2, x_35); x_38 = 1; lean_inc(x_37); -lean_inc(x_2); -x_39 = l_Lean_Elab_Term_elabTermAux___main(x_1, x_38, x_2, x_37, x_5); +lean_inc(x_1); +x_39 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_38, x_37, x_5); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; @@ -219,8 +219,8 @@ lean_object* x_44; lean_object* x_45; x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); -x_45 = l_Lean_Elab_Term_instantiateMVars(x_2, x_40, x_37, x_44); -lean_dec(x_2); +x_45 = l_Lean_Elab_Term_instantiateMVars(x_1, x_40, x_37, x_44); +lean_dec(x_1); return x_45; } else @@ -228,7 +228,7 @@ else lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_dec(x_40); lean_dec(x_37); -lean_dec(x_2); +lean_dec(x_1); x_46 = lean_ctor_get(x_43, 0); lean_inc(x_46); x_47 = lean_ctor_get(x_43, 1); @@ -255,7 +255,7 @@ else { lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec(x_37); -lean_dec(x_2); +lean_dec(x_1); x_50 = lean_ctor_get(x_39, 0); lean_inc(x_50); x_51 = lean_ctor_get(x_39, 1); @@ -286,8 +286,8 @@ _start: lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_box(x_3); x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabTerm___lambda__1___boxed), 5, 3); -lean_closure_set(x_7, 0, x_2); -lean_closure_set(x_7, 1, x_1); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); lean_closure_set(x_7, 2, x_6); x_8 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_7, x_4, x_5); return x_8; diff --git a/stage0/stdlib/Init/Lean/Elab/Term.c b/stage0/stdlib/Init/Lean/Elab/Term.c index 77a67e2e75..6f84d96968 100644 --- a/stage0/stdlib/Init/Lean/Elab/Term.c +++ b/stage0/stdlib/Init/Lean/Elab/Term.c @@ -14,43 +14,43 @@ extern "C" { #endif lean_object* l_Lean_Elab_mkMessage___at_Lean_Elab_Term_throwError___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__5; lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4; lean_object* l_Lean_Elab_Term_elabChar(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_isImplicitForall_x3f(lean_object*); lean_object* l_Lean_Elab_Term_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_1__mkMessageAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum___closed__1; lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__2; lean_object* l_Lean_Elab_Term_mkForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabImplicitLambdaAux___closed__2; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; lean_object* l_Lean_mkAppStx(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadQuotation; lean_object* l_Lean_Elab_Term_elabRawNumLit___closed__1; lean_object* l_Lean_extractMacroScopes(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__8; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum(lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry___main(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__5; lean_object* l___private_Init_Lean_Elab_Term_7__isMonad_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabImplicitLambdaAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1___closed__2; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__8; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabImplicitLambdaAux___closed__1; lean_object* l_Lean_Elab_Term_elabRawStrLit(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__1___closed__1; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabRawCharLit___closed__3; lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabNum___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__3; extern lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__1; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_Lean_Elab_Term_State_inhabited; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChar(lean_object*); @@ -82,7 +82,6 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2; lean_object* l_Lean_Elab_Term_tryCoeAndLift___closed__7; extern lean_object* l_IO_Prim_fopenFlags___closed__12; lean_object* l_Lean_Elab_Term_resettingSynthInstanceCacheWhen(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_17__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNamedHole___closed__2; lean_object* l_Lean_Elab_Term_monadLog___closed__3; lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); @@ -93,7 +92,6 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChar___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__3; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__4; lean_object* l_Lean_Meta_mkForall(lean_object*, lean_object*, lean_object*, lean_object*); extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; lean_object* l___private_Init_Lean_Elab_Term_8__exceptionToSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -121,7 +119,6 @@ lean_object* l_Lean_Elab_Term_elabQuotedName___boxed(lean_object*, lean_object*, lean_object* l_Lean_MacroScopesView_format(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNamedHole___closed__1; lean_object* l_Lean_Meta_Exception_toMessageData(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_15__resolveLocalName___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_mkCollisionNode___rarg___closed__1; lean_object* l_Lean_mkMVar(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawCharLit___closed__2; @@ -137,7 +134,6 @@ lean_object* l_Lean_Elab_Term_elabTypeStx___boxed(lean_object*, lean_object*, le lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__5; lean_object* lean_dbg_trace(lean_object*, lean_object*); lean_object* lean_io_mk_ref(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__6; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getEnv___boxed(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabQuotedName___closed__3; @@ -162,10 +158,12 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__13; lean_object* l_Lean_Elab_Term_decLevel(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabRawStrLit___closed__2; lean_object* l_Lean_Elab_Term_elabParen___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit___closed__1; lean_object* l_Lean_Elab_Term_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_expr_instantiate1(lean_object*, lean_object*); extern lean_object* l_Lean_Literal_type___closed__3; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -176,6 +174,7 @@ lean_object* l_Lean_Elab_Term_monadLog___closed__7; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit___closed__2; lean_object* lean_string_append(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Exception_toStr___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7; extern lean_object* l_Lean_Parser_Term_num___elambda__1___closed__1; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabListLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*); @@ -183,7 +182,6 @@ lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object*, lean_object*, le extern lean_object* l_Lean_Parser_Term_tacticBlock___elambda__1___closed__2; lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l_PersistentArray_push___rarg(lean_object*, lean_object*); -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Parser_checkStackTopFn___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_tryCoeAndLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__2; @@ -193,11 +191,14 @@ extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit(lean_object*); +lean_object* l_Lean_Elab_Term_isTypeFormer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withIncRecDepth(lean_object*); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_19__mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_16__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__3; extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwError(lean_object*); lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__1; @@ -229,10 +230,10 @@ extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_Elab_Term_resolveName___closed__5; lean_object* l_Lean_Elab_Term_mkFreshExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_LVal_hasToString(lean_object*); +lean_object* l_Lean_Elab_Term_elabImplicitLambda___main(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__7; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2; lean_object* l_Lean_Elab_Term_trace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__6; extern lean_object* l_Lean_mkAppStx___closed__8; lean_object* l_Lean_Elab_Term_elabBadCDot___closed__1; lean_object* l_Lean_Elab_Term_TermElabResult_inhabited___closed__1; @@ -246,16 +247,18 @@ lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Elab_Term_getTraceState(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNamedHole___closed__3; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_16__resolveLocalNameAux(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_10__elabTermUsing___main(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshTypeMVar(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_14__resolveLocalNameAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__1; lean_object* l_Lean_Elab_Term_withConfig(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__2; lean_object* l_Lean_Elab_Term_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabImplicitLambdaAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_whnf(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_11__isExplicit___boxed(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOptions(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -265,6 +268,7 @@ extern lean_object* l_Lean_mkTermIdFromIdent___closed__2; extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__5___closed__8; lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Term_elabParen___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM(lean_object*); +uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass(lean_object*, lean_object*, lean_object*); @@ -276,6 +280,7 @@ lean_object* l_Lean_Elab_Term_elabListLit___closed__2; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withConfig___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryCoe___closed__4; +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__2; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___boxed(lean_object*); extern lean_object* l_Lean_Meta_dbgTrace___rarg___closed__1; lean_object* l_Lean_Elab_Term_monadLog___closed__5; @@ -284,16 +289,14 @@ lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException(lean_object*, lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_10__elabTermUsing___main___closed__3; -lean_object* l___private_Init_Lean_Elab_Term_15__resolveLocalName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_Term_elabParen___closed__4; +lean_object* l_Lean_Elab_Term_elabParen___closed__4; lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_termIdToAntiquot___closed__4; lean_object* l_Lean_Elab_Term_monadLog___closed__1; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_17__mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); lean_object* l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -303,10 +306,10 @@ lean_object* l_Lean_Elab_Term_elabRawCharLit(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__3; extern lean_object* l_Lean_Expr_Inhabited___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_17__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_Term_elabTermAux___main___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMVarContext(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_17__resolveLocalName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__4; lean_object* l_Lean_Elab_Term_addContext___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*); @@ -316,6 +319,7 @@ lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr(lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMacroExpansion(lean_object*); lean_object* l_Lean_Elab_Term_getTraceState___rarg(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_19__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_State_inhabited___closed__1; extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; lean_object* l_Lean_Elab_Term_dbgTrace(lean_object*); @@ -355,18 +359,16 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen(lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__2; lean_object* l_Lean_Elab_Term_isType(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_19__mkConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabQuotedName(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7; lean_object* l_Lean_Elab_Term_TermElabM_inhabited(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_9__postponeElabTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__6; -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__3; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_17__mkConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___lambda__1___boxed(lean_object*, lean_object*); +uint8_t l___private_Init_Lean_Elab_Term_12__isExplicitApp(lean_object*); lean_object* l_Lean_Elab_Term_withTransparency___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_lift___at_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*); @@ -376,13 +378,14 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7; lean_object* l_Lean_Elab_Term_elabTacticBlock___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__4; -lean_object* l___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallUsedOnly(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__5; lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_1__mkMessageAux(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_monadQuotation___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__1; lean_object* l_Lean_Elab_Term_elabTypeStx(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__3; lean_object* l_Lean_Elab_Term_monadLog___closed__6; @@ -395,6 +398,8 @@ lean_object* l_Lean_Elab_Term_termElabAttribute___closed__3; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Elab_Term_State_inhabited___closed__2; extern lean_object* l_Char_HasRepr___closed__1; +lean_object* l_Lean_Elab_Term_elabImplicitLambda(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__6; lean_object* l_Lean_Elab_getMacros(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit___closed__3; lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; @@ -405,6 +410,7 @@ lean_object* l_Lean_Elab_Term_trySynthInstance(lean_object*, lean_object*, lean_ lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabListLit___closed__4; extern lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__2; +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__2; lean_object* l_Lean_Elab_Term_elabRawStrLit___closed__1; lean_object* l_Lean_Syntax_prettyPrint(lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter; @@ -429,6 +435,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawCharLit___closed__3; lean_object* l_Lean_Elab_Term_monadLog___lambda__2___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabTypeStx___rarg___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__4; extern lean_object* l_Lean_Elab_Exception_hasToString___closed__1; lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__3(lean_object*, size_t, lean_object*); extern lean_object* l_PersistentArray_empty___closed__3; @@ -461,8 +468,9 @@ lean_object* l_Lean_Elab_Term_mkAppM___boxed(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_Term_getCurrMacroScope___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__6; extern lean_object* l_Lean_Options_empty; -lean_object* l___private_Init_Lean_Elab_Term_18__regTraceClasses(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_20__regTraceClasses(lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_Term_4__hasCDot___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_useImplicitLambda_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__3; lean_object* l_Lean_Elab_Term_mkFreshFVarId(lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -472,6 +480,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort(lean_object*); uint8_t l_PersistentHashMap_containsAux___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__5(lean_object*, size_t, lean_object*); size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__2; +lean_object* l_Lean_Elab_Term_elabImplicitLambda___main___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftLevelM(lean_object*); @@ -498,10 +507,10 @@ lean_object* l_Lean_Elab_Level_elabLevel___boxed(lean_object*, lean_object*, lea lean_object* l_Lean_Elab_Term_addBuiltinTermElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLocalInsts(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp(lean_object*); +uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit___closed__2; lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg(lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort___closed__2; -lean_object* l_Lean_Elab_Term_isImplicitForall_x3f___boxed(lean_object*); lean_object* l_Lean_Elab_Term_isClass(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -510,14 +519,15 @@ lean_object* l_Lean_Elab_Term_withMVarContext___rarg(lean_object*, lean_object*, lean_object* l_Lean_mkFVar(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__4; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__1; lean_object* l_Lean_Elab_Term_TermElabM_inhabited___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabRawNumLit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__3; extern lean_object* l_IO_runMeta___rarg___closed__4; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3; lean_object* l___private_Init_Lean_Elab_Term_6__isTypeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__1; @@ -527,8 +537,8 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__9; lean_object* l_Lean_Elab_Term_resolveName___closed__9; lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_17__resolveLocalName___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabListLit___closed__5; -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__8; size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__2___boxed(lean_object*, lean_object*); @@ -551,6 +561,7 @@ lean_object* l_Lean_Elab_Term_getDeclName_x3f___boxed(lean_object*, lean_object* lean_object* l_Lean_Elab_Term_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_declareBuiltinMacro___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawNumLit___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__5; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__5; lean_object* l_Lean_ConstantInfo_lparams(lean_object*); @@ -563,7 +574,6 @@ extern lean_object* l_Option_HasRepr___rarg___closed__3; lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__1; @@ -571,6 +581,7 @@ extern lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__8; lean_object* l_Lean_Elab_Term_savingMCtx(lean_object*); lean_object* l_Lean_Elab_Term_Exception_inhabited; lean_object* l_Lean_Elab_Term_elabHole(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_str___elambda__1___closed__2; extern lean_object* l_Lean_Syntax_inhabited; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__2; @@ -579,11 +590,14 @@ lean_object* l_Lean_Elab_Term_liftMetaM___rarg___boxed(lean_object*, lean_object lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__4; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__7; +lean_object* l___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__5; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawStrLit___closed__1; lean_object* l___private_Init_Lean_Elab_Term_6__isTypeApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_isTypeFormer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_whnfCore___main___at_Lean_Meta_whnfCore___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__9; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabQuotedName(lean_object*); lean_object* l_Lean_Elab_Term_elabStr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__5; @@ -598,6 +612,7 @@ lean_object* l_Lean_Elab_Term_withReducible(lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_inhabited___rarg(lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__4; lean_object* l_Lean_Elab_Term_monadLog___closed__9; lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__5; @@ -605,7 +620,6 @@ lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__5(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawStrLit___closed__2; lean_object* l_Lean_Elab_Term_elabArrayLit___closed__12; -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_nameToExprAux___main(lean_object*); lean_object* l_Lean_Elab_Term_throwError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__3(lean_object*, lean_object*); @@ -614,6 +628,7 @@ lean_object* l_Lean_Elab_Term_ensureType___boxed(lean_object*, lean_object*, lea lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__2; extern lean_object* l_Bool_HasRepr___closed__2; +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__6; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__2; lean_object* l_Lean_Environment_addAndCompile(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); @@ -626,13 +641,16 @@ lean_object* l_ReaderT_bind___at_Lean_Elab_Term_monadLog___spec__2(lean_object*, lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_decLevel___closed__3; lean_object* l_Lean_Elab_Term_withTransparency___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__1; lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_evalNat___main___closed__9; +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__1; lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_savingMCtx___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_decLevel_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshFVarId___boxed(lean_object*); +lean_object* l_Lean_Elab_Term_elabImplicitLambda___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_logTrace___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNamedHole(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_throwError___spec__2(lean_object*, lean_object*, lean_object*); @@ -650,9 +668,11 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2; lean_object* l_Lean_Elab_Term_resettingSynthInstanceCacheWhen___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_logTrace___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_8__exceptionToSorry___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__8; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabQuotedName___closed__1; lean_object* l___private_Init_Lean_Elab_Term_3__fromMetaState___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isExprMVarAssigned(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_whnf___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabHole___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -667,11 +687,14 @@ lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Elab_Term_withMVarContext___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabImplicitLambda___main___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_evalNat___main___closed__7; lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Elab_Term_elabListLit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_12__isExplicitApp___boxed(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_19__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Meta_LevelDefEq_10__processPostponedStep___closed__1; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__2; lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); @@ -686,8 +709,6 @@ extern lean_object* l_Lean_TraceState_Inhabited___closed__1; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetSynthInstanceCache___rarg(lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__5; -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_13__elabCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr___closed__3; lean_object* l_Lean_Elab_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); @@ -698,9 +719,9 @@ lean_object* l_Lean_mkTermIdFrom(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__3; extern lean_object* l_Lean_mkOptionalNode___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_15__elabCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___boxed(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_decLevel___closed__4; lean_object* l___private_Init_Lean_Elab_Term_10__elabTermUsing___main___closed__1; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__12; @@ -716,6 +737,7 @@ lean_object* l_Lean_Elab_Term_addBuiltinTermElab(lean_object*, lean_object*, lea lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__7; lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr(lean_object*); +lean_object* l_Lean_Elab_Term_elabImplicitLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__3; @@ -738,12 +760,12 @@ lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lea lean_object* l_Lean_Elab_Term_withLocalDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__11; lean_object* l_Lean_Elab_Term_isDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryCoeAndLift___closed__6; lean_object* l_Lean_Elab_Term_decLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLCtx___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshLevelMVar___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setTraceState(lean_object*, lean_object*, lean_object*); @@ -755,7 +777,6 @@ lean_object* l_Lean_Elab_Term_monadQuotation___closed__3; lean_object* l_Lean_Elab_Term_tryCoeAndLift___closed__3; lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__4; extern lean_object* l_Lean_MetavarContext_Inhabited___closed__1; lean_object* l_Lean_Elab_Term_elabTacticBlock(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; @@ -787,10 +808,8 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__1; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__1; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Term_elabRawCharLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__9; lean_object* l_Lean_Elab_Term_isType___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_14__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_builtinTermElabTable; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__2; @@ -799,6 +818,7 @@ lean_object* l_Lean_Elab_Term_getMCtx___boxed(lean_object*); lean_object* l_Lean_Elab_Term_applyResult(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; +lean_object* l_Lean_Meta_isTypeFormer(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1; lean_object* l_Lean_Elab_Term_mkTacticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -806,6 +826,7 @@ lean_object* lean_usize_to_nat(size_t); uint8_t l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__2; lean_object* l_Lean_Elab_Term_elabRawCharLit___closed__4; +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelOne; lean_object* l_ReaderT_lift___at_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_8__exceptionToSorry___closed__2; @@ -826,6 +847,7 @@ lean_object* l_Lean_Elab_Term_resolveName___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__2; lean_object* l_IO_ofExcept___at___private_Init_Lean_Elab_Util_6__ElabAttribute_add___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resettingSynthInstanceCache(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__7; lean_object* l_Lean_mkConst(lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_Inhabited___closed__1; lean_object* l_Lean_Elab_Term_registerSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -834,7 +856,6 @@ lean_object* l_Lean_Elab_Term_ensureHasTypeAux(lean_object*, lean_object*, lean_ lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__3; lean_object* lean_uint32_to_nat(uint32_t); lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3; @@ -848,6 +869,7 @@ extern lean_object* l_EStateM_MonadState___closed__2; extern lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__2; uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_Term_4__hasCDot___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOptions___boxed(lean_object*, lean_object*); +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_10__elabTermUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAux___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___closed__3; @@ -866,8 +888,6 @@ lean_object* l_Lean_Elab_Term_monadLog___closed__4; lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__7; -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__5; -lean_object* l_Lean_Elab_Term_elabParen___closed__7; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawNumLit(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__1; lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; @@ -887,7 +907,6 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__6; lean_object* l_Lean_Elab_Term_decLevel___closed__6; extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__3; -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__7; lean_object* l_Lean_Elab_Term_tryCoe___closed__3; lean_object* _init_l_Lean_Elab_Term_State_inhabited___closed__1() { _start: @@ -5385,6 +5404,174 @@ lean_dec(x_1); return x_5; } } +lean_object* l_Lean_Elab_Term_isTypeFormer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_5, 4); +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +x_9 = l_Lean_TraceState_Inhabited___closed__1; +lean_ctor_set(x_5, 4, x_9); +x_10 = l_Lean_Meta_isTypeFormer(x_2, x_8, x_5); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 1); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); +lean_ctor_set(x_10, 1, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_3); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); +lean_ctor_set(x_10, 1, x_22); +lean_ctor_set(x_10, 0, x_21); +return x_10; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_10, 0); +x_24 = lean_ctor_get(x_10, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_10); +lean_inc(x_3); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_28 = lean_ctor_get(x_5, 0); +x_29 = lean_ctor_get(x_5, 1); +x_30 = lean_ctor_get(x_5, 2); +x_31 = lean_ctor_get(x_5, 3); +x_32 = lean_ctor_get(x_5, 4); +x_33 = lean_ctor_get(x_5, 5); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_5); +x_34 = lean_ctor_get(x_3, 0); +lean_inc(x_34); +x_35 = l_Lean_TraceState_Inhabited___closed__1; +x_36 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_36, 0, x_28); +lean_ctor_set(x_36, 1, x_29); +lean_ctor_set(x_36, 2, x_30); +lean_ctor_set(x_36, 3, x_31); +lean_ctor_set(x_36, 4, x_35); +lean_ctor_set(x_36, 5, x_33); +x_37 = l_Lean_Meta_isTypeFormer(x_2, x_34, x_36); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_40 = x_37; +} else { + lean_dec_ref(x_37); + x_40 = lean_box(0); +} +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_40; +} +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_43 = lean_ctor_get(x_37, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_45 = x_37; +} else { + lean_dec_ref(x_37); + x_45 = lean_box(0); +} +lean_inc(x_3); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); +if (lean_is_scalar(x_45)) { + x_48 = lean_alloc_ctor(1, 2, 0); +} else { + x_48 = x_45; +} +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +} +lean_object* l_Lean_Elab_Term_isTypeFormer___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_Lean_Elab_Term_isTypeFormer(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l_Lean_Elab_Term_isDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -19109,60 +19296,1007 @@ x_7 = l_Lean_Elab_Term_elabTermAux(x_1, x_6, x_3, x_4, x_5); return x_7; } } -lean_object* l_Lean_Elab_Term_isImplicitForall_x3f(lean_object* x_1) { +uint8_t _init_l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1() { _start: { -if (lean_obj_tag(x_1) == 0) +uint8_t x_1; uint8_t x_2; +x_1 = 0; +x_2 = l_coeDecidableEq(x_1); +return x_2; +} +} +uint8_t _init_l___private_Init_Lean_Elab_Term_11__isExplicit___closed__2() { +_start: { -return x_1; +uint8_t x_1; +x_1 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; +if (x_1 == 0) +{ +uint8_t x_2; +x_2 = 0; +return x_2; } else { -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 0); -if (lean_obj_tag(x_2) == 7) +uint8_t x_3; +x_3 = 1; +return x_3; +} +} +} +uint8_t l___private_Init_Lean_Elab_Term_11__isExplicit(lean_object* x_1) { +_start: { -uint64_t x_3; uint8_t x_4; uint8_t x_5; -x_3 = lean_ctor_get_uint64(x_2, sizeof(void*)*3); -x_4 = (uint8_t)((x_3 << 24) >> 61); -x_5 = l_Lean_BinderInfo_isExplicit(x_4); +lean_object* x_2; uint8_t x_3; +x_2 = l_Lean_Parser_Term_explicit___elambda__1___closed__2; +lean_inc(x_1); +x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); +if (x_3 == 0) +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__2; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; +x_5 = l_Lean_Syntax_getArgs(x_1); +lean_dec(x_1); +x_6 = lean_array_get_size(x_5); +lean_dec(x_5); +x_7 = lean_unsigned_to_nat(2u); +x_8 = lean_nat_dec_eq(x_6, x_7); +lean_dec(x_6); +x_9 = l_coeDecidableEq(x_8); +if (x_9 == 0) +{ +uint8_t x_10; +x_10 = 0; +return x_10; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +} +} +lean_object* l___private_Init_Lean_Elab_Term_11__isExplicit___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Init_Lean_Elab_Term_11__isExplicit(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +uint8_t l___private_Init_Lean_Elab_Term_12__isExplicitApp(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +lean_inc(x_1); +x_2 = l_Lean_Syntax_getKind(x_1); +x_3 = l_Lean_mkAppStx___closed__8; +x_4 = lean_name_eq(x_2, x_3); +lean_dec(x_2); +if (x_4 == 0) +{ +uint8_t x_5; +lean_dec(x_1); +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_Syntax_getArg(x_1, x_6); +lean_dec(x_1); +x_8 = l___private_Init_Lean_Elab_Term_11__isExplicit(x_7); +return x_8; +} +} +} +lean_object* l___private_Init_Lean_Elab_Term_12__isExplicitApp___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Init_Lean_Elab_Term_12__isExplicitApp(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_useImplicitLambda_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +lean_inc(x_1); +x_5 = l___private_Init_Lean_Elab_Term_11__isExplicit(x_1); if (x_5 == 0) { +uint8_t x_6; lean_inc(x_1); -return x_1; -} -else +x_6 = l___private_Init_Lean_Elab_Term_12__isExplicitApp(x_1); +if (x_6 == 0) { -lean_object* x_6; -x_6 = lean_box(0); -return x_6; -} -} -else +if (lean_obj_tag(x_2) == 0) { lean_object* x_7; -x_7 = lean_box(0); +lean_dec(x_3); +lean_dec(x_1); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_2); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_2, 0); +x_10 = l_Lean_Elab_Term_whnfForall(x_1, x_9, x_3, x_4); +lean_dec(x_1); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 7) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; uint64_t x_14; uint8_t x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = lean_ctor_get_uint64(x_11, sizeof(void*)*3); +x_15 = (uint8_t)((x_14 << 24) >> 61); +x_16 = l_Lean_BinderInfo_isExplicit(x_15); +if (x_16 == 0) +{ +lean_ctor_set(x_2, 0, x_11); +lean_ctor_set(x_10, 0, x_2); +return x_10; +} +else +{ +lean_object* x_17; +lean_dec(x_11); +lean_free_object(x_2); +x_17 = lean_box(0); +lean_ctor_set(x_10, 0, x_17); +return x_10; +} +} +else +{ +lean_object* x_18; uint64_t x_19; uint8_t x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +lean_dec(x_10); +x_19 = lean_ctor_get_uint64(x_11, sizeof(void*)*3); +x_20 = (uint8_t)((x_19 << 24) >> 61); +x_21 = l_Lean_BinderInfo_isExplicit(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_ctor_set(x_2, 0, x_11); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_2); +lean_ctor_set(x_22, 1, x_18); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_11); +lean_free_object(x_2); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_18); +return x_24; +} +} +} +else +{ +uint8_t x_25; +lean_dec(x_11); +lean_free_object(x_2); +x_25 = !lean_is_exclusive(x_10); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_10, 0); +lean_dec(x_26); +x_27 = lean_box(0); +lean_ctor_set(x_10, 0, x_27); +return x_10; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_10, 1); +lean_inc(x_28); +lean_dec(x_10); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_free_object(x_2); +x_31 = !lean_is_exclusive(x_10); +if (x_31 == 0) +{ +return x_10; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_10, 0); +x_33 = lean_ctor_get(x_10, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_10); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_2, 0); +lean_inc(x_35); +lean_dec(x_2); +x_36 = l_Lean_Elab_Term_whnfForall(x_1, x_35, x_3, x_4); +lean_dec(x_1); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 7) +{ +lean_object* x_38; lean_object* x_39; uint64_t x_40; uint8_t x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_39 = x_36; +} else { + lean_dec_ref(x_36); + x_39 = lean_box(0); +} +x_40 = lean_ctor_get_uint64(x_37, sizeof(void*)*3); +x_41 = (uint8_t)((x_40 << 24) >> 61); +x_42 = l_Lean_BinderInfo_isExplicit(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_37); +if (lean_is_scalar(x_39)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_39; +} +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_38); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_37); +x_45 = lean_box(0); +if (lean_is_scalar(x_39)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_39; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_38); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_37); +x_47 = lean_ctor_get(x_36, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_48 = x_36; +} else { + lean_dec_ref(x_36); + x_48 = lean_box(0); +} +x_49 = lean_box(0); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_48; +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +return x_50; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_36, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_36, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_53 = x_36; +} else { + lean_dec_ref(x_36); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(1, 2, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_52); +return x_54; +} +} +} +} +else +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = lean_box(0); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_4); +return x_56; +} +} +else +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_57 = lean_box(0); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_4); +return x_58; +} +} +} +lean_object* _init_l_Lean_Elab_Term_elabImplicitLambdaAux___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("implicitForall"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_elabImplicitLambdaAux___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; +x_2 = l_Lean_Elab_Term_elabImplicitLambdaAux___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_elabImplicitLambdaAux(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_3); +lean_inc(x_5); +lean_inc(x_1); +x_8 = l_Lean_Elab_Term_elabTermAux___main(x_7, x_2, x_1, x_5, x_6); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +lean_inc(x_5); +x_11 = l_Lean_Elab_Term_mkLambda(x_1, x_4, x_9, x_5, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Elab_Term_getOptions(x_5, x_13); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +x_18 = l_Lean_Elab_Term_elabImplicitLambdaAux___closed__2; +x_19 = l_Lean_checkTraceOption(x_16, x_18); +lean_dec(x_16); +if (x_19 == 0) +{ +lean_dec(x_5); +lean_dec(x_1); +lean_ctor_set(x_14, 0, x_12); +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_free_object(x_14); +lean_inc(x_12); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_12); +x_21 = l_Lean_Elab_Term_logTrace(x_18, x_1, x_20, x_5, x_17); +lean_dec(x_5); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_12); +return x_21; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_ctor_get(x_14, 0); +x_27 = lean_ctor_get(x_14, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_14); +x_28 = l_Lean_Elab_Term_elabImplicitLambdaAux___closed__2; +x_29 = l_Lean_checkTraceOption(x_26, x_28); +lean_dec(x_26); +if (x_29 == 0) +{ +lean_object* x_30; +lean_dec(x_5); +lean_dec(x_1); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_12); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_inc(x_12); +x_31 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_31, 0, x_12); +x_32 = l_Lean_Elab_Term_logTrace(x_28, x_1, x_31, x_5, x_27); +lean_dec(x_5); +lean_dec(x_1); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + x_34 = x_32; +} else { + lean_dec_ref(x_32); + x_34 = lean_box(0); +} +if (lean_is_scalar(x_34)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_34; +} +lean_ctor_set(x_35, 0, x_12); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_5); +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_11); +if (x_36 == 0) +{ +return x_11; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_11, 0); +x_38 = lean_ctor_get(x_11, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_11); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_8); +if (x_40 == 0) +{ +return x_8; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_8, 0); +x_42 = lean_ctor_get(x_8, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_8); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabImplicitLambdaAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +lean_dec(x_2); +x_8 = l_Lean_Elab_Term_elabImplicitLambdaAux(x_1, x_7, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_elabImplicitLambda___main___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_expr_instantiate1(x_1, x_5); +lean_inc(x_6); +x_9 = l_Lean_Elab_Term_whnfForall(x_2, x_8, x_6, x_7); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_array_push(x_3, x_5); +x_13 = l_Lean_Elab_Term_elabImplicitLambda___main(x_2, x_4, x_10, x_12, x_6, x_11); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +lean_object* l_Lean_Elab_Term_elabImplicitLambda___main(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (lean_obj_tag(x_3) == 7) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint64_t x_10; uint8_t x_11; uint8_t x_12; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_3, 2); +lean_inc(x_9); +x_10 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); +x_11 = (uint8_t)((x_10 << 24) >> 61); +x_12 = l_Lean_BinderInfo_isExplicit(x_11); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_3); +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_6, 5); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_14, x_15); +lean_ctor_set(x_6, 5, x_16); +x_17 = !lean_is_exclusive(x_5); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_18 = lean_ctor_get(x_5, 9); +lean_dec(x_18); +lean_ctor_set(x_5, 9, x_14); +x_19 = l_Lean_Elab_Term_getMainModule___rarg(x_6); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_addMacroScope(x_20, x_7, x_23); +x_26 = lean_box(x_2); +lean_inc(x_1); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabImplicitLambda___main___lambda__1___boxed), 7, 4); +lean_closure_set(x_27, 0, x_9); +lean_closure_set(x_27, 1, x_1); +lean_closure_set(x_27, 2, x_4); +lean_closure_set(x_27, 3, x_26); +x_28 = l_Lean_Elab_Term_withLocalDecl___rarg(x_1, x_25, x_11, x_8, x_27, x_5, x_24); +lean_dec(x_1); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* 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_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_29 = lean_ctor_get(x_5, 0); +x_30 = lean_ctor_get(x_5, 1); +x_31 = lean_ctor_get(x_5, 2); +x_32 = lean_ctor_get(x_5, 3); +x_33 = lean_ctor_get(x_5, 4); +x_34 = lean_ctor_get(x_5, 5); +x_35 = lean_ctor_get(x_5, 6); +x_36 = lean_ctor_get(x_5, 7); +x_37 = lean_ctor_get(x_5, 8); +x_38 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); +x_39 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 1); +x_40 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 2); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_5); +x_41 = lean_alloc_ctor(0, 10, 3); +lean_ctor_set(x_41, 0, x_29); +lean_ctor_set(x_41, 1, x_30); +lean_ctor_set(x_41, 2, x_31); +lean_ctor_set(x_41, 3, x_32); +lean_ctor_set(x_41, 4, x_33); +lean_ctor_set(x_41, 5, x_34); +lean_ctor_set(x_41, 6, x_35); +lean_ctor_set(x_41, 7, x_36); +lean_ctor_set(x_41, 8, x_37); +lean_ctor_set(x_41, 9, x_14); +lean_ctor_set_uint8(x_41, sizeof(void*)*10, x_38); +lean_ctor_set_uint8(x_41, sizeof(void*)*10 + 1, x_39); +lean_ctor_set_uint8(x_41, sizeof(void*)*10 + 2, x_40); +x_42 = l_Lean_Elab_Term_getMainModule___rarg(x_6); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Elab_Term_getCurrMacroScope(x_41, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = l_Lean_addMacroScope(x_43, x_7, x_46); +x_49 = lean_box(x_2); +lean_inc(x_1); +x_50 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabImplicitLambda___main___lambda__1___boxed), 7, 4); +lean_closure_set(x_50, 0, x_9); +lean_closure_set(x_50, 1, x_1); +lean_closure_set(x_50, 2, x_4); +lean_closure_set(x_50, 3, x_49); +x_51 = l_Lean_Elab_Term_withLocalDecl___rarg(x_1, x_48, x_11, x_8, x_50, x_41, x_47); +lean_dec(x_1); +return x_51; +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; uint8_t x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_52 = lean_ctor_get(x_6, 0); +x_53 = lean_ctor_get(x_6, 1); +x_54 = lean_ctor_get(x_6, 2); +x_55 = lean_ctor_get(x_6, 3); +x_56 = lean_ctor_get(x_6, 4); +x_57 = lean_ctor_get(x_6, 5); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_6); +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_add(x_57, x_58); +x_60 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_60, 0, x_52); +lean_ctor_set(x_60, 1, x_53); +lean_ctor_set(x_60, 2, x_54); +lean_ctor_set(x_60, 3, x_55); +lean_ctor_set(x_60, 4, x_56); +lean_ctor_set(x_60, 5, x_59); +x_61 = lean_ctor_get(x_5, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_5, 1); +lean_inc(x_62); +x_63 = lean_ctor_get(x_5, 2); +lean_inc(x_63); +x_64 = lean_ctor_get(x_5, 3); +lean_inc(x_64); +x_65 = lean_ctor_get(x_5, 4); +lean_inc(x_65); +x_66 = lean_ctor_get(x_5, 5); +lean_inc(x_66); +x_67 = lean_ctor_get(x_5, 6); +lean_inc(x_67); +x_68 = lean_ctor_get(x_5, 7); +lean_inc(x_68); +x_69 = lean_ctor_get(x_5, 8); +lean_inc(x_69); +x_70 = lean_ctor_get_uint8(x_5, sizeof(void*)*10); +x_71 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 1); +x_72 = lean_ctor_get_uint8(x_5, sizeof(void*)*10 + 2); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + lean_ctor_release(x_5, 2); + lean_ctor_release(x_5, 3); + lean_ctor_release(x_5, 4); + lean_ctor_release(x_5, 5); + lean_ctor_release(x_5, 6); + lean_ctor_release(x_5, 7); + lean_ctor_release(x_5, 8); + lean_ctor_release(x_5, 9); + x_73 = x_5; +} else { + lean_dec_ref(x_5); + x_73 = lean_box(0); +} +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(0, 10, 3); +} else { + x_74 = x_73; +} +lean_ctor_set(x_74, 0, x_61); +lean_ctor_set(x_74, 1, x_62); +lean_ctor_set(x_74, 2, x_63); +lean_ctor_set(x_74, 3, x_64); +lean_ctor_set(x_74, 4, x_65); +lean_ctor_set(x_74, 5, x_66); +lean_ctor_set(x_74, 6, x_67); +lean_ctor_set(x_74, 7, x_68); +lean_ctor_set(x_74, 8, x_69); +lean_ctor_set(x_74, 9, x_57); +lean_ctor_set_uint8(x_74, sizeof(void*)*10, x_70); +lean_ctor_set_uint8(x_74, sizeof(void*)*10 + 1, x_71); +lean_ctor_set_uint8(x_74, sizeof(void*)*10 + 2, x_72); +x_75 = l_Lean_Elab_Term_getMainModule___rarg(x_60); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Elab_Term_getCurrMacroScope(x_74, x_77); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = l_Lean_addMacroScope(x_76, x_7, x_79); +x_82 = lean_box(x_2); +lean_inc(x_1); +x_83 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabImplicitLambda___main___lambda__1___boxed), 7, 4); +lean_closure_set(x_83, 0, x_9); +lean_closure_set(x_83, 1, x_1); +lean_closure_set(x_83, 2, x_4); +lean_closure_set(x_83, 3, x_82); +x_84 = l_Lean_Elab_Term_withLocalDecl___rarg(x_1, x_81, x_11, x_8, x_83, x_74, x_80); +lean_dec(x_1); +return x_84; +} +} +else +{ +lean_object* x_85; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_85 = l_Lean_Elab_Term_elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6); +return x_85; +} +} +else +{ +lean_object* x_86; +x_86 = l_Lean_Elab_Term_elabImplicitLambdaAux(x_1, x_2, x_3, x_4, x_5, x_6); +return x_86; +} +} +} +lean_object* l_Lean_Elab_Term_elabImplicitLambda___main___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_4); +lean_dec(x_4); +x_9 = l_Lean_Elab_Term_elabImplicitLambda___main___lambda__1(x_1, x_2, x_3, x_8, x_5, x_6, x_7); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_Term_elabImplicitLambda___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +lean_dec(x_2); +x_8 = l_Lean_Elab_Term_elabImplicitLambda___main(x_1, x_7, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_elabImplicitLambda(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_Term_elabImplicitLambda___main(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } -} -} -lean_object* l_Lean_Elab_Term_isImplicitForall_x3f___boxed(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_elabImplicitLambda___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_2; -x_2 = l_Lean_Elab_Term_isImplicitForall_x3f(x_1); -lean_dec(x_1); -return x_2; +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +lean_dec(x_2); +x_8 = l_Lean_Elab_Term_elabImplicitLambda(x_1, x_7, x_3, x_4, x_5, x_6); +return x_8; } } lean_object* l_Lean_Elab_Term_elabTerm(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_3, x_1, x_4, x_5); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_6 = l_Lean_Elab_Term_useImplicitLambda_x3f(x_1, x_2, x_4, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_3, x_1, x_4, x_8); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_10 = lean_ctor_get(x_6, 1); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +lean_dec(x_7); +x_12 = l_Array_empty___closed__1; +x_13 = l_Lean_Elab_Term_elabImplicitLambda___main(x_1, x_3, x_11, x_12, x_4, x_10); +return x_13; +} +} +else +{ +uint8_t x_14; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_14 = !lean_is_exclusive(x_6); +if (x_14 == 0) +{ return x_6; } +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_6, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_6); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} } lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: @@ -19203,7 +20337,7 @@ lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); lean_ctor_set(x_4, 8, x_12); x_13 = 1; -x_14 = l_Lean_Elab_Term_elabTermAux___main(x_3, x_13, x_7, x_4, x_8); +x_14 = l_Lean_Elab_Term_elabTerm(x_7, x_3, x_13, x_4, x_8); return x_14; } else @@ -19255,7 +20389,7 @@ lean_ctor_set_uint8(x_30, sizeof(void*)*10, x_25); lean_ctor_set_uint8(x_30, sizeof(void*)*10 + 1, x_26); lean_ctor_set_uint8(x_30, sizeof(void*)*10 + 2, x_27); x_31 = 1; -x_32 = l_Lean_Elab_Term_elabTermAux___main(x_3, x_31, x_7, x_30, x_8); +x_32 = l_Lean_Elab_Term_elabTerm(x_7, x_3, x_31, x_30, x_8); return x_32; } } @@ -21961,7 +23095,7 @@ return x_29; } } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__1() { _start: { lean_object* x_1; @@ -21969,17 +23103,17 @@ x_1 = lean_mk_string("CoeSort"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__1; +x_2 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -21989,21 +23123,21 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__3; +x_1 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__3; 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_Elab_Term_11__tryCoeSort___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__4; +x_1 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__4; x_2 = l_Lean_MessageData_ofList___closed__3; x_3 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22011,7 +23145,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__6() { _start: { lean_object* x_1; @@ -22019,17 +23153,17 @@ x_1 = lean_mk_string("coeSort"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__6; +x_2 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort(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_Elab_Term_13__tryCoeSort(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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -22071,7 +23205,7 @@ lean_ctor_set(x_18, 1, x_17); x_19 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_19, 0, x_12); lean_ctor_set(x_19, 1, x_18); -x_20 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__2; +x_20 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__2; lean_inc(x_19); x_21 = l_Lean_mkConst(x_20, x_19); x_22 = l_Lean_mkAppStx___closed__9; @@ -22150,7 +23284,7 @@ lean_dec(x_2); x_63 = lean_ctor_get(x_60, 1); lean_inc(x_63); lean_dec(x_60); -x_64 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__4; +x_64 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__4; x_65 = l_Lean_Elab_Term_throwError___rarg(x_1, x_64, x_59, x_63); x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); @@ -22172,7 +23306,7 @@ if (x_68 == 0) lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; x_69 = lean_ctor_get(x_60, 0); lean_dec(x_69); -x_70 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__7; +x_70 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__7; x_71 = l_Lean_mkConst(x_70, x_19); x_72 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; x_73 = lean_array_push(x_72, x_2); @@ -22190,7 +23324,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean x_78 = lean_ctor_get(x_60, 1); lean_inc(x_78); lean_dec(x_60); -x_79 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__7; +x_79 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__7; x_80 = l_Lean_mkConst(x_79, x_19); x_81 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; x_82 = lean_array_push(x_81, x_2); @@ -22241,7 +23375,7 @@ lean_dec(x_35); x_37 = lean_ctor_get(x_36, 4); lean_inc(x_37); lean_dec(x_36); -x_38 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__5; +x_38 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__5; x_39 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); @@ -22251,7 +23385,7 @@ return x_40; else { lean_object* x_41; lean_object* x_42; -x_41 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__4; +x_41 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__4; x_42 = l_Lean_Elab_Term_throwError___rarg(x_1, x_41, x_4, x_34); return x_42; } @@ -22259,7 +23393,7 @@ return x_42; else { lean_object* x_43; lean_object* x_44; -x_43 = l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__4; +x_43 = l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__4; x_44 = l_Lean_Elab_Term_throwError___rarg(x_1, x_43, x_4, x_34); return x_44; } @@ -22321,11 +23455,11 @@ return x_97; } } } -lean_object* l___private_Init_Lean_Elab_Term_11__tryCoeSort___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_13__tryCoeSort___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_11__tryCoeSort(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_13__tryCoeSort(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } @@ -22385,7 +23519,7 @@ lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_16, 1); lean_inc(x_19); lean_dec(x_16); -x_20 = l___private_Init_Lean_Elab_Term_11__tryCoeSort(x_1, x_10, x_2, x_3, x_19); +x_20 = l___private_Init_Lean_Elab_Term_13__tryCoeSort(x_1, x_10, x_2, x_3, x_19); return x_20; } else @@ -22544,7 +23678,7 @@ lean_ctor_set(x_8, 0, x_7); x_9 = 1; lean_inc(x_2); lean_inc(x_1); -x_10 = l_Lean_Elab_Term_elabTermAux___main(x_8, x_9, x_1, x_2, x_6); +x_10 = l_Lean_Elab_Term_elabTerm(x_1, x_8, x_9, x_2, x_6); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -23055,7 +24189,7 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__1() { _start: { lean_object* x_1; @@ -23063,22 +24197,22 @@ x_1 = lean_mk_string("Prod.mk"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__2; +x_3 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -23086,7 +24220,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__4() { _start: { lean_object* x_1; @@ -23094,17 +24228,17 @@ x_1 = lean_mk_string("Prod"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__6() { _start: { lean_object* x_1; @@ -23112,41 +24246,41 @@ x_1 = lean_mk_string("mk"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__5; -x_2 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__6; +x_1 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__5; +x_2 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__8() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7; +x_2 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__9() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__8; +x_2 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -23175,10 +24309,10 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_4, 0); lean_inc(x_14); x_15 = lean_box(0); -x_16 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7; +x_16 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7; x_17 = l_Lean_addMacroScope(x_14, x_16, x_13); -x_18 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__3; -x_19 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__9; +x_18 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__3; +x_19 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__9; x_20 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_20, 0, x_15); lean_ctor_set(x_20, 1, x_18); @@ -23210,28 +24344,28 @@ goto _start; } } } -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } } -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l___private_Init_Lean_Elab_Term_12__mkPairsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_14__mkPairsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_12__mkPairsAux(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_14__mkPairsAux(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } @@ -23245,7 +24379,7 @@ x_5 = lean_unsigned_to_nat(1u); x_6 = lean_nat_sub(x_4, x_5); lean_dec(x_4); x_7 = l_Array_back___at_Lean_Parser_checkStackTopFn___spec__1(x_1); -x_8 = l___private_Init_Lean_Elab_Term_12__mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); +x_8 = l___private_Init_Lean_Elab_Term_14__mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); return x_8; } } @@ -23258,7 +24392,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Term_13__elabCDot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_15__elabCDot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; @@ -23339,7 +24473,7 @@ if (lean_obj_tag(x_5) == 0) { uint8_t x_7; lean_object* x_8; x_7 = 1; -x_8 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_7, x_1, x_3, x_6); +x_8 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_7, x_3, x_6); return x_8; } else @@ -23362,7 +24496,7 @@ lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); lean_ctor_set(x_3, 8, x_13); x_14 = 1; -x_15 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_14, x_9, x_3, x_6); +x_15 = l_Lean_Elab_Term_elabTerm(x_9, x_2, x_14, x_3, x_6); return x_15; } else @@ -23414,7 +24548,7 @@ lean_ctor_set_uint8(x_31, sizeof(void*)*10, x_26); lean_ctor_set_uint8(x_31, sizeof(void*)*10 + 1, x_27); lean_ctor_set_uint8(x_31, sizeof(void*)*10 + 2, x_28); x_32 = 1; -x_33 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_32, x_9, x_31, x_6); +x_33 = l_Lean_Elab_Term_elabTerm(x_9, x_2, x_32, x_31, x_6); return x_33; } } @@ -23474,16 +24608,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -uint8_t _init_l_Lean_Elab_Term_elabParen___closed__4() { -_start: -{ -uint8_t x_1; uint8_t x_2; -x_1 = 0; -x_2 = l_coeDecidableEq(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_elabParen___closed__5() { +lean_object* _init_l_Lean_Elab_Term_elabParen___closed__4() { _start: { lean_object* x_1; @@ -23491,22 +24616,22 @@ x_1 = lean_mk_string("unit"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_elabParen___closed__6() { +lean_object* _init_l_Lean_Elab_Term_elabParen___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_declareBuiltinParser___closed__5; -x_2 = l_Lean_Elab_Term_elabParen___closed__5; +x_2 = l_Lean_Elab_Term_elabParen___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_elabParen___closed__7() { +lean_object* _init_l_Lean_Elab_Term_elabParen___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabParen___closed__6; +x_2 = l_Lean_Elab_Term_elabParen___closed__5; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } @@ -23554,7 +24679,7 @@ lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); lean_ctor_set(x_3, 8, x_10); x_11 = 1; -x_12 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_11, x_5, x_3, x_6); +x_12 = l_Lean_Elab_Term_elabTerm(x_5, x_2, x_11, x_3, x_6); return x_12; } else @@ -23606,7 +24731,7 @@ lean_ctor_set_uint8(x_28, sizeof(void*)*10, x_23); lean_ctor_set_uint8(x_28, sizeof(void*)*10 + 1, x_24); lean_ctor_set_uint8(x_28, sizeof(void*)*10 + 2, x_25); x_29 = 1; -x_30 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_29, x_5, x_28, x_6); +x_30 = l_Lean_Elab_Term_elabTerm(x_5, x_2, x_29, x_28, x_6); return x_30; } } @@ -23634,7 +24759,7 @@ x_158 = l_Lean_Syntax_isOfKind(x_37, x_157); if (x_158 == 0) { uint8_t x_159; -x_159 = l_Lean_Elab_Term_elabParen___closed__4; +x_159 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_159 == 0) { uint8_t x_160; @@ -23649,7 +24774,7 @@ lean_dec(x_37); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_161 = l_Lean_Elab_Term_elabParen___closed__7; +x_161 = l_Lean_Elab_Term_elabParen___closed__6; x_162 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_4); @@ -23682,7 +24807,7 @@ lean_dec(x_37); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_170 = l_Lean_Elab_Term_elabParen___closed__7; +x_170 = l_Lean_Elab_Term_elabParen___closed__6; x_171 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_171, 0, x_170); lean_ctor_set(x_171, 1, x_4); @@ -23741,7 +24866,7 @@ if (x_46 == 0) { uint8_t x_49; lean_dec(x_44); -x_49 = l_Lean_Elab_Term_elabParen___closed__4; +x_49 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_49 == 0) { lean_object* x_50; lean_object* x_51; @@ -23756,7 +24881,7 @@ else { lean_object* x_52; lean_dec(x_1); -x_52 = l___private_Init_Lean_Elab_Term_13__elabCDot(x_43, x_2, x_3, x_4); +x_52 = l___private_Init_Lean_Elab_Term_15__elabCDot(x_43, x_2, x_3, x_4); return x_52; } } @@ -23784,7 +24909,7 @@ else { lean_object* x_59; lean_dec(x_1); -x_59 = l___private_Init_Lean_Elab_Term_13__elabCDot(x_43, x_2, x_3, x_4); +x_59 = l___private_Init_Lean_Elab_Term_15__elabCDot(x_43, x_2, x_3, x_4); return x_59; } } @@ -23800,7 +24925,7 @@ x_100 = l_Lean_Syntax_isOfKind(x_60, x_99); if (x_100 == 0) { uint8_t x_101; -x_101 = l_Lean_Elab_Term_elabParen___closed__4; +x_101 = l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1; if (x_101 == 0) { lean_object* x_102; uint8_t x_103; @@ -23847,7 +24972,7 @@ x_113 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_113, 0, x_111); lean_inc(x_3); lean_inc(x_113); -x_114 = l___private_Init_Lean_Elab_Term_13__elabCDot(x_43, x_113, x_3, x_112); +x_114 = l___private_Init_Lean_Elab_Term_15__elabCDot(x_43, x_113, x_3, x_112); if (lean_obj_tag(x_114) == 0) { lean_object* x_115; lean_object* x_116; lean_object* x_117; @@ -23961,7 +25086,7 @@ x_138 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_138, 0, x_136); lean_inc(x_3); lean_inc(x_138); -x_139 = l___private_Init_Lean_Elab_Term_13__elabCDot(x_43, x_138, x_3, x_137); +x_139 = l___private_Init_Lean_Elab_Term_15__elabCDot(x_43, x_138, x_3, x_137); if (lean_obj_tag(x_139) == 0) { lean_object* x_140; lean_object* x_141; lean_object* x_142; @@ -24299,7 +25424,7 @@ lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); lean_ctor_set(x_3, 8, x_23); x_24 = 1; -x_25 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_24, x_19, x_3, x_4); +x_25 = l_Lean_Elab_Term_elabTerm(x_19, x_2, x_24, x_3, x_4); return x_25; } else @@ -24351,7 +25476,7 @@ lean_ctor_set_uint8(x_41, sizeof(void*)*10, x_36); lean_ctor_set_uint8(x_41, sizeof(void*)*10 + 1, x_37); lean_ctor_set_uint8(x_41, sizeof(void*)*10 + 2, x_38); x_42 = 1; -x_43 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_42, x_19, x_41, x_4); +x_43 = l_Lean_Elab_Term_elabTerm(x_19, x_2, x_42, x_41, x_4); return x_43; } } @@ -24653,7 +25778,7 @@ lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); lean_ctor_set(x_3, 8, x_49); x_50 = 1; -x_51 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_50, x_45, x_3, x_17); +x_51 = l_Lean_Elab_Term_elabTerm(x_45, x_2, x_50, x_3, x_17); return x_51; } else @@ -24705,7 +25830,7 @@ lean_ctor_set_uint8(x_67, sizeof(void*)*10, x_62); lean_ctor_set_uint8(x_67, sizeof(void*)*10 + 1, x_63); lean_ctor_set_uint8(x_67, sizeof(void*)*10 + 2, x_64); x_68 = 1; -x_69 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_68, x_45, x_67, x_17); +x_69 = l_Lean_Elab_Term_elabTerm(x_45, x_2, x_68, x_67, x_17); return x_69; } } @@ -24749,7 +25874,7 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Term_14__resolveLocalNameAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_16__resolveLocalNameAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -24819,15 +25944,15 @@ return x_17; } } } -lean_object* l___private_Init_Lean_Elab_Term_14__resolveLocalNameAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_16__resolveLocalNameAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Term_14__resolveLocalNameAux___main(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Elab_Term_16__resolveLocalNameAux___main(x_1, x_2, x_3); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Term_15__resolveLocalName(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_17__resolveLocalName(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -24838,7 +25963,7 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_box(0); -x_8 = l___private_Init_Lean_Elab_Term_14__resolveLocalNameAux___main(x_6, x_1, x_7); +x_8 = l___private_Init_Lean_Elab_Term_16__resolveLocalNameAux___main(x_6, x_1, x_7); lean_ctor_set(x_4, 0, x_8); return x_4; } @@ -24851,7 +25976,7 @@ lean_inc(x_10); lean_inc(x_9); lean_dec(x_4); x_11 = lean_box(0); -x_12 = l___private_Init_Lean_Elab_Term_14__resolveLocalNameAux___main(x_9, x_1, x_11); +x_12 = l___private_Init_Lean_Elab_Term_16__resolveLocalNameAux___main(x_9, x_1, x_11); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_10); @@ -24859,11 +25984,11 @@ return x_13; } } } -lean_object* l___private_Init_Lean_Elab_Term_15__resolveLocalName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_17__resolveLocalName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Term_15__resolveLocalName(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Elab_Term_17__resolveLocalName(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -24897,7 +26022,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_9, 2); lean_inc(x_10); lean_dec(x_9); -x_11 = l___private_Init_Lean_Elab_Term_15__resolveLocalName(x_10, x_3, x_4); +x_11 = l___private_Init_Lean_Elab_Term_17__resolveLocalName(x_10, x_3, x_4); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); if (lean_obj_tag(x_12) == 0) @@ -25084,7 +26209,7 @@ lean_dec(x_3); return x_6; } } -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -25123,32 +26248,32 @@ return x_16; } } } -lean_object* l___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; x_5 = lean_box(0); lean_inc(x_2); -x_6 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars___spec__1(x_1, x_2, x_2, x_5, x_3, x_4); +x_6 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars___spec__1(x_1, x_2, x_2, x_5, x_3, x_4); lean_dec(x_2); return x_6; } } -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars___spec__1(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_Elab_Term_16__mkFreshLevelMVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars___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_Elab_Term_16__mkFreshLevelMVars(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } @@ -25249,7 +26374,7 @@ lean_object* x_22; lean_object* x_23; uint8_t x_24; x_22 = lean_nat_sub(x_19, x_20); lean_dec(x_20); lean_dec(x_19); -x_23 = l___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars(x_1, x_22, x_4, x_8); +x_23 = l___private_Init_Lean_Elab_Term_18__mkFreshLevelMVars(x_1, x_22, x_4, x_8); x_24 = !lean_is_exclusive(x_23); if (x_24 == 0) { @@ -25299,7 +26424,7 @@ lean_dec(x_1); return x_6; } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_17__mkConsts___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_19__mkConsts___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_4) == 0) @@ -25517,7 +26642,7 @@ return x_48; } } } -lean_object* l___private_Init_Lean_Elab_Term_17__mkConsts(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_Elab_Term_19__mkConsts(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; @@ -25526,24 +26651,24 @@ x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); x_8 = lean_box(0); -x_9 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_17__mkConsts___spec__1(x_1, x_3, x_8, x_2, x_4, x_7); +x_9 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_19__mkConsts___spec__1(x_1, x_3, x_8, x_2, x_4, x_7); return x_9; } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_17__mkConsts___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_19__mkConsts___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_17__mkConsts___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_19__mkConsts___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Lean_Elab_Term_17__mkConsts___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_19__mkConsts___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_17__mkConsts(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_19__mkConsts(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } @@ -25637,7 +26762,7 @@ _start: { lean_object* x_7; lean_object* x_8; lean_inc(x_2); -x_7 = l___private_Init_Lean_Elab_Term_15__resolveLocalName(x_2, x_5, x_6); +x_7 = l___private_Init_Lean_Elab_Term_17__resolveLocalName(x_2, x_5, x_6); x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); if (lean_obj_tag(x_8) == 0) @@ -25651,7 +26776,7 @@ if (x_10 == 0) { lean_object* x_11; lean_dec(x_2); -x_11 = l___private_Init_Lean_Elab_Term_17__mkConsts(x_1, x_3, x_4, x_5, x_9); +x_11 = l___private_Init_Lean_Elab_Term_19__mkConsts(x_1, x_3, x_4, x_5, x_9); return x_11; } else @@ -25684,7 +26809,7 @@ if (x_22 == 0) { lean_object* x_23; lean_dec(x_2); -x_23 = l___private_Init_Lean_Elab_Term_17__mkConsts(x_1, x_21, x_4, x_5, x_20); +x_23 = l___private_Init_Lean_Elab_Term_19__mkConsts(x_1, x_21, x_4, x_5, x_20); return x_23; } else @@ -26748,7 +27873,7 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Term_18__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Term_20__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -27124,20 +28249,26 @@ l_Lean_Elab_Term_elabTermAux___main___closed__6 = _init_l_Lean_Elab_Term_elabTer lean_mark_persistent(l_Lean_Elab_Term_elabTermAux___main___closed__6); l_Lean_Elab_Term_elabTermAux___main___closed__7 = _init_l_Lean_Elab_Term_elabTermAux___main___closed__7(); lean_mark_persistent(l_Lean_Elab_Term_elabTermAux___main___closed__7); -l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__1 = _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__1); -l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__2 = _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__2); -l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__3 = _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__3); -l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__4 = _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__4); -l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__5 = _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__5); -l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__6 = _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__6); -l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__7 = _init_l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__tryCoeSort___closed__7); +l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1 = _init_l___private_Init_Lean_Elab_Term_11__isExplicit___closed__1(); +l___private_Init_Lean_Elab_Term_11__isExplicit___closed__2 = _init_l___private_Init_Lean_Elab_Term_11__isExplicit___closed__2(); +l_Lean_Elab_Term_elabImplicitLambdaAux___closed__1 = _init_l_Lean_Elab_Term_elabImplicitLambdaAux___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabImplicitLambdaAux___closed__1); +l_Lean_Elab_Term_elabImplicitLambdaAux___closed__2 = _init_l_Lean_Elab_Term_elabImplicitLambdaAux___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabImplicitLambdaAux___closed__2); +l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__1 = _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__1); +l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__2 = _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__2); +l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__3 = _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__3); +l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__4 = _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__4); +l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__5 = _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__5); +l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__6 = _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__6); +l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__7 = _init_l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_13__tryCoeSort___closed__7); l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__2(); @@ -27204,24 +28335,24 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___clo res = l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__1); -l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__2); -l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__3); -l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__4 = _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__4); -l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__5 = _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__5); -l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__6 = _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__6); -l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7 = _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__7); -l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__8 = _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__8); -l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__9 = _init_l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__mkPairsAux___main___closed__9); +l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__1); +l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__2); +l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__3); +l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__4 = _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__4); +l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__5 = _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__5); +l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__6 = _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__6); +l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7 = _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__7); +l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__8 = _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__8(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__8); +l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__9 = _init_l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__mkPairsAux___main___closed__9); l_Lean_Elab_Term_elabParen___closed__1 = _init_l_Lean_Elab_Term_elabParen___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__1); l_Lean_Elab_Term_elabParen___closed__2 = _init_l_Lean_Elab_Term_elabParen___closed__2(); @@ -27229,12 +28360,11 @@ lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__2); l_Lean_Elab_Term_elabParen___closed__3 = _init_l_Lean_Elab_Term_elabParen___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__3); l_Lean_Elab_Term_elabParen___closed__4 = _init_l_Lean_Elab_Term_elabParen___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__4); l_Lean_Elab_Term_elabParen___closed__5 = _init_l_Lean_Elab_Term_elabParen___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__5); l_Lean_Elab_Term_elabParen___closed__6 = _init_l_Lean_Elab_Term_elabParen___closed__6(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__6); -l_Lean_Elab_Term_elabParen___closed__7 = _init_l_Lean_Elab_Term_elabParen___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__7); l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2(); @@ -27420,7 +28550,7 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabQuotedName___clos res = l___regBuiltinTermElab_Lean_Elab_Term_elabQuotedName(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l___private_Init_Lean_Elab_Term_18__regTraceClasses(lean_io_mk_world()); +res = l___private_Init_Lean_Elab_Term_20__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/ExprDefEq.c b/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c index 99eec583de..a8802a68c2 100644 --- a/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c @@ -15,36 +15,33 @@ extern "C" { #endif lean_object* l_Lean_Meta_CheckAssignmentQuick_check___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f___spec__1___boxed(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_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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___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* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__9; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_9__cache___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_47__regTraceClasses(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_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox(lean_object*, lean_object*, 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___closed__1; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__2; +lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__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*); uint8_t l_AssocList_contains___main___at___private_Init_Lean_Meta_ExprDefEq_9__cache___spec__2(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__4; lean_object* l_Lean_Meta_CheckAssignment_Lean_MonadCache___closed__2; lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_CheckAssignment_assignToConstFun___spec__5(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_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__isDefEqOnFailure___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_28__unfoldBothDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__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_Basic_4__forallTelescopeReducingAuxAux___main___at_Lean_Meta_CheckAssignment_assignToConstFun___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_16__simpAssignmentArgAux(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__9; +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_25__tryHeuristic(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setIsExprDefEqAuxRef(lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__2; lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___at_Lean_Meta_CheckAssignment_assignToConstFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*); @@ -54,364 +51,366 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__8; lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_CheckAssignment_assignToConstFun___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_ExprDefEq_7__checkTypesAndAssign___closed__8; -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_Lean_Meta_checkAssignmentAux___closed__1; +lean_object* l_Array_back___at___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux___spec__1___boxed(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*); extern lean_object* l_Lean_Expr_updateMData_x21___closed__2; lean_object* l_Lean_Meta_checkAssignmentAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__unfoldComparingHeadsDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldReducibeDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_checkFVar(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_10__visit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); 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_Basic_4__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_7__checkTypesAndAssign___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_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__2; 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_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProofQuick___main(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__7; lean_object* l_Lean_Meta_checkAssignmentAux(lean_object*, lean_object*, lean_object*, uint8_t, 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*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_arrayExpr_toMessageData___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_CheckAssignment_assignToConstFun___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*); 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*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___boxed(lean_object*); uint8_t l_Lean_LocalContext_containsFVar(lean_object*, lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_liftMetaM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_4__isDefEqArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_45__isDefEqOnFailure___spec__2(lean_object*, lean_object*, lean_object*); -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_45__consumeLet___boxed(lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_12__visit(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_Basic_4__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_LocalContext_findFVar_x3f(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_24__isDefEqLeftRight___closed__2; lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__3; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__1; lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l___private_Init_Lean_Util_Trace_3__getResetTraces___at_Lean_Meta_check___spec__1___rarg(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___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__6; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApproxAux___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___closed__1; lean_object* l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isLevelDefEqAux___main___closed__5; -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; lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__2; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Meta_CheckAssignment_check___main___spec__2(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*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___boxed(lean_object*, lean_object*, lean_object*, 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___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2; lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_4__isDefEqArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_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_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_Meta_isExprDefEqAuxImpl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConst___boxed(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_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_HashMapImp_find_x3f___at___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f___spec__1(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_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*); +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___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_45__isDefEqOnFailure___spec__3(lean_object*, 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_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___private_Init_Lean_Meta_ExprDefEq_44__isDefEqOnFailure(lean_object*, 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* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___main(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_Lean_Meta_CheckAssignment_assignToConstFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_44__unstuckMVar___closed__1; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_38__etaEq___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isListLevelDefEq(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); lean_object* l_HashMapImp_expand___at___private_Init_Lean_Meta_ExprDefEq_9__cache___spec__3(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__3; 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* l___private_Init_Lean_Meta_ExprDefEq_20__isDeltaCandidate___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f___spec__2(lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_45__isDefEqOnFailure___spec__4___boxed(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__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_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_CheckAssignment_assignToConstFun___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___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_31__unfoldDefEq___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_17__processConstApprox___spec__5(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_40__isDefEqQuick___main___closed__2; lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_CheckAssignment_assignToConstFun___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_22__isListLevelDefEq(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_CheckAssignment_assignToConstFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_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*); extern lean_object* l_Lean_Meta_isTypeCorrect___closed__1; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArgAux___main(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__4; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__3; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isDelayedAssignedHead___boxed(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_Lean_Meta_isExprDefEqAuxImpl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__6; -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___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__3; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isDelayedAssignedHead(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___private_Init_Lean_Meta_ExprDefEq_36__isDelayedAssignedHead(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*); extern lean_object* l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__4; -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*); extern lean_object* l_Lean_formatEntry___closed__2; 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_13__isDefEqFOApprox___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___spec__1(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_29__unfoldComparingHeadsDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_42__isDefEqWHNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); lean_object* l___private_Init_Lean_Meta_LevelDefEq_12__processPostponed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__5; lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__2; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__3; +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_coeOfArrayExpr___closed__2; lean_object* l_Lean_Meta_isDefEqOffset(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__1; lean_object* l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__7; -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_15__processAssignmentFOApprox___main(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*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__1; lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at_Lean_Meta_CheckAssignment_assignToConstFun___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*); 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; lean_object* l_mkHashMap___at_Lean_Meta_checkAssignmentAux___spec__1(lean_object*); extern lean_object* l_PersistentArray_empty___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*); lean_object* l_Lean_Meta_isEtaUnassignedMVar___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__isDefEqWHNF___at_Lean_Meta_isExprDefEqAuxImpl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_LevelDefEq_13__restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Exception_toTraceMessageData___closed__4; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__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_15__simpAssignmentArgAux___main(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_TransparencyMode_beq(uint8_t, uint8_t); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__1; size_t lean_usize_modn(size_t, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__isSynthetic(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isLetFVar(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__3; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_39__isLetFVar(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__7; +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__5; +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_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_withNewLocalInstances___main___at_Lean_Meta_CheckAssignment_assignToConstFun___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_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkAssignment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_mkHashMapImp___rarg(lean_object*); lean_object* l___private_Init_Lean_Expr_3__getAppArgsAux___main(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__unfoldNonProjFnDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_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_43__isDefEqWHNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(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; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); -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_Lean_Expr_withAppAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__1; +lean_object* l_Array_back___at___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux___spec__1(lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); lean_object* l_AssocList_replace___main___at___private_Init_Lean_Meta_ExprDefEq_9__cache___spec__6(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_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_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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___private_Init_Lean_Meta_ExprDefEq_3__isDefEqArgsAux___main___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_17__processConstApprox___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_CheckAssignment_assignToConstFun___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_24__isDefEqLeftRight___closed__1; +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_isDelayedAssigned___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqBindingDomain___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__isSynthetic___boxed(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_7__checkTypesAndAssign___closed__10; 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_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_LocalDecl_value_x3f(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_38__isAssignable(lean_object*, lean_object*, lean_object*); +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_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_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_45__isDefEqOnFailure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__5; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__1; +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_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_45__isDefEqOnFailure___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__4; uint8_t l_Lean_MetavarKind_isSyntheticOpaque(uint8_t); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_26__unfold(lean_object*); 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___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main(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__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___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_44__unstuckMVar(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*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox(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___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_22__isDefEqLeft___closed__2; +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__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_22__isDefEqLeft___closed__4; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__unfoldReducibeDefEq___boxed(lean_object*, 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_42__isDefEqProofIrrel(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); +lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__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*); extern uint8_t l_Bool_Inhabited; lean_object* l_Lean_Meta_getConstAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet___main(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___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__2; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqProofIrrel(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__2; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__1; extern lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___at___private_Init_Lean_Meta_FunInfo_6__getFunInfoAux___spec__2___closed__1; uint8_t l_Bool_toLBool(uint8_t); lean_object* l_AssocList_foldlM___main___at___private_Init_Lean_Meta_ExprDefEq_9__cache___spec__5(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__isDefEqOnFailure(lean_object*, lean_object*, 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___private_Init_Lean_Meta_ExprDefEq_36__isDelayedAssignedHead___boxed(lean_object*, 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*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__1___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_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_11__checkAssignmentFailure___closed__3; lean_object* l_Lean_Meta_CheckAssignment_liftMetaM(lean_object*); +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_Meta_CheckAssignment_check___main(lean_object*, 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*); +uint8_t l___private_Init_Lean_Meta_ExprDefEq_28__sameHeadSymbol(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__6; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_HashMapImp_insert___at___private_Init_Lean_Meta_ExprDefEq_9__cache___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__2; 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* lean_metavar_ctx_find_decl(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__simpAssignmentArg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__isDefEqOnFailure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfImpl___main___spec__1___closed__1; 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_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_38__isAssignable___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__3; lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); -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*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__6; uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t); -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_13__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_24__isDefEqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDelayedAssigned(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*); uint8_t l_Lean_Expr_hasLooseBVars(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_14__processAssignmentFOApprox___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_Inhabited; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight(lean_object*, lean_object*, 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_ExprDefEq_34__isAssigned(lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f___spec__2___boxed(lean_object*, lean_object*); -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*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__1; lean_object* l___private_Init_Lean_Meta_ExprDefEq_9__cache(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_34__isAssigned___boxed(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_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_5__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___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__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_20__isDeltaCandidate(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___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_17__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_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Lean_Meta_ExprDefEq_39__etaEq(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_Lean_Meta_setIsExprDefEqAuxRef___closed__1; +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, 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_35__isAssigned___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__unfoldNonProjFnDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__4; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___main___boxed(lean_object*); lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_Meta_ExprDefEq_9__cache___spec__4(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_34__isDefEqDelta(lean_object*, lean_object*, 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_45__consumeLet___main___boxed(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_Lean_Meta_isReadOnlyOrSyntheticOpaqueExprMVar(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__1; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__5; +lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet(lean_object*); lean_object* l_Lean_Meta_tryL(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_5__isDefEqBindingAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l_AssocList_contains___main___at___private_Init_Lean_Meta_ExprDefEq_9__cache___spec__2___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_33__isDefEqDelta(lean_object*, lean_object*, lean_object*, lean_object*); 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_Lean_Meta_isProp(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___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__2; -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___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick(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_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_2__isDefEqArgsFirstPass(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isListLevelDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__1; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_39__etaEq___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_28__sameHeadSymbol___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__4; -lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__unfold___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateForallE_x21___closed__1; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__regTraceClasses(lean_object*); lean_object* l_Lean_Meta_CheckAssignment_getMCtx___rarg(lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_ReducibilityHints_lt(lean_object*, lean_object*); extern lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApproxAux(lean_object*, lean_object*, lean_object*, 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_26__unfold___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isLet(lean_object*); -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_40__isDefEqQuick___main___closed__7; lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*); lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__1___closed__1() { _start: @@ -9067,339 +9066,345 @@ if (x_9 == 0) lean_object* x_10; lean_inc(x_5); lean_inc(x_7); -x_10 = lean_metavar_ctx_find_decl(x_7, x_5); +x_10 = lean_metavar_ctx_get_expr_assignment(x_7, x_5); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; +lean_object* x_11; +lean_inc(x_5); +lean_inc(x_7); +x_11 = lean_metavar_ctx_find_decl(x_7, x_5); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_11 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_11, 0, x_5); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_4); -return x_12; +x_12 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_12, 0, x_5); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_4); +return x_13; } else { -uint8_t x_13; -x_13 = lean_ctor_get_uint8(x_3, sizeof(void*)*4); -if (x_13 == 0) +uint8_t x_14; +x_14 = lean_ctor_get_uint8(x_3, sizeof(void*)*4); +if (x_14 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_ctor_get(x_14, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_15 = lean_ctor_get(x_11, 0); lean_inc(x_15); -x_16 = lean_ctor_get(x_3, 2); +lean_dec(x_11); +x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 1); +x_17 = lean_ctor_get(x_3, 2); lean_inc(x_17); -x_18 = lean_ctor_get(x_3, 3); +x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_15); -x_19 = l_Lean_LocalContext_isSubPrefixOf(x_15, x_17, x_18); -lean_dec(x_18); -if (x_19 == 0) +x_19 = lean_ctor_get(x_3, 3); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_16); +x_20 = l_Lean_LocalContext_isSubPrefixOf(x_16, x_18, x_19); +lean_dec(x_19); +if (x_20 == 0) { -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_14, 3); -lean_inc(x_20); -x_21 = lean_ctor_get(x_7, 0); +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_15, 3); lean_inc(x_21); +x_22 = lean_ctor_get(x_7, 0); +lean_inc(x_22); lean_dec(x_7); -x_22 = lean_nat_dec_eq(x_20, x_21); +x_23 = lean_nat_dec_eq(x_21, x_22); +lean_dec(x_22); lean_dec(x_21); -lean_dec(x_20); -if (x_22 == 0) +if (x_23 == 0) { -lean_object* x_23; lean_object* x_24; +lean_object* x_24; lean_object* x_25; +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_23 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_23, 0, x_5); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_4); -return x_24; +x_24 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_24, 0, x_5); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_4); +return x_25; } else { -uint8_t x_25; uint8_t x_26; -x_25 = lean_ctor_get_uint8(x_14, sizeof(void*)*5); -x_26 = l_Lean_MetavarKind_isSyntheticOpaque(x_25); -if (x_26 == 0) +uint8_t x_26; uint8_t x_27; +x_26 = lean_ctor_get_uint8(x_15, sizeof(void*)*5); +x_27 = l_Lean_MetavarKind_isSyntheticOpaque(x_26); +if (x_27 == 0) { -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_ctor_get(x_3, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_27, 0); +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_3, 0); lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 1); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); lean_dec(x_28); -if (x_29 == 0) +x_30 = lean_ctor_get_uint8(x_29, sizeof(void*)*1 + 1); +lean_dec(x_29); +if (x_30 == 0) { -lean_object* x_30; +lean_object* x_31; +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_2); -lean_ctor_set(x_30, 1, x_4); -return x_30; +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_2); +lean_ctor_set(x_31, 1, x_4); +return x_31; } else { -lean_object* x_31; uint8_t x_32; -x_31 = l_Array_empty___closed__1; -lean_inc(x_17); -x_32 = l_Lean_LocalContext_isSubPrefixOf(x_17, x_15, x_31); -if (x_32 == 0) +lean_object* x_32; uint8_t x_33; +x_32 = l_Array_empty___closed__1; +lean_inc(x_18); +x_33 = l_Lean_LocalContext_isSubPrefixOf(x_18, x_16, x_32); +if (x_33 == 0) { -lean_object* x_33; +lean_object* x_34; +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_14); +lean_dec(x_15); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_2); -lean_ctor_set(x_33, 1, x_4); -return x_33; +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_4); +return x_34; } else { -lean_object* x_34; lean_object* x_35; +lean_object* x_35; lean_object* x_36; lean_dec(x_2); -x_34 = lean_ctor_get(x_14, 2); -lean_inc(x_34); -lean_dec(x_14); +x_35 = lean_ctor_get(x_15, 2); +lean_inc(x_35); +lean_dec(x_15); lean_inc(x_3); -x_35 = lean_apply_3(x_1, x_34, x_3, x_4); -if (lean_obj_tag(x_35) == 0) +x_36 = lean_apply_3(x_1, x_35, x_3, x_4); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_16, 4); +x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); -lean_dec(x_16); -x_39 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_17, x_38, x_36, x_3, x_37); +lean_dec(x_36); +x_39 = lean_ctor_get(x_17, 4); +lean_inc(x_39); +lean_dec(x_17); +x_40 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_18, x_39, x_37, x_3, x_38); lean_dec(x_3); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -x_41 = lean_ctor_get(x_40, 0); +x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); -x_42 = !lean_is_exclusive(x_39); -if (x_42 == 0) +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = !lean_is_exclusive(x_40); +if (x_43 == 0) { -lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_43 = lean_ctor_get(x_39, 0); -x_44 = lean_ctor_get(x_39, 1); -lean_dec(x_44); -x_45 = !lean_is_exclusive(x_40); -if (x_45 == 0) +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_40, 0); +x_45 = lean_ctor_get(x_40, 1); +lean_dec(x_45); +x_46 = !lean_is_exclusive(x_41); +if (x_46 == 0) { -lean_object* x_46; uint8_t x_47; -x_46 = lean_ctor_get(x_40, 0); -lean_dec(x_46); -x_47 = !lean_is_exclusive(x_41); -if (x_47 == 0) +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_41, 0); +lean_dec(x_47); +x_48 = !lean_is_exclusive(x_42); +if (x_48 == 0) { -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -x_49 = l_Lean_MetavarContext_assignExpr(x_48, x_5, x_43); -lean_ctor_set(x_41, 1, x_49); -return x_39; +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +x_50 = l_Lean_MetavarContext_assignExpr(x_49, x_5, x_44); +lean_ctor_set(x_42, 1, x_50); +return x_40; } 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; lean_object* x_56; lean_object* x_57; -x_50 = lean_ctor_get(x_41, 0); -x_51 = lean_ctor_get(x_41, 1); -x_52 = lean_ctor_get(x_41, 2); -x_53 = lean_ctor_get(x_41, 3); -x_54 = lean_ctor_get(x_41, 4); -x_55 = lean_ctor_get(x_41, 5); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_51 = lean_ctor_get(x_42, 0); +x_52 = lean_ctor_get(x_42, 1); +x_53 = lean_ctor_get(x_42, 2); +x_54 = lean_ctor_get(x_42, 3); +x_55 = lean_ctor_get(x_42, 4); +x_56 = lean_ctor_get(x_42, 5); +lean_inc(x_56); lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); lean_inc(x_52); lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_41); -lean_inc(x_43); -x_56 = l_Lean_MetavarContext_assignExpr(x_51, x_5, x_43); -x_57 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_57, 0, x_50); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set(x_57, 2, x_52); -lean_ctor_set(x_57, 3, x_53); -lean_ctor_set(x_57, 4, x_54); -lean_ctor_set(x_57, 5, x_55); -lean_ctor_set(x_40, 0, x_57); -return x_39; +lean_dec(x_42); +lean_inc(x_44); +x_57 = l_Lean_MetavarContext_assignExpr(x_52, x_5, x_44); +x_58 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_58, 0, x_51); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_53); +lean_ctor_set(x_58, 3, x_54); +lean_ctor_set(x_58, 4, x_55); +lean_ctor_set(x_58, 5, x_56); +lean_ctor_set(x_41, 0, x_58); +return x_40; } } 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; -x_58 = lean_ctor_get(x_40, 1); -lean_inc(x_58); -lean_dec(x_40); -x_59 = lean_ctor_get(x_41, 0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_59 = lean_ctor_get(x_41, 1); lean_inc(x_59); -x_60 = lean_ctor_get(x_41, 1); +lean_dec(x_41); +x_60 = lean_ctor_get(x_42, 0); lean_inc(x_60); -x_61 = lean_ctor_get(x_41, 2); +x_61 = lean_ctor_get(x_42, 1); lean_inc(x_61); -x_62 = lean_ctor_get(x_41, 3); +x_62 = lean_ctor_get(x_42, 2); lean_inc(x_62); -x_63 = lean_ctor_get(x_41, 4); +x_63 = lean_ctor_get(x_42, 3); lean_inc(x_63); -x_64 = lean_ctor_get(x_41, 5); +x_64 = lean_ctor_get(x_42, 4); lean_inc(x_64); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - lean_ctor_release(x_41, 2); - lean_ctor_release(x_41, 3); - lean_ctor_release(x_41, 4); - lean_ctor_release(x_41, 5); - x_65 = x_41; +x_65 = lean_ctor_get(x_42, 5); +lean_inc(x_65); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + lean_ctor_release(x_42, 2); + lean_ctor_release(x_42, 3); + lean_ctor_release(x_42, 4); + lean_ctor_release(x_42, 5); + x_66 = x_42; } else { - lean_dec_ref(x_41); - x_65 = lean_box(0); + lean_dec_ref(x_42); + x_66 = lean_box(0); } -lean_inc(x_43); -x_66 = l_Lean_MetavarContext_assignExpr(x_60, x_5, x_43); -if (lean_is_scalar(x_65)) { - x_67 = lean_alloc_ctor(0, 6, 0); +lean_inc(x_44); +x_67 = l_Lean_MetavarContext_assignExpr(x_61, x_5, x_44); +if (lean_is_scalar(x_66)) { + x_68 = lean_alloc_ctor(0, 6, 0); } else { - x_67 = x_65; + x_68 = x_66; } -lean_ctor_set(x_67, 0, x_59); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_61); -lean_ctor_set(x_67, 3, x_62); -lean_ctor_set(x_67, 4, x_63); -lean_ctor_set(x_67, 5, x_64); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_58); -lean_ctor_set(x_39, 1, x_68); -return x_39; +lean_ctor_set(x_68, 0, x_60); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_62); +lean_ctor_set(x_68, 3, x_63); +lean_ctor_set(x_68, 4, x_64); +lean_ctor_set(x_68, 5, x_65); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_59); +lean_ctor_set(x_40, 1, x_69); +return x_40; } } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 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_69 = lean_ctor_get(x_39, 0); -lean_inc(x_69); -lean_dec(x_39); -x_70 = lean_ctor_get(x_40, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_70 = lean_ctor_get(x_40, 0); lean_inc(x_70); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_71 = x_40; -} else { - lean_dec_ref(x_40); - x_71 = lean_box(0); -} -x_72 = lean_ctor_get(x_41, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_41, 1); -lean_inc(x_73); -x_74 = lean_ctor_get(x_41, 2); -lean_inc(x_74); -x_75 = lean_ctor_get(x_41, 3); -lean_inc(x_75); -x_76 = lean_ctor_get(x_41, 4); -lean_inc(x_76); -x_77 = lean_ctor_get(x_41, 5); -lean_inc(x_77); +lean_dec(x_40); +x_71 = lean_ctor_get(x_41, 1); +lean_inc(x_71); if (lean_is_exclusive(x_41)) { lean_ctor_release(x_41, 0); lean_ctor_release(x_41, 1); - lean_ctor_release(x_41, 2); - lean_ctor_release(x_41, 3); - lean_ctor_release(x_41, 4); - lean_ctor_release(x_41, 5); - x_78 = x_41; + x_72 = x_41; } else { lean_dec_ref(x_41); - x_78 = lean_box(0); + x_72 = lean_box(0); } -lean_inc(x_69); -x_79 = l_Lean_MetavarContext_assignExpr(x_73, x_5, x_69); -if (lean_is_scalar(x_78)) { - x_80 = lean_alloc_ctor(0, 6, 0); +x_73 = lean_ctor_get(x_42, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_42, 1); +lean_inc(x_74); +x_75 = lean_ctor_get(x_42, 2); +lean_inc(x_75); +x_76 = lean_ctor_get(x_42, 3); +lean_inc(x_76); +x_77 = lean_ctor_get(x_42, 4); +lean_inc(x_77); +x_78 = lean_ctor_get(x_42, 5); +lean_inc(x_78); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + lean_ctor_release(x_42, 2); + lean_ctor_release(x_42, 3); + lean_ctor_release(x_42, 4); + lean_ctor_release(x_42, 5); + x_79 = x_42; } else { - x_80 = x_78; + lean_dec_ref(x_42); + x_79 = lean_box(0); } -lean_ctor_set(x_80, 0, x_72); -lean_ctor_set(x_80, 1, x_79); -lean_ctor_set(x_80, 2, x_74); -lean_ctor_set(x_80, 3, x_75); -lean_ctor_set(x_80, 4, x_76); -lean_ctor_set(x_80, 5, x_77); -if (lean_is_scalar(x_71)) { - x_81 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_70); +x_80 = l_Lean_MetavarContext_assignExpr(x_74, x_5, x_70); +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(0, 6, 0); } else { - x_81 = x_71; + x_81 = x_79; } -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_70); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_69); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_ctor_set(x_81, 0, x_73); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_75); +lean_ctor_set(x_81, 3, x_76); +lean_ctor_set(x_81, 4, x_77); +lean_ctor_set(x_81, 5, x_78); +if (lean_is_scalar(x_72)) { + x_82 = lean_alloc_ctor(0, 2, 0); +} else { + x_82 = x_72; +} +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_71); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_70); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } else { -uint8_t x_83; +uint8_t x_84; +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); lean_dec(x_5); lean_dec(x_3); -x_83 = !lean_is_exclusive(x_35); -if (x_83 == 0) +x_84 = !lean_is_exclusive(x_36); +if (x_84 == 0) { -return x_35; +return x_36; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_35, 0); -x_85 = lean_ctor_get(x_35, 1); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_36, 0); +x_86 = lean_ctor_get(x_36, 1); +lean_inc(x_86); lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_35); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_dec(x_36); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } @@ -9407,70 +9412,83 @@ return x_86; } else { -lean_object* x_87; lean_object* x_88; +lean_object* x_88; lean_object* x_89; +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_87 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_87, 0, x_5); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_4); -return x_88; -} -} -} -else -{ -lean_object* x_89; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_2); +x_88 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_88, 0, x_5); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_4); return x_89; } } +} else { -lean_object* x_90; lean_object* x_91; +lean_object* x_90; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_2); +lean_ctor_set(x_90, 1, x_4); +return x_90; +} +} +else +{ +lean_object* x_91; lean_object* x_92; +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_91 = lean_box(1); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_4); +return x_92; +} +} +} +else +{ +lean_object* x_93; lean_object* x_94; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_2); +x_93 = lean_ctor_get(x_10, 0); +lean_inc(x_93); lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_90 = lean_box(1); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_4); -return x_91; -} +x_94 = lean_apply_3(x_1, x_93, x_3, x_4); +return x_94; } } else { -lean_object* x_92; lean_object* x_93; +lean_object* x_95; lean_object* x_96; lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_92 = lean_box(0); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_4); -return x_93; +x_95 = lean_box(0); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_4); +return x_96; } } } @@ -17026,335 +17044,341 @@ if (x_8 == 0) lean_object* x_9; lean_inc(x_4); lean_inc(x_6); -x_9 = lean_metavar_ctx_find_decl(x_6, x_4); +x_9 = lean_metavar_ctx_get_expr_assignment(x_6, x_4); if (lean_obj_tag(x_9) == 0) { -lean_object* x_10; lean_object* x_11; +lean_object* x_10; +lean_inc(x_4); +lean_inc(x_6); +x_10 = lean_metavar_ctx_find_decl(x_6, x_4); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_10 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_10, 0, x_4); -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_3); -return x_11; +x_11 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_11, 0, x_4); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_3); +return x_12; } else { -uint8_t x_12; -x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*4); -if (x_12 == 0) +uint8_t x_13; +x_13 = lean_ctor_get_uint8(x_2, sizeof(void*)*4); +if (x_13 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_ctor_get(x_9, 0); -lean_inc(x_13); -lean_dec(x_9); -x_14 = lean_ctor_get(x_13, 1); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = lean_ctor_get(x_10, 0); lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 2); +lean_dec(x_10); +x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 1); +x_16 = lean_ctor_get(x_2, 2); lean_inc(x_16); -x_17 = lean_ctor_get(x_2, 3); +x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_14); -x_18 = l_Lean_LocalContext_isSubPrefixOf(x_14, x_16, x_17); -lean_dec(x_17); -if (x_18 == 0) +x_18 = lean_ctor_get(x_2, 3); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_15); +x_19 = l_Lean_LocalContext_isSubPrefixOf(x_15, x_17, x_18); +lean_dec(x_18); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_13, 3); -lean_inc(x_19); -x_20 = lean_ctor_get(x_6, 0); +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_14, 3); lean_inc(x_20); +x_21 = lean_ctor_get(x_6, 0); +lean_inc(x_21); lean_dec(x_6); -x_21 = lean_nat_dec_eq(x_19, x_20); +x_22 = lean_nat_dec_eq(x_20, x_21); +lean_dec(x_21); lean_dec(x_20); -lean_dec(x_19); -if (x_21 == 0) +if (x_22 == 0) { -lean_object* x_22; lean_object* x_23; +lean_object* x_23; lean_object* x_24; +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_22 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_22, 0, x_4); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_3); -return x_23; +x_23 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_23, 0, x_4); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; } else { -uint8_t x_24; uint8_t x_25; -x_24 = lean_ctor_get_uint8(x_13, sizeof(void*)*5); -x_25 = l_Lean_MetavarKind_isSyntheticOpaque(x_24); -if (x_25 == 0) +uint8_t x_25; uint8_t x_26; +x_25 = lean_ctor_get_uint8(x_14, sizeof(void*)*5); +x_26 = l_Lean_MetavarKind_isSyntheticOpaque(x_25); +if (x_26 == 0) { -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_2, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_26, 0); +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_2, 0); lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1 + 1); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); lean_dec(x_27); -if (x_28 == 0) +x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*1 + 1); +lean_dec(x_28); +if (x_29 == 0) { -lean_object* x_29; +lean_object* x_30; +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); lean_dec(x_4); lean_dec(x_2); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_1); -lean_ctor_set(x_29, 1, x_3); -return x_29; +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_1); +lean_ctor_set(x_30, 1, x_3); +return x_30; } else { -lean_object* x_30; uint8_t x_31; -x_30 = l_Array_empty___closed__1; -lean_inc(x_16); -x_31 = l_Lean_LocalContext_isSubPrefixOf(x_16, x_14, x_30); -if (x_31 == 0) +lean_object* x_31; uint8_t x_32; +x_31 = l_Array_empty___closed__1; +lean_inc(x_17); +x_32 = l_Lean_LocalContext_isSubPrefixOf(x_17, x_15, x_31); +if (x_32 == 0) { -lean_object* x_32; +lean_object* x_33; +lean_dec(x_17); lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); +lean_dec(x_14); lean_dec(x_4); lean_dec(x_2); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_1); -lean_ctor_set(x_32, 1, x_3); -return x_32; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_3); +return x_33; } else { -lean_object* x_33; lean_object* x_34; +lean_object* x_34; lean_object* x_35; lean_dec(x_1); -x_33 = lean_ctor_get(x_13, 2); -lean_inc(x_33); -lean_dec(x_13); +x_34 = lean_ctor_get(x_14, 2); +lean_inc(x_34); +lean_dec(x_14); lean_inc(x_2); -x_34 = l_Lean_Meta_CheckAssignment_check___main(x_33, x_2, x_3); -if (lean_obj_tag(x_34) == 0) +x_35 = l_Lean_Meta_CheckAssignment_check___main(x_34, x_2, x_3); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_15, 4); +x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); -lean_dec(x_15); -x_38 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_16, x_37, x_35, x_2, x_36); +lean_dec(x_35); +x_38 = lean_ctor_get(x_16, 4); +lean_inc(x_38); +lean_dec(x_16); +x_39 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_17, x_38, x_36, x_2, x_37); lean_dec(x_2); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_39, 0); +x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); -x_41 = !lean_is_exclusive(x_38); -if (x_41 == 0) +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = !lean_is_exclusive(x_39); +if (x_42 == 0) { -lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_42 = lean_ctor_get(x_38, 0); -x_43 = lean_ctor_get(x_38, 1); -lean_dec(x_43); -x_44 = !lean_is_exclusive(x_39); -if (x_44 == 0) +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_39, 0); +x_44 = lean_ctor_get(x_39, 1); +lean_dec(x_44); +x_45 = !lean_is_exclusive(x_40); +if (x_45 == 0) { -lean_object* x_45; uint8_t x_46; -x_45 = lean_ctor_get(x_39, 0); -lean_dec(x_45); -x_46 = !lean_is_exclusive(x_40); -if (x_46 == 0) +lean_object* x_46; uint8_t x_47; +x_46 = lean_ctor_get(x_40, 0); +lean_dec(x_46); +x_47 = !lean_is_exclusive(x_41); +if (x_47 == 0) { -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -x_48 = l_Lean_MetavarContext_assignExpr(x_47, x_4, x_42); -lean_ctor_set(x_40, 1, x_48); -return x_38; +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +x_49 = l_Lean_MetavarContext_assignExpr(x_48, x_4, x_43); +lean_ctor_set(x_41, 1, x_49); +return x_39; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_49 = lean_ctor_get(x_40, 0); -x_50 = lean_ctor_get(x_40, 1); -x_51 = lean_ctor_get(x_40, 2); -x_52 = lean_ctor_get(x_40, 3); -x_53 = lean_ctor_get(x_40, 4); -x_54 = lean_ctor_get(x_40, 5); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_50 = lean_ctor_get(x_41, 0); +x_51 = lean_ctor_get(x_41, 1); +x_52 = lean_ctor_get(x_41, 2); +x_53 = lean_ctor_get(x_41, 3); +x_54 = lean_ctor_get(x_41, 4); +x_55 = lean_ctor_get(x_41, 5); +lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); lean_inc(x_52); lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_40); -lean_inc(x_42); -x_55 = l_Lean_MetavarContext_assignExpr(x_50, x_4, x_42); -x_56 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_56, 0, x_49); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_51); -lean_ctor_set(x_56, 3, x_52); -lean_ctor_set(x_56, 4, x_53); -lean_ctor_set(x_56, 5, x_54); -lean_ctor_set(x_39, 0, x_56); -return x_38; +lean_dec(x_41); +lean_inc(x_43); +x_56 = l_Lean_MetavarContext_assignExpr(x_51, x_4, x_43); +x_57 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_57, 0, x_50); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_52); +lean_ctor_set(x_57, 3, x_53); +lean_ctor_set(x_57, 4, x_54); +lean_ctor_set(x_57, 5, x_55); +lean_ctor_set(x_40, 0, x_57); +return x_39; } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_57 = lean_ctor_get(x_39, 1); -lean_inc(x_57); -lean_dec(x_39); -x_58 = lean_ctor_get(x_40, 0); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_58 = lean_ctor_get(x_40, 1); lean_inc(x_58); -x_59 = lean_ctor_get(x_40, 1); +lean_dec(x_40); +x_59 = lean_ctor_get(x_41, 0); lean_inc(x_59); -x_60 = lean_ctor_get(x_40, 2); +x_60 = lean_ctor_get(x_41, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_40, 3); +x_61 = lean_ctor_get(x_41, 2); lean_inc(x_61); -x_62 = lean_ctor_get(x_40, 4); +x_62 = lean_ctor_get(x_41, 3); lean_inc(x_62); -x_63 = lean_ctor_get(x_40, 5); +x_63 = lean_ctor_get(x_41, 4); lean_inc(x_63); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - lean_ctor_release(x_40, 3); - lean_ctor_release(x_40, 4); - lean_ctor_release(x_40, 5); - x_64 = x_40; +x_64 = lean_ctor_get(x_41, 5); +lean_inc(x_64); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + lean_ctor_release(x_41, 3); + lean_ctor_release(x_41, 4); + lean_ctor_release(x_41, 5); + x_65 = x_41; } else { - lean_dec_ref(x_40); - x_64 = lean_box(0); + lean_dec_ref(x_41); + x_65 = lean_box(0); } -lean_inc(x_42); -x_65 = l_Lean_MetavarContext_assignExpr(x_59, x_4, x_42); -if (lean_is_scalar(x_64)) { - x_66 = lean_alloc_ctor(0, 6, 0); +lean_inc(x_43); +x_66 = l_Lean_MetavarContext_assignExpr(x_60, x_4, x_43); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 6, 0); } else { - x_66 = x_64; + x_67 = x_65; } -lean_ctor_set(x_66, 0, x_58); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_60); -lean_ctor_set(x_66, 3, x_61); -lean_ctor_set(x_66, 4, x_62); -lean_ctor_set(x_66, 5, x_63); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_57); -lean_ctor_set(x_38, 1, x_67); -return x_38; +lean_ctor_set(x_67, 0, x_59); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set(x_67, 2, x_61); +lean_ctor_set(x_67, 3, x_62); +lean_ctor_set(x_67, 4, x_63); +lean_ctor_set(x_67, 5, x_64); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_58); +lean_ctor_set(x_39, 1, x_68); +return x_39; } } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_68 = lean_ctor_get(x_38, 0); -lean_inc(x_68); -lean_dec(x_38); -x_69 = lean_ctor_get(x_39, 1); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_69 = lean_ctor_get(x_39, 0); lean_inc(x_69); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - x_70 = x_39; -} else { - lean_dec_ref(x_39); - x_70 = lean_box(0); -} -x_71 = lean_ctor_get(x_40, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_40, 1); -lean_inc(x_72); -x_73 = lean_ctor_get(x_40, 2); -lean_inc(x_73); -x_74 = lean_ctor_get(x_40, 3); -lean_inc(x_74); -x_75 = lean_ctor_get(x_40, 4); -lean_inc(x_75); -x_76 = lean_ctor_get(x_40, 5); -lean_inc(x_76); +lean_dec(x_39); +x_70 = lean_ctor_get(x_40, 1); +lean_inc(x_70); if (lean_is_exclusive(x_40)) { lean_ctor_release(x_40, 0); lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - lean_ctor_release(x_40, 3); - lean_ctor_release(x_40, 4); - lean_ctor_release(x_40, 5); - x_77 = x_40; + x_71 = x_40; } else { lean_dec_ref(x_40); - x_77 = lean_box(0); + x_71 = lean_box(0); } -lean_inc(x_68); -x_78 = l_Lean_MetavarContext_assignExpr(x_72, x_4, x_68); -if (lean_is_scalar(x_77)) { - x_79 = lean_alloc_ctor(0, 6, 0); +x_72 = lean_ctor_get(x_41, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_41, 1); +lean_inc(x_73); +x_74 = lean_ctor_get(x_41, 2); +lean_inc(x_74); +x_75 = lean_ctor_get(x_41, 3); +lean_inc(x_75); +x_76 = lean_ctor_get(x_41, 4); +lean_inc(x_76); +x_77 = lean_ctor_get(x_41, 5); +lean_inc(x_77); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + lean_ctor_release(x_41, 3); + lean_ctor_release(x_41, 4); + lean_ctor_release(x_41, 5); + x_78 = x_41; } else { - x_79 = x_77; + lean_dec_ref(x_41); + x_78 = lean_box(0); } -lean_ctor_set(x_79, 0, x_71); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_79, 2, x_73); -lean_ctor_set(x_79, 3, x_74); -lean_ctor_set(x_79, 4, x_75); -lean_ctor_set(x_79, 5, x_76); -if (lean_is_scalar(x_70)) { - x_80 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_69); +x_79 = l_Lean_MetavarContext_assignExpr(x_73, x_4, x_69); +if (lean_is_scalar(x_78)) { + x_80 = lean_alloc_ctor(0, 6, 0); } else { - x_80 = x_70; + x_80 = x_78; } -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_69); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_68); -lean_ctor_set(x_81, 1, x_80); -return x_81; +lean_ctor_set(x_80, 0, x_72); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_80, 2, x_74); +lean_ctor_set(x_80, 3, x_75); +lean_ctor_set(x_80, 4, x_76); +lean_ctor_set(x_80, 5, x_77); +if (lean_is_scalar(x_71)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_71; +} +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_70); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_69); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } else { -uint8_t x_82; +uint8_t x_83; +lean_dec(x_17); lean_dec(x_16); -lean_dec(x_15); lean_dec(x_4); lean_dec(x_2); -x_82 = !lean_is_exclusive(x_34); -if (x_82 == 0) +x_83 = !lean_is_exclusive(x_35); +if (x_83 == 0) { -return x_34; +return x_35; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_34, 0); -x_84 = lean_ctor_get(x_34, 1); +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_35, 0); +x_85 = lean_ctor_get(x_35, 1); +lean_inc(x_85); lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_34); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +lean_dec(x_35); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } } @@ -17362,66 +17386,79 @@ return x_85; } else { -lean_object* x_86; lean_object* x_87; +lean_object* x_87; lean_object* x_88; +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); lean_dec(x_2); lean_dec(x_1); -x_86 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_86, 0, x_4); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_3); -return x_87; -} -} -} -else -{ -lean_object* x_88; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_1); +x_87 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_87, 0, x_4); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_3); return x_88; } } +} else { -lean_object* x_89; lean_object* x_90; +lean_object* x_89; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_1); +lean_ctor_set(x_89, 1, x_3); +return x_89; +} +} +else +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_90 = lean_box(1); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_3); +return x_91; +} +} +} +else +{ +lean_object* x_92; lean_object* x_93; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +x_92 = lean_ctor_get(x_9, 0); +lean_inc(x_92); lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_89 = lean_box(1); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_3); -return x_90; -} +x_93 = l_Lean_Meta_CheckAssignment_check___main(x_92, x_2, x_3); +return x_93; } } else { -lean_object* x_91; lean_object* x_92; +lean_object* x_94; lean_object* x_95; lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_91 = lean_box(0); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_3); -return x_92; +x_94 = lean_box(0); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_3); +return x_95; } } } @@ -17616,203 +17653,203 @@ _start: switch (lean_obj_tag(x_2)) { case 0: { -lean_object* x_7; lean_object* x_8; lean_object* x_23; lean_object* x_39; lean_object* x_40; uint8_t x_95; +lean_object* x_7; lean_object* x_8; lean_object* x_23; lean_object* x_39; lean_object* x_40; uint8_t x_109; lean_dec(x_4); -x_95 = l_Lean_Expr_isMVar(x_2); -if (x_95 == 0) -{ -uint8_t x_96; -lean_dec(x_1); -x_96 = l_Lean_Expr_hasExprMVar(x_2); -if (x_96 == 0) -{ -uint8_t x_97; -x_97 = l_Lean_Expr_hasFVar(x_2); -if (x_97 == 0) -{ -x_7 = x_2; -x_8 = x_6; -goto block_22; -} -else -{ -lean_object* x_98; -x_98 = lean_box(0); -x_23 = x_98; -goto block_38; -} -} -else -{ -lean_object* x_99; -x_99 = lean_box(0); -x_23 = x_99; -goto block_38; -} -} -else -{ -lean_object* x_100; lean_object* x_101; uint8_t x_102; -x_100 = lean_ctor_get(x_5, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -lean_dec(x_100); -x_102 = lean_ctor_get_uint8(x_101, sizeof(void*)*1 + 1); -lean_dec(x_101); -if (x_102 == 0) -{ -uint8_t x_103; -lean_dec(x_1); -x_103 = l_Lean_Expr_hasExprMVar(x_2); -if (x_103 == 0) -{ -uint8_t x_104; -x_104 = l_Lean_Expr_hasFVar(x_2); -if (x_104 == 0) -{ -x_7 = x_2; -x_8 = x_6; -goto block_22; -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_23 = x_105; -goto block_38; -} -} -else -{ -lean_object* x_106; -x_106 = lean_box(0); -x_23 = x_106; -goto block_38; -} -} -else -{ -lean_object* x_107; lean_object* x_108; uint8_t x_109; -x_107 = lean_array_get_size(x_3); -x_108 = lean_unsigned_to_nat(0u); -x_109 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_107, x_108); -lean_dec(x_107); +x_109 = l_Lean_Expr_isMVar(x_2); if (x_109 == 0) { -lean_object* x_110; uint8_t x_126; -x_126 = l_Lean_Expr_hasExprMVar(x_2); -if (x_126 == 0) +uint8_t x_110; +lean_dec(x_1); +x_110 = l_Lean_Expr_hasExprMVar(x_2); +if (x_110 == 0) { -uint8_t x_127; -x_127 = l_Lean_Expr_hasFVar(x_2); -if (x_127 == 0) +uint8_t x_111; +x_111 = l_Lean_Expr_hasFVar(x_2); +if (x_111 == 0) +{ +x_7 = x_2; +x_8 = x_6; +goto block_22; +} +else +{ +lean_object* x_112; +x_112 = lean_box(0); +x_23 = x_112; +goto block_38; +} +} +else +{ +lean_object* x_113; +x_113 = lean_box(0); +x_23 = x_113; +goto block_38; +} +} +else +{ +lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_114 = lean_ctor_get(x_5, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +lean_dec(x_114); +x_116 = lean_ctor_get_uint8(x_115, sizeof(void*)*1 + 1); +lean_dec(x_115); +if (x_116 == 0) +{ +uint8_t x_117; +lean_dec(x_1); +x_117 = l_Lean_Expr_hasExprMVar(x_2); +if (x_117 == 0) +{ +uint8_t x_118; +x_118 = l_Lean_Expr_hasFVar(x_2); +if (x_118 == 0) +{ +x_7 = x_2; +x_8 = x_6; +goto block_22; +} +else +{ +lean_object* x_119; +x_119 = lean_box(0); +x_23 = x_119; +goto block_38; +} +} +else +{ +lean_object* x_120; +x_120 = lean_box(0); +x_23 = x_120; +goto block_38; +} +} +else +{ +lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_121 = lean_array_get_size(x_3); +x_122 = lean_unsigned_to_nat(0u); +x_123 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_121, x_122); +lean_dec(x_121); +if (x_123 == 0) +{ +lean_object* x_124; uint8_t x_140; +x_140 = l_Lean_Expr_hasExprMVar(x_2); +if (x_140 == 0) +{ +uint8_t x_141; +x_141 = l_Lean_Expr_hasFVar(x_2); +if (x_141 == 0) { x_39 = x_2; x_40 = x_6; -goto block_94; +goto block_108; } else { -lean_object* x_128; -x_128 = lean_box(0); -x_110 = x_128; -goto block_125; +lean_object* x_142; +x_142 = lean_box(0); +x_124 = x_142; +goto block_139; } } else { -lean_object* x_129; -x_129 = lean_box(0); -x_110 = x_129; -goto block_125; +lean_object* x_143; +x_143 = lean_box(0); +x_124 = x_143; +goto block_139; } -block_125: +block_139: { -lean_object* x_111; lean_object* x_112; -lean_dec(x_110); -x_111 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -if (lean_obj_tag(x_112) == 0) +lean_object* x_125; lean_object* x_126; +lean_dec(x_124); +x_125 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +if (lean_obj_tag(x_126) == 0) { -lean_object* x_113; lean_object* x_114; -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); -lean_dec(x_111); +lean_object* x_127; lean_object* x_128; +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); lean_inc(x_5); lean_inc(x_2); -x_114 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_113); -if (lean_obj_tag(x_114) == 0) +x_128 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_127); +if (lean_obj_tag(x_128) == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -lean_inc(x_115); -x_117 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_115, x_5, x_116); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_39 = x_115; -x_40 = x_118; -goto block_94; +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +lean_inc(x_129); +x_131 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_129, x_5, x_130); +x_132 = lean_ctor_get(x_131, 1); +lean_inc(x_132); +lean_dec(x_131); +x_39 = x_129; +x_40 = x_132; +goto block_108; } else { -uint8_t x_119; +uint8_t x_133; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_119 = !lean_is_exclusive(x_114); -if (x_119 == 0) +x_133 = !lean_is_exclusive(x_128); +if (x_133 == 0) { -return x_114; +return x_128; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_114, 0); -x_121 = lean_ctor_get(x_114, 1); -lean_inc(x_121); -lean_inc(x_120); -lean_dec(x_114); -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; +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_128, 0); +x_135 = lean_ctor_get(x_128, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_128); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; } } } else { -lean_object* x_123; lean_object* x_124; +lean_object* x_137; lean_object* x_138; lean_dec(x_2); -x_123 = lean_ctor_get(x_111, 1); -lean_inc(x_123); -lean_dec(x_111); -x_124 = lean_ctor_get(x_112, 0); -lean_inc(x_124); -lean_dec(x_112); -x_39 = x_124; -x_40 = x_123; -goto block_94; +x_137 = lean_ctor_get(x_125, 1); +lean_inc(x_137); +lean_dec(x_125); +x_138 = lean_ctor_get(x_126, 0); +lean_inc(x_138); +lean_dec(x_126); +x_39 = x_138; +x_40 = x_137; +goto block_108; } } } else { -uint8_t x_130; +uint8_t x_144; lean_dec(x_1); -x_130 = l_Lean_Expr_hasExprMVar(x_2); -if (x_130 == 0) +x_144 = l_Lean_Expr_hasExprMVar(x_2); +if (x_144 == 0) { -uint8_t x_131; -x_131 = l_Lean_Expr_hasFVar(x_2); -if (x_131 == 0) +uint8_t x_145; +x_145 = l_Lean_Expr_hasFVar(x_2); +if (x_145 == 0) { x_7 = x_2; x_8 = x_6; @@ -17820,17 +17857,17 @@ goto block_22; } else { -lean_object* x_132; -x_132 = lean_box(0); -x_23 = x_132; +lean_object* x_146; +x_146 = lean_box(0); +x_23 = x_146; goto block_38; } } else { -lean_object* x_133; -x_133 = lean_box(0); -x_23 = x_133; +lean_object* x_147; +x_147 = lean_box(0); +x_23 = x_147; goto block_38; } } @@ -17968,7 +18005,7 @@ x_8 = x_36; goto block_22; } } -block_94: +block_108: { lean_object* x_41; lean_object* x_42; x_41 = lean_unsigned_to_nat(0u); @@ -18014,216 +18051,292 @@ x_50 = lean_ctor_get(x_42, 0); lean_inc(x_50); if (lean_obj_tag(x_50) == 2) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; x_51 = lean_ctor_get(x_42, 1); lean_inc(x_51); lean_dec(x_42); -x_52 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_52, 0, x_1); +x_52 = l_Lean_Expr_mvarId_x21(x_39); +x_53 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_53, 0, x_52); lean_inc(x_5); -x_53 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_52, x_5, x_51); -if (lean_obj_tag(x_53) == 0) +x_54 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_53, x_5, x_51); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); +lean_object* x_55; uint8_t x_56; +x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); -lean_dec(x_53); -lean_inc(x_5); -x_56 = l_Lean_Meta_CheckAssignment_check___main(x_54, x_5, x_55); -if (lean_obj_tag(x_56) == 0) +x_56 = lean_unbox(x_55); +lean_dec(x_55); +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_object* x_65; lean_object* x_66; lean_object* x_67; -x_57 = lean_ctor_get(x_56, 0); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_54, 1); lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_ctor_get(x_5, 2); -lean_inc(x_59); -x_60 = lean_ctor_get(x_59, 1); +lean_dec(x_54); +x_58 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_58, 0, x_1); +lean_inc(x_5); +x_59 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_58, x_5, x_57); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 4); +x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); lean_dec(x_59); -x_62 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_60, x_61, x_57, x_5, x_58); +lean_inc(x_5); +x_62 = l_Lean_Meta_CheckAssignment_check___main(x_60, x_5, x_61); +if (lean_obj_tag(x_62) == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); lean_dec(x_62); -x_65 = lean_array_get_size(x_3); -lean_dec(x_3); -lean_inc(x_63); -x_66 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_66, 0, x_39); -lean_closure_set(x_66, 1, x_65); -lean_closure_set(x_66, 2, x_63); -x_67 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_66, x_5, x_64); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; uint8_t x_69; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_unbox(x_68); +x_65 = lean_ctor_get(x_5, 2); +lean_inc(x_65); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 4); +lean_inc(x_67); +lean_dec(x_65); +x_68 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_66, x_67, x_63, x_5, x_64); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); lean_dec(x_68); -if (x_69 == 0) +x_71 = lean_array_get_size(x_3); +lean_dec(x_3); +lean_inc(x_69); +x_72 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_72, 0, x_39); +lean_closure_set(x_72, 1, x_71); +lean_closure_set(x_72, 2, x_69); +x_73 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_72, x_5, x_70); +if (lean_obj_tag(x_73) == 0) { -uint8_t x_70; -lean_dec(x_63); -x_70 = !lean_is_exclusive(x_67); -if (x_70 == 0) +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_unbox(x_74); +lean_dec(x_74); +if (x_75 == 0) { -lean_object* x_71; -x_71 = lean_ctor_get(x_67, 0); -lean_dec(x_71); -lean_ctor_set_tag(x_67, 1); -lean_ctor_set(x_67, 0, x_50); -return x_67; -} -else +uint8_t x_76; +lean_dec(x_69); +x_76 = !lean_is_exclusive(x_73); +if (x_76 == 0) { -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_67, 1); -lean_inc(x_72); -lean_dec(x_67); -x_73 = lean_alloc_ctor(1, 2, 0); +lean_object* x_77; +x_77 = lean_ctor_get(x_73, 0); +lean_dec(x_77); +lean_ctor_set_tag(x_73, 1); lean_ctor_set(x_73, 0, x_50); -lean_ctor_set(x_73, 1, x_72); return x_73; } +else +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_dec(x_73); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_50); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} } else { -uint8_t x_74; +uint8_t x_80; lean_dec(x_50); -x_74 = !lean_is_exclusive(x_67); -if (x_74 == 0) +x_80 = !lean_is_exclusive(x_73); +if (x_80 == 0) { -lean_object* x_75; -x_75 = lean_ctor_get(x_67, 0); -lean_dec(x_75); -lean_ctor_set(x_67, 0, x_63); -return x_67; +lean_object* x_81; +x_81 = lean_ctor_get(x_73, 0); +lean_dec(x_81); +lean_ctor_set(x_73, 0, x_69); +return x_73; } else { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_67, 1); -lean_inc(x_76); -lean_dec(x_67); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_63); -lean_ctor_set(x_77, 1, x_76); -return x_77; +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_73, 1); +lean_inc(x_82); +lean_dec(x_73); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_69); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } else { -uint8_t x_78; -lean_dec(x_63); +uint8_t x_84; +lean_dec(x_69); lean_dec(x_50); -x_78 = !lean_is_exclusive(x_67); -if (x_78 == 0) +x_84 = !lean_is_exclusive(x_73); +if (x_84 == 0) { -return x_67; +return x_73; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_67, 0); -x_80 = lean_ctor_get(x_67, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_67); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_73, 0); +x_86 = lean_ctor_get(x_73, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_73); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } else { -uint8_t x_82; +uint8_t x_88; lean_dec(x_50); lean_dec(x_39); lean_dec(x_5); lean_dec(x_3); -x_82 = !lean_is_exclusive(x_56); -if (x_82 == 0) +x_88 = !lean_is_exclusive(x_62); +if (x_88 == 0) { -return x_56; +return x_62; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_56, 0); -x_84 = lean_ctor_get(x_56, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_56); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_62, 0); +x_90 = lean_ctor_get(x_62, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_62); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; } } } else { -uint8_t x_86; +uint8_t x_92; lean_dec(x_50); lean_dec(x_39); lean_dec(x_5); lean_dec(x_3); -x_86 = !lean_is_exclusive(x_53); -if (x_86 == 0) +x_92 = !lean_is_exclusive(x_59); +if (x_92 == 0) { -return x_53; +return x_59; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_53, 0); -x_88 = lean_ctor_get(x_53, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_53); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_59, 0); +x_94 = lean_ctor_get(x_59, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_59); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; } } } else { -uint8_t x_90; +uint8_t x_96; lean_dec(x_39); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_90 = !lean_is_exclusive(x_42); -if (x_90 == 0) +x_96 = !lean_is_exclusive(x_54); +if (x_96 == 0) { -lean_object* x_91; -x_91 = lean_ctor_get(x_42, 0); -lean_dec(x_91); +lean_object* x_97; +x_97 = lean_ctor_get(x_54, 0); +lean_dec(x_97); +lean_ctor_set_tag(x_54, 1); +lean_ctor_set(x_54, 0, x_50); +return x_54; +} +else +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_54, 1); +lean_inc(x_98); +lean_dec(x_54); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_50); +lean_ctor_set(x_99, 1, x_98); +return x_99; +} +} +} +else +{ +uint8_t x_100; +lean_dec(x_50); +lean_dec(x_39); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_100 = !lean_is_exclusive(x_54); +if (x_100 == 0) +{ +return x_54; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_54, 0); +x_102 = lean_ctor_get(x_54, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_54); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} +} +} +else +{ +uint8_t x_104; +lean_dec(x_39); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_104 = !lean_is_exclusive(x_42); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_42, 0); +lean_dec(x_105); return x_42; } else { -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_42, 1); -lean_inc(x_92); +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_42, 1); +lean_inc(x_106); lean_dec(x_42); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_50); -lean_ctor_set(x_93, 1, x_92); -return x_93; +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_50); +lean_ctor_set(x_107, 1, x_106); +return x_107; } } } @@ -18231,336 +18344,277 @@ return x_93; } case 1: { -lean_object* x_134; lean_object* x_135; lean_object* x_150; lean_object* x_166; lean_object* x_167; uint8_t x_222; +lean_object* x_148; lean_object* x_149; lean_object* x_164; lean_object* x_180; lean_object* x_181; uint8_t x_250; lean_dec(x_4); -x_222 = l_Lean_Expr_isMVar(x_2); -if (x_222 == 0) +x_250 = l_Lean_Expr_isMVar(x_2); +if (x_250 == 0) { -uint8_t x_223; +uint8_t x_251; lean_dec(x_1); -x_223 = l_Lean_Expr_hasExprMVar(x_2); -if (x_223 == 0) +x_251 = l_Lean_Expr_hasExprMVar(x_2); +if (x_251 == 0) { -uint8_t x_224; -x_224 = l_Lean_Expr_hasFVar(x_2); -if (x_224 == 0) +uint8_t x_252; +x_252 = l_Lean_Expr_hasFVar(x_2); +if (x_252 == 0) { -x_134 = x_2; -x_135 = x_6; -goto block_149; +x_148 = x_2; +x_149 = x_6; +goto block_163; } else { -lean_object* x_225; -x_225 = lean_box(0); -x_150 = x_225; -goto block_165; +lean_object* x_253; +x_253 = lean_box(0); +x_164 = x_253; +goto block_179; } } else { -lean_object* x_226; -x_226 = lean_box(0); -x_150 = x_226; -goto block_165; +lean_object* x_254; +x_254 = lean_box(0); +x_164 = x_254; +goto block_179; } } else { -lean_object* x_227; lean_object* x_228; uint8_t x_229; -x_227 = lean_ctor_get(x_5, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -lean_dec(x_227); -x_229 = lean_ctor_get_uint8(x_228, sizeof(void*)*1 + 1); -lean_dec(x_228); -if (x_229 == 0) -{ -uint8_t x_230; -lean_dec(x_1); -x_230 = l_Lean_Expr_hasExprMVar(x_2); -if (x_230 == 0) -{ -uint8_t x_231; -x_231 = l_Lean_Expr_hasFVar(x_2); -if (x_231 == 0) -{ -x_134 = x_2; -x_135 = x_6; -goto block_149; -} -else -{ -lean_object* x_232; -x_232 = lean_box(0); -x_150 = x_232; -goto block_165; -} -} -else -{ -lean_object* x_233; -x_233 = lean_box(0); -x_150 = x_233; -goto block_165; -} -} -else -{ -lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_234 = lean_array_get_size(x_3); -x_235 = lean_unsigned_to_nat(0u); -x_236 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_234, x_235); -lean_dec(x_234); -if (x_236 == 0) -{ -lean_object* x_237; uint8_t x_253; -x_253 = l_Lean_Expr_hasExprMVar(x_2); -if (x_253 == 0) -{ -uint8_t x_254; -x_254 = l_Lean_Expr_hasFVar(x_2); -if (x_254 == 0) -{ -x_166 = x_2; -x_167 = x_6; -goto block_221; -} -else -{ -lean_object* x_255; -x_255 = lean_box(0); -x_237 = x_255; -goto block_252; -} -} -else -{ -lean_object* x_256; -x_256 = lean_box(0); -x_237 = x_256; -goto block_252; -} -block_252: -{ -lean_object* x_238; lean_object* x_239; -lean_dec(x_237); -x_238 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -if (lean_obj_tag(x_239) == 0) -{ -lean_object* x_240; lean_object* x_241; -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -lean_dec(x_238); -lean_inc(x_5); -lean_inc(x_2); -x_241 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_240); -if (lean_obj_tag(x_241) == 0) -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_241, 1); -lean_inc(x_243); -lean_dec(x_241); -lean_inc(x_242); -x_244 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_242, x_5, x_243); -x_245 = lean_ctor_get(x_244, 1); -lean_inc(x_245); -lean_dec(x_244); -x_166 = x_242; -x_167 = x_245; -goto block_221; -} -else -{ -uint8_t x_246; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_246 = !lean_is_exclusive(x_241); -if (x_246 == 0) -{ -return x_241; -} -else -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_247 = lean_ctor_get(x_241, 0); -x_248 = lean_ctor_get(x_241, 1); -lean_inc(x_248); -lean_inc(x_247); -lean_dec(x_241); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_247); -lean_ctor_set(x_249, 1, x_248); -return x_249; -} -} -} -else -{ -lean_object* x_250; lean_object* x_251; -lean_dec(x_2); -x_250 = lean_ctor_get(x_238, 1); -lean_inc(x_250); -lean_dec(x_238); -x_251 = lean_ctor_get(x_239, 0); -lean_inc(x_251); -lean_dec(x_239); -x_166 = x_251; -x_167 = x_250; -goto block_221; -} -} -} -else -{ -uint8_t x_257; -lean_dec(x_1); -x_257 = l_Lean_Expr_hasExprMVar(x_2); +lean_object* x_255; lean_object* x_256; uint8_t x_257; +x_255 = lean_ctor_get(x_5, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +lean_dec(x_255); +x_257 = lean_ctor_get_uint8(x_256, sizeof(void*)*1 + 1); +lean_dec(x_256); if (x_257 == 0) { uint8_t x_258; -x_258 = l_Lean_Expr_hasFVar(x_2); +lean_dec(x_1); +x_258 = l_Lean_Expr_hasExprMVar(x_2); if (x_258 == 0) { -x_134 = x_2; -x_135 = x_6; -goto block_149; -} -else +uint8_t x_259; +x_259 = l_Lean_Expr_hasFVar(x_2); +if (x_259 == 0) { -lean_object* x_259; -x_259 = lean_box(0); -x_150 = x_259; -goto block_165; -} +x_148 = x_2; +x_149 = x_6; +goto block_163; } else { lean_object* x_260; x_260 = lean_box(0); -x_150 = x_260; -goto block_165; -} -} -} -} -block_149: -{ -lean_object* x_136; lean_object* x_137; -x_136 = lean_unsigned_to_nat(0u); -x_137 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_136, x_3, x_5, x_135); -if (lean_obj_tag(x_137) == 0) -{ -uint8_t x_138; -x_138 = !lean_is_exclusive(x_137); -if (x_138 == 0) -{ -lean_object* x_139; lean_object* x_140; -x_139 = lean_ctor_get(x_137, 0); -x_140 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_139, x_139, x_136, x_134); -lean_dec(x_139); -lean_ctor_set(x_137, 0, x_140); -return x_137; -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_141 = lean_ctor_get(x_137, 0); -x_142 = lean_ctor_get(x_137, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_137); -x_143 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_141, x_141, x_136, x_134); -lean_dec(x_141); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -return x_144; +x_164 = x_260; +goto block_179; } } else { -uint8_t x_145; -lean_dec(x_134); -x_145 = !lean_is_exclusive(x_137); -if (x_145 == 0) -{ -return x_137; +lean_object* x_261; +x_261 = lean_box(0); +x_164 = x_261; +goto block_179; +} } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_137, 0); -x_147 = lean_ctor_get(x_137, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_137); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; -} -} -} -block_165: +lean_object* x_262; lean_object* x_263; uint8_t x_264; +x_262 = lean_array_get_size(x_3); +x_263 = lean_unsigned_to_nat(0u); +x_264 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_262, x_263); +lean_dec(x_262); +if (x_264 == 0) { -lean_object* x_151; lean_object* x_152; -lean_dec(x_150); -x_151 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -if (lean_obj_tag(x_152) == 0) +lean_object* x_265; uint8_t x_281; +x_281 = l_Lean_Expr_hasExprMVar(x_2); +if (x_281 == 0) { -lean_object* x_153; lean_object* x_154; -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); +uint8_t x_282; +x_282 = l_Lean_Expr_hasFVar(x_2); +if (x_282 == 0) +{ +x_180 = x_2; +x_181 = x_6; +goto block_249; +} +else +{ +lean_object* x_283; +x_283 = lean_box(0); +x_265 = x_283; +goto block_280; +} +} +else +{ +lean_object* x_284; +x_284 = lean_box(0); +x_265 = x_284; +goto block_280; +} +block_280: +{ +lean_object* x_266; lean_object* x_267; +lean_dec(x_265); +x_266 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_267 = lean_ctor_get(x_266, 0); +lean_inc(x_267); +if (lean_obj_tag(x_267) == 0) +{ +lean_object* x_268; lean_object* x_269; +x_268 = lean_ctor_get(x_266, 1); +lean_inc(x_268); +lean_dec(x_266); lean_inc(x_5); lean_inc(x_2); -x_154 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_153); -if (lean_obj_tag(x_154) == 0) +x_269 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_268); +if (lean_obj_tag(x_269) == 0) +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; +x_270 = lean_ctor_get(x_269, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_269, 1); +lean_inc(x_271); +lean_dec(x_269); +lean_inc(x_270); +x_272 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_270, x_5, x_271); +x_273 = lean_ctor_get(x_272, 1); +lean_inc(x_273); +lean_dec(x_272); +x_180 = x_270; +x_181 = x_273; +goto block_249; +} +else +{ +uint8_t x_274; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_274 = !lean_is_exclusive(x_269); +if (x_274 == 0) +{ +return x_269; +} +else +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_275 = lean_ctor_get(x_269, 0); +x_276 = lean_ctor_get(x_269, 1); +lean_inc(x_276); +lean_inc(x_275); +lean_dec(x_269); +x_277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_277, 0, x_275); +lean_ctor_set(x_277, 1, x_276); +return x_277; +} +} +} +else +{ +lean_object* x_278; lean_object* x_279; +lean_dec(x_2); +x_278 = lean_ctor_get(x_266, 1); +lean_inc(x_278); +lean_dec(x_266); +x_279 = lean_ctor_get(x_267, 0); +lean_inc(x_279); +lean_dec(x_267); +x_180 = x_279; +x_181 = x_278; +goto block_249; +} +} +} +else +{ +uint8_t x_285; +lean_dec(x_1); +x_285 = l_Lean_Expr_hasExprMVar(x_2); +if (x_285 == 0) +{ +uint8_t x_286; +x_286 = l_Lean_Expr_hasFVar(x_2); +if (x_286 == 0) +{ +x_148 = x_2; +x_149 = x_6; +goto block_163; +} +else +{ +lean_object* x_287; +x_287 = lean_box(0); +x_164 = x_287; +goto block_179; +} +} +else +{ +lean_object* x_288; +x_288 = lean_box(0); +x_164 = x_288; +goto block_179; +} +} +} +} +block_163: +{ +lean_object* x_150; lean_object* x_151; +x_150 = lean_unsigned_to_nat(0u); +x_151 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_150, x_3, x_5, x_149); +if (lean_obj_tag(x_151) == 0) +{ +uint8_t x_152; +x_152 = !lean_is_exclusive(x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; +x_153 = lean_ctor_get(x_151, 0); +x_154 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_153, x_153, x_150, x_148); +lean_dec(x_153); +lean_ctor_set(x_151, 0, x_154); +return x_151; +} +else { lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); +x_155 = lean_ctor_get(x_151, 0); +x_156 = lean_ctor_get(x_151, 1); lean_inc(x_156); -lean_dec(x_154); lean_inc(x_155); -x_157 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_155, x_5, x_156); -x_158 = lean_ctor_get(x_157, 1); -lean_inc(x_158); -lean_dec(x_157); -x_134 = x_155; -x_135 = x_158; -goto block_149; +lean_dec(x_151); +x_157 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_155, x_155, x_150, x_148); +lean_dec(x_155); +x_158 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +return x_158; +} } else { uint8_t x_159; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_159 = !lean_is_exclusive(x_154); +lean_dec(x_148); +x_159 = !lean_is_exclusive(x_151); if (x_159 == 0) { -return x_154; +return x_151; } else { lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_160 = lean_ctor_get(x_154, 0); -x_161 = lean_ctor_get(x_154, 1); +x_160 = lean_ctor_get(x_151, 0); +x_161 = lean_ctor_get(x_151, 1); lean_inc(x_161); lean_inc(x_160); -lean_dec(x_154); +lean_dec(x_151); x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_160); lean_ctor_set(x_162, 1, x_161); @@ -18568,892 +18622,1103 @@ return x_162; } } } +block_179: +{ +lean_object* x_165; lean_object* x_166; +lean_dec(x_164); +x_165 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_167; lean_object* x_168; +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +lean_inc(x_5); +lean_inc(x_2); +x_168 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_167); +if (lean_obj_tag(x_168) == 0) +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +lean_inc(x_169); +x_171 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_169, x_5, x_170); +x_172 = lean_ctor_get(x_171, 1); +lean_inc(x_172); +lean_dec(x_171); +x_148 = x_169; +x_149 = x_172; +goto block_163; +} else { -lean_object* x_163; lean_object* x_164; -lean_dec(x_2); -x_163 = lean_ctor_get(x_151, 1); -lean_inc(x_163); -lean_dec(x_151); -x_164 = lean_ctor_get(x_152, 0); -lean_inc(x_164); -lean_dec(x_152); -x_134 = x_164; -x_135 = x_163; -goto block_149; -} -} -block_221: -{ -lean_object* x_168; lean_object* x_169; -x_168 = lean_unsigned_to_nat(0u); -lean_inc(x_5); -lean_inc(x_3); -x_169 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_168, x_3, x_5, x_167); -if (lean_obj_tag(x_169) == 0) -{ -uint8_t x_170; +uint8_t x_173; lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_170 = !lean_is_exclusive(x_169); -if (x_170 == 0) +lean_dec(x_2); +x_173 = !lean_is_exclusive(x_168); +if (x_173 == 0) { -lean_object* x_171; lean_object* x_172; -x_171 = lean_ctor_get(x_169, 0); -x_172 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_171, x_171, x_168, x_166); -lean_dec(x_171); -lean_ctor_set(x_169, 0, x_172); -return x_169; +return x_168; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_173 = lean_ctor_get(x_169, 0); -x_174 = lean_ctor_get(x_169, 1); +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_168, 0); +x_175 = lean_ctor_get(x_168, 1); +lean_inc(x_175); lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_169); -x_175 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_173, x_173, x_168, x_166); -lean_dec(x_173); -x_176 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_174); +lean_dec(x_168); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_174); +lean_ctor_set(x_176, 1, x_175); return x_176; } } +} else { -lean_object* x_177; -x_177 = lean_ctor_get(x_169, 0); +lean_object* x_177; lean_object* x_178; +lean_dec(x_2); +x_177 = lean_ctor_get(x_165, 1); lean_inc(x_177); -if (lean_obj_tag(x_177) == 2) -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_178 = lean_ctor_get(x_169, 1); +lean_dec(x_165); +x_178 = lean_ctor_get(x_166, 0); lean_inc(x_178); -lean_dec(x_169); -x_179 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_179, 0, x_1); -lean_inc(x_5); -x_180 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_179, x_5, x_178); -if (lean_obj_tag(x_180) == 0) +lean_dec(x_166); +x_148 = x_178; +x_149 = x_177; +goto block_163; +} +} +block_249: { -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); +lean_object* x_182; lean_object* x_183; +x_182 = lean_unsigned_to_nat(0u); lean_inc(x_5); -x_183 = l_Lean_Meta_CheckAssignment_check___main(x_181, x_5, x_182); +lean_inc(x_3); +x_183 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_182, x_3, x_5, x_181); if (lean_obj_tag(x_183) == 0) { -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_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_183, 1); -lean_inc(x_185); -lean_dec(x_183); -x_186 = lean_ctor_get(x_5, 2); -lean_inc(x_186); -x_187 = lean_ctor_get(x_186, 1); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 4); -lean_inc(x_188); -lean_dec(x_186); -x_189 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_187, x_188, x_184, x_5, x_185); -x_190 = lean_ctor_get(x_189, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_189, 1); -lean_inc(x_191); -lean_dec(x_189); -x_192 = lean_array_get_size(x_3); -lean_dec(x_3); -lean_inc(x_190); -x_193 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_193, 0, x_166); -lean_closure_set(x_193, 1, x_192); -lean_closure_set(x_193, 2, x_190); -x_194 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_193, x_5, x_191); -if (lean_obj_tag(x_194) == 0) -{ -lean_object* x_195; uint8_t x_196; -x_195 = lean_ctor_get(x_194, 0); -lean_inc(x_195); -x_196 = lean_unbox(x_195); -lean_dec(x_195); -if (x_196 == 0) -{ -uint8_t x_197; -lean_dec(x_190); -x_197 = !lean_is_exclusive(x_194); -if (x_197 == 0) -{ -lean_object* x_198; -x_198 = lean_ctor_get(x_194, 0); -lean_dec(x_198); -lean_ctor_set_tag(x_194, 1); -lean_ctor_set(x_194, 0, x_177); -return x_194; -} -else -{ -lean_object* x_199; lean_object* x_200; -x_199 = lean_ctor_get(x_194, 1); -lean_inc(x_199); -lean_dec(x_194); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_177); -lean_ctor_set(x_200, 1, x_199); -return x_200; -} -} -else -{ -uint8_t x_201; -lean_dec(x_177); -x_201 = !lean_is_exclusive(x_194); -if (x_201 == 0) -{ -lean_object* x_202; -x_202 = lean_ctor_get(x_194, 0); -lean_dec(x_202); -lean_ctor_set(x_194, 0, x_190); -return x_194; -} -else -{ -lean_object* x_203; lean_object* x_204; -x_203 = lean_ctor_get(x_194, 1); -lean_inc(x_203); -lean_dec(x_194); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_190); -lean_ctor_set(x_204, 1, x_203); -return x_204; -} -} -} -else -{ -uint8_t x_205; -lean_dec(x_190); -lean_dec(x_177); -x_205 = !lean_is_exclusive(x_194); -if (x_205 == 0) -{ -return x_194; -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_206 = lean_ctor_get(x_194, 0); -x_207 = lean_ctor_get(x_194, 1); -lean_inc(x_207); -lean_inc(x_206); -lean_dec(x_194); -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_206); -lean_ctor_set(x_208, 1, x_207); -return x_208; -} -} -} -else -{ -uint8_t x_209; -lean_dec(x_177); -lean_dec(x_166); +uint8_t x_184; lean_dec(x_5); lean_dec(x_3); -x_209 = !lean_is_exclusive(x_183); -if (x_209 == 0) +lean_dec(x_1); +x_184 = !lean_is_exclusive(x_183); +if (x_184 == 0) { +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_183, 0); +x_186 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_185, x_185, x_182, x_180); +lean_dec(x_185); +lean_ctor_set(x_183, 0, x_186); return x_183; } else { -lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_210 = lean_ctor_get(x_183, 0); -x_211 = lean_ctor_get(x_183, 1); -lean_inc(x_211); -lean_inc(x_210); +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_187 = lean_ctor_get(x_183, 0); +x_188 = lean_ctor_get(x_183, 1); +lean_inc(x_188); +lean_inc(x_187); lean_dec(x_183); -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_210); -lean_ctor_set(x_212, 1, x_211); -return x_212; -} +x_189 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_187, x_187, x_182, x_180); +lean_dec(x_187); +x_190 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_188); +return x_190; } } else { -uint8_t x_213; -lean_dec(x_177); -lean_dec(x_166); -lean_dec(x_5); +lean_object* x_191; +x_191 = lean_ctor_get(x_183, 0); +lean_inc(x_191); +if (lean_obj_tag(x_191) == 2) +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_192 = lean_ctor_get(x_183, 1); +lean_inc(x_192); +lean_dec(x_183); +x_193 = l_Lean_Expr_mvarId_x21(x_180); +x_194 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_194, 0, x_193); +lean_inc(x_5); +x_195 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_194, x_5, x_192); +if (lean_obj_tag(x_195) == 0) +{ +lean_object* x_196; uint8_t x_197; +x_196 = lean_ctor_get(x_195, 0); +lean_inc(x_196); +x_197 = lean_unbox(x_196); +lean_dec(x_196); +if (x_197 == 0) +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_198 = lean_ctor_get(x_195, 1); +lean_inc(x_198); +lean_dec(x_195); +x_199 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_199, 0, x_1); +lean_inc(x_5); +x_200 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_199, x_5, x_198); +if (lean_obj_tag(x_200) == 0) +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +lean_inc(x_5); +x_203 = l_Lean_Meta_CheckAssignment_check___main(x_201, x_5, x_202); +if (lean_obj_tag(x_203) == 0) +{ +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; +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_203, 1); +lean_inc(x_205); +lean_dec(x_203); +x_206 = lean_ctor_get(x_5, 2); +lean_inc(x_206); +x_207 = lean_ctor_get(x_206, 1); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 4); +lean_inc(x_208); +lean_dec(x_206); +x_209 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_207, x_208, x_204, x_5, x_205); +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); +lean_inc(x_211); +lean_dec(x_209); +x_212 = lean_array_get_size(x_3); lean_dec(x_3); -x_213 = !lean_is_exclusive(x_180); -if (x_213 == 0) +lean_inc(x_210); +x_213 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_213, 0, x_180); +lean_closure_set(x_213, 1, x_212); +lean_closure_set(x_213, 2, x_210); +x_214 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_213, x_5, x_211); +if (lean_obj_tag(x_214) == 0) { -return x_180; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_180, 0); -x_215 = lean_ctor_get(x_180, 1); +lean_object* x_215; uint8_t x_216; +x_215 = lean_ctor_get(x_214, 0); lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_180); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -return x_216; -} -} -} -else +x_216 = lean_unbox(x_215); +lean_dec(x_215); +if (x_216 == 0) { uint8_t x_217; -lean_dec(x_166); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_217 = !lean_is_exclusive(x_169); +lean_dec(x_210); +x_217 = !lean_is_exclusive(x_214); if (x_217 == 0) { lean_object* x_218; -x_218 = lean_ctor_get(x_169, 0); +x_218 = lean_ctor_get(x_214, 0); lean_dec(x_218); -return x_169; +lean_ctor_set_tag(x_214, 1); +lean_ctor_set(x_214, 0, x_191); +return x_214; } else { lean_object* x_219; lean_object* x_220; -x_219 = lean_ctor_get(x_169, 1); +x_219 = lean_ctor_get(x_214, 1); lean_inc(x_219); -lean_dec(x_169); +lean_dec(x_214); x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_177); +lean_ctor_set(x_220, 0, x_191); lean_ctor_set(x_220, 1, x_219); return x_220; } } +else +{ +uint8_t x_221; +lean_dec(x_191); +x_221 = !lean_is_exclusive(x_214); +if (x_221 == 0) +{ +lean_object* x_222; +x_222 = lean_ctor_get(x_214, 0); +lean_dec(x_222); +lean_ctor_set(x_214, 0, x_210); +return x_214; +} +else +{ +lean_object* x_223; lean_object* x_224; +x_223 = lean_ctor_get(x_214, 1); +lean_inc(x_223); +lean_dec(x_214); +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_210); +lean_ctor_set(x_224, 1, x_223); +return x_224; +} +} +} +else +{ +uint8_t x_225; +lean_dec(x_210); +lean_dec(x_191); +x_225 = !lean_is_exclusive(x_214); +if (x_225 == 0) +{ +return x_214; +} +else +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_214, 0); +x_227 = lean_ctor_get(x_214, 1); +lean_inc(x_227); +lean_inc(x_226); +lean_dec(x_214); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_227); +return x_228; +} +} +} +else +{ +uint8_t x_229; +lean_dec(x_191); +lean_dec(x_180); +lean_dec(x_5); +lean_dec(x_3); +x_229 = !lean_is_exclusive(x_203); +if (x_229 == 0) +{ +return x_203; +} +else +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_203, 0); +x_231 = lean_ctor_get(x_203, 1); +lean_inc(x_231); +lean_inc(x_230); +lean_dec(x_203); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set(x_232, 1, x_231); +return x_232; +} +} +} +else +{ +uint8_t x_233; +lean_dec(x_191); +lean_dec(x_180); +lean_dec(x_5); +lean_dec(x_3); +x_233 = !lean_is_exclusive(x_200); +if (x_233 == 0) +{ +return x_200; +} +else +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_234 = lean_ctor_get(x_200, 0); +x_235 = lean_ctor_get(x_200, 1); +lean_inc(x_235); +lean_inc(x_234); +lean_dec(x_200); +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_235); +return x_236; +} +} +} +else +{ +uint8_t x_237; +lean_dec(x_180); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_237 = !lean_is_exclusive(x_195); +if (x_237 == 0) +{ +lean_object* x_238; +x_238 = lean_ctor_get(x_195, 0); +lean_dec(x_238); +lean_ctor_set_tag(x_195, 1); +lean_ctor_set(x_195, 0, x_191); +return x_195; +} +else +{ +lean_object* x_239; lean_object* x_240; +x_239 = lean_ctor_get(x_195, 1); +lean_inc(x_239); +lean_dec(x_195); +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_191); +lean_ctor_set(x_240, 1, x_239); +return x_240; +} +} +} +else +{ +uint8_t x_241; +lean_dec(x_191); +lean_dec(x_180); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_241 = !lean_is_exclusive(x_195); +if (x_241 == 0) +{ +return x_195; +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; +x_242 = lean_ctor_get(x_195, 0); +x_243 = lean_ctor_get(x_195, 1); +lean_inc(x_243); +lean_inc(x_242); +lean_dec(x_195); +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_242); +lean_ctor_set(x_244, 1, x_243); +return x_244; +} +} +} +else +{ +uint8_t x_245; +lean_dec(x_180); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_245 = !lean_is_exclusive(x_183); +if (x_245 == 0) +{ +lean_object* x_246; +x_246 = lean_ctor_get(x_183, 0); +lean_dec(x_246); +return x_183; +} +else +{ +lean_object* x_247; lean_object* x_248; +x_247 = lean_ctor_get(x_183, 1); +lean_inc(x_247); +lean_dec(x_183); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_191); +lean_ctor_set(x_248, 1, x_247); +return x_248; +} +} } } } case 2: { -lean_object* x_261; lean_object* x_262; lean_object* x_277; lean_object* x_293; lean_object* x_294; uint8_t x_349; +lean_object* x_289; lean_object* x_290; lean_object* x_305; lean_object* x_321; lean_object* x_322; uint8_t x_391; lean_dec(x_4); -x_349 = l_Lean_Expr_isMVar(x_2); -if (x_349 == 0) +x_391 = l_Lean_Expr_isMVar(x_2); +if (x_391 == 0) { -uint8_t x_350; +uint8_t x_392; lean_dec(x_1); -x_350 = l_Lean_Expr_hasExprMVar(x_2); -if (x_350 == 0) +x_392 = l_Lean_Expr_hasExprMVar(x_2); +if (x_392 == 0) { -uint8_t x_351; -x_351 = l_Lean_Expr_hasFVar(x_2); -if (x_351 == 0) +uint8_t x_393; +x_393 = l_Lean_Expr_hasFVar(x_2); +if (x_393 == 0) { -x_261 = x_2; -x_262 = x_6; -goto block_276; +x_289 = x_2; +x_290 = x_6; +goto block_304; } else { -lean_object* x_352; -x_352 = lean_box(0); -x_277 = x_352; -goto block_292; +lean_object* x_394; +x_394 = lean_box(0); +x_305 = x_394; +goto block_320; } } else { -lean_object* x_353; -x_353 = lean_box(0); -x_277 = x_353; -goto block_292; +lean_object* x_395; +x_395 = lean_box(0); +x_305 = x_395; +goto block_320; } } else { -lean_object* x_354; lean_object* x_355; uint8_t x_356; -x_354 = lean_ctor_get(x_5, 0); -lean_inc(x_354); -x_355 = lean_ctor_get(x_354, 0); -lean_inc(x_355); -lean_dec(x_354); -x_356 = lean_ctor_get_uint8(x_355, sizeof(void*)*1 + 1); -lean_dec(x_355); -if (x_356 == 0) +lean_object* x_396; lean_object* x_397; uint8_t x_398; +x_396 = lean_ctor_get(x_5, 0); +lean_inc(x_396); +x_397 = lean_ctor_get(x_396, 0); +lean_inc(x_397); +lean_dec(x_396); +x_398 = lean_ctor_get_uint8(x_397, sizeof(void*)*1 + 1); +lean_dec(x_397); +if (x_398 == 0) { -uint8_t x_357; +uint8_t x_399; lean_dec(x_1); -x_357 = l_Lean_Expr_hasExprMVar(x_2); -if (x_357 == 0) +x_399 = l_Lean_Expr_hasExprMVar(x_2); +if (x_399 == 0) { -uint8_t x_358; -x_358 = l_Lean_Expr_hasFVar(x_2); -if (x_358 == 0) +uint8_t x_400; +x_400 = l_Lean_Expr_hasFVar(x_2); +if (x_400 == 0) { -x_261 = x_2; -x_262 = x_6; -goto block_276; +x_289 = x_2; +x_290 = x_6; +goto block_304; } else { -lean_object* x_359; -x_359 = lean_box(0); -x_277 = x_359; -goto block_292; +lean_object* x_401; +x_401 = lean_box(0); +x_305 = x_401; +goto block_320; } } else { -lean_object* x_360; -x_360 = lean_box(0); -x_277 = x_360; -goto block_292; +lean_object* x_402; +x_402 = lean_box(0); +x_305 = x_402; +goto block_320; } } else { -lean_object* x_361; lean_object* x_362; uint8_t x_363; -x_361 = lean_array_get_size(x_3); -x_362 = lean_unsigned_to_nat(0u); -x_363 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_361, x_362); -lean_dec(x_361); -if (x_363 == 0) +lean_object* x_403; lean_object* x_404; uint8_t x_405; +x_403 = lean_array_get_size(x_3); +x_404 = lean_unsigned_to_nat(0u); +x_405 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_403, x_404); +lean_dec(x_403); +if (x_405 == 0) { -lean_object* x_364; uint8_t x_380; -x_380 = l_Lean_Expr_hasExprMVar(x_2); -if (x_380 == 0) +lean_object* x_406; uint8_t x_422; +x_422 = l_Lean_Expr_hasExprMVar(x_2); +if (x_422 == 0) { -uint8_t x_381; -x_381 = l_Lean_Expr_hasFVar(x_2); -if (x_381 == 0) +uint8_t x_423; +x_423 = l_Lean_Expr_hasFVar(x_2); +if (x_423 == 0) { -x_293 = x_2; -x_294 = x_6; -goto block_348; +x_321 = x_2; +x_322 = x_6; +goto block_390; } else { -lean_object* x_382; -x_382 = lean_box(0); -x_364 = x_382; -goto block_379; +lean_object* x_424; +x_424 = lean_box(0); +x_406 = x_424; +goto block_421; } } else { -lean_object* x_383; -x_383 = lean_box(0); -x_364 = x_383; -goto block_379; +lean_object* x_425; +x_425 = lean_box(0); +x_406 = x_425; +goto block_421; } -block_379: +block_421: { -lean_object* x_365; lean_object* x_366; -lean_dec(x_364); -x_365 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_366 = lean_ctor_get(x_365, 0); -lean_inc(x_366); -if (lean_obj_tag(x_366) == 0) +lean_object* x_407; lean_object* x_408; +lean_dec(x_406); +x_407 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_408 = lean_ctor_get(x_407, 0); +lean_inc(x_408); +if (lean_obj_tag(x_408) == 0) { -lean_object* x_367; lean_object* x_368; -x_367 = lean_ctor_get(x_365, 1); -lean_inc(x_367); -lean_dec(x_365); +lean_object* x_409; lean_object* x_410; +x_409 = lean_ctor_get(x_407, 1); +lean_inc(x_409); +lean_dec(x_407); lean_inc(x_5); lean_inc(x_2); -x_368 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_367); -if (lean_obj_tag(x_368) == 0) +x_410 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_409); +if (lean_obj_tag(x_410) == 0) { -lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; -x_369 = lean_ctor_get(x_368, 0); -lean_inc(x_369); -x_370 = lean_ctor_get(x_368, 1); -lean_inc(x_370); -lean_dec(x_368); -lean_inc(x_369); -x_371 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_369, x_5, x_370); -x_372 = lean_ctor_get(x_371, 1); -lean_inc(x_372); -lean_dec(x_371); -x_293 = x_369; -x_294 = x_372; -goto block_348; +lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; +x_411 = lean_ctor_get(x_410, 0); +lean_inc(x_411); +x_412 = lean_ctor_get(x_410, 1); +lean_inc(x_412); +lean_dec(x_410); +lean_inc(x_411); +x_413 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_411, x_5, x_412); +x_414 = lean_ctor_get(x_413, 1); +lean_inc(x_414); +lean_dec(x_413); +x_321 = x_411; +x_322 = x_414; +goto block_390; } else { -uint8_t x_373; +uint8_t x_415; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_373 = !lean_is_exclusive(x_368); -if (x_373 == 0) +x_415 = !lean_is_exclusive(x_410); +if (x_415 == 0) { -return x_368; +return x_410; } else { -lean_object* x_374; lean_object* x_375; lean_object* x_376; -x_374 = lean_ctor_get(x_368, 0); -x_375 = lean_ctor_get(x_368, 1); -lean_inc(x_375); -lean_inc(x_374); -lean_dec(x_368); -x_376 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_376, 0, x_374); -lean_ctor_set(x_376, 1, x_375); -return x_376; +lean_object* x_416; lean_object* x_417; lean_object* x_418; +x_416 = lean_ctor_get(x_410, 0); +x_417 = lean_ctor_get(x_410, 1); +lean_inc(x_417); +lean_inc(x_416); +lean_dec(x_410); +x_418 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_418, 0, x_416); +lean_ctor_set(x_418, 1, x_417); +return x_418; } } } else { -lean_object* x_377; lean_object* x_378; +lean_object* x_419; lean_object* x_420; lean_dec(x_2); -x_377 = lean_ctor_get(x_365, 1); -lean_inc(x_377); -lean_dec(x_365); -x_378 = lean_ctor_get(x_366, 0); -lean_inc(x_378); -lean_dec(x_366); -x_293 = x_378; -x_294 = x_377; -goto block_348; +x_419 = lean_ctor_get(x_407, 1); +lean_inc(x_419); +lean_dec(x_407); +x_420 = lean_ctor_get(x_408, 0); +lean_inc(x_420); +lean_dec(x_408); +x_321 = x_420; +x_322 = x_419; +goto block_390; } } } else { -uint8_t x_384; +uint8_t x_426; lean_dec(x_1); -x_384 = l_Lean_Expr_hasExprMVar(x_2); -if (x_384 == 0) +x_426 = l_Lean_Expr_hasExprMVar(x_2); +if (x_426 == 0) { -uint8_t x_385; -x_385 = l_Lean_Expr_hasFVar(x_2); -if (x_385 == 0) +uint8_t x_427; +x_427 = l_Lean_Expr_hasFVar(x_2); +if (x_427 == 0) { -x_261 = x_2; -x_262 = x_6; -goto block_276; +x_289 = x_2; +x_290 = x_6; +goto block_304; } else { -lean_object* x_386; -x_386 = lean_box(0); -x_277 = x_386; -goto block_292; +lean_object* x_428; +x_428 = lean_box(0); +x_305 = x_428; +goto block_320; } } else { -lean_object* x_387; -x_387 = lean_box(0); -x_277 = x_387; -goto block_292; +lean_object* x_429; +x_429 = lean_box(0); +x_305 = x_429; +goto block_320; } } } } -block_276: +block_304: { -lean_object* x_263; lean_object* x_264; -x_263 = lean_unsigned_to_nat(0u); -x_264 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_263, x_3, x_5, x_262); -if (lean_obj_tag(x_264) == 0) +lean_object* x_291; lean_object* x_292; +x_291 = lean_unsigned_to_nat(0u); +x_292 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_291, x_3, x_5, x_290); +if (lean_obj_tag(x_292) == 0) { -uint8_t x_265; -x_265 = !lean_is_exclusive(x_264); -if (x_265 == 0) +uint8_t x_293; +x_293 = !lean_is_exclusive(x_292); +if (x_293 == 0) { -lean_object* x_266; lean_object* x_267; -x_266 = lean_ctor_get(x_264, 0); -x_267 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_266, x_266, x_263, x_261); -lean_dec(x_266); -lean_ctor_set(x_264, 0, x_267); -return x_264; +lean_object* x_294; lean_object* x_295; +x_294 = lean_ctor_get(x_292, 0); +x_295 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_294, x_294, x_291, x_289); +lean_dec(x_294); +lean_ctor_set(x_292, 0, x_295); +return x_292; } else { -lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; -x_268 = lean_ctor_get(x_264, 0); -x_269 = lean_ctor_get(x_264, 1); -lean_inc(x_269); -lean_inc(x_268); -lean_dec(x_264); -x_270 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_268, x_268, x_263, x_261); -lean_dec(x_268); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_269); -return x_271; -} -} -else -{ -uint8_t x_272; -lean_dec(x_261); -x_272 = !lean_is_exclusive(x_264); -if (x_272 == 0) -{ -return x_264; -} -else -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_273 = lean_ctor_get(x_264, 0); -x_274 = lean_ctor_get(x_264, 1); -lean_inc(x_274); -lean_inc(x_273); -lean_dec(x_264); -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_273); -lean_ctor_set(x_275, 1, x_274); -return x_275; -} -} -} -block_292: -{ -lean_object* x_278; lean_object* x_279; -lean_dec(x_277); -x_278 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -if (lean_obj_tag(x_279) == 0) -{ -lean_object* x_280; lean_object* x_281; -x_280 = lean_ctor_get(x_278, 1); -lean_inc(x_280); -lean_dec(x_278); -lean_inc(x_5); -lean_inc(x_2); -x_281 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_280); -if (lean_obj_tag(x_281) == 0) -{ -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_282 = lean_ctor_get(x_281, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_281, 1); -lean_inc(x_283); -lean_dec(x_281); -lean_inc(x_282); -x_284 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_282, x_5, x_283); -x_285 = lean_ctor_get(x_284, 1); -lean_inc(x_285); -lean_dec(x_284); -x_261 = x_282; -x_262 = x_285; -goto block_276; -} -else -{ -uint8_t x_286; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_286 = !lean_is_exclusive(x_281); -if (x_286 == 0) -{ -return x_281; -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_287 = lean_ctor_get(x_281, 0); -x_288 = lean_ctor_get(x_281, 1); -lean_inc(x_288); -lean_inc(x_287); -lean_dec(x_281); -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_287); -lean_ctor_set(x_289, 1, x_288); -return x_289; -} -} -} -else -{ -lean_object* x_290; lean_object* x_291; -lean_dec(x_2); -x_290 = lean_ctor_get(x_278, 1); -lean_inc(x_290); -lean_dec(x_278); -x_291 = lean_ctor_get(x_279, 0); -lean_inc(x_291); -lean_dec(x_279); -x_261 = x_291; -x_262 = x_290; -goto block_276; -} -} -block_348: -{ -lean_object* x_295; lean_object* x_296; -x_295 = lean_unsigned_to_nat(0u); -lean_inc(x_5); -lean_inc(x_3); -x_296 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_295, x_3, x_5, x_294); -if (lean_obj_tag(x_296) == 0) -{ -uint8_t x_297; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_297 = !lean_is_exclusive(x_296); -if (x_297 == 0) -{ -lean_object* x_298; lean_object* x_299; -x_298 = lean_ctor_get(x_296, 0); -x_299 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_298, x_298, x_295, x_293); -lean_dec(x_298); -lean_ctor_set(x_296, 0, x_299); -return x_296; -} -else -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_300 = lean_ctor_get(x_296, 0); -x_301 = lean_ctor_get(x_296, 1); -lean_inc(x_301); -lean_inc(x_300); +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_296 = lean_ctor_get(x_292, 0); +x_297 = lean_ctor_get(x_292, 1); +lean_inc(x_297); +lean_inc(x_296); +lean_dec(x_292); +x_298 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_296, x_296, x_291, x_289); lean_dec(x_296); -x_302 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_300, x_300, x_295, x_293); -lean_dec(x_300); -x_303 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_301); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_297); +return x_299; +} +} +else +{ +uint8_t x_300; +lean_dec(x_289); +x_300 = !lean_is_exclusive(x_292); +if (x_300 == 0) +{ +return x_292; +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_301 = lean_ctor_get(x_292, 0); +x_302 = lean_ctor_get(x_292, 1); +lean_inc(x_302); +lean_inc(x_301); +lean_dec(x_292); +x_303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_303, 0, x_301); +lean_ctor_set(x_303, 1, x_302); return x_303; } } -else +} +block_320: { -lean_object* x_304; -x_304 = lean_ctor_get(x_296, 0); -lean_inc(x_304); -if (lean_obj_tag(x_304) == 2) -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_305 = lean_ctor_get(x_296, 1); -lean_inc(x_305); -lean_dec(x_296); -x_306 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_306, 0, x_1); -lean_inc(x_5); -x_307 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_306, x_5, x_305); +lean_object* x_306; lean_object* x_307; +lean_dec(x_305); +x_306 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_307 = lean_ctor_get(x_306, 0); +lean_inc(x_307); if (lean_obj_tag(x_307) == 0) { -lean_object* x_308; lean_object* x_309; lean_object* x_310; -x_308 = lean_ctor_get(x_307, 0); +lean_object* x_308; lean_object* x_309; +x_308 = lean_ctor_get(x_306, 1); lean_inc(x_308); -x_309 = lean_ctor_get(x_307, 1); -lean_inc(x_309); -lean_dec(x_307); +lean_dec(x_306); lean_inc(x_5); -x_310 = l_Lean_Meta_CheckAssignment_check___main(x_308, x_5, x_309); -if (lean_obj_tag(x_310) == 0) +lean_inc(x_2); +x_309 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_308); +if (lean_obj_tag(x_309) == 0) { -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; -x_311 = lean_ctor_get(x_310, 0); +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; +x_310 = lean_ctor_get(x_309, 0); +lean_inc(x_310); +x_311 = lean_ctor_get(x_309, 1); lean_inc(x_311); -x_312 = lean_ctor_get(x_310, 1); -lean_inc(x_312); -lean_dec(x_310); -x_313 = lean_ctor_get(x_5, 2); +lean_dec(x_309); +lean_inc(x_310); +x_312 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_310, x_5, x_311); +x_313 = lean_ctor_get(x_312, 1); lean_inc(x_313); -x_314 = lean_ctor_get(x_313, 1); -lean_inc(x_314); -x_315 = lean_ctor_get(x_313, 4); +lean_dec(x_312); +x_289 = x_310; +x_290 = x_313; +goto block_304; +} +else +{ +uint8_t x_314; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_314 = !lean_is_exclusive(x_309); +if (x_314 == 0) +{ +return x_309; +} +else +{ +lean_object* x_315; lean_object* x_316; lean_object* x_317; +x_315 = lean_ctor_get(x_309, 0); +x_316 = lean_ctor_get(x_309, 1); +lean_inc(x_316); lean_inc(x_315); -lean_dec(x_313); -x_316 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_314, x_315, x_311, x_5, x_312); -x_317 = lean_ctor_get(x_316, 0); -lean_inc(x_317); -x_318 = lean_ctor_get(x_316, 1); +lean_dec(x_309); +x_317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_317, 0, x_315); +lean_ctor_set(x_317, 1, x_316); +return x_317; +} +} +} +else +{ +lean_object* x_318; lean_object* x_319; +lean_dec(x_2); +x_318 = lean_ctor_get(x_306, 1); lean_inc(x_318); -lean_dec(x_316); -x_319 = lean_array_get_size(x_3); -lean_dec(x_3); -lean_inc(x_317); -x_320 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_320, 0, x_293); -lean_closure_set(x_320, 1, x_319); -lean_closure_set(x_320, 2, x_317); -x_321 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_320, x_5, x_318); -if (lean_obj_tag(x_321) == 0) -{ -lean_object* x_322; uint8_t x_323; -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) -{ -uint8_t x_324; -lean_dec(x_317); -x_324 = !lean_is_exclusive(x_321); -if (x_324 == 0) -{ -lean_object* x_325; -x_325 = lean_ctor_get(x_321, 0); -lean_dec(x_325); -lean_ctor_set_tag(x_321, 1); -lean_ctor_set(x_321, 0, x_304); -return x_321; -} -else -{ -lean_object* x_326; lean_object* x_327; -x_326 = lean_ctor_get(x_321, 1); -lean_inc(x_326); -lean_dec(x_321); -x_327 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_327, 0, x_304); -lean_ctor_set(x_327, 1, x_326); -return x_327; -} -} -else -{ -uint8_t x_328; -lean_dec(x_304); -x_328 = !lean_is_exclusive(x_321); -if (x_328 == 0) -{ -lean_object* x_329; -x_329 = lean_ctor_get(x_321, 0); -lean_dec(x_329); -lean_ctor_set(x_321, 0, x_317); -return x_321; -} -else -{ -lean_object* x_330; lean_object* x_331; -x_330 = lean_ctor_get(x_321, 1); -lean_inc(x_330); -lean_dec(x_321); -x_331 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_331, 0, x_317); -lean_ctor_set(x_331, 1, x_330); -return x_331; -} -} -} -else -{ -uint8_t x_332; -lean_dec(x_317); -lean_dec(x_304); -x_332 = !lean_is_exclusive(x_321); -if (x_332 == 0) -{ -return x_321; -} -else -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; -x_333 = lean_ctor_get(x_321, 0); -x_334 = lean_ctor_get(x_321, 1); -lean_inc(x_334); -lean_inc(x_333); -lean_dec(x_321); -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_333); -lean_ctor_set(x_335, 1, x_334); -return x_335; -} -} -} -else -{ -uint8_t x_336; -lean_dec(x_304); -lean_dec(x_293); -lean_dec(x_5); -lean_dec(x_3); -x_336 = !lean_is_exclusive(x_310); -if (x_336 == 0) -{ -return x_310; -} -else -{ -lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_337 = lean_ctor_get(x_310, 0); -x_338 = lean_ctor_get(x_310, 1); -lean_inc(x_338); -lean_inc(x_337); -lean_dec(x_310); -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_337); -lean_ctor_set(x_339, 1, x_338); -return x_339; -} -} -} -else -{ -uint8_t x_340; -lean_dec(x_304); -lean_dec(x_293); -lean_dec(x_5); -lean_dec(x_3); -x_340 = !lean_is_exclusive(x_307); -if (x_340 == 0) -{ -return x_307; -} -else -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; -x_341 = lean_ctor_get(x_307, 0); -x_342 = lean_ctor_get(x_307, 1); -lean_inc(x_342); -lean_inc(x_341); +lean_dec(x_306); +x_319 = lean_ctor_get(x_307, 0); +lean_inc(x_319); lean_dec(x_307); -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_341); -lean_ctor_set(x_343, 1, x_342); -return x_343; +x_289 = x_319; +x_290 = x_318; +goto block_304; } } -} -else +block_390: { -uint8_t x_344; -lean_dec(x_293); +lean_object* x_323; lean_object* x_324; +x_323 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +lean_inc(x_3); +x_324 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_323, x_3, x_5, x_322); +if (lean_obj_tag(x_324) == 0) +{ +uint8_t x_325; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_344 = !lean_is_exclusive(x_296); -if (x_344 == 0) +x_325 = !lean_is_exclusive(x_324); +if (x_325 == 0) { -lean_object* x_345; -x_345 = lean_ctor_get(x_296, 0); -lean_dec(x_345); -return x_296; +lean_object* x_326; lean_object* x_327; +x_326 = lean_ctor_get(x_324, 0); +x_327 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_326, x_326, x_323, x_321); +lean_dec(x_326); +lean_ctor_set(x_324, 0, x_327); +return x_324; } else { -lean_object* x_346; lean_object* x_347; -x_346 = lean_ctor_get(x_296, 1); +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; +x_328 = lean_ctor_get(x_324, 0); +x_329 = lean_ctor_get(x_324, 1); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_324); +x_330 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_328, x_328, x_323, x_321); +lean_dec(x_328); +x_331 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_329); +return x_331; +} +} +else +{ +lean_object* x_332; +x_332 = lean_ctor_get(x_324, 0); +lean_inc(x_332); +if (lean_obj_tag(x_332) == 2) +{ +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; +x_333 = lean_ctor_get(x_324, 1); +lean_inc(x_333); +lean_dec(x_324); +x_334 = l_Lean_Expr_mvarId_x21(x_321); +x_335 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_335, 0, x_334); +lean_inc(x_5); +x_336 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_335, x_5, x_333); +if (lean_obj_tag(x_336) == 0) +{ +lean_object* x_337; uint8_t x_338; +x_337 = lean_ctor_get(x_336, 0); +lean_inc(x_337); +x_338 = lean_unbox(x_337); +lean_dec(x_337); +if (x_338 == 0) +{ +lean_object* x_339; lean_object* x_340; lean_object* x_341; +x_339 = lean_ctor_get(x_336, 1); +lean_inc(x_339); +lean_dec(x_336); +x_340 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_340, 0, x_1); +lean_inc(x_5); +x_341 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_340, x_5, x_339); +if (lean_obj_tag(x_341) == 0) +{ +lean_object* x_342; lean_object* x_343; lean_object* x_344; +x_342 = lean_ctor_get(x_341, 0); +lean_inc(x_342); +x_343 = lean_ctor_get(x_341, 1); +lean_inc(x_343); +lean_dec(x_341); +lean_inc(x_5); +x_344 = l_Lean_Meta_CheckAssignment_check___main(x_342, x_5, x_343); +if (lean_obj_tag(x_344) == 0) +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; +x_345 = lean_ctor_get(x_344, 0); +lean_inc(x_345); +x_346 = lean_ctor_get(x_344, 1); lean_inc(x_346); -lean_dec(x_296); -x_347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_347, 0, x_304); -lean_ctor_set(x_347, 1, x_346); -return x_347; +lean_dec(x_344); +x_347 = lean_ctor_get(x_5, 2); +lean_inc(x_347); +x_348 = lean_ctor_get(x_347, 1); +lean_inc(x_348); +x_349 = lean_ctor_get(x_347, 4); +lean_inc(x_349); +lean_dec(x_347); +x_350 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_348, x_349, x_345, x_5, x_346); +x_351 = lean_ctor_get(x_350, 0); +lean_inc(x_351); +x_352 = lean_ctor_get(x_350, 1); +lean_inc(x_352); +lean_dec(x_350); +x_353 = lean_array_get_size(x_3); +lean_dec(x_3); +lean_inc(x_351); +x_354 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_354, 0, x_321); +lean_closure_set(x_354, 1, x_353); +lean_closure_set(x_354, 2, x_351); +x_355 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_354, x_5, x_352); +if (lean_obj_tag(x_355) == 0) +{ +lean_object* x_356; uint8_t x_357; +x_356 = lean_ctor_get(x_355, 0); +lean_inc(x_356); +x_357 = lean_unbox(x_356); +lean_dec(x_356); +if (x_357 == 0) +{ +uint8_t x_358; +lean_dec(x_351); +x_358 = !lean_is_exclusive(x_355); +if (x_358 == 0) +{ +lean_object* x_359; +x_359 = lean_ctor_get(x_355, 0); +lean_dec(x_359); +lean_ctor_set_tag(x_355, 1); +lean_ctor_set(x_355, 0, x_332); +return x_355; +} +else +{ +lean_object* x_360; lean_object* x_361; +x_360 = lean_ctor_get(x_355, 1); +lean_inc(x_360); +lean_dec(x_355); +x_361 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_361, 0, x_332); +lean_ctor_set(x_361, 1, x_360); +return x_361; +} +} +else +{ +uint8_t x_362; +lean_dec(x_332); +x_362 = !lean_is_exclusive(x_355); +if (x_362 == 0) +{ +lean_object* x_363; +x_363 = lean_ctor_get(x_355, 0); +lean_dec(x_363); +lean_ctor_set(x_355, 0, x_351); +return x_355; +} +else +{ +lean_object* x_364; lean_object* x_365; +x_364 = lean_ctor_get(x_355, 1); +lean_inc(x_364); +lean_dec(x_355); +x_365 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_365, 0, x_351); +lean_ctor_set(x_365, 1, x_364); +return x_365; +} +} +} +else +{ +uint8_t x_366; +lean_dec(x_351); +lean_dec(x_332); +x_366 = !lean_is_exclusive(x_355); +if (x_366 == 0) +{ +return x_355; +} +else +{ +lean_object* x_367; lean_object* x_368; lean_object* x_369; +x_367 = lean_ctor_get(x_355, 0); +x_368 = lean_ctor_get(x_355, 1); +lean_inc(x_368); +lean_inc(x_367); +lean_dec(x_355); +x_369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_369, 0, x_367); +lean_ctor_set(x_369, 1, x_368); +return x_369; +} +} +} +else +{ +uint8_t x_370; +lean_dec(x_332); +lean_dec(x_321); +lean_dec(x_5); +lean_dec(x_3); +x_370 = !lean_is_exclusive(x_344); +if (x_370 == 0) +{ +return x_344; +} +else +{ +lean_object* x_371; lean_object* x_372; lean_object* x_373; +x_371 = lean_ctor_get(x_344, 0); +x_372 = lean_ctor_get(x_344, 1); +lean_inc(x_372); +lean_inc(x_371); +lean_dec(x_344); +x_373 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_373, 0, x_371); +lean_ctor_set(x_373, 1, x_372); +return x_373; +} +} +} +else +{ +uint8_t x_374; +lean_dec(x_332); +lean_dec(x_321); +lean_dec(x_5); +lean_dec(x_3); +x_374 = !lean_is_exclusive(x_341); +if (x_374 == 0) +{ +return x_341; +} +else +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; +x_375 = lean_ctor_get(x_341, 0); +x_376 = lean_ctor_get(x_341, 1); +lean_inc(x_376); +lean_inc(x_375); +lean_dec(x_341); +x_377 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_377, 0, x_375); +lean_ctor_set(x_377, 1, x_376); +return x_377; +} +} +} +else +{ +uint8_t x_378; +lean_dec(x_321); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_378 = !lean_is_exclusive(x_336); +if (x_378 == 0) +{ +lean_object* x_379; +x_379 = lean_ctor_get(x_336, 0); +lean_dec(x_379); +lean_ctor_set_tag(x_336, 1); +lean_ctor_set(x_336, 0, x_332); +return x_336; +} +else +{ +lean_object* x_380; lean_object* x_381; +x_380 = lean_ctor_get(x_336, 1); +lean_inc(x_380); +lean_dec(x_336); +x_381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_381, 0, x_332); +lean_ctor_set(x_381, 1, x_380); +return x_381; +} +} +} +else +{ +uint8_t x_382; +lean_dec(x_332); +lean_dec(x_321); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_382 = !lean_is_exclusive(x_336); +if (x_382 == 0) +{ +return x_336; +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; +x_383 = lean_ctor_get(x_336, 0); +x_384 = lean_ctor_get(x_336, 1); +lean_inc(x_384); +lean_inc(x_383); +lean_dec(x_336); +x_385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_383); +lean_ctor_set(x_385, 1, x_384); +return x_385; +} +} +} +else +{ +uint8_t x_386; +lean_dec(x_321); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_386 = !lean_is_exclusive(x_324); +if (x_386 == 0) +{ +lean_object* x_387; +x_387 = lean_ctor_get(x_324, 0); +lean_dec(x_387); +return x_324; +} +else +{ +lean_object* x_388; lean_object* x_389; +x_388 = lean_ctor_get(x_324, 1); +lean_inc(x_388); +lean_dec(x_324); +x_389 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_389, 0, x_332); +lean_ctor_set(x_389, 1, x_388); +return x_389; } } } @@ -19461,505 +19726,338 @@ return x_347; } case 3: { -lean_object* x_388; lean_object* x_389; lean_object* x_404; lean_object* x_420; lean_object* x_421; uint8_t x_476; +lean_object* x_430; lean_object* x_431; lean_object* x_446; lean_object* x_462; lean_object* x_463; uint8_t x_532; lean_dec(x_4); -x_476 = l_Lean_Expr_isMVar(x_2); -if (x_476 == 0) +x_532 = l_Lean_Expr_isMVar(x_2); +if (x_532 == 0) { -uint8_t x_477; +uint8_t x_533; lean_dec(x_1); -x_477 = l_Lean_Expr_hasExprMVar(x_2); -if (x_477 == 0) +x_533 = l_Lean_Expr_hasExprMVar(x_2); +if (x_533 == 0) { -uint8_t x_478; -x_478 = l_Lean_Expr_hasFVar(x_2); -if (x_478 == 0) +uint8_t x_534; +x_534 = l_Lean_Expr_hasFVar(x_2); +if (x_534 == 0) { -x_388 = x_2; -x_389 = x_6; -goto block_403; +x_430 = x_2; +x_431 = x_6; +goto block_445; } else { -lean_object* x_479; -x_479 = lean_box(0); -x_404 = x_479; -goto block_419; +lean_object* x_535; +x_535 = lean_box(0); +x_446 = x_535; +goto block_461; } } else { -lean_object* x_480; -x_480 = lean_box(0); -x_404 = x_480; -goto block_419; +lean_object* x_536; +x_536 = lean_box(0); +x_446 = x_536; +goto block_461; } } else { -lean_object* x_481; lean_object* x_482; uint8_t x_483; -x_481 = lean_ctor_get(x_5, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_481, 0); -lean_inc(x_482); -lean_dec(x_481); -x_483 = lean_ctor_get_uint8(x_482, sizeof(void*)*1 + 1); -lean_dec(x_482); -if (x_483 == 0) +lean_object* x_537; lean_object* x_538; uint8_t x_539; +x_537 = lean_ctor_get(x_5, 0); +lean_inc(x_537); +x_538 = lean_ctor_get(x_537, 0); +lean_inc(x_538); +lean_dec(x_537); +x_539 = lean_ctor_get_uint8(x_538, sizeof(void*)*1 + 1); +lean_dec(x_538); +if (x_539 == 0) { -uint8_t x_484; +uint8_t x_540; lean_dec(x_1); -x_484 = l_Lean_Expr_hasExprMVar(x_2); -if (x_484 == 0) +x_540 = l_Lean_Expr_hasExprMVar(x_2); +if (x_540 == 0) { -uint8_t x_485; -x_485 = l_Lean_Expr_hasFVar(x_2); -if (x_485 == 0) +uint8_t x_541; +x_541 = l_Lean_Expr_hasFVar(x_2); +if (x_541 == 0) { -x_388 = x_2; -x_389 = x_6; -goto block_403; +x_430 = x_2; +x_431 = x_6; +goto block_445; } else { -lean_object* x_486; -x_486 = lean_box(0); -x_404 = x_486; -goto block_419; +lean_object* x_542; +x_542 = lean_box(0); +x_446 = x_542; +goto block_461; } } else { -lean_object* x_487; -x_487 = lean_box(0); -x_404 = x_487; -goto block_419; +lean_object* x_543; +x_543 = lean_box(0); +x_446 = x_543; +goto block_461; } } else { -lean_object* x_488; lean_object* x_489; uint8_t x_490; -x_488 = lean_array_get_size(x_3); -x_489 = lean_unsigned_to_nat(0u); -x_490 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_488, x_489); -lean_dec(x_488); -if (x_490 == 0) +lean_object* x_544; lean_object* x_545; uint8_t x_546; +x_544 = lean_array_get_size(x_3); +x_545 = lean_unsigned_to_nat(0u); +x_546 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_544, x_545); +lean_dec(x_544); +if (x_546 == 0) { -lean_object* x_491; uint8_t x_507; -x_507 = l_Lean_Expr_hasExprMVar(x_2); -if (x_507 == 0) +lean_object* x_547; uint8_t x_563; +x_563 = l_Lean_Expr_hasExprMVar(x_2); +if (x_563 == 0) { -uint8_t x_508; -x_508 = l_Lean_Expr_hasFVar(x_2); -if (x_508 == 0) +uint8_t x_564; +x_564 = l_Lean_Expr_hasFVar(x_2); +if (x_564 == 0) { -x_420 = x_2; -x_421 = x_6; -goto block_475; +x_462 = x_2; +x_463 = x_6; +goto block_531; } else { -lean_object* x_509; -x_509 = lean_box(0); -x_491 = x_509; -goto block_506; +lean_object* x_565; +x_565 = lean_box(0); +x_547 = x_565; +goto block_562; } } else { -lean_object* x_510; -x_510 = lean_box(0); -x_491 = x_510; -goto block_506; +lean_object* x_566; +x_566 = lean_box(0); +x_547 = x_566; +goto block_562; } -block_506: +block_562: { -lean_object* x_492; lean_object* x_493; -lean_dec(x_491); -x_492 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_493 = lean_ctor_get(x_492, 0); -lean_inc(x_493); -if (lean_obj_tag(x_493) == 0) +lean_object* x_548; lean_object* x_549; +lean_dec(x_547); +x_548 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_549 = lean_ctor_get(x_548, 0); +lean_inc(x_549); +if (lean_obj_tag(x_549) == 0) { -lean_object* x_494; lean_object* x_495; -x_494 = lean_ctor_get(x_492, 1); -lean_inc(x_494); -lean_dec(x_492); +lean_object* x_550; lean_object* x_551; +x_550 = lean_ctor_get(x_548, 1); +lean_inc(x_550); +lean_dec(x_548); lean_inc(x_5); lean_inc(x_2); -x_495 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_494); -if (lean_obj_tag(x_495) == 0) +x_551 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_550); +if (lean_obj_tag(x_551) == 0) { -lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; -x_496 = lean_ctor_get(x_495, 0); -lean_inc(x_496); -x_497 = lean_ctor_get(x_495, 1); -lean_inc(x_497); -lean_dec(x_495); -lean_inc(x_496); -x_498 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_496, x_5, x_497); -x_499 = lean_ctor_get(x_498, 1); -lean_inc(x_499); -lean_dec(x_498); -x_420 = x_496; -x_421 = x_499; -goto block_475; +lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; +x_552 = lean_ctor_get(x_551, 0); +lean_inc(x_552); +x_553 = lean_ctor_get(x_551, 1); +lean_inc(x_553); +lean_dec(x_551); +lean_inc(x_552); +x_554 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_552, x_5, x_553); +x_555 = lean_ctor_get(x_554, 1); +lean_inc(x_555); +lean_dec(x_554); +x_462 = x_552; +x_463 = x_555; +goto block_531; } else { -uint8_t x_500; +uint8_t x_556; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_500 = !lean_is_exclusive(x_495); -if (x_500 == 0) +x_556 = !lean_is_exclusive(x_551); +if (x_556 == 0) { -return x_495; +return x_551; } else { -lean_object* x_501; lean_object* x_502; lean_object* x_503; -x_501 = lean_ctor_get(x_495, 0); -x_502 = lean_ctor_get(x_495, 1); -lean_inc(x_502); -lean_inc(x_501); -lean_dec(x_495); -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_501); -lean_ctor_set(x_503, 1, x_502); -return x_503; +lean_object* x_557; lean_object* x_558; lean_object* x_559; +x_557 = lean_ctor_get(x_551, 0); +x_558 = lean_ctor_get(x_551, 1); +lean_inc(x_558); +lean_inc(x_557); +lean_dec(x_551); +x_559 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_559, 0, x_557); +lean_ctor_set(x_559, 1, x_558); +return x_559; } } } else { -lean_object* x_504; lean_object* x_505; +lean_object* x_560; lean_object* x_561; lean_dec(x_2); -x_504 = lean_ctor_get(x_492, 1); -lean_inc(x_504); -lean_dec(x_492); -x_505 = lean_ctor_get(x_493, 0); -lean_inc(x_505); -lean_dec(x_493); -x_420 = x_505; -x_421 = x_504; -goto block_475; +x_560 = lean_ctor_get(x_548, 1); +lean_inc(x_560); +lean_dec(x_548); +x_561 = lean_ctor_get(x_549, 0); +lean_inc(x_561); +lean_dec(x_549); +x_462 = x_561; +x_463 = x_560; +goto block_531; } } } else { -uint8_t x_511; +uint8_t x_567; lean_dec(x_1); -x_511 = l_Lean_Expr_hasExprMVar(x_2); -if (x_511 == 0) +x_567 = l_Lean_Expr_hasExprMVar(x_2); +if (x_567 == 0) { -uint8_t x_512; -x_512 = l_Lean_Expr_hasFVar(x_2); -if (x_512 == 0) +uint8_t x_568; +x_568 = l_Lean_Expr_hasFVar(x_2); +if (x_568 == 0) { -x_388 = x_2; -x_389 = x_6; -goto block_403; +x_430 = x_2; +x_431 = x_6; +goto block_445; } else { -lean_object* x_513; -x_513 = lean_box(0); -x_404 = x_513; -goto block_419; +lean_object* x_569; +x_569 = lean_box(0); +x_446 = x_569; +goto block_461; } } else { -lean_object* x_514; -x_514 = lean_box(0); -x_404 = x_514; -goto block_419; +lean_object* x_570; +x_570 = lean_box(0); +x_446 = x_570; +goto block_461; } } } } -block_403: +block_445: { -lean_object* x_390; lean_object* x_391; -x_390 = lean_unsigned_to_nat(0u); -x_391 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_390, x_3, x_5, x_389); -if (lean_obj_tag(x_391) == 0) +lean_object* x_432; lean_object* x_433; +x_432 = lean_unsigned_to_nat(0u); +x_433 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_432, x_3, x_5, x_431); +if (lean_obj_tag(x_433) == 0) { -uint8_t x_392; -x_392 = !lean_is_exclusive(x_391); -if (x_392 == 0) +uint8_t x_434; +x_434 = !lean_is_exclusive(x_433); +if (x_434 == 0) { -lean_object* x_393; lean_object* x_394; -x_393 = lean_ctor_get(x_391, 0); -x_394 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_393, x_393, x_390, x_388); -lean_dec(x_393); -lean_ctor_set(x_391, 0, x_394); -return x_391; +lean_object* x_435; lean_object* x_436; +x_435 = lean_ctor_get(x_433, 0); +x_436 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_435, x_435, x_432, x_430); +lean_dec(x_435); +lean_ctor_set(x_433, 0, x_436); +return x_433; } else { -lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; -x_395 = lean_ctor_get(x_391, 0); -x_396 = lean_ctor_get(x_391, 1); -lean_inc(x_396); -lean_inc(x_395); -lean_dec(x_391); -x_397 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_395, x_395, x_390, x_388); -lean_dec(x_395); -x_398 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_398, 1, x_396); -return x_398; -} -} -else -{ -uint8_t x_399; -lean_dec(x_388); -x_399 = !lean_is_exclusive(x_391); -if (x_399 == 0) -{ -return x_391; -} -else -{ -lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_400 = lean_ctor_get(x_391, 0); -x_401 = lean_ctor_get(x_391, 1); -lean_inc(x_401); -lean_inc(x_400); -lean_dec(x_391); -x_402 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_402, 0, x_400); -lean_ctor_set(x_402, 1, x_401); -return x_402; -} -} -} -block_419: -{ -lean_object* x_405; lean_object* x_406; -lean_dec(x_404); -x_405 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_406 = lean_ctor_get(x_405, 0); -lean_inc(x_406); -if (lean_obj_tag(x_406) == 0) -{ -lean_object* x_407; lean_object* x_408; -x_407 = lean_ctor_get(x_405, 1); -lean_inc(x_407); -lean_dec(x_405); -lean_inc(x_5); -lean_inc(x_2); -x_408 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_407); -if (lean_obj_tag(x_408) == 0) -{ -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; -x_409 = lean_ctor_get(x_408, 0); -lean_inc(x_409); -x_410 = lean_ctor_get(x_408, 1); -lean_inc(x_410); -lean_dec(x_408); -lean_inc(x_409); -x_411 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_409, x_5, x_410); -x_412 = lean_ctor_get(x_411, 1); -lean_inc(x_412); -lean_dec(x_411); -x_388 = x_409; -x_389 = x_412; -goto block_403; -} -else -{ -uint8_t x_413; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_413 = !lean_is_exclusive(x_408); -if (x_413 == 0) -{ -return x_408; -} -else -{ -lean_object* x_414; lean_object* x_415; lean_object* x_416; -x_414 = lean_ctor_get(x_408, 0); -x_415 = lean_ctor_get(x_408, 1); -lean_inc(x_415); -lean_inc(x_414); -lean_dec(x_408); -x_416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_416, 0, x_414); -lean_ctor_set(x_416, 1, x_415); -return x_416; -} -} -} -else -{ -lean_object* x_417; lean_object* x_418; -lean_dec(x_2); -x_417 = lean_ctor_get(x_405, 1); -lean_inc(x_417); -lean_dec(x_405); -x_418 = lean_ctor_get(x_406, 0); -lean_inc(x_418); -lean_dec(x_406); -x_388 = x_418; -x_389 = x_417; -goto block_403; -} -} -block_475: -{ -lean_object* x_422; lean_object* x_423; -x_422 = lean_unsigned_to_nat(0u); -lean_inc(x_5); -lean_inc(x_3); -x_423 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_422, x_3, x_5, x_421); -if (lean_obj_tag(x_423) == 0) -{ -uint8_t x_424; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_424 = !lean_is_exclusive(x_423); -if (x_424 == 0) -{ -lean_object* x_425; lean_object* x_426; -x_425 = lean_ctor_get(x_423, 0); -x_426 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_425, x_425, x_422, x_420); -lean_dec(x_425); -lean_ctor_set(x_423, 0, x_426); -return x_423; -} -else -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; -x_427 = lean_ctor_get(x_423, 0); -x_428 = lean_ctor_get(x_423, 1); -lean_inc(x_428); -lean_inc(x_427); -lean_dec(x_423); -x_429 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_427, x_427, x_422, x_420); -lean_dec(x_427); -x_430 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_430, 0, x_429); -lean_ctor_set(x_430, 1, x_428); -return x_430; -} -} -else -{ -lean_object* x_431; -x_431 = lean_ctor_get(x_423, 0); -lean_inc(x_431); -if (lean_obj_tag(x_431) == 2) -{ -lean_object* x_432; lean_object* x_433; lean_object* x_434; -x_432 = lean_ctor_get(x_423, 1); -lean_inc(x_432); -lean_dec(x_423); -x_433 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_433, 0, x_1); -lean_inc(x_5); -x_434 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_433, x_5, x_432); -if (lean_obj_tag(x_434) == 0) -{ -lean_object* x_435; lean_object* x_436; lean_object* x_437; -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_434, 1); -lean_inc(x_436); -lean_dec(x_434); -lean_inc(x_5); -x_437 = l_Lean_Meta_CheckAssignment_check___main(x_435, x_5, x_436); -if (lean_obj_tag(x_437) == 0) -{ -lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; -x_438 = lean_ctor_get(x_437, 0); +lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; +x_437 = lean_ctor_get(x_433, 0); +x_438 = lean_ctor_get(x_433, 1); lean_inc(x_438); -x_439 = lean_ctor_get(x_437, 1); -lean_inc(x_439); +lean_inc(x_437); +lean_dec(x_433); +x_439 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_437, x_437, x_432, x_430); lean_dec(x_437); -x_440 = lean_ctor_get(x_5, 2); -lean_inc(x_440); -x_441 = lean_ctor_get(x_440, 1); -lean_inc(x_441); -x_442 = lean_ctor_get(x_440, 4); +x_440 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_440, 0, x_439); +lean_ctor_set(x_440, 1, x_438); +return x_440; +} +} +else +{ +uint8_t x_441; +lean_dec(x_430); +x_441 = !lean_is_exclusive(x_433); +if (x_441 == 0) +{ +return x_433; +} +else +{ +lean_object* x_442; lean_object* x_443; lean_object* x_444; +x_442 = lean_ctor_get(x_433, 0); +x_443 = lean_ctor_get(x_433, 1); +lean_inc(x_443); lean_inc(x_442); -lean_dec(x_440); -x_443 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_441, x_442, x_438, x_5, x_439); -x_444 = lean_ctor_get(x_443, 0); -lean_inc(x_444); -x_445 = lean_ctor_get(x_443, 1); -lean_inc(x_445); -lean_dec(x_443); -x_446 = lean_array_get_size(x_3); -lean_dec(x_3); -lean_inc(x_444); -x_447 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_447, 0, x_420); -lean_closure_set(x_447, 1, x_446); -lean_closure_set(x_447, 2, x_444); -x_448 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_447, x_5, x_445); +lean_dec(x_433); +x_444 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_444, 0, x_442); +lean_ctor_set(x_444, 1, x_443); +return x_444; +} +} +} +block_461: +{ +lean_object* x_447; lean_object* x_448; +lean_dec(x_446); +x_447 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_448 = lean_ctor_get(x_447, 0); +lean_inc(x_448); if (lean_obj_tag(x_448) == 0) { -lean_object* x_449; uint8_t x_450; -x_449 = lean_ctor_get(x_448, 0); +lean_object* x_449; lean_object* x_450; +x_449 = lean_ctor_get(x_447, 1); lean_inc(x_449); -x_450 = lean_unbox(x_449); -lean_dec(x_449); -if (x_450 == 0) +lean_dec(x_447); +lean_inc(x_5); +lean_inc(x_2); +x_450 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_449); +if (lean_obj_tag(x_450) == 0) { -uint8_t x_451; -lean_dec(x_444); -x_451 = !lean_is_exclusive(x_448); -if (x_451 == 0) -{ -lean_object* x_452; -x_452 = lean_ctor_get(x_448, 0); -lean_dec(x_452); -lean_ctor_set_tag(x_448, 1); -lean_ctor_set(x_448, 0, x_431); -return x_448; -} -else -{ -lean_object* x_453; lean_object* x_454; -x_453 = lean_ctor_get(x_448, 1); -lean_inc(x_453); -lean_dec(x_448); -x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_431); -lean_ctor_set(x_454, 1, x_453); -return x_454; -} +lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; +x_451 = lean_ctor_get(x_450, 0); +lean_inc(x_451); +x_452 = lean_ctor_get(x_450, 1); +lean_inc(x_452); +lean_dec(x_450); +lean_inc(x_451); +x_453 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_451, x_5, x_452); +x_454 = lean_ctor_get(x_453, 1); +lean_inc(x_454); +lean_dec(x_453); +x_430 = x_451; +x_431 = x_454; +goto block_445; } else { uint8_t x_455; -lean_dec(x_431); -x_455 = !lean_is_exclusive(x_448); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_455 = !lean_is_exclusive(x_450); if (x_455 == 0) { -lean_object* x_456; -x_456 = lean_ctor_get(x_448, 0); -lean_dec(x_456); -lean_ctor_set(x_448, 0, x_444); -return x_448; +return x_450; } else { -lean_object* x_457; lean_object* x_458; -x_457 = lean_ctor_get(x_448, 1); +lean_object* x_456; lean_object* x_457; lean_object* x_458; +x_456 = lean_ctor_get(x_450, 0); +x_457 = lean_ctor_get(x_450, 1); lean_inc(x_457); -lean_dec(x_448); -x_458 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_458, 0, x_444); +lean_inc(x_456); +lean_dec(x_450); +x_458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_458, 0, x_456); lean_ctor_set(x_458, 1, x_457); return x_458; } @@ -19967,108 +20065,351 @@ return x_458; } else { -uint8_t x_459; -lean_dec(x_444); -lean_dec(x_431); -x_459 = !lean_is_exclusive(x_448); -if (x_459 == 0) -{ -return x_448; -} -else -{ -lean_object* x_460; lean_object* x_461; lean_object* x_462; +lean_object* x_459; lean_object* x_460; +lean_dec(x_2); +x_459 = lean_ctor_get(x_447, 1); +lean_inc(x_459); +lean_dec(x_447); x_460 = lean_ctor_get(x_448, 0); -x_461 = lean_ctor_get(x_448, 1); -lean_inc(x_461); lean_inc(x_460); lean_dec(x_448); -x_462 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_462, 0, x_460); -lean_ctor_set(x_462, 1, x_461); -return x_462; +x_430 = x_460; +x_431 = x_459; +goto block_445; } } -} -else +block_531: { -uint8_t x_463; -lean_dec(x_431); -lean_dec(x_420); -lean_dec(x_5); -lean_dec(x_3); -x_463 = !lean_is_exclusive(x_437); -if (x_463 == 0) +lean_object* x_464; lean_object* x_465; +x_464 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +lean_inc(x_3); +x_465 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_464, x_3, x_5, x_463); +if (lean_obj_tag(x_465) == 0) { -return x_437; -} -else -{ -lean_object* x_464; lean_object* x_465; lean_object* x_466; -x_464 = lean_ctor_get(x_437, 0); -x_465 = lean_ctor_get(x_437, 1); -lean_inc(x_465); -lean_inc(x_464); -lean_dec(x_437); -x_466 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_466, 0, x_464); -lean_ctor_set(x_466, 1, x_465); -return x_466; -} -} -} -else -{ -uint8_t x_467; -lean_dec(x_431); -lean_dec(x_420); -lean_dec(x_5); -lean_dec(x_3); -x_467 = !lean_is_exclusive(x_434); -if (x_467 == 0) -{ -return x_434; -} -else -{ -lean_object* x_468; lean_object* x_469; lean_object* x_470; -x_468 = lean_ctor_get(x_434, 0); -x_469 = lean_ctor_get(x_434, 1); -lean_inc(x_469); -lean_inc(x_468); -lean_dec(x_434); -x_470 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_470, 0, x_468); -lean_ctor_set(x_470, 1, x_469); -return x_470; -} -} -} -else -{ -uint8_t x_471; -lean_dec(x_420); +uint8_t x_466; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_471 = !lean_is_exclusive(x_423); -if (x_471 == 0) +x_466 = !lean_is_exclusive(x_465); +if (x_466 == 0) { -lean_object* x_472; -x_472 = lean_ctor_get(x_423, 0); -lean_dec(x_472); -return x_423; +lean_object* x_467; lean_object* x_468; +x_467 = lean_ctor_get(x_465, 0); +x_468 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_467, x_467, x_464, x_462); +lean_dec(x_467); +lean_ctor_set(x_465, 0, x_468); +return x_465; } else { -lean_object* x_473; lean_object* x_474; -x_473 = lean_ctor_get(x_423, 1); +lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; +x_469 = lean_ctor_get(x_465, 0); +x_470 = lean_ctor_get(x_465, 1); +lean_inc(x_470); +lean_inc(x_469); +lean_dec(x_465); +x_471 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_469, x_469, x_464, x_462); +lean_dec(x_469); +x_472 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_472, 0, x_471); +lean_ctor_set(x_472, 1, x_470); +return x_472; +} +} +else +{ +lean_object* x_473; +x_473 = lean_ctor_get(x_465, 0); lean_inc(x_473); -lean_dec(x_423); -x_474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_474, 0, x_431); -lean_ctor_set(x_474, 1, x_473); -return x_474; +if (lean_obj_tag(x_473) == 2) +{ +lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; +x_474 = lean_ctor_get(x_465, 1); +lean_inc(x_474); +lean_dec(x_465); +x_475 = l_Lean_Expr_mvarId_x21(x_462); +x_476 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_476, 0, x_475); +lean_inc(x_5); +x_477 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_476, x_5, x_474); +if (lean_obj_tag(x_477) == 0) +{ +lean_object* x_478; uint8_t x_479; +x_478 = lean_ctor_get(x_477, 0); +lean_inc(x_478); +x_479 = lean_unbox(x_478); +lean_dec(x_478); +if (x_479 == 0) +{ +lean_object* x_480; lean_object* x_481; lean_object* x_482; +x_480 = lean_ctor_get(x_477, 1); +lean_inc(x_480); +lean_dec(x_477); +x_481 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_481, 0, x_1); +lean_inc(x_5); +x_482 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_481, x_5, x_480); +if (lean_obj_tag(x_482) == 0) +{ +lean_object* x_483; lean_object* x_484; lean_object* x_485; +x_483 = lean_ctor_get(x_482, 0); +lean_inc(x_483); +x_484 = lean_ctor_get(x_482, 1); +lean_inc(x_484); +lean_dec(x_482); +lean_inc(x_5); +x_485 = l_Lean_Meta_CheckAssignment_check___main(x_483, x_5, x_484); +if (lean_obj_tag(x_485) == 0) +{ +lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; +x_486 = lean_ctor_get(x_485, 0); +lean_inc(x_486); +x_487 = lean_ctor_get(x_485, 1); +lean_inc(x_487); +lean_dec(x_485); +x_488 = lean_ctor_get(x_5, 2); +lean_inc(x_488); +x_489 = lean_ctor_get(x_488, 1); +lean_inc(x_489); +x_490 = lean_ctor_get(x_488, 4); +lean_inc(x_490); +lean_dec(x_488); +x_491 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_489, x_490, x_486, x_5, x_487); +x_492 = lean_ctor_get(x_491, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_491, 1); +lean_inc(x_493); +lean_dec(x_491); +x_494 = lean_array_get_size(x_3); +lean_dec(x_3); +lean_inc(x_492); +x_495 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_495, 0, x_462); +lean_closure_set(x_495, 1, x_494); +lean_closure_set(x_495, 2, x_492); +x_496 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_495, x_5, x_493); +if (lean_obj_tag(x_496) == 0) +{ +lean_object* x_497; uint8_t x_498; +x_497 = lean_ctor_get(x_496, 0); +lean_inc(x_497); +x_498 = lean_unbox(x_497); +lean_dec(x_497); +if (x_498 == 0) +{ +uint8_t x_499; +lean_dec(x_492); +x_499 = !lean_is_exclusive(x_496); +if (x_499 == 0) +{ +lean_object* x_500; +x_500 = lean_ctor_get(x_496, 0); +lean_dec(x_500); +lean_ctor_set_tag(x_496, 1); +lean_ctor_set(x_496, 0, x_473); +return x_496; +} +else +{ +lean_object* x_501; lean_object* x_502; +x_501 = lean_ctor_get(x_496, 1); +lean_inc(x_501); +lean_dec(x_496); +x_502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_502, 0, x_473); +lean_ctor_set(x_502, 1, x_501); +return x_502; +} +} +else +{ +uint8_t x_503; +lean_dec(x_473); +x_503 = !lean_is_exclusive(x_496); +if (x_503 == 0) +{ +lean_object* x_504; +x_504 = lean_ctor_get(x_496, 0); +lean_dec(x_504); +lean_ctor_set(x_496, 0, x_492); +return x_496; +} +else +{ +lean_object* x_505; lean_object* x_506; +x_505 = lean_ctor_get(x_496, 1); +lean_inc(x_505); +lean_dec(x_496); +x_506 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_506, 0, x_492); +lean_ctor_set(x_506, 1, x_505); +return x_506; +} +} +} +else +{ +uint8_t x_507; +lean_dec(x_492); +lean_dec(x_473); +x_507 = !lean_is_exclusive(x_496); +if (x_507 == 0) +{ +return x_496; +} +else +{ +lean_object* x_508; lean_object* x_509; lean_object* x_510; +x_508 = lean_ctor_get(x_496, 0); +x_509 = lean_ctor_get(x_496, 1); +lean_inc(x_509); +lean_inc(x_508); +lean_dec(x_496); +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_508); +lean_ctor_set(x_510, 1, x_509); +return x_510; +} +} +} +else +{ +uint8_t x_511; +lean_dec(x_473); +lean_dec(x_462); +lean_dec(x_5); +lean_dec(x_3); +x_511 = !lean_is_exclusive(x_485); +if (x_511 == 0) +{ +return x_485; +} +else +{ +lean_object* x_512; lean_object* x_513; lean_object* x_514; +x_512 = lean_ctor_get(x_485, 0); +x_513 = lean_ctor_get(x_485, 1); +lean_inc(x_513); +lean_inc(x_512); +lean_dec(x_485); +x_514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_514, 0, x_512); +lean_ctor_set(x_514, 1, x_513); +return x_514; +} +} +} +else +{ +uint8_t x_515; +lean_dec(x_473); +lean_dec(x_462); +lean_dec(x_5); +lean_dec(x_3); +x_515 = !lean_is_exclusive(x_482); +if (x_515 == 0) +{ +return x_482; +} +else +{ +lean_object* x_516; lean_object* x_517; lean_object* x_518; +x_516 = lean_ctor_get(x_482, 0); +x_517 = lean_ctor_get(x_482, 1); +lean_inc(x_517); +lean_inc(x_516); +lean_dec(x_482); +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_516); +lean_ctor_set(x_518, 1, x_517); +return x_518; +} +} +} +else +{ +uint8_t x_519; +lean_dec(x_462); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_519 = !lean_is_exclusive(x_477); +if (x_519 == 0) +{ +lean_object* x_520; +x_520 = lean_ctor_get(x_477, 0); +lean_dec(x_520); +lean_ctor_set_tag(x_477, 1); +lean_ctor_set(x_477, 0, x_473); +return x_477; +} +else +{ +lean_object* x_521; lean_object* x_522; +x_521 = lean_ctor_get(x_477, 1); +lean_inc(x_521); +lean_dec(x_477); +x_522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_522, 0, x_473); +lean_ctor_set(x_522, 1, x_521); +return x_522; +} +} +} +else +{ +uint8_t x_523; +lean_dec(x_473); +lean_dec(x_462); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_523 = !lean_is_exclusive(x_477); +if (x_523 == 0) +{ +return x_477; +} +else +{ +lean_object* x_524; lean_object* x_525; lean_object* x_526; +x_524 = lean_ctor_get(x_477, 0); +x_525 = lean_ctor_get(x_477, 1); +lean_inc(x_525); +lean_inc(x_524); +lean_dec(x_477); +x_526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_526, 0, x_524); +lean_ctor_set(x_526, 1, x_525); +return x_526; +} +} +} +else +{ +uint8_t x_527; +lean_dec(x_462); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_527 = !lean_is_exclusive(x_465); +if (x_527 == 0) +{ +lean_object* x_528; +x_528 = lean_ctor_get(x_465, 0); +lean_dec(x_528); +return x_465; +} +else +{ +lean_object* x_529; lean_object* x_530; +x_529 = lean_ctor_get(x_465, 1); +lean_inc(x_529); +lean_dec(x_465); +x_530 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_530, 0, x_473); +lean_ctor_set(x_530, 1, x_529); +return x_530; } } } @@ -20076,614 +20417,690 @@ return x_474; } case 4: { -lean_object* x_515; lean_object* x_516; lean_object* x_531; lean_object* x_547; lean_object* x_548; uint8_t x_603; +lean_object* x_571; lean_object* x_572; lean_object* x_587; lean_object* x_603; lean_object* x_604; uint8_t x_673; lean_dec(x_4); -x_603 = l_Lean_Expr_isMVar(x_2); -if (x_603 == 0) +x_673 = l_Lean_Expr_isMVar(x_2); +if (x_673 == 0) { -uint8_t x_604; +uint8_t x_674; lean_dec(x_1); -x_604 = l_Lean_Expr_hasExprMVar(x_2); -if (x_604 == 0) +x_674 = l_Lean_Expr_hasExprMVar(x_2); +if (x_674 == 0) { -uint8_t x_605; -x_605 = l_Lean_Expr_hasFVar(x_2); -if (x_605 == 0) +uint8_t x_675; +x_675 = l_Lean_Expr_hasFVar(x_2); +if (x_675 == 0) { -x_515 = x_2; -x_516 = x_6; -goto block_530; +x_571 = x_2; +x_572 = x_6; +goto block_586; } else { -lean_object* x_606; -x_606 = lean_box(0); -x_531 = x_606; -goto block_546; -} -} -else -{ -lean_object* x_607; -x_607 = lean_box(0); -x_531 = x_607; -goto block_546; -} -} -else -{ -lean_object* x_608; lean_object* x_609; uint8_t x_610; -x_608 = lean_ctor_get(x_5, 0); -lean_inc(x_608); -x_609 = lean_ctor_get(x_608, 0); -lean_inc(x_609); -lean_dec(x_608); -x_610 = lean_ctor_get_uint8(x_609, sizeof(void*)*1 + 1); -lean_dec(x_609); -if (x_610 == 0) -{ -uint8_t x_611; -lean_dec(x_1); -x_611 = l_Lean_Expr_hasExprMVar(x_2); -if (x_611 == 0) -{ -uint8_t x_612; -x_612 = l_Lean_Expr_hasFVar(x_2); -if (x_612 == 0) -{ -x_515 = x_2; -x_516 = x_6; -goto block_530; -} -else -{ -lean_object* x_613; -x_613 = lean_box(0); -x_531 = x_613; -goto block_546; -} -} -else -{ -lean_object* x_614; -x_614 = lean_box(0); -x_531 = x_614; -goto block_546; -} -} -else -{ -lean_object* x_615; lean_object* x_616; uint8_t x_617; -x_615 = lean_array_get_size(x_3); -x_616 = lean_unsigned_to_nat(0u); -x_617 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_615, x_616); -lean_dec(x_615); -if (x_617 == 0) -{ -lean_object* x_618; uint8_t x_634; -x_634 = l_Lean_Expr_hasExprMVar(x_2); -if (x_634 == 0) -{ -uint8_t x_635; -x_635 = l_Lean_Expr_hasFVar(x_2); -if (x_635 == 0) -{ -x_547 = x_2; -x_548 = x_6; +lean_object* x_676; +x_676 = lean_box(0); +x_587 = x_676; goto block_602; } +} else { -lean_object* x_636; -x_636 = lean_box(0); -x_618 = x_636; -goto block_633; +lean_object* x_677; +x_677 = lean_box(0); +x_587 = x_677; +goto block_602; } } else { -lean_object* x_637; -x_637 = lean_box(0); -x_618 = x_637; -goto block_633; +lean_object* x_678; lean_object* x_679; uint8_t x_680; +x_678 = lean_ctor_get(x_5, 0); +lean_inc(x_678); +x_679 = lean_ctor_get(x_678, 0); +lean_inc(x_679); +lean_dec(x_678); +x_680 = lean_ctor_get_uint8(x_679, sizeof(void*)*1 + 1); +lean_dec(x_679); +if (x_680 == 0) +{ +uint8_t x_681; +lean_dec(x_1); +x_681 = l_Lean_Expr_hasExprMVar(x_2); +if (x_681 == 0) +{ +uint8_t x_682; +x_682 = l_Lean_Expr_hasFVar(x_2); +if (x_682 == 0) +{ +x_571 = x_2; +x_572 = x_6; +goto block_586; } -block_633: +else { -lean_object* x_619; lean_object* x_620; -lean_dec(x_618); -x_619 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_620 = lean_ctor_get(x_619, 0); -lean_inc(x_620); -if (lean_obj_tag(x_620) == 0) +lean_object* x_683; +x_683 = lean_box(0); +x_587 = x_683; +goto block_602; +} +} +else { -lean_object* x_621; lean_object* x_622; -x_621 = lean_ctor_get(x_619, 1); -lean_inc(x_621); -lean_dec(x_619); +lean_object* x_684; +x_684 = lean_box(0); +x_587 = x_684; +goto block_602; +} +} +else +{ +lean_object* x_685; lean_object* x_686; uint8_t x_687; +x_685 = lean_array_get_size(x_3); +x_686 = lean_unsigned_to_nat(0u); +x_687 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_685, x_686); +lean_dec(x_685); +if (x_687 == 0) +{ +lean_object* x_688; uint8_t x_704; +x_704 = l_Lean_Expr_hasExprMVar(x_2); +if (x_704 == 0) +{ +uint8_t x_705; +x_705 = l_Lean_Expr_hasFVar(x_2); +if (x_705 == 0) +{ +x_603 = x_2; +x_604 = x_6; +goto block_672; +} +else +{ +lean_object* x_706; +x_706 = lean_box(0); +x_688 = x_706; +goto block_703; +} +} +else +{ +lean_object* x_707; +x_707 = lean_box(0); +x_688 = x_707; +goto block_703; +} +block_703: +{ +lean_object* x_689; lean_object* x_690; +lean_dec(x_688); +x_689 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_690 = lean_ctor_get(x_689, 0); +lean_inc(x_690); +if (lean_obj_tag(x_690) == 0) +{ +lean_object* x_691; lean_object* x_692; +x_691 = lean_ctor_get(x_689, 1); +lean_inc(x_691); +lean_dec(x_689); lean_inc(x_5); lean_inc(x_2); -x_622 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_621); -if (lean_obj_tag(x_622) == 0) +x_692 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_691); +if (lean_obj_tag(x_692) == 0) { -lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; -x_623 = lean_ctor_get(x_622, 0); -lean_inc(x_623); -x_624 = lean_ctor_get(x_622, 1); -lean_inc(x_624); -lean_dec(x_622); -lean_inc(x_623); -x_625 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_623, x_5, x_624); -x_626 = lean_ctor_get(x_625, 1); -lean_inc(x_626); -lean_dec(x_625); -x_547 = x_623; -x_548 = x_626; -goto block_602; +lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; +x_693 = lean_ctor_get(x_692, 0); +lean_inc(x_693); +x_694 = lean_ctor_get(x_692, 1); +lean_inc(x_694); +lean_dec(x_692); +lean_inc(x_693); +x_695 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_693, x_5, x_694); +x_696 = lean_ctor_get(x_695, 1); +lean_inc(x_696); +lean_dec(x_695); +x_603 = x_693; +x_604 = x_696; +goto block_672; } else { -uint8_t x_627; +uint8_t x_697; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_627 = !lean_is_exclusive(x_622); -if (x_627 == 0) +x_697 = !lean_is_exclusive(x_692); +if (x_697 == 0) { -return x_622; +return x_692; } else { -lean_object* x_628; lean_object* x_629; lean_object* x_630; -x_628 = lean_ctor_get(x_622, 0); -x_629 = lean_ctor_get(x_622, 1); -lean_inc(x_629); -lean_inc(x_628); -lean_dec(x_622); -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_628); -lean_ctor_set(x_630, 1, x_629); -return x_630; +lean_object* x_698; lean_object* x_699; lean_object* x_700; +x_698 = lean_ctor_get(x_692, 0); +x_699 = lean_ctor_get(x_692, 1); +lean_inc(x_699); +lean_inc(x_698); +lean_dec(x_692); +x_700 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_700, 0, x_698); +lean_ctor_set(x_700, 1, x_699); +return x_700; } } } else { -lean_object* x_631; lean_object* x_632; +lean_object* x_701; lean_object* x_702; lean_dec(x_2); -x_631 = lean_ctor_get(x_619, 1); -lean_inc(x_631); -lean_dec(x_619); -x_632 = lean_ctor_get(x_620, 0); -lean_inc(x_632); -lean_dec(x_620); -x_547 = x_632; -x_548 = x_631; +x_701 = lean_ctor_get(x_689, 1); +lean_inc(x_701); +lean_dec(x_689); +x_702 = lean_ctor_get(x_690, 0); +lean_inc(x_702); +lean_dec(x_690); +x_603 = x_702; +x_604 = x_701; +goto block_672; +} +} +} +else +{ +uint8_t x_708; +lean_dec(x_1); +x_708 = l_Lean_Expr_hasExprMVar(x_2); +if (x_708 == 0) +{ +uint8_t x_709; +x_709 = l_Lean_Expr_hasFVar(x_2); +if (x_709 == 0) +{ +x_571 = x_2; +x_572 = x_6; +goto block_586; +} +else +{ +lean_object* x_710; +x_710 = lean_box(0); +x_587 = x_710; +goto block_602; +} +} +else +{ +lean_object* x_711; +x_711 = lean_box(0); +x_587 = x_711; goto block_602; } } } -else -{ -uint8_t x_638; -lean_dec(x_1); -x_638 = l_Lean_Expr_hasExprMVar(x_2); -if (x_638 == 0) -{ -uint8_t x_639; -x_639 = l_Lean_Expr_hasFVar(x_2); -if (x_639 == 0) -{ -x_515 = x_2; -x_516 = x_6; -goto block_530; } -else +block_586: { -lean_object* x_640; -x_640 = lean_box(0); -x_531 = x_640; -goto block_546; -} -} -else +lean_object* x_573; lean_object* x_574; +x_573 = lean_unsigned_to_nat(0u); +x_574 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_573, x_3, x_5, x_572); +if (lean_obj_tag(x_574) == 0) { -lean_object* x_641; -x_641 = lean_box(0); -x_531 = x_641; -goto block_546; -} -} -} -} -block_530: +uint8_t x_575; +x_575 = !lean_is_exclusive(x_574); +if (x_575 == 0) { -lean_object* x_517; lean_object* x_518; -x_517 = lean_unsigned_to_nat(0u); -x_518 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_517, x_3, x_5, x_516); -if (lean_obj_tag(x_518) == 0) -{ -uint8_t x_519; -x_519 = !lean_is_exclusive(x_518); -if (x_519 == 0) -{ -lean_object* x_520; lean_object* x_521; -x_520 = lean_ctor_get(x_518, 0); -x_521 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_520, x_520, x_517, x_515); -lean_dec(x_520); -lean_ctor_set(x_518, 0, x_521); -return x_518; -} -else -{ -lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; -x_522 = lean_ctor_get(x_518, 0); -x_523 = lean_ctor_get(x_518, 1); -lean_inc(x_523); -lean_inc(x_522); -lean_dec(x_518); -x_524 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_522, x_522, x_517, x_515); -lean_dec(x_522); -x_525 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_525, 0, x_524); -lean_ctor_set(x_525, 1, x_523); -return x_525; -} -} -else -{ -uint8_t x_526; -lean_dec(x_515); -x_526 = !lean_is_exclusive(x_518); -if (x_526 == 0) -{ -return x_518; -} -else -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; -x_527 = lean_ctor_get(x_518, 0); -x_528 = lean_ctor_get(x_518, 1); -lean_inc(x_528); -lean_inc(x_527); -lean_dec(x_518); -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_527); -lean_ctor_set(x_529, 1, x_528); -return x_529; -} -} -} -block_546: -{ -lean_object* x_532; lean_object* x_533; -lean_dec(x_531); -x_532 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_533 = lean_ctor_get(x_532, 0); -lean_inc(x_533); -if (lean_obj_tag(x_533) == 0) -{ -lean_object* x_534; lean_object* x_535; -x_534 = lean_ctor_get(x_532, 1); -lean_inc(x_534); -lean_dec(x_532); -lean_inc(x_5); -lean_inc(x_2); -x_535 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_534); -if (lean_obj_tag(x_535) == 0) -{ -lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; -x_536 = lean_ctor_get(x_535, 0); -lean_inc(x_536); -x_537 = lean_ctor_get(x_535, 1); -lean_inc(x_537); -lean_dec(x_535); -lean_inc(x_536); -x_538 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_536, x_5, x_537); -x_539 = lean_ctor_get(x_538, 1); -lean_inc(x_539); -lean_dec(x_538); -x_515 = x_536; -x_516 = x_539; -goto block_530; -} -else -{ -uint8_t x_540; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_540 = !lean_is_exclusive(x_535); -if (x_540 == 0) -{ -return x_535; -} -else -{ -lean_object* x_541; lean_object* x_542; lean_object* x_543; -x_541 = lean_ctor_get(x_535, 0); -x_542 = lean_ctor_get(x_535, 1); -lean_inc(x_542); -lean_inc(x_541); -lean_dec(x_535); -x_543 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_543, 0, x_541); -lean_ctor_set(x_543, 1, x_542); -return x_543; -} -} -} -else -{ -lean_object* x_544; lean_object* x_545; -lean_dec(x_2); -x_544 = lean_ctor_get(x_532, 1); -lean_inc(x_544); -lean_dec(x_532); -x_545 = lean_ctor_get(x_533, 0); -lean_inc(x_545); -lean_dec(x_533); -x_515 = x_545; -x_516 = x_544; -goto block_530; -} -} -block_602: -{ -lean_object* x_549; lean_object* x_550; -x_549 = lean_unsigned_to_nat(0u); -lean_inc(x_5); -lean_inc(x_3); -x_550 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_549, x_3, x_5, x_548); -if (lean_obj_tag(x_550) == 0) -{ -uint8_t x_551; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_551 = !lean_is_exclusive(x_550); -if (x_551 == 0) -{ -lean_object* x_552; lean_object* x_553; -x_552 = lean_ctor_get(x_550, 0); -x_553 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_552, x_552, x_549, x_547); -lean_dec(x_552); -lean_ctor_set(x_550, 0, x_553); -return x_550; -} -else -{ -lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; -x_554 = lean_ctor_get(x_550, 0); -x_555 = lean_ctor_get(x_550, 1); -lean_inc(x_555); -lean_inc(x_554); -lean_dec(x_550); -x_556 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_554, x_554, x_549, x_547); -lean_dec(x_554); -x_557 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_557, 0, x_556); -lean_ctor_set(x_557, 1, x_555); -return x_557; -} -} -else -{ -lean_object* x_558; -x_558 = lean_ctor_get(x_550, 0); -lean_inc(x_558); -if (lean_obj_tag(x_558) == 2) -{ -lean_object* x_559; lean_object* x_560; lean_object* x_561; -x_559 = lean_ctor_get(x_550, 1); -lean_inc(x_559); -lean_dec(x_550); -x_560 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_560, 0, x_1); -lean_inc(x_5); -x_561 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_560, x_5, x_559); -if (lean_obj_tag(x_561) == 0) -{ -lean_object* x_562; lean_object* x_563; lean_object* x_564; -x_562 = lean_ctor_get(x_561, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_561, 1); -lean_inc(x_563); -lean_dec(x_561); -lean_inc(x_5); -x_564 = l_Lean_Meta_CheckAssignment_check___main(x_562, x_5, x_563); -if (lean_obj_tag(x_564) == 0) -{ -lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; -x_565 = lean_ctor_get(x_564, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_564, 1); -lean_inc(x_566); -lean_dec(x_564); -x_567 = lean_ctor_get(x_5, 2); -lean_inc(x_567); -x_568 = lean_ctor_get(x_567, 1); -lean_inc(x_568); -x_569 = lean_ctor_get(x_567, 4); -lean_inc(x_569); -lean_dec(x_567); -x_570 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_568, x_569, x_565, x_5, x_566); -x_571 = lean_ctor_get(x_570, 0); -lean_inc(x_571); -x_572 = lean_ctor_get(x_570, 1); -lean_inc(x_572); -lean_dec(x_570); -x_573 = lean_array_get_size(x_3); -lean_dec(x_3); -lean_inc(x_571); -x_574 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_574, 0, x_547); -lean_closure_set(x_574, 1, x_573); -lean_closure_set(x_574, 2, x_571); -x_575 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_574, x_5, x_572); -if (lean_obj_tag(x_575) == 0) -{ -lean_object* x_576; uint8_t x_577; -x_576 = lean_ctor_get(x_575, 0); -lean_inc(x_576); -x_577 = lean_unbox(x_576); +lean_object* x_576; lean_object* x_577; +x_576 = lean_ctor_get(x_574, 0); +x_577 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_576, x_576, x_573, x_571); lean_dec(x_576); -if (x_577 == 0) -{ -uint8_t x_578; -lean_dec(x_571); -x_578 = !lean_is_exclusive(x_575); -if (x_578 == 0) -{ -lean_object* x_579; -x_579 = lean_ctor_get(x_575, 0); -lean_dec(x_579); -lean_ctor_set_tag(x_575, 1); -lean_ctor_set(x_575, 0, x_558); -return x_575; +lean_ctor_set(x_574, 0, x_577); +return x_574; } else { -lean_object* x_580; lean_object* x_581; -x_580 = lean_ctor_get(x_575, 1); -lean_inc(x_580); -lean_dec(x_575); -x_581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_581, 0, x_558); -lean_ctor_set(x_581, 1, x_580); +lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; +x_578 = lean_ctor_get(x_574, 0); +x_579 = lean_ctor_get(x_574, 1); +lean_inc(x_579); +lean_inc(x_578); +lean_dec(x_574); +x_580 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_578, x_578, x_573, x_571); +lean_dec(x_578); +x_581 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_581, 0, x_580); +lean_ctor_set(x_581, 1, x_579); return x_581; } } else { uint8_t x_582; -lean_dec(x_558); -x_582 = !lean_is_exclusive(x_575); +lean_dec(x_571); +x_582 = !lean_is_exclusive(x_574); if (x_582 == 0) { -lean_object* x_583; -x_583 = lean_ctor_get(x_575, 0); -lean_dec(x_583); -lean_ctor_set(x_575, 0, x_571); -return x_575; +return x_574; } else { -lean_object* x_584; lean_object* x_585; -x_584 = lean_ctor_get(x_575, 1); +lean_object* x_583; lean_object* x_584; lean_object* x_585; +x_583 = lean_ctor_get(x_574, 0); +x_584 = lean_ctor_get(x_574, 1); lean_inc(x_584); -lean_dec(x_575); -x_585 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_585, 0, x_571); +lean_inc(x_583); +lean_dec(x_574); +x_585 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_585, 0, x_583); lean_ctor_set(x_585, 1, x_584); return x_585; } } } -else +block_602: { -uint8_t x_586; -lean_dec(x_571); -lean_dec(x_558); -x_586 = !lean_is_exclusive(x_575); -if (x_586 == 0) +lean_object* x_588; lean_object* x_589; +lean_dec(x_587); +x_588 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_589 = lean_ctor_get(x_588, 0); +lean_inc(x_589); +if (lean_obj_tag(x_589) == 0) { -return x_575; -} -else +lean_object* x_590; lean_object* x_591; +x_590 = lean_ctor_get(x_588, 1); +lean_inc(x_590); +lean_dec(x_588); +lean_inc(x_5); +lean_inc(x_2); +x_591 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_590); +if (lean_obj_tag(x_591) == 0) { -lean_object* x_587; lean_object* x_588; lean_object* x_589; -x_587 = lean_ctor_get(x_575, 0); -x_588 = lean_ctor_get(x_575, 1); -lean_inc(x_588); -lean_inc(x_587); -lean_dec(x_575); -x_589 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_589, 0, x_587); -lean_ctor_set(x_589, 1, x_588); -return x_589; -} -} -} -else -{ -uint8_t x_590; -lean_dec(x_558); -lean_dec(x_547); -lean_dec(x_5); -lean_dec(x_3); -x_590 = !lean_is_exclusive(x_564); -if (x_590 == 0) -{ -return x_564; -} -else -{ -lean_object* x_591; lean_object* x_592; lean_object* x_593; -x_591 = lean_ctor_get(x_564, 0); -x_592 = lean_ctor_get(x_564, 1); +lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; +x_592 = lean_ctor_get(x_591, 0); lean_inc(x_592); -lean_inc(x_591); -lean_dec(x_564); -x_593 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_593, 0, x_591); -lean_ctor_set(x_593, 1, x_592); -return x_593; -} -} -} -else -{ -uint8_t x_594; -lean_dec(x_558); -lean_dec(x_547); -lean_dec(x_5); -lean_dec(x_3); -x_594 = !lean_is_exclusive(x_561); -if (x_594 == 0) -{ -return x_561; -} -else -{ -lean_object* x_595; lean_object* x_596; lean_object* x_597; -x_595 = lean_ctor_get(x_561, 0); -x_596 = lean_ctor_get(x_561, 1); -lean_inc(x_596); +x_593 = lean_ctor_get(x_591, 1); +lean_inc(x_593); +lean_dec(x_591); +lean_inc(x_592); +x_594 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_592, x_5, x_593); +x_595 = lean_ctor_get(x_594, 1); lean_inc(x_595); -lean_dec(x_561); -x_597 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_597, 0, x_595); -lean_ctor_set(x_597, 1, x_596); -return x_597; -} -} +lean_dec(x_594); +x_571 = x_592; +x_572 = x_595; +goto block_586; } else { -uint8_t x_598; -lean_dec(x_547); +uint8_t x_596; lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_598 = !lean_is_exclusive(x_550); -if (x_598 == 0) +lean_dec(x_2); +x_596 = !lean_is_exclusive(x_591); +if (x_596 == 0) { -lean_object* x_599; -x_599 = lean_ctor_get(x_550, 0); -lean_dec(x_599); -return x_550; +return x_591; +} +else +{ +lean_object* x_597; lean_object* x_598; lean_object* x_599; +x_597 = lean_ctor_get(x_591, 0); +x_598 = lean_ctor_get(x_591, 1); +lean_inc(x_598); +lean_inc(x_597); +lean_dec(x_591); +x_599 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_599, 0, x_597); +lean_ctor_set(x_599, 1, x_598); +return x_599; +} +} } else { lean_object* x_600; lean_object* x_601; -x_600 = lean_ctor_get(x_550, 1); +lean_dec(x_2); +x_600 = lean_ctor_get(x_588, 1); lean_inc(x_600); -lean_dec(x_550); -x_601 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_601, 0, x_558); -lean_ctor_set(x_601, 1, x_600); -return x_601; +lean_dec(x_588); +x_601 = lean_ctor_get(x_589, 0); +lean_inc(x_601); +lean_dec(x_589); +x_571 = x_601; +x_572 = x_600; +goto block_586; +} +} +block_672: +{ +lean_object* x_605; lean_object* x_606; +x_605 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +lean_inc(x_3); +x_606 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_605, x_3, x_5, x_604); +if (lean_obj_tag(x_606) == 0) +{ +uint8_t x_607; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_607 = !lean_is_exclusive(x_606); +if (x_607 == 0) +{ +lean_object* x_608; lean_object* x_609; +x_608 = lean_ctor_get(x_606, 0); +x_609 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_608, x_608, x_605, x_603); +lean_dec(x_608); +lean_ctor_set(x_606, 0, x_609); +return x_606; +} +else +{ +lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; +x_610 = lean_ctor_get(x_606, 0); +x_611 = lean_ctor_get(x_606, 1); +lean_inc(x_611); +lean_inc(x_610); +lean_dec(x_606); +x_612 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_610, x_610, x_605, x_603); +lean_dec(x_610); +x_613 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_613, 0, x_612); +lean_ctor_set(x_613, 1, x_611); +return x_613; +} +} +else +{ +lean_object* x_614; +x_614 = lean_ctor_get(x_606, 0); +lean_inc(x_614); +if (lean_obj_tag(x_614) == 2) +{ +lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; +x_615 = lean_ctor_get(x_606, 1); +lean_inc(x_615); +lean_dec(x_606); +x_616 = l_Lean_Expr_mvarId_x21(x_603); +x_617 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_617, 0, x_616); +lean_inc(x_5); +x_618 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_617, x_5, x_615); +if (lean_obj_tag(x_618) == 0) +{ +lean_object* x_619; uint8_t x_620; +x_619 = lean_ctor_get(x_618, 0); +lean_inc(x_619); +x_620 = lean_unbox(x_619); +lean_dec(x_619); +if (x_620 == 0) +{ +lean_object* x_621; lean_object* x_622; lean_object* x_623; +x_621 = lean_ctor_get(x_618, 1); +lean_inc(x_621); +lean_dec(x_618); +x_622 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_622, 0, x_1); +lean_inc(x_5); +x_623 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_622, x_5, x_621); +if (lean_obj_tag(x_623) == 0) +{ +lean_object* x_624; lean_object* x_625; lean_object* x_626; +x_624 = lean_ctor_get(x_623, 0); +lean_inc(x_624); +x_625 = lean_ctor_get(x_623, 1); +lean_inc(x_625); +lean_dec(x_623); +lean_inc(x_5); +x_626 = l_Lean_Meta_CheckAssignment_check___main(x_624, x_5, x_625); +if (lean_obj_tag(x_626) == 0) +{ +lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; +x_627 = lean_ctor_get(x_626, 0); +lean_inc(x_627); +x_628 = lean_ctor_get(x_626, 1); +lean_inc(x_628); +lean_dec(x_626); +x_629 = lean_ctor_get(x_5, 2); +lean_inc(x_629); +x_630 = lean_ctor_get(x_629, 1); +lean_inc(x_630); +x_631 = lean_ctor_get(x_629, 4); +lean_inc(x_631); +lean_dec(x_629); +x_632 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_630, x_631, x_627, x_5, x_628); +x_633 = lean_ctor_get(x_632, 0); +lean_inc(x_633); +x_634 = lean_ctor_get(x_632, 1); +lean_inc(x_634); +lean_dec(x_632); +x_635 = lean_array_get_size(x_3); +lean_dec(x_3); +lean_inc(x_633); +x_636 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_636, 0, x_603); +lean_closure_set(x_636, 1, x_635); +lean_closure_set(x_636, 2, x_633); +x_637 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_636, x_5, x_634); +if (lean_obj_tag(x_637) == 0) +{ +lean_object* x_638; uint8_t x_639; +x_638 = lean_ctor_get(x_637, 0); +lean_inc(x_638); +x_639 = lean_unbox(x_638); +lean_dec(x_638); +if (x_639 == 0) +{ +uint8_t x_640; +lean_dec(x_633); +x_640 = !lean_is_exclusive(x_637); +if (x_640 == 0) +{ +lean_object* x_641; +x_641 = lean_ctor_get(x_637, 0); +lean_dec(x_641); +lean_ctor_set_tag(x_637, 1); +lean_ctor_set(x_637, 0, x_614); +return x_637; +} +else +{ +lean_object* x_642; lean_object* x_643; +x_642 = lean_ctor_get(x_637, 1); +lean_inc(x_642); +lean_dec(x_637); +x_643 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_643, 0, x_614); +lean_ctor_set(x_643, 1, x_642); +return x_643; +} +} +else +{ +uint8_t x_644; +lean_dec(x_614); +x_644 = !lean_is_exclusive(x_637); +if (x_644 == 0) +{ +lean_object* x_645; +x_645 = lean_ctor_get(x_637, 0); +lean_dec(x_645); +lean_ctor_set(x_637, 0, x_633); +return x_637; +} +else +{ +lean_object* x_646; lean_object* x_647; +x_646 = lean_ctor_get(x_637, 1); +lean_inc(x_646); +lean_dec(x_637); +x_647 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_647, 0, x_633); +lean_ctor_set(x_647, 1, x_646); +return x_647; +} +} +} +else +{ +uint8_t x_648; +lean_dec(x_633); +lean_dec(x_614); +x_648 = !lean_is_exclusive(x_637); +if (x_648 == 0) +{ +return x_637; +} +else +{ +lean_object* x_649; lean_object* x_650; lean_object* x_651; +x_649 = lean_ctor_get(x_637, 0); +x_650 = lean_ctor_get(x_637, 1); +lean_inc(x_650); +lean_inc(x_649); +lean_dec(x_637); +x_651 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_651, 0, x_649); +lean_ctor_set(x_651, 1, x_650); +return x_651; +} +} +} +else +{ +uint8_t x_652; +lean_dec(x_614); +lean_dec(x_603); +lean_dec(x_5); +lean_dec(x_3); +x_652 = !lean_is_exclusive(x_626); +if (x_652 == 0) +{ +return x_626; +} +else +{ +lean_object* x_653; lean_object* x_654; lean_object* x_655; +x_653 = lean_ctor_get(x_626, 0); +x_654 = lean_ctor_get(x_626, 1); +lean_inc(x_654); +lean_inc(x_653); +lean_dec(x_626); +x_655 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_655, 0, x_653); +lean_ctor_set(x_655, 1, x_654); +return x_655; +} +} +} +else +{ +uint8_t x_656; +lean_dec(x_614); +lean_dec(x_603); +lean_dec(x_5); +lean_dec(x_3); +x_656 = !lean_is_exclusive(x_623); +if (x_656 == 0) +{ +return x_623; +} +else +{ +lean_object* x_657; lean_object* x_658; lean_object* x_659; +x_657 = lean_ctor_get(x_623, 0); +x_658 = lean_ctor_get(x_623, 1); +lean_inc(x_658); +lean_inc(x_657); +lean_dec(x_623); +x_659 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_659, 0, x_657); +lean_ctor_set(x_659, 1, x_658); +return x_659; +} +} +} +else +{ +uint8_t x_660; +lean_dec(x_603); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_660 = !lean_is_exclusive(x_618); +if (x_660 == 0) +{ +lean_object* x_661; +x_661 = lean_ctor_get(x_618, 0); +lean_dec(x_661); +lean_ctor_set_tag(x_618, 1); +lean_ctor_set(x_618, 0, x_614); +return x_618; +} +else +{ +lean_object* x_662; lean_object* x_663; +x_662 = lean_ctor_get(x_618, 1); +lean_inc(x_662); +lean_dec(x_618); +x_663 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_663, 0, x_614); +lean_ctor_set(x_663, 1, x_662); +return x_663; +} +} +} +else +{ +uint8_t x_664; +lean_dec(x_614); +lean_dec(x_603); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_664 = !lean_is_exclusive(x_618); +if (x_664 == 0) +{ +return x_618; +} +else +{ +lean_object* x_665; lean_object* x_666; lean_object* x_667; +x_665 = lean_ctor_get(x_618, 0); +x_666 = lean_ctor_get(x_618, 1); +lean_inc(x_666); +lean_inc(x_665); +lean_dec(x_618); +x_667 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_667, 0, x_665); +lean_ctor_set(x_667, 1, x_666); +return x_667; +} +} +} +else +{ +uint8_t x_668; +lean_dec(x_603); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_668 = !lean_is_exclusive(x_606); +if (x_668 == 0) +{ +lean_object* x_669; +x_669 = lean_ctor_get(x_606, 0); +lean_dec(x_669); +return x_606; +} +else +{ +lean_object* x_670; lean_object* x_671; +x_670 = lean_ctor_get(x_606, 1); +lean_inc(x_670); +lean_dec(x_606); +x_671 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_671, 0, x_614); +lean_ctor_set(x_671, 1, x_670); +return x_671; } } } @@ -20691,631 +21108,707 @@ return x_601; } case 5: { -lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; -x_642 = lean_ctor_get(x_2, 0); -lean_inc(x_642); -x_643 = lean_ctor_get(x_2, 1); -lean_inc(x_643); +lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; +x_712 = lean_ctor_get(x_2, 0); +lean_inc(x_712); +x_713 = lean_ctor_get(x_2, 1); +lean_inc(x_713); lean_dec(x_2); -x_644 = lean_array_set(x_3, x_4, x_643); -x_645 = lean_unsigned_to_nat(1u); -x_646 = lean_nat_sub(x_4, x_645); +x_714 = lean_array_set(x_3, x_4, x_713); +x_715 = lean_unsigned_to_nat(1u); +x_716 = lean_nat_sub(x_4, x_715); lean_dec(x_4); -x_2 = x_642; -x_3 = x_644; -x_4 = x_646; +x_2 = x_712; +x_3 = x_714; +x_4 = x_716; goto _start; } case 6: { -lean_object* x_648; lean_object* x_649; lean_object* x_664; lean_object* x_680; lean_object* x_681; uint8_t x_736; +lean_object* x_718; lean_object* x_719; lean_object* x_734; lean_object* x_750; lean_object* x_751; uint8_t x_820; lean_dec(x_4); -x_736 = l_Lean_Expr_isMVar(x_2); -if (x_736 == 0) +x_820 = l_Lean_Expr_isMVar(x_2); +if (x_820 == 0) { -uint8_t x_737; +uint8_t x_821; lean_dec(x_1); -x_737 = l_Lean_Expr_hasExprMVar(x_2); -if (x_737 == 0) +x_821 = l_Lean_Expr_hasExprMVar(x_2); +if (x_821 == 0) { -uint8_t x_738; -x_738 = l_Lean_Expr_hasFVar(x_2); -if (x_738 == 0) +uint8_t x_822; +x_822 = l_Lean_Expr_hasFVar(x_2); +if (x_822 == 0) { -x_648 = x_2; -x_649 = x_6; -goto block_663; +x_718 = x_2; +x_719 = x_6; +goto block_733; } else { -lean_object* x_739; -x_739 = lean_box(0); -x_664 = x_739; -goto block_679; +lean_object* x_823; +x_823 = lean_box(0); +x_734 = x_823; +goto block_749; } } else { -lean_object* x_740; -x_740 = lean_box(0); -x_664 = x_740; -goto block_679; +lean_object* x_824; +x_824 = lean_box(0); +x_734 = x_824; +goto block_749; } } else { -lean_object* x_741; lean_object* x_742; uint8_t x_743; -x_741 = lean_ctor_get(x_5, 0); -lean_inc(x_741); -x_742 = lean_ctor_get(x_741, 0); +lean_object* x_825; lean_object* x_826; uint8_t x_827; +x_825 = lean_ctor_get(x_5, 0); +lean_inc(x_825); +x_826 = lean_ctor_get(x_825, 0); +lean_inc(x_826); +lean_dec(x_825); +x_827 = lean_ctor_get_uint8(x_826, sizeof(void*)*1 + 1); +lean_dec(x_826); +if (x_827 == 0) +{ +uint8_t x_828; +lean_dec(x_1); +x_828 = l_Lean_Expr_hasExprMVar(x_2); +if (x_828 == 0) +{ +uint8_t x_829; +x_829 = l_Lean_Expr_hasFVar(x_2); +if (x_829 == 0) +{ +x_718 = x_2; +x_719 = x_6; +goto block_733; +} +else +{ +lean_object* x_830; +x_830 = lean_box(0); +x_734 = x_830; +goto block_749; +} +} +else +{ +lean_object* x_831; +x_831 = lean_box(0); +x_734 = x_831; +goto block_749; +} +} +else +{ +lean_object* x_832; lean_object* x_833; uint8_t x_834; +x_832 = lean_array_get_size(x_3); +x_833 = lean_unsigned_to_nat(0u); +x_834 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_832, x_833); +lean_dec(x_832); +if (x_834 == 0) +{ +lean_object* x_835; uint8_t x_851; +x_851 = l_Lean_Expr_hasExprMVar(x_2); +if (x_851 == 0) +{ +uint8_t x_852; +x_852 = l_Lean_Expr_hasFVar(x_2); +if (x_852 == 0) +{ +x_750 = x_2; +x_751 = x_6; +goto block_819; +} +else +{ +lean_object* x_853; +x_853 = lean_box(0); +x_835 = x_853; +goto block_850; +} +} +else +{ +lean_object* x_854; +x_854 = lean_box(0); +x_835 = x_854; +goto block_850; +} +block_850: +{ +lean_object* x_836; lean_object* x_837; +lean_dec(x_835); +x_836 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_837 = lean_ctor_get(x_836, 0); +lean_inc(x_837); +if (lean_obj_tag(x_837) == 0) +{ +lean_object* x_838; lean_object* x_839; +x_838 = lean_ctor_get(x_836, 1); +lean_inc(x_838); +lean_dec(x_836); +lean_inc(x_5); +lean_inc(x_2); +x_839 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_838); +if (lean_obj_tag(x_839) == 0) +{ +lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; +x_840 = lean_ctor_get(x_839, 0); +lean_inc(x_840); +x_841 = lean_ctor_get(x_839, 1); +lean_inc(x_841); +lean_dec(x_839); +lean_inc(x_840); +x_842 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_840, x_5, x_841); +x_843 = lean_ctor_get(x_842, 1); +lean_inc(x_843); +lean_dec(x_842); +x_750 = x_840; +x_751 = x_843; +goto block_819; +} +else +{ +uint8_t x_844; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_844 = !lean_is_exclusive(x_839); +if (x_844 == 0) +{ +return x_839; +} +else +{ +lean_object* x_845; lean_object* x_846; lean_object* x_847; +x_845 = lean_ctor_get(x_839, 0); +x_846 = lean_ctor_get(x_839, 1); +lean_inc(x_846); +lean_inc(x_845); +lean_dec(x_839); +x_847 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_847, 0, x_845); +lean_ctor_set(x_847, 1, x_846); +return x_847; +} +} +} +else +{ +lean_object* x_848; lean_object* x_849; +lean_dec(x_2); +x_848 = lean_ctor_get(x_836, 1); +lean_inc(x_848); +lean_dec(x_836); +x_849 = lean_ctor_get(x_837, 0); +lean_inc(x_849); +lean_dec(x_837); +x_750 = x_849; +x_751 = x_848; +goto block_819; +} +} +} +else +{ +uint8_t x_855; +lean_dec(x_1); +x_855 = l_Lean_Expr_hasExprMVar(x_2); +if (x_855 == 0) +{ +uint8_t x_856; +x_856 = l_Lean_Expr_hasFVar(x_2); +if (x_856 == 0) +{ +x_718 = x_2; +x_719 = x_6; +goto block_733; +} +else +{ +lean_object* x_857; +x_857 = lean_box(0); +x_734 = x_857; +goto block_749; +} +} +else +{ +lean_object* x_858; +x_858 = lean_box(0); +x_734 = x_858; +goto block_749; +} +} +} +} +block_733: +{ +lean_object* x_720; lean_object* x_721; +x_720 = lean_unsigned_to_nat(0u); +x_721 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_720, x_3, x_5, x_719); +if (lean_obj_tag(x_721) == 0) +{ +uint8_t x_722; +x_722 = !lean_is_exclusive(x_721); +if (x_722 == 0) +{ +lean_object* x_723; lean_object* x_724; +x_723 = lean_ctor_get(x_721, 0); +x_724 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_723, x_723, x_720, x_718); +lean_dec(x_723); +lean_ctor_set(x_721, 0, x_724); +return x_721; +} +else +{ +lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; +x_725 = lean_ctor_get(x_721, 0); +x_726 = lean_ctor_get(x_721, 1); +lean_inc(x_726); +lean_inc(x_725); +lean_dec(x_721); +x_727 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_725, x_725, x_720, x_718); +lean_dec(x_725); +x_728 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_728, 0, x_727); +lean_ctor_set(x_728, 1, x_726); +return x_728; +} +} +else +{ +uint8_t x_729; +lean_dec(x_718); +x_729 = !lean_is_exclusive(x_721); +if (x_729 == 0) +{ +return x_721; +} +else +{ +lean_object* x_730; lean_object* x_731; lean_object* x_732; +x_730 = lean_ctor_get(x_721, 0); +x_731 = lean_ctor_get(x_721, 1); +lean_inc(x_731); +lean_inc(x_730); +lean_dec(x_721); +x_732 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_732, 0, x_730); +lean_ctor_set(x_732, 1, x_731); +return x_732; +} +} +} +block_749: +{ +lean_object* x_735; lean_object* x_736; +lean_dec(x_734); +x_735 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_736 = lean_ctor_get(x_735, 0); +lean_inc(x_736); +if (lean_obj_tag(x_736) == 0) +{ +lean_object* x_737; lean_object* x_738; +x_737 = lean_ctor_get(x_735, 1); +lean_inc(x_737); +lean_dec(x_735); +lean_inc(x_5); +lean_inc(x_2); +x_738 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_737); +if (lean_obj_tag(x_738) == 0) +{ +lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; +x_739 = lean_ctor_get(x_738, 0); +lean_inc(x_739); +x_740 = lean_ctor_get(x_738, 1); +lean_inc(x_740); +lean_dec(x_738); +lean_inc(x_739); +x_741 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_739, x_5, x_740); +x_742 = lean_ctor_get(x_741, 1); lean_inc(x_742); lean_dec(x_741); -x_743 = lean_ctor_get_uint8(x_742, sizeof(void*)*1 + 1); -lean_dec(x_742); +x_718 = x_739; +x_719 = x_742; +goto block_733; +} +else +{ +uint8_t x_743; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_743 = !lean_is_exclusive(x_738); if (x_743 == 0) { -uint8_t x_744; -lean_dec(x_1); -x_744 = l_Lean_Expr_hasExprMVar(x_2); -if (x_744 == 0) -{ -uint8_t x_745; -x_745 = l_Lean_Expr_hasFVar(x_2); -if (x_745 == 0) -{ -x_648 = x_2; -x_649 = x_6; -goto block_663; +return x_738; } else { -lean_object* x_746; -x_746 = lean_box(0); -x_664 = x_746; -goto block_679; +lean_object* x_744; lean_object* x_745; lean_object* x_746; +x_744 = lean_ctor_get(x_738, 0); +x_745 = lean_ctor_get(x_738, 1); +lean_inc(x_745); +lean_inc(x_744); +lean_dec(x_738); +x_746 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_746, 0, x_744); +lean_ctor_set(x_746, 1, x_745); +return x_746; +} } } else { -lean_object* x_747; -x_747 = lean_box(0); -x_664 = x_747; -goto block_679; +lean_object* x_747; lean_object* x_748; +lean_dec(x_2); +x_747 = lean_ctor_get(x_735, 1); +lean_inc(x_747); +lean_dec(x_735); +x_748 = lean_ctor_get(x_736, 0); +lean_inc(x_748); +lean_dec(x_736); +x_718 = x_748; +x_719 = x_747; +goto block_733; } } -else -{ -lean_object* x_748; lean_object* x_749; uint8_t x_750; -x_748 = lean_array_get_size(x_3); -x_749 = lean_unsigned_to_nat(0u); -x_750 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_748, x_749); -lean_dec(x_748); -if (x_750 == 0) -{ -lean_object* x_751; uint8_t x_767; -x_767 = l_Lean_Expr_hasExprMVar(x_2); -if (x_767 == 0) -{ -uint8_t x_768; -x_768 = l_Lean_Expr_hasFVar(x_2); -if (x_768 == 0) -{ -x_680 = x_2; -x_681 = x_6; -goto block_735; -} -else -{ -lean_object* x_769; -x_769 = lean_box(0); -x_751 = x_769; -goto block_766; -} -} -else -{ -lean_object* x_770; -x_770 = lean_box(0); -x_751 = x_770; -goto block_766; -} -block_766: +block_819: { lean_object* x_752; lean_object* x_753; -lean_dec(x_751); -x_752 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_753 = lean_ctor_get(x_752, 0); -lean_inc(x_753); -if (lean_obj_tag(x_753) == 0) -{ -lean_object* x_754; lean_object* x_755; -x_754 = lean_ctor_get(x_752, 1); -lean_inc(x_754); -lean_dec(x_752); -lean_inc(x_5); -lean_inc(x_2); -x_755 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_754); -if (lean_obj_tag(x_755) == 0) -{ -lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; -x_756 = lean_ctor_get(x_755, 0); -lean_inc(x_756); -x_757 = lean_ctor_get(x_755, 1); -lean_inc(x_757); -lean_dec(x_755); -lean_inc(x_756); -x_758 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_756, x_5, x_757); -x_759 = lean_ctor_get(x_758, 1); -lean_inc(x_759); -lean_dec(x_758); -x_680 = x_756; -x_681 = x_759; -goto block_735; -} -else -{ -uint8_t x_760; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_760 = !lean_is_exclusive(x_755); -if (x_760 == 0) -{ -return x_755; -} -else -{ -lean_object* x_761; lean_object* x_762; lean_object* x_763; -x_761 = lean_ctor_get(x_755, 0); -x_762 = lean_ctor_get(x_755, 1); -lean_inc(x_762); -lean_inc(x_761); -lean_dec(x_755); -x_763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_763, 0, x_761); -lean_ctor_set(x_763, 1, x_762); -return x_763; -} -} -} -else -{ -lean_object* x_764; lean_object* x_765; -lean_dec(x_2); -x_764 = lean_ctor_get(x_752, 1); -lean_inc(x_764); -lean_dec(x_752); -x_765 = lean_ctor_get(x_753, 0); -lean_inc(x_765); -lean_dec(x_753); -x_680 = x_765; -x_681 = x_764; -goto block_735; -} -} -} -else -{ -uint8_t x_771; -lean_dec(x_1); -x_771 = l_Lean_Expr_hasExprMVar(x_2); -if (x_771 == 0) -{ -uint8_t x_772; -x_772 = l_Lean_Expr_hasFVar(x_2); -if (x_772 == 0) -{ -x_648 = x_2; -x_649 = x_6; -goto block_663; -} -else -{ -lean_object* x_773; -x_773 = lean_box(0); -x_664 = x_773; -goto block_679; -} -} -else -{ -lean_object* x_774; -x_774 = lean_box(0); -x_664 = x_774; -goto block_679; -} -} -} -} -block_663: -{ -lean_object* x_650; lean_object* x_651; -x_650 = lean_unsigned_to_nat(0u); -x_651 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_650, x_3, x_5, x_649); -if (lean_obj_tag(x_651) == 0) -{ -uint8_t x_652; -x_652 = !lean_is_exclusive(x_651); -if (x_652 == 0) -{ -lean_object* x_653; lean_object* x_654; -x_653 = lean_ctor_get(x_651, 0); -x_654 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_653, x_653, x_650, x_648); -lean_dec(x_653); -lean_ctor_set(x_651, 0, x_654); -return x_651; -} -else -{ -lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; -x_655 = lean_ctor_get(x_651, 0); -x_656 = lean_ctor_get(x_651, 1); -lean_inc(x_656); -lean_inc(x_655); -lean_dec(x_651); -x_657 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_655, x_655, x_650, x_648); -lean_dec(x_655); -x_658 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_658, 0, x_657); -lean_ctor_set(x_658, 1, x_656); -return x_658; -} -} -else -{ -uint8_t x_659; -lean_dec(x_648); -x_659 = !lean_is_exclusive(x_651); -if (x_659 == 0) -{ -return x_651; -} -else -{ -lean_object* x_660; lean_object* x_661; lean_object* x_662; -x_660 = lean_ctor_get(x_651, 0); -x_661 = lean_ctor_get(x_651, 1); -lean_inc(x_661); -lean_inc(x_660); -lean_dec(x_651); -x_662 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_662, 0, x_660); -lean_ctor_set(x_662, 1, x_661); -return x_662; -} -} -} -block_679: -{ -lean_object* x_665; lean_object* x_666; -lean_dec(x_664); -x_665 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_666 = lean_ctor_get(x_665, 0); -lean_inc(x_666); -if (lean_obj_tag(x_666) == 0) -{ -lean_object* x_667; lean_object* x_668; -x_667 = lean_ctor_get(x_665, 1); -lean_inc(x_667); -lean_dec(x_665); -lean_inc(x_5); -lean_inc(x_2); -x_668 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_667); -if (lean_obj_tag(x_668) == 0) -{ -lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; -x_669 = lean_ctor_get(x_668, 0); -lean_inc(x_669); -x_670 = lean_ctor_get(x_668, 1); -lean_inc(x_670); -lean_dec(x_668); -lean_inc(x_669); -x_671 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_669, x_5, x_670); -x_672 = lean_ctor_get(x_671, 1); -lean_inc(x_672); -lean_dec(x_671); -x_648 = x_669; -x_649 = x_672; -goto block_663; -} -else -{ -uint8_t x_673; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_673 = !lean_is_exclusive(x_668); -if (x_673 == 0) -{ -return x_668; -} -else -{ -lean_object* x_674; lean_object* x_675; lean_object* x_676; -x_674 = lean_ctor_get(x_668, 0); -x_675 = lean_ctor_get(x_668, 1); -lean_inc(x_675); -lean_inc(x_674); -lean_dec(x_668); -x_676 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_676, 0, x_674); -lean_ctor_set(x_676, 1, x_675); -return x_676; -} -} -} -else -{ -lean_object* x_677; lean_object* x_678; -lean_dec(x_2); -x_677 = lean_ctor_get(x_665, 1); -lean_inc(x_677); -lean_dec(x_665); -x_678 = lean_ctor_get(x_666, 0); -lean_inc(x_678); -lean_dec(x_666); -x_648 = x_678; -x_649 = x_677; -goto block_663; -} -} -block_735: -{ -lean_object* x_682; lean_object* x_683; -x_682 = lean_unsigned_to_nat(0u); +x_752 = lean_unsigned_to_nat(0u); lean_inc(x_5); lean_inc(x_3); -x_683 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_682, x_3, x_5, x_681); -if (lean_obj_tag(x_683) == 0) +x_753 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_752, x_3, x_5, x_751); +if (lean_obj_tag(x_753) == 0) { -uint8_t x_684; +uint8_t x_754; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_684 = !lean_is_exclusive(x_683); -if (x_684 == 0) +x_754 = !lean_is_exclusive(x_753); +if (x_754 == 0) { -lean_object* x_685; lean_object* x_686; -x_685 = lean_ctor_get(x_683, 0); -x_686 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_685, x_685, x_682, x_680); -lean_dec(x_685); -lean_ctor_set(x_683, 0, x_686); -return x_683; +lean_object* x_755; lean_object* x_756; +x_755 = lean_ctor_get(x_753, 0); +x_756 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_755, x_755, x_752, x_750); +lean_dec(x_755); +lean_ctor_set(x_753, 0, x_756); +return x_753; } else { -lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; -x_687 = lean_ctor_get(x_683, 0); -x_688 = lean_ctor_get(x_683, 1); -lean_inc(x_688); -lean_inc(x_687); -lean_dec(x_683); -x_689 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_687, x_687, x_682, x_680); -lean_dec(x_687); -x_690 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_690, 0, x_689); -lean_ctor_set(x_690, 1, x_688); -return x_690; +lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; +x_757 = lean_ctor_get(x_753, 0); +x_758 = lean_ctor_get(x_753, 1); +lean_inc(x_758); +lean_inc(x_757); +lean_dec(x_753); +x_759 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_757, x_757, x_752, x_750); +lean_dec(x_757); +x_760 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_760, 0, x_759); +lean_ctor_set(x_760, 1, x_758); +return x_760; } } else { -lean_object* x_691; -x_691 = lean_ctor_get(x_683, 0); -lean_inc(x_691); -if (lean_obj_tag(x_691) == 2) +lean_object* x_761; +x_761 = lean_ctor_get(x_753, 0); +lean_inc(x_761); +if (lean_obj_tag(x_761) == 2) { -lean_object* x_692; lean_object* x_693; lean_object* x_694; -x_692 = lean_ctor_get(x_683, 1); -lean_inc(x_692); -lean_dec(x_683); -x_693 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_693, 0, x_1); +lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; +x_762 = lean_ctor_get(x_753, 1); +lean_inc(x_762); +lean_dec(x_753); +x_763 = l_Lean_Expr_mvarId_x21(x_750); +x_764 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_764, 0, x_763); lean_inc(x_5); -x_694 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_693, x_5, x_692); -if (lean_obj_tag(x_694) == 0) +x_765 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_764, x_5, x_762); +if (lean_obj_tag(x_765) == 0) { -lean_object* x_695; lean_object* x_696; lean_object* x_697; -x_695 = lean_ctor_get(x_694, 0); -lean_inc(x_695); -x_696 = lean_ctor_get(x_694, 1); -lean_inc(x_696); -lean_dec(x_694); +lean_object* x_766; uint8_t x_767; +x_766 = lean_ctor_get(x_765, 0); +lean_inc(x_766); +x_767 = lean_unbox(x_766); +lean_dec(x_766); +if (x_767 == 0) +{ +lean_object* x_768; lean_object* x_769; lean_object* x_770; +x_768 = lean_ctor_get(x_765, 1); +lean_inc(x_768); +lean_dec(x_765); +x_769 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_769, 0, x_1); lean_inc(x_5); -x_697 = l_Lean_Meta_CheckAssignment_check___main(x_695, x_5, x_696); -if (lean_obj_tag(x_697) == 0) +x_770 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_769, x_5, x_768); +if (lean_obj_tag(x_770) == 0) { -lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; -x_698 = lean_ctor_get(x_697, 0); -lean_inc(x_698); -x_699 = lean_ctor_get(x_697, 1); -lean_inc(x_699); -lean_dec(x_697); -x_700 = lean_ctor_get(x_5, 2); -lean_inc(x_700); -x_701 = lean_ctor_get(x_700, 1); -lean_inc(x_701); -x_702 = lean_ctor_get(x_700, 4); -lean_inc(x_702); -lean_dec(x_700); -x_703 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_701, x_702, x_698, x_5, x_699); -x_704 = lean_ctor_get(x_703, 0); -lean_inc(x_704); -x_705 = lean_ctor_get(x_703, 1); -lean_inc(x_705); -lean_dec(x_703); -x_706 = lean_array_get_size(x_3); +lean_object* x_771; lean_object* x_772; lean_object* x_773; +x_771 = lean_ctor_get(x_770, 0); +lean_inc(x_771); +x_772 = lean_ctor_get(x_770, 1); +lean_inc(x_772); +lean_dec(x_770); +lean_inc(x_5); +x_773 = l_Lean_Meta_CheckAssignment_check___main(x_771, x_5, x_772); +if (lean_obj_tag(x_773) == 0) +{ +lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; +x_774 = lean_ctor_get(x_773, 0); +lean_inc(x_774); +x_775 = lean_ctor_get(x_773, 1); +lean_inc(x_775); +lean_dec(x_773); +x_776 = lean_ctor_get(x_5, 2); +lean_inc(x_776); +x_777 = lean_ctor_get(x_776, 1); +lean_inc(x_777); +x_778 = lean_ctor_get(x_776, 4); +lean_inc(x_778); +lean_dec(x_776); +x_779 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_777, x_778, x_774, x_5, x_775); +x_780 = lean_ctor_get(x_779, 0); +lean_inc(x_780); +x_781 = lean_ctor_get(x_779, 1); +lean_inc(x_781); +lean_dec(x_779); +x_782 = lean_array_get_size(x_3); lean_dec(x_3); -lean_inc(x_704); -x_707 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_707, 0, x_680); -lean_closure_set(x_707, 1, x_706); -lean_closure_set(x_707, 2, x_704); -x_708 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_707, x_5, x_705); -if (lean_obj_tag(x_708) == 0) +lean_inc(x_780); +x_783 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_783, 0, x_750); +lean_closure_set(x_783, 1, x_782); +lean_closure_set(x_783, 2, x_780); +x_784 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_783, x_5, x_781); +if (lean_obj_tag(x_784) == 0) { -lean_object* x_709; uint8_t x_710; -x_709 = lean_ctor_get(x_708, 0); -lean_inc(x_709); -x_710 = lean_unbox(x_709); -lean_dec(x_709); -if (x_710 == 0) +lean_object* x_785; uint8_t x_786; +x_785 = lean_ctor_get(x_784, 0); +lean_inc(x_785); +x_786 = lean_unbox(x_785); +lean_dec(x_785); +if (x_786 == 0) { -uint8_t x_711; -lean_dec(x_704); -x_711 = !lean_is_exclusive(x_708); -if (x_711 == 0) +uint8_t x_787; +lean_dec(x_780); +x_787 = !lean_is_exclusive(x_784); +if (x_787 == 0) { -lean_object* x_712; -x_712 = lean_ctor_get(x_708, 0); -lean_dec(x_712); -lean_ctor_set_tag(x_708, 1); -lean_ctor_set(x_708, 0, x_691); -return x_708; +lean_object* x_788; +x_788 = lean_ctor_get(x_784, 0); +lean_dec(x_788); +lean_ctor_set_tag(x_784, 1); +lean_ctor_set(x_784, 0, x_761); +return x_784; } else { -lean_object* x_713; lean_object* x_714; -x_713 = lean_ctor_get(x_708, 1); -lean_inc(x_713); -lean_dec(x_708); -x_714 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_714, 0, x_691); -lean_ctor_set(x_714, 1, x_713); -return x_714; +lean_object* x_789; lean_object* x_790; +x_789 = lean_ctor_get(x_784, 1); +lean_inc(x_789); +lean_dec(x_784); +x_790 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_790, 0, x_761); +lean_ctor_set(x_790, 1, x_789); +return x_790; } } else { -uint8_t x_715; -lean_dec(x_691); -x_715 = !lean_is_exclusive(x_708); -if (x_715 == 0) +uint8_t x_791; +lean_dec(x_761); +x_791 = !lean_is_exclusive(x_784); +if (x_791 == 0) { -lean_object* x_716; -x_716 = lean_ctor_get(x_708, 0); -lean_dec(x_716); -lean_ctor_set(x_708, 0, x_704); -return x_708; +lean_object* x_792; +x_792 = lean_ctor_get(x_784, 0); +lean_dec(x_792); +lean_ctor_set(x_784, 0, x_780); +return x_784; } else { -lean_object* x_717; lean_object* x_718; -x_717 = lean_ctor_get(x_708, 1); -lean_inc(x_717); -lean_dec(x_708); -x_718 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_718, 0, x_704); -lean_ctor_set(x_718, 1, x_717); -return x_718; +lean_object* x_793; lean_object* x_794; +x_793 = lean_ctor_get(x_784, 1); +lean_inc(x_793); +lean_dec(x_784); +x_794 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_794, 0, x_780); +lean_ctor_set(x_794, 1, x_793); +return x_794; } } } else { -uint8_t x_719; -lean_dec(x_704); -lean_dec(x_691); -x_719 = !lean_is_exclusive(x_708); -if (x_719 == 0) +uint8_t x_795; +lean_dec(x_780); +lean_dec(x_761); +x_795 = !lean_is_exclusive(x_784); +if (x_795 == 0) { -return x_708; +return x_784; } else { -lean_object* x_720; lean_object* x_721; lean_object* x_722; -x_720 = lean_ctor_get(x_708, 0); -x_721 = lean_ctor_get(x_708, 1); -lean_inc(x_721); -lean_inc(x_720); -lean_dec(x_708); -x_722 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_722, 0, x_720); -lean_ctor_set(x_722, 1, x_721); -return x_722; +lean_object* x_796; lean_object* x_797; lean_object* x_798; +x_796 = lean_ctor_get(x_784, 0); +x_797 = lean_ctor_get(x_784, 1); +lean_inc(x_797); +lean_inc(x_796); +lean_dec(x_784); +x_798 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_798, 0, x_796); +lean_ctor_set(x_798, 1, x_797); +return x_798; } } } else { -uint8_t x_723; -lean_dec(x_691); -lean_dec(x_680); +uint8_t x_799; +lean_dec(x_761); +lean_dec(x_750); lean_dec(x_5); lean_dec(x_3); -x_723 = !lean_is_exclusive(x_697); -if (x_723 == 0) +x_799 = !lean_is_exclusive(x_773); +if (x_799 == 0) { -return x_697; +return x_773; } else { -lean_object* x_724; lean_object* x_725; lean_object* x_726; -x_724 = lean_ctor_get(x_697, 0); -x_725 = lean_ctor_get(x_697, 1); -lean_inc(x_725); -lean_inc(x_724); -lean_dec(x_697); -x_726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_726, 0, x_724); -lean_ctor_set(x_726, 1, x_725); -return x_726; +lean_object* x_800; lean_object* x_801; lean_object* x_802; +x_800 = lean_ctor_get(x_773, 0); +x_801 = lean_ctor_get(x_773, 1); +lean_inc(x_801); +lean_inc(x_800); +lean_dec(x_773); +x_802 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_802, 0, x_800); +lean_ctor_set(x_802, 1, x_801); +return x_802; } } } else { -uint8_t x_727; -lean_dec(x_691); -lean_dec(x_680); +uint8_t x_803; +lean_dec(x_761); +lean_dec(x_750); lean_dec(x_5); lean_dec(x_3); -x_727 = !lean_is_exclusive(x_694); -if (x_727 == 0) +x_803 = !lean_is_exclusive(x_770); +if (x_803 == 0) { -return x_694; +return x_770; } else { -lean_object* x_728; lean_object* x_729; lean_object* x_730; -x_728 = lean_ctor_get(x_694, 0); -x_729 = lean_ctor_get(x_694, 1); -lean_inc(x_729); -lean_inc(x_728); -lean_dec(x_694); -x_730 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_730, 0, x_728); -lean_ctor_set(x_730, 1, x_729); -return x_730; +lean_object* x_804; lean_object* x_805; lean_object* x_806; +x_804 = lean_ctor_get(x_770, 0); +x_805 = lean_ctor_get(x_770, 1); +lean_inc(x_805); +lean_inc(x_804); +lean_dec(x_770); +x_806 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_806, 0, x_804); +lean_ctor_set(x_806, 1, x_805); +return x_806; } } } else { -uint8_t x_731; -lean_dec(x_680); +uint8_t x_807; +lean_dec(x_750); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_731 = !lean_is_exclusive(x_683); -if (x_731 == 0) +x_807 = !lean_is_exclusive(x_765); +if (x_807 == 0) { -lean_object* x_732; -x_732 = lean_ctor_get(x_683, 0); -lean_dec(x_732); -return x_683; +lean_object* x_808; +x_808 = lean_ctor_get(x_765, 0); +lean_dec(x_808); +lean_ctor_set_tag(x_765, 1); +lean_ctor_set(x_765, 0, x_761); +return x_765; } else { -lean_object* x_733; lean_object* x_734; -x_733 = lean_ctor_get(x_683, 1); -lean_inc(x_733); -lean_dec(x_683); -x_734 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_734, 0, x_691); -lean_ctor_set(x_734, 1, x_733); -return x_734; +lean_object* x_809; lean_object* x_810; +x_809 = lean_ctor_get(x_765, 1); +lean_inc(x_809); +lean_dec(x_765); +x_810 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_810, 0, x_761); +lean_ctor_set(x_810, 1, x_809); +return x_810; +} +} +} +else +{ +uint8_t x_811; +lean_dec(x_761); +lean_dec(x_750); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_811 = !lean_is_exclusive(x_765); +if (x_811 == 0) +{ +return x_765; +} +else +{ +lean_object* x_812; lean_object* x_813; lean_object* x_814; +x_812 = lean_ctor_get(x_765, 0); +x_813 = lean_ctor_get(x_765, 1); +lean_inc(x_813); +lean_inc(x_812); +lean_dec(x_765); +x_814 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_814, 0, x_812); +lean_ctor_set(x_814, 1, x_813); +return x_814; +} +} +} +else +{ +uint8_t x_815; +lean_dec(x_750); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_815 = !lean_is_exclusive(x_753); +if (x_815 == 0) +{ +lean_object* x_816; +x_816 = lean_ctor_get(x_753, 0); +lean_dec(x_816); +return x_753; +} +else +{ +lean_object* x_817; lean_object* x_818; +x_817 = lean_ctor_get(x_753, 1); +lean_inc(x_817); +lean_dec(x_753); +x_818 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_818, 0, x_761); +lean_ctor_set(x_818, 1, x_817); +return x_818; } } } @@ -21323,614 +21816,690 @@ return x_734; } case 7: { -lean_object* x_775; lean_object* x_776; lean_object* x_791; lean_object* x_807; lean_object* x_808; uint8_t x_863; +lean_object* x_859; lean_object* x_860; lean_object* x_875; lean_object* x_891; lean_object* x_892; uint8_t x_961; lean_dec(x_4); -x_863 = l_Lean_Expr_isMVar(x_2); +x_961 = l_Lean_Expr_isMVar(x_2); +if (x_961 == 0) +{ +uint8_t x_962; +lean_dec(x_1); +x_962 = l_Lean_Expr_hasExprMVar(x_2); +if (x_962 == 0) +{ +uint8_t x_963; +x_963 = l_Lean_Expr_hasFVar(x_2); +if (x_963 == 0) +{ +x_859 = x_2; +x_860 = x_6; +goto block_874; +} +else +{ +lean_object* x_964; +x_964 = lean_box(0); +x_875 = x_964; +goto block_890; +} +} +else +{ +lean_object* x_965; +x_965 = lean_box(0); +x_875 = x_965; +goto block_890; +} +} +else +{ +lean_object* x_966; lean_object* x_967; uint8_t x_968; +x_966 = lean_ctor_get(x_5, 0); +lean_inc(x_966); +x_967 = lean_ctor_get(x_966, 0); +lean_inc(x_967); +lean_dec(x_966); +x_968 = lean_ctor_get_uint8(x_967, sizeof(void*)*1 + 1); +lean_dec(x_967); +if (x_968 == 0) +{ +uint8_t x_969; +lean_dec(x_1); +x_969 = l_Lean_Expr_hasExprMVar(x_2); +if (x_969 == 0) +{ +uint8_t x_970; +x_970 = l_Lean_Expr_hasFVar(x_2); +if (x_970 == 0) +{ +x_859 = x_2; +x_860 = x_6; +goto block_874; +} +else +{ +lean_object* x_971; +x_971 = lean_box(0); +x_875 = x_971; +goto block_890; +} +} +else +{ +lean_object* x_972; +x_972 = lean_box(0); +x_875 = x_972; +goto block_890; +} +} +else +{ +lean_object* x_973; lean_object* x_974; uint8_t x_975; +x_973 = lean_array_get_size(x_3); +x_974 = lean_unsigned_to_nat(0u); +x_975 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_973, x_974); +lean_dec(x_973); +if (x_975 == 0) +{ +lean_object* x_976; uint8_t x_992; +x_992 = l_Lean_Expr_hasExprMVar(x_2); +if (x_992 == 0) +{ +uint8_t x_993; +x_993 = l_Lean_Expr_hasFVar(x_2); +if (x_993 == 0) +{ +x_891 = x_2; +x_892 = x_6; +goto block_960; +} +else +{ +lean_object* x_994; +x_994 = lean_box(0); +x_976 = x_994; +goto block_991; +} +} +else +{ +lean_object* x_995; +x_995 = lean_box(0); +x_976 = x_995; +goto block_991; +} +block_991: +{ +lean_object* x_977; lean_object* x_978; +lean_dec(x_976); +x_977 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_978 = lean_ctor_get(x_977, 0); +lean_inc(x_978); +if (lean_obj_tag(x_978) == 0) +{ +lean_object* x_979; lean_object* x_980; +x_979 = lean_ctor_get(x_977, 1); +lean_inc(x_979); +lean_dec(x_977); +lean_inc(x_5); +lean_inc(x_2); +x_980 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_979); +if (lean_obj_tag(x_980) == 0) +{ +lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; +x_981 = lean_ctor_get(x_980, 0); +lean_inc(x_981); +x_982 = lean_ctor_get(x_980, 1); +lean_inc(x_982); +lean_dec(x_980); +lean_inc(x_981); +x_983 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_981, x_5, x_982); +x_984 = lean_ctor_get(x_983, 1); +lean_inc(x_984); +lean_dec(x_983); +x_891 = x_981; +x_892 = x_984; +goto block_960; +} +else +{ +uint8_t x_985; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_985 = !lean_is_exclusive(x_980); +if (x_985 == 0) +{ +return x_980; +} +else +{ +lean_object* x_986; lean_object* x_987; lean_object* x_988; +x_986 = lean_ctor_get(x_980, 0); +x_987 = lean_ctor_get(x_980, 1); +lean_inc(x_987); +lean_inc(x_986); +lean_dec(x_980); +x_988 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_988, 0, x_986); +lean_ctor_set(x_988, 1, x_987); +return x_988; +} +} +} +else +{ +lean_object* x_989; lean_object* x_990; +lean_dec(x_2); +x_989 = lean_ctor_get(x_977, 1); +lean_inc(x_989); +lean_dec(x_977); +x_990 = lean_ctor_get(x_978, 0); +lean_inc(x_990); +lean_dec(x_978); +x_891 = x_990; +x_892 = x_989; +goto block_960; +} +} +} +else +{ +uint8_t x_996; +lean_dec(x_1); +x_996 = l_Lean_Expr_hasExprMVar(x_2); +if (x_996 == 0) +{ +uint8_t x_997; +x_997 = l_Lean_Expr_hasFVar(x_2); +if (x_997 == 0) +{ +x_859 = x_2; +x_860 = x_6; +goto block_874; +} +else +{ +lean_object* x_998; +x_998 = lean_box(0); +x_875 = x_998; +goto block_890; +} +} +else +{ +lean_object* x_999; +x_999 = lean_box(0); +x_875 = x_999; +goto block_890; +} +} +} +} +block_874: +{ +lean_object* x_861; lean_object* x_862; +x_861 = lean_unsigned_to_nat(0u); +x_862 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_861, x_3, x_5, x_860); +if (lean_obj_tag(x_862) == 0) +{ +uint8_t x_863; +x_863 = !lean_is_exclusive(x_862); if (x_863 == 0) { -uint8_t x_864; -lean_dec(x_1); -x_864 = l_Lean_Expr_hasExprMVar(x_2); -if (x_864 == 0) -{ -uint8_t x_865; -x_865 = l_Lean_Expr_hasFVar(x_2); -if (x_865 == 0) -{ -x_775 = x_2; -x_776 = x_6; -goto block_790; +lean_object* x_864; lean_object* x_865; +x_864 = lean_ctor_get(x_862, 0); +x_865 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_864, x_864, x_861, x_859); +lean_dec(x_864); +lean_ctor_set(x_862, 0, x_865); +return x_862; } else { -lean_object* x_866; -x_866 = lean_box(0); -x_791 = x_866; -goto block_806; +lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; +x_866 = lean_ctor_get(x_862, 0); +x_867 = lean_ctor_get(x_862, 1); +lean_inc(x_867); +lean_inc(x_866); +lean_dec(x_862); +x_868 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_866, x_866, x_861, x_859); +lean_dec(x_866); +x_869 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_869, 0, x_868); +lean_ctor_set(x_869, 1, x_867); +return x_869; } } else { -lean_object* x_867; -x_867 = lean_box(0); -x_791 = x_867; -goto block_806; -} -} -else -{ -lean_object* x_868; lean_object* x_869; uint8_t x_870; -x_868 = lean_ctor_get(x_5, 0); -lean_inc(x_868); -x_869 = lean_ctor_get(x_868, 0); -lean_inc(x_869); -lean_dec(x_868); -x_870 = lean_ctor_get_uint8(x_869, sizeof(void*)*1 + 1); -lean_dec(x_869); +uint8_t x_870; +lean_dec(x_859); +x_870 = !lean_is_exclusive(x_862); if (x_870 == 0) { -uint8_t x_871; -lean_dec(x_1); -x_871 = l_Lean_Expr_hasExprMVar(x_2); -if (x_871 == 0) -{ -uint8_t x_872; -x_872 = l_Lean_Expr_hasFVar(x_2); -if (x_872 == 0) -{ -x_775 = x_2; -x_776 = x_6; -goto block_790; +return x_862; } else { -lean_object* x_873; -x_873 = lean_box(0); -x_791 = x_873; -goto block_806; +lean_object* x_871; lean_object* x_872; lean_object* x_873; +x_871 = lean_ctor_get(x_862, 0); +x_872 = lean_ctor_get(x_862, 1); +lean_inc(x_872); +lean_inc(x_871); +lean_dec(x_862); +x_873 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_873, 0, x_871); +lean_ctor_set(x_873, 1, x_872); +return x_873; } } -else +} +block_890: { -lean_object* x_874; -x_874 = lean_box(0); -x_791 = x_874; -goto block_806; -} -} -else -{ -lean_object* x_875; lean_object* x_876; uint8_t x_877; -x_875 = lean_array_get_size(x_3); -x_876 = lean_unsigned_to_nat(0u); -x_877 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_875, x_876); +lean_object* x_876; lean_object* x_877; lean_dec(x_875); -if (x_877 == 0) +x_876 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_877 = lean_ctor_get(x_876, 0); +lean_inc(x_877); +if (lean_obj_tag(x_877) == 0) { -lean_object* x_878; uint8_t x_894; -x_894 = l_Lean_Expr_hasExprMVar(x_2); -if (x_894 == 0) +lean_object* x_878; lean_object* x_879; +x_878 = lean_ctor_get(x_876, 1); +lean_inc(x_878); +lean_dec(x_876); +lean_inc(x_5); +lean_inc(x_2); +x_879 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_878); +if (lean_obj_tag(x_879) == 0) { -uint8_t x_895; -x_895 = l_Lean_Expr_hasFVar(x_2); -if (x_895 == 0) -{ -x_807 = x_2; -x_808 = x_6; -goto block_862; -} -else -{ -lean_object* x_896; -x_896 = lean_box(0); -x_878 = x_896; -goto block_893; -} -} -else -{ -lean_object* x_897; -x_897 = lean_box(0); -x_878 = x_897; -goto block_893; -} -block_893: -{ -lean_object* x_879; lean_object* x_880; -lean_dec(x_878); -x_879 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; x_880 = lean_ctor_get(x_879, 0); lean_inc(x_880); -if (lean_obj_tag(x_880) == 0) -{ -lean_object* x_881; lean_object* x_882; x_881 = lean_ctor_get(x_879, 1); lean_inc(x_881); lean_dec(x_879); -lean_inc(x_5); -lean_inc(x_2); -x_882 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_881); -if (lean_obj_tag(x_882) == 0) -{ -lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; -x_883 = lean_ctor_get(x_882, 0); +lean_inc(x_880); +x_882 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_880, x_5, x_881); +x_883 = lean_ctor_get(x_882, 1); lean_inc(x_883); -x_884 = lean_ctor_get(x_882, 1); -lean_inc(x_884); lean_dec(x_882); -lean_inc(x_883); -x_885 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_883, x_5, x_884); -x_886 = lean_ctor_get(x_885, 1); +x_859 = x_880; +x_860 = x_883; +goto block_874; +} +else +{ +uint8_t x_884; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_884 = !lean_is_exclusive(x_879); +if (x_884 == 0) +{ +return x_879; +} +else +{ +lean_object* x_885; lean_object* x_886; lean_object* x_887; +x_885 = lean_ctor_get(x_879, 0); +x_886 = lean_ctor_get(x_879, 1); lean_inc(x_886); -lean_dec(x_885); -x_807 = x_883; -x_808 = x_886; -goto block_862; -} -else -{ -uint8_t x_887; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_887 = !lean_is_exclusive(x_882); -if (x_887 == 0) -{ -return x_882; -} -else -{ -lean_object* x_888; lean_object* x_889; lean_object* x_890; -x_888 = lean_ctor_get(x_882, 0); -x_889 = lean_ctor_get(x_882, 1); -lean_inc(x_889); -lean_inc(x_888); -lean_dec(x_882); -x_890 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_890, 0, x_888); -lean_ctor_set(x_890, 1, x_889); -return x_890; -} -} -} -else -{ -lean_object* x_891; lean_object* x_892; -lean_dec(x_2); -x_891 = lean_ctor_get(x_879, 1); -lean_inc(x_891); +lean_inc(x_885); lean_dec(x_879); -x_892 = lean_ctor_get(x_880, 0); -lean_inc(x_892); -lean_dec(x_880); -x_807 = x_892; -x_808 = x_891; -goto block_862; +x_887 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_887, 0, x_885); +lean_ctor_set(x_887, 1, x_886); +return x_887; } } } else { -uint8_t x_898; -lean_dec(x_1); -x_898 = l_Lean_Expr_hasExprMVar(x_2); -if (x_898 == 0) -{ -uint8_t x_899; -x_899 = l_Lean_Expr_hasFVar(x_2); -if (x_899 == 0) -{ -x_775 = x_2; -x_776 = x_6; -goto block_790; -} -else -{ -lean_object* x_900; -x_900 = lean_box(0); -x_791 = x_900; -goto block_806; -} -} -else -{ -lean_object* x_901; -x_901 = lean_box(0); -x_791 = x_901; -goto block_806; -} -} -} -} -block_790: -{ -lean_object* x_777; lean_object* x_778; -x_777 = lean_unsigned_to_nat(0u); -x_778 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_777, x_3, x_5, x_776); -if (lean_obj_tag(x_778) == 0) -{ -uint8_t x_779; -x_779 = !lean_is_exclusive(x_778); -if (x_779 == 0) -{ -lean_object* x_780; lean_object* x_781; -x_780 = lean_ctor_get(x_778, 0); -x_781 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_780, x_780, x_777, x_775); -lean_dec(x_780); -lean_ctor_set(x_778, 0, x_781); -return x_778; -} -else -{ -lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; -x_782 = lean_ctor_get(x_778, 0); -x_783 = lean_ctor_get(x_778, 1); -lean_inc(x_783); -lean_inc(x_782); -lean_dec(x_778); -x_784 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_782, x_782, x_777, x_775); -lean_dec(x_782); -x_785 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_785, 0, x_784); -lean_ctor_set(x_785, 1, x_783); -return x_785; -} -} -else -{ -uint8_t x_786; -lean_dec(x_775); -x_786 = !lean_is_exclusive(x_778); -if (x_786 == 0) -{ -return x_778; -} -else -{ -lean_object* x_787; lean_object* x_788; lean_object* x_789; -x_787 = lean_ctor_get(x_778, 0); -x_788 = lean_ctor_get(x_778, 1); -lean_inc(x_788); -lean_inc(x_787); -lean_dec(x_778); -x_789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_789, 0, x_787); -lean_ctor_set(x_789, 1, x_788); -return x_789; -} -} -} -block_806: -{ -lean_object* x_792; lean_object* x_793; -lean_dec(x_791); -x_792 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_793 = lean_ctor_get(x_792, 0); -lean_inc(x_793); -if (lean_obj_tag(x_793) == 0) -{ -lean_object* x_794; lean_object* x_795; -x_794 = lean_ctor_get(x_792, 1); -lean_inc(x_794); -lean_dec(x_792); -lean_inc(x_5); -lean_inc(x_2); -x_795 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_794); -if (lean_obj_tag(x_795) == 0) -{ -lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; -x_796 = lean_ctor_get(x_795, 0); -lean_inc(x_796); -x_797 = lean_ctor_get(x_795, 1); -lean_inc(x_797); -lean_dec(x_795); -lean_inc(x_796); -x_798 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_796, x_5, x_797); -x_799 = lean_ctor_get(x_798, 1); -lean_inc(x_799); -lean_dec(x_798); -x_775 = x_796; -x_776 = x_799; -goto block_790; -} -else -{ -uint8_t x_800; -lean_dec(x_5); -lean_dec(x_3); +lean_object* x_888; lean_object* x_889; lean_dec(x_2); -x_800 = !lean_is_exclusive(x_795); -if (x_800 == 0) +x_888 = lean_ctor_get(x_876, 1); +lean_inc(x_888); +lean_dec(x_876); +x_889 = lean_ctor_get(x_877, 0); +lean_inc(x_889); +lean_dec(x_877); +x_859 = x_889; +x_860 = x_888; +goto block_874; +} +} +block_960: { -return x_795; -} -else -{ -lean_object* x_801; lean_object* x_802; lean_object* x_803; -x_801 = lean_ctor_get(x_795, 0); -x_802 = lean_ctor_get(x_795, 1); -lean_inc(x_802); -lean_inc(x_801); -lean_dec(x_795); -x_803 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_803, 0, x_801); -lean_ctor_set(x_803, 1, x_802); -return x_803; -} -} -} -else -{ -lean_object* x_804; lean_object* x_805; -lean_dec(x_2); -x_804 = lean_ctor_get(x_792, 1); -lean_inc(x_804); -lean_dec(x_792); -x_805 = lean_ctor_get(x_793, 0); -lean_inc(x_805); -lean_dec(x_793); -x_775 = x_805; -x_776 = x_804; -goto block_790; -} -} -block_862: -{ -lean_object* x_809; lean_object* x_810; -x_809 = lean_unsigned_to_nat(0u); +lean_object* x_893; lean_object* x_894; +x_893 = lean_unsigned_to_nat(0u); lean_inc(x_5); lean_inc(x_3); -x_810 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_809, x_3, x_5, x_808); -if (lean_obj_tag(x_810) == 0) +x_894 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_893, x_3, x_5, x_892); +if (lean_obj_tag(x_894) == 0) { -uint8_t x_811; +uint8_t x_895; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_811 = !lean_is_exclusive(x_810); -if (x_811 == 0) +x_895 = !lean_is_exclusive(x_894); +if (x_895 == 0) { -lean_object* x_812; lean_object* x_813; -x_812 = lean_ctor_get(x_810, 0); -x_813 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_812, x_812, x_809, x_807); -lean_dec(x_812); -lean_ctor_set(x_810, 0, x_813); -return x_810; +lean_object* x_896; lean_object* x_897; +x_896 = lean_ctor_get(x_894, 0); +x_897 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_896, x_896, x_893, x_891); +lean_dec(x_896); +lean_ctor_set(x_894, 0, x_897); +return x_894; } else { -lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; -x_814 = lean_ctor_get(x_810, 0); -x_815 = lean_ctor_get(x_810, 1); -lean_inc(x_815); -lean_inc(x_814); -lean_dec(x_810); -x_816 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_814, x_814, x_809, x_807); -lean_dec(x_814); -x_817 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_817, 0, x_816); -lean_ctor_set(x_817, 1, x_815); -return x_817; +lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; +x_898 = lean_ctor_get(x_894, 0); +x_899 = lean_ctor_get(x_894, 1); +lean_inc(x_899); +lean_inc(x_898); +lean_dec(x_894); +x_900 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_898, x_898, x_893, x_891); +lean_dec(x_898); +x_901 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_901, 0, x_900); +lean_ctor_set(x_901, 1, x_899); +return x_901; } } else { -lean_object* x_818; -x_818 = lean_ctor_get(x_810, 0); -lean_inc(x_818); -if (lean_obj_tag(x_818) == 2) +lean_object* x_902; +x_902 = lean_ctor_get(x_894, 0); +lean_inc(x_902); +if (lean_obj_tag(x_902) == 2) { -lean_object* x_819; lean_object* x_820; lean_object* x_821; -x_819 = lean_ctor_get(x_810, 1); -lean_inc(x_819); -lean_dec(x_810); -x_820 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_820, 0, x_1); +lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; +x_903 = lean_ctor_get(x_894, 1); +lean_inc(x_903); +lean_dec(x_894); +x_904 = l_Lean_Expr_mvarId_x21(x_891); +x_905 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_905, 0, x_904); lean_inc(x_5); -x_821 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_820, x_5, x_819); -if (lean_obj_tag(x_821) == 0) +x_906 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_905, x_5, x_903); +if (lean_obj_tag(x_906) == 0) { -lean_object* x_822; lean_object* x_823; lean_object* x_824; -x_822 = lean_ctor_get(x_821, 0); -lean_inc(x_822); -x_823 = lean_ctor_get(x_821, 1); -lean_inc(x_823); -lean_dec(x_821); +lean_object* x_907; uint8_t x_908; +x_907 = lean_ctor_get(x_906, 0); +lean_inc(x_907); +x_908 = lean_unbox(x_907); +lean_dec(x_907); +if (x_908 == 0) +{ +lean_object* x_909; lean_object* x_910; lean_object* x_911; +x_909 = lean_ctor_get(x_906, 1); +lean_inc(x_909); +lean_dec(x_906); +x_910 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_910, 0, x_1); lean_inc(x_5); -x_824 = l_Lean_Meta_CheckAssignment_check___main(x_822, x_5, x_823); -if (lean_obj_tag(x_824) == 0) +x_911 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_910, x_5, x_909); +if (lean_obj_tag(x_911) == 0) { -lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; -x_825 = lean_ctor_get(x_824, 0); -lean_inc(x_825); -x_826 = lean_ctor_get(x_824, 1); -lean_inc(x_826); -lean_dec(x_824); -x_827 = lean_ctor_get(x_5, 2); -lean_inc(x_827); -x_828 = lean_ctor_get(x_827, 1); -lean_inc(x_828); -x_829 = lean_ctor_get(x_827, 4); -lean_inc(x_829); -lean_dec(x_827); -x_830 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_828, x_829, x_825, x_5, x_826); -x_831 = lean_ctor_get(x_830, 0); -lean_inc(x_831); -x_832 = lean_ctor_get(x_830, 1); -lean_inc(x_832); -lean_dec(x_830); -x_833 = lean_array_get_size(x_3); +lean_object* x_912; lean_object* x_913; lean_object* x_914; +x_912 = lean_ctor_get(x_911, 0); +lean_inc(x_912); +x_913 = lean_ctor_get(x_911, 1); +lean_inc(x_913); +lean_dec(x_911); +lean_inc(x_5); +x_914 = l_Lean_Meta_CheckAssignment_check___main(x_912, x_5, x_913); +if (lean_obj_tag(x_914) == 0) +{ +lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; +x_915 = lean_ctor_get(x_914, 0); +lean_inc(x_915); +x_916 = lean_ctor_get(x_914, 1); +lean_inc(x_916); +lean_dec(x_914); +x_917 = lean_ctor_get(x_5, 2); +lean_inc(x_917); +x_918 = lean_ctor_get(x_917, 1); +lean_inc(x_918); +x_919 = lean_ctor_get(x_917, 4); +lean_inc(x_919); +lean_dec(x_917); +x_920 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_918, x_919, x_915, x_5, x_916); +x_921 = lean_ctor_get(x_920, 0); +lean_inc(x_921); +x_922 = lean_ctor_get(x_920, 1); +lean_inc(x_922); +lean_dec(x_920); +x_923 = lean_array_get_size(x_3); lean_dec(x_3); -lean_inc(x_831); -x_834 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_834, 0, x_807); -lean_closure_set(x_834, 1, x_833); -lean_closure_set(x_834, 2, x_831); -x_835 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_834, x_5, x_832); -if (lean_obj_tag(x_835) == 0) +lean_inc(x_921); +x_924 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_924, 0, x_891); +lean_closure_set(x_924, 1, x_923); +lean_closure_set(x_924, 2, x_921); +x_925 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_924, x_5, x_922); +if (lean_obj_tag(x_925) == 0) { -lean_object* x_836; uint8_t x_837; -x_836 = lean_ctor_get(x_835, 0); -lean_inc(x_836); -x_837 = lean_unbox(x_836); -lean_dec(x_836); -if (x_837 == 0) +lean_object* x_926; uint8_t x_927; +x_926 = lean_ctor_get(x_925, 0); +lean_inc(x_926); +x_927 = lean_unbox(x_926); +lean_dec(x_926); +if (x_927 == 0) { -uint8_t x_838; -lean_dec(x_831); -x_838 = !lean_is_exclusive(x_835); -if (x_838 == 0) +uint8_t x_928; +lean_dec(x_921); +x_928 = !lean_is_exclusive(x_925); +if (x_928 == 0) { -lean_object* x_839; -x_839 = lean_ctor_get(x_835, 0); -lean_dec(x_839); -lean_ctor_set_tag(x_835, 1); -lean_ctor_set(x_835, 0, x_818); -return x_835; +lean_object* x_929; +x_929 = lean_ctor_get(x_925, 0); +lean_dec(x_929); +lean_ctor_set_tag(x_925, 1); +lean_ctor_set(x_925, 0, x_902); +return x_925; } else { -lean_object* x_840; lean_object* x_841; -x_840 = lean_ctor_get(x_835, 1); -lean_inc(x_840); -lean_dec(x_835); -x_841 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_841, 0, x_818); -lean_ctor_set(x_841, 1, x_840); -return x_841; +lean_object* x_930; lean_object* x_931; +x_930 = lean_ctor_get(x_925, 1); +lean_inc(x_930); +lean_dec(x_925); +x_931 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_931, 0, x_902); +lean_ctor_set(x_931, 1, x_930); +return x_931; } } else { -uint8_t x_842; -lean_dec(x_818); -x_842 = !lean_is_exclusive(x_835); -if (x_842 == 0) +uint8_t x_932; +lean_dec(x_902); +x_932 = !lean_is_exclusive(x_925); +if (x_932 == 0) { -lean_object* x_843; -x_843 = lean_ctor_get(x_835, 0); -lean_dec(x_843); -lean_ctor_set(x_835, 0, x_831); -return x_835; +lean_object* x_933; +x_933 = lean_ctor_get(x_925, 0); +lean_dec(x_933); +lean_ctor_set(x_925, 0, x_921); +return x_925; } else { -lean_object* x_844; lean_object* x_845; -x_844 = lean_ctor_get(x_835, 1); -lean_inc(x_844); -lean_dec(x_835); -x_845 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_845, 0, x_831); -lean_ctor_set(x_845, 1, x_844); -return x_845; +lean_object* x_934; lean_object* x_935; +x_934 = lean_ctor_get(x_925, 1); +lean_inc(x_934); +lean_dec(x_925); +x_935 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_935, 0, x_921); +lean_ctor_set(x_935, 1, x_934); +return x_935; } } } else { -uint8_t x_846; -lean_dec(x_831); -lean_dec(x_818); -x_846 = !lean_is_exclusive(x_835); -if (x_846 == 0) +uint8_t x_936; +lean_dec(x_921); +lean_dec(x_902); +x_936 = !lean_is_exclusive(x_925); +if (x_936 == 0) { -return x_835; +return x_925; } else { -lean_object* x_847; lean_object* x_848; lean_object* x_849; -x_847 = lean_ctor_get(x_835, 0); -x_848 = lean_ctor_get(x_835, 1); -lean_inc(x_848); -lean_inc(x_847); -lean_dec(x_835); -x_849 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_849, 0, x_847); -lean_ctor_set(x_849, 1, x_848); -return x_849; +lean_object* x_937; lean_object* x_938; lean_object* x_939; +x_937 = lean_ctor_get(x_925, 0); +x_938 = lean_ctor_get(x_925, 1); +lean_inc(x_938); +lean_inc(x_937); +lean_dec(x_925); +x_939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_939, 0, x_937); +lean_ctor_set(x_939, 1, x_938); +return x_939; } } } else { -uint8_t x_850; -lean_dec(x_818); -lean_dec(x_807); +uint8_t x_940; +lean_dec(x_902); +lean_dec(x_891); lean_dec(x_5); lean_dec(x_3); -x_850 = !lean_is_exclusive(x_824); -if (x_850 == 0) +x_940 = !lean_is_exclusive(x_914); +if (x_940 == 0) { -return x_824; +return x_914; } else { -lean_object* x_851; lean_object* x_852; lean_object* x_853; -x_851 = lean_ctor_get(x_824, 0); -x_852 = lean_ctor_get(x_824, 1); -lean_inc(x_852); -lean_inc(x_851); -lean_dec(x_824); -x_853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_853, 0, x_851); -lean_ctor_set(x_853, 1, x_852); -return x_853; +lean_object* x_941; lean_object* x_942; lean_object* x_943; +x_941 = lean_ctor_get(x_914, 0); +x_942 = lean_ctor_get(x_914, 1); +lean_inc(x_942); +lean_inc(x_941); +lean_dec(x_914); +x_943 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_943, 0, x_941); +lean_ctor_set(x_943, 1, x_942); +return x_943; } } } else { -uint8_t x_854; -lean_dec(x_818); -lean_dec(x_807); +uint8_t x_944; +lean_dec(x_902); +lean_dec(x_891); lean_dec(x_5); lean_dec(x_3); -x_854 = !lean_is_exclusive(x_821); -if (x_854 == 0) +x_944 = !lean_is_exclusive(x_911); +if (x_944 == 0) { -return x_821; +return x_911; } else { -lean_object* x_855; lean_object* x_856; lean_object* x_857; -x_855 = lean_ctor_get(x_821, 0); -x_856 = lean_ctor_get(x_821, 1); -lean_inc(x_856); -lean_inc(x_855); -lean_dec(x_821); -x_857 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_857, 0, x_855); -lean_ctor_set(x_857, 1, x_856); -return x_857; +lean_object* x_945; lean_object* x_946; lean_object* x_947; +x_945 = lean_ctor_get(x_911, 0); +x_946 = lean_ctor_get(x_911, 1); +lean_inc(x_946); +lean_inc(x_945); +lean_dec(x_911); +x_947 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_947, 0, x_945); +lean_ctor_set(x_947, 1, x_946); +return x_947; } } } else { -uint8_t x_858; -lean_dec(x_807); +uint8_t x_948; +lean_dec(x_891); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_858 = !lean_is_exclusive(x_810); -if (x_858 == 0) +x_948 = !lean_is_exclusive(x_906); +if (x_948 == 0) { -lean_object* x_859; -x_859 = lean_ctor_get(x_810, 0); -lean_dec(x_859); -return x_810; +lean_object* x_949; +x_949 = lean_ctor_get(x_906, 0); +lean_dec(x_949); +lean_ctor_set_tag(x_906, 1); +lean_ctor_set(x_906, 0, x_902); +return x_906; } else { -lean_object* x_860; lean_object* x_861; -x_860 = lean_ctor_get(x_810, 1); -lean_inc(x_860); -lean_dec(x_810); -x_861 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_861, 0, x_818); -lean_ctor_set(x_861, 1, x_860); -return x_861; +lean_object* x_950; lean_object* x_951; +x_950 = lean_ctor_get(x_906, 1); +lean_inc(x_950); +lean_dec(x_906); +x_951 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_951, 0, x_902); +lean_ctor_set(x_951, 1, x_950); +return x_951; +} +} +} +else +{ +uint8_t x_952; +lean_dec(x_902); +lean_dec(x_891); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_952 = !lean_is_exclusive(x_906); +if (x_952 == 0) +{ +return x_906; +} +else +{ +lean_object* x_953; lean_object* x_954; lean_object* x_955; +x_953 = lean_ctor_get(x_906, 0); +x_954 = lean_ctor_get(x_906, 1); +lean_inc(x_954); +lean_inc(x_953); +lean_dec(x_906); +x_955 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_955, 0, x_953); +lean_ctor_set(x_955, 1, x_954); +return x_955; +} +} +} +else +{ +uint8_t x_956; +lean_dec(x_891); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_956 = !lean_is_exclusive(x_894); +if (x_956 == 0) +{ +lean_object* x_957; +x_957 = lean_ctor_get(x_894, 0); +lean_dec(x_957); +return x_894; +} +else +{ +lean_object* x_958; lean_object* x_959; +x_958 = lean_ctor_get(x_894, 1); +lean_inc(x_958); +lean_dec(x_894); +x_959 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_959, 0, x_902); +lean_ctor_set(x_959, 1, x_958); +return x_959; } } } @@ -21938,614 +22507,690 @@ return x_861; } case 8: { -lean_object* x_902; lean_object* x_903; lean_object* x_918; lean_object* x_934; lean_object* x_935; uint8_t x_990; +lean_object* x_1000; lean_object* x_1001; lean_object* x_1016; lean_object* x_1032; lean_object* x_1033; uint8_t x_1102; lean_dec(x_4); -x_990 = l_Lean_Expr_isMVar(x_2); -if (x_990 == 0) +x_1102 = l_Lean_Expr_isMVar(x_2); +if (x_1102 == 0) { -uint8_t x_991; +uint8_t x_1103; lean_dec(x_1); -x_991 = l_Lean_Expr_hasExprMVar(x_2); -if (x_991 == 0) +x_1103 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1103 == 0) { -uint8_t x_992; -x_992 = l_Lean_Expr_hasFVar(x_2); -if (x_992 == 0) +uint8_t x_1104; +x_1104 = l_Lean_Expr_hasFVar(x_2); +if (x_1104 == 0) { -x_902 = x_2; -x_903 = x_6; -goto block_917; +x_1000 = x_2; +x_1001 = x_6; +goto block_1015; } else { -lean_object* x_993; -x_993 = lean_box(0); -x_918 = x_993; -goto block_933; +lean_object* x_1105; +x_1105 = lean_box(0); +x_1016 = x_1105; +goto block_1031; } } else { -lean_object* x_994; -x_994 = lean_box(0); -x_918 = x_994; -goto block_933; +lean_object* x_1106; +x_1106 = lean_box(0); +x_1016 = x_1106; +goto block_1031; } } else { -lean_object* x_995; lean_object* x_996; uint8_t x_997; -x_995 = lean_ctor_get(x_5, 0); -lean_inc(x_995); -x_996 = lean_ctor_get(x_995, 0); -lean_inc(x_996); -lean_dec(x_995); -x_997 = lean_ctor_get_uint8(x_996, sizeof(void*)*1 + 1); -lean_dec(x_996); -if (x_997 == 0) +lean_object* x_1107; lean_object* x_1108; uint8_t x_1109; +x_1107 = lean_ctor_get(x_5, 0); +lean_inc(x_1107); +x_1108 = lean_ctor_get(x_1107, 0); +lean_inc(x_1108); +lean_dec(x_1107); +x_1109 = lean_ctor_get_uint8(x_1108, sizeof(void*)*1 + 1); +lean_dec(x_1108); +if (x_1109 == 0) { -uint8_t x_998; +uint8_t x_1110; lean_dec(x_1); -x_998 = l_Lean_Expr_hasExprMVar(x_2); -if (x_998 == 0) +x_1110 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1110 == 0) { -uint8_t x_999; -x_999 = l_Lean_Expr_hasFVar(x_2); -if (x_999 == 0) +uint8_t x_1111; +x_1111 = l_Lean_Expr_hasFVar(x_2); +if (x_1111 == 0) { -x_902 = x_2; -x_903 = x_6; -goto block_917; +x_1000 = x_2; +x_1001 = x_6; +goto block_1015; } else { -lean_object* x_1000; -x_1000 = lean_box(0); -x_918 = x_1000; -goto block_933; +lean_object* x_1112; +x_1112 = lean_box(0); +x_1016 = x_1112; +goto block_1031; } } else { -lean_object* x_1001; -x_1001 = lean_box(0); -x_918 = x_1001; -goto block_933; +lean_object* x_1113; +x_1113 = lean_box(0); +x_1016 = x_1113; +goto block_1031; } } else { -lean_object* x_1002; lean_object* x_1003; uint8_t x_1004; -x_1002 = lean_array_get_size(x_3); -x_1003 = lean_unsigned_to_nat(0u); -x_1004 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1002, x_1003); -lean_dec(x_1002); -if (x_1004 == 0) +lean_object* x_1114; lean_object* x_1115; uint8_t x_1116; +x_1114 = lean_array_get_size(x_3); +x_1115 = lean_unsigned_to_nat(0u); +x_1116 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1114, x_1115); +lean_dec(x_1114); +if (x_1116 == 0) { -lean_object* x_1005; uint8_t x_1021; -x_1021 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1021 == 0) +lean_object* x_1117; uint8_t x_1133; +x_1133 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1133 == 0) { -uint8_t x_1022; -x_1022 = l_Lean_Expr_hasFVar(x_2); -if (x_1022 == 0) +uint8_t x_1134; +x_1134 = l_Lean_Expr_hasFVar(x_2); +if (x_1134 == 0) { -x_934 = x_2; -x_935 = x_6; -goto block_989; +x_1032 = x_2; +x_1033 = x_6; +goto block_1101; } else { -lean_object* x_1023; -x_1023 = lean_box(0); -x_1005 = x_1023; -goto block_1020; +lean_object* x_1135; +x_1135 = lean_box(0); +x_1117 = x_1135; +goto block_1132; } } else { -lean_object* x_1024; -x_1024 = lean_box(0); -x_1005 = x_1024; -goto block_1020; +lean_object* x_1136; +x_1136 = lean_box(0); +x_1117 = x_1136; +goto block_1132; } -block_1020: +block_1132: { -lean_object* x_1006; lean_object* x_1007; -lean_dec(x_1005); -x_1006 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_1007 = lean_ctor_get(x_1006, 0); -lean_inc(x_1007); -if (lean_obj_tag(x_1007) == 0) +lean_object* x_1118; lean_object* x_1119; +lean_dec(x_1117); +x_1118 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1119 = lean_ctor_get(x_1118, 0); +lean_inc(x_1119); +if (lean_obj_tag(x_1119) == 0) { -lean_object* x_1008; lean_object* x_1009; -x_1008 = lean_ctor_get(x_1006, 1); -lean_inc(x_1008); -lean_dec(x_1006); +lean_object* x_1120; lean_object* x_1121; +x_1120 = lean_ctor_get(x_1118, 1); +lean_inc(x_1120); +lean_dec(x_1118); lean_inc(x_5); lean_inc(x_2); -x_1009 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1008); -if (lean_obj_tag(x_1009) == 0) +x_1121 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1120); +if (lean_obj_tag(x_1121) == 0) { -lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; -x_1010 = lean_ctor_get(x_1009, 0); -lean_inc(x_1010); -x_1011 = lean_ctor_get(x_1009, 1); -lean_inc(x_1011); -lean_dec(x_1009); -lean_inc(x_1010); -x_1012 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1010, x_5, x_1011); -x_1013 = lean_ctor_get(x_1012, 1); -lean_inc(x_1013); -lean_dec(x_1012); -x_934 = x_1010; -x_935 = x_1013; -goto block_989; +lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; +x_1122 = lean_ctor_get(x_1121, 0); +lean_inc(x_1122); +x_1123 = lean_ctor_get(x_1121, 1); +lean_inc(x_1123); +lean_dec(x_1121); +lean_inc(x_1122); +x_1124 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1122, x_5, x_1123); +x_1125 = lean_ctor_get(x_1124, 1); +lean_inc(x_1125); +lean_dec(x_1124); +x_1032 = x_1122; +x_1033 = x_1125; +goto block_1101; } else { -uint8_t x_1014; +uint8_t x_1126; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1014 = !lean_is_exclusive(x_1009); -if (x_1014 == 0) +x_1126 = !lean_is_exclusive(x_1121); +if (x_1126 == 0) { -return x_1009; +return x_1121; } else { -lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; -x_1015 = lean_ctor_get(x_1009, 0); -x_1016 = lean_ctor_get(x_1009, 1); -lean_inc(x_1016); -lean_inc(x_1015); -lean_dec(x_1009); -x_1017 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1017, 0, x_1015); -lean_ctor_set(x_1017, 1, x_1016); -return x_1017; +lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; +x_1127 = lean_ctor_get(x_1121, 0); +x_1128 = lean_ctor_get(x_1121, 1); +lean_inc(x_1128); +lean_inc(x_1127); +lean_dec(x_1121); +x_1129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1129, 0, x_1127); +lean_ctor_set(x_1129, 1, x_1128); +return x_1129; } } } else { -lean_object* x_1018; lean_object* x_1019; +lean_object* x_1130; lean_object* x_1131; lean_dec(x_2); -x_1018 = lean_ctor_get(x_1006, 1); -lean_inc(x_1018); -lean_dec(x_1006); -x_1019 = lean_ctor_get(x_1007, 0); -lean_inc(x_1019); +x_1130 = lean_ctor_get(x_1118, 1); +lean_inc(x_1130); +lean_dec(x_1118); +x_1131 = lean_ctor_get(x_1119, 0); +lean_inc(x_1131); +lean_dec(x_1119); +x_1032 = x_1131; +x_1033 = x_1130; +goto block_1101; +} +} +} +else +{ +uint8_t x_1137; +lean_dec(x_1); +x_1137 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1137 == 0) +{ +uint8_t x_1138; +x_1138 = l_Lean_Expr_hasFVar(x_2); +if (x_1138 == 0) +{ +x_1000 = x_2; +x_1001 = x_6; +goto block_1015; +} +else +{ +lean_object* x_1139; +x_1139 = lean_box(0); +x_1016 = x_1139; +goto block_1031; +} +} +else +{ +lean_object* x_1140; +x_1140 = lean_box(0); +x_1016 = x_1140; +goto block_1031; +} +} +} +} +block_1015: +{ +lean_object* x_1002; lean_object* x_1003; +x_1002 = lean_unsigned_to_nat(0u); +x_1003 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1002, x_3, x_5, x_1001); +if (lean_obj_tag(x_1003) == 0) +{ +uint8_t x_1004; +x_1004 = !lean_is_exclusive(x_1003); +if (x_1004 == 0) +{ +lean_object* x_1005; lean_object* x_1006; +x_1005 = lean_ctor_get(x_1003, 0); +x_1006 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1005, x_1005, x_1002, x_1000); +lean_dec(x_1005); +lean_ctor_set(x_1003, 0, x_1006); +return x_1003; +} +else +{ +lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; +x_1007 = lean_ctor_get(x_1003, 0); +x_1008 = lean_ctor_get(x_1003, 1); +lean_inc(x_1008); +lean_inc(x_1007); +lean_dec(x_1003); +x_1009 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1007, x_1007, x_1002, x_1000); lean_dec(x_1007); -x_934 = x_1019; -x_935 = x_1018; -goto block_989; +x_1010 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1010, 0, x_1009); +lean_ctor_set(x_1010, 1, x_1008); +return x_1010; } } +else +{ +uint8_t x_1011; +lean_dec(x_1000); +x_1011 = !lean_is_exclusive(x_1003); +if (x_1011 == 0) +{ +return x_1003; +} +else +{ +lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; +x_1012 = lean_ctor_get(x_1003, 0); +x_1013 = lean_ctor_get(x_1003, 1); +lean_inc(x_1013); +lean_inc(x_1012); +lean_dec(x_1003); +x_1014 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1014, 0, x_1012); +lean_ctor_set(x_1014, 1, x_1013); +return x_1014; +} +} +} +block_1031: +{ +lean_object* x_1017; lean_object* x_1018; +lean_dec(x_1016); +x_1017 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1018 = lean_ctor_get(x_1017, 0); +lean_inc(x_1018); +if (lean_obj_tag(x_1018) == 0) +{ +lean_object* x_1019; lean_object* x_1020; +x_1019 = lean_ctor_get(x_1017, 1); +lean_inc(x_1019); +lean_dec(x_1017); +lean_inc(x_5); +lean_inc(x_2); +x_1020 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_1019); +if (lean_obj_tag(x_1020) == 0) +{ +lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; +x_1021 = lean_ctor_get(x_1020, 0); +lean_inc(x_1021); +x_1022 = lean_ctor_get(x_1020, 1); +lean_inc(x_1022); +lean_dec(x_1020); +lean_inc(x_1021); +x_1023 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1021, x_5, x_1022); +x_1024 = lean_ctor_get(x_1023, 1); +lean_inc(x_1024); +lean_dec(x_1023); +x_1000 = x_1021; +x_1001 = x_1024; +goto block_1015; } else { uint8_t x_1025; -lean_dec(x_1); -x_1025 = l_Lean_Expr_hasExprMVar(x_2); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_1025 = !lean_is_exclusive(x_1020); if (x_1025 == 0) { -uint8_t x_1026; -x_1026 = l_Lean_Expr_hasFVar(x_2); -if (x_1026 == 0) -{ -x_902 = x_2; -x_903 = x_6; -goto block_917; +return x_1020; } else { -lean_object* x_1027; -x_1027 = lean_box(0); -x_918 = x_1027; -goto block_933; +lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; +x_1026 = lean_ctor_get(x_1020, 0); +x_1027 = lean_ctor_get(x_1020, 1); +lean_inc(x_1027); +lean_inc(x_1026); +lean_dec(x_1020); +x_1028 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1028, 0, x_1026); +lean_ctor_set(x_1028, 1, x_1027); +return x_1028; +} } } else { -lean_object* x_1028; -x_1028 = lean_box(0); -x_918 = x_1028; -goto block_933; -} -} -} -} -block_917: -{ -lean_object* x_904; lean_object* x_905; -x_904 = lean_unsigned_to_nat(0u); -x_905 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_904, x_3, x_5, x_903); -if (lean_obj_tag(x_905) == 0) -{ -uint8_t x_906; -x_906 = !lean_is_exclusive(x_905); -if (x_906 == 0) -{ -lean_object* x_907; lean_object* x_908; -x_907 = lean_ctor_get(x_905, 0); -x_908 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_907, x_907, x_904, x_902); -lean_dec(x_907); -lean_ctor_set(x_905, 0, x_908); -return x_905; -} -else -{ -lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; -x_909 = lean_ctor_get(x_905, 0); -x_910 = lean_ctor_get(x_905, 1); -lean_inc(x_910); -lean_inc(x_909); -lean_dec(x_905); -x_911 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_909, x_909, x_904, x_902); -lean_dec(x_909); -x_912 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_912, 0, x_911); -lean_ctor_set(x_912, 1, x_910); -return x_912; -} -} -else -{ -uint8_t x_913; -lean_dec(x_902); -x_913 = !lean_is_exclusive(x_905); -if (x_913 == 0) -{ -return x_905; -} -else -{ -lean_object* x_914; lean_object* x_915; lean_object* x_916; -x_914 = lean_ctor_get(x_905, 0); -x_915 = lean_ctor_get(x_905, 1); -lean_inc(x_915); -lean_inc(x_914); -lean_dec(x_905); -x_916 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_916, 0, x_914); -lean_ctor_set(x_916, 1, x_915); -return x_916; -} -} -} -block_933: -{ -lean_object* x_919; lean_object* x_920; -lean_dec(x_918); -x_919 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_920 = lean_ctor_get(x_919, 0); -lean_inc(x_920); -if (lean_obj_tag(x_920) == 0) -{ -lean_object* x_921; lean_object* x_922; -x_921 = lean_ctor_get(x_919, 1); -lean_inc(x_921); -lean_dec(x_919); -lean_inc(x_5); -lean_inc(x_2); -x_922 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_921); -if (lean_obj_tag(x_922) == 0) -{ -lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; -x_923 = lean_ctor_get(x_922, 0); -lean_inc(x_923); -x_924 = lean_ctor_get(x_922, 1); -lean_inc(x_924); -lean_dec(x_922); -lean_inc(x_923); -x_925 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_923, x_5, x_924); -x_926 = lean_ctor_get(x_925, 1); -lean_inc(x_926); -lean_dec(x_925); -x_902 = x_923; -x_903 = x_926; -goto block_917; -} -else -{ -uint8_t x_927; -lean_dec(x_5); -lean_dec(x_3); +lean_object* x_1029; lean_object* x_1030; lean_dec(x_2); -x_927 = !lean_is_exclusive(x_922); -if (x_927 == 0) +x_1029 = lean_ctor_get(x_1017, 1); +lean_inc(x_1029); +lean_dec(x_1017); +x_1030 = lean_ctor_get(x_1018, 0); +lean_inc(x_1030); +lean_dec(x_1018); +x_1000 = x_1030; +x_1001 = x_1029; +goto block_1015; +} +} +block_1101: { -return x_922; -} -else -{ -lean_object* x_928; lean_object* x_929; lean_object* x_930; -x_928 = lean_ctor_get(x_922, 0); -x_929 = lean_ctor_get(x_922, 1); -lean_inc(x_929); -lean_inc(x_928); -lean_dec(x_922); -x_930 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_930, 0, x_928); -lean_ctor_set(x_930, 1, x_929); -return x_930; -} -} -} -else -{ -lean_object* x_931; lean_object* x_932; -lean_dec(x_2); -x_931 = lean_ctor_get(x_919, 1); -lean_inc(x_931); -lean_dec(x_919); -x_932 = lean_ctor_get(x_920, 0); -lean_inc(x_932); -lean_dec(x_920); -x_902 = x_932; -x_903 = x_931; -goto block_917; -} -} -block_989: -{ -lean_object* x_936; lean_object* x_937; -x_936 = lean_unsigned_to_nat(0u); +lean_object* x_1034; lean_object* x_1035; +x_1034 = lean_unsigned_to_nat(0u); lean_inc(x_5); lean_inc(x_3); -x_937 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_936, x_3, x_5, x_935); -if (lean_obj_tag(x_937) == 0) +x_1035 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1034, x_3, x_5, x_1033); +if (lean_obj_tag(x_1035) == 0) { -uint8_t x_938; +uint8_t x_1036; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_938 = !lean_is_exclusive(x_937); -if (x_938 == 0) +x_1036 = !lean_is_exclusive(x_1035); +if (x_1036 == 0) { -lean_object* x_939; lean_object* x_940; -x_939 = lean_ctor_get(x_937, 0); -x_940 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_939, x_939, x_936, x_934); -lean_dec(x_939); -lean_ctor_set(x_937, 0, x_940); -return x_937; +lean_object* x_1037; lean_object* x_1038; +x_1037 = lean_ctor_get(x_1035, 0); +x_1038 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1037, x_1037, x_1034, x_1032); +lean_dec(x_1037); +lean_ctor_set(x_1035, 0, x_1038); +return x_1035; } else { -lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; -x_941 = lean_ctor_get(x_937, 0); -x_942 = lean_ctor_get(x_937, 1); -lean_inc(x_942); -lean_inc(x_941); -lean_dec(x_937); -x_943 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_941, x_941, x_936, x_934); -lean_dec(x_941); -x_944 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_944, 0, x_943); -lean_ctor_set(x_944, 1, x_942); -return x_944; +lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; +x_1039 = lean_ctor_get(x_1035, 0); +x_1040 = lean_ctor_get(x_1035, 1); +lean_inc(x_1040); +lean_inc(x_1039); +lean_dec(x_1035); +x_1041 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1039, x_1039, x_1034, x_1032); +lean_dec(x_1039); +x_1042 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1042, 0, x_1041); +lean_ctor_set(x_1042, 1, x_1040); +return x_1042; } } else { -lean_object* x_945; -x_945 = lean_ctor_get(x_937, 0); -lean_inc(x_945); -if (lean_obj_tag(x_945) == 2) +lean_object* x_1043; +x_1043 = lean_ctor_get(x_1035, 0); +lean_inc(x_1043); +if (lean_obj_tag(x_1043) == 2) { -lean_object* x_946; lean_object* x_947; lean_object* x_948; -x_946 = lean_ctor_get(x_937, 1); -lean_inc(x_946); -lean_dec(x_937); -x_947 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_947, 0, x_1); +lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; +x_1044 = lean_ctor_get(x_1035, 1); +lean_inc(x_1044); +lean_dec(x_1035); +x_1045 = l_Lean_Expr_mvarId_x21(x_1032); +x_1046 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_1046, 0, x_1045); lean_inc(x_5); -x_948 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_947, x_5, x_946); -if (lean_obj_tag(x_948) == 0) +x_1047 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1046, x_5, x_1044); +if (lean_obj_tag(x_1047) == 0) { -lean_object* x_949; lean_object* x_950; lean_object* x_951; -x_949 = lean_ctor_get(x_948, 0); -lean_inc(x_949); -x_950 = lean_ctor_get(x_948, 1); -lean_inc(x_950); -lean_dec(x_948); +lean_object* x_1048; uint8_t x_1049; +x_1048 = lean_ctor_get(x_1047, 0); +lean_inc(x_1048); +x_1049 = lean_unbox(x_1048); +lean_dec(x_1048); +if (x_1049 == 0) +{ +lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; +x_1050 = lean_ctor_get(x_1047, 1); +lean_inc(x_1050); +lean_dec(x_1047); +x_1051 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_1051, 0, x_1); lean_inc(x_5); -x_951 = l_Lean_Meta_CheckAssignment_check___main(x_949, x_5, x_950); -if (lean_obj_tag(x_951) == 0) +x_1052 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1051, x_5, x_1050); +if (lean_obj_tag(x_1052) == 0) { -lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; -x_952 = lean_ctor_get(x_951, 0); -lean_inc(x_952); -x_953 = lean_ctor_get(x_951, 1); -lean_inc(x_953); -lean_dec(x_951); -x_954 = lean_ctor_get(x_5, 2); -lean_inc(x_954); -x_955 = lean_ctor_get(x_954, 1); -lean_inc(x_955); -x_956 = lean_ctor_get(x_954, 4); -lean_inc(x_956); -lean_dec(x_954); -x_957 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_955, x_956, x_952, x_5, x_953); -x_958 = lean_ctor_get(x_957, 0); -lean_inc(x_958); -x_959 = lean_ctor_get(x_957, 1); -lean_inc(x_959); -lean_dec(x_957); -x_960 = lean_array_get_size(x_3); +lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; +x_1053 = lean_ctor_get(x_1052, 0); +lean_inc(x_1053); +x_1054 = lean_ctor_get(x_1052, 1); +lean_inc(x_1054); +lean_dec(x_1052); +lean_inc(x_5); +x_1055 = l_Lean_Meta_CheckAssignment_check___main(x_1053, x_5, x_1054); +if (lean_obj_tag(x_1055) == 0) +{ +lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; +x_1056 = lean_ctor_get(x_1055, 0); +lean_inc(x_1056); +x_1057 = lean_ctor_get(x_1055, 1); +lean_inc(x_1057); +lean_dec(x_1055); +x_1058 = lean_ctor_get(x_5, 2); +lean_inc(x_1058); +x_1059 = lean_ctor_get(x_1058, 1); +lean_inc(x_1059); +x_1060 = lean_ctor_get(x_1058, 4); +lean_inc(x_1060); +lean_dec(x_1058); +x_1061 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_1059, x_1060, x_1056, x_5, x_1057); +x_1062 = lean_ctor_get(x_1061, 0); +lean_inc(x_1062); +x_1063 = lean_ctor_get(x_1061, 1); +lean_inc(x_1063); +lean_dec(x_1061); +x_1064 = lean_array_get_size(x_3); lean_dec(x_3); -lean_inc(x_958); -x_961 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_961, 0, x_934); -lean_closure_set(x_961, 1, x_960); -lean_closure_set(x_961, 2, x_958); -x_962 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_961, x_5, x_959); -if (lean_obj_tag(x_962) == 0) +lean_inc(x_1062); +x_1065 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_1065, 0, x_1032); +lean_closure_set(x_1065, 1, x_1064); +lean_closure_set(x_1065, 2, x_1062); +x_1066 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1065, x_5, x_1063); +if (lean_obj_tag(x_1066) == 0) { -lean_object* x_963; uint8_t x_964; -x_963 = lean_ctor_get(x_962, 0); -lean_inc(x_963); -x_964 = lean_unbox(x_963); -lean_dec(x_963); -if (x_964 == 0) +lean_object* x_1067; uint8_t x_1068; +x_1067 = lean_ctor_get(x_1066, 0); +lean_inc(x_1067); +x_1068 = lean_unbox(x_1067); +lean_dec(x_1067); +if (x_1068 == 0) { -uint8_t x_965; -lean_dec(x_958); -x_965 = !lean_is_exclusive(x_962); -if (x_965 == 0) +uint8_t x_1069; +lean_dec(x_1062); +x_1069 = !lean_is_exclusive(x_1066); +if (x_1069 == 0) { -lean_object* x_966; -x_966 = lean_ctor_get(x_962, 0); -lean_dec(x_966); -lean_ctor_set_tag(x_962, 1); -lean_ctor_set(x_962, 0, x_945); -return x_962; +lean_object* x_1070; +x_1070 = lean_ctor_get(x_1066, 0); +lean_dec(x_1070); +lean_ctor_set_tag(x_1066, 1); +lean_ctor_set(x_1066, 0, x_1043); +return x_1066; } else { -lean_object* x_967; lean_object* x_968; -x_967 = lean_ctor_get(x_962, 1); -lean_inc(x_967); -lean_dec(x_962); -x_968 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_968, 0, x_945); -lean_ctor_set(x_968, 1, x_967); -return x_968; +lean_object* x_1071; lean_object* x_1072; +x_1071 = lean_ctor_get(x_1066, 1); +lean_inc(x_1071); +lean_dec(x_1066); +x_1072 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1072, 0, x_1043); +lean_ctor_set(x_1072, 1, x_1071); +return x_1072; } } else { -uint8_t x_969; -lean_dec(x_945); -x_969 = !lean_is_exclusive(x_962); -if (x_969 == 0) +uint8_t x_1073; +lean_dec(x_1043); +x_1073 = !lean_is_exclusive(x_1066); +if (x_1073 == 0) { -lean_object* x_970; -x_970 = lean_ctor_get(x_962, 0); -lean_dec(x_970); -lean_ctor_set(x_962, 0, x_958); -return x_962; +lean_object* x_1074; +x_1074 = lean_ctor_get(x_1066, 0); +lean_dec(x_1074); +lean_ctor_set(x_1066, 0, x_1062); +return x_1066; } else { -lean_object* x_971; lean_object* x_972; -x_971 = lean_ctor_get(x_962, 1); -lean_inc(x_971); -lean_dec(x_962); -x_972 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_972, 0, x_958); -lean_ctor_set(x_972, 1, x_971); -return x_972; +lean_object* x_1075; lean_object* x_1076; +x_1075 = lean_ctor_get(x_1066, 1); +lean_inc(x_1075); +lean_dec(x_1066); +x_1076 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1076, 0, x_1062); +lean_ctor_set(x_1076, 1, x_1075); +return x_1076; } } } else { -uint8_t x_973; -lean_dec(x_958); -lean_dec(x_945); -x_973 = !lean_is_exclusive(x_962); -if (x_973 == 0) +uint8_t x_1077; +lean_dec(x_1062); +lean_dec(x_1043); +x_1077 = !lean_is_exclusive(x_1066); +if (x_1077 == 0) { -return x_962; +return x_1066; } else { -lean_object* x_974; lean_object* x_975; lean_object* x_976; -x_974 = lean_ctor_get(x_962, 0); -x_975 = lean_ctor_get(x_962, 1); -lean_inc(x_975); -lean_inc(x_974); -lean_dec(x_962); -x_976 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_976, 0, x_974); -lean_ctor_set(x_976, 1, x_975); -return x_976; +lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; +x_1078 = lean_ctor_get(x_1066, 0); +x_1079 = lean_ctor_get(x_1066, 1); +lean_inc(x_1079); +lean_inc(x_1078); +lean_dec(x_1066); +x_1080 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1080, 0, x_1078); +lean_ctor_set(x_1080, 1, x_1079); +return x_1080; } } } else { -uint8_t x_977; -lean_dec(x_945); -lean_dec(x_934); +uint8_t x_1081; +lean_dec(x_1043); +lean_dec(x_1032); lean_dec(x_5); lean_dec(x_3); -x_977 = !lean_is_exclusive(x_951); -if (x_977 == 0) +x_1081 = !lean_is_exclusive(x_1055); +if (x_1081 == 0) { -return x_951; +return x_1055; } else { -lean_object* x_978; lean_object* x_979; lean_object* x_980; -x_978 = lean_ctor_get(x_951, 0); -x_979 = lean_ctor_get(x_951, 1); -lean_inc(x_979); -lean_inc(x_978); -lean_dec(x_951); -x_980 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_980, 0, x_978); -lean_ctor_set(x_980, 1, x_979); -return x_980; +lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; +x_1082 = lean_ctor_get(x_1055, 0); +x_1083 = lean_ctor_get(x_1055, 1); +lean_inc(x_1083); +lean_inc(x_1082); +lean_dec(x_1055); +x_1084 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1084, 0, x_1082); +lean_ctor_set(x_1084, 1, x_1083); +return x_1084; } } } else { -uint8_t x_981; -lean_dec(x_945); -lean_dec(x_934); +uint8_t x_1085; +lean_dec(x_1043); +lean_dec(x_1032); lean_dec(x_5); lean_dec(x_3); -x_981 = !lean_is_exclusive(x_948); -if (x_981 == 0) +x_1085 = !lean_is_exclusive(x_1052); +if (x_1085 == 0) { -return x_948; +return x_1052; } else { -lean_object* x_982; lean_object* x_983; lean_object* x_984; -x_982 = lean_ctor_get(x_948, 0); -x_983 = lean_ctor_get(x_948, 1); -lean_inc(x_983); -lean_inc(x_982); -lean_dec(x_948); -x_984 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_984, 0, x_982); -lean_ctor_set(x_984, 1, x_983); -return x_984; +lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; +x_1086 = lean_ctor_get(x_1052, 0); +x_1087 = lean_ctor_get(x_1052, 1); +lean_inc(x_1087); +lean_inc(x_1086); +lean_dec(x_1052); +x_1088 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1088, 0, x_1086); +lean_ctor_set(x_1088, 1, x_1087); +return x_1088; } } } else { -uint8_t x_985; -lean_dec(x_934); +uint8_t x_1089; +lean_dec(x_1032); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_985 = !lean_is_exclusive(x_937); -if (x_985 == 0) +x_1089 = !lean_is_exclusive(x_1047); +if (x_1089 == 0) { -lean_object* x_986; -x_986 = lean_ctor_get(x_937, 0); -lean_dec(x_986); -return x_937; +lean_object* x_1090; +x_1090 = lean_ctor_get(x_1047, 0); +lean_dec(x_1090); +lean_ctor_set_tag(x_1047, 1); +lean_ctor_set(x_1047, 0, x_1043); +return x_1047; } else { -lean_object* x_987; lean_object* x_988; -x_987 = lean_ctor_get(x_937, 1); -lean_inc(x_987); -lean_dec(x_937); -x_988 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_988, 0, x_945); -lean_ctor_set(x_988, 1, x_987); -return x_988; +lean_object* x_1091; lean_object* x_1092; +x_1091 = lean_ctor_get(x_1047, 1); +lean_inc(x_1091); +lean_dec(x_1047); +x_1092 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1092, 0, x_1043); +lean_ctor_set(x_1092, 1, x_1091); +return x_1092; +} +} +} +else +{ +uint8_t x_1093; +lean_dec(x_1043); +lean_dec(x_1032); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1093 = !lean_is_exclusive(x_1047); +if (x_1093 == 0) +{ +return x_1047; +} +else +{ +lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; +x_1094 = lean_ctor_get(x_1047, 0); +x_1095 = lean_ctor_get(x_1047, 1); +lean_inc(x_1095); +lean_inc(x_1094); +lean_dec(x_1047); +x_1096 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1096, 0, x_1094); +lean_ctor_set(x_1096, 1, x_1095); +return x_1096; +} +} +} +else +{ +uint8_t x_1097; +lean_dec(x_1032); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1097 = !lean_is_exclusive(x_1035); +if (x_1097 == 0) +{ +lean_object* x_1098; +x_1098 = lean_ctor_get(x_1035, 0); +lean_dec(x_1098); +return x_1035; +} +else +{ +lean_object* x_1099; lean_object* x_1100; +x_1099 = lean_ctor_get(x_1035, 1); +lean_inc(x_1099); +lean_dec(x_1035); +x_1100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1100, 0, x_1043); +lean_ctor_set(x_1100, 1, x_1099); +return x_1100; } } } @@ -22553,614 +23198,690 @@ return x_988; } case 9: { -lean_object* x_1029; lean_object* x_1030; lean_object* x_1045; lean_object* x_1061; lean_object* x_1062; uint8_t x_1117; +lean_object* x_1141; lean_object* x_1142; lean_object* x_1157; lean_object* x_1173; lean_object* x_1174; uint8_t x_1243; lean_dec(x_4); -x_1117 = l_Lean_Expr_isMVar(x_2); -if (x_1117 == 0) +x_1243 = l_Lean_Expr_isMVar(x_2); +if (x_1243 == 0) { -uint8_t x_1118; +uint8_t x_1244; lean_dec(x_1); -x_1118 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1118 == 0) +x_1244 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1244 == 0) { -uint8_t x_1119; -x_1119 = l_Lean_Expr_hasFVar(x_2); -if (x_1119 == 0) +uint8_t x_1245; +x_1245 = l_Lean_Expr_hasFVar(x_2); +if (x_1245 == 0) { -x_1029 = x_2; -x_1030 = x_6; -goto block_1044; +x_1141 = x_2; +x_1142 = x_6; +goto block_1156; } else { -lean_object* x_1120; -x_1120 = lean_box(0); -x_1045 = x_1120; -goto block_1060; +lean_object* x_1246; +x_1246 = lean_box(0); +x_1157 = x_1246; +goto block_1172; } } else { -lean_object* x_1121; -x_1121 = lean_box(0); -x_1045 = x_1121; -goto block_1060; +lean_object* x_1247; +x_1247 = lean_box(0); +x_1157 = x_1247; +goto block_1172; } } else { -lean_object* x_1122; lean_object* x_1123; uint8_t x_1124; -x_1122 = lean_ctor_get(x_5, 0); -lean_inc(x_1122); -x_1123 = lean_ctor_get(x_1122, 0); -lean_inc(x_1123); -lean_dec(x_1122); -x_1124 = lean_ctor_get_uint8(x_1123, sizeof(void*)*1 + 1); -lean_dec(x_1123); -if (x_1124 == 0) +lean_object* x_1248; lean_object* x_1249; uint8_t x_1250; +x_1248 = lean_ctor_get(x_5, 0); +lean_inc(x_1248); +x_1249 = lean_ctor_get(x_1248, 0); +lean_inc(x_1249); +lean_dec(x_1248); +x_1250 = lean_ctor_get_uint8(x_1249, sizeof(void*)*1 + 1); +lean_dec(x_1249); +if (x_1250 == 0) { -uint8_t x_1125; +uint8_t x_1251; lean_dec(x_1); -x_1125 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1125 == 0) +x_1251 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1251 == 0) { -uint8_t x_1126; -x_1126 = l_Lean_Expr_hasFVar(x_2); -if (x_1126 == 0) +uint8_t x_1252; +x_1252 = l_Lean_Expr_hasFVar(x_2); +if (x_1252 == 0) { -x_1029 = x_2; -x_1030 = x_6; -goto block_1044; +x_1141 = x_2; +x_1142 = x_6; +goto block_1156; } else { -lean_object* x_1127; -x_1127 = lean_box(0); -x_1045 = x_1127; -goto block_1060; +lean_object* x_1253; +x_1253 = lean_box(0); +x_1157 = x_1253; +goto block_1172; } } else { -lean_object* x_1128; -x_1128 = lean_box(0); -x_1045 = x_1128; -goto block_1060; +lean_object* x_1254; +x_1254 = lean_box(0); +x_1157 = x_1254; +goto block_1172; } } else { -lean_object* x_1129; lean_object* x_1130; uint8_t x_1131; -x_1129 = lean_array_get_size(x_3); -x_1130 = lean_unsigned_to_nat(0u); -x_1131 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1129, x_1130); -lean_dec(x_1129); -if (x_1131 == 0) +lean_object* x_1255; lean_object* x_1256; uint8_t x_1257; +x_1255 = lean_array_get_size(x_3); +x_1256 = lean_unsigned_to_nat(0u); +x_1257 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1255, x_1256); +lean_dec(x_1255); +if (x_1257 == 0) { -lean_object* x_1132; uint8_t x_1148; -x_1148 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1148 == 0) +lean_object* x_1258; uint8_t x_1274; +x_1274 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1274 == 0) { -uint8_t x_1149; -x_1149 = l_Lean_Expr_hasFVar(x_2); -if (x_1149 == 0) +uint8_t x_1275; +x_1275 = l_Lean_Expr_hasFVar(x_2); +if (x_1275 == 0) { -x_1061 = x_2; -x_1062 = x_6; -goto block_1116; +x_1173 = x_2; +x_1174 = x_6; +goto block_1242; } else { -lean_object* x_1150; -x_1150 = lean_box(0); -x_1132 = x_1150; -goto block_1147; +lean_object* x_1276; +x_1276 = lean_box(0); +x_1258 = x_1276; +goto block_1273; } } else { -lean_object* x_1151; -x_1151 = lean_box(0); -x_1132 = x_1151; -goto block_1147; +lean_object* x_1277; +x_1277 = lean_box(0); +x_1258 = x_1277; +goto block_1273; } -block_1147: +block_1273: { -lean_object* x_1133; lean_object* x_1134; -lean_dec(x_1132); -x_1133 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_1134 = lean_ctor_get(x_1133, 0); -lean_inc(x_1134); -if (lean_obj_tag(x_1134) == 0) +lean_object* x_1259; lean_object* x_1260; +lean_dec(x_1258); +x_1259 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1260 = lean_ctor_get(x_1259, 0); +lean_inc(x_1260); +if (lean_obj_tag(x_1260) == 0) { -lean_object* x_1135; lean_object* x_1136; -x_1135 = lean_ctor_get(x_1133, 1); -lean_inc(x_1135); -lean_dec(x_1133); +lean_object* x_1261; lean_object* x_1262; +x_1261 = lean_ctor_get(x_1259, 1); +lean_inc(x_1261); +lean_dec(x_1259); lean_inc(x_5); lean_inc(x_2); -x_1136 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1135); -if (lean_obj_tag(x_1136) == 0) +x_1262 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1261); +if (lean_obj_tag(x_1262) == 0) { -lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; -x_1137 = lean_ctor_get(x_1136, 0); -lean_inc(x_1137); -x_1138 = lean_ctor_get(x_1136, 1); -lean_inc(x_1138); -lean_dec(x_1136); -lean_inc(x_1137); -x_1139 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1137, x_5, x_1138); -x_1140 = lean_ctor_get(x_1139, 1); -lean_inc(x_1140); -lean_dec(x_1139); -x_1061 = x_1137; -x_1062 = x_1140; -goto block_1116; +lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; +x_1263 = lean_ctor_get(x_1262, 0); +lean_inc(x_1263); +x_1264 = lean_ctor_get(x_1262, 1); +lean_inc(x_1264); +lean_dec(x_1262); +lean_inc(x_1263); +x_1265 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1263, x_5, x_1264); +x_1266 = lean_ctor_get(x_1265, 1); +lean_inc(x_1266); +lean_dec(x_1265); +x_1173 = x_1263; +x_1174 = x_1266; +goto block_1242; } else { -uint8_t x_1141; +uint8_t x_1267; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1141 = !lean_is_exclusive(x_1136); -if (x_1141 == 0) +x_1267 = !lean_is_exclusive(x_1262); +if (x_1267 == 0) { -return x_1136; +return x_1262; } else { -lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; -x_1142 = lean_ctor_get(x_1136, 0); -x_1143 = lean_ctor_get(x_1136, 1); -lean_inc(x_1143); -lean_inc(x_1142); -lean_dec(x_1136); -x_1144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1144, 0, x_1142); -lean_ctor_set(x_1144, 1, x_1143); +lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; +x_1268 = lean_ctor_get(x_1262, 0); +x_1269 = lean_ctor_get(x_1262, 1); +lean_inc(x_1269); +lean_inc(x_1268); +lean_dec(x_1262); +x_1270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1270, 0, x_1268); +lean_ctor_set(x_1270, 1, x_1269); +return x_1270; +} +} +} +else +{ +lean_object* x_1271; lean_object* x_1272; +lean_dec(x_2); +x_1271 = lean_ctor_get(x_1259, 1); +lean_inc(x_1271); +lean_dec(x_1259); +x_1272 = lean_ctor_get(x_1260, 0); +lean_inc(x_1272); +lean_dec(x_1260); +x_1173 = x_1272; +x_1174 = x_1271; +goto block_1242; +} +} +} +else +{ +uint8_t x_1278; +lean_dec(x_1); +x_1278 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1278 == 0) +{ +uint8_t x_1279; +x_1279 = l_Lean_Expr_hasFVar(x_2); +if (x_1279 == 0) +{ +x_1141 = x_2; +x_1142 = x_6; +goto block_1156; +} +else +{ +lean_object* x_1280; +x_1280 = lean_box(0); +x_1157 = x_1280; +goto block_1172; +} +} +else +{ +lean_object* x_1281; +x_1281 = lean_box(0); +x_1157 = x_1281; +goto block_1172; +} +} +} +} +block_1156: +{ +lean_object* x_1143; lean_object* x_1144; +x_1143 = lean_unsigned_to_nat(0u); +x_1144 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1143, x_3, x_5, x_1142); +if (lean_obj_tag(x_1144) == 0) +{ +uint8_t x_1145; +x_1145 = !lean_is_exclusive(x_1144); +if (x_1145 == 0) +{ +lean_object* x_1146; lean_object* x_1147; +x_1146 = lean_ctor_get(x_1144, 0); +x_1147 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1146, x_1146, x_1143, x_1141); +lean_dec(x_1146); +lean_ctor_set(x_1144, 0, x_1147); return x_1144; } -} -} else { -lean_object* x_1145; lean_object* x_1146; -lean_dec(x_2); -x_1145 = lean_ctor_get(x_1133, 1); -lean_inc(x_1145); -lean_dec(x_1133); -x_1146 = lean_ctor_get(x_1134, 0); -lean_inc(x_1146); -lean_dec(x_1134); -x_1061 = x_1146; -x_1062 = x_1145; -goto block_1116; -} +lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; +x_1148 = lean_ctor_get(x_1144, 0); +x_1149 = lean_ctor_get(x_1144, 1); +lean_inc(x_1149); +lean_inc(x_1148); +lean_dec(x_1144); +x_1150 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1148, x_1148, x_1143, x_1141); +lean_dec(x_1148); +x_1151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1151, 0, x_1150); +lean_ctor_set(x_1151, 1, x_1149); +return x_1151; } } else { uint8_t x_1152; -lean_dec(x_1); -x_1152 = l_Lean_Expr_hasExprMVar(x_2); +lean_dec(x_1141); +x_1152 = !lean_is_exclusive(x_1144); if (x_1152 == 0) { -uint8_t x_1153; -x_1153 = l_Lean_Expr_hasFVar(x_2); -if (x_1153 == 0) -{ -x_1029 = x_2; -x_1030 = x_6; -goto block_1044; +return x_1144; } else { -lean_object* x_1154; -x_1154 = lean_box(0); -x_1045 = x_1154; -goto block_1060; +lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; +x_1153 = lean_ctor_get(x_1144, 0); +x_1154 = lean_ctor_get(x_1144, 1); +lean_inc(x_1154); +lean_inc(x_1153); +lean_dec(x_1144); +x_1155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1155, 0, x_1153); +lean_ctor_set(x_1155, 1, x_1154); +return x_1155; } } -else +} +block_1172: { -lean_object* x_1155; -x_1155 = lean_box(0); -x_1045 = x_1155; -goto block_1060; -} -} -} -} -block_1044: +lean_object* x_1158; lean_object* x_1159; +lean_dec(x_1157); +x_1158 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1159 = lean_ctor_get(x_1158, 0); +lean_inc(x_1159); +if (lean_obj_tag(x_1159) == 0) { -lean_object* x_1031; lean_object* x_1032; -x_1031 = lean_unsigned_to_nat(0u); -x_1032 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1031, x_3, x_5, x_1030); -if (lean_obj_tag(x_1032) == 0) -{ -uint8_t x_1033; -x_1033 = !lean_is_exclusive(x_1032); -if (x_1033 == 0) -{ -lean_object* x_1034; lean_object* x_1035; -x_1034 = lean_ctor_get(x_1032, 0); -x_1035 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1034, x_1034, x_1031, x_1029); -lean_dec(x_1034); -lean_ctor_set(x_1032, 0, x_1035); -return x_1032; -} -else -{ -lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; -x_1036 = lean_ctor_get(x_1032, 0); -x_1037 = lean_ctor_get(x_1032, 1); -lean_inc(x_1037); -lean_inc(x_1036); -lean_dec(x_1032); -x_1038 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1036, x_1036, x_1031, x_1029); -lean_dec(x_1036); -x_1039 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1039, 0, x_1038); -lean_ctor_set(x_1039, 1, x_1037); -return x_1039; -} -} -else -{ -uint8_t x_1040; -lean_dec(x_1029); -x_1040 = !lean_is_exclusive(x_1032); -if (x_1040 == 0) -{ -return x_1032; -} -else -{ -lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; -x_1041 = lean_ctor_get(x_1032, 0); -x_1042 = lean_ctor_get(x_1032, 1); -lean_inc(x_1042); -lean_inc(x_1041); -lean_dec(x_1032); -x_1043 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1043, 0, x_1041); -lean_ctor_set(x_1043, 1, x_1042); -return x_1043; -} -} -} -block_1060: -{ -lean_object* x_1046; lean_object* x_1047; -lean_dec(x_1045); -x_1046 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_1047 = lean_ctor_get(x_1046, 0); -lean_inc(x_1047); -if (lean_obj_tag(x_1047) == 0) -{ -lean_object* x_1048; lean_object* x_1049; -x_1048 = lean_ctor_get(x_1046, 1); -lean_inc(x_1048); -lean_dec(x_1046); +lean_object* x_1160; lean_object* x_1161; +x_1160 = lean_ctor_get(x_1158, 1); +lean_inc(x_1160); +lean_dec(x_1158); lean_inc(x_5); lean_inc(x_2); -x_1049 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_1048); -if (lean_obj_tag(x_1049) == 0) +x_1161 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_1160); +if (lean_obj_tag(x_1161) == 0) { -lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; -x_1050 = lean_ctor_get(x_1049, 0); -lean_inc(x_1050); -x_1051 = lean_ctor_get(x_1049, 1); -lean_inc(x_1051); -lean_dec(x_1049); -lean_inc(x_1050); -x_1052 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1050, x_5, x_1051); -x_1053 = lean_ctor_get(x_1052, 1); -lean_inc(x_1053); -lean_dec(x_1052); -x_1029 = x_1050; -x_1030 = x_1053; -goto block_1044; +lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; +x_1162 = lean_ctor_get(x_1161, 0); +lean_inc(x_1162); +x_1163 = lean_ctor_get(x_1161, 1); +lean_inc(x_1163); +lean_dec(x_1161); +lean_inc(x_1162); +x_1164 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1162, x_5, x_1163); +x_1165 = lean_ctor_get(x_1164, 1); +lean_inc(x_1165); +lean_dec(x_1164); +x_1141 = x_1162; +x_1142 = x_1165; +goto block_1156; } else { -uint8_t x_1054; +uint8_t x_1166; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_1054 = !lean_is_exclusive(x_1049); -if (x_1054 == 0) +x_1166 = !lean_is_exclusive(x_1161); +if (x_1166 == 0) { -return x_1049; +return x_1161; } else { -lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; -x_1055 = lean_ctor_get(x_1049, 0); -x_1056 = lean_ctor_get(x_1049, 1); -lean_inc(x_1056); -lean_inc(x_1055); -lean_dec(x_1049); -x_1057 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1057, 0, x_1055); -lean_ctor_set(x_1057, 1, x_1056); -return x_1057; +lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; +x_1167 = lean_ctor_get(x_1161, 0); +x_1168 = lean_ctor_get(x_1161, 1); +lean_inc(x_1168); +lean_inc(x_1167); +lean_dec(x_1161); +x_1169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1169, 0, x_1167); +lean_ctor_set(x_1169, 1, x_1168); +return x_1169; } } } else { -lean_object* x_1058; lean_object* x_1059; +lean_object* x_1170; lean_object* x_1171; lean_dec(x_2); -x_1058 = lean_ctor_get(x_1046, 1); -lean_inc(x_1058); -lean_dec(x_1046); -x_1059 = lean_ctor_get(x_1047, 0); -lean_inc(x_1059); -lean_dec(x_1047); -x_1029 = x_1059; -x_1030 = x_1058; -goto block_1044; +x_1170 = lean_ctor_get(x_1158, 1); +lean_inc(x_1170); +lean_dec(x_1158); +x_1171 = lean_ctor_get(x_1159, 0); +lean_inc(x_1171); +lean_dec(x_1159); +x_1141 = x_1171; +x_1142 = x_1170; +goto block_1156; } } -block_1116: +block_1242: { -lean_object* x_1063; lean_object* x_1064; -x_1063 = lean_unsigned_to_nat(0u); +lean_object* x_1175; lean_object* x_1176; +x_1175 = lean_unsigned_to_nat(0u); lean_inc(x_5); lean_inc(x_3); -x_1064 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1063, x_3, x_5, x_1062); -if (lean_obj_tag(x_1064) == 0) +x_1176 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1175, x_3, x_5, x_1174); +if (lean_obj_tag(x_1176) == 0) { -uint8_t x_1065; +uint8_t x_1177; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1065 = !lean_is_exclusive(x_1064); -if (x_1065 == 0) +x_1177 = !lean_is_exclusive(x_1176); +if (x_1177 == 0) { -lean_object* x_1066; lean_object* x_1067; -x_1066 = lean_ctor_get(x_1064, 0); -x_1067 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1066, x_1066, x_1063, x_1061); -lean_dec(x_1066); -lean_ctor_set(x_1064, 0, x_1067); -return x_1064; +lean_object* x_1178; lean_object* x_1179; +x_1178 = lean_ctor_get(x_1176, 0); +x_1179 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1178, x_1178, x_1175, x_1173); +lean_dec(x_1178); +lean_ctor_set(x_1176, 0, x_1179); +return x_1176; } else { -lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; -x_1068 = lean_ctor_get(x_1064, 0); -x_1069 = lean_ctor_get(x_1064, 1); -lean_inc(x_1069); -lean_inc(x_1068); -lean_dec(x_1064); -x_1070 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1068, x_1068, x_1063, x_1061); -lean_dec(x_1068); -x_1071 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1071, 0, x_1070); -lean_ctor_set(x_1071, 1, x_1069); -return x_1071; +lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; +x_1180 = lean_ctor_get(x_1176, 0); +x_1181 = lean_ctor_get(x_1176, 1); +lean_inc(x_1181); +lean_inc(x_1180); +lean_dec(x_1176); +x_1182 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1180, x_1180, x_1175, x_1173); +lean_dec(x_1180); +x_1183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1183, 0, x_1182); +lean_ctor_set(x_1183, 1, x_1181); +return x_1183; } } else { -lean_object* x_1072; -x_1072 = lean_ctor_get(x_1064, 0); -lean_inc(x_1072); -if (lean_obj_tag(x_1072) == 2) +lean_object* x_1184; +x_1184 = lean_ctor_get(x_1176, 0); +lean_inc(x_1184); +if (lean_obj_tag(x_1184) == 2) { -lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; -x_1073 = lean_ctor_get(x_1064, 1); -lean_inc(x_1073); -lean_dec(x_1064); -x_1074 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_1074, 0, x_1); +lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; +x_1185 = lean_ctor_get(x_1176, 1); +lean_inc(x_1185); +lean_dec(x_1176); +x_1186 = l_Lean_Expr_mvarId_x21(x_1173); +x_1187 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_1187, 0, x_1186); lean_inc(x_5); -x_1075 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1074, x_5, x_1073); -if (lean_obj_tag(x_1075) == 0) +x_1188 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1187, x_5, x_1185); +if (lean_obj_tag(x_1188) == 0) { -lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; -x_1076 = lean_ctor_get(x_1075, 0); -lean_inc(x_1076); -x_1077 = lean_ctor_get(x_1075, 1); -lean_inc(x_1077); -lean_dec(x_1075); +lean_object* x_1189; uint8_t x_1190; +x_1189 = lean_ctor_get(x_1188, 0); +lean_inc(x_1189); +x_1190 = lean_unbox(x_1189); +lean_dec(x_1189); +if (x_1190 == 0) +{ +lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; +x_1191 = lean_ctor_get(x_1188, 1); +lean_inc(x_1191); +lean_dec(x_1188); +x_1192 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_1192, 0, x_1); lean_inc(x_5); -x_1078 = l_Lean_Meta_CheckAssignment_check___main(x_1076, x_5, x_1077); -if (lean_obj_tag(x_1078) == 0) +x_1193 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1192, x_5, x_1191); +if (lean_obj_tag(x_1193) == 0) { -lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; -x_1079 = lean_ctor_get(x_1078, 0); -lean_inc(x_1079); -x_1080 = lean_ctor_get(x_1078, 1); -lean_inc(x_1080); -lean_dec(x_1078); -x_1081 = lean_ctor_get(x_5, 2); -lean_inc(x_1081); -x_1082 = lean_ctor_get(x_1081, 1); -lean_inc(x_1082); -x_1083 = lean_ctor_get(x_1081, 4); -lean_inc(x_1083); -lean_dec(x_1081); -x_1084 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_1082, x_1083, x_1079, x_5, x_1080); -x_1085 = lean_ctor_get(x_1084, 0); -lean_inc(x_1085); -x_1086 = lean_ctor_get(x_1084, 1); -lean_inc(x_1086); -lean_dec(x_1084); -x_1087 = lean_array_get_size(x_3); +lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; +x_1194 = lean_ctor_get(x_1193, 0); +lean_inc(x_1194); +x_1195 = lean_ctor_get(x_1193, 1); +lean_inc(x_1195); +lean_dec(x_1193); +lean_inc(x_5); +x_1196 = l_Lean_Meta_CheckAssignment_check___main(x_1194, x_5, x_1195); +if (lean_obj_tag(x_1196) == 0) +{ +lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; +x_1197 = lean_ctor_get(x_1196, 0); +lean_inc(x_1197); +x_1198 = lean_ctor_get(x_1196, 1); +lean_inc(x_1198); +lean_dec(x_1196); +x_1199 = lean_ctor_get(x_5, 2); +lean_inc(x_1199); +x_1200 = lean_ctor_get(x_1199, 1); +lean_inc(x_1200); +x_1201 = lean_ctor_get(x_1199, 4); +lean_inc(x_1201); +lean_dec(x_1199); +x_1202 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_1200, x_1201, x_1197, x_5, x_1198); +x_1203 = lean_ctor_get(x_1202, 0); +lean_inc(x_1203); +x_1204 = lean_ctor_get(x_1202, 1); +lean_inc(x_1204); +lean_dec(x_1202); +x_1205 = lean_array_get_size(x_3); lean_dec(x_3); -lean_inc(x_1085); -x_1088 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_1088, 0, x_1061); -lean_closure_set(x_1088, 1, x_1087); -lean_closure_set(x_1088, 2, x_1085); -x_1089 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1088, x_5, x_1086); -if (lean_obj_tag(x_1089) == 0) +lean_inc(x_1203); +x_1206 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_1206, 0, x_1173); +lean_closure_set(x_1206, 1, x_1205); +lean_closure_set(x_1206, 2, x_1203); +x_1207 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1206, x_5, x_1204); +if (lean_obj_tag(x_1207) == 0) { -lean_object* x_1090; uint8_t x_1091; -x_1090 = lean_ctor_get(x_1089, 0); -lean_inc(x_1090); -x_1091 = lean_unbox(x_1090); -lean_dec(x_1090); -if (x_1091 == 0) +lean_object* x_1208; uint8_t x_1209; +x_1208 = lean_ctor_get(x_1207, 0); +lean_inc(x_1208); +x_1209 = lean_unbox(x_1208); +lean_dec(x_1208); +if (x_1209 == 0) { -uint8_t x_1092; -lean_dec(x_1085); -x_1092 = !lean_is_exclusive(x_1089); -if (x_1092 == 0) +uint8_t x_1210; +lean_dec(x_1203); +x_1210 = !lean_is_exclusive(x_1207); +if (x_1210 == 0) { -lean_object* x_1093; -x_1093 = lean_ctor_get(x_1089, 0); -lean_dec(x_1093); -lean_ctor_set_tag(x_1089, 1); -lean_ctor_set(x_1089, 0, x_1072); -return x_1089; +lean_object* x_1211; +x_1211 = lean_ctor_get(x_1207, 0); +lean_dec(x_1211); +lean_ctor_set_tag(x_1207, 1); +lean_ctor_set(x_1207, 0, x_1184); +return x_1207; } else { -lean_object* x_1094; lean_object* x_1095; -x_1094 = lean_ctor_get(x_1089, 1); -lean_inc(x_1094); -lean_dec(x_1089); -x_1095 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1095, 0, x_1072); -lean_ctor_set(x_1095, 1, x_1094); -return x_1095; +lean_object* x_1212; lean_object* x_1213; +x_1212 = lean_ctor_get(x_1207, 1); +lean_inc(x_1212); +lean_dec(x_1207); +x_1213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1213, 0, x_1184); +lean_ctor_set(x_1213, 1, x_1212); +return x_1213; } } else { -uint8_t x_1096; -lean_dec(x_1072); -x_1096 = !lean_is_exclusive(x_1089); -if (x_1096 == 0) +uint8_t x_1214; +lean_dec(x_1184); +x_1214 = !lean_is_exclusive(x_1207); +if (x_1214 == 0) { -lean_object* x_1097; -x_1097 = lean_ctor_get(x_1089, 0); -lean_dec(x_1097); -lean_ctor_set(x_1089, 0, x_1085); -return x_1089; +lean_object* x_1215; +x_1215 = lean_ctor_get(x_1207, 0); +lean_dec(x_1215); +lean_ctor_set(x_1207, 0, x_1203); +return x_1207; } else { -lean_object* x_1098; lean_object* x_1099; -x_1098 = lean_ctor_get(x_1089, 1); -lean_inc(x_1098); -lean_dec(x_1089); -x_1099 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1099, 0, x_1085); -lean_ctor_set(x_1099, 1, x_1098); -return x_1099; +lean_object* x_1216; lean_object* x_1217; +x_1216 = lean_ctor_get(x_1207, 1); +lean_inc(x_1216); +lean_dec(x_1207); +x_1217 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1217, 0, x_1203); +lean_ctor_set(x_1217, 1, x_1216); +return x_1217; } } } else { -uint8_t x_1100; -lean_dec(x_1085); -lean_dec(x_1072); -x_1100 = !lean_is_exclusive(x_1089); -if (x_1100 == 0) +uint8_t x_1218; +lean_dec(x_1203); +lean_dec(x_1184); +x_1218 = !lean_is_exclusive(x_1207); +if (x_1218 == 0) { -return x_1089; +return x_1207; } else { -lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; -x_1101 = lean_ctor_get(x_1089, 0); -x_1102 = lean_ctor_get(x_1089, 1); -lean_inc(x_1102); -lean_inc(x_1101); -lean_dec(x_1089); -x_1103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1103, 0, x_1101); -lean_ctor_set(x_1103, 1, x_1102); -return x_1103; +lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; +x_1219 = lean_ctor_get(x_1207, 0); +x_1220 = lean_ctor_get(x_1207, 1); +lean_inc(x_1220); +lean_inc(x_1219); +lean_dec(x_1207); +x_1221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1221, 0, x_1219); +lean_ctor_set(x_1221, 1, x_1220); +return x_1221; } } } else { -uint8_t x_1104; -lean_dec(x_1072); -lean_dec(x_1061); +uint8_t x_1222; +lean_dec(x_1184); +lean_dec(x_1173); lean_dec(x_5); lean_dec(x_3); -x_1104 = !lean_is_exclusive(x_1078); -if (x_1104 == 0) +x_1222 = !lean_is_exclusive(x_1196); +if (x_1222 == 0) { -return x_1078; +return x_1196; } else { -lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; -x_1105 = lean_ctor_get(x_1078, 0); -x_1106 = lean_ctor_get(x_1078, 1); -lean_inc(x_1106); -lean_inc(x_1105); -lean_dec(x_1078); -x_1107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1107, 0, x_1105); -lean_ctor_set(x_1107, 1, x_1106); -return x_1107; +lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; +x_1223 = lean_ctor_get(x_1196, 0); +x_1224 = lean_ctor_get(x_1196, 1); +lean_inc(x_1224); +lean_inc(x_1223); +lean_dec(x_1196); +x_1225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1225, 0, x_1223); +lean_ctor_set(x_1225, 1, x_1224); +return x_1225; } } } else { -uint8_t x_1108; -lean_dec(x_1072); -lean_dec(x_1061); +uint8_t x_1226; +lean_dec(x_1184); +lean_dec(x_1173); lean_dec(x_5); lean_dec(x_3); -x_1108 = !lean_is_exclusive(x_1075); -if (x_1108 == 0) +x_1226 = !lean_is_exclusive(x_1193); +if (x_1226 == 0) { -return x_1075; +return x_1193; } else { -lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; -x_1109 = lean_ctor_get(x_1075, 0); -x_1110 = lean_ctor_get(x_1075, 1); -lean_inc(x_1110); -lean_inc(x_1109); -lean_dec(x_1075); -x_1111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1111, 0, x_1109); -lean_ctor_set(x_1111, 1, x_1110); -return x_1111; +lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; +x_1227 = lean_ctor_get(x_1193, 0); +x_1228 = lean_ctor_get(x_1193, 1); +lean_inc(x_1228); +lean_inc(x_1227); +lean_dec(x_1193); +x_1229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1229, 0, x_1227); +lean_ctor_set(x_1229, 1, x_1228); +return x_1229; } } } else { -uint8_t x_1112; -lean_dec(x_1061); +uint8_t x_1230; +lean_dec(x_1173); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1112 = !lean_is_exclusive(x_1064); -if (x_1112 == 0) +x_1230 = !lean_is_exclusive(x_1188); +if (x_1230 == 0) { -lean_object* x_1113; -x_1113 = lean_ctor_get(x_1064, 0); -lean_dec(x_1113); -return x_1064; +lean_object* x_1231; +x_1231 = lean_ctor_get(x_1188, 0); +lean_dec(x_1231); +lean_ctor_set_tag(x_1188, 1); +lean_ctor_set(x_1188, 0, x_1184); +return x_1188; } else { -lean_object* x_1114; lean_object* x_1115; -x_1114 = lean_ctor_get(x_1064, 1); -lean_inc(x_1114); -lean_dec(x_1064); -x_1115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1115, 0, x_1072); -lean_ctor_set(x_1115, 1, x_1114); -return x_1115; +lean_object* x_1232; lean_object* x_1233; +x_1232 = lean_ctor_get(x_1188, 1); +lean_inc(x_1232); +lean_dec(x_1188); +x_1233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1233, 0, x_1184); +lean_ctor_set(x_1233, 1, x_1232); +return x_1233; +} +} +} +else +{ +uint8_t x_1234; +lean_dec(x_1184); +lean_dec(x_1173); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1234 = !lean_is_exclusive(x_1188); +if (x_1234 == 0) +{ +return x_1188; +} +else +{ +lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; +x_1235 = lean_ctor_get(x_1188, 0); +x_1236 = lean_ctor_get(x_1188, 1); +lean_inc(x_1236); +lean_inc(x_1235); +lean_dec(x_1188); +x_1237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1237, 0, x_1235); +lean_ctor_set(x_1237, 1, x_1236); +return x_1237; +} +} +} +else +{ +uint8_t x_1238; +lean_dec(x_1173); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1238 = !lean_is_exclusive(x_1176); +if (x_1238 == 0) +{ +lean_object* x_1239; +x_1239 = lean_ctor_get(x_1176, 0); +lean_dec(x_1239); +return x_1176; +} +else +{ +lean_object* x_1240; lean_object* x_1241; +x_1240 = lean_ctor_get(x_1176, 1); +lean_inc(x_1240); +lean_dec(x_1176); +x_1241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1241, 0, x_1184); +lean_ctor_set(x_1241, 1, x_1240); +return x_1241; } } } @@ -23168,614 +23889,690 @@ return x_1115; } case 10: { -lean_object* x_1156; lean_object* x_1157; lean_object* x_1172; lean_object* x_1188; lean_object* x_1189; uint8_t x_1244; +lean_object* x_1282; lean_object* x_1283; lean_object* x_1298; lean_object* x_1314; lean_object* x_1315; uint8_t x_1384; lean_dec(x_4); -x_1244 = l_Lean_Expr_isMVar(x_2); -if (x_1244 == 0) +x_1384 = l_Lean_Expr_isMVar(x_2); +if (x_1384 == 0) { -uint8_t x_1245; +uint8_t x_1385; lean_dec(x_1); -x_1245 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1245 == 0) +x_1385 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1385 == 0) { -uint8_t x_1246; -x_1246 = l_Lean_Expr_hasFVar(x_2); -if (x_1246 == 0) +uint8_t x_1386; +x_1386 = l_Lean_Expr_hasFVar(x_2); +if (x_1386 == 0) { -x_1156 = x_2; -x_1157 = x_6; -goto block_1171; +x_1282 = x_2; +x_1283 = x_6; +goto block_1297; } else { -lean_object* x_1247; -x_1247 = lean_box(0); -x_1172 = x_1247; -goto block_1187; +lean_object* x_1387; +x_1387 = lean_box(0); +x_1298 = x_1387; +goto block_1313; } } else { -lean_object* x_1248; -x_1248 = lean_box(0); -x_1172 = x_1248; -goto block_1187; +lean_object* x_1388; +x_1388 = lean_box(0); +x_1298 = x_1388; +goto block_1313; } } else { -lean_object* x_1249; lean_object* x_1250; uint8_t x_1251; -x_1249 = lean_ctor_get(x_5, 0); -lean_inc(x_1249); -x_1250 = lean_ctor_get(x_1249, 0); -lean_inc(x_1250); -lean_dec(x_1249); -x_1251 = lean_ctor_get_uint8(x_1250, sizeof(void*)*1 + 1); -lean_dec(x_1250); -if (x_1251 == 0) +lean_object* x_1389; lean_object* x_1390; uint8_t x_1391; +x_1389 = lean_ctor_get(x_5, 0); +lean_inc(x_1389); +x_1390 = lean_ctor_get(x_1389, 0); +lean_inc(x_1390); +lean_dec(x_1389); +x_1391 = lean_ctor_get_uint8(x_1390, sizeof(void*)*1 + 1); +lean_dec(x_1390); +if (x_1391 == 0) { -uint8_t x_1252; +uint8_t x_1392; lean_dec(x_1); -x_1252 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1252 == 0) +x_1392 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1392 == 0) { -uint8_t x_1253; -x_1253 = l_Lean_Expr_hasFVar(x_2); -if (x_1253 == 0) +uint8_t x_1393; +x_1393 = l_Lean_Expr_hasFVar(x_2); +if (x_1393 == 0) { -x_1156 = x_2; -x_1157 = x_6; -goto block_1171; +x_1282 = x_2; +x_1283 = x_6; +goto block_1297; } else { -lean_object* x_1254; -x_1254 = lean_box(0); -x_1172 = x_1254; -goto block_1187; +lean_object* x_1394; +x_1394 = lean_box(0); +x_1298 = x_1394; +goto block_1313; } } else { -lean_object* x_1255; -x_1255 = lean_box(0); -x_1172 = x_1255; -goto block_1187; +lean_object* x_1395; +x_1395 = lean_box(0); +x_1298 = x_1395; +goto block_1313; } } else { -lean_object* x_1256; lean_object* x_1257; uint8_t x_1258; -x_1256 = lean_array_get_size(x_3); -x_1257 = lean_unsigned_to_nat(0u); -x_1258 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1256, x_1257); -lean_dec(x_1256); -if (x_1258 == 0) +lean_object* x_1396; lean_object* x_1397; uint8_t x_1398; +x_1396 = lean_array_get_size(x_3); +x_1397 = lean_unsigned_to_nat(0u); +x_1398 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1396, x_1397); +lean_dec(x_1396); +if (x_1398 == 0) { -lean_object* x_1259; uint8_t x_1275; -x_1275 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1275 == 0) +lean_object* x_1399; uint8_t x_1415; +x_1415 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1415 == 0) { -uint8_t x_1276; -x_1276 = l_Lean_Expr_hasFVar(x_2); -if (x_1276 == 0) +uint8_t x_1416; +x_1416 = l_Lean_Expr_hasFVar(x_2); +if (x_1416 == 0) { -x_1188 = x_2; -x_1189 = x_6; -goto block_1243; +x_1314 = x_2; +x_1315 = x_6; +goto block_1383; } else { -lean_object* x_1277; -x_1277 = lean_box(0); -x_1259 = x_1277; -goto block_1274; +lean_object* x_1417; +x_1417 = lean_box(0); +x_1399 = x_1417; +goto block_1414; } } else { -lean_object* x_1278; -x_1278 = lean_box(0); -x_1259 = x_1278; -goto block_1274; +lean_object* x_1418; +x_1418 = lean_box(0); +x_1399 = x_1418; +goto block_1414; } -block_1274: +block_1414: { -lean_object* x_1260; lean_object* x_1261; -lean_dec(x_1259); -x_1260 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_1261 = lean_ctor_get(x_1260, 0); -lean_inc(x_1261); -if (lean_obj_tag(x_1261) == 0) +lean_object* x_1400; lean_object* x_1401; +lean_dec(x_1399); +x_1400 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1401 = lean_ctor_get(x_1400, 0); +lean_inc(x_1401); +if (lean_obj_tag(x_1401) == 0) { -lean_object* x_1262; lean_object* x_1263; -x_1262 = lean_ctor_get(x_1260, 1); -lean_inc(x_1262); -lean_dec(x_1260); +lean_object* x_1402; lean_object* x_1403; +x_1402 = lean_ctor_get(x_1400, 1); +lean_inc(x_1402); +lean_dec(x_1400); lean_inc(x_5); lean_inc(x_2); -x_1263 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1262); -if (lean_obj_tag(x_1263) == 0) +x_1403 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1402); +if (lean_obj_tag(x_1403) == 0) { -lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; -x_1264 = lean_ctor_get(x_1263, 0); -lean_inc(x_1264); -x_1265 = lean_ctor_get(x_1263, 1); -lean_inc(x_1265); -lean_dec(x_1263); -lean_inc(x_1264); -x_1266 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1264, x_5, x_1265); -x_1267 = lean_ctor_get(x_1266, 1); -lean_inc(x_1267); -lean_dec(x_1266); -x_1188 = x_1264; -x_1189 = x_1267; -goto block_1243; +lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; +x_1404 = lean_ctor_get(x_1403, 0); +lean_inc(x_1404); +x_1405 = lean_ctor_get(x_1403, 1); +lean_inc(x_1405); +lean_dec(x_1403); +lean_inc(x_1404); +x_1406 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1404, x_5, x_1405); +x_1407 = lean_ctor_get(x_1406, 1); +lean_inc(x_1407); +lean_dec(x_1406); +x_1314 = x_1404; +x_1315 = x_1407; +goto block_1383; } else { -uint8_t x_1268; +uint8_t x_1408; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1268 = !lean_is_exclusive(x_1263); -if (x_1268 == 0) +x_1408 = !lean_is_exclusive(x_1403); +if (x_1408 == 0) { -return x_1263; +return x_1403; } else { -lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; -x_1269 = lean_ctor_get(x_1263, 0); -x_1270 = lean_ctor_get(x_1263, 1); -lean_inc(x_1270); -lean_inc(x_1269); -lean_dec(x_1263); -x_1271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1271, 0, x_1269); -lean_ctor_set(x_1271, 1, x_1270); -return x_1271; +lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; +x_1409 = lean_ctor_get(x_1403, 0); +x_1410 = lean_ctor_get(x_1403, 1); +lean_inc(x_1410); +lean_inc(x_1409); +lean_dec(x_1403); +x_1411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1411, 0, x_1409); +lean_ctor_set(x_1411, 1, x_1410); +return x_1411; } } } else { -lean_object* x_1272; lean_object* x_1273; +lean_object* x_1412; lean_object* x_1413; lean_dec(x_2); -x_1272 = lean_ctor_get(x_1260, 1); -lean_inc(x_1272); -lean_dec(x_1260); -x_1273 = lean_ctor_get(x_1261, 0); -lean_inc(x_1273); -lean_dec(x_1261); -x_1188 = x_1273; -x_1189 = x_1272; -goto block_1243; +x_1412 = lean_ctor_get(x_1400, 1); +lean_inc(x_1412); +lean_dec(x_1400); +x_1413 = lean_ctor_get(x_1401, 0); +lean_inc(x_1413); +lean_dec(x_1401); +x_1314 = x_1413; +x_1315 = x_1412; +goto block_1383; } } } else { -uint8_t x_1279; +uint8_t x_1419; lean_dec(x_1); -x_1279 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1279 == 0) +x_1419 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1419 == 0) { -uint8_t x_1280; -x_1280 = l_Lean_Expr_hasFVar(x_2); -if (x_1280 == 0) +uint8_t x_1420; +x_1420 = l_Lean_Expr_hasFVar(x_2); +if (x_1420 == 0) { -x_1156 = x_2; -x_1157 = x_6; -goto block_1171; +x_1282 = x_2; +x_1283 = x_6; +goto block_1297; } else { -lean_object* x_1281; -x_1281 = lean_box(0); -x_1172 = x_1281; -goto block_1187; +lean_object* x_1421; +x_1421 = lean_box(0); +x_1298 = x_1421; +goto block_1313; } } else { -lean_object* x_1282; -x_1282 = lean_box(0); -x_1172 = x_1282; -goto block_1187; +lean_object* x_1422; +x_1422 = lean_box(0); +x_1298 = x_1422; +goto block_1313; } } } } -block_1171: +block_1297: { -lean_object* x_1158; lean_object* x_1159; -x_1158 = lean_unsigned_to_nat(0u); -x_1159 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1158, x_3, x_5, x_1157); -if (lean_obj_tag(x_1159) == 0) +lean_object* x_1284; lean_object* x_1285; +x_1284 = lean_unsigned_to_nat(0u); +x_1285 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1284, x_3, x_5, x_1283); +if (lean_obj_tag(x_1285) == 0) { -uint8_t x_1160; -x_1160 = !lean_is_exclusive(x_1159); -if (x_1160 == 0) +uint8_t x_1286; +x_1286 = !lean_is_exclusive(x_1285); +if (x_1286 == 0) { -lean_object* x_1161; lean_object* x_1162; -x_1161 = lean_ctor_get(x_1159, 0); -x_1162 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1161, x_1161, x_1158, x_1156); -lean_dec(x_1161); -lean_ctor_set(x_1159, 0, x_1162); -return x_1159; +lean_object* x_1287; lean_object* x_1288; +x_1287 = lean_ctor_get(x_1285, 0); +x_1288 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1287, x_1287, x_1284, x_1282); +lean_dec(x_1287); +lean_ctor_set(x_1285, 0, x_1288); +return x_1285; } else { -lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; -x_1163 = lean_ctor_get(x_1159, 0); -x_1164 = lean_ctor_get(x_1159, 1); -lean_inc(x_1164); -lean_inc(x_1163); -lean_dec(x_1159); -x_1165 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1163, x_1163, x_1158, x_1156); -lean_dec(x_1163); -x_1166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1166, 0, x_1165); -lean_ctor_set(x_1166, 1, x_1164); -return x_1166; +lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; +x_1289 = lean_ctor_get(x_1285, 0); +x_1290 = lean_ctor_get(x_1285, 1); +lean_inc(x_1290); +lean_inc(x_1289); +lean_dec(x_1285); +x_1291 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1289, x_1289, x_1284, x_1282); +lean_dec(x_1289); +x_1292 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1292, 0, x_1291); +lean_ctor_set(x_1292, 1, x_1290); +return x_1292; } } else { -uint8_t x_1167; -lean_dec(x_1156); -x_1167 = !lean_is_exclusive(x_1159); -if (x_1167 == 0) +uint8_t x_1293; +lean_dec(x_1282); +x_1293 = !lean_is_exclusive(x_1285); +if (x_1293 == 0) { -return x_1159; +return x_1285; } else { -lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; -x_1168 = lean_ctor_get(x_1159, 0); -x_1169 = lean_ctor_get(x_1159, 1); -lean_inc(x_1169); -lean_inc(x_1168); -lean_dec(x_1159); -x_1170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1170, 0, x_1168); -lean_ctor_set(x_1170, 1, x_1169); -return x_1170; +lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; +x_1294 = lean_ctor_get(x_1285, 0); +x_1295 = lean_ctor_get(x_1285, 1); +lean_inc(x_1295); +lean_inc(x_1294); +lean_dec(x_1285); +x_1296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1296, 0, x_1294); +lean_ctor_set(x_1296, 1, x_1295); +return x_1296; } } } -block_1187: +block_1313: { -lean_object* x_1173; lean_object* x_1174; -lean_dec(x_1172); -x_1173 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_1174 = lean_ctor_get(x_1173, 0); -lean_inc(x_1174); -if (lean_obj_tag(x_1174) == 0) +lean_object* x_1299; lean_object* x_1300; +lean_dec(x_1298); +x_1299 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1300 = lean_ctor_get(x_1299, 0); +lean_inc(x_1300); +if (lean_obj_tag(x_1300) == 0) { -lean_object* x_1175; lean_object* x_1176; -x_1175 = lean_ctor_get(x_1173, 1); -lean_inc(x_1175); -lean_dec(x_1173); +lean_object* x_1301; lean_object* x_1302; +x_1301 = lean_ctor_get(x_1299, 1); +lean_inc(x_1301); +lean_dec(x_1299); lean_inc(x_5); lean_inc(x_2); -x_1176 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_1175); -if (lean_obj_tag(x_1176) == 0) +x_1302 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_1301); +if (lean_obj_tag(x_1302) == 0) { -lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; -x_1177 = lean_ctor_get(x_1176, 0); -lean_inc(x_1177); -x_1178 = lean_ctor_get(x_1176, 1); -lean_inc(x_1178); -lean_dec(x_1176); -lean_inc(x_1177); -x_1179 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1177, x_5, x_1178); -x_1180 = lean_ctor_get(x_1179, 1); -lean_inc(x_1180); -lean_dec(x_1179); -x_1156 = x_1177; -x_1157 = x_1180; -goto block_1171; +lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; +x_1303 = lean_ctor_get(x_1302, 0); +lean_inc(x_1303); +x_1304 = lean_ctor_get(x_1302, 1); +lean_inc(x_1304); +lean_dec(x_1302); +lean_inc(x_1303); +x_1305 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1303, x_5, x_1304); +x_1306 = lean_ctor_get(x_1305, 1); +lean_inc(x_1306); +lean_dec(x_1305); +x_1282 = x_1303; +x_1283 = x_1306; +goto block_1297; } else { -uint8_t x_1181; +uint8_t x_1307; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_1181 = !lean_is_exclusive(x_1176); -if (x_1181 == 0) +x_1307 = !lean_is_exclusive(x_1302); +if (x_1307 == 0) { -return x_1176; +return x_1302; } else { -lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; -x_1182 = lean_ctor_get(x_1176, 0); -x_1183 = lean_ctor_get(x_1176, 1); -lean_inc(x_1183); -lean_inc(x_1182); -lean_dec(x_1176); -x_1184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1184, 0, x_1182); -lean_ctor_set(x_1184, 1, x_1183); -return x_1184; +lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; +x_1308 = lean_ctor_get(x_1302, 0); +x_1309 = lean_ctor_get(x_1302, 1); +lean_inc(x_1309); +lean_inc(x_1308); +lean_dec(x_1302); +x_1310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1310, 0, x_1308); +lean_ctor_set(x_1310, 1, x_1309); +return x_1310; } } } else { -lean_object* x_1185; lean_object* x_1186; +lean_object* x_1311; lean_object* x_1312; lean_dec(x_2); -x_1185 = lean_ctor_get(x_1173, 1); -lean_inc(x_1185); -lean_dec(x_1173); -x_1186 = lean_ctor_get(x_1174, 0); -lean_inc(x_1186); -lean_dec(x_1174); -x_1156 = x_1186; -x_1157 = x_1185; -goto block_1171; +x_1311 = lean_ctor_get(x_1299, 1); +lean_inc(x_1311); +lean_dec(x_1299); +x_1312 = lean_ctor_get(x_1300, 0); +lean_inc(x_1312); +lean_dec(x_1300); +x_1282 = x_1312; +x_1283 = x_1311; +goto block_1297; } } -block_1243: +block_1383: { -lean_object* x_1190; lean_object* x_1191; -x_1190 = lean_unsigned_to_nat(0u); +lean_object* x_1316; lean_object* x_1317; +x_1316 = lean_unsigned_to_nat(0u); lean_inc(x_5); lean_inc(x_3); -x_1191 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1190, x_3, x_5, x_1189); -if (lean_obj_tag(x_1191) == 0) +x_1317 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1316, x_3, x_5, x_1315); +if (lean_obj_tag(x_1317) == 0) { -uint8_t x_1192; +uint8_t x_1318; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1192 = !lean_is_exclusive(x_1191); -if (x_1192 == 0) +x_1318 = !lean_is_exclusive(x_1317); +if (x_1318 == 0) { -lean_object* x_1193; lean_object* x_1194; -x_1193 = lean_ctor_get(x_1191, 0); -x_1194 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1193, x_1193, x_1190, x_1188); -lean_dec(x_1193); -lean_ctor_set(x_1191, 0, x_1194); -return x_1191; +lean_object* x_1319; lean_object* x_1320; +x_1319 = lean_ctor_get(x_1317, 0); +x_1320 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1319, x_1319, x_1316, x_1314); +lean_dec(x_1319); +lean_ctor_set(x_1317, 0, x_1320); +return x_1317; } else { -lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; -x_1195 = lean_ctor_get(x_1191, 0); -x_1196 = lean_ctor_get(x_1191, 1); -lean_inc(x_1196); -lean_inc(x_1195); -lean_dec(x_1191); -x_1197 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1195, x_1195, x_1190, x_1188); -lean_dec(x_1195); -x_1198 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1198, 0, x_1197); -lean_ctor_set(x_1198, 1, x_1196); -return x_1198; +lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; +x_1321 = lean_ctor_get(x_1317, 0); +x_1322 = lean_ctor_get(x_1317, 1); +lean_inc(x_1322); +lean_inc(x_1321); +lean_dec(x_1317); +x_1323 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1321, x_1321, x_1316, x_1314); +lean_dec(x_1321); +x_1324 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1324, 0, x_1323); +lean_ctor_set(x_1324, 1, x_1322); +return x_1324; } } else { -lean_object* x_1199; -x_1199 = lean_ctor_get(x_1191, 0); -lean_inc(x_1199); -if (lean_obj_tag(x_1199) == 2) +lean_object* x_1325; +x_1325 = lean_ctor_get(x_1317, 0); +lean_inc(x_1325); +if (lean_obj_tag(x_1325) == 2) { -lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; -x_1200 = lean_ctor_get(x_1191, 1); -lean_inc(x_1200); -lean_dec(x_1191); -x_1201 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_1201, 0, x_1); +lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; +x_1326 = lean_ctor_get(x_1317, 1); +lean_inc(x_1326); +lean_dec(x_1317); +x_1327 = l_Lean_Expr_mvarId_x21(x_1314); +x_1328 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_1328, 0, x_1327); lean_inc(x_5); -x_1202 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1201, x_5, x_1200); -if (lean_obj_tag(x_1202) == 0) +x_1329 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1328, x_5, x_1326); +if (lean_obj_tag(x_1329) == 0) { -lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; -x_1203 = lean_ctor_get(x_1202, 0); -lean_inc(x_1203); -x_1204 = lean_ctor_get(x_1202, 1); -lean_inc(x_1204); -lean_dec(x_1202); +lean_object* x_1330; uint8_t x_1331; +x_1330 = lean_ctor_get(x_1329, 0); +lean_inc(x_1330); +x_1331 = lean_unbox(x_1330); +lean_dec(x_1330); +if (x_1331 == 0) +{ +lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; +x_1332 = lean_ctor_get(x_1329, 1); +lean_inc(x_1332); +lean_dec(x_1329); +x_1333 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_1333, 0, x_1); lean_inc(x_5); -x_1205 = l_Lean_Meta_CheckAssignment_check___main(x_1203, x_5, x_1204); -if (lean_obj_tag(x_1205) == 0) +x_1334 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1333, x_5, x_1332); +if (lean_obj_tag(x_1334) == 0) { -lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; -x_1206 = lean_ctor_get(x_1205, 0); -lean_inc(x_1206); -x_1207 = lean_ctor_get(x_1205, 1); -lean_inc(x_1207); -lean_dec(x_1205); -x_1208 = lean_ctor_get(x_5, 2); -lean_inc(x_1208); -x_1209 = lean_ctor_get(x_1208, 1); -lean_inc(x_1209); -x_1210 = lean_ctor_get(x_1208, 4); -lean_inc(x_1210); -lean_dec(x_1208); -x_1211 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_1209, x_1210, x_1206, x_5, x_1207); -x_1212 = lean_ctor_get(x_1211, 0); -lean_inc(x_1212); -x_1213 = lean_ctor_get(x_1211, 1); -lean_inc(x_1213); -lean_dec(x_1211); -x_1214 = lean_array_get_size(x_3); +lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; +x_1335 = lean_ctor_get(x_1334, 0); +lean_inc(x_1335); +x_1336 = lean_ctor_get(x_1334, 1); +lean_inc(x_1336); +lean_dec(x_1334); +lean_inc(x_5); +x_1337 = l_Lean_Meta_CheckAssignment_check___main(x_1335, x_5, x_1336); +if (lean_obj_tag(x_1337) == 0) +{ +lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; +x_1338 = lean_ctor_get(x_1337, 0); +lean_inc(x_1338); +x_1339 = lean_ctor_get(x_1337, 1); +lean_inc(x_1339); +lean_dec(x_1337); +x_1340 = lean_ctor_get(x_5, 2); +lean_inc(x_1340); +x_1341 = lean_ctor_get(x_1340, 1); +lean_inc(x_1341); +x_1342 = lean_ctor_get(x_1340, 4); +lean_inc(x_1342); +lean_dec(x_1340); +x_1343 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_1341, x_1342, x_1338, x_5, x_1339); +x_1344 = lean_ctor_get(x_1343, 0); +lean_inc(x_1344); +x_1345 = lean_ctor_get(x_1343, 1); +lean_inc(x_1345); +lean_dec(x_1343); +x_1346 = lean_array_get_size(x_3); lean_dec(x_3); -lean_inc(x_1212); -x_1215 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_1215, 0, x_1188); -lean_closure_set(x_1215, 1, x_1214); -lean_closure_set(x_1215, 2, x_1212); -x_1216 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1215, x_5, x_1213); -if (lean_obj_tag(x_1216) == 0) +lean_inc(x_1344); +x_1347 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_1347, 0, x_1314); +lean_closure_set(x_1347, 1, x_1346); +lean_closure_set(x_1347, 2, x_1344); +x_1348 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1347, x_5, x_1345); +if (lean_obj_tag(x_1348) == 0) { -lean_object* x_1217; uint8_t x_1218; -x_1217 = lean_ctor_get(x_1216, 0); -lean_inc(x_1217); -x_1218 = lean_unbox(x_1217); -lean_dec(x_1217); -if (x_1218 == 0) +lean_object* x_1349; uint8_t x_1350; +x_1349 = lean_ctor_get(x_1348, 0); +lean_inc(x_1349); +x_1350 = lean_unbox(x_1349); +lean_dec(x_1349); +if (x_1350 == 0) { -uint8_t x_1219; -lean_dec(x_1212); -x_1219 = !lean_is_exclusive(x_1216); -if (x_1219 == 0) +uint8_t x_1351; +lean_dec(x_1344); +x_1351 = !lean_is_exclusive(x_1348); +if (x_1351 == 0) { -lean_object* x_1220; -x_1220 = lean_ctor_get(x_1216, 0); -lean_dec(x_1220); -lean_ctor_set_tag(x_1216, 1); -lean_ctor_set(x_1216, 0, x_1199); -return x_1216; +lean_object* x_1352; +x_1352 = lean_ctor_get(x_1348, 0); +lean_dec(x_1352); +lean_ctor_set_tag(x_1348, 1); +lean_ctor_set(x_1348, 0, x_1325); +return x_1348; } else { -lean_object* x_1221; lean_object* x_1222; -x_1221 = lean_ctor_get(x_1216, 1); -lean_inc(x_1221); -lean_dec(x_1216); -x_1222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1222, 0, x_1199); -lean_ctor_set(x_1222, 1, x_1221); -return x_1222; +lean_object* x_1353; lean_object* x_1354; +x_1353 = lean_ctor_get(x_1348, 1); +lean_inc(x_1353); +lean_dec(x_1348); +x_1354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1354, 0, x_1325); +lean_ctor_set(x_1354, 1, x_1353); +return x_1354; } } else { -uint8_t x_1223; -lean_dec(x_1199); -x_1223 = !lean_is_exclusive(x_1216); -if (x_1223 == 0) +uint8_t x_1355; +lean_dec(x_1325); +x_1355 = !lean_is_exclusive(x_1348); +if (x_1355 == 0) { -lean_object* x_1224; -x_1224 = lean_ctor_get(x_1216, 0); -lean_dec(x_1224); -lean_ctor_set(x_1216, 0, x_1212); -return x_1216; +lean_object* x_1356; +x_1356 = lean_ctor_get(x_1348, 0); +lean_dec(x_1356); +lean_ctor_set(x_1348, 0, x_1344); +return x_1348; } else { -lean_object* x_1225; lean_object* x_1226; -x_1225 = lean_ctor_get(x_1216, 1); -lean_inc(x_1225); -lean_dec(x_1216); -x_1226 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1226, 0, x_1212); -lean_ctor_set(x_1226, 1, x_1225); -return x_1226; +lean_object* x_1357; lean_object* x_1358; +x_1357 = lean_ctor_get(x_1348, 1); +lean_inc(x_1357); +lean_dec(x_1348); +x_1358 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1358, 0, x_1344); +lean_ctor_set(x_1358, 1, x_1357); +return x_1358; } } } else { -uint8_t x_1227; -lean_dec(x_1212); -lean_dec(x_1199); -x_1227 = !lean_is_exclusive(x_1216); -if (x_1227 == 0) +uint8_t x_1359; +lean_dec(x_1344); +lean_dec(x_1325); +x_1359 = !lean_is_exclusive(x_1348); +if (x_1359 == 0) { -return x_1216; +return x_1348; } else { -lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; -x_1228 = lean_ctor_get(x_1216, 0); -x_1229 = lean_ctor_get(x_1216, 1); -lean_inc(x_1229); -lean_inc(x_1228); -lean_dec(x_1216); -x_1230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1230, 0, x_1228); -lean_ctor_set(x_1230, 1, x_1229); -return x_1230; +lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; +x_1360 = lean_ctor_get(x_1348, 0); +x_1361 = lean_ctor_get(x_1348, 1); +lean_inc(x_1361); +lean_inc(x_1360); +lean_dec(x_1348); +x_1362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1362, 0, x_1360); +lean_ctor_set(x_1362, 1, x_1361); +return x_1362; } } } else { -uint8_t x_1231; -lean_dec(x_1199); -lean_dec(x_1188); +uint8_t x_1363; +lean_dec(x_1325); +lean_dec(x_1314); lean_dec(x_5); lean_dec(x_3); -x_1231 = !lean_is_exclusive(x_1205); -if (x_1231 == 0) +x_1363 = !lean_is_exclusive(x_1337); +if (x_1363 == 0) { -return x_1205; +return x_1337; } else { -lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; -x_1232 = lean_ctor_get(x_1205, 0); -x_1233 = lean_ctor_get(x_1205, 1); -lean_inc(x_1233); -lean_inc(x_1232); -lean_dec(x_1205); -x_1234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1234, 0, x_1232); -lean_ctor_set(x_1234, 1, x_1233); -return x_1234; +lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; +x_1364 = lean_ctor_get(x_1337, 0); +x_1365 = lean_ctor_get(x_1337, 1); +lean_inc(x_1365); +lean_inc(x_1364); +lean_dec(x_1337); +x_1366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1366, 0, x_1364); +lean_ctor_set(x_1366, 1, x_1365); +return x_1366; } } } else { -uint8_t x_1235; -lean_dec(x_1199); -lean_dec(x_1188); +uint8_t x_1367; +lean_dec(x_1325); +lean_dec(x_1314); lean_dec(x_5); lean_dec(x_3); -x_1235 = !lean_is_exclusive(x_1202); -if (x_1235 == 0) +x_1367 = !lean_is_exclusive(x_1334); +if (x_1367 == 0) { -return x_1202; +return x_1334; } else { -lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; -x_1236 = lean_ctor_get(x_1202, 0); -x_1237 = lean_ctor_get(x_1202, 1); -lean_inc(x_1237); -lean_inc(x_1236); -lean_dec(x_1202); -x_1238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1238, 0, x_1236); -lean_ctor_set(x_1238, 1, x_1237); -return x_1238; +lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; +x_1368 = lean_ctor_get(x_1334, 0); +x_1369 = lean_ctor_get(x_1334, 1); +lean_inc(x_1369); +lean_inc(x_1368); +lean_dec(x_1334); +x_1370 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1370, 0, x_1368); +lean_ctor_set(x_1370, 1, x_1369); +return x_1370; } } } else { -uint8_t x_1239; -lean_dec(x_1188); +uint8_t x_1371; +lean_dec(x_1314); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1239 = !lean_is_exclusive(x_1191); -if (x_1239 == 0) +x_1371 = !lean_is_exclusive(x_1329); +if (x_1371 == 0) { -lean_object* x_1240; -x_1240 = lean_ctor_get(x_1191, 0); -lean_dec(x_1240); -return x_1191; +lean_object* x_1372; +x_1372 = lean_ctor_get(x_1329, 0); +lean_dec(x_1372); +lean_ctor_set_tag(x_1329, 1); +lean_ctor_set(x_1329, 0, x_1325); +return x_1329; } else { -lean_object* x_1241; lean_object* x_1242; -x_1241 = lean_ctor_get(x_1191, 1); -lean_inc(x_1241); -lean_dec(x_1191); -x_1242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1242, 0, x_1199); -lean_ctor_set(x_1242, 1, x_1241); -return x_1242; +lean_object* x_1373; lean_object* x_1374; +x_1373 = lean_ctor_get(x_1329, 1); +lean_inc(x_1373); +lean_dec(x_1329); +x_1374 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1374, 0, x_1325); +lean_ctor_set(x_1374, 1, x_1373); +return x_1374; +} +} +} +else +{ +uint8_t x_1375; +lean_dec(x_1325); +lean_dec(x_1314); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1375 = !lean_is_exclusive(x_1329); +if (x_1375 == 0) +{ +return x_1329; +} +else +{ +lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; +x_1376 = lean_ctor_get(x_1329, 0); +x_1377 = lean_ctor_get(x_1329, 1); +lean_inc(x_1377); +lean_inc(x_1376); +lean_dec(x_1329); +x_1378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1378, 0, x_1376); +lean_ctor_set(x_1378, 1, x_1377); +return x_1378; +} +} +} +else +{ +uint8_t x_1379; +lean_dec(x_1314); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1379 = !lean_is_exclusive(x_1317); +if (x_1379 == 0) +{ +lean_object* x_1380; +x_1380 = lean_ctor_get(x_1317, 0); +lean_dec(x_1380); +return x_1317; +} +else +{ +lean_object* x_1381; lean_object* x_1382; +x_1381 = lean_ctor_get(x_1317, 1); +lean_inc(x_1381); +lean_dec(x_1317); +x_1382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1382, 0, x_1325); +lean_ctor_set(x_1382, 1, x_1381); +return x_1382; } } } @@ -23783,809 +24580,51 @@ return x_1242; } case 11: { -lean_object* x_1283; lean_object* x_1284; lean_object* x_1299; lean_object* x_1315; lean_object* x_1316; uint8_t x_1371; +lean_object* x_1423; lean_object* x_1424; lean_object* x_1439; lean_object* x_1455; lean_object* x_1456; uint8_t x_1525; lean_dec(x_4); -x_1371 = l_Lean_Expr_isMVar(x_2); -if (x_1371 == 0) +x_1525 = l_Lean_Expr_isMVar(x_2); +if (x_1525 == 0) { -uint8_t x_1372; +uint8_t x_1526; lean_dec(x_1); -x_1372 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1372 == 0) +x_1526 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1526 == 0) { -uint8_t x_1373; -x_1373 = l_Lean_Expr_hasFVar(x_2); -if (x_1373 == 0) +uint8_t x_1527; +x_1527 = l_Lean_Expr_hasFVar(x_2); +if (x_1527 == 0) { -x_1283 = x_2; -x_1284 = x_6; -goto block_1298; +x_1423 = x_2; +x_1424 = x_6; +goto block_1438; } else { -lean_object* x_1374; -x_1374 = lean_box(0); -x_1299 = x_1374; -goto block_1314; +lean_object* x_1528; +x_1528 = lean_box(0); +x_1439 = x_1528; +goto block_1454; } } else { -lean_object* x_1375; -x_1375 = lean_box(0); -x_1299 = x_1375; -goto block_1314; +lean_object* x_1529; +x_1529 = lean_box(0); +x_1439 = x_1529; +goto block_1454; } } else { -lean_object* x_1376; lean_object* x_1377; uint8_t x_1378; -x_1376 = lean_ctor_get(x_5, 0); -lean_inc(x_1376); -x_1377 = lean_ctor_get(x_1376, 0); -lean_inc(x_1377); -lean_dec(x_1376); -x_1378 = lean_ctor_get_uint8(x_1377, sizeof(void*)*1 + 1); -lean_dec(x_1377); -if (x_1378 == 0) -{ -uint8_t x_1379; -lean_dec(x_1); -x_1379 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1379 == 0) -{ -uint8_t x_1380; -x_1380 = l_Lean_Expr_hasFVar(x_2); -if (x_1380 == 0) -{ -x_1283 = x_2; -x_1284 = x_6; -goto block_1298; -} -else -{ -lean_object* x_1381; -x_1381 = lean_box(0); -x_1299 = x_1381; -goto block_1314; -} -} -else -{ -lean_object* x_1382; -x_1382 = lean_box(0); -x_1299 = x_1382; -goto block_1314; -} -} -else -{ -lean_object* x_1383; lean_object* x_1384; uint8_t x_1385; -x_1383 = lean_array_get_size(x_3); -x_1384 = lean_unsigned_to_nat(0u); -x_1385 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1383, x_1384); -lean_dec(x_1383); -if (x_1385 == 0) -{ -lean_object* x_1386; uint8_t x_1402; -x_1402 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1402 == 0) -{ -uint8_t x_1403; -x_1403 = l_Lean_Expr_hasFVar(x_2); -if (x_1403 == 0) -{ -x_1315 = x_2; -x_1316 = x_6; -goto block_1370; -} -else -{ -lean_object* x_1404; -x_1404 = lean_box(0); -x_1386 = x_1404; -goto block_1401; -} -} -else -{ -lean_object* x_1405; -x_1405 = lean_box(0); -x_1386 = x_1405; -goto block_1401; -} -block_1401: -{ -lean_object* x_1387; lean_object* x_1388; -lean_dec(x_1386); -x_1387 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_1388 = lean_ctor_get(x_1387, 0); -lean_inc(x_1388); -if (lean_obj_tag(x_1388) == 0) -{ -lean_object* x_1389; lean_object* x_1390; -x_1389 = lean_ctor_get(x_1387, 1); -lean_inc(x_1389); -lean_dec(x_1387); -lean_inc(x_5); -lean_inc(x_2); -x_1390 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1389); -if (lean_obj_tag(x_1390) == 0) -{ -lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; -x_1391 = lean_ctor_get(x_1390, 0); -lean_inc(x_1391); -x_1392 = lean_ctor_get(x_1390, 1); -lean_inc(x_1392); -lean_dec(x_1390); -lean_inc(x_1391); -x_1393 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1391, x_5, x_1392); -x_1394 = lean_ctor_get(x_1393, 1); -lean_inc(x_1394); -lean_dec(x_1393); -x_1315 = x_1391; -x_1316 = x_1394; -goto block_1370; -} -else -{ -uint8_t x_1395; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1395 = !lean_is_exclusive(x_1390); -if (x_1395 == 0) -{ -return x_1390; -} -else -{ -lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; -x_1396 = lean_ctor_get(x_1390, 0); -x_1397 = lean_ctor_get(x_1390, 1); -lean_inc(x_1397); -lean_inc(x_1396); -lean_dec(x_1390); -x_1398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1398, 0, x_1396); -lean_ctor_set(x_1398, 1, x_1397); -return x_1398; -} -} -} -else -{ -lean_object* x_1399; lean_object* x_1400; -lean_dec(x_2); -x_1399 = lean_ctor_get(x_1387, 1); -lean_inc(x_1399); -lean_dec(x_1387); -x_1400 = lean_ctor_get(x_1388, 0); -lean_inc(x_1400); -lean_dec(x_1388); -x_1315 = x_1400; -x_1316 = x_1399; -goto block_1370; -} -} -} -else -{ -uint8_t x_1406; -lean_dec(x_1); -x_1406 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1406 == 0) -{ -uint8_t x_1407; -x_1407 = l_Lean_Expr_hasFVar(x_2); -if (x_1407 == 0) -{ -x_1283 = x_2; -x_1284 = x_6; -goto block_1298; -} -else -{ -lean_object* x_1408; -x_1408 = lean_box(0); -x_1299 = x_1408; -goto block_1314; -} -} -else -{ -lean_object* x_1409; -x_1409 = lean_box(0); -x_1299 = x_1409; -goto block_1314; -} -} -} -} -block_1298: -{ -lean_object* x_1285; lean_object* x_1286; -x_1285 = lean_unsigned_to_nat(0u); -x_1286 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1285, x_3, x_5, x_1284); -if (lean_obj_tag(x_1286) == 0) -{ -uint8_t x_1287; -x_1287 = !lean_is_exclusive(x_1286); -if (x_1287 == 0) -{ -lean_object* x_1288; lean_object* x_1289; -x_1288 = lean_ctor_get(x_1286, 0); -x_1289 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1288, x_1288, x_1285, x_1283); -lean_dec(x_1288); -lean_ctor_set(x_1286, 0, x_1289); -return x_1286; -} -else -{ -lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; -x_1290 = lean_ctor_get(x_1286, 0); -x_1291 = lean_ctor_get(x_1286, 1); -lean_inc(x_1291); -lean_inc(x_1290); -lean_dec(x_1286); -x_1292 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1290, x_1290, x_1285, x_1283); -lean_dec(x_1290); -x_1293 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1293, 0, x_1292); -lean_ctor_set(x_1293, 1, x_1291); -return x_1293; -} -} -else -{ -uint8_t x_1294; -lean_dec(x_1283); -x_1294 = !lean_is_exclusive(x_1286); -if (x_1294 == 0) -{ -return x_1286; -} -else -{ -lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; -x_1295 = lean_ctor_get(x_1286, 0); -x_1296 = lean_ctor_get(x_1286, 1); -lean_inc(x_1296); -lean_inc(x_1295); -lean_dec(x_1286); -x_1297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1297, 0, x_1295); -lean_ctor_set(x_1297, 1, x_1296); -return x_1297; -} -} -} -block_1314: -{ -lean_object* x_1300; lean_object* x_1301; -lean_dec(x_1299); -x_1300 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_1301 = lean_ctor_get(x_1300, 0); -lean_inc(x_1301); -if (lean_obj_tag(x_1301) == 0) -{ -lean_object* x_1302; lean_object* x_1303; -x_1302 = lean_ctor_get(x_1300, 1); -lean_inc(x_1302); -lean_dec(x_1300); -lean_inc(x_5); -lean_inc(x_2); -x_1303 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_1302); -if (lean_obj_tag(x_1303) == 0) -{ -lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; -x_1304 = lean_ctor_get(x_1303, 0); -lean_inc(x_1304); -x_1305 = lean_ctor_get(x_1303, 1); -lean_inc(x_1305); -lean_dec(x_1303); -lean_inc(x_1304); -x_1306 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1304, x_5, x_1305); -x_1307 = lean_ctor_get(x_1306, 1); -lean_inc(x_1307); -lean_dec(x_1306); -x_1283 = x_1304; -x_1284 = x_1307; -goto block_1298; -} -else -{ -uint8_t x_1308; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_1308 = !lean_is_exclusive(x_1303); -if (x_1308 == 0) -{ -return x_1303; -} -else -{ -lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; -x_1309 = lean_ctor_get(x_1303, 0); -x_1310 = lean_ctor_get(x_1303, 1); -lean_inc(x_1310); -lean_inc(x_1309); -lean_dec(x_1303); -x_1311 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1311, 0, x_1309); -lean_ctor_set(x_1311, 1, x_1310); -return x_1311; -} -} -} -else -{ -lean_object* x_1312; lean_object* x_1313; -lean_dec(x_2); -x_1312 = lean_ctor_get(x_1300, 1); -lean_inc(x_1312); -lean_dec(x_1300); -x_1313 = lean_ctor_get(x_1301, 0); -lean_inc(x_1313); -lean_dec(x_1301); -x_1283 = x_1313; -x_1284 = x_1312; -goto block_1298; -} -} -block_1370: -{ -lean_object* x_1317; lean_object* x_1318; -x_1317 = lean_unsigned_to_nat(0u); -lean_inc(x_5); -lean_inc(x_3); -x_1318 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1317, x_3, x_5, x_1316); -if (lean_obj_tag(x_1318) == 0) -{ -uint8_t x_1319; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1319 = !lean_is_exclusive(x_1318); -if (x_1319 == 0) -{ -lean_object* x_1320; lean_object* x_1321; -x_1320 = lean_ctor_get(x_1318, 0); -x_1321 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1320, x_1320, x_1317, x_1315); -lean_dec(x_1320); -lean_ctor_set(x_1318, 0, x_1321); -return x_1318; -} -else -{ -lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; -x_1322 = lean_ctor_get(x_1318, 0); -x_1323 = lean_ctor_get(x_1318, 1); -lean_inc(x_1323); -lean_inc(x_1322); -lean_dec(x_1318); -x_1324 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1322, x_1322, x_1317, x_1315); -lean_dec(x_1322); -x_1325 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1325, 0, x_1324); -lean_ctor_set(x_1325, 1, x_1323); -return x_1325; -} -} -else -{ -lean_object* x_1326; -x_1326 = lean_ctor_get(x_1318, 0); -lean_inc(x_1326); -if (lean_obj_tag(x_1326) == 2) -{ -lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; -x_1327 = lean_ctor_get(x_1318, 1); -lean_inc(x_1327); -lean_dec(x_1318); -x_1328 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_1328, 0, x_1); -lean_inc(x_5); -x_1329 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1328, x_5, x_1327); -if (lean_obj_tag(x_1329) == 0) -{ -lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; -x_1330 = lean_ctor_get(x_1329, 0); -lean_inc(x_1330); -x_1331 = lean_ctor_get(x_1329, 1); -lean_inc(x_1331); -lean_dec(x_1329); -lean_inc(x_5); -x_1332 = l_Lean_Meta_CheckAssignment_check___main(x_1330, x_5, x_1331); -if (lean_obj_tag(x_1332) == 0) -{ -lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; -x_1333 = lean_ctor_get(x_1332, 0); -lean_inc(x_1333); -x_1334 = lean_ctor_get(x_1332, 1); -lean_inc(x_1334); -lean_dec(x_1332); -x_1335 = lean_ctor_get(x_5, 2); -lean_inc(x_1335); -x_1336 = lean_ctor_get(x_1335, 1); -lean_inc(x_1336); -x_1337 = lean_ctor_get(x_1335, 4); -lean_inc(x_1337); -lean_dec(x_1335); -x_1338 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_1336, x_1337, x_1333, x_5, x_1334); -x_1339 = lean_ctor_get(x_1338, 0); -lean_inc(x_1339); -x_1340 = lean_ctor_get(x_1338, 1); -lean_inc(x_1340); -lean_dec(x_1338); -x_1341 = lean_array_get_size(x_3); -lean_dec(x_3); -lean_inc(x_1339); -x_1342 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_1342, 0, x_1315); -lean_closure_set(x_1342, 1, x_1341); -lean_closure_set(x_1342, 2, x_1339); -x_1343 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1342, x_5, x_1340); -if (lean_obj_tag(x_1343) == 0) -{ -lean_object* x_1344; uint8_t x_1345; -x_1344 = lean_ctor_get(x_1343, 0); -lean_inc(x_1344); -x_1345 = lean_unbox(x_1344); -lean_dec(x_1344); -if (x_1345 == 0) -{ -uint8_t x_1346; -lean_dec(x_1339); -x_1346 = !lean_is_exclusive(x_1343); -if (x_1346 == 0) -{ -lean_object* x_1347; -x_1347 = lean_ctor_get(x_1343, 0); -lean_dec(x_1347); -lean_ctor_set_tag(x_1343, 1); -lean_ctor_set(x_1343, 0, x_1326); -return x_1343; -} -else -{ -lean_object* x_1348; lean_object* x_1349; -x_1348 = lean_ctor_get(x_1343, 1); -lean_inc(x_1348); -lean_dec(x_1343); -x_1349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1349, 0, x_1326); -lean_ctor_set(x_1349, 1, x_1348); -return x_1349; -} -} -else -{ -uint8_t x_1350; -lean_dec(x_1326); -x_1350 = !lean_is_exclusive(x_1343); -if (x_1350 == 0) -{ -lean_object* x_1351; -x_1351 = lean_ctor_get(x_1343, 0); -lean_dec(x_1351); -lean_ctor_set(x_1343, 0, x_1339); -return x_1343; -} -else -{ -lean_object* x_1352; lean_object* x_1353; -x_1352 = lean_ctor_get(x_1343, 1); -lean_inc(x_1352); -lean_dec(x_1343); -x_1353 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1353, 0, x_1339); -lean_ctor_set(x_1353, 1, x_1352); -return x_1353; -} -} -} -else -{ -uint8_t x_1354; -lean_dec(x_1339); -lean_dec(x_1326); -x_1354 = !lean_is_exclusive(x_1343); -if (x_1354 == 0) -{ -return x_1343; -} -else -{ -lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; -x_1355 = lean_ctor_get(x_1343, 0); -x_1356 = lean_ctor_get(x_1343, 1); -lean_inc(x_1356); -lean_inc(x_1355); -lean_dec(x_1343); -x_1357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1357, 0, x_1355); -lean_ctor_set(x_1357, 1, x_1356); -return x_1357; -} -} -} -else -{ -uint8_t x_1358; -lean_dec(x_1326); -lean_dec(x_1315); -lean_dec(x_5); -lean_dec(x_3); -x_1358 = !lean_is_exclusive(x_1332); -if (x_1358 == 0) -{ -return x_1332; -} -else -{ -lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; -x_1359 = lean_ctor_get(x_1332, 0); -x_1360 = lean_ctor_get(x_1332, 1); -lean_inc(x_1360); -lean_inc(x_1359); -lean_dec(x_1332); -x_1361 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1361, 0, x_1359); -lean_ctor_set(x_1361, 1, x_1360); -return x_1361; -} -} -} -else -{ -uint8_t x_1362; -lean_dec(x_1326); -lean_dec(x_1315); -lean_dec(x_5); -lean_dec(x_3); -x_1362 = !lean_is_exclusive(x_1329); -if (x_1362 == 0) -{ -return x_1329; -} -else -{ -lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; -x_1363 = lean_ctor_get(x_1329, 0); -x_1364 = lean_ctor_get(x_1329, 1); -lean_inc(x_1364); -lean_inc(x_1363); -lean_dec(x_1329); -x_1365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1365, 0, x_1363); -lean_ctor_set(x_1365, 1, x_1364); -return x_1365; -} -} -} -else -{ -uint8_t x_1366; -lean_dec(x_1315); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1366 = !lean_is_exclusive(x_1318); -if (x_1366 == 0) -{ -lean_object* x_1367; -x_1367 = lean_ctor_get(x_1318, 0); -lean_dec(x_1367); -return x_1318; -} -else -{ -lean_object* x_1368; lean_object* x_1369; -x_1368 = lean_ctor_get(x_1318, 1); -lean_inc(x_1368); -lean_dec(x_1318); -x_1369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1369, 0, x_1326); -lean_ctor_set(x_1369, 1, x_1368); -return x_1369; -} -} -} -} -} -default: -{ -lean_object* x_1410; lean_object* x_1411; lean_object* x_1426; lean_object* x_1442; lean_object* x_1443; uint8_t x_1498; -lean_dec(x_4); -x_1498 = l_Lean_Expr_isMVar(x_2); -if (x_1498 == 0) -{ -uint8_t x_1499; -lean_dec(x_1); -x_1499 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1499 == 0) -{ -uint8_t x_1500; -x_1500 = l_Lean_Expr_hasFVar(x_2); -if (x_1500 == 0) -{ -x_1410 = x_2; -x_1411 = x_6; -goto block_1425; -} -else -{ -lean_object* x_1501; -x_1501 = lean_box(0); -x_1426 = x_1501; -goto block_1441; -} -} -else -{ -lean_object* x_1502; -x_1502 = lean_box(0); -x_1426 = x_1502; -goto block_1441; -} -} -else -{ -lean_object* x_1503; lean_object* x_1504; uint8_t x_1505; -x_1503 = lean_ctor_get(x_5, 0); -lean_inc(x_1503); -x_1504 = lean_ctor_get(x_1503, 0); -lean_inc(x_1504); -lean_dec(x_1503); -x_1505 = lean_ctor_get_uint8(x_1504, sizeof(void*)*1 + 1); -lean_dec(x_1504); -if (x_1505 == 0) -{ -uint8_t x_1506; -lean_dec(x_1); -x_1506 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1506 == 0) -{ -uint8_t x_1507; -x_1507 = l_Lean_Expr_hasFVar(x_2); -if (x_1507 == 0) -{ -x_1410 = x_2; -x_1411 = x_6; -goto block_1425; -} -else -{ -lean_object* x_1508; -x_1508 = lean_box(0); -x_1426 = x_1508; -goto block_1441; -} -} -else -{ -lean_object* x_1509; -x_1509 = lean_box(0); -x_1426 = x_1509; -goto block_1441; -} -} -else -{ -lean_object* x_1510; lean_object* x_1511; uint8_t x_1512; -x_1510 = lean_array_get_size(x_3); -x_1511 = lean_unsigned_to_nat(0u); -x_1512 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1510, x_1511); -lean_dec(x_1510); -if (x_1512 == 0) -{ -lean_object* x_1513; uint8_t x_1529; -x_1529 = l_Lean_Expr_hasExprMVar(x_2); -if (x_1529 == 0) -{ -uint8_t x_1530; -x_1530 = l_Lean_Expr_hasFVar(x_2); -if (x_1530 == 0) -{ -x_1442 = x_2; -x_1443 = x_6; -goto block_1497; -} -else -{ -lean_object* x_1531; -x_1531 = lean_box(0); -x_1513 = x_1531; -goto block_1528; -} -} -else -{ -lean_object* x_1532; -x_1532 = lean_box(0); -x_1513 = x_1532; -goto block_1528; -} -block_1528: -{ -lean_object* x_1514; lean_object* x_1515; -lean_dec(x_1513); -x_1514 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_1515 = lean_ctor_get(x_1514, 0); -lean_inc(x_1515); -if (lean_obj_tag(x_1515) == 0) -{ -lean_object* x_1516; lean_object* x_1517; -x_1516 = lean_ctor_get(x_1514, 1); -lean_inc(x_1516); -lean_dec(x_1514); -lean_inc(x_5); -lean_inc(x_2); -x_1517 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1516); -if (lean_obj_tag(x_1517) == 0) -{ -lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; -x_1518 = lean_ctor_get(x_1517, 0); -lean_inc(x_1518); -x_1519 = lean_ctor_get(x_1517, 1); -lean_inc(x_1519); -lean_dec(x_1517); -lean_inc(x_1518); -x_1520 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1518, x_5, x_1519); -x_1521 = lean_ctor_get(x_1520, 1); -lean_inc(x_1521); -lean_dec(x_1520); -x_1442 = x_1518; -x_1443 = x_1521; -goto block_1497; -} -else -{ -uint8_t x_1522; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1522 = !lean_is_exclusive(x_1517); -if (x_1522 == 0) -{ -return x_1517; -} -else -{ -lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; -x_1523 = lean_ctor_get(x_1517, 0); -x_1524 = lean_ctor_get(x_1517, 1); -lean_inc(x_1524); -lean_inc(x_1523); -lean_dec(x_1517); -x_1525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1525, 0, x_1523); -lean_ctor_set(x_1525, 1, x_1524); -return x_1525; -} -} -} -else -{ -lean_object* x_1526; lean_object* x_1527; -lean_dec(x_2); -x_1526 = lean_ctor_get(x_1514, 1); -lean_inc(x_1526); -lean_dec(x_1514); -x_1527 = lean_ctor_get(x_1515, 0); -lean_inc(x_1527); -lean_dec(x_1515); -x_1442 = x_1527; -x_1443 = x_1526; -goto block_1497; -} -} -} -else +lean_object* x_1530; lean_object* x_1531; uint8_t x_1532; +x_1530 = lean_ctor_get(x_5, 0); +lean_inc(x_1530); +x_1531 = lean_ctor_get(x_1530, 0); +lean_inc(x_1531); +lean_dec(x_1530); +x_1532 = lean_ctor_get_uint8(x_1531, sizeof(void*)*1 + 1); +lean_dec(x_1531); +if (x_1532 == 0) { uint8_t x_1533; lean_dec(x_1); @@ -24596,252 +24635,357 @@ uint8_t x_1534; x_1534 = l_Lean_Expr_hasFVar(x_2); if (x_1534 == 0) { -x_1410 = x_2; -x_1411 = x_6; -goto block_1425; +x_1423 = x_2; +x_1424 = x_6; +goto block_1438; } else { lean_object* x_1535; x_1535 = lean_box(0); -x_1426 = x_1535; -goto block_1441; +x_1439 = x_1535; +goto block_1454; } } else { lean_object* x_1536; x_1536 = lean_box(0); -x_1426 = x_1536; -goto block_1441; -} -} -} -} -block_1425: -{ -lean_object* x_1412; lean_object* x_1413; -x_1412 = lean_unsigned_to_nat(0u); -x_1413 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1412, x_3, x_5, x_1411); -if (lean_obj_tag(x_1413) == 0) -{ -uint8_t x_1414; -x_1414 = !lean_is_exclusive(x_1413); -if (x_1414 == 0) -{ -lean_object* x_1415; lean_object* x_1416; -x_1415 = lean_ctor_get(x_1413, 0); -x_1416 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1415, x_1415, x_1412, x_1410); -lean_dec(x_1415); -lean_ctor_set(x_1413, 0, x_1416); -return x_1413; -} -else -{ -lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; -x_1417 = lean_ctor_get(x_1413, 0); -x_1418 = lean_ctor_get(x_1413, 1); -lean_inc(x_1418); -lean_inc(x_1417); -lean_dec(x_1413); -x_1419 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1417, x_1417, x_1412, x_1410); -lean_dec(x_1417); -x_1420 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1420, 0, x_1419); -lean_ctor_set(x_1420, 1, x_1418); -return x_1420; +x_1439 = x_1536; +goto block_1454; } } else { -uint8_t x_1421; -lean_dec(x_1410); -x_1421 = !lean_is_exclusive(x_1413); -if (x_1421 == 0) +lean_object* x_1537; lean_object* x_1538; uint8_t x_1539; +x_1537 = lean_array_get_size(x_3); +x_1538 = lean_unsigned_to_nat(0u); +x_1539 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1537, x_1538); +lean_dec(x_1537); +if (x_1539 == 0) { -return x_1413; +lean_object* x_1540; uint8_t x_1556; +x_1556 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1556 == 0) +{ +uint8_t x_1557; +x_1557 = l_Lean_Expr_hasFVar(x_2); +if (x_1557 == 0) +{ +x_1455 = x_2; +x_1456 = x_6; +goto block_1524; } else { -lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; -x_1422 = lean_ctor_get(x_1413, 0); -x_1423 = lean_ctor_get(x_1413, 1); -lean_inc(x_1423); -lean_inc(x_1422); -lean_dec(x_1413); -x_1424 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1424, 0, x_1422); -lean_ctor_set(x_1424, 1, x_1423); -return x_1424; +lean_object* x_1558; +x_1558 = lean_box(0); +x_1540 = x_1558; +goto block_1555; } } -} -block_1441: +else { -lean_object* x_1427; lean_object* x_1428; -lean_dec(x_1426); -x_1427 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); -x_1428 = lean_ctor_get(x_1427, 0); -lean_inc(x_1428); -if (lean_obj_tag(x_1428) == 0) +lean_object* x_1559; +x_1559 = lean_box(0); +x_1540 = x_1559; +goto block_1555; +} +block_1555: { -lean_object* x_1429; lean_object* x_1430; -x_1429 = lean_ctor_get(x_1427, 1); -lean_inc(x_1429); -lean_dec(x_1427); +lean_object* x_1541; lean_object* x_1542; +lean_dec(x_1540); +x_1541 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1542 = lean_ctor_get(x_1541, 0); +lean_inc(x_1542); +if (lean_obj_tag(x_1542) == 0) +{ +lean_object* x_1543; lean_object* x_1544; +x_1543 = lean_ctor_get(x_1541, 1); +lean_inc(x_1543); +lean_dec(x_1541); lean_inc(x_5); lean_inc(x_2); -x_1430 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_1429); -if (lean_obj_tag(x_1430) == 0) +x_1544 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1543); +if (lean_obj_tag(x_1544) == 0) { -lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; -x_1431 = lean_ctor_get(x_1430, 0); -lean_inc(x_1431); -x_1432 = lean_ctor_get(x_1430, 1); -lean_inc(x_1432); -lean_dec(x_1430); -lean_inc(x_1431); -x_1433 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1431, x_5, x_1432); -x_1434 = lean_ctor_get(x_1433, 1); -lean_inc(x_1434); -lean_dec(x_1433); -x_1410 = x_1431; -x_1411 = x_1434; -goto block_1425; +lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; +x_1545 = lean_ctor_get(x_1544, 0); +lean_inc(x_1545); +x_1546 = lean_ctor_get(x_1544, 1); +lean_inc(x_1546); +lean_dec(x_1544); +lean_inc(x_1545); +x_1547 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1545, x_5, x_1546); +x_1548 = lean_ctor_get(x_1547, 1); +lean_inc(x_1548); +lean_dec(x_1547); +x_1455 = x_1545; +x_1456 = x_1548; +goto block_1524; } else { -uint8_t x_1435; +uint8_t x_1549; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_1435 = !lean_is_exclusive(x_1430); -if (x_1435 == 0) +lean_dec(x_1); +x_1549 = !lean_is_exclusive(x_1544); +if (x_1549 == 0) { -return x_1430; +return x_1544; } else { -lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; -x_1436 = lean_ctor_get(x_1430, 0); -x_1437 = lean_ctor_get(x_1430, 1); -lean_inc(x_1437); -lean_inc(x_1436); -lean_dec(x_1430); -x_1438 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1438, 0, x_1436); -lean_ctor_set(x_1438, 1, x_1437); -return x_1438; +lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; +x_1550 = lean_ctor_get(x_1544, 0); +x_1551 = lean_ctor_get(x_1544, 1); +lean_inc(x_1551); +lean_inc(x_1550); +lean_dec(x_1544); +x_1552 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1552, 0, x_1550); +lean_ctor_set(x_1552, 1, x_1551); +return x_1552; } } } else { -lean_object* x_1439; lean_object* x_1440; +lean_object* x_1553; lean_object* x_1554; lean_dec(x_2); -x_1439 = lean_ctor_get(x_1427, 1); -lean_inc(x_1439); -lean_dec(x_1427); -x_1440 = lean_ctor_get(x_1428, 0); -lean_inc(x_1440); -lean_dec(x_1428); -x_1410 = x_1440; -x_1411 = x_1439; -goto block_1425; +x_1553 = lean_ctor_get(x_1541, 1); +lean_inc(x_1553); +lean_dec(x_1541); +x_1554 = lean_ctor_get(x_1542, 0); +lean_inc(x_1554); +lean_dec(x_1542); +x_1455 = x_1554; +x_1456 = x_1553; +goto block_1524; } } -block_1497: +} +else { -lean_object* x_1444; lean_object* x_1445; -x_1444 = lean_unsigned_to_nat(0u); +uint8_t x_1560; +lean_dec(x_1); +x_1560 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1560 == 0) +{ +uint8_t x_1561; +x_1561 = l_Lean_Expr_hasFVar(x_2); +if (x_1561 == 0) +{ +x_1423 = x_2; +x_1424 = x_6; +goto block_1438; +} +else +{ +lean_object* x_1562; +x_1562 = lean_box(0); +x_1439 = x_1562; +goto block_1454; +} +} +else +{ +lean_object* x_1563; +x_1563 = lean_box(0); +x_1439 = x_1563; +goto block_1454; +} +} +} +} +block_1438: +{ +lean_object* x_1425; lean_object* x_1426; +x_1425 = lean_unsigned_to_nat(0u); +x_1426 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1425, x_3, x_5, x_1424); +if (lean_obj_tag(x_1426) == 0) +{ +uint8_t x_1427; +x_1427 = !lean_is_exclusive(x_1426); +if (x_1427 == 0) +{ +lean_object* x_1428; lean_object* x_1429; +x_1428 = lean_ctor_get(x_1426, 0); +x_1429 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1428, x_1428, x_1425, x_1423); +lean_dec(x_1428); +lean_ctor_set(x_1426, 0, x_1429); +return x_1426; +} +else +{ +lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; +x_1430 = lean_ctor_get(x_1426, 0); +x_1431 = lean_ctor_get(x_1426, 1); +lean_inc(x_1431); +lean_inc(x_1430); +lean_dec(x_1426); +x_1432 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1430, x_1430, x_1425, x_1423); +lean_dec(x_1430); +x_1433 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1433, 0, x_1432); +lean_ctor_set(x_1433, 1, x_1431); +return x_1433; +} +} +else +{ +uint8_t x_1434; +lean_dec(x_1423); +x_1434 = !lean_is_exclusive(x_1426); +if (x_1434 == 0) +{ +return x_1426; +} +else +{ +lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; +x_1435 = lean_ctor_get(x_1426, 0); +x_1436 = lean_ctor_get(x_1426, 1); +lean_inc(x_1436); +lean_inc(x_1435); +lean_dec(x_1426); +x_1437 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1437, 0, x_1435); +lean_ctor_set(x_1437, 1, x_1436); +return x_1437; +} +} +} +block_1454: +{ +lean_object* x_1440; lean_object* x_1441; +lean_dec(x_1439); +x_1440 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1441 = lean_ctor_get(x_1440, 0); +lean_inc(x_1441); +if (lean_obj_tag(x_1441) == 0) +{ +lean_object* x_1442; lean_object* x_1443; +x_1442 = lean_ctor_get(x_1440, 1); +lean_inc(x_1442); +lean_dec(x_1440); +lean_inc(x_5); +lean_inc(x_2); +x_1443 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_1442); +if (lean_obj_tag(x_1443) == 0) +{ +lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; +x_1444 = lean_ctor_get(x_1443, 0); +lean_inc(x_1444); +x_1445 = lean_ctor_get(x_1443, 1); +lean_inc(x_1445); +lean_dec(x_1443); +lean_inc(x_1444); +x_1446 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1444, x_5, x_1445); +x_1447 = lean_ctor_get(x_1446, 1); +lean_inc(x_1447); +lean_dec(x_1446); +x_1423 = x_1444; +x_1424 = x_1447; +goto block_1438; +} +else +{ +uint8_t x_1448; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_1448 = !lean_is_exclusive(x_1443); +if (x_1448 == 0) +{ +return x_1443; +} +else +{ +lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; +x_1449 = lean_ctor_get(x_1443, 0); +x_1450 = lean_ctor_get(x_1443, 1); +lean_inc(x_1450); +lean_inc(x_1449); +lean_dec(x_1443); +x_1451 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1451, 0, x_1449); +lean_ctor_set(x_1451, 1, x_1450); +return x_1451; +} +} +} +else +{ +lean_object* x_1452; lean_object* x_1453; +lean_dec(x_2); +x_1452 = lean_ctor_get(x_1440, 1); +lean_inc(x_1452); +lean_dec(x_1440); +x_1453 = lean_ctor_get(x_1441, 0); +lean_inc(x_1453); +lean_dec(x_1441); +x_1423 = x_1453; +x_1424 = x_1452; +goto block_1438; +} +} +block_1524: +{ +lean_object* x_1457; lean_object* x_1458; +x_1457 = lean_unsigned_to_nat(0u); lean_inc(x_5); lean_inc(x_3); -x_1445 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1444, x_3, x_5, x_1443); -if (lean_obj_tag(x_1445) == 0) +x_1458 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1457, x_3, x_5, x_1456); +if (lean_obj_tag(x_1458) == 0) { -uint8_t x_1446; +uint8_t x_1459; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1446 = !lean_is_exclusive(x_1445); -if (x_1446 == 0) +x_1459 = !lean_is_exclusive(x_1458); +if (x_1459 == 0) { -lean_object* x_1447; lean_object* x_1448; -x_1447 = lean_ctor_get(x_1445, 0); -x_1448 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1447, x_1447, x_1444, x_1442); -lean_dec(x_1447); -lean_ctor_set(x_1445, 0, x_1448); -return x_1445; +lean_object* x_1460; lean_object* x_1461; +x_1460 = lean_ctor_get(x_1458, 0); +x_1461 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1460, x_1460, x_1457, x_1455); +lean_dec(x_1460); +lean_ctor_set(x_1458, 0, x_1461); +return x_1458; } else { -lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; -x_1449 = lean_ctor_get(x_1445, 0); -x_1450 = lean_ctor_get(x_1445, 1); -lean_inc(x_1450); -lean_inc(x_1449); -lean_dec(x_1445); -x_1451 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1449, x_1449, x_1444, x_1442); -lean_dec(x_1449); -x_1452 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1452, 0, x_1451); -lean_ctor_set(x_1452, 1, x_1450); -return x_1452; -} -} -else -{ -lean_object* x_1453; -x_1453 = lean_ctor_get(x_1445, 0); -lean_inc(x_1453); -if (lean_obj_tag(x_1453) == 2) -{ -lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; -x_1454 = lean_ctor_get(x_1445, 1); -lean_inc(x_1454); -lean_dec(x_1445); -x_1455 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); -lean_closure_set(x_1455, 0, x_1); -lean_inc(x_5); -x_1456 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1455, x_5, x_1454); -if (lean_obj_tag(x_1456) == 0) -{ -lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; -x_1457 = lean_ctor_get(x_1456, 0); -lean_inc(x_1457); -x_1458 = lean_ctor_get(x_1456, 1); -lean_inc(x_1458); -lean_dec(x_1456); -lean_inc(x_5); -x_1459 = l_Lean_Meta_CheckAssignment_check___main(x_1457, x_5, x_1458); -if (lean_obj_tag(x_1459) == 0) -{ -lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; -x_1460 = lean_ctor_get(x_1459, 0); -lean_inc(x_1460); -x_1461 = lean_ctor_get(x_1459, 1); -lean_inc(x_1461); -lean_dec(x_1459); -x_1462 = lean_ctor_get(x_5, 2); -lean_inc(x_1462); -x_1463 = lean_ctor_get(x_1462, 1); +lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; +x_1462 = lean_ctor_get(x_1458, 0); +x_1463 = lean_ctor_get(x_1458, 1); lean_inc(x_1463); -x_1464 = lean_ctor_get(x_1462, 4); -lean_inc(x_1464); +lean_inc(x_1462); +lean_dec(x_1458); +x_1464 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1462, x_1462, x_1457, x_1455); lean_dec(x_1462); -x_1465 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_1463, x_1464, x_1460, x_5, x_1461); -x_1466 = lean_ctor_get(x_1465, 0); +x_1465 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1465, 0, x_1464); +lean_ctor_set(x_1465, 1, x_1463); +return x_1465; +} +} +else +{ +lean_object* x_1466; +x_1466 = lean_ctor_get(x_1458, 0); lean_inc(x_1466); -x_1467 = lean_ctor_get(x_1465, 1); +if (lean_obj_tag(x_1466) == 2) +{ +lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; +x_1467 = lean_ctor_get(x_1458, 1); lean_inc(x_1467); -lean_dec(x_1465); -x_1468 = lean_array_get_size(x_3); -lean_dec(x_3); -lean_inc(x_1466); -x_1469 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); -lean_closure_set(x_1469, 0, x_1442); -lean_closure_set(x_1469, 1, x_1468); -lean_closure_set(x_1469, 2, x_1466); +lean_dec(x_1458); +x_1468 = l_Lean_Expr_mvarId_x21(x_1455); +x_1469 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_1469, 0, x_1468); +lean_inc(x_5); x_1470 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1469, x_5, x_1467); if (lean_obj_tag(x_1470) == 0) { @@ -24852,160 +24996,965 @@ x_1472 = lean_unbox(x_1471); lean_dec(x_1471); if (x_1472 == 0) { -uint8_t x_1473; -lean_dec(x_1466); -x_1473 = !lean_is_exclusive(x_1470); -if (x_1473 == 0) -{ -lean_object* x_1474; -x_1474 = lean_ctor_get(x_1470, 0); -lean_dec(x_1474); -lean_ctor_set_tag(x_1470, 1); -lean_ctor_set(x_1470, 0, x_1453); -return x_1470; -} -else -{ -lean_object* x_1475; lean_object* x_1476; -x_1475 = lean_ctor_get(x_1470, 1); -lean_inc(x_1475); +lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; +x_1473 = lean_ctor_get(x_1470, 1); +lean_inc(x_1473); lean_dec(x_1470); -x_1476 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1476, 0, x_1453); -lean_ctor_set(x_1476, 1, x_1475); -return x_1476; +x_1474 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_1474, 0, x_1); +lean_inc(x_5); +x_1475 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1474, x_5, x_1473); +if (lean_obj_tag(x_1475) == 0) +{ +lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; +x_1476 = lean_ctor_get(x_1475, 0); +lean_inc(x_1476); +x_1477 = lean_ctor_get(x_1475, 1); +lean_inc(x_1477); +lean_dec(x_1475); +lean_inc(x_5); +x_1478 = l_Lean_Meta_CheckAssignment_check___main(x_1476, x_5, x_1477); +if (lean_obj_tag(x_1478) == 0) +{ +lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; +x_1479 = lean_ctor_get(x_1478, 0); +lean_inc(x_1479); +x_1480 = lean_ctor_get(x_1478, 1); +lean_inc(x_1480); +lean_dec(x_1478); +x_1481 = lean_ctor_get(x_5, 2); +lean_inc(x_1481); +x_1482 = lean_ctor_get(x_1481, 1); +lean_inc(x_1482); +x_1483 = lean_ctor_get(x_1481, 4); +lean_inc(x_1483); +lean_dec(x_1481); +x_1484 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_1482, x_1483, x_1479, x_5, x_1480); +x_1485 = lean_ctor_get(x_1484, 0); +lean_inc(x_1485); +x_1486 = lean_ctor_get(x_1484, 1); +lean_inc(x_1486); +lean_dec(x_1484); +x_1487 = lean_array_get_size(x_3); +lean_dec(x_3); +lean_inc(x_1485); +x_1488 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_1488, 0, x_1455); +lean_closure_set(x_1488, 1, x_1487); +lean_closure_set(x_1488, 2, x_1485); +x_1489 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1488, x_5, x_1486); +if (lean_obj_tag(x_1489) == 0) +{ +lean_object* x_1490; uint8_t x_1491; +x_1490 = lean_ctor_get(x_1489, 0); +lean_inc(x_1490); +x_1491 = lean_unbox(x_1490); +lean_dec(x_1490); +if (x_1491 == 0) +{ +uint8_t x_1492; +lean_dec(x_1485); +x_1492 = !lean_is_exclusive(x_1489); +if (x_1492 == 0) +{ +lean_object* x_1493; +x_1493 = lean_ctor_get(x_1489, 0); +lean_dec(x_1493); +lean_ctor_set_tag(x_1489, 1); +lean_ctor_set(x_1489, 0, x_1466); +return x_1489; +} +else +{ +lean_object* x_1494; lean_object* x_1495; +x_1494 = lean_ctor_get(x_1489, 1); +lean_inc(x_1494); +lean_dec(x_1489); +x_1495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1495, 0, x_1466); +lean_ctor_set(x_1495, 1, x_1494); +return x_1495; } } else { -uint8_t x_1477; -lean_dec(x_1453); -x_1477 = !lean_is_exclusive(x_1470); -if (x_1477 == 0) +uint8_t x_1496; +lean_dec(x_1466); +x_1496 = !lean_is_exclusive(x_1489); +if (x_1496 == 0) { -lean_object* x_1478; -x_1478 = lean_ctor_get(x_1470, 0); +lean_object* x_1497; +x_1497 = lean_ctor_get(x_1489, 0); +lean_dec(x_1497); +lean_ctor_set(x_1489, 0, x_1485); +return x_1489; +} +else +{ +lean_object* x_1498; lean_object* x_1499; +x_1498 = lean_ctor_get(x_1489, 1); +lean_inc(x_1498); +lean_dec(x_1489); +x_1499 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1499, 0, x_1485); +lean_ctor_set(x_1499, 1, x_1498); +return x_1499; +} +} +} +else +{ +uint8_t x_1500; +lean_dec(x_1485); +lean_dec(x_1466); +x_1500 = !lean_is_exclusive(x_1489); +if (x_1500 == 0) +{ +return x_1489; +} +else +{ +lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; +x_1501 = lean_ctor_get(x_1489, 0); +x_1502 = lean_ctor_get(x_1489, 1); +lean_inc(x_1502); +lean_inc(x_1501); +lean_dec(x_1489); +x_1503 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1503, 0, x_1501); +lean_ctor_set(x_1503, 1, x_1502); +return x_1503; +} +} +} +else +{ +uint8_t x_1504; +lean_dec(x_1466); +lean_dec(x_1455); +lean_dec(x_5); +lean_dec(x_3); +x_1504 = !lean_is_exclusive(x_1478); +if (x_1504 == 0) +{ +return x_1478; +} +else +{ +lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; +x_1505 = lean_ctor_get(x_1478, 0); +x_1506 = lean_ctor_get(x_1478, 1); +lean_inc(x_1506); +lean_inc(x_1505); lean_dec(x_1478); +x_1507 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1507, 0, x_1505); +lean_ctor_set(x_1507, 1, x_1506); +return x_1507; +} +} +} +else +{ +uint8_t x_1508; +lean_dec(x_1466); +lean_dec(x_1455); +lean_dec(x_5); +lean_dec(x_3); +x_1508 = !lean_is_exclusive(x_1475); +if (x_1508 == 0) +{ +return x_1475; +} +else +{ +lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; +x_1509 = lean_ctor_get(x_1475, 0); +x_1510 = lean_ctor_get(x_1475, 1); +lean_inc(x_1510); +lean_inc(x_1509); +lean_dec(x_1475); +x_1511 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1511, 0, x_1509); +lean_ctor_set(x_1511, 1, x_1510); +return x_1511; +} +} +} +else +{ +uint8_t x_1512; +lean_dec(x_1455); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1512 = !lean_is_exclusive(x_1470); +if (x_1512 == 0) +{ +lean_object* x_1513; +x_1513 = lean_ctor_get(x_1470, 0); +lean_dec(x_1513); +lean_ctor_set_tag(x_1470, 1); lean_ctor_set(x_1470, 0, x_1466); return x_1470; } else { -lean_object* x_1479; lean_object* x_1480; -x_1479 = lean_ctor_get(x_1470, 1); -lean_inc(x_1479); +lean_object* x_1514; lean_object* x_1515; +x_1514 = lean_ctor_get(x_1470, 1); +lean_inc(x_1514); lean_dec(x_1470); -x_1480 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1480, 0, x_1466); -lean_ctor_set(x_1480, 1, x_1479); -return x_1480; +x_1515 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1515, 0, x_1466); +lean_ctor_set(x_1515, 1, x_1514); +return x_1515; } } } else { -uint8_t x_1481; +uint8_t x_1516; lean_dec(x_1466); -lean_dec(x_1453); -x_1481 = !lean_is_exclusive(x_1470); -if (x_1481 == 0) +lean_dec(x_1455); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1516 = !lean_is_exclusive(x_1470); +if (x_1516 == 0) { return x_1470; } else { -lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; -x_1482 = lean_ctor_get(x_1470, 0); -x_1483 = lean_ctor_get(x_1470, 1); -lean_inc(x_1483); -lean_inc(x_1482); +lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; +x_1517 = lean_ctor_get(x_1470, 0); +x_1518 = lean_ctor_get(x_1470, 1); +lean_inc(x_1518); +lean_inc(x_1517); lean_dec(x_1470); -x_1484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1484, 0, x_1482); -lean_ctor_set(x_1484, 1, x_1483); -return x_1484; +x_1519 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1519, 0, x_1517); +lean_ctor_set(x_1519, 1, x_1518); +return x_1519; } } } else { -uint8_t x_1485; -lean_dec(x_1453); -lean_dec(x_1442); -lean_dec(x_5); -lean_dec(x_3); -x_1485 = !lean_is_exclusive(x_1459); -if (x_1485 == 0) -{ -return x_1459; -} -else -{ -lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; -x_1486 = lean_ctor_get(x_1459, 0); -x_1487 = lean_ctor_get(x_1459, 1); -lean_inc(x_1487); -lean_inc(x_1486); -lean_dec(x_1459); -x_1488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1488, 0, x_1486); -lean_ctor_set(x_1488, 1, x_1487); -return x_1488; -} -} -} -else -{ -uint8_t x_1489; -lean_dec(x_1453); -lean_dec(x_1442); -lean_dec(x_5); -lean_dec(x_3); -x_1489 = !lean_is_exclusive(x_1456); -if (x_1489 == 0) -{ -return x_1456; -} -else -{ -lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; -x_1490 = lean_ctor_get(x_1456, 0); -x_1491 = lean_ctor_get(x_1456, 1); -lean_inc(x_1491); -lean_inc(x_1490); -lean_dec(x_1456); -x_1492 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1492, 0, x_1490); -lean_ctor_set(x_1492, 1, x_1491); -return x_1492; -} -} -} -else -{ -uint8_t x_1493; -lean_dec(x_1442); +uint8_t x_1520; +lean_dec(x_1455); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1493 = !lean_is_exclusive(x_1445); -if (x_1493 == 0) +x_1520 = !lean_is_exclusive(x_1458); +if (x_1520 == 0) { -lean_object* x_1494; -x_1494 = lean_ctor_get(x_1445, 0); -lean_dec(x_1494); -return x_1445; +lean_object* x_1521; +x_1521 = lean_ctor_get(x_1458, 0); +lean_dec(x_1521); +return x_1458; } else { -lean_object* x_1495; lean_object* x_1496; -x_1495 = lean_ctor_get(x_1445, 1); -lean_inc(x_1495); -lean_dec(x_1445); -x_1496 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1496, 0, x_1453); -lean_ctor_set(x_1496, 1, x_1495); -return x_1496; +lean_object* x_1522; lean_object* x_1523; +x_1522 = lean_ctor_get(x_1458, 1); +lean_inc(x_1522); +lean_dec(x_1458); +x_1523 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1523, 0, x_1466); +lean_ctor_set(x_1523, 1, x_1522); +return x_1523; +} +} +} +} +} +default: +{ +lean_object* x_1564; lean_object* x_1565; lean_object* x_1580; lean_object* x_1596; lean_object* x_1597; uint8_t x_1666; +lean_dec(x_4); +x_1666 = l_Lean_Expr_isMVar(x_2); +if (x_1666 == 0) +{ +uint8_t x_1667; +lean_dec(x_1); +x_1667 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1667 == 0) +{ +uint8_t x_1668; +x_1668 = l_Lean_Expr_hasFVar(x_2); +if (x_1668 == 0) +{ +x_1564 = x_2; +x_1565 = x_6; +goto block_1579; +} +else +{ +lean_object* x_1669; +x_1669 = lean_box(0); +x_1580 = x_1669; +goto block_1595; +} +} +else +{ +lean_object* x_1670; +x_1670 = lean_box(0); +x_1580 = x_1670; +goto block_1595; +} +} +else +{ +lean_object* x_1671; lean_object* x_1672; uint8_t x_1673; +x_1671 = lean_ctor_get(x_5, 0); +lean_inc(x_1671); +x_1672 = lean_ctor_get(x_1671, 0); +lean_inc(x_1672); +lean_dec(x_1671); +x_1673 = lean_ctor_get_uint8(x_1672, sizeof(void*)*1 + 1); +lean_dec(x_1672); +if (x_1673 == 0) +{ +uint8_t x_1674; +lean_dec(x_1); +x_1674 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1674 == 0) +{ +uint8_t x_1675; +x_1675 = l_Lean_Expr_hasFVar(x_2); +if (x_1675 == 0) +{ +x_1564 = x_2; +x_1565 = x_6; +goto block_1579; +} +else +{ +lean_object* x_1676; +x_1676 = lean_box(0); +x_1580 = x_1676; +goto block_1595; +} +} +else +{ +lean_object* x_1677; +x_1677 = lean_box(0); +x_1580 = x_1677; +goto block_1595; +} +} +else +{ +lean_object* x_1678; lean_object* x_1679; uint8_t x_1680; +x_1678 = lean_array_get_size(x_3); +x_1679 = lean_unsigned_to_nat(0u); +x_1680 = l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(x_3, x_3, x_1678, x_1679); +lean_dec(x_1678); +if (x_1680 == 0) +{ +lean_object* x_1681; uint8_t x_1697; +x_1697 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1697 == 0) +{ +uint8_t x_1698; +x_1698 = l_Lean_Expr_hasFVar(x_2); +if (x_1698 == 0) +{ +x_1596 = x_2; +x_1597 = x_6; +goto block_1665; +} +else +{ +lean_object* x_1699; +x_1699 = lean_box(0); +x_1681 = x_1699; +goto block_1696; +} +} +else +{ +lean_object* x_1700; +x_1700 = lean_box(0); +x_1681 = x_1700; +goto block_1696; +} +block_1696: +{ +lean_object* x_1682; lean_object* x_1683; +lean_dec(x_1681); +x_1682 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1683 = lean_ctor_get(x_1682, 0); +lean_inc(x_1683); +if (lean_obj_tag(x_1683) == 0) +{ +lean_object* x_1684; lean_object* x_1685; +x_1684 = lean_ctor_get(x_1682, 1); +lean_inc(x_1684); +lean_dec(x_1682); +lean_inc(x_5); +lean_inc(x_2); +x_1685 = l_Lean_Meta_CheckAssignment_checkMVar___at_Lean_Meta_CheckAssignment_check___main___spec__4(x_2, x_5, x_1684); +if (lean_obj_tag(x_1685) == 0) +{ +lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; +x_1686 = lean_ctor_get(x_1685, 0); +lean_inc(x_1686); +x_1687 = lean_ctor_get(x_1685, 1); +lean_inc(x_1687); +lean_dec(x_1685); +lean_inc(x_1686); +x_1688 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1686, x_5, x_1687); +x_1689 = lean_ctor_get(x_1688, 1); +lean_inc(x_1689); +lean_dec(x_1688); +x_1596 = x_1686; +x_1597 = x_1689; +goto block_1665; +} +else +{ +uint8_t x_1690; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_1690 = !lean_is_exclusive(x_1685); +if (x_1690 == 0) +{ +return x_1685; +} +else +{ +lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; +x_1691 = lean_ctor_get(x_1685, 0); +x_1692 = lean_ctor_get(x_1685, 1); +lean_inc(x_1692); +lean_inc(x_1691); +lean_dec(x_1685); +x_1693 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1693, 0, x_1691); +lean_ctor_set(x_1693, 1, x_1692); +return x_1693; +} +} +} +else +{ +lean_object* x_1694; lean_object* x_1695; +lean_dec(x_2); +x_1694 = lean_ctor_get(x_1682, 1); +lean_inc(x_1694); +lean_dec(x_1682); +x_1695 = lean_ctor_get(x_1683, 0); +lean_inc(x_1695); +lean_dec(x_1683); +x_1596 = x_1695; +x_1597 = x_1694; +goto block_1665; +} +} +} +else +{ +uint8_t x_1701; +lean_dec(x_1); +x_1701 = l_Lean_Expr_hasExprMVar(x_2); +if (x_1701 == 0) +{ +uint8_t x_1702; +x_1702 = l_Lean_Expr_hasFVar(x_2); +if (x_1702 == 0) +{ +x_1564 = x_2; +x_1565 = x_6; +goto block_1579; +} +else +{ +lean_object* x_1703; +x_1703 = lean_box(0); +x_1580 = x_1703; +goto block_1595; +} +} +else +{ +lean_object* x_1704; +x_1704 = lean_box(0); +x_1580 = x_1704; +goto block_1595; +} +} +} +} +block_1579: +{ +lean_object* x_1566; lean_object* x_1567; +x_1566 = lean_unsigned_to_nat(0u); +x_1567 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1566, x_3, x_5, x_1565); +if (lean_obj_tag(x_1567) == 0) +{ +uint8_t x_1568; +x_1568 = !lean_is_exclusive(x_1567); +if (x_1568 == 0) +{ +lean_object* x_1569; lean_object* x_1570; +x_1569 = lean_ctor_get(x_1567, 0); +x_1570 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1569, x_1569, x_1566, x_1564); +lean_dec(x_1569); +lean_ctor_set(x_1567, 0, x_1570); +return x_1567; +} +else +{ +lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; +x_1571 = lean_ctor_get(x_1567, 0); +x_1572 = lean_ctor_get(x_1567, 1); +lean_inc(x_1572); +lean_inc(x_1571); +lean_dec(x_1567); +x_1573 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1571, x_1571, x_1566, x_1564); +lean_dec(x_1571); +x_1574 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1574, 0, x_1573); +lean_ctor_set(x_1574, 1, x_1572); +return x_1574; +} +} +else +{ +uint8_t x_1575; +lean_dec(x_1564); +x_1575 = !lean_is_exclusive(x_1567); +if (x_1575 == 0) +{ +return x_1567; +} +else +{ +lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; +x_1576 = lean_ctor_get(x_1567, 0); +x_1577 = lean_ctor_get(x_1567, 1); +lean_inc(x_1577); +lean_inc(x_1576); +lean_dec(x_1567); +x_1578 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1578, 0, x_1576); +lean_ctor_set(x_1578, 1, x_1577); +return x_1578; +} +} +} +block_1595: +{ +lean_object* x_1581; lean_object* x_1582; +lean_dec(x_1580); +x_1581 = l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f(x_2, x_5, x_6); +x_1582 = lean_ctor_get(x_1581, 0); +lean_inc(x_1582); +if (lean_obj_tag(x_1582) == 0) +{ +lean_object* x_1583; lean_object* x_1584; +x_1583 = lean_ctor_get(x_1581, 1); +lean_inc(x_1583); +lean_dec(x_1581); +lean_inc(x_5); +lean_inc(x_2); +x_1584 = l_Lean_Meta_CheckAssignment_check___main(x_2, x_5, x_1583); +if (lean_obj_tag(x_1584) == 0) +{ +lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; +x_1585 = lean_ctor_get(x_1584, 0); +lean_inc(x_1585); +x_1586 = lean_ctor_get(x_1584, 1); +lean_inc(x_1586); +lean_dec(x_1584); +lean_inc(x_1585); +x_1587 = l___private_Init_Lean_Meta_ExprDefEq_9__cache(x_2, x_1585, x_5, x_1586); +x_1588 = lean_ctor_get(x_1587, 1); +lean_inc(x_1588); +lean_dec(x_1587); +x_1564 = x_1585; +x_1565 = x_1588; +goto block_1579; +} +else +{ +uint8_t x_1589; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_1589 = !lean_is_exclusive(x_1584); +if (x_1589 == 0) +{ +return x_1584; +} +else +{ +lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; +x_1590 = lean_ctor_get(x_1584, 0); +x_1591 = lean_ctor_get(x_1584, 1); +lean_inc(x_1591); +lean_inc(x_1590); +lean_dec(x_1584); +x_1592 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1592, 0, x_1590); +lean_ctor_set(x_1592, 1, x_1591); +return x_1592; +} +} +} +else +{ +lean_object* x_1593; lean_object* x_1594; +lean_dec(x_2); +x_1593 = lean_ctor_get(x_1581, 1); +lean_inc(x_1593); +lean_dec(x_1581); +x_1594 = lean_ctor_get(x_1582, 0); +lean_inc(x_1594); +lean_dec(x_1582); +x_1564 = x_1594; +x_1565 = x_1593; +goto block_1579; +} +} +block_1665: +{ +lean_object* x_1598; lean_object* x_1599; +x_1598 = lean_unsigned_to_nat(0u); +lean_inc(x_5); +lean_inc(x_3); +x_1599 = l_Array_umapMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__5(x_1598, x_3, x_5, x_1597); +if (lean_obj_tag(x_1599) == 0) +{ +uint8_t x_1600; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1600 = !lean_is_exclusive(x_1599); +if (x_1600 == 0) +{ +lean_object* x_1601; lean_object* x_1602; +x_1601 = lean_ctor_get(x_1599, 0); +x_1602 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1601, x_1601, x_1598, x_1596); +lean_dec(x_1601); +lean_ctor_set(x_1599, 0, x_1602); +return x_1599; +} +else +{ +lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; +x_1603 = lean_ctor_get(x_1599, 0); +x_1604 = lean_ctor_get(x_1599, 1); +lean_inc(x_1604); +lean_inc(x_1603); +lean_dec(x_1599); +x_1605 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1603, x_1603, x_1598, x_1596); +lean_dec(x_1603); +x_1606 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1606, 0, x_1605); +lean_ctor_set(x_1606, 1, x_1604); +return x_1606; +} +} +else +{ +lean_object* x_1607; +x_1607 = lean_ctor_get(x_1599, 0); +lean_inc(x_1607); +if (lean_obj_tag(x_1607) == 2) +{ +lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; +x_1608 = lean_ctor_get(x_1599, 1); +lean_inc(x_1608); +lean_dec(x_1599); +x_1609 = l_Lean_Expr_mvarId_x21(x_1596); +x_1610 = lean_alloc_closure((void*)(l_Lean_Meta_isDelayedAssigned___boxed), 3, 1); +lean_closure_set(x_1610, 0, x_1609); +lean_inc(x_5); +x_1611 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1610, x_5, x_1608); +if (lean_obj_tag(x_1611) == 0) +{ +lean_object* x_1612; uint8_t x_1613; +x_1612 = lean_ctor_get(x_1611, 0); +lean_inc(x_1612); +x_1613 = lean_unbox(x_1612); +lean_dec(x_1612); +if (x_1613 == 0) +{ +lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; +x_1614 = lean_ctor_get(x_1611, 1); +lean_inc(x_1614); +lean_dec(x_1611); +x_1615 = lean_alloc_closure((void*)(l_Lean_Meta_inferType), 3, 1); +lean_closure_set(x_1615, 0, x_1); +lean_inc(x_5); +x_1616 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1615, x_5, x_1614); +if (lean_obj_tag(x_1616) == 0) +{ +lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; +x_1617 = lean_ctor_get(x_1616, 0); +lean_inc(x_1617); +x_1618 = lean_ctor_get(x_1616, 1); +lean_inc(x_1618); +lean_dec(x_1616); +lean_inc(x_5); +x_1619 = l_Lean_Meta_CheckAssignment_check___main(x_1617, x_5, x_1618); +if (lean_obj_tag(x_1619) == 0) +{ +lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; +x_1620 = lean_ctor_get(x_1619, 0); +lean_inc(x_1620); +x_1621 = lean_ctor_get(x_1619, 1); +lean_inc(x_1621); +lean_dec(x_1619); +x_1622 = lean_ctor_get(x_5, 2); +lean_inc(x_1622); +x_1623 = lean_ctor_get(x_1622, 1); +lean_inc(x_1623); +x_1624 = lean_ctor_get(x_1622, 4); +lean_inc(x_1624); +lean_dec(x_1622); +x_1625 = l_Lean_Meta_CheckAssignment_mkAuxMVar(x_1623, x_1624, x_1620, x_5, x_1621); +x_1626 = lean_ctor_get(x_1625, 0); +lean_inc(x_1626); +x_1627 = lean_ctor_get(x_1625, 1); +lean_inc(x_1627); +lean_dec(x_1625); +x_1628 = lean_array_get_size(x_3); +lean_dec(x_3); +lean_inc(x_1626); +x_1629 = lean_alloc_closure((void*)(l_Lean_Meta_CheckAssignment_assignToConstFun), 5, 3); +lean_closure_set(x_1629, 0, x_1596); +lean_closure_set(x_1629, 1, x_1628); +lean_closure_set(x_1629, 2, x_1626); +x_1630 = l_Lean_Meta_CheckAssignment_liftMetaM___rarg(x_1629, x_5, x_1627); +if (lean_obj_tag(x_1630) == 0) +{ +lean_object* x_1631; uint8_t x_1632; +x_1631 = lean_ctor_get(x_1630, 0); +lean_inc(x_1631); +x_1632 = lean_unbox(x_1631); +lean_dec(x_1631); +if (x_1632 == 0) +{ +uint8_t x_1633; +lean_dec(x_1626); +x_1633 = !lean_is_exclusive(x_1630); +if (x_1633 == 0) +{ +lean_object* x_1634; +x_1634 = lean_ctor_get(x_1630, 0); +lean_dec(x_1634); +lean_ctor_set_tag(x_1630, 1); +lean_ctor_set(x_1630, 0, x_1607); +return x_1630; +} +else +{ +lean_object* x_1635; lean_object* x_1636; +x_1635 = lean_ctor_get(x_1630, 1); +lean_inc(x_1635); +lean_dec(x_1630); +x_1636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1636, 0, x_1607); +lean_ctor_set(x_1636, 1, x_1635); +return x_1636; +} +} +else +{ +uint8_t x_1637; +lean_dec(x_1607); +x_1637 = !lean_is_exclusive(x_1630); +if (x_1637 == 0) +{ +lean_object* x_1638; +x_1638 = lean_ctor_get(x_1630, 0); +lean_dec(x_1638); +lean_ctor_set(x_1630, 0, x_1626); +return x_1630; +} +else +{ +lean_object* x_1639; lean_object* x_1640; +x_1639 = lean_ctor_get(x_1630, 1); +lean_inc(x_1639); +lean_dec(x_1630); +x_1640 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1640, 0, x_1626); +lean_ctor_set(x_1640, 1, x_1639); +return x_1640; +} +} +} +else +{ +uint8_t x_1641; +lean_dec(x_1626); +lean_dec(x_1607); +x_1641 = !lean_is_exclusive(x_1630); +if (x_1641 == 0) +{ +return x_1630; +} +else +{ +lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; +x_1642 = lean_ctor_get(x_1630, 0); +x_1643 = lean_ctor_get(x_1630, 1); +lean_inc(x_1643); +lean_inc(x_1642); +lean_dec(x_1630); +x_1644 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1644, 0, x_1642); +lean_ctor_set(x_1644, 1, x_1643); +return x_1644; +} +} +} +else +{ +uint8_t x_1645; +lean_dec(x_1607); +lean_dec(x_1596); +lean_dec(x_5); +lean_dec(x_3); +x_1645 = !lean_is_exclusive(x_1619); +if (x_1645 == 0) +{ +return x_1619; +} +else +{ +lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; +x_1646 = lean_ctor_get(x_1619, 0); +x_1647 = lean_ctor_get(x_1619, 1); +lean_inc(x_1647); +lean_inc(x_1646); +lean_dec(x_1619); +x_1648 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1648, 0, x_1646); +lean_ctor_set(x_1648, 1, x_1647); +return x_1648; +} +} +} +else +{ +uint8_t x_1649; +lean_dec(x_1607); +lean_dec(x_1596); +lean_dec(x_5); +lean_dec(x_3); +x_1649 = !lean_is_exclusive(x_1616); +if (x_1649 == 0) +{ +return x_1616; +} +else +{ +lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; +x_1650 = lean_ctor_get(x_1616, 0); +x_1651 = lean_ctor_get(x_1616, 1); +lean_inc(x_1651); +lean_inc(x_1650); +lean_dec(x_1616); +x_1652 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1652, 0, x_1650); +lean_ctor_set(x_1652, 1, x_1651); +return x_1652; +} +} +} +else +{ +uint8_t x_1653; +lean_dec(x_1596); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1653 = !lean_is_exclusive(x_1611); +if (x_1653 == 0) +{ +lean_object* x_1654; +x_1654 = lean_ctor_get(x_1611, 0); +lean_dec(x_1654); +lean_ctor_set_tag(x_1611, 1); +lean_ctor_set(x_1611, 0, x_1607); +return x_1611; +} +else +{ +lean_object* x_1655; lean_object* x_1656; +x_1655 = lean_ctor_get(x_1611, 1); +lean_inc(x_1655); +lean_dec(x_1611); +x_1656 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1656, 0, x_1607); +lean_ctor_set(x_1656, 1, x_1655); +return x_1656; +} +} +} +else +{ +uint8_t x_1657; +lean_dec(x_1607); +lean_dec(x_1596); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1657 = !lean_is_exclusive(x_1611); +if (x_1657 == 0) +{ +return x_1611; +} +else +{ +lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; +x_1658 = lean_ctor_get(x_1611, 0); +x_1659 = lean_ctor_get(x_1611, 1); +lean_inc(x_1659); +lean_inc(x_1658); +lean_dec(x_1611); +x_1660 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1660, 0, x_1658); +lean_ctor_set(x_1660, 1, x_1659); +return x_1660; +} +} +} +else +{ +uint8_t x_1661; +lean_dec(x_1596); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1661 = !lean_is_exclusive(x_1599); +if (x_1661 == 0) +{ +lean_object* x_1662; +x_1662 = lean_ctor_get(x_1599, 0); +lean_dec(x_1662); +return x_1599; +} +else +{ +lean_object* x_1663; lean_object* x_1664; +x_1663 = lean_ctor_get(x_1599, 1); +lean_inc(x_1663); +lean_dec(x_1599); +x_1664 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1664, 0, x_1607); +lean_ctor_set(x_1664, 1, x_1663); +return x_1664; } } } @@ -28450,229 +29399,144 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_back___at___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux___spec__1(lean_object* x_1) { _start: { -lean_object* x_9; uint8_t x_10; -x_9 = lean_array_get_size(x_4); -x_10 = lean_nat_dec_lt(x_6, x_9); +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(1u); +x_4 = lean_nat_sub(x_2, x_3); +lean_dec(x_2); +x_5 = l_Lean_Expr_Inhabited; +x_6 = lean_array_get(x_5, x_1, x_4); +lean_dec(x_4); +return x_6; +} +} +lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_3) == 5) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l_Array_back___at___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux___spec__1(x_2); +lean_inc(x_4); +x_9 = l_Lean_Meta_isExprDefEqAux(x_8, x_7, x_4, x_5); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unbox(x_10); +if (x_11 == 0) +{ +uint8_t x_12; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_9, 0); +lean_dec(x_13); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_dec(x_9); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_6); -lean_dec(x_5); -x_11 = l_Lean_Meta_isExprDefEqAux(x_1, x_2, x_7, x_8); -return x_11; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = l_Lean_Expr_Inhabited; -x_13 = lean_array_get(x_12, x_3, x_5); -x_14 = lean_array_fget(x_4, x_6); -lean_inc(x_7); -x_15 = l_Lean_Meta_isExprDefEqAux(x_13, x_14, x_7, x_8); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_10); +x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); -x_17 = lean_unbox(x_16); -if (x_17 == 0) -{ -uint8_t x_18; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_15, 0); +lean_dec(x_9); +x_17 = lean_array_get_size(x_2); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_17, x_18); +lean_dec(x_17); +x_20 = lean_unsigned_to_nat(0u); +x_21 = l___private_Init_Lean_Expr_2__mkAppRangeAux___main(x_19, x_2, x_20, x_1); lean_dec(x_19); -return x_15; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_16); -lean_ctor_set(x_21, 1, x_20); -return x_21; +x_22 = l_Lean_Meta_isExprDefEqAux(x_21, x_6, x_4, x_16); +return x_22; } } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_16); -x_22 = lean_ctor_get(x_15, 1); -lean_inc(x_22); -lean_dec(x_15); -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_add(x_5, x_23); -lean_dec(x_5); -x_25 = lean_nat_add(x_6, x_23); +uint8_t x_23; lean_dec(x_6); -x_5 = x_24; -x_6 = x_25; -x_8 = x_22; -goto _start; -} -} -else -{ -uint8_t x_27; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); +lean_dec(x_4); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_15); -if (x_27 == 0) +x_23 = !lean_is_exclusive(x_9); +if (x_23 == 0) { -return x_15; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_15, 0); -x_29 = lean_ctor_get(x_15, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_15); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -} -} -lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_4); -lean_dec(x_3); return x_9; } -} -lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_9; -} -} -lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApproxAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Lean_Expr_getAppNumArgsAux___main(x_3, x_6); -x_8 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_7); -x_9 = lean_mk_array(x_7, x_8); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_sub(x_7, x_10); -lean_dec(x_7); -lean_inc(x_3); -x_12 = l___private_Init_Lean_Expr_3__getAppArgsAux___main(x_3, x_9, x_11); -x_13 = l_Array_isEmpty___rarg(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_array_get_size(x_12); -x_15 = lean_array_get_size(x_2); -x_16 = lean_nat_dec_lt(x_14, x_15); -if (x_16 == 0) -{ -uint8_t x_17; -x_17 = lean_nat_dec_lt(x_15, x_14); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_15); -lean_dec(x_14); -x_18 = l_Lean_Expr_getAppFn___main(x_3); -lean_dec(x_3); -x_19 = l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox___main(x_1, x_18, x_2, x_12, x_6, x_6, x_4, x_5); -lean_dec(x_12); -return x_19; -} else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = l_Lean_Expr_getAppFn___main(x_3); -lean_dec(x_3); -x_21 = lean_nat_sub(x_14, x_15); -lean_dec(x_15); -lean_dec(x_14); -x_22 = l___private_Init_Lean_Expr_2__mkAppRangeAux___main(x_21, x_12, x_6, x_20); -x_23 = l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox___main(x_1, x_22, x_2, x_12, x_6, x_21, x_4, x_5); -lean_dec(x_12); -return x_23; +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_9, 0); +x_25 = lean_ctor_get(x_9, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_9); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} } } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_nat_sub(x_15, x_14); -lean_dec(x_14); -lean_dec(x_15); -x_25 = l___private_Init_Lean_Expr_2__mkAppRangeAux___main(x_24, x_2, x_6, x_1); -x_26 = l_Lean_Expr_getAppFn___main(x_3); -lean_dec(x_3); -x_27 = l___private_Init_Lean_Meta_ExprDefEq_13__isDefEqFOApprox___main(x_25, x_26, x_2, x_12, x_24, x_6, x_4, x_5); -lean_dec(x_12); -return x_27; -} -} -else -{ -uint8_t x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_12); +uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_28 = 0; -x_29 = lean_box(x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_5); -return x_30; +x_27 = 0; +x_28 = lean_box(x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_5); +return x_29; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApproxAux___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_back___at___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux___spec__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Array_back___at___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux___spec__1(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApproxAux(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___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* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___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; @@ -28688,7 +29552,7 @@ lean_inc(x_8); lean_inc(x_7); lean_ctor_set(x_5, 5, x_10); lean_inc(x_4); -x_19 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApproxAux(x_1, x_2, x_3, x_4, x_5); +x_19 = l___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux(x_1, x_2, x_3, x_4, x_5); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; uint8_t x_21; @@ -28876,7 +29740,7 @@ lean_ctor_set(x_53, 3, x_49); lean_ctor_set(x_53, 4, x_50); lean_ctor_set(x_53, 5, x_52); lean_inc(x_4); -x_61 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApproxAux(x_1, x_2, x_3, x_4, x_53); +x_61 = l___private_Init_Lean_Meta_ExprDefEq_13__processAssignmentFOApproxAux(x_1, x_2, x_3, x_4, x_53); if (lean_obj_tag(x_61) == 0) { lean_object* x_62; uint8_t x_63; @@ -29032,7 +29896,7 @@ return x_59; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__1() { _start: { lean_object* x_1; @@ -29040,17 +29904,17 @@ x_1 = lean_mk_string("foApprox"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___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_15__processAssignmentFOApprox___main___closed__1; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_33; uint8_t x_34; @@ -29066,7 +29930,7 @@ goto block_32; else { lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__2; +x_35 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__2; x_36 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_35, x_4, x_5); x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); @@ -29124,7 +29988,7 @@ lean_object* x_7; lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_7 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___spec__1(x_1, x_2, x_3, x_4, x_6); +x_7 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___spec__1(x_1, x_2, x_3, x_4, x_6); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; uint8_t x_9; @@ -29266,42 +30130,42 @@ return x_31; } } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___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_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___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: { lean_object* x_6; -x_6 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___spec__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox(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_14__processAssignmentFOApprox(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArgAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__simpAssignmentArgAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { switch (lean_obj_tag(x_1)) { @@ -29420,15 +30284,15 @@ return x_24; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArgAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_15__simpAssignmentArgAux(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_16__simpAssignmentArgAux___main(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Meta_ExprDefEq_15__simpAssignmentArgAux___main(x_1, x_2, x_3); return x_4; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__simpAssignmentArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -29438,7 +30302,7 @@ lean_dec(x_4); if (x_5 == 0) { lean_object* x_6; -x_6 = l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArgAux___main(x_1, x_2, x_3); +x_6 = l___private_Init_Lean_Meta_ExprDefEq_15__simpAssignmentArgAux___main(x_1, x_2, x_3); return x_6; } else @@ -29450,12 +30314,12 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArgAux___main(x_8, x_2, x_9); +x_10 = l___private_Init_Lean_Meta_ExprDefEq_15__simpAssignmentArgAux___main(x_8, x_2, x_9); return x_10; } } } -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) { +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -29598,7 +30462,7 @@ 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); +x_48 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -29936,7 +30800,7 @@ lean_ctor_set(x_124, 1, x_118); lean_ctor_set(x_124, 2, x_123); lean_ctor_set(x_124, 3, x_120); lean_ctor_set(x_124, 4, x_121); -x_125 = 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_124, x_35); +x_125 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_124, x_35); 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; lean_object* x_141; @@ -30150,7 +31014,7 @@ lean_ctor_set(x_171, 1, x_164); lean_ctor_set(x_171, 2, x_170); lean_ctor_set(x_171, 3, x_166); lean_ctor_set(x_171, 4, x_167); -x_172 = 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_171, x_35); +x_172 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_171, x_35); if (lean_obj_tag(x_172) == 0) { lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_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; @@ -30395,7 +31259,7 @@ lean_ctor_set(x_226, 1, x_219); lean_ctor_set(x_226, 2, x_225); lean_ctor_set(x_226, 3, x_221); lean_ctor_set(x_226, 4, x_222); -x_227 = 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_226, x_217); +x_227 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_226, x_217); if (lean_obj_tag(x_227) == 0) { lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; @@ -30619,7 +31483,7 @@ lean_ctor_set(x_278, 0, x_268); lean_ctor_set(x_278, 1, x_24); x_279 = lean_array_push(x_277, x_278); lean_ctor_set(x_8, 2, x_279); -x_280 = 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_270, x_8, x_267); +x_280 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_270, x_8, x_267); if (lean_obj_tag(x_280) == 0) { lean_object* x_281; lean_object* x_282; uint8_t x_283; @@ -30957,7 +31821,7 @@ lean_ctor_set(x_356, 1, x_350); lean_ctor_set(x_356, 2, x_355); lean_ctor_set(x_356, 3, x_352); lean_ctor_set(x_356, 4, x_353); -x_357 = 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_270, x_356, x_267); +x_357 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_270, x_356, x_267); if (lean_obj_tag(x_357) == 0) { lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; @@ -31171,7 +32035,7 @@ lean_ctor_set(x_403, 1, x_396); lean_ctor_set(x_403, 2, x_402); lean_ctor_set(x_403, 3, x_398); lean_ctor_set(x_403, 4, x_399); -x_404 = 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_270, x_403, x_267); +x_404 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_270, x_403, x_267); if (lean_obj_tag(x_404) == 0) { lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; @@ -31416,7 +32280,7 @@ lean_ctor_set(x_458, 1, x_451); lean_ctor_set(x_458, 2, x_457); lean_ctor_set(x_458, 3, x_453); lean_ctor_set(x_458, 4, x_454); -x_459 = 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_270, x_458, x_449); +x_459 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_270, x_458, x_449); if (lean_obj_tag(x_459) == 0) { lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; @@ -31672,7 +32536,7 @@ return x_503; } } } -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) { +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -31745,12 +32609,12 @@ return x_24; else { lean_object* x_25; -x_25 = l___private_Init_Lean_Meta_Basic_4__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); +x_25 = l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__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) { +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -31765,7 +32629,7 @@ 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); +x_18 = lean_alloc_closure((void*)(l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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); @@ -31868,7 +32732,7 @@ 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); +x_46 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -32206,7 +33070,7 @@ lean_ctor_set(x_122, 1, x_116); lean_ctor_set(x_122, 2, x_121); lean_ctor_set(x_122, 3, x_118); lean_ctor_set(x_122, 4, x_119); -x_123 = 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_122, x_33); +x_123 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_122, x_33); 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; @@ -32420,7 +33284,7 @@ lean_ctor_set(x_169, 1, x_162); lean_ctor_set(x_169, 2, x_168); lean_ctor_set(x_169, 3, x_164); lean_ctor_set(x_169, 4, x_165); -x_170 = 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_169, x_33); +x_170 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_169, x_33); if (lean_obj_tag(x_170) == 0) { lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_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; @@ -32665,7 +33529,7 @@ lean_ctor_set(x_224, 1, x_217); lean_ctor_set(x_224, 2, x_223); lean_ctor_set(x_224, 3, x_219); lean_ctor_set(x_224, 4, x_220); -x_225 = 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_224, x_215); +x_225 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_224, x_215); if (lean_obj_tag(x_225) == 0) { lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; @@ -32889,7 +33753,7 @@ lean_ctor_set(x_276, 0, x_266); lean_ctor_set(x_276, 1, x_22); x_277 = lean_array_push(x_275, x_276); lean_ctor_set(x_13, 2, x_277); -x_278 = 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_268, x_13, x_265); +x_278 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_268, x_13, x_265); if (lean_obj_tag(x_278) == 0) { lean_object* x_279; lean_object* x_280; uint8_t x_281; @@ -33227,7 +34091,7 @@ lean_ctor_set(x_354, 1, x_348); lean_ctor_set(x_354, 2, x_353); lean_ctor_set(x_354, 3, x_350); lean_ctor_set(x_354, 4, x_351); -x_355 = 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_268, x_354, x_265); +x_355 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_268, x_354, x_265); if (lean_obj_tag(x_355) == 0) { lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; @@ -33441,7 +34305,7 @@ lean_ctor_set(x_401, 1, x_394); lean_ctor_set(x_401, 2, x_400); lean_ctor_set(x_401, 3, x_396); lean_ctor_set(x_401, 4, x_397); -x_402 = 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_268, x_401, x_265); +x_402 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_268, x_401, x_265); if (lean_obj_tag(x_402) == 0) { lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; @@ -33686,7 +34550,7 @@ lean_ctor_set(x_456, 1, x_449); lean_ctor_set(x_456, 2, x_455); lean_ctor_set(x_456, 3, x_451); lean_ctor_set(x_456, 4, x_452); -x_457 = 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_268, x_456, x_447); +x_457 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_268, x_456, x_447); if (lean_obj_tag(x_457) == 0) { lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; @@ -33954,7 +34818,7 @@ return x_501; } } } -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) { +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -34097,7 +34961,7 @@ 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); +x_48 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -34435,7 +35299,7 @@ lean_ctor_set(x_124, 1, x_118); lean_ctor_set(x_124, 2, x_123); lean_ctor_set(x_124, 3, x_120); lean_ctor_set(x_124, 4, x_121); -x_125 = 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_124, x_35); +x_125 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_124, x_35); 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; lean_object* x_141; @@ -34649,7 +35513,7 @@ lean_ctor_set(x_171, 1, x_164); lean_ctor_set(x_171, 2, x_170); lean_ctor_set(x_171, 3, x_166); lean_ctor_set(x_171, 4, x_167); -x_172 = 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_171, x_35); +x_172 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_171, x_35); if (lean_obj_tag(x_172) == 0) { lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_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; @@ -34894,7 +35758,7 @@ lean_ctor_set(x_226, 1, x_219); lean_ctor_set(x_226, 2, x_225); lean_ctor_set(x_226, 3, x_221); lean_ctor_set(x_226, 4, x_222); -x_227 = 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_226, x_217); +x_227 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_226, x_217); if (lean_obj_tag(x_227) == 0) { lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; @@ -35118,7 +35982,7 @@ lean_ctor_set(x_278, 0, x_268); lean_ctor_set(x_278, 1, x_24); x_279 = lean_array_push(x_277, x_278); lean_ctor_set(x_8, 2, x_279); -x_280 = 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_270, x_8, x_267); +x_280 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_270, x_8, x_267); if (lean_obj_tag(x_280) == 0) { lean_object* x_281; lean_object* x_282; uint8_t x_283; @@ -35456,7 +36320,7 @@ lean_ctor_set(x_356, 1, x_350); lean_ctor_set(x_356, 2, x_355); lean_ctor_set(x_356, 3, x_352); lean_ctor_set(x_356, 4, x_353); -x_357 = 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_270, x_356, x_267); +x_357 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_270, x_356, x_267); if (lean_obj_tag(x_357) == 0) { lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; @@ -35670,7 +36534,7 @@ lean_ctor_set(x_403, 1, x_396); lean_ctor_set(x_403, 2, x_402); lean_ctor_set(x_403, 3, x_398); lean_ctor_set(x_403, 4, x_399); -x_404 = 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_270, x_403, x_267); +x_404 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_270, x_403, x_267); if (lean_obj_tag(x_404) == 0) { lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; @@ -35915,7 +36779,7 @@ lean_ctor_set(x_458, 1, x_451); lean_ctor_set(x_458, 2, x_457); lean_ctor_set(x_458, 3, x_453); lean_ctor_set(x_458, 4, x_454); -x_459 = 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_270, x_458, x_449); +x_459 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_270, x_458, x_449); if (lean_obj_tag(x_459) == 0) { lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; @@ -36171,7 +37035,7 @@ return x_503; } } } -lean_object* l___private_Init_Lean_Meta_Basic_4__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) { +lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -36240,7 +37104,7 @@ x_48 = lean_ctor_get(x_10, 1); lean_dec(x_48); lean_ctor_set(x_10, 1, x_6); lean_inc(x_7); -x_49 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_7, x_45, x_7, x_8, x_10, x_11); +x_49 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__5(x_1, x_2, x_3, x_7, x_45, x_7, x_8, x_10, x_11); lean_dec(x_45); lean_dec(x_7); lean_dec(x_2); @@ -36265,7 +37129,7 @@ lean_ctor_set(x_54, 2, x_51); lean_ctor_set(x_54, 3, x_52); lean_ctor_set(x_54, 4, x_53); lean_inc(x_7); -x_55 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(x_1, x_2, x_3, x_7, x_45, x_7, x_8, x_54, x_11); +x_55 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__5(x_1, x_2, x_3, x_7, x_45, x_7, x_8, x_54, x_11); lean_dec(x_45); lean_dec(x_7); lean_dec(x_2); @@ -36324,7 +37188,7 @@ 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); +x_16 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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); @@ -36335,7 +37199,7 @@ 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); +x_17 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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); @@ -36368,7 +37232,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_inc(x_7); -x_23 = 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_22, x_11); +x_23 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__3(x_1, x_2, x_3, x_7, x_13, x_7, x_8, x_22, x_11); lean_dec(x_13); lean_dec(x_7); lean_dec(x_2); @@ -36379,7 +37243,7 @@ else lean_object* x_24; lean_inc(x_8); lean_inc(x_7); -x_24 = 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_22, x_11); +x_24 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_22, x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -36389,7 +37253,7 @@ return x_24; } } } -lean_object* l___private_Init_Lean_Meta_Basic_5__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) { +lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___at___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -36477,7 +37341,7 @@ 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_4__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); +x_30 = l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; } } @@ -36564,7 +37428,7 @@ 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_4__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); +x_52 = l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__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; } } @@ -36598,7 +37462,7 @@ 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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__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; @@ -36669,7 +37533,7 @@ 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_5__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); +x_25 = l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__1(x_1, x_2, x_20, x_24, x_9, x_4, x_23); return x_25; } else @@ -36721,7 +37585,7 @@ 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_5__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); +x_36 = l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___at___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox___spec__1(x_1, x_2, x_30, x_34, x_35, x_4, x_33); return x_36; } else @@ -36783,62 +37647,62 @@ 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) { +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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); +x_10 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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) { +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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); +x_13 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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) { +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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); +x_16 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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) { +lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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); +x_10 = l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_4__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) { +lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__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_4__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); +x_13 = l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at___private_Init_Lean_Meta_ExprDefEq_17__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) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__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; @@ -36877,7 +37741,7 @@ return x_10; } } } -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) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__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; @@ -36913,7 +37777,7 @@ return x_11; } } } -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) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__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; @@ -36950,7 +37814,7 @@ return x_12; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -36960,7 +37824,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__2() { _start: { lean_object* x_1; @@ -36968,17 +37832,17 @@ x_1 = lean_mk_string("beforeMkLambda"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Meta_ExprDefEq_7__checkTypesAndAssign___closed__2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__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; @@ -37050,7 +37914,7 @@ else lean_object* x_149; lean_dec(x_8); lean_dec(x_2); -x_149 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_13); +x_149 = 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_149; } @@ -37111,7 +37975,7 @@ 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_15__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_27); +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; } @@ -37137,7 +38001,7 @@ goto block_118; else { lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__3; +x_121 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__3; x_122 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_121, x_6, x_29); x_123 = lean_ctor_get(x_122, 0); lean_inc(x_123); @@ -37204,7 +38068,7 @@ x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); x_35 = lean_unsigned_to_nat(0u); -x_36 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__1(x_2, x_5, x_5, x_8, x_35); +x_36 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___spec__1(x_2, x_5, x_5, x_8, x_35); lean_dec(x_8); if (x_36 == 0) { @@ -37257,7 +38121,7 @@ else { lean_object* x_48; lean_free_object(x_38); -x_48 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_42); +x_48 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_42); lean_dec(x_5); return x_48; } @@ -37266,7 +38130,7 @@ else { lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_free_object(x_38); -x_49 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__1; +x_49 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__1; x_50 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_49, x_6, x_42); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); @@ -37313,7 +38177,7 @@ lean_object* x_61; lean_object* x_62; x_61 = lean_ctor_get(x_50, 1); lean_inc(x_61); lean_dec(x_50); -x_62 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_61); +x_62 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_61); lean_dec(x_5); return x_62; } @@ -37375,7 +38239,7 @@ 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_15__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_78); +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; } @@ -37412,7 +38276,7 @@ return x_85; else { lean_object* x_86; -x_86 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_80); +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; } @@ -37420,7 +38284,7 @@ return x_86; else { 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__1; +x_87 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__1; x_88 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_87, x_6, x_80); x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); @@ -37463,7 +38327,7 @@ 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_15__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_96); +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; } @@ -37521,7 +38385,7 @@ lean_object* x_110; lean_object* x_111; x_110 = lean_ctor_get(x_104, 1); lean_inc(x_110); lean_dec(x_104); -x_111 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_110); +x_111 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_5, x_12, x_6, x_110); lean_dec(x_5); return x_111; } @@ -37612,7 +38476,7 @@ x_155 = lean_ctor_get(x_6, 0); lean_inc(x_155); x_156 = lean_array_fget(x_5, x_4); lean_inc(x_6); -x_157 = l___private_Init_Lean_Meta_ExprDefEq_17__simpAssignmentArg(x_156, x_6, x_7); +x_157 = l___private_Init_Lean_Meta_ExprDefEq_16__simpAssignmentArg(x_156, x_6, x_7); if (lean_obj_tag(x_157) == 0) { lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; @@ -37642,7 +38506,7 @@ if (x_203 == 0) { lean_object* x_204; uint8_t x_205; x_204 = lean_unsigned_to_nat(0u); -x_205 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__2(x_4, x_5, lean_box(0), x_158, x_161, x_202, x_204); +x_205 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___spec__2(x_4, x_5, lean_box(0), x_158, x_161, x_202, x_204); lean_dec(x_202); lean_dec(x_158); lean_dec(x_5); @@ -37710,7 +38574,7 @@ else lean_object* x_217; uint8_t x_218; lean_dec(x_202); x_217 = lean_unsigned_to_nat(0u); -x_218 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___spec__3(x_4, x_5, lean_box(0), x_158, lean_box(0), x_161, x_4, x_217); +x_218 = l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___spec__3(x_4, x_5, lean_box(0), x_158, lean_box(0), x_161, x_4, x_217); lean_dec(x_158); lean_dec(x_5); if (x_218 == 0) @@ -37806,7 +38670,7 @@ else lean_object* x_235; lean_object* x_236; x_235 = lean_array_get_size(x_161); lean_dec(x_161); -x_236 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_235, x_3, x_6, x_159); +x_236 = l___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox(x_1, x_235, x_3, x_6, x_159); return x_236; } } @@ -37838,7 +38702,7 @@ else lean_object* x_242; lean_object* x_243; x_242 = lean_array_get_size(x_161); lean_dec(x_161); -x_243 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_242, x_3, x_6, x_159); +x_243 = l___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox(x_1, x_242, x_3, x_6, x_159); return x_243; } } @@ -37848,7 +38712,7 @@ lean_object* x_244; lean_inc(x_6); lean_inc(x_3); lean_inc(x_1); -x_244 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(x_1, x_161, x_3, x_6, x_159); +x_244 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_161, x_3, x_6, x_159); if (lean_obj_tag(x_244) == 0) { lean_object* x_245; uint8_t x_246; @@ -37901,7 +38765,7 @@ lean_inc(x_256); lean_dec(x_244); x_257 = lean_array_get_size(x_161); lean_dec(x_161); -x_258 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_257, x_3, x_6, x_256); +x_258 = l___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox(x_1, x_257, x_3, x_6, x_256); return x_258; } } @@ -37998,7 +38862,7 @@ lean_object* x_168; lean_object* x_169; lean_dec(x_160); x_168 = lean_array_get_size(x_161); lean_dec(x_161); -x_169 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_168, x_3, x_6, x_159); +x_169 = l___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox(x_1, x_168, x_3, x_6, x_159); return x_169; } } @@ -38035,7 +38899,7 @@ lean_object* x_175; lean_object* x_176; lean_dec(x_160); x_175 = lean_array_get_size(x_161); lean_dec(x_161); -x_176 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_175, x_3, x_6, x_159); +x_176 = l___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox(x_1, x_175, x_3, x_6, x_159); return x_176; } } @@ -38046,7 +38910,7 @@ lean_dec(x_160); lean_inc(x_6); lean_inc(x_3); lean_inc(x_1); -x_177 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main(x_1, x_161, x_3, x_6, x_159); +x_177 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main(x_1, x_161, x_3, x_6, x_159); if (lean_obj_tag(x_177) == 0) { lean_object* x_178; uint8_t x_179; @@ -38099,7 +38963,7 @@ lean_inc(x_189); lean_dec(x_177); x_190 = lean_array_get_size(x_161); lean_dec(x_161); -x_191 = l___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox(x_1, x_190, x_3, x_6, x_189); +x_191 = l___private_Init_Lean_Meta_ExprDefEq_17__processConstApprox(x_1, x_190, x_3, x_6, x_189); return x_191; } } @@ -38195,11 +39059,11 @@ return x_270; } } } -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) { +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__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_19__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_18__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); @@ -38207,11 +39071,11 @@ x_7 = lean_box(x_6); return 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) { +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__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_19__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_18__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); @@ -38221,11 +39085,11 @@ x_9 = lean_box(x_8); return x_9; } } -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) { +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Meta_ExprDefEq_18__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_19__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_18__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); @@ -38235,15 +39099,15 @@ x_10 = lean_box(x_9); return x_10; } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_18__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_19__processAssignmentAux___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Meta_ExprDefEq_18__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_20__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_19__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_305; uint8_t x_306; @@ -38312,7 +39176,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_19__processAssignmentAux___main(x_12, x_15, x_2, x_17, x_23, x_3, x_16); +x_24 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main(x_12, x_15, x_2, x_17, x_23, x_3, x_16); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; uint8_t x_27; @@ -38771,7 +39635,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_19__processAssignmentAux___main(x_119, x_122, x_2, x_124, x_130, x_3, x_123); +x_131 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main(x_119, x_122, x_2, x_124, x_130, x_3, x_123); if (lean_obj_tag(x_131) == 0) { lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; 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; @@ -39065,7 +39929,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_19__processAssignmentAux___main(x_189, x_192, x_2, x_194, x_200, x_3, x_193); +x_201 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main(x_189, x_192, x_2, x_194, x_200, x_3, x_193); if (lean_obj_tag(x_201) == 0) { 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; @@ -39385,7 +40249,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_19__processAssignmentAux___main(x_251, x_254, x_2, x_256, x_262, x_3, x_255); +x_263 = l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main(x_251, x_254, x_2, x_256, x_262, x_3, x_255); if (lean_obj_tag(x_263) == 0) { lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; @@ -39493,7 +40357,7 @@ return x_287; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDeltaCandidate(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_20__isDeltaCandidate(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -39520,17 +40384,17 @@ return x_9; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__isDeltaCandidate___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_20__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_21__isDeltaCandidate(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Meta_ExprDefEq_20__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_22__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_21__isListLevelDefEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -39592,16 +40456,16 @@ return x_20; } } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_21__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_22__isListLevelDefEq(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Meta_ExprDefEq_21__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_23__isDefEqLeft___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__1() { _start: { lean_object* x_1; @@ -39609,17 +40473,17 @@ x_1 = lean_mk_string("delta"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_22__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_23__isDefEqLeft___closed__1; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_22__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_23__isDefEqLeft___closed__3() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__3() { _start: { lean_object* x_1; @@ -39627,17 +40491,17 @@ x_1 = lean_mk_string("unfoldLeft"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqLeft___closed__4() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_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_1 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_22__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; @@ -39709,7 +40573,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__isDefEqLeft___closed__4; +x_24 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__4; x_25 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_24, x_4, x_5); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); @@ -39851,7 +40715,7 @@ return x_64; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__1() { _start: { lean_object* x_1; @@ -39859,17 +40723,17 @@ x_1 = lean_mk_string("unfoldRight"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqRight___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -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_1 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_23__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; @@ -39941,7 +40805,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_24__isDefEqRight___closed__2; +x_24 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__2; x_25 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_24, x_4, x_5); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); @@ -40083,7 +40947,7 @@ return x_64; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__1() { _start: { lean_object* x_1; @@ -40091,17 +40955,17 @@ x_1 = lean_mk_string("unfoldLeftRight"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_25__isDefEqLeftRight___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -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_1 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2; +x_2 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_24__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; @@ -40173,7 +41037,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_25__isDefEqLeftRight___closed__2; +x_24 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__2; x_25 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_24, x_4, x_5); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); @@ -40315,7 +41179,7 @@ return x_64; } } } -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) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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) @@ -40337,7 +41201,7 @@ return x_10; } } } -lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__1() { +lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -40345,27 +41209,27 @@ x_1 = lean_mk_string("heuristic failed "); return x_1; } } -lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__2() { +lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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_26__tryHeuristic___spec__1___lambda__2___closed__1; +x_1 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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_26__tryHeuristic___spec__1___lambda__2___closed__3() { +lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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_26__tryHeuristic___spec__1___lambda__2___closed__2; +x_1 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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_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) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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) @@ -40433,7 +41297,7 @@ lean_inc(x_20); lean_dec(x_11); x_21 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_21, 0, x_2); -x_22 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_26__tryHeuristic___spec__1___lambda__2___closed__3; +x_22 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__3; x_23 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); @@ -40486,7 +41350,7 @@ return x_36; } } } -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) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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; @@ -40512,13 +41376,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_26__tryHeuristic___spec__1___lambda__1___boxed), 5, 2); +x_20 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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_26__tryHeuristic___spec__1___lambda__2___boxed), 6, 3); +x_22 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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); @@ -40878,7 +41742,7 @@ return x_76; } } } -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) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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; @@ -40904,13 +41768,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_26__tryHeuristic___spec__1___lambda__1___boxed), 5, 2); +x_20 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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_26__tryHeuristic___spec__1___lambda__2___boxed), 6, 3); +x_22 = lean_alloc_closure((void*)(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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); @@ -41270,7 +42134,7 @@ return x_76; } } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_25__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; @@ -41291,7 +42155,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_23__isDefEqLeft___closed__2; +x_179 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2; x_180 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_179, x_3, x_4); x_181 = lean_ctor_get(x_180, 0); lean_inc(x_181); @@ -41321,8 +42185,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_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); +x_14 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2; +x_15 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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; @@ -41616,8 +42480,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_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); +x_80 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2; +x_81 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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; @@ -41811,8 +42675,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_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); +x_124 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2; +x_125 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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; @@ -41974,9 +42838,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_23__isDefEqLeft___closed__2; +x_159 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2; lean_inc(x_3); -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); +x_160 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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; @@ -42044,31 +42908,31 @@ return x_174; } } } -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) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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_26__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_25__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_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) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__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_26__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_25__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_27__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_26__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; @@ -42130,15 +42994,15 @@ return x_16; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__unfold(lean_object* x_1) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_26__unfold(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_ExprDefEq_27__unfold___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_ExprDefEq_26__unfold___rarg), 5, 0); return x_2; } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_27__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)) { @@ -42154,7 +43018,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_22__isListLevelDefEq(x_6, x_7, x_4, x_5); +x_8 = l___private_Init_Lean_Meta_ExprDefEq_21__isListLevelDefEq(x_6, x_7, x_4, x_5); lean_dec(x_4); return x_8; } @@ -42180,7 +43044,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_26__tryHeuristic(x_2, x_3, x_4, x_5); +x_12 = l___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic(x_2, x_3, x_4, x_5); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; uint8_t x_14; @@ -42255,7 +43119,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_24__isDefEqRight(x_1, x_2, x_30, x_4, x_29); +x_31 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight(x_1, x_2, x_30, x_4, x_29); return x_31; } } @@ -42309,7 +43173,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_23__isDefEqLeft(x_1, x_37, x_3, x_4, x_40); +x_41 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft(x_1, x_37, x_3, x_4, x_40); return x_41; } else @@ -42322,7 +43186,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_25__isDefEqLeftRight(x_1, x_37, x_43, x_4, x_42); +x_44 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight(x_1, x_37, x_43, x_4, x_42); return x_44; } } @@ -42473,7 +43337,7 @@ return x_70; } } } -uint8_t l___private_Init_Lean_Meta_ExprDefEq_29__sameHeadSymbol(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Lean_Meta_ExprDefEq_28__sameHeadSymbol(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -42507,18 +43371,18 @@ return x_7; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__sameHeadSymbol___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_28__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_29__sameHeadSymbol(x_1, x_2); +x_3 = l___private_Init_Lean_Meta_ExprDefEq_28__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_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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__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; @@ -42583,7 +43447,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_24__isDefEqRight(x_22, x_3, x_21, x_5, x_20); +x_23 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight(x_22, x_3, x_21, x_5, x_20); return x_23; } } @@ -42621,7 +43485,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_29__sameHeadSymbol(x_29, x_4); +x_30 = l___private_Init_Lean_Meta_ExprDefEq_28__sameHeadSymbol(x_29, x_4); if (x_30 == 0) { lean_object* x_31; lean_object* x_32; @@ -42641,7 +43505,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_23__isDefEqLeft(x_31, x_29, x_4, x_5, x_34); +x_35 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft(x_31, x_29, x_4, x_5, x_34); return x_35; } else @@ -42654,12 +43518,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_29__sameHeadSymbol(x_3, x_37); +x_38 = l___private_Init_Lean_Meta_ExprDefEq_28__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_25__isDefEqLeftRight(x_31, x_29, x_37, x_5, x_36); +x_39 = l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight(x_31, x_29, x_37, x_5, x_36); return x_39; } else @@ -42668,7 +43532,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_24__isDefEqRight(x_40, x_3, x_37, x_5, x_36); +x_41 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight(x_40, x_3, x_37, x_5, x_36); return x_41; } } @@ -42706,7 +43570,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_23__isDefEqLeft(x_46, x_29, x_4, x_5, x_28); +x_47 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft(x_46, x_29, x_4, x_5, x_28); return x_47; } } @@ -42738,17 +43602,17 @@ return x_51; } } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_29__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_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Meta_ExprDefEq_29__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_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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__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; @@ -42772,7 +43636,7 @@ lean_dec(x_10); if (x_12 == 0) { lean_object* x_13; -x_13 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_13 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_13; } else @@ -42792,7 +43656,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_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_16); +x_17 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_16); return x_17; } else @@ -42806,7 +43670,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_24__isDefEqRight(x_20, x_3, x_19, x_5, x_18); +x_21 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight(x_20, x_3, x_19, x_5, x_18); return x_21; } } @@ -42856,7 +43720,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_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_28); +x_29 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_28); return x_29; } else @@ -42870,7 +43734,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_23__isDefEqLeft(x_32, x_31, x_4, x_5, x_30); +x_33 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft(x_32, x_31, x_4, x_5, x_30); return x_33; } } @@ -42904,29 +43768,29 @@ return x_37; else { lean_object* x_38; -x_38 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_38 = l___private_Init_Lean_Meta_ExprDefEq_29__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_30__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_39 = l___private_Init_Lean_Meta_ExprDefEq_29__unfoldComparingHeadsDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_39; } } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_30__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_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Meta_ExprDefEq_30__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_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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__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; @@ -42977,7 +43841,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_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_46); +x_47 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_46); return x_47; } else @@ -42990,7 +43854,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_23__isDefEqLeft(x_11, x_49, x_4, x_5, x_48); +x_50 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft(x_11, x_49, x_4, x_5, x_48); return x_50; } } @@ -43039,7 +43903,7 @@ if (x_15 == 0) { lean_object* x_17; lean_dec(x_14); -x_17 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_17 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_17; } else @@ -43060,7 +43924,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_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_20); +x_21 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_20); return x_21; } else @@ -43073,7 +43937,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_24__isDefEqRight(x_14, x_3, x_23, x_5, x_22); +x_24 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight(x_14, x_3, x_23, x_5, x_22); return x_24; } } @@ -43111,7 +43975,7 @@ if (x_10 == 0) { lean_object* x_29; lean_dec(x_14); -x_29 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_29 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_29; } else @@ -43120,7 +43984,7 @@ if (x_15 == 0) { lean_object* x_30; lean_dec(x_14); -x_30 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_30 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_30; } else @@ -43141,7 +44005,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_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_33); +x_34 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_33); return x_34; } else @@ -43154,7 +44018,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_24__isDefEqRight(x_14, x_3, x_36, x_5, x_35); +x_37 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight(x_14, x_3, x_36, x_5, x_35); return x_37; } } @@ -43192,22 +44056,22 @@ return x_41; else { lean_object* x_56; -x_56 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_56 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_56; } } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_31__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_32__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Meta_ExprDefEq_31__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_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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__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; @@ -43227,7 +44091,7 @@ if (x_11 == 0) { lean_object* x_12; lean_dec(x_8); -x_12 = l___private_Init_Lean_Meta_ExprDefEq_32__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_12 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_12; } else @@ -43248,7 +44112,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_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_15); +x_16 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_15); return x_16; } else @@ -43261,7 +44125,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_23__isDefEqLeft(x_8, x_18, x_4, x_5, x_17); +x_19 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft(x_8, x_18, x_4, x_5, x_17); return x_19; } } @@ -43314,7 +44178,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_31__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_26); +x_27 = l___private_Init_Lean_Meta_ExprDefEq_30__unfoldDefEq(x_1, x_2, x_3, x_4, x_5, x_26); return x_27; } else @@ -43327,7 +44191,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_24__isDefEqRight(x_10, x_3, x_29, x_5, x_28); +x_30 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight(x_10, x_3, x_29, x_5, x_28); return x_30; } } @@ -43362,28 +44226,28 @@ else { lean_object* x_35; lean_dec(x_10); -x_35 = l___private_Init_Lean_Meta_ExprDefEq_32__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_35 = l___private_Init_Lean_Meta_ExprDefEq_31__unfoldReducibeDefEq(x_1, x_2, x_3, x_4, x_5, x_6); return x_35; } } } } -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) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_32__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_33__unfoldNonProjFnDefEq(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Meta_ExprDefEq_32__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_34__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_33__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_21__isDeltaCandidate(x_5, x_3, x_4); +x_6 = l___private_Init_Lean_Meta_ExprDefEq_20__isDeltaCandidate(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -43394,7 +44258,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_21__isDeltaCandidate(x_9, x_3, x_8); +x_10 = l___private_Init_Lean_Meta_ExprDefEq_20__isDeltaCandidate(x_9, x_3, x_8); lean_dec(x_9); if (lean_obj_tag(x_10) == 0) { @@ -43492,7 +44356,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_24__isDefEqRight(x_34, x_1, x_33, x_3, x_32); +x_35 = l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight(x_34, x_1, x_33, x_3, x_32); return x_35; } } @@ -43586,7 +44450,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_23__isDefEqLeft(x_55, x_54, x_2, x_3, x_53); +x_56 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft(x_55, x_54, x_2, x_3, x_53); return x_56; } } @@ -43636,7 +44500,7 @@ if (x_66 == 0) { lean_object* x_67; lean_dec(x_64); -x_67 = l___private_Init_Lean_Meta_ExprDefEq_33__unfoldNonProjFnDefEq(x_62, x_63, x_1, x_2, x_3, x_61); +x_67 = l___private_Init_Lean_Meta_ExprDefEq_32__unfoldNonProjFnDefEq(x_62, x_63, x_1, x_2, x_3, x_61); lean_dec(x_63); lean_dec(x_62); return x_67; @@ -43646,7 +44510,7 @@ else lean_object* x_68; lean_dec(x_63); lean_dec(x_62); -x_68 = l___private_Init_Lean_Meta_ExprDefEq_28__unfoldBothDefEq(x_64, x_1, x_2, x_3, x_61); +x_68 = l___private_Init_Lean_Meta_ExprDefEq_27__unfoldBothDefEq(x_64, x_1, x_2, x_3, x_61); return x_68; } } @@ -43706,7 +44570,7 @@ return x_76; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_34__isAssigned(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 2) @@ -43737,16 +44601,16 @@ return x_11; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_34__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_35__isAssigned(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Meta_ExprDefEq_34__isAssigned(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_36__isDelayedAssignedHead(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isDelayedAssignedHead(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 2) @@ -43865,16 +44729,16 @@ return x_33; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_36__isDelayedAssignedHead___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_35__isDelayedAssignedHead___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_36__isDelayedAssignedHead(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Meta_ExprDefEq_35__isDelayedAssignedHead(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__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) @@ -43986,16 +44850,16 @@ return x_31; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_37__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_37__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_38__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) @@ -44105,16 +44969,16 @@ return x_30; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_38__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_38__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_39__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; @@ -44138,17 +45002,17 @@ return x_7; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_39__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_39__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_40__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; @@ -44208,7 +45072,7 @@ return x_17; } } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -44224,7 +45088,7 @@ lean_inc(x_7); lean_inc(x_6); lean_ctor_set(x_4, 5, x_9); lean_inc(x_3); -x_18 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_4); +x_18 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(x_1, x_2, x_3, x_4); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; uint8_t x_20; @@ -44412,7 +45276,7 @@ lean_ctor_set(x_52, 3, x_48); lean_ctor_set(x_52, 4, x_49); lean_ctor_set(x_52, 5, x_51); lean_inc(x_3); -x_60 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_52); +x_60 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(x_1, x_2, x_3, x_52); if (lean_obj_tag(x_60) == 0) { lean_object* x_61; uint8_t x_62; @@ -44568,7 +45432,7 @@ return x_58; } } } -lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -44584,7 +45448,7 @@ lean_inc(x_7); lean_inc(x_6); lean_ctor_set(x_4, 5, x_9); lean_inc(x_3); -x_18 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_4); +x_18 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(x_2, x_1, x_3, x_4); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; uint8_t x_20; @@ -44772,7 +45636,7 @@ lean_ctor_set(x_52, 3, x_48); lean_ctor_set(x_52, 4, x_49); lean_ctor_set(x_52, 5, x_51); lean_inc(x_3); -x_60 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_52); +x_60 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(x_2, x_1, x_3, x_52); if (lean_obj_tag(x_60) == 0) { lean_object* x_61; uint8_t x_62; @@ -44928,7 +45792,7 @@ return x_58; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -44938,7 +45802,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__2() { _start: { lean_object* x_1; @@ -44946,27 +45810,27 @@ x_1 = lean_mk_string(" [nonassignable]"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__2; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__2; 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_41__isDefEqQuick___main___closed__4() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__3; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__3; 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_41__isDefEqQuick___main___closed__5() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__5() { _start: { lean_object* x_1; @@ -44974,27 +45838,27 @@ x_1 = lean_mk_string(" [assignable]"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__6() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__5; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__5; 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_41__isDefEqQuick___main___closed__7() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__6; +x_1 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__6; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__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_397; @@ -45013,7 +45877,7 @@ lean_inc(x_422); lean_dec(x_2); lean_inc(x_3); lean_inc(x_421); -x_423 = l___private_Init_Lean_Meta_ExprDefEq_40__isLetFVar(x_421, x_3, x_4); +x_423 = l___private_Init_Lean_Meta_ExprDefEq_39__isLetFVar(x_421, x_3, x_4); if (lean_obj_tag(x_423) == 0) { lean_object* x_424; uint8_t x_425; @@ -45028,7 +45892,7 @@ x_426 = lean_ctor_get(x_423, 1); lean_inc(x_426); lean_dec(x_423); lean_inc(x_422); -x_427 = l___private_Init_Lean_Meta_ExprDefEq_40__isLetFVar(x_422, x_3, x_426); +x_427 = l___private_Init_Lean_Meta_ExprDefEq_39__isLetFVar(x_422, x_3, x_426); if (lean_obj_tag(x_427) == 0) { lean_object* x_428; uint8_t x_429; @@ -45425,12 +46289,12 @@ if (x_6 == 0) { uint8_t x_7; lean_inc(x_1); -x_7 = l___private_Init_Lean_Meta_ExprDefEq_39__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_39__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; @@ -45476,7 +46340,7 @@ block_380: 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_35__isAssigned(x_9, x_3, x_4); +x_13 = l___private_Init_Lean_Meta_ExprDefEq_34__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); @@ -45488,7 +46352,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_35__isAssigned(x_10, x_3, x_16); +x_17 = l___private_Init_Lean_Meta_ExprDefEq_34__isAssigned(x_10, x_3, x_16); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_unbox(x_18); @@ -45501,7 +46365,7 @@ lean_inc(x_20); lean_dec(x_17); lean_inc(x_1); lean_inc(x_9); -x_21 = l___private_Init_Lean_Meta_ExprDefEq_36__isDelayedAssignedHead(x_9, x_1, x_3, x_20); +x_21 = l___private_Init_Lean_Meta_ExprDefEq_35__isDelayedAssignedHead(x_9, x_1, x_3, x_20); x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_unbox(x_22); @@ -45514,7 +46378,7 @@ lean_inc(x_24); lean_dec(x_21); lean_inc(x_2); lean_inc(x_10); -x_25 = l___private_Init_Lean_Meta_ExprDefEq_36__isDelayedAssignedHead(x_10, x_2, x_3, x_24); +x_25 = l___private_Init_Lean_Meta_ExprDefEq_35__isDelayedAssignedHead(x_10, x_2, x_3, x_24); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); @@ -45526,7 +46390,7 @@ if (x_342 == 0) { lean_object* x_343; lean_inc(x_9); -x_343 = l___private_Init_Lean_Meta_ExprDefEq_37__isSynthetic(x_9, x_3, x_27); +x_343 = l___private_Init_Lean_Meta_ExprDefEq_36__isSynthetic(x_9, x_3, x_27); if (lean_obj_tag(x_343) == 0) { lean_object* x_344; uint8_t x_345; @@ -45648,7 +46512,7 @@ if (x_28 == 0) { lean_object* x_319; lean_inc(x_10); -x_319 = l___private_Init_Lean_Meta_ExprDefEq_37__isSynthetic(x_10, x_3, x_29); +x_319 = l___private_Init_Lean_Meta_ExprDefEq_36__isSynthetic(x_10, x_3, x_29); if (lean_obj_tag(x_319) == 0) { lean_object* x_320; uint8_t x_321; @@ -45769,7 +46633,7 @@ if (x_30 == 0) { lean_object* x_32; lean_inc(x_9); -x_32 = l___private_Init_Lean_Meta_ExprDefEq_38__isAssignable(x_9, x_3, x_31); +x_32 = l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable(x_9, x_3, x_31); if (lean_obj_tag(x_32) == 0) { lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; @@ -45786,7 +46650,7 @@ if (lean_is_exclusive(x_32)) { x_35 = lean_box(0); } lean_inc(x_10); -x_36 = l___private_Init_Lean_Meta_ExprDefEq_38__isAssignable(x_10, x_3, x_34); +x_36 = l___private_Init_Lean_Meta_ExprDefEq_37__isAssignable(x_10, x_3, x_34); if (lean_obj_tag(x_36) == 0) { lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_262; lean_object* x_263; lean_object* x_298; uint8_t x_299; @@ -45931,7 +46795,7 @@ lean_dec(x_48); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_49 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___spec__1(x_1, x_2, x_3, x_47); +x_49 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___spec__1(x_1, x_2, x_3, x_47); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; uint8_t x_51; @@ -45945,7 +46809,7 @@ lean_object* x_52; lean_object* x_53; x_52 = lean_ctor_get(x_49, 1); lean_inc(x_52); lean_dec(x_49); -x_53 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_52); +x_53 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(x_2, x_1, x_3, x_52); if (lean_obj_tag(x_53) == 0) { uint8_t x_54; @@ -46067,7 +46931,7 @@ lean_dec(x_82); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_83 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___spec__2(x_1, x_2, x_3, x_47); +x_83 = l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___spec__2(x_1, x_2, x_3, x_47); if (lean_obj_tag(x_83) == 0) { lean_object* x_84; uint8_t x_85; @@ -46081,7 +46945,7 @@ lean_object* x_86; lean_object* x_87; x_86 = lean_ctor_get(x_83, 1); lean_inc(x_86); lean_dec(x_83); -x_87 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_86); +x_87 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(x_1, x_2, x_3, x_86); if (lean_obj_tag(x_87) == 0) { uint8_t x_88; @@ -46293,7 +47157,7 @@ goto block_171; else { lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; -x_175 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__1; +x_175 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__1; x_176 = l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_check___spec__3(x_175, x_3, x_40); x_177 = lean_ctor_get(x_176, 0); lean_inc(x_177); @@ -46357,7 +47221,7 @@ lean_ctor_set(x_150, 0, x_2); x_151 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_151, 0, x_149); lean_ctor_set(x_151, 1, x_150); -x_152 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__1; +x_152 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__1; x_153 = l_Lean_MonadTracerAdapter_addTrace___at_Lean_Meta_isTypeCorrect___spec__1(x_152, x_151, x_3, x_139); x_154 = !lean_is_exclusive(x_153); if (x_154 == 0) @@ -46453,7 +47317,7 @@ lean_dec(x_35); lean_dec(x_33); lean_dec(x_10); lean_dec(x_9); -x_241 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_1, x_2, x_3, x_40); +x_241 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(x_1, x_2, x_3, x_40); if (lean_obj_tag(x_241) == 0) { uint8_t x_242; @@ -46528,7 +47392,7 @@ lean_dec(x_37); lean_dec(x_35); lean_dec(x_10); lean_dec(x_9); -x_204 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_40); +x_204 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(x_2, x_1, x_3, x_40); if (lean_obj_tag(x_204) == 0) { uint8_t x_205; @@ -46605,7 +47469,7 @@ lean_dec(x_37); lean_dec(x_35); lean_dec(x_10); lean_dec(x_9); -x_222 = l___private_Init_Lean_Meta_ExprDefEq_20__processAssignment(x_2, x_1, x_3, x_40); +x_222 = l___private_Init_Lean_Meta_ExprDefEq_19__processAssignment(x_2, x_1, x_3, x_40); if (lean_obj_tag(x_222) == 0) { uint8_t x_223; @@ -46851,7 +47715,7 @@ x_266 = lean_unbox(x_33); if (x_266 == 0) { lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; -x_267 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__4; +x_267 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__4; x_268 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_268, 0, x_264); lean_ctor_set(x_268, 1, x_267); @@ -46880,7 +47744,7 @@ goto block_261; else { lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -x_277 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__7; +x_277 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__7; x_278 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_278, 0, x_271); lean_ctor_set(x_278, 1, x_277); @@ -46896,7 +47760,7 @@ goto block_261; else { lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; -x_282 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__7; +x_282 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__7; x_283 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_283, 0, x_264); lean_ctor_set(x_283, 1, x_282); @@ -46911,7 +47775,7 @@ x_287 = lean_unbox(x_37); if (x_287 == 0) { lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; -x_288 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__4; +x_288 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__4; x_289 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_289, 0, x_286); lean_ctor_set(x_289, 1, x_288); @@ -47202,15 +48066,15 @@ return x_419; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_41__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_41__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_42__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; @@ -47736,7 +48600,7 @@ return x_29; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__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; @@ -47771,7 +48635,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_41__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; @@ -47893,7 +48757,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_41__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; @@ -48068,7 +48932,7 @@ return x_72; } } } -lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__1() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__1() { _start: { lean_object* x_1; @@ -48076,7 +48940,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_44__unstuckMVar___closed__2() { +lean_object* _init_l___private_Init_Lean_Meta_ExprDefEq_43__unstuckMVar___closed__2() { _start: { lean_object* x_1; @@ -48084,13 +48948,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_whnf), 3, 0); return x_1; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_44__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_Lean_MetavarContext_MkBinding_mkBinding___closed__1; -x_7 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__1; -x_8 = l___private_Init_Lean_Meta_ExprDefEq_44__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); @@ -48213,7 +49077,7 @@ return x_33; } } } -lean_object* l_Lean_WHNF_isQuotRecStuck___at___private_Init_Lean_Meta_ExprDefEq_45__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; @@ -48276,7 +49140,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_45__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 @@ -48306,7 +49170,7 @@ return x_19; } } } -lean_object* l_Lean_WHNF_isRecStuck___at___private_Init_Lean_Meta_ExprDefEq_45__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; @@ -48344,7 +49208,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_45__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 @@ -48384,7 +49248,7 @@ return x_22; } } } -lean_object* l_Lean_WHNF_getStuckMVar___main___at___private_Init_Lean_Meta_ExprDefEq_45__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)) { @@ -48488,7 +49352,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_45__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); @@ -48512,7 +49376,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_45__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); @@ -48658,13 +49522,13 @@ return x_66; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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_45__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; @@ -48820,13 +49684,13 @@ return x_40; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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_45__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; @@ -48839,7 +49703,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_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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 @@ -48867,7 +49731,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_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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 @@ -48943,38 +49807,38 @@ return x_29; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__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_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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_45__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_45__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_45__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_45__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); return x_6; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___main(lean_object* x_1) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet___main(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 8) @@ -48989,8 +49853,8 @@ goto _start; } else { -lean_inc(x_2); -return x_2; +lean_inc(x_1); +return x_1; } } else @@ -49000,28 +49864,28 @@ return x_1; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___main___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet___main___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___main(x_1); +x_2 = l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet___main(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet(lean_object* x_1) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___main(x_1); +x_2 = l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet___main(x_1); return x_2; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet(x_1); +x_2 = l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet(x_1); lean_dec(x_1); return x_2; } @@ -49436,7 +50300,7 @@ return x_62; } } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_43__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; @@ -49479,7 +50343,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_41__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; @@ -49648,7 +50512,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_34__isDefEqDelta(x_6, x_9, x_3, x_83); +x_84 = l___private_Init_Lean_Meta_ExprDefEq_33__isDefEqDelta(x_6, x_9, x_3, x_83); if (lean_obj_tag(x_84) == 0) { lean_object* x_85; uint8_t x_86; @@ -49939,7 +50803,7 @@ else lean_object* x_44; lean_dec(x_33); lean_inc(x_6); -x_44 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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; } } @@ -49968,7 +50832,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_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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 @@ -50028,7 +50892,7 @@ else { lean_object* x_59; lean_inc(x_6); -x_59 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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; } } @@ -50037,7 +50901,7 @@ default: lean_object* x_60; lean_dec(x_33); lean_inc(x_6); -x_60 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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; } } @@ -50100,7 +50964,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_41__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; @@ -50269,7 +51133,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_34__isDefEqDelta(x_6, x_9, x_3, x_205); +x_206 = l___private_Init_Lean_Meta_ExprDefEq_33__isDefEqDelta(x_6, x_9, x_3, x_205); if (lean_obj_tag(x_206) == 0) { lean_object* x_207; uint8_t x_208; @@ -50560,7 +51424,7 @@ else lean_object* x_166; lean_dec(x_155); lean_inc(x_6); -x_166 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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; } } @@ -50589,7 +51453,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_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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 @@ -50649,7 +51513,7 @@ else { lean_object* x_181; lean_inc(x_6); -x_181 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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; } } @@ -50658,7 +51522,7 @@ default: lean_object* x_182; lean_dec(x_155); lean_inc(x_6); -x_182 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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; } } @@ -50797,7 +51661,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_34__isDefEqDelta(x_6, x_9, x_3, x_305); +x_306 = l___private_Init_Lean_Meta_ExprDefEq_33__isDefEqDelta(x_6, x_9, x_3, x_305); if (lean_obj_tag(x_306) == 0) { lean_object* x_307; uint8_t x_308; @@ -51088,7 +51952,7 @@ else lean_object* x_266; lean_dec(x_11); lean_inc(x_6); -x_266 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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; } } @@ -51117,7 +51981,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_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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 @@ -51177,7 +52041,7 @@ else { lean_object* x_281; lean_inc(x_6); -x_281 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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; } } @@ -51186,7 +52050,7 @@ default: lean_object* x_282; lean_dec(x_11); lean_inc(x_6); -x_282 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__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; } } @@ -51279,8 +52143,8 @@ lean_object* l_Lean_Meta_isExprDefEqAuxImpl(lean_object* x_1, lean_object* x_2, _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_58; uint8_t x_59; -x_5 = l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___main(x_1); -x_6 = l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___main(x_2); +x_5 = l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet___main(x_1); +x_6 = l___private_Init_Lean_Meta_ExprDefEq_45__consumeLet___main(x_2); x_58 = lean_ctor_get(x_4, 4); lean_inc(x_58); x_59 = lean_ctor_get_uint8(x_58, sizeof(void*)*1); @@ -51341,7 +52205,7 @@ lean_object* x_8; lean_inc(x_3); lean_inc(x_6); lean_inc(x_5); -x_8 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main(x_5, x_6, x_3, x_7); +x_8 = l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main(x_5, x_6, x_3, x_7); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; uint8_t x_10; @@ -51421,7 +52285,7 @@ lean_dec(x_8); lean_inc(x_3); lean_inc(x_6); lean_inc(x_5); -x_28 = l___private_Init_Lean_Meta_ExprDefEq_42__isDefEqProofIrrel(x_5, x_6, x_3, x_27); +x_28 = l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqProofIrrel(x_5, x_6, x_3, x_27); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; uint8_t x_30; @@ -51498,7 +52362,7 @@ lean_object* x_47; lean_object* x_48; x_47 = lean_ctor_get(x_28, 1); lean_inc(x_47); lean_dec(x_28); -x_48 = l___private_Init_Lean_Meta_ExprDefEq_43__isDefEqWHNF___at_Lean_Meta_isExprDefEqAuxImpl___spec__2(x_5, x_6, x_3, x_47); +x_48 = l___private_Init_Lean_Meta_ExprDefEq_42__isDefEqWHNF___at_Lean_Meta_isExprDefEqAuxImpl___spec__2(x_5, x_6, x_3, x_47); return x_48; } } @@ -51597,7 +52461,7 @@ x_4 = lean_io_ref_set(x_2, x_3, x_1); return x_4; } } -lean_object* l___private_Init_Lean_Meta_ExprDefEq_47__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -51609,7 +52473,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__2; +x_5 = l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__2; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -51617,7 +52481,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_23__isDefEqLeft___closed__2; +x_8 = l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2; x_9 = l_Lean_registerTraceClass(x_8, x_7); if (lean_obj_tag(x_9) == 0) { @@ -51813,56 +52677,56 @@ l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__9 = _i lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__9); l_Lean_Meta_checkAssignmentAux___closed__1 = _init_l_Lean_Meta_checkAssignmentAux___closed__1(); lean_mark_persistent(l_Lean_Meta_checkAssignmentAux___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_15__processAssignmentFOApprox___main___closed__2); -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_19__processAssignmentAux___main___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_19__processAssignmentAux___main___closed__3); -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_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_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_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_41__isDefEqQuick___main___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__2); -l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__3); -l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__4 = _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__4); -l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__5 = _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__5); -l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__6 = _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__6); -l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__7 = _init_l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_41__isDefEqQuick___main___closed__7); -l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__1); -l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApprox___main___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_18__processAssignmentAux___main___closed__3); +l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__3); +l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__4 = _init_l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_22__isDefEqLeft___closed__4); +l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_23__isDefEqRight___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_24__isDefEqLeftRight___closed__2); +l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__1 = _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__1); +l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__2 = _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__2); +l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__3 = _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_25__tryHeuristic___spec__1___lambda__2___closed__3); +l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__1); +l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__2); +l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__3 = _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__3); +l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__4 = _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__4); +l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__5 = _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__5); +l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__6 = _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__6); +l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__7 = _init_l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_40__isDefEqQuick___main___closed__7); +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_setIsExprDefEqAuxRef___closed__1 = _init_l_Lean_Meta_setIsExprDefEqAuxRef___closed__1(); @@ -51870,7 +52734,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_47__regTraceClasses(lean_io_mk_world()); +res = l___private_Init_Lean_Meta_ExprDefEq_46__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/Parser/Command.c b/stage0/stdlib/Init/Lean/Parser/Command.c index c76ae2a771..33c4e38d8b 100644 --- a/stage0/stdlib/Init/Lean/Parser/Command.c +++ b/stage0/stdlib/Init/Lean/Parser/Command.c @@ -14,6 +14,7 @@ extern "C" { #endif lean_object* l_Lean_Parser_Command_attrInstance___closed__6; +lean_object* l_Lean_Parser_Command_check__failure___closed__5; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_example___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_init__quot___closed__3; @@ -36,6 +37,7 @@ lean_object* l_Lean_Parser_Command_extends___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_structure___closed__3; lean_object* l_Lean_Parser_Command_def___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_constant___closed__6; +lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_visibility___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__8; lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__1; @@ -123,6 +125,7 @@ lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Command_structFields_ lean_object* l_Lean_Parser_Command_introRule___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_init__quot___closed__5; lean_object* l_Lean_Parser_Command_extends___elambda__1___closed__8; +lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_synth___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_unsafe___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__7; @@ -264,6 +267,7 @@ lean_object* l_Lean_Parser_Command_export___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_variables___closed__1; lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__5; +lean_object* l_Lean_Parser_Command_check__failure___closed__3; lean_object* l_Lean_Parser_Command_instance___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_docComment___closed__2; lean_object* l_Lean_Parser_regBuiltinCommandParserAttr___closed__2; @@ -421,6 +425,7 @@ lean_object* l_Lean_Parser_Command_declModifiers___closed__14; lean_object* l_Lean_Parser_Command_constant___closed__2; lean_object* l_Lean_Parser_Command_export___closed__9; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); +lean_object* l_Lean_Parser_Command_check__failure___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__2; lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); lean_object* l_Lean_Parser_Command_example___elambda__1(lean_object*, lean_object*); @@ -455,6 +460,7 @@ lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_structExplicitBinder; lean_object* l_Lean_Parser_Command_axiom___closed__7; lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__3; +lean_object* l_Lean_Parser_Command_check__failure___closed__4; lean_object* l_Lean_Parser_Command_structureTk___elambda__1___closed__5; uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Command_exit(lean_object*); @@ -481,6 +487,7 @@ lean_object* l_Lean_Parser_Command_classInductive___closed__3; lean_object* l_Lean_Parser_Command_optDeclSig; lean_object* l_Lean_Parser_Command_def___closed__3; lean_object* l_Lean_Parser_Command_extends___elambda__1(lean_object*, lean_object*); +lean_object* l___regBuiltinParser_Lean_Parser_Command_check__failure(lean_object*); lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_section___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_introRule___closed__4; @@ -543,6 +550,7 @@ lean_object* l_Lean_Parser_Command_visibility___closed__3; lean_object* l_Lean_Parser_Command_unsafe___closed__1; lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_partial___closed__5; +lean_object* l_Lean_Parser_Command_check__failure___closed__1; lean_object* l_Lean_Parser_Command_classTk___closed__2; lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__9; extern lean_object* l_Lean_Parser_rawIdent; @@ -587,6 +595,7 @@ lean_object* l_Lean_Parser_Command_axiom___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Command_universe(lean_object*); +lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_instance___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_partial___closed__1; lean_object* l_Lean_Parser_Command_abbrev___elambda__1___closed__3; @@ -792,11 +801,13 @@ extern lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed_ lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_private___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_declModifiers___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Command_check__failure___closed__6; lean_object* l_Lean_Parser_Command_constant___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_attrInstance___elambda__1(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_explicitUniv___elambda__1___spec__2___closed__4; lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_structImplicitBinder___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_structCtor___closed__3; @@ -811,10 +822,12 @@ lean_object* l_Lean_Parser_Command_openSimple___elambda__1(lean_object*, lean_ob lean_object* l_Lean_Parser_Command_structureTk___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_declSig___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_universe___elambda__1___closed__1; +lean_object* l_Lean_Parser_Command_check__failure___closed__2; lean_object* l_Lean_Parser_Command_declaration; lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__6; lean_object* l_Lean_Parser_Command_declId___closed__7; lean_object* l_Lean_Parser_Command_openOnly___elambda__1___closed__3; +lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__8; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Command_openRenaming___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_introRule___closed__6; @@ -862,6 +875,7 @@ lean_object* l_Lean_Parser_Command_instance___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_noncomputable___closed__4; lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_stxQuot(lean_object*); +lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_openOnly___closed__6; lean_object* l_Lean_Parser_Command_structFields___closed__7; lean_object* l_Lean_Parser_Command_export___elambda__1___closed__9; @@ -897,6 +911,7 @@ lean_object* l_Lean_Parser_Command_attrArg___closed__1; lean_object* l_Lean_Parser_Command_partial___closed__2; lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_openHiding___closed__1; +lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_def___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_export___elambda__1___closed__2; @@ -1041,6 +1056,8 @@ lean_object* l_Lean_Parser_Command_exit___closed__2; lean_object* l_Lean_Parser_Command_openOnly___closed__4; lean_object* l_Lean_Parser_Command_noncomputable___closed__2; lean_object* l_Lean_Parser_Command_theorem___elambda__1___closed__3; +lean_object* l_Lean_Parser_Command_check__failure; +lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_open___closed__8; lean_object* l_Lean_Parser_Command_unsafe___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__8; @@ -1081,6 +1098,7 @@ lean_object* l_Lean_Parser_Term_stxQuot___closed__9; lean_object* l_Lean_Parser_Command_open___closed__9; lean_object* l_Lean_Parser_Command_example___closed__2; lean_object* l_Lean_Parser_Command_instance___closed__7; +lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_attribute___closed__4; lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_declSig; @@ -25734,6 +25752,416 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } +lean_object* _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("check_failure"); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_docComment___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_check__failure___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_check__failure___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_check__failure___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_check__failure___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("#check_failure "); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_check__failure___elambda__1___closed__5; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Command_check__failure___elambda__1___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_check__failure___elambda__1___closed__7; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Command_check__failure___elambda__1___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_Parser_Command_check__failure___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Command_check__failure___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_4); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +lean_inc(x_1); +x_19 = l_Lean_Parser_tokenFn(x_1, x_2); +x_20 = lean_ctor_get(x_19, 3); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = l_Array_back___at_Lean_Parser_checkStackTopFn___spec__1(x_21); +lean_dec(x_21); +if (lean_obj_tag(x_22) == 2) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = l_Lean_Parser_Command_check__failure___elambda__1___closed__6; +x_25 = lean_string_dec_eq(x_23, x_24); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = l_Lean_Parser_Command_check__failure___elambda__1___closed__9; +x_27 = l_Lean_Parser_ParserState_mkErrorsAt(x_19, x_26, x_18); +x_8 = x_27; +goto block_17; +} +else +{ +lean_dec(x_18); +x_8 = x_19; +goto block_17; +} +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_22); +x_28 = l_Lean_Parser_Command_check__failure___elambda__1___closed__9; +x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_19, x_28, x_18); +x_8 = x_29; +goto block_17; +} +} +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_20); +x_30 = l_Lean_Parser_Command_check__failure___elambda__1___closed__9; +x_31 = l_Lean_Parser_ParserState_mkErrorsAt(x_19, x_30, x_18); +x_8 = x_31; +goto block_17; +} +block_17: +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 3); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = l_Lean_Parser_termParser___closed__2; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Parser_categoryParser___elambda__1(x_10, x_11, x_1, x_8); +x_13 = l_Lean_Parser_Command_check__failure___elambda__1___closed__2; +x_14 = l_Lean_Parser_ParserState_mkNode(x_12, x_13, x_7); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_9); +lean_dec(x_1); +x_15 = l_Lean_Parser_Command_check__failure___elambda__1___closed__2; +x_16 = l_Lean_Parser_ParserState_mkNode(x_8, x_15, x_7); +return x_16; +} +} +} +else +{ +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_2, 0); +lean_inc(x_32); +x_33 = lean_array_get_size(x_32); +lean_dec(x_32); +x_34 = lean_ctor_get(x_2, 1); +lean_inc(x_34); +lean_inc(x_1); +x_35 = lean_apply_2(x_4, x_1, x_2); +x_36 = lean_ctor_get(x_35, 3); +lean_inc(x_36); +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_1); +return x_35; +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +x_39 = lean_nat_dec_eq(x_38, x_34); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_dec(x_37); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_1); +return x_35; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_55; lean_object* x_56; +lean_inc(x_34); +x_40 = l_Lean_Parser_ParserState_restore(x_35, x_33, x_34); +lean_dec(x_33); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_array_get_size(x_41); +lean_dec(x_41); +lean_inc(x_1); +x_55 = l_Lean_Parser_tokenFn(x_1, x_40); +x_56 = lean_ctor_get(x_55, 3); +lean_inc(x_56); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +lean_inc(x_57); +x_58 = l_Array_back___at_Lean_Parser_checkStackTopFn___spec__1(x_57); +lean_dec(x_57); +if (lean_obj_tag(x_58) == 2) +{ +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = l_Lean_Parser_Command_check__failure___elambda__1___closed__6; +x_61 = lean_string_dec_eq(x_59, x_60); +lean_dec(x_59); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = l_Lean_Parser_Command_check__failure___elambda__1___closed__9; +lean_inc(x_34); +x_63 = l_Lean_Parser_ParserState_mkErrorsAt(x_55, x_62, x_34); +x_43 = x_63; +goto block_54; +} +else +{ +x_43 = x_55; +goto block_54; +} +} +else +{ +lean_object* x_64; lean_object* x_65; +lean_dec(x_58); +x_64 = l_Lean_Parser_Command_check__failure___elambda__1___closed__9; +lean_inc(x_34); +x_65 = l_Lean_Parser_ParserState_mkErrorsAt(x_55, x_64, x_34); +x_43 = x_65; +goto block_54; +} +} +else +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_56); +x_66 = l_Lean_Parser_Command_check__failure___elambda__1___closed__9; +lean_inc(x_34); +x_67 = l_Lean_Parser_ParserState_mkErrorsAt(x_55, x_66, x_34); +x_43 = x_67; +goto block_54; +} +block_54: +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_43, 3); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_45 = l_Lean_Parser_termParser___closed__2; +x_46 = lean_unsigned_to_nat(0u); +x_47 = l_Lean_Parser_categoryParser___elambda__1(x_45, x_46, x_1, x_43); +x_48 = l_Lean_Parser_Command_check__failure___elambda__1___closed__2; +x_49 = l_Lean_Parser_ParserState_mkNode(x_47, x_48, x_42); +x_50 = l_Lean_Parser_mergeOrElseErrors(x_49, x_37, x_34); +lean_dec(x_34); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_44); +lean_dec(x_1); +x_51 = l_Lean_Parser_Command_check__failure___elambda__1___closed__2; +x_52 = l_Lean_Parser_ParserState_mkNode(x_43, x_51, x_42); +x_53 = l_Lean_Parser_mergeOrElseErrors(x_52, x_37, x_34); +lean_dec(x_34); +return x_53; +} +} +} +} +} +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Command_check__failure___elambda__1___closed__6; +x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___closed__2; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_check__failure___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_check__failure___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_check__failure___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_check__failure___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_check__failure___closed__3; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_check__failure___elambda__1), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_check__failure___closed__4; +x_2 = l_Lean_Parser_Command_check__failure___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_check__failure() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_check__failure___closed__6; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Command_check__failure(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_regBuiltinCommandParserAttr___closed__4; +x_3 = l_Lean_Parser_Command_check__failure___elambda__1___closed__2; +x_4 = 1; +x_5 = l_Lean_Parser_Command_check__failure; +x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} lean_object* _init_l_Lean_Parser_Command_synth___elambda__1___closed__1() { _start: { @@ -35161,6 +35589,41 @@ lean_mark_persistent(l_Lean_Parser_Command_check); res = l___regBuiltinParser_Lean_Parser_Command_check(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_check__failure___elambda__1___closed__1 = _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___elambda__1___closed__1); +l_Lean_Parser_Command_check__failure___elambda__1___closed__2 = _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___elambda__1___closed__2); +l_Lean_Parser_Command_check__failure___elambda__1___closed__3 = _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___elambda__1___closed__3); +l_Lean_Parser_Command_check__failure___elambda__1___closed__4 = _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___elambda__1___closed__4); +l_Lean_Parser_Command_check__failure___elambda__1___closed__5 = _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___elambda__1___closed__5); +l_Lean_Parser_Command_check__failure___elambda__1___closed__6 = _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___elambda__1___closed__6); +l_Lean_Parser_Command_check__failure___elambda__1___closed__7 = _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___elambda__1___closed__7); +l_Lean_Parser_Command_check__failure___elambda__1___closed__8 = _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___elambda__1___closed__8); +l_Lean_Parser_Command_check__failure___elambda__1___closed__9 = _init_l_Lean_Parser_Command_check__failure___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___elambda__1___closed__9); +l_Lean_Parser_Command_check__failure___closed__1 = _init_l_Lean_Parser_Command_check__failure___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___closed__1); +l_Lean_Parser_Command_check__failure___closed__2 = _init_l_Lean_Parser_Command_check__failure___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___closed__2); +l_Lean_Parser_Command_check__failure___closed__3 = _init_l_Lean_Parser_Command_check__failure___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___closed__3); +l_Lean_Parser_Command_check__failure___closed__4 = _init_l_Lean_Parser_Command_check__failure___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___closed__4); +l_Lean_Parser_Command_check__failure___closed__5 = _init_l_Lean_Parser_Command_check__failure___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___closed__5); +l_Lean_Parser_Command_check__failure___closed__6 = _init_l_Lean_Parser_Command_check__failure___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure___closed__6); +l_Lean_Parser_Command_check__failure = _init_l_Lean_Parser_Command_check__failure(); +lean_mark_persistent(l_Lean_Parser_Command_check__failure); +res = l___regBuiltinParser_Lean_Parser_Command_check__failure(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_Command_synth___elambda__1___closed__1 = _init_l_Lean_Parser_Command_synth___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_synth___elambda__1___closed__1); l_Lean_Parser_Command_synth___elambda__1___closed__2 = _init_l_Lean_Parser_Command_synth___elambda__1___closed__2(); diff --git a/stage0/stdlib/Init/LeanInit.c b/stage0/stdlib/Init/LeanInit.c index fa7f240fbe..73cf953c18 100644 --- a/stage0/stdlib/Init/LeanInit.c +++ b/stage0/stdlib/Init/LeanInit.c @@ -187,6 +187,7 @@ lean_object* l___private_Init_LeanInit_10__decodeDecimalLitAux___boxed(lean_obje lean_object* l_Lean_Macro_throwError(lean_object*); lean_object* l_Lean_mkNullNode(lean_object*); lean_object* l_Lean_monadQuotationTrans(lean_object*, lean_object*); +lean_object* l_Lean_MonadQuotation_addMacroScope___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_strLitKind___closed__2; lean_object* l_Lean_NameGenerator_Inhabited___closed__1; size_t l_Lean_Name_hash(lean_object*); @@ -279,6 +280,7 @@ lean_object* l_Lean_Syntax_isNameLit_x3f___boxed(lean_object*); lean_object* l___private_Init_LeanInit_12__decodeQuotedChar___boxed__const__2; lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Name_hasMacroScopes___boxed(lean_object*); +lean_object* l_Lean_MonadQuotation_addMacroScope___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isIdBeginEscape___boxed(lean_object*); lean_object* l_Lean_mkStxStrLit(lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); @@ -341,6 +343,7 @@ lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l___private_Init_LeanInit_9__decodeHexLitAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroM_monadQuotation___lambda__1(lean_object*, lean_object*); uint8_t l_UInt32_decLe(uint32_t, uint32_t); +lean_object* l_Lean_MonadQuotation_addMacroScope(lean_object*); lean_object* l_Lean_mkAppStx___closed__2; lean_object* l_Lean_Name_hasMacroScopes___main___boxed(lean_object*); lean_object* l_Lean_Name_hasMacroScopes___main___closed__1; @@ -355,6 +358,7 @@ lean_object* l___private_Init_LeanInit_11__decodeNatLitVal(lean_object*); lean_object* l_Lean_Syntax_isFieldIdx_x3f___boxed(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_mkAppStx___closed__1; +lean_object* l_Lean_MonadQuotation_addMacroScope___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_LeanInit_3__extractImported___main(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_string_hash(lean_object*); lean_object* l___private_Init_LeanInit_1__eraseMacroScopesAux___main___boxed(lean_object*); @@ -2622,6 +2626,62 @@ return x_35; } } } +lean_object* l_Lean_MonadQuotation_addMacroScope___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_addMacroScope(x_2, x_3, x_4); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +return x_8; +} +} +lean_object* l_Lean_MonadQuotation_addMacroScope___rarg___lambda__2(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 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_MonadQuotation_addMacroScope___rarg___lambda__1), 4, 3); +lean_closure_set(x_7, 0, x_2); +lean_closure_set(x_7, 1, x_5); +lean_closure_set(x_7, 2, x_3); +x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7); +return x_8; +} +} +lean_object* l_Lean_MonadQuotation_addMacroScope___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_inc(x_4); +x_6 = lean_alloc_closure((void*)(l_Lean_MonadQuotation_addMacroScope___rarg___lambda__2), 5, 4); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_2); +lean_closure_set(x_6, 2, x_3); +lean_closure_set(x_6, 3, x_4); +x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); +return x_7; +} +} +lean_object* l_Lean_MonadQuotation_addMacroScope(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_MonadQuotation_addMacroScope___rarg), 3, 0); +return x_2; +} +} lean_object* l_Lean_Macro_addMacroScope(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: {